#!/usr/bin/env node var SCu=Object.create;var GNr=Object.defineProperty;var TCu=Object.getOwnPropertyDescriptor;var DCu=Object.getOwnPropertyNames;var wCu=Object.getPrototypeOf,BCu=Object.prototype.hasOwnProperty;var Er=(e,t)=>()=>(e&&(t=e(e=0)),t);var j=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Mt=(e,t)=>{for(var r in t)GNr(e,r,{get:t[r],enumerable:!0})},kCu=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of DCu(t))!BCu.call(e,i)&&i!==r&&GNr(e,i,{get:()=>t[i],enumerable:!(n=TCu(t,i))||n.enumerable});return e};var qi=(e,t,r)=>(r=e!=null?SCu(wCu(e)):{},kCu(t||!e||!e.__esModule?GNr(r,"default",{value:e,enumerable:!0}):r,e));var xje=j((vgg,ubi)=>{var yje=1e3,_je=yje*60,Eje=_je*60,O6e=Eje*24,PCu=O6e*7,NCu=O6e*365.25;ubi.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return OCu(e);if(r==="number"&&isFinite(e))return t.long?FCu(e):RCu(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function OCu(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]),n=(t[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*NCu;case"weeks":case"week":case"w":return r*PCu;case"days":case"day":case"d":return r*O6e;case"hours":case"hour":case"hrs":case"hr":case"h":return r*Eje;case"minutes":case"minute":case"mins":case"min":case"m":return r*_je;case"seconds":case"second":case"secs":case"sec":case"s":return r*yje;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function RCu(e){var t=Math.abs(e);return t>=O6e?Math.round(e/O6e)+"d":t>=Eje?Math.round(e/Eje)+"h":t>=_je?Math.round(e/_je)+"m":t>=yje?Math.round(e/yje)+"s":e+"ms"}function FCu(e){var t=Math.abs(e);return t>=O6e?A5t(e,t,O6e,"day"):t>=Eje?A5t(e,t,Eje,"hour"):t>=_je?A5t(e,t,_je,"minute"):t>=yje?A5t(e,t,yje,"second"):e+" ms"}function A5t(e,t,r,n){var i=t>=r*1.5;return Math.round(e/r)+" "+n+(i?"s":"")}});var VNr=j((Cgg,lbi)=>{function LCu(e){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=i,r.enabled=u,r.humanize=xje(),r.destroy=f,Object.keys(e).forEach(p=>{r[p]=e[p]}),r.names=[],r.skips=[],r.formatters={};function t(p){let g=0;for(let A=0;A{if(G==="%%")return"%";R++;let Z=r.formatters[K];if(typeof Z=="function"){let oe=b[R];G=Z.call(D,oe),b.splice(R,1),R--}return G}),r.formatArgs.call(D,b),(D.log||r.log).apply(D,b)}return E.namespace=p,E.useColors=r.useColors(),E.color=r.selectColor(p),E.extend=n,E.destroy=r.destroy,Object.defineProperty(E,"enabled",{enumerable:!0,configurable:!1,get:()=>A!==null?A:(h!==r.namespaces&&(h=r.namespaces,_=r.enabled(p)),_),set:b=>{A=b}}),typeof r.init=="function"&&r.init(E),E}function n(p,g){let A=r(this.namespace+(typeof g>"u"?":":g)+p);return A.log=this.log,A}function i(p){r.save(p),r.namespaces=p,r.names=[],r.skips=[];let g=(typeof p=="string"?p:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let A of g)A[0]==="-"?r.skips.push(A.slice(1)):r.names.push(A)}function s(p,g){let A=0,h=0,_=-1,E=0;for(;A"-"+g)].join(",");return r.enable(""),p}function u(p){for(let g of r.skips)if(s(p,g))return!1;for(let g of r.names)if(s(p,g))return!0;return!1}function l(p){return p instanceof Error?p.stack||p.message:p}function f(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}lbi.exports=LCu});var cbi=j((gY,h5t)=>{gY.formatArgs=QCu;gY.save=jCu;gY.load=UCu;gY.useColors=MCu;gY.storage=qCu();gY.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();gY.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function MCu(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function QCu(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+h5t.exports.humanize(this.diff),!this.useColors)return;let t="color: "+this.color;e.splice(1,0,t,"color: inherit");let r=0,n=0;e[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),e.splice(n,0,t)}gY.log=console.debug||console.log||(()=>{});function jCu(e){try{e?gY.storage.setItem("debug",e):gY.storage.removeItem("debug")}catch{}}function UCu(){let e;try{e=gY.storage.getItem("debug")||gY.storage.getItem("DEBUG")}catch{}return!e&&typeof process<"u"&&"env"in process&&(e=process.env.DEBUG),e}function qCu(){try{return localStorage}catch{}}h5t.exports=VNr()(gY);var{formatters:YCu}=h5t.exports;YCu.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}});var $Nr=j((bgg,fbi)=>{"use strict";fbi.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":e.length===1?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return n!==-1&&(i===-1||n{"use strict";var GCu=require("os"),pbi=require("tty"),sX=$Nr(),{env:Z5}=process,tIe;sX("no-color")||sX("no-colors")||sX("color=false")||sX("color=never")?tIe=0:(sX("color")||sX("colors")||sX("color=true")||sX("color=always"))&&(tIe=1);"FORCE_COLOR"in Z5&&(Z5.FORCE_COLOR==="true"?tIe=1:Z5.FORCE_COLOR==="false"?tIe=0:tIe=Z5.FORCE_COLOR.length===0?1:Math.min(parseInt(Z5.FORCE_COLOR,10),3));function KNr(e){return e===0?!1:{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function JNr(e,t){if(tIe===0)return 0;if(sX("color=16m")||sX("color=full")||sX("color=truecolor"))return 3;if(sX("color=256"))return 2;if(e&&!t&&tIe===void 0)return 0;let r=tIe||0;if(Z5.TERM==="dumb")return r;if(process.platform==="win32"){let n=GCu.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in Z5)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in Z5)||Z5.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in Z5)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Z5.TEAMCITY_VERSION)?1:0;if(Z5.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Z5){let n=parseInt((Z5.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Z5.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Z5.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Z5.TERM)||"COLORTERM"in Z5?1:r}function VCu(e){let t=JNr(e,e&&e.isTTY);return KNr(t)}dbi.exports={supportsColor:VCu,stdout:KNr(JNr(!0,pbi.isatty(1))),stderr:KNr(JNr(!0,pbi.isatty(2)))}});var gbi=j((eP,_5t)=>{var $Cu=require("tty"),y5t=require("util");eP.init=ZCu;eP.log=zCu;eP.formatArgs=JCu;eP.save=WCu;eP.load=XCu;eP.useColors=KCu;eP.destroy=y5t.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");eP.colors=[6,2,3,4,5,1];try{let e=vje();e&&(e.stderr||e).level>=2&&(eP.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}eP.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[t];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),e[r]=n,e},{});function KCu(){return"colors"in eP.inspectOpts?!!eP.inspectOpts.colors:$Cu.isatty(process.stderr.fd)}function JCu(e){let{namespace:t,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${t} \x1B[0m`;e[0]=s+e[0].split(` `).join(` `+s),e.push(i+"m+"+_5t.exports.humanize(this.diff)+"\x1B[0m")}else e[0]=HCu()+t+" "+e[0]}function HCu(){return eP.inspectOpts.hideDate?"":new Date().toISOString()+" "}function zCu(...e){return process.stderr.write(y5t.formatWithOptions(eP.inspectOpts,...e)+` `)}function WCu(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function XCu(){return process.env.DEBUG}function ZCu(e){e.inspectOpts={};let t=Object.keys(eP.inspectOpts);for(let r=0;rt.trim()).join(" ")};mbi.O=function(e){return this.inspectOpts.colors=this.useColors,y5t.inspect(e,this.inspectOpts)}});var B1=j((Sgg,HNr)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?HNr.exports=cbi():HNr.exports=gbi()});var Vit=j((Tgg,_bi)=>{var ebu=require("path").relative;_bi.exports=sbu;var tbu=process.cwd();function hbi(e,t){for(var r=e.split(/[ ,]+/),n=String(t).toLowerCase(),i=0;i0}function obu(e){if(process.noDeprecation)return!0;var t=process.env.NO_DEPRECATION||"";return hbi(t,e)}function ubu(e){if(process.traceDeprecation)return!0;var t=process.env.TRACE_DEPRECATION||"";return hbi(t,e)}function E5t(e,t){var r=abu(process,"deprecation");if(!(!r&&this._ignored)){var n,i,s,a,u=0,l=!1,f=x5t(),p=this._file;for(t?(a=t,s=Cje(f[1]),s.name=a.name,p=s[0]):(u=2,a=Cje(f[u]),s=a);u",r=e.getLineNumber(),n=e.getColumnNumber();e.isEval()&&(t=e.getEvalOrigin()+", "+t);var i=[t,r,n];return i.callSite=e,i.name=e.getFunctionName(),i}function Abi(e){var t=e.callSite,r=e.name;r||(r="");var n=t.getThis(),i=n&&t.getTypeName();return i==="Object"&&(i=void 0),i==="Function"&&(i=n.name||i),i&&t.getMethodName()?i+"."+r:r}function lbu(e,t,r){var n=new Date().toUTCString(),i=n+" "+this._namespace+" deprecated "+e;if(this._traced){for(var s=0;s{"use strict";Ebi.exports=Object.setPrototypeOf||({__proto__:[]}instanceof Array?mbu:gbu);function mbu(e,t){return e.__proto__=t,e}function gbu(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(e,r)||(e[r]=t[r]);return e}});var bbi=j((wgg,Cbi)=>{"use strict";var WNr=require("./codes-K36UQVJU.json");Cbi.exports=Eie;Eie.message=WNr;Eie.code=Abu(WNr);Eie.codes=hbu(WNr);Eie.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0};Eie.empty={204:!0,205:!0,304:!0};Eie.retry={502:!0,503:!0,504:!0};function Abu(e){var t={};return Object.keys(e).forEach(function(n){var i=e[n],s=Number(n);t[i.toLowerCase()]=s}),t}function hbu(e){return Object.keys(e).map(function(r){return Number(r)})}function ybu(e){var t=e.toLowerCase();if(!Object.prototype.hasOwnProperty.call(Eie.code,t))throw new Error('invalid status message: "'+e+'"');return Eie.code[t]}function vbi(e){if(!Object.prototype.hasOwnProperty.call(Eie.message,e))throw new Error("invalid status code: "+e);return Eie.message[e]}function Eie(e){if(typeof e=="number")return vbi(e);if(typeof e!="string")throw new TypeError("code must be a number or string");var t=parseInt(e,10);return isNaN(t)?ybu(e):vbi(t)}});var Ibi=j((Bgg,XNr)=>{typeof Object.create=="function"?XNr.exports=function(t,r){r&&(t.super_=r,t.prototype=Object.create(r.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:XNr.exports=function(t,r){if(r){t.super_=r;var n=function(){};n.prototype=r.prototype,t.prototype=new n,t.prototype.constructor=t}}});var Sbi=j((kgg,eOr)=>{try{if(ZNr=require("util"),typeof ZNr.inherits!="function")throw"";eOr.exports=ZNr.inherits}catch{eOr.exports=Ibi()}var ZNr});var Dbi=j((Pgg,Tbi)=>{"use strict";Tbi.exports=_bu;function _bu(e){return e.split(" ").map(function(t){return t.slice(0,1).toUpperCase()+t.slice(1)}).join("").replace(/[^ _0-9a-z]/gi,"")}});var Ije=j((Ngg,R6e)=>{"use strict";var Ebu=Vit()("http-errors"),wbi=xbi(),bje=bbi(),tOr=Sbi(),xbu=Dbi();R6e.exports=v5t;R6e.exports.HttpError=vbu();R6e.exports.isHttpError=bbu(R6e.exports.HttpError);Sbu(R6e.exports,bje.codes,R6e.exports.HttpError);function Bbi(e){return+(String(e).charAt(0)+"00")}function v5t(){for(var e,t,r=500,n={},i=0;i=600)&&Ebu("non-error status code; use only 4xx or 5xx status codes"),(typeof r!="number"||!bje.message[r]&&(r<400||r>=600))&&(r=500);var u=v5t[r]||v5t[Bbi(r)];e||(e=u?new u(t):new Error(t||bje.message[r]),Error.captureStackTrace(e,v5t)),(!u||!(e instanceof u)||e.status!==r)&&(e.expose=r<500,e.status=e.statusCode=r);for(var l in n)l!=="status"&&l!=="statusCode"&&(e[l]=n[l]);return e}function vbu(){function e(){throw new TypeError("cannot construct abstract class")}return tOr(e,Error),e}function Cbu(e,t,r){var n=Pbi(t);function i(s){var a=s??bje.message[r],u=new Error(a);return Error.captureStackTrace(u,i),wbi(u,i.prototype),Object.defineProperty(u,"message",{enumerable:!0,configurable:!0,value:a,writable:!0}),Object.defineProperty(u,"name",{enumerable:!1,configurable:!0,value:n,writable:!0}),u}return tOr(i,e),kbi(i,n),i.prototype.status=r,i.prototype.statusCode=r,i.prototype.expose=!0,i}function bbu(e){return function(r){return!r||typeof r!="object"?!1:r instanceof e?!0:r instanceof Error&&typeof r.expose=="boolean"&&typeof r.statusCode=="number"&&r.status===r.statusCode}}function Ibu(e,t,r){var n=Pbi(t);function i(s){var a=s??bje.message[r],u=new Error(a);return Error.captureStackTrace(u,i),wbi(u,i.prototype),Object.defineProperty(u,"message",{enumerable:!0,configurable:!0,value:a,writable:!0}),Object.defineProperty(u,"name",{enumerable:!1,configurable:!0,value:n,writable:!0}),u}return tOr(i,e),kbi(i,n),i.prototype.status=r,i.prototype.statusCode=r,i.prototype.expose=!1,i}function kbi(e,t){var r=Object.getOwnPropertyDescriptor(e,"name");r&&r.configurable&&(r.value=t,Object.defineProperty(e,"name",r))}function Sbu(e,t,r){t.forEach(function(i){var s,a=xbu(bje.message[i]);switch(Bbi(i)){case 400:s=Cbu(r,a,i);break;case 500:s=Ibu(r,a,i);break}s&&(e[i]=s,e[a]=s)})}function Pbi(e){return e.substr(-5)!=="Error"?e+"Error":e}});var b5t=j((Ogg,C5t)=>{"use strict";C5t.exports=Bbu;C5t.exports.format=Nbi;C5t.exports.parse=Obi;var Tbu=/\B(?=(\d{3})+(?!\d))/g,Dbu=/(?:\.0*|(\.[^0]+)0+)$/,rIe={b:1,kb:1024,mb:1<<20,gb:1<<30,tb:Math.pow(1024,4),pb:Math.pow(1024,5)},wbu=/^((-|\+)?(\d+(?:\.\d+)?)) *(kb|mb|gb|tb|pb)$/i;function Bbu(e,t){return typeof e=="string"?Obi(e):typeof e=="number"?Nbi(e,t):null}function Nbi(e,t){if(!Number.isFinite(e))return null;var r=Math.abs(e),n=t&&t.thousandsSeparator||"",i=t&&t.unitSeparator||"",s=t&&t.decimalPlaces!==void 0?t.decimalPlaces:2,a=!!(t&&t.fixedDecimals),u=t&&t.unit||"";(!u||!rIe[u.toLowerCase()])&&(r>=rIe.pb?u="PB":r>=rIe.tb?u="TB":r>=rIe.gb?u="GB":r>=rIe.mb?u="MB":r>=rIe.kb?u="KB":u="B");var l=e/rIe[u.toLowerCase()],f=l.toFixed(s);return a||(f=f.replace(Dbu,"$1")),n&&(f=f.split(".").map(function(p,g){return g===0?p.replace(Tbu,n):p}).join(".")),f+i+u}function Obi(e){if(typeof e=="number"&&!isNaN(e))return e;if(typeof e!="string")return null;var t=wbu.exec(e),r,n="b";return t?(r=parseFloat(t[1]),n=t[4].toLowerCase()):(r=parseInt(e,10),n="b"),isNaN(r)?null:Math.floor(rIe[n]*r)}});var i1e=j((Rgg,Rbi)=>{"use strict";var I5t=require("buffer"),Sje=I5t.Buffer,aX={},oX;for(oX in I5t)I5t.hasOwnProperty(oX)&&(oX==="SlowBuffer"||oX==="Buffer"||(aX[oX]=I5t[oX]));var Tje=aX.Buffer={};for(oX in Sje)Sje.hasOwnProperty(oX)&&(oX==="allocUnsafe"||oX==="allocUnsafeSlow"||(Tje[oX]=Sje[oX]));aX.Buffer.prototype=Sje.prototype;(!Tje.from||Tje.from===Uint8Array.from)&&(Tje.from=function(e,t,r){if(typeof e=="number")throw new TypeError('The "value" argument must not be of type number. Received type '+typeof e);if(e&&typeof e.length>"u")throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);return Sje(e,t,r)});Tje.alloc||(Tje.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError('The "size" argument must be of type number. Received type '+typeof e);if(e<0||e>=2*(1<<30))throw new RangeError('The value "'+e+'" is invalid for option "size"');var n=Sje(e);return!t||t.length===0?n.fill(0):typeof r=="string"?n.fill(t,r):n.fill(t),n});if(!aX.kStringMaxLength)try{aX.kStringMaxLength=process.binding("buffer").kStringMaxLength}catch{}aX.constants||(aX.constants={MAX_LENGTH:aX.kMaxLength},aX.kStringMaxLength&&(aX.constants.MAX_STRING_LENGTH=aX.kStringMaxLength));Rbi.exports=aX});var Lbi=j(iOr=>{"use strict";var Fbi="\uFEFF";iOr.PrependBOM=rOr;function rOr(e,t){this.encoder=e,this.addBOM=!0}rOr.prototype.write=function(e){return this.addBOM&&(e=Fbi+e,this.addBOM=!1),this.encoder.write(e)};rOr.prototype.end=function(){return this.encoder.end()};iOr.StripBOM=nOr;function nOr(e,t){this.decoder=e,this.pass=!1,this.options=t||{}}nOr.prototype.write=function(e){var t=this.decoder.write(e);return this.pass||!t||(t[0]===Fbi&&(t=t.slice(1),typeof this.options.stripBOM=="function"&&this.options.stripBOM()),this.pass=!0),t};nOr.prototype.end=function(){return this.decoder.end()}});var sOr=j((Lgg,Mbi)=>{"use strict";var kbu=typeof Object.hasOwn>"u"?Function.call.bind(Object.prototype.hasOwnProperty):Object.hasOwn;function Pbu(e,t){for(var r in t)kbu(t,r)&&(e[r]=t[r])}Mbi.exports=Pbu});var jbi=j((Mgg,Qbi)=>{"use strict";var s1e=i1e().Buffer;Qbi.exports={utf8:{type:"_internal",bomAware:!0},cesu8:{type:"_internal",bomAware:!0},unicode11utf8:"utf8",ucs2:{type:"_internal",bomAware:!0},utf16le:"ucs2",binary:{type:"_internal"},base64:{type:"_internal"},hex:{type:"_internal"},_internal:aOr};function aOr(e,t){this.enc=e.encodingName,this.bomAware=e.bomAware,this.enc==="base64"?this.encoder=lOr:this.enc==="utf8"?this.encoder=pOr:this.enc==="cesu8"&&(this.enc="utf8",this.encoder=cOr,s1e.from("eda0bdedb2a9","hex").toString()!=="\u{1F4A9}"&&(this.decoder=fOr,this.defaultCharUnicode=t.defaultCharUnicode))}aOr.prototype.encoder=uOr;aOr.prototype.decoder=oOr;var Nbu=require("string_decoder").StringDecoder;function oOr(e,t){this.decoder=new Nbu(t.enc)}oOr.prototype.write=function(e){return s1e.isBuffer(e)||(e=s1e.from(e)),this.decoder.write(e)};oOr.prototype.end=function(){return this.decoder.end()};function uOr(e,t){this.enc=t.enc}uOr.prototype.write=function(e){return s1e.from(e,this.enc)};uOr.prototype.end=function(){};function lOr(e,t){this.prevStr=""}lOr.prototype.write=function(e){e=this.prevStr+e;var t=e.length-e.length%4;return this.prevStr=e.slice(t),e=e.slice(0,t),s1e.from(e,"base64")};lOr.prototype.end=function(){return s1e.from(this.prevStr,"base64")};function cOr(e,t){}cOr.prototype.write=function(e){for(var t=s1e.alloc(e.length*3),r=0,n=0;n>>6),t[r++]=128+(i&63)):(t[r++]=224+(i>>>12),t[r++]=128+(i>>>6&63),t[r++]=128+(i&63))}return t.slice(0,r)};cOr.prototype.end=function(){};function fOr(e,t){this.acc=0,this.contBytes=0,this.accBytes=0,this.defaultCharUnicode=t.defaultCharUnicode}fOr.prototype.write=function(e){for(var t=this.acc,r=this.contBytes,n=this.accBytes,i="",s=0;s0&&(i+=this.defaultCharUnicode,r=0),a<128?i+=String.fromCharCode(a):a<224?(t=a&31,r=1,n=1):a<240?(t=a&15,r=2,n=1):i+=this.defaultCharUnicode):r>0?(t=t<<6|a&63,r--,n++,r===0&&(n===2&&t<128&&t>0?i+=this.defaultCharUnicode:n===3&&t<2048?i+=this.defaultCharUnicode:i+=String.fromCharCode(t))):i+=this.defaultCharUnicode}return this.acc=t,this.contBytes=r,this.accBytes=n,i};fOr.prototype.end=function(){var e=0;return this.contBytes>0&&(e+=this.defaultCharUnicode),e};function pOr(e,t){this.highSurrogate=""}pOr.prototype.write=function(e){if(this.highSurrogate&&(e=this.highSurrogate+e,this.highSurrogate=""),e.length>0){var t=e.charCodeAt(e.length-1);t>=55296&&t<56320&&(this.highSurrogate=e[e.length-1],e=e.slice(0,e.length-1))}return s1e.from(e,this.enc)};pOr.prototype.end=function(){if(this.highSurrogate){var e=this.highSurrogate;return this.highSurrogate="",s1e.from(e,this.enc)}}});var Ybi=j(nIe=>{"use strict";var S5t=i1e().Buffer;nIe._utf32=dOr;function dOr(e,t){this.iconv=t,this.bomAware=!0,this.isLE=e.isLE}nIe.utf32le={type:"_utf32",isLE:!0};nIe.utf32be={type:"_utf32",isLE:!1};nIe.ucs4le="utf32le";nIe.ucs4be="utf32be";dOr.prototype.encoder=mOr;dOr.prototype.decoder=gOr;function mOr(e,t){this.isLE=t.isLE,this.highSurrogate=0}mOr.prototype.write=function(e){for(var t=S5t.from(e,"ucs2"),r=S5t.alloc(t.length*2),n=this.isLE?r.writeUInt32LE:r.writeUInt32BE,i=0,s=0;s=55296&&a<56320,l=a>=56320&&a<57344;if(this.highSurrogate)if(u||!l)n.call(r,this.highSurrogate,i),i+=4;else{var f=(this.highSurrogate-55296<<10|a-56320)+65536;n.call(r,f,i),i+=4,this.highSurrogate=0;continue}u?this.highSurrogate=a:(n.call(r,a,i),i+=4,this.highSurrogate=0)}return i0){for(;t1114111)&&(r=n),r>=65536){r-=65536;var i=55296|r>>10;e[t++]=i&255,e[t++]=i>>8;var r=56320|r&1023}return e[t++]=r&255,e[t++]=r>>8,t}gOr.prototype.end=function(){this.overflow.length=0};nIe.utf32=AOr;nIe.ucs4="utf32";function AOr(e,t){this.iconv=t}AOr.prototype.encoder=hOr;AOr.prototype.decoder=yOr;function hOr(e,t){e=e||{},e.addBOM===void 0&&(e.addBOM=!0),this.encoder=t.iconv.getEncoder(e.defaultEncoding||"utf-32le",e)}hOr.prototype.write=function(e){return this.encoder.write(e)};hOr.prototype.end=function(){return this.encoder.end()};function yOr(e,t){this.decoder=null,this.initialBufs=[],this.initialBufsLen=0,this.options=e||{},this.iconv=t.iconv}yOr.prototype.write=function(e){if(!this.decoder){if(this.initialBufs.push(e),this.initialBufsLen+=e.length,this.initialBufsLen<32)return"";var t=qbi(this.initialBufs,this.options.defaultEncoding);this.decoder=this.iconv.getDecoder(t,this.options);for(var r="",n=0;n16)&&s++,(r[3]!==0||r[2]>16)&&i++,r[0]===0&&r[1]===0&&(r[2]!==0||r[3]!==0)&&u++,(r[0]!==0||r[1]!==0)&&r[2]===0&&r[3]===0&&a++,r.length=0,n++,n>=100)break e}return u-s>a-i?"utf-32be":u-s{"use strict";var Gbi=i1e().Buffer;bOr.utf16be=T5t;function T5t(){}T5t.prototype.encoder=_Or;T5t.prototype.decoder=EOr;T5t.prototype.bomAware=!0;function _Or(){}_Or.prototype.write=function(e){for(var t=Gbi.from(e,"ucs2"),r=0;r=100)break e}return s>i?"utf-16be":s{"use strict";var Yce=i1e().Buffer;B5t.utf7=D5t;B5t.unicode11utf7="utf7";function D5t(e,t){this.iconv=t}D5t.prototype.encoder=SOr;D5t.prototype.decoder=TOr;D5t.prototype.bomAware=!0;var Obu=/[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g;function SOr(e,t){this.iconv=t.iconv}SOr.prototype.write=function(e){return Yce.from(e.replace(Obu,function(t){return"+"+(t==="+"?"":this.iconv.encode(t,"utf16-be").toString("base64").replace(/=+$/,""))+"-"}.bind(this)))};SOr.prototype.end=function(){};function TOr(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=""}var Rbu=/[A-Za-z0-9\/+]/,DOr=[];for($it=0;$it<256;$it++)DOr[$it]=Rbu.test(String.fromCharCode($it));var $it,Fbu=43,F6e=45,IOr=38;TOr.prototype.write=function(e){for(var t="",r=0,n=this.inBase64,i=this.base64Accum,s=0;s0&&(e=this.iconv.decode(Yce.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",e};B5t.utf7imap=w5t;function w5t(e,t){this.iconv=t}w5t.prototype.encoder=wOr;w5t.prototype.decoder=BOr;w5t.prototype.bomAware=!0;function wOr(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=Yce.alloc(6),this.base64AccumIdx=0}wOr.prototype.write=function(e){for(var t=this.inBase64,r=this.base64Accum,n=this.base64AccumIdx,i=Yce.alloc(e.length*5+10),s=0,a=0;a=32&&u<=126?(t&&(n>0&&(s+=i.write(r.slice(0,n).toString("base64").replace(/\//g,",").replace(/=+$/,""),s),n=0),i[s++]=F6e,t=!1),t||(i[s++]=u,u===IOr&&(i[s++]=F6e))):(t||(i[s++]=IOr,t=!0),t&&(r[n++]=u>>8,r[n++]=u&255,n==r.length&&(s+=i.write(r.toString("base64").replace(/\//g,","),s),n=0)))}return this.inBase64=t,this.base64AccumIdx=n,i.slice(0,s)};wOr.prototype.end=function(){var e=Yce.alloc(10),t=0;return this.inBase64&&(this.base64AccumIdx>0&&(t+=e.write(this.base64Accum.slice(0,this.base64AccumIdx).toString("base64").replace(/\//g,",").replace(/=+$/,""),t),this.base64AccumIdx=0),e[t++]=F6e,this.inBase64=!1),e.slice(0,t)};function BOr(e,t){this.iconv=t.iconv,this.inBase64=!1,this.base64Accum=""}var Kbi=DOr.slice();Kbi[44]=!0;BOr.prototype.write=function(e){for(var t="",r=0,n=this.inBase64,i=this.base64Accum,s=0;s0&&(e=this.iconv.decode(Yce.from(this.base64Accum,"base64"),"utf16-be")),this.inBase64=!1,this.base64Accum="",e}});var zbi=j(Hbi=>{"use strict";var k5t=i1e().Buffer;Hbi._sbcs=kOr;function kOr(e,t){if(!e)throw new Error("SBCS codec is called without the data.");if(!e.chars||e.chars.length!==128&&e.chars.length!==256)throw new Error("Encoding '"+e.type+"' has incorrect 'chars' (must be of len 128 or 256)");if(e.chars.length===128){for(var r="",n=0;n<128;n++)r+=String.fromCharCode(n);e.chars=r+e.chars}this.decodeBuf=k5t.from(e.chars,"ucs2");for(var i=k5t.alloc(65536,t.defaultCharSingleByte.charCodeAt(0)),n=0;n{"use strict";Wbi.exports={10029:"maccenteuro",maccenteuro:{type:"_sbcs",chars:"\xC4\u0100\u0101\xC9\u0104\xD6\xDC\xE1\u0105\u010C\xE4\u010D\u0106\u0107\xE9\u0179\u017A\u010E\xED\u010F\u0112\u0113\u0116\xF3\u0117\xF4\xF6\xF5\xFA\u011A\u011B\xFC\u2020\xB0\u0118\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\u0119\xA8\u2260\u0123\u012E\u012F\u012A\u2264\u2265\u012B\u0136\u2202\u2211\u0142\u013B\u013C\u013D\u013E\u0139\u013A\u0145\u0146\u0143\xAC\u221A\u0144\u0147\u2206\xAB\xBB\u2026\xA0\u0148\u0150\xD5\u0151\u014C\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\u014D\u0154\u0155\u0158\u2039\u203A\u0159\u0156\u0157\u0160\u201A\u201E\u0161\u015A\u015B\xC1\u0164\u0165\xCD\u017D\u017E\u016A\xD3\xD4\u016B\u016E\xDA\u016F\u0170\u0171\u0172\u0173\xDD\xFD\u0137\u017B\u0141\u017C\u0122\u02C7"},808:"cp808",ibm808:"cp808",cp808:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\u20AC\u25A0\xA0"},mik:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2514\u2534\u252C\u251C\u2500\u253C\u2563\u2551\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2510\u2591\u2592\u2593\u2502\u2524\u2116\xA7\u2557\u255D\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},cp720:{type:"_sbcs",chars:"\x80\x81\xE9\xE2\x84\xE0\x86\xE7\xEA\xEB\xE8\xEF\xEE\x8D\x8E\x8F\x90\u0651\u0652\xF4\xA4\u0640\xFB\xF9\u0621\u0622\u0623\u0624\xA3\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0636\u0637\u0638\u0639\u063A\u0641\xB5\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u2261\u064B\u064C\u064D\u064E\u064F\u0650\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ascii8bit:"ascii",usascii:"ascii",ansix34:"ascii",ansix341968:"ascii",ansix341986:"ascii",csascii:"ascii",cp367:"ascii",ibm367:"ascii",isoir6:"ascii",iso646us:"ascii",iso646irv:"ascii",us:"ascii",latin1:"iso88591",latin2:"iso88592",latin3:"iso88593",latin4:"iso88594",latin5:"iso88599",latin6:"iso885910",latin7:"iso885913",latin8:"iso885914",latin9:"iso885915",latin10:"iso885916",csisolatin1:"iso88591",csisolatin2:"iso88592",csisolatin3:"iso88593",csisolatin4:"iso88594",csisolatincyrillic:"iso88595",csisolatinarabic:"iso88596",csisolatingreek:"iso88597",csisolatinhebrew:"iso88598",csisolatin5:"iso88599",csisolatin6:"iso885910",l1:"iso88591",l2:"iso88592",l3:"iso88593",l4:"iso88594",l5:"iso88599",l6:"iso885910",l7:"iso885913",l8:"iso885914",l9:"iso885915",l10:"iso885916",isoir14:"iso646jp",isoir57:"iso646cn",isoir100:"iso88591",isoir101:"iso88592",isoir109:"iso88593",isoir110:"iso88594",isoir144:"iso88595",isoir127:"iso88596",isoir126:"iso88597",isoir138:"iso88598",isoir148:"iso88599",isoir157:"iso885910",isoir166:"tis620",isoir179:"iso885913",isoir199:"iso885914",isoir203:"iso885915",isoir226:"iso885916",cp819:"iso88591",ibm819:"iso88591",cyrillic:"iso88595",arabic:"iso88596",arabic8:"iso88596",ecma114:"iso88596",asmo708:"iso88596",greek:"iso88597",greek8:"iso88597",ecma118:"iso88597",elot928:"iso88597",hebrew:"iso88598",hebrew8:"iso88598",turkish:"iso88599",turkish8:"iso88599",thai:"iso885911",thai8:"iso885911",celtic:"iso885914",celtic8:"iso885914",isoceltic:"iso885914",tis6200:"tis620",tis62025291:"tis620",tis62025330:"tis620",1e4:"macroman",10006:"macgreek",10007:"maccyrillic",10079:"maciceland",10081:"macturkish",cspc8codepage437:"cp437",cspc775baltic:"cp775",cspc850multilingual:"cp850",cspcp852:"cp852",cspc862latinhebrew:"cp862",cpgr:"cp869",msee:"cp1250",mscyrl:"cp1251",msansi:"cp1252",msgreek:"cp1253",msturk:"cp1254",mshebr:"cp1255",msarab:"cp1256",winbaltrim:"cp1257",cp20866:"koi8r",20866:"koi8r",ibm878:"koi8r",cskoi8r:"koi8r",cp21866:"koi8u",21866:"koi8u",ibm1168:"koi8u",strk10482002:"rk1048",tcvn5712:"tcvn",tcvn57121:"tcvn",gb198880:"iso646cn",cn:"iso646cn",csiso14jisc6220ro:"iso646jp",jisc62201969ro:"iso646jp",jp:"iso646jp",cshproman8:"hproman8",r8:"hproman8",roman8:"hproman8",xroman8:"hproman8",ibm1051:"hproman8",mac:"macintosh",csmacintosh:"macintosh"}});var eIi=j((Ggg,Zbi)=>{"use strict";Zbi.exports={437:"cp437",737:"cp737",775:"cp775",850:"cp850",852:"cp852",855:"cp855",856:"cp856",857:"cp857",858:"cp858",860:"cp860",861:"cp861",862:"cp862",863:"cp863",864:"cp864",865:"cp865",866:"cp866",869:"cp869",874:"windows874",922:"cp922",1046:"cp1046",1124:"cp1124",1125:"cp1125",1129:"cp1129",1133:"cp1133",1161:"cp1161",1162:"cp1162",1163:"cp1163",1250:"windows1250",1251:"windows1251",1252:"windows1252",1253:"windows1253",1254:"windows1254",1255:"windows1255",1256:"windows1256",1257:"windows1257",1258:"windows1258",28591:"iso88591",28592:"iso88592",28593:"iso88593",28594:"iso88594",28595:"iso88595",28596:"iso88596",28597:"iso88597",28598:"iso88598",28599:"iso88599",28600:"iso885910",28601:"iso885911",28603:"iso885913",28604:"iso885914",28605:"iso885915",28606:"iso885916",windows874:{type:"_sbcs",chars:"\u20AC\uFFFD\uFFFD\uFFFD\uFFFD\u2026\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},win874:"windows874",cp874:"windows874",windows1250:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\u0160\u2039\u015A\u0164\u017D\u0179\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0161\u203A\u015B\u0165\u017E\u017A\xA0\u02C7\u02D8\u0141\xA4\u0104\xA6\xA7\xA8\xA9\u015E\xAB\xAC\xAD\xAE\u017B\xB0\xB1\u02DB\u0142\xB4\xB5\xB6\xB7\xB8\u0105\u015F\xBB\u013D\u02DD\u013E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},win1250:"windows1250",cp1250:"windows1250",windows1251:{type:"_sbcs",chars:"\u0402\u0403\u201A\u0453\u201E\u2026\u2020\u2021\u20AC\u2030\u0409\u2039\u040A\u040C\u040B\u040F\u0452\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0459\u203A\u045A\u045C\u045B\u045F\xA0\u040E\u045E\u0408\xA4\u0490\xA6\xA7\u0401\xA9\u0404\xAB\xAC\xAD\xAE\u0407\xB0\xB1\u0406\u0456\u0491\xB5\xB6\xB7\u0451\u2116\u0454\xBB\u0458\u0405\u0455\u0457\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},win1251:"windows1251",cp1251:"windows1251",windows1252:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\u017D\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\u017E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},win1252:"windows1252",cp1252:"windows1252",windows1253:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\u0385\u0386\xA3\xA4\xA5\xA6\xA7\xA8\xA9\uFFFD\xAB\xAC\xAD\xAE\u2015\xB0\xB1\xB2\xB3\u0384\xB5\xB6\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},win1253:"windows1253",cp1253:"windows1253",windows1254:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},win1254:"windows1254",cp1254:"windows1254",windows1255:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\xA0\xA1\xA2\xA3\u20AA\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\xBF\u05B0\u05B1\u05B2\u05B3\u05B4\u05B5\u05B6\u05B7\u05B8\u05B9\u05BA\u05BB\u05BC\u05BD\u05BE\u05BF\u05C0\u05C1\u05C2\u05C3\u05F0\u05F1\u05F2\u05F3\u05F4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},win1255:"windows1255",cp1255:"windows1255",windows1256:{type:"_sbcs",chars:"\u20AC\u067E\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0679\u2039\u0152\u0686\u0698\u0688\u06AF\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u06A9\u2122\u0691\u203A\u0153\u200C\u200D\u06BA\xA0\u060C\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\u06BE\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\u061B\xBB\xBC\xBD\xBE\u061F\u06C1\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\xD7\u0637\u0638\u0639\u063A\u0640\u0641\u0642\u0643\xE0\u0644\xE2\u0645\u0646\u0647\u0648\xE7\xE8\xE9\xEA\xEB\u0649\u064A\xEE\xEF\u064B\u064C\u064D\u064E\xF4\u064F\u0650\xF7\u0651\xF9\u0652\xFB\xFC\u200E\u200F\u06D2"},win1256:"windows1256",cp1256:"windows1256",windows1257:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\uFFFD\u201E\u2026\u2020\u2021\uFFFD\u2030\uFFFD\u2039\uFFFD\xA8\u02C7\xB8\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\xAF\u02DB\uFFFD\xA0\uFFFD\xA2\xA3\xA4\uFFFD\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u02D9"},win1257:"windows1257",cp1257:"windows1257",windows1258:{type:"_sbcs",chars:"\u20AC\uFFFD\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\uFFFD\u2039\u0152\uFFFD\uFFFD\uFFFD\uFFFD\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\uFFFD\u203A\u0153\uFFFD\uFFFD\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},win1258:"windows1258",cp1258:"windows1258",iso88591:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28591:"iso88591",iso88592:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u02D8\u0141\xA4\u013D\u015A\xA7\xA8\u0160\u015E\u0164\u0179\xAD\u017D\u017B\xB0\u0105\u02DB\u0142\xB4\u013E\u015B\u02C7\xB8\u0161\u015F\u0165\u017A\u02DD\u017E\u017C\u0154\xC1\xC2\u0102\xC4\u0139\u0106\xC7\u010C\xC9\u0118\xCB\u011A\xCD\xCE\u010E\u0110\u0143\u0147\xD3\xD4\u0150\xD6\xD7\u0158\u016E\xDA\u0170\xDC\xDD\u0162\xDF\u0155\xE1\xE2\u0103\xE4\u013A\u0107\xE7\u010D\xE9\u0119\xEB\u011B\xED\xEE\u010F\u0111\u0144\u0148\xF3\xF4\u0151\xF6\xF7\u0159\u016F\xFA\u0171\xFC\xFD\u0163\u02D9"},cp28592:"iso88592",iso88593:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0126\u02D8\xA3\xA4\uFFFD\u0124\xA7\xA8\u0130\u015E\u011E\u0134\xAD\uFFFD\u017B\xB0\u0127\xB2\xB3\xB4\xB5\u0125\xB7\xB8\u0131\u015F\u011F\u0135\xBD\uFFFD\u017C\xC0\xC1\xC2\uFFFD\xC4\u010A\u0108\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\uFFFD\xD1\xD2\xD3\xD4\u0120\xD6\xD7\u011C\xD9\xDA\xDB\xDC\u016C\u015C\xDF\xE0\xE1\xE2\uFFFD\xE4\u010B\u0109\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\uFFFD\xF1\xF2\xF3\xF4\u0121\xF6\xF7\u011D\xF9\xFA\xFB\xFC\u016D\u015D\u02D9"},cp28593:"iso88593",iso88594:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0138\u0156\xA4\u0128\u013B\xA7\xA8\u0160\u0112\u0122\u0166\xAD\u017D\xAF\xB0\u0105\u02DB\u0157\xB4\u0129\u013C\u02C7\xB8\u0161\u0113\u0123\u0167\u014A\u017E\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\u012A\u0110\u0145\u014C\u0136\xD4\xD5\xD6\xD7\xD8\u0172\xDA\xDB\xDC\u0168\u016A\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\u012B\u0111\u0146\u014D\u0137\xF4\xF5\xF6\xF7\xF8\u0173\xFA\xFB\xFC\u0169\u016B\u02D9"},cp28594:"iso88594",iso88595:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0403\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2116\u0451\u0452\u0453\u0454\u0455\u0456\u0457\u0458\u0459\u045A\u045B\u045C\xA7\u045E\u045F"},cp28595:"iso88595",iso88596:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\uFFFD\uFFFD\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u060C\xAD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u061B\uFFFD\uFFFD\uFFFD\u061F\uFFFD\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\u0638\u0639\u063A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},cp28596:"iso88596",iso88597:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u2018\u2019\xA3\u20AC\u20AF\xA6\xA7\xA8\xA9\u037A\xAB\xAC\xAD\uFFFD\u2015\xB0\xB1\xB2\xB3\u0384\u0385\u0386\xB7\u0388\u0389\u038A\xBB\u038C\xBD\u038E\u038F\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\uFFFD\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03AA\u03AB\u03AC\u03AD\u03AE\u03AF\u03B0\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C2\u03C3\u03C4\u03C5\u03C6\u03C7\u03C8\u03C9\u03CA\u03CB\u03CC\u03CD\u03CE\uFFFD"},cp28597:"iso88597",iso88598:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xD7\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xF7\xBB\xBC\xBD\xBE\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2017\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\uFFFD\u200E\u200F\uFFFD"},cp28598:"iso88598",iso88599:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u011E\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u0130\u015E\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u011F\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u0131\u015F\xFF"},cp28599:"iso88599",iso885910:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0112\u0122\u012A\u0128\u0136\xA7\u013B\u0110\u0160\u0166\u017D\xAD\u016A\u014A\xB0\u0105\u0113\u0123\u012B\u0129\u0137\xB7\u013C\u0111\u0161\u0167\u017E\u2015\u016B\u014B\u0100\xC1\xC2\xC3\xC4\xC5\xC6\u012E\u010C\xC9\u0118\xCB\u0116\xCD\xCE\xCF\xD0\u0145\u014C\xD3\xD4\xD5\xD6\u0168\xD8\u0172\xDA\xDB\xDC\xDD\xDE\xDF\u0101\xE1\xE2\xE3\xE4\xE5\xE6\u012F\u010D\xE9\u0119\xEB\u0117\xED\xEE\xEF\xF0\u0146\u014D\xF3\xF4\xF5\xF6\u0169\xF8\u0173\xFA\xFB\xFC\xFD\xFE\u0138"},cp28600:"iso885910",iso885911:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},cp28601:"iso885911",iso885913:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u201D\xA2\xA3\xA4\u201E\xA6\xA7\xD8\xA9\u0156\xAB\xAC\xAD\xAE\xC6\xB0\xB1\xB2\xB3\u201C\xB5\xB6\xB7\xF8\xB9\u0157\xBB\xBC\xBD\xBE\xE6\u0104\u012E\u0100\u0106\xC4\xC5\u0118\u0112\u010C\xC9\u0179\u0116\u0122\u0136\u012A\u013B\u0160\u0143\u0145\xD3\u014C\xD5\xD6\xD7\u0172\u0141\u015A\u016A\xDC\u017B\u017D\xDF\u0105\u012F\u0101\u0107\xE4\xE5\u0119\u0113\u010D\xE9\u017A\u0117\u0123\u0137\u012B\u013C\u0161\u0144\u0146\xF3\u014D\xF5\xF6\xF7\u0173\u0142\u015B\u016B\xFC\u017C\u017E\u2019"},cp28603:"iso885913",iso885914:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u1E02\u1E03\xA3\u010A\u010B\u1E0A\xA7\u1E80\xA9\u1E82\u1E0B\u1EF2\xAD\xAE\u0178\u1E1E\u1E1F\u0120\u0121\u1E40\u1E41\xB6\u1E56\u1E81\u1E57\u1E83\u1E60\u1EF3\u1E84\u1E85\u1E61\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0174\xD1\xD2\xD3\xD4\xD5\xD6\u1E6A\xD8\xD9\xDA\xDB\xDC\xDD\u0176\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0175\xF1\xF2\xF3\xF4\xF5\xF6\u1E6B\xF8\xF9\xFA\xFB\xFC\xFD\u0177\xFF"},cp28604:"iso885914",iso885915:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\u20AC\xA5\u0160\xA7\u0161\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u017D\xB5\xB6\xB7\u017E\xB9\xBA\xBB\u0152\u0153\u0178\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},cp28605:"iso885915",iso885916:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0104\u0105\u0141\u20AC\u201E\u0160\xA7\u0161\xA9\u0218\xAB\u0179\xAD\u017A\u017B\xB0\xB1\u010C\u0142\u017D\u201D\xB6\xB7\u017E\u010D\u0219\xBB\u0152\u0153\u0178\u017C\xC0\xC1\xC2\u0102\xC4\u0106\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0110\u0143\xD2\xD3\xD4\u0150\xD6\u015A\u0170\xD9\xDA\xDB\xDC\u0118\u021A\xDF\xE0\xE1\xE2\u0103\xE4\u0107\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0111\u0144\xF2\xF3\xF4\u0151\xF6\u015B\u0171\xF9\xFA\xFB\xFC\u0119\u021B\xFF"},cp28606:"iso885916",cp437:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm437:"cp437",csibm437:"cp437",cp737:{type:"_sbcs",chars:"\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039A\u039B\u039C\u039D\u039E\u039F\u03A0\u03A1\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u03B4\u03B5\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u03C5\u03C6\u03C7\u03C8\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03C9\u03AC\u03AD\u03AE\u03CA\u03AF\u03CC\u03CD\u03CB\u03CE\u0386\u0388\u0389\u038A\u038C\u038E\u038F\xB1\u2265\u2264\u03AA\u03AB\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm737:"cp737",csibm737:"cp737",cp775:{type:"_sbcs",chars:"\u0106\xFC\xE9\u0101\xE4\u0123\xE5\u0107\u0142\u0113\u0156\u0157\u012B\u0179\xC4\xC5\xC9\xE6\xC6\u014D\xF6\u0122\xA2\u015A\u015B\xD6\xDC\xF8\xA3\xD8\xD7\xA4\u0100\u012A\xF3\u017B\u017C\u017A\u201D\xA6\xA9\xAE\xAC\xBD\xBC\u0141\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0104\u010C\u0118\u0116\u2563\u2551\u2557\u255D\u012E\u0160\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0172\u016A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u017D\u0105\u010D\u0119\u0117\u012F\u0161\u0173\u016B\u017E\u2518\u250C\u2588\u2584\u258C\u2590\u2580\xD3\xDF\u014C\u0143\xF5\xD5\xB5\u0144\u0136\u0137\u013B\u013C\u0146\u0112\u0145\u2019\xAD\xB1\u201C\xBE\xB6\xA7\xF7\u201E\xB0\u2219\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm775:"cp775",csibm775:"cp775",cp850:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u0131\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm850:"cp850",csibm850:"cp850",cp852:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\u016F\u0107\xE7\u0142\xEB\u0150\u0151\xEE\u0179\xC4\u0106\xC9\u0139\u013A\xF4\xF6\u013D\u013E\u015A\u015B\xD6\xDC\u0164\u0165\u0141\xD7\u010D\xE1\xED\xF3\xFA\u0104\u0105\u017D\u017E\u0118\u0119\xAC\u017A\u010C\u015F\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\u011A\u015E\u2563\u2551\u2557\u255D\u017B\u017C\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u0102\u0103\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u0111\u0110\u010E\xCB\u010F\u0147\xCD\xCE\u011B\u2518\u250C\u2588\u2584\u0162\u016E\u2580\xD3\xDF\xD4\u0143\u0144\u0148\u0160\u0161\u0154\xDA\u0155\u0170\xFD\xDD\u0163\xB4\xAD\u02DD\u02DB\u02C7\u02D8\xA7\xF7\xB8\xB0\xA8\u02D9\u0171\u0158\u0159\u25A0\xA0"},ibm852:"cp852",csibm852:"cp852",cp855:{type:"_sbcs",chars:"\u0452\u0402\u0453\u0403\u0451\u0401\u0454\u0404\u0455\u0405\u0456\u0406\u0457\u0407\u0458\u0408\u0459\u0409\u045A\u040A\u045B\u040B\u045C\u040C\u045E\u040E\u045F\u040F\u044E\u042E\u044A\u042A\u0430\u0410\u0431\u0411\u0446\u0426\u0434\u0414\u0435\u0415\u0444\u0424\u0433\u0413\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u0445\u0425\u0438\u0418\u2563\u2551\u2557\u255D\u0439\u0419\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u043A\u041A\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\u043B\u041B\u043C\u041C\u043D\u041D\u043E\u041E\u043F\u2518\u250C\u2588\u2584\u041F\u044F\u2580\u042F\u0440\u0420\u0441\u0421\u0442\u0422\u0443\u0423\u0436\u0416\u0432\u0412\u044C\u042C\u2116\xAD\u044B\u042B\u0437\u0417\u0448\u0428\u044D\u042D\u0449\u0429\u0447\u0427\xA7\u25A0\xA0"},ibm855:"cp855",csibm855:"cp855",cp856:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\uFFFD\xA3\uFFFD\xD7\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAE\xAC\xBD\xBC\uFFFD\xAB\xBB\u2591\u2592\u2593\u2502\u2524\uFFFD\uFFFD\uFFFD\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\uFFFD\uFFFD\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u2518\u250C\u2588\u2584\xA6\uFFFD\u2580\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xB5\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm856:"cp856",csibm856:"cp856",cp857:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\u0131\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\u0130\xD6\xDC\xF8\xA3\xD8\u015E\u015F\xE1\xED\xF3\xFA\xF1\xD1\u011E\u011F\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xBA\xAA\xCA\xCB\xC8\uFFFD\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\uFFFD\xD7\xDA\xDB\xD9\xEC\xFF\xAF\xB4\xAD\xB1\uFFFD\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm857:"cp857",csibm857:"cp857",cp858:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\xD7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xAE\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\xC1\xC2\xC0\xA9\u2563\u2551\u2557\u255D\xA2\xA5\u2510\u2514\u2534\u252C\u251C\u2500\u253C\xE3\xC3\u255A\u2554\u2569\u2566\u2560\u2550\u256C\xA4\xF0\xD0\xCA\xCB\xC8\u20AC\xCD\xCE\xCF\u2518\u250C\u2588\u2584\xA6\xCC\u2580\xD3\xDF\xD4\xD2\xF5\xD5\xB5\xFE\xDE\xDA\xDB\xD9\xFD\xDD\xAF\xB4\xAD\xB1\u2017\xBE\xB6\xA7\xF7\xB8\xB0\xA8\xB7\xB9\xB3\xB2\u25A0\xA0"},ibm858:"cp858",csibm858:"cp858",cp860:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE3\xE0\xC1\xE7\xEA\xCA\xE8\xCD\xD4\xEC\xC3\xC2\xC9\xC0\xC8\xF4\xF5\xF2\xDA\xF9\xCC\xD5\xDC\xA2\xA3\xD9\u20A7\xD3\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\xD2\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm860:"cp860",csibm860:"cp860",cp861:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xD0\xF0\xDE\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xFE\xFB\xDD\xFD\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xC1\xCD\xD3\xDA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm861:"cp861",csibm861:"cp861",cp862:{type:"_sbcs",chars:"\u05D0\u05D1\u05D2\u05D3\u05D4\u05D5\u05D6\u05D7\u05D8\u05D9\u05DA\u05DB\u05DC\u05DD\u05DE\u05DF\u05E0\u05E1\u05E2\u05E3\u05E4\u05E5\u05E6\u05E7\u05E8\u05E9\u05EA\xA2\xA3\xA5\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm862:"cp862",csibm862:"cp862",cp863:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xC2\xE0\xB6\xE7\xEA\xEB\xE8\xEF\xEE\u2017\xC0\xA7\xC9\xC8\xCA\xF4\xCB\xCF\xFB\xF9\xA4\xD4\xDC\xA2\xA3\xD9\xDB\u0192\xA6\xB4\xF3\xFA\xA8\xB8\xB3\xAF\xCE\u2310\xAC\xBD\xBC\xBE\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm863:"cp863",csibm863:"cp863",cp864:{type:"_sbcs",chars:`\0\x07\b \v\f\r\x1B !"#$\u066A&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xB0\xB7\u2219\u221A\u2592\u2500\u2502\u253C\u2524\u252C\u251C\u2534\u2510\u250C\u2514\u2518\u03B2\u221E\u03C6\xB1\xBD\xBC\u2248\xAB\xBB\uFEF7\uFEF8\uFFFD\uFFFD\uFEFB\uFEFC\uFFFD\xA0\xAD\uFE82\xA3\xA4\uFE84\uFFFD\uFFFD\uFE8E\uFE8F\uFE95\uFE99\u060C\uFE9D\uFEA1\uFEA5\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFED1\u061B\uFEB1\uFEB5\uFEB9\u061F\xA2\uFE80\uFE81\uFE83\uFE85\uFECA\uFE8B\uFE8D\uFE91\uFE93\uFE97\uFE9B\uFE9F\uFEA3\uFEA7\uFEA9\uFEAB\uFEAD\uFEAF\uFEB3\uFEB7\uFEBB\uFEBF\uFEC1\uFEC5\uFECB\uFECF\xA6\xAC\xF7\xD7\uFEC9\u0640\uFED3\uFED7\uFEDB\uFEDF\uFEE3\uFEE7\uFEEB\uFEED\uFEEF\uFEF3\uFEBD\uFECC\uFECE\uFECD\uFEE1\uFE7D\u0651\uFEE5\uFEE9\uFEEC\uFEF0\uFEF2\uFED0\uFED5\uFEF5\uFEF6\uFEDD\uFED9\uFEF1\u25A0\uFFFD`},ibm864:"cp864",csibm864:"cp864",cp865:{type:"_sbcs",chars:"\xC7\xFC\xE9\xE2\xE4\xE0\xE5\xE7\xEA\xEB\xE8\xEF\xEE\xEC\xC4\xC5\xC9\xE6\xC6\xF4\xF6\xF2\xFB\xF9\xFF\xD6\xDC\xF8\xA3\xD8\u20A7\u0192\xE1\xED\xF3\xFA\xF1\xD1\xAA\xBA\xBF\u2310\xAC\xBD\xBC\xA1\xAB\xA4\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u03B1\xDF\u0393\u03C0\u03A3\u03C3\xB5\u03C4\u03A6\u0398\u03A9\u03B4\u221E\u03C6\u03B5\u2229\u2261\xB1\u2265\u2264\u2320\u2321\xF7\u2248\xB0\u2219\xB7\u221A\u207F\xB2\u25A0\xA0"},ibm865:"cp865",csibm865:"cp865",cp866:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0404\u0454\u0407\u0457\u040E\u045E\xB0\u2219\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm866:"cp866",csibm866:"cp866",cp869:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0386\uFFFD\xB7\xAC\xA6\u2018\u2019\u0388\u2015\u0389\u038A\u03AA\u038C\uFFFD\uFFFD\u038E\u03AB\xA9\u038F\xB2\xB3\u03AC\xA3\u03AD\u03AE\u03AF\u03CA\u0390\u03CC\u03CD\u0391\u0392\u0393\u0394\u0395\u0396\u0397\xBD\u0398\u0399\xAB\xBB\u2591\u2592\u2593\u2502\u2524\u039A\u039B\u039C\u039D\u2563\u2551\u2557\u255D\u039E\u039F\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u03A0\u03A1\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u03A3\u03A4\u03A5\u03A6\u03A7\u03A8\u03A9\u03B1\u03B2\u03B3\u2518\u250C\u2588\u2584\u03B4\u03B5\u2580\u03B6\u03B7\u03B8\u03B9\u03BA\u03BB\u03BC\u03BD\u03BE\u03BF\u03C0\u03C1\u03C3\u03C2\u03C4\u0384\xAD\xB1\u03C5\u03C6\u03C7\xA7\u03C8\u0385\xB0\xA8\u03C9\u03CB\u03B0\u03CE\u25A0\xA0"},ibm869:"cp869",csibm869:"cp869",cp922:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\u203E\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF\u0160\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\u017D\xDF\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\u0161\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\u017E\xFF"},ibm922:"cp922",csibm922:"cp922",cp1046:{type:"_sbcs",chars:"\uFE88\xD7\xF7\uF8F6\uF8F5\uF8F4\uF8F7\uFE71\x88\u25A0\u2502\u2500\u2510\u250C\u2514\u2518\uFE79\uFE7B\uFE7D\uFE7F\uFE77\uFE8A\uFEF0\uFEF3\uFEF2\uFECE\uFECF\uFED0\uFEF6\uFEF8\uFEFA\uFEFC\xA0\uF8FA\uF8F9\uF8F8\xA4\uF8FB\uFE8B\uFE91\uFE97\uFE9B\uFE9F\uFEA3\u060C\xAD\uFEA7\uFEB3\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\uFEB7\u061B\uFEBB\uFEBF\uFECA\u061F\uFECB\u0621\u0622\u0623\u0624\u0625\u0626\u0627\u0628\u0629\u062A\u062B\u062C\u062D\u062E\u062F\u0630\u0631\u0632\u0633\u0634\u0635\u0636\u0637\uFEC7\u0639\u063A\uFECC\uFE82\uFE84\uFE8E\uFED3\u0640\u0641\u0642\u0643\u0644\u0645\u0646\u0647\u0648\u0649\u064A\u064B\u064C\u064D\u064E\u064F\u0650\u0651\u0652\uFED7\uFEDB\uFEDF\uF8FC\uFEF5\uFEF7\uFEF9\uFEFB\uFEE3\uFEE7\uFEEC\uFEE9\uFFFD"},ibm1046:"cp1046",csibm1046:"cp1046",cp1124:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0401\u0402\u0490\u0404\u0405\u0406\u0407\u0408\u0409\u040A\u040B\u040C\xAD\u040E\u040F\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u2116\u0451\u0452\u0491\u0454\u0455\u0456\u0457\u0458\u0459\u045A\u045B\u045C\xA7\u045E\u045F"},ibm1124:"cp1124",csibm1124:"cp1124",cp1125:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u2591\u2592\u2593\u2502\u2524\u2561\u2562\u2556\u2555\u2563\u2551\u2557\u255D\u255C\u255B\u2510\u2514\u2534\u252C\u251C\u2500\u253C\u255E\u255F\u255A\u2554\u2569\u2566\u2560\u2550\u256C\u2567\u2568\u2564\u2565\u2559\u2558\u2552\u2553\u256B\u256A\u2518\u250C\u2588\u2584\u258C\u2590\u2580\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F\u0401\u0451\u0490\u0491\u0404\u0454\u0406\u0456\u0407\u0457\xB7\u221A\u2116\xA4\u25A0\xA0"},ibm1125:"cp1125",csibm1125:"cp1125",cp1129:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\u0153\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u0178\xB5\xB6\xB7\u0152\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},ibm1129:"cp1129",csibm1129:"cp1129",cp1133:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E81\u0E82\u0E84\u0E87\u0E88\u0EAA\u0E8A\u0E8D\u0E94\u0E95\u0E96\u0E97\u0E99\u0E9A\u0E9B\u0E9C\u0E9D\u0E9E\u0E9F\u0EA1\u0EA2\u0EA3\u0EA5\u0EA7\u0EAB\u0EAD\u0EAE\uFFFD\uFFFD\uFFFD\u0EAF\u0EB0\u0EB2\u0EB3\u0EB4\u0EB5\u0EB6\u0EB7\u0EB8\u0EB9\u0EBC\u0EB1\u0EBB\u0EBD\uFFFD\uFFFD\uFFFD\u0EC0\u0EC1\u0EC2\u0EC3\u0EC4\u0EC8\u0EC9\u0ECA\u0ECB\u0ECC\u0ECD\u0EC6\uFFFD\u0EDC\u0EDD\u20AD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0ED0\u0ED1\u0ED2\u0ED3\u0ED4\u0ED5\u0ED6\u0ED7\u0ED8\u0ED9\uFFFD\uFFFD\xA2\xAC\xA6\uFFFD"},ibm1133:"cp1133",csibm1133:"cp1133",cp1161:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0E48\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\u0E49\u0E4A\u0E4B\u20AC\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\xA2\xAC\xA6\xA0"},ibm1161:"cp1161",csibm1161:"cp1161",cp1162:{type:"_sbcs",chars:"\u20AC\x81\x82\x83\x84\u2026\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"},ibm1162:"cp1162",csibm1162:"cp1162",cp1163:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xA1\xA2\xA3\u20AC\xA5\xA6\xA7\u0153\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\u0178\xB5\xB6\xB7\u0152\xB9\xBA\xBB\xBC\xBD\xBE\xBF\xC0\xC1\xC2\u0102\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\u0300\xCD\xCE\xCF\u0110\xD1\u0309\xD3\xD4\u01A0\xD6\xD7\xD8\xD9\xDA\xDB\xDC\u01AF\u0303\xDF\xE0\xE1\xE2\u0103\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\u0301\xED\xEE\xEF\u0111\xF1\u0323\xF3\xF4\u01A1\xF6\xF7\xF8\xF9\xFA\xFB\xFC\u01B0\u20AB\xFF"},ibm1163:"cp1163",csibm1163:"cp1163",maccroatian:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\u0160\u2122\xB4\xA8\u2260\u017D\xD8\u221E\xB1\u2264\u2265\u2206\xB5\u2202\u2211\u220F\u0161\u222B\xAA\xBA\u2126\u017E\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u0106\xAB\u010C\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u0110\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\uFFFD\xA9\u2044\xA4\u2039\u203A\xC6\xBB\u2013\xB7\u201A\u201E\u2030\xC2\u0107\xC1\u010D\xC8\xCD\xCE\xCF\xCC\xD3\xD4\u0111\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u03C0\xCB\u02DA\xB8\xCA\xE6\u02C7"},maccyrillic:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\xA2\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u2202\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\xA4"},macgreek:{type:"_sbcs",chars:"\xC4\xB9\xB2\xC9\xB3\xD6\xDC\u0385\xE0\xE2\xE4\u0384\xA8\xE7\xE9\xE8\xEA\xEB\xA3\u2122\xEE\xEF\u2022\xBD\u2030\xF4\xF6\xA6\xAD\xF9\xFB\xFC\u2020\u0393\u0394\u0398\u039B\u039E\u03A0\xDF\xAE\xA9\u03A3\u03AA\xA7\u2260\xB0\u0387\u0391\xB1\u2264\u2265\xA5\u0392\u0395\u0396\u0397\u0399\u039A\u039C\u03A6\u03AB\u03A8\u03A9\u03AC\u039D\xAC\u039F\u03A1\u2248\u03A4\xAB\xBB\u2026\xA0\u03A5\u03A7\u0386\u0388\u0153\u2013\u2015\u201C\u201D\u2018\u2019\xF7\u0389\u038A\u038C\u038E\u03AD\u03AE\u03AF\u03CC\u038F\u03CD\u03B1\u03B2\u03C8\u03B4\u03B5\u03C6\u03B3\u03B7\u03B9\u03BE\u03BA\u03BB\u03BC\u03BD\u03BF\u03C0\u03CE\u03C1\u03C3\u03C4\u03B8\u03C9\u03C2\u03C7\u03C5\u03B6\u03CA\u03CB\u0390\u03B0\uFFFD"},maciceland:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\xDD\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\xD0\xF0\xDE\xFE\xFD\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macroman:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macromania:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\u0102\u015E\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\u0103\u015F\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\u0162\u0163\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macthai:{type:"_sbcs",chars:"\xAB\xBB\u2026\uF88C\uF88F\uF892\uF895\uF898\uF88B\uF88E\uF891\uF894\uF897\u201C\u201D\uF899\uFFFD\u2022\uF884\uF889\uF885\uF886\uF887\uF888\uF88A\uF88D\uF890\uF893\uF896\u2018\u2019\uFFFD\xA0\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFEFF\u200B\u2013\u2014\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u2122\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\xAE\xA9\uFFFD\uFFFD\uFFFD\uFFFD"},macturkish:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u011E\u011F\u0130\u0131\u015E\u015F\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\uFFFD\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},macukraine:{type:"_sbcs",chars:"\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u2020\xB0\u0490\xA3\xA7\u2022\xB6\u0406\xAE\xA9\u2122\u0402\u0452\u2260\u0403\u0453\u221E\xB1\u2264\u2265\u0456\xB5\u0491\u0408\u0404\u0454\u0407\u0457\u0409\u0459\u040A\u045A\u0458\u0405\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\u040B\u045B\u040C\u045C\u0455\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u201E\u040E\u045E\u040F\u045F\u2116\u0401\u0451\u044F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\xA4"},koi8r:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u2553\u2554\u2555\u2556\u2557\u2558\u2559\u255A\u255B\u255C\u255D\u255E\u255F\u2560\u2561\u0401\u2562\u2563\u2564\u2565\u2566\u2567\u2568\u2569\u256A\u256B\u256C\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8u:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255A\u255B\u0491\u255D\u255E\u255F\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256A\u0490\u256C\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8ru:{type:"_sbcs",chars:"\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2580\u2584\u2588\u258C\u2590\u2591\u2592\u2593\u2320\u25A0\u2219\u221A\u2248\u2264\u2265\xA0\u2321\xB0\xB2\xB7\xF7\u2550\u2551\u2552\u0451\u0454\u2554\u0456\u0457\u2557\u2558\u2559\u255A\u255B\u0491\u045E\u255E\u255F\u2560\u2561\u0401\u0404\u2563\u0406\u0407\u2566\u2567\u2568\u2569\u256A\u0490\u040E\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},koi8t:{type:"_sbcs",chars:"\u049B\u0493\u201A\u0492\u201E\u2026\u2020\u2021\uFFFD\u2030\u04B3\u2039\u04B2\u04B7\u04B6\uFFFD\u049A\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\uFFFD\u203A\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u04EF\u04EE\u0451\xA4\u04E3\xA6\xA7\uFFFD\uFFFD\uFFFD\xAB\xAC\xAD\xAE\uFFFD\xB0\xB1\xB2\u0401\uFFFD\u04E2\xB6\xB7\uFFFD\u2116\uFFFD\xBB\uFFFD\uFFFD\uFFFD\xA9\u044E\u0430\u0431\u0446\u0434\u0435\u0444\u0433\u0445\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u044F\u0440\u0441\u0442\u0443\u0436\u0432\u044C\u044B\u0437\u0448\u044D\u0449\u0447\u044A\u042E\u0410\u0411\u0426\u0414\u0415\u0424\u0413\u0425\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u042F\u0420\u0421\u0422\u0423\u0416\u0412\u042C\u042B\u0417\u0428\u042D\u0429\u0427\u042A"},armscii8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\uFFFD\u0587\u0589)(\xBB\xAB\u2014.\u055D,-\u058A\u2026\u055C\u055B\u055E\u0531\u0561\u0532\u0562\u0533\u0563\u0534\u0564\u0535\u0565\u0536\u0566\u0537\u0567\u0538\u0568\u0539\u0569\u053A\u056A\u053B\u056B\u053C\u056C\u053D\u056D\u053E\u056E\u053F\u056F\u0540\u0570\u0541\u0571\u0542\u0572\u0543\u0573\u0544\u0574\u0545\u0575\u0546\u0576\u0547\u0577\u0548\u0578\u0549\u0579\u054A\u057A\u054B\u057B\u054C\u057C\u054D\u057D\u054E\u057E\u054F\u057F\u0550\u0580\u0551\u0581\u0552\u0582\u0553\u0583\u0554\u0584\u0555\u0585\u0556\u0586\u055A\uFFFD"},rk1048:{type:"_sbcs",chars:"\u0402\u0403\u201A\u0453\u201E\u2026\u2020\u2021\u20AC\u2030\u0409\u2039\u040A\u049A\u04BA\u040F\u0452\u2018\u2019\u201C\u201D\u2022\u2013\u2014\uFFFD\u2122\u0459\u203A\u045A\u049B\u04BB\u045F\xA0\u04B0\u04B1\u04D8\xA4\u04E8\xA6\xA7\u0401\xA9\u0492\xAB\xAC\xAD\xAE\u04AE\xB0\xB1\u0406\u0456\u04E9\xB5\xB6\xB7\u0451\u2116\u0493\xBB\u04D9\u04A2\u04A3\u04AF\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},tcvn:{type:"_sbcs",chars:`\0\xDA\u1EE4\u1EEA\u1EEC\u1EEE\x07\b \v\f\r\u1EE8\u1EF0\u1EF2\u1EF6\u1EF8\xDD\u1EF4\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\xC0\u1EA2\xC3\xC1\u1EA0\u1EB6\u1EAC\xC8\u1EBA\u1EBC\xC9\u1EB8\u1EC6\xCC\u1EC8\u0128\xCD\u1ECA\xD2\u1ECE\xD5\xD3\u1ECC\u1ED8\u1EDC\u1EDE\u1EE0\u1EDA\u1EE2\xD9\u1EE6\u0168\xA0\u0102\xC2\xCA\xD4\u01A0\u01AF\u0110\u0103\xE2\xEA\xF4\u01A1\u01B0\u0111\u1EB0\u0300\u0309\u0303\u0301\u0323\xE0\u1EA3\xE3\xE1\u1EA1\u1EB2\u1EB1\u1EB3\u1EB5\u1EAF\u1EB4\u1EAE\u1EA6\u1EA8\u1EAA\u1EA4\u1EC0\u1EB7\u1EA7\u1EA9\u1EAB\u1EA5\u1EAD\xE8\u1EC2\u1EBB\u1EBD\xE9\u1EB9\u1EC1\u1EC3\u1EC5\u1EBF\u1EC7\xEC\u1EC9\u1EC4\u1EBE\u1ED2\u0129\xED\u1ECB\xF2\u1ED4\u1ECF\xF5\xF3\u1ECD\u1ED3\u1ED5\u1ED7\u1ED1\u1ED9\u1EDD\u1EDF\u1EE1\u1EDB\u1EE3\xF9\u1ED6\u1EE7\u0169\xFA\u1EE5\u1EEB\u1EED\u1EEF\u1EE9\u1EF1\u1EF3\u1EF7\u1EF9\xFD\u1EF5\u1ED0`},georgianacademy:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10EF\u10F0\u10F1\u10F2\u10F3\u10F4\u10F5\u10F6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},georgianps:{type:"_sbcs",chars:"\x80\x81\u201A\u0192\u201E\u2026\u2020\u2021\u02C6\u2030\u0160\u2039\u0152\x8D\x8E\x8F\x90\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u02DC\u2122\u0161\u203A\u0153\x9D\x9E\u0178\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF\u10D0\u10D1\u10D2\u10D3\u10D4\u10D5\u10D6\u10F1\u10D7\u10D8\u10D9\u10DA\u10DB\u10DC\u10F2\u10DD\u10DE\u10DF\u10E0\u10E1\u10E2\u10F3\u10E3\u10E4\u10E5\u10E6\u10E7\u10E8\u10E9\u10EA\u10EB\u10EC\u10ED\u10EE\u10F4\u10EF\u10F0\u10F5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"},pt154:{type:"_sbcs",chars:"\u0496\u0492\u04EE\u0493\u201E\u2026\u04B6\u04AE\u04B2\u04AF\u04A0\u04E2\u04A2\u049A\u04BA\u04B8\u0497\u2018\u2019\u201C\u201D\u2022\u2013\u2014\u04B3\u04B7\u04A1\u04E3\u04A3\u049B\u04BB\u04B9\xA0\u040E\u045E\u0408\u04E8\u0498\u04B0\xA7\u0401\xA9\u04D8\xAB\xAC\u04EF\xAE\u049C\xB0\u04B1\u0406\u0456\u0499\u04E9\xB6\xB7\u0451\u2116\u04D9\xBB\u0458\u04AA\u04AB\u049D\u0410\u0411\u0412\u0413\u0414\u0415\u0416\u0417\u0418\u0419\u041A\u041B\u041C\u041D\u041E\u041F\u0420\u0421\u0422\u0423\u0424\u0425\u0426\u0427\u0428\u0429\u042A\u042B\u042C\u042D\u042E\u042F\u0430\u0431\u0432\u0433\u0434\u0435\u0436\u0437\u0438\u0439\u043A\u043B\u043C\u043D\u043E\u043F\u0440\u0441\u0442\u0443\u0444\u0445\u0446\u0447\u0448\u0449\u044A\u044B\u044C\u044D\u044E\u044F"},viscii:{type:"_sbcs",chars:`\0\u1EB2\u1EB4\u1EAA\x07\b \v\f\r\u1EF6\u1EF8\x1B\u1EF4 !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}~\x7F\u1EA0\u1EAE\u1EB0\u1EB6\u1EA4\u1EA6\u1EA8\u1EAC\u1EBC\u1EB8\u1EBE\u1EC0\u1EC2\u1EC4\u1EC6\u1ED0\u1ED2\u1ED4\u1ED6\u1ED8\u1EE2\u1EDA\u1EDC\u1EDE\u1ECA\u1ECE\u1ECC\u1EC8\u1EE6\u0168\u1EE4\u1EF2\xD5\u1EAF\u1EB1\u1EB7\u1EA5\u1EA7\u1EA9\u1EAD\u1EBD\u1EB9\u1EBF\u1EC1\u1EC3\u1EC5\u1EC7\u1ED1\u1ED3\u1ED5\u1ED7\u1EE0\u01A0\u1ED9\u1EDD\u1EDF\u1ECB\u1EF0\u1EE8\u1EEA\u1EEC\u01A1\u1EDB\u01AF\xC0\xC1\xC2\xC3\u1EA2\u0102\u1EB3\u1EB5\xC8\xC9\xCA\u1EBA\xCC\xCD\u0128\u1EF3\u0110\u1EE9\xD2\xD3\xD4\u1EA1\u1EF7\u1EEB\u1EED\xD9\xDA\u1EF9\u1EF5\xDD\u1EE1\u01B0\xE0\xE1\xE2\xE3\u1EA3\u0103\u1EEF\u1EAB\xE8\xE9\xEA\u1EBB\xEC\xED\u0129\u1EC9\u0111\u1EF1\xF2\xF3\xF4\xF5\u1ECF\u1ECD\u1EE5\xF9\xFA\u0169\u1EE7\xFD\u1EE3\u1EEE`},iso646cn:{type:"_sbcs",chars:`\0\x07\b \v\f\r\x1B !"#\xA5%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},iso646jp:{type:"_sbcs",chars:`\0\x07\b \v\f\r\x1B !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\xA5]^_\`abcdefghijklmnopqrstuvwxyz{|}\u203E\x7F\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD`},hproman8:{type:"_sbcs",chars:"\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F\xA0\xC0\xC2\xC8\xCA\xCB\xCE\xCF\xB4\u02CB\u02C6\xA8\u02DC\xD9\xDB\u20A4\xAF\xDD\xFD\xB0\xC7\xE7\xD1\xF1\xA1\xBF\xA4\xA3\xA5\xA7\u0192\xA2\xE2\xEA\xF4\xFB\xE1\xE9\xF3\xFA\xE0\xE8\xF2\xF9\xE4\xEB\xF6\xFC\xC5\xEE\xD8\xC6\xE5\xED\xF8\xE6\xC4\xEC\xD6\xDC\xC9\xEF\xDF\xD4\xC1\xC3\xE3\xD0\xF0\xCD\xCC\xD3\xD2\xD5\xF5\u0160\u0161\xDA\u0178\xFF\xDE\xFE\xB7\xB5\xB6\xBE\u2014\xBC\xBD\xAA\xBA\xAB\u25A0\xBB\xB1\uFFFD"},macintosh:{type:"_sbcs",chars:"\xC4\xC5\xC7\xC9\xD1\xD6\xDC\xE1\xE0\xE2\xE4\xE3\xE5\xE7\xE9\xE8\xEA\xEB\xED\xEC\xEE\xEF\xF1\xF3\xF2\xF4\xF6\xF5\xFA\xF9\xFB\xFC\u2020\xB0\xA2\xA3\xA7\u2022\xB6\xDF\xAE\xA9\u2122\xB4\xA8\u2260\xC6\xD8\u221E\xB1\u2264\u2265\xA5\xB5\u2202\u2211\u220F\u03C0\u222B\xAA\xBA\u2126\xE6\xF8\xBF\xA1\xAC\u221A\u0192\u2248\u2206\xAB\xBB\u2026\xA0\xC0\xC3\xD5\u0152\u0153\u2013\u2014\u201C\u201D\u2018\u2019\xF7\u25CA\xFF\u0178\u2044\xA4\u2039\u203A\uFB01\uFB02\u2021\xB7\u201A\u201E\u2030\xC2\xCA\xC1\xCB\xC8\xCD\xCE\xCF\xCC\xD3\xD4\uFFFD\xD2\xDA\xDB\xD9\u0131\u02C6\u02DC\xAF\u02D8\u02D9\u02DA\xB8\u02DD\u02DB\u02C7"},ascii:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD"},tis620:{type:"_sbcs",chars:"\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\uFFFD\u0E01\u0E02\u0E03\u0E04\u0E05\u0E06\u0E07\u0E08\u0E09\u0E0A\u0E0B\u0E0C\u0E0D\u0E0E\u0E0F\u0E10\u0E11\u0E12\u0E13\u0E14\u0E15\u0E16\u0E17\u0E18\u0E19\u0E1A\u0E1B\u0E1C\u0E1D\u0E1E\u0E1F\u0E20\u0E21\u0E22\u0E23\u0E24\u0E25\u0E26\u0E27\u0E28\u0E29\u0E2A\u0E2B\u0E2C\u0E2D\u0E2E\u0E2F\u0E30\u0E31\u0E32\u0E33\u0E34\u0E35\u0E36\u0E37\u0E38\u0E39\u0E3A\uFFFD\uFFFD\uFFFD\uFFFD\u0E3F\u0E40\u0E41\u0E42\u0E43\u0E44\u0E45\u0E46\u0E47\u0E48\u0E49\u0E4A\u0E4B\u0E4C\u0E4D\u0E4E\u0E4F\u0E50\u0E51\u0E52\u0E53\u0E54\u0E55\u0E56\u0E57\u0E58\u0E59\u0E5A\u0E5B\uFFFD\uFFFD\uFFFD\uFFFD"}}});var nIi=j(rIi=>{"use strict";var OOr=i1e().Buffer;rIi._dbcs=a1e;var AO=-1,tIi=-2,uX=-10,SQ=-1e3,Dje=new Array(256),Kit=-1;for(P5t=0;P5t<256;P5t++)Dje[P5t]=AO;var P5t;function a1e(e,t){if(this.encodingName=e.encodingName,!e)throw new Error("DBCS codec is called without the data.");if(!e.table)throw new Error("Encoding '"+this.encodingName+"' has no data.");var r=e.table();this.decodeTables=[],this.decodeTables[0]=Dje.slice(0),this.decodeTableSeq=[];for(var n=0;nSQ)throw new Error("gb18030 decode tables conflict at byte 2");for(var f=this.decodeTables[SQ-u[l]],p=129;p<=254;p++){if(f[p]===AO)f[p]=SQ-s;else{if(f[p]===SQ-s)continue;if(f[p]>SQ)throw new Error("gb18030 decode tables conflict at byte 3")}for(var g=this.decodeTables[SQ-f[p]],A=48;A<=57;A++)g[A]===AO&&(g[A]=tIi)}}}this.defaultCharUnicode=t.defaultCharUnicode,this.encodeTable=[],this.encodeTableSeq=[];var h={};if(e.encodeSkipVals)for(var n=0;n0;e>>>=8)t.push(e&255);t.length==0&&t.push(0);for(var r=this.decodeTables[0],n=t.length-1;n>0;n--){var i=r[t[n]];if(i==AO)r[t[n]]=SQ-this.decodeTables.length,this.decodeTables.push(r=Dje.slice(0));else if(i<=SQ)r=this.decodeTables[SQ-i];else throw new Error("Overwrite byte in "+this.encodingName+", addr: "+e.toString(16))}return r};a1e.prototype._addDecodeChunk=function(e){var t=parseInt(e[0],16),r=this._getDecodeTrieNode(t);t=t&255;for(var n=1;n=55296&&a<56320){var u=i.charCodeAt(s++);if(u>=56320&&u<57344)r[t++]=65536+(a-55296)*1024+(u-56320);else throw new Error("Incorrect surrogate pair in "+this.encodingName+" at chunk "+e[0])}else if(a>4080&&a<=4095){for(var l=4095-a+2,f=[],p=0;p255)throw new Error("Incorrect chunk in "+this.encodingName+" at addr "+e[0]+": too long"+t)};a1e.prototype._getEncodeBucket=function(e){var t=e>>8;return this.encodeTable[t]===void 0&&(this.encodeTable[t]=Dje.slice(0)),this.encodeTable[t]};a1e.prototype._setEncodeChar=function(e,t){var r=this._getEncodeBucket(e),n=e&255;r[n]<=uX?this.encodeTableSeq[uX-r[n]][Kit]=t:r[n]==AO&&(r[n]=t)};a1e.prototype._setEncodeSequence=function(e,t){var r=e[0],n=this._getEncodeBucket(r),i=r&255,s;n[i]<=uX?s=this.encodeTableSeq[uX-n[i]]:(s={},n[i]!==AO&&(s[Kit]=n[i]),n[i]=uX-this.encodeTableSeq.length,this.encodeTableSeq.push(s));for(var a=1;a=0)this._setEncodeChar(u,l),i=!0;else if(u<=SQ){var f=SQ-u;if(!s[f]){var p=l<<8>>>0;this._fillEncodeTable(f,p,r)?i=!0:s[f]=!0}}else u<=uX&&(this._setEncodeSequence(this.decodeTableSeq[uX-u],l),i=!0)}return i};function N5t(e,t){this.leadSurrogate=-1,this.seqObj=void 0,this.encodeTable=t.encodeTable,this.encodeTableSeq=t.encodeTableSeq,this.defaultCharSingleByte=t.defCharSB,this.gb18030=t.gb18030}N5t.prototype.write=function(e){for(var t=OOr.alloc(e.length*(this.gb18030?4:3)),r=this.leadSurrogate,n=this.seqObj,i=-1,s=0,a=0;;){if(i===-1){if(s==e.length)break;var u=e.charCodeAt(s++)}else{var u=i;i=-1}if(u>=55296&&u<57344)if(u<56320)if(r===-1){r=u;continue}else r=u,u=AO;else r!==-1?(u=65536+(r-55296)*1024+(u-56320),r=-1):u=AO;else r!==-1&&(i=u,u=AO,r=-1);var l=AO;if(n!==void 0&&u!=AO){var f=n[u];if(typeof f=="object"){n=f;continue}else typeof f=="number"?l=f:f==null&&(f=n[Kit],f!==void 0&&(l=f,i=u));n=void 0}else if(u>=0){var p=this.encodeTable[u>>8];if(p!==void 0&&(l=p[u&255]),l<=uX){n=this.encodeTableSeq[uX-l];continue}if(l==AO&&this.gb18030){var g=FOr(this.gb18030.uChars,u);if(g!=-1){var l=this.gb18030.gbChars[g]+(u-this.gb18030.uChars[g]);t[a++]=129+Math.floor(l/12600),l=l%12600,t[a++]=48+Math.floor(l/1260),l=l%1260,t[a++]=129+Math.floor(l/10),l=l%10,t[a++]=48+l;continue}}}l===AO&&(l=this.defaultCharSingleByte),l<256?t[a++]=l:l<65536?(t[a++]=l>>8,t[a++]=l&255):l<16777216?(t[a++]=l>>16,t[a++]=l>>8&255,t[a++]=l&255):(t[a++]=l>>>24,t[a++]=l>>>16&255,t[a++]=l>>>8&255,t[a++]=l&255)}return this.seqObj=n,this.leadSurrogate=r,t.slice(0,a)};N5t.prototype.end=function(){if(!(this.leadSurrogate===-1&&this.seqObj===void 0)){var e=OOr.alloc(10),t=0;if(this.seqObj){var r=this.seqObj[Kit];r!==void 0&&(r<256?e[t++]=r:(e[t++]=r>>8,e[t++]=r&255)),this.seqObj=void 0}return this.leadSurrogate!==-1&&(e[t++]=this.defaultCharSingleByte,this.leadSurrogate=-1),e.slice(0,t)}};N5t.prototype.findIdx=FOr;function ROr(e,t){this.nodeIdx=0,this.prevBytes=[],this.decodeTables=t.decodeTables,this.decodeTableSeq=t.decodeTableSeq,this.defaultCharUnicode=t.defaultCharUnicode,this.gb18030=t.gb18030}ROr.prototype.write=function(e){for(var t=OOr.alloc(e.length*2),r=this.nodeIdx,n=this.prevBytes,i=this.prevBytes.length,s=-this.prevBytes.length,a,u=0,l=0;u=0?e[u]:n[u+i],a=this.decodeTables[r][f];if(!(a>=0))if(a===AO)a=this.defaultCharUnicode.charCodeAt(0),u=s;else if(a===tIi){if(u>=3)var p=(e[u-3]-129)*12600+(e[u-2]-48)*1260+(e[u-1]-129)*10+(f-48);else var p=(n[u-3+i]-129)*12600+((u-2>=0?e[u-2]:n[u-2+i])-48)*1260+((u-1>=0?e[u-1]:n[u-1+i])-129)*10+(f-48);var g=FOr(this.gb18030.gbChars,p);a=this.gb18030.uChars[g]+p-this.gb18030.gbChars[g]}else if(a<=SQ){r=SQ-a;continue}else if(a<=uX){for(var A=this.decodeTableSeq[uX-a],h=0;h>8;a=A[A.length-1]}else throw new Error("iconv-lite internal error: invalid decoding table value "+a+" at "+r+"/"+f);if(a>=65536){a-=65536;var _=55296|a>>10;t[l++]=_&255,t[l++]=_>>8,a=56320|a&1023}t[l++]=a&255,t[l++]=a>>8,r=0,s=u+1}return this.nodeIdx=r,this.prevBytes=s>=0?Array.prototype.slice.call(e,s):n.slice(s+i).concat(Array.prototype.slice.call(e)),t.slice(0,l).toString("ucs2")};ROr.prototype.end=function(){for(var e="";this.prevBytes.length>0;){e+=this.defaultCharUnicode;var t=this.prevBytes.slice(1);this.prevBytes=[],this.nodeIdx=0,t.length>0&&(e+=this.write(t))}return this.prevBytes=[],this.nodeIdx=0,e};function FOr(e,t){if(e[0]>t)return-1;for(var r=0,n=e.length;r>1);e[i]<=t?r=i:n=i}return r}});var sIi=j(($gg,iIi)=>{"use strict";iIi.exports={shiftjis:{type:"_dbcs",table:function(){return require("./shiftjis-GYCK5U7U.json")},encodeAdd:{"\xA5":92,"\u203E":126},encodeSkipVals:[{from:60736,to:63808}]},csshiftjis:"shiftjis",mskanji:"shiftjis",sjis:"shiftjis",windows31j:"shiftjis",ms31j:"shiftjis",xsjis:"shiftjis",windows932:"shiftjis",ms932:"shiftjis",932:"shiftjis",cp932:"shiftjis",eucjp:{type:"_dbcs",table:function(){return require("./eucjp-W4QAX4DZ.json")},encodeAdd:{"\xA5":92,"\u203E":126}},gb2312:"cp936",gb231280:"cp936",gb23121980:"cp936",csgb2312:"cp936",csiso58gb231280:"cp936",euccn:"cp936",windows936:"cp936",ms936:"cp936",936:"cp936",cp936:{type:"_dbcs",table:function(){return require("./cp936-W5K7MT45.json")}},gbk:{type:"_dbcs",table:function(){return require("./cp936-W5K7MT45.json").concat(require("./gbk-added-V7UVGSI5.json"))}},xgbk:"gbk",isoir58:"gbk",gb18030:{type:"_dbcs",table:function(){return require("./cp936-W5K7MT45.json").concat(require("./gbk-added-V7UVGSI5.json"))},gb18030:function(){return require("./gb18030-ranges-FALM2MOB.json")},encodeSkipVals:[128],encodeAdd:{"\u20AC":41699}},chinese:"gb18030",windows949:"cp949",ms949:"cp949",949:"cp949",cp949:{type:"_dbcs",table:function(){return require("./cp949-KFE6XBWZ.json")}},cseuckr:"cp949",csksc56011987:"cp949",euckr:"cp949",isoir149:"cp949",korean:"cp949",ksc56011987:"cp949",ksc56011989:"cp949",ksc5601:"cp949",windows950:"cp950",ms950:"cp950",950:"cp950",cp950:{type:"_dbcs",table:function(){return require("./cp950-UWQVQGNP.json")}},big5:"big5hkscs",big5hkscs:{type:"_dbcs",table:function(){return require("./cp950-UWQVQGNP.json").concat(require("./big5-added-WGHGAEMZ.json"))},encodeSkipVals:[36457,36463,36478,36523,36532,36557,36560,36695,36713,36718,36811,36862,36973,36986,37060,37084,37105,37311,37551,37552,37553,37554,37585,37959,38090,38361,38652,39285,39798,39800,39803,39878,39902,39916,39926,40002,40019,40034,40040,40043,40055,40124,40125,40144,40279,40282,40388,40431,40443,40617,40687,40701,40800,40907,41079,41180,41183,36812,37576,38468,38637,41636,41637,41639,41638,41676,41678]},cnbig5:"big5hkscs",csbig5:"big5hkscs",xxbig5:"big5hkscs"}});var uIi=j((oIi,R5t)=>{"use strict";var Lbu=sOr(),aIi=[jbi(),Ybi(),$bi(),Jbi(),zbi(),Xbi(),eIi(),nIi(),sIi()];for(O5t=0;O5t{"use strict";var lIi=i1e().Buffer;cIi.exports=function(e){var t=e.Transform;function r(i,s){this.conv=i,s=s||{},s.decodeStrings=!1,t.call(this,s)}r.prototype=Object.create(t.prototype,{constructor:{value:r}}),r.prototype._transform=function(i,s,a){if(typeof i!="string")return a(new Error("Iconv encoding stream needs strings as its input."));try{var u=this.conv.write(i);u&&u.length&&this.push(u),a()}catch(l){a(l)}},r.prototype._flush=function(i){try{var s=this.conv.end();s&&s.length&&this.push(s),i()}catch(a){i(a)}},r.prototype.collect=function(i){var s=[];return this.on("error",i),this.on("data",function(a){s.push(a)}),this.on("end",function(){i(null,lIi.concat(s))}),this};function n(i,s){this.conv=i,s=s||{},s.encoding=this.encoding="utf8",t.call(this,s)}return n.prototype=Object.create(t.prototype,{constructor:{value:n}}),n.prototype._transform=function(i,s,a){if(!lIi.isBuffer(i)&&!(i instanceof Uint8Array))return a(new Error("Iconv decoding stream needs buffers as its input."));try{var u=this.conv.write(i);u&&u.length&&this.push(u,this.encoding),a()}catch(l){a(l)}},n.prototype._flush=function(i){try{var s=this.conv.end();s&&s.length&&this.push(s,this.encoding),i()}catch(a){i(a)}},n.prototype.collect=function(i){var s="";return this.on("error",i),this.on("data",function(a){s+=a}),this.on("end",function(){i(null,s)}),this},{IconvLiteEncoderStream:r,IconvLiteDecoderStream:n}}});var LOr=j((Jgg,mIi)=>{"use strict";var pIi=i1e().Buffer,dIi=Lbi(),Mbu=sOr(),Vy=mIi.exports;Vy.encodings=null;Vy.defaultCharUnicode="\uFFFD";Vy.defaultCharSingleByte="?";Vy.encode=function(t,r,n){t=""+(t||"");var i=Vy.getEncoder(r,n),s=i.write(t),a=i.end();return a&&a.length>0?pIi.concat([s,a]):s};Vy.decode=function(t,r,n){typeof t=="string"&&(Vy.skipDecodeWarning||(console.error("Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding"),Vy.skipDecodeWarning=!0),t=pIi.from(""+(t||""),"binary"));var i=Vy.getDecoder(r,n),s=i.write(t),a=i.end();return a?s+a:s};Vy.encodingExists=function(t){try{return Vy.getCodec(t),!0}catch{return!1}};Vy.toEncoding=Vy.encode;Vy.fromEncoding=Vy.decode;Vy._codecDataCache={__proto__:null};Vy.getCodec=function(t){if(!Vy.encodings){var r=uIi();Vy.encodings={__proto__:null},Mbu(Vy.encodings,r)}for(var n=Vy._canonicalizeEncoding(t),i={};;){var s=Vy._codecDataCache[n];if(s)return s;var a=Vy.encodings[n];switch(typeof a){case"string":n=a;break;case"object":for(var u in a)i[u]=a[u];i.encodingName||(i.encodingName=n),n=a.type;break;case"function":return i.encodingName||(i.encodingName=n),s=new a(i,Vy),Vy._codecDataCache[i.encodingName]=s,s;default:throw new Error("Encoding not recognized: '"+t+"' (searched as: '"+n+"')")}}};Vy._canonicalizeEncoding=function(e){return(""+e).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g,"")};Vy.getEncoder=function(t,r){var n=Vy.getCodec(t),i=new n.encoder(r,n);return n.bomAware&&r&&r.addBOM&&(i=new dIi.PrependBOM(i,r)),i};Vy.getDecoder=function(t,r){var n=Vy.getCodec(t),i=new n.decoder(r,n);return n.bomAware&&!(r&&r.stripBOM===!1)&&(i=new dIi.StripBOM(i,r)),i};Vy.enableStreamingAPI=function(t){if(!Vy.supportsStreams){var r=fIi()(t);Vy.IconvLiteEncoderStream=r.IconvLiteEncoderStream,Vy.IconvLiteDecoderStream=r.IconvLiteDecoderStream,Vy.encodeStream=function(i,s){return new Vy.IconvLiteEncoderStream(Vy.getEncoder(i,s),s)},Vy.decodeStream=function(i,s){return new Vy.IconvLiteDecoderStream(Vy.getDecoder(i,s),s)},Vy.supportsStreams=!0}};var F5t;try{F5t=require("stream")}catch{}F5t&&F5t.Transform?Vy.enableStreamingAPI(F5t):Vy.encodeStream=Vy.decodeStream=function(){throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it.")}});var AIi=j((Hgg,gIi)=>{"use strict";gIi.exports=jbu;function Qbu(e){for(var t=e.listeners("data"),r=0;r{"use strict";var hIi=Jbu(),Ubu=b5t(),L6e=Ije(),qbu=LOr(),Ybu=AIi();_Ii.exports=$bu;var Gbu=/^Encoding not recognized: /;function Vbu(e){if(!e)return null;try{return qbu.getDecoder(e)}catch(t){throw Gbu.test(t.message)?L6e(415,"specified encoding unsupported",{encoding:e,type:"encoding.unsupported"}):t}}function $bu(e,t,r){var n=r,i=t||{};if(e===void 0)throw new TypeError("argument stream is required");if(typeof e!="object"||e===null||typeof e.on!="function")throw new TypeError("argument stream must be a stream");if((t===!0||typeof t=="string")&&(i={encoding:t}),typeof t=="function"&&(n=t,i={}),n!==void 0&&typeof n!="function")throw new TypeError("argument callback must be a function");if(!n&&!global.Promise)throw new TypeError("argument callback is required");var s=i.encoding!==!0?i.encoding:"utf-8",a=Ubu.parse(i.limit),u=i.length!=null&&!isNaN(i.length)?parseInt(i.length,10):null;return n?yIi(e,s,u,a,Hbu(n)):new Promise(function(f,p){yIi(e,s,u,a,function(A,h){if(A)return p(A);f(h)})})}function Kbu(e){Ybu(e),typeof e.pause=="function"&&e.pause()}function yIi(e,t,r,n,i){var s=!1,a=!0;if(n!==null&&r!==null&&r>n)return g(L6e(413,"request entity too large",{expected:r,length:r,limit:n,type:"entity.too.large"}));var u=e._readableState;if(e._decoder||u&&(u.encoding||u.decoder))return g(L6e(500,"stream encoding should not be set",{type:"stream.encoding.set"}));if(typeof e.readable<"u"&&!e.readable)return g(L6e(500,"stream is not readable",{type:"stream.not.readable"}));var l=0,f;try{f=Vbu(t)}catch(b){return g(b)}var p=f?"":[];e.on("aborted",A),e.on("close",E),e.on("data",h),e.on("end",_),e.on("error",_),a=!1;function g(){for(var b=new Array(arguments.length),D=0;Dn?g(L6e(413,"request entity too large",{limit:n,received:l,type:"entity.too.large"})):f?p+=f.write(b):p.push(b))}function _(b){if(!s){if(b)return g(b);if(r!==null&&l!==r)g(L6e(400,"request size did not match content length",{expected:r,length:r,received:l,type:"request.size.invalid"}));else{var D=f?p+(f.end()||""):Buffer.concat(p);g(null,D)}}}function E(){p=null,e.removeListener("aborted",A),e.removeListener("data",h),e.removeListener("end",_),e.removeListener("error",_),e.removeListener("close",E)}}function Jbu(){try{return require("async_hooks")}catch{return{}}}function Hbu(e){var t;return hIi.AsyncResource&&(t=new hIi.AsyncResource(e.name||"bound-anonymous-fn")),!t||!t.runInAsyncScope?e:t.runInAsyncScope.bind(t,e,null)}});var vIi=j((Wgg,xIi)=>{"use strict";xIi.exports=zbu;function zbu(e,t){if(!Array.isArray(e))throw new TypeError("arg must be an array of [ee, events...] arrays");for(var r=[],n=0;n{"use strict";MOr.exports=Zbu;MOr.exports.isFinished=IIi;var CIi=iIu(),bIi=vIi(),Xbu=typeof setImmediate=="function"?setImmediate:function(e){process.nextTick(e.bind.apply(e,arguments))};function Zbu(e,t){return IIi(e)!==!1?(Xbu(t,null,e),e):(tIu(e,sIu(t)),e)}function IIi(e){var t=e.socket;if(typeof e.finished=="boolean")return!!(e.finished||t&&!t.writable);if(typeof e.complete=="boolean")return!!(e.upgrade||!t||!t.readable||e.complete&&!e.readable)}function eIu(e,t){var r,n,i=!1;function s(u){r.cancel(),n.cancel(),i=!0,t(u)}r=n=bIi([[e,"end","finish"]],s);function a(u){e.removeListener("socket",a),!i&&r===n&&(n=bIi([[u,"error","close"]],s))}if(e.socket){a(e.socket);return}e.on("socket",a),e.socket===void 0&&nIu(e,a)}function tIu(e,t){var r=e.__onFinished;(!r||!r.queue)&&(r=e.__onFinished=rIu(e),eIu(e,r)),r.queue.push(t)}function rIu(e){function t(r){if(e.__onFinished===t&&(e.__onFinished=null),!!t.queue){var n=t.queue;t.queue=null;for(var i=0;i{"use strict";var SIi=/; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,aIu=/^[\u000b\u0020-\u007e\u0080-\u00ff]+$/,TIi=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+$/,oIu=/\\([\u000b\u0020-\u00ff])/g,uIu=/([\\"])/g,DIi=/^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/;QOr.format=lIu;QOr.parse=cIu;function lIu(e){if(!e||typeof e!="object")throw new TypeError("argument obj is required");var t=e.parameters,r=e.type;if(!r||!DIi.test(r))throw new TypeError("invalid type");var n=r;if(t&&typeof t=="object")for(var i,s=Object.keys(t).sort(),a=0;a0&&!aIu.test(t))throw new TypeError("invalid parameter value");return'"'+t.replace(uIu,"\\$1")+'"'}function dIu(e){this.parameters=Object.create(null),this.type=e}});var BIi=j((eAg,wIi)=>{wIi.exports=require("./db-NTL7UU64.json")});var RIi=j((tAg,OIi)=>{var kIi={"prs.":100,"x-":200,"x.":300,"vnd.":400,default:900},PIi={nginx:10,apache:20,iana:40,default:30},NIi={application:1,font:2,default:0};OIi.exports=function(t,r="default"){if(t==="application/octet-stream")return 0;let[n,i]=t.split("/"),s=i.replace(/(\.|x-).*/,"$1"),a=kIi[s]||kIi.default,u=PIi[r]||PIi.default,l=NIi[n]||NIi.default,f=1-t.length/100;return a+u+l+f}});var wje=j(tP=>{"use strict";var M6e=BIi(),mIu=require("path").extname,FIi=RIi(),LIi=/^\s*([^;\s]*)(?:;|\s|$)/,gIu=/^text\//i;tP.charset=MIi;tP.charsets={lookup:MIi};tP.contentType=AIu;tP.extension=jOr;tP.extensions=Object.create(null);tP.lookup=hIu;tP.types=Object.create(null);tP._extensionConflicts=[];yIu(tP.extensions,tP.types);function MIi(e){if(!e||typeof e!="string")return!1;var t=LIi.exec(e),r=t&&M6e[t[1].toLowerCase()];return r&&r.charset?r.charset:t&&gIu.test(t[1])?"UTF-8":!1}function AIu(e){if(!e||typeof e!="string")return!1;var t=e.indexOf("/")===-1?tP.lookup(e):e;if(!t)return!1;if(t.indexOf("charset")===-1){var r=tP.charset(t);r&&(t+="; charset="+r.toLowerCase())}return t}function jOr(e){if(!e||typeof e!="string")return!1;var t=LIi.exec(e),r=t&&tP.extensions[t[1].toLowerCase()];return!r||!r.length?!1:r[0]}function hIu(e){if(!e||typeof e!="string")return!1;var t=mIu("x."+e).toLowerCase().slice(1);return t&&tP.types[t]||!1}function yIu(e,t){Object.keys(M6e).forEach(function(n){var i=M6e[n],s=i.extensions;if(!(!s||!s.length)){e[n]=s;for(var a=0;ai?t:r}function EIu(e,t,r){var n=["nginx","apache",void 0,"iana"],i=t?n.indexOf(M6e[t].source):0,s=r?n.indexOf(M6e[r].source):0;return tP.types[jOr]!=="application/octet-stream"&&(i>s||i===s&&tP.types[jOr]?.slice(0,12)==="application/")||i>s?t:r}});var UIi=j(M5t=>{"use strict";var xIu=/^[A-Za-z0-9][A-Za-z0-9!#$&^_.-]{0,126}$/,QIi=/^[A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126}$/,jIi=/^ *([A-Za-z0-9][A-Za-z0-9!#$&^_-]{0,126})\/([A-Za-z0-9][A-Za-z0-9!#$&^_.+-]{0,126}) *$/;M5t.format=vIu;M5t.parse=bIu;M5t.test=CIu;function vIu(e){if(!e||typeof e!="object")throw new TypeError("argument obj is required");var t=e.subtype,r=e.suffix,n=e.type;if(!n||!QIi.test(n))throw new TypeError("invalid type");if(!t||!xIu.test(t))throw new TypeError("invalid subtype");var i=n+"/"+t;if(r){if(!QIi.test(r))throw new TypeError("invalid suffix");i+="+"+r}return i}function CIu(e){if(!e)throw new TypeError("argument string is required");if(typeof e!="string")throw new TypeError("argument string is required to be a string");return jIi.test(e.toLowerCase())}function bIu(e){if(!e)throw new TypeError("argument string is required");if(typeof e!="string")throw new TypeError("argument string is required to be a string");var t=jIi.exec(e.toLowerCase());if(!t)throw new TypeError("invalid media type");var r=t[1],n=t[2],i,s=n.lastIndexOf("+");return s!==-1&&(i=n.substr(s+1),n=n.substr(0,s)),new IIu(r,n,i)}function IIu(e,t,r){this.type=e,this.subtype=t,this.suffix=r}});var Q5t=j((iAg,Bje)=>{"use strict";var SIu=L5t(),TIu=wje(),DIu=UIi();Bje.exports=wIu;Bje.exports.is=qIi;Bje.exports.hasBody=YIi;Bje.exports.normalize=GIi;Bje.exports.match=VIi;function qIi(e,t){var r,n=t,i=kIu(e);if(!i)return!1;if(n&&!Array.isArray(n))for(n=new Array(arguments.length-1),r=0;r2?Array.prototype.slice.call(arguments,1):t,n=e.headers["content-type"];return qIi(n,r)}function GIi(e){if(typeof e!="string")return!1;switch(e){case"urlencoded":return"application/x-www-form-urlencoded";case"multipart":return"multipart/*"}return e[0]==="+"?"*/*"+e:e.indexOf("/")===-1?TIu.lookup(e):e}function VIi(e,t){if(e===!1)return!1;var r=t.split("/"),n=e.split("/");return r.length!==2||n.length!==2||n[0]!=="*"&&n[0]!==r[0]?!1:n[1].slice(0,2)==="*+"?n[1].length<=r[1].length+1&&n[1].slice(1)===r[1].slice(1-n[1].length):!(n[1]!=="*"&&n[1]!==r[1])}function BIu(e){var t=SIu.parse(e).type;return DIu.test(t)?t:null}function kIu(e){try{return e?BIu(e):null}catch{return null}}});var kje=j((sAg,$Ii)=>{"use strict";var PIu=b5t(),NIu=L5t(),OIu=Q5t();$Ii.exports={getCharset:RIu,normalizeOptions:LIu,passthrough:MIu};function RIu(e){try{return(NIu.parse(e).parameters.charset||"").toLowerCase()}catch{return}}function FIu(e){return function(r){return!!OIu(r,e)}}function LIu(e,t){if(!t)throw new TypeError("defaultType must be provided");var r=e?.inflate!==!1,n=typeof e?.limit!="number"?PIu.parse(e?.limit||"100kb"):e?.limit,i=e?.type||t,s=e?.verify||!1,a=e?.defaultCharset||"utf-8";if(s!==!1&&typeof s!="function")throw new TypeError("option verify must be function");var u=typeof i!="function"?FIu(i):i;return{inflate:r,limit:n,verify:s,defaultCharset:a,shouldParse:u}}function MIu(e){return e}});var Hit=j((aAg,JIi)=>{"use strict";var o1e=Ije(),QIu=EIi(),KIi=LOr(),qOr=Jit(),UOr=require("node:zlib"),jIu=Q5t().hasBody,{getCharset:UIu}=kje();JIi.exports=qIu;function qIu(e,t,r,n,i,s){if(qOr.isFinished(e)){i("body already parsed"),r();return}if("body"in e||(e.body=void 0),!jIu(e)){i("skip empty body"),r();return}if(i("content-type %j",e.headers["content-type"]),!s.shouldParse(e)){i("skip parsing"),r();return}var a=null;if(s?.skipCharset!==!0&&(a=UIu(e)||s.defaultCharset,s?.isValidCharset&&!s.isValidCharset(a))){i("invalid charset"),r(o1e(415,'unsupported charset "'+a.toUpperCase()+'"',{charset:a,type:"charset.unsupported"}));return}var u,l=s,f,p=l.verify;try{f=YIu(e,i,l.inflate),u=f.length,f.length=void 0}catch(g){return r(g)}if(l.length=u,l.encoding=p?null:a,l.encoding===null&&a!==null&&!KIi.encodingExists(a))return r(o1e(415,'unsupported charset "'+a.toUpperCase()+'"',{charset:a.toLowerCase(),type:"charset.unsupported"}));i("read body"),QIu(f,l,function(g,A){if(g){var h;g.type==="encoding.unsupported"?h=o1e(415,'unsupported charset "'+a.toUpperCase()+'"',{charset:a.toLowerCase(),type:"charset.unsupported"}):h=o1e(400,g),f!==e&&(e.unpipe(),f.destroy()),VIu(e,function(){r(o1e(400,h))});return}if(p)try{i("verify body"),p(e,t,A,a)}catch(E){r(o1e(403,E,{body:A,type:E.type||"entity.verify.failed"}));return}var _=A;try{i("parse body"),_=typeof A!="string"&&a!==null?KIi.decode(A,a):A,e.body=n(_,a)}catch(E){r(o1e(400,E,{body:_,type:E.type||"entity.parse.failed"}));return}r()})}function YIu(e,t,r){var n=(e.headers["content-encoding"]||"identity").toLowerCase(),i=e.headers["content-length"];if(t('content-encoding "%s"',n),r===!1&&n!=="identity")throw o1e(415,"content encoding unsupported",{encoding:n,type:"encoding.unsupported"});if(n==="identity")return e.length=i,e;var s=GIu(n,t);return e.pipe(s),s}function GIu(e,t){switch(e){case"deflate":return t("inflate body"),UOr.createInflate();case"gzip":return t("gunzip body"),UOr.createGunzip();case"br":return t("brotli decompress body"),UOr.createBrotliDecompress();default:throw o1e(415,'unsupported content encoding "'+e+'"',{encoding:e,type:"encoding.unsupported"})}}function VIu(e,t){qOr.isFinished(e)?t(null):(qOr(e,t),e.resume())}});var XIi=j((oAg,WIi)=>{"use strict";var YOr=B1()("body-parser:json"),$Iu=Hit(),{normalizeOptions:KIu}=kje();WIi.exports=zIu;var JIu=/^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/,HIi="#",HIu=/#+/g;function zIu(e){let t=KIu(e,"application/json");var r=e?.reviver,n=e?.strict!==!1;function i(a){if(a.length===0)return{};if(n){var u=XIu(a);if(u!=="{"&&u!=="[")throw YOr("strict violation"),WIu(a,u)}try{return YOr("parse json"),JSON.parse(a,r)}catch(l){throw zIi(l,{message:l.message,stack:l.stack})}}let s={...t,isValidCharset:a=>a.slice(0,4)==="utf-"};return function(u,l,f){$Iu(u,l,f,i,YOr,s)}}function WIu(e,t){var r=e.indexOf(t),n="";if(r!==-1){n=e.substring(0,r)+HIi;for(var i=r+1;i{"use strict";var ZIu=B1()("body-parser:raw"),eSu=Hit(),{normalizeOptions:tSu,passthrough:rSu}=kje();ZIi.exports=nSu;function nSu(e){let r={...tSu(e,"application/octet-stream"),skipCharset:!0};return function(i,s,a){eSu(i,s,a,rSu,ZIu,r)}}});var rSi=j((lAg,tSi)=>{"use strict";var iSu=B1()("body-parser:text"),sSu=Hit(),{normalizeOptions:aSu,passthrough:oSu}=kje();tSi.exports=uSu;function uSu(e){let t=aSu(e,"text/plain");return function(n,i,s){sSu(n,i,s,oSu,iSu,t)}}});var Zf=j((cAg,nSi)=>{"use strict";nSi.exports=TypeError});var sSi=j((fAg,iSi)=>{iSi.exports=require("util").inspect});var Vce=j((pAg,ISi)=>{var ZOr=typeof Map=="function"&&Map.prototype,GOr=Object.getOwnPropertyDescriptor&&ZOr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,U5t=ZOr&&GOr&&typeof GOr.get=="function"?GOr.get:null,aSi=ZOr&&Map.prototype.forEach,eRr=typeof Set=="function"&&Set.prototype,VOr=Object.getOwnPropertyDescriptor&&eRr?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,q5t=eRr&&VOr&&typeof VOr.get=="function"?VOr.get:null,oSi=eRr&&Set.prototype.forEach,lSu=typeof WeakMap=="function"&&WeakMap.prototype,Wit=lSu?WeakMap.prototype.has:null,cSu=typeof WeakSet=="function"&&WeakSet.prototype,Xit=cSu?WeakSet.prototype.has:null,fSu=typeof WeakRef=="function"&&WeakRef.prototype,uSi=fSu?WeakRef.prototype.deref:null,pSu=Boolean.prototype.valueOf,dSu=Object.prototype.toString,mSu=Function.prototype.toString,gSu=String.prototype.match,tRr=String.prototype.slice,iIe=String.prototype.replace,ASu=String.prototype.toUpperCase,lSi=String.prototype.toLowerCase,ySi=RegExp.prototype.test,cSi=Array.prototype.concat,Gce=Array.prototype.join,hSu=Array.prototype.slice,fSi=Math.floor,JOr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,$Or=Object.getOwnPropertySymbols,HOr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Pje=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Zit=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Pje||!0)?Symbol.toStringTag:null,_Si=Object.prototype.propertyIsEnumerable,pSi=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function dSi(e,t){if(e===1/0||e===-1/0||e!==e||e&&e>-1e3&&e<1e3||ySi.call(/e/,t))return t;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof e=="number"){var n=e<0?-fSi(-e):fSi(e);if(n!==e){var i=String(n),s=tRr.call(t,i.length+1);return iIe.call(i,r,"$&_")+"."+iIe.call(iIe.call(s,/([0-9]{3})/g,"$&_"),/_$/,"")}}return iIe.call(t,r,"$&_")}var zOr=sSi(),mSi=zOr.custom,gSi=vSi(mSi)?mSi:null,ESi={__proto__:null,double:'"',single:"'"},ySu={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ISi.exports=function e(t,r,n,i){var s=r||{};if(u1e(s,"quoteStyle")&&!u1e(ESi,s.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(u1e(s,"maxStringLength")&&(typeof s.maxStringLength=="number"?s.maxStringLength<0&&s.maxStringLength!==1/0:s.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=u1e(s,"customInspect")?s.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(u1e(s,"indent")&&s.indent!==null&&s.indent!==" "&&!(parseInt(s.indent,10)===s.indent&&s.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(u1e(s,"numericSeparator")&&typeof s.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=s.numericSeparator;if(typeof t>"u")return"undefined";if(t===null)return"null";if(typeof t=="boolean")return t?"true":"false";if(typeof t=="string")return bSi(t,s);if(typeof t=="number"){if(t===0)return 1/0/t>0?"0":"-0";var l=String(t);return u?dSi(t,l):l}if(typeof t=="bigint"){var f=String(t)+"n";return u?dSi(t,f):f}var p=typeof s.depth>"u"?5:s.depth;if(typeof n>"u"&&(n=0),n>=p&&p>0&&typeof t=="object")return WOr(t)?"[Array]":"[Object]";var g=FSu(s,n);if(typeof i>"u")i=[];else if(CSi(i,t)>=0)return"[Circular]";function A(le,ae,Ae){if(ae&&(i=hSu.call(i),i.push(ae)),Ae){var De={depth:s.depth};return u1e(s,"quoteStyle")&&(De.quoteStyle=s.quoteStyle),e(le,De,n+1,i)}return e(le,s,n+1,i)}if(typeof t=="function"&&!ASi(t)){var h=TSu(t),_=j5t(t,A);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(_.length>0?" { "+Gce.call(_,", ")+" }":"")}if(vSi(t)){var E=Pje?iIe.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):HOr.call(t);return typeof t=="object"&&!Pje?zit(E):E}if(NSu(t)){for(var b="<"+lSi.call(String(t.nodeName)),D=t.attributes||[],k=0;k",b}if(WOr(t)){if(t.length===0)return"[]";var M=j5t(t,A);return g&&!RSu(M)?"["+XOr(M,g)+"]":"[ "+Gce.call(M,", ")+" ]"}if(xSu(t)){var R=j5t(t,A);return!("cause"in Error.prototype)&&"cause"in t&&!_Si.call(t,"cause")?"{ ["+String(t)+"] "+Gce.call(cSi.call("[cause]: "+A(t.cause),R),", ")+" }":R.length===0?"["+String(t)+"]":"{ ["+String(t)+"] "+Gce.call(R,", ")+" }"}if(typeof t=="object"&&a){if(gSi&&typeof t[gSi]=="function"&&zOr)return zOr(t,{depth:p-n});if(a!=="symbol"&&typeof t.inspect=="function")return t.inspect()}if(DSu(t)){var q=[];return aSi&&aSi.call(t,function(le,ae){q.push(A(ae,t,!0)+" => "+A(le,t))}),hSi("Map",U5t.call(t),q,g)}if(kSu(t)){var G=[];return oSi&&oSi.call(t,function(le){G.push(A(le,t))}),hSi("Set",q5t.call(t),G,g)}if(wSu(t))return KOr("WeakMap");if(PSu(t))return KOr("WeakSet");if(BSu(t))return KOr("WeakRef");if(CSu(t))return zit(A(Number(t)));if(ISu(t))return zit(A(JOr.call(t)));if(bSu(t))return zit(pSu.call(t));if(vSu(t))return zit(A(String(t)));if(typeof window<"u"&&t===window)return"{ [object Window] }";if(typeof globalThis<"u"&&t===globalThis||typeof global<"u"&&t===global)return"{ [object globalThis] }";if(!ESu(t)&&!ASi(t)){var K=j5t(t,A),Z=pSi?pSi(t)===Object.prototype:t instanceof Object||t.constructor===Object,oe=t instanceof Object?"":"null prototype",ue=!Z&&Zit&&Object(t)===t&&Zit in t?tRr.call(sIe(t),8,-1):oe?"Object":"",me=Z||typeof t.constructor!="function"?"":t.constructor.name?t.constructor.name+" ":"",Te=me+(ue||oe?"["+Gce.call(cSi.call([],ue||[],oe||[]),": ")+"] ":"");return K.length===0?Te+"{}":g?Te+"{"+XOr(K,g)+"}":Te+"{ "+Gce.call(K,", ")+" }"}return String(t)};function xSi(e,t,r){var n=r.quoteStyle||t,i=ESi[n];return i+e+i}function _Su(e){return iIe.call(String(e),/"/g,""")}function Q6e(e){return!Zit||!(typeof e=="object"&&(Zit in e||typeof e[Zit]<"u"))}function WOr(e){return sIe(e)==="[object Array]"&&Q6e(e)}function ESu(e){return sIe(e)==="[object Date]"&&Q6e(e)}function ASi(e){return sIe(e)==="[object RegExp]"&&Q6e(e)}function xSu(e){return sIe(e)==="[object Error]"&&Q6e(e)}function vSu(e){return sIe(e)==="[object String]"&&Q6e(e)}function CSu(e){return sIe(e)==="[object Number]"&&Q6e(e)}function bSu(e){return sIe(e)==="[object Boolean]"&&Q6e(e)}function vSi(e){if(Pje)return e&&typeof e=="object"&&e instanceof Symbol;if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||!HOr)return!1;try{return HOr.call(e),!0}catch{}return!1}function ISu(e){if(!e||typeof e!="object"||!JOr)return!1;try{return JOr.call(e),!0}catch{}return!1}var SSu=Object.prototype.hasOwnProperty||function(e){return e in this};function u1e(e,t){return SSu.call(e,t)}function sIe(e){return dSu.call(e)}function TSu(e){if(e.name)return e.name;var t=gSu.call(mSu.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}function CSi(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0,n=e.length;rt.maxStringLength){var r=e.length-t.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return bSi(tRr.call(e,0,t.maxStringLength),t)+n}var i=ySu[t.quoteStyle||"single"];i.lastIndex=0;var s=iIe.call(iIe.call(e,i,"\\$1"),/[\x00-\x1f]/g,OSu);return xSi(s,"single",t)}function OSu(e){var t=e.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return r?"\\"+r:"\\x"+(t<16?"0":"")+ASu.call(t.toString(16))}function zit(e){return"Object("+e+")"}function KOr(e){return e+" { ? }"}function hSi(e,t,r,n){var i=n?XOr(r,n):Gce.call(r,", ");return e+" ("+t+") {"+i+"}"}function RSu(e){for(var t=0;t=0)return!1;return!0}function FSu(e,t){var r;if(e.indent===" ")r=" ";else if(typeof e.indent=="number"&&e.indent>0)r=Gce.call(Array(e.indent+1)," ");else return null;return{base:r,prev:Gce.call(Array(t+1),r)}}function XOr(e,t){if(e.length===0)return"";var r=` `+t.prev+t.base;return r+Gce.call(e,","+r)+` `+t.prev}function j5t(e,t){var r=WOr(e),n=[];if(r){n.length=e.length;for(var i=0;i{"use strict";var LSu=Vce(),MSu=Zf(),Y5t=function(e,t,r){for(var n=e,i;(i=n.next)!=null;n=i)if(i.key===t)return n.next=i.next,r||(i.next=e.next,e.next=i),i},QSu=function(e,t){if(e){var r=Y5t(e,t);return r&&r.value}},jSu=function(e,t,r){var n=Y5t(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}},USu=function(e,t){return e?!!Y5t(e,t):!1},qSu=function(e,t){if(e)return Y5t(e,t,!0)};SSi.exports=function(){var t,r={assert:function(n){if(!r.has(n))throw new MSu("Side channel does not contain "+LSu(n))},delete:function(n){var i=t&&t.next,s=qSu(t,n);return s&&i&&i===s&&(t=void 0),!!s},get:function(n){return QSu(t,n)},has:function(n){return USu(t,n)},set:function(n,i){t||(t={next:void 0}),jSu(t,n,i)}};return r}});var j6e=j((mAg,DSi)=>{"use strict";DSi.exports=Object});var rRr=j((gAg,wSi)=>{"use strict";wSi.exports=Error});var kSi=j((AAg,BSi)=>{"use strict";BSi.exports=EvalError});var nRr=j((hAg,PSi)=>{"use strict";PSi.exports=RangeError});var OSi=j((yAg,NSi)=>{"use strict";NSi.exports=ReferenceError});var xie=j((_Ag,RSi)=>{"use strict";RSi.exports=SyntaxError});var LSi=j((EAg,FSi)=>{"use strict";FSi.exports=URIError});var G5t=j((xAg,MSi)=>{"use strict";MSi.exports=Math.abs});var Nje=j((vAg,QSi)=>{"use strict";QSi.exports=Math.floor});var USi=j((CAg,jSi)=>{"use strict";jSi.exports=Math.max});var iRr=j((bAg,qSi)=>{"use strict";qSi.exports=Math.min});var GSi=j((IAg,YSi)=>{"use strict";YSi.exports=Math.pow});var $Si=j((SAg,VSi)=>{"use strict";VSi.exports=Math.round});var lX=j((TAg,KSi)=>{"use strict";KSi.exports=Number.isNaN||function(t){return t!==t}});var sRr=j((DAg,JSi)=>{"use strict";var YSu=lX();JSi.exports=function(t){return YSu(t)||t===0?t:t<0?-1:1}});var zSi=j((wAg,HSi)=>{"use strict";HSi.exports=Object.getOwnPropertyDescriptor});var vie=j((BAg,WSi)=>{"use strict";var V5t=zSi();if(V5t)try{V5t([],"length")}catch{V5t=null}WSi.exports=V5t});var Oje=j((kAg,XSi)=>{"use strict";var $5t=Object.defineProperty||!1;if($5t)try{$5t({},"a",{value:1})}catch{$5t=!1}XSi.exports=$5t});var est=j((PAg,ZSi)=>{"use strict";ZSi.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var s in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var a=Object.getOwnPropertySymbols(t);if(a.length!==1||a[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0}});var $ce=j((NAg,tTi)=>{"use strict";var eTi=typeof Symbol<"u"&&Symbol,GSu=est();tTi.exports=function(){return typeof eTi!="function"||typeof Symbol!="function"||typeof eTi("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:GSu()}});var aRr=j((OAg,rTi)=>{"use strict";rTi.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var oRr=j((RAg,nTi)=>{"use strict";var VSu=j6e();nTi.exports=VSu.getPrototypeOf||null});var aTi=j((FAg,sTi)=>{"use strict";var $Su="Function.prototype.bind called on incompatible ",KSu=Object.prototype.toString,JSu=Math.max,HSu="[object Function]",iTi=function(t,r){for(var n=[],i=0;i{"use strict";var XSu=aTi();oTi.exports=Function.prototype.bind||XSu});var K5t=j((MAg,uTi)=>{"use strict";uTi.exports=Function.prototype.call});var J5t=j((QAg,lTi)=>{"use strict";lTi.exports=Function.prototype.apply});var fTi=j((jAg,cTi)=>{"use strict";cTi.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var uRr=j((UAg,pTi)=>{"use strict";var ZSu=Rje(),eTu=J5t(),tTu=K5t(),rTu=fTi();pTi.exports=rTu||ZSu.call(tTu,eTu)});var tst=j((qAg,dTi)=>{"use strict";var nTu=Rje(),iTu=Zf(),sTu=K5t(),aTu=uRr();dTi.exports=function(t){if(t.length<1||typeof t[0]!="function")throw new iTu("a function is required");return aTu(nTu,sTu,t)}});var _Ti=j((YAg,yTi)=>{"use strict";var oTu=tst(),mTi=vie(),ATi;try{ATi=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var lRr=!!ATi&&mTi&&mTi(Object.prototype,"__proto__"),hTi=Object,gTi=hTi.getPrototypeOf;yTi.exports=lRr&&typeof lRr.get=="function"?oTu([lRr.get]):typeof gTi=="function"?function(t){return gTi(t==null?t:hTi(t))}:!1});var H5t=j((GAg,CTi)=>{"use strict";var ETi=aRr(),xTi=oRr(),vTi=_Ti();CTi.exports=ETi?function(t){return ETi(t)}:xTi?function(t){if(!t||typeof t!="object"&&typeof t!="function")throw new TypeError("getProto: not an object");return xTi(t)}:vTi?function(t){return vTi(t)}:null});var _C=j((VAg,bTi)=>{"use strict";var uTu=Function.prototype.call,lTu=Object.prototype.hasOwnProperty,cTu=Rje();bTi.exports=cTu.call(uTu,lTu)});var gE=j(($Ag,BTi)=>{"use strict";var Mx,fTu=j6e(),pTu=rRr(),dTu=kSi(),mTu=nRr(),gTu=OSi(),Qje=xie(),Mje=Zf(),ATu=LSi(),hTu=G5t(),yTu=Nje(),_Tu=USi(),ETu=iRr(),xTu=GSi(),vTu=$Si(),CTu=sRr(),DTi=Function,cRr=function(e){try{return DTi('"use strict"; return ('+e+").constructor;")()}catch{}},rst=vie(),bTu=Oje(),fRr=function(){throw new Mje},ITu=rst?(function(){try{return arguments.callee,fRr}catch{try{return rst(arguments,"callee").get}catch{return fRr}}})():fRr,Fje=$ce()(),rP=H5t(),STu=oRr(),TTu=aRr(),wTi=J5t(),nst=K5t(),Lje={},DTu=typeof Uint8Array>"u"||!rP?Mx:rP(Uint8Array),U6e={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?Mx:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?Mx:ArrayBuffer,"%ArrayIteratorPrototype%":Fje&&rP?rP([][Symbol.iterator]()):Mx,"%AsyncFromSyncIteratorPrototype%":Mx,"%AsyncFunction%":Lje,"%AsyncGenerator%":Lje,"%AsyncGeneratorFunction%":Lje,"%AsyncIteratorPrototype%":Lje,"%Atomics%":typeof Atomics>"u"?Mx:Atomics,"%BigInt%":typeof BigInt>"u"?Mx:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?Mx:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?Mx:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?Mx:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":pTu,"%eval%":eval,"%EvalError%":dTu,"%Float16Array%":typeof Float16Array>"u"?Mx:Float16Array,"%Float32Array%":typeof Float32Array>"u"?Mx:Float32Array,"%Float64Array%":typeof Float64Array>"u"?Mx:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?Mx:FinalizationRegistry,"%Function%":DTi,"%GeneratorFunction%":Lje,"%Int8Array%":typeof Int8Array>"u"?Mx:Int8Array,"%Int16Array%":typeof Int16Array>"u"?Mx:Int16Array,"%Int32Array%":typeof Int32Array>"u"?Mx:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Fje&&rP?rP(rP([][Symbol.iterator]())):Mx,"%JSON%":typeof JSON=="object"?JSON:Mx,"%Map%":typeof Map>"u"?Mx:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Fje||!rP?Mx:rP(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":fTu,"%Object.getOwnPropertyDescriptor%":rst,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?Mx:Promise,"%Proxy%":typeof Proxy>"u"?Mx:Proxy,"%RangeError%":mTu,"%ReferenceError%":gTu,"%Reflect%":typeof Reflect>"u"?Mx:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?Mx:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Fje||!rP?Mx:rP(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?Mx:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Fje&&rP?rP(""[Symbol.iterator]()):Mx,"%Symbol%":Fje?Symbol:Mx,"%SyntaxError%":Qje,"%ThrowTypeError%":ITu,"%TypedArray%":DTu,"%TypeError%":Mje,"%Uint8Array%":typeof Uint8Array>"u"?Mx:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?Mx:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?Mx:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?Mx:Uint32Array,"%URIError%":ATu,"%WeakMap%":typeof WeakMap>"u"?Mx:WeakMap,"%WeakRef%":typeof WeakRef>"u"?Mx:WeakRef,"%WeakSet%":typeof WeakSet>"u"?Mx:WeakSet,"%Function.prototype.call%":nst,"%Function.prototype.apply%":wTi,"%Object.defineProperty%":bTu,"%Object.getPrototypeOf%":STu,"%Math.abs%":hTu,"%Math.floor%":yTu,"%Math.max%":_Tu,"%Math.min%":ETu,"%Math.pow%":xTu,"%Math.round%":vTu,"%Math.sign%":CTu,"%Reflect.getPrototypeOf%":TTu};if(rP)try{null.error}catch(e){ITi=rP(rP(e)),U6e["%Error.prototype%"]=ITi}var ITi,wTu=function e(t){var r;if(t==="%AsyncFunction%")r=cRr("async function () {}");else if(t==="%GeneratorFunction%")r=cRr("function* () {}");else if(t==="%AsyncGeneratorFunction%")r=cRr("async function* () {}");else if(t==="%AsyncGenerator%"){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(t==="%AsyncIteratorPrototype%"){var i=e("%AsyncGenerator%");i&&rP&&(r=rP(i.prototype))}return U6e[t]=r,r},STi={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ist=Rje(),z5t=_C(),BTu=ist.call(nst,Array.prototype.concat),kTu=ist.call(wTi,Array.prototype.splice),TTi=ist.call(nst,String.prototype.replace),W5t=ist.call(nst,String.prototype.slice),PTu=ist.call(nst,RegExp.prototype.exec),NTu=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,OTu=/\\(\\)?/g,RTu=function(t){var r=W5t(t,0,1),n=W5t(t,-1);if(r==="%"&&n!=="%")throw new Qje("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Qje("invalid intrinsic syntax, expected opening `%`");var i=[];return TTi(t,NTu,function(s,a,u,l){i[i.length]=u?TTi(l,OTu,"$1"):a||s}),i},FTu=function(t,r){var n=t,i;if(z5t(STi,n)&&(i=STi[n],n="%"+i[0]+"%"),z5t(U6e,n)){var s=U6e[n];if(s===Lje&&(s=wTu(n)),typeof s>"u"&&!r)throw new Mje("intrinsic "+t+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:s}}throw new Qje("intrinsic "+t+" does not exist!")};BTi.exports=function(t,r){if(typeof t!="string"||t.length===0)throw new Mje("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Mje('"allowMissing" argument must be a boolean');if(PTu(/^%?[^%]*%?$/,t)===null)throw new Qje("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=RTu(t),i=n.length>0?n[0]:"",s=FTu("%"+i+"%",r),a=s.name,u=s.value,l=!1,f=s.alias;f&&(i=f[0],kTu(n,BTu([0,1],f)));for(var p=1,g=!0;p=n.length){var E=rst(u,A);g=!!E,g&&"get"in E&&!("originalValue"in E.get)?u=E.get:u=u[A]}else g=z5t(u,A),u=u[A];g&&!l&&(U6e[a]=u)}}return u}});var av=j((KAg,NTi)=>{"use strict";var kTi=gE(),PTi=tst(),LTu=PTi([kTi("%String.prototype.indexOf%")]);NTi.exports=function(t,r){var n=kTi(t,!!r);return typeof n=="function"&<u(t,".prototype.")>-1?PTi([n]):n}});var pRr=j((JAg,RTi)=>{"use strict";var MTu=gE(),sst=av(),QTu=Vce(),jTu=Zf(),OTi=MTu("%Map%",!0),UTu=sst("Map.prototype.get",!0),qTu=sst("Map.prototype.set",!0),YTu=sst("Map.prototype.has",!0),GTu=sst("Map.prototype.delete",!0),VTu=sst("Map.prototype.size",!0);RTi.exports=!!OTi&&function(){var t,r={assert:function(n){if(!r.has(n))throw new jTu("Side channel does not contain "+QTu(n))},delete:function(n){if(t){var i=GTu(t,n);return VTu(t)===0&&(t=void 0),i}return!1},get:function(n){if(t)return UTu(t,n)},has:function(n){return t?YTu(t,n):!1},set:function(n,i){t||(t=new OTi),qTu(t,n,i)}};return r}});var LTi=j((HAg,FTi)=>{"use strict";var $Tu=gE(),Z5t=av(),KTu=Vce(),X5t=pRr(),JTu=Zf(),jje=$Tu("%WeakMap%",!0),HTu=Z5t("WeakMap.prototype.get",!0),zTu=Z5t("WeakMap.prototype.set",!0),WTu=Z5t("WeakMap.prototype.has",!0),XTu=Z5t("WeakMap.prototype.delete",!0);FTi.exports=jje?function(){var t,r,n={assert:function(i){if(!n.has(i))throw new JTu("Side channel does not contain "+KTu(i))},delete:function(i){if(jje&&i&&(typeof i=="object"||typeof i=="function")){if(t)return XTu(t,i)}else if(X5t&&r)return r.delete(i);return!1},get:function(i){return jje&&i&&(typeof i=="object"||typeof i=="function")&&t?HTu(t,i):r&&r.get(i)},has:function(i){return jje&&i&&(typeof i=="object"||typeof i=="function")&&t?WTu(t,i):!!r&&r.has(i)},set:function(i,s){jje&&i&&(typeof i=="object"||typeof i=="function")?(t||(t=new jje),zTu(t,i,s)):X5t&&(r||(r=X5t()),r.set(i,s))}};return n}:X5t});var dRr=j((zAg,MTi)=>{"use strict";var ZTu=Zf(),eDu=Vce(),tDu=TSi(),rDu=pRr(),nDu=LTi(),iDu=nDu||rDu||tDu;MTi.exports=function(){var t,r={assert:function(n){if(!r.has(n))throw new ZTu("Side channel does not contain "+eDu(n))},delete:function(n){return!!t&&t.delete(n)},get:function(n){return t&&t.get(n)},has:function(n){return!!t&&t.has(n)},set:function(n,i){t||(t=iDu()),t.set(n,i)}};return r}});var ePt=j((WAg,QTi)=>{"use strict";var sDu=String.prototype.replace,aDu=/%20/g,mRr={RFC1738:"RFC1738",RFC3986:"RFC3986"};QTi.exports={default:mRr.RFC3986,formatters:{RFC1738:function(e){return sDu.call(e,aDu,"+")},RFC3986:function(e){return String(e)}},RFC1738:mRr.RFC1738,RFC3986:mRr.RFC3986}});var hRr=j((XAg,UTi)=>{"use strict";var oDu=ePt(),gRr=Object.prototype.hasOwnProperty,q6e=Array.isArray,Kce=(function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})(),uDu=function(t){for(;t.length>1;){var r=t.pop(),n=r.obj[r.prop];if(q6e(n)){for(var i=[],s=0;s=ARr?a.slice(l,l+ARr):a,p=[],g=0;g=48&&A<=57||A>=65&&A<=90||A>=97&&A<=122||s===oDu.RFC1738&&(A===40||A===41)){p[p.length]=f.charAt(g);continue}if(A<128){p[p.length]=Kce[A];continue}if(A<2048){p[p.length]=Kce[192|A>>6]+Kce[128|A&63];continue}if(A<55296||A>=57344){p[p.length]=Kce[224|A>>12]+Kce[128|A>>6&63]+Kce[128|A&63];continue}g+=1,A=65536+((A&1023)<<10|f.charCodeAt(g)&1023),p[p.length]=Kce[240|A>>18]+Kce[128|A>>12&63]+Kce[128|A>>6&63]+Kce[128|A&63]}u+=p.join("")}return u},dDu=function(t){for(var r=[{obj:{o:t},prop:"o"}],n=[],i=0;i{"use strict";var YTi=dRr(),tPt=hRr(),ast=ePt(),yDu=Object.prototype.hasOwnProperty,GTi={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,r){return t+"["+r+"]"},repeat:function(t){return t}},Jce=Array.isArray,_Du=Array.prototype.push,VTi=function(e,t){_Du.apply(e,Jce(t)?t:[t])},EDu=Date.prototype.toISOString,qTi=ast.default,m7={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:tPt.encode,encodeValuesOnly:!1,filter:void 0,format:qTi,formatter:ast.formatters[qTi],indices:!1,serializeDate:function(t){return EDu.call(t)},skipNulls:!1,strictNullHandling:!1},xDu=function(t){return typeof t=="string"||typeof t=="number"||typeof t=="boolean"||typeof t=="symbol"||typeof t=="bigint"},yRr={},vDu=function e(t,r,n,i,s,a,u,l,f,p,g,A,h,_,E,b,D,k){for(var M=t,R=k,q=0,G=!1;(R=R.get(yRr))!==void 0&&!G;){var K=R.get(t);if(q+=1,typeof K<"u"){if(K===q)throw new RangeError("Cyclic object value");G=!0}typeof R.get(yRr)>"u"&&(q=0)}if(typeof p=="function"?M=p(r,M):M instanceof Date?M=h(M):n==="comma"&&Jce(M)&&(M=tPt.maybeMap(M,function(at){return at instanceof Date?h(at):at})),M===null){if(a)return f&&!b?f(r,m7.encoder,D,"key",_):r;M=""}if(xDu(M)||tPt.isBuffer(M)){if(f){var Z=b?r:f(r,m7.encoder,D,"key",_);return[E(Z)+"="+E(f(M,m7.encoder,D,"value",_))]}return[E(r)+"="+E(String(M))]}var oe=[];if(typeof M>"u")return oe;var ue;if(n==="comma"&&Jce(M))b&&f&&(M=tPt.maybeMap(M,f)),ue=[{value:M.length>0?M.join(",")||null:void 0}];else if(Jce(p))ue=p;else{var me=Object.keys(M);ue=g?me.sort(g):me}var Te=l?String(r).replace(/\./g,"%2E"):String(r),le=i&&Jce(M)&&M.length===1?Te+"[]":Te;if(s&&Jce(M)&&M.length===0)return le+"[]";for(var ae=0;ae"u"?t.encodeDotInKeys===!0?!0:m7.allowDots:!!t.allowDots;return{addQueryPrefix:typeof t.addQueryPrefix=="boolean"?t.addQueryPrefix:m7.addQueryPrefix,allowDots:u,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:m7.allowEmptyArrays,arrayFormat:a,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:m7.charsetSentinel,commaRoundTrip:!!t.commaRoundTrip,delimiter:typeof t.delimiter>"u"?m7.delimiter:t.delimiter,encode:typeof t.encode=="boolean"?t.encode:m7.encode,encodeDotInKeys:typeof t.encodeDotInKeys=="boolean"?t.encodeDotInKeys:m7.encodeDotInKeys,encoder:typeof t.encoder=="function"?t.encoder:m7.encoder,encodeValuesOnly:typeof t.encodeValuesOnly=="boolean"?t.encodeValuesOnly:m7.encodeValuesOnly,filter:s,format:n,formatter:i,serializeDate:typeof t.serializeDate=="function"?t.serializeDate:m7.serializeDate,skipNulls:typeof t.skipNulls=="boolean"?t.skipNulls:m7.skipNulls,sort:typeof t.sort=="function"?t.sort:null,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:m7.strictNullHandling}};$Ti.exports=function(e,t){var r=e,n=CDu(t),i,s;typeof n.filter=="function"?(s=n.filter,r=s("",r)):Jce(n.filter)&&(s=n.filter,i=s);var a=[];if(typeof r!="object"||r===null)return"";var u=GTi[n.arrayFormat],l=u==="comma"&&n.commaRoundTrip;i||(i=Object.keys(r)),n.sort&&i.sort(n.sort);for(var f=YTi(),p=0;p0?_+h:""}});var WTi=j((ehg,zTi)=>{"use strict";var Y6e=hRr(),_Rr=Object.prototype.hasOwnProperty,JTi=Array.isArray,H8={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:Y6e.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictNullHandling:!1,throwOnLimitExceeded:!1},bDu=function(e){return e.replace(/&#(\d+);/g,function(t,r){return String.fromCharCode(parseInt(r,10))})},HTi=function(e,t,r){if(e&&typeof e=="string"&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&r>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(t.arrayLimit===1?"":"s")+" allowed in an array.");return e},IDu="utf8=%26%2310003%3B",SDu="utf8=%E2%9C%93",TDu=function(t,r){var n={__proto__:null},i=r.ignoreQueryPrefix?t.replace(/^\?/,""):t;i=i.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var s=r.parameterLimit===1/0?void 0:r.parameterLimit,a=i.split(r.delimiter,r.throwOnLimitExceeded?s+1:s);if(r.throwOnLimitExceeded&&a.length>s)throw new RangeError("Parameter limit exceeded. Only "+s+" parameter"+(s===1?"":"s")+" allowed.");var u=-1,l,f=r.charset;if(r.charsetSentinel)for(l=0;l-1&&(_=JTi(_)?[_]:_);var E=_Rr.call(n,h);E&&r.duplicates==="combine"?n[h]=Y6e.combine(n[h],_):(!E||r.duplicates==="last")&&(n[h]=_)}return n},DDu=function(e,t,r,n){var i=0;if(e.length>0&&e[e.length-1]==="[]"){var s=e.slice(0,-1).join("");i=Array.isArray(t)&&t[s]?t[s].length:0}for(var a=n?t:HTi(t,r,i),u=e.length-1;u>=0;--u){var l,f=e[u];if(f==="[]"&&r.parseArrays)l=r.allowEmptyArrays&&(a===""||r.strictNullHandling&&a===null)?[]:Y6e.combine([],a);else{l=r.plainObjects?{__proto__:null}:{};var p=f.charAt(0)==="["&&f.charAt(f.length-1)==="]"?f.slice(1,-1):f,g=r.decodeDotInKeys?p.replace(/%2E/g,"."):p,A=parseInt(g,10);!r.parseArrays&&g===""?l={0:a}:!isNaN(A)&&f!==g&&String(A)===g&&A>=0&&r.parseArrays&&A<=r.arrayLimit?(l=[],l[A]=a):g!=="__proto__"&&(l[g]=a)}a=l}return a},wDu=function(t,r,n,i){if(t){var s=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,a=/(\[[^[\]]*])/,u=/(\[[^[\]]*])/g,l=n.depth>0&&a.exec(s),f=l?s.slice(0,l.index):s,p=[];if(f){if(!n.plainObjects&&_Rr.call(Object.prototype,f)&&!n.allowPrototypes)return;p.push(f)}for(var g=0;n.depth>0&&(l=u.exec(s))!==null&&g"u"?H8.charset:t.charset,n=typeof t.duplicates>"u"?H8.duplicates:t.duplicates;if(n!=="combine"&&n!=="first"&&n!=="last")throw new TypeError("The duplicates option must be either combine, first, or last");var i=typeof t.allowDots>"u"?t.decodeDotInKeys===!0?!0:H8.allowDots:!!t.allowDots;return{allowDots:i,allowEmptyArrays:typeof t.allowEmptyArrays=="boolean"?!!t.allowEmptyArrays:H8.allowEmptyArrays,allowPrototypes:typeof t.allowPrototypes=="boolean"?t.allowPrototypes:H8.allowPrototypes,allowSparse:typeof t.allowSparse=="boolean"?t.allowSparse:H8.allowSparse,arrayLimit:typeof t.arrayLimit=="number"?t.arrayLimit:H8.arrayLimit,charset:r,charsetSentinel:typeof t.charsetSentinel=="boolean"?t.charsetSentinel:H8.charsetSentinel,comma:typeof t.comma=="boolean"?t.comma:H8.comma,decodeDotInKeys:typeof t.decodeDotInKeys=="boolean"?t.decodeDotInKeys:H8.decodeDotInKeys,decoder:typeof t.decoder=="function"?t.decoder:H8.decoder,delimiter:typeof t.delimiter=="string"||Y6e.isRegExp(t.delimiter)?t.delimiter:H8.delimiter,depth:typeof t.depth=="number"||t.depth===!1?+t.depth:H8.depth,duplicates:n,ignoreQueryPrefix:t.ignoreQueryPrefix===!0,interpretNumericEntities:typeof t.interpretNumericEntities=="boolean"?t.interpretNumericEntities:H8.interpretNumericEntities,parameterLimit:typeof t.parameterLimit=="number"?t.parameterLimit:H8.parameterLimit,parseArrays:t.parseArrays!==!1,plainObjects:typeof t.plainObjects=="boolean"?t.plainObjects:H8.plainObjects,strictDepth:typeof t.strictDepth=="boolean"?!!t.strictDepth:H8.strictDepth,strictNullHandling:typeof t.strictNullHandling=="boolean"?t.strictNullHandling:H8.strictNullHandling,throwOnLimitExceeded:typeof t.throwOnLimitExceeded=="boolean"?t.throwOnLimitExceeded:!1}};zTi.exports=function(e,t){var r=BDu(t);if(e===""||e===null||typeof e>"u")return r.plainObjects?{__proto__:null}:{};for(var n=typeof e=="string"?TDu(e,r):e,i=r.plainObjects?{__proto__:null}:{},s=Object.keys(n),a=0;a{"use strict";var kDu=KTi(),PDu=WTi(),NDu=ePt();XTi.exports={formats:NDu,parse:PDu,stringify:kDu}});var tDi=j((rhg,eDi)=>{"use strict";var ZTi=Ije(),xRr=B1()("body-parser:urlencoded"),ODu=Hit(),RDu=ERr(),{normalizeOptions:FDu}=kje();eDi.exports=LDu;function LDu(e){let t=FDu(e,"application/x-www-form-urlencoded");if(t.defaultCharset!=="utf-8"&&t.defaultCharset!=="iso-8859-1")throw new TypeError("option defaultCharset must be either utf-8 or iso-8859-1");var r=MDu(e);function n(s,a){return s.length?r(s,a):{}}let i={...t,isValidCharset:s=>s==="utf-8"||s==="iso-8859-1"};return function(a,u,l){ODu(a,u,l,n,xRr,i)}}function MDu(e){var t=!!e?.extended,r=e?.parameterLimit!==void 0?e?.parameterLimit:1e3,n=e?.charsetSentinel,i=e?.interpretNumericEntities,s=t?e?.depth!==void 0?e?.depth:32:0;if(isNaN(r)||r<1)throw new TypeError("option parameterLimit must be a positive number");if(isNaN(s)||s<0)throw new TypeError("option depth must be a zero or a positive number");return isFinite(r)&&(r=r|0),function(u,l){var f=QDu(u,r);if(f===void 0)throw xRr("too many parameters"),ZTi(413,"too many parameters",{type:"parameters.too.many"});var p=t?Math.max(100,f):0;xRr("parse "+(t?"extended ":"")+"urlencoding");try{return RDu.parse(u,{allowPrototypes:!0,arrayLimit:p,depth:s,charsetSentinel:n,interpretNumericEntities:i,charset:l,parameterLimit:r,strictDepth:!0})}catch(g){throw g instanceof RangeError?ZTi(400,"The input exceeded the depth",{type:"querystring.parse.rangeError"}):g}}}function QDu(e,t){let r=0,n=-1;do{if(r++,r>t)return;n=e.indexOf("&",n+1)}while(n!==-1);return r}});var nDi=j((Uje,rDi)=>{"use strict";Uje=rDi.exports=jDu;Object.defineProperty(Uje,"json",{configurable:!0,enumerable:!0,get:()=>XIi()});Object.defineProperty(Uje,"raw",{configurable:!0,enumerable:!0,get:()=>eSi()});Object.defineProperty(Uje,"text",{configurable:!0,enumerable:!0,get:()=>rSi()});Object.defineProperty(Uje,"urlencoded",{configurable:!0,enumerable:!0,get:()=>tDi()});function jDu(){throw new Error("The bodyParser() generic has been split into individual middleware to use instead.")}});var sDi=j((nhg,iDi)=>{"use strict";function UDu(e,t,r=!0){if(!e)throw new TypeError("The `destination` argument is required.");if(!t)throw new TypeError("The `source` argument is required.");for(let n of Object.getOwnPropertyNames(t)){if(!r&&Object.hasOwn(e,n))continue;let i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,i)}return e}iDi.exports=UDu});var ost=j((ihg,aDi)=>{"use strict";aDi.exports=VDu;var qDu=/(?:[^\x21\x23-\x3B\x3D\x3F-\x5F\x61-\x7A\x7C\x7E]|%(?:[^0-9A-Fa-f]|[0-9A-Fa-f][^0-9A-Fa-f]|$))+/g,YDu=/(^|[^\uD800-\uDBFF])[\uDC00-\uDFFF]|[\uD800-\uDBFF]([^\uDC00-\uDFFF]|$)/g,GDu="$1\uFFFD$2";function VDu(e){return String(e).replace(YDu,GDu).replace(qDu,encodeURI)}});var ust=j((shg,oDi)=>{"use strict";var $Du=/["'&<>]/;oDi.exports=KDu;function KDu(e){var t=""+e,r=$Du.exec(t);if(!r)return t;var n,i="",s=0,a=0;for(s=r.index;s{"use strict";var lDi=require("url"),uDi=lDi.parse,rPt=lDi.Url;vRr.exports=cDi;vRr.exports.original=JDu;function cDi(e){var t=e.url;if(t!==void 0){var r=e._parsedUrl;return pDi(t,r)?r:(r=fDi(t),r._raw=t,e._parsedUrl=r)}}function JDu(e){var t=e.originalUrl;if(typeof t!="string")return cDi(e);var r=e._parsedOriginalUrl;return pDi(t,r)?r:(r=fDi(t),r._raw=t,e._parsedOriginalUrl=r)}function fDi(e){if(typeof e!="string"||e.charCodeAt(0)!==47)return uDi(e);for(var t=e,r=null,n=null,i=1;i{"use strict";var CRr=require("./codes-K36UQVJU.json");mDi.exports=Cie;Cie.message=CRr;Cie.code=HDu(CRr);Cie.codes=zDu(CRr);Cie.redirect={300:!0,301:!0,302:!0,303:!0,305:!0,307:!0,308:!0};Cie.empty={204:!0,205:!0,304:!0};Cie.retry={502:!0,503:!0,504:!0};function HDu(e){var t={};return Object.keys(e).forEach(function(n){var i=e[n],s=Number(n);t[i.toLowerCase()]=s}),t}function zDu(e){return Object.keys(e).map(function(r){return Number(r)})}function WDu(e){var t=e.toLowerCase();if(!Object.prototype.hasOwnProperty.call(Cie.code,t))throw new Error('invalid status message: "'+e+'"');return Cie.code[t]}function dDi(e){if(!Object.prototype.hasOwnProperty.call(Cie.message,e))throw new Error("invalid status code: "+e);return Cie.message[e]}function Cie(e){if(typeof e=="number")return dDi(e);if(typeof e!="string")throw new TypeError("code must be a number or string");var t=parseInt(e,10);return isNaN(t)?WDu(e):dDi(t)}});var yDi=j((uhg,hDi)=>{"use strict";var bRr=B1()("finalhandler"),XDu=ost(),ZDu=ust(),gDi=Jit(),ewu=lst(),ADi=nPt(),twu=gDi.isFinished;function rwu(e){var t=ZDu(e).replaceAll(` `,"
").replaceAll(" ","  ");return` Error
`+t+`
`}hDi.exports=nwu;function nwu(e,t,r){var n=r||{},i=n.env||process.env.NODE_ENV||"development",s=n.onerror;return function(a){var u,l,f;if(!a&&t.headersSent){bRr("cannot 404 after headers sent");return}if(a?(f=awu(a),f===void 0?f=uwu(t):u=iwu(a),l=swu(a,f,i)):(f=404,l="Cannot "+e.method+" "+XDu(owu(e))),bRr("default %s",f),a&&s&&setImmediate(s,a,e,t),t.headersSent){bRr("cannot %d after headers sent",f),e.socket&&e.socket.destroy();return}lwu(e,t,f,u,l)}}function iwu(e){if(!(!e.headers||typeof e.headers!="object"))return{...e.headers}}function swu(e,t,r){var n;return r!=="production"&&(n=e.stack,!n&&typeof e.toString=="function"&&(n=e.toString())),n||ADi.message[t]}function awu(e){if(typeof e.status=="number"&&e.status>=400&&e.status<600)return e.status;if(typeof e.statusCode=="number"&&e.statusCode>=400&&e.statusCode<600)return e.statusCode}function owu(e){try{return ewu.original(e).pathname}catch{return"resource"}}function uwu(e){var t=e.statusCode;return(typeof t!="number"||t<400||t>599)&&(t=500),t}function lwu(e,t,r,n,i){function s(){var a=rwu(i);t.statusCode=r,e.httpVersionMajor<2&&(t.statusMessage=ADi.message[r]),t.removeHeader("Content-Encoding"),t.removeHeader("Content-Language"),t.removeHeader("Content-Range");for(let[u,l]of Object.entries(n??{}))t.setHeader(u,l);if(t.setHeader("Content-Security-Policy","default-src 'none'"),t.setHeader("X-Content-Type-Options","nosniff"),t.setHeader("Content-Type","text/html; charset=utf-8"),t.setHeader("Content-Length",Buffer.byteLength(a,"utf8")),e.method==="HEAD"){t.end();return}t.end(a,"utf8")}if(twu(e)){s();return}e.unpipe(),gDi(e,s),e.resume()}});var CDi=j((lhg,vDi)=>{"use strict";var iPt=B1()("express:view"),cst=require("node:path"),cwu=require("node:fs"),fwu=cst.dirname,xDi=cst.basename,pwu=cst.extname,_Di=cst.join,dwu=cst.resolve;vDi.exports=sPt;function sPt(e,t){var r=t||{};if(this.defaultEngine=r.defaultEngine,this.ext=pwu(e),this.name=e,this.root=r.root,!this.ext&&!this.defaultEngine)throw new Error("No default engine was specified and no extension was provided.");var n=e;if(this.ext||(this.ext=this.defaultEngine[0]!=="."?"."+this.defaultEngine:this.defaultEngine,n+=this.ext),!r.engines[this.ext]){var i=this.ext.slice(1);iPt('require "%s"',i);var s=require(i).__express;if(typeof s!="function")throw new Error('Module "'+i+'" does not provide a view engine.');r.engines[this.ext]=s}this.engine=r.engines[this.ext],this.path=this.lookup(n)}sPt.prototype.lookup=function(t){var r,n=[].concat(this.root);iPt('lookup "%s"',t);for(var i=0;i{"use strict";SDi.exports=Awu;var mwu=require("crypto"),bDi=require("fs").Stats,IDi=Object.prototype.toString;function gwu(e){if(e.length===0)return'"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk"';var t=mwu.createHash("sha1").update(e,"utf8").digest("base64").substring(0,27),r=typeof e=="string"?Buffer.byteLength(e,"utf8"):e.length;return'"'+r.toString(16)+"-"+t+'"'}function Awu(e,t){if(e==null)throw new TypeError("argument entity is required");var r=hwu(e),n=t&&typeof t.weak=="boolean"?t.weak:r;if(!r&&typeof e!="string"&&!Buffer.isBuffer(e))throw new TypeError("argument entity must be string, Buffer, or fs.Stats");var i=r?ywu(e):gwu(e);return n?"W/"+i:i}function hwu(e){return typeof bDi=="function"&&e instanceof bDi?!0:e&&typeof e=="object"&&"ctime"in e&&IDi.call(e.ctime)==="[object Date]"&&"mtime"in e&&IDi.call(e.mtime)==="[object Date]"&&"ino"in e&&typeof e.ino=="number"&&"size"in e&&typeof e.size=="number"}function ywu(e){var t=e.mtime.getTime().toString(16),r=e.size.toString(16);return'"'+r+"-"+t+'"'}});var DDi=j((fhg,TDi)=>{"use strict";TDi.exports=_wu;function _wu(e){if(!e)throw new TypeError("argument req is required");var t=xwu(e.headers["x-forwarded-for"]||""),r=Ewu(e),n=[r].concat(t);return n}function Ewu(e){return e.socket?e.socket.remoteAddress:e.connection.remoteAddress}function xwu(e){for(var t=e.length,r=[],n=e.length,i=e.length-1;i>=0;i--)switch(e.charCodeAt(i)){case 32:n===t&&(n=t=i);break;case 44:n!==t&&r.push(e.substring(n,t)),n=t=i;break;default:n=i;break}return n!==t&&r.push(e.substring(n,t)),r}});var BDi=j((wDi,fst)=>{(function(){var e,t,r,n,i,s,a,u,l;t={},u=this,typeof fst<"u"&&fst!==null&&fst.exports?fst.exports=t:u.ipaddr=t,a=function(f,p,g,A){var h,_;if(f.length!==p.length)throw new Error("ipaddr: cannot match CIDR for objects with different lengths");for(h=0;A>0;){if(_=g-A,_<0&&(_=0),f[h]>>_!==p[h]>>_)return!1;A-=g,h+=1}return!0},t.subnetMatch=function(f,p,g){var A,h,_,E,b;g==null&&(g="unicast");for(_ in p)for(E=p[_],E[0]&&!(E[0]instanceof Array)&&(E=[E]),A=0,h=E.length;A=0;g=A+=-1)if(h=this.octets[g],h in b){if(E=b[h],_&&E!==0)return null;E!==8&&(_=!0),p+=E}else return null;return 32-p},f})(),r="(0?\\d+|0x[a-f0-9]+)",n={fourOctet:new RegExp("^"+r+"\\."+r+"\\."+r+"\\."+r+"$","i"),longValue:new RegExp("^"+r+"$","i")},t.IPv4.parser=function(f){var p,g,A,h,_;if(g=function(E){return E[0]==="0"&&E[1]!=="x"?parseInt(E,8):parseInt(E)},p=f.match(n.fourOctet))return(function(){var E,b,D,k;for(D=p.slice(1,6),k=[],E=0,b=D.length;E4294967295||_<0)throw new Error("ipaddr: address outside defined range");return(function(){var E,b;for(b=[],h=E=0;E<=24;h=E+=8)b.push(_>>h&255);return b})().reverse()}else return null},t.IPv6=(function(){function f(p,g){var A,h,_,E,b,D;if(p.length===16)for(this.parts=[],A=h=0;h<=14;A=h+=2)this.parts.push(p[A]<<8|p[A+1]);else if(p.length===8)this.parts=p;else throw new Error("ipaddr: ipv6 part count should be 8 or 16");for(D=this.parts,_=0,E=D.length;_g&&(p=A.index,g=A[0].length);return g<0?_:_.substring(0,p)+"::"+_.substring(p+g)},f.prototype.toByteArray=function(){var p,g,A,h,_;for(p=[],_=this.parts,g=0,A=_.length;g>8),p.push(h&255);return p},f.prototype.toNormalizedString=function(){var p,g,A;return p=(function(){var h,_,E,b;for(E=this.parts,b=[],h=0,_=E.length;h<_;h++)g=E[h],b.push(g.toString(16));return b}).call(this).join(":"),A="",this.zoneId&&(A="%"+this.zoneId),p+A},f.prototype.toFixedLengthString=function(){var p,g,A;return p=(function(){var h,_,E,b;for(E=this.parts,b=[],h=0,_=E.length;h<_;h++)g=E[h],b.push(g.toString(16).padStart(4,"0"));return b}).call(this).join(":"),A="",this.zoneId&&(A="%"+this.zoneId),p+A},f.prototype.match=function(p,g){var A;if(g===void 0&&(A=p,p=A[0],g=A[1]),p.kind()!=="ipv6")throw new Error("ipaddr: cannot match ipv6 address with non-ipv6 one");return a(this.parts,p.parts,16,g)},f.prototype.SpecialRanges={unspecified:[new f([0,0,0,0,0,0,0,0]),128],linkLocal:[new f([65152,0,0,0,0,0,0,0]),10],multicast:[new f([65280,0,0,0,0,0,0,0]),8],loopback:[new f([0,0,0,0,0,0,0,1]),128],uniqueLocal:[new f([64512,0,0,0,0,0,0,0]),7],ipv4Mapped:[new f([0,0,0,0,0,65535,0,0]),96],rfc6145:[new f([0,0,0,0,65535,0,0,0]),96],rfc6052:[new f([100,65435,0,0,0,0,0,0]),96],"6to4":[new f([8194,0,0,0,0,0,0,0]),16],teredo:[new f([8193,0,0,0,0,0,0,0]),32],reserved:[[new f([8193,3512,0,0,0,0,0,0]),32]]},f.prototype.range=function(){return t.subnetMatch(this,this.SpecialRanges)},f.prototype.isIPv4MappedAddress=function(){return this.range()==="ipv4Mapped"},f.prototype.toIPv4Address=function(){var p,g,A;if(!this.isIPv4MappedAddress())throw new Error("ipaddr: trying to convert a generic ipv6 address to ipv4");return A=this.parts.slice(-2),p=A[0],g=A[1],new t.IPv4([p>>8,p&255,g>>8,g&255])},f.prototype.prefixLengthFromSubnetMask=function(){var p,g,A,h,_,E,b;for(b={0:16,32768:15,49152:14,57344:13,61440:12,63488:11,64512:10,65024:9,65280:8,65408:7,65472:6,65504:5,65520:4,65528:3,65532:2,65534:1,65535:0},p=0,_=!1,g=A=7;A>=0;g=A+=-1)if(h=this.parts[g],h in b){if(E=b[h],_&&E!==0)return null;E!==16&&(_=!0),p+=E}else return null;return 128-p},f})(),i="(?:[0-9a-f]+::?)+",l="%[0-9a-z]{1,}",s={zoneIndex:new RegExp(l,"i"),native:new RegExp("^(::)?("+i+")?([0-9a-f]+)?(::)?("+l+")?$","i"),transitional:new RegExp("^((?:"+i+")|(?:::)(?:"+i+")?)"+(r+"\\."+r+"\\."+r+"\\."+r)+("("+l+")?$"),"i")},e=function(f,p){var g,A,h,_,E,b;if(f.indexOf("::")!==f.lastIndexOf("::"))return null;for(b=(f.match(s.zoneIndex)||[])[0],b&&(b=b.substring(1),f=f.replace(/%.+$/,"")),g=0,A=-1;(A=f.indexOf(":",A+1))>=0;)g++;if(f.substr(0,2)==="::"&&g--,f.substr(-2,2)==="::"&&g--,g>p)return null;for(E=p-g,_=":";E--;)_+="0:";return f=f.replace("::",_),f[0]===":"&&(f=f.slice(1)),f[f.length-1]===":"&&(f=f.slice(0,-1)),p=(function(){var D,k,M,R;for(M=f.split(":"),R=[],D=0,k=M.length;D=0&&p<=32))return A=[this.parse(g[1]),p],Object.defineProperty(A,"toString",{value:function(){return this.join("/")}}),A;throw new Error("ipaddr: string is not formatted like an IPv4 CIDR range")},t.IPv4.subnetMaskFromPrefixLength=function(f){var p,g,A;if(f=parseInt(f),f<0||f>32)throw new Error("ipaddr: invalid IPv4 prefix length");for(A=[0,0,0,0],g=0,p=Math.floor(f/8);g=0&&p<=128))return A=[this.parse(g[1]),p],Object.defineProperty(A,"toString",{value:function(){return this.join("/")}}),A;throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range")},t.isValid=function(f){return t.IPv6.isValid(f)||t.IPv4.isValid(f)},t.parse=function(f){if(t.IPv6.isValid(f))return t.IPv6.parse(f);if(t.IPv4.isValid(f))return t.IPv4.parse(f);throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format")},t.parseCIDR=function(f){var p;try{return t.IPv6.parseCIDR(f)}catch(g){p=g;try{return t.IPv4.parseCIDR(f)}catch(A){throw p=A,new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format")}}},t.fromByteArray=function(f){var p;if(p=f.length,p===4)return new t.IPv4(f);if(p===16)return new t.IPv6(f);throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address")},t.process=function(f){var p;return p=this.parse(f),p.kind()==="ipv6"&&p.isIPv4MappedAddress()?p.toIPv4Address():p}}).call(wDi)});var SRr=j((phg,uPt)=>{"use strict";uPt.exports=Dwu;uPt.exports.all=NDi;uPt.exports.compile=ODi;var vwu=DDi(),PDi=BDi(),Cwu=/^[0-9]+$/,aPt=PDi.isValid,oPt=PDi.parse,kDi={linklocal:["169.254.0.0/16","fe80::/10"],loopback:["127.0.0.1/8","::1/128"],uniquelocal:["10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","fc00::/7"]};function NDi(e,t){var r=vwu(e);if(!t)return r;typeof t!="function"&&(t=ODi(t));for(var n=0;ni)throw new TypeError("invalid range on address: "+e);return[n,s]}function Twu(e){var t=oPt(e),r=t.kind();return r==="ipv4"?t.prefixLengthFromSubnetMask():null}function Dwu(e,t){if(!e)throw new TypeError("req argument is required");if(!t)throw new TypeError("trust argument is required");var r=NDi(e,t),n=r[r.length-1];return n}function wwu(){return!1}function Bwu(e){return function(r){if(!aPt(r))return!1;for(var n=oPt(r),i,s=n.kind(),a=0;a{"use strict";var{METHODS:Pwu}=require("node:http"),RDi=L5t(),Nwu=IRr(),Owu=wje(),Rwu=SRr(),Fwu=ERr(),Lwu=require("node:querystring"),{Buffer:FDi}=require("node:buffer");X$.methods=Pwu.map(e=>e.toLowerCase());X$.etag=LDi({weak:!1});X$.wetag=LDi({weak:!0});X$.normalizeType=function(e){return~e.indexOf("/")?Mwu(e):{value:Owu.lookup(e)||"application/octet-stream",params:{}}};X$.normalizeTypes=function(e){return e.map(X$.normalizeType)};function Mwu(e){for(var t=e.length,r=e.indexOf(";"),n=r===-1?t:r,i={value:e.slice(0,n).trim(),quality:1,params:{}};na){n=e.lastIndexOf(";",s-1)+1;continue}var u=e.slice(n,s).trim(),l=e.slice(s+1,a).trim();u==="q"?i.quality=parseFloat(l):i.params[u]=l,n=a+1}return i}X$.compileETag=function(e){var t;if(typeof e=="function")return e;switch(e){case!0:case"weak":t=X$.wetag;break;case!1:break;case"strong":t=X$.etag;break;default:throw new TypeError("unknown value for etag function: "+e)}return t};X$.compileQueryParser=function(t){var r;if(typeof t=="function")return t;switch(t){case!0:case"simple":r=Lwu.parse;break;case!1:break;case"extended":r=Qwu;break;default:throw new TypeError("unknown value for query parser function: "+t)}return r};X$.compileTrust=function(e){return typeof e=="function"?e:e===!0?function(){return!0}:typeof e=="number"?function(t,r){return r{QDi.exports=MDi;function MDi(e,t){if(e&&t)return MDi(e)(t);if(typeof e!="function")throw new TypeError("need wrapper function");return Object.keys(e).forEach(function(n){r[n]=e[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i{var UDi=jDi();TRr.exports=UDi(lPt);TRr.exports.strict=UDi(qDi);lPt.proto=lPt(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return lPt(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return qDi(this)},configurable:!0})});function lPt(e){var t=function(){return t.called?t.value:(t.called=!0,t.value=e.apply(this,arguments))};return t.called=!1,t}function qDi(e){var t=function(){if(t.called)throw new Error(t.onceError);return t.called=!0,t.value=e.apply(this,arguments)},r=e.name||"Function wrapped with `once`";return t.onceError=r+" shouldn't be called more than once",t.called=!1,t}});var wRr=j((Ahg,DRr)=>{DRr.exports=GDi;DRr.exports.default=GDi;function GDi(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}});var zDi=j(bie=>{"use strict";Object.defineProperty(bie,"__esModule",{value:!0});bie.PathError=bie.TokenData=void 0;bie.parse=NRr;bie.compile=qwu;bie.match=Gwu;bie.pathToRegexp=KDi;bie.stringify=Kwu;var BRr="/",kRr=e=>e,VDi=/^[$_\p{ID_Start}]$/u,PRr=/^[$\u200c\u200d\p{ID_Continue}]$/u,jwu={"{":"{","}":"}","(":"(",")":")","[":"[","]":"]","+":"+","?":"?","!":"!"};function Uwu(e){return e.replace(/[{}()\[\]+?!:*\\]/g,"\\$&")}function Hce(e){return e.replace(/[.+*?^${}()[\]|/\\]/g,"\\$&")}var fPt=class{constructor(t,r){this.tokens=t,this.originalPath=r}};bie.TokenData=fPt;var G6e=class extends TypeError{constructor(t,r){let n=t;r&&(n+=`: ${r}`),n+="; visit https://git.new/pathToRegexpError for info",super(n),this.originalPath=r}};bie.PathError=G6e;function NRr(e,t={}){let{encodePath:r=kRr}=t,n=[...e],i=[],s=0,a=0;function u(){let f="";if(VDi.test(n[s]))do f+=n[s++];while(PRr.test(n[s]));else if(n[s]==='"'){let p=s;for(;s++Ywu(i,t,r));return i=>{let s=[""];for(let a of n){let[u,...l]=a(i);s[0]+=u,s.push(...l)}return s}}function Ywu(e,t,r){if(e.type==="text")return()=>[e.value];if(e.type==="group"){let i=$Di(e.tokens,t,r);return s=>{let[a,...u]=i(s);return u.length?[""]:[a]}}let n=r||kRr;return e.type==="wildcard"&&r!==!1?i=>{let s=i[e.name];if(s==null)return["",e.name];if(!Array.isArray(s)||s.length===0)throw new TypeError(`Expected "${e.name}" to be a non-empty array`);return[s.map((a,u)=>{if(typeof a!="string")throw new TypeError(`Expected "${e.name}/${u}" to be a string`);return n(a)}).join(t)]}:i=>{let s=i[e.name];if(s==null)return["",e.name];if(typeof s!="string")throw new TypeError(`Expected "${e.name}" to be a string`);return[n(s)]}}function Gwu(e,t={}){let{decode:r=decodeURIComponent,delimiter:n=BRr}=t,{regexp:i,keys:s}=KDi(e,t),a=s.map(u=>r===!1?kRr:u.type==="param"?r:l=>l.split(n).map(r));return function(l){let f=i.exec(l);if(!f)return!1;let p=f[0],g=Object.create(null);for(let A=1;APRr.test(n))}function Hwu(e){return e&&e.type==="text"?!PRr.test(e.value[0]):!0}});var ORr=j((yhg,twi)=>{"use strict";var XDi=wRr(),zwu=zDi(),Wwu=B1()("router:layer"),ZDi=Vit()("router"),Xwu=/\/+$/,Zwu=/\((?:\?<(.*?)>)?(?!\?)/g;twi.exports=qje;function qje(e,t,r){if(!(this instanceof qje))return new qje(e,t,r);Wwu("new %o",e);let n=t||{};this.handle=r,this.keys=[],this.name=r.name||"",this.params=void 0,this.path=void 0,this.slash=e==="/"&&n.end===!1;function i(s){if(s instanceof RegExp){let a=[],u=0,l;for(;l=Zwu.exec(s.source);)a.push({name:l[1]||u++,offset:l.index});return function(p){let g=s.exec(p);if(!g)return!1;let A={};for(let h=1;h3)return n();try{let s=i(t,r,n);XDi(s)&&(s instanceof Promise||ZDi("handlers that are Promise-like are deprecated, use a native Promise instead"),s.then(null,function(a){n(a||new Error("Rejected promise"))}))}catch(s){n(s)}};qje.prototype.match=function(t){let r;if(t!=null){if(this.slash)return this.params={},this.path="",!0;let n=0;for(;!r&&n{"use strict";var rwi=B1()("router:route"),nwi=ORr(),{METHODS:e3u}=require("node:http"),iwi=Array.prototype.slice,swi=Array.prototype.flat,t3u=e3u.map(e=>e.toLowerCase());awi.exports=Yje;function Yje(e){rwi("new %o",e),this.path=e,this.stack=[],this.methods=Object.create(null)}Yje.prototype._handlesMethod=function(t){if(this.methods._all)return!0;let r=typeof t=="string"?t.toLowerCase():t;return r==="head"&&!this.methods.head&&(r="get"),!!this.methods[r]};Yje.prototype._methods=function(){let t=Object.keys(this.methods);this.methods.get&&!this.methods.head&&t.push("head");for(let r=0;r=s.length)return n(f);if(++a>100)return setImmediate(l,f);let p,g;for(;g!==!0&&i{"use strict";var r3u=wRr(),uwi=ORr(),{METHODS:n3u}=require("node:http"),i3u=lst(),lwi=owi(),pPt=B1()("router"),s3u=Vit()("router"),cwi=Array.prototype.slice,a3u=Array.prototype.flat,o3u=n3u.map(e=>e.toLowerCase());RRr.exports=l1e;RRr.exports.Route=lwi;function l1e(e){if(!(this instanceof l1e))return new l1e(e);let t=e||{};function r(n,i,s){r.handle(n,i,s)}return Object.setPrototypeOf(r,this),r.caseSensitive=t.caseSensitive,r.mergeParams=t.mergeParams,r.params={},r.strict=t.strict,r.stack=[],r}l1e.prototype=function(){};l1e.prototype.param=function(t,r){if(!t)throw new TypeError("argument name is required");if(typeof t!="string")throw new TypeError("argument name must be a string");if(!r)throw new TypeError("argument fn is required");if(typeof r!="function")throw new TypeError("argument fn must be a function");let n=this.params[t];return n||(n=this.params[t]=[]),n.push(r),this};l1e.prototype.handle=function(t,r,n){if(!n)throw new TypeError("argument callback is required");pPt("dispatching %s %s",t.method,t.url);let i=0,s,a=c3u(t.url)||"",u="",l=this,f=!1,p=0,g={},A=this.stack,h=t.params,_=t.baseUrl||"",E=m3u(n,t,"baseUrl","next","params");t.next=b,t.method==="OPTIONS"&&(s=[],E=h3u(E,u3u(r,s))),t.baseUrl=_,t.originalUrl=t.originalUrl||t.url,b();function b(k){let M=k==="route"?null:k;if(f&&(t.url=t.url.slice(1),f=!1),u.length!==0&&(t.baseUrl=_,t.url=a+u+t.url.slice(a.length),u=""),M==="router"){setImmediate(E,null);return}if(i>=A.length){setImmediate(E,M);return}if(++p>100)return setImmediate(b,k);let R=l3u(t);if(R==null)return E(M);let q,G,K;for(;G!==!0&&i");let u=new uwi(n,{sensitive:this.caseSensitive,strict:!1,end:!1},a);u.route=void 0,this.stack.push(u)}return this};l1e.prototype.route=function(t){let r=new lwi(t),n=new uwi(t,{sensitive:this.caseSensitive,strict:this.strict,end:!0},i);function i(s,a,u){r.dispatch(s,a,u)}return n.route=r,this.stack.push(n),r};o3u.concat("all").forEach(function(e){l1e.prototype[e]=function(t){let r=this.route(t);return r[e].apply(r,cwi.call(arguments,1)),this}});function u3u(e,t){return function(n,i){if(i||t.length===0)return n(i);A3u(e,t,n)}}function l3u(e){try{return i3u(e).pathname}catch{return}}function c3u(e){if(typeof e!="string"||e.length===0||e[0]==="/")return;let t=e.indexOf("?"),r=t!==-1?t:e.length,n=e.substring(0,r).indexOf("://");return n!==-1?e.substring(0,e.indexOf("/",3+n)):void 0}function f3u(e,t){try{return e.match(t)}catch(r){return r}}function p3u(e,t){if(typeof t!="object"||!t)return e;let r=Object.assign({},t);if(!(0 in e)||!(0 in t))return Object.assign(r,e);let n=0,i=0;for(;n in e;)n++;for(;i in t;)i++;for(n--;n>=0;n--)e[n+i]=e[n],n=a.length)return s();if(l=0,f=a[u++],p=n.params[f],g=e[f],A=r[f],p===void 0||!g)return h();if(A&&(A.match===p||A.error&&A.error!=="route"))return n.params[f]=A.value,h(A.error);r[f]=A={error:null,match:p,value:p},_()}function _(E){let b=g[l++];if(A.value=n.params[f],E){A.error=E,h(E);return}if(!b)return h();try{let D=b(n,i,_,p,f);r3u(D)&&(D instanceof Promise||s3u("parameters that are Promise-like are deprecated, use a native Promise instead"),D.then(null,function(k){_(k||new Error("Rejected promise"))}))}catch(D){_(D)}}h()}function m3u(e,t){let r=new Array(arguments.length-2),n=new Array(arguments.length-2);for(let i=0;i{"use strict";var y3u=yDi(),QRr=B1()("express:application"),_3u=CDi(),E3u=require("node:http"),LRr=aIe().methods,x3u=aIe().compileETag,v3u=aIe().compileQueryParser,C3u=aIe().compileTrust,b3u=require("node:path").resolve,I3u=YDi(),S3u=FRr(),dPt=Array.prototype.slice,T3u=Array.prototype.flat,hO=fwi=pwi.exports={},MRr="@@symbol:trust_proxy_default";hO.init=function(){var t=null;this.cache=Object.create(null),this.engines=Object.create(null),this.settings=Object.create(null),this.defaultConfiguration(),Object.defineProperty(this,"router",{configurable:!0,enumerable:!0,get:function(){return t===null&&(t=new S3u({caseSensitive:this.enabled("case sensitive routing"),strict:this.enabled("strict routing")})),t}})};hO.defaultConfiguration=function(){var t=process.env.NODE_ENV||"development";this.enable("x-powered-by"),this.set("etag","weak"),this.set("env",t),this.set("query parser","simple"),this.set("subdomain offset",2),this.set("trust proxy",!1),Object.defineProperty(this.settings,MRr,{configurable:!0,value:!0}),QRr("booting in %s mode",t),this.on("mount",function(n){this.settings[MRr]===!0&&typeof n.settings["trust proxy fn"]=="function"&&(delete this.settings["trust proxy"],delete this.settings["trust proxy fn"]),Object.setPrototypeOf(this.request,n.request),Object.setPrototypeOf(this.response,n.response),Object.setPrototypeOf(this.engines,n.engines),Object.setPrototypeOf(this.settings,n.settings)}),this.locals=Object.create(null),this.mountpath="/",this.locals.settings=this.settings,this.set("view",_3u),this.set("views",b3u("views")),this.set("jsonp callback name","callback"),t==="production"&&this.enable("view cache")};hO.handle=function(t,r,n){var i=n||y3u(t,r,{env:this.get("env"),onerror:D3u.bind(this)});this.enabled("x-powered-by")&&r.setHeader("X-Powered-By","Express"),t.res=r,r.req=t,Object.setPrototypeOf(t,this.request),Object.setPrototypeOf(r,this.response),r.locals||(r.locals=Object.create(null)),this.router.handle(t,r,i)};hO.use=function(t){var r=0,n="/";if(typeof t!="function"){for(var i=t;Array.isArray(i)&&i.length!==0;)i=i[0];typeof i!="function"&&(r=1,n=t)}var s=T3u.call(dPt.call(arguments,r),1/0);if(s.length===0)throw new TypeError("app.use() requires a middleware function");var a=this.router;return s.forEach(function(u){if(!u||!u.handle||!u.set)return a.use(n,u);QRr(".use app under %s",n),u.mountpath=n,u.parent=this,a.use(n,function(f,p,g){var A=f.app;u.handle(f,p,function(h){Object.setPrototypeOf(f,A.request),Object.setPrototypeOf(p,A.response),g(h)})}),u.emit("mount",this)},this),this};hO.route=function(t){return this.router.route(t)};hO.engine=function(t,r){if(typeof r!="function")throw new Error("callback function required");var n=t[0]!=="."?"."+t:t;return this.engines[n]=r,this};hO.param=function(t,r){if(Array.isArray(t)){for(var n=0;n1?'directories "'+l.root.slice(0,-1).join('", "')+'" or "'+l.root[l.root.length-1]+'"':'directory "'+l.root+'"',A=new Error('Failed to lookup view "'+t+'" in views '+g);return A.view=l,s(A)}f.cache&&(i[t]=l)}w3u(l,f,s)};hO.listen=function(){var t=E3u.createServer(this),r=dPt.call(arguments);if(typeof r[r.length-1]=="function"){var n=r[r.length-1]=I3u(r[r.length-1]);t.once("error",n)}return t.listen.apply(t,r)};function D3u(e){this.get("env")!=="test"&&console.error(e.stack||e.toString())}function w3u(e,t,r){try{e.render(t,r)}catch(n){r(n)}}});var hwi=j((xhg,jRr)=>{"use strict";jRr.exports=Awi;jRr.exports.preferredCharsets=Awi;var B3u=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function k3u(e){for(var t=e.split(","),r=0,n=0;r0}});var xwi=j((vhg,URr)=>{"use strict";URr.exports=Ewi;URr.exports.preferredEncodings=Ewi;var F3u=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function L3u(e){for(var t=e.split(","),r=!1,n=1,i=0,s=0;i0}});var Swi=j((Chg,qRr)=>{"use strict";qRr.exports=Iwi;qRr.exports.preferredLanguages=Iwi;var q3u=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function Y3u(e){for(var t=e.split(","),r=0,n=0;r0}});var Pwi=j((bhg,YRr)=>{"use strict";YRr.exports=Bwi;YRr.exports.preferredMediaTypes=Bwi;var K3u=/^\s*([^\s\/;]+)\/([^;\s]+)\s*(?:;(.*))?$/;function J3u(e){for(var t=Z3u(e),r=0,n=0;r0)if(s.every(function(a){return t.params[a]=="*"||(t.params[a]||"").toLowerCase()==(n.params[a]||"").toLowerCase()}))i|=1;else return null;return{i:r,o:t.i,q:t.q,s:i}}function Bwi(e,t){var r=J3u(e===void 0?"*/*":e||"");if(!t)return r.filter(Dwi).sort(Twi).map(W3u);var n=t.map(function(s,a){return H3u(s,r,a)});return n.filter(Dwi).sort(Twi).map(function(s){return t[n.indexOf(s)]})}function Twi(e,t){return t.q-e.q||t.s-e.s||e.o-t.o||e.i-t.i||0}function W3u(e){return e.type+"/"+e.subtype}function Dwi(e){return e.q>0}function kwi(e){for(var t=0,r=0;(r=e.indexOf('"',r))!==-1;)t++,r++;return t}function X3u(e){var t=e.indexOf("="),r,n;return t===-1?r=e:(r=e.slice(0,t),n=e.slice(t+1)),[r,n]}function Z3u(e){for(var t=e.split(","),r=1,n=0;r{"use strict";var t9u=hwi(),r9u=xwi(),n9u=Swi(),i9u=Pwi();GRr.exports=IS;GRr.exports.Negotiator=IS;function IS(e){if(!(this instanceof IS))return new IS(e);this.request=e}IS.prototype.charset=function(t){var r=this.charsets(t);return r&&r[0]};IS.prototype.charsets=function(t){return t9u(this.request.headers["accept-charset"],t)};IS.prototype.encoding=function(t,r){var n=this.encodings(t,r);return n&&n[0]};IS.prototype.encodings=function(t,r){var n=r||{};return r9u(this.request.headers["accept-encoding"],t,n.preferred)};IS.prototype.language=function(t){var r=this.languages(t);return r&&r[0]};IS.prototype.languages=function(t){return n9u(this.request.headers["accept-language"],t)};IS.prototype.mediaType=function(t){var r=this.mediaTypes(t);return r&&r[0]};IS.prototype.mediaTypes=function(t){return i9u(this.request.headers.accept,t)};IS.prototype.preferredCharset=IS.prototype.charset;IS.prototype.preferredCharsets=IS.prototype.charsets;IS.prototype.preferredEncoding=IS.prototype.encoding;IS.prototype.preferredEncodings=IS.prototype.encodings;IS.prototype.preferredLanguage=IS.prototype.language;IS.prototype.preferredLanguages=IS.prototype.languages;IS.prototype.preferredMediaType=IS.prototype.mediaType;IS.prototype.preferredMediaTypes=IS.prototype.mediaTypes});var Rwi=j((Shg,Owi)=>{"use strict";var s9u=Nwi(),a9u=wje();Owi.exports=Z$;function Z$(e){if(!(this instanceof Z$))return new Z$(e);this.headers=e.headers,this.negotiator=new s9u(e)}Z$.prototype.type=Z$.prototype.types=function(e){var t=e;if(t&&!Array.isArray(t)){t=new Array(arguments.length);for(var r=0;r{"use strict";var l9u=/(?:^|,)\s*?no-cache\s*?(?:,|$)/;Lwi.exports=c9u;function c9u(e,t){var r=e["if-modified-since"],n=e["if-none-match"];if(!r&&!n)return!1;var i=e["cache-control"];if(i&&l9u.test(i))return!1;if(n){if(n==="*")return!0;var s=t.etag;if(!s)return!1;for(var a=f9u(n),u=0;u{"use strict";Mwi.exports=p9u;function p9u(e,t,r){if(typeof t!="string")throw new TypeError("argument str must be a string");var n=t.indexOf("=");if(n===-1)return-2;var i=t.slice(n+1).split(","),s=[];s.type=t.slice(0,n);for(var a=0;ae-1&&(f=e-1),!(isNaN(l)||isNaN(f)||l>f||l<0)&&s.push({start:l,end:f})}return s.length<1?-1:r&&r.combine?d9u(s):s}function d9u(e){for(var t=e.map(m9u).sort(h9u),r=0,n=1;ns.end+1?t[++r]=i:i.end>s.end&&(s.end=i.end,s.index=Math.min(s.index,i.index))}t.length=r+1;var a=t.sort(A9u).map(g9u);return a.type=e.type,a}function m9u(e,t){return{start:e.start,end:e.end,index:t}}function g9u(e){return{start:e.start,end:e.end}}function A9u(e,t){return e.index-t.index}function h9u(e,t){return e.start-t.start}});var qwi=j((whg,Uwi)=>{"use strict";var mPt=Rwi(),y9u=require("node:net").isIP,_9u=Q5t(),E9u=require("node:http"),x9u=VRr(),v9u=$Rr(),Qwi=lst(),jwi=SRr(),AB=Object.create(E9u.IncomingMessage.prototype);Uwi.exports=AB;AB.get=AB.header=function(t){if(!t)throw new TypeError("name argument is required to req.get");if(typeof t!="string")throw new TypeError("name must be a string to req.get");var r=t.toLowerCase();switch(r){case"referer":case"referrer":return this.headers.referrer||this.headers.referer;default:return this.headers[r]}};AB.accepts=function(){var e=mPt(this);return e.types.apply(e,arguments)};AB.acceptsEncodings=function(){var e=mPt(this);return e.encodings.apply(e,arguments)};AB.acceptsCharsets=function(){var e=mPt(this);return e.charsets.apply(e,arguments)};AB.acceptsLanguages=function(...e){return mPt(this).languages(...e)};AB.range=function(t,r){var n=this.get("Range");if(n)return v9u(t,n,r)};cX(AB,"query",function(){var t=this.app.get("query parser fn");if(!t)return Object.create(null);var r=Qwi(this).query;return t(r)});AB.is=function(t){var r=t;if(!Array.isArray(t)){r=new Array(arguments.length);for(var n=0;n=200&&r<300||r===304?x9u(this.headers,{etag:t.get("ETag"),"last-modified":t.get("Last-Modified")}):!1});cX(AB,"stale",function(){return!this.fresh});cX(AB,"xhr",function(){var t=this.get("X-Requested-With")||"";return t.toLowerCase()==="xmlhttprequest"});function cX(e,t,r){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:r})}});var Vwi=j((KRr,Gwi)=>{var gPt=require("buffer"),zce=gPt.Buffer;function Ywi(e,t){for(var r in e)t[r]=e[r]}zce.from&&zce.alloc&&zce.allocUnsafe&&zce.allocUnsafeSlow?Gwi.exports=gPt:(Ywi(gPt,KRr),KRr.Buffer=V6e);function V6e(e,t,r){return zce(e,t,r)}V6e.prototype=Object.create(zce.prototype);Ywi(zce,V6e);V6e.from=function(e,t,r){if(typeof e=="number")throw new TypeError("Argument must not be a number");return zce(e,t,r)};V6e.alloc=function(e,t,r){if(typeof e!="number")throw new TypeError("Argument must be a number");var n=zce(e);return t!==void 0?typeof r=="string"?n.fill(t,r):n.fill(t):n.fill(0),n};V6e.allocUnsafe=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return zce(e)};V6e.allocUnsafeSlow=function(e){if(typeof e!="number")throw new TypeError("Argument must be a number");return gPt.SlowBuffer(e)}});var Wwi=j((Bhg,JRr)=>{"use strict";JRr.exports=N9u;JRr.exports.parse=L9u;var $wi=require("path").basename,C9u=Vwi().Buffer,b9u=/[\x00-\x20"'()*,/:;<=>?@[\\\]{}\x7f]/g,I9u=/%[0-9A-Fa-f]{2}/,S9u=/%([0-9A-Fa-f]{2})/g,Jwi=/[^\x20-\x7e\xa0-\xff]/g,T9u=/\\([\u0000-\u007f])/g,D9u=/([\\"])/g,Kwi=/;[\x09\x20]*([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*=[\x09\x20]*("(?:[\x20!\x23-\x5b\x5d-\x7e\x80-\xff]|\\[\x20-\x7e])*"|[!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*/g,w9u=/^[\x20-\x7e\x80-\xff]+$/,B9u=/^[!#$%&'*+.0-9A-Z^_`a-z|~-]+$/,k9u=/^([A-Za-z0-9!#$%&+\-^_`{}~]+)'(?:[A-Za-z]{2,3}(?:-[A-Za-z]{3}){0,3}|[A-Za-z]{4,8}|)'((?:%[0-9A-Fa-f]{2}|[A-Za-z0-9!#$&+.^_`|~-])+)$/,P9u=/^([!#$%&'*+.0-9A-Z^_`a-z|~-]+)[\x09\x20]*(?:$|;)/;function N9u(e,t){var r=t||{},n=r.type||"attachment",i=O9u(e,r.fallback);return R9u(new zwi(n,i))}function O9u(e,t){if(e!==void 0){var r={};if(typeof e!="string")throw new TypeError("filename must be a string");if(t===void 0&&(t=!0),typeof t!="string"&&typeof t!="boolean")throw new TypeError("fallback must be a string or boolean");if(typeof t=="string"&&Jwi.test(t))throw new TypeError("fallback must be ISO-8859-1 string");var n=$wi(e),i=w9u.test(n),s=typeof t!="string"?t&&Hwi(n):$wi(t),a=typeof s=="string"&&s!==n;return(a||!i||I9u.test(n))&&(r["filename*"]=n),(i||a)&&(r.filename=a?s:n),r}}function R9u(e){var t=e.parameters,r=e.type;if(!r||typeof r!="string"||!B9u.test(r))throw new TypeError("invalid type");var n=String(r).toLowerCase();if(t&&typeof t=="object")for(var i,s=Object.keys(t).sort(),a=0;a{var Xwi=require("crypto");APt.sign=function(e,t){if(typeof e!="string")throw new TypeError("Cookie value must be provided as a string.");if(t==null)throw new TypeError("Secret key must be provided.");return e+"."+Xwi.createHmac("sha256",t).update(e).digest("base64").replace(/\=+$/,"")};APt.unsign=function(e,t){if(typeof e!="string")throw new TypeError("Signed cookie string must be provided.");if(t==null)throw new TypeError("Secret key must be provided.");var r=e.slice(0,e.lastIndexOf(".")),n=APt.sign(r,t),i=Buffer.from(n),s=Buffer.from(e);return i.length===s.length&&Xwi.timingSafeEqual(i,s)?r:!1}});var r3i=j(HRr=>{"use strict";HRr.parse=J9u;HRr.serialize=H9u;var q9u=Object.prototype.toString,Y9u=Object.prototype.hasOwnProperty,G9u=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/,V9u=/^("?)[\u0021\u0023-\u002B\u002D-\u003A\u003C-\u005B\u005D-\u007E]*\1$/,$9u=/^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i,K9u=/^[\u0020-\u003A\u003D-\u007E]*$/;function J9u(e,t){if(typeof e!="string")throw new TypeError("argument str must be a string");var r={},n=e.length;if(n<2)return r;var i=t&&t.decode||z9u,s=0,a=0,u=0;do{if(a=e.indexOf("=",s),a===-1)break;if(u=e.indexOf(";",s),u===-1)u=n;else if(a>u){s=e.lastIndexOf(";",a-1)+1;continue}var l=e3i(e,s,a),f=t3i(e,a,l),p=e.slice(l,f);if(!Y9u.call(r,p)){var g=e3i(e,a+1,u),A=t3i(e,u,g);e.charCodeAt(g)===34&&e.charCodeAt(A-1)===34&&(g++,A--);var h=e.slice(g,A);r[p]=X9u(h,i)}s=u+1}while(sr;){var n=e.charCodeAt(--t);if(n!==32&&n!==9)return t+1}return r}function H9u(e,t,r){var n=r&&r.encode||encodeURIComponent;if(typeof n!="function")throw new TypeError("option encode is invalid");if(!G9u.test(e))throw new TypeError("argument name is invalid");var i=n(t);if(!V9u.test(i))throw new TypeError("argument val is invalid");var s=e+"="+i;if(!r)return s;if(r.maxAge!=null){var a=Math.floor(r.maxAge);if(!isFinite(a))throw new TypeError("option maxAge is invalid");s+="; Max-Age="+a}if(r.domain){if(!$9u.test(r.domain))throw new TypeError("option domain is invalid");s+="; Domain="+r.domain}if(r.path){if(!K9u.test(r.path))throw new TypeError("option path is invalid");s+="; Path="+r.path}if(r.expires){var u=r.expires;if(!W9u(u)||isNaN(u.valueOf()))throw new TypeError("option expires is invalid");s+="; Expires="+u.toUTCString()}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.partitioned&&(s+="; Partitioned"),r.priority){var l=typeof r.priority=="string"?r.priority.toLowerCase():r.priority;switch(l){case"low":s+="; Priority=Low";break;case"medium":s+="; Priority=Medium";break;case"high":s+="; Priority=High";break;default:throw new TypeError("option priority is invalid")}}if(r.sameSite){var f=typeof r.sameSite=="string"?r.sameSite.toLowerCase():r.sameSite;switch(f){case!0:s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"strict":s+="; SameSite=Strict";break;case"none":s+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}}return s}function z9u(e){return e.indexOf("%")!==-1?decodeURIComponent(e):e}function W9u(e){return q9u.call(e)==="[object Date]"}function X9u(e,t){try{return t(e)}catch{return e}}});var XRr=j((Nhg,d3i)=>{"use strict";var zRr=Ije(),yO=B1()("send"),Z9u=ost(),a3i=ust(),e8u=IRr(),t8u=VRr(),yPt=require("fs"),r8u=wje(),n8u=xje(),i8u=Jit(),s8u=$Rr(),pst=require("path"),a8u=nPt(),o3i=require("stream"),o8u=require("util"),u3i=pst.extname,l3i=pst.join,WRr=pst.normalize,c3i=pst.resolve,hPt=pst.sep,u8u=/^ *bytes=/,l8u=3600*24*365*1e3,n3i=/(?:^|[\\/])\.\.(?:[\\/]|$)/;d3i.exports=c8u;function c8u(e,t,r){return new hB(e,t,r)}function hB(e,t,r){o3i.call(this);var n=r||{};if(this.options=n,this.path=t,this.req=e,this._acceptRanges=n.acceptRanges!==void 0?!!n.acceptRanges:!0,this._cacheControl=n.cacheControl!==void 0?!!n.cacheControl:!0,this._etag=n.etag!==void 0?!!n.etag:!0,this._dotfiles=n.dotfiles!==void 0?n.dotfiles:"ignore",this._dotfiles!=="ignore"&&this._dotfiles!=="allow"&&this._dotfiles!=="deny")throw new TypeError('dotfiles option must be "allow", "deny", or "ignore"');this._extensions=n.extensions!==void 0?s3i(n.extensions,"extensions option"):[],this._immutable=n.immutable!==void 0?!!n.immutable:!1,this._index=n.index!==void 0?s3i(n.index,"index option"):["index.html"],this._lastModified=n.lastModified!==void 0?!!n.lastModified:!0,this._maxage=n.maxAge||n.maxage,this._maxage=typeof this._maxage=="string"?n8u(this._maxage):Number(this._maxage),this._maxage=isNaN(this._maxage)?0:Math.min(Math.max(0,this._maxage),l8u),this._root=n.root?c3i(n.root):null}o8u.inherits(hB,o3i);hB.prototype.error=function(t,r){if(p3i(this,"error"))return this.emit("error",m8u(t,r));var n=this.res,i=a8u.message[t]||String(t),s=f3i("Error",a3i(i));f8u(n),r&&r.headers&&h8u(n,r.headers),n.statusCode=t,n.setHeader("Content-Type","text/html; charset=UTF-8"),n.setHeader("Content-Length",Buffer.byteLength(s)),n.setHeader("Content-Security-Policy","default-src 'none'"),n.setHeader("X-Content-Type-Options","nosniff"),n.end(s)};hB.prototype.hasTrailingSlash=function(){return this.path[this.path.length-1]==="/"};hB.prototype.isConditionalGET=function(){return this.req.headers["if-match"]||this.req.headers["if-unmodified-since"]||this.req.headers["if-none-match"]||this.req.headers["if-modified-since"]};hB.prototype.isPreconditionFailure=function(){var t=this.req,r=this.res,n=t.headers["if-match"];if(n){var i=r.getHeader("ETag");return!i||n!=="*"&&A8u(n).every(function(u){return u!==i&&u!=="W/"+i&&"W/"+u!==i})}var s=_Pt(t.headers["if-unmodified-since"]);if(!isNaN(s)){var a=_Pt(r.getHeader("Last-Modified"));return isNaN(a)||a>s}return!1};hB.prototype.removeContentHeaderFields=function(){var t=this.res;t.removeHeader("Content-Encoding"),t.removeHeader("Content-Language"),t.removeHeader("Content-Length"),t.removeHeader("Content-Range"),t.removeHeader("Content-Type")};hB.prototype.notModified=function(){var t=this.res;yO("not modified"),this.removeContentHeaderFields(),t.statusCode=304,t.end()};hB.prototype.headersAlreadySent=function(){var t=new Error("Can't set headers after they are sent.");yO("headers already sent"),this.error(500,t)};hB.prototype.isCachable=function(){var t=this.res.statusCode;return t>=200&&t<300||t===304};hB.prototype.onStatError=function(t){switch(t.code){case"ENAMETOOLONG":case"ENOENT":case"ENOTDIR":this.error(404,t);break;default:this.error(500,t);break}};hB.prototype.isFresh=function(){return t8u(this.req.headers,{etag:this.res.getHeader("ETag"),"last-modified":this.res.getHeader("Last-Modified")})};hB.prototype.isRangeFresh=function(){var t=this.req.headers["if-range"];if(!t)return!0;if(t.indexOf('"')!==-1){var r=this.res.getHeader("ETag");return!!(r&&t.indexOf(r)!==-1)}var n=this.res.getHeader("Last-Modified");return _Pt(n)<=_Pt(t)};hB.prototype.redirect=function(t){var r=this.res;if(p3i(this,"directory")){this.emit("directory",r,t);return}if(this.hasTrailingSlash()){this.error(403);return}var n=Z9u(p8u(this.path+"/")),i=f3i("Redirecting","Redirecting to "+a3i(n));r.statusCode=301,r.setHeader("Content-Type","text/html; charset=UTF-8"),r.setHeader("Content-Length",Buffer.byteLength(i)),r.setHeader("Content-Security-Policy","default-src 'none'"),r.setHeader("X-Content-Type-Options","nosniff"),r.setHeader("Location",n),r.end(i)};hB.prototype.pipe=function(t){var r=this._root;this.res=t;var n=g8u(this.path);if(n===-1)return this.error(400),t;if(~n.indexOf("\0"))return this.error(400),t;var i;if(r!==null){if(n&&(n=WRr("."+hPt+n)),n3i.test(n))return yO('malicious path "%s"',n),this.error(403),t;i=n.split(hPt),n=WRr(l3i(r,n))}else{if(n3i.test(n))return yO('malicious path "%s"',n),this.error(403),t;i=WRr(n).split(hPt),n=c3i(n)}if(d8u(i))switch(yO('%s dotfile "%s"',this._dotfiles,n),this._dotfiles){case"allow":break;case"deny":return this.error(403),t;case"ignore":default:return this.error(404),t}return this._index.length&&this.hasTrailingSlash()?(this.sendIndex(n),t):(this.sendFile(n),t)};hB.prototype.send=function(t,r){var n=r.size,i=this.options,s={},a=this.res,u=this.req,l=u.headers.range,f=i.start||0;if(a.headersSent){this.headersAlreadySent();return}if(yO('pipe "%s"',t),this.setHeader(t,r),this.type(t),this.isConditionalGET()){if(this.isPreconditionFailure()){this.error(412);return}if(this.isCachable()&&this.isFresh()){this.notModified();return}}if(n=Math.max(0,n-f),i.end!==void 0){var p=i.end-f+1;n>p&&(n=p)}if(this._acceptRanges&&u8u.test(l)){if(l=s8u(n,l,{combine:!0}),this.isRangeFresh()||(yO("range stale"),l=-2),l===-1)return yO("range unsatisfiable"),a.setHeader("Content-Range",i3i("bytes",n)),this.error(416,{headers:{"Content-Range":a.getHeader("Content-Range")}});l!==-2&&l.length===1&&(yO("range %j",l),a.statusCode=206,a.setHeader("Content-Range",i3i("bytes",n,l[0])),f+=l[0].start,n=l[0].end-l[0].start+1)}for(var g in i)s[g]=i[g];if(s.start=f,s.end=Math.max(f,f+n-1),a.setHeader("Content-Length",n),u.method==="HEAD"){a.end();return}this.stream(t,s)};hB.prototype.sendFile=function(t){var r=0,n=this;yO('stat "%s"',t),yPt.stat(t,function(a,u){var l=t[t.length-1]===hPt;if(a&&a.code==="ENOENT"&&!u3i(t)&&!l)return i(a);if(a)return n.onStatError(a);if(u.isDirectory())return n.redirect(t);if(l)return n.error(404);n.emit("file",t,u),n.send(t,u)});function i(s){if(n._extensions.length<=r)return s?n.onStatError(s):n.error(404);var a=t+"."+n._extensions[r++];yO('stat "%s"',a),yPt.stat(a,function(u,l){if(u)return i(u);if(l.isDirectory())return i();n.emit("file",a,l),n.send(a,l)})}};hB.prototype.sendIndex=function(t){var r=-1,n=this;function i(s){if(++r>=n._index.length)return s?n.onStatError(s):n.error(404);var a=l3i(t,n._index[r]);yO('stat "%s"',a),yPt.stat(a,function(u,l){if(u)return i(u);if(l.isDirectory())return i();n.emit("file",a,l),n.send(a,l)})}i()};hB.prototype.stream=function(t,r){var n=this,i=this.res,s=yPt.createReadStream(t,r);this.emit("stream",s),s.pipe(i);function a(){s.destroy()}i8u(i,a),s.on("error",function(l){a(),n.onStatError(l)}),s.on("end",function(){n.emit("end")})};hB.prototype.type=function(t){var r=this.res;if(!r.getHeader("Content-Type")){var n=u3i(t),i=r8u.contentType(n)||"application/octet-stream";yO("content-type %s",i),r.setHeader("Content-Type",i)}};hB.prototype.setHeader=function(t,r){var n=this.res;if(this.emit("headers",n,t,r),this._acceptRanges&&!n.getHeader("Accept-Ranges")&&(yO("accept ranges"),n.setHeader("Accept-Ranges","bytes")),this._cacheControl&&!n.getHeader("Cache-Control")){var i="public, max-age="+Math.floor(this._maxage/1e3);this._immutable&&(i+=", immutable"),yO("cache-control %s",i),n.setHeader("Cache-Control",i)}if(this._lastModified&&!n.getHeader("Last-Modified")){var s=r.mtime.toUTCString();yO("modified %s",s),n.setHeader("Last-Modified",s)}if(this._etag&&!n.getHeader("ETag")){var a=e8u(r);yO("etag %s",a),n.setHeader("ETag",a)}};function f8u(e){for(let t of e.getHeaderNames())e.removeHeader(t)}function p8u(e){for(var t=0;t1?"/"+e.substr(t):e}function d8u(e){for(var t=0;t1&&r[0]===".")return!0}return!1}function i3i(e,t,r){return e+" "+(r?r.start+"-"+r.end:"*")+"/"+t}function f3i(e,t){return` `+e+`
`+t+`
`}function m8u(e,t){return t?t instanceof Error?zRr(e,t,{expose:!1}):zRr(e,t):zRr(e)}function g8u(e){try{return decodeURIComponent(e)}catch{return-1}}function p3i(e,t){var r=typeof e.listenerCount!="function"?e.listeners(t).length:e.listenerCount(t);return r>0}function s3i(e,t){for(var r=[].concat(e||[]),n=0;n{"use strict";ZRr.exports=_8u;ZRr.exports.append=g3i;var y8u=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function g3i(e,t){if(typeof e!="string")throw new TypeError("header argument is required");if(!t)throw new TypeError("field argument is required");for(var r=Array.isArray(t)?t:m3i(String(t)),n=0;n{"use strict";var h3i=Wwi(),E8u=Ije(),eFr=Vit()("express"),x8u=ost(),v8u=ust(),C8u=require("node:http"),b8u=Jit(),y3i=wje(),_3i=require("node:path"),I8u=require("node:path").isAbsolute,tFr=nPt(),S8u=Zwi().sign,T8u=aIe().normalizeType,D8u=aIe().normalizeTypes,w8u=aIe().setCharset,B8u=r3i(),k8u=XRr(),P8u=_3i.extname,N8u=_3i.resolve,O8u=A3i(),{Buffer:EPt}=require("node:buffer"),y9=Object.create(C8u.ServerResponse.prototype);x3i.exports=y9;y9.status=function(t){if(!Number.isInteger(t))throw new TypeError(`Invalid status code: ${JSON.stringify(t)}. Status code must be an integer.`);if(t<100||t>999)throw new RangeError(`Invalid status code: ${JSON.stringify(t)}. Status code must be greater than 99 and less than 1000.`);return this.statusCode=t,this};y9.links=function(e){var t=this.get("Link")||"";return t&&(t+=", "),this.set("Link",t+Object.keys(e).map(function(r){return Array.isArray(e[r])?e[r].map(function(n){return`<${n}>; rel="${r}"`}).join(", "):`<${e[r]}>; rel="${r}"`}).join(", "))};y9.send=function(t){var r=t,n,i=this.req,s,a=this.app;switch(typeof r){case"string":this.get("Content-Type")||this.type("html");break;case"boolean":case"number":case"object":if(r===null)r="";else if(ArrayBuffer.isView(r))this.get("Content-Type")||this.type("bin");else return this.json(r);break}typeof r=="string"&&(n="utf8",s=this.get("Content-Type"),typeof s=="string"&&this.set("Content-Type",w8u(s,"utf-8")));var u=a.get("etag fn"),l=!this.get("ETag")&&typeof u=="function",f;r!==void 0&&(EPt.isBuffer(r)?f=r.length:!l&&r.length<1e3?f=EPt.byteLength(r,n):(r=EPt.from(r,n),n=void 0,f=r.length),this.set("Content-Length",f));var p;return l&&f!==void 0&&(p=u(r,n))&&this.set("ETag",p),i.fresh&&this.status(304),(this.statusCode===204||this.statusCode===304)&&(this.removeHeader("Content-Type"),this.removeHeader("Content-Length"),this.removeHeader("Transfer-Encoding"),r=""),this.statusCode===205&&(this.set("Content-Length","0"),this.removeHeader("Transfer-Encoding"),r=""),i.method==="HEAD"?this.end():this.end(r,n),this};y9.json=function(t){var r=this.app,n=r.get("json escape"),i=r.get("json replacer"),s=r.get("json spaces"),a=E3i(t,i,s,n);return this.get("Content-Type")||this.set("Content-Type","application/json"),this.send(a)};y9.jsonp=function(t){var r=this.app,n=r.get("json escape"),i=r.get("json replacer"),s=r.get("json spaces"),a=E3i(t,i,s,n),u=this.req.query[r.get("jsonp callback name")];return this.get("Content-Type")||(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","application/json")),Array.isArray(u)&&(u=u[0]),typeof u=="string"&&u.length!==0&&(this.set("X-Content-Type-Options","nosniff"),this.set("Content-Type","text/javascript"),u=u.replace(/[^\[\]\w$.]/g,""),a===void 0?a="":typeof a=="string"&&(a=a.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")),a="/**/ typeof "+u+" === 'function' && "+u+"("+a+");"),this.send(a)};y9.sendStatus=function(t){var r=tFr.message[t]||String(t);return this.status(t),this.type("txt"),this.send(r)};y9.sendFile=function(t,r,n){var i=n,s=this.req,a=this,u=s.next,l=r||{};if(!t)throw new TypeError("path argument is required to res.sendFile");if(typeof t!="string")throw new TypeError("path must be a string to res.sendFile");if(typeof r=="function"&&(i=r,l={}),!l.root&&!I8u(t))throw new TypeError("path must be absolute or specify root to res.sendFile");var f=encodeURI(t);l.etag=this.app.enabled("etag");var p=k8u(s,f,l);R8u(a,p,l,function(g){if(i)return i(g);if(g&&g.code==="EISDIR")return u();g&&g.code!=="ECONNABORTED"&&g.syscall!=="write"&&u(g)})};y9.download=function(t,r,n,i){var s=i,a=r,u=n||null;typeof r=="function"?(s=r,a=null,u=null):typeof n=="function"&&(s=n,u=null),typeof r=="object"&&(typeof n=="function"||n===void 0)&&(a=null,u=r);var l={"Content-Disposition":h3i(a||t)};if(u&&u.headers)for(var f=Object.keys(u.headers),p=0;p0?t.accepts(n):!1;return this.vary("Accept"),i?(this.set("Content-Type",T8u(i).value),e[i](t,this,r)):e.default?e.default(t,this,r):r(E8u(406,{types:D8u(n).map(function(s){return s.value})})),this};y9.attachment=function(t){return t&&this.type(P8u(t)),this.set("Content-Disposition",h3i(t)),this};y9.append=function(t,r){var n=this.get(t),i=r;return n&&(i=Array.isArray(n)?n.concat(r):Array.isArray(r)?[n].concat(r):[n,r]),this.set(t,i)};y9.set=y9.header=function(t,r){if(arguments.length===2){var n=Array.isArray(r)?r.map(String):String(r);if(t.toLowerCase()==="content-type"){if(Array.isArray(n))throw new TypeError("Content-Type cannot be set to an Array");n=y3i.contentType(n)}this.setHeader(t,n)}else for(var i in t)this.set(i,t[i]);return this};y9.get=function(e){return this.getHeader(e)};y9.clearCookie=function(t,r){let n={path:"/",...r,expires:new Date(1)};return delete n.maxAge,this.cookie(t,"",n)};y9.cookie=function(e,t,r){var n={...r},i=this.req.secret,s=n.signed;if(s&&!i)throw new Error('cookieParser("secret") required for signed cookies');var a=typeof t=="object"?"j:"+JSON.stringify(t):String(t);if(s&&(a="s:"+S8u(a,i)),n.maxAge!=null){var u=n.maxAge-0;isNaN(u)||(n.expires=new Date(Date.now()+u),n.maxAge=Math.floor(u/1e3))}return n.path==null&&(n.path="/"),this.append("Set-Cookie",B8u.serialize(e,String(a),n)),this};y9.location=function(t){return this.set("Location",x8u(t))};y9.redirect=function(t){var r=t,n,i=302;arguments.length===2&&(i=arguments[0],r=arguments[1]),r||eFr("Provide a url argument"),typeof r!="string"&&eFr("Url must be a string"),typeof i!="number"&&eFr("Status must be a number"),r=this.location(r).get("Location"),this.format({text:function(){n=tFr.message[i]+". Redirecting to "+r},html:function(){var s=v8u(r);n="

"+tFr.message[i]+". Redirecting to "+s+"

"},default:function(){n=""}}),this.status(i),this.set("Content-Length",EPt.byteLength(n)),this.req.method==="HEAD"?this.end():this.end(n)};y9.vary=function(e){return O8u(this,e),this};y9.render=function(t,r,n){var i=this.req.app,s=n,a=r||{},u=this.req,l=this;typeof r=="function"&&(s=r,a={}),a._locals=l.locals,s=s||function(f,p){if(f)return u.next(f);l.send(p)},i.render(t,a,s)};function R8u(e,t,r,n){var i=!1,s;function a(){if(!i){i=!0;var h=new Error("Request aborted");h.code="ECONNABORTED",n(h)}}function u(){if(!i){i=!0;var h=new Error("EISDIR, read");h.code="EISDIR",n(h)}}function l(h){i||(i=!0,n(h))}function f(){i||(i=!0,n())}function p(){s=!1}function g(h){if(h&&h.code==="ECONNRESET")return a();if(h)return l(h);i||setImmediate(function(){if(s!==!1&&!i){a();return}i||(i=!0,n())})}function A(){s=!0}t.on("directory",u),t.on("end",f),t.on("error",l),t.on("file",p),t.on("stream",A),b8u(e,g),r.headers&&t.on("headers",function(_){for(var E=r.headers,b=Object.keys(E),D=0;D&]/g,function(s){switch(s.charCodeAt(0)){case 60:return"\\u003c";case 62:return"\\u003e";case 38:return"\\u0026";default:return s}})),i}});var b3i=j((Fhg,C3i)=>{"use strict";var F8u=ost(),L8u=ust(),rFr=lst(),M8u=require("path").resolve,Q8u=XRr(),j8u=require("url");C3i.exports=U8u;function U8u(e,t){if(!e)throw new TypeError("root path required");if(typeof e!="string")throw new TypeError("root path must be a string");var r=Object.create(t||null),n=r.fallthrough!==!1,i=r.redirect!==!1,s=r.setHeaders;if(s&&typeof s!="function")throw new TypeError("option setHeaders must be function");r.maxage=r.maxage||r.maxAge||0,r.root=M8u(e);var a=i?V8u():G8u();return function(l,f,p){if(l.method!=="GET"&&l.method!=="HEAD"){if(n)return p();f.statusCode=405,f.setHeader("Allow","GET, HEAD"),f.setHeader("Content-Length","0"),f.end();return}var g=!n,A=rFr.original(l),h=rFr(l).pathname;h==="/"&&A.pathname.substr(-1)!=="/"&&(h="");var _=Q8u(l,h,r);_.on("directory",a),s&&_.on("headers",s),n&&_.on("file",function(){g=!0}),_.on("error",function(b){if(g||!(b.statusCode<500)){p(b);return}p()}),_.pipe(f)}}function q8u(e){for(var t=0;t1?"/"+e.substr(t):e}function Y8u(e,t){return` `+e+`
`+t+`
`}function G8u(){return function(){this.error(404)}}function V8u(){return function(t){if(this.hasTrailingSlash()){this.error(404);return}var r=rFr.original(this.req);r.path=null,r.pathname=q8u(r.pathname+"/");var n=F8u(j8u.format(r)),i=Y8u("Redirecting","Redirecting to "+L8u(n));t.statusCode=301,t.setHeader("Content-Type","text/html; charset=UTF-8"),t.setHeader("Content-Length",Buffer.byteLength(i)),t.setHeader("Content-Security-Policy","default-src 'none'"),t.setHeader("X-Content-Type-Options","nosniff"),t.setHeader("Location",n),t.end(i)}}});var k3i=j((fX,B3i)=>{"use strict";var xPt=nDi(),$8u=require("node:events").EventEmitter,I3i=sDi(),S3i=dwi(),T3i=FRr(),D3i=qwi(),w3i=v3i();fX=B3i.exports=K8u;function K8u(){var e=function(t,r,n){e.handle(t,r,n)};return I3i(e,$8u.prototype,!1),I3i(e,S3i,!1),e.request=Object.create(D3i,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.response=Object.create(w3i,{app:{configurable:!0,enumerable:!0,writable:!0,value:e}}),e.init(),e}fX.application=S3i;fX.request=D3i;fX.response=w3i;fX.Route=T3i.Route;fX.Router=T3i;fX.json=xPt.json;fX.raw=xPt.raw;fX.static=b3i();fX.text=xPt.text;fX.urlencoded=xPt.urlencoded});var nFr=j((Lhg,P3i)=>{"use strict";P3i.exports=k3i()});var iFr=j((Mhg,N3i)=>{"use strict";var dst=class{constructor(t,r={}){if(this.type="warning",this.text=t,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};N3i.exports=dst;dst.default=dst});var gst=j((Qhg,O3i)=>{"use strict";var J8u=iFr(),mst=class{get content(){return this.css}constructor(t,r,n){this.processor=t,this.messages=[],this.root=r,this.opts=n,this.css="",this.map=void 0}toString(){return this.css}warn(t,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new J8u(t,r);return this.messages.push(n),n}warnings(){return this.messages.filter(t=>t.type==="warning")}};O3i.exports=mst;mst.default=mst});var F3i=j((jhg,R3i)=>{var sFr=40,aFr=41,vPt=39,oFr=34,uFr=92,Gje=47,lFr=44,cFr=58,CPt=42,H8u=117,z8u=85,W8u=43,X8u=/^[a-f0-9?-]+$/i;R3i.exports=function(e){for(var t=[],r=e,n,i,s,a,u,l,f,p,g=0,A=r.charCodeAt(g),h=r.length,_=[{nodes:t}],E=0,b,D="",k="",M="";g{L3i.exports=function e(t,r,n){var i,s,a,u;for(i=0,s=t.length;i{function Q3i(e,t){var r=e.type,n=e.value,i,s;return t&&(s=t(e))!==void 0?s:r==="word"||r==="space"?n:r==="string"?(i=e.quote||"",i+n+(e.unclosed?"":i)):r==="comment"?"/*"+n+(e.unclosed?"":"*/"):r==="div"?(e.before||"")+n+(e.after||""):Array.isArray(e.nodes)?(i=j3i(e.nodes,t),r!=="function"?i:n+"("+(e.before||"")+i+(e.after||"")+(e.unclosed?"":")")):n}function j3i(e,t){var r,n;if(Array.isArray(e)){for(r="",n=e.length-1;~n;n-=1)r=Q3i(e[n],t)+r;return r}return Q3i(e,t)}U3i.exports=j3i});var G3i=j((Yhg,Y3i)=>{var bPt=45,IPt=43,fFr=46,Z8u=101,e4u=69;function t4u(e){var t=e.charCodeAt(0),r;if(t===IPt||t===bPt){if(r=e.charCodeAt(1),r>=48&&r<=57)return!0;var n=e.charCodeAt(2);return r===fFr&&n>=48&&n<=57}return t===fFr?(r=e.charCodeAt(1),r>=48&&r<=57):t>=48&&t<=57}Y3i.exports=function(e){var t=0,r=e.length,n,i,s;if(r===0||!t4u(e))return!1;for(n=e.charCodeAt(t),(n===IPt||n===bPt)&&t++;t57));)t+=1;if(n=e.charCodeAt(t),i=e.charCodeAt(t+1),n===fFr&&i>=48&&i<=57)for(t+=2;t57));)t+=1;if(n=e.charCodeAt(t),i=e.charCodeAt(t+1),s=e.charCodeAt(t+2),(n===Z8u||n===e4u)&&(i>=48&&i<=57||(i===IPt||i===bPt)&&s>=48&&s<=57))for(t+=i===IPt||i===bPt?3:2;t57));)t+=1;return{number:e.slice(0,t),unit:e.slice(t)}}});var sh=j((Ghg,K3i)=>{var r4u=F3i(),V3i=M3i(),$3i=q3i();function oIe(e){return this instanceof oIe?(this.nodes=r4u(e),this):new oIe(e)}oIe.prototype.toString=function(){return Array.isArray(this.nodes)?$3i(this.nodes):""};oIe.prototype.walk=function(e,t){return V3i(this.nodes,e,t),this};oIe.unit=G3i();oIe.walk=V3i;oIe.stringify=$3i;K3i.exports=oIe});function J3i(e){return Object.prototype.toString.call(e)==="[object Object]"}function H3i(e){var t,r;return J3i(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(J3i(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var z3i=Er(()=>{});function pX(e){return typeof e=="boolean"||e instanceof Boolean}function uIe(e){return typeof e=="function"||e instanceof Function}function g7(e){return typeof e=="number"||e instanceof Number}function X3i(e){return e!==null&&typeof e=="object"}function nu(e){return e instanceof RegExp}function ya(e){return typeof e=="string"||e instanceof String}function _O(e){return H3i(e)}function ov(e,t=void 0){t?console.assert(e,t):console.assert(e)}function Iie(e){console.assert(g7(e),`"${e}" must be a number`)}function dX(e){console.assert(ya(e),`"${e}" must be a string`)}function W3i(e){return!(!_O(e)||!g7(e.line)||!g7(e.column))}function Z3i(e){return!(!_O(e)||!W3i(e.start)||!W3i(e.end))}var xc=Er(()=>{z3i()});function Qx(e){return e.raws.params?.raw??e.params}var A7=Er(()=>{});function bA(e){let t=e.raws;return t.selector&&t.selector.raw||e.selector}var ZC=Er(()=>{});function bh(e){return pFr(e)+(e.raws.afterName?.length??0)}function e9i(e){let t=e.source?.end?.offset;if(!t)return e.toString().length-1;let r=e.raws?.after?.length;return r?t-(r+1):t-1}function pFr(e){return 1+e.name.length}function t9i(e){return bh(e)+Qx(e).length}function dFr(e){let{prop:t}=e.raws,r=X3i(t);return i9i([r&&"prefix"in t&&t.prefix,r&&"raw"in t&&t.raw||e.prop,r&&"suffix"in t&&t.suffix])}function Lp(e){let{between:t,value:r}=e.raws;return dFr(e)+i9i([t||":",r&&"prefix"in r&&r.prefix])}function r9i(e){return bA(e).length}function n9i(e){let t=e.source?.end?.offset;if(!t)return e.toString().length-1;let r=e.raws?.after?.length;return r?t-(r+1):t-1}function i9i(e){return e.reduce((t,r)=>ya(r)?t+r.length:t,0)}var IA=Er(()=>{A7();ZC();xc()});function d_(e){let t=e.raws;return t.value&&t.value.raw||e.value}var z8=Er(()=>{});function Ast(e){return n4u.test(e)}var n4u,mFr=Er(()=>{n4u=/@\{.+?\}/});function hst(e){return i4u.test(e)}var i4u,gFr=Er(()=>{i4u=/\$\(.+?\)/});function yst(e){return s4u.test(e)}var s4u,AFr=Er(()=>{s4u=/#\{.+?\}/s});function _st(e){return a4u.test(e)}var a4u,hFr=Er(()=>{a4u=/\{.+?\}/s});function c1e(e){return!!(Ast(e)||yst(e)||_st(e)||hst(e))}var Est=Er(()=>{mFr();gFr();AFr();hFr()});function k1(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||c1e(t)||/__MSG_\S+__/.test(e))}var _9=Er(()=>{Est()});function M6(e){return e.type==="root"}function _w(e){return e.type==="rule"}function o1(e){return e.type==="atrule"}function eK(e){return e.type==="comment"}function mX(e){return e.type==="decl"}function xst(e){return e.type==="document"}function yFr(e){return e.type==="div"}function tK(e){return e.type==="function"}function $6e({type:e}){return e==="word"}function _Fr(e){return!!e.source}var V_=Er(()=>{});function zA(e,t){if(!Array.isArray(e))return s9i(e,t);for(let r of e){let n=s9i(r,t);if(n)return n}return!1}function s9i(e,t){if(!Array.isArray(t))return o9i(e,t);for(let r of t){let n=o9i(e,r);if(n)return n}return!1}function a9i(e,t){let r=e.match(t);return r?{match:e,pattern:t,substring:r[0]??""}:!1}function o9i(e,t){if(t instanceof RegExp)return a9i(e,t);let r="i";if(t.startsWith("/")&&(t.endsWith("/")||t.endsWith(`/${r}`))){let i=t.endsWith(r)?new RegExp(t.slice(1,-2),r):new RegExp(t.slice(1,-1)),s=a9i(e,i);return s&&(s.pattern=t),s}return e===t?{match:e,pattern:t,substring:e}:!1}var SS=Er(()=>{});function ja(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&zA(r,e[t]))}var Fg=Er(()=>{SS()});var u9i,SPt,TPt,l9i,c9i,EFr,f9i,p9i,Ew,EO,K6e,lIe,xFr,yB=Er(()=>{u9i="./.stylelintcache",SPt="metadata",TPt="content",l9i=SPt,c9i=".stylelintignore",EFr="stylelint-suppressions.json",f9i=64,p9i=78,Ew="all",EO="error",K6e="warning",lIe=EO,xFr="lax"});function vFr(e,t){let{parent:r}=e;return r?e.type==="decl"&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:o1(e)&&!e.nodes&&(r.raws.semicolon||r.last!==e)?{...t,text:`${t.text};`}:t:t}var d9i=Er(()=>{V_()});function CFr(e,t){return e.endsWith(`(${t})`)?e:`${e} (${t})`}var m9i=Er(()=>{});function h9i(e,t,r,n){let i=JSON.stringify({message:e,options:{type:t,code:`stylelint:${r}`,detail:n}});g9i.has(i)||(g9i.add(i),A9i.default.emitWarning(e,{type:t,code:`stylelint:${r}`,detail:n}))}function AY(e,t,r){h9i(e,"DeprecationWarning",o4u[t],r)}function y9i(e,t,r){h9i(e,"ExperimentalWarning",u4u[t],r)}var A9i,o4u,u4u,g9i,Vje=Er(()=>{A9i=qi(require("node:process"),1),o4u={COMMONJS_PLUGINS:"001",COMMONJS_NODEJS_API:"002",RESULT_OUTPUT_PROPERTY:"003",GITHUB_FORMATTER:"004",CONTEXT_FIX:"005",RULE:"006",REPORT_AMBIGUOUS_POSITION:"007"},u4u={SUPPRESSIONS:"101"},g9i=new Set});function bFr(e,t){if(!e.source)return t;let r=t.range[0],n=t.range[1],i=e.source.input.css.slice(r,n),s=0;for(let u=0;ut.range[0]?(r--,s--):n{});function IFr(e,t){return!(e[1]<=t[0]||e[0]>=t[1])}var E9i=Er(()=>{});function as(e){let{node:t,index:r,endIndex:n,line:i,start:s,end:a,result:u,ruleName:l,word:f,fix:p,...g}=e;l4u(e);let{disabledRanges:A,quiet:h,ruleSeverities:_,config:{defaultSeverity:E,ignoreDisables:b}={},customMessages:{[l]:D=g.message},customUrls:{[l]:k},ruleMetadata:{[l]:M}}=u.stylelint,{messageArgs:R=[],severity:q=_[l]}=g,G=(uIe(q)?q(...R):q)??E??lIe;if(h&&G===K6e)return;if((uIe(p)||SFr(p))&&M&&!M.fixable)throw new Error(`The "${l}" rule requires "meta.fixable" to be truthy if the "fix" callback is being passed`);let K=i??t?.rangeBy({index:r,endIndex:n}).start.line;if(!K)throw new Error(`The "${l}" rule failed to pass either a node or a line number to the \`report()\` function.`);if(p4u({...e,line:K})||x9i(l,K,A)&&((u.stylelint.disabledWarnings||=[]).push({rule:l,line:K}),!b))return;!u.stylelint.stylelintError&&G===EO&&(u.stylelint.stylelintError=!0),!u.stylelint.stylelintWarning&&G===K6e&&(u.stylelint.stylelintWarning=!0);let Z={severity:G,rule:l};t&&(Z.node=t),s?Z.start=s:g7(r)&&(Z.index=r),a?Z.end=a:g7(n)&&(Z.endIndex=n),f&&(Z.word=f),k&&(Z.url=k),Z.fix=d4u({...e,line:K});let oe=c4u(D,R,l);u.warn(oe,Z)}function l4u(e){e.result.stylelint.quietDeprecationWarnings||(e.node||AY(`Omitting the \`node\` argument in the \`utils.report()\` function is deprecated ("${e.ruleName}").`,"REPORT_AMBIGUOUS_POSITION",`Please pass a \`node\` argument in the \`utils.report()\` function of "${e.ruleName}".`),!Z3i(e)&&("start"in e||"end"in e)&&AY(`Partial position information in the \`utils.report()\` function is deprecated ("${e.ruleName}").`,"REPORT_AMBIGUOUS_POSITION",`Please pass both a valid \`start\` and \`end\` argument in the \`utils.report()\` function of "${e.ruleName}".`),!g4u(e)&&("index"in e||"endIndex"in e)&&AY(`Partial position information in the \`utils.report()\` function is deprecated ("${e.ruleName}").`,"REPORT_AMBIGUOUS_POSITION",`Please pass both \`index\` and \`endIndex\` as arguments in the \`utils.report()\` function of "${e.ruleName}".`),"line"in e&&AY(`Providing the \`line\` argument in the \`utils.report()\` function is deprecated ("${e.ruleName}").`,"REPORT_AMBIGUOUS_POSITION",`Please pass both \`index\` and \`endIndex\` as arguments in the \`utils.report()\` function of "${e.ruleName}" instead.`))}function c4u(e,t,r){return CFr(ya(e)?f4u(e,...t):e(...t),r)}function f4u(e,...t){return t.reduce((r,n)=>r.replace(/%[ds]/,String(n)),e)}function x9i(e,t,r){let n=r[e]??r[Ew]??[];for(let i of n)if(i.start<=t&&(i.end===void 0||i.end>=t)&&(!i.rules||i.rules.includes(e)))return!0;return!1}function p4u({fix:e,line:t,result:{stylelint:r},ruleName:n}){if(!e)return!1;let{disabledRanges:i,config:s={},fixersData:a}=r;if(!s.fix||v9i(t,n,s,i))return!1;let u=SFr(e)?e.apply:e;return uIe(u)?(u(),m4u({fixersData:a,ruleName:n}),!0):!1}function d4u({fix:e,line:t,result:r,ruleName:n}){if(!e)return;let{disabledRanges:i,config:s={},rangesOfComputedEditInfos:a}=r.stylelint;if(!s.computeEditInfo||s.fix||v9i(t,n,s,i)||!SFr(e)||!e.apply||!e.node)return;let{apply:u,node:l}=e;if(!g7(l.source?.start?.offset)||!g7(l.source?.end?.offset))return;let f=[l.source.start.offset,l.source.end.offset];if(a.some(g=>IFr(g,f)))return;u();let p={range:f,text:l.toString(r.opts?.syntax)};return p=vFr(l,p),p=bFr(l,p),a.push(p.range),p}function v9i(e,t,r,n){return!!(r.rules?.[t][1]?.disableFix||!r.ignoreDisables&&x9i(t,e,n))}function m4u({fixersData:e,ruleName:t}){e[t]??=0,e[t]++}function g4u(e){return!(!_O(e)||!g7(e.index)||!g7(e.endIndex))}function SFr(e){return!(!_O(e)||!e.node||!uIe(e.apply))}var Hu=Er(()=>{xc();yB();d9i();m9i();Vje();_9i();E9i()});function ms(e,t){let r={};for(let[n,i]of Object.entries(t))typeof i=="string"?r[n]=`${i} (${e})`:r[n]=(...s)=>`${i(...s)} (${e})`;return r}var zu=Er(()=>{});function xw(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var rK=Er(()=>{});function J6e(e,t){return!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length?!1:e.every((r,n)=>r===t[n])}var DPt=Er(()=>{});function ps(e,t,...r){if(!e.stylelint.config?.validate)return!0;let i=!0;for(let a of r)y4u(a,t,s);function s(a){i=!1,e.warn(a,{stylelintType:"invalidOption"}),e.stylelint.stylelintError=!0}return i}function y4u({possible:e,actual:t,optional:r},n,i){if(t===!1&&!h4u.has(n))return i(`Invalid option value "false" for rule "${n}". Are you trying to disable this rule? If so use "null" instead`);if(t===null||J6e(t,[null]))return;let s=e==null||Array.isArray(e)&&e.length===0||_O(e)&&Object.keys(e).length===0;if(!(s&&t===!0)){if(t===void 0){if(s||r)return;i(`Expected option value for rule "${n}"`);return}if(s){if(r){i(`Incorrect configuration for rule "${n}". Rule should have "possible" values for options validation`);return}i(`Unexpected option value ${vst(t)} for rule "${n}"`);return}if(typeof e=="function"){e(t)||i(`Invalid option ${vst(t)} for rule "${n}"`);return}if(Array.isArray(e)){for(let a of[t].flat())C9i(e,a)||i(`Invalid option value ${vst(a)} for rule "${n}"`);return}if(!_O(t)||typeof t!="object"||t===null){i(`Invalid option value ${vst(t)} for rule "${n}": should be an object`);return}for(let[a,u]of Object.entries(t)){if(A4u.has(a))continue;let l=e&&e[a];if(!l){i(`Invalid option name "${a}" for rule "${n}"`);continue}for(let f of[u].flat())C9i(l,f)||i(`Invalid value ${vst(f)} for option "${a}" of rule "${n}"`)}}}function C9i(e,t){for(let r of[e].flat())if(typeof r=="function"&&r(t)||t===r)return!0;return!1}function vst(e){return typeof e=="string"?`"${e}"`:`"${JSON.stringify(e)}"`}var A4u,h4u,Vu=Er(()=>{DPt();xc();A4u=new Set(["severity","message","url","reportDisables","disableFix"]),h4u=new Set(["reportDescriptionlessDisables","reportInvalidScopeDisables","reportNeedlessDisables","reportUnscopedDisables"])});var D9i={};Mt(D9i,{default:()=>T4u});function C4u(e){let t=Number(e);return`${Number((t*100).toPrecision(3))}%`}function b4u(e){let t=Cst.default.unit(e);ov(t);let r=Number(t.number);return Number((r/100).toPrecision(3)).toString()}function I4u(e){return e.type==="word"||e.type==="function"?e:void 0}function S4u(e){if(e.nodes.some(({type:n,value:i})=>n==="div"&&i===",")){let n=e.nodes.filter(({type:i})=>i==="word"||i==="function");return n.length===4?n[3]:void 0}let r=e.nodes.findIndex(({type:n,value:i})=>n==="div"&&i==="/");if(r!==-1)return e.nodes.slice(r+1,e.nodes.length).find($6e)}function I9i(e){let t=Cst.default.unit(e);return t&&t.unit==="%"}function S9i(e){let t=Cst.default.unit(e);return t&&t.unit===""}var Cst,wPt,T9i,_4u,E4u,x4u,v4u,b9i,BPt,T4u,w9i=Er(()=>{Cst=qi(sh(),1);xc();IA();z8();_9();V_();Fg();Hu();zu();rK();Vu();wPt="alpha-value-notation",T9i=ms(wPt,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),_4u={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},E4u=/^(?:opacity|shape-image-threshold|fill-opacity|flood-opacity|stop-opacity|stroke-opacity)$/i,x4u=/(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)\(/i,v4u=/^(?:color|hsla?|rgba?|hwb|lab|lch|oklab|oklch)$/i,b9i=/\d/,BPt=(e,t)=>(r,n)=>{if(!ps(n,wPt,{actual:e,possible:["number","percentage"]},{actual:t,possible:{exceptProperties:[ya,nu]},optional:!0}))return;let s=Object.freeze({number:{expFunc:S9i,fixFunc:b4u},percentage:{expFunc:I9i,fixFunc:C4u}});r.walkDecls(a=>{let u=d_(a),l=E4u.test(a.prop);if(!(l||x4u.test(u))||!b9i.test(u))return;let p=(0,Cst.default)(u);p.walk(g=>{let A=l&&b9i.test(g.value),h=g.type==="function"&&v4u.test(g.value),_=A?I4u(g):h?S4u(g):void 0;if(!_)return;let{value:E}=_;if(!k1(E)||!S9i(E)&&!I9i(E))return;let b=e;if(ja(t,"exceptProperties",a.prop)&&(b==="number"?b="percentage":b==="percentage"&&(b="number")),s[b].expFunc(E))return;let D=s[b].fixFunc(E),k=E,M=Lp(a)+_.sourceIndex,R=M+_.value.length,q=()=>{_.value=D,xw(a,p.toString())};as({message:T9i.expected,messageArgs:[k,D],node:a,index:M,endIndex:R,result:n,ruleName:wPt,fix:{apply:q,node:a}})})})};BPt.ruleName=wPt;BPt.messages=T9i;BPt.meta=_4u;T4u=BPt});var P9i={};Mt(P9i,{default:()=>w4u});var B9i,kPt,k9i,D4u,PPt,w4u,N9i=Er(()=>{B9i=qi(sh(),1);xc();z8();_9();Fg();Hu();zu();Vu();kPt="annotation-no-unknown",k9i=ms(kPt,{rejected:e=>`Unexpected unknown annotation "${e}"`}),D4u={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},PPt=(e,t)=>(r,n)=>{if(!ps(n,kPt,{actual:e},{actual:t,possible:{ignoreAnnotations:[ya,nu]},optional:!0}))return;r.walkDecls(s);function s(u){if(!k1(u.value)||u.important||!u.value.includes("!"))return;(0,B9i.default)(d_(u)).walk(f=>{if(!a(f))return;let p=f.value,g=p.slice(1);ja(t,"ignoreAnnotations",g)||as({message:k9i.rejected,messageArgs:[p],node:u,result:n,ruleName:kPt,word:p})})}function a(u){return u.type==="word"&&u.value.startsWith("!")}};PPt.ruleName=kPt;PPt.messages=k9i;PPt.meta=D4u;w4u=PPt});function GE(e){return!(e.name.toLowerCase()==="charset"||!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var Q6=Er(()=>{});var Cg,Rv=Er(()=>{Cg={prefix(e){let t=e.match(/^(-\w+-)/);return t&&t[0]||""},unprefixed(e){return e.replace(/^-\w+-/,"")}}});var R9i={};Mt(R9i,{default:()=>k4u});var NPt,O9i,B4u,bst,k4u,F9i=Er(()=>{Q6();xc();Hu();zu();Vu();Rv();NPt="at-rule-allowed-list",O9i=ms(NPt,{rejected:e=>`Unexpected at-rule "${e}"`}),B4u={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},bst=e=>(t,r)=>{if(!ps(r,NPt,{actual:e,possible:[ya]}))return;let i=[e].flat();t.walkAtRules(s=>{let a=s.name;if(!GE(s)||i.includes(Cg.unprefixed(a).toLowerCase()))return;let u=`@${a}`;as({message:O9i.rejected,messageArgs:[u],node:s,result:r,ruleName:NPt,word:u})})};bst.primaryOptionArray=!0;bst.ruleName=NPt;bst.messages=O9i;bst.meta=B4u;k4u=bst});var L9i,M9i,H6e,TFr,P4u,Q9i,j9i,U9i,q9i,Y9i,f1e=Er(()=>{L9i=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),M9i=new Map([["border",new Set(["border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width"])],["font",new Set(["font-feature-settings","font-kerning","font-language-override","font-optical-sizing","font-size-adjust","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings"])]]),H6e=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width","border-top-style","border-right-style","border-bottom-style","border-left-style","border-top-color","border-right-color","border-bottom-color","border-left-color","border-width","border-style","border-color"])],["border-block",new Set(["border-block-width","border-block-style","border-block-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-right-color","border-bottom-color","border-left-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline",new Set(["border-inline-width","border-inline-style","border-inline-color"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-right-style","border-bottom-style","border-left-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-right-width","border-bottom-width","border-left-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","line-height","font-family"])],["font-synthesis",new Set(["font-synthesis-weight","font-synthesis-style","font-synthesis-small-caps"])],["font-variant",new Set(["font-variant-ligatures","font-variant-position","font-variant-caps","font-variant-numeric","font-variant-alternates","font-variant-east-asian","font-variant-emoji"])],["gap",new Set(["row-gap","column-gap"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["inset",new Set(["top","right","bottom","left"])],["inset-block",new Set(["inset-block-start","inset-block-end"])],["inset-inline",new Set(["inset-inline-start","inset-inline-end"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-right","margin-bottom","margin-left"])],["margin-block",new Set(["margin-block-start","margin-block-end"])],["margin-inline",new Set(["margin-inline-start","margin-inline-end"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["overflow",new Set(["overflow-x","overflow-y"])],["overscroll-behavior",new Set(["overscroll-behavior-x","overscroll-behavior-y"])],["padding",new Set(["padding-top","padding-right","padding-bottom","padding-left"])],["padding-block",new Set(["padding-block-start","padding-block-end"])],["padding-inline",new Set(["padding-inline-start","padding-inline-end"])],["place-content",new Set(["align-content","justify-content"])],["place-items",new Set(["align-items","justify-items"])],["place-self",new Set(["align-self","justify-self"])],["scroll-margin",new Set(["scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left"])],["scroll-margin-block",new Set(["scroll-margin-block-start","scroll-margin-block-end"])],["scroll-margin-inline",new Set(["scroll-margin-inline-start","scroll-margin-inline-end"])],["scroll-padding",new Set(["scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left"])],["scroll-padding-block",new Set(["scroll-padding-block-start","scroll-padding-block-end"])],["scroll-padding-inline",new Set(["scroll-padding-inline-start","scroll-padding-inline-end"])],["text-decoration",new Set(["text-decoration-line","text-decoration-style","text-decoration-color","text-decoration-thickness"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-property","transition-duration","transition-timing-function","transition-delay"])]]),TFr=new Set(["accent-color","background-color","border-block-color","border-block-end-color","border-block-start-color","border-bottom-color","border-inline-color","border-inline-end-color","border-inline-start-color","border-left-color","border-right-color","border-top-color","caret-color","color","column-rule-color","outline-color","text-decoration-color","text-emphasis-color","flood-color","lighting-color","stop-color"]),P4u=new Set(["border-color","scrollbar-color"]),Q9i=new Set([...TFr,...P4u]),j9i=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),U9i=new Set(["transition","animation"]),q9i=new Set(["direction","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","visibility","width","min-width","max-width"]),Y9i=new Set(["direction","unicode-bidi","background-color","background-image","background-repeat","background-attachment","background-position","background","border-top-width","border-right-width","border-bottom-width","border-left-width","border-width","border-top-color","border-right-color","border-bottom-color","border-left-color","border-color","border-top-style","border-right-style","border-bottom-style","border-left-style","border-style","border-top","border-right","border-bottom","border-left","border","counter-reset","counter-increment","content","color","font-family","font-size","font-style","font-variant","font-weight","font","height","min-height","max-height","line-height","margin-top","margin-right","margin-bottom","margin-left","margin","outline-width","outline-style","outline-color","outline","overflow","padding-top","padding-right","padding-bottom","padding-left","padding","quotes","letter-spacing","text-align","text-decoration","text-indent","text-transform","white-space","word-spacing","vertical-align","visibility","width","min-width","max-width","z-index"])});function B_(...e){return new Set([...e].reduce((t,r)=>[...t,...r],[]))}var z6e=Er(()=>{});var DFr,W6e,wFr,N4u,G9i,X6e=Er(()=>{z6e();DFr=new Set(["document","nest","viewport"]),W6e=new Set(["apply","container","layer","media","scope","starting-style","supports"]),wFr=new Set(["top-left-corner","top-left","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"]),N4u=new Set(["annotation","character-variant","historical-forms","ornaments","styleset","stylistic","swash"]),G9i=B_(DFr,W6e,wFr,N4u,["counter-style","custom-media","custom-selector","font-face","font-feature-values","font-palette-values","import","keyframes","namespace","page","position-try","property","scroll-timeline","view-transition"])});var SA,V9i,$9i,K9i,EC=Er(()=>{X6e();SA={mediaName:/^media$/i,keyframesName:/^(-(o|moz|ms|webkit)-)?keyframes$/i,propertyName:/^property$/i,importName:/^import$/i,unsupportedNestingNames:new RegExp(`^((?!${[...W6e.values()].join("|")}).)*$`,"i"),layerName:/^layer$/i,containerName:/^container$/i,scopeName:/^scope$/i},V9i={syntaxName:/^syntax$/i},$9i={layer:/layer\((.*?)\)/i},K9i={containerNameAndShorthandName:/^container(-name)?$/i}});function Z6e(e){if(!e?.lexer)throw new Error('Expected a "lexer" object');return e.lexer}var OPt=Er(()=>{});function Ist(e){return!!(e.startsWith("$")||e.includes(".$"))}var BFr=Er(()=>{});function Fv(e){let t=e.prop,r=e.parent;return!(Ist(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&_w(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&_w(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var xO=Er(()=>{V_();BFr()});var H9i={};Mt(H9i,{default:()=>L4u});function R4u(e,t,r){return e.name.toLowerCase()==="page"&&wFr.has(r.name.toLowerCase())&&Y9i.has(t)}function F4u(e,t){return e.name.toLowerCase()==="page"&&q9i.has(t)}var RPt,J9i,O4u,FPt,L4u,z9i=Er(()=>{f1e();EC();OPt();V_();Q6();xO();X6e();Hu();zu();Vu();RPt="at-rule-descriptor-no-unknown",J9i=ms(RPt,{rejected:(e,t)=>`Unexpected unknown descriptor "${t}" for at-rule "${e}"`}),O4u={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-no-unknown"},FPt=(e,t,r)=>(n,i)=>{ps(i,RPt,{actual:e})&&n.walkAtRules(SA.unsupportedNestingNames,a=>{GE(a)&&a.walkDecls(u=>{if(!Fv(u))return;let{prop:l,value:f,parent:p}=u;if(F4u(a,l)||p&&o1(p)&&R4u(a,l,p))return;let g=Z6e(r),{error:A}=g.matchAtruleDescriptor(a.name,l,f);if(!A||A.name!=="SyntaxReferenceError"||!A.message.startsWith("Unknown at-rule descriptor"))return;let h=`@${a.name}`;as({message:J9i.rejected,messageArgs:[h,l],node:u,index:0,endIndex:l.length,ruleName:RPt,result:i})})})};FPt.ruleName=RPt;FPt.messages=J9i;FPt.meta=O4u;L4u=FPt});var X9i={};Mt(X9i,{default:()=>Q4u});var LPt,W9i,M4u,MPt,Q4u,Z9i=Er(()=>{EC();IA();OPt();Q6();xO();Hu();zu();Vu();LPt="at-rule-descriptor-value-no-unknown",W9i=ms(LPt,{rejected:(e,t)=>`Unexpected unknown value "${t}" for descriptor "${e}"`}),M4u={url:"https://stylelint.io/user-guide/rules/at-rule-descriptor-value-no-unknown"},MPt=(e,t,r)=>(n,i)=>{ps(i,LPt,{actual:e})&&n.walkAtRules(SA.unsupportedNestingNames,a=>{GE(a)&&a.walkDecls(u=>{if(!Fv(u))return;let{prop:l,value:f}=u,p=Z6e(r),{error:g}=p.matchAtruleDescriptor(a.name,l,f);if(!g||g.name!=="SyntaxMatchError")return;let A=Lp(u),h=A+f.length;as({message:W9i.rejected,messageArgs:[l,f],node:u,index:A,endIndex:h,ruleName:LPt,result:i})})})};MPt.ruleName=LPt;MPt.messages=W9i;MPt.meta=M4u;Q4u=MPt});var t8i={};Mt(t8i,{default:()=>U4u});var QPt,e8i,j4u,Sst,U4u,r8i=Er(()=>{Q6();xc();Hu();zu();Vu();Rv();QPt="at-rule-disallowed-list",e8i=ms(QPt,{rejected:e=>`Unexpected at-rule "${e}"`}),j4u={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Sst=e=>(t,r)=>{if(!ps(r,QPt,{actual:e,possible:[ya]}))return;let i=[e].flat();t.walkAtRules(s=>{let a=s.name;if(!GE(s)||!i.includes(Cg.unprefixed(a).toLowerCase()))return;let u=`@${s.name}`;as({message:e8i.rejected,messageArgs:[u],node:s,result:r,ruleName:QPt,word:u})})};Sst.primaryOptionArray=!0;Sst.ruleName=QPt;Sst.messages=e8i;Sst.meta=j4u;U4u=Sst});function kFr(e,t){let{raws:r}=e;return typeof r.before!="string"||(r.before=/\r?\n/.test(r.before)?r.before.replace(/(\r?\n)/,`${t}$1`):t.repeat(2)+r.before),e}var n8i=Er(()=>{});function PFr(e,t){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,t):"",e}var i8i=Er(()=>{});function Sie({node:e,newline:t,action:r}){switch(ov(t),r){case"add":kFr(e,t);break;case"remove":PFr(e,t);break;default:throw new TypeError(`Unknown action ${r}`)}}var $je=Er(()=>{n8i();xc();i8i()});function jPt(e){return e.source&&e.source.start&&e.source.start.line}function vO(e){if(e===void 0)return;let t=e.prev();if(!t||t.type!=="comment")return t;if(jPt(e)===jPt(t))return vO(t);let r=t.prev();return r&&jPt(t)===jPt(r)?vO(t):t}var cIe=Er(()=>{});function Tie(e){return e===""||e===void 0?!1:q4u.test(e)}var q4u,Kje=Er(()=>{q4u=/\n[\r\t ]*\n/});function UPt(e){return e&&e.source&&e.source.start&&e.source.start.line}function qPt(e){if(e===void 0)return;let t=e.next();return!t||t.type!=="comment"?t:UPt(e)===UPt(t)||UPt(t)===UPt(t.next())?qPt(t):t}var s8i=Er(()=>{});function a8i(e,t){let r=e&&e.source&&e.source.end&&e.source.end.line,n=t&&t.source&&t.source.start&&t.source.start.line;return r===n}function eke(e){if(!eK(e))return!1;let t=vO(e);if(a8i(t,e))return!0;let r=qPt(e);if(r&&a8i(e,r))return!0;let n=e.parent;return n!==void 0&&!M6(n)&&n.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(` `)}var YPt=Er(()=>{V_();s8i();cIe()});function Die(e){let t=e.prev();return!t||t.type!=="comment"?!1:!eke(t)}var Tst=Er(()=>{YPt()});function Wce(e){return e.nodes!==void 0}var Dst=Er(()=>{});function Jje(e){if(e.type!=="atrule")return!1;let t=vO(e);return t===void 0?!1:o1(t)&&!Wce(t)&&!Wce(e)}var NFr=Er(()=>{cIe();Dst();V_()});function GPt(e){if(!Jje(e))return!1;let t=vO(e);return t&&o1(t)?t.name===e.name:!1}var o8i=Er(()=>{cIe();V_();NFr()});function TQ(e){let t=e.parent;if(t===void 0||M6(t)&&!Y4u(t))return!1;if(e===t.first)return!0;let r=t.nodes;if(!r)return!1;let n=r[0];if(!n||!eK(n)||typeof n.raws.before=="string"&&n.raws.before.includes(` `)||!_Fr(n)||!n.source.start)return!1;let i=n.source.start.line;if(!n.source.end||i!==n.source.end.line)return!1;for(let[s,a]of r.entries())if(s!==0){if(a===e)return!0;if(!eK(a)||_Fr(a)&&a.source.end&&a.source.end.line!==i)return!1}return!1}function Y4u({parent:e}){return!!(e&&xst(e))}var Hje=Er(()=>{V_()});function p1e(e){if(M6(e))return!1;let t=e.parent;return t?M6(t)&&e===t.first:!1}var wst=Er(()=>{V_()});var u8i={};Mt(u8i,{default:()=>$4u});function V4u(e){let t=vO(e);return t&&o1(t)&&t.name===e.name}var VPt,OFr,G4u,$Pt,$4u,l8i=Er(()=>{xc();$je();cIe();Kje();Tst();V_();NFr();o8i();Hje();wst();Q6();Fg();Hu();zu();Vu();VPt="at-rule-empty-line-before",OFr=ms(VPt,{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"}),G4u={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},$Pt=(e,t,r)=>(n,i)=>{if(!ps(i,VPt,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-same-name","inside-block","blockless-after-same-name-blockless","blockless-after-blockless","first-nested"],ignore:["after-comment","first-nested","inside-block","blockless-after-same-name-blockless","blockless-after-blockless"],ignoreAtRules:[ya,nu]},optional:!0}))return;let a=e;n.walkAtRules(u=>{let l=u.parent&&u.parent.type!=="root";if(p1e(u)||!GE(u)||ja(t,"ignoreAtRules",u.name)||ja(t,"ignore","blockless-after-blockless")&&Jje(u)||ja(t,"ignore","first-nested")&&TQ(u)||ja(t,"ignore","blockless-after-same-name-blockless")&&GPt(u)||ja(t,"ignore","inside-block")&&l||ja(t,"ignore","after-comment")&&Die(u))return;let f=Tie(u.raws.before),p=a==="always";if((ja(t,"except","after-same-name")&&V4u(u)||ja(t,"except","inside-block")&&l||ja(t,"except","first-nested")&&TQ(u)||ja(t,"except","blockless-after-blockless")&&Jje(u)||ja(t,"except","blockless-after-same-name-blockless")&&GPt(u))&&(p=!p),p===f)return;let g=p?OFr.expected:OFr.rejected,A=p?"add":"remove";as({message:g,messageArgs:[],node:u,result:i,ruleName:VPt,fix:{apply:()=>Sie({node:u,newline:r.newline,action:A}),node:u.parent}})})};$Pt.ruleName=VPt;$Pt.messages=OFr;$Pt.meta=G4u;$4u=$Pt});var zje=j((Pyg,RFr)=>{var JPt=process||{},c8i=JPt.argv||[],KPt=JPt.env||{},K4u=!(KPt.NO_COLOR||c8i.includes("--no-color"))&&(!!KPt.FORCE_COLOR||c8i.includes("--color")||JPt.platform==="win32"||(JPt.stdout||{}).isTTY&&KPt.TERM!=="dumb"||!!KPt.CI),J4u=(e,t,r=e)=>n=>{let i=""+n,s=i.indexOf(t,e.length);return~s?e+H4u(i,t,r,s)+t:e+i+t},H4u=(e,t,r,n)=>{let i="",s=0;do i+=e.substring(s,n)+r,s=n+t.length,n=e.indexOf(t,s);while(~n);return i+e.substring(s)},f8i=(e=K4u)=>{let t=e?J4u:()=>String;return{isColorSupported:e,reset:t("\x1B[0m","\x1B[0m"),bold:t("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:t("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:t("\x1B[3m","\x1B[23m"),underline:t("\x1B[4m","\x1B[24m"),inverse:t("\x1B[7m","\x1B[27m"),hidden:t("\x1B[8m","\x1B[28m"),strikethrough:t("\x1B[9m","\x1B[29m"),black:t("\x1B[30m","\x1B[39m"),red:t("\x1B[31m","\x1B[39m"),green:t("\x1B[32m","\x1B[39m"),yellow:t("\x1B[33m","\x1B[39m"),blue:t("\x1B[34m","\x1B[39m"),magenta:t("\x1B[35m","\x1B[39m"),cyan:t("\x1B[36m","\x1B[39m"),white:t("\x1B[37m","\x1B[39m"),gray:t("\x1B[90m","\x1B[39m"),bgBlack:t("\x1B[40m","\x1B[49m"),bgRed:t("\x1B[41m","\x1B[49m"),bgGreen:t("\x1B[42m","\x1B[49m"),bgYellow:t("\x1B[43m","\x1B[49m"),bgBlue:t("\x1B[44m","\x1B[49m"),bgMagenta:t("\x1B[45m","\x1B[49m"),bgCyan:t("\x1B[46m","\x1B[49m"),bgWhite:t("\x1B[47m","\x1B[49m"),blackBright:t("\x1B[90m","\x1B[39m"),redBright:t("\x1B[91m","\x1B[39m"),greenBright:t("\x1B[92m","\x1B[39m"),yellowBright:t("\x1B[93m","\x1B[39m"),blueBright:t("\x1B[94m","\x1B[39m"),magentaBright:t("\x1B[95m","\x1B[39m"),cyanBright:t("\x1B[96m","\x1B[39m"),whiteBright:t("\x1B[97m","\x1B[39m"),bgBlackBright:t("\x1B[100m","\x1B[49m"),bgRedBright:t("\x1B[101m","\x1B[49m"),bgGreenBright:t("\x1B[102m","\x1B[49m"),bgYellowBright:t("\x1B[103m","\x1B[49m"),bgBlueBright:t("\x1B[104m","\x1B[49m"),bgMagentaBright:t("\x1B[105m","\x1B[49m"),bgCyanBright:t("\x1B[106m","\x1B[49m"),bgWhiteBright:t("\x1B[107m","\x1B[49m")}};RFr.exports=f8i();RFr.exports.createColors=f8i});var fIe=j((Nyg,d8i)=>{"use strict";var HPt=/[\t\n\f\r "#'()/;[\\\]{}]/g,zPt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,z4u=/.[\r\n"'(/\\]/,p8i=/[\da-f]/i;d8i.exports=function(t,r={}){let n=t.css.valueOf(),i=r.ignoreErrors,s,a,u,l,f,p,g,A,h,_,E=n.length,b=0,D=[],k=[];function M(){return b}function R(Z){throw t.error("Unclosed "+Z,b)}function q(){return k.length===0&&b>=E}function G(Z){if(k.length)return k.pop();if(b>=E)return;let oe=Z?Z.ignoreUnclosed:!1;switch(s=n.charCodeAt(b),s){case 10:case 32:case 9:case 13:case 12:{l=b;do l+=1,s=n.charCodeAt(l);while(s===32||s===10||s===9||s===13||s===12);p=["space",n.slice(b,l)],b=l-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let ue=String.fromCharCode(s);p=[ue,ue,b];break}case 40:{if(_=D.length?D.pop()[1]:"",h=n.charCodeAt(b+1),_==="url"&&h!==39&&h!==34&&h!==32&&h!==10&&h!==9&&h!==12&&h!==13){l=b;do{if(g=!1,l=n.indexOf(")",l+1),l===-1)if(i||oe){l=b;break}else R("bracket");for(A=l;n.charCodeAt(A-1)===92;)A-=1,g=!g}while(g);p=["brackets",n.slice(b,l+1),b,l],b=l}else l=n.indexOf(")",b+1),a=n.slice(b,l+1),l===-1||z4u.test(a)?p=["(","(",b]:(p=["brackets",a,b,l],b=l);break}case 39:case 34:{f=s===39?"'":'"',l=b;do{if(g=!1,l=n.indexOf(f,l+1),l===-1)if(i||oe){l=b+1;break}else R("string");for(A=l;n.charCodeAt(A-1)===92;)A-=1,g=!g}while(g);p=["string",n.slice(b,l+1),b,l],b=l;break}case 64:{HPt.lastIndex=b+1,HPt.test(n),HPt.lastIndex===0?l=n.length-1:l=HPt.lastIndex-2,p=["at-word",n.slice(b,l+1),b,l],b=l;break}case 92:{for(l=b,u=!0;n.charCodeAt(l+1)===92;)l+=1,u=!u;if(s=n.charCodeAt(l+1),u&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(l+=1,p8i.test(n.charAt(l)))){for(;p8i.test(n.charAt(l+1));)l+=1;n.charCodeAt(l+1)===32&&(l+=1)}p=["word",n.slice(b,l+1),b,l],b=l;break}default:{s===47&&n.charCodeAt(b+1)===42?(l=n.indexOf("*/",b+2)+1,l===0&&(i||oe?l=n.length:R("comment")),p=["comment",n.slice(b,l+1),b,l],b=l):(zPt.lastIndex=b+1,zPt.test(n),zPt.lastIndex===0?l=n.length-1:l=zPt.lastIndex-2,p=["word",n.slice(b,l+1),b,l],D.push(p),b=l);break}}return b++,p}function K(Z){k.push(Z)}return{back:K,endOfFile:q,nextToken:G,position:M}}});var FFr=j((Oyg,A8i)=>{"use strict";var DQ=zje(),W4u=fIe(),m8i;function X4u(e){m8i=e}var Z4u={";":DQ.yellow,":":DQ.yellow,"(":DQ.cyan,")":DQ.cyan,"[":DQ.yellow,"]":DQ.yellow,"{":DQ.yellow,"}":DQ.yellow,"at-word":DQ.cyan,brackets:DQ.cyan,call:DQ.cyan,class:DQ.yellow,comment:DQ.gray,hash:DQ.magenta,string:DQ.green};function eBu([e,t],r){if(e==="word"){if(t[0]===".")return"class";if(t[0]==="#")return"hash"}if(!r.endOfFile()){let n=r.nextToken();if(r.back(n),n[0]==="brackets"||n[0]==="(")return"call"}return e}function g8i(e){let t=W4u(new m8i(e),{ignoreErrors:!0}),r="";for(;!t.endOfFile();){let n=t.nextToken(),i=Z4u[eBu(n,t)];i?r+=n[1].split(/\r?\n/).map(s=>i(s)).join(` `):r+=n[1]}return r}g8i.registerInput=X4u;A8i.exports=g8i});var WPt=j((Ryg,_8i)=>{"use strict";var h8i=zje(),y8i=FFr(),Bst=class e extends Error{constructor(t,r,n,i,s,a){super(t),this.name="CssSyntaxError",this.reason=t,s&&(this.file=s),i&&(this.source=i),a&&(this.plugin=a),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(t){if(!this.source)return"";let r=this.source;t==null&&(t=h8i.isColorSupported);let n=p=>p,i=p=>p,s=p=>p;if(t){let{bold:p,gray:g,red:A}=h8i.createColors(!0);i=h=>p(A(h)),n=h=>g(h),y8i&&(s=h=>y8i(h))}let a=r.split(/\r?\n/),u=Math.max(this.line-3,0),l=Math.min(this.line+2,a.length),f=String(l).length;return a.slice(u,l).map((p,g)=>{let A=u+1+g,h=" "+(" "+A).slice(-f)+" | ";if(A===this.line){if(p.length>160){let E=20,b=Math.max(0,this.column-E),D=Math.max(this.column+E,this.endColumn+E),k=p.slice(b,D),M=n(h.replace(/\d/g," "))+p.slice(0,Math.min(this.column-1,E-1)).replace(/[^\t]/g," ");return i(">")+n(h)+s(k)+` `+M+i("^")}let _=n(h.replace(/\d/g," "))+p.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(h)+s(p)+` `+_+i("^")}return" "+n(h)+s(p)}).join(` `)}toString(){let t=this.showSourceCode();return t&&(t=` `+t+` `),this.name+": "+this.message+t}};_8i.exports=Bst;Bst.default=Bst});var Wje=j((Fyg,x8i)=>{"use strict";var E8i={after:` `,beforeClose:` `,beforeComment:` `,beforeDecl:` `,beforeOpen:" ",beforeRule:` `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function tBu(e){return e[0].toUpperCase()+e.slice(1)}var kst=class{constructor(t){this.builder=t}atrule(t,r){let n="@"+t.name,i=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName<"u"?n+=t.raws.afterName:i&&(n+=" "),t.nodes)this.block(t,n+i);else{let s=(t.raws.between||"")+(r?";":"");this.builder(n+i+s,t)}}beforeAfter(t,r){let n;t.type==="decl"?n=this.raw(t,null,"beforeDecl"):t.type==="comment"?n=this.raw(t,null,"beforeComment"):r==="before"?n=this.raw(t,null,"beforeRule"):n=this.raw(t,null,"beforeClose");let i=t.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(n.includes(` `)){let a=this.raw(t,null,"indent");if(a.length)for(let u=0;u0&&t.nodes[r].type==="comment";)r-=1;let n=this.raw(t,"semicolon");for(let i=0;i{if(i=l.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=E8i[n]),a.rawCache[n]=i,i}rawBeforeClose(t){let r;return t.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeComment(t,r){let n;return t.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(` `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(t,r){let n;return t.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(` `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(t){let r;return t.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawBeforeRule(t){let r;return t.walk(n=>{if(n.nodes&&(n.parent!==t||t.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(` `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawColon(t){let r;return t.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}rawEmptyBody(t){let r;return t.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(t){if(t.raws.indent)return t.raws.indent;let r;return t.walk(n=>{let i=n.parent;if(i&&i!==t&&i.parent&&i.parent===t&&typeof n.raws.before<"u"){let s=n.raws.before.split(` `);return r=s[s.length-1],r=r.replace(/\S/g,""),!1}}),r}rawSemicolon(t){let r;return t.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawValue(t,r){let n=t[r],i=t.raws[r];return i&&i.value===n?i.raw:n}root(t){this.body(t),t.raws.after&&this.builder(t.raws.after)}rule(t){this.block(t,this.rawValue(t,"selector")),t.raws.ownSemicolon&&this.builder(t.raws.ownSemicolon,t,"end")}stringify(t,r){if(!this[t.type])throw new Error("Unknown AST node type "+t.type+". Maybe you need to change PostCSS stringifier.");this[t.type](t,r)}};x8i.exports=kst;kst.default=kst});var tke=j((Lyg,v8i)=>{"use strict";var rBu=Wje();function LFr(e,t){new rBu(t).stringify(e)}v8i.exports=LFr;LFr.default=LFr});var XPt=j((Myg,MFr)=>{"use strict";MFr.exports.isClean=Symbol("isClean");MFr.exports.my=Symbol("my")});var Ost=j((Qyg,C8i)=>{"use strict";var nBu=WPt(),iBu=Wje(),sBu=tke(),{isClean:Pst,my:aBu}=XPt();function QFr(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n)||n==="proxyCache")continue;let i=e[n],s=typeof i;n==="parent"&&s==="object"?t&&(r[n]=t):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(a=>QFr(a,r)):(s==="object"&&i!==null&&(i=QFr(i)),r[n]=i)}return r}function d1e(e,t){if(t&&typeof t.offset<"u")return t.offset;let r=1,n=1,i=0;for(let s=0;st.root().toProxy():t[r]},set(t,r,n){return t[r]===n||(t[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&t.markDirty()),!0}}}markClean(){this[Pst]=!0}markDirty(){if(this[Pst]){this[Pst]=!1;let t=this;for(;t=t.parent;)t[Pst]=!1}}next(){if(!this.parent)return;let t=this.parent.index(this);return this.parent.nodes[t+1]}positionBy(t={}){let r=this.source.start;if(t.index)r=this.positionInside(t.index);else if(t.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,s=n.slice(d1e(n,this.source.start),d1e(n,this.source.end)).indexOf(t.word);s!==-1&&(r=this.positionInside(s))}return r}positionInside(t){let r=this.source.start.column,n=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,s=d1e(i,this.source.start),a=s+t;for(let u=s;utypeof l=="object"&&l.toJSON?l.toJSON(null,r):l);else if(typeof u=="object"&&u.toJSON)n[a]=u.toJSON(null,r);else if(a==="source"){if(u==null)continue;let l=r.get(u.input);l==null&&(l=s,r.set(u.input,s),s++),n[a]={end:u.end,inputId:l,start:u.start}}else n[a]=u}return i&&(n.inputs=[...r.keys()].map(a=>a.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(t=sBu){t.stringify&&(t=t.stringify);let r="";return t(this,n=>{r+=n}),r}warn(t,r,n={}){let i={node:this};for(let s in n)i[s]=n[s];return t.warn(r,i)}};C8i.exports=Nst;Nst.default=Nst});var pIe=j((jyg,b8i)=>{"use strict";var oBu=Ost(),Rst=class extends oBu{constructor(t){super(t),this.type="comment"}};b8i.exports=Rst;Rst.default=Rst});var Lst=j((Uyg,I8i)=>{"use strict";var uBu=Ost(),Fst=class extends uBu{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(t){t&&typeof t.value<"u"&&typeof t.value!="string"&&(t={...t,value:String(t.value)}),super(t),this.type="decl"}};I8i.exports=Fst;Fst.default=Fst});var dIe=j((qyg,O8i)=>{"use strict";var S8i=pIe(),T8i=Lst(),lBu=Ost(),{isClean:D8i,my:w8i}=XPt(),jFr,B8i,k8i,UFr;function P8i(e){return e.map(t=>(t.nodes&&(t.nodes=P8i(t.nodes)),delete t.source,t))}function N8i(e){if(e[D8i]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)N8i(t)}var wie=class e extends lBu{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...t){for(let r of t){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(t){if(super.cleanRaws(t),this.nodes)for(let r of this.nodes)r.cleanRaws(t)}each(t){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]t[r](...n.map(i=>typeof i=="function"?(s,a)=>i(s.toProxy(),a):i)):r==="every"||r==="some"?n=>t[r]((i,...s)=>n(i.toProxy(),...s)):r==="root"?()=>t.root().toProxy():r==="nodes"?t.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?t[r].toProxy():t[r]:t[r]},set(t,r,n){return t[r]===n||(t[r]=n,(r==="name"||r==="params"||r==="selector")&&t.markDirty()),!0}}}index(t){return typeof t=="number"?t:(t.proxyOf&&(t=t.proxyOf),this.proxyOf.nodes.indexOf(t))}insertAfter(t,r){let n=this.index(t),i=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(t);for(let a of i)this.proxyOf.nodes.splice(n+1,0,a);let s;for(let a in this.indexes)s=this.indexes[a],n"u")t=[];else if(Array.isArray(t)){t=t.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if(t.type==="root"&&this.type!=="document"){t=t.nodes.slice(0);for(let i of t)i.parent&&i.parent.removeChild(i,"ignore")}else if(t.type)t=[t];else if(t.prop){if(typeof t.value>"u")throw new Error("Value field is missed in node creation");typeof t.value!="string"&&(t.value=String(t.value)),t=[new T8i(t)]}else if(t.selector||t.selectors)t=[new UFr(t)];else if(t.name)t=[new jFr(t)];else if(t.text)t=[new S8i(t)];else throw new Error("Unknown node type in node creation");return t.map(i=>(i[w8i]||e.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[D8i]&&N8i(i),i.raws||(i.raws={}),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...t){t=t.reverse();for(let r of t){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}push(t){return t.parent=this,this.proxyOf.nodes.push(t),this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(t){t=this.index(t),this.proxyOf.nodes[t].parent=void 0,this.proxyOf.nodes.splice(t,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=t&&(this.indexes[n]=r-1);return this.markDirty(),this}replaceValues(t,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(t,n))}),this.markDirty(),this}some(t){return this.nodes.some(t)}walk(t){return this.each((r,n)=>{let i;try{i=t(r,n)}catch(s){throw r.addToError(s)}return i!==!1&&r.walk&&(i=r.walk(t)),i})}walkAtRules(t,r){return r?t instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&t.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===t)return r(n,i)}):(r=t,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(t){return this.walk((r,n)=>{if(r.type==="comment")return t(r,n)})}walkDecls(t,r){return r?t instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&t.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===t)return r(n,i)}):(r=t,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(t,r){return r?t instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&t.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===t)return r(n,i)}):(r=t,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}};wie.registerParse=e=>{B8i=e};wie.registerRule=e=>{UFr=e};wie.registerAtRule=e=>{jFr=e};wie.registerRoot=e=>{k8i=e};O8i.exports=wie;wie.default=wie;wie.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,jFr.prototype):e.type==="rule"?Object.setPrototypeOf(e,UFr.prototype):e.type==="decl"?Object.setPrototypeOf(e,T8i.prototype):e.type==="comment"?Object.setPrototypeOf(e,S8i.prototype):e.type==="root"&&Object.setPrototypeOf(e,k8i.prototype),e[w8i]=!0,e.nodes&&e.nodes.forEach(t=>{wie.rebuild(t)})}});var ZPt=j((Yyg,F8i)=>{"use strict";var R8i=dIe(),Xje=class extends R8i{constructor(t){super(t),this.type="atrule"}append(...t){return this.proxyOf.nodes||(this.nodes=[]),super.append(...t)}prepend(...t){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...t)}};F8i.exports=Xje;Xje.default=Xje;R8i.registerAtRule(Xje)});var eNt=j((Gyg,Q8i)=>{"use strict";var cBu=dIe(),L8i,M8i,rke=class extends cBu{constructor(t){super({type:"document",...t}),this.nodes||(this.nodes=[])}toResult(t={}){return new L8i(new M8i,this,t).stringify()}};rke.registerLazyResult=e=>{L8i=e};rke.registerProcessor=e=>{M8i=e};Q8i.exports=rke;rke.default=rke});var U8i=j((Vyg,j8i)=>{var fBu="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",pBu=(e,t=21)=>(r=t)=>{let n="",i=r|0;for(;i--;)n+=e[Math.random()*e.length|0];return n},dBu=(e=21)=>{let t="",r=e|0;for(;r--;)t+=fBu[Math.random()*64|0];return t};j8i.exports={nanoid:dBu,customAlphabet:pBu}});var Y8i=j(qFr=>{var q8i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");qFr.encode=function(e){if(0<=e&&e{var G8i=Y8i(),YFr=5,V8i=1<>1;return t?-r:r}GFr.encode=function(t){var r="",n,i=mBu(t);do n=i&$8i,i>>>=YFr,i>0&&(n|=K8i),r+=G8i.encode(n);while(i>0);return r};GFr.decode=function(t,r,n){var i=t.length,s=0,a=0,u,l;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(l=G8i.decode(t.charCodeAt(r++)),l===-1)throw new Error("Invalid base64 digit: "+t.charAt(r-1));u=!!(l&K8i),l&=$8i,s=s+(l<{function ABu(e,t,r){if(t in e)return e[t];if(arguments.length===3)return r;throw new Error('"'+t+'" is a required argument.')}nP.getArg=ABu;var J8i=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,hBu=/^data:.+\,.+$/;function Mst(e){var t=e.match(J8i);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}nP.urlParse=Mst;function Zje(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}nP.urlGenerate=Zje;var yBu=32;function _Bu(e){var t=[];return function(r){for(var n=0;nyBu&&t.pop(),s}}var $Fr=_Bu(function(t){var r=t,n=Mst(t);if(n){if(!n.path)return t;r=n.path}for(var i=nP.isAbsolute(r),s=[],a=0,u=0;;)if(a=u,u=r.indexOf("/",a),u===-1){s.push(r.slice(a));break}else for(s.push(r.slice(a,u));u=0;u--)l=s[u],l==="."?s.splice(u,1):l===".."?f++:f>0&&(l===""?(s.splice(u+1,f),f=0):(s.splice(u,2),f--));return r=s.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,Zje(n)):r});nP.normalize=$Fr;function H8i(e,t){e===""&&(e="."),t===""&&(t=".");var r=Mst(t),n=Mst(e);if(n&&(e=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Zje(r);if(r||t.match(hBu))return t;if(n&&!n.host&&!n.path)return n.host=t,Zje(n);var i=t.charAt(0)==="/"?t:$Fr(e.replace(/\/+$/,"")+"/"+t);return n?(n.path=i,Zje(n)):i}nP.join=H8i;nP.isAbsolute=function(e){return e.charAt(0)==="/"||J8i.test(e)};function EBu(e,t){e===""&&(e="."),e=e.replace(/\/$/,"");for(var r=0;t.indexOf(e+"/")!==0;){var n=e.lastIndexOf("/");if(n<0||(e=e.slice(0,n),e.match(/^([^\/]+:\/)?\/*$/)))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)}nP.relative=EBu;var z8i=(function(){var e=Object.create(null);return!("__proto__"in e)})();function W8i(e){return e}function xBu(e){return X8i(e)?"$"+e:e}nP.toSetString=z8i?W8i:xBu;function vBu(e){return X8i(e)?e.slice(1):e}nP.fromSetString=z8i?W8i:vBu;function X8i(e){if(!e)return!1;var t=e.length;if(t<9||e.charCodeAt(t-1)!==95||e.charCodeAt(t-2)!==95||e.charCodeAt(t-3)!==111||e.charCodeAt(t-4)!==116||e.charCodeAt(t-5)!==111||e.charCodeAt(t-6)!==114||e.charCodeAt(t-7)!==112||e.charCodeAt(t-8)!==95||e.charCodeAt(t-9)!==95)return!1;for(var r=t-10;r>=0;r--)if(e.charCodeAt(r)!==36)return!1;return!0}function CBu(e,t,r){var n=m1e(e.source,t.source);return n!==0||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:m1e(e.name,t.name)}nP.compareByOriginalPositions=CBu;function bBu(e,t,r){var n;return n=e.originalLine-t.originalLine,n!==0||(n=e.originalColumn-t.originalColumn,n!==0||r)||(n=e.generatedColumn-t.generatedColumn,n!==0)||(n=e.generatedLine-t.generatedLine,n!==0)?n:m1e(e.name,t.name)}nP.compareByOriginalPositionsNoSource=bBu;function IBu(e,t,r){var n=e.generatedLine-t.generatedLine;return n!==0||(n=e.generatedColumn-t.generatedColumn,n!==0||r)||(n=m1e(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:m1e(e.name,t.name)}nP.compareByGeneratedPositionsDeflated=IBu;function SBu(e,t,r){var n=e.generatedColumn-t.generatedColumn;return n!==0||r||(n=m1e(e.source,t.source),n!==0)||(n=e.originalLine-t.originalLine,n!==0)||(n=e.originalColumn-t.originalColumn,n!==0)?n:m1e(e.name,t.name)}nP.compareByGeneratedPositionsDeflatedNoLine=SBu;function m1e(e,t){return e===t?0:e===null?1:t===null?-1:e>t?1:-1}function TBu(e,t){var r=e.generatedLine-t.generatedLine;return r!==0||(r=e.generatedColumn-t.generatedColumn,r!==0)||(r=m1e(e.source,t.source),r!==0)||(r=e.originalLine-t.originalLine,r!==0)||(r=e.originalColumn-t.originalColumn,r!==0)?r:m1e(e.name,t.name)}nP.compareByGeneratedPositionsInflated=TBu;function DBu(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))}nP.parseSourceMapInput=DBu;function wBu(e,t,r){if(t=t||"",e&&(e[e.length-1]!=="/"&&t[0]!=="/"&&(e+="/"),t=e+t),r){var n=Mst(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}t=H8i(Zje(n),t)}return $Fr(t)}nP.computeSourceURL=wBu});var HFr=j(Z8i=>{var KFr=eUe(),JFr=Object.prototype.hasOwnProperty,nke=typeof Map<"u";function g1e(){this._array=[],this._set=nke?new Map:Object.create(null)}g1e.fromArray=function(t,r){for(var n=new g1e,i=0,s=t.length;i=0)return r}else{var n=KFr.toSetString(t);if(JFr.call(this._set,n))return this._set[n]}throw new Error('"'+t+'" is not in the set.')};g1e.prototype.at=function(t){if(t>=0&&t{var e4i=eUe();function BBu(e,t){var r=e.generatedLine,n=t.generatedLine,i=e.generatedColumn,s=t.generatedColumn;return n>r||n==r&&s>=i||e4i.compareByGeneratedPositionsInflated(e,t)<=0}function tNt(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}tNt.prototype.unsortedForEach=function(t,r){this._array.forEach(t,r)};tNt.prototype.add=function(t){BBu(this._last,t)?(this._last=t,this._array.push(t)):(this._sorted=!1,this._array.push(t))};tNt.prototype.toArray=function(){return this._sorted||(this._array.sort(e4i.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};t4i.MappingList=tNt});var nNt=j(n4i=>{var Qst=VFr(),_B=eUe(),rNt=HFr().ArraySet,kBu=r4i().MappingList;function gX(e){e||(e={}),this._file=_B.getArg(e,"file",null),this._sourceRoot=_B.getArg(e,"sourceRoot",null),this._skipValidation=_B.getArg(e,"skipValidation",!1),this._ignoreInvalidMapping=_B.getArg(e,"ignoreInvalidMapping",!1),this._sources=new rNt,this._names=new rNt,this._mappings=new kBu,this._sourcesContents=null}gX.prototype._version=3;gX.fromSourceMap=function(t,r){var n=t.sourceRoot,i=new gX(Object.assign(r||{},{file:t.file,sourceRoot:n}));return t.eachMapping(function(s){var a={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(a.source=s.source,n!=null&&(a.source=_B.relative(n,a.source)),a.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(a.name=s.name)),i.addMapping(a)}),t.sources.forEach(function(s){var a=s;n!==null&&(a=_B.relative(n,s)),i._sources.has(a)||i._sources.add(a);var u=t.sourceContentFor(s);u!=null&&i.setSourceContent(s,u)}),i};gX.prototype.addMapping=function(t){var r=_B.getArg(t,"generated"),n=_B.getArg(t,"original",null),i=_B.getArg(t,"source",null),s=_B.getArg(t,"name",null);!this._skipValidation&&this._validateMapping(r,n,i,s)===!1||(i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s}))};gX.prototype.setSourceContent=function(t,r){var n=t;this._sourceRoot!=null&&(n=_B.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[_B.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[_B.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};gX.prototype.applySourceMap=function(t,r,n){var i=r;if(r==null){if(t.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=t.file}var s=this._sourceRoot;s!=null&&(i=_B.relative(s,i));var a=new rNt,u=new rNt;this._mappings.unsortedForEach(function(l){if(l.source===i&&l.originalLine!=null){var f=t.originalPositionFor({line:l.originalLine,column:l.originalColumn});f.source!=null&&(l.source=f.source,n!=null&&(l.source=_B.join(n,l.source)),s!=null&&(l.source=_B.relative(s,l.source)),l.originalLine=f.line,l.originalColumn=f.column,f.name!=null&&(l.name=f.name))}var p=l.source;p!=null&&!a.has(p)&&a.add(p);var g=l.name;g!=null&&!u.has(g)&&u.add(g)},this),this._sources=a,this._names=u,t.sources.forEach(function(l){var f=t.sourceContentFor(l);f!=null&&(n!=null&&(l=_B.join(n,l)),s!=null&&(l=_B.relative(s,l)),this.setSourceContent(l,f))},this)};gX.prototype._validateMapping=function(t,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number"){var s="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}if(!(t&&"line"in t&&"column"in t&&t.line>0&&t.column>=0&&!r&&!n&&!i)){if(t&&"line"in t&&"column"in t&&r&&"line"in r&&"column"in r&&t.line>0&&t.column>=0&&r.line>0&&r.column>=0&&n)return;var s="Invalid mapping: "+JSON.stringify({generated:t,source:n,original:r,name:i});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(s),!1;throw new Error(s)}};gX.prototype._serializeMappings=function(){for(var t=0,r=1,n=0,i=0,s=0,a=0,u="",l,f,p,g,A=this._mappings.toArray(),h=0,_=A.length;h<_;h++){if(f=A[h],l="",f.generatedLine!==r)for(t=0;f.generatedLine!==r;)l+=";",r++;else if(h>0){if(!_B.compareByGeneratedPositionsInflated(f,A[h-1]))continue;l+=","}l+=Qst.encode(f.generatedColumn-t),t=f.generatedColumn,f.source!=null&&(g=this._sources.indexOf(f.source),l+=Qst.encode(g-a),a=g,l+=Qst.encode(f.originalLine-1-i),i=f.originalLine-1,l+=Qst.encode(f.originalColumn-n),n=f.originalColumn,f.name!=null&&(p=this._names.indexOf(f.name),l+=Qst.encode(p-s),s=p)),u+=l}return u};gX.prototype._generateSourcesContent=function(t,r){return t.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=_B.relative(r,n));var i=_B.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};gX.prototype.toJSON=function(){var t={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(t.file=this._file),this._sourceRoot!=null&&(t.sourceRoot=this._sourceRoot),this._sourcesContents&&(t.sourcesContent=this._generateSourcesContent(t.sources,t.sourceRoot)),t};gX.prototype.toString=function(){return JSON.stringify(this.toJSON())};n4i.SourceMapGenerator=gX});var i4i=j(ike=>{ike.GREATEST_LOWER_BOUND=1;ike.LEAST_UPPER_BOUND=2;function zFr(e,t,r,n,i,s){var a=Math.floor((t-e)/2)+e,u=i(r,n[a],!0);return u===0?a:u>0?t-a>1?zFr(a,t,r,n,i,s):s==ike.LEAST_UPPER_BOUND?t1?zFr(e,a,r,n,i,s):s==ike.LEAST_UPPER_BOUND?a:e<0?-1:e}ike.search=function(t,r,n,i){if(r.length===0)return-1;var s=zFr(-1,r.length,t,r,n,i||ike.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var o4i=j(a4i=>{function PBu(e){function t(i,s,a){var u=i[s];i[s]=i[a],i[a]=u}function r(i,s){return Math.round(i+Math.random()*(s-i))}function n(i,s,a,u){if(a{var TA=eUe(),XFr=i4i(),tUe=HFr().ArraySet,OBu=VFr(),jst=o4i().quickSort;function vw(e,t){var r=e;return typeof e=="string"&&(r=TA.parseSourceMapInput(e)),r.sections!=null?new Bie(r,t):new CO(r,t)}vw.fromSourceMap=function(e,t){return CO.fromSourceMap(e,t)};vw.prototype._version=3;vw.prototype.__generatedMappings=null;Object.defineProperty(vw.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});vw.prototype.__originalMappings=null;Object.defineProperty(vw.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});vw.prototype._charIsMappingSeparator=function(t,r){var n=t.charAt(r);return n===";"||n===","};vw.prototype._parseMappings=function(t,r){throw new Error("Subclasses must implement _parseMappings")};vw.GENERATED_ORDER=1;vw.ORIGINAL_ORDER=2;vw.GREATEST_LOWER_BOUND=1;vw.LEAST_UPPER_BOUND=2;vw.prototype.eachMapping=function(t,r,n){var i=r||null,s=n||vw.GENERATED_ORDER,a;switch(s){case vw.GENERATED_ORDER:a=this._generatedMappings;break;case vw.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var u=this.sourceRoot,l=t.bind(i),f=this._names,p=this._sources,g=this._sourceMapURL,A=0,h=a.length;A=0){var a=this._originalMappings[s];if(t.column===void 0)for(var u=a.originalLine;a&&a.originalLine===u;)i.push({line:TA.getArg(a,"generatedLine",null),column:TA.getArg(a,"generatedColumn",null),lastColumn:TA.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s];else for(var l=a.originalColumn;a&&a.originalLine===r&&a.originalColumn==l;)i.push({line:TA.getArg(a,"generatedLine",null),column:TA.getArg(a,"generatedColumn",null),lastColumn:TA.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++s]}return i};iNt.SourceMapConsumer=vw;function CO(e,t){var r=e;typeof e=="string"&&(r=TA.parseSourceMapInput(e));var n=TA.getArg(r,"version"),i=TA.getArg(r,"sources"),s=TA.getArg(r,"names",[]),a=TA.getArg(r,"sourceRoot",null),u=TA.getArg(r,"sourcesContent",null),l=TA.getArg(r,"mappings"),f=TA.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);a&&(a=TA.normalize(a)),i=i.map(String).map(TA.normalize).map(function(p){return a&&TA.isAbsolute(a)&&TA.isAbsolute(p)?TA.relative(a,p):p}),this._names=tUe.fromArray(s.map(String),!0),this._sources=tUe.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(p){return TA.computeSourceURL(a,p,t)}),this.sourceRoot=a,this.sourcesContent=u,this._mappings=l,this._sourceMapURL=t,this.file=f}CO.prototype=Object.create(vw.prototype);CO.prototype.consumer=vw;CO.prototype._findSourceIndex=function(e){var t=e;if(this.sourceRoot!=null&&(t=TA.relative(this.sourceRoot,t)),this._sources.has(t))return this._sources.indexOf(t);var r;for(r=0;r0&&(e[t]=s,e[t+1]=i)}else if(n<20)for(let i=t;it;s--){let a=e[s-1],u=e[s];if(WFr(a,u)<=0)break;e[s-1]=u,e[s]=a}else jst(e,WFr,t)}CO.prototype._parseMappings=function(t,r){var n=1,i=0,s=0,a=0,u=0,l=0,f=t.length,p=0,g={},A={},h=[],_=[],E,b,D,k,M;let R=0;for(;p1&&(E.source=u+D[1],u+=D[1],E.originalLine=s+D[2],s=E.originalLine,E.originalLine+=1,E.originalColumn=a+D[3],a=E.originalColumn,D.length>4&&(E.name=l+D[4],l+=D[4])),_.push(E),typeof E.originalLine=="number"){let G=E.source;for(;h.length<=G;)h.push(null);h[G]===null&&(h[G]=[]),h[G].push(E)}}u4i(_,R),this.__generatedMappings=_;for(var q=0;q=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=TA.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=TA.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var a=TA.getArg(i,"name",null);return a!==null&&(a=this._names.at(a)),{source:s,line:TA.getArg(i,"originalLine",null),column:TA.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};CO.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(t){return t==null}):!1};CO.prototype.sourceContentFor=function(t,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(t);if(n>=0)return this.sourcesContent[n];var i=t;this.sourceRoot!=null&&(i=TA.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=TA.urlParse(this.sourceRoot))){var a=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};CO.prototype.generatedPositionFor=function(t){var r=TA.getArg(t,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:TA.getArg(t,"line"),originalColumn:TA.getArg(t,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",TA.compareByOriginalPositions,TA.getArg(t,"bias",vw.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:TA.getArg(s,"generatedLine",null),column:TA.getArg(s,"generatedColumn",null),lastColumn:TA.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};iNt.BasicSourceMapConsumer=CO;function Bie(e,t){var r=e;typeof e=="string"&&(r=TA.parseSourceMapInput(e));var n=TA.getArg(r,"version"),i=TA.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new tUe,this._names=new tUe;var s={line:-1,column:0};this._sections=i.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var u=TA.getArg(a,"offset"),l=TA.getArg(u,"line"),f=TA.getArg(u,"column");if(l{var RBu=nNt().SourceMapGenerator,sNt=eUe(),FBu=/(\r?\n)/,LBu=10,rUe="$$$isSourceNode$$$";function nK(e,t,r,n,i){this.children=[],this.sourceContents={},this.line=e??null,this.column=t??null,this.source=r??null,this.name=i??null,this[rUe]=!0,n!=null&&this.add(n)}nK.fromStringWithSourceMap=function(t,r,n){var i=new nK,s=t.split(FBu),a=0,u=function(){var A=_(),h=_()||"";return A+h;function _(){return a=0;r--)this.prepend(t[r]);else if(t[rUe]||typeof t=="string")this.children.unshift(t);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+t);return this};nK.prototype.walk=function(t){for(var r,n=0,i=this.children.length;n0){for(r=[],n=0;n{aNt.SourceMapGenerator=nNt().SourceMapGenerator;aNt.SourceMapConsumer=c4i().SourceMapConsumer;aNt.SourceNode=p4i().SourceNode});var eLr=j((n_g,g4i)=>{"use strict";var{existsSync:MBu,readFileSync:QBu}=require("fs"),{dirname:ZFr,join:jBu}=require("path"),{SourceMapConsumer:d4i,SourceMapGenerator:m4i}=oNt();function UBu(e){return Buffer?Buffer.from(e,"base64").toString():window.atob(e)}var Ust=class{constructor(t,r){if(r.map===!1)return;this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=ZFr(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new d4i(this.text)),this.consumerCache}decodeInline(t){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/,a=t.match(i)||t.match(s);if(a)return decodeURIComponent(t.substr(a[0].length));let u=t.match(r)||t.match(n);if(u)return UBu(t.substr(u[0].length));let l=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+l)}getAnnotationURL(t){return t.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(t){return typeof t!="object"?!1:typeof t.mappings=="string"||typeof t._mappings=="string"||Array.isArray(t.sections)}loadAnnotation(t){let r=t.match(/\/\*\s*# sourceMappingURL=/g);if(!r)return;let n=t.lastIndexOf(r.pop()),i=t.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(t.substring(n,i)))}loadFile(t){if(this.root=ZFr(t),MBu(t))return this.mapFile=t,QBu(t,"utf-8").toString().trim()}loadMap(t,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(t);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof d4i)return m4i.fromSourceMap(r).toString();if(r instanceof m4i)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return t&&(n=jBu(ZFr(t),n)),this.loadFile(n)}}}startWith(t,r){return t?t.substr(0,r.length)===r:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};g4i.exports=Ust;Ust.default=Ust});var Xce=j((i_g,E4i)=>{"use strict";var{nanoid:qBu}=U8i(),{isAbsolute:nLr,resolve:iLr}=require("path"),{SourceMapConsumer:YBu,SourceMapGenerator:GBu}=oNt(),{fileURLToPath:A4i,pathToFileURL:uNt}=require("url"),h4i=WPt(),VBu=eLr(),tLr=FFr(),rLr=Symbol("lineToIndexCache"),$Bu=!!(YBu&&GBu),y4i=!!(iLr&&nLr);function _4i(e){if(e[rLr])return e[rLr];let t=e.css.split(` `),r=new Array(t.length),n=0;for(let i=0,s=t.length;i"u"||typeof t=="object"&&!t.toString)throw new Error(`PostCSS received ${t} instead of CSS string`);if(this.css=t.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,r.document&&(this.document=r.document.toString()),r.from&&(!y4i||/^\w+:\/\//.test(r.from)||nLr(r.from)?this.file=r.from:this.file=iLr(r.from)),y4i&&$Bu){let n=new VBu(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id=""),this.map&&(this.map.file=this.from)}error(t,r,n,i={}){let s,a,u,l,f;if(r&&typeof r=="object"){let g=r,A=n;if(typeof g.offset=="number"){l=g.offset;let h=this.fromOffset(l);r=h.line,n=h.col}else r=g.line,n=g.column,l=this.fromLineAndColumn(r,n);if(typeof A.offset=="number"){u=A.offset;let h=this.fromOffset(u);a=h.line,s=h.col}else a=A.line,s=A.column,u=this.fromLineAndColumn(A.line,A.column)}else if(n)l=this.fromLineAndColumn(r,n);else{l=r;let g=this.fromOffset(l);r=g.line,n=g.col}let p=this.origin(r,n,a,s);return p?f=new h4i(t,p.endLine===void 0?p.line:{column:p.column,line:p.line},p.endLine===void 0?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,i.plugin):f=new h4i(t,a===void 0?r:{column:n,line:r},a===void 0?n:{column:s,line:a},this.css,this.file,i.plugin),f.input={column:n,endColumn:s,endLine:a,endOffset:u,line:r,offset:l,source:this.css},this.file&&(uNt&&(f.input.url=uNt(this.file).toString()),f.input.file=this.file),f}fromLineAndColumn(t,r){return _4i(this)[t-1]+r-1}fromOffset(t){let r=_4i(this),n=r[r.length-1],i=0;if(t>=n)i=r.length-1;else{let s=r.length-2,a;for(;i>1),t=r[a+1])i=a+1;else{i=a;break}}return{col:t-r[i]+1,line:i+1}}mapResolve(t){return/^\w+:\/\//.test(t)?t:iLr(this.map.consumer().sourceRoot||this.map.root||".",t)}origin(t,r,n,i){if(!this.map)return!1;let s=this.map.consumer(),a=s.originalPositionFor({column:r,line:t});if(!a.source)return!1;let u;typeof n=="number"&&(u=s.originalPositionFor({column:i,line:n}));let l;nLr(a.source)?l=uNt(a.source):l=new URL(a.source,this.map.consumer().sourceRoot||uNt(this.map.mapFile));let f={column:a.column,endColumn:u&&u.column,endLine:u&&u.line,line:a.line,url:l.toString()};if(l.protocol==="file:")if(A4i)f.file=A4i(l);else throw new Error("file: protocol is not available in this PostCSS build");let p=s.sourceContentFor(a.source);return p&&(f.source=p),f}toJSON(){let t={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(t[r]=this[r]);return this.map&&(t.map={...this.map},t.map.consumerCache&&(t.map.consumerCache=void 0)),t}};E4i.exports=nUe;nUe.default=nUe;tLr&&tLr.registerInput&&tLr.registerInput(nUe)});var iUe=j((s_g,b4i)=>{"use strict";var x4i=dIe(),v4i,C4i,mIe=class extends x4i{constructor(t){super(t),this.type="root",this.nodes||(this.nodes=[])}normalize(t,r,n){let i=super.normalize(t);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let s of i)s.raws.before=r.raws.before}return i}removeChild(t,r){let n=this.index(t);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(t)}toResult(t={}){return new v4i(new C4i,this,t).stringify()}};mIe.registerLazyResult=e=>{v4i=e};mIe.registerProcessor=e=>{C4i=e};b4i.exports=mIe;mIe.default=mIe;x4i.registerRoot(mIe)});var sLr=j((a_g,I4i)=>{"use strict";var qst={comma(e){return qst.split(e,[","],!0)},space(e){let t=[" ",` `," "];return qst.split(e,t)},split(e,t,r){let n=[],i="",s=!1,a=0,u=!1,l="",f=!1;for(let p of e)f?f=!1:p==="\\"?f=!0:u?p===l&&(u=!1):p==='"'||p==="'"?(u=!0,l=p):p==="("?a+=1:p===")"?a>0&&(a-=1):a===0&&t.includes(p)&&(s=!0),s?(i!==""&&n.push(i.trim()),i="",s=!1):i+=p;return(r||i!=="")&&n.push(i.trim()),n}};I4i.exports=qst;qst.default=qst});var lNt=j((o_g,T4i)=>{"use strict";var S4i=dIe(),KBu=sLr(),sUe=class extends S4i{get selectors(){return KBu.comma(this.selector)}set selectors(t){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=t.join(n)}constructor(t){super(t),this.type="rule",this.nodes||(this.nodes=[])}};T4i.exports=sUe;sUe.default=sUe;S4i.registerRule(sUe)});var w4i=j((u_g,D4i)=>{"use strict";var JBu=ZPt(),HBu=pIe(),zBu=Lst(),WBu=Xce(),XBu=eLr(),ZBu=iUe(),e6u=lNt();function Yst(e,t){if(Array.isArray(e))return e.map(i=>Yst(i));let{inputs:r,...n}=e;if(r){t=[];for(let i of r){let s={...i,__proto__:WBu.prototype};s.map&&(s.map={...s.map,__proto__:XBu.prototype}),t.push(s)}}if(n.nodes&&(n.nodes=e.nodes.map(i=>Yst(i,t))),n.source){let{inputId:i,...s}=n.source;n.source=s,i!=null&&(n.source.input=t[i])}if(n.type==="root")return new ZBu(n);if(n.type==="decl")return new zBu(n);if(n.type==="rule")return new e6u(n);if(n.type==="comment")return new HBu(n);if(n.type==="atrule")return new JBu(n);throw new Error("Unknown node type: "+e.type)}D4i.exports=Yst;Yst.default=Yst});var oLr=j((l_g,R4i)=>{"use strict";var{dirname:cNt,relative:k4i,resolve:P4i,sep:N4i}=require("path"),{SourceMapConsumer:O4i,SourceMapGenerator:fNt}=oNt(),{pathToFileURL:B4i}=require("url"),t6u=Xce(),r6u=!!(O4i&&fNt),n6u=!!(cNt&&P4i&&k4i&&N4i),aLr=class{constructor(t,r,n,i){this.stringify=t,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let t;this.isInline()?t="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?t=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?t=this.mapOpts.annotation(this.opts.to,this.root):t=this.outputFile()+".map";let r=` `;this.css.includes(`\r `)&&(r=`\r `),this.css+=r+"/*# sourceMappingURL="+t+" */"}applyPrevMaps(){for(let t of this.previous()){let r=this.toUrl(this.path(t.file)),n=t.root||cNt(t.file),i;this.mapOpts.sourcesContent===!1?(i=new O4i(t.text),i.sourcesContent&&(i.sourcesContent=null)):i=t.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let t;for(let r=this.root.nodes.length-1;r>=0;r--)t=this.root.nodes[r],t.type==="comment"&&t.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),n6u&&r6u&&this.isMap())return this.generateMap();{let t="";return this.stringify(this.root,r=>{t+=r}),[t]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let t=this.previous()[0].consumer();t.file=this.outputFile(),this.map=fNt.fromSourceMap(t,{ignoreInvalidMapping:!0})}else this.map=new fNt({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new fNt({file:this.outputFile(),ignoreInvalidMapping:!0});let t=1,r=1,n="",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},s,a;this.stringify(this.root,(u,l,f)=>{if(this.css+=u,l&&f!=="end"&&(i.generated.line=t,i.generated.column=r-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),a=u.match(/\n/g),a?(t+=a.length,s=u.lastIndexOf(` `),r=u.length-s):r+=u.length,l&&f!=="start"){let p=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==p.last||p.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=t,i.generated.column=r-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=t,i.generated.column=r-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(t=>t.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let t=this.mapOpts.annotation;return typeof t<"u"&&t!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(t=>t.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(t){if(this.mapOpts.absolute||t.charCodeAt(0)===60||/^\w+:\/\//.test(t))return t;let r=this.memoizedPaths.get(t);if(r)return r;let n=this.opts.to?cNt(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=cNt(P4i(n,this.mapOpts.annotation)));let i=k4i(n,t);return this.memoizedPaths.set(t,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(t=>{if(t.source&&t.source.input.map){let r=t.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let t=new t6u(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps}setSourcesContent(){let t={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!t[n]){t[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(r,this.css)}}sourcePath(t){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(t.source.input.from):this.toUrl(this.path(t.source.input.from))}toBase64(t){return Buffer?Buffer.from(t).toString("base64"):window.btoa(unescape(encodeURIComponent(t)))}toFileUrl(t){let r=this.memoizedFileURLs.get(t);if(r)return r;if(B4i){let n=B4i(t).toString();return this.memoizedFileURLs.set(t,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(t){let r=this.memoizedURLs.get(t);if(r)return r;N4i==="\\"&&(t=t.replace(/\\/g,"/"));let n=encodeURI(t).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(t,n),n}};R4i.exports=aLr});var ske=j((c_g,M4i)=>{"use strict";var i6u=ZPt(),s6u=pIe(),a6u=Lst(),o6u=iUe(),F4i=lNt(),u6u=fIe(),L4i={empty:!0,space:!0};function l6u(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}var uLr=class{constructor(t){this.input=t,this.root=new o6u,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let r=new i6u;r.name=t[1].slice(1),r.name===""&&this.unnamedAtrule(r,t),this.init(r,t[2]);let n,i,s,a=!1,u=!1,l=[],f=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),n=t[0],n==="("||n==="["?f.push(n==="("?")":"]"):n==="{"&&f.length>0?f.push("}"):n===f[f.length-1]&&f.pop(),f.length===0)if(n===";"){r.source.end=this.getPosition(t[2]),r.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){u=!0;break}else if(n==="}"){if(l.length>0){for(s=l.length-1,i=l[s];i&&i[0]==="space";)i=l[--s];i&&(r.source.end=this.getPosition(i[3]||i[2]),r.source.end.offset++)}this.end(t);break}else l.push(t);else l.push(t);if(this.tokenizer.endOfFile()){a=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),a&&(t=l[l.length-1],r.source.end=this.getPosition(t[3]||t[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),u&&(r.nodes=[],this.current=r)}checkMissedSemicolon(t){let r=this.colon(t);if(r===!1)return;let n=0,i;for(let s=r-1;s>=0&&(i=t[s],!(i[0]!=="space"&&(n+=1,n===2)));s--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(t){let r=0,n,i,s;for(let[a,u]of t.entries()){if(i=u,s=i[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!n)this.doubleColon(i);else{if(n[0]==="word"&&n[1]==="progid")continue;return a}n=i}return!1}comment(t){let r=new s6u;this.init(r,t[2]),r.source.end=this.getPosition(t[3]||t[2]),r.source.end.offset++;let n=t[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}createTokenizer(){this.tokenizer=u6u(this.input)}decl(t,r){let n=new a6u;this.init(n,t[0][2]);let i=t[t.length-1];for(i[0]===";"&&(this.semicolon=!0,t.pop()),n.source.end=this.getPosition(i[3]||i[2]||l6u(t)),n.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),n.raws.before+=t.shift()[1];for(n.source.start=this.getPosition(t[0][2]),n.prop="";t.length;){let f=t[0][0];if(f===":"||f==="space"||f==="comment")break;n.prop+=t.shift()[1]}n.raws.between="";let s;for(;t.length;)if(s=t.shift(),s[0]===":"){n.raws.between+=s[1];break}else s[0]==="word"&&/\w/.test(s[1])&&this.unknownWord([s]),n.raws.between+=s[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a=[],u;for(;t.length&&(u=t[0][0],!(u!=="space"&&u!=="comment"));)a.push(t.shift());this.precheckMissedSemicolon(t);for(let f=t.length-1;f>=0;f--){if(s=t[f],s[1].toLowerCase()==="!important"){n.important=!0;let p=this.stringFrom(t,f);p=this.spacesFromEnd(t)+p,p!==" !important"&&(n.raws.important=p);break}else if(s[1].toLowerCase()==="important"){let p=t.slice(0),g="";for(let A=f;A>0;A--){let h=p[A][0];if(g.trim().startsWith("!")&&h!=="space")break;g=p.pop()[1]+g}g.trim().startsWith("!")&&(n.important=!0,n.raws.important=g,t=p)}if(s[0]!=="space"&&s[0]!=="comment")break}t.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(n.raws.between+=a.map(f=>f[1]).join(""),a=[]),this.raw(n,"value",a.concat(t),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let r=new F4i;this.init(r,t[2]),r.selector="",r.raws.between="",this.current=r}end(t){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="",r.source.end=this.getPosition(t[2]),r.source.end.offset+=r.raws.ownSemicolon.length)}}getPosition(t){let r=this.input.fromOffset(t);return{column:r.col,line:r.line,offset:t}}init(t,r){this.current.push(t),t.source={input:this.input,start:this.getPosition(r)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let r=!1,n=null,i=!1,s=null,a=[],u=t[1].startsWith("--"),l=[],f=t;for(;f;){if(n=f[0],l.push(f),n==="("||n==="[")s||(s=f),a.push(n==="("?")":"]");else if(u&&i&&n==="{")s||(s=f),a.push("}");else if(a.length===0)if(n===";")if(i){this.decl(l,u);return}else break;else if(n==="{"){this.rule(l);return}else if(n==="}"){this.tokenizer.back(l.pop()),r=!0;break}else n===":"&&(i=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(s=null));f=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),a.length>0&&this.unclosedBracket(s),r&&i){if(!u)for(;l.length&&(f=l[l.length-1][0],!(f!=="space"&&f!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,u)}else this.unknownWord(l)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,r,n,i){let s,a,u=n.length,l="",f=!0,p,g;for(let A=0;Ah+_[1],"");t.raws[r]={raw:A,value:l}}t[r]=l}rule(t){t.pop();let r=new F4i;this.init(r,t[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(r,"selector",t),this.current=r}spacesAndCommentsFromEnd(t){let r,n="";for(;t.length&&(r=t[t.length-1][0],!(r!=="space"&&r!=="comment"));)n=t.pop()[1]+n;return n}spacesAndCommentsFromStart(t){let r,n="";for(;t.length&&(r=t[0][0],!(r!=="space"&&r!=="comment"));)n+=t.shift()[1];return n}spacesFromEnd(t){let r,n="";for(;t.length&&(r=t[t.length-1][0],r==="space");)n=t.pop()[1]+n;return n}stringFrom(t,r){let n="";for(let i=r;i{"use strict";var c6u=dIe(),f6u=Xce(),p6u=ske();function pNt(e,t){let r=new f6u(e,t),n=new p6u(r);try{n.parse()}catch(i){throw process.env.NODE_ENV!=="production"&&i.name==="CssSyntaxError"&&t&&t.from&&(/\.scss$/i.test(t.from)?i.message+=` You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(t.from)?i.message+=` You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(t.from)&&(i.message+=` You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return n.root}Q4i.exports=pNt;pNt.default=pNt;c6u.registerParse(pNt)});var lLr=j((p_g,U4i)=>{"use strict";var j4i={};U4i.exports=function(t){j4i[t]||(j4i[t]=!0,typeof console<"u"&&console.warn&&console.warn(t))}});var pLr=j((d_g,V4i)=>{"use strict";var d6u=dIe(),m6u=eNt(),g6u=oLr(),A6u=aUe(),q4i=gst(),h6u=iUe(),y6u=tke(),{isClean:Zce,my:_6u}=XPt(),E6u=lLr(),x6u={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},v6u={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},C6u={Once:!0,postcssPlugin:!0,prepare:!0},oUe=0;function Gst(e){return typeof e=="object"&&typeof e.then=="function"}function G4i(e){let t=!1,r=x6u[e.type];return e.type==="decl"?t=e.prop.toLowerCase():e.type==="atrule"&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,oUe,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,oUe,r+"Exit"]:[r,r+"Exit"]}function Y4i(e){let t;return e.type==="document"?t=["Document",oUe,"DocumentExit"]:e.type==="root"?t=["Root",oUe,"RootExit"]:t=G4i(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function cLr(e){return e[Zce]=!1,e.nodes&&e.nodes.forEach(t=>cLr(t)),e}var fLr={},gIe=class e{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(t,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=cLr(r);else if(r instanceof e||r instanceof q4i)i=cLr(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let s=A6u;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(a){this.processed=!0,this.error=a}i&&!i[_6u]&&d6u.rebuild(i)}this.result=new q4i(t,i,n),this.helpers={...fLr,postcss:fLr,result:this.result},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,r){let n=this.result.lastPlugin;try{if(r&&r.addToError(t),this.error=t,t.name==="CssSyntaxError"&&!t.plugin)t.plugin=n.postcssPlugin,t.setMessage();else if(n.postcssVersion&&process.env.NODE_ENV!=="production"){let i=n.postcssPlugin,s=n.postcssVersion,a=this.result.processor.version,u=s.split("."),l=a.split(".");(u[0]!==l[0]||parseInt(u[1])>parseInt(l[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+a+", but "+i+" uses "+s+". Perhaps this is the source of the error below.")}}catch(i){console&&console.error&&console.error(i)}return t}prepareVisitors(){this.listeners={};let t=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!v6u[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!C6u[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?t(r,n,r[n][i]):t(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&t(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let t=0;t0;){let n=this.visitTick(r);if(Gst(n))try{await n}catch(i){let s=r[r.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(t.type==="document"){let i=t.nodes.map(s=>n(s,this.helpers));await Promise.all(i)}else await n(t,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t=="object"&&t.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>t.Once(n,this.helpers));return Gst(r[0])?Promise.all(r):r}return t.Once(this.result.root,this.helpers)}else if(typeof t=="function")return t(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let t=this.result.opts,r=y6u;t.syntax&&(r=t.syntax.stringify),t.stringifier&&(r=t.stringifier),r.stringify&&(r=r.stringify);let i=new g6u(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let t of this.plugins){let r=this.runOnRoot(t);if(Gst(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let t=this.result.root;for(;!t[Zce];)t[Zce]=!0,this.walkSync(t);if(this.listeners.OnceExit)if(t.type==="document")for(let r of t.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,t)}return this.result}then(t,r){return process.env.NODE_ENV!=="production"&&("from"in this.opts||E6u("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,r)}toString(){return this.css}visitSync(t,r){for(let[n,i]of t){this.result.lastPlugin=n;let s;try{s=i(r,this.helpers)}catch(a){throw this.handleError(a,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(Gst(s))throw this.getAsyncError()}}visitTick(t){let r=t[t.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){t.pop();return}if(i.length>0&&r.visitorIndex{i[Zce]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,t.toProxy()))return}}warnings(){return this.sync().warnings()}};gIe.registerPostcss=e=>{fLr=e};V4i.exports=gIe;gIe.default=gIe;h6u.registerLazyResult(gIe);m6u.registerLazyResult(gIe)});var K4i=j((m_g,$4i)=>{"use strict";var b6u=oLr(),I6u=aUe(),S6u=gst(),T6u=tke(),D6u=lLr(),Vst=class{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let t,r=I6u;try{t=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=t,t}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(t,r,n){r=r.toString(),this.stringified=!1,this._processor=t,this._css=r,this._opts=n,this._map=void 0;let i,s=T6u;this.result=new S6u(this._processor,i,this._opts),this.result.css=r;let a=this;Object.defineProperty(this.result,"root",{get(){return a.root}});let u=new b6u(s,i,this._opts,r);if(u.isMap()){let[l,f]=u.generate();l&&(this.result.css=l),f&&(this.result.map=f)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}sync(){if(this.error)throw this.error;return this.result}then(t,r){return process.env.NODE_ENV!=="production"&&("from"in this._opts||D6u("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(t,r)}toString(){return this._css}warnings(){return[]}};$4i.exports=Vst;Vst.default=Vst});var H4i=j((g_g,J4i)=>{"use strict";var w6u=eNt(),B6u=pLr(),k6u=K4i(),P6u=iUe(),ake=class{constructor(t=[]){this.version="8.5.6",this.plugins=this.normalize(t)}normalize(t){let r=[];for(let n of t)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(typeof n=="object"&&(n.parse||n.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(n+" is not a PostCSS plugin");return r}process(t,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new k6u(this,t,r):new B6u(this,t,r)}use(t){return this.plugins=this.plugins.concat(this.normalize([t])),this}};J4i.exports=ake;ake.default=ake;P6u.registerProcessor(ake);w6u.registerProcessor(ake)});var efe=j((A_g,rBi)=>{"use strict";var z4i=ZPt(),W4i=pIe(),N6u=dIe(),O6u=WPt(),X4i=Lst(),Z4i=eNt(),R6u=w4i(),F6u=Xce(),L6u=pLr(),M6u=sLr(),Q6u=Ost(),j6u=aUe(),dLr=H4i(),U6u=gst(),eBi=iUe(),tBi=lNt(),q6u=tke(),Y6u=iFr();function QI(...e){return e.length===1&&Array.isArray(e[0])&&(e=e[0]),new dLr(e)}QI.plugin=function(t,r){let n=!1;function i(...a){console&&console.warn&&!n&&(n=!0,console.warn(t+`: postcss.plugin was deprecated. Migration guide: https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(t+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357: https://www.w3ctech.com/topic/2226`));let u=r(...a);return u.postcssPlugin=t,u.postcssVersion=new dLr().version,u}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(a,u,l){return QI([i(l)]).process(a,u)},i};QI.stringify=q6u;QI.parse=j6u;QI.fromJSON=R6u;QI.list=M6u;QI.comment=e=>new W4i(e);QI.atRule=e=>new z4i(e);QI.decl=e=>new X4i(e);QI.rule=e=>new tBi(e);QI.root=e=>new eBi(e);QI.document=e=>new Z4i(e);QI.CssSyntaxError=O6u;QI.Declaration=X4i;QI.Container=N6u;QI.Processor=dLr;QI.Document=Z4i;QI.Comment=W4i;QI.Warning=Y6u;QI.AtRule=z4i;QI.Result=U6u;QI.Input=F6u;QI.Rule=tBi;QI.Root=eBi;QI.Node=Q6u;L6u.registerPostcss(QI);rBi.exports=QI;QI.default=QI});var iD,kie,h_g,y_g,__g,nBi,E_g,x_g,v_g,C_g,iBi,b_g,I_g,S_g,T_g,D_g,w_g,B_g,k_g,P_g,N_g,O_g,sBi,R_g,F_g,aBi,AIe=Er(()=>{iD=qi(efe(),1),kie=iD.default,h_g=iD.default.stringify,y_g=iD.default.fromJSON,__g=iD.default.plugin,nBi=iD.default.parse,E_g=iD.default.list,x_g=iD.default.document,v_g=iD.default.comment,C_g=iD.default.atRule,iBi=iD.default.rule,b_g=iD.default.decl,I_g=iD.default.root,S_g=iD.default.CssSyntaxError,T_g=iD.default.Declaration,D_g=iD.default.Container,w_g=iD.default.Processor,B_g=iD.default.Document,k_g=iD.default.Comment,P_g=iD.default.Warning,N_g=iD.default.AtRule,O_g=iD.default.Result,sBi=iD.default.Input,R_g=iD.default.Rule,F_g=iD.default.Root,aBi=iD.default.Node});var uBi={};Mt(uBi,{default:()=>V6u});var dNt,oBi,G6u,mNt,V6u,lBi=Er(()=>{AIe();xc();X6e();Q6();Fg();Hu();zu();Vu();dNt="at-rule-no-deprecated",oBi=ms(dNt,{rejected:e=>`Unexpected deprecated at-rule "${e}"`}),G6u={url:"https://stylelint.io/user-guide/rules/at-rule-no-deprecated",fixable:!0},mNt=(e,t)=>(r,n)=>{ps(n,dNt,{actual:e},{actual:t,possible:{ignoreAtRules:[ya,nu]},optional:!0})&&r.walkAtRules(s=>{if(!GE(s))return;let{name:a}=s,u=a.toLowerCase();if(ja(t,"ignoreAtRules",a)||!DFr.has(u))return;let f=u==="nest"?()=>{let g=kie.rule({selector:s.params,source:s.source});g.append(s.nodes),s.replaceWith(g)}:void 0,p=`@${a}`;as({message:oBi.rejected,messageArgs:[p],node:s,ruleName:dNt,result:n,index:0,endIndex:p.length,fix:{apply:f,node:s.parent}})})};mNt.ruleName=dNt;mNt.messages=oBi;mNt.meta=G6u;V6u=mNt});var fBi={};Mt(fBi,{default:()=>K6u});var gNt,cBi,$6u,ANt,K6u,pBi=Er(()=>{xc();X6e();Q6();Fg();Hu();zu();Vu();Rv();gNt="at-rule-no-unknown",cBi=ms(gNt,{rejected:e=>`Unexpected unknown at-rule "${e}"`}),$6u={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},ANt=(e,t)=>(r,n)=>{if(!ps(n,gNt,{actual:e},{actual:t,possible:{ignoreAtRules:[ya,nu]},optional:!0}))return;let s=n.stylelint.config?.languageOptions?.syntax?.atRules||{},a=new Set(Object.keys(s));r.walkAtRules(u=>{if(!GE(u))return;let l=u.name;if(a.has(l)||ja(t,"ignoreAtRules",u.name)||Cg.prefix(l)||G9i.has(l.toLowerCase()))return;let f=`@${l}`;as({message:cBi.rejected,messageArgs:[f],node:u,ruleName:gNt,result:n,word:f})})};ANt.ruleName=gNt;ANt.messages=cBi;ANt.meta=$6u;K6u=ANt});var J6u,H6u,z6u,W6u,hY,uUe=Er(()=>{Rv();J6u=new Set(["@-moz-keyframes","@-moz-document","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@-webkit-viewport"]),H6u=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),z6u=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),W6u=new Set(["-moz-all","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-initial","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-pre-wrap","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-crisp-edges","-o-linear-gradient","-o-pre-wrap","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-calc","-webkit-cross-fade","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-plaintext","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out","-xv-digits","-xv-literal-punctuation","-xv-no-punctuation","-moz-arabic-indic","-moz-bengali","-moz-cjk-earthly-branch","-moz-cjk-heavenly-stem","-moz-devanagari","-moz-ethiopic-numeric","-moz-gujarati","-moz-gurmukhi","-moz-hangul","-moz-hangul-consonant","-moz-japanese-formal","-moz-japanese-informal","-moz-kannada","-moz-khmer","-moz-lao","-moz-malayalam","-moz-myanmar","-moz-oriya","-moz-persian","-moz-simp-chinese-formal","-moz-simp-chinese-informal","-moz-tamil","-moz-telugu","-moz-thai","-moz-trad-chinese-formal","-moz-trad-chinese-informal"]),hY={atRuleName(e){return J6u.has(`@${e.toLowerCase()}`)},selector(e){return H6u.has(e.toLowerCase())},mediaFeatureName(e){return e.toLowerCase().includes("device-pixel-ratio")},property(e){let t=e.toLowerCase();return Cg.prefix(t).length===0?!1:z6u.has(Cg.unprefixed(t))},propertyValue(e){return W6u.has(e.toLowerCase())},unprefix(e){return e.replace(/-\w+-/,"")}}});var mBi={};Mt(mBi,{default:()=>Z6u});var hNt,dBi,X6u,yNt,Z6u,gBi=Er(()=>{uUe();Q6();Hu();zu();Vu();hNt="at-rule-no-vendor-prefix",dBi=ms(hNt,{rejected:e=>`Unexpected vendor-prefixed at-rule "${e}"`}),X6u={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},yNt=e=>(t,r)=>{ps(r,hNt,{actual:e})&&t.walkAtRules(i=>{if(!GE(i))return;let s=i.name;if(!s.startsWith("-")||!hY.atRuleName(s))return;let a=()=>{i.name=hY.unprefix(i.name)},u=`@${s}`;as({message:dBi.rejected,messageArgs:[u],node:i,word:u,result:r,ruleName:hNt,fix:{apply:a,node:i}})})};yNt.ruleName=hNt;yNt.messages=dBi;yNt.meta=X6u;Z6u=yNt});var hBi={};Mt(hBi,{default:()=>tku});var _Nt,ABi,eku,ENt,tku,yBi=Er(()=>{xc();Q6();IA();OPt();Fg();Hu();zu();Vu();_Nt="at-rule-prelude-no-invalid",ABi=ms(_Nt,{rejected:(e,t)=>`Unexpected invalid prelude "${t}" for at-rule "${e}"`}),eku={url:"https://stylelint.io/user-guide/rules/at-rule-prelude-no-invalid"},ENt=(e,t,r)=>(n,i)=>{ps(i,_Nt,{actual:e},{actual:t,possible:{ignoreAtRules:[ya,nu]},optional:!0})&&n.walkAtRules(a=>{if(!GE(a))return;let{name:u,params:l}=a;if(ja(t,"ignoreAtRules",u))return;let f=Z6e(r),{error:p}=f.matchAtrulePrelude(u,l);if(!p||p.name!=="SyntaxMatchError")return;let g=`@${u}`,A=bh(a),h=A+l.length;as({message:ABi.rejected,messageArgs:[g,l],node:a,index:A,endIndex:h,ruleName:_Nt,result:i})})};ENt.ruleName=_Nt;ENt.messages=ABi;ENt.meta=eku;tku=ENt});function mLr(e){let t=new Map;for(let[r,n]of Object.entries(e)){let i=Array.isArray(n)?n:[n];t.set(r,new Set(i))}return t}var _Bi=Er(()=>{});function A3(...e){return t=>_O(t)?Object.values(t).flat().every(r=>e.some(n=>n(r))):!1}var AX=Er(()=>{xc()});var xBi={};Mt(xBi,{default:()=>nku});var xNt,EBi,rku,vNt,nku,vBi=Er(()=>{_Bi();Q6();xc();Hu();zu();AX();Vu();xNt="at-rule-property-required-list",EBi=ms(xNt,{expected:(e,t)=>`Expected property (or descriptor) "${t}" for at-rule "${e}"`}),rku={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},vNt=e=>(t,r)=>{if(!ps(r,xNt,{actual:e,possible:[A3(ya)]}))return;let i=mLr(e),s=new Set;t.walkAtRules(a=>{if(!GE(a))return;let{name:u,nodes:l}=a;if(!l)return;let f=u.toLowerCase(),p=i.get(f);if(p){s.clear();for(let g of l){if(!g||g.type!=="decl")continue;let A=g.prop.toLowerCase();p.has(A)&&s.add(A)}if(s.size!==p.size)for(let g of p){if(s.has(g))continue;let A=`@${a.name}`;as({message:EBi.expected,messageArgs:[A,g],node:a,word:A,result:r,ruleName:xNt})}}})};vNt.ruleName=xNt;vNt.messages=EBi;vNt.meta=rku;nku=vNt});function $st(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),_w(e))r+=e.selector;else if(o1(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var gLr=Er(()=>{V_()});function ALr(e,t=Kst){if(!e)return e;let[r]=e.split(/\s/,1);return dX(r),r.replace(t,"")}function tfe(e,t=Kst){let r=ya(e)?e:eK(e)?e.text:void 0;if(!r)return!1;let n=ALr(r,t);return n!==void 0&&iku.has(n)}function CBi(e,t=Kst){return`${t}${e}`}var CNt,bNt,INt,SNt,iku,Kst,lUe=Er(()=>{xc();V_();CNt="-disable",bNt="-disable-line",INt="-disable-next-line",SNt="-enable",iku=new Set([CNt,bNt,INt,SNt]),Kst="stylelint"});var IBi={};Mt(IBi,{default:()=>aku});var TNt,bBi,sku,DNt,aku,SBi=Er(()=>{gLr();Dst();V_();lUe();Fg();Hu();zu();Vu();TNt="block-no-empty",bBi=ms(TNt,{rejected:"Unexpected empty block"}),sku={url:"https://stylelint.io/user-guide/rules/block-no-empty"},DNt=(e,t,r)=>(n,i)=>{if(!ps(i,TNt,{actual:e,possible:[!0]},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let a=ja(t,"ignore","comments");n.walkRules(u),n.walkAtRules(u);function u(p){if(!Wce(p)||l(p)||f(p))return;let g=$st(p,{noRawBefore:!0}).length;p.raws.between===void 0&&g--,as({message:bBi.rejected,messageArgs:[],node:p,start:p.positionBy({index:g}),end:p.rangeBy({}).end,result:i,ruleName:TNt})}function l(p){return(p.nodes??[]).some(g=>!(eK(g)&&(a||tfe(g,r.configurationComment))))}function f(p){let{after:g}=p.raws;return typeof g=="string"&&/\S/.test(g)}};DNt.ruleName=TNt;DNt.messages=bBi;DNt.meta=sku;aku=DNt});function iK(e){return!(c1e(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var oke=Er(()=>{Est()});function Ed(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!iK(e.selector))}var m_=Er(()=>{oke()});var DBi={};Mt(DBi,{default:()=>uku});var wNt,TBi,oku,BNt,uku,wBi=Er(()=>{V_();m_();Hu();zu();Vu();wNt="block-no-redundant-nested-style-rules",TBi=ms(wNt,{rejected:"Unexpected redundant nested style rule"}),oku={url:"https://stylelint.io/user-guide/rules/block-no-redundant-nested-style-rules"},BNt=e=>(t,r)=>{ps(r,wNt,{actual:e,possible:[!0]})&&t.walkRules(i=>{if(!Ed(i))return;let{parent:s,selector:a}=i;a==="&"&&s&&(M6(s)||as({message:TBi.rejected,messageArgs:[],node:i,result:r,ruleName:wNt}))})};BNt.ruleName=wNt;BNt.messages=TBi;BNt.meta=oku;uku=BNt});function Pie(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var cUe=Er(()=>{});function fUe(e){if(!Pie(e))return!1;for(let t of e.nodes){if(t.type==="function")return fUe(t);if(t.type==="word"&&(t.value.startsWith("#")||t.value.startsWith("$")||t.value.includes(".$")))return!1}return!0}var hLr=Er(()=>{cUe()});var PBi={};Mt(PBi,{default:()=>mku});var BBi,kNt,kBi,lku,cku,fku,pku,dku,PNt,mku,NBi=Er(()=>{BBi=qi(sh(),1);IA();z8();hLr();V_();Hu();zu();rK();Vu();kNt="color-function-alias-notation",kBi=ms(kNt,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),lku={url:"https://stylelint.io/user-guide/rules/color-function-alias-notation",fixable:!0},cku=/\b(?:rgba|hsla)\(/i,fku=/\b(?:rgb|hsl)\(/i,pku=/^(?:rgba|hsla)$/i,dku=/^(?:rgb|hsl)$/i,PNt=e=>(t,r)=>{if(!ps(r,kNt,{actual:e,possible:["with-alpha","without-alpha"]}))return;let i=e==="with-alpha"?fku:cku,s=e==="with-alpha"?dku:pku;t.walkDecls(a=>{if(!i.test(a.value))return;let u=(0,BBi.default)(d_(a));u.walk(l=>{if(!tK(l)||!fUe(l))return;let{value:f,sourceIndex:p}=l;if(!s.test(f))return;let g=e==="with-alpha"?`${f}a`:f.slice(0,-1),A=()=>{l.value=g,xw(a,u.toString())},h=Lp(a)+p,_=h+f.length;as({message:kBi.expected,messageArgs:[f,g],node:a,index:h,endIndex:_,result:r,ruleName:kNt,fix:{apply:A,node:a}})})})};PNt.ruleName=kNt;PNt.messages=kBi;PNt.meta=lku;mku=PNt});function hX(e){return tK(e)&&e.value.toLowerCase()==="var"}var pUe=Er(()=>{V_()});var MBi={};Mt(MBi,{default:()=>Eku});function yLr(e){return e!==""?e:" "}function _ku(e){return e.some(t=>hX(t))}function LBi(e){return e.type==="div"&&e.value===","}function OBi(e){let t=0;for(let r of e)if(LBi(r))t++;else if(r.value==="/")return!1;return t&&(t===2||t===3)}var RBi,NNt,FBi,gku,Aku,hku,yku,ONt,Eku,QBi=Er(()=>{RBi=qi(sh(),1);IA();z8();hLr();V_();pUe();Fg();Hu();zu();rK();Vu();NNt="color-function-notation",FBi=ms(NNt,{expected:e=>`Expected ${e} color-function notation`}),gku={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},Aku=/^(?:rgba|hsla)$/i,hku=/\b(?:rgba?|hsla?)\(/i,yku=/^(?:rgba?|hsla?)$/i,ONt=(e,t)=>(r,n)=>{if(!ps(n,NNt,{actual:e,possible:["modern","legacy"]},{actual:t,possible:{ignore:["with-var-inside"]},optional:!0}))return;let s=ja(t,"ignore","with-var-inside");r.walkDecls(a=>{if(!hku.test(a.value)||e==="modern"&&!a.value.includes(","))return;let u=(0,RBi.default)(d_(a));u.walk(l=>{if(!tK(l)||!fUe(l))return;let{value:f,sourceIndex:p,sourceEndIndex:g,nodes:A}=l;if(s&&_ku(A)||!yku.test(f)||!(A.length>=5)||e==="modern"&&!OBi(A)||e==="legacy"&&OBi(A))return;let _=()=>{let k=0;l.nodes=A.map(M=>(LBi(M)&&(k<2?(M.type="space",M.value=yLr(M.after),k++):(M.value="/",M.before=yLr(M.before),M.after=yLr(M.after))),M)),Aku.test(f)&&(l.value=f.slice(0,-1)),xw(a,u.toString())},E=Lp(a)+p,b=E+(g-p),D=e==="modern"?_:void 0;as({message:FBi.expected,messageArgs:[e],node:a,index:E,endIndex:b,result:n,ruleName:NNt,fix:{apply:D,node:a}})})})};ONt.ruleName=NNt;ONt.messages=FBi;ONt.meta=gku;Eku=ONt});function Jst(e){return xku.test(e)}var xku,_Lr=Er(()=>{xku=/#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})(?:$|[^\da-f])/i});function Hst(e){return vku.test(e)}var vku,ELr=Er(()=>{vku=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i});function zst({type:e,value:t}){return e==="word"&&Hst(t)}var xLr=Er(()=>{ELr()});function Nie(e){return tK(e)&&e.value.toLowerCase()==="url"}var dUe=Er(()=>{V_()});var qBi={};Mt(qBi,{default:()=>bku});function jBi(e){return e.length===5||e.length===9}var UBi,RNt,vLr,Cku,FNt,bku,YBi=Er(()=>{UBi=qi(sh(),1);IA();_Lr();xLr();dUe();Hu();zu();Vu();RNt="color-hex-alpha",vLr=ms(RNt,{expected:e=>`Expected alpha channel in "${e}"`,rejected:e=>`Unexpected alpha channel in "${e}"`}),Cku={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},FNt=e=>(t,r)=>{ps(r,RNt,{actual:e,possible:["always","never"]})&&t.walkDecls(i=>{if(!Jst(i.value))return;(0,UBi.default)(i.value).walk(a=>{if(Nie(a))return!1;if(!zst(a))return;let{value:u}=a;if(e==="always"&&jBi(u)||e==="never"&&!jBi(u))return;let l=Lp(i)+a.sourceIndex,f=l+u.length;as({message:e==="never"?vLr.rejected:vLr.expected,messageArgs:[u],node:i,index:l,endIndex:f,result:r,ruleName:RNt})})})};FNt.ruleName=RNt;FNt.messages=vLr;FNt.meta=Cku;bku=FNt});var $Bi={};Mt($Bi,{default:()=>Bku});function Tku(e){return e=e.toLowerCase(),e[1]===e[2]&&e[3]===e[4]&&e[5]===e[6]&&(e.length===7||e.length===9&&e[7]===e[8])}function Dku(e){let t="#";for(let r=1;r{GBi=qi(sh(),1);IA();z8();xLr();dUe();Hu();zu();rK();Vu();LNt="color-hex-length",VBi=ms(LNt,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Iku={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},Sku=/#[\da-z]+/i,MNt=e=>(t,r)=>{ps(r,LNt,{actual:e,possible:["short","long"]})&&t.walkDecls(i=>{if(!Sku.test(i.value))return;let s=(0,GBi.default)(d_(i));s.walk(a=>{let{value:u}=a;if(Nie(a))return!1;if(!zst(a)||e==="long"&&u.length!==4&&u.length!==5||e==="short"&&(u.length<6||!Tku(u)))return;let f=(e==="long"?wku:Dku)(u),p=()=>{a.value=f,xw(i,s.toString())},g=Lp(i)+a.sourceIndex,A=g+a.value.length;as({message:VBi.expected,messageArgs:[u,f],node:i,index:g,endIndex:A,result:r,ruleName:LNt,fix:{apply:p,node:i}})})})};MNt.ruleName=LNt;MNt.messages=VBi;MNt.meta=Iku;Bku=MNt});var kku,A1e,iP,yX,t6i,JBi,CLr,Pku,QNt,r6i,n6i,HBi,zBi,WBi,Wst,Nku,Oku,Rku,Fku,SLr,XBi,Lku,bLr,ILr,ZBi,TLr,Oie,e6i,i6i,s6i=Er(()=>{kku={grad:.9,turn:360,rad:360/(2*Math.PI)},A1e=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},iP=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},yX=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},t6i=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},JBi=function(e){return{r:yX(e.r,0,255),g:yX(e.g,0,255),b:yX(e.b,0,255),a:yX(e.a)}},CLr=function(e){return{r:iP(e.r),g:iP(e.g),b:iP(e.b),a:iP(e.a,3)}},Pku=/^#([0-9a-f]{3,8})$/i,QNt=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},r6i=function(e){var t=e.r,r=e.g,n=e.b,i=e.a,s=Math.max(t,r,n),a=s-Math.min(t,r,n),u=a?s===t?(r-n)/a:s===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(u<0?u+6:u),s:s?a/s*100:0,v:s/255*100,a:i}},n6i=function(e){var t=e.h,r=e.s,n=e.v,i=e.a;t=t/360*6,r/=100,n/=100;var s=Math.floor(t),a=n*(1-r),u=n*(1-(t-s)*r),l=n*(1-(1-t+s)*r),f=s%6;return{r:255*[n,u,a,a,l,n][f],g:255*[l,n,n,u,a,a][f],b:255*[a,a,l,n,n,u][f],a:i}},HBi=function(e){return{h:t6i(e.h),s:yX(e.s,0,100),l:yX(e.l,0,100),a:yX(e.a)}},zBi=function(e){return{h:iP(e.h),s:iP(e.s),l:iP(e.l),a:iP(e.a,3)}},WBi=function(e){return n6i((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},Wst=function(e){return{h:(t=r6i(e)).h,s:(i=(200-(r=t.s))*(n=t.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:t.a};var t,r,n,i},Nku=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Oku=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Rku=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Fku=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,SLr={string:[[function(e){var t=Pku.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:e.length===4?iP(parseInt(e[3]+e[3],16)/255,2):1}:e.length===6||e.length===8?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:e.length===8?iP(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=Rku.exec(e)||Fku.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:JBi({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:t[7]===void 0?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=Nku.exec(e)||Oku.exec(e);if(!t)return null;var r,n,i=HBi({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(kku[n]||1)),s:Number(t[3]),l:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return WBi(i)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,i=e.a,s=i===void 0?1:i;return A1e(t)&&A1e(r)&&A1e(n)?JBi({r:Number(t),g:Number(r),b:Number(n),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,i=e.a,s=i===void 0?1:i;if(!A1e(t)||!A1e(r)||!A1e(n))return null;var a=HBi({h:Number(t),s:Number(r),l:Number(n),a:Number(s)});return WBi(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,i=e.a,s=i===void 0?1:i;if(!A1e(t)||!A1e(r)||!A1e(n))return null;var a=(function(u){return{h:t6i(u.h),s:yX(u.s,0,100),v:yX(u.v,0,100),a:yX(u.a)}})({h:Number(t),s:Number(r),v:Number(n),a:Number(s)});return n6i(a)},"hsv"]]},XBi=function(e,t){for(var r=0;r=.5},e.prototype.toHex=function(){return t=CLr(this.rgba),r=t.r,n=t.g,i=t.b,a=(s=t.a)<1?QNt(iP(255*s)):"","#"+QNt(r)+QNt(n)+QNt(i)+a;var t,r,n,i,s,a},e.prototype.toRgb=function(){return CLr(this.rgba)},e.prototype.toRgbString=function(){return t=CLr(this.rgba),r=t.r,n=t.g,i=t.b,(s=t.a)<1?"rgba("+r+", "+n+", "+i+", "+s+")":"rgb("+r+", "+n+", "+i+")";var t,r,n,i,s},e.prototype.toHsl=function(){return zBi(Wst(this.rgba))},e.prototype.toHslString=function(){return t=zBi(Wst(this.rgba)),r=t.h,n=t.s,i=t.l,(s=t.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+s+")":"hsl("+r+", "+n+"%, "+i+"%)";var t,r,n,i,s},e.prototype.toHsv=function(){return t=r6i(this.rgba),{h:iP(t.h),s:iP(t.s),v:iP(t.v),a:iP(t.a,3)};var t},e.prototype.invert=function(){return Oie({r:255-(t=this.rgba).r,g:255-t.g,b:255-t.b,a:t.a});var t},e.prototype.saturate=function(t){return t===void 0&&(t=.1),Oie(bLr(this.rgba,t))},e.prototype.desaturate=function(t){return t===void 0&&(t=.1),Oie(bLr(this.rgba,-t))},e.prototype.grayscale=function(){return Oie(bLr(this.rgba,-1))},e.prototype.lighten=function(t){return t===void 0&&(t=.1),Oie(ZBi(this.rgba,t))},e.prototype.darken=function(t){return t===void 0&&(t=.1),Oie(ZBi(this.rgba,-t))},e.prototype.rotate=function(t){return t===void 0&&(t=15),this.hue(this.hue()+t)},e.prototype.alpha=function(t){return typeof t=="number"?Oie({r:(r=this.rgba).r,g:r.g,b:r.b,a:t}):iP(this.rgba.a,3);var r},e.prototype.hue=function(t){var r=Wst(this.rgba);return typeof t=="number"?Oie({h:t,s:r.s,l:r.l,a:r.a}):iP(r.h)},e.prototype.isEqual=function(t){return this.toHex()===Oie(t).toHex()},e})(),Oie=function(e){return e instanceof TLr?e:new TLr(e)},e6i=[],i6i=function(e){e.forEach(function(t){e6i.indexOf(t)<0&&(t(TLr,SLr),e6i.push(t))})}});function a6i(e,t){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var s={};e.prototype.toName=function(a){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var u,l,f=n[this.toHex()];if(f)return f;if(a?.closest){var p=this.toRgb(),g=1/0,A="black";if(!s.length)for(var h in r)s[h]=new e(r[h]).toRgb();for(var _ in r){var E=(u=p,l=s[_],Math.pow(u.r-l.r,2)+Math.pow(u.g-l.g,2)+Math.pow(u.b-l.b,2));E{});function p6i(e,t){e.prototype.toHwb=function(){return u6i(l6i(this.rgba))},e.prototype.toHwbString=function(){return r=u6i(l6i(this.rgba)),n=r.h,i=r.w,s=r.b,(a=r.a)<1?"hwb("+n+" "+i+"% "+s+"% / "+a+")":"hwb("+n+" "+i+"% "+s+"%)";var r,n,i,s,a},t.string.push([Uku,"hwb"]),t.object.push([Qku,"hwb"])}var Mku,DLr,jNt,wLr,c6i,u6i,l6i,f6i,Qku,jku,Uku,d6i=Er(()=>{Mku={grad:.9,turn:360,rad:360/(2*Math.PI)},DLr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},jNt=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},wLr=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},c6i=function(e){return{h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),w:wLr(e.w,0,100),b:wLr(e.b,0,100),a:wLr(e.a)};var t},u6i=function(e){return{h:jNt(e.h),w:jNt(e.w),b:jNt(e.b),a:jNt(e.a,3)}},l6i=function(e){return{h:(function(t){var r=t.r,n=t.g,i=t.b,s=t.a,a=Math.max(r,n,i),u=a-Math.min(r,n,i),l=u?a===r?(n-i)/u:a===n?2+(i-r)/u:4+(r-n)/u:0;return{h:60*(l<0?l+6:l),s:a?u/a*100:0,v:a/255*100,a:s}})(e).h,w:Math.min(e.r,e.g,e.b)/255*100,b:100-Math.max(e.r,e.g,e.b)/255*100,a:e.a}},f6i=function(e){return(function(t){var r=t.h,n=t.s,i=t.v,s=t.a;r=r/360*6,n/=100,i/=100;var a=Math.floor(r),u=i*(1-n),l=i*(1-(r-a)*n),f=i*(1-(1-r+a)*n),p=a%6;return{r:255*[i,l,u,u,f,i][p],g:255*[f,i,i,l,u,u][p],b:255*[u,u,f,i,i,l][p],a:s}})({h:e.h,s:e.b===100?0:100-e.w/(100-e.b)*100,v:100-e.b,a:e.a})},Qku=function(e){var t=e.h,r=e.w,n=e.b,i=e.a,s=i===void 0?1:i;if(!DLr(t)||!DLr(r)||!DLr(n))return null;var a=c6i({h:Number(t),w:Number(r),b:Number(n),a:Number(s)});return f6i(a)},jku=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Uku=function(e){var t=jku.exec(e);if(!t)return null;var r,n,i=c6i({h:(r=t[1],n=t[2],n===void 0&&(n="deg"),Number(r)*(Mku[n]||1)),w:Number(t[3]),b:Number(t[4]),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return f6i(i)}});function m6i(e,t){e.prototype.toLab=function(){return n=Yku(this.rgba),s=n.y/OLr,a=n.z/RLr,i=(i=n.x/NLr)>Zst?Math.cbrt(i):(mUe*i+16)/116,r={l:116*(s=s>Zst?Math.cbrt(s):(mUe*s+16)/116)-16,a:500*(i-s),b:200*(s-(a=a>Zst?Math.cbrt(a):(mUe*a+16)/116)),alpha:n.a},{l:Xst(r.l,2),a:Xst(r.a,2),b:Xst(r.b,2),alpha:Xst(r.alpha,3)};var r,n,i,s,a},e.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof e?r:new e(r),i=(function(s,a){var u=s.l,l=s.a,f=s.b,p=a.l,g=a.a,A=a.b,h=180/Math.PI,_=Math.PI/180,E=Math.pow(Math.pow(l,2)+Math.pow(f,2),.5),b=Math.pow(Math.pow(g,2)+Math.pow(A,2),.5),D=(u+p)/2,k=Math.pow((E+b)/2,7),M=.5*(1-Math.pow(k/(k+Math.pow(25,7)),.5)),R=l*(1+M),q=g*(1+M),G=Math.pow(Math.pow(R,2)+Math.pow(f,2),.5),K=Math.pow(Math.pow(q,2)+Math.pow(A,2),.5),Z=(G+K)/2,oe=R===0&&f===0?0:Math.atan2(f,R)*h,ue=q===0&&A===0?0:Math.atan2(A,q)*h;oe<0&&(oe+=360),ue<0&&(ue+=360);var me=ue-oe,Te=Math.abs(ue-oe);Te>180&&ue<=oe?me+=360:Te>180&&ue>oe&&(me-=360);var le=oe+ue;Te<=180?le/=2:le=(oe+ue<360?le+360:le-360)/2;var ae=1-.17*Math.cos(_*(le-30))+.24*Math.cos(2*_*le)+.32*Math.cos(_*(3*le+6))-.2*Math.cos(_*(4*le-63)),Ae=p-u,De=K-G,_e=2*Math.sin(_*me/2)*Math.pow(G*K,.5),Le=1+.015*Math.pow(D-50,2)/Math.pow(20+Math.pow(D-50,2),.5),qe=1+.045*Z,at=1+.015*Z*ae,st=30*Math.exp(-1*Math.pow((le-275)/25,2)),Ur=-2*Math.pow(k/(k+Math.pow(25,7)),.5)*Math.sin(2*_*st);return Math.pow(Math.pow(Ae/1/Le,2)+Math.pow(De/1/qe,2)+Math.pow(_e/1/at,2)+Ur*De*_e/(1*qe*1*at),.5)})(this.toLab(),n.toLab())/100;return Rie(Xst(i,3))},t.object.push([Gku,"lab"])}var BLr,Xst,Rie,kLr,PLr,NLr,OLr,RLr,qku,Yku,Zst,mUe,Gku,Vku,g6i=Er(()=>{BLr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},Xst=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},Rie=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},kLr=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},PLr=function(e){return 255*(e>.0031308?1.055*Math.pow(e,.4166666666666667)-.055:12.92*e)},NLr=96.422,OLr=100,RLr=82.521,qku=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:PLr(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:PLr(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:PLr(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:Rie(r.r,0,255),g:Rie(r.g,0,255),b:Rie(r.b,0,255),a:Rie(r.a)}},Yku=function(e){var t=kLr(e.r),r=kLr(e.g),n=kLr(e.b);return(function(i){return{x:Rie(i.x,0,NLr),y:Rie(i.y,0,OLr),z:Rie(i.z,0,RLr),a:Rie(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},Zst=216/24389,mUe=24389/27,Gku=function(e){var t=e.l,r=e.a,n=e.b,i=e.alpha,s=i===void 0?1:i;if(!BLr(t)||!BLr(r)||!BLr(n))return null;var a=(function(u){return{l:Rie(u.l,0,400),a:u.a,b:u.b,alpha:Rie(u.alpha)}})({l:Number(t),a:Number(r),b:Number(n),alpha:Number(s)});return Vku(a)},Vku=function(e){var t=(e.l+16)/116,r=e.a/500+t,n=t-e.b/200;return qku({x:(Math.pow(r,3)>Zst?Math.pow(r,3):(116*r-16)/mUe)*NLr,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/mUe)*OLr,z:(Math.pow(n,3)>Zst?Math.pow(n,3):(116*n-16)/mUe)*RLr,a:e.alpha})}});function E6i(e,t){e.prototype.toLch=function(){return A6i(h6i(this.rgba))},e.prototype.toLchString=function(){return r=A6i(h6i(this.rgba)),n=r.l,i=r.c,s=r.h,(a=r.a)<1?"lch("+n+"% "+i+" "+s+" / "+a+")":"lch("+n+"% "+i+" "+s+")";var r,n,i,s,a},t.string.push([Wku,"lch"]),t.object.push([Hku,"lch"])}var $ku,FLr,gUe,h1e,LLr,MLr,QLr,jLr,ULr,Kku,Jku,eat,AUe,y6i,A6i,Hku,h6i,_6i,zku,Wku,x6i=Er(()=>{$ku={grad:.9,turn:360,rad:360/(2*Math.PI)},FLr=function(e){return typeof e=="string"?e.length>0:typeof e=="number"},gUe=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},h1e=function(e,t,r){return t===void 0&&(t=0),r===void 0&&(r=1),e>r?r:e>t?e:t},LLr=function(e){var t=e/255;return t<.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)},MLr=function(e){return 255*(e>.0031308?1.055*Math.pow(e,1/2.4)-.055:12.92*e)},QLr=96.422,jLr=100,ULr=82.521,Kku=function(e){var t,r,n={x:.9555766*(t=e).x+-.0230393*t.y+.0631636*t.z,y:-.0282895*t.x+1.0099416*t.y+.0210077*t.z,z:.0122982*t.x+-.020483*t.y+1.3299098*t.z};return r={r:MLr(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:MLr(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:MLr(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:e.a},{r:h1e(r.r,0,255),g:h1e(r.g,0,255),b:h1e(r.b,0,255),a:h1e(r.a)}},Jku=function(e){var t=LLr(e.r),r=LLr(e.g),n=LLr(e.b);return(function(i){return{x:h1e(i.x,0,QLr),y:h1e(i.y,0,jLr),z:h1e(i.z,0,ULr),a:h1e(i.a)}})((function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}})({x:100*(.4124564*t+.3575761*r+.1804375*n),y:100*(.2126729*t+.7151522*r+.072175*n),z:100*(.0193339*t+.119192*r+.9503041*n),a:e.a}))},eat=216/24389,AUe=24389/27,y6i=function(e){return{l:h1e(e.l,0,100),c:e.c,h:(t=e.h,(t=isFinite(t)?t%360:0)>0?t:t+360),a:e.a};var t},A6i=function(e){return{l:gUe(e.l,2),c:gUe(e.c,2),h:gUe(e.h,2),a:gUe(e.a,3)}},Hku=function(e){var t=e.l,r=e.c,n=e.h,i=e.a,s=i===void 0?1:i;if(!FLr(t)||!FLr(r)||!FLr(n))return null;var a=y6i({l:Number(t),c:Number(r),h:Number(n),a:Number(s)});return _6i(a)},h6i=function(e){var t=(function(s){var a=Jku(s),u=a.x/QLr,l=a.y/jLr,f=a.z/ULr;return u=u>eat?Math.cbrt(u):(AUe*u+16)/116,{l:116*(l=l>eat?Math.cbrt(l):(AUe*l+16)/116)-16,a:500*(u-l),b:200*(l-(f=f>eat?Math.cbrt(f):(AUe*f+16)/116)),alpha:a.a}})(e),r=gUe(t.a,3),n=gUe(t.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:t.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:t.alpha}},_6i=function(e){return t={l:e.l,a:e.c*Math.cos(e.h*Math.PI/180),b:e.c*Math.sin(e.h*Math.PI/180),alpha:e.a},n=t.a/500+(r=(t.l+16)/116),i=r-t.b/200,Kku({x:(Math.pow(n,3)>eat?Math.pow(n,3):(116*n-16)/AUe)*QLr,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/AUe)*jLr,z:(Math.pow(i,3)>eat?Math.pow(i,3):(116*i-16)/AUe)*ULr,a:t.alpha});var t,r,n,i},zku=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Wku=function(e){var t=zku.exec(e);if(!t)return null;var r,n,i=y6i({l:Number(t[1]),c:Number(t[2]),h:(r=t[3],n=t[4],n===void 0&&(n="deg"),Number(r)*($ku[n]||1)),a:t[5]===void 0?1:Number(t[5])/(t[6]?100:1)});return _6i(i)}});function Xku(e){if(e=e.toLowerCase(),!e.startsWith("hwb(")||!e.endsWith(")")||e.includes("/"))return null;let[t,r="",n="",i,...s]=e.slice(4,-1).split(",");if(!t||!t.trim()||!r.trim()||!n.trim()||s.length>0)return null;let a=UNt(`hwb(${t} ${r} ${n}${i?` / ${i}`:""})`);return a.isValid()?a.rgba:null}function Zku(e){if(e=e.toLowerCase(),!e.startsWith("gray(")||!e.endsWith(")"))return null;let[t,r,...n]=e.slice(5,-1).split(",");if(!t||n.length>0)return null;let i=qLr.default.unit(t.trim());if(!i||!["","%"].includes(i.unit))return null;let s={l:Number(i.number),a:0,b:0};if(r){let a=qLr.default.unit(r.trim());if(!a||!["","%"].includes(a.unit))return null;s={...s,alpha:Number(a.number)/(a.unit?100:1)}}return UNt(s).rgba}var qLr,UNt,v6i=Er(()=>{s6i();qLr=qi(sh(),1);o6i();d6i();g6i();x6i();i6i([a6i,p6i,m6i,E6i,(e,t)=>{t.string.push([Xku,"hwb-with-comma"])},(e,t)=>{t.string.push([Zku,"gray"])}]);UNt=Oie});var C6i,b6i,e7u,uke,hUe=Er(()=>{C6i=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),b6i=new Set(["color","color-mix","hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"]),e7u=new Set(["abs","acos","asin","atan","calc","cos","exp","sign","sin","sqrt","tan"]),uke=new Set([...e7u,"atan2","calc-size","clamp","hypot","log","max","min","mod","pow","rem","round"])});function YLr(e){return t7u.test(e)}var t7u,I6i=Er(()=>{hUe();t7u=new RegExp(`\\b(?:${[...b6i.values()].join("|")})\\(`,"i")});var Lv,S6i,_X,r7u,n7u,i7u,T6i,GLr,s7u,VLr,a7u,o7u,u7u,l7u,c7u,tat,f7u,qNt,yUe,p7u,d7u,m7u,g7u,A7u,YNt,D6i,w6i,B6i,k6i,P6i,GNt,h7u,y7u,N6i,O6i,_Ue,R6i,_7u,E7u,F6i,lke,j6=Er(()=>{z6e();Lv=new Set(["initial","inherit","revert","revert-layer","unset"]),S6i=B_(Lv,["caption","icon","menu","message-box","small-caption","status-bar"]),_X=B_(Lv,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","emoji","math","fangsong"]),r7u=new Set(["-apple-system","-apple-system-headline","-apple-system-body","-apple-system-subheadline","-apple-system-footnote","-apple-system-caption1","-apple-system-caption2","-apple-system-short-headline","-apple-system-short-body","-apple-system-short-subheadline","-apple-system-short-footnote","-apple-system-short-caption1","-apple-system-tall-body","-apple-system-title0","-apple-system-title1","-apple-system-title2","-apple-system-title3","-apple-system-title4"]),n7u=new Set(["-moz-button","-moz-desktop","-moz-dialog","-moz-document","-moz-field","-moz-fixed","-moz-info","-moz-list","-moz-pull-down-menu","-moz-window","-moz-workspace"]),i7u=new Set(["-webkit-body","-webkit-control","-webkit-mini-control","-webkit-pictograph","-webkit-small-control","-webkit-standard"]),T6i=B_(r7u,n7u,i7u),GLr=new Set(["bolder","lighter"]),s7u=new Set(["normal","bold"]),VLr=B_(GLr,s7u),a7u=new Set(["100","200","300","400","500","600","700","800","900"]),o7u=B_(Lv,VLr,a7u),u7u=B_(Lv,["normal","italic","oblique"]),l7u=B_(Lv,["normal","none","small-caps"]),c7u=B_(Lv,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),tat=B_(Lv,["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large","larger","smaller","math","-konq-xxx-large","-webkit-xxx-large"]),f7u=B_(Lv,["normal"]),qNt=B_(Lv,u7u,l7u,o7u,c7u,tat,f7u,_X),yUe=B_(Lv,["none"]),p7u=B_(Lv,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),d7u=new Set(["infinite"]),m7u=B_(Lv,["normal","reverse","alternate","alternate-reverse"]),g7u=new Set(["none","forwards","backwards","both"]),A7u=B_(Lv,["running","paused"]),YNt=B_(Lv,yUe,p7u,d7u,m7u,g7u,A7u),D6i=B_(Lv,["auto","span"]),w6i=B_(Lv,["auto","span"]),B6i=B_(Lv,["auto","span"]),k6i=B_(Lv,["none"]),P6i=B_(Lv,["none"]),GNt=B_(Lv,["none","disc","circle","square","decimal","decimal-leading-zero","cjk-decimal","cjk-earthly-branch","cjk-heavenly-stem","cjk-ideographic","lower-alpha","upper-alpha","lower-armenian","upper-armenian","lower-greek","upper-greek","lower-hexadecimal","upper-hexadecimal","lower-latin","upper-latin","lower-norwegian","upper-norwegian","lower-roman","upper-roman","afar","amharic","amharic-abegede","arabic-indic","armenian","bengali","cambodian","devanagari","ethiopic-abegede","ethiopic-abegede-am-et","ethiopic-abegede-gez","ethiopic-abegede-ti-er","ethiopic-abegede-ti-et","ethiopic-halehame","ethiopic-halehame-aa-er","ethiopic-halehame-aa-et","ethiopic-halehame-am","ethiopic-halehame-am-et","ethiopic-halehame-gez","ethiopic-halehame-om-et","ethiopic-halehame-sid-et","ethiopic-halehame-so-et","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","ethiopic-halehame-tig","ethiopic-numeric","georgian","gujarati","gurmukhi","hangul","hangul-consonant","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","malayalam","mongolian","myanmar","oriya","oromo","persian","sidama","somali","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","tigre","tigrinya-er","tigrinya-er-abegede","tigrinya-et","tigrinya-et-abegede","trad-chinese-formal","trad-chinese-informal","urdu","disclosure-open","disclosure-closed","asterisks","binary","footnotes","octal"]),h7u=B_(Lv,["inside","outside"]),y7u=B_(Lv,["none"]),N6i=B_(Lv,GNt,h7u,y7u),O6i=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),_Ue=new Set(["from","to"]),R6i=new Set(["contain","cover","entry","entry-crossing","exit","exit-crossing"]),_7u=new Set(["-moz-buttondefault","-moz-buttonhoverface","-moz-buttonhovertext","-moz-cellhighlight","-moz-cellhighlighttext","-moz-combobox","-moz-comboboxtext","-moz-dialog","-moz-dialogtext","-moz-dragtargetzone","-moz-eventreerow","-moz-field","-moz-fieldtext","-moz-html-cellhighlight","-moz-html-cellhighlighttext","-moz-mac-accentdarkestshadow","-moz-mac-accentdarkshadow","-moz-mac-accentface","-moz-mac-accentlightesthighlight","-moz-mac-accentlightshadow","-moz-mac-accentregularhighlight","-moz-mac-accentregularshadow","-moz-mac-chrome-active","-moz-mac-chrome-inactive","-moz-mac-focusring","-moz-mac-menuselect","-moz-mac-menushadow","-moz-mac-menutextselect","-moz-menubarhovertext","-moz-menubartext","-moz-menuhover","-moz-menuhovertext","-moz-nativehyperlinktext","-moz-oddtreerow","-moz-win-accentcolor","-moz-win-accentcolortext","-moz-win-communicationstext","-moz-win-mediatext","-ms-hotlight"]),E7u=new Set(["activeborder","activecaption","appworkspace","background","buttonhighlight","buttonshadow","captiontext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]),F6i=B_(_7u,E7u,["accentcolor","accentcolortext","activetext","buttonborder","buttonface","buttontext","canvas","canvastext","field","fieldtext","graytext","highlight","highlighttext","linktext","mark","marktext","selecteditem","selecteditemtext","visitedtext"]),lke=new Set(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"])});function $Lr(e){return x7u.test(e)}var x7u,L6i=Er(()=>{j6();x7u=new RegExp(`\\b(?:${[...lke.values()].join("|")})\\b`,"i")});var M6i={};Mt(M6i,{default:()=>I7u});var KLr,VNt,JLr,v7u,C7u,b7u,$Nt,I7u,Q6i=Er(()=>{KLr=qi(sh(),1);xc();f1e();v6i();IA();I6i();L6i();_Lr();cUe();_9();j6();Fg();Hu();zu();Vu();VNt="color-named",JLr=ms(VNt,{expected:(e,t)=>`Expected "${e}" to be "${t}"`,rejected:e=>`Unexpected named color "${e}"`}),v7u={url:"https://stylelint.io/user-guide/rules/color-named"},C7u=new Set(["word","function"]),b7u=/\bgray\(/i,$Nt=(e,t)=>(r,n)=>{if(!ps(n,VNt,{actual:e,possible:["never","always-where-possible"]},{actual:t,possible:{ignoreProperties:[ya,nu],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(a=>{if(L9i.has(a.prop)||ja(t,"ignoreProperties",a.prop))return;let{value:u}=a;e==="never"&&!$Lr(u)||e==="always-where-possible"&&!Jst(u)&&!YLr(u)&&!b7u.test(u)||(0,KLr.default)(u).walk(l=>{let f=l.value,p=l.type,g=l.sourceIndex;if(ja(t,"ignore","inside-function")&&p==="function"||!Pie(l))return!1;if(!k1(f)||!C7u.has(p))return;if(e==="never"&&p==="word"&&lke.has(f.toLowerCase())){s(JLr.rejected,[f],a,Lp(a)+g,f.length);return}if(e!=="always-where-possible")return;let A=null,h=null;if(p==="function")A=KLr.default.stringify(l),h=A.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(p==="word"&&f.startsWith("#"))A=h=f;else return;let _=UNt(h);if(!_.isValid())return;let E=_.toName();E&&E.toLowerCase()!=="transparent"&&s(JLr.expected,[h,E],a,Lp(a)+g,A.length)})});function s(a,u,l,f,p){as({result:n,ruleName:VNt,message:a,messageArgs:u,node:l,index:f,endIndex:f+p})}};$Nt.ruleName=VNt;$Nt.messages=JLr;$Nt.meta=v7u;I7u=$Nt});var q6i={};Mt(q6i,{default:()=>B7u});function w7u({type:e,value:t}){return e==="word"&&T7u.test(t)}var j6i,KNt,U6i,S7u,T7u,D7u,JNt,B7u,Y6i=Er(()=>{j6i=qi(sh(),1);IA();z8();dUe();Hu();zu();Vu();KNt="color-no-hex",U6i=ms(KNt,{rejected:e=>`Unexpected hex color "${e}"`}),S7u={url:"https://stylelint.io/user-guide/rules/color-no-hex"},T7u=/^#[\da-z]+$/i,D7u=/#[\da-z]+/i,JNt=e=>(t,r)=>{ps(r,KNt,{actual:e})&&t.walkDecls(i=>{if(!D7u.test(i.value))return;(0,j6i.default)(d_(i)).walk(a=>{if(Nie(a))return!1;if(!w7u(a))return;let u=Lp(i)+a.sourceIndex,l=u+a.value.length;as({message:U6i.rejected,messageArgs:[a.value],node:i,index:u,endIndex:l,result:r,ruleName:KNt})})})};JNt.ruleName=KNt;JNt.messages=U6i;JNt.meta=S7u;B7u=JNt});function HLr(e){return!e.includes("[")}var G6i=Er(()=>{});var K6i={};Mt(K6i,{default:()=>N7u});var V6i,HNt,$6i,k7u,P7u,zNt,N7u,J6i=Er(()=>{V6i=qi(sh(),1);IA();G6i();ELr();Hu();zu();Vu();HNt="color-no-invalid-hex",$6i=ms(HNt,{rejected:e=>`Unexpected invalid hex color "${e}"`}),k7u={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},P7u=/#[\da-z]+/i,zNt=e=>(t,r)=>{ps(r,HNt,{actual:e})&&t.walkDecls(i=>{HLr(i.value)&&P7u.test(i.value)&&(0,V6i.default)(i.value).walk(({value:s,type:a,sourceIndex:u})=>{if(a==="function"&&s.endsWith("url"))return!1;if(a!=="word")return;let l=/^#[\da-z]+/i.exec(s);if(!l)return;let f=l[0];if(!f||Hst(f))return;let p=Lp(i)+u,g=p+f.length;as({message:$6i.rejected,messageArgs:[f],node:i,index:p,endIndex:g,result:r,ruleName:HNt})})})};zNt.ruleName=HNt;zNt.messages=$6i;zNt.meta=k7u;N7u=zNt});function rfe(e){return!("inline"in e||"inline"in e.raws)}var rat=Er(()=>{});var H6i={};Mt(H6i,{default:()=>R7u});var WNt,zLr,O7u,XNt,R7u,z6i=Er(()=>{xc();$je();Kje();Tst();lUe();Hje();wst();YPt();rat();Fg();Hu();zu();Vu();WNt="comment-empty-line-before",zLr=ms(WNt,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),O7u={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},XNt=(e,t,r)=>(n,i)=>{ps(i,WNt,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[ya,nu]},optional:!0})&&n.walkComments(a=>{if(p1e(a)||tfe(a,r.configurationComment)&&ja(t,"ignore","stylelint-commands")||ja(t,"ignore","after-comment")&&Die(a)||ja(t,"ignoreComments",a.text)||eke(a)||!rfe(a))return;let u=ja(t,"except","first-nested")&&TQ(a)?!1:e==="always",l=a.raws.before||"",f=Tie(l);if(u===f)return;let p=u?zLr.expected:zLr.rejected,g=u?"add":"remove";as({message:p,messageArgs:[],node:a,result:i,ruleName:WNt,fix:{apply:()=>Sie({node:a,newline:r.newline,action:g}),node:a.parent}})})};XNt.ruleName=WNt;XNt.messages=zLr;XNt.meta=O7u;R7u=XNt});var X6i={};Mt(X6i,{default:()=>L7u});var ZNt,W6i,F7u,eOt,L7u,Z6i=Er(()=>{rat();Hu();zu();Vu();ZNt="comment-no-empty",W6i=ms(ZNt,{rejected:"Unexpected empty comment"}),F7u={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},eOt=e=>(t,r)=>{ps(r,ZNt,{actual:e})&&t.walkComments(i=>{rfe(i)&&(i.text&&i.text.length!==0||as({message:W6i.rejected,messageArgs:[],node:i,result:r,ruleName:ZNt}))})};eOt.ruleName=ZNt;eOt.messages=W6i;eOt.meta=F7u;L7u=eOt});var tki={};Mt(tki,{default:()=>Q7u});var tOt,eki,M7u,rOt,Q7u,rki=Er(()=>{xc();Hu();zu();Vu();tOt="comment-pattern",eki=ms(tOt,{expected:e=>`Expected comment to match pattern "${e}"`}),M7u={url:"https://stylelint.io/user-guide/rules/comment-pattern"},rOt=e=>(t,r)=>{if(!ps(r,tOt,{actual:e,possible:[nu,ya]}))return;let i=ya(e)?new RegExp(e):e;t.walkComments(s=>{let a=s.text;i.test(a)||as({message:eki.expected,messageArgs:[e],node:s,result:r,ruleName:tOt})})};rOt.ruleName=tOt;rOt.messages=eki;rOt.meta=M7u;Q7u=rOt});function EUe(e){return[" ",` `," ","\r","\f"].includes(e)}var WLr=Er(()=>{});var nki={};Mt(nki,{default:()=>Y7u});function U7u(e){e.text.startsWith("*")?e.text=e.text.replace(/^(\*+)/,"$1 "):e.raws.left=" "}function q7u(e){e.text[e.text.length-1]==="*"?e.text=e.text.replace(/(\*+)$/," $1"):e.raws.right=" "}var nOt,xUe,j7u,iOt,Y7u,iki=Er(()=>{rat();WLr();Hu();zu();Vu();nOt="comment-whitespace-inside",xUe=ms(nOt,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),j7u={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0};iOt=e=>(t,r)=>{ps(r,nOt,{actual:e,possible:["always","never"]})&&t.walkComments(i=>{if(!rfe(i))return;let s=i.toString(),a=s.slice(0,4);if(/^\/\*[#!]\s/.test(a))return;let u=s.match(/(^\/\*+)(\s*)/);if(u==null||u[1]==null)throw new Error(`Invalid comment: "${s}"`);let l=s.match(/(\s*)(\*+\/)$/);if(l==null||l[2]==null)throw new Error(`Invalid comment: "${s}"`);let f=u[1],p=u[2]??"",g=p.charAt(0),A=l[1]??"",h=A.charAt(0),_=l[2];if(e==="never"&&g!==""){let b=f.length,D=b+p.length;E(xUe.rejectedOpening,b,D)}if(e==="always"&&!EUe(g)&&E(xUe.expectedOpening,f.length),e==="never"&&h!==""){let b=s.length-_.length,D=b-A.length;E(xUe.rejectedClosing,D,b)}e==="always"&&!EUe(h)&&E(xUe.expectedClosing,s.length-_.length-1);function E(b,D,k=D){as({message:b,messageArgs:[],index:D,endIndex:k,result:r,ruleName:nOt,node:i,fix:{apply:()=>{e==="never"?(i.raws.left="",i.raws.right="",i.text=i.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(b===xUe.expectedClosing?q7u:U7u)(i)},node:i}})}})};iOt.ruleName=nOt;iOt.messages=xUe;iOt.meta=j7u;Y7u=iOt});function XLr(e,t){if(!Array.isArray(t))return ski(e,t);for(let r of t){let n=ski(e,r);if(n)return n}return!1}function ski(e,t){return!t||!ya(t)||t.startsWith("/")&&t.endsWith("/")?!1:e.includes(t)?{match:e,pattern:t,substring:t}:!1}var aki=Er(()=>{xc()});var uki={};Mt(uki,{default:()=>V7u});var sOt,oki,G7u,nat,V7u,lki=Er(()=>{xc();aki();SS();Hu();zu();Vu();sOt="comment-word-disallowed-list",oki=ms(sOt,{rejected:e=>`Unexpected word matching pattern "${e}"`}),G7u={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},nat=e=>(t,r)=>{ps(r,sOt,{actual:e,possible:[ya,nu]})&&t.walkComments(i=>{let s=i.text;if(i.toString().slice(0,4)==="/*# ")return;let l=zA(s,e)||XLr(s,e);l&&as({message:oki.rejected,messageArgs:[l.pattern],node:i,word:l.substring,result:r,ruleName:sOt})})};nat.primaryOptionArray=!0;nat.ruleName=sOt;nat.messages=oki;nat.meta=G7u;V7u=nat});var fki={};Mt(fki,{default:()=>J7u});var ZLr,aOt,cki,$7u,K7u,oOt,J7u,pki=Er(()=>{ZLr=qi(sh(),1);IA();EC();xc();j6();Q6();xO();_9();Hu();zu();Vu();aOt="container-name-pattern",cki=ms(aOt,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),$7u={url:"https://stylelint.io/user-guide/rules/container-name-pattern"},K7u=new Set(["and","or","none","not"]),oOt=e=>(t,r)=>{if(!ps(r,aOt,{actual:e,possible:[nu,ya]}))return;let i=ya(e)?new RegExp(e):e,s=r.stylelint.config?.languageOptions?.syntax?.cssWideKeywords??[],a=new Set([...Lv,...s]);t.walkDecls(K9i.containerNameAndShorthandName,l=>{if(!Fv(l))return;let f=(0,ZLr.default)(l.value),p=!1;f.walk(({sourceIndex:g,type:A,value:h})=>{if(!p){if(A==="div"&&h==="/"&&(p=!0),A!=="word")return!1;a.has(h.toLowerCase())||k1(h)&&(i.test(h)||u(Lp(l)+g,h,l))}})}),t.walkAtRules(SA.containerName,l=>{if(!GE(l))return;let{params:f}=l;(0,ZLr.default)(f).walk(({sourceIndex:g,type:A,value:h})=>{if(A!=="word")return!1;K7u.has(h.toLowerCase())||i.test(h)||u(bh(l)+g,h,l)})});function u(l,f,p){as({result:r,ruleName:aOt,message:cki.expected,messageArgs:[f,e],node:p,index:l,endIndex:l+f.length})}};oOt.ruleName=aOt;oOt.messages=cki;oOt.meta=$7u;J7u=oOt});var mki={};Mt(mki,{default:()=>z7u});var uOt,dki,H7u,lOt,z7u,gki=Er(()=>{xc();IA();Hu();zu();Vu();uOt="custom-media-pattern",dki=ms(uOt,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),H7u={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},lOt=e=>(t,r)=>{if(!ps(r,uOt,{actual:e,possible:[nu,ya]}))return;let i=ya(e)?new RegExp(e):e;t.walkAtRules(s=>{if(s.name.toLowerCase()!=="custom-media")return;let[a,u]=s.params.match(/^--(\S+)\b/)||[];if(a===void 0||u===void 0)throw new Error(`Unexpected at-rule params: "${s.params}"`);if(i.test(u))return;let l=bh(s);as({message:dki.expected,messageArgs:[a,e],node:s,index:l,endIndex:l+a.length,result:r,ruleName:uOt})})};lOt.ruleName=uOt;lOt.messages=dki;lOt.meta=H7u;z7u=lOt});function eMr(e){let t="";return e.raws.before&&(t+=e.raws.before),t+=e.toString(),t}var Aki=Er(()=>{});function cke(e){return Wce(e)?eMr(e).slice($st(e).length):""}var cOt=Er(()=>{gLr();Dst();Aki()});function Cw(e){return e.startsWith("--")}var Fie=Er(()=>{});function y1e(e){return!/[\n\r]/.test(e)}var iat=Er(()=>{});var yki={};Mt(yki,{default:()=>X7u});function hki(e){let t=vO(e);return t!=null&&mX(t)&&Cw(t.prop)}var fOt,tMr,W7u,pOt,X7u,_ki=Er(()=>{V_();cOt();$je();cIe();Kje();Tst();Fie();Hje();iat();xO();Fg();Hu();zu();Vu();fOt="custom-property-empty-line-before",tMr=ms(fOt,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),W7u={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},pOt=(e,t,r)=>(n,i)=>{ps(i,fOt,{actual:e,possible:["always","never"]},{actual:t,possible:{except:["after-comment","after-custom-property","first-nested"],ignore:["after-comment","after-custom-property","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(a=>{let u=a.prop,l=a.parent;if(!Fv(a)||!Cw(u)||ja(t,"ignore","after-comment")&&Die(a)||ja(t,"ignore","after-custom-property")&&hki(a)||ja(t,"ignore","first-nested")&&TQ(a)||ja(t,"ignore","inside-single-line-block")&&l!=null&&(o1(l)||_w(l))&&y1e(cke(l)))return;let f=e==="always";(ja(t,"except","first-nested")&&TQ(a)||ja(t,"except","after-comment")&&Die(a)||ja(t,"except","after-custom-property")&&hki(a))&&(f=!f);let p=Tie(a.raws.before);if(f===p)return;let g=f?tMr.expected:tMr.rejected,A=f?"add":"remove";as({message:g,messageArgs:[],node:a,result:i,ruleName:fOt,fix:{apply:()=>Sie({node:a,newline:r.newline,action:A}),node:a.parent}})})};pOt.ruleName=fOt;pOt.messages=tMr;pOt.meta=W7u;X7u=pOt});var Cki={};Mt(Cki,{default:()=>t5u});function Eki({type:e,value:t}){return e==="word"&&t.startsWith("--")}var xki,dOt,vki,Z7u,e5u,mOt,t5u,bki=Er(()=>{xki=qi(sh(),1);EC();IA();pUe();Hu();zu();Vu();dOt="custom-property-no-missing-var-function",vki=ms(dOt,{rejected:e=>`Unexpected missing var function for "${e}"`}),Z7u={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},e5u=new Set(["animation","animation-name","container-name","counter-increment","counter-reset","counter-set","grid-column","grid-column-end","grid-column-start","grid-row","grid-row-end","grid-row-start","list-style","list-style-type","transition","transition-property","view-transition-name","will-change"]),mOt=e=>(t,r)=>{if(!ps(r,dOt,{actual:e}))return;let i=new Set;t.walkAtRules(SA.propertyName,({params:a})=>{i.add(a)}),t.walkDecls(/^--/,({prop:a})=>{i.add(a)}),t.walkDecls(a=>{let{prop:u,value:l}=a;l.includes("--")&&(e5u.has(u.toLowerCase())||(0,xki.default)(l).nodes.forEach(f=>{s(f,a)}))});function s(a,u){if(a.type==="function"){let g=a.value.toLowerCase(),A=a.nodes;if(g==="var")A=a.nodes.slice(1);else if(g==="running"){let[h]=a.nodes;if(h&&hX(h))A=h.nodes.slice(1);else return}else if(g==="style"){let h=!1;a.nodes.forEach(_=>{_.type==="div"&&_.value===":"?h=!0:!h&&Eki(_)||h&&s(_,u)});return}A.forEach(h=>s(h,u));return}if(!Eki(a))return;let l=a.value.replace(/;+$/,"");if(!i.has(l))return;let f=Lp(u)+a.sourceIndex,p=f+l.length;as({message:vki.rejected,messageArgs:[l],node:u,index:f,endIndex:p,result:r,ruleName:dOt})}};mOt.ruleName=dOt;mOt.messages=vki;mOt.meta=Z7u;t5u=mOt});function h7(e){return!(Ist(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||c1e(e))}var nfe=Er(()=>{Est();BFr()});var Tki={};Mt(Tki,{default:()=>i5u});var Iki,gOt,Ski,r5u,n5u,AOt,i5u,Dki=Er(()=>{Iki=qi(sh(),1);IA();xc();EC();Fie();nfe();pUe();Hu();zu();Vu();gOt="custom-property-pattern",Ski=ms(gOt,{expected:(e,t)=>`Expected "${e}" to match pattern "${t}"`}),r5u={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},n5u=/var\(/i,AOt=e=>(t,r)=>{if(!ps(r,gOt,{actual:e,possible:[nu,ya]}))return;let i=ya(e)?new RegExp(e):e;function s(u){return!Cw(u)||!h7(u)||i.test(u.slice(2))}t.walkDecls(u=>{let{prop:l,value:f}=u;n5u.test(f)&&(0,Iki.default)(f).walk(g=>{if(!hX(g))return;let{nodes:A}=g,h=A[0];!h||s(h.value)||a(Lp(u)+h.sourceIndex,h.value,u)}),!s(l)&&a(0,l,u)}),t.walkAtRules(SA.propertyName,u=>{let{params:l}=u;s(l)||a(bh(u),l,u)});function a(u,l,f){as({result:r,ruleName:gOt,message:Ski.expected,messageArgs:[l,e],node:f,index:u,endIndex:u+l.length})}};AOt.ruleName=gOt;AOt.messages=Ski;AOt.meta=r5u;i5u=AOt});function s5u(e){return _w(e)||o1(e)||M6(e)}function _1e(e,t){function r(n){if(s5u(n)&&n.nodes&&n.nodes.length){let i=[];for(let s of n.nodes)s.type==="decl"&&i.push(s),r(s);i.length&&t(i.forEach.bind(i))}}r(e)}var sat=Er(()=>{V_()});var Bki={};Mt(Bki,{default:()=>o5u});var hOt,wki,a5u,yOt,o5u,kki=Er(()=>{xc();sat();Fie();nfe();Fg();Hu();zu();Vu();hOt="declaration-block-no-duplicate-custom-properties",wki=ms(hOt,{rejected:e=>`Unexpected duplicate "${e}"`}),a5u={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},yOt=(e,t)=>(r,n)=>{ps(n,hOt,{actual:e},{actual:t,possible:{ignoreProperties:[ya,nu]},optional:!0})&&_1e(r,s=>{let a=new Set;s(u=>{let l=u.prop;if(!h7(l)||!Cw(l)||ja(t,"ignoreProperties",l))return;if(a.has(l)){as({message:wki.rejected,messageArgs:[l],node:u,result:n,ruleName:hOt,word:l});return}a.add(l)})})};yOt.ruleName=hOt;yOt.messages=wki;yOt.meta=a5u;o5u=yOt});var vUe=Er(()=>{});function EB(e){return e>=48&&e<=57}function yY(e){return EB(e)||e>=65&&e<=70||e>=97&&e<=102}function xOt(e){return e>=65&&e<=90}function u5u(e){return e>=97&&e<=122}function l5u(e){return xOt(e)||u5u(e)}function c5u(e){return e>=128}function EOt(e){return l5u(e)||c5u(e)||e===95}function aat(e){return EOt(e)||EB(e)||e===45}function f5u(e){return e>=0&&e<=8||e===11||e>=14&&e<=31||e===127}function oat(e){return e===10||e===13||e===12}function ife(e){return oat(e)||e===32||e===9}function wQ(e,t){return!(e!==92||oat(t)||t===0)}function CUe(e,t,r){return e===45?EOt(t)||t===45||wQ(t,r):EOt(e)?!0:e===92?wQ(e,t):!1}function vOt(e,t,r){return e===43||e===45?EB(t)?2:t===46&&EB(r)?3:0:e===46?EB(t)?2:0:EB(e)?1:0}function COt(e){return e===65279||e===65534?1:0}function IOt(e){return e<128?rMr[e]:bOt}var rMr,p5u,uat,nMr,bOt,iMr,lat=Er(()=>{rMr=new Array(128),p5u=128,uat=130,nMr=131,bOt=132,iMr=133;for(let e=0;ee.length)return!1;for(let i=t;i=0&&ife(e.charCodeAt(t));t--);return t+1}function cat(e,t){for(;t=55296&&t<=57343||t>1114111)&&(t=65533),String.fromCodePoint(t)}var DOt=Er(()=>{lat()});var IUe,aMr=Er(()=>{IUe=["EOF-token","ident-token","function-token","at-keyword-token","hash-token","string-token","bad-string-token","url-token","bad-url-token","delim-token","number-token","percentage-token","dimension-token","whitespace-token","CDO-token","CDC-token","colon-token","semicolon-token","comma-token","[-token","]-token","(-token",")-token","{-token","}-token","comment-token"]});function SUe(e=null,t){return e===null||e.length{});function Rki(e){let t=e.source,r=t.length,n=t.length>0?COt(t.charCodeAt(0)):0,i=SUe(e.lines,r),s=SUe(e.columns,r),a=e.startLine,u=e.startColumn;for(let l=n;l{oMr();lat();Nki=10,d5u=12,Oki=13;dat=class{constructor(t,r,n,i){this.setSource(t,r,n,i),this.lines=null,this.columns=null}setSource(t="",r=0,n=1,i=1){this.source=t,this.startOffset=r,this.startLine=n,this.startColumn=i,this.computed=!1}getLocation(t,r){return this.computed||Rki(this),{source:r,offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]}}getLocationRange(t,r,n){return this.computed||Rki(this),{source:n,start:{offset:this.startOffset+t,line:this.lines[t],column:this.columns[t]},end:{offset:this.startOffset+r,line:this.lines[r],column:this.columns[r]}}}}});function Lki(e){return pke[e]!==0}var afe,ofe,pke,mat,Mki=Er(()=>{oMr();DOt();aMr();vUe();afe=16777215,ofe=24,pke=new Uint8Array(32);pke[2]=22;pke[21]=22;pke[19]=20;pke[23]=24;mat=class{constructor(t,r){this.setSource(t,r)}reset(){this.eof=!1,this.tokenIndex=-1,this.tokenType=0,this.tokenStart=this.firstCharOffset,this.tokenEnd=this.firstCharOffset}setSource(t="",r=()=>{}){t=String(t||"");let n=t.length,i=SUe(this.offsetAndType,t.length+1),s=SUe(this.balance,t.length+1),a=0,u=-1,l=0,f=t.length;this.offsetAndType=null,this.balance=null,s.fill(0),r(t,(p,g,A)=>{let h=a++;if(i[h]=p<>ofe]}else Lki(p)&&(f=h,l=pke[p])}),i[a]=0<a&&(s[p]=a)}this.source=t,this.firstCharOffset=u===-1?0:u,this.tokenCount=a,this.offsetAndType=i,this.balance=s,this.reset(),this.next()}lookupType(t){return t+=this.tokenIndex,t>ofe:0}lookupTypeNonSC(t){for(let r=this.tokenIndex;r>ofe;if(n!==13&&n!==25&&t--===0)return n}return 0}lookupOffset(t){return t+=this.tokenIndex,t>ofe;if(n!==13&&n!==25&&t--===0)return r-this.tokenIndex}return 0}lookupValue(t,r){return t+=this.tokenIndex,t0?t>ofe,this.tokenEnd=r&afe):(this.tokenIndex=this.tokenCount,this.next())}next(){let t=this.tokenIndex+1;t>ofe,this.tokenEnd=t&afe):(this.eof=!0,this.tokenIndex=this.tokenCount,this.tokenType=0,this.tokenStart=this.tokenEnd=this.source.length)}skipSC(){for(;this.tokenType===13||this.tokenType===25;)this.next()}skipUntilBalanced(t,r){let n=t,i=0,s=0;e:for(;n0?this.offsetAndType[n-1]&afe:this.firstCharOffset,r(this.source.charCodeAt(s))){case 1:break e;case 2:n++;break e;default:Lki(this.offsetAndType[n]>>ofe)&&(n=i)}}this.skip(n-this.tokenIndex)}forEachToken(t){for(let r=0,n=this.firstCharOffset;r>ofe;n=a,t(u,i,a,r)}}dump(){let t=new Array(this.tokenCount);return this.forEachToken((r,n,i,s)=>{t[s]={idx:s,type:IUe[r],chunk:this.source.substring(n,i),balance:this.balance[s]}}),t}}});function yIe(e,t){function r(g){return g=e.length){f{vUe();lat();DOt();vUe();vUe();aMr();lat();DOt();Fki();Mki()});var TUe,IO,dke=Er(()=>{TUe=null,IO=class e{static createItem(t){return{prev:null,next:null,data:t}}constructor(){this.head=null,this.tail=null,this.cursor=null}createItem(t){return e.createItem(t)}allocateCursor(t,r){let n;return TUe!==null?(n=TUe,TUe=TUe.cursor,n.prev=t,n.next=r,n.cursor=this.cursor):n={prev:t,next:r,cursor:this.cursor},this.cursor=n,n}releaseCursor(){let{cursor:t}=this;this.cursor=t.cursor,t.prev=null,t.next=null,t.cursor=TUe,TUe=t}updateCursors(t,r,n,i){let{cursor:s}=this;for(;s!==null;)s.prev===t&&(s.prev=r),s.next===n&&(s.next=i),s=s.cursor}*[Symbol.iterator](){for(let t=this.head;t!==null;t=t.next)yield t.data}get size(){let t=0;for(let r=this.head;r!==null;r=r.next)t++;return t}get isEmpty(){return this.head===null}get first(){return this.head&&this.head.data}get last(){return this.tail&&this.tail.data}fromArray(t){let r=null;this.head=null;for(let n of t){let i=e.createItem(n);r!==null?r.next=i:this.head=i,i.prev=r,r=i}return this.tail=r,this}toArray(){return[...this]}toJSON(){return[...this]}forEach(t,r=this){let n=this.allocateCursor(null,this.head);for(;n.next!==null;){let i=n.next;n.next=i.next,t.call(r,i.data,i,this)}this.releaseCursor()}forEachRight(t,r=this){let n=this.allocateCursor(this.tail,null);for(;n.prev!==null;){let i=n.prev;n.prev=i.prev,t.call(r,i.data,i,this)}this.releaseCursor()}reduce(t,r,n=this){let i=this.allocateCursor(null,this.head),s=r,a;for(;i.next!==null;)a=i.next,i.next=a.next,s=t.call(n,s,a.data,a,this);return this.releaseCursor(),s}reduceRight(t,r,n=this){let i=this.allocateCursor(this.tail,null),s=r,a;for(;i.prev!==null;)a=i.prev,i.prev=a.prev,s=t.call(n,s,a.data,a,this);return this.releaseCursor(),s}some(t,r=this){for(let n=this.head;n!==null;n=n.next)if(t.call(r,n.data,n,this))return!0;return!1}map(t,r=this){let n=new e;for(let i=this.head;i!==null;i=i.next)n.appendData(t.call(r,i.data,i,this));return n}filter(t,r=this){let n=new e;for(let i=this.head;i!==null;i=i.next)t.call(r,i.data,i,this)&&n.appendData(i.data);return n}nextUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(null,t);for(;i.next!==null;){let s=i.next;if(i.next=s.next,r.call(n,s.data,s,this))break}this.releaseCursor()}prevUntil(t,r,n=this){if(t===null)return;let i=this.allocateCursor(t,null);for(;i.prev!==null;){let s=i.prev;if(i.prev=s.prev,r.call(n,s.data,s,this))break}this.releaseCursor()}clear(){this.head=null,this.tail=null}copy(){let t=new e;for(let r of this)t.appendData(r);return t}prepend(t){return this.updateCursors(null,t,this.head,t),this.head!==null?(this.head.prev=t,t.next=this.head):this.tail=t,this.head=t,this}prependData(t){return this.prepend(e.createItem(t))}append(t){return this.insert(t)}appendData(t){return this.insert(e.createItem(t))}insert(t,r=null){if(r!==null)if(this.updateCursors(r.prev,t,r,t),r.prev===null){if(this.head!==r)throw new Error("before doesn't belong to list");this.head=t,r.prev=t,t.next=r,this.updateCursors(null,t)}else r.prev.next=t,t.prev=r.prev,r.prev=t,t.next=r;else this.updateCursors(this.tail,t,null,t),this.tail!==null?(this.tail.next=t,t.prev=this.tail):this.head=t,this.tail=t;return this}insertData(t,r){return this.insert(e.createItem(t),r)}remove(t){if(this.updateCursors(t,t.prev,t,t.next),t.prev!==null)t.prev.next=t.next;else{if(this.head!==t)throw new Error("item doesn't belong to list");this.head=t.next}if(t.next!==null)t.next.prev=t.prev;else{if(this.tail!==t)throw new Error("item doesn't belong to list");this.tail=t.prev}return t.prev=null,t.next=null,t}push(t){this.insert(e.createItem(t))}pop(){return this.tail!==null?this.remove(this.tail):null}unshift(t){this.prepend(e.createItem(t))}shift(){return this.head!==null?this.remove(this.head):null}prependList(t){return this.insertList(t,this.head)}appendList(t){return this.insertList(t)}insertList(t,r){return t.head===null?this:(r!=null?(this.updateCursors(r.prev,t.tail,r,t.head),r.prev!==null?(r.prev.next=t.head,t.head.prev=r.prev):this.head=t.head,r.prev=t.tail,t.tail.next=r):(this.updateCursors(this.tail,t.tail,null,t.head),this.tail!==null?(this.tail.next=t.head,t.head.prev=this.tail):this.head=t.head,this.tail=t.tail),t.head=null,t.tail=null,this)}replace(t,r){"head"in r?this.insertList(r,t):this.insert(r,t),this.remove(t)}}});function mke(e,t){let r=Object.create(SyntaxError.prototype),n=new Error;return Object.assign(r,{name:e,message:t,get stack(){return(n.stack||"").replace(/^(.+\n){1,3}/,`${e}: ${t} `)}})}var wOt=Er(()=>{});function Uki({source:e,line:t,column:r,baseLine:n,baseColumn:i},s){function a(_,E){return f.slice(_,E).map((b,D)=>String(_+D+1).padStart(A)+" |"+b).join(` `)}let u=` `.repeat(Math.max(n-1,0)),l=" ".repeat(Math.max(i-1,0)),f=(u+l+e).split(/\r\n?|\n|\f/),p=Math.max(1,t-s)-1,g=Math.min(t+s,f.length+1),A=Math.max(4,String(g).length)+1,h=0;r+=(jki.length-1)*(f[t-1].substr(0,r-1).match(/\t/g)||[]).length,r>uMr&&(h=r-Qki+3,r=Qki-2);for(let _=p;_<=g;_++)_>=0&&_0&&f[_].length>h?"\u2026":"")+f[_].substr(h,uMr-2)+(f[_].length>h+uMr-1?"\u2026":""));return[a(p,t),new Array(r+A+2).join("-")+"^",a(t,g)].filter(Boolean).join(` `).replace(/^(\s+\d+\s+\|\n)+/,"").replace(/\n(\s+\d+\s+\|)+$/,"")}function lMr(e,t,r,n,i,s=1,a=1){return Object.assign(mke("SyntaxError",e),{source:t,offset:r,line:n,column:i,sourceFragment(l){return Uki({source:t,line:n,column:i,baseLine:s,baseColumn:a},isNaN(l)?0:l)},get formattedMessage(){return`Parse error: ${e} `+Uki({source:t,line:n,column:i,baseLine:s,baseColumn:a},2)}})}var uMr,Qki,jki,qki=Er(()=>{wOt();uMr=100,Qki=60,jki=" "});function Yki(e){let t=this.createList(),r=!1,n={recognizer:e};for(;!this.eof;){switch(this.tokenType){case 25:this.next();continue;case 13:r=!0,this.next();continue}let i=e.getNode.call(this,n);if(i===void 0)break;r&&(e.onWhiteSpace&&e.onWhiteSpace.call(this,i,t,n),r=!1),t.push(i)}return r&&e.onWhiteSpace&&e.onWhiteSpace.call(this,null,t,n),t}var Gki=Er(()=>{sA()});function A5u(e){return function(){return this[e]()}}function fMr(e){let t=Object.create(null);for(let r of Object.keys(e)){let n=e[r],i=n.parse||n;i&&(t[r]=i)}return t}function h5u(e){let t={context:Object.create(null),features:Object.assign(Object.create(null),e.features),scope:Object.assign(Object.create(null),e.scope),atrule:fMr(e.atrule),pseudo:fMr(e.pseudo),node:fMr(e.node)};for(let[r,n]of Object.entries(e.parseContext))switch(typeof n){case"function":t.context[r]=n;break;case"string":t.context[r]=A5u(n);break}return{config:t,...t,...t.node}}function Jki(e){let t="",r="",n=!1,i=Vki,s=!1,a=new dat,u=Object.assign(new mat,h5u(e||{}),{parseAtrulePrelude:!0,parseRulePrelude:!0,parseValue:!0,parseCustomProperty:!1,readSequence:Yki,consumeUntilBalanceEnd:()=>0,consumeUntilLeftCurlyBracket(f){return f===$ki?1:0},consumeUntilLeftCurlyBracketOrSemicolon(f){return f===$ki||f===cMr?1:0},consumeUntilExclamationMarkOrSemicolon(f){return f===m5u||f===cMr?1:0},consumeUntilSemicolonIncluded(f){return f===cMr?2:0},createList(){return new IO},createSingleNodeList(f){return new IO().appendData(f)},getFirstListNode(f){return f&&f.first},getLastListNode(f){return f&&f.last},parseWithFallback(f,p){let g=this.tokenIndex;try{return f.call(this)}catch(A){if(s)throw A;this.skip(g-this.tokenIndex);let h=p.call(this);return s=!0,i(A,h),s=!1,h}},lookupNonWSType(f){let p;do if(p=this.lookupType(f++),p!==13&&p!==25)return p;while(p!==Kki);return Kki},charCodeAt(f){return f>=0&&fh.toUpperCase()),g=`${/[[\](){}]/.test(p)?`"${p}"`:p} is expected`,A=this.tokenStart;switch(f){case 1:this.tokenType===2||this.tokenType===7?(A=this.tokenEnd-1,g="Identifier is expected but function found"):g="Identifier is expected";break;case 4:this.isDelim(g5u)&&(this.next(),A++,g="Name is expected");break;case 11:this.tokenType===10&&(A=this.tokenEnd,g="Percent sign is expected");break}this.error(g,A)}this.next()},eatIdent(f){(this.tokenType!==1||this.lookupValue(0,f)===!1)&&this.error(`Identifier "${f}" is expected`),this.next()},eatDelim(f){this.isDelim(f)||this.error(`Delim "${String.fromCharCode(f)}" is expected`),this.next()},getLocation(f,p){return n?a.getLocationRange(f,p,r):null},getLocationFromList(f){if(n){let p=this.getFirstListNode(f),g=this.getLastListNode(f);return a.getLocationRange(p!==null?p.loc.start.offset-a.startOffset:this.tokenStart,g!==null?g.loc.end.offset-a.startOffset:this.tokenStart,r)}return null},error(f,p){let g=typeof p<"u"&&p",n=!!p.positions,i=typeof p.onParseError=="function"?p.onParseError:Vki,s=!1,u.parseAtrulePrelude="parseAtrulePrelude"in p?!!p.parseAtrulePrelude:!0,u.parseRulePrelude="parseRulePrelude"in p?!!p.parseRulePrelude:!0,u.parseValue="parseValue"in p?!!p.parseValue:!0,u.parseCustomProperty="parseCustomProperty"in p?!!p.parseCustomProperty:!1;let{context:g="default",onComment:A}=p;if(!(g in u.context))throw new Error("Unknown context `"+g+"`");typeof A=="function"&&u.forEachToken((_,E,b)=>{if(_===25){let D=u.getLocation(E,b),k=x1e(t,b-2,b,"*/")?t.slice(E+2,b-2):t.slice(E+2,b);A(k,D)}});let h=u.context[g].call(u,p);return u.eof||u.error(),h},{SyntaxError:lMr,config:u.config})}var Vki,m5u,g5u,cMr,$ki,Kki,Hki=Er(()=>{dke();qki();sA();Gki();Vki=()=>{},m5u=33,g5u=35,cMr=59,$ki=123,Kki=0});function Xki(e){let t=new Wki.SourceMapGenerator,r={line:1,column:0},n={line:0,column:0},i={line:1,column:0},s={generated:i},a=1,u=0,l=!1,f=e.node;e.node=function(A){if(A.loc&&A.loc.start&&zki.has(A.type)){let h=A.loc.start.line,_=A.loc.start.column-1;(n.line!==h||n.column!==_)&&(n.line=h,n.column=_,r.line=a,r.column=u,l&&(l=!1,(r.line!==i.line||r.column!==i.column)&&t.addMapping(s)),l=!0,t.addMapping({source:A.loc.source,original:n,generated:r}))}f.call(this,A),l&&zki.has(A.type)&&(i.line=a,i.column=u)};let p=e.emit;e.emit=function(A,h,_){for(let E=0;E{Wki=qi(nNt(),1),zki=new Set(["Atrule","Selector","Declaration"])});var BOt={};Mt(BOt,{safe:()=>dMr,spec:()=>x5u});function t7i(e){let t=new Set(e.map(([r,n])=>pMr(r)<<16|pMr(n)));return function(r,n,i){let s=pMr(n,i),a=i.charCodeAt(0);return(a===_5u&&n!==1&&n!==2&&n!==15||a===y5u?t.has(r<<16|a<<8):t.has(r<<16|s))&&this.emit(" ",13,!0),s}}var y5u,_5u,pMr,e7i,E5u,x5u,dMr,r7i=Er(()=>{sA();y5u=43,_5u=45,pMr=(e,t)=>{if(e===9&&(e=t),typeof e=="string"){let r=e.charCodeAt(0);return r>127?32768:r<<8}return e},e7i=[[1,1],[1,2],[1,7],[1,8],[1,"-"],[1,10],[1,11],[1,12],[1,15],[1,21],[3,1],[3,2],[3,7],[3,8],[3,"-"],[3,10],[3,11],[3,12],[3,15],[4,1],[4,2],[4,7],[4,8],[4,"-"],[4,10],[4,11],[4,12],[4,15],[12,1],[12,2],[12,7],[12,8],[12,"-"],[12,10],[12,11],[12,12],[12,15],["#",1],["#",2],["#",7],["#",8],["#","-"],["#",10],["#",11],["#",12],["#",15],["-",1],["-",2],["-",7],["-",8],["-","-"],["-",10],["-",11],["-",12],["-",15],[10,1],[10,2],[10,7],[10,8],[10,10],[10,11],[10,12],[10,"%"],[10,15],["@",1],["@",2],["@",7],["@",8],["@","-"],["@",15],[".",10],[".",11],[".",12],["+",10],["+",11],["+",12],["/","*"]],E5u=e7i.concat([[1,4],[12,4],[4,4],[3,21],[3,5],[3,16],[11,11],[11,12],[11,2],[11,"-"],[22,1],[22,2],[22,11],[22,12],[22,4],[22,"-"]]);x5u=t7i(e7i),dMr=t7i(E5u)});function C5u(e,t){if(typeof t=="function"){let r=null;e.children.forEach(n=>{r!==null&&t.call(this,r),this.node(n),r=n});return}e.children.forEach(this.node,this)}function b5u(e){yIe(e,(t,r,n)=>{this.token(t,e.slice(r,n))})}function n7i(e){let t=new Map;for(let[r,n]of Object.entries(e.node))typeof(n.generate||n)=="function"&&t.set(r,n.generate||n);return function(r,n){let i="",s=0,a={node(l){if(t.has(l.type))t.get(l.type).call(u,l);else throw new Error("Unknown node type: "+l.type)},tokenBefore:dMr,token(l,f){s=this.tokenBefore(s,l,f),this.emit(f,l,!1),l===9&&f.charCodeAt(0)===v5u&&this.emit(` `,13,!0)},emit(l){i+=l},result(){return i}};n&&(typeof n.decorator=="function"&&(a=n.decorator(a)),n.sourceMap&&(a=Xki(a)),n.mode in BOt&&(a.tokenBefore=BOt[n.mode]));let u={node:l=>a.node(l),children:C5u,token:(l,f)=>a.token(l,f),tokenize:b5u};return a.node(r),a.result()}}var v5u,i7i=Er(()=>{sA();Zki();r7i();v5u=92});function s7i(e){return{fromPlainObject(t){return e(t,{enter(r){r.children&&!(r.children instanceof IO)&&(r.children=new IO().fromArray(r.children))}}),t},toPlainObject(t){return e(t,{leave(r){r.children&&r.children instanceof IO&&(r.children=r.children.toArray())}}),t}}}var a7i=Er(()=>{dke()});function o7i(e){return typeof e=="function"?e:Aat}function u7i(e,t){return function(r,n,i){r.type===t&&e.call(this,r,n,i)}}function I5u(e,t){let r=t.structure,n=[];for(let i in r){if(mMr.call(r,i)===!1)continue;let s=r[i],a={name:i,type:!1,nullable:!1};Array.isArray(s)||(s=[s]);for(let u of s)u===null?a.nullable=!0:typeof u=="string"?a.type="node":Array.isArray(u)&&(a.type="list");a.type&&n.push(a)}return n.length?{context:t.walkContext,fields:n}:null}function S5u(e){let t={};for(let r in e.node)if(mMr.call(e.node,r)){let n=e.node[r];if(!n.structure)throw new Error("Missed `structure` field in `"+r+"` node type definition");t[r]=I5u(r,n)}return t}function l7i(e,t){let r=e.fields.slice(),n=e.context,i=typeof n=="string";return t&&r.reverse(),function(s,a,u,l){let f;i&&(f=a[n],a[n]=s);for(let p of r){let g=s[p.name];if(!p.nullable||g){if(p.type==="list"){if(t?g.reduceRight(l,!1):g.reduce(l,!1))return!0}else if(u(g))return!0}}i&&(a[n]=f)}}function c7i({StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}){return{Atrule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Rule:{StyleSheet:e,Atrule:t,Rule:r,Block:n},Declaration:{StyleSheet:e,Atrule:t,Rule:r,Block:n,DeclarationList:i}}}function f7i(e){let t=S5u(e),r={},n={},i=Symbol("break-walk"),s=Symbol("skip-node");for(let f in t)mMr.call(t,f)&&t[f]!==null&&(r[f]=l7i(t[f],!1),n[f]=l7i(t[f],!0));let a=c7i(r),u=c7i(n),l=function(f,p){function g(D,k,M){let R=A.call(b,D,k,M);return R===i?!0:R===s?!1:!!(_.hasOwnProperty(D.type)&&_[D.type](D,b,g,E)||h.call(b,D,k,M)===i)}let A=Aat,h=Aat,_=r,E=(D,k,M,R)=>D||g(k,M,R),b={break:i,skip:s,root:f,stylesheet:null,atrule:null,atrulePrelude:null,rule:null,selector:null,block:null,declaration:null,function:null};if(typeof p=="function")A=p;else if(p&&(A=o7i(p.enter),h=o7i(p.leave),p.reverse&&(_=n),p.visit)){if(a.hasOwnProperty(p.visit))_=p.reverse?u[p.visit]:a[p.visit];else if(!t.hasOwnProperty(p.visit))throw new Error("Bad value `"+p.visit+"` for `visit` option (should be: "+Object.keys(t).sort().join(", ")+")");A=u7i(A,p.visit),h=u7i(h,p.visit)}if(A===Aat&&h===Aat)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");g(f)};return l.break=i,l.skip=s,l.find=function(f,p){let g=null;return l(f,function(A,h,_){if(p.call(this,A,h,_))return g=A,i}),g},l.findLast=function(f,p){let g=null;return l(f,{reverse:!0,enter(A,h,_){if(p.call(this,A,h,_))return g=A,i}}),g},l.findAll=function(f,p){let g=[];return l(f,function(A,h,_){p.call(this,A,h,_)&&g.push(A)}),g},l}var mMr,Aat,p7i=Er(()=>{({hasOwnProperty:mMr}=Object.prototype),Aat=function(){}});function T5u(e){return e}function D5u(e){let{min:t,max:r,comma:n}=e;return t===0&&r===0?n?"#?":"*":t===0&&r===1?"?":t===1&&r===0?n?"#":"+":t===1&&r===1?"":(n?"#":"")+(t===r?"{"+t+"}":"{"+t+","+(r!==0?r:"")+"}")}function w5u(e){switch(e.type){case"Range":return" ["+(e.min===null?"-\u221E":e.min)+","+(e.max===null?"\u221E":e.max)+"]";default:throw new Error("Unknown node type `"+e.type+"`")}}function B5u(e,t,r,n){let i=e.combinator===" "||n?e.combinator:" "+e.combinator+" ",s=e.terms.map(a=>kOt(a,t,r,n)).join(i);return e.explicit||r?(n||s[0]===","?"[":"[ ")+s+(n?"]":" ]"):s}function kOt(e,t,r,n){let i;switch(e.type){case"Group":i=B5u(e,t,r,n)+(e.disallowEmpty?"!":"");break;case"Multiplier":return kOt(e.term,t,r,n)+t(D5u(e),e);case"Boolean":i="";break;case"Type":i="<"+e.name+(e.opts?t(w5u(e.opts),e.opts):"")+">";break;case"Property":i="<'"+e.name+"'>";break;case"Keyword":i=e.name;break;case"AtKeyword":i="@"+e.name;break;case"Function":i=e.name+"(";break;case"String":case"Token":i=e.value;break;case"Comma":i=",";break;default:throw new Error("Unknown node type `"+e.type+"`")}return t(i,e)}function DUe(e,t){let r=T5u,n=!1,i=!1;return typeof t=="function"?r=t:t&&(n=!!t.forceBraces,i=!!t.compact,typeof t.decorate=="function"&&(r=t.decorate)),kOt(e,r,n,i)}var gMr=Er(()=>{});function k5u(e,t){let r=e.tokens,n=e.longestMatch,i=n1?(p=POt(s||t,"end")||hat(d7i,f),g=hat(p)):(p=POt(s,"start")||hat(POt(t,"start")||d7i,f.slice(0,a)),g=POt(s,"end")||hat(p,f.substr(a,u))),{css:f,mismatchOffset:a,mismatchLength:u,start:p,end:g}}function POt(e,t){let r=e&&e.loc&&e.loc[t];return r?"line"in r?hat(r):r:null}function hat({offset:e,line:t,column:r},n){let i={offset:e,line:t,column:r};if(n){let s=n.split(/\n|\r\n?|\f/);i.offset+=n.length,i.line+=s.length-1,i.column=s.length===1?i.column+n.length:s.pop().length+1}return i}var d7i,wUe,m7i,g7i=Er(()=>{wOt();gMr();d7i={offset:0,line:1,column:1};wUe=function(e,t){let r=mke("SyntaxReferenceError",e+(t?" `"+t+"`":""));return r.reference=t,r},m7i=function(e,t,r,n){let i=mke("SyntaxMatchError",e),{css:s,mismatchOffset:a,mismatchLength:u,start:l,end:f}=k5u(n,r);return i.rawMessage=e,i.syntax=t?DUe(t):"",i.css=s,i.mismatchOffset=a,i.mismatchLength=u,i.message=e+` syntax: `+i.syntax+` value: `+(s||"")+` --------`+new Array(i.mismatchOffset+1).join("-")+"^",Object.assign(i,l),i.loc={source:r&&r.loc&&r.loc.source||"",start:l,end:f},i}});function FOt(e,t){return t=t||0,e.length-t>=2&&e.charCodeAt(t)===OOt&&e.charCodeAt(t+1)===OOt}function A7i(e,t){if(t=t||0,e.length-t>=3&&e.charCodeAt(t)===OOt&&e.charCodeAt(t+1)!==OOt){let r=e.indexOf("-",t+2);if(r!==-1)return e.substring(t,r+1)}return""}function P5u(e){if(NOt.has(e))return NOt.get(e);let t=e.toLowerCase(),r=NOt.get(t);if(r===void 0){let n=FOt(t,0),i=n?"":A7i(t,0);r=Object.freeze({basename:t.substr(i.length),name:t,prefix:i,vendor:i,custom:n})}return NOt.set(e,r),r}function N5u(e){if(BUe.has(e))return BUe.get(e);let t=e,r=e[0];r==="/"?r=e[1]==="/"?"//":"/":r!=="_"&&r!=="*"&&r!=="$"&&r!=="#"&&r!=="+"&&r!=="&"&&(r="");let n=FOt(t,r.length);if(!n&&(t=t.toLowerCase(),BUe.has(t))){let u=BUe.get(t);return BUe.set(e,u),u}let i=n?"":A7i(t,r.length),s=t.substr(0,r.length+i.length),a=Object.freeze({basename:t.substr(s.length),name:t.substr(r.length),hack:r,vendor:i,prefix:s,custom:n});return BUe.set(e,a),a}var NOt,BUe,OOt,ROt,AMr,LOt=Er(()=>{NOt=new Map,BUe=new Map,OOt=45,ROt=P5u,AMr=N5u});var kUe,MOt=Er(()=>{kUe=["initial","inherit","unset","revert","revert-layer"]});function _Mr(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function yat(e,t,r){for(;e!==null&&(e.type===13||e.type===25);)e=r(++t);return t}function _Ie(e,t,r,n){if(!e)return 0;let i=e.value.charCodeAt(t);if(i===_at||i===lfe){if(r)return 0;t++}for(;t{sA();_at=43,lfe=45,hMr=110,PUe=!0,R5u=!1});function xMr(e,t){return e!==null&&e.type===9&&e.value.charCodeAt(0)===t}function M5u(e,t){return e.value.charCodeAt(0)===t}function Eat(e,t,r){let n=0;for(let i=t;i6)return 0}return n}function QOt(e,t,r){if(!e)return 0;for(;xMr(r(t),_7i);){if(++e>6)return 0;t++}return t}function vMr(e,t){let r=0;if(e===null||e.type!==1||!E1e(e.value,0,L5u)||(e=t(++r),e===null))return 0;if(xMr(e,F5u))return e=t(++r),e===null?0:e.type===1?QOt(Eat(e,0,!0),++r,t):xMr(e,_7i)?QOt(1,++r,t):0;if(e.type===10){let n=Eat(e,1,!0);return n===0?0:(e=t(++r),e===null?r:e.type===12||e.type===10?!M5u(e,y7i)||!Eat(e,1,!1)?0:r+1:QOt(n,r,t))}return e.type===12?QOt(Eat(e,1,!0),++r,t):0}var F5u,y7i,_7i,L5u,E7i=Er(()=>{sA();F5u=43,y7i=45,_7i=63,L5u=117});function Lie(e,t){return te.max&&typeof e.max!="string")return!0}return!1}function j5u(e,t){let r=0,n=[],i=0;e:do{switch(e.type){case 24:case 22:case 20:if(e.type!==r)break e;if(r=n.pop(),n.length===0){i++;break e}break;case 2:case 21:case 19:case 23:n.push(r),r=CMr.get(e.type);break}i++}while(e=t(i));return i}function EX(e){return function(t,r,n){return t===null?0:t.type===2&&v7i(t.value,Q5u)?j5u(t,r):e(t,r,n)}}function aD(e){return function(t){return t===null||t.type!==e?0:1}}function U5u(e){if(e===null||e.type!==1)return 0;let t=e.value.toLowerCase();return v7i(t,kUe)||x7i(t,"default")?0:1}function b7i(e){return e===null||e.type!==1||Lie(e.value,0)!==45||Lie(e.value,1)!==45?0:1}function q5u(e){return!b7i(e)||e.value==="--"?0:1}function Y5u(e){if(e===null||e.type!==4)return 0;let t=e.value.length;if(t!==4&&t!==5&&t!==7&&t!==9)return 0;for(let r=1;r{MOt();h7i();E7i();sA();Q5u=["calc(","-moz-calc(","-webkit-calc("],CMr=new Map([[2,22],[21,22],[19,20],[23,24]]);z5u={"ident-token":aD(1),"function-token":aD(2),"at-keyword-token":aD(3),"hash-token":aD(4),"string-token":aD(5),"bad-string-token":aD(6),"url-token":aD(7),"bad-url-token":aD(8),"delim-token":aD(9),"number-token":aD(10),"percentage-token":aD(11),"dimension-token":aD(12),"whitespace-token":aD(13),"CDO-token":aD(14),"CDC-token":aD(15),"colon-token":aD(16),"semicolon-token":aD(17),"comma-token":aD(18),"[-token":aD(19),"]-token":aD(20),"(-token":aD(21),")-token":aD(22),"{-token":aD(23),"}-token":aD(24)},W5u={string:aD(5),ident:aD(1),percentage:EX(K5u),zero:I7i(),number:EX(J5u),integer:EX(H5u),"custom-ident":U5u,"dashed-ident":b7i,"custom-property-name":q5u,"hex-color":Y5u,"id-selector":G5u,"an-plus-b":EMr,urange:vMr,"declaration-value":V5u,"any-value":$5u}});var UOt={};Mt(UOt,{angle:()=>ePu,decibel:()=>sPu,flex:()=>iPu,frequency:()=>rPu,length:()=>Z5u,resolution:()=>nPu,semitones:()=>aPu,time:()=>tPu});var Z5u,ePu,tPu,rPu,nPu,iPu,sPu,aPu,D7i=Er(()=>{Z5u=["cm","mm","q","in","pt","pc","px","em","rem","ex","rex","cap","rcap","ch","rch","ic","ric","lh","rlh","vw","svw","lvw","dvw","vh","svh","lvh","dvh","vi","svi","lvi","dvi","vb","svb","lvb","dvb","vmin","svmin","lvmin","dvmin","vmax","svmax","lvmax","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],ePu=["deg","grad","rad","turn"],tPu=["s","ms"],rPu=["hz","khz"],nPu=["dpi","dpcm","dppx","x"],iPu=["fr"],sPu=["db"],aPu=["st"]});function bMr(e,t,r){return Object.assign(mke("SyntaxError",e),{input:t,offset:r,rawMessage:e,message:e+` `+t+` --`+new Array((r||t.length)+1).join("-")+"^"})}var IMr=Er(()=>{wOt()});var oPu,uPu,lPu,cPu,fPu,w7i,qOt,B7i=Er(()=>{IMr();oPu=9,uPu=10,lPu=12,cPu=13,fPu=32,w7i=new Uint8Array(128).map((e,t)=>/[a-zA-Z0-9\-]/.test(String.fromCharCode(t))?1:0),qOt=class{constructor(t){this.str=t,this.pos=0}charCodeAt(t){return t=128||w7i[r]===0)break}return this.pos===t&&this.error("Expect a keyword"),this.substringToPos(t)}scanNumber(){let t=this.pos;for(;t57)break}return this.pos===t&&this.error("Expect a number"),this.substringToPos(t)}scanString(){let t=this.str.indexOf("'",this.pos+1);return t===-1&&(this.pos=this.str.length,this.error("Expect an apostrophe")),this.substringToPos(t+1)}}});function L7i(e){let t=null,r=null;return e.eat(GOt),e.skipWs(),t=e.scanNumber(e),e.skipWs(),e.charCode()===kMr?(e.pos++,e.skipWs(),e.charCode()!==O7i&&(r=e.scanNumber(e),e.skipWs())):r=t,e.eat(O7i),{min:Number(t),max:r?Number(r):0}}function _Pu(e){let t=null,r=!1;switch(e.charCode()){case j7i:e.pos++,t={min:0,max:0};break;case BMr:e.pos++,t={min:1,max:0};break;case DMr:e.pos++,t={min:0,max:1};break;case wMr:e.pos++,r=!0,e.charCode()===GOt?t=L7i(e):e.charCode()===DMr?(e.pos++,t={min:0,max:0}):t={min:1,max:0};break;case GOt:t=L7i(e);break;default:return null}return{type:"Multiplier",comma:r,min:t.min,max:t.max,term:null}}function EIe(e,t){let r=_Pu(e);return r!==null?(r.term=t,e.charCode()===wMr&&e.charCodeAt(e.pos-1)===BMr?EIe(e,r):r):t}function SMr(e){let t=e.peek();return t===""?null:EIe(e,{type:"Token",value:t})}function EPu(e){let t;return e.eat(PMr),e.eat(YOt),t=e.scanWord(),e.eat(YOt),e.eat(TMr),EIe(e,{type:"Property",name:t})}function xPu(e){let t=null,r=null,n=1;return e.eat(xat),e.charCode()===P7i&&(e.peek(),n=-1),n==-1&&e.charCode()===R7i?e.peek():(t=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(t+=e.scanWord())),e.skipWs(),e.eat(kMr),e.skipWs(),e.charCode()===R7i?e.peek():(n=1,e.charCode()===P7i&&(e.peek(),n=-1),r=n*Number(e.scanNumber(e)),e.isNameCharCode()&&(r+=e.scanWord())),e.eat(vat),{type:"Range",min:t,max:r}}function vPu(e){let t,r=null;if(e.eat(PMr),t=e.scanWord(),t==="boolean-expr"){e.eat(xat);let n=NMr(e,vat);return e.eat(vat),e.eat(TMr),EIe(e,{type:"Boolean",term:n.terms.length===1?n.terms[0]:n})}return e.charCode()===Q7i&&e.nextCharCode()===hPu&&(e.pos+=2,t+="()"),e.charCodeAt(e.findWsEnd(e.pos))===xat&&(e.skipWs(),r=xPu(e)),e.eat(TMr),EIe(e,{type:"Type",name:t,opts:r})}function CPu(e){let t=e.scanWord();return e.charCode()===Q7i?(e.pos++,{type:"Function",name:t}):EIe(e,{type:"Keyword",name:t})}function bPu(e,t){function r(i,s){return{type:"Group",terms:i,combinator:s,disallowEmpty:!1,explicit:!1}}let n;for(t=Object.keys(t).sort((i,s)=>F7i[i]-F7i[s]);t.length>0;){n=t.shift();let i=0,s=0;for(;i1&&(e.splice(s,i-s,r(e.slice(s,i),n)),i=s+1),s=-1))}s!==-1&&t.length&&e.splice(s,i-s,r(e.slice(s,i),n))}return n}function NMr(e,t){let r=Object.create(null),n=[],i,s=null,a=e.pos;for(;e.charCode()!==t&&(i=SPu(e,t));)i.type!=="Spaces"&&(i.type==="Combinator"?((s===null||s.type==="Combinator")&&(e.pos=a,e.error("Unexpected combinator")),r[i.value]=!0):s!==null&&s.type!=="Combinator"&&(r[" "]=!0,n.push({type:"Combinator",value:" "})),n.push(i),s=i,a=e.pos);return s!==null&&s.type==="Combinator"&&(e.pos-=a,e.error("Unexpected combinator")),{type:"Group",terms:n,combinator:bPu(n,r)||" ",disallowEmpty:!1,explicit:!1}}function IPu(e,t){let r;return e.eat(xat),r=NMr(e,t),e.eat(vat),r.explicit=!0,e.charCode()===M7i&&(e.pos++,r.disallowEmpty=!0),r}function SPu(e,t){let r=e.charCode();switch(r){case vat:break;case xat:return EIe(e,IPu(e,t));case PMr:return e.nextCharCode()===YOt?EPu(e):vPu(e);case N7i:return{type:"Combinator",value:e.substringToPos(e.pos+(e.nextCharCode()===N7i?2:1))};case k7i:return e.pos++,e.eat(k7i),{type:"Combinator",value:"&&"};case kMr:return e.pos++,{type:"Comma"};case YOt:return EIe(e,{type:"String",value:e.scanString()});case APu:case pPu:case dPu:case gPu:case mPu:return{type:"Spaces",value:e.scanSpaces()};case yPu:return r=e.nextCharCode(),e.isNameCharCode(r)?(e.pos++,{type:"AtKeyword",name:e.scanWord()}):SMr(e);case j7i:case BMr:case DMr:case wMr:case M7i:break;case GOt:if(r=e.nextCharCode(),r<48||r>57)return SMr(e);break;default:return e.isNameCharCode(r)?CPu(e):SMr(e)}}function Cat(e){let t=new qOt(e),r=NMr(t);return t.pos!==e.length&&t.error("Unexpected input"),r.terms.length===1&&r.terms[0].type==="Group"?r.terms[0]:r}var pPu,dPu,mPu,gPu,APu,M7i,wMr,k7i,YOt,Q7i,hPu,j7i,BMr,kMr,P7i,PMr,TMr,DMr,yPu,xat,vat,GOt,N7i,O7i,R7i,F7i,OMr=Er(()=>{B7i();pPu=9,dPu=10,mPu=12,gPu=13,APu=32,M7i=33,wMr=35,k7i=38,YOt=39,Q7i=40,hPu=41,j7i=42,BMr=43,kMr=44,P7i=45,PMr=60,TMr=62,DMr=63,yPu=64,xat=91,vat=93,GOt=123,N7i=124,O7i=125,R7i=8734,F7i={" ":1,"&&":2,"||":3,"|":4}});function U7i(e){return typeof e=="function"?e:bat}function RMr(e,t,r){function n(a){switch(i.call(r,a),a.type){case"Group":a.terms.forEach(n);break;case"Multiplier":case"Boolean":n(a.term);break;case"Type":case"Property":case"Keyword":case"AtKeyword":case"Function":case"String":case"Token":case"Comma":break;default:throw new Error("Unknown type: "+a.type)}s.call(r,a)}let i=bat,s=bat;if(typeof t=="function"?i=t:t&&(i=U7i(t.enter),s=U7i(t.leave)),i===bat&&s===bat)throw new Error("Neither `enter` nor `leave` walker handler is set or both aren't a function");n(e,r)}var bat,q7i=Er(()=>{bat=function(){}});var FMr=Er(()=>{IMr();gMr();OMr();q7i()});function wPu(e){let t=[];return yIe(e,(r,n,i)=>t.push({type:r,value:e.slice(n,i),node:null})),t}function Y7i(e,t){return typeof e=="string"?wPu(e):t.generate(e,DPu)}var DPu,G7i=Er(()=>{sA();DPu={decorator(e){let t=[],r=null;return{...e,node(n){let i=r;r=n,e.node.call(this,n),r=i},emit(n,i,s){t.push({type:i,value:n,node:s?null:r})},result(){return t}}}}});function RF(e,t,r){return t===xC&&r===UI||e===xC&&t===xC&&r===xC?e:(e.type==="If"&&e.else===UI&&t===xC&&(t=e.then,e=e.match),{type:"If",match:e,then:t,else:r})}function $7i(e){return e.length>2&&e.charCodeAt(e.length-2)===BPu&&e.charCodeAt(e.length-1)===kPu}function V7i(e){return e.type==="Keyword"||e.type==="AtKeyword"||e.type==="Function"||e.type==="Type"&&$7i(e.name)}function xIe(e,t=" ",r=!1){return{type:"Group",terms:e,combinator:t,disallowEmpty:!1,explicit:r}}function Iat(e,t,r=new Set){if(!r.has(e))switch(r.add(e),e.type){case"If":e.match=Iat(e.match,t,r),e.then=Iat(e.then,t,r),e.else=Iat(e.else,t,r);break;case"Type":return t[e.name]||e}return e}function LMr(e,t,r){switch(e){case" ":{let n=xC;for(let i=t.length-1;i>=0;i--){let s=t[i];n=RF(s,n,UI)}return n}case"|":{let n=UI,i=null;for(let s=t.length-1;s>=0;s--){let a=t[s];if(V7i(a)&&(i===null&&s>0&&V7i(t[s-1])&&(i=Object.create(null),n=RF({type:"Enum",map:i},xC,n)),i!==null)){let u=($7i(a.name)?a.name.slice(0,-1):a.name).toLowerCase();if(!(u in i)){i[u]=a;continue}}i=null,n=RF(a,xC,n)}return n}case"&&":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!0};let n=UI;for(let i=t.length-1;i>=0;i--){let s=t[i],a;t.length>1?a=LMr(e,t.filter(function(u){return u!==s}),!1):a=xC,n=RF(s,a,n)}return n}case"||":{if(t.length>5)return{type:"MatchOnce",terms:t,all:!1};let n=r?xC:UI;for(let i=t.length-1;i>=0;i--){let s=t[i],a;t.length>1?a=LMr(e,t.filter(function(u){return u!==s}),!0):a=xC,n=RF(s,a,n)}return n}}}function PPu(e){let t=xC,r=NUe(e.term);if(e.max===0)r=RF(r,VOt,UI),t=RF(r,null,UI),t.then=RF(xC,xC,t),e.comma&&(t.then.else=RF({type:"Comma",syntax:e},t,UI));else for(let n=e.min||1;n<=e.max;n++)e.comma&&t!==xC&&(t=RF({type:"Comma",syntax:e},t,UI)),t=RF(r,RF(xC,xC,t),UI);if(e.min===0)t=RF(xC,xC,t);else for(let n=0;n{OMr();xC={type:"Match"},UI={type:"Mismatch"},VOt={type:"DisallowEmpty"},BPu=40,kPu=41});function MPu(e){let t=null,r=null,n=e;for(;n!==null;)r=n.prev,n.prev=t,t=n,n=r;return t}function QMr(e,t){if(e.length!==t.length)return!1;for(let r=0;r=65&&i<=90&&(i=i|32),i!==n)return!1}return!0}function QPu(e){return e.type!==9?!1:e.value!=="?"}function z7i(e){return e===null?!0:e.type===18||e.type===2||e.type===21||e.type===19||e.type===23||QPu(e)}function W7i(e){return e===null?!0:e.type===22||e.type===20||e.type===24||e.type===9&&e.value==="/"}function jPu(e,t,r){function n(){do k++,D=kM&&(M=k)}function f(){g={syntax:t.syntax,opts:t.syntax.opts||g!==null&&g.opts||null,prev:g},R={type:jMr,syntax:t.syntax,token:R.token,prev:R}}function p(){R.type===jMr?R=R.prev:R={type:X7i,syntax:g.syntax,token:R.token,prev:R},g=g.prev}let g=null,A=null,h=null,_=null,E=0,b=null,D=null,k=-1,M=0,R={type:NPu,syntax:null,token:null,prev:null};for(n();b===null&&++Eh.tokenIndex)&&(h=_,_=!1);else if(h===null){b=RPu;break}t=h.nextState,A=h.thenStack,g=h.syntaxStack,R=h.matchStack,k=h.tokenIndex,D=kk){for(;k":"<'"+t.name+"'>"));if(_!==!1&&D!==null&&t.type==="Type"&&(t.name==="custom-ident"&&D.type===1||t.name==="length"&&D.value==="0")){_===null&&(_=s(t,h)),t=UI;break}f(),t=Z.matchRef||Z.match;break}case"Keyword":{let K=t.name;if(D!==null){let Z=D.value;if(Z.indexOf("\\")!==-1&&(Z=Z.replace(/\\[09].*$/,"")),QMr(Z,K)){l(),t=xC;break}}t=UI;break}case"AtKeyword":case"Function":if(D!==null&&QMr(D.value,t.name)){l(),t=xC;break}t=UI;break;case"Token":if(D!==null&&D.value===t.value){l(),t=xC;break}t=UI;break;case"Comma":D!==null&&D.type===18?z7i(R.token)?t=UI:(l(),t=W7i(D)?UI:xC):t=z7i(R.token)||W7i(D)?xC:UI;break;case"String":let q="",G=k;for(;G{MMr();vUe();({hasOwnProperty:K7i}=Object.prototype),NPu=0,OPu=1,jMr=2,X7i=3,J7i="Match",RPu="Mismatch",FPu="Maximum iteration number exceeded (please fill an issue on https://github.com/csstree/csstree/issues)",H7i=15e3,LPu=0});var YMr={};Mt(YMr,{getTrace:()=>e5i,isKeyword:()=>YPu,isProperty:()=>qPu,isType:()=>UPu});function e5i(e){function t(i){return i===null?!1:i.type==="Type"||i.type==="Property"||i.type==="Keyword"}function r(i){if(Array.isArray(i.match)){for(let s=0;sr.type==="Type"&&r.name===t)}function qPu(e,t){return qMr(this,e,r=>r.type==="Property"&&r.name===t)}function YPu(e){return qMr(this,e,t=>t.type==="Keyword")}function qMr(e,t,r){let n=e5i.call(e,t);return n===null?!1:n.some(r)}var t5i=Er(()=>{});function r5i(e){return"node"in e?e.node:r5i(e.match[0])}function n5i(e){return"node"in e?e.node:n5i(e.match[e.match.length-1])}function GMr(e,t,r,n,i){function s(u){if(u.syntax!==null&&u.syntax.type===n&&u.syntax.name===i){let l=r5i(u),f=n5i(u);e.syntax.walk(t,function(p,g,A){if(p===l){let h=new IO;do{if(h.appendData(g.data),g.data===f)break;g=g.next}while(g!==null);a.push({parent:A,nodes:h})}})}Array.isArray(u.match)&&u.match.forEach(s)}let a=[];return r.matched!==null&&s(r.matched),a}var i5i=Er(()=>{dke()});function VMr(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e&&e>=0}function s5i(e){return!!e&&VMr(e.offset)&&VMr(e.line)&&VMr(e.column)}function GPu(e,t){return function(n,i){if(!n||n.constructor!==Object)return i(n,"Type of node should be an Object");for(let s in n){let a=!0;if(Tat.call(n,s)!==!1){if(s==="type")n.type!==e&&i(n,"Wrong node type `"+n.type+"`, expected `"+e+"`");else if(s==="loc"){if(n.loc===null)continue;if(n.loc&&n.loc.constructor===Object)if(typeof n.loc.source!="string")s+=".source";else if(!s5i(n.loc.start))s+=".start";else if(!s5i(n.loc.end))s+=".end";else continue;a=!1}else if(t.hasOwnProperty(s)){a=!1;for(let u=0;!a&&u");else throw new Error("Wrong value `"+i+"` in `"+t+"` structure definition")}return r.join(" | ")}function VPu(e,t){let r=t.structure,n={type:String,loc:!0},i={type:'"'+e+'"'};for(let s in r){if(Tat.call(r,s)===!1)continue;let a=n[s]=Array.isArray(r[s])?r[s].slice():[r[s]];i[s]=a5i(a,e+"."+s)}return{docs:i,check:GPu(e,n)}}function o5i(e){let t={};if(e.node){for(let r in e.node)if(Tat.call(e.node,r)){let n=e.node[r];if(n.structure)t[r]=VPu(r,n);else throw new Error("Missed `structure` field in `"+r+"` node type definition")}}return t}var Tat,u5i=Er(()=>{dke();({hasOwnProperty:Tat}=Object.prototype)});function $Mr(e,t,r){let n={};for(let i in e)e[i].syntax&&(n[i]=r?e[i].syntax:DUe(e[i].syntax,{compact:t}));return n}function $Pu(e,t,r){let n={};for(let[i,s]of Object.entries(e))n[i]={prelude:s.prelude&&(r?s.prelude.syntax:DUe(s.prelude.syntax,{compact:t})),descriptors:s.descriptors&&$Mr(s.descriptors,t,r)};return n}function KPu(e){for(let t=0;t{g7i();LOt();MOt();T7i();D7i();FMr();G7i();MMr();Z7i();t5i();i5i();u5i();RUe=class{constructor(t,r,n){if(this.cssWideKeywords=kUe,this.syntax=r,this.generic=!1,this.units={...UOt},this.atrules=Object.create(null),this.properties=Object.create(null),this.types=Object.create(null),this.structure=n||o5i(t),t){if(t.cssWideKeywords&&(this.cssWideKeywords=t.cssWideKeywords),t.units)for(let i of Object.keys(UOt))Array.isArray(t.units[i])&&(this.units[i]=t.units[i]);if(t.types)for(let[i,s]of Object.entries(t.types))this.addType_(i,s);if(t.generic){this.generic=!0;for(let[i,s]of Object.entries(S7i(this.units)))this.addType_(i,s)}if(t.atrules)for(let[i,s]of Object.entries(t.atrules))this.addAtrule_(i,s);if(t.properties)for(let[i,s]of Object.entries(t.properties))this.addProperty_(i,s)}this.cssWideKeywordsSyntax=Sat(this.cssWideKeywords.join(" | "))}checkStructure(t){function r(s,a){i.push({node:s,message:a})}let n=this.structure,i=[];return this.syntax.walk(t,function(s){n.hasOwnProperty(s.type)?n[s.type].check(s,r):r(s,"Unknown node type `"+s.type+"`")}),i.length?i:!1}createDescriptor(t,r,n,i=null){let s={type:r,name:n},a={type:r,name:n,parent:i,serializable:typeof t=="string"||t&&typeof t.type=="string",syntax:null,match:null,matchRef:null};return typeof t=="function"?a.match=Sat(t,s):(typeof t=="string"?Object.defineProperty(a,"syntax",{get(){return Object.defineProperty(a,"syntax",{value:Cat(t)}),a.syntax}}):a.syntax=t,Object.defineProperty(a,"match",{get(){return Object.defineProperty(a,"match",{value:Sat(a.syntax,s)}),a.match}}),r==="Property"&&Object.defineProperty(a,"matchRef",{get(){let u=a.syntax,l=JPu(u)?Sat({...u,terms:[u.terms[0].term]},s):null;return Object.defineProperty(a,"matchRef",{value:l}),l}})),a}addAtrule_(t,r){r&&(this.atrules[t]={type:"Atrule",name:t,prelude:r.prelude?this.createDescriptor(r.prelude,"AtrulePrelude",t):null,descriptors:r.descriptors?Object.keys(r.descriptors).reduce((n,i)=>(n[i]=this.createDescriptor(r.descriptors[i],"AtruleDescriptor",i,t),n),Object.create(null)):null})}addProperty_(t,r){r&&(this.properties[t]=this.createDescriptor(r,"Property",t))}addType_(t,r){r&&(this.types[t]=this.createDescriptor(r,"Type",t))}checkAtruleName(t){if(!this.getAtrule(t))return new wUe("Unknown at-rule","@"+t)}checkAtrulePrelude(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t);if(!i.prelude&&r)return new SyntaxError("At-rule `@"+t+"` should not contain a prelude");if(i.prelude&&!r&&!OUe(this,i.prelude,"",!1).matched)return new SyntaxError("At-rule `@"+t+"` should contain a prelude")}checkAtruleDescriptorName(t,r){let n=this.checkAtruleName(t);if(n)return n;let i=this.getAtrule(t),s=ROt(r);if(!i.descriptors)return new SyntaxError("At-rule `@"+t+"` has no known descriptors");if(!i.descriptors[s.name]&&!i.descriptors[s.basename])return new wUe("Unknown at-rule descriptor",r)}checkPropertyName(t){if(!this.getProperty(t))return new wUe("Unknown property",t)}matchAtrulePrelude(t,r){let n=this.checkAtrulePrelude(t,r);if(n)return Mie(null,n);let i=this.getAtrule(t);return i.prelude?OUe(this,i.prelude,r||"",!1):Mie(null,null)}matchAtruleDescriptor(t,r,n){let i=this.checkAtruleDescriptorName(t,r);if(i)return Mie(null,i);let s=this.getAtrule(t),a=ROt(r);return OUe(this,s.descriptors[a.name]||s.descriptors[a.basename],n,!1)}matchDeclaration(t){return t.type!=="Declaration"?Mie(null,new Error("Not a Declaration node")):this.matchProperty(t.property,t.value)}matchProperty(t,r){if(AMr(t).custom)return Mie(null,new Error("Lexer matching doesn't applicable for custom properties"));let n=this.checkPropertyName(t);return n?Mie(null,n):OUe(this,this.getProperty(t),r,!0)}matchType(t,r){let n=this.getType(t);return n?OUe(this,n,r,!1):Mie(null,new wUe("Unknown type",t))}match(t,r){return typeof t!="string"&&(!t||!t.type)?Mie(null,new wUe("Bad syntax")):((typeof t=="string"||!t.match)&&(t=this.createDescriptor(t,"Type","anonymous")),OUe(this,t,r,!1))}findValueFragments(t,r,n,i){return GMr(this,r,this.matchProperty(t,r),n,i)}findDeclarationValueFragments(t,r,n){return GMr(this,t.value,this.matchDeclaration(t),r,n)}findAllFragments(t,r,n){let i=[];return this.syntax.walk(t,{visit:"Declaration",enter:s=>{i.push.apply(i,this.findDeclarationValueFragments(s,r,n))}}),i}getAtrule(t,r=!0){let n=ROt(t);return(n.vendor&&r?this.atrules[n.name]||this.atrules[n.basename]:this.atrules[n.name])||null}getAtrulePrelude(t,r=!0){let n=this.getAtrule(t,r);return n&&n.prelude||null}getAtruleDescriptor(t,r){return this.atrules.hasOwnProperty(t)&&this.atrules.declarators&&this.atrules[t].declarators[r]||null}getProperty(t,r=!0){let n=AMr(t);return(n.vendor&&r?this.properties[n.name]||this.properties[n.basename]:this.properties[n.name])||null}getType(t){return hasOwnProperty.call(this.types,t)?this.types[t]:null}validate(){function t(l,f){return f?`<${l}>`:`<'${l}'>`}function r(l,f,p,g){if(p.has(f))return p.get(f);p.set(f,!1),g.syntax!==null&&RMr(g.syntax,function(A){if(A.type!=="Type"&&A.type!=="Property")return;let h=A.type==="Type"?l.types:l.properties,_=A.type==="Type"?i:s;hasOwnProperty.call(h,A.name)?r(l,A.name,_,h[A.name])&&(n.push(`${t(f,p===i)} used broken syntax definition ${t(A.name,A.type==="Type")}`),p.set(f,!0)):(n.push(`${t(f,p===i)} used missed syntax definition ${t(A.name,A.type==="Type")}`),p.set(f,!0))},this)}let n=[],i=new Map,s=new Map;for(let l in this.types)r(this,l,i,this.types[l]);for(let l in this.properties)r(this,l,s,this.properties[l]);let a=[...i.keys()].filter(l=>i.get(l)),u=[...s.keys()].filter(l=>s.get(l));return a.length||u.length?{errors:n,types:a,properties:u}:null}dump(t,r){return{generic:this.generic,cssWideKeywords:this.cssWideKeywords,units:this.units,types:$Mr(this.types,!r,t),properties:$Mr(this.properties,!r,t),atrules:$Pu(this.atrules,!r,t)}}toString(){return JSON.stringify(this.dump())}}});function JMr(e,t){return typeof t=="string"&&/^\s*\|/.test(t)?typeof e=="string"?e+t:t.replace(/^\s*\|\s*/,""):t||null}function l5i(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))if(i){r[n]={};for(let s of Object.keys(i))t.includes(s)&&(r[n][s]=i[s])}return r}function Dat(e,t){let r={...e};for(let[n,i]of Object.entries(t))switch(n){case"generic":r[n]=!!i;break;case"cssWideKeywords":r[n]=e[n]?[...e[n],...i]:i||[];break;case"units":r[n]={...e[n]};for(let[s,a]of Object.entries(i))r[n][s]=Array.isArray(a)?a:[];break;case"atrules":r[n]={...e[n]};for(let[s,a]of Object.entries(i)){let u=r[n][s]||{},l=r[n][s]={prelude:u.prelude||null,descriptors:{...u.descriptors}};if(a){l.prelude=a.prelude?JMr(l.prelude,a.prelude):l.prelude||null;for(let[f,p]of Object.entries(a.descriptors||{}))l.descriptors[f]=p?JMr(l.descriptors[f],p):null;Object.keys(l.descriptors).length||(l.descriptors=null)}}break;case"types":case"properties":r[n]={...e[n]};for(let[s,a]of Object.entries(i))r[n][s]=JMr(r[n][s],a);break;case"scope":case"features":r[n]={...e[n]};for(let[s,a]of Object.entries(i))r[n][s]={...r[n][s],...a};break;case"parseContext":r[n]={...e[n],...i};break;case"atrule":case"pseudo":r[n]={...e[n],...l5i(i,["parse"])};break;case"node":r[n]={...e[n],...l5i(i,["name","structure","parse","generate","walkContext"])};break}return r}var c5i=Er(()=>{});function f5i(e){let t=Jki(e),r=f7i(e),n=n7i(e),{fromPlainObject:i,toPlainObject:s}=s7i(r),a={lexer:null,createLexer:u=>new RUe(u,a,a.lexer.structure),tokenize:yIe,parse:t,generate:n,walk:r,find:r.find,findLast:r.findLast,findAll:r.findAll,fromPlainObject:i,toPlainObject:s,fork(u){let l=Dat({},e);return f5i(typeof u=="function"?u(l):Dat(l,u))}};return a.lexer=new RUe({generic:e.generic,cssWideKeywords:e.cssWideKeywords,units:e.units,types:e.types,atrules:e.atrules,properties:e.properties,node:e.node},a),a}var HMr,zMr=Er(()=>{sA();Hki();i7i();a7i();p7i();KMr();c5i();HMr=e=>f5i(Dat({},e))});var HPu,$Ot,p5i=Er(()=>{HPu=require("./patch-HG6ZK2L4.json"),$Ot=HPu});function ZPu(e){let t=Object.create(null);for(let[r,n]of Object.entries(e)){let i=null;if(n.descriptors){i=Object.create(null);for(let[s,a]of Object.entries(n.descriptors))i[s]=a.syntax}t[r.substr(1)]={prelude:n.syntax.trim().replace(/\{(.|\s)+\}/,"").match(/^@\S+\s+([^;\{]*)/)[1].trim()||null,descriptors:i}}return t}function KOt(e,t){let r=Object.create(null);for(let[n,i]of Object.entries(e))i&&(r[n]=i.syntax||i);for(let n of Object.keys(t))g5i(e,n)?t[n].syntax?r[n]=d5i.test(t[n].syntax)?r[n]+" "+t[n].syntax.trim():t[n].syntax:delete r[n]:t[n].syntax&&(r[n]=t[n].syntax.replace(d5i,""));return r}function m5i(e){let t={};for(let[r,n]of Object.entries(e||{}))t[r]=typeof n=="string"?{syntax:n}:n;return t}function eNu(e,t){let r={};for(let n in e){if(t[n]===null)continue;let i=t[n]||{};r[n]={prelude:n in t&&"prelude"in i?i.prelude:e[n].prelude||null,descriptors:KOt(e[n].descriptors||{},m5i(i.descriptors))}}for(let[n,i]of Object.entries(t))i&&!g5i(e,n)&&(r[n]={prelude:i.prelude||null,descriptors:i.descriptors?KOt({},m5i(i.descriptors)):null});return r}var zPu,WPu,XPu,g5i,d5i,A5i,h5i=Er(()=>{p5i();zPu=require("./at-rules-TNPCOAQX.json"),WPu=require("./properties-VXI3YTC7.json"),XPu=require("./syntaxes-K6CA7AUU.json"),g5i=Object.hasOwn||((e,t)=>Object.prototype.hasOwnProperty.call(e,t)),d5i=/^\s*\|\s*/;A5i={types:KOt(XPu,$Ot.types),atrules:eNu(ZPu(zPu),$Ot.atrules),properties:KOt(WPu,$Ot.properties)}});var ZMr={};Mt(ZMr,{generate:()=>iNu,name:()=>rNu,parse:()=>XMr,structure:()=>nNu});function HOt(e,t){let r=this.tokenStart+e,n=this.charCodeAt(r);for((n===cfe||n===sK)&&(t&&this.error("Number sign is not allowed"),r++);r0&&this.skip(e),t===0&&(r=this.charCodeAt(this.tokenStart),r!==cfe&&r!==sK&&this.error("Number sign is expected")),FUe.call(this,t!==0),t===sK?"-"+this.consume(10):this.consume(10)}function XMr(){let e=this.tokenStart,t=null,r=null;if(this.tokenType===10)FUe.call(this,tNu),r=this.consume(10);else if(this.tokenType===1&&this.cmpChar(this.tokenStart,sK))switch(t="-1",vIe.call(this,1,JOt),this.tokenEnd-this.tokenStart){case 2:this.next(),r=WMr.call(this);break;case 3:vIe.call(this,2,sK),this.next(),this.skipSC(),FUe.call(this,gke),r="-"+this.consume(10);break;default:vIe.call(this,2,sK),HOt.call(this,3,gke),this.next(),r=this.substrToCursor(e+2)}else if(this.tokenType===1||this.isDelim(cfe)&&this.lookupType(1)===1){let n=0;switch(t="1",this.isDelim(cfe)&&(n=1,this.next()),vIe.call(this,0,JOt),this.tokenEnd-this.tokenStart){case 1:this.next(),r=WMr.call(this);break;case 2:vIe.call(this,1,sK),this.next(),this.skipSC(),FUe.call(this,gke),r="-"+this.consume(10);break;default:vIe.call(this,1,sK),HOt.call(this,2,gke),this.next(),r=this.substrToCursor(e+n+1)}}else if(this.tokenType===12){let n=this.charCodeAt(this.tokenStart),i=n===cfe||n===sK,s=this.tokenStart+i;for(;s{sA();cfe=43,sK=45,JOt=110,gke=!0,tNu=!1;rNu="AnPlusB",nNu={a:[String,null],b:[String,null]}});var rQr={};Mt(rQr,{generate:()=>lNu,name:()=>aNu,parse:()=>tQr,structure:()=>uNu,walkContext:()=>oNu});function y5i(){return this.Raw(this.consumeUntilLeftCurlyBracketOrSemicolon,!0)}function sNu(){for(let e=1,t;t=this.lookupType(e);e++){if(t===24)return!0;if(t===23||t===3)return!1}return!1}function tQr(e=!1){let t=this.tokenStart,r,n,i=null,s=null;switch(this.eat(3),r=this.substrToCursor(t+1),n=r.toLowerCase(),this.skipSC(),this.eof===!1&&this.tokenType!==23&&this.tokenType!==17&&(this.parseAtrulePrelude?i=this.parseWithFallback(this.AtrulePrelude.bind(this,r,e),y5i):i=y5i.call(this,this.tokenIndex),this.skipSC()),this.tokenType){case 17:this.next();break;case 23:hasOwnProperty.call(this.atrule,n)&&typeof this.atrule[n].block=="function"?s=this.atrule[n].block.call(this,e):s=this.Block(sNu.call(this));break}return{type:"Atrule",loc:this.getLocation(t,this.tokenStart),name:r,prelude:i,block:s}}function lNu(e){this.token(3,"@"+e.name),e.prelude!==null&&this.node(e.prelude),e.block?this.node(e.block):this.token(17,";")}var aNu,oNu,uNu,nQr=Er(()=>{sA();aNu="Atrule",oNu="atrule",uNu={name:String,prelude:["AtrulePrelude","Raw",null],block:["Block",null]}});var sQr={};Mt(sQr,{generate:()=>dNu,name:()=>cNu,parse:()=>iQr,structure:()=>pNu,walkContext:()=>fNu});function iQr(e){let t=null;return e!==null&&(e=e.toLowerCase()),this.skipSC(),hasOwnProperty.call(this.atrule,e)&&typeof this.atrule[e].prelude=="function"?t=this.atrule[e].prelude.call(this):t=this.readSequence(this.scope.AtrulePrelude),this.skipSC(),this.eof!==!0&&this.tokenType!==23&&this.tokenType!==17&&this.error("Semicolon or block is expected"),{type:"AtrulePrelude",loc:this.getLocationFromList(t),children:t}}function dNu(e){this.children(e)}var cNu,fNu,pNu,aQr=Er(()=>{sA();cNu="AtrulePrelude",fNu="atrulePrelude",pNu={children:[[]]}});var lQr={};Mt(lQr,{generate:()=>xNu,name:()=>_Nu,parse:()=>uQr,structure:()=>ENu});function hNu(){this.eof&&this.error("Unexpected end of input");let e=this.tokenStart,t=!1;return this.isDelim(_5i)?(t=!0,this.next()):this.isDelim(oQr)||this.eat(1),this.isDelim(oQr)?this.charCodeAt(this.tokenStart+1)!==zOt?(this.next(),this.eat(1)):t&&this.error("Identifier is expected",this.tokenEnd):t&&this.error("Vertical line is expected"),{type:"Identifier",loc:this.getLocation(e,this.tokenStart),name:this.substrToCursor(e)}}function yNu(){let e=this.tokenStart,t=this.charCodeAt(e);return t!==zOt&&t!==ANu&&t!==gNu&&t!==mNu&&t!==_5i&&t!==oQr&&this.error("Attribute selector (=, ~=, ^=, $=, *=, |=) is expected"),this.next(),t!==zOt&&(this.isDelim(zOt)||this.error("Equal sign is expected"),this.next()),this.substrToCursor(e)}function uQr(){let e=this.tokenStart,t,r=null,n=null,i=null;return this.eat(19),this.skipSC(),t=hNu.call(this),this.skipSC(),this.tokenType!==20&&(this.tokenType!==1&&(r=yNu.call(this),this.skipSC(),n=this.tokenType===5?this.String():this.Identifier(),this.skipSC()),this.tokenType===1&&(i=this.consume(1),this.skipSC())),this.eat(20),{type:"AttributeSelector",loc:this.getLocation(e,this.tokenStart),name:t,matcher:r,value:n,flags:i}}function xNu(e){this.token(9,"["),this.node(e.name),e.matcher!==null&&(this.tokenize(e.matcher),this.node(e.value)),e.flags!==null&&this.token(1,e.flags),this.token(9,"]")}var mNu,_5i,zOt,gNu,oQr,ANu,_Nu,ENu,cQr=Er(()=>{sA();mNu=36,_5i=42,zOt=61,gNu=94,oQr=124,ANu=126;_Nu="AttributeSelector",ENu={name:"Identifier",matcher:[String,null],value:["String","Identifier",null],flags:[String,null]}});var pQr={};Mt(pQr,{generate:()=>TNu,name:()=>bNu,parse:()=>fQr,structure:()=>SNu,walkContext:()=>INu});function v5i(){return this.Raw(null,!0)}function E5i(){return this.parseWithFallback(this.Rule,v5i)}function x5i(){return this.Raw(this.consumeUntilSemicolonIncluded,!0)}function CNu(){if(this.tokenType===17)return x5i.call(this,this.tokenIndex);let e=this.parseWithFallback(this.Declaration,x5i);return this.tokenType===17&&this.next(),e}function fQr(e){let t=e?CNu:E5i,r=this.tokenStart,n=this.createList();this.eat(23);e:for(;!this.eof;)switch(this.tokenType){case 24:break e;case 13:case 25:this.next();break;case 3:n.push(this.parseWithFallback(this.Atrule.bind(this,e),v5i));break;default:e&&this.isDelim(vNu)?n.push(E5i.call(this)):n.push(t.call(this))}return this.eof||this.eat(24),{type:"Block",loc:this.getLocation(r,this.tokenStart),children:n}}function TNu(e){this.token(23,"{"),this.children(e,t=>{t.type==="Declaration"&&this.token(17,";")}),this.token(24,"}")}var vNu,bNu,INu,SNu,dQr=Er(()=>{sA();vNu=38;bNu="Block",INu="block",SNu={children:[["Atrule","Rule","Declaration"]]}});var gQr={};Mt(gQr,{generate:()=>BNu,name:()=>DNu,parse:()=>mQr,structure:()=>wNu});function mQr(e,t){let r=this.tokenStart,n=null;return this.eat(19),n=e.call(this,t),this.eof||this.eat(20),{type:"Brackets",loc:this.getLocation(r,this.tokenStart),children:n}}function BNu(e){this.token(9,"["),this.children(e),this.token(9,"]")}var DNu,wNu,AQr=Er(()=>{sA();DNu="Brackets",wNu={children:[[]]}});var yQr={};Mt(yQr,{generate:()=>NNu,name:()=>kNu,parse:()=>hQr,structure:()=>PNu});function hQr(){let e=this.tokenStart;return this.eat(15),{type:"CDC",loc:this.getLocation(e,this.tokenStart)}}function NNu(){this.token(15,"-->")}var kNu,PNu,_Qr=Er(()=>{sA();kNu="CDC",PNu=[]});var xQr={};Mt(xQr,{generate:()=>FNu,name:()=>ONu,parse:()=>EQr,structure:()=>RNu});function EQr(){let e=this.tokenStart;return this.eat(14),{type:"CDO",loc:this.getLocation(e,this.tokenStart)}}function FNu(){this.token(14,"",i.representationStart,i.representationEnd,void 0]):YRt(0,i)?mqr(s,i):(i.advanceCodePoint(),[lu.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case 60:return AMu(i)?(i.advanceCodePoint(4),[lu.CDO,"")}});var bzr=j(X1e=>{"use strict";var sfl=X1e&&X1e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(X1e,"__esModule",{value:!0});X1e.getOuterHTML=Bts;X1e.getInnerHTML=ufl;X1e.getText=Iqt;X1e.textContent=vzr;X1e.innerText=Czr;var kfe=z1e(),afl=sfl(wts()),ofl=dYe();function Bts(e,t){return(0,afl.default)(e,t)}function ufl(e,t){return(0,kfe.hasChildren)(e)?e.children.map(function(r){return Bts(r,t)}).join(""):""}function Iqt(e){return Array.isArray(e)?e.map(Iqt).join(""):(0,kfe.isTag)(e)?e.name==="br"?` `:Iqt(e.children):(0,kfe.isCDATA)(e)?Iqt(e.children):(0,kfe.isText)(e)?e.data:""}function vzr(e){return Array.isArray(e)?e.map(vzr).join(""):(0,kfe.hasChildren)(e)&&!(0,kfe.isComment)(e)?vzr(e.children):(0,kfe.isText)(e)?e.data:""}function Czr(e){return Array.isArray(e)?e.map(Czr).join(""):(0,kfe.hasChildren)(e)&&(e.type===ofl.ElementType.Tag||(0,kfe.isCDATA)(e))?Czr(e.children):(0,kfe.isText)(e)?e.data:""}});var Nts=j(Pfe=>{"use strict";Object.defineProperty(Pfe,"__esModule",{value:!0});Pfe.getChildren=kts;Pfe.getParent=Pts;Pfe.getSiblings=lfl;Pfe.getAttributeValue=cfl;Pfe.hasAttrib=ffl;Pfe.getName=pfl;Pfe.nextElementSibling=dfl;Pfe.prevElementSibling=mfl;var Izr=z1e();function kts(e){return(0,Izr.hasChildren)(e)?e.children:[]}function Pts(e){return e.parent||null}function lfl(e){var t,r,n=Pts(e);if(n!=null)return kts(n);for(var i=[e],s=e.prev,a=e.next;s!=null;)i.unshift(s),t=s,s=t.prev;for(;a!=null;)i.push(a),r=a,a=r.next;return i}function cfl(e,t){var r;return(r=e.attribs)===null||r===void 0?void 0:r[t]}function ffl(e,t){return e.attribs!=null&&Object.prototype.hasOwnProperty.call(e.attribs,t)&&e.attribs[t]!=null}function pfl(e){return e.name}function dfl(e){for(var t,r=e.next;r!==null&&!(0,Izr.isTag)(r);)t=r,r=t.next;return r}function mfl(e){for(var t,r=e.prev;r!==null&&!(0,Izr.isTag)(r);)t=r,r=t.prev;return r}});var Ots=j(rSe=>{"use strict";Object.defineProperty(rSe,"__esModule",{value:!0});rSe.removeElement=slt;rSe.replaceElement=gfl;rSe.appendChild=Afl;rSe.append=hfl;rSe.prependChild=yfl;rSe.prepend=_fl;function slt(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children,r=t.lastIndexOf(e);r>=0&&t.splice(r,1)}e.next=null,e.prev=null,e.parent=null}function gfl(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var i=t.parent=e.parent;if(i){var s=i.children;s[s.lastIndexOf(e)]=t,e.parent=null}}function Afl(e,t){if(slt(t),t.next=null,t.parent=e,e.children.push(t)>1){var r=e.children[e.children.length-2];r.next=t,t.prev=r}else t.prev=null}function hfl(e,t){slt(t);var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var i=r.children;i.splice(i.lastIndexOf(n),0,t)}}else r&&r.children.push(t)}function yfl(e,t){if(slt(t),t.parent=e,t.prev=null,e.children.unshift(t)!==1){var r=e.children[1];r.prev=t,t.next=r}else t.next=null}function _fl(e,t){slt(t);var r=e.parent;if(r){var n=r.children;n.splice(n.indexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}});var Szr=j(nSe=>{"use strict";Object.defineProperty(nSe,"__esModule",{value:!0});nSe.filter=Efl;nSe.find=Rts;nSe.findOneChild=xfl;nSe.findOne=Fts;nSe.existsOne=Lts;nSe.findAll=vfl;var n7e=z1e();function Efl(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),Rts(e,Array.isArray(t)?t:[t],r,n)}function Rts(e,t,r,n){for(var i=[],s=[Array.isArray(t)?t:[t]],a=[0];;){if(a[0]>=s[0].length){if(a.length===1)return i;s.shift(),a.shift();continue}var u=s[0][a[0]++];if(e(u)&&(i.push(u),--n<=0))return i;r&&(0,n7e.hasChildren)(u)&&u.children.length>0&&(a.unshift(0),s.unshift(u.children))}}function xfl(e,t){return t.find(e)}function Fts(e,t,r){r===void 0&&(r=!0);for(var n=Array.isArray(t)?t:[t],i=0;i0){var a=Fts(e,s.children,!0);if(a)return a}}return null}function Lts(e,t){return(Array.isArray(t)?t:[t]).some(function(r){return(0,n7e.isTag)(r)&&e(r)||(0,n7e.hasChildren)(r)&&Lts(e,r.children)})}function vfl(e,t){for(var r=[],n=[Array.isArray(t)?t:[t]],i=[0];;){if(i[0]>=n[0].length){if(n.length===1)return r;n.shift(),i.shift();continue}var s=n[0][i[0]++];(0,n7e.isTag)(s)&&e(s)&&r.push(s),(0,n7e.hasChildren)(s)&&s.children.length>0&&(i.unshift(0),n.unshift(s.children))}}});var Dzr=j(iSe=>{"use strict";Object.defineProperty(iSe,"__esModule",{value:!0});iSe.testElement=bfl;iSe.getElements=Ifl;iSe.getElementById=Sfl;iSe.getElementsByTagName=Tfl;iSe.getElementsByClassName=Dfl;iSe.getElementsByTagType=wfl;var i7e=z1e(),alt=Szr(),Sqt={tag_name:function(e){return typeof e=="function"?function(t){return(0,i7e.isTag)(t)&&e(t.name)}:e==="*"?i7e.isTag:function(t){return(0,i7e.isTag)(t)&&t.name===e}},tag_type:function(e){return typeof e=="function"?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return typeof e=="function"?function(t){return(0,i7e.isText)(t)&&e(t.data)}:function(t){return(0,i7e.isText)(t)&&t.data===e}}};function Tzr(e,t){return typeof t=="function"?function(r){return(0,i7e.isTag)(r)&&t(r.attribs[e])}:function(r){return(0,i7e.isTag)(r)&&r.attribs[e]===t}}function Cfl(e,t){return function(r){return e(r)||t(r)}}function Mts(e){var t=Object.keys(e).map(function(r){var n=e[r];return Object.prototype.hasOwnProperty.call(Sqt,r)?Sqt[r](n):Tzr(r,n)});return t.length===0?null:t.reduce(Cfl)}function bfl(e,t){var r=Mts(e);return r?r(t):!0}function Ifl(e,t,r,n){n===void 0&&(n=1/0);var i=Mts(e);return i?(0,alt.filter)(i,t,r,n):[]}function Sfl(e,t,r){return r===void 0&&(r=!0),Array.isArray(t)||(t=[t]),(0,alt.findOne)(Tzr("id",e),t,r)}function Tfl(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,alt.filter)(Sqt.tag_name(e),t,r,n)}function Dfl(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,alt.filter)(Tzr("class",e),t,r,n)}function wfl(e,t,r,n){return r===void 0&&(r=!0),n===void 0&&(n=1/0),(0,alt.filter)(Sqt.tag_type(e),t,r,n)}});var Uts=j(s7e=>{"use strict";Object.defineProperty(s7e,"__esModule",{value:!0});s7e.DocumentPosition=void 0;s7e.removeSubsets=Bfl;s7e.compareDocumentPosition=jts;s7e.uniqueSort=kfl;var Qts=z1e();function Bfl(e){for(var t=e.length;--t>=0;){var r=e[t];if(t>0&&e.lastIndexOf(r,t-1)>=0){e.splice(t,1);continue}for(var n=r.parent;n;n=n.parent)if(e.includes(n)){e.splice(t,1);break}}return e}var tse;(function(e){e[e.DISCONNECTED=1]="DISCONNECTED",e[e.PRECEDING=2]="PRECEDING",e[e.FOLLOWING=4]="FOLLOWING",e[e.CONTAINS=8]="CONTAINS",e[e.CONTAINED_BY=16]="CONTAINED_BY"})(tse||(s7e.DocumentPosition=tse={}));function jts(e,t){var r=[],n=[];if(e===t)return 0;for(var i=(0,Qts.hasChildren)(e)?e:e.parent;i;)r.unshift(i),i=i.parent;for(i=(0,Qts.hasChildren)(t)?t:t.parent;i;)n.unshift(i),i=i.parent;for(var s=Math.min(r.length,n.length),a=0;al.indexOf(p)?u===t?tse.FOLLOWING|tse.CONTAINED_BY:tse.FOLLOWING:u===e?tse.PRECEDING|tse.CONTAINS:tse.PRECEDING}function kfl(e){return e=e.filter(function(t,r,n){return!n.includes(t,r+1)}),e.sort(function(t,r){var n=jts(t,r);return n&tse.PRECEDING?-1:n&tse.FOLLOWING?1:0}),e}});var Yts=j(wzr=>{"use strict";Object.defineProperty(wzr,"__esModule",{value:!0});wzr.getFeed=Nfl;var Pfl=bzr(),olt=Dzr();function Nfl(e){var t=Tqt(Mfl,e);return t?t.name==="feed"?Ofl(t):Rfl(t):null}function Ofl(e){var t,r=e.children,n={type:"atom",items:(0,olt.getElementsByTagName)("entry",r).map(function(a){var u,l=a.children,f={media:qts(l)};TY(f,"id","id",l),TY(f,"title","title",l);var p=(u=Tqt("link",l))===null||u===void 0?void 0:u.attribs.href;p&&(f.link=p);var g=sSe("summary",l)||sSe("content",l);g&&(f.description=g);var A=sSe("updated",l);return A&&(f.pubDate=new Date(A)),f})};TY(n,"id","id",r),TY(n,"title","title",r);var i=(t=Tqt("link",r))===null||t===void 0?void 0:t.attribs.href;i&&(n.link=i),TY(n,"description","subtitle",r);var s=sSe("updated",r);return s&&(n.updated=new Date(s)),TY(n,"author","email",r,!0),n}function Rfl(e){var t,r,n=(r=(t=Tqt("channel",e.children))===null||t===void 0?void 0:t.children)!==null&&r!==void 0?r:[],i={type:e.name.substr(0,3),id:"",items:(0,olt.getElementsByTagName)("item",e.children).map(function(a){var u=a.children,l={media:qts(u)};TY(l,"id","guid",u),TY(l,"title","title",u),TY(l,"link","link",u),TY(l,"description","description",u);var f=sSe("pubDate",u)||sSe("dc:date",u);return f&&(l.pubDate=new Date(f)),l})};TY(i,"title","title",n),TY(i,"link","link",n),TY(i,"description","description",n);var s=sSe("lastBuildDate",n);return s&&(i.updated=new Date(s)),TY(i,"author","managingEditor",n,!0),i}var Ffl=["url","type","lang"],Lfl=["fileSize","bitrate","framerate","samplingrate","channels","duration","height","width"];function qts(e){return(0,olt.getElementsByTagName)("media:content",e).map(function(t){for(var r=t.attribs,n={medium:r.medium,isDefault:!!r.isDefault},i=0,s=Ffl;i{"use strict";var Qfl=Tw&&Tw.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),a7e=Tw&&Tw.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Qfl(t,e,r)};Object.defineProperty(Tw,"__esModule",{value:!0});Tw.hasChildren=Tw.isDocument=Tw.isComment=Tw.isText=Tw.isCDATA=Tw.isTag=void 0;a7e(bzr(),Tw);a7e(Nts(),Tw);a7e(Ots(),Tw);a7e(Szr(),Tw);a7e(Dzr(),Tw);a7e(Uts(),Tw);a7e(Yts(),Tw);var hYe=z1e();Object.defineProperty(Tw,"isTag",{enumerable:!0,get:function(){return hYe.isTag}});Object.defineProperty(Tw,"isCDATA",{enumerable:!0,get:function(){return hYe.isCDATA}});Object.defineProperty(Tw,"isText",{enumerable:!0,get:function(){return hYe.isText}});Object.defineProperty(Tw,"isComment",{enumerable:!0,get:function(){return hYe.isComment}});Object.defineProperty(Tw,"isDocument",{enumerable:!0,get:function(){return hYe.isDocument}});Object.defineProperty(Tw,"hasChildren",{enumerable:!0,get:function(){return hYe.hasChildren}})});var Bzr=j(bC=>{"use strict";var jfl=bC&&bC.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Ufl=bC&&bC.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Gts=bC&&bC.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)r!=="default"&&Object.prototype.hasOwnProperty.call(e,r)&&jfl(t,e,r);return Ufl(t,e),t},qfl=bC&&bC.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(bC,"__esModule",{value:!0});bC.DomUtils=bC.parseFeed=bC.getFeed=bC.ElementType=bC.Tokenizer=bC.createDomStream=bC.parseDOM=bC.parseDocument=bC.DefaultHandler=bC.DomHandler=bC.Parser=void 0;var Vts=izr(),Yfl=izr();Object.defineProperty(bC,"Parser",{enumerable:!0,get:function(){return Yfl.Parser}});var $ts=z1e(),Kts=z1e();Object.defineProperty(bC,"DomHandler",{enumerable:!0,get:function(){return Kts.DomHandler}});Object.defineProperty(bC,"DefaultHandler",{enumerable:!0,get:function(){return Kts.DomHandler}});function Jts(e,t){var r=new $ts.DomHandler(void 0,t);return new Vts.Parser(r,t).end(e),r.root}bC.parseDocument=Jts;function Hts(e,t){return Jts(e,t).children}bC.parseDOM=Hts;function Gfl(e,t,r){var n=new $ts.DomHandler(e,t,r);return new Vts.Parser(n,t)}bC.createDomStream=Gfl;var Vfl=nzr();Object.defineProperty(bC,"Tokenizer",{enumerable:!0,get:function(){return qfl(Vfl).default}});bC.ElementType=Gts(dYe());var $fl=Dqt(),Kfl=Dqt();Object.defineProperty(bC,"getFeed",{enumerable:!0,get:function(){return Kfl.getFeed}});var Jfl={xmlMode:!0};function Hfl(e,t){return t===void 0&&(t=Jfl),(0,$fl.getFeed)(Hts(e,t))}bC.parseFeed=Hfl;bC.DomUtils=Gts(Dqt())});var Pzr=j((dZg,zts)=>{var zfl=fIe(),Wfl=pIe(),Xfl=ske(),kzr=class extends Xfl{createTokenizer(){this.tokenizer=zfl(this.input,{ignoreErrors:!0})}comment(t){let r=new Wfl;this.init(r,t[2]);let n=this.input.fromOffset(t[3])||this.input.fromOffset(this.input.css.length-1);r.source.end={offset:t[3],line:n.line,column:n.col};let i=t[1].slice(2);if(i.slice(-2)==="*/"&&(i=i.slice(0,-2)),/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{let s=i.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}}decl(t){t.length>1&&t.some(r=>r[0]==="word")&&super.decl(t)}unclosedBracket(){}unknownWord(t){this.spaces+=t.map(r=>r[1]).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(t){t.name=""}precheckMissedSemicolon(t){let r=this.colon(t);if(r===!1)return;let n,i;for(n=r-1;n>=0&&t[n][0]!=="word";n--);if(n===0)return;for(i=n-1;i>=0;i--)if(t[i][0]!=="space"){i+=1;break}let s=t.slice(n),a=t.slice(i,n);t.splice(i,t.length-i),this.spaces=a.map(u=>u[1]).join(""),this.decl(s)}checkMissedSemicolon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=""}};zts.exports=kzr});var Nzr=j((mZg,Wts)=>{var{Input:Zfl}=efe(),epl=Pzr();Wts.exports=function(t,r){let n=new Zfl(t,r),i=new epl(n);return i.parse(),i.root}});var Ozr=j((gZg,Zts)=>{"use strict";var tpl=aUe(),Xts=tke(),rpl=Nzr(),npl={parse:tpl,stringify:Xts},ipl={parse:rpl,stringify:Xts};Zts.exports={cssSyntax:npl,cssSafeSyntax:ipl}});var rrs=j((AZg,trs)=>{"use strict";var spl=require("path");trs.exports={loadModule:apl,isModuleNotFoundError:ers};function apl(e){try{let t=require("module"),r=process.cwd(),n=spl.join(r,"__placeholder__.js");return t.createRequire(n)(e)}catch(t){if(!ers(t))throw t}return null}function ers(e){return e&&typeof e=="object"&&e.code==="MODULE_NOT_FOUND"}});var nrs=j((ult,Rzr)=>{(function(t,r){typeof ult=="object"&&typeof Rzr=="object"?Rzr.exports=r():typeof define=="function"&&define.amd?define([],r):typeof ult=="object"?ult.gonzales=r():t.gonzales=r()})(ult,function(){return(function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={exports:{},id:n,loaded:!1};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}return r.m=e,r.c=t,r.p="",r(0)})([(function(e,t,r){"use strict";var n=r(1),i=r(7);e.exports={createNode:function(a){return new n(a)},parse:i}}),(function(e,t,r){"use strict";var n=(function(){function a(u,l){for(var f=0;f2&&arguments[2]!==void 0?arguments[2]:0,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,A,h;if(p++,l(this,f,g,p),!!Array.isArray(this.content)){for(var _=0,E=this.content.length;_1){var g=f[f.length-1];g.length=0.6.0"},files:["MIT-LICENSE.txt","bin/gonzales.js","lib/gonzales.js"]}}),(function(e,t,r){"use strict";e.exports={css:r(11),less:r(17),sass:r(21),scss:r(25)}}),(function(e,t,r){"use strict";t.__esModule=!0,t.default={mark:r(12),parse:r(14),stringify:r(3),tokenizer:r(16)},e.exports=t.default}),(function(e,t,r){"use strict";var n=r(13);function i(p){for(var g=p.length,A=[-1,-1],h,_=0;_=u)){for(var Kr="",Rs=0;Rs<$r;Rs++)Kr+=a[Ye+Rs].value;return Kr}}function _(Ye,$r,Kr,Rs){return typeof Ye=="string"?E(Ye,$r,Kr,Rs):b(Ye,$r,Kr,Rs)}function E(Ye,$r,Kr,Rs){var vi=[];if(!Ye)return vi=[$r,Kr],Rs&&(vi[1]+=Rs-1),vi;var Pu=Ye.lastIndexOf(` `),gp=Pu===Ye.length-1,Cf=Ye.split(` `),yA=Cf.length-1,wy=yA===0||yA===1?-1:Ye.length-Cf[yA-1].length-2,vv=gp?yA-1:yA;return vi[0]=$r+vv,gp?vv=wy!==-1?Ye.length-wy:Ye.length-1:vv=yA!==0?Ye.length-Pu-Kr-1:Ye.length-1,vi[1]=Kr+vv,Rs&&(gp?(vi[0]++,vi[1]=Rs):vi[1]+=Rs),vi}function b(Ye,$r,Kr,Rs){var vi=void 0;if(Ye.length===0)vi=[$r,Kr];else{var Pu=Ye[Ye.length-1];Pu.hasOwnProperty("end")?vi=[Pu.end.line,Pu.end.column]:vi=_(Pu.content,$r,Kr)}return Rs&&(a[l-1]&&a[l-1].type!=="Newline"?vi[1]+=Rs:(vi[0]++,vi[1]=1)),vi}function D(Ye,$r,Kr,Rs,vi){return vi||(vi=_($r,Kr,Rs)),new n({type:Ye,content:$r,start:{line:Kr,column:Rs},end:{line:vi[0],column:vi[1]},syntax:"css"})}function k(Ye){var $r=void 0;return($r=Nr(Ye))?a[Ye].any_child=1:($r=Sd(Ye))?a[Ye].any_child=2:($r=zE(Ye))?a[Ye].any_child=3:($r=fd(Ye))?a[Ye].any_child=4:($r=yu(Ye))?a[Ye].any_child=5:($r=Ud(Ye))?a[Ye].any_child=13:($r=ua(Ye))?a[Ye].any_child=6:($r=W1(Ye))?a[Ye].any_child=7:($r=oi(Ye))?a[Ye].any_child=8:($r=ha(Ye))?a[Ye].any_child=9:($r=pa(Ye))?a[Ye].any_child=10:($r=Bt(Ye))?a[Ye].any_child=11:($r=yl(Ye))&&(a[Ye].any_child=12),$r}function M(){var Ye=a[l].any_child;if(Ye===1)return Fr();if(Ye===2)return _m();if(Ye===3)return xe();if(Ye===4)return _f();if(Ye===5)return Va();if(Ye===13)return Em();if(Ye===6)return rc();if(Ye===7)return yg();if(Ye===8)return oa();if(Ye===9)return Ua();if(Ye===10)return du();if(Ye===11)return Xt();if(Ye===12)return Ho()}function R(){var Ye=i.ArgumentsType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[],Pu=void 0;for(l++;l=u||a[Ye++].type!==s.CommercialAt?0:($r=pa(Ye))?$r+1:0}function Z(){var Ye=i.AtkeywordType,$r=a[l],Kr=$r.ln,Rs=$r.col;l++;var vi=[du()];return D(Ye,vi,Kr,Rs)}function oe(Ye){var $r=void 0;if(Ye>=u)return 0;if(a[Ye].atrule_l!==void 0)return a[Ye].atrule_l;if($r=zi(Ye))a[Ye].atrule_type=4;else if($r=le(Ye))a[Ye].atrule_type=1;else if($r=me(Ye))a[Ye].atrule_type=2;else if($r=_e(Ye))a[Ye].atrule_type=3;else return 0;return a[Ye].atrule_l=$r,$r}function ue(){var Ye=a[l].atrule_type;if(Ye===1)return ae();if(Ye===2)return Te();if(Ye===3)return Le();if(Ye===4)return ks()}function me(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=K(Ye))Ye+=Kr;else return 0;if((Kr=xa(Ye))&&(Ye+=Kr),Kr=qe(Ye))Ye+=Kr;else return 0;return Ye-$r}function Te(){var Ye=i.AtruleType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[].concat(Z(),$a(),at());return D(Ye,vi,Kr,Rs)}function le(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=K(Ye))Ye+=Kr;else return 0;if((Kr=xa(Ye))&&(Ye+=Kr),Ye=u)return 0;for((Kr=vp(Ye))&&(Ye+=Kr);Ye=u)return 0;if(Kr=K(Ye))Ye+=Kr;else return 0;return(Kr=xa(Ye))&&(Ye+=Kr),Ye-$r}function Le(){var Ye=i.AtruleType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[].concat(Z(),$a());return D(Ye,vi,Kr,Rs)}function qe(Ye){return Ye=u)return 0;if($r=Sr(Ye))a[Ye].bd_type=1;else if($r=dt(Ye))a[Ye].bd_type=2;else if($r=lr(Ye))a[Ye].bd_type=3;else if($r=Nt(Ye))a[Ye].bd_type=4;else return 0;return $r}function Ur(){var Ye=a[l].bd_type;if(Ye===1)return xr();if(Ye===2)return It();if(Ye===3)return $t();if(Ye===4)return sr()}function Sr(Ye){var $r=Ye,Kr=void 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=cr(Ye))a[Ye].bd_kind=1;else if(Kr=oe(Ye))a[Ye].bd_kind=2;else return 0;if(Ye+=Kr,(Kr=vp(Ye))&&(Ye+=Kr),Ye=u)return 0;var $r=Ye;if(a[Ye].type===s.LeftSquareBracket)Ye++;else return 0;if(Ye=u)return 0;if(a[Ye].class_l)return a[Ye].class_l;if(a[Ye].type===s.FullStop)Ye++;else return 0;if(Kr=pa(Ye))a[$r].class_l=Kr+1,Ye+=Kr;else return 0;return a[$r].classEnd=Ye,Ye-$r}function Xt(){var Ye=i.ClassType,$r=a[l],Kr=$r.ln,Rs=$r.col;l++;var vi=[du()];return D(Ye,vi,Kr,Rs)}function wr(Ye){if(Ye>=u)return 0;var $r=void 0;return($r=gt(Ye))?a[Ye].combinatorType=1:($r=Sn(Ye))?a[Ye].combinatorType=2:($r=Wt(Ye))?a[Ye].combinatorType=3:($r=na(Ye))&&(a[Ye].combinatorType=4),$r}function rr(){var Ye=a[l].combinatorType;if(Ye===1)return Vr();if(Ye===2)return wn();if(Ye===3)return us();if(Ye===4)return Na()}function gt(Ye){return Ye>>";return l+=3,D(Ye,vi,Kr,Rs)}function Sn(Ye){return Ye+1>=u?0:a[Ye].type===s.VerticalLine&&a[Ye+1].type===s.VerticalLine||a[Ye].type===s.GreaterThanSign&&a[Ye+1].type===s.GreaterThanSign?2:0}function wn(){var Ye=i.CombinatorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=""+$r.value+a[l+1].value;return l+=2,D(Ye,vi,Kr,Rs)}function Wt(Ye){var $r=a[Ye].type;return $r===s.PlusSign||$r===s.GreaterThanSign||$r===s.Tilde?1:0}function us(){var Ye=i.CombinatorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=$r.value;return l++,D(Ye,vi,Kr,Rs)}function na(Ye){var $r=Ye;if(a[Ye].type===s.Solidus)Ye++;else return 0;var Kr=void 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if(a[Ye].type===s.Solidus)Ye++;else return 0;return Ye-$r}function Na(){var Ye=i.CombinatorType,$r=a[l],Kr=$r.ln,Rs=$r.col;l++;var vi=du();l++;var Pu="/"+vi.content+"/";return D(Ye,Pu,Kr,Rs)}function Di(Ye){return Ye=u)return 0;if(Kr=pg(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=Tl(Ye))Ye++;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=Xy(Ye))Ye+=Kr;else return 0;return Ye-$r}function jr(){var Ye=i.DeclarationType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[].concat(oo(),sc(),Ws(),sc(),_v());return D(Ye,vi,Kr,Rs)}function Rn(Ye){return Ye=u||!$r||Ye+$r>=u?0:(Kr=wh(Ye+$r))?$r+Kr:0}function Va(){var Ye=i.DimensionType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[rc(),D0()];return D(Ye,vi,Kr,Rs)}function oi(Ye){var $r=Ye;return Ye>=u||a[Ye++].value!=="expression"||Ye>=u||a[Ye].type!==s.LeftParenthesis?0:a[Ye].right-$r+1}function oa(){var Ye=i.ExpressionType,$r=a[l],Kr=$r.ln,Rs=$r.col;l++;var vi=A(l+1,a[l].right-1),Pu=_(vi,Kr,Rs,1);return Pu[0]===Kr&&(Pu[1]+=11),l=a[l].right+1,D(Ye,vi,Kr,Rs,Pu)}function ha(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;return Ye=u)return 0;if(a[Ye].type===s.HyphenMinus&&Ye++,a[Ye].type===s.LowLine||a[Ye].type===s.Identifier)Ye++;else return 0;for(;Ye=u||a[Ye++].type!==s.ExclamationMark?0:((Kr=vp(Ye))&&(Ye+=Kr),a[Ye].value==="important"?(a[$r].importantEnd=Ye,Ye-$r+1):0)}function dc(){var Ye=i.ImportantType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=A(l,$r.importantEnd);return l=$r.importantEnd+1,D(Ye,vi,Kr,Rs)}function Yn(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=wl(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=qe(Ye))Ye+=Kr;else return 0;return Ye-$r}function Sl(){var Ye=i.RulesetType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[].concat(Wc(),sc(),at());return D(Ye,vi,Kr,Rs)}function Jt(Ye){var $r=Ye,Kr=void 0;if(Ye=u)return 0;if(Kr=K(Ye))Ye+=Kr;else return 0;var Rs=h(Ye-Kr,Kr);if(Rs.toLowerCase().indexOf("keyframes")===-1)return 0;if(Kr=vp(Ye))Ye+=Kr;else return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=Jt(Ye))Ye+=Kr;else return 0;return Ye-$r}function ks(){var Ye=i.AtruleType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[].concat(Z(),sc(),du(),sc(),Qt());return D(Ye,vi,Kr,Rs)}function lo(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=pa(Ye)){var Rs=h(Ye,Kr);if(Rs!=="from"&&Rs!=="to")return 0;Ye+=Kr,a[$r].keyframesSelectorType=1}else if(Kr=fd(Ye))Ye+=Kr,a[$r].keyframesSelectorType=2;else return 0;return Ye-$r}function Jo(){var Ye=i.KeyframesSelectorType,$r=i.SelectorType,Kr=a[l],Rs=Kr.ln,vi=Kr.col,Pu=[];Kr.keyframesSelectorType===1?Pu.push(du()):Pu.push(_f());var gp=D(Ye,Pu,Rs,vi);return D($r,[gp],Rs,vi)}function wl(Ye){var $r=Ye,Kr=void 0;if(Kr=lo(Ye))Ye+=Kr;else return 0;for(;Ye=u?0:a[Ye].number_l?a[Ye].number_l:Ye=u)return 0;switch(a[Ye].type){case s.Solidus:case s.Comma:case s.Colon:case s.EqualsSign:case s.Asterisk:return 1}return 0}function cp(){var Ye=i.OperatorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=$r.value;return l++,D(Ye,vi,Kr,Rs)}function Sd(Ye){if(Ye>=u)return 0;var $r=Ye,Kr=a[Ye].right;if(a[Ye].type===s.LeftParenthesis)Ye++;else return 0;if(Ye=u)return 0;if(Kr=ua(Ye))Ye+=Kr;else return 0;if(Ye>=u)return 0;if(a[Ye].type===s.PercentSign)Ye++;else return 0;return Ye-$r}function _f(){var Ye=i.PercentageType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[rc()],Pu=_(vi,Kr,Rs,1);return l++,D(Ye,vi,Kr,Rs,Pu)}function tp(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(h(Ye,6)==="progid:DXImageTransform.Microsoft.")Ye+=6;else return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),a[Ye].type===s.LeftParenthesis)a[$r].progid_end=a[Ye].right,Ye=a[Ye].right+1;else return 0;return Ye-$r}function Dg(){var Ye=i.ProgidType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=$r.progid_end,Pu=A(l,vi);return l=vi+1,D(Ye,Pu,Kr,Rs)}function pg(Ye){var $r=Ye,Kr=void 0;return(Kr=Qu(Ye))?a[$r].propertyType=1:(Kr=ta(Ye))&&(a[$r].propertyType=2),Kr}function oo(){var Ye=a[l].propertyType;if(Ye===1)return go();if(Ye===2)return fu()}function Qu(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;return Ye-$r}function go(){var Ye=i.PropertyType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[du()];return D(Ye,vi,Kr,Rs)}function ta(Ye){return bl(Ye)}function fu(){return Zo()}function bl(Ye){var $r=Ye,Kr=void 0;if(Ye>=u||a[Ye].type!==s.HyphenMinus||a[Ye+1]&&a[Ye+1].type!==s.HyphenMinus)return 0;if(Ye+=2,Kr=pa(Ye))Ye+=Kr;else return 0;return Ye-$r}function Zo(){var Ye=i.CustomPropertyType,$r=a[l],Kr=$r.ln,Rs=$r.col;l+=2;var vi=[du()];return D(Ye,vi,Kr,Rs)}function Tl(Ye){return Ye=u||a[Ye].type!==s.Colon||Ye>=u||a[Ye+1].type!==s.Colon)return 0;if($r=Rl(Ye))a[Ye].pseudoElementType=1;else if($r=iu(Ye))a[Ye].pseudoElementType=2;else return 0;return $r}function _a(){var Ye=a[l].pseudoElementType;if(Ye===1)return Pc();if(Ye===2)return Xc()}function Rl(Ye){var $r=Ye,Kr=void 0;if(Ye+=2,Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if(Ye>=u||a[Ye].type!==s.LeftParenthesis)return 0;var Rs=a[Ye].right;if(Ye++,(Kr=vp(Ye))&&(Ye+=Kr),Kr=Ys(Ye))Ye+=Kr;else return 0;return(Kr=vp(Ye))&&(Ye+=Kr),Ye!==Rs?0:(Ye++,Ye-$r)}function Pc(){var Ye=i.PseudoeType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l+=2,vi.push(du());{var Pu=i.ArgumentsType,gp=a[l],Cf=gp.ln,yA=gp.col;l++;var wy=[].concat(sc(),La(),sc()),vv=_(wy,Cf,yA,1),kl=D(Pu,wy,Cf,yA,vv);vi.push(kl),l++}return D(Ye,vi,Kr,Rs)}function iu(Ye){var $r=Ye,Kr=void 0;if(Ye+=2,Kr=pa(Ye))Ye+=Kr;else return 0;return Ye-$r}function Xc(){var Ye=i.PseudoeType,$r=a[l],Kr=$r.ln,Rs=$r.col;l+=2;var vi=[du()];return D(Ye,vi,Kr,Rs)}function Kf(Ye){var $r=void 0;if(Ye>=u||a[Ye].type!==s.Colon)return 0;if($r=Rp(Ye))a[Ye].pseudoClassType=1;else if($r=Dh(Ye))a[Ye].pseudoClassType=2;else if($r=wg(Ye))a[Ye].pseudoClassType=3;else if($r=L2(Ye))a[Ye].pseudoClassType=4;else if($r=Ty(Ye))a[Ye].pseudoClassType=5;else if($r=M2(Ye))a[Ye].pseudoClassType=6;else return 0;return $r}function uo(){var Ye=a[l].pseudoClassType;if(Ye===1)return Fm();if(Ye===2)return bc();if(Ye===3)return uh();if(Ye===4)return ii();if(Ye===5)return Ix();if(Ye===6)return Zc()}function Rp(Ye){var $r=Ye,Kr=void 0;if(Ye++,Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if(Ye>=u||a[Ye].type!==s.LeftParenthesis)return 0;var Rs=a[Ye].right;if(Ye++,(Kr=vp(Ye))&&(Ye+=Kr),Kr=Ys(Ye))Ye+=Kr;else return 0;return(Kr=vp(Ye))&&(Ye+=Kr),Ye!==Rs?0:(Ye++,Ye-$r)}function Fm(){var Ye=i.PseudocType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l++,vi.push(du());{var Pu=i.ArgumentsType,gp=a[l],Cf=gp.ln,yA=gp.col;l++;var wy=[].concat(sc(),La(),sc()),vv=_(wy,Cf,yA,1),kl=D(Pu,wy,Cf,yA,vv);vi.push(kl),l++}return D(Ye,vi,Kr,Rs)}function Dh(Ye){var $r=Ye,Kr=void 0;if(Ye++,Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if(Ye>=u||a[Ye].type!==s.LeftParenthesis)return 0;var Rs=a[Ye].right;if(Ye++,(Kr=vp(Ye))&&(Ye+=Kr),Kr=pa(Ye))Ye+=Kr;else return 0;return(Kr=vp(Ye))&&(Ye+=Kr),Ye!==Rs?0:(Ye++,Ye-$r)}function bc(){var Ye=i.PseudocType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l++,vi.push(du()),l++;var Pu=a[l].ln,gp=a[l].col,Cf=[].concat(sc(),du(),sc()),yA=_(Cf,Pu,gp,1),wy=D(i.ArgumentsType,Cf,Pu,gp,yA);return vi.push(wy),l++,D(Ye,vi,Kr,Rs)}function wg(Ye){var $r=Ye,Kr=void 0;if(Ye++,Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if(Ye>=u||a[Ye].type!==s.LeftParenthesis)return 0;var Rs=a[Ye].right;if(Ye++,(Kr=vp(Ye))&&(Ye+=Kr),(Kr=yl(Ye))&&(Ye+=Kr),Ye>=u||(a[Ye].type===s.DecimalNumber&&Ye++,Ye>=u))return 0;if(a[Ye].value==="n")Ye++;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Ye>=u)return 0;if(a[Ye].type===s.PlusSign||a[Ye].type===s.HyphenMinus)Ye++;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),a[Ye].type===s.DecimalNumber)Ye++;else return 0;return(Kr=vp(Ye))&&(Ye+=Kr),Ye!==Rs?0:(Ye++,Ye-$r)}function uh(){var Ye=i.PseudocType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l++,vi.push(du());var Pu=a[l].ln,gp=a[l].col,Cf=[];l++,Cf=Cf.concat(sc()),yl(l)&&Cf.push(Ho()),ua(l)&&Cf.push(rc());{var yA=a[l].ln,wy=a[l].col,vv=a[l].value,kl=D(i.IdentType,vv,yA,wy);Cf.push(kl),l++}Cf=Cf.concat(sc()),yl(l)&&Cf.push(Ho()),Cf=Cf.concat(sc()),ua(l)&&Cf.push(rc()),Cf=Cf.concat(sc());var Qf=_(Cf,Pu,gp,1),Cv=D(i.ArgumentsType,Cf,Pu,gp,Qf);return vi.push(Cv),l++,D(Ye,vi,Kr,Rs)}function L2(Ye){var $r=Ye,Kr=void 0;if(Ye++,Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if(Ye>=u||a[Ye].type!==s.LeftParenthesis)return 0;var Rs=a[Ye].right;if(Ye++,(Kr=vp(Ye))&&(Ye+=Kr),(Kr=yl(Ye))&&(Ye+=Kr),a[Ye].type===s.DecimalNumber&&Ye++,a[Ye].value==="n")Ye++;else return 0;return(Kr=vp(Ye))&&(Ye+=Kr),Ye!==Rs?0:(Ye++,Ye-$r)}function ii(){var Ye=i.PseudocType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l++,vi.push(du());var Pu=a[l].ln,gp=a[l].col,Cf=[];l++,Cf=Cf.concat(sc()),yl(l)&&Cf.push(Ho()),ua(l)&&Cf.push(rc()),pa(l)&&Cf.push(du()),Cf=Cf.concat(sc());var yA=_(Cf,Pu,gp,1),wy=D(i.ArgumentsType,Cf,Pu,gp,yA);return vi.push(wy),l++,D(Ye,vi,Kr,Rs)}function Ty(Ye){var $r=Ye,Kr=void 0;if(Ye++,Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;if(Ye>=u||a[Ye].type!==s.LeftParenthesis)return 0;var Rs=a[Ye].right;if(Ye++,(Kr=vp(Ye))&&(Ye+=Kr),(Kr=yl(Ye))&&(Ye+=Kr),a[Ye].type===s.DecimalNumber)Ye++;else return 0;return(Kr=vp(Ye))&&(Ye+=Kr),Ye!==Rs?0:(Ye++,Ye-$r)}function Ix(){var Ye=i.PseudocType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l++,vi.push(du());var Pu=a[l].ln,gp=a[l].col,Cf=[];l++,Cf=Cf.concat(sc()),yl(l)&&Cf.push(Ho()),ua(l)&&Cf.push(rc()),Cf=Cf.concat(sc());var yA=_(Cf,Pu,gp,1),wy=D(i.ArgumentsType,Cf,Pu,gp,yA);return vi.push(wy),l++,D(Ye,vi,Kr,Rs)}function M2(Ye){var $r=Ye,Kr=void 0;if(Ye++,Ye>=u)return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;return Ye-$r}function Zc(){var Ye=i.PseudocType,$r=a[l],Kr=$r.ln,Rs=$r.col;l++;var vi=[du()];return D(Ye,vi,Kr,Rs)}function Wy(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=Ys(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=qe(Ye))Ye+=Kr;else return 0;return Ye-$r}function Ml(){var Ye=i.RulesetType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[].concat(La(),sc(),at());return D(Ye,vi,Kr,Rs)}function fm(Ye){return Ye=u)return 0;for(var $r=void 0,Kr=0;Ye=u)return Ye;for(;l=u)return 0;if(a[Ye].type===s.NumberSign)Ye++;else return 0;if(Kr=pa(Ye))Ye+=Kr;else return 0;return Ye-$r}function Q2(){var Ye=i.ShashType,$r=a[l],Kr=$r.ln,Rs=$r.col;l++;var vi=[du()];return D(Ye,vi,Kr,Rs)}function zE(Ye){return Ye>=u?0:a[Ye].type===s.StringSQ||a[Ye].type===s.StringDQ?1:0}function xe(){var Ye=i.StringType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=$r.value;return l++,D(Ye,vi,Kr,Rs)}function St(Ye){for(var $r=Ye,Kr=void 0;Ye=u)return 0;for(;Kr=An(Ye);)Ye+=Kr;return a[$r].tsets_end=Ye,Ye-$r}function $a(){var Ye=[],$r=void 0;if(l>=u)return Ye;for(var Kr=a[l].tsets_end;l=u?0:a[Ye].type===s.HyphenMinus||a[Ye].type===s.PlusSign?1:0}function Ho(){var Ye=i.OperatorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=$r.value;return l++,D(Ye,vi,Kr,Rs)}function Ud(Ye){var $r=Ye,Kr=void 0;if(Ye>=u)return 0;if(Kr=z1(Ye))Ye+=Kr;else return 0;for(;Ye=u)return 0;if(a[Ye].value==="U"||a[Ye].value==="u")Ye+=1;else return 0;if(Ye>=u)return 0;if(a[Ye].value==="+")Ye+=1;else return 0;for(;Ye=u)return 0;for(;Ye=u||a[Ye].value!=="url"||(Ye++,Ye>=u||a[Ye].type!==s.LeftParenthesis)?0:a[Ye].right-$r+1}function yg(){var Ye=l,$r={},Kr=void 0,Rs=void 0,vi=void 0,Pu=void 0,gp=void 0;l+=2,$r[s.Space]=1,$r[s.Tab]=1,$r[s.Newline]=1,$r[s.LeftParenthesis]=1,$r[s.RightParenthesis]=1,FC(l)?Kr=[].concat(sc(),xe(),sc()):(Kr=vp(l)?sc():[],Rs=g($r,l),Pu=A(l,l+Rs),gp=a[l],vi=D(i.RawType,Pu,gp.ln,gp.col),Kr.push(vi),l+=Rs+1,vp(l)&&(Kr=Kr.concat(sc()))),gp=a[Ye];var Cf=gp.ln,yA=gp.col,wy=_(Kr,Cf,yA,1);return l++,D(i.UriType,Kr,Cf,yA,wy)}function FC(Ye){var $r=Ye,Kr=void 0;return Ye>=u||((Kr=vp(Ye))&&(Ye+=Kr),a[Ye].type!==s.StringDQ&&a[Ye].type!==s.StringSQ)?0:(Ye++,(Kr=vp(Ye))&&(Ye+=Kr),Ye-$r)}function Xy(Ye){for(var $r=Ye,Kr=void 0,Rs=void 0,vi=void 0;Ye=u)return 0;if(a[Ye].type===s.NumberSign)Ye++;else return 0;if(Kr=ui(Ye))Ye+=Kr;else return 0;return Ye-$r}function wi(){var Ye=i.VhashType,$r=a[l],Kr=$r.ln,Rs=$r.col;l++;var vi=_o(),Pu=_(vi,Kr,Rs+1);return D(Ye,vi,Kr,Rs,Pu)}function Ys(Ye){if(Ye>=u)return 0;var $r=Ye,Kr=void 0,Rs=0,vi=0;if(Kr=Bl(Ye))Ye+=Kr,Rs++;else return 0;for(;Ye=u)return 0;var $r=Ye,Kr=void 0;if(Kr=Bf(Ye))Ye+=Kr;else return 0;for(;Ye=u)return 0;var $r=Ye,Kr=void 0;if(Kr=X0(Ye)||Ee(Ye))Ye+=Kr;else return 0;for(;Ye=u)return 0;for(var $r=Ye;Ye=u)return 0;var $r=Ye,Kr=void 0;if((Kr=zv(Ye))&&(Ye+=Kr),a[Ye].type===s.Asterisk)Ye++;else return 0;return Ye-$r}function Kx(){var Ye=i.UniversalSelectorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[],Pu=void 0;return zv(l)&&(vi.push(w0()),Pu=_(vi,Kr,Rs,1)),l++,D(Ye,vi,Kr,Rs,Pu)}function Ee(Ye){if(Ye>=u)return 0;var $r=Ye,Kr=void 0;if((Kr=zv(Ye))&&(Ye+=Kr),Kr=pa(Ye))Ye+=Kr;else return 0;return Ye-$r}function tE(){var Ye=i.TypeSelectorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];return zv(l)&&vi.push(w0()),vi.push(du()),D(Ye,vi,Kr,Rs)}function j2(Ye){var $r=void 0;return($r=OE(Ye))?a[Ye].attributeSelectorType=1:($r=JS(Ye))&&(a[Ye].attributeSelectorType=2),$r}function PD(){var Ye=a[l].attributeSelectorType;return Ye===1?sS():ND()}function OE(Ye){var $r=Ye;if(a[Ye].type===s.LeftSquareBracket)Ye++;else return 0;var Kr=void 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=Dy(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=$w(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=Gf(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),(Kr=aS(Ye))&&(Ye+=Kr,(Kr=vp(Ye))&&(Ye+=Kr)),a[Ye].type===s.RightSquareBracket)Ye++;else return 0;return Ye-$r}function sS(){var Ye=i.AttributeSelectorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l++,vi=vi.concat(sc(),OD(),sc(),Ev(),sc(),HS(),sc()),aS(l)&&(vi.push(xv()),vi=vi.concat(sc())),l++;var Pu=_(vi,Kr,Rs,1);return D(Ye,vi,Kr,Rs,Pu)}function JS(Ye){var $r=Ye;if(a[Ye].type===s.LeftSquareBracket)Ye++;else return 0;var Kr=void 0;if((Kr=vp(Ye))&&(Ye+=Kr),Kr=Dy(Ye))Ye+=Kr;else return 0;if((Kr=vp(Ye))&&(Ye+=Kr),a[Ye].type===s.RightSquareBracket)Ye++;else return 0;return Ye-$r}function ND(){var Ye=i.AttributeSelectorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];l++,vi=vi.concat(sc(),OD(),sc()),l++;var Pu=_(vi,Kr,Rs,1);return D(Ye,vi,Kr,Rs,Pu)}function Dy(Ye){var $r=Ye,Kr=void 0;if((Kr=zv(Ye))&&(Ye+=Kr),Kr=pa(Ye))Ye+=Kr;else return 0;return Ye-$r}function OD(){var Ye=i.AttributeNameType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];return zv(l)&&vi.push(w0()),vi.push(du()),D(Ye,vi,Kr,Rs)}function $w(Ye){var $r=void 0;return($r=Il(Ye))?a[Ye].attributeMatchType=1:($r=U2(Ye))&&(a[Ye].attributeMatchType=2),$r}function Ev(){var Ye=a[l].attributeMatchType;return Ye===1?fI():Fl()}function Il(Ye){var $r=Ye,Kr=a[Ye].type;if(Kr===s.Tilde||Kr===s.VerticalLine||Kr===s.CircumflexAccent||Kr===s.DollarSign||Kr===s.Asterisk)Ye++;else return 0;if(a[Ye].type===s.EqualsSign)Ye++;else return 0;return Ye-$r}function fI(){var Ye=i.AttributeMatchType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=a[l].value+a[l+1].value;return l+=2,D(Ye,vi,Kr,Rs)}function U2(Ye){return a[Ye].type===s.EqualsSign?1:0}function Fl(){var Ye=i.AttributeMatchType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi="=";return l++,D(Ye,vi,Kr,Rs)}function Gf(Ye){return zE(Ye)||pa(Ye)}function HS(){var Ye=i.AttributeValueType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];return zE(l)?vi.push(xe()):vi.push(du()),D(Ye,vi,Kr,Rs)}function aS(Ye){return pa(Ye)}function xv(){var Ye=i.AttributeFlagsType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[du()];return D(Ye,vi,Kr,Rs)}function zv(Ye){if(Ye>=u)return 0;var $r=void 0;return($r=Zy(Ye))?a[Ye].namePrefixType=1:($r=K9(Ye))&&(a[Ye].namePrefixType=2),$r}function w0(){var Ye=a[l].namePrefixType;return Ye===1?RD():Kw()}function Zy(Ye){var $r=Ye,Kr=void 0;if(Kr=FD(Ye))Ye+=Kr;else return 0;if((Kr=Di(Ye))&&(Ye+=Kr),Kr=Y2(Ye))Ye+=Kr;else return 0;return Ye-$r}function RD(){var Ye=i.NamePrefixType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];return vi.push(q2()),Di(l)&&vi.push(ki()),vi.push(Jw()),D(Ye,vi,Kr,Rs)}function K9(Ye){return Y2(Ye)}function Kw(){var Ye=i.NamePrefixType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[Jw()];return D(Ye,vi,Kr,Rs)}function FD(Ye){if(Ye>=u)return 0;var $r=void 0;return a[Ye].type===s.Asterisk?1:($r=pa(Ye))?$r:0}function q2(){var Ye=i.NamespacePrefixType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi=[];if($r.type===s.Asterisk){var Pu=D(i.IdentType,"*",Kr,Rs);vi.push(Pu),l++}else pa(l)&&vi.push(du());return D(Ye,vi,Kr,Rs)}function Y2(Ye){return Ye>=u||a[Ye].type!==s.VerticalLine||a[Ye+1]&&a[Ye+1].type===s.EqualsSign?0:1}function Jw(){var Ye=i.NamespaceSeparatorType,$r=a[l],Kr=$r.ln,Rs=$r.col,vi="|";return l++,D(Ye,vi,Kr,Rs)}e.exports=function(Ye,$r){return a=Ye,u=a.length,l=0,f[$r]()}}),(function(e,t){"use strict";e.exports={ArgumentsType:"arguments",AtkeywordType:"atkeyword",AtruleType:"atrule",AttributeSelectorType:"attributeSelector",AttributeNameType:"attributeName",AttributeFlagsType:"attributeFlags",AttributeMatchType:"attributeMatch",AttributeValueType:"attributeValue",BlockType:"block",BracketsType:"brackets",ClassType:"class",CombinatorType:"combinator",CommentMLType:"multilineComment",CommentSLType:"singlelineComment",ConditionType:"condition",ConditionalStatementType:"conditionalStatement",CustomPropertyType:"customProperty",DeclarationType:"declaration",DeclDelimType:"declarationDelimiter",DefaultType:"default",DelimType:"delimiter",DimensionType:"dimension",EscapedStringType:"escapedString",ExtendType:"extend",ExpressionType:"expression",FunctionType:"function",FunctionsListType:"functionsList",GlobalType:"global",IdentType:"ident",ImportantType:"important",IncludeType:"include",InterpolationType:"interpolation",InterpolatedVariableType:"interpolatedVariable",KeyframesSelectorType:"keyframesSelector",LoopType:"loop",MixinType:"mixin",NamePrefixType:"namePrefix",NamespacePrefixType:"namespacePrefix",NamespaceSeparatorType:"namespaceSeparator",NumberType:"number",OperatorType:"operator",OptionalType:"optional",ParenthesesType:"parentheses",ParentSelectorType:"parentSelector",ParentSelectorExtensionType:"parentSelectorExtension",PercentageType:"percentage",PlaceholderType:"placeholder",ProgidType:"progid",PropertyType:"property",PropertyDelimType:"propertyDelimiter",PseudocType:"pseudoClass",PseudoeType:"pseudoElement",RawType:"raw",RulesetType:"ruleset",SType:"space",SelectorType:"selector",ShashType:"id",StringType:"string",StylesheetType:"stylesheet",TypeSelectorType:"typeSelector",UnicodeRangeType:"unicodeRange",UniversalSelectorType:"universalSelector",UriType:"uri",UrangeType:"urange",ValueType:"value",VariableType:"variable",VariablesListType:"variablesList",VhashType:"color"}}),(function(e,t,r){"use strict";e.exports=function(n,i){var s=r(13),a=[],u=!1,l=0,f=0,p=0,g=1,A=1,h=0,_={" ":s.Space,"\n":s.Newline,"\r":s.Newline," ":s.Tab,"!":s.ExclamationMark,'"':s.QuotationMark,"#":s.NumberSign,$:s.DollarSign,"%":s.PercentSign,"&":s.Ampersand,"'":s.Apostrophe,"(":s.LeftParenthesis,")":s.RightParenthesis,"*":s.Asterisk,"+":s.PlusSign,",":s.Comma,"-":s.HyphenMinus,".":s.FullStop,"/":s.Solidus,":":s.Colon,";":s.Semicolon,"<":s.LessThanSign,"=":s.EqualsSign,">":s.GreaterThanSign,"?":s.QuestionMark,"@":s.CommercialAt,"[":s.LeftSquareBracket,"]":s.RightSquareBracket,"^":s.CircumflexAccent,_:s.LowLine,"{":s.LeftCurlyBracket,"|":s.VerticalLine,"}":s.RightCurlyBracket,"~":s.Tilde};function E(Z,oe,ue){a.push({tn:p++,ln:g,col:ue,type:Z,value:oe})}function b(Z){return"0123456789".indexOf(Z)>=0}function D(Z){for(var oe=f;f1?(g+=me.length-1,A=me[me.length-1].length):A+=f-oe}function G(Z){var oe=f;for(f+=2;f0?R(Z):G(Z):oe==='"'||oe==="'"?k(Z,oe):oe===" "?D(Z):_[oe]?(E(_[oe],oe,A),oe===` `||oe==="\r"?(g++,A=0):oe===")"?u=!1:oe==="{"?l++:oe==="}"?l--:oe===" "&&i>1&&(A+=i-1)):b(oe)?M(Z):R(Z);return a}return K(n)}}),(function(e,t,r){"use strict";t.__esModule=!0,t.default={mark:r(18),parse:r(19),stringify:r(4),tokenizer:r(20)},e.exports=t.default}),(function(e,t,r){"use strict";var n=r(13);e.exports=(function(){function i(a){for(var u=a.length,l=-1,f=-1,p=void 0,g=0;g=u)){for(var yr="",ys=0;ys=u||a[ve].type!==s.LeftParenthesis)return 0;for(ve++;ve=u||a[ve++].type!==s.CommercialAt?0:(mr=ei(ve))?mr+1:0}function oe(){var ve=i.AtkeywordType,mr=a[l],yr=mr.ln,ys=mr.col;l++;var Hn=[ui()];return D(ve,Hn,yr,ys)}function ue(ve){var mr=void 0;if(ve>=u)return 0;if(a[ve].atrule_l!==void 0)return a[ve].atrule_l;if(mr=ta(ve))a[ve].atrule_type=4;else if(mr=ae(ve))a[ve].atrule_type=1;else if(mr=Te(ve))a[ve].atrule_type=2;else if(mr=Le(ve))a[ve].atrule_type=3;else return 0;return a[ve].atrule_l=mr,mr}function me(){var ve=a[l].atrule_type;if(ve===1)return Ae();if(ve===2)return le();if(ve===3)return qe();if(ve===4)return fu()}function Te(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=Z(ve))ve+=yr;else return 0;if((yr=fA(ve))&&(ve+=yr),yr=at(ve))ve+=yr;else return 0;return ve-mr}function le(){var ve=i.AtruleType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(oe(),Hg(),st());return D(ve,Hn,yr,ys)}function ae(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=Z(ve))ve+=yr;else return 0;if((yr=fA(ve))&&(ve+=yr),ve=u)return 0;for((yr=Mf(ve))&&(ve+=yr);ve=u)return 0;if(yr=Z(ve))ve+=yr;else return 0;return(yr=fA(ve))&&(ve+=yr),ve-mr}function qe(){var ve=i.AtruleType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(oe(),Hg());return D(ve,Hn,yr,ys)}function at(ve){return ve=u)return 0;if(mr=xr(ve))a[ve].bd_type=1;else if(mr=It(ve))a[ve].bd_type=2;else if(mr=$t(ve))a[ve].bd_type=3;else if(mr=sr(ve))a[ve].bd_type=4;else return 0;return mr}function Sr(){var ve=a[l].bd_type;if(ve===1)return dt();if(ve===2)return lr();if(ve===3)return Nt();if(ve===4)return Nr()}function xr(ve){var mr=ve,yr=void 0;if((yr=Mf(ve))&&(ve+=yr),yr=es(ve))a[ve].bd_kind=1;else if(yr=Sl(ve))a[ve].bd_kind=6;else if(yr=Xy(ve))a[ve].bd_kind=2;else if(yr=mo(ve))a[ve].bd_kind=3;else if(yr=ue(ve))a[ve].bd_kind=4;else if(yr=Eo(ve))a[ve].bd_kind=5;else return 0;if(ve+=yr,ve=u)return 0;var mr=ve;if(a[ve].type===s.LeftSquareBracket)ve++;else return 0;if(ve=u)return 0;if(a[ve].class_l)return a[ve].class_l;if(a[ve++].type===s.FullStop){if(mr=tp(ve))a[ve].class_child=1;else if(mr=ei(ve))a[ve].class_child=2;else return 0;return a[ve].class_l=mr+1,mr+1}return 0}function wr(){var ve=i.ClassType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++;var Wo=a[l].class_child;return Wo===1?Hn.push(Dg()):Hn.push(ui()),D(ve,Hn,yr,ys)}function rr(ve){if(ve>=u)return 0;var mr=void 0;return(mr=Vr(ve))?a[ve].combinatorType=1:(mr=wn(ve))?a[ve].combinatorType=2:(mr=us(ve))?a[ve].combinatorType=3:(mr=Na(ve))&&(a[ve].combinatorType=4),mr}function gt(){var ve=a[l].combinatorType;if(ve===1)return Sn();if(ve===2)return Wt();if(ve===3)return na();if(ve===4)return Di()}function Vr(ve){return ve>>";return l+=3,D(ve,Hn,yr,ys)}function wn(ve){return ve+1>=u?0:a[ve].type===s.VerticalLine&&a[ve+1].type===s.VerticalLine||a[ve].type===s.GreaterThanSign&&a[ve+1].type===s.GreaterThanSign?2:0}function Wt(){var ve=i.CombinatorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=""+mr.value+a[l+1].value;return l+=2,D(ve,Hn,yr,ys)}function us(ve){var mr=a[ve].type;return mr===s.PlusSign||mr===s.GreaterThanSign||mr===s.Tilde?1:0}function na(){var ve=i.CombinatorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=mr.value;return l++,D(ve,Hn,yr,ys)}function Na(ve){var mr=ve;if(a[ve].type===s.Solidus)ve++;else return 0;var yr=void 0;if(yr=ei(ve))ve+=yr;else return 0;if(a[ve].type===s.Solidus)ve++;else return 0;return ve-mr}function Di(){var ve=i.CombinatorType,mr=a[l],yr=mr.ln,ys=mr.col;l++;var Hn=ui();l++;var Wo="/"+Hn.content+"/";return D(ve,Wo,yr,ys)}function ki(ve){return ve=u)return 0;if((yr=ei(ve))&&a[ve].value==="when")ve+=yr;else return 0;for(;ve=u)return 0;if(yr=fm(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=vp(ve))ve++;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=$w(ve))ve+=yr;else return 0;return ve-mr}function yu(){var ve=i.DeclarationType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(W0(),wi(),sc(),wi(),Ev());return D(ve,Hn,yr,ys)}function Va(ve){return ve=u||!mr||ve+mr>=u?0:(yr=j2(ve+mr))?mr+yr:0}function pa(){var ve=i.DimensionType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[uo(),PD()];return D(ve,Hn,yr,ys)}function du(ve){var mr=ve,yr=void 0;return ve>=u?0:a[ve].type===s.Tilde&&(yr=Bl(ve+1))?ve+yr-mr:0}function Ha(){var ve=i.EscapedStringType,mr=a[l],yr=mr.ln,ys=mr.col;l++;var Hn=a[l].value,Wo=_(Hn,yr,ys+1);return l++,D(ve,Hn,yr,ys,Wo)}function dc(ve){var mr=ve;return ve>=u||a[ve++].value!=="expression"||ve>=u||a[ve].type!==s.LeftParenthesis?0:a[ve].right-mr+1}function Yn(){var ve=i.ExpressionType,mr=a[l],yr=mr.ln,ys=mr.col;l++;var Hn=A(l+1,a[l].right-1),Wo=_(Hn,yr,ys,1);return Wo[0]===yr&&(Wo[1]+=11),l=a[l].right+1,D(ve,Hn,yr,ys,Wo)}function Sl(ve){if(ve>=u)return 0;var mr=void 0;if(mr=Qt(ve))a[ve].extendType=1;else if(mr=ks(ve))a[ve].extendType=2;else return 0;return mr}function Jt(){var ve=a[l].extendType;if(ve===1)return zi();if(ve===2)return lo()}function Qt(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=Jo(ve))ve+=yr;else return 0;if(a[ve+1]&&a[ve+1].value==="extend"&&(yr=xa(ve)))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=at(ve))ve+=yr;else return 0;return ve-mr}function zi(){var ve=i.ExtendType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(wl(),$a(),wi(),st());return D(ve,Hn,yr,ys)}function ks(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=Jo(ve))ve+=yr;else return 0;if(a[ve+1]&&a[ve+1].value==="extend"&&(yr=xa(ve)))ve+=yr;else return 0;return ve-mr}function lo(){var ve=i.ExtendType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(wl(),$a());return D(ve,Hn,yr,ys)}function Jo(ve){var mr=void 0;return(mr=Ty(ve))?a[ve].extend_type=1:(mr=ei(ve))?a[ve].extend_type=2:(mr=Xt(ve))?a[ve].extend_type=3:(mr=Ys(ve))&&(a[ve].extend_type=4),mr}function wl(){var ve=a[l].extend_type;if(ve===1)return Ix();if(ve===2)return[ui()];if(ve===3)return[wr()];if(ve===4)return[La()]}function Wc(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=ei(ve))ve+=yr;else return 0;return ve=u)return 0;if(a[ve].type===s.HyphenMinus&&ve++,a[ve].type===s.LowLine||a[ve].type===s.Identifier)ve++;else return 0;for(;ve=u)return 0;for(;ve=u||a[ve++].type!==s.ExclamationMark?0:((yr=Mf(ve))&&(ve+=yr),a[ve].value==="important"?(a[mr].importantEnd=ve,ve-mr+1):0)}function rc(){var ve=a[l],mr=ve.ln,yr=ve.col,ys=A(l,ve.importantEnd);return l=ve.importantEnd+1,D(i.ImportantType,ys,mr,yr)}function Eo(ve){var mr=void 0;return ve>=u?0:((mr=Sd(ve))?a[ve].include_type=1:(mr=fd(ve))&&(a[ve].include_type=2),mr)}function cp(){var ve=a[l].include_type;if(ve===1)return _m();if(ve===2)return _f()}function Sd(ve){var mr=ve,yr=void 0;if(yr=Xt(ve)||Ys(ve))ve+=yr;else return 0;for(;ve=u||a[ve].type!==s.CommercialAt||!a[ve+1]||a[ve+1].type!==s.LeftCurlyBracket)return 0;if(ve+=2,yr=ei(ve))ve+=yr;else return 0;return a[ve].type===s.RightCurlyBracket?ve-mr+1:0}function Dg(){var ve=i.InterpolatedVariableType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l+=2,Hn.push(ui());var Wo=_(Hn,yr,ys,1);return l++,D(ve,Hn,yr,ys,Wo)}function pg(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=bl(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=at(ve))ve+=yr;else return 0;return ve-mr}function oo(){var ve=i.RulesetType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(Zo(),wi(),st());return D(ve,Hn,yr,ys)}function Qu(ve){var mr=ve,yr=void 0;if(ve=u)return 0;if(yr=Z(ve))ve+=yr;else return 0;var ys=h(ve-yr,yr);if(ys.toLowerCase().indexOf("keyframes")===-1)return 0;if(yr=Mf(ve))ve+=yr;else return 0;if(yr=ei(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=Qu(ve))ve+=yr;else return 0;return ve-mr}function fu(){var ve=i.AtruleType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(oe(),wi(),ui(),wi(),go());return D(ve,Hn,yr,ys)}function bl(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=ei(ve)){var ys=h(ve,yr);if(ys!=="from"&&ys!=="to")return 0;ve+=yr,a[mr].keyframesSelectorType=1}else if(yr=M2(ve))ve+=yr,a[mr].keyframesSelectorType=2;else return 0;return ve-mr}function Zo(){var ve=i.KeyframesSelectorType,mr=i.SelectorType,yr=a[l],ys=yr.ln,Hn=yr.col,Wo=[];yr.keyframesSelectorType===1?Wo.push(ui()):Wo.push(Zc());var om=D(ve,Wo,ys,Hn);return D(mr,[om],ys,Hn)}function Tl(ve){var mr=void 0;if(ve>=u)return 0;if(mr=Hf(ve))a[ve].mixin_type=1;else if(mr=Rm(ve))a[ve].mixin_type=2;else return 0;return mr}function Ws(){var ve=a[l].mixin_type;if(ve===1)return su();if(ve===2)return _a()}function Hf(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=Xt(ve)||Ys(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),(yr=R(ve))&&(ve+=yr),(yr=Mf(ve))&&(ve+=yr),yr=at(ve))ve+=yr;else return 0;return ve-mr}function su(){var ve=i.MixinType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return Hn.push(Xt(l)?wr():La()),Hn=Hn.concat(wi()),R(l)&&Hn.push(q()),Hn=Hn.concat(wi()),at(l)&&Hn.push(st()),D(ve,Hn,yr,ys)}function Rm(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=Xt(ve)||Ys(ve))ve+=yr;else return 0;return(yr=Mf(ve))&&(ve+=yr),(yr=R(ve))&&(ve+=yr),ve-mr}function _a(){var ve=i.MixinType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return Hn.push(Xt(l)?wr():La()),Hn=Hn.concat(wi()),R(l)&&Hn.push(q()),D(ve,Hn,yr,ys)}function Rl(ve){return ve=u?0:a[ve].number_l?a[ve].number_l:ve=u)return 0;switch(a[ve].type){case s.Solidus:case s.Comma:case s.Colon:case s.EqualsSign:case s.LessThanSign:case s.GreaterThanSign:case s.Asterisk:return 1}return 0}function Fm(){var ve=i.OperatorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=mr.value;return l++,D(ve,Hn,yr,ys)}function Dh(ve){if(ve>=u)return 0;var mr=ve,yr=a[ve].right;if(a[ve].type===s.LeftParenthesis)ve++;else return 0;if(ve=u)return 0;for(;ve=u)return 0;if(yr=wg(ve))ve+=yr;else return 0;return(yr=L2(ve))&&(ve+=yr),ve-mr}function Ix(){var ve=[uh()];return L2(l)&&ve.push(ii()),ve}function M2(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=Kf(ve))ve+=yr;else return 0;if(ve>=u)return 0;if(a[ve].type===s.PercentSign)ve++;else return 0;return ve-mr}function Zc(){var ve=i.PercentageType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[uo()],Wo=_(Hn,yr,ys,1);return l++,D(ve,Hn,yr,ys,Wo)}function Wy(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(h(ve,6)==="progid:DXImageTransform.Microsoft.")ve+=6;else return 0;if(yr=ei(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),a[ve].type===s.LeftParenthesis)a[mr].progid_end=a[ve].right,ve=a[ve].right+1;else return 0;return ve-mr}function Ml(){var ve=i.ProgidType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=mr.progid_end,Wo=A(l,Hn);return l=Hn+1,D(ve,Wo,yr,ys)}function fm(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=U2(ve)||ei(ve))ve+=yr;else return 0;return ve-mr}function W0(){var ve=i.PropertyType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return U2(l)?Hn.push(Fl()):Hn.push(ui()),D(ve,Hn,yr,ys)}function vp(ve){return ve=u||a[ve].type!==s.Colon||ve+1>=u||a[ve+1].type!==s.Colon)return 0;if(mr=St(ve))a[ve].pseudoElementType=1;else if(mr=An(ve))a[ve].pseudoElementType=2;else return 0;return mr}function xe(){var ve=a[l].pseudoElementType;if(ve===1)return Gr();if(ve===2)return Oi()}function St(ve){var mr=ve,yr=void 0;if(ve+=2,ve>=u)return 0;if(yr=ei(ve))ve+=yr;else return 0;if(ve>=u||a[ve].type!==s.LeftParenthesis)return 0;var ys=a[ve].right;if(ve++,(yr=Mf(ve))&&(ve+=yr),yr=zv(ve))ve+=yr;else return 0;return(yr=Mf(ve))&&(ve+=yr),ve!==ys?0:(ve++,ve-mr)}function Gr(){var ve=i.PseudoeType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l+=2,Hn.push(ui());{var Wo=i.ArgumentsType,om=a[l],Hd=om.ln,e_=om.col;l++;var L_=[].concat(wi(),w0(),wi()),Zv=_(L_,Hd,e_,1),Jx=D(Wo,L_,Hd,e_,Zv);Hn.push(Jx),l++}return D(ve,Hn,yr,ys)}function An(ve){var mr=ve,yr=void 0;if(ve+=2,yr=tp(ve)||ei(ve))ve+=yr;else return 0;return ve-mr}function Oi(){var ve=i.PseudoeType,mr=a[l],yr=mr.ln,ys=mr.col;l+=2;var Hn=[];return tp(l)?Hn.push(Dg()):Hn.push(ui()),D(ve,Hn,yr,ys)}function xa(ve){var mr=void 0;if(ve>=u||a[ve].type!==s.Colon)return 0;if(mr=wh(ve))a[ve].pseudoClassType=3;else if(mr=z1(ve))a[ve].pseudoClassType=4;else if(mr=$x(ve))a[ve].pseudoClassType=5;else if(mr=yl(ve))a[ve].pseudoClassType=1;else if(mr=Ud(ve))a[ve].pseudoClassType=2;else if(mr=yg(ve))a[ve].pseudoClassType=6;else return 0;return mr}function $a(){var ve=a[l].pseudoClassType;if(ve===1)return Ho();if(ve===2)return Em();if(ve===3)return D0();if(ve===4)return yv();if(ve===5)return W1();if(ve===6)return FC()}function yl(ve){var mr=ve,yr=void 0;if(ve++,ve>=u)return 0;if(yr=ei(ve))ve+=yr;else return 0;if(ve>=u||a[ve].type!==s.LeftParenthesis)return 0;var ys=a[ve].right;if(ve++,(yr=Mf(ve))&&(ve+=yr),yr=zv(ve))ve+=yr;else return 0;return(yr=Mf(ve))&&(ve+=yr),ve!==ys?0:(ve++,ve-mr)}function Ho(){var ve=i.PseudocType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++,Hn.push(ui());{var Wo=i.ArgumentsType,om=a[l],Hd=om.ln,e_=om.col;l++;var L_=[].concat(wi(),w0(),wi()),Zv=_(L_,Hd,e_,1),Jx=D(Wo,L_,Hd,e_,Zv);Hn.push(Jx),l++}return D(ve,Hn,yr,ys)}function Ud(ve){var mr=ve,yr=0;if(ve++,ve>=u)return 0;if(yr=ei(ve))ve+=yr;else return 0;if(ve>=u||a[ve].type!==s.LeftParenthesis)return 0;var ys=a[ve].right;if(ve++,(yr=Mf(ve))&&(ve+=yr),yr=ei(ve))ve+=yr;else return 0;return(yr=Mf(ve))&&(ve+=yr),ve!==ys?0:(ve++,ve-mr)}function Em(){var ve=i.PseudocType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++,Hn.push(ui());{l++;var Wo=a[l].ln,om=a[l].col,Hd=[].concat(wi(),ui(),wi()),e_=_(Hd,Wo,om,1),L_=D(i.ArgumentsType,Hd,Wo,om,e_);Hn.push(L_),l++}return D(ve,Hn,yr,ys)}function wh(ve){var mr=ve,yr=0;if(ve++,ve>=u)return 0;if(yr=ei(ve))ve+=yr;else return 0;if(ve>=u||a[ve].type!==s.LeftParenthesis)return 0;var ys=a[ve].right;if(ve++,(yr=Mf(ve))&&(ve+=yr),(yr=X0(ve))&&(ve+=yr),ve>=u||(a[ve].type===s.DecimalNumber&&ve++,ve>=u))return 0;if(a[ve].value==="n")ve++;else return 0;if((yr=Mf(ve))&&(ve+=yr),ve>=u)return 0;if(a[ve].value==="+"||a[ve].value==="-")ve++;else return 0;if((yr=Mf(ve))&&(ve+=yr),a[ve].type===s.DecimalNumber)ve++;else return 0;return(yr=Mf(ve))&&(ve+=yr),ve!==ys?0:(ve++,ve-mr)}function D0(){var ve=i.PseudocType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++,Hn.push(ui());var Wo=a[l].ln,om=a[l].col,Hd=[];l++,Hd=Hd.concat(wi()),X0(l)&&Hd.push(Kx()),Kf(l)&&Hd.push(uo());{var e_=a[l].ln,L_=a[l].col,Zv=a[l].value,Jx=D(i.IdentType,Zv,e_,L_);Hd.push(Jx),l++}Hd=Hd.concat(wi()),X0(l)&&Hd.push(Kx()),Hd=Hd.concat(wi()),Kf(l)&&Hd.push(uo()),Hd=Hd.concat(wi());var ar=_(Hd,Wo,om,1),pr=D(i.ArgumentsType,Hd,Wo,om,ar);return Hn.push(pr),l++,D(ve,Hn,yr,ys)}function z1(ve){var mr=ve,yr=0;if(ve++,ve>=u)return 0;if(yr=ei(ve))ve+=yr;else return 0;if(ve>=u||a[ve].type!==s.LeftParenthesis)return 0;var ys=a[ve].right;if(ve++,(yr=Mf(ve))&&(ve+=yr),(yr=X0(ve))&&(ve+=yr),a[ve].type===s.DecimalNumber&&ve++,a[ve].value==="n")ve++;else return 0;return(yr=Mf(ve))&&(ve+=yr),ve!==ys?0:(ve++,ve-mr)}function yv(){var ve=i.PseudocType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++,Hn.push(ui());var Wo=a[l].ln,om=a[l].col,Hd=[];l++,Hd=Hd.concat(wi()),X0(l)&&Hd.push(Kx()),Kf(l)&&Hd.push(uo()),ei(l)&&Hd.push(ui()),Hd=Hd.concat(wi());var e_=_(Hd,Wo,om,1),L_=D(i.ArgumentsType,Hd,Wo,om,e_);return Hn.push(L_),l++,D(ve,Hn,yr,ys)}function $x(ve){var mr=ve,yr=0;if(ve++,ve>=u)return 0;if(yr=ei(ve))ve+=yr;else return 0;if(ve>=u||a[ve].type!==s.LeftParenthesis)return 0;var ys=a[ve].right;if(ve++,(yr=Mf(ve))&&(ve+=yr),(yr=X0(ve))&&(ve+=yr),a[ve].type===s.DecimalNumber)ve++;else return 0;return(yr=Mf(ve))&&(ve+=yr),ve!==ys?0:(ve++,ve-mr)}function W1(){var ve=i.PseudocType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++,Hn.push(ui());var Wo=a[l].ln,om=a[l].col,Hd=[];l++,Hd=Hd.concat(wi()),X0(l)&&Hd.push(Kx()),Kf(l)&&Hd.push(uo()),Hd=Hd.concat(wi());var e_=_(Hd,Wo,om,1),L_=D(i.ArgumentsType,Hd,Wo,om,e_);return Hn.push(L_),l++,D(ve,Hn,yr,ys)}function yg(ve){var mr=ve,yr=0;if(ve++,ve>=u)return 0;if(yr=tp(ve))ve+=yr;else if(yr=ei(ve))ve+=yr;else return 0;return ve-mr}function FC(){var ve=i.PseudocType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++;var Wo=tp(l)?Dg():ui();return Hn.push(Wo),D(ve,Hn,yr,ys)}function Xy(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=zv(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=at(ve))ve+=yr;else return 0;return ve-mr}function _v(){var ve=i.RulesetType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[].concat(w0(),wi(),st());return D(ve,Hn,yr,ys)}function Xl(ve){return ve=u)return 0;for(var mr=void 0,yr=0;ve=u)return ve;for(;l=u||a[ve].type!==s.NumberSign?0:(mr=tp(ve+1)||ei(ve+1))?mr+1:0}function La(){var ve=i.ShashType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return l++,tp(l)?Hn.push(Dg()):Hn.push(ui()),D(ve,Hn,yr,ys)}function Bl(ve){return ve>=u?0:a[ve].type===s.StringSQ||a[ve].type===s.StringDQ?1:0}function Uc(){var ve=i.StringType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=mr.value;return l++,D(ve,Hn,yr,ys)}function Bf(ve){for(var mr=ve,yr=void 0;ve=u)return 0;for(;yr=Jd(ve);)ve+=yr;return ve-mr}function Hg(){for(var ve=[],mr=void 0;Jd(l);)mr=YA(),typeof mr.content=="string"?ve.push(mr):ve=ve.concat(mr);return ve}function X0(ve){return ve>=u?0:a[ve].type===s.HyphenMinus||a[ve].type===s.PlusSign?1:0}function Kx(){var ve=i.OperatorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=mr.value;return l++,D(ve,Hn,yr,ys)}function Ee(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(yr=OE(ve))ve+=yr;else return 0;for(;ve=u)return 0;if(a[ve].value==="U"||a[ve].value==="u")ve+=1;else return 0;if(ve>=u)return 0;if(a[ve].value==="+")ve+=1;else return 0;for(;ve=u)return 0;for(;ve=u||a[ve++].value!=="url"||ve>=u||a[ve].type!==s.LeftParenthesis?0:a[ve].right-mr+1}function Dy(){var ve=l,mr={},yr=void 0,ys=void 0,Hn=void 0,Wo=void 0;l+=2,mr[s.Space]=1,mr[s.Tab]=1,mr[s.Newline]=1,mr[s.LeftParenthesis]=1,mr[s.RightParenthesis]=1,OD(l)?yr=[].concat(wi()).concat([Uc()]).concat(wi()):(yr=wi(),Hn=g(mr,l),ys=a[l],Wo=D(i.RawType,A(l,l+Hn),ys.ln,ys.col),yr.push(Wo),l+=Hn+1,yr=yr.concat(wi())),ys=a[ve];var om=ys.ln,Hd=ys.col,e_=_(yr,om,Hd,1);return l++,D(i.UriType,yr,om,Hd,e_)}function OD(ve){var mr=ve,yr=void 0;return ve>=u||((yr=Mf(ve))&&(ve+=yr),a[ve].type!==s.StringDQ&&a[ve].type!==s.StringSQ)?0:(ve++,(yr=Mf(ve))&&(ve+=yr),ve-mr)}function $w(ve){for(var mr=ve,yr=void 0,ys=void 0,Hn=void 0;ve=u||a[ve].type!==s.CommercialAt||a[ve-1]&&a[ve-1].type===s.CommercialAt&&a[ve-2]&&a[ve-2].type===s.CommercialAt?0:(mr=U2(ve+1)||ei(ve+1))?mr+1:0}function Fl(){var ve=i.VariableType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return l++,U2(l)?Hn.push(Fl()):Hn.push(ui()),D(ve,Hn,yr,ys)}function Gf(ve){var mr=0,yr=void 0;if(ve>=u)return 0;if(yr=U2(ve))ve+=yr;else return 0;for(;a[ve]&&a[ve].type===s.FullStop;)mr++,ve++;return mr===3?yr+mr:0}function HS(){var ve=i.VariablesListType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[Fl()],Wo=_(Hn,yr,ys,3);return l+=3,D(ve,Hn,yr,ys,Wo)}function aS(ve){var mr=ve,yr=void 0;if(ve>=u)return 0;if(a[ve].type===s.NumberSign)ve++;else return 0;if(yr=iu(ve))ve+=yr;else return 0;return ve-mr}function xv(){var ve=i.VhashType,mr=a[l],yr=mr.ln,ys=mr.col;l++;var Hn=Xc(),Wo=_(Hn,yr,ys+1);return D(ve,Hn,yr,ys,Wo)}function zv(ve){if(ve>=u)return 0;var mr=ve,yr=void 0;if(yr=Zy(ve))ve+=yr;else return 0;for(;ve=u)return 0;var mr=ve,yr=void 0;if(yr=Y2(ve))ve+=yr;else return 0;for(;ve=u)return 0;var mr=ve,yr=void 0;if(yr=rr(ve))ve+=yr;else return 0;for(;ve=u)return 0;var mr=ve,yr=void 0;if(yr=vi(ve)||gp(ve)||Ty(ve))ve+=yr;else return 0;for(;ve=u)return 0;for(var mr=ve;ve=u)return 0;var mr=ve,yr=void 0;if((yr=oS(ve))&&(ve+=yr),a[ve].type===s.Asterisk)ve++;else return 0;return ve-mr}function Pu(){var ve=i.UniversalSelectorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[],Wo=void 0;return oS(l)&&(Hn.push(za()),Wo=_(Hn,yr,ys,1)),l++,D(ve,Hn,yr,ys,Wo)}function gp(ve){if(ve>=u)return 0;var mr=ve,yr=void 0;if((yr=oS(ve))&&(ve+=yr),yr=ei(ve))ve+=yr;else return 0;return ve-mr}function Cf(){var ve=i.TypeSelectorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return oS(l)&&Hn.push(za()),Hn.push(ui()),D(ve,Hn,yr,ys)}function yA(ve){var mr=void 0;return(mr=vv(ve))?a[ve].attributeSelectorType=1:(mr=Qf(ve))&&(a[ve].attributeSelectorType=2),mr}function wy(){var ve=a[l].attributeSelectorType;return ve===1?kl():Cv()}function vv(ve){var mr=ve;if(a[ve].type===s.LeftSquareBracket)ve++;else return 0;var yr=void 0;if((yr=Mf(ve))&&(ve+=yr),yr=pI(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=Bg(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),yr=Wv(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),(yr=G2(ve))&&(ve+=yr,(yr=Mf(ve))&&(ve+=yr)),a[ve].type===s.RightSquareBracket)ve++;else return 0;return ve-mr}function kl(){var ve=i.AttributeSelectorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++,Hn=Hn.concat(wi(),F_(),wi(),v_(),wi(),Xv(),wi()),G2(l)&&(Hn.push(LD()),Hn=Hn.concat(wi())),l++;var Wo=_(Hn,yr,ys,1);return D(ve,Hn,yr,ys,Wo)}function Qf(ve){var mr=ve;if(a[ve].type===s.LeftSquareBracket)ve++;else return 0;var yr=void 0;if((yr=Mf(ve))&&(ve+=yr),yr=pI(ve))ve+=yr;else return 0;if((yr=Mf(ve))&&(ve+=yr),a[ve].type===s.RightSquareBracket)ve++;else return 0;return ve-mr}function Cv(){var ve=i.AttributeSelectorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];l++,Hn=Hn.concat(wi(),F_(),wi()),l++;var Wo=_(Hn,yr,ys,1);return D(ve,Hn,yr,ys,Wo)}function pI(ve){var mr=ve,yr=void 0;if((yr=oS(ve))&&(ve+=yr),yr=ei(ve))ve+=yr;else return 0;return ve-mr}function F_(){var ve=i.AttributeNameType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return oS(l)&&Hn.push(za()),Hn.push(ui()),D(ve,Hn,yr,ys)}function Bg(ve){var mr=void 0;return(mr=Hw(ve))?a[ve].attributeMatchType=1:(mr=J9(ve))&&(a[ve].attributeMatchType=2),mr}function v_(){var ve=a[l].attributeMatchType;return ve===1?zw():Tx()}function Hw(ve){var mr=ve,yr=a[ve].type;if(yr===s.Tilde||yr===s.VerticalLine||yr===s.CircumflexAccent||yr===s.DollarSign||yr===s.Asterisk)ve++;else return 0;if(a[ve].type===s.EqualsSign)ve++;else return 0;return ve-mr}function zw(){var ve=i.AttributeMatchType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=a[l].value+a[l+1].value;return l+=2,D(ve,Hn,yr,ys)}function J9(ve){return a[ve].type===s.EqualsSign?1:0}function Tx(){var ve=i.AttributeMatchType,mr=a[l],yr=mr.ln,ys=mr.col,Hn="=";return l++,D(ve,Hn,yr,ys)}function Wv(ve){return Bl(ve)||ei(ve)}function Xv(){var ve=i.AttributeValueType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return Bl(l)?Hn.push(Uc()):Hn.push(ui()),D(ve,Hn,yr,ys)}function G2(ve){return ei(ve)}function LD(){var ve=i.AttributeFlagsType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[ui()];return D(ve,Hn,yr,ys)}function oS(ve){if(ve>=u)return 0;var mr=void 0;return(mr=zS(ve))?a[ve].namePrefixType=1:(mr=MD(ve))&&(a[ve].namePrefixType=2),mr}function za(){var ve=a[l].namePrefixType;return ve===1?PT():H9()}function zS(ve){var mr=ve,yr=void 0;if(yr=Q3(ve))ve+=yr;else return 0;if((yr=ki(ve))&&(ve+=yr),yr=z9(ve))ve+=yr;else return 0;return ve-mr}function PT(){var ve=i.NamePrefixType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];return Hn.push(QD()),ki(l)&&Hn.push(cr()),Hn.push(dI()),D(ve,Hn,yr,ys)}function MD(ve){return z9(ve)}function H9(){var ve=i.NamePrefixType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[dI()];return D(ve,Hn,yr,ys)}function Q3(ve){if(ve>=u)return 0;var mr=void 0;return a[ve].type===s.Asterisk?1:(mr=ei(ve))?mr:0}function QD(){var ve=i.NamespacePrefixType,mr=a[l],yr=mr.ln,ys=mr.col,Hn=[];if(mr.type===s.Asterisk){var Wo=D(i.IdentType,"*",yr,ys);Hn.push(Wo),l++}else ei(l)&&Hn.push(ui());return D(ve,Hn,yr,ys)}function z9(ve){return ve>=u||a[ve].type!==s.VerticalLine||a[ve+1]&&a[ve+1].type===s.EqualsSign?0:1}function dI(){var ve=i.NamespaceSeparatorType,mr=a[l],yr=mr.ln,ys=mr.col,Hn="|";return l++,D(ve,Hn,yr,ys)}e.exports=function(ve,mr){return a=ve,u=a.length,l=0,f[mr]()}}),(function(e,t,r){"use strict";e.exports=function(n,i){var s=r(13),a=[],u=!1,l=void 0,f=void 0,p=0,g=0,A=1,h=1,_={" ":s.Space,"\n":s.Newline,"\r":s.Newline," ":s.Tab,"!":s.ExclamationMark,'"':s.QuotationMark,"#":s.NumberSign,$:s.DollarSign,"%":s.PercentSign,"&":s.Ampersand,"'":s.Apostrophe,"(":s.LeftParenthesis,")":s.RightParenthesis,"*":s.Asterisk,"+":s.PlusSign,",":s.Comma,"-":s.HyphenMinus,".":s.FullStop,"/":s.Solidus,":":s.Colon,";":s.Semicolon,"<":s.LessThanSign,"=":s.EqualsSign,">":s.GreaterThanSign,"?":s.QuestionMark,"@":s.CommercialAt,"[":s.LeftSquareBracket,"]":s.RightSquareBracket,"^":s.CircumflexAccent,_:s.LowLine,"{":s.LeftCurlyBracket,"|":s.VerticalLine,"}":s.RightCurlyBracket,"~":s.Tilde};function E(Z,oe,ue){a.push({tn:g++,ln:A,col:ue,type:Z,value:oe})}function b(Z){return"0123456789".indexOf(Z)>=0}function D(Z){for(var oe=p;p1?(A+=me.length-1,h=me[me.length-1].length):h+=p-oe}function G(Z){var oe=p;for(p+=2;p1&&(h+=i-1)):b(l)?M(Z):R(Z);return a}return K(n)}}),(function(e,t,r){"use strict";t.__esModule=!0,t.default={mark:r(22),parse:r(23),stringify:r(5),tokenizer:r(24)},e.exports=t.default}),(function(e,t,r){"use strict";var n=r(13);e.exports=(function(){function i(u){for(var l=u.length,f=-1,p=-1,g=void 0,A=0;AR)b.push(k),E.push(M);else{for(var q=l;g.indexOf(q)!==-1;)q++;if(l===q&&M===R||!p[q])continue;if(M=p[q][1],M===R){l=q;continue}if(M>R){b.push(k),E.push(p[q][1]),l=q;continue}for(;;){var G=E.pop();if(M=u)){for(var _t="",Kn=0;Kn=u||a[re].type!==s.LeftParenthesis)return 0;for(re++;re=u||a[re++].type!==s.CommercialAt?0:(Rt=Zo(re))?Rt+1:0}function Z(){var re=i.AtkeywordType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l++;var nn=Tl();return b(re,nn,_t,Kn)}function oe(re){var Rt=void 0;if(re>=u)return 0;if(a[re].atrule_l!==void 0)return a[re].atrule_l;if(Rt=Q2(re))a[re].atrule_type=4;else if(Rt=le(re))a[re].atrule_type=1;else if(Rt=me(re))a[re].atrule_type=2;else if(Rt=_e(re))a[re].atrule_type=3;else return 0;return a[re].atrule_l=Rt,Rt}function ue(){var re=a[l].atrule_type;if(re===1)return ae();if(re===2)return Te();if(re===3)return Le();if(re===4)return zE()}function me(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=K(re))re+=_t;else return 0;if((_t=Tx(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function Te(){var re=i.AtruleType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Wv(),at());return b(re,nn,_t,Kn)}function le(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=K(re))re+=_t;else return 0;if((_t=Tx(re))&&(re+=_t),_t=Ae(re))re+=_t;else return 0;return re-Rt}function ae(){var re=i.AtruleType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Wv(),De());return b(re,nn,_t,Kn)}function Ae(re){var Rt=re,_t=void 0;if(re>=u)return 0;var Kn=a[re].block_end;if(!Kn)return 0;for(;re=u)return 0;if(_t=K(re))re+=_t;else return 0;return(_t=Tx(re))&&(re+=_t),re-Rt}function Le(){var re=i.AtruleType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Wv());return b(re,nn,_t,Kn)}function qe(re){return re=u)return 0;if(Rt=wr(re))a[re].bd_type=7;else if(Rt=Nr(re))a[re].bd_type=5;else if(Rt=Bt(re))a[re].bd_type=6;else if(Rt=Sr(re))a[re].bd_type=1;else if(Rt=dt(re))a[re].bd_type=2;else if(Rt=lr(re))a[re].bd_type=3;else if(Rt=Nt(re))a[re].bd_type=4;else return 0;return Rt}function Ur(){var re=a[l].bd_type;if(re===1)return xr();if(re===2)return It();if(re===3)return $t();if(re===4)return sr();if(re===5)return Fr();if(re===6)return Xt();if(re===7)return rr()}function Sr(re){var Rt=re,_t=void 0;if(_t=su(re))a[re].bd_kind=2;else if(_t=Ha(re))a[re].bd_kind=5;else if(_t=oe(re))a[re].bd_kind=6;else return 0;if(re+=_t,a[Rt].bd_kind===2&&[2,4,6,8].indexOf(a[Rt].include_type)===-1||a[Rt].bd_kind===6&&a[Rt].atrule_type===3)return 0;for(;re=u)return 0;var Rt=re;if(a[re].type===s.LeftSquareBracket)re++;else return 0;if(re=u)return 0;if(a[re].class_l)return a[re].class_l;if(a[re].type===s.FullStop)re++;else return 0;if(_t=Zo(re))re+=_t;else return 0;for(;re=u)return 0;var Rt=void 0;return(Rt=na(re))?a[re].combinatorType=1:(Rt=Di(re))?a[re].combinatorType=2:(Rt=cr(re))?a[re].combinatorType=3:(Rt=Rn(re))&&(a[re].combinatorType=4),Rt}function us(){var re=a[l].combinatorType;if(re===1)return Na();if(re===2)return ki();if(re===3)return jr();if(re===4)return es()}function na(re){return re>>";return l+=3,b(re,nn,_t,Kn)}function Di(re){return re+1>=u?0:a[re].type===s.VerticalLine&&a[re+1].type===s.VerticalLine||a[re].type===s.GreaterThanSign&&a[re+1].type===s.GreaterThanSign?2:0}function ki(){var re=i.CombinatorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=""+Rt.value+a[l+1].value;return l+=2,b(re,nn,_t,Kn)}function cr(re){var Rt=a[re].type;return Rt===s.PlusSign||Rt===s.GreaterThanSign||Rt===s.Tilde?1:0}function jr(){var re=i.CombinatorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Rt.value;return l++,b(re,nn,_t,Kn)}function Rn(re){var Rt=re;if(a[re].type===s.Solidus)re++;else return 0;var _t=void 0;if(_t=ta(re))re+=_t;else return 0;if(a[re].type===s.Solidus)re++;else return 0;return re-Rt}function es(){var re=i.CombinatorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l++;var nn=fu();l++;var Ya="/"+nn.content+"/";return b(re,Ya,_t,Kn)}function li(re){return re=u)return 0;if(_t=K(re))re+=_t;else return 0;if(["if","else"].indexOf(a[Rt+1].value)<0)return 0;for(;re=u)return 0;if(_t=oi(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function du(){var re=i.ConditionalStatementType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(ha(),Qf(),at());return b(re,nn,_t,Kn)}function Ha(re){return Yn(re)||Jt(re)}function dc(){return Yn(l)?Sl():Qt()}function Yn(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=tE(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=Ev(re))re++;else return 0;if(_t=Wo(re))return re+_t-Rt;if((_t=Cf(re))&&(re+=_t),_t=Wo(re))re+=_t;else return 0;return re-Rt}function Sl(){var re=i.DeclarationType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];return nn.push(j2()),Cf(l)&&nn.push(yA()),nn.push(Il()),Cf(l)&&nn.push(yA()),nn.push(om()),b(re,nn,_t,Kn)}function Jt(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=Ev(re))re++;else return 0;if(_t=tE(re))re+=_t;else return 0;if(_t=Wo(re))return re+_t-Rt;if((_t=kl(re))&&(re+=_t),_t=Wo(re))re+=_t;else return 0;return re-Rt}function Qt(){var re=i.DeclarationType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Il(),j2(),Qf(),om());return b(re,nn,_t,Kn)}function zi(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=tE(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=Ev(re))re++;else return 0;if((_t=kl(re))&&(re+=_t),_t=L_(re))re+=_t;else return 0;return re-Rt}function ks(){var re=i.DeclarationType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(j2(),Qf(),Il(),Qf(),Zv());return b(re,nn,_t,Kn)}function lo(re){return re>=u?0:a[re].type===s.Newline||a[re].type===s.Semicolon?1:0}function Jo(){var re=i.DeclDelimType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=` `;return l++,b(re,nn,_t,Kn)}function wl(re){var Rt=re,_t=void 0;return re>=u||a[re++].type!==s.ExclamationMark?0:((_t=kl(re))&&(re+=_t),a[re].value==="default"?(a[Rt].defaultEnd=re,re-Rt+1):0)}function Wc(){var re=i.DefaultType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=g(l,Rt.defaultEnd);return l=Rt.defaultEnd+1,b(re,nn,_t,Kn)}function Ui(re){return re=u||!Rt||re+Rt>=u?0:(_t=za(re+Rt))?Rt+_t:0}function _o(){var re=i.DimensionType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[yg(),zS()];return b(re,nn,_t,Kn)}function ua(re){var Rt=re;return re>=u||a[re++].value!=="expression"||re>=u||a[re].type!==s.LeftParenthesis?0:a[re].right-Rt+1}function rc(){var re=i.ExpressionType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l++;var nn=g(l+1,a[l].right-1),Ya=h(nn,_t,Kn,1);return Ya[0]===_t&&(Ya[1]+=11),l=a[l].right+1,b(re,nn,_t,Kn,Ya)}function Eo(re){if(re>=u)return 0;var Rt=void 0;return(Rt=Sd(re))?a[re].extend_child=1:(Rt=fd(re))&&(a[re].extend_child=2),Rt}function cp(){var re=a[l].extend_child;if(re===1)return _m();if(re===2)return _f()}function Sd(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=K(re))re+=_t;else return 0;if(a[Rt+1].value!=="extend")return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=So(re))re+=_t;else return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=_v(re))re+=_t;else return 0;return re-Rt}function _m(){var re=i.ExtendType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf(),dd(),Qf(),Xl());return b(re,nn,_t,Kn)}function fd(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=K(re))re+=_t;else return 0;if(a[Rt+1].value!=="extend")return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=So(re))re+=_t;else return 0;return re-Rt}function _f(){var re=i.ExtendType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf(),dd());return b(re,nn,_t,Kn)}function tp(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;return re=u)return 0;if(_t=tp(re))re+=_t;else return 0;for(;re=u||a[re++].type!==s.ExclamationMark?0:((_t=kl(re))&&(re+=_t),a[re].value==="global"?(a[Rt].globalEnd=re,re-Rt+1):0)}function go(){var re=i.GlobalType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=g(l,Rt.globalEnd);return l=Rt.globalEnd+1,b(re,nn,_t,Kn)}function ta(re){var Rt=re;if(re>=u||a[re].type===s.HyphenMinus&&a[re+1].type===s.DecimalNumber)return 0;if(a[re].type===s.HyphenMinus&&re++,Ml(re))return a[Rt].ident_last=re-1,re-Rt;if(a[re].type===s.LowLine||a[re].type===s.Identifier)re++;else return 0;for(;re=u)return 0;for(;re=u||a[re++].type!==s.ExclamationMark?0:((_t=kl(re))&&(re+=_t),a[re].value==="important"?(a[Rt].importantEnd=re,re-Rt+1):0)}function Hf(){var re=i.ImportantType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=g(l,Rt.importantEnd);return l=Rt.importantEnd+1,b(re,nn,_t,Kn)}function su(re){var Rt=void 0;return re>=u?0:((Rt=Ix(re))?a[re].include_type=9:(Rt=_a(re))?a[re].include_type=1:(Rt=Pc(re))?a[re].include_type=2:(Rt=Xc(re))?a[re].include_type=3:(Rt=uo(re))?a[re].include_type=4:(Rt=Zc(re))?a[re].include_type=10:(Rt=Fm(re))?a[re].include_type=5:(Rt=bc(re))?a[re].include_type=6:(Rt=uh(re))?a[re].include_type=7:(Rt=ii(re))&&(a[re].include_type=8),Rt)}function Rm(){var re=a[l].include_type;if(re===1)return Rl();if(re===2)return iu();if(re===3)return Kf();if(re===4)return Rp();if(re===5)return Dh();if(re===6)return wg();if(re===7)return L2();if(re===8)return Ty();if(re===9)return M2();if(re===10)return Wy()}function _a(re){var Rt=re,_t=void 0;if(_t=K(re))re+=_t;else return 0;if(a[Rt+1].value!=="include")return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=M(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function Rl(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf(),Tl(),Qf(),R(),Qf(),at());return b(re,nn,_t,Kn)}function Pc(re){var Rt=re,_t=void 0;if(_t=K(re))re+=_t;else return 0;if(a[Rt+1].value!=="include")return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=M(re))re+=_t;else return 0;return re-Rt}function iu(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf(),Tl(),Qf(),R());return b(re,nn,_t,Kn)}function Xc(re){var Rt=re,_t=void 0;if(_t=K(re))re+=_t;else return 0;if(a[Rt+1].value!=="include")return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function Kf(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf(),Tl(),Qf(),at());return b(re,nn,_t,Kn)}function uo(re){var Rt=re,_t=void 0;if(_t=K(re))re+=_t;else return 0;if(a[Rt+1].value!=="include")return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=Zo(re))re+=_t;else return 0;return re-Rt}function Rp(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf(),Tl());return b(re,nn,_t,Kn)}function Fm(re){var Rt=re,_t=void 0;if(a[re].type===s.PlusSign)re++;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=M(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function Dh(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Xy(),Tl(),Qf(),R(),Qf(),at());return b(re,nn,_t,Kn)}function bc(re){var Rt=re,_t=void 0;if(a[re].type===s.PlusSign)re++;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=M(re))re+=_t;else return 0;return re-Rt}function wg(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Xy(),Tl(),Qf(),R());return b(re,nn,_t,Kn)}function uh(re){var Rt=re,_t=void 0;if(a[re].type===s.PlusSign)re++;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function L2(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Xy(),Tl(),Qf(),at());return b(re,nn,_t,Kn)}function ii(re){var Rt=re,_t=void 0;if(a[re].type===s.PlusSign)re++;else return 0;if(_t=Zo(re))re+=_t;else return 0;return re-Rt}function Ty(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Xy(),Tl());return b(re,nn,_t,Kn)}function Ix(re){var Rt=re,_t=void 0;if(_t=K(re))re+=_t;else return 0;if(a[Rt+1].value!=="include")return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=M(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=sc(re))re+=_t;else return 0;return re-Rt}function M2(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf(),Tl(),Qf(),R(),Qf(),f1());return b(re,nn,_t,Kn)}function Zc(re){var Rt=re,_t=void 0;if(a[re].type===s.PlusSign)re++;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=M(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=sc(re))re+=_t;else return 0;return re-Rt}function Wy(){var re=i.IncludeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Xy(),Tl(),Qf(),R(),Qf(),f1());return b(re,nn,_t,Kn)}function Ml(re){var Rt=re,_t=void 0;if(re>=u||a[re].type!==s.NumberSign||!a[re+1]||a[re+1].type!==s.LeftCurlyBracket)return 0;for(re+=2;a[re].type!==s.RightCurlyBracket;)if(_t=q(re))re+=_t;else return 0;return a[re].type===s.RightCurlyBracket?re-Rt+1:0}function fm(){var re=i.InterpolationType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];for(l+=2;l=u)return 0;if(_t=Gr(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function vp(){var re=i.RulesetType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(An(),Qf(),at());return b(re,nn,_t,Kn)}function sc(re){if(re>=u)return 0;var Rt=a[re].block_end,_t=re,Kn=void 0;if(!Rt)return 0;for((Kn=kl(re))&&(re+=Kn),(Kn=W0(re))&&(re+=Kn);re=u)return 0;if(_t=K(re))re+=_t;else return 0;var Kn=A(re-_t,_t);if(Kn.toLowerCase().indexOf("keyframes")===-1)return 0;if(_t=kl(re))re+=_t;else return 0;if(_t=Zo(re)||w0(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=sc(re))re+=_t;else return 0;return re-Rt}function zE(){var re=i.AtruleType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf());return Zo(l)?nn=nn.concat(Tl()):w0(l)&&(nn=nn.concat(Zy())),nn=nn.concat(Qf(),f1()),b(re,nn,_t,Kn)}function xe(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=ta(re)){var Kn=A(re,_t);if(Kn!=="from"&&Kn!=="to")return 0;re+=_t,a[Rt].keyframesSelectorType=1}else if(_t=pd(re))re+=_t,a[Rt].keyframesSelectorType=2;else if(_t=Ml(re))re+=_t,a[Rt].keyframesSelectorType=3;else return 0;return re-Rt}function St(){var re=i.KeyframesSelectorType,Rt=i.SelectorType,_t=a[l],Kn=_t.ln,nn=_t.col,Ya=[];_t.keyframesSelectorType===1?Ya.push(fu()):_t.keyframesSelectorType===2?Ya.push(Jd()):_t.keyframesSelectorType===3&&Ya.push(fm());var dg=b(re,Ya,Kn,nn);return b(Rt,[dg],Kn,nn)}function Gr(re){var Rt=re,_t=void 0;if(_t=xe(re))re+=_t;else return 0;for((_t=kl(re)&&a[re].type!==s.Newline)&&(re+=_t);re=u)return 0;if(_t=K(re))re+=_t;else return 0;if(["for","each","while"].indexOf(a[Rt+1].value)<0)return 0;for(;re=u)return 0;if((_t=K(re))&&a[re+1].value==="mixin")re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else if((_t=M(re))&&(re+=_t),(_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function Ud(){var re=i.MixinType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Z(),Qf());return Zo(l)&&(nn=nn.concat(Tl())),nn=nn.concat(Qf()),qe(l)||(M(l)&&nn.push(R()),nn=nn.concat(Qf())),nn.push(at()),b(re,nn,_t,Kn)}function Em(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(a[re].type===s.EqualsSign)re++;else return 0;if((_t=kl(re))&&(re+=_t),_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else if((_t=M(re))&&(re+=_t),(_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else return 0;return re-Rt}function wh(){var re=i.MixinType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(Xy(),Qf());return Zo(l)&&(nn=nn.concat(Tl())),nn=nn.concat(Qf()),qe(l)||(M(l)&&nn.push(R()),nn=nn.concat(Qf())),nn.push(at()),b(re,nn,_t,Kn)}function D0(re){return re=u?0:a[re].number_l?a[re].number_l:re=u)return 0;switch(a[re].type){case s.Solidus:case s.PercentSign:case s.Comma:case s.Colon:case s.EqualsSign:case s.EqualitySign:case s.InequalitySign:case s.LessThanSign:case s.GreaterThanSign:case s.Asterisk:return 1}return 0}function Xy(){var re=i.OperatorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Rt.value;return l++,b(re,nn,_t,Kn)}function _v(re){var Rt=re,_t=void 0;return re>=u||a[re++].type!==s.ExclamationMark?0:((_t=kl(re))&&(re+=_t),a[re].value==="optional"?(a[Rt].optionalEnd=re,re-Rt+1):0)}function Xl(){var re=i.OptionalType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=g(l,Rt.optionalEnd);return l=Rt.optionalEnd+1,b(re,nn,_t,Kn)}function Sx(re){if(re>=u)return 0;var Rt=re,_t=a[re].right,Kn=void 0;if(a[re].type===s.LeftParenthesis)re++;else return 0;if(re<_t)if(Kn=Tx(re))re+=Kn;else return 0;return re++,re-Rt}function Mf(){var re=i.ParenthesesType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Rt.right,Ya=[];l++,l=u)return 0;for(;re=u)return 0;if(_t=wi(re))re+=_t;else return 0;return(_t=La(re))&&(re+=_t),re-Rt}function Bf(){var re=[Ys()];return La(l)&&re.push(Bl()),re}function pd(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=YA(re))re+=_t;else return 0;if(re>=u)return 0;if(a[re].type===s.PercentSign)re++;else return 0;return re-Rt}function Jd(){var re=i.PercentageType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=fA(),Ya=h(nn,_t,Kn,1);return l++,b(re,nn,_t,Kn,Ya)}function YA(re){for(var Rt=re,_t=void 0;re=u)return 0;if(a[Rt].placeholder_l)return a[Rt].placeholder_l;if(a[re].type===s.PercentSign)re++;else return 0;if(_t=Zo(re))re+=_t,a[Rt].placeholder_l=re-Rt;else return 0;return re-Rt}function X0(){var re=i.PlaceholderType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];return l++,nn=nn.concat(Tl()),b(re,nn,_t,Kn)}function Kx(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(A(re,6)==="progid:DXImageTransform.Microsoft.")re+=6;else return 0;if(_t=Zo(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),a[re].type===s.LeftParenthesis)a[Rt].progid_end=a[re].right,re=a[re].right+1;else return 0;return re-Rt}function Ee(){var re=i.ProgidType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Rt.progid_end,Ya=g(l,nn);return l=nn+1,b(re,Ya,_t,Kn)}function tE(re){var Rt=re,_t=void 0;return(_t=PD(re))?a[Rt].propertyType=1:(_t=sS(re))?a[Rt].propertyType=2:(_t=ND(re))&&(a[Rt].propertyType=3),_t}function j2(){var re=a[l].propertyType;if(re===1)return OE();if(re===2)return JS();if(re===3)return Dy()}function PD(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;return re-Rt}function OE(){var re=i.PropertyType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Tl();return b(re,nn,_t,Kn)}function sS(re){return OD(re)}function JS(){return $w()}function ND(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=Jx(re))re+=_t;else return 0;return re-Rt}function Dy(){var re=i.PropertyType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[ar()];return b(re,nn,_t,Kn)}function OD(re){var Rt=re,_t=void 0;if(re>=u||a[re].type!==s.HyphenMinus||a[re+1]&&a[re+1].type!==s.HyphenMinus)return 0;if(re+=2,_t=Zo(re))re+=_t;else return 0;return re-Rt}function $w(){var re=i.CustomPropertyType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l+=2;var nn=Tl();return b(re,nn,_t,Kn)}function Ev(re){return re=u||a[re].type!==s.Colon||re+1>=u||a[re+1].type!==s.Colon)return 0;if(Rt=HS(re))a[re].pseudoElementType=1;else if(Rt=xv(re))a[re].pseudoElementType=2;else return 0;return Rt}function Gf(){var re=a[l].pseudoElementType;if(re===1)return aS();if(re===2)return zv()}function HS(re){var Rt=re,_t=void 0;if(re+=2,re>=u)return 0;if(_t=ta(re))re+=_t;else return 0;if(re>=u||a[re].type!==s.LeftParenthesis)return 0;var Kn=a[re].right;if(re++,(_t=kl(re))&&(re+=_t),_t=So(re))re+=_t;else return 0;return(_t=kl(re))&&(re+=_t),re!==Kn?0:(re++,re-Rt)}function aS(){var re=i.PseudoeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l+=2,nn.push(fu());{var Ya=i.ArgumentsType,dg=a[l],Cp=dg.ln,t_=dg.col;l++;var eC=[].concat(Qf(),dd(),Qf()),O4=h(eC,Cp,t_,1),KG=b(Ya,eC,Cp,t_,O4);nn.push(KG),l++}return b(re,nn,_t,Kn)}function xv(re){var Rt=re,_t=void 0;if(re+=2,_t=Zo(re))re+=_t;else return 0;return re-Rt}function zv(){var re=i.PseudoeType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l+=2;var nn=Tl();return b(re,nn,_t,Kn)}function w0(re){var Rt=void 0;if(re>=u||a[re].type!==s.Colon)return 0;if(Rt=q2(re))a[re].pseudoClassType=3;else if(Rt=Jw(re))a[re].pseudoClassType=4;else if(Rt=$r(re))a[re].pseudoClassType=5;else if(Rt=RD(re))a[re].pseudoClassType=1;else if(Rt=Kw(re))a[re].pseudoClassType=2;else if(Rt=Rs(re))a[re].pseudoClassType=6;else return 0;return Rt}function Zy(){var re=a[l].pseudoClassType;if(re===1)return K9();if(re===2)return FD();if(re===3)return Y2();if(re===4)return Ye();if(re===5)return Kr();if(re===6)return vi()}function RD(re){var Rt=re,_t=void 0;if(re++,re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;if(re>=u||a[re].type!==s.LeftParenthesis)return 0;var Kn=a[re].right;if(re++,(_t=kl(re))&&(re+=_t),_t=So(re))re+=_t;else return 0;return(_t=kl(re))&&(re+=_t),re!==Kn?0:(re++,re-Rt)}function K9(){var re=i.PseudocType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l++,nn=nn.concat(Tl());{var Ya=i.ArgumentsType,dg=a[l],Cp=dg.ln,t_=dg.col;l++;var eC=[].concat(Qf(),dd(),Qf()),O4=h(eC,Cp,t_,1),KG=b(Ya,eC,Cp,t_,O4);nn.push(KG),l++}return b(re,nn,_t,Kn)}function Kw(re){var Rt=re,_t=void 0;if(re++,re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;if(re>=u||a[re].type!==s.LeftParenthesis)return 0;var Kn=a[re].right;if(re++,(_t=kl(re))&&(re+=_t),_t=Zo(re))re+=_t;else return 0;return(_t=kl(re))&&(re+=_t),re!==Kn?0:(re++,re-Rt)}function FD(){var re=i.PseudocType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l++,nn=nn.concat(Tl());var Ya=a[l].ln,dg=a[l].col;l++;var Cp=[].concat(Qf(),Tl(),Qf()),t_=h(Cp,Ya,dg,1),eC=b(i.ArgumentsType,Cp,Ya,dg,t_);return nn.push(eC),l++,b(re,nn,_t,Kn)}function q2(re){var Rt=re,_t=void 0;if(re++,re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;if(re>=u||a[re].type!==s.LeftParenthesis)return 0;var Kn=a[re].right;if(re++,(_t=kl(re))&&(re+=_t),(_t=Xv(re))&&(re+=_t),(_t=YA(re))&&(re+=_t),re>=u||(a[re].value==="n"&&re++,(_t=kl(re))&&(re+=_t),re>=u))return 0;if(a[re].type===s.PlusSign||a[re].type===s.HyphenMinus)re++;else return 0;if((_t=kl(re))&&(re+=_t),_t=YA(re))re+=_t;else return 0;return(_t=kl(re))&&(re+=_t),re!==Kn?0:(re++,re-Rt)}function Y2(){var re=i.PseudocType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l++,nn=nn.concat(Tl());var Ya=a[l].ln,dg=a[l].col,Cp=[];l++,Cp=Cp.concat(Qf()),Xv(l)&&Cp.push(G2()),YA(l)&&(Cp=Cp.concat(fA()));{var t_=a[l];if(t_.value==="n"){var eC=t_.ln,O4=t_.col,KG=t_.value,boe=b(i.IdentType,KG,eC,O4);Cp.push(boe),l++}}Cp=Cp.concat(Qf()),Xv(l)&&Cp.push(G2()),Cp=Cp.concat(Qf()),YA(l)&&(Cp=Cp.concat(fA())),Cp=Cp.concat(Qf());var Hx=h(Cp,Ya,dg,1),JL=b(i.ArgumentsType,Cp,Ya,dg,Hx);return nn.push(JL),l++,b(re,nn,_t,Kn)}function Jw(re){var Rt=re,_t=void 0;if(re++,re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;if(re>=u||a[re].type!==s.LeftParenthesis)return 0;var Kn=a[re].right;if(re++,(_t=kl(re))&&(re+=_t),(_t=Xv(re))&&(re+=_t),(_t=Ml(re))&&(re+=_t),a[re].type===s.DecimalNumber&&re++,a[re].value==="n")re++;else return 0;return(_t=kl(re))&&(re+=_t),re!==Kn?0:(re++,re-Rt)}function Ye(){var re=i.PseudocType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l++,nn=nn.concat(Tl());var Ya=a[l].ln,dg=a[l].col,Cp=[];l++,Cp=Cp.concat(Qf()),Xv(l)&&Cp.push(G2()),Ml(l)&&Cp.push(fm()),W1(l)&&Cp.push(yg()),ta(l)&&Cp.push(fu()),Cp=Cp.concat(Qf());var t_=h(Cp,Ya,dg,1),eC=b(i.ArgumentsType,Cp,Ya,dg,t_);return nn.push(eC),l++,b(re,nn,_t,Kn)}function $r(re){var Rt=re,_t=void 0;if(re++,re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;if(re>=u||a[re].type!==s.LeftParenthesis)return 0;var Kn=a[re].right;if(re++,(_t=kl(re))&&(re+=_t),(_t=Xv(re))&&(re+=_t),a[re].type===s.DecimalNumber)re++;else return 0;return(_t=kl(re))&&(re+=_t),re!==Kn?0:(re++,re-Rt)}function Kr(){var re=i.PseudocType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l++,nn=nn.concat(Tl());var Ya=a[l].ln,dg=a[l].col,Cp=[];l++,Cp=Cp.concat(Qf()),Xv(l)&&Cp.push(G2()),W1(l)&&Cp.push(yg()),Cp=Cp.concat(Qf());var t_=h(Cp,Ya,dg,1),eC=b(i.ArgumentsType,Cp,Ya,dg,t_);return nn.push(eC),l++,b(re,nn,_t,Kn)}function Rs(re){var Rt=re,_t=void 0;if(re++,re>=u)return 0;if(_t=Zo(re))re+=_t;else return 0;return re-Rt}function vi(){var re=i.PseudocType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l++;var nn=Tl();return b(re,nn,_t,Kn)}function Pu(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=So(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=qe(re))re+=_t;else if(_t=kl(re))if(re+=_t,_t=qe(re))re+=_t;else return 0;else return 0;return re-Rt}function gp(){var re=i.RulesetType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[].concat(dd(),Qf());return qe(l)?nn.push(at()):nn=nn.concat(Qf(),at()),b(re,nn,_t,Kn)}function Cf(re){return re=u)return re;for(;l=u)return 0;for(var Rt=void 0,_t=0,Kn=a[re].ln;re=u)return re;for(var Rt=a[l].ln;l=u)return 0;if(a[re].type===s.NumberSign)re++;else return 0;if(_t=Zo(re)||bl(re))re+=_t;else return 0;for(;re=u?0:a[re].type===s.StringSQ||a[re].type===s.StringDQ?1:0}function Bg(){var re=i.StringType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Rt.value;return l++,b(re,nn,_t,Kn)}function v_(re){for(var Rt=re,_t=void 0;re=u)return 0;for(;a[re-1].type!==s.Newline&&(_t=zw(re));)re+=_t;return re-Rt}function Wv(){for(var re=[],Rt=void 0;a[l-1].type!==s.Newline&&(Rt=J9());)typeof Rt.content=="string"?re.push(Rt):re=re.concat(Rt);return re}function Xv(re){return re>=u?0:a[re].type===s.HyphenMinus||a[re].type===s.PlusSign?1:0}function G2(){var re=i.OperatorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Rt.value;return l++,b(re,nn,_t,Kn)}function LD(re){var Rt=re,_t=void 0;if(re>=u)return 0;if(_t=PT(re))re+=_t;else return 0;for(;re=u)return 0;if(a[re].value==="U"||a[re].value==="u")re+=1;else return 0;if(re>=u)return 0;if(a[re].value==="+")re+=1;else return 0;for(;re=u)return 0;for(;re=u||a[re].value!=="url"||(re++,re>=u||a[re].type!==s.LeftParenthesis))return 0;var Kn=a[re];for(re++;re=u)return 0;if(a[re].type===s.DollarSign)re++;else return 0;if(_t=ta(re))re+=_t;else return 0;return re-Rt}function ar(){var re=i.VariableType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l++;var nn=[fu()];return b(re,nn,_t,Kn)}function pr(re){var Rt=0,_t=void 0;if(re>=u)return 0;if(_t=Jx(re))re+=_t;else return 0;for(;re=u)return 0;if(a[re].type===s.NumberSign)re++;else return 0;if(_t=yv(re))re+=_t;else return 0;return re-Rt}function Wi(){var re=i.VhashType,Rt=a[l],_t=Rt.ln,Kn=Rt.col;l++;var nn=$x(),Ya=h(nn,_t,Kn+1);return b(re,nn,_t,Kn,Ya)}function So(re){if(re>=u)return 0;var Rt=re,_t=void 0;if(_t=By(re))re+=_t;else return 0;for(;re=u)return 0;var Rt=re,_t=void 0;if(_t=P4(re))re+=_t;else return 0;for(;re=u)return 0;var Rt=re,_t=void 0;if(_t=Wt(re))re+=_t;else return 0;for(;re=u)return 0;var Rt=re,_t=void 0;if(_t=Z7(re)||XB(re)||Hg(re)||Uc(re))re+=_t;else return 0;for(;re=u)return 0;for(var Rt=re;re=u)return 0;var Rt=re,_t=void 0;if((_t=Zw(re))&&(re+=_t),a[re].type===s.Asterisk)re++;else return 0;return re-Rt}function kR(){var re=i.UniversalSelectorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[],Ya=void 0;return Zw(l)&&(nn.push(lN()),Ya=h(nn,_t,Kn,1)),l++,b(re,nn,_t,Kn,Ya)}function XB(re){if(re>=u)return 0;var Rt=re,_t=void 0;if((_t=Zw(re))&&(re+=_t),_t=Zo(re))re+=_t;else return 0;return re-Rt}function oN(){var re=i.TypeSelectorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];return Zw(l)&&nn.push(lN()),nn=nn.concat(Tl()),b(re,nn,_t,Kn)}function N4(re){var Rt=void 0;return(Rt=fe(re))?a[re].attributeSelectorType=1:(Rt=Ot(re))&&(a[re].attributeSelectorType=2),Rt}function W9(){var re=a[l].attributeSelectorType;return re===1?jt():Ci()}function fe(re){var Rt=re;if(a[re].type===s.LeftSquareBracket)re++;else return 0;var _t=void 0;if((_t=kl(re))&&(re+=_t),_t=En(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=jf(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),_t=XS(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),(_t=uN(re))&&(re+=_t,(_t=kl(re))&&(re+=_t)),a[re].type===s.RightSquareBracket)re++;else return 0;return re-Rt}function jt(){var re=i.AttributeSelectorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l++,nn=nn.concat(Qf(),Xa(),Qf(),Nd(),Qf(),$L(),Qf()),uN(l)&&(nn.push(PR()),nn=nn.concat(Qf())),l++;var Ya=h(nn,_t,Kn,1);return b(re,nn,_t,Kn,Ya)}function Ot(re){var Rt=re;if(a[re].type===s.LeftSquareBracket)re++;else return 0;var _t=void 0;if((_t=kl(re))&&(re+=_t),_t=En(re))re+=_t;else return 0;if((_t=kl(re))&&(re+=_t),a[re].type===s.RightSquareBracket)re++;else return 0;return re-Rt}function Ci(){var re=i.AttributeSelectorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];l++,nn=nn.concat(Qf(),Xa(),Qf()),l++;var Ya=h(nn,_t,Kn,1);return b(re,nn,_t,Kn,Ya)}function En(re){var Rt=re,_t=void 0;if((_t=Zw(re))&&(re+=_t),_t=Zo(re))re+=_t;else return 0;return re-Rt}function Xa(){var re=i.AttributeNameType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];return Zw(l)&&nn.push(lN()),nn=nn.concat(Tl()),b(re,nn,_t,Kn)}function jf(re){var Rt=void 0;return(Rt=M_(re))?a[re].attributeMatchType=1:(Rt=jn(re))&&(a[re].attributeMatchType=2),Rt}function Nd(){var re=a[l].attributeMatchType;return re===1?p1():Xw()}function M_(re){var Rt=re,_t=a[re].type;if(_t===s.Tilde||_t===s.VerticalLine||_t===s.CircumflexAccent||_t===s.DollarSign||_t===s.Asterisk)re++;else return 0;if(a[re].type===s.EqualsSign)re++;else return 0;return re-Rt}function p1(){var re=i.AttributeMatchType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=a[l].value+a[l+1].value;return l+=2,b(re,nn,_t,Kn)}function jn(re){return a[re].type===s.EqualsSign?1:0}function Xw(){var re=i.AttributeMatchType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn="=";return l++,b(re,nn,_t,Kn)}function XS(re){return F_(re)||Zo(re)}function $L(){var re=i.AttributeValueType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];return F_(l)?nn.push(Bg()):nn=nn.concat(Tl()),b(re,nn,_t,Kn)}function uN(re){return Zo(re)}function PR(){var re=i.AttributeFlagsType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=Tl();return b(re,nn,_t,Kn)}function Zw(re){if(re>=u)return 0;var Rt=void 0;return(Rt=VG(re))?a[re].namePrefixType=1:(Rt=cN(re))&&(a[re].namePrefixType=2),Rt}function lN(){var re=a[l].namePrefixType;return re===1?KL():$G()}function VG(re){var Rt=re,_t=void 0;if(_t=Ie(re))re+=_t;else return 0;if((_t=li(re))&&(re+=_t),_t=hr(re))re+=_t;else return 0;return re-Rt}function KL(){var re=i.NamePrefixType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];return nn.push(be()),li(l)&&nn.push(mo()),nn.push(jD()),b(re,nn,_t,Kn)}function cN(re){return hr(re)}function $G(){var re=i.NamePrefixType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[jD()];return b(re,nn,_t,Kn)}function Ie(re){if(re>=u)return 0;var Rt=void 0;return a[re].type===s.Asterisk?1:(Rt=Zo(re))?Rt:0}function be(){var re=i.NamespacePrefixType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn=[];if(Rt.type===s.Asterisk){var Ya=b(i.IdentType,"*",_t,Kn);nn.push(Ya),l++}else Zo(l)&&(nn=nn.concat(Tl()));return b(re,nn,_t,Kn)}function hr(re){return re>=u||a[re].type!==s.VerticalLine||a[re+1]&&a[re+1].type===s.EqualsSign?0:1}function jD(){var re=i.NamespaceSeparatorType,Rt=a[l],_t=Rt.ln,Kn=Rt.col,nn="|";return l++,b(re,nn,_t,Kn)}e.exports=function(re,Rt){return a=re,u=a.length,l=0,f[Rt]()}}),(function(e,t,r){"use strict";e.exports=function(n,i){var s=r(13),a=[],u=!1,l=void 0,f=void 0,p=0,g=0,A=1,h=1,_={" ":s.Space,"\n":s.Newline,"\r":s.Newline," ":s.Tab,"!":s.ExclamationMark,'"':s.QuotationMark,"#":s.NumberSign,$:s.DollarSign,"%":s.PercentSign,"&":s.Ampersand,"'":s.Apostrophe,"(":s.LeftParenthesis,")":s.RightParenthesis,"*":s.Asterisk,"+":s.PlusSign,",":s.Comma,"-":s.HyphenMinus,".":s.FullStop,"/":s.Solidus,":":s.Colon,";":s.Semicolon,"<":s.LessThanSign,"=":s.EqualsSign,"==":s.EqualitySign,"!=":s.InequalitySign,">":s.GreaterThanSign,"?":s.QuestionMark,"@":s.CommercialAt,"[":s.LeftSquareBracket,"]":s.RightSquareBracket,"^":s.CircumflexAccent,_:s.LowLine,"{":s.LeftCurlyBracket,"|":s.VerticalLine,"}":s.RightCurlyBracket,"~":s.Tilde,"`":s.Backtick};function E(ue,me,Te){a.push({tn:g++,ln:A,col:Te,type:ue,value:me})}function b(ue){return"0123456789".indexOf(ue)>=0}function D(ue){for(var me=p;ple)h=0,p+=De-p;else{p--;break}}else if(Ae==="*"&&ue.charAt(p+1)==="/"){p++;break}}ue.charAt(p)==="\r"&&p--;var Le=ue.substring(me,p+1);E(s.CommentML,Le,Te);var qe=Le.split(` `);qe.length>1?(A+=qe.length-1,h=qe[qe.length-1].length):h+=p-me}function Z(ue){var me=p,Te=h,le,ae=0,Ae=!1;for(le=p-1;le>-1;le--)if(ue.charAt(le)===" ")ae++;else if(ue.charAt(le)===` `){Ae=!0;break}else break;if(le===-1&&(Ae=!0),Ae)for(p+=2;pae)h=0,p+=le-p;else break}}else for(p+=2;p1?(A+=qe.length-1,h=qe[qe.length-1].length):h+=p-me}function oe(ue){for(p=0;p1&&(h+=i-1)):b(l)?M(ue):R(ue);return a}return oe(n)}}),(function(e,t,r){"use strict";t.__esModule=!0,t.default={mark:r(26),parse:r(27),stringify:r(6),tokenizer:r(28)},e.exports=t.default}),(function(e,t,r){"use strict";var n=r(13);e.exports=(function(){function i(a){for(var u=a.length,l=-1,f=-1,p=void 0,g=0;g=u)){for(var Ot="",Ci=0;Ci=u||a[fe].type!==s.LeftParenthesis)return 0;for(fe++;fe=u||a[fe++].type!==s.CommercialAt?0:(jt=_f(fe))?jt+1:0}function Z(){var fe=i.AtkeywordType,jt=a[l],Ot=jt.ln,Ci=jt.col;l++;var En=tp();return b(fe,En,Ot,Ci)}function oe(fe){var jt=void 0;if(fe>=u)return 0;if(a[fe].atrule_l!==void 0)return a[fe].atrule_l;if(jt=uo(fe))a[fe].atrule_type=4;else if(jt=le(fe))a[fe].atrule_type=1;else if(jt=me(fe))a[fe].atrule_type=2;else if(jt=_e(fe))a[fe].atrule_type=3;else return 0;return a[fe].atrule_l=jt,jt}function ue(){var fe=a[l].atrule_type;if(fe===1)return ae();if(fe===2)return Te();if(fe===3)return Le();if(fe===4)return Rp()}function me(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;if((Ot=Kw(fe))&&(fe+=Ot),Ot=qe(fe))fe+=Ot;else return 0;return fe-jt}function Te(){var fe=i.AtruleType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),FD(),at());return b(fe,En,Ot,Ci)}function le(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;if((Ot=Kw(fe))&&(fe+=Ot),fe=u)return 0;for((Ot=Fl(fe))&&(fe+=Ot);fe=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;return(Ot=Kw(fe))&&(fe+=Ot),fe-jt}function Le(){var fe=i.AtruleType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),FD());return b(fe,En,Ot,Ci)}function qe(fe){return fe=u)return 0;if(jt=Sr(fe))a[fe].bd_type=1;else if(jt=dt(fe))a[fe].bd_type=2;else if(jt=lr(fe))a[fe].bd_type=3;else if(jt=Nt(fe))a[fe].bd_type=4;else return 0;return jt}function Ur(){var fe=a[l].bd_type;if(fe===1)return xr();if(fe===2)return It();if(fe===3)return $t();if(fe===4)return sr()}function Sr(fe){var jt=fe,Ot=void 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=yu(fe))a[fe].bd_kind=1;else if(Ot=oo(fe))a[fe].bd_kind=2;else if(Ot=lo(fe))a[fe].bd_kind=4;else if(Ot=uh(fe))a[fe].bd_kind=3;else if(Ot=oe(fe))a[fe].bd_kind=6;else if(Ot=Ev(fe))a[fe].bd_kind=7;else if(Ot=oi(fe))a[fe].bd_kind=5;else return 0;if(fe+=Ot,fe=u)return 0;var jt=fe;if(a[fe].type===s.LeftSquareBracket)fe++;else return 0;if(fe=u)return 0;if(a[fe].class_l)return a[fe].class_l;if(a[fe].type===s.FullStop)fe++;else return 0;if(Ot=_f(fe))fe+=Ot;else return 0;for(;fe=u)return 0;var jt=void 0;return(jt=gt(fe))?a[fe].combinatorType=1:(jt=Sn(fe))?a[fe].combinatorType=2:(jt=Wt(fe))?a[fe].combinatorType=3:(jt=na(fe))&&(a[fe].combinatorType=4),jt}function rr(){var fe=a[l].combinatorType;if(fe===1)return Vr();if(fe===2)return wn();if(fe===3)return us();if(fe===4)return Na()}function gt(fe){return fe>>";return l+=3,b(fe,En,Ot,Ci)}function Sn(fe){return fe+1>=u?0:a[fe].type===s.VerticalLine&&a[fe+1].type===s.VerticalLine||a[fe].type===s.GreaterThanSign&&a[fe+1].type===s.GreaterThanSign?2:0}function wn(){var fe=i.CombinatorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=""+jt.value+a[l+1].value;return l+=2,b(fe,En,Ot,Ci)}function Wt(fe){var jt=a[fe].type;return jt===s.PlusSign||jt===s.GreaterThanSign||jt===s.Tilde?1:0}function us(){var fe=i.CombinatorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=jt.value;return l++,b(fe,En,Ot,Ci)}function na(fe){var jt=fe;if(a[fe].type===s.Solidus)fe++;else return 0;var Ot=void 0;if(Ot=Sd(fe))fe+=Ot;else return 0;if(a[fe].type===s.Solidus)fe++;else return 0;return fe-jt}function Na(){var fe=i.CombinatorType,jt=a[l],Ot=jt.ln,Ci=jt.col;l++;var En=_m();l++;var Xa="/"+En.content+"/";return b(fe,Xa,Ot,Ci)}function Di(fe){return fe=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;if(["if","else"].indexOf(a[jt+1].value)<0)return 0;for(;fe=u)return 0;if(Ot=Rn(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=qe(fe))fe+=Ot;else return 0;return fe-jt}function Va(){var fe=i.ConditionalStatementType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(li(),Gf(),at());return b(fe,En,Ot,Ci)}function oi(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=yv(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=wi(fe))fe++;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=F_(fe))fe+=Ot;else return 0;return fe-jt}function oa(){var fe=i.DeclarationType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat($x(),Gf(),Ys(),Gf(),Bg());return b(fe,En,Ot,Ci)}function ha(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=yv(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=wi(fe))fe++;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=zw(fe))fe+=Ot;else return 0;return fe-jt}function Ua(){var fe=i.DeclarationType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat($x(),Gf(),Ys(),Gf(),J9());return b(fe,En,Ot,Ci)}function pa(fe){return fe=u||a[fe++].type!==s.ExclamationMark?0:((Ot=Fl(fe))&&(fe+=Ot),a[fe].value==="default"?(a[jt].defaultEnd=fe,fe-jt+1):0)}function dc(){var fe=i.DefaultType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=g(l,jt.defaultEnd);return l=jt.defaultEnd+1,b(fe,En,Ot,Ci)}function Yn(fe){return fe=u||!jt||fe+jt>=u?0:(Ot=$r(fe+jt))?jt+Ot:0}function Qt(){var fe=i.DimensionType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[fm(),Kr()];return b(fe,En,Ot,Ci)}function zi(fe){var jt=fe;return fe>=u||a[fe++].value!=="expression"||fe>=u||a[fe].type!==s.LeftParenthesis?0:a[fe].right-jt+1}function ks(){var fe=i.ExpressionType,jt=a[l],Ot=jt.ln,Ci=jt.col;l++;var En=g(l+1,a[l].right-1),Xa=h(En,Ot,Ci,1);return Xa[0]===Ot&&(Xa[1]+=11),l=a[l].right+1,b(fe,En,Ot,Ci,Xa)}function lo(fe){if(fe>=u)return 0;var jt=void 0;return(jt=wl(fe))?a[fe].extend_child=1:(jt=Ui(fe))&&(a[fe].extend_child=2),jt}function Jo(){var fe=a[l].extend_child;if(fe===1)return Wc();if(fe===2)return ei()}function wl(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;if(a[jt+1].value!=="extend")return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=za(fe))fe+=Ot;else return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=sc(fe))fe+=Ot;else return 0;return fe-jt}function Wc(){var fe=i.ExtendType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf(),zS(),Gf(),f1());return b(fe,En,Ot,Ci)}function Ui(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;if(a[jt+1].value!=="extend")return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=za(fe))fe+=Ot;else return 0;return fe-jt}function ei(){var fe=i.ExtendType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf(),zS());return b(fe,En,Ot,Ci)}function ui(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;return fe=u)return 0;if(Ot=ui(fe))fe+=Ot;else return 0;for(;fe=u||a[fe++].type!==s.ExclamationMark?0:((Ot=Fl(fe))&&(fe+=Ot),a[fe].value==="global"?(a[jt].globalEnd=fe,fe-jt+1):0)}function cp(){var fe=i.GlobalType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=g(l,jt.globalEnd);return l=jt.globalEnd+1,b(fe,En,Ot,Ci)}function Sd(fe){var jt=fe;if(fe>=u||a[fe].type===s.HyphenMinus&&a[fe+1].type===s.DecimalNumber)return 0;if(a[fe].type===s.HyphenMinus&&fe++,_a(fe))return a[jt].ident_last=fe-1,fe-jt;if(a[fe].type===s.LowLine||a[fe].type===s.Identifier)fe++;else return 0;for(;fe=u)return 0;for(;fe=u||a[fe++].type!==s.ExclamationMark?0:((Ot=Fl(fe))&&(fe+=Ot),a[fe].value==="important"?(a[jt].importantEnd=fe,fe-jt+1):0)}function pg(){var fe=i.ImportantType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=g(l,jt.importantEnd);return l=jt.importantEnd+1,b(fe,En,Ot,Ci)}function oo(fe){var jt=void 0;return fe>=u?0:((jt=go(fe))?a[fe].include_type=1:(jt=fu(fe))?a[fe].include_type=2:(jt=Zo(fe))?a[fe].include_type=3:(jt=Ws(fe))?a[fe].include_type=4:(jt=su(fe))&&(a[fe].include_type=5),jt)}function Qu(){var fe=a[l].include_type;if(fe===1)return ta();if(fe===2)return bl();if(fe===3)return Tl();if(fe===4)return Hf();if(fe===5)return Rm()}function go(fe){var jt=fe,Ot=void 0;if(Ot=K(fe))fe+=Ot;else return 0;if(a[jt+1].value!=="include")return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=M(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=Xc(fe))fe+=Ot;else return 0;return fe-jt}function ta(){var fe=i.IncludeType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf(),tp(),Gf(),R(),Gf(),Kf());return b(fe,En,Ot,Ci)}function fu(fe){var jt=fe,Ot=void 0;if(Ot=K(fe))fe+=Ot;else return 0;if(a[jt+1].value!=="include")return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=M(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=qe(fe))fe+=Ot;else return 0;return fe-jt}function bl(){var fe=i.IncludeType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf(),tp(),Gf(),R(),Gf(),at());return b(fe,En,Ot,Ci)}function Zo(fe){var jt=fe,Ot=void 0;if(Ot=K(fe))fe+=Ot;else return 0;if(a[jt+1].value!=="include")return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=M(fe))fe+=Ot;else return 0;return fe-jt}function Tl(){var fe=i.IncludeType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf(),tp(),Gf(),R());return b(fe,En,Ot,Ci)}function Ws(fe){var jt=fe,Ot=void 0;if(Ot=K(fe))fe+=Ot;else return 0;if(a[jt+1].value!=="include")return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=qe(fe))fe+=Ot;else return 0;return fe-jt}function Hf(){var fe=i.IncludeType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf(),tp(),Gf(),at());return b(fe,En,Ot,Ci)}function su(fe){var jt=fe,Ot=void 0;if(Ot=K(fe))fe+=Ot;else return 0;if(a[jt+1].value!=="include")return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=_f(fe))fe+=Ot;else return 0;return fe-jt}function Rm(){var fe=i.IncludeType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf(),tp());return b(fe,En,Ot,Ci)}function _a(fe){var jt=fe,Ot=void 0;if(fe>=u||a[fe].type!==s.NumberSign||!a[fe+1]||a[fe+1].type!==s.LeftCurlyBracket)return 0;for(fe+=2;a[fe].type!==s.RightCurlyBracket;)if(Ot=q(fe))fe+=Ot;else return 0;return a[fe].type===s.RightCurlyBracket?fe-jt+1:0}function Rl(){var fe=i.InterpolationType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];for(l+=2;l=u)return 0;if(Ot=bc(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=qe(fe))fe+=Ot;else return 0;return fe-jt}function iu(){var fe=i.RulesetType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(wg(),Gf(),at());return b(fe,En,Ot,Ci)}function Xc(fe){var jt=fe,Ot=void 0;if(fe=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;var Ci=A(fe-Ot,Ot);if(Ci.toLowerCase().indexOf("keyframes")===-1)return 0;if(Ot=Fl(fe))fe+=Ot;else return 0;if(Ot=_f(fe)||Hg(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=Xc(fe))fe+=Ot;else return 0;return fe-jt}function Rp(){var fe=i.AtruleType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf());return _f(l)?En=En.concat(tp()):Hg(l)&&(En=En.concat(X0())),En=En.concat(Gf(),Kf()),b(fe,En,Ot,Ci)}function Fm(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=Sd(fe)){var Ci=A(fe,Ot);if(Ci!=="from"&&Ci!=="to")return 0;fe+=Ot,a[jt].keyframesSelectorType=1}else if(Ot=$a(fe))fe+=Ot,a[jt].keyframesSelectorType=2;else if(Ot=_a(fe))fe+=Ot,a[jt].keyframesSelectorType=3;else return 0;return fe-jt}function Dh(){var fe=i.KeyframesSelectorType,jt=i.SelectorType,Ot=a[l],Ci=Ot.ln,En=Ot.col,Xa=[];Ot.keyframesSelectorType===1?Xa.push(_m()):Ot.keyframesSelectorType===2?Xa.push(yl()):Ot.keyframesSelectorType===3&&Xa.push(Rl());var jf=b(fe,Xa,Ci,En);return b(jt,[jf],Ci,En)}function bc(fe){var jt=fe,Ot=void 0;if(Ot=Fm(fe))fe+=Ot;else return 0;for(;fe=u)return 0;if(Ot=K(fe))fe+=Ot;else return 0;if(["for","each","while"].indexOf(a[jt+1].value)<0)return 0;for(;fe=u)return 0;if((Ot=K(fe))&&a[fe+1].value==="mixin")fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=_f(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),(Ot=M(fe))&&(fe+=Ot),(Ot=Fl(fe))&&(fe+=Ot),Ot=qe(fe))fe+=Ot;else return 0;return fe-jt}function Ty(){var fe=i.MixinType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(Z(),Gf());return _f(l)&&(En=En.concat(tp())),En=En.concat(Gf()),M(l)&&En.push(R()),En=En.concat(Gf()),qe(l)&&En.push(at()),b(fe,En,Ot,Ci)}function Ix(fe){return fe=u?0:a[fe].number_l?a[fe].number_l:fe=u)return 0;switch(a[fe].type){case s.Solidus:case s.PercentSign:case s.Comma:case s.Colon:case s.EqualsSign:case s.EqualitySign:case s.InequalitySign:case s.LessThanSign:case s.GreaterThanSign:case s.Asterisk:return 1}return 0}function vp(){var fe=i.OperatorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=jt.value;return l++,b(fe,En,Ot,Ci)}function sc(fe){var jt=fe,Ot=void 0;return fe>=u||a[fe++].type!==s.ExclamationMark?0:((Ot=Fl(fe))&&(fe+=Ot),a[fe].value==="optional"?(a[jt].optionalEnd=fe,fe-jt+1):0)}function f1(){var fe=i.OptionalType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=g(l,jt.optionalEnd);return l=jt.optionalEnd+1,b(fe,En,Ot,Ci)}function Q2(fe){if(fe>=u)return 0;var jt=fe,Ot=a[fe].right,Ci=void 0;if(a[fe].type===s.LeftParenthesis)fe++;else return 0;if(fe=u)return 0;for(;fe=u)return 0;if(Ot=xe(fe))fe+=Ot;else return 0;return(Ot=Gr(fe))&&(fe+=Ot),fe-jt}function xa(){var fe=[St()];return Gr(l)&&fe.push(An()),fe}function $a(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=Ho(fe))fe+=Ot;else return 0;if(fe>=u)return 0;if(a[fe].type===s.PercentSign)fe++;else return 0;return fe-jt}function yl(){var fe=i.PercentageType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=Ud(),Xa=h(En,Ot,Ci,1);return l++,b(fe,En,Ot,Ci,Xa)}function Ho(fe){for(var jt=fe,Ot=void 0;fe=u)return 0;if(a[jt].placeholder_l)return a[jt].placeholder_l;if(a[fe].type===s.PercentSign)fe++;else return 0;if(Ot=_f(fe))fe+=Ot,a[jt].placeholder_l=fe-jt;else return 0;return fe-jt}function wh(){var fe=i.PlaceholderType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];return l++,En=En.concat(tp()),b(fe,En,Ot,Ci)}function D0(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(A(fe,6)==="progid:DXImageTransform.Microsoft.")fe+=6;else return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),a[fe].type===s.LeftParenthesis)a[jt].progid_end=a[fe].right,fe=a[fe].right+1;else return 0;return fe-jt}function z1(){var fe=i.ProgidType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=jt.progid_end,Xa=g(l,En);return l=En+1,b(fe,Xa,Ot,Ci)}function yv(fe){var jt=fe,Ot=void 0;return(Ot=W1(fe))?a[jt].propertyType=1:(Ot=FC(fe))?a[jt].propertyType=2:(Ot=_v(fe))&&(a[jt].propertyType=3),Ot}function $x(){var fe=a[l].propertyType;if(fe===1)return yg();if(fe===2)return Xy();if(fe===3)return Xl()}function W1(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;return fe-jt}function yg(){var fe=i.PropertyType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=tp();return b(fe,En,Ot,Ci)}function FC(fe){return Sx(fe)}function Xy(){return Mf()}function _v(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=Tx(fe))fe+=Ot;else return 0;return fe-jt}function Xl(){var fe=i.PropertyType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[Wv()];return b(fe,En,Ot,Ci)}function Sx(fe){var jt=fe,Ot=void 0;if(fe>=u||a[fe].type!==s.HyphenMinus||a[fe+1]&&a[fe+1].type!==s.HyphenMinus)return 0;if(fe+=2,Ot=_f(fe))fe+=Ot;else return 0;return fe-jt}function Mf(){var fe=i.CustomPropertyType,jt=a[l],Ot=jt.ln,Ci=jt.col;l+=2;var En=tp();return b(fe,En,Ot,Ci)}function wi(fe){return fe=u||a[fe].type!==s.Colon||fe>=u||a[fe+1].type!==s.Colon)return 0;if(jt=pd(fe))a[fe].pseudoElementType=1;else if(jt=YA(fe))a[fe].pseudoElementType=2;else return 0;return jt}function Bf(){var fe=a[l].pseudoElementType;if(fe===1)return Jd();if(fe===2)return fA()}function pd(fe){var jt=fe,Ot=void 0;if(fe+=2,fe>=u)return 0;if(Ot=Sd(fe))fe+=Ot;else return 0;if(fe>=u||a[fe].type!==s.LeftParenthesis)return 0;var Ci=a[fe].right;if(fe++,(Ot=Fl(fe))&&(fe+=Ot),Ot=za(fe))fe+=Ot;else return 0;return(Ot=Fl(fe))&&(fe+=Ot),fe!==Ci?0:(fe++,fe-jt)}function Jd(){var fe=i.PseudoeType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l+=2,En.push(_m());{var Xa=i.ArgumentsType,jf=a[l],Nd=jf.ln,M_=jf.col;l++;var p1=[].concat(Gf(),zS(),Gf()),jn=h(p1,Nd,M_,1),Xw=b(Xa,p1,Nd,M_,jn);En.push(Xw),l++}return b(fe,En,Ot,Ci)}function YA(fe){var jt=fe,Ot=void 0;if(fe+=2,Ot=_f(fe))fe+=Ot;else return 0;return fe-jt}function fA(){var fe=i.PseudoeType,jt=a[l],Ot=jt.ln,Ci=jt.col;l+=2;var En=tp();return b(fe,En,Ot,Ci)}function Hg(fe){var jt=void 0;if(fe>=u||a[fe].type!==s.Colon)return 0;if(jt=PD(fe))a[fe].pseudoClassType=3;else if(jt=sS(fe))a[fe].pseudoClassType=4;else if(jt=ND(fe))a[fe].pseudoClassType=5;else if(jt=Kx(fe))a[fe].pseudoClassType=1;else if(jt=tE(fe))a[fe].pseudoClassType=2;else if(jt=OD(fe))a[fe].pseudoClassType=6;else return 0;return jt}function X0(){var fe=a[l].pseudoClassType;if(fe===1)return Ee();if(fe===2)return j2();if(fe===3)return OE();if(fe===4)return JS();if(fe===5)return Dy();if(fe===6)return $w()}function Kx(fe){var jt=fe,Ot=void 0;if(fe++,fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if(fe>=u||a[fe].type!==s.LeftParenthesis)return 0;var Ci=a[fe].right;if(fe++,(Ot=Fl(fe))&&(fe+=Ot),Ot=za(fe))fe+=Ot;else return 0;return(Ot=Fl(fe))&&(fe+=Ot),fe!==Ci?0:(fe++,fe-jt)}function Ee(){var fe=i.PseudocType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l++,En=En.concat(tp());{var Xa=i.ArgumentsType,jf=a[l],Nd=jf.ln,M_=jf.col;l++;var p1=[].concat(Gf(),zS(),Gf()),jn=h(p1,Nd,M_,1),Xw=b(Xa,p1,Nd,M_,jn);En.push(Xw),l++}return b(fe,En,Ot,Ci)}function tE(fe){var jt=fe,Ot=void 0;if(fe++,fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if(fe>=u||a[fe].type!==s.LeftParenthesis)return 0;var Ci=a[fe].right;if(fe++,(Ot=Fl(fe))&&(fe+=Ot),Ot=_f(fe))fe+=Ot;else return 0;return(Ot=Fl(fe))&&(fe+=Ot),fe!==Ci?0:(fe++,fe-jt)}function j2(){var fe=i.PseudocType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l++,En=En.concat(tp());var Xa=a[l].ln,jf=a[l].col;l++;var Nd=[].concat(Gf(),tp(),Gf()),M_=h(Nd,Xa,jf,1),p1=b(i.ArgumentsType,Nd,Xa,jf,M_);return En.push(p1),l++,b(fe,En,Ot,Ci)}function PD(fe){var jt=fe,Ot=void 0;if(fe++,fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if(fe>=u||a[fe].type!==s.LeftParenthesis)return 0;var Ci=a[fe].right;if(fe++,(Ot=Fl(fe))&&(fe+=Ot),(Ot=q2(fe))&&(fe+=Ot),(Ot=Ho(fe))&&(fe+=Ot),fe>=u||(a[fe].value==="n"&&fe++,(Ot=Fl(fe))&&(fe+=Ot),fe>=u))return 0;if(a[fe].type===s.PlusSign||a[fe].type===s.HyphenMinus)fe++;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=Ho(fe))fe+=Ot;else return 0;return(Ot=Fl(fe))&&(fe+=Ot),fe!==Ci?0:(fe++,fe-jt)}function OE(){var fe=i.PseudocType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l++,En=En.concat(tp());var Xa=a[l].ln,jf=a[l].col,Nd=[];l++,Nd=Nd.concat(Gf()),q2(l)&&Nd.push(Y2()),Ho(l)&&(Nd=Nd.concat(Ud()));{var M_=a[l];if(M_.value==="n"){var p1=M_.ln,jn=M_.col,Xw=M_.value,XS=b(i.IdentType,Xw,p1,jn);Nd.push(XS),l++}}Nd=Nd.concat(Gf()),q2(l)&&Nd.push(Y2()),Nd=Nd.concat(Gf()),Ho(l)&&(Nd=Nd.concat(Ud())),Nd=Nd.concat(Gf());var $L=h(Nd,Xa,jf,1),uN=b(i.ArgumentsType,Nd,Xa,jf,$L);return En.push(uN),l++,b(fe,En,Ot,Ci)}function sS(fe){var jt=fe,Ot=void 0;if(fe++,fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if(fe>=u||a[fe].type!==s.LeftParenthesis)return 0;var Ci=a[fe].right;if(fe++,(Ot=Fl(fe))&&(fe+=Ot),(Ot=q2(fe))&&(fe+=Ot),(Ot=_a(fe))&&(fe+=Ot),a[fe].type===s.DecimalNumber&&fe++,a[fe].value==="n")fe++;else return 0;return(Ot=Fl(fe))&&(fe+=Ot),fe!==Ci?0:(fe++,fe-jt)}function JS(){var fe=i.PseudocType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l++,En=En.concat(tp());var Xa=a[l].ln,jf=a[l].col,Nd=[];l++,Nd=Nd.concat(Gf()),q2(l)&&Nd.push(Y2()),_a(l)&&Nd.push(Rl()),Ml(l)&&Nd.push(fm()),Sd(l)&&Nd.push(_m()),Nd=Nd.concat(Gf());var M_=h(Nd,Xa,jf,1),p1=b(i.ArgumentsType,Nd,Xa,jf,M_);return En.push(p1),l++,b(fe,En,Ot,Ci)}function ND(fe){var jt=fe,Ot=void 0;if(fe++,fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;if(fe>=u||a[fe].type!==s.LeftParenthesis)return 0;var Ci=a[fe].right;if(fe++,(Ot=Fl(fe))&&(fe+=Ot),(Ot=q2(fe))&&(fe+=Ot),a[fe].type===s.DecimalNumber)fe++;else return 0;return(Ot=Fl(fe))&&(fe+=Ot),fe!==Ci?0:(fe++,fe-jt)}function Dy(){var fe=i.PseudocType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l++,En=En.concat(tp());var Xa=a[l].ln,jf=a[l].col,Nd=[];l++,Nd=Nd.concat(Gf()),q2(l)&&Nd.push(Y2()),Ml(l)&&Nd.push(fm()),Nd=Nd.concat(Gf());var M_=h(Nd,Xa,jf,1),p1=b(i.ArgumentsType,Nd,Xa,jf,M_);return En.push(p1),l++,b(fe,En,Ot,Ci)}function OD(fe){var jt=fe,Ot=void 0;if(fe++,fe>=u)return 0;if(Ot=_f(fe))fe+=Ot;else return 0;return fe-jt}function $w(){var fe=i.PseudocType,jt=a[l],Ot=jt.ln,Ci=jt.col;l++;var En=tp();return b(fe,En,Ot,Ci)}function Ev(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=za(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=qe(fe))fe+=Ot;else return 0;return fe-jt}function Il(){var fe=i.RulesetType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[].concat(zS(),Gf(),at());return b(fe,En,Ot,Ci)}function fI(fe){return fe=u)return 0;for(var jt=void 0,Ot=0;fe=u)return fe;for(;l=u)return 0;if(a[fe].type===s.NumberSign)fe++;else return 0;if(Ot=_f(fe)||fd(fe))fe+=Ot;else return 0;for(;fe=u?0:a[fe].type===s.StringSQ||a[fe].type===s.StringDQ?1:0}function zv(){var fe=i.StringType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=jt.value;return l++,b(fe,En,Ot,Ci)}function w0(fe){for(var jt=fe,Ot=void 0;fe=u)return 0;for(;Ot=RD(fe);)fe+=Ot;return a[jt].tsets_end=fe,fe-jt}function FD(){var fe=[],jt=void 0;if(l>=u)return fe;for(var Ot=a[l].tsets_end;l=u?0:a[fe].type===s.HyphenMinus||a[fe].type===s.PlusSign?1:0}function Y2(){var fe=i.OperatorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=jt.value;return l++,b(fe,En,Ot,Ci)}function Jw(fe){var jt=fe,Ot=void 0;if(fe>=u)return 0;if(Ot=Rs(fe))fe+=Ot;else return 0;for(;fe=u)return 0;if(a[fe].value==="U"||a[fe].value==="u")fe+=1;else return 0;if(fe>=u)return 0;if(a[fe].value==="+")fe+=1;else return 0;for(;fe=u)return 0;for(;fe=u||a[fe].value!=="url"||(fe++,fe>=u||a[fe].type!==s.LeftParenthesis))return 0;var Ci=a[fe];for(fe++;fe=u)return 0;if(a[fe].type===s.DollarSign)fe++;else return 0;if(Ot=Sd(fe))fe+=Ot;else return 0;return fe-jt}function Wv(){var fe=i.VariableType,jt=a[l],Ot=jt.ln,Ci=jt.col;l++;var En=[_m()];return b(fe,En,Ot,Ci)}function Xv(fe){var jt=0,Ot=void 0;if(fe>=u)return 0;if(Ot=Tx(fe))fe+=Ot;else return 0;for(;fe=u)return 0;if(a[fe].type===s.NumberSign)fe++;else return 0;if(Ot=Zc(fe))fe+=Ot;else return 0;return fe-jt}function oS(){var fe=i.VhashType,jt=a[l],Ot=jt.ln,Ci=jt.col;l++;var En=Wy(),Xa=h(En,Ot,Ci+1);return b(fe,En,Ot,Ci,Xa)}function za(fe){if(fe>=u)return 0;var jt=fe,Ot=void 0,Ci=0,En=0;if(Ot=PT(fe))fe+=Ot,Ci++;else return 0;for(;fe=u)return 0;var jt=fe,Ot=void 0;if(Ot=dI(fe))fe+=Ot;else return 0;for(;fe=u)return 0;var jt=fe,Ot=void 0;if(Ot=wr(fe))fe+=Ot;else return 0;for(;fe=u)return 0;var jt=fe,Ot=void 0;if(Ot=Wo(fe)||Hd(fe)||Em(fe)||Oi(fe))fe+=Ot;else return 0;for(;fe=u)return 0;for(var jt=fe;fe=u)return 0;var jt=fe,Ot=void 0;if((Ot=Ww(fe))&&(fe+=Ot),a[fe].type===s.Asterisk)fe++;else return 0;return fe-jt}function om(){var fe=i.UniversalSelectorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[],Xa=void 0;return Ww(l)&&(En.push(Ek()),Xa=h(En,Ot,Ci,1)),l++,b(fe,En,Ot,Ci,Xa)}function Hd(fe){if(fe>=u)return 0;var jt=fe,Ot=void 0;if((Ot=Ww(fe))&&(fe+=Ot),Ot=_f(fe))fe+=Ot;else return 0;return fe-jt}function e_(){var fe=i.TypeSelectorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];return Ww(l)&&En.push(Ek()),En=En.concat(tp()),b(fe,En,Ot,Ci)}function L_(fe){var jt=void 0;return(jt=Jx(fe))?a[fe].attributeSelectorType=1:(jt=pr(fe))&&(a[fe].attributeSelectorType=2),jt}function Zv(){var fe=a[l].attributeSelectorType;return fe===1?ar():Ir()}function Jx(fe){var jt=fe;if(a[fe].type===s.LeftSquareBracket)fe++;else return 0;var Ot=void 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=_n(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=So(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=BR(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),(Ot=P4(fe))&&(fe+=Ot,(Ot=Fl(fe))&&(fe+=Ot)),a[fe].type===s.RightSquareBracket)fe++;else return 0;return fe-jt}function ar(){var fe=i.AttributeSelectorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l++,En=En.concat(Gf(),Wi(),Gf(),dd(),Gf(),W7(),Gf()),P4(l)&&(En.push(X7()),En=En.concat(Gf())),l++;var Xa=h(En,Ot,Ci,1);return b(fe,En,Ot,Ci,Xa)}function pr(fe){var jt=fe;if(a[fe].type===s.LeftSquareBracket)fe++;else return 0;var Ot=void 0;if((Ot=Fl(fe))&&(fe+=Ot),Ot=_n(fe))fe+=Ot;else return 0;if((Ot=Fl(fe))&&(fe+=Ot),a[fe].type===s.RightSquareBracket)fe++;else return 0;return fe-jt}function Ir(){var fe=i.AttributeSelectorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];l++,En=En.concat(Gf(),Wi(),Gf()),l++;var Xa=h(En,Ot,Ci,1);return b(fe,En,Ot,Ci,Xa)}function _n(fe){var jt=fe,Ot=void 0;if((Ot=Ww(fe))&&(fe+=Ot),Ot=_f(fe))fe+=Ot;else return 0;return fe-jt}function Wi(){var fe=i.AttributeNameType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];return Ww(l)&&En.push(Ek()),En=En.concat(tp()),b(fe,En,Ot,Ci)}function So(fe){var jt=void 0;return(jt=By(fe))?a[fe].attributeMatchType=1:(jt=WS(fe))&&(a[fe].attributeMatchType=2),jt}function dd(){var fe=a[l].attributeMatchType;return fe===1?h2():wR()}function By(fe){var jt=fe,Ot=a[fe].type;if(Ot===s.Tilde||Ot===s.VerticalLine||Ot===s.CircumflexAccent||Ot===s.DollarSign||Ot===s.Asterisk)fe++;else return 0;if(a[fe].type===s.EqualsSign)fe++;else return 0;return fe-jt}function h2(){var fe=i.AttributeMatchType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=a[l].value+a[l+1].value;return l+=2,b(fe,En,Ot,Ci)}function WS(fe){return a[fe].type===s.EqualsSign?1:0}function wR(){var fe=i.AttributeMatchType,jt=a[l],Ot=jt.ln,Ci=jt.col,En="=";return l++,b(fe,En,Ot,Ci)}function BR(fe){return xv(fe)||_f(fe)}function W7(){var fe=i.AttributeValueType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];return xv(l)?En.push(zv()):En=En.concat(tp()),b(fe,En,Ot,Ci)}function P4(fe){return _f(fe)}function X7(){var fe=i.AttributeFlagsType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=tp();return b(fe,En,Ot,Ci)}function Ww(fe){if(fe>=u)return 0;var jt=void 0;return(jt=VL(fe))?a[fe].namePrefixType=1:(jt=Z7(fe))&&(a[fe].namePrefixType=2),jt}function Ek(){var fe=a[l].namePrefixType;return fe===1?xk():kR()}function VL(fe){var jt=fe,Ot=void 0;if(Ot=XB(fe))fe+=Ot;else return 0;if((Ot=Di(fe))&&(fe+=Ot),Ot=N4(fe))fe+=Ot;else return 0;return fe-jt}function xk(){var fe=i.NamePrefixType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];return En.push(oN()),Di(l)&&En.push(ki()),En.push(W9()),b(fe,En,Ot,Ci)}function Z7(fe){return N4(fe)}function kR(){var fe=i.NamePrefixType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[W9()];return b(fe,En,Ot,Ci)}function XB(fe){if(fe>=u)return 0;var jt=void 0;return a[fe].type===s.Asterisk?1:(jt=_f(fe))?jt:0}function oN(){var fe=i.NamespacePrefixType,jt=a[l],Ot=jt.ln,Ci=jt.col,En=[];if(jt.type===s.Asterisk){var Xa=b(i.IdentType,"*",Ot,Ci);En.push(Xa),l++}else _f(l)&&(En=En.concat(tp()));return b(fe,En,Ot,Ci)}function N4(fe){return fe>=u||a[fe].type!==s.VerticalLine||a[fe+1]&&a[fe+1].type===s.EqualsSign?0:1}function W9(){var fe=i.NamespaceSeparatorType,jt=a[l],Ot=jt.ln,Ci=jt.col,En="|";return l++,b(fe,En,Ot,Ci)}e.exports=function(fe,jt){return a=fe,u=a.length,l=0,f[jt]()}}),(function(e,t,r){"use strict";e.exports=function(n,i){var s=r(13),a=[],u=!1,l=void 0,f=void 0,p=0,g=0,A=1,h=1,_={" ":s.Space,"\n":s.Newline,"\r":s.Newline," ":s.Tab,"!":s.ExclamationMark,'"':s.QuotationMark,"#":s.NumberSign,$:s.DollarSign,"%":s.PercentSign,"&":s.Ampersand,"'":s.Apostrophe,"(":s.LeftParenthesis,")":s.RightParenthesis,"*":s.Asterisk,"+":s.PlusSign,",":s.Comma,"-":s.HyphenMinus,".":s.FullStop,"/":s.Solidus,":":s.Colon,";":s.Semicolon,"<":s.LessThanSign,"=":s.EqualsSign,"==":s.EqualitySign,"!=":s.InequalitySign,">":s.GreaterThanSign,"?":s.QuestionMark,"@":s.CommercialAt,"[":s.LeftSquareBracket,"]":s.RightSquareBracket,"^":s.CircumflexAccent,_:s.LowLine,"{":s.LeftCurlyBracket,"|":s.VerticalLine,"}":s.RightCurlyBracket,"~":s.Tilde,"`":s.Backtick};function E(ue,me,Te){a.push({tn:g++,ln:A,col:Te,type:ue,value:me})}function b(ue){return"0123456789".indexOf(ue)>=0}function D(ue){for(var me=p;p1?(A+=le.length-1,h=le[le.length-1].length):h+=p-me}function Z(ue){var me=p;for(p+=2;p1&&(h+=i-1)):b(l)?M(ue):R(ue);return a}return oe(n)}}),(function(e,t,r){"use strict";var n=r(1),i=r(15);e.exports=function(){return new n({type:i.StylesheetType,content:[],start:[0,0],end:[0,0]})}})])})});var ars=j((hZg,srs)=>{var o7e=efe(),opl=nrs(),irs={before:""},aSe={before:"",between:""},Fzr={before:"",between:"",semicolon:!1},upl={before:""},lpl=["media"],Lzr=class{constructor(t){this.input=t}parse(){try{this.node=opl.parse(this.input.css,{syntax:"sass"})}catch(t){throw this.input.error(t.message,t.line,1)}this.lines=this.input.css.match(/^.*(\r?\n|$)/gm),this.root=this.stylesheet(this.node)}extractSource(t,r){let n=this.lines.slice(t.line-1,r.line);n[0]=n[0].substring(t.column-1);let i=n.length-1;return n[i]=n[i].substring(0,r.column),n.join("")}stylesheet(t){let r=o7e.root();return r.source={start:t.start,end:t.end,input:this.input},r.raws={semicolon:irs.semicolon,before:irs.before},this.raws={before:""},t.content.forEach(n=>this.process(n,r)),r}process(t,r){return this[t.type]&&this[t.type](t,r)||null}ruleset(t,r){this.raws.multiRuleProp="",t.content.forEach(n=>{switch(n.type){case"block":{let i=o7e.rule();i.selector="";let s={before:this.raws.before||aSe.before,between:aSe.between};this.raws.before="",this.raws.comment=!1,t.content.filter(a=>a.type==="block").forEach(a=>this.process(a,i)),i.nodes.length&&(i.selector=this.extractSource(t.start,n.start).slice(0,-1).replace(/\s+$/,a=>(s.between=a,"")),i.parent=r,i.source={start:t.start,end:t.end,input:this.input},i.raws=s,r.nodes.push(i));break}default:}})}block(t,r){if(this.raws.multiRule){this.raws.multiRulePropVariable&&(this.raws.multiRuleProp=`$${this.raws.multiRuleProp}`);let n=Object.assign(o7e.rule(),{source:{start:{line:t.start.line-1,column:t.start.column},end:t.end,input:this.input},raws:{before:this.raws.before||aSe.before,between:aSe.between},parent:r,selector:(this.raws.customProperty?"--":"")+this.raws.multiRuleProp});r.push(n),r=n}this.raws.before="",t.content.forEach(n=>this.process(n,r)),this.raws.multiRule&&(this.raws.beforeMulti=this.raws.before)}declaration(t,r){let n=!1,i=o7e.decl();i.prop="";let s=Object.assign(i.raws,{before:this.raws.before||Fzr.before,between:Fzr.between,semicolon:Fzr.semicolon});this.raws.property=!1,this.raws.betweenBefore=!1,this.raws.comment=!1,t.content.forEach(a=>{switch(a.type){case"customProperty":this.raws.customProperty=!0;case"property":{this.raws.property=!0,this.raws.multiRuleProp=a.content[0].content,this.raws.multiRulePropVariable=a.content[0].type==="variable",this.process(a,i);break}case"propertyDelimiter":{this.raws.property&&!this.raws.betweenBefore?(s.between+=a.content,this.raws.multiRuleProp+=a.content):(this.raws.betweenBefore=!0,s.before+=a.content,this.raws.multiRuleProp+=a.content);break}case"space":{s.between+=a.content;break}case"value":{switch(a.content[0].type){case"block":{n=!0,Array.isArray(a.content[0].content)&&(this.raws.multiRule=!0),this.process(a.content[0],r);break}case"variable":{i.value="$",this.process(a,i);break}case"color":{i.value="#",this.process(a,i);break}case"number":{a.content.length>1?i.value=a.content.join(""):this.process(a,i);break}case"parentheses":{i.value="(",this.process(a,i);break}default:this.process(a,i)}break}default:}}),n||(i.source={start:t.start,end:t.end,input:this.input},i.parent=r,r.nodes.push(i)),this.raws.before="",this.raws.customProperty=!1,this.raws.multiRuleProp="",this.raws.property=!1}customProperty(t,r){this.property(t,r),r.prop=`--${r.prop}`}property(t,r){switch(t.content[0].type){case"variable":{r.prop+="$";break}case"interpolation":{this.raws.interpolation=!0,r.prop+="#{";break}default:}r.prop+=t.content[0].content,this.raws.interpolation&&(r.prop+="}",this.raws.interpolation=!1)}value(t,r){r.value||(r.value=""),t.content.length&&t.content.forEach(n=>{switch(n.type){case"important":{r.raws.important=n.content,r.important=!0;let i=r.value.match(/^(.*?)(\s*)$/);i&&(r.raws.important=i[2]+r.raws.important,r.value=i[1]);break}case"parentheses":{r.value+=n.content.join("")+")";break}case"percentage":{r.value+=n.content.join("")+"%";break}default:n.content.constructor===Array?r.value+=n.content.join(""):r.value+=n.content}})}singlelineComment(t,r){return this.comment(t,r,!0)}multilineComment(t,r){return this.comment(t,r,!1)}comment(t,r,n){let i=t.content.match(/^(\s*)((?:\S[\S\s]*?)?)(\s*)$/);this.raws.comment=!0;let s=Object.assign(o7e.comment(),{text:i[2],raws:{before:this.raws.before||upl.before,left:i[1],right:i[3],inline:n},source:{start:{line:t.start.line,column:t.start.column},end:t.end,input:this.input},parent:r});this.raws.beforeMulti&&(s.raws.before+=this.raws.beforeMulti,this.raws.beforeMulti=void 0),r.nodes.push(s),this.raws.before=""}space(t,r){switch(r.type){case"root":{this.raws.before+=t.content;break}case"rule":{this.raws.comment?this.raws.before+=t.content:this.raws.loop?r.selector+=t.content:this.raws.before=(this.raws.before||` `)+t.content;break}default:}}declarationDelimiter(t){this.raws.before+=t.content}loop(t,r){let n=o7e.rule();this.raws.comment=!1,this.raws.multiRule=!1,this.raws.loop=!0,n.selector="",n.raws={before:this.raws.before||aSe.before,between:aSe.between},this.raws.beforeMulti&&(n.raws.before+=this.raws.beforeMulti,this.raws.beforeMulti=void 0),t.content.forEach((i,s)=>{t.content[s+1]&&t.content[s+1].type==="block"&&(this.raws.loop=!1),this.process(i,n)}),r.nodes.push(n),this.raws.loop=!1}atrule(t,r){if(!t.content[0].content.some(s=>lpl.includes(s.content)))return;let i=o7e.rule();i.selector="",i.raws={before:this.raws.before||aSe.before,between:aSe.between},t.content.forEach((s,a)=>{if(s.type==="space"){switch(t.content[a-1].type){case"atkeyword":case"ident":i.selector+=s.content;break;default:}return}this.process(s,i)}),r.nodes.push(i)}parentheses(t,r){r.selector+="(",t.content.forEach(n=>{typeof n.content=="string"&&(r.selector+=n.content),typeof n.content=="object"&&n.content.forEach(i=>{n.type==="variable"&&(r.selector+="$"),r.selector+=i.content})}),r.selector+=")"}interpolation(t,r){r.selector+="#{",t.content.forEach(n=>{this.process(n,r)}),r.selector+="}"}atkeyword(t,r){r.selector+=`@${t.content}`}operator(t,r){r.selector+=t.content}variable(t,r){if(this.raws.loop){r.selector+=`$${t.content[0].content}`;return}r.selector+=`$${t.content}`}ident(t,r){r.selector+=t.content}};srs.exports=Lzr});var urs=j((yZg,ors)=>{var cpl=Xce(),fpl=ars();ors.exports=(e,t)=>{let r=new cpl(e,t),n=new fpl(r);return n.parse(),n.root}});var crs=j((EZg,lrs)=>{var ppl=Wje();lrs.exports=class extends ppl{block(t,r){this.builder(r,t,"start"),t.nodes&&t.nodes.length&&this.body(t)}decl(t){super.decl(t,!1)}comment(t){let r=this.raw(t,"left","commentLeft"),n=this.raw(t,"right","commentRight");t.raws.inline?this.builder("//"+r+t.text+n,t):this.builder("/*"+r+t.text+n+"*/",t)}}});var prs=j((xZg,frs)=>{var dpl=crs();frs.exports=(e,t)=>{new dpl(t).stringify(e)}});var Mzr=j((vZg,drs)=>{var mpl=urs(),gpl=prs();drs.exports={parse:mpl,stringify:gpl}});var grs=j((CZg,mrs)=>{var Apl=Wje(),Qzr=class extends Apl{comment(t){let r=this.raw(t,"left","commentLeft"),n=this.raw(t,"right","commentRight");if(t.raws.inline){let i=t.raws.text||t.text;this.builder("//"+r+i+n,t)}else this.builder("/*"+r+t.text+n+"*/",t)}decl(t,r){if(!t.isNested)super.decl(t,r);else{let n=this.raw(t,"between","colon"),i=t.prop+n+this.rawValue(t,"value");t.important&&(i+=t.raws.important||" !important"),this.builder(i+"{",t,"start");let s;t.nodes&&t.nodes.length?(this.body(t),s=this.raw(t,"after")):s=this.raw(t,"after","emptyBody"),s&&this.builder(s),this.builder("}",t,"end")}}rawValue(t,r){let n=t[r],i=t.raws[r];return i&&i.value===n?i.scss?i.scss:i.raw:n}};mrs.exports=Qzr});var hrs=j((bZg,Ars)=>{var hpl=grs();Ars.exports=function(t,r){new hpl(r).stringify(t)}});var _rs=j((IZg,yrs)=>{var{Container:ypl}=efe(),jzr=class extends ypl{constructor(t){super(t),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};yrs.exports=jzr});var vrs=j((SZg,xrs)=>{"use strict";var wqt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Bqt=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_pl=/.[\r\n"'(/\\]/,Ers=/[\da-f]/i,kqt=/[\n\f\r]/g;xrs.exports=function(t,r={}){let n=t.css.valueOf(),i=r.ignoreErrors,s,a,u,l,f,p,g,A,h,_=n.length,E=0,b=[],D=[],k;function M(){return E}function R(oe){throw t.error("Unclosed "+oe,E)}function q(){return D.length===0&&E>=_}function G(){let oe=1,ue=!1,me=!1;for(;oe>0;)a+=1,n.length<=a&&R("interpolation"),s=n.charCodeAt(a),A=n.charCodeAt(a+1),ue?!me&&s===ue?(ue=!1,me=!1):s===92?me=!me:me&&(me=!1):s===39||s===34?ue=s:s===125?oe-=1:s===35&&A===123&&(oe+=1)}function K(oe){if(D.length)return D.pop();if(E>=_)return;let ue=oe?oe.ignoreUnclosed:!1;switch(s=n.charCodeAt(E),s){case 10:case 32:case 9:case 13:case 12:{a=E;do a+=1,s=n.charCodeAt(a);while(s===32||s===10||s===9||s===13||s===12);h=["space",n.slice(E,a)],E=a-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let me=String.fromCharCode(s);h=[me,me,E];break}case 44:{h=["word",",",E,E+1];break}case 40:{if(g=b.length?b.pop()[1]:"",A=n.charCodeAt(E+1),g==="url"&&A!==39&&A!==34){for(k=1,p=!1,a=E+1;a<=n.length-1;){if(A=n.charCodeAt(a),A===92)p=!p;else if(A===40)k+=1;else if(A===41&&(k-=1,k===0))break;a+=1}l=n.slice(E,a+1),h=["brackets",l,E,a],E=a}else a=n.indexOf(")",E+1),l=n.slice(E,a+1),a===-1||_pl.test(l)?h=["(","(",E]:(h=["brackets",l,E,a],E=a);break}case 39:case 34:{for(u=s,a=E,p=!1;a<_&&(a++,a===_&&R("string"),s=n.charCodeAt(a),A=n.charCodeAt(a+1),!(!p&&s===u));)s===92?p=!p:p?p=!1:s===35&&A===123&&G();h=["string",n.slice(E,a+1),E,a],E=a;break}case 64:{wqt.lastIndex=E+1,wqt.test(n),wqt.lastIndex===0?a=n.length-1:a=wqt.lastIndex-2,h=["at-word",n.slice(E,a+1),E,a],E=a;break}case 92:{for(a=E,f=!0;n.charCodeAt(a+1)===92;)a+=1,f=!f;if(s=n.charCodeAt(a+1),f&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(a+=1,Ers.test(n.charAt(a)))){for(;Ers.test(n.charAt(a+1));)a+=1;n.charCodeAt(a+1)===32&&(a+=1)}h=["word",n.slice(E,a+1),E,a],E=a;break}default:A=n.charCodeAt(E+1),s===35&&A===123?(a=E,G(),l=n.slice(E,a+1),h=["word",l,E,a],E=a):s===47&&A===42?(a=n.indexOf("*/",E+2)+1,a===0&&(i||ue?a=n.length:R("comment")),h=["comment",n.slice(E,a+1),E,a],E=a):s===47&&A===47?(kqt.lastIndex=E+1,kqt.test(n),kqt.lastIndex===0?a=n.length-1:a=kqt.lastIndex-2,l=n.slice(E,a+1),h=["comment",l,E,a,"inline"],E=a):(Bqt.lastIndex=E+1,Bqt.test(n),Bqt.lastIndex===0?a=n.length-1:a=Bqt.lastIndex-2,h=["word",n.slice(E,a+1),E,a],b.push(h),E=a);break}return E++,h}function Z(oe){D.push(oe)}return{back:Z,endOfFile:q,nextToken:K,position:M}}});var brs=j((TZg,Crs)=>{var{Comment:Epl}=efe(),xpl=ske(),vpl=_rs(),Cpl=vrs(),Uzr=class extends xpl{atrule(t){let r=t[1],n=t;for(;!this.tokenizer.endOfFile();){let i=this.tokenizer.nextToken();if(i[0]==="word"&&i[2]===n[3]+1)r+=i[1],n=i;else{this.tokenizer.back(i);break}}super.atrule(["at-word",r,t[2],n[3]])}comment(t){if(t[4]==="inline"){let r=new Epl;this.init(r,t[2]),r.raws.inline=!0;let n=this.input.fromOffset(t[3]);r.source.end={column:n.col,line:n.line,offset:t[3]+1};let i=t[1].slice(2);if(/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{let s=i.match(/^(\s*)([^]*\S)(\s*)$/),a=s[2].replace(/(\*\/|\/\*)/g,"*//*");r.text=a,r.raws.left=s[1],r.raws.right=s[3],r.raws.text=s[2]}}else super.comment(t)}createTokenizer(){this.tokenizer=Cpl(this.input)}raw(t,r,n,i){if(super.raw(t,r,n,i),t.raws[r]){let s=t.raws[r].raw;t.raws[r].raw=n.reduce((a,u)=>{if(u[0]==="comment"&&u[4]==="inline"){let l=u[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return a+"/*"+l+"*/"}else return a+u[1]},""),s!==t.raws[r].raw&&(t.raws[r].scss=s)}}rule(t){let r=!1,n=0,i="";for(let s of t)if(r)s[0]!=="comment"&&s[0]!=="{"&&(i+=s[1]);else{if(s[0]==="space"&&s[1].includes(` `))break;s[0]==="("?n+=1:s[0]===")"?n-=1:n===0&&s[0]===":"&&(r=!0)}if(!r||i.trim()===""||/^[#:A-Za-z-]/.test(i))super.rule(t);else{t.pop();let s=new vpl;this.init(s,t[0][2]);let a;for(let l=t.length-1;l>=0;l--)if(t[l][0]!=="space"){a=t[l];break}if(a[3]){let l=this.input.fromOffset(a[3]);s.source.end={column:l.col,line:l.line,offset:a[3]+1}}else{let l=this.input.fromOffset(a[2]);s.source.end={column:l.col,line:l.line,offset:a[2]+1}}for(;t[0][0]!=="word";)s.raws.before+=t.shift()[1];if(t[0][2]){let l=this.input.fromOffset(t[0][2]);s.source.start={column:l.col,line:l.line,offset:t[0][2]}}for(s.prop="";t.length;){let l=t[0][0];if(l===":"||l==="space"||l==="comment")break;s.prop+=t.shift()[1]}s.raws.between="";let u;for(;t.length;)if(u=t.shift(),u[0]===":"){s.raws.between+=u[1];break}else s.raws.between+=u[1];(s.prop[0]==="_"||s.prop[0]==="*")&&(s.raws.before+=s.prop[0],s.prop=s.prop.slice(1)),s.raws.between+=this.spacesAndCommentsFromStart(t),this.precheckMissedSemicolon(t);for(let l=t.length-1;l>0;l--){if(u=t[l],u[1]==="!important"){s.important=!0;let f=this.stringFrom(t,l);f=this.spacesFromEnd(t)+f,f!==" !important"&&(s.raws.important=f);break}else if(u[1]==="important"){let f=t.slice(0),p="";for(let g=l;g>0;g--){let A=f[g][0];if(p.trim().indexOf("!")===0&&A!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(s.important=!0,s.raws.important=p,t=f)}if(u[0]!=="space"&&u[0]!=="comment")break}this.raw(s,"value",t),s.value.includes(":")&&this.checkMissedSemicolon(t),this.current=s}}};Crs.exports=Uzr});var Srs=j((DZg,Irs)=>{var{Input:bpl}=efe(),Ipl=brs();Irs.exports=function(t,r){let n=new bpl(t,r),i=new Ipl(n);return i.parse(),i.root}});var qzr=j((wZg,Trs)=>{var Spl=hrs(),Tpl=Srs();Trs.exports={parse:Tpl,stringify:Spl}});var Drs=j((BZg,Yzr)=>{var Dpl=fIe(),wpl=Xce();Yzr.exports={isInlineComment(e){if(e[0]==="word"&&e[1].slice(0,2)==="//"){let t=e,r=[],n,i;for(;e;){if(/\r?\n/.test(e[1])){if(/['"].*\r?\n/.test(e[1])){r.push(e[1].substring(0,e[1].indexOf(` `))),i=e[1].substring(e[1].indexOf(` `));let a=this.input.css.valueOf().substring(this.tokenizer.position());i+=a,n=e[3]+a.length-i.length}else this.tokenizer.back(e);break}r.push(e[1]),n=e[2],e=this.tokenizer.nextToken({ignoreUnclosed:!0})}let s=["comment",r.join(""),t[2],n];return this.inlineComment(s),i&&(this.input=new wpl(i),this.tokenizer=Dpl(this.input)),!0}else if(e[1]==="/"){let t=this.tokenizer.nextToken({ignoreUnclosed:!0});if(t[0]==="comment"&&/^\/\*/.test(t[1]))return t[0]="word",t[1]=t[1].slice(1),e[1]="//",this.tokenizer.back(t),Yzr.exports.isInlineComment.bind(this)(e)}return!1}}});var Brs=j((kZg,wrs)=>{wrs.exports={interpolation(e){let t=[e,this.tokenizer.nextToken()],r=["word","}"];if(t[0][1].length>1||t[1][0]!=="{")return this.tokenizer.back(t[1]),!1;for(e=this.tokenizer.nextToken();e&&r.includes(e[0]);)t.push(e),e=this.tokenizer.nextToken();let n=t.map(u=>u[1]),[i]=t,s=t.pop(),a=["word",n.join(""),i[2],s[2]];return this.tokenizer.back(e),this.tokenizer.back(a),!0}}});var Prs=j((PZg,krs)=>{var Bpl=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,kpl=/\.[0-9]/,Ppl=e=>{let[,t]=e,[r]=t;return(r==="."||r==="#")&&Bpl.test(t)===!1&&kpl.test(t)===!1};krs.exports={isMixinToken:Ppl}});var Ors=j((NZg,Nrs)=>{var Npl=fIe(),Opl=/^url\((.+)\)/;Nrs.exports=e=>{let{name:t,params:r=""}=e;if(t==="import"&&r.length){e.import=!0;let n=Npl({css:r});for(e.filename=r.replace(Opl,"$1");!n.endOfFile();){let[i,s]=n.nextToken();if(i==="word"&&s==="url")return;if(i==="brackets"){e.options=s,e.filename=r.replace(s,"").trim();break}}}}});var Mrs=j((OZg,Lrs)=>{var Rrs=/:$/,Frs=/^:(\s+)?/;Lrs.exports=e=>{let{name:t,params:r=""}=e;if(e.name.slice(-1)===":"){if(Rrs.test(t)){let[n]=t.match(Rrs);e.name=t.replace(n,""),e.raws.afterName=n+(e.raws.afterName||""),e.variable=!0,e.value=e.params}if(Frs.test(r)){let[n]=r.match(Frs);e.value=r.replace(n,""),e.raws.afterName=(e.raws.afterName||"")+n,e.variable=!0}}}});var Urs=j((FZg,jrs)=>{var Rpl=pIe(),Fpl=ske(),{isInlineComment:Lpl}=Drs(),{interpolation:Qrs}=Brs(),{isMixinToken:Mpl}=Prs(),Qpl=Ors(),jpl=Mrs(),Upl=/(!\s*important)$/i;jrs.exports=class extends Fpl{constructor(...t){super(...t),this.lastNode=null}atrule(t){Qrs.bind(this)(t)||(super.atrule(t),Qpl(this.lastNode),jpl(this.lastNode))}decl(...t){super.decl(...t),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(t){t[0][1]=` ${t[0][1]}`;let r=t.findIndex(u=>u[0]==="("),n=t.reverse().find(u=>u[0]===")"),i=t.reverse().indexOf(n),a=t.splice(r,i).map(u=>u[1]).join("");for(let u of t.reverse())this.tokenizer.back(u);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=a}init(t,r,n){super.init(t,r,n),this.lastNode=t}inlineComment(t){let r=new Rpl,n=t[1].slice(2);if(this.init(r,t[2]),r.source.end=this.getPosition(t[3]||t[2]),r.inline=!0,r.raws.begin="//",/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*[^\s])(\s*)$/);[,r.raws.left,r.text,r.raws.right]=i}}mixin(t){let[r]=t,n=r[1].slice(0,1),i=t.findIndex(f=>f[0]==="brackets"),s=t.findIndex(f=>f[0]==="("),a="";if((i<0||i>3)&&s>0){let f=t.reduce((M,R,q)=>R[0]===")"?q:M),g=t.slice(s,f+s).map(M=>M[1]).join(""),[A]=t.slice(s),h=[A[2],A[3]],[_]=t.slice(f,f+1),E=[_[2],_[3]],b=["brackets",g].concat(h,E),D=t.slice(0,s),k=t.slice(f+1);t=D,t.push(b),t=t.concat(k)}let u=[];for(let f of t)if((f[1]==="!"||u.length)&&u.push(f),f[1]==="important")break;if(u.length){let[f]=u,p=t.indexOf(f),g=u[u.length-1],A=[f[2],f[3]],h=[g[4],g[5]],E=["word",u.map(b=>b[1]).join("")].concat(A,h);t.splice(p,u.length,E)}let l=t.findIndex(f=>Upl.test(f[1]));l>0&&([,a]=t[l],t.splice(l,1));for(let f of t.reverse())this.tokenizer.back(f);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=n,a&&(this.lastNode.important=!0,this.lastNode.raws.important=a)}other(t){Lpl.bind(this)(t)||super.other(t)}rule(t){let r=t[t.length-1],n=t[t.length-2];if(n[0]==="at-word"&&r[0]==="{"&&(this.tokenizer.back(r),Qrs.bind(this)(n))){let s=this.tokenizer.nextToken();t=t.slice(0,t.length-2).concat([s]);for(let a of t.reverse())this.tokenizer.back(a);return}super.rule(t),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(t){let[r]=t;if(t[0][1]==="each"&&t[1][0]==="("){this.each(t);return}if(Mpl(r)){this.mixin(t);return}super.unknownWord(t)}}});var Yrs=j((MZg,qrs)=>{var qpl=Wje();qrs.exports=class extends qpl{atrule(t,r){if(!t.mixin&&!t.variable&&!t.function){super.atrule(t,r);return}let i=`${t.function?"":t.raws.identifier||"@"}${t.name}`,s=t.params?this.rawValue(t,"params"):"",a=t.raws.important||"";if(t.variable&&(s=t.value),typeof t.raws.afterName<"u"?i+=t.raws.afterName:s&&(i+=" "),t.nodes)this.block(t,i+s+a);else{let u=(t.raws.between||"")+a+(r?";":"");this.builder(i+s+u,t)}}comment(t){if(t.inline){let r=this.raw(t,"left","commentLeft"),n=this.raw(t,"right","commentRight");this.builder(`//${r}${t.text}${n}`,t)}else super.comment(t)}}});var Vzr=j((QZg,Gzr)=>{var Ypl=Xce(),Gpl=Urs(),Vpl=Yrs();Gzr.exports={parse(e,t){let r=new Ypl(e,t),n=new Gpl(r);return n.parse(),n.root.walk(i=>{let s=r.css.lastIndexOf(i.source.input.css);if(s===0)return;if(s+i.source.input.css.length!==r.css.length)throw new Error("Invalid state detected in postcss-less");let a=s+i.source.start.offset,u=r.fromOffset(s+i.source.start.offset);if(i.source.start={offset:a,line:u.line,column:u.col},i.source.end){let l=s+i.source.end.offset,f=r.fromOffset(s+i.source.end.offset);i.source.end={offset:l,line:f.line,column:f.col}}}),n.root},stringify(e,t){new Vpl(t).stringify(e)},nodeToString(e){let t="";return Gzr.exports.stringify(e,r=>{t+=r}),t}}});var Jrs=j((jZg,Krs)=>{"use strict";var $pl=require("path"),Kpl=Nzr(),{cssSyntax:Vrs,cssSafeSyntax:$rs}=Ozr(),{loadModule:Jpl,isModuleNotFoundError:Hpl}=rrs(),zpl=[{test:/^sass$/i,lang:"sass"},{test:/^scss$/i,lang:"scss"},{test:/^less$/i,lang:"less"},{test:/^s(?:ugar)?ss$/i,lang:"sugarss"},{test:/^styl(?:us)?$/i,lang:"stylus"},{test:/^postcss$/i,lang:"css"}],Wpl={sass:"postcss-sass",scss:"postcss-scss",less:"postcss-less",sugarss:"sugarss",stylus:"postcss-styl"};Krs.exports=function(t){let{rules:r=[],...n}=t||{},i=[...r,...zpl],s=new Set(["css",...r.map(a=>a.lang),...Object.keys(n)]);return function(u,l){let f=u||"css",p=l||{},g=process.cwd(),A=$pl.join(g,`__placeholder__.${f}`);for(let _ of i){let E=new RegExp(_.test);if(E.test(f)||E.test(A)){f=_.lang;break}}f=f.toLowerCase();let h=n[f]||Wpl[f];if(h){if(typeof h=="string"){let _=Xpl(h,p);if(_)return _;if(s.has(f))throw new Error(`Cannot resolve module "${h}". It's likely that the module isn't installed correctly. Try reinstalling by running the \`npm install ${h}@latest --save-dev\``)}if(h===Kpl)return $rs;if(typeof h.parse=="function")return h}return s.has(f)?p.defaultSyntax||Vrs:null}};var Grs={"postcss-sass":()=>Mzr(),"postcss-scss":()=>qzr(),"postcss-less":()=>Vzr()};function Xpl(e,t){if(e==="postcss")return t.defaultSyntax||Vrs;if(e==="postcss-safe-parser")return $rs;let r=Jpl(e);if(r)return r;if(Grs[e])try{return Grs[e]()}catch(n){if(!Hpl(n))throw n}return null}});var $zr=j((UZg,Hrs)=>{"use strict";var Zpl=fIe();function edl(...e){let t=Zpl(...e);function r(...n){let i=[],s,a,u=0;for(;(s=t.nextToken.apply(t,n))&&(s[0]!=="word"&&(s[0]==="{"?++u:s[0]==="}"&&--u),(u||i.length)&&(a=s[3]||s[2]||a,i.push(s)),!!u););return i.length&&(s=["word",i.map(l=>l[1]).join(""),i[0][2],a]),s}return Object.assign({},t,{nextToken:r})}Hrs.exports=edl});var Wrs=j((qZg,zrs)=>{"use strict";var tdl=ske(),rdl=$zr(),Kzr=class extends tdl{createTokenizer(){this.tokenizer=rdl(this.input)}};zrs.exports=Kzr});var Zrs=j((YZg,Xrs)=>{"use strict";var ndl=Pzr(),idl=$zr(),Jzr=class extends ndl{createTokenizer(){this.tokenizer=idl(this.input,{ignoreErrors:!0})}};Xrs.exports=Jzr});var tns=j((GZg,ens)=>{"use strict";var sdl=aUe(),adl=Wrs(),odl=Zrs(),udl=Xce();function ldl(e,t,r){let n=new udl(e,t),i=new r(n);return i.parse(),i.root}ens.exports=function(t){return{parse(r,n){return ldl(r,n,t.parse===sdl?adl:odl)},stringify(...r){return t.stringify(...r)}}}});var ans=j((VZg,sns)=>{var rns,Pqt,Nqt,Oqt,Rqt,Fqt,llt,Hzr,flt,Lqt,nns,Mqt,clt,Qqt,jqt,Uqt,u7e,ins,qqt,Yqt,cdl;Qqt=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;clt=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;Pqt=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;Uqt=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;Mqt=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;u7e=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;Yqt=/[\t\v\f\ufeff\p{Zs}]+/yu;flt=/\r?\n|[\r\u2028\u2029]/y;Lqt=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;jqt=/\/\/.*/y;rns=/^#!.*/;Oqt=/[<>.:={}]|\/(?![\/*])/y;Nqt=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;Rqt=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;Fqt=/[^<>{}]+/y;qqt=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;ins=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;llt=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;Hzr=/^(?:return|throw|yield)$/;nns=RegExp(flt.source);sns.exports=cdl=function*(e,{jsx:t=!1}={}){var r,n,i,s,a,u,l,f,p,g,A,h,_,E;for({length:u}=e,s=0,a="",E=[{tag:"JS"}],r=[],A=0,h=!1,(l=rns.exec(e))&&(yield{type:"HashbangComment",value:l[0]},s=l[0].length);s":E.pop(),a==="/"||f.tag==="JSXTagEnd"?(g="?JSX",h=!0):E.push({tag:"JSXChildren"});break;case"{":E.push({tag:"InterpolationInJSX",nesting:r.length}),g="?InterpolationInJSX",h=!1;break;case"/":a==="<"&&(E.pop(),E[E.length-1].tag==="JSXChildren"&&E.pop(),E.push({tag:"JSXTagEnd"}))}a=g,yield{type:"JSXPunctuator",value:l[0]};continue}if(Nqt.lastIndex=s,l=Nqt.exec(e)){s=Nqt.lastIndex,a=l[0],yield{type:"JSXIdentifier",value:l[0]};continue}if(Rqt.lastIndex=s,l=Rqt.exec(e)){s=Rqt.lastIndex,a=l[0],yield{type:"JSXString",value:l[0],closed:l[2]!==void 0};continue}break;case"JSXChildren":if(Fqt.lastIndex=s,l=Fqt.exec(e)){s=Fqt.lastIndex,a=l[0],yield{type:"JSXText",value:l[0]};continue}switch(e[s]){case"<":E.push({tag:"JSXTag"}),s++,a="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":E.push({tag:"InterpolationInJSX",nesting:r.length}),s++,a="?InterpolationInJSX",h=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(Yqt.lastIndex=s,l=Yqt.exec(e)){s=Yqt.lastIndex,yield{type:"WhiteSpace",value:l[0]};continue}if(flt.lastIndex=s,l=flt.exec(e)){s=flt.lastIndex,h=!1,Hzr.test(a)&&(a="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:l[0]};continue}if(Lqt.lastIndex=s,l=Lqt.exec(e)){s=Lqt.lastIndex,nns.test(l[0])&&(h=!1,Hzr.test(a)&&(a="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:l[0],closed:l[1]!==void 0};continue}if(jqt.lastIndex=s,l=jqt.exec(e)){s=jqt.lastIndex,h=!1,yield{type:"SingleLineComment",value:l[0]};continue}n=String.fromCodePoint(e.codePointAt(s)),s+=n.length,a=n,h=!1,yield{type:f.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:n}}}});var zzr=j((KZg,ons)=>{"use strict";var fdl=Bzr(),pdl=ans(),ddl=123;ons.exports=class extends fdl.Tokenizer{stateBeforeAttributeValue(t){if(t===ddl){let r=this.index,n=mdl(this.buffer,r+1);if(n!=null){this.sectionStart=r,this.index=n+1,this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=8,this.stateBeforeAttributeName(this.buffer.charCodeAt(this.index));return}}super.stateBeforeAttributeValue(t)}};function mdl(e,t){let r=t,n=0;for(let i of pdl(e.slice(t))){if(i.value==="}"){if(n===0)return r;n--}else i.value==="{"&&n++;r+=i.value.length}return null}});var lns=j((HZg,uns)=>{"use strict";var gdl=zzr(),Adl=45,hdl=10;uns.exports=class extends gdl{constructor(...t){super(...t),this._hasFrontmatter=!1}parse(){super.parse()}stateText(t){if(!this._hasFrontmatter){if(t===Adl){let r=this.index-this.offset;if(r===0&&this.buffer.slice(r,r+3)==="---"){let n=this.buffer.indexOf(` ---`,r+3);if(n>=0){this.index=n+3,this._hasFrontmatter=!0;return}}}if(t===hdl){let r=this.index-this.offset;if(this.buffer.slice(r,r+4)===` ---`){let n=this.buffer.indexOf(` ---`,r+4);if(n>=0){this.index=n+3,this._hasFrontmatter=!0;return}}}}super.stateText(t)}}});var pns=j((zZg,fns)=>{"use strict";var ydl=Bzr(),_dl=Jrs(),Edl=tns(),xdl=zzr(),vdl=lns(),{cssSafeSyntax:Cdl}=Ozr();function bdl(e,{onStyleTag:t,onStyleAttribute:r,svelte:n,astro:i}){let s={},a,u,l,f=new ydl.Parser({oncomment:p=>{u=!1;let g=/(?:^|\s+)postcss-(\w+)(?:\s+|$)/i.exec(p);if(!g)return;let A=g[1].toLowerCase();A==="enable"?a=!1:A==="disable"?a=!0:A==="ignore"&&(u=!0)},onopentag(p,g){s[p]=!0;let A=u;u=!1,!A&&/^style$/i.test(p)&&(l={inXsls:s["xsl:stylesheet"],inXslt:s["xsl:template"],inHtml:s.html,tagName:p,attribute:g,startIndex:f.endIndex+1})},onclosetag(p){if(s[p]=!1,u=!1,a||!l||p!==l.tagName)return;let g=e.slice(l.startIndex,f.startIndex),A=/^[\t ]*\r?\n/.exec(g);if(A){let h=A[0].length;l.startIndex+=h,g=g.slice(h)}l.content=g.replace(/[\t ]*$/,""),t(l),l=null},onattribute(p,g){if(a||u||p!=="style")return;let A=f.endIndex,h=A-g.length;e[h-1]!==e[A]||!/\S/.test(e[A])||r({content:g,startIndex:h,inline:!0,inTemplate:s.template})}},{Tokenizer:n?xdl:i?vdl:void 0});f.parseComplete(e)}function cns(e,t){let r=e&&t.exec(e);if(r)return r[1].toLowerCase()}function Idl(e){return cns(e.type,/^\w+\/(?:x-)?(\w+)$/i)||cns(e.lang,/^(\w+)(?:\?.+)?$/)||"css"}function Sdl(e,t){let r=[],n=_dl(t.config),i=t.from&&/\.(?:\w*html?|xht|xslt?|jsp|aspx?|ejs|php\d*|twig|liquid|m(?:ark)?d(?:ow)?n|mk?d)$/i.test(t.from),s=t.from&&/\.svelte$/i.test(t.from),a=t.from&&/\.astro$/i.test(t.from);function u(f){!(f.inHtml||f.inXsls||f.inXslt||i)&&(f.attribute.src||f.attribute.href)&&!f.content.trim()||(f.lang=Idl(f.attribute),f.syntax=n(f.lang),f.syntax&&r.push(f))}function l(f){/\{[\s\S]*?\}/.test(f.content)?(f.syntax=Edl(n("css",{defaultSyntax:s?Cdl:void 0})),f.lang="custom-template"):(f.syntax=n(),f.lang="css"),r.push(f)}return bdl(e,{onStyleTag:u,onStyleAttribute:l,svelte:s,astro:a}),r}fns.exports=Sdl});var Wzr=j((WZg,mns)=>{"use strict";var dns=tke(),Tdl=Xzr();mns.exports=Ddl;function Ddl(e,t){if(!(e instanceof Tdl)){let r=e.source.syntax||e.root().source.syntax;r&&r.stringify?r.stringify(e,t):dns(e,t);return}e.nodes.length?e.nodes.forEach(r=>{t(r.raws.codeBefore,r,"codeBefore"),r.source.syntax?r.source.syntax.stringify(r,t):dns(r,t),t(r.raws.codeAfter||"",r,"codeAfter")}):t(e.source.input.css)}});var Xzr=j((XZg,gns)=>{"use strict";var{Document:wdl}=efe(),Zzr=class extends wdl{toString(t){return super.toString(t||{stringify:Wzr()})}each(t){let r=this.nodes.map(n=>n.each(t));return r.every(n=>n!==!1)&&r.pop()}append(...t){return this.last.append.apply(this.last,t),this}prepend(...t){return this.first.prepend.apply(this.first,t),this}insertBefore(t,r){return t.prepend(r),this}insertAfter(t,r){return t.append(r),this}};gns.exports=Zzr});var yns=j((ZZg,hns)=>{"use strict";var Bdl=Xce(),kdl=Xzr(),Ans=/\r?\n|\r/g,eWr=class{constructor(t){let r,n=[];for(Ans.lastIndex=0;r=Ans.exec(t);)n.push(r.index);n.push(t.length),this.lines=n,this.source=t}getOffsetFromLoc(t){let r=t.line-2;return(r>=0?this.lines[r]:-1)+t.column}getLocFromOffset(t){let r=this.lines;for(let i=0;i=t){let a=this.lines[i-1];return{line:i+1,column:t-(a??-1)}}let n=this.lines[this.lines.length-2];return{line:r.length,column:t-(n??-1)}}},tWr=class{constructor(t,r){let{line:n,column:i}=t.getLocFromOffset(r.startIndex);this.line=n-1,this.column=i-1,this.style=r,this.source=t.source}fixLocation(t){t&&(t.line===1&&(t.column+=this.column),t.line+=this.line,typeof t.offset=="number"&&(t.offset+=this.style.startIndex),typeof t.endLine=="number"&&(t.endLine===1&&(t.endColumn+=this.column),t.endLine+=this.line))}node(t){this.fixLocation(t.source.start),this.fixLocation(t.source.end)}root(t){this.node(t),t.walk(r=>{this.node(r)})}error(t){return t&&t.name==="CssSyntaxError"&&(this.fixLocation(t),this.fixLocation(t.input),t.message=t.message.replace(/:\d+:\d+:/,`:${t.line}:${t.column}:`)),t}parse(t){let r=this.style,n=r.syntax,i;try{i=n.parse(r.content,Object.assign({},t,{document:this.source,map:!1},r.opts))}catch(s){throw this.error(s),s}return this.root(i),i.source.inline=!!r.inline,i.source.lang=r.lang,i.source.syntax=n,Odl(i,n),i}};function Pdl(e,t){let r=new eWr(e);return function(i){return new tWr(r,i).parse(t)}}function Ndl(e,t,r){let n=new kdl,i=0;if(r.length){let a=Pdl(e,t);r.sort((u,l)=>u.startIndex-l.startIndex).forEach(u=>{let l=a(u);if(l){l.raws.codeBefore=e.slice(i,u.startIndex);try{Object.defineProperty(l.raws,"beforeStart",{configurable:!0,get(){return l.raws.codeBefore},set(f){l.raws.codeBefore=f}})}catch{}i=u.startIndex+(u.content||l.source.input.css).length,l.document=n,n.nodes.push(l)}})}let s=n.nodes[n.nodes.length-1];return s&&(s.raws.codeAfter=i?e.slice(i):e),n.source={input:new Bdl(e,t),start:{line:1,column:1},opts:t},n}hns.exports=Ndl;function Odl(e,t){let r=e.toString;try{Object.defineProperty(e,"toString",{configurable:!0,enumerable:!1,value(n){return r.call(this,n||t)}})}catch{}}});var Ens=j((eeA,_ns)=>{"use strict";var Rdl=pns(),Fdl=yns();_ns.exports=function(t,r){let n=Fdl(t,r,Rdl(t,r));return n.source.lang="html",n.source.syntax=r.syntax,n}});var Cns=j((teA,vns)=>{"use strict";var Ldl=Ens(),Mdl=Wzr();function Gqt(e){let t={parse:(r,n)=>Ldl(String(r),{config:e,syntax:t,...n||{}}),stringify:Mdl};return t}var xns=Gqt();Gqt.parse=xns.parse;Gqt.stringify=xns.stringify;vns.exports=Gqt});var Ins=j((seA,bns)=>{"use strict";var Qdl=[".html",".htm",".shtml",".xhtml",".xht",".mdoc",".jsp",".asp",".aspx",".jshtm",".volt",".ejs",".rhtml"];bns.exports={overrides:[{files:Qdl.flatMap(e=>[`*${e}`,`**/*${e}`]),customSyntax:"postcss-html"}]}});var Tns=j((aeA,Sns)=>{"use strict";var jdl=[".vue"];Sns.exports={overrides:[{files:jdl.flatMap(e=>[`*${e}`,`**/*${e}`]),customSyntax:"postcss-html"}]}});var Ons=j((AeA,Nns)=>{var uWr={px:{px:1,cm:37.79527559055118,mm:3.7795275590551185,in:96,pt:1.3333333333333333,pc:16},cm:{px:.026458333333333334,cm:1,mm:.1,in:2.54,pt:.035277777777777776,pc:.42333333333333334},mm:{px:.26458333333333334,cm:10,mm:1,in:25.4,pt:.35277777777777775,pc:4.233333333333333},in:{px:.010416666666666666,cm:.39370078740157477,mm:.03937007874015748,in:1,pt:.013888888888888888,pc:.16666666666666666},pt:{px:.75,cm:28.346456692913385,mm:2.834645669291339,in:72,pt:1,pc:12},pc:{px:.0625,cm:2.3622047244094486,mm:.2362204724409449,in:6,pt:.08333333333333333,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:1.1111111111111112,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:Math.PI*2},turn:{deg:.002777777777777778,grad:.0025,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:.39370078740157477,dppx:.010416666666666666},dpcm:{dpi:2.54,dpcm:1,dppx:.026458333333333334},dppx:{dpi:96,dpcm:37.79527559055118,dppx:1}};Nns.exports=function(e,t,r,n){if(!uWr.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!uWr[r].hasOwnProperty(t))throw new Error("Cannot convert from "+t+" to "+r);var i=uWr[r][t]*e;return n!==!1?(n=Math.pow(10,parseInt(n)||5),Math.round(i*n)/n):i}});function bu(e){return`${Bml}/${e}`}var Bml,Xd=Er(()=>{Bml="@stylistic"});function Bu(e){return`https://github.com/stylelint-stylistic/stylelint-stylistic/blob/main/lib/rules/${e}/README.md`}var im=Er(()=>{});function rse(e){return!(!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}var xYe=Er(()=>{});var ris={};Mt(ris,{default:()=>Oml,messages:()=>CWr,meta:()=>tis,ruleName:()=>dlt});function Jqt(e){return(t,r)=>{if(!Nml(r,dlt,{actual:e,possible:["lower","upper"]}))return;let i=e;t.walkAtRules(s=>{if(!rse(s))return;let a=s.name,u=i==="lower"?a.toLowerCase():a.toUpperCase();a!==u&&kml({message:CWr.expected,messageArgs:[a,u],node:s,ruleName:dlt,result:r,fix(){s.name=u}})})}}var kml,Pml,Nml,eis,dlt,CWr,tis,Oml,nis=Er(()=>{mp();Xd();im();xYe();({utils:{report:kml,ruleMessages:Pml,validateOptions:Nml}}=ro),eis="at-rule-name-case",dlt=bu(eis),CWr=Pml(dlt,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),tis={url:Bu(eis),fixable:!0};Jqt.ruleName=dlt;Jqt.messages=CWr;Jqt.meta=tis;Oml=Jqt});function Hqt(e){e.root.walkAtRules(r=>{rse(r)&&t(`@${r.name}${r.raws.afterName||""}${r.params}`,r.name.length,r)});function t(r,n,i){e.locationChecker({source:r,index:n,err:s=>{Rml({message:s,node:i,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(i):void 0})},errTarget:`@${i.name}`})}}var Rml,bWr=Er(()=>{mp();xYe();({utils:{report:Rml}}=ro)});function IWr(e){let t=new Error(e);return t.code=78,t}var iis=Er(()=>{});function BO(e){return!/[\n\r]/.test(e)}var vYe=Er(()=>{});function LX(e){return[" ",` `," ","\r","\f"].includes(e)}var zqt=Er(()=>{});function CYe(e){return typeof e=="boolean"||e instanceof Boolean}function Fml(e){return typeof e=="function"||e instanceof Function}function tye(e){return e==null}function C7(e){return typeof e=="number"||e instanceof Number}function Wqt(e){return e!==null&&typeof e=="object"}function c7e(e){return e instanceof RegExp}function kO(e){return typeof e=="string"||e instanceof String}function sis(e,t=void 0){t?console.assert(e,t):console.assert(e)}function bYe(e){console.assert(Fml(e),`"${e}" must be a function`)}function uSe(e){console.assert(kO(e),`"${e}" must be a string`)}var RQ=Er(()=>{});function ud(e,t,r){let n;function i({source:h,index:_,err:E,errTarget:b,lineCheckStr:D,onlyOneChar:k=!1,allowIndentation:M=!1}){switch(n={source:h,index:_,err:E,errTarget:b,onlyOneChar:k,allowIndentation:M},t){case"always":u();break;case"never":f();break;case"always-single-line":if(!BO(D||h))return;u(r.expectedBeforeSingleLine);break;case"never-single-line":if(!BO(D||h))return;f(r.rejectedBeforeSingleLine);break;case"always-multi-line":if(BO(D||h))return;u(r.expectedBeforeMultiLine);break;case"never-multi-line":if(BO(D||h))return;f(r.rejectedBeforeMultiLine);break;default:throw IWr(`Unknown expectation "${t}"`)}}function s({source:h,index:_,err:E,errTarget:b,lineCheckStr:D,onlyOneChar:k=!1}){switch(n={source:h,index:_,err:E,errTarget:b,onlyOneChar:k},t){case"always":g();break;case"never":A();break;case"always-single-line":if(!BO(D||h))return;g(r.expectedAfterSingleLine);break;case"never-single-line":if(!BO(D||h))return;A(r.rejectedAfterSingleLine);break;case"always-multi-line":if(BO(D||h))return;g(r.expectedAfterMultiLine);break;case"never-multi-line":if(BO(D||h))return;A(r.rejectedAfterMultiLine);break;default:throw IWr(`Unknown expectation "${t}"`)}}function a(h){i({...h,allowIndentation:!0})}function u(h=r.expectedBefore){if(n.allowIndentation){l(h);return}let _=n,E=_.source,b=_.index,D=E[b-1],k=E[b-2];tye(D)||e==="space"&&D===" "&&(n.onlyOneChar||tye(k)||!LX(k))||(bYe(h),n.err(h(n.errTarget||E.charAt(b))))}function l(h=r.expectedBefore){let _=n,E=_.source,b=_.index,D=_.err,k=e==="newline"?` `:void 0,M=b-1;for(;E[M]!==k;){if(E[M]===" "||E[M]===" "){M--;continue}bYe(h),D(h(n.errTarget||E.charAt(b)));return}}function f(h=r.rejectedBefore){let _=n,E=_.source,b=_.index,D=E[b-1];!tye(D)&&LX(D)&&(bYe(h),n.err(h(n.errTarget||E.charAt(b))))}function p(h){s({...h,onlyOneChar:!0})}function g(h=r.expectedAfter){let _=n,E=_.source,b=_.index,D=E[b+1],k=E[b+2],M=E[b+3];tye(D)||e==="newline"&&(D==="\r"&&k===` `&&(n.onlyOneChar||tye(M)||!LX(M))||D===` `&&(n.onlyOneChar||tye(k)||!LX(k)))||e==="space"&&D===" "&&(n.onlyOneChar||tye(k)||!LX(k))||(bYe(h),n.err(h(n.errTarget||E.charAt(b))))}function A(h=r.rejectedAfter){let _=n,E=_.source,b=_.index,D=E[b+1];!tye(D)&&LX(D)&&(bYe(h),n.err(h(n.errTarget||E.charAt(b))))}return{before:i,beforeAllowingIndentation:a,after:s,afterOneOnly:p}}var yy=Er(()=>{iis();vYe();zqt();RQ()});var uis={};Mt(uis,{default:()=>Qml,messages:()=>SWr,meta:()=>ois,ruleName:()=>mlt});function Xqt(e){let t=ud("newline",e,SWr);return(r,n)=>{Mml(n,mlt,{actual:e,possible:["always","always-multi-line"]})&&Hqt({root:r,result:n,locationChecker:t.afterOneOnly,checkedRuleName:mlt})}}var Lml,Mml,ais,mlt,SWr,ois,Qml,lis=Er(()=>{mp();Xd();bWr();im();yy();({utils:{ruleMessages:Lml,validateOptions:Mml}}=ro),ais="at-rule-name-newline-after",mlt=bu(ais),SWr=Lml(mlt,{expectedAfter:e=>`Expected newline after at-rule name "${e}"`}),ois={url:Bu(ais)};Xqt.ruleName=mlt;Xqt.messages=SWr;Xqt.meta=ois;Qml=Xqt});var pis={};Mt(pis,{default:()=>qml,messages:()=>TWr,meta:()=>fis,ruleName:()=>glt});function Zqt(e){let t=ud("space",e,TWr);return(r,n)=>{Uml(n,glt,{actual:e,possible:["always","always-single-line"]})&&Hqt({root:r,result:n,locationChecker:t.after,checkedRuleName:glt,fix:s=>{typeof s.raws.afterName=="string"&&(s.raws.afterName=s.raws.afterName.replace(/^\s*/," "))}})}}var jml,Uml,cis,glt,TWr,fis,qml,dis=Er(()=>{mp();Xd();bWr();im();yy();({utils:{ruleMessages:jml,validateOptions:Uml}}=ro),cis="at-rule-name-space-after",glt=bu(cis),TWr=jml(glt,{expectedAfter:e=>`Expected single space after at-rule name "${e}"`}),fis={url:Bu(cis),fixable:!0};Zqt.ruleName=glt;Zqt.messages=TWr;Zqt.meta=fis;qml=Zqt});function tb(e){return e.nodes!==void 0}var VF=Er(()=>{});function Alt(e){return!e||!e.next?null:e.type==="comment"?Alt(e.next()):e}var DWr=Er(()=>{});function $F(e){let t="";return e.raws.before&&(t+=e.raws.before),t+=e.toString(),t}var rye=Er(()=>{});var Ais={};Mt(Ais,{default:()=>$ml,messages:()=>wWr,meta:()=>gis,ruleName:()=>hlt});function eYt(e,t,r){let n=ud("newline",e,wWr);return(i,s)=>{Vml(s,hlt,{actual:e,possible:["always"]})&&i.walkAtRules(u=>{let l=u.next();if(!l||tb(u)||!rse(u))return;let f=Alt(l);if(!f)return;let p=u.toString().length+1;n.afterOneOnly({source:$F(f),index:-1,err:g=>{Yml({message:g,node:u,index:p,endIndex:p,result:s,ruleName:hlt,fix(){f.raws.before=r.newline+f.raws.before}})}})})}}var Yml,Gml,Vml,mis,hlt,wWr,gis,$ml,his=Er(()=>{mp();Xd();im();VF();xYe();DWr();rye();yy();({utils:{report:Yml,ruleMessages:Gml,validateOptions:Vml}}=ro),mis="at-rule-semicolon-newline-after",hlt=bu(mis),wWr=Gml(hlt,{expectedAfter:()=>'Expected newline after ";"'}),gis={url:Bu(mis),fixable:!0};eYt.ruleName=hlt;eYt.messages=wWr;eYt.meta=gis;$ml=eYt});var Eis={};Mt(Eis,{default:()=>zml,messages:()=>BWr,meta:()=>_is,ruleName:()=>ylt});function tYt(e){let t=ud("space",e,BWr);return(r,n)=>{Hml(n,ylt,{actual:e,possible:["always","never"]})&&r.walkAtRules(s=>{if(tb(s)||!rse(s))return;let a=$F(s),u=a.length-1;t.before({source:a,index:a.length,err:l=>{Kml({message:l,node:s,index:u,endIndex:u,result:n,ruleName:ylt})}})})}}var Kml,Jml,Hml,yis,ylt,BWr,_is,zml,xis=Er(()=>{mp();Xd();im();VF();xYe();rye();yy();({utils:{report:Kml,ruleMessages:Jml,validateOptions:Hml}}=ro),yis="at-rule-semicolon-space-before",ylt=bu(yis),BWr=Jml(ylt,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"'}),_is={url:Bu(yis)};tYt.ruleName=ylt;tYt.messages=BWr;tYt.meta=_is;zml=tYt});function vis(e,t){let{raws:r}=e;if(typeof r.after!="string")return e;let n=r.after.split(";"),i=n[n.length-1]||"";return/\r?\n/.test(i)?r.after=r.after.replace(/(\r?\n)/,`${t}$1`):r.after+=t.repeat(2),e}var Cis=Er(()=>{});function kWr(e){return e.type==="root"}function C3(e){return e.type==="rule"}function lv(e){return e.type==="atrule"}function bis(e){return e.type==="comment"}function IYe(e){return e.type==="decl"}var FQ=Er(()=>{});function BY(e,{noRawBefore:t}={noRawBefore:!1}){let r="",n=e.raws.before||"";if(t||(r+=n),C3(e))r+=e.selector;else if(lv(e))r+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return r+=e.raws.between||"",r}var f7e=Er(()=>{FQ()});function pD(e){return tb(e)?$F(e).slice(BY(e).length):""}var kY=Er(()=>{f7e();VF();rye()});function PY(e){return tb(e)&&e.nodes.length===0}var lSe=Er(()=>{VF()});function Iis(e){return e===""||e===void 0?!1:Wml.test(e)}var Wml,Sis=Er(()=>{Wml=/\n[\r\t ]*\n/});function wis(e,t){if(!Array.isArray(e))return Tis(e,t);for(let r of e){let n=Tis(r,t);if(n)return n}return!1}function Tis(e,t){if(!Array.isArray(t))return Dis(e,t);for(let r of t){let n=Dis(e,r);if(n)return n}return!1}function Dis(e,t){if(t instanceof RegExp){let u=e.match(t);return u?{match:e,pattern:t,substring:u[0]||""}:!1}let r=t[0],n=t[t.length-1],i=t[t.length-2],s=r==="/"&&(n==="/"||i==="/"&&n==="i"),a=s&&n==="i";if(s){let u=a?e.match(new RegExp(t.slice(1,-2),"i")):e.match(new RegExp(t.slice(1,-1)));return u?{match:e,pattern:t,substring:u[0]||""}:!1}return e===t?{match:e,pattern:t,substring:e}:!1}var Bis=Er(()=>{});function kb(e,t,r){return!!(e&&e[t]&&typeof r=="string"&&wis(r,e[t]))}var MX=Er(()=>{Bis()});function kis(e,t){return e.raws.after=e.raws.after?e.raws.after.replace(/(\r?\n\s*\n)+/g,t):"",e}var Pis=Er(()=>{});var Ris={};Mt(Ris,{default:()=>tgl,messages:()=>rYt,meta:()=>Ois,ruleName:()=>_lt});function nYt(e,t,r){return(n,i)=>{if(!egl(i,_lt,{actual:e,possible:["always-multi-line","never"]},{actual:t,possible:{except:["after-closing-brace"]},optional:!0}))return;n.walkRules(a),n.walkAtRules(a);function a(u){if(!tb(u)||PY(u))return;let l=(u.raws.after||"").replace(/;+/,""),f=u.toString(),p=f.length-1;f[p-1]==="\r"&&(p-=1);let g=(()=>{let _=u.nodes.map(E=>E.type);return kb(t,"except","after-closing-brace")&&!_.includes("decl")?e==="never":e==="always-multi-line"&&!BO(pD(u))})(),A=Iis(l);if(g===A)return;let h=g?rYt.expected:rYt.rejected;Xml({message:h,result:i,ruleName:_lt,node:u,index:p,endIndex:p,fix(){let{newline:_}=r;typeof _=="string"&&(g?vis(u,_):kis(u,_))}})}}}var Xml,Zml,egl,Nis,_lt,rYt,Ois,tgl,Fis=Er(()=>{mp();Cis();Xd();kY();im();VF();lSe();Sis();vYe();MX();Pis();({utils:{report:Xml,ruleMessages:Zml,validateOptions:egl}}=ro),Nis="block-closing-brace-empty-line-before",_lt=bu(Nis),rYt=Zml(_lt,{expected:"Expected empty line before closing brace",rejected:"Unexpected empty line before closing brace"}),Ois={url:Bu(Nis),fixable:!0};nYt.ruleName=_lt;nYt.messages=rYt;nYt.meta=Ois;tgl=nYt});var Qis={};Mt(Qis,{default:()=>sgl,messages:()=>PWr,meta:()=>Mis,ruleName:()=>Elt});function iYt(e,t,r){let n=ud("newline",e,PWr);return(i,s)=>{if(!igl(s,Elt,{actual:e,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignoreAtRules:[kO]},optional:!0}))return;i.walkRules(u),i.walkAtRules(u);function u(l){if(!tb(l)||l.type==="atrule"&&kb(t,"ignoreAtRules",l.name))return;let f=l.next();if(!f)return;let g=f.type==="comment"&&!/[^ ]/.test(f.raws.before||"")&&!f.toString().includes(` `)?f.next():f;if(!g)return;let A=l.toString().length,h=$F(g);h&&h.startsWith(";")&&(h=h.slice(1),A++),n.afterOneOnly({source:h,index:-1,lineCheckStr:pD(l),err:_=>{rgl({message:_,node:l,index:A,endIndex:A,result:s,ruleName:Elt,fix(){let E=g.raws;if(typeof E.before=="string")if(e.startsWith("always")){let b=E.before.search(/\r?\n/);E.before=b>=0?E.before.slice(b):r.newline+E.before}else e.startsWith("never")&&(E.before="")}})}})}}}var rgl,ngl,igl,Lis,Elt,PWr,Mis,sgl,jis=Er(()=>{mp();Xd();kY();im();VF();RQ();MX();rye();yy();({utils:{report:rgl,ruleMessages:ngl,validateOptions:igl}}=ro),Lis="block-closing-brace-newline-after",Elt=bu(Lis),PWr=ngl(Elt,{expectedAfter:()=>'Expected newline after "}"',expectedAfterSingleLine:()=>'Expected newline after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected newline after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),Mis={url:Bu(Lis),fixable:!0};iYt.ruleName=Elt;iYt.messages=PWr;iYt.meta=Mis;sgl=iYt});var Yis={};Mt(Yis,{default:()=>lgl,messages:()=>xlt,meta:()=>qis,ruleName:()=>vlt});function sYt(e,t,r){return(n,i)=>{if(!ugl(i,vlt,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;n.walkRules(a),n.walkAtRules(a);function a(u){if(!tb(u)||PY(u))return;let l=(u.raws.after||"").replace(/;+/,"");if(l===void 0)return;let f=!BO(pD(u)),p=u.toString(),g=p.length-2;p[g-1]==="\r"&&(g-=1),!l.startsWith(` `)&&!l.startsWith(`\r `)&&(e==="always"?A(xlt.expectedBefore):f&&e==="always-multi-line"&&A(xlt.expectedBeforeMultiLine)),l!==""&&f&&e==="never-multi-line"&&A(xlt.rejectedBeforeMultiLine);function A(h){agl({message:h,result:i,ruleName:vlt,node:u,index:g,endIndex:g,fix(){let _=u.raws;if(typeof _.after=="string")if(e.startsWith("always")){let E=_.after.search(/\s/),b=E>=0?_.after.slice(0,E):_.after,D=E>=0?_.after.slice(E):"",k=D.search(/\r?\n/);_.after=k>=0?b+D.slice(k):b+r.newline+D}else e==="never-multi-line"&&(_.after=_.after.replace(/\s/g,""))}})}}}}var agl,ogl,ugl,Uis,vlt,xlt,qis,lgl,Gis=Er(()=>{mp();Xd();kY();im();VF();lSe();vYe();({utils:{report:agl,ruleMessages:ogl,validateOptions:ugl}}=ro),Uis="block-closing-brace-newline-before",vlt=bu(Uis),xlt=ogl(vlt,{expectedBefore:'Expected newline before "}"',expectedBeforeMultiLine:'Expected newline before "}" of a multi-line block',rejectedBeforeMultiLine:'Unexpected whitespace before "}" of a multi-line block'}),qis={url:Bu(Uis),fixable:!0};sYt.ruleName=vlt;sYt.messages=xlt;sYt.meta=qis;lgl=sYt});var Kis={};Mt(Kis,{default:()=>dgl,messages:()=>NWr,meta:()=>$is,ruleName:()=>Clt});function aYt(e){let t=ud("space",e,NWr);return(r,n)=>{if(!pgl(n,Clt,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;r.walkRules(s),r.walkAtRules(s);function s(a){let u=a.next();if(!u||!tb(a))return;let l=a.toString().length,f=$F(u);f&&f.startsWith(";")&&(f=f.slice(1),l++),t.after({source:f,index:-1,lineCheckStr:pD(a),err:p=>{cgl({message:p,node:a,index:l,endIndex:l,result:n,ruleName:Clt})}})}}}var cgl,fgl,pgl,Vis,Clt,NWr,$is,dgl,Jis=Er(()=>{mp();Xd();kY();im();VF();rye();yy();({utils:{report:cgl,ruleMessages:fgl,validateOptions:pgl}}=ro),Vis="block-closing-brace-space-after",Clt=bu(Vis),NWr=fgl(Clt,{expectedAfter:()=>'Expected single space after "}"',rejectedAfter:()=>'Unexpected whitespace after "}"',expectedAfterSingleLine:()=>'Expected single space after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),$is={url:Bu(Vis)};aYt.ruleName=Clt;aYt.messages=NWr;aYt.meta=$is;dgl=aYt});var Wis={};Mt(Wis,{default:()=>hgl,messages:()=>OWr,meta:()=>zis,ruleName:()=>blt});function oYt(e){let t=ud("space",e,OWr);return(r,n)=>{if(!Agl(n,blt,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;r.walkRules(s),r.walkAtRules(s);function s(a){if(!tb(a)||PY(a))return;let u=pD(a),l=a.toString(),f=l.length-2;l[f-1]==="\r"&&(f-=1),t.before({source:u,index:u.length-1,err:p=>{mgl({message:p,node:a,index:f,endIndex:f,result:n,ruleName:blt,fix(){let g=a.raws;typeof g.after=="string"&&(e.startsWith("always")?g.after=g.after.replace(/\s*$/," "):e.startsWith("never")&&(g.after=g.after.replace(/\s*$/,"")))}})}})}}}var mgl,ggl,Agl,His,blt,OWr,zis,hgl,Xis=Er(()=>{mp();Xd();kY();im();VF();lSe();yy();({utils:{report:mgl,ruleMessages:ggl,validateOptions:Agl}}=ro),His="block-closing-brace-space-before",blt=bu(His),OWr=ggl(blt,{expectedBefore:()=>'Expected single space before "}"',rejectedBefore:()=>'Unexpected whitespace before "}"',expectedBeforeSingleLine:()=>'Expected single space before "}" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "}" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "}" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "}" of a multi-line block'}),zis={url:Bu(His),fixable:!0};oYt.ruleName=blt;oYt.messages=OWr;oYt.meta=zis;hgl=oYt});var tss={};Mt(tss,{default:()=>xgl,messages:()=>RWr,meta:()=>ess,ruleName:()=>Ilt});function uYt(e,t,r){let n=ud("newline",e,RWr);return(i,s)=>{if(!Egl(s,Ilt,{actual:e,possible:["always","rules","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["rules"]},optional:!0}))return;kb(t,"ignore","rules")||i.walkRules(u),i.walkAtRules(u);function u(l){if(!tb(l)||PY(l))return;let f=new Map;function p(h){if(!(!h||!h.next)){if(h.type==="comment"){let _=/\r?\n/,E=_.test(h.raws.before||""),b=h.next();return b&&E&&!_.test(b.raws.before||"")&&(f.set(b,b.raws.before),b.raws.before=h.raws.before),p(b)}return h}}let g=p(l.first);if(!g)return;let A=BY(l,{noRawBefore:!0}).length+1;n.afterOneOnly({source:$F(g),index:-1,lineCheckStr:pD(l),err:h=>{ygl({message:h,node:l,index:A,endIndex:A,result:s,ruleName:Ilt,fix(){let _=g.raws;if(typeof _.before=="string"){if(e.startsWith("always")){let E=_.before.search(/\r?\n/);_.before=E>=0?_.before.slice(E):r.newline+_.before,f.delete(g);return}if(e==="never-multi-line"){for(let[D,k]of f.entries())D.raws.before=k;f.clear();let E=/\r?\n/,b=l.first;for(;b;){let D=b.raws;if(typeof D.before=="string"){if(E.test(D.before||"")&&(D.before=D.before.replace(/\r?\n/g,"")),b.type!=="comment")break;b=b.next()}}_.before=""}}}})}});for(let[h,_]of f.entries())h.raws.before=_}}}var ygl,_gl,Egl,Zis,Ilt,RWr,ess,xgl,rss=Er(()=>{mp();Xd();f7e();kY();im();VF();lSe();MX();rye();yy();({utils:{report:ygl,ruleMessages:_gl,validateOptions:Egl}}=ro),Zis="block-opening-brace-newline-after",Ilt=bu(Zis),RWr=_gl(Ilt,{expectedAfter:()=>'Expected newline after "{"',expectedAfterMultiLine:()=>'Expected newline after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),ess={url:Bu(Zis),fixable:!0};uYt.ruleName=Ilt;uYt.messages=RWr;uYt.meta=ess;xgl=uYt});var sss={};Mt(sss,{default:()=>Igl,messages:()=>FWr,meta:()=>iss,ruleName:()=>Slt});function lYt(e,t,r){let n=ud("newline",e,FWr);return(i,s)=>{if(!bgl(s,Slt,{actual:e,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;i.walkRules(u),i.walkAtRules(u);function u(l){if(!tb(l)||PY(l))return;let f=BY(l),p=BY(l,{noRawBefore:!0}),g=p.length-1;p[g-1]==="\r"&&(g-=1),n.beforeAllowingIndentation({lineCheckStr:pD(l),source:f,index:f.length,err:A=>{vgl({message:A,node:l,index:g,endIndex:g,result:s,ruleName:Slt,fix(){if(typeof l.raws.between=="string")if(e.startsWith("always")){let h=l.raws.between.search(/\s+$/);h>=0?l.raws.between=l.raws.between.slice(0,h)+r.newline+l.raws.between.slice(h):l.raws.between+=r.newline}else e.startsWith("never")&&(l.raws.between=l.raws.between.replace(/\s*$/,""))}})}})}}}var vgl,Cgl,bgl,nss,Slt,FWr,iss,Igl,ass=Er(()=>{mp();Xd();f7e();kY();im();VF();lSe();yy();({utils:{report:vgl,ruleMessages:Cgl,validateOptions:bgl}}=ro),nss="block-opening-brace-newline-before",Slt=bu(nss),FWr=Cgl(Slt,{expectedBefore:()=>'Expected newline before "{"',expectedBeforeSingleLine:()=>'Expected newline before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected newline before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),iss={url:Bu(nss),fixable:!0};lYt.ruleName=Slt;lYt.messages=FWr;lYt.meta=iss;Igl=lYt});var lss={};Mt(lss,{default:()=>wgl,messages:()=>LWr,meta:()=>uss,ruleName:()=>Tlt});function cYt(e,t){let r=ud("space",e,LWr);return(n,i)=>{if(!Dgl(i,Tlt,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignore:["at-rules"]},optional:!0}))return;n.walkRules(a),kb(t,"ignore","at-rules")||n.walkAtRules(a);function a(u){if(!tb(u)||PY(u))return;let l=BY(u,{noRawBefore:!0}).length+1;r.after({source:pD(u),index:0,err:f=>{Sgl({message:f,node:u,index:l,endIndex:l,result:i,ruleName:Tlt,fix(){let p=u.first;p!==null&&(e.startsWith("always")?p.raws.before=" ":e.startsWith("never")&&(p.raws.before=""))}})}})}}}var Sgl,Tgl,Dgl,oss,Tlt,LWr,uss,wgl,css=Er(()=>{mp();Xd();f7e();kY();im();VF();lSe();MX();yy();({utils:{report:Sgl,ruleMessages:Tgl,validateOptions:Dgl}}=ro),oss="block-opening-brace-space-after",Tlt=bu(oss),LWr=Tgl(Tlt,{expectedAfter:()=>'Expected single space after "{"',rejectedAfter:()=>'Unexpected whitespace after "{"',expectedAfterSingleLine:()=>'Expected single space after "{" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "{" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),uss={url:Bu(oss),fixable:!0};cYt.ruleName=Tlt;cYt.messages=LWr;cYt.meta=uss;wgl=cYt});var dss={};Mt(dss,{default:()=>Ngl,messages:()=>MWr,meta:()=>pss,ruleName:()=>Dlt});function fYt(e,t){let r=ud("space",e,MWr);return(n,i)=>{if(!Pgl(i,Dlt,{actual:e,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:t,possible:{ignoreAtRules:[kO,c7e],ignoreSelectors:[kO,c7e]},optional:!0}))return;n.walkRules(a),n.walkAtRules(a);function a(u){if(!tb(u)||PY(u)||u.type==="atrule"&&kb(t,"ignoreAtRules",u.name)||u.type==="rule"&&kb(t,"ignoreSelectors",u.selector))return;let l=BY(u),f=BY(u,{noRawBefore:!0}),p=f.length-1;f[p-1]==="\r"&&(p-=1),r.before({source:l,index:l.length,lineCheckStr:pD(u),err:g=>{Bgl({message:g,node:u,index:p,endIndex:p,result:i,ruleName:Dlt,fix(){if(e.startsWith("always")){u.raws.between=" ";return}e.startsWith("never")&&(u.raws.between="")}})}})}}}var Bgl,kgl,Pgl,fss,Dlt,MWr,pss,Ngl,mss=Er(()=>{mp();Xd();f7e();kY();im();VF();lSe();MX();yy();RQ();({utils:{report:Bgl,ruleMessages:kgl,validateOptions:Pgl}}=ro),fss="block-opening-brace-space-before",Dlt=bu(fss),MWr=kgl(Dlt,{expectedBefore:()=>'Expected single space before "{"',rejectedBefore:()=>'Unexpected whitespace before "{"',expectedBeforeSingleLine:()=>'Expected single space before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),pss={url:Bu(fss),fixable:!0};fYt.ruleName=Dlt;fYt.messages=MWr;fYt.meta=pss;Ngl=fYt});function _y(e){let t=e.raws,r=t.prop;return[Wqt(r)&&"prefix"in r&&r.prefix,Wqt(r)&&"raw"in r&&r.raw||e.prop,Wqt(r)&&"suffix"in r&&r.suffix,t.between||":",t.value&&"prefix"in t.value&&t.value.prefix].reduce((n,i)=>kO(i)?n+i.length:n,0)}var bB=Er(()=>{RQ()});function wS(e){let t=e.raws;return t.value&&t.value.raw||e.value}var LQ=Er(()=>{});function YI(e,t){let r=e.raws;return r.value?r.value.raw=t:e.value=t,e}var MQ=Er(()=>{});var yss={};Mt(yss,{default:()=>qgl,messages:()=>QWr,meta:()=>hss,ruleName:()=>wlt});function pYt(e){return(t,r)=>{Fgl(r,wlt,{actual:e,possible:["lower","upper"]})&&t.walkDecls(i=>{if(!Mgl.test(i.value))return;let s=(0,gss.default)(wS(i)),a=!1;s.walk(u=>{let{value:l}=u;if(jgl(u))return!1;if(!Ugl(u))return;let f=e==="lower"?l.toLowerCase():l.toUpperCase();if(l===f)return;let p=_y(i)+u.sourceIndex;Ogl({message:QWr.expected,messageArgs:[l,f],node:i,index:p,endIndex:p,result:r,ruleName:wlt,fix(){u.value=f,a=!0}})}),a&&YI(i,s.toString())})}}function jgl({type:e,value:t}){return e==="function"&&Qgl.has(t.toLowerCase())}function Ugl({type:e,value:t}){return e==="word"&&Lgl.test(t)}var gss,Ogl,Rgl,Fgl,Ass,wlt,QWr,hss,Lgl,Mgl,Qgl,qgl,_ss=Er(()=>{mp();gss=qi(sh(),1);Xd();bB();LQ();im();MQ();({utils:{report:Ogl,ruleMessages:Rgl,validateOptions:Fgl}}=ro),Ass="color-hex-case",wlt=bu(Ass),QWr=Rgl(wlt,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),hss={url:Bu(Ass),fixable:!0},Lgl=/^#[\da-z]+/i,Mgl=/#[\da-z]+/i,Qgl=new Set(["url"]);pYt.ruleName=wlt;pYt.messages=QWr;pYt.meta=hss;qgl=pYt});var KF=j((QnA,Ess)=>{var Blt="skip",SYe="only";Ess.exports=function(e,t){var r=e.source,n=e.target,i=e.comments?e.comments===Blt:!0,s=e.strings?e.strings===Blt:!0,a=e.functionNames?e.functionNames===Blt:!0,u=e.functionArguments===Blt,l=e.parentheticals===Blt,f=!1;Object.keys(e).forEach(function(De){if(e[De]===SYe)if(!f)f=!0;else throw new Error('Only one syntax feature option can be the "only" one to check')});var p=e.comments===SYe,g=e.strings===SYe,A=e.functionNames===SYe,h=e.functionArguments===SYe,_=e.parentheticals===SYe,E=!1,b=!1,D=!1,k=!1,M=!1,R=0,q=0,G,K=Array.isArray(n),Z=(function(){return K?function(De){for(var _e=0,Le=n.length;_e{let n=_y(r),i=r.toString(),s=r.toString().slice(n);s.includes("!")&&(0,xss.default)({source:s,target:"!"},a=>{t(i,a.startIndex+n,r)})});function t(r,n,i){e.locationChecker({source:r,index:n,err:s=>{Ygl({message:s,node:i,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(i,n):void 0})}})}}var xss,Ygl,jWr=Er(()=>{mp();xss=qi(KF(),1);bB();({utils:{report:Ygl}}=ro)});var bss={};Mt(bss,{default:()=>$gl,messages:()=>UWr,meta:()=>Css,ruleName:()=>klt});function mYt(e){let t=ud("space",e,UWr);return(r,n)=>{Vgl(n,klt,{actual:e,possible:["always","never"]})&&dYt({root:r,result:n,locationChecker:t.after,checkedRuleName:klt,fix:(s,a)=>{let u=a-_y(s),l=wS(s),f,p;if(u{YI(s,h)};else if(s.important)f=s.raws.important||" !important",u-=l.length,p=h=>{s.raws.important=h};else return!1;let g=f.slice(0,u+1),A=f.slice(u+1);return e==="always"?(p(g+A.replace(/^\s*/," ")),!0):e==="never"?(p(g+A.replace(/^\s*/,"")),!0):!1}})}}var Ggl,Vgl,vss,klt,UWr,Css,$gl,Iss=Er(()=>{mp();Xd();jWr();bB();LQ();im();MQ();yy();({utils:{ruleMessages:Ggl,validateOptions:Vgl}}=ro),vss="declaration-bang-space-after",klt=bu(vss),UWr=Ggl(klt,{expectedAfter:()=>'Expected single space after "!"',rejectedAfter:()=>'Unexpected whitespace after "!"'}),Css={url:Bu(vss),fixable:!0};mYt.ruleName=klt;mYt.messages=UWr;mYt.meta=Css;$gl=mYt});var Dss={};Mt(Dss,{default:()=>Hgl,messages:()=>qWr,meta:()=>Tss,ruleName:()=>Plt});function gYt(e){let t=ud("space",e,qWr);return(r,n)=>{Jgl(n,Plt,{actual:e,possible:["always","never"]})&&dYt({root:r,result:n,locationChecker:t.before,checkedRuleName:Plt,fix:(s,a)=>{let u=a-_y(s),l=wS(s),f,p;if(u{YI(s,h)};else if(s.important)f=s.raws.important||" !important",u-=l.length,p=h=>{s.raws.important=h};else return!1;let g=f.slice(0,u),A=f.slice(u);return e==="always"?(p(`${g.replace(/\s*$/,"")} ${A}`),!0):e==="never"?(p(g.replace(/\s*$/,"")+A),!0):!1}})}}var Kgl,Jgl,Sss,Plt,qWr,Tss,Hgl,wss=Er(()=>{mp();Xd();jWr();bB();LQ();im();MQ();yy();({utils:{ruleMessages:Kgl,validateOptions:Jgl}}=ro),Sss="declaration-bang-space-before",Plt=bu(Sss),qWr=Kgl(Plt,{expectedBefore:()=>'Expected single space before "!"',rejectedBefore:()=>'Unexpected whitespace before "!"'}),Tss={url:Bu(Sss),fixable:!0};gYt.ruleName=Plt;gYt.messages=qWr;gYt.meta=Tss;Hgl=gYt});var Pss={};Mt(Pss,{default:()=>Zgl,messages:()=>YWr,meta:()=>kss,ruleName:()=>Nlt});function AYt(e,t,r){let n=ud("newline",e,YWr);return(i,s)=>{Xgl(s,Nlt,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&i.walkDecls(u=>{let l=u.parent;if(!l)throw new Error("A parent node must be present");if(!lv(l)&&!C3(l)||!l.raws.semicolon&&l.last===u)return;let f=u.next();if(!f)return;let p=Alt(f);if(!p)return;let g=u.toString().length+1;n.afterOneOnly({source:$F(p),index:-1,lineCheckStr:pD(l),err:A=>{zgl({message:A,node:u,index:g,endIndex:g,result:s,ruleName:Nlt,fix(){if(e.startsWith("always")){let h=p.raws.before.search(/\r?\n/);p.raws.before=h>=0?p.raws.before.slice(h):r.newline+p.raws.before;return}e==="never-multi-line"&&(p.raws.before="")}})}})})}}var zgl,Wgl,Xgl,Bss,Nlt,YWr,kss,Zgl,Nss=Er(()=>{mp();Xd();kY();im();DWr();rye();yy();FQ();({utils:{report:zgl,ruleMessages:Wgl,validateOptions:Xgl}}=ro),Bss="declaration-block-semicolon-newline-after",Nlt=bu(Bss),YWr=Wgl(Nlt,{expectedAfter:()=>'Expected newline after ";"',expectedAfterMultiLine:()=>'Expected newline after ";" in a multi-line declaration block',rejectedAfterMultiLine:()=>'Unexpected newline after ";" in a multi-line declaration block'}),kss={url:Bu(Bss),fixable:!0};AYt.ruleName=Nlt;AYt.messages=YWr;AYt.meta=kss;Zgl=AYt});var Fss={};Mt(Fss,{default:()=>nAl,messages:()=>GWr,meta:()=>Rss,ruleName:()=>Olt});function hYt(e){let t=ud("newline",e,GWr);return(r,n)=>{rAl(n,Olt,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&r.walkDecls(s=>{let a=s.parent;if(!a)throw new Error("A parent node must be present");if(!lv(a)&&!C3(a)||!a.raws.semicolon&&a.last===s)return;let u=s.toString(),l=s.toString().length-1;t.beforeAllowingIndentation({source:u,index:u.length,lineCheckStr:pD(a),err:f=>{eAl({message:f,node:s,index:l,endIndex:l,result:n,ruleName:Olt})}})})}}var eAl,tAl,rAl,Oss,Olt,GWr,Rss,nAl,Lss=Er(()=>{mp();Xd();kY();im();yy();FQ();({utils:{report:eAl,ruleMessages:tAl,validateOptions:rAl}}=ro),Oss="declaration-block-semicolon-newline-before",Olt=bu(Oss),GWr=tAl(Olt,{expectedBefore:()=>'Expected newline before ";"',expectedBeforeMultiLine:()=>'Expected newline before ";" in a multi-line declaration block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before ";" in a multi-line declaration block'}),Rss={url:Bu(Oss)};hYt.ruleName=Olt;hYt.messages=GWr;hYt.meta=Rss;nAl=hYt});var jss={};Mt(jss,{default:()=>oAl,messages:()=>VWr,meta:()=>Qss,ruleName:()=>Rlt});function yYt(e){let t=ud("space",e,VWr);return(r,n)=>{aAl(n,Rlt,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&r.walkDecls(s=>{let a=s.parent;if(!a)throw new Error("A parent node must be present");if(!lv(a)&&!C3(a)||!a.raws.semicolon&&a.last===s)return;let u=s.next();if(!u)return;let l=s.toString().length+1;t.after({source:$F(u),index:-1,lineCheckStr:pD(a),err:f=>{iAl({message:f,node:s,index:l,endIndex:l,result:n,ruleName:Rlt,fix(){if(e.startsWith("always")){u.raws.before=" ";return}e.startsWith("never")&&(u.raws.before="")}})}})})}}var iAl,sAl,aAl,Mss,Rlt,VWr,Qss,oAl,Uss=Er(()=>{mp();Xd();kY();im();rye();yy();FQ();({utils:{report:iAl,ruleMessages:sAl,validateOptions:aAl}}=ro),Mss="declaration-block-semicolon-space-after",Rlt=bu(Mss),VWr=sAl(Rlt,{expectedAfter:()=>'Expected single space after ";"',rejectedAfter:()=>'Unexpected whitespace after ";"',expectedAfterSingleLine:()=>'Expected single space after ";" in a single-line declaration block',rejectedAfterSingleLine:()=>'Unexpected whitespace after ";" in a single-line declaration block'}),Qss={url:Bu(Mss),fixable:!0};yYt.ruleName=Rlt;yYt.messages=VWr;yYt.meta=Qss;oAl=yYt});function _Yt(e){return e.startsWith("--")}var $Wr=Er(()=>{});var Gss={};Mt(Gss,{default:()=>fAl,messages:()=>KWr,meta:()=>Yss,ruleName:()=>Flt});function EYt(e){let t=ud("space",e,KWr);return(r,n)=>{cAl(n,Flt,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&r.walkDecls(s=>{let a=s.parent;if(!a)throw new Error("A parent node must be present");if(!lv(a)&&!C3(a)||!a.raws.semicolon&&a.last===s)return;let u=wS(s),l=!1;if(_Yt(s.prop)&&(l=/^\s+$/.test(u),e.startsWith("never")&&u===" "))return;let f=s.toString(),p=s.toString().length-1;t.before({source:f,index:f.length,lineCheckStr:pD(a),err:g=>{uAl({message:g,node:s,index:p,endIndex:p,result:n,ruleName:Flt,fix(){if(e.startsWith("always")){s.important?s.raws.important=" !important ":YI(s,u.replace(/\s*$/," "));return}if(e.startsWith("never"))if(s.raws.important)s.raws.important=s.raws.important.replace(/\s*$/,"");else{let A=l?" ":u.replace(/\s*$/,"");YI(s,A)}}})}})})}}var uAl,lAl,cAl,qss,Flt,KWr,Yss,fAl,Vss=Er(()=>{mp();Xd();kY();LQ();im();$Wr();MQ();yy();FQ();({utils:{report:uAl,ruleMessages:lAl,validateOptions:cAl}}=ro),qss="declaration-block-semicolon-space-before",Flt=bu(qss),KWr=lAl(Flt,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"',expectedBeforeSingleLine:()=>'Expected single space before ";" in a single-line declaration block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before ";" in a single-line declaration block'}),Yss={url:Bu(qss),fixable:!0};EYt.ruleName=Flt;EYt.messages=KWr;EYt.meta=Yss;fAl=EYt});var Jss={};Mt(Jss,{default:()=>gAl,messages:()=>xYt,meta:()=>Kss,ruleName:()=>Llt});function vYt(e,t){return(r,n)=>{if(!mAl(n,Llt,{actual:e,possible:["always","never"]},{actual:t,possible:{ignore:["single-declaration"]},optional:!0}))return;r.walkAtRules(a=>{if(!a.parent)throw new Error("A parent node must be present");a.parent===r||a!==a.parent.last||tb(a)||s(a)}),r.walkDecls(a=>{if(!a.parent)throw new Error("A parent node must be present");a.parent.type==="object"||a!==a.parent.last||s(a)});function s(a){if(!a.parent)throw new Error("A parent node must be present");let u=a.parent.raws.semicolon;if(kb(t,"ignore","single-declaration")&&a.parent.first===a)return;if(e==="always"&&e==="never")throw new Error(`Unexpected primary option: "${e}"`);let f;e==="always"&&!u?f=xYt.expected:e==="never"&&u&&(f=xYt.rejected);let p=a.toString().trim().length-1;f&&pAl({message:f,node:a,index:p,endIndex:p,result:n,ruleName:Llt,fix(){e==="always"&&!u?(a.parent.raws.semicolon=!0,lv(a)&&(a.raws.between="",a.parent.raws.after=" ")):e==="never"&&u&&(a.parent.raws.semicolon=!1)}})}}}var pAl,dAl,mAl,$ss,Llt,xYt,Kss,gAl,Hss=Er(()=>{mp();Xd();im();VF();FQ();MX();({utils:{report:pAl,ruleMessages:dAl,validateOptions:mAl}}=ro),$ss="declaration-block-trailing-semicolon",Llt=bu($ss),xYt=dAl(Llt,{expected:"Expected a trailing semicolon",rejected:"Unexpected trailing semicolon"}),Kss={url:Bu($ss),fixable:!0};vYt.ruleName=Llt;vYt.messages=xYt;vYt.meta=Kss;gAl=vYt});function CYt(e){return!!(e.startsWith("$")||e.includes(".$"))}var JWr=Er(()=>{});function TYe(e){let t=e.prop,r=e.parent;return!(CYt(t)||t[0]==="@"&&t[1]!=="{"||r&&r.type==="atrule"&&r.raws.afterName===":"||r&&C3(r)&&r.selector&&r.selector.startsWith("#")&&r.selector.endsWith("()")||r&&C3(r)&&r.selector&&r.selector[r.selector.length-1]===":"&&r.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}var bYt=Er(()=>{FQ();JWr()});var Xss={};Mt(Xss,{default:()=>_Al,messages:()=>HWr,meta:()=>Wss,ruleName:()=>Mlt});function IYt(e,t,r){let n=ud("newline",e,HWr);return(i,s)=>{yAl(s,Mlt,{actual:e,possible:["always","always-multi-line"]})&&i.walkDecls(u=>{if(!TYe(u))return;let l=_y(u)+(u.raws.between||"").length-1,f=`${u.toString().slice(0,l)}xxx`;for(let p=0,g=f.length;p{AAl({message:h,node:u,index:A,endIndex:A,result:s,ruleName:Mlt,fix(){let _=u.raws.between;if(_===null)throw new Error("`between` must be present");let E=_y(u)-_.length,b=A-E+1,D=_.slice(0,b),k=_.slice(b);u.raws.between=/^\s*\n/.test(k)?D+k.replace(/^[^\S\r\n]*/,""):D+r.newline+k}})}})}})}}var AAl,hAl,yAl,zss,Mlt,HWr,Wss,_Al,Zss=Er(()=>{mp();Xd();bB();im();bYt();yy();({utils:{report:AAl,ruleMessages:hAl,validateOptions:yAl}}=ro),zss="declaration-colon-newline-after",Mlt=bu(zss),HWr=hAl(Mlt,{expectedAfter:()=>'Expected newline after ":"',expectedAfterMultiLine:()=>'Expected newline after ":" with a multi-line declaration'}),Wss={url:Bu(zss),fixable:!0};IYt.ruleName=Mlt;IYt.messages=HWr;IYt.meta=Wss;_Al=IYt});function SYt(e){e.root.walkDecls(t=>{if(!TYe(t))return;let r=_y(t)+(t.raws.between||"").length-1,n=`${t.toString().slice(0,r)}xxx`;for(let i=0,s=n.length;i{EAl({message:u,node:t,index:a,endIndex:a,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(t,i):void 0})}});break}})}var EAl,zWr=Er(()=>{mp();bB();bYt();({utils:{report:EAl}}=ro)});var ras={};Mt(ras,{default:()=>CAl,messages:()=>WWr,meta:()=>tas,ruleName:()=>Qlt});function TYt(e){let t=ud("space",e,WWr);return(r,n)=>{vAl(n,Qlt,{actual:e,possible:["always","never","always-single-line"]})&&SYt({root:r,result:n,locationChecker:t.after,checkedRuleName:Qlt,fix:(s,a)=>{let u=a-_y(s),l=s.raws.between;if(l===null)throw new Error("`between` must be present");return e.startsWith("always")?(s.raws.between=l.slice(0,u)+l.slice(u).replace(/^:\s*/,": "),!0):e==="never"?(s.raws.between=l.slice(0,u)+l.slice(u).replace(/^:\s*/,":"),!0):!1}})}}var xAl,vAl,eas,Qlt,WWr,tas,CAl,nas=Er(()=>{mp();Xd();zWr();bB();im();yy();({utils:{ruleMessages:xAl,validateOptions:vAl}}=ro),eas="declaration-colon-space-after",Qlt=bu(eas),WWr=xAl(Qlt,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"',expectedAfterSingleLine:()=>'Expected single space after ":" with a single-line declaration'}),tas={url:Bu(eas),fixable:!0};TYt.ruleName=Qlt;TYt.messages=WWr;TYt.meta=tas;CAl=TYt});var aas={};Mt(aas,{default:()=>SAl,messages:()=>XWr,meta:()=>sas,ruleName:()=>jlt});function DYt(e){let t=ud("space",e,XWr);return(r,n)=>{IAl(n,jlt,{actual:e,possible:["always","never"]})&&SYt({root:r,result:n,locationChecker:t.before,checkedRuleName:jlt,fix:(s,a)=>{let u=a-_y(s),l=s.raws.between;if(l===null)throw new Error("`between` must be present");return e==="always"?(s.raws.between=l.slice(0,u).replace(/\s*$/," ")+l.slice(u),!0):e==="never"?(s.raws.between=l.slice(0,u).replace(/\s*$/,"")+l.slice(u),!0):!1}})}}var bAl,IAl,ias,jlt,XWr,sas,SAl,oas=Er(()=>{mp();Xd();zWr();bB();im();yy();({utils:{ruleMessages:bAl,validateOptions:IAl}}=ro),ias="declaration-colon-space-before",jlt=bu(ias),XWr=bAl(jlt,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),sas={url:Bu(ias),fixable:!0};DYt.ruleName=jlt;DYt.messages=XWr;DYt.meta=sas;SAl=DYt});function cSe(e){let{div:t,index:r,nodes:n,expectation:i,position:s,symb:a}=e;if(i.startsWith("always"))return t[s]=a,!0;if(i.startsWith("never")){t[s]="";for(let u=r+1;u{});function DYe(e){return!(!e.value||e.value.startsWith("#{")||e.value.startsWith("${")||e.value.startsWith("`"))}var wYt=Er(()=>{});function fSe(e){e.root.walkDecls(t=>{let r=wS(t),n,i=(0,ZWr.default)(r);i.walk(s=>{if(s.type!=="function"||!DYe(s)||s.value.toLowerCase()==="url")return;let a=s.nodes.map(p=>ZWr.default.stringify(p)),u=(()=>{let p=s.before+a.join("")+s.after;return p=p.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,""),p})();function l(p,g){let A=s.before+a.slice(0,g).join("")+p.before;return A=A.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,""),A.length}let f=[];for(let[p,g]of s.nodes.entries()){if(g.type!=="div"||g.value!==",")continue;let A=l(g,p);f.push({commaNode:g,checkIndex:A,nodeIndex:p})}for(let{commaNode:p,checkIndex:g,nodeIndex:A}of f)e.locationChecker({source:u,index:g,err:h=>{let _=_y(t)+p.sourceIndex+p.before.length;TAl({index:_,endIndex:_,message:h,node:t,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>(n=!0,e.fix(p,A,s.nodes)):void 0})}})}),n&&YI(t,i.toString())})}var ZWr,TAl,qlt=Er(()=>{mp();ZWr=qi(sh(),1);bB();LQ();wYt();MQ();({utils:{report:TAl}}=ro)});var cas={};Mt(cas,{default:()=>BAl,messages:()=>eXr,meta:()=>las,ruleName:()=>Ylt});function BYt(e,t,r){let n=ud("newline",e,eXr);return(i,s)=>{wAl(s,Ylt,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&fSe({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:Ylt,fix:(u,l,f)=>cSe({div:u,index:l,nodes:f,expectation:e,position:"after",symb:r.newline||""})})}}var DAl,wAl,uas,Ylt,eXr,las,BAl,fas=Er(()=>{mp();Xd();Ult();qlt();im();yy();({utils:{ruleMessages:DAl,validateOptions:wAl}}=ro),uas="function-comma-newline-after",Ylt=bu(uas),eXr=DAl(Ylt,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line function',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line function'}),las={url:Bu(uas),fixable:!0};BYt.ruleName=Ylt;BYt.messages=eXr;BYt.meta=las;BAl=BYt});var mas={};Mt(mas,{default:()=>NAl,messages:()=>tXr,meta:()=>das,ruleName:()=>Glt});function kYt(e,t,r){let n=ud("newline",e,tXr);return(i,s)=>{PAl(s,Glt,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&fSe({root:i,result:s,locationChecker:n.beforeAllowingIndentation,checkedRuleName:Glt,fix:(u,l,f)=>cSe({div:u,index:l,nodes:f,expectation:e,position:"before",symb:r.newline||""})})}}var kAl,PAl,pas,Glt,tXr,das,NAl,gas=Er(()=>{mp();Xd();Ult();qlt();im();yy();({utils:{ruleMessages:kAl,validateOptions:PAl}}=ro),pas="function-comma-newline-before",Glt=bu(pas),tXr=kAl(Glt,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line function',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line function'}),das={url:Bu(pas),fixable:!0};kYt.ruleName=Glt;kYt.messages=tXr;kYt.meta=das;NAl=kYt});var yas={};Mt(yas,{default:()=>FAl,messages:()=>rXr,meta:()=>has,ruleName:()=>Vlt});function PYt(e){let t=ud("space",e,rXr);return(r,n)=>{RAl(n,Vlt,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&fSe({root:r,result:n,locationChecker:t.after,checkedRuleName:Vlt,fix:(s,a,u)=>cSe({div:s,index:a,nodes:u,expectation:e,position:"after",symb:" "})})}}var OAl,RAl,Aas,Vlt,rXr,has,FAl,_as=Er(()=>{mp();Xd();Ult();qlt();im();yy();({utils:{ruleMessages:OAl,validateOptions:RAl}}=ro),Aas="function-comma-space-after",Vlt=bu(Aas),rXr=OAl(Vlt,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line function',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line function'}),has={url:Bu(Aas),fixable:!0};PYt.ruleName=Vlt;PYt.messages=rXr;PYt.meta=has;FAl=PYt});var vas={};Mt(vas,{default:()=>QAl,messages:()=>nXr,meta:()=>xas,ruleName:()=>$lt});function NYt(e){let t=ud("space",e,nXr);return(r,n)=>{MAl(n,$lt,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&fSe({root:r,result:n,locationChecker:t.before,checkedRuleName:$lt,fix:(s,a,u)=>cSe({div:s,index:a,nodes:u,expectation:e,position:"before",symb:" "})})}}var LAl,MAl,Eas,$lt,nXr,xas,QAl,Cas=Er(()=>{mp();Xd();Ult();qlt();im();yy();({utils:{ruleMessages:LAl,validateOptions:MAl}}=ro),Eas="function-comma-space-before",$lt=bu(Eas),nXr=LAl($lt,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line function',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line function'}),xas={url:Bu(Eas),fixable:!0};NYt.ruleName=$lt;NYt.messages=nXr;NYt.meta=xas;QAl=NYt});var Sas={};Mt(Sas,{default:()=>GAl,messages:()=>sXr,meta:()=>Ias,ruleName:()=>Klt});function YAl(e){if(e.raws.between===null)throw new Error("`between` must be present");return e.prop.length+e.raws.between.length-1}function OYt(e){let t=e+1;return(r,n)=>{if(!qAl(n,Klt,{actual:e,possible:C7}))return;let s=new RegExp(`(?:\r ){${t+1},}`),a=new RegExp(` {${t+1},}`),u=` `.repeat(t),l=`\r `.repeat(t);r.walkDecls(f=>{if(!f.value.includes("("))return;let p=wS(f),g=[],A=0;if((0,iXr.default)(p).walk(h=>{if(h.type!=="function"||h.value.length===0)return;let _=iXr.default.stringify(h);if(!a.test(_)&&!s.test(_))return;let E=YAl(f)+h.sourceIndex;jAl({message:sXr.expected,messageArgs:[e],node:f,index:E,endIndex:E,result:n,ruleName:Klt,fix(){let b=_.replace(new RegExp(a,"gm"),u).replace(new RegExp(s,"gm"),l);g.push([p.slice(A,h.sourceIndex),b]),A=h.sourceIndex+_.length}})}),g.length>0){let h=g.reduce((_,E)=>_+E[0]+E[1],"")+p.slice(A);YI(f,h)}})}}var iXr,jAl,UAl,qAl,bas,Klt,sXr,Ias,GAl,Tas=Er(()=>{mp();iXr=qi(sh(),1);Xd();LQ();im();RQ();MQ();({utils:{report:jAl,ruleMessages:UAl,validateOptions:qAl}}=ro),bas="function-max-empty-lines",Klt=bu(bas),sXr=UAl(Klt,{expected:e=>`Expected no more than ${e} empty ${e===1?"line":"lines"}`}),Ias={url:Bu(bas),fixable:!0};OYt.ruleName=Klt;OYt.messages=sXr;OYt.meta=Ias;GAl=OYt});var Pas={};Mt(Pas,{default:()=>XAl,messages:()=>pSe,meta:()=>kas,ruleName:()=>Jlt});function RYt(e,t,r){return(n,i)=>{KAl(i,Jlt,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&n.walkDecls(a=>{if(!a.value.includes("("))return;let u=null,l=!1,f=wS(a),p=(0,aXr.default)(f);p.walk(A=>{if(A.type!=="function"||!DYe(A))return;let h=aXr.default.stringify(A),_=!BO(h);function E(R){return R.includes(` `)}let b=A.sourceIndex+A.value.length+1,D=JAl(A);e==="always"&&!E(D)&&(u=()=>{l=!0,Das(A,r.newline||"")},g(pSe.expectedOpening,b)),_&&e==="always-multi-line"&&!E(D)&&(u=()=>{l=!0,Das(A,r.newline||"")},g(pSe.expectedOpeningMultiLine,b)),_&&e==="never-multi-line"&&D!==""&&(u=()=>{l=!0,zAl(A)},g(pSe.rejectedOpeningMultiLine,b));let k=A.sourceIndex+h.length-2,M=HAl(A);e==="always"&&!E(M)&&(u=()=>{l=!0,was(A,r.newline||"")},g(pSe.expectedClosing,k)),_&&e==="always-multi-line"&&!E(M)&&(u=()=>{l=!0,was(A,r.newline||"")},g(pSe.expectedClosingMultiLine,k)),_&&e==="never-multi-line"&&M!==""&&(u=()=>{l=!0,WAl(A)},g(pSe.rejectedClosingMultiLine,k))}),l&&YI(a,p.toString());function g(A,h){let _=_y(a)+h;VAl({ruleName:Jlt,result:i,message:A,node:a,index:_,endIndex:_,fix:u})}})}}function JAl(e){let t=e.before;for(let r of e.nodes)if(r.type!=="comment"){if(r.type==="space"){t+=r.value;continue}break}return t}function HAl(e){let t="";for(let r of[...e.nodes].reverse())if(r.type!=="comment"){if(r.type==="space"){t=r.value+t;continue}break}return t+=e.after,t}function Das(e,t){let r;for(let n of e.nodes)if(n.type!=="comment"){if(n.type==="space"){r=n;continue}break}r?r.value=t+r.value:e.before=t+e.before}function zAl(e){e.before="";for(let t of e.nodes)if(t.type!=="comment"){if(t.type==="space"){t.value="";continue}break}}function was(e,t){e.after=t+e.after}function WAl(e){e.after="";for(let t of[...e.nodes].reverse())if(t.type!=="comment"){if(t.type==="space"){t.value="";continue}break}}var aXr,VAl,$Al,KAl,Bas,Jlt,pSe,kas,XAl,Nas=Er(()=>{mp();aXr=qi(sh(),1);Xd();bB();LQ();im();vYe();wYt();MQ();({utils:{report:VAl,ruleMessages:$Al,validateOptions:KAl}}=ro),Bas="function-parentheses-newline-inside",Jlt=bu(Bas),pSe=$Al(Jlt,{expectedOpening:'Expected newline after "("',expectedClosing:'Expected newline before ")"',expectedOpeningMultiLine:'Expected newline after "(" in a multi-line function',rejectedOpeningMultiLine:'Unexpected whitespace after "(" in a multi-line function',expectedClosingMultiLine:'Expected newline before ")" in a multi-line function',rejectedClosingMultiLine:'Unexpected whitespace before ")" in a multi-line function'}),kas={url:Bu(Bas),fixable:!0};RYt.ruleName=Jlt;RYt.messages=pSe;RYt.meta=kas;XAl=RYt});var Fas={};Mt(Fas,{default:()=>rhl,messages:()=>Nfe,meta:()=>Ras,ruleName:()=>Hlt});function FYt(e){return(t,r)=>{thl(r,Hlt,{actual:e,possible:["always","never","always-single-line","never-single-line"]})&&t.walkDecls(i=>{if(!i.value.includes("("))return;let s=null,a=!1,u=wS(i),l=(0,oXr.default)(u);l.walk(p=>{if(p.type!=="function"||!DYe(p)||!p.nodes.length)return;let g=oXr.default.stringify(p),A=BO(g),h=p.sourceIndex+p.value.length+1;e==="always"&&p.before!==" "&&(s=()=>{a=!0,p.before=" "},f(Nfe.expectedOpening,h)),e==="never"&&p.before!==""&&(s=()=>{a=!0,p.before=""},f(Nfe.rejectedOpening,h)),A&&e==="always-single-line"&&p.before!==" "&&(s=()=>{a=!0,p.before=" "},f(Nfe.expectedOpeningSingleLine,h)),A&&e==="never-single-line"&&p.before!==""&&(s=()=>{a=!0,p.before=""},f(Nfe.rejectedOpeningSingleLine,h));let _=p.sourceIndex+g.length-2;e==="always"&&p.after!==" "&&(s=()=>{a=!0,p.after=" "},f(Nfe.expectedClosing,_)),e==="never"&&p.after!==""&&(s=()=>{a=!0,p.after=""},f(Nfe.rejectedClosing,_)),A&&e==="always-single-line"&&p.after!==" "&&(s=()=>{a=!0,p.after=" "},f(Nfe.expectedClosingSingleLine,_)),A&&e==="never-single-line"&&p.after!==""&&(s=()=>{a=!0,p.after=""},f(Nfe.rejectedClosingSingleLine,_))}),a&&YI(i,l.toString());function f(p,g){let A=_y(i)+g;ZAl({ruleName:Hlt,result:r,message:p,node:i,index:A,endIndex:A,fix:s})}})}}var oXr,ZAl,ehl,thl,Oas,Hlt,Nfe,Ras,rhl,Las=Er(()=>{mp();oXr=qi(sh(),1);Xd();bB();LQ();im();vYe();wYt();MQ();({utils:{report:ZAl,ruleMessages:ehl,validateOptions:thl}}=ro),Oas="function-parentheses-space-inside",Hlt=bu(Oas),Nfe=ehl(Hlt,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"',expectedOpeningSingleLine:'Expected single space after "(" in a single-line function',rejectedOpeningSingleLine:'Unexpected whitespace after "(" in a single-line function',expectedClosingSingleLine:'Expected single space before ")" in a single-line function',rejectedClosingSingleLine:'Unexpected whitespace before ")" in a single-line function'}),Ras={url:Bu(Oas),fixable:!0};FYt.ruleName=Hlt;FYt.messages=Nfe;FYt.meta=Ras;rhl=FYt});function Qv(e){let t=1+e.name.length;return e.raws.afterName&&(t+=e.raws.afterName.length),t}var PO=Er(()=>{});var qas={};Mt(qas,{default:()=>ahl,messages:()=>LYt,meta:()=>Uas,ruleName:()=>wYe});function MYt(e){return(t,r)=>{if(!ihl(r,wYe,{actual:e,possible:["always","never"]}))return;function i(u,l,f,p){(0,Qas.default)({source:l,target:")",functionArguments:"only"},g=>{s(l,g.startIndex+1,u,f,p)})}function s(u,l,f,p,g){let A=u.charAt(l);if(!A)return;let h=p+l;if(e==="always"){if(A===" "||A===` `||u.slice(l,l+2)===`\r `||shl.has(A))return;Mas({message:LYt.expected,node:f,index:h,endIndex:h,result:r,ruleName:wYe,fix(){g(l)}})}else e==="never"&&LX(A)&&Mas({message:LYt.rejected,node:f,index:h,endIndex:h,result:r,ruleName:wYe,fix(){g(l)}})}function a(u){let l="",f=0,p;if(e==="always")p=g=>{l+=`${u.slice(f,g)} `,f=g};else if(e==="never")p=g=>{let A=g+1;for(;A{let l=u.raws.params&&u.raws.params.raw||u.params,f=a(l);i(u,l,Qv(u),f?f.applyFix:void 0),f&&f.hasFixed&&(u.raws.params?u.raws.params.raw=f.fixed:u.params=f.fixed)}),t.walkDecls(u=>{let l=wS(u),f=a(l);i(u,l,_y(u),f?f.applyFix:void 0),f&&f.hasFixed&&YI(u,f.fixed)})}}var Qas,Mas,nhl,ihl,jas,wYe,LYt,Uas,shl,ahl,Yas=Er(()=>{mp();Qas=qi(KF(),1);Xd();PO();bB();LQ();im();zqt();MQ();({utils:{report:Mas,ruleMessages:nhl,validateOptions:ihl}}=ro),jas="function-whitespace-after",wYe=bu(jas),LYt=nhl(wYe,{expected:'Expected whitespace after ")"',rejected:'Unexpected whitespace after ")"'}),Uas={url:Bu(jas),fixable:!0},shl=new Set([")",",","}",":","/",void 0]);MYt.ruleName=wYe;MYt.messages=LYt;MYt.meta=Uas;ahl=MYt});function Gas(e){let t=e.parent;for(;t;){if(t.raws.styledSyntaxRangeStart!==void 0)return!0;t=t.parent}return!1}var Vas=Er(()=>{});function uXr(e){return e.parent?.raws.styledSyntaxRangeStart!==void 0}var $as=Er(()=>{});var Xas={};Mt(Xas,{default:()=>phl,messages:()=>Wlt,meta:()=>zas,ruleName:()=>p7e});function QYt(e,t={}){return(r,n)=>{if(!uhl(n,p7e,{actual:e,possible:[C7,"tab"]},{actual:t,possible:{baseIndentLevel:[C7,"auto"],except:["block","value","param"],ignore:["value","param","inside-parens"],indentInsideParens:["twice","once-at-root-twice-in-block"],indentClosingBrace:[CYe]},optional:!0}))return;let s=C7(e)?e:null,a=s===null?" ":" ".repeat(s),u=e==="tab"?"tab":"space",l=t.baseIndentLevel,f=t.indentClosingBrace;function p(D){let k=s===null?D:D*s,M=k===1?u:`${u}s`;return`${k} ${M}`}r.walk(D=>{if(kWr(D))return;let k=A(D),M=uXr(D)?g(D):0,R=(D.raws.before||"").replace(/[*_]$/,""),q=typeof D.raws.after=="string"?D.raws.after:"",G=D.parent;if(!G)throw new Error("A parent node must be present");let K=a.repeat(k),Z=G.type==="root"&&G.first===D,oe=R.lastIndexOf(` `);(oe!==-1||Z&&(!Was(G)||G.raws.codeBefore&&G.raws.codeBefore.endsWith(` `)))&&R.slice(oe+1)!==K&&lXr({message:Wlt.expected,messageArgs:[p(k-M)],node:D,result:n,ruleName:p7e,fix(){Z&&kO(D.raws.before)&&(D.raws.before=D.raws.before.replace(/^[ \t]*(?=\S|$)/,K)),D.raws.before=Kas(D.raws.before,K)}});let ue=f?k+1:k,me=a.repeat(ue);if((C3(D)||lv(D))&&tb(D)&&q&&q.includes(` `)&&q.slice(q.lastIndexOf(` `)+1)!==me){let Te=D.toString().length-1;lXr({message:Wlt.expected,messageArgs:[p(ue-M)],node:D,index:Te,endIndex:Te,result:n,ruleName:p7e,fix(){D.raws.after=Kas(D.raws.after,me)}})}IYe(D)&&h(D,k),C3(D)&&_(D,k),lv(D)&&E(D,k)});function g(D){let M=D.parent.parent.source.input.css.split(` `)[D.parent.source.start.line-1].match(/^[ \t]*/g)?.[0]??"";return Math.ceil(M.length/a.length)}function A(D,k=0){if(!D.parent)throw new Error("A parent node must be present");if(uXr(D)&&(D.parent.source?.input.css.includes(` `)&&k++,k+=g(D)),kWr(D.parent))return k+lhl(D.parent,l,e);let M;return M=A(D.parent,k+1),kb(t,"except","block")&&(C3(D)||lv(D))&&tb(D)&&M--,M}function h(D,k){if(!D.value.includes(` `)||Gas(D)&&D.value.includes("${")||kb(t,"ignore","value"))return;let M=D.toString(),R=kb(t,"except","value")?k:k+1;b(M,R,D)}function _(D,k){let M=D.selector;D.params&&(k+=1),b(M,k,D)}function E(D,k){if(kb(t,"ignore","param"))return;let M=kb(t,"except","param")||D.name==="nest"||D.name==="at-root"?k:k+1;b(BY(D).trim(),M,D)}function b(D,k,M){if(!D.includes(` `))return;let R=[],q=0,G=kb(t,"ignore","inside-parens");if((0,Jas.default)({source:D,target:` `,outsideParens:G},(K,Z)=>{let oe=/^[ \t]*\)/.test(D.slice(K.startIndex+1));if(G&&(oe||K.insideParens))return;let ue=k;if(!G&&K.insideParens){Z===1&&(q-=1);let ae=K.startIndex;switch(D[K.startIndex-1]==="\r"&&ae--,/\([ \t]*$/.test(D.slice(0,ae))&&(q+=1),/\{[ \t]*$/.test(D.slice(0,ae))&&(q+=1),/^[ \t]*\}/.test(D.slice(K.startIndex+1))&&(q-=1),ue+=q,oe&&(q-=1),t.indentInsideParens){case"twice":(!oe||f)&&(ue+=1);break;case"once-at-root-twice-in-block":if(M.parent===M.root()){oe&&!f&&(ue-=1);break}(!oe||f)&&(ue+=1);break;default:oe&&!f&&(ue-=1)}}let me=/^([ \t]*)\S/.exec(D.slice(K.startIndex+1));if(!me)return;let Te=me[1]||"",le=a.repeat(ue>0?ue:0);if(Te!==le){let ae=K.startIndex+Te.length+1;lXr({message:Wlt.expected,messageArgs:[p(ue)],node:M,index:ae,endIndex:ae,result:n,ruleName:p7e,fix(){R.unshift({expectedIndentation:le,currentIndentation:Te,startIndex:K.startIndex})}})}}),R.length){if(C3(M))for(let K of R)M.selector=zlt(M.selector,K.currentIndentation,K.expectedIndentation,K.startIndex);if(IYe(M)){let K=M.prop,Z=M.raws.between;if(!kO(Z))throw new TypeError("The `between` property must be a string");for(let oe of R)oe.startIndexchl(n,r));return i.baseIndentLevel=a,a}function Was(e){let t=e.document;if(t)return t;let r=e.root();return r&&r.document}function chl(e,t){if(!e.source)throw new Error("The document node must have a source");let r=e.source,n=r.indentSize;if(C7(n)&&Number.isSafeInteger(n))return n;let s=e.source.input.css.match(/^ *(?=\S)/gm);if(s){let f=function(g){if(g){if(u=Math.abs(g-l)||u,u>1){let A=a.get(u);A?a.set(u,A+1):a.set(u,1)}}else u=0;l=g},a=new Map,u=0,l=0;for(let g of s)f(g.length);let p=0;for(let[g,A]of a.entries())A>p&&(p=A,n=g)}return n=Number(n)||s&&s[0]&&s[0].length||Number(t)||2,r.indentSize=n,n}function fhl(e,t,r){function n(l){let f=l.match(/\t/g),p=f?f.length:0,g=l.match(/ /g),A=g?Math.round(g.length/r()):0;return p+A}let i=0;if(!C7(t)||!Number.isSafeInteger(t)){if(!e.source)throw new Error("The root node must have a source");let l=e.source.input.css;l=l.replace(/^[^\r\n]+/,p=>{let g=e.raws.codeBefore&&/(?:^|\n)([ \t]*)$/.exec(e.raws.codeBefore);return g?g[1]+p:""});let f=l.match(/^[ \t]*(?=\S)/gm);if(f)return Math.min(...f.map(p=>n(p)));i=1}else i=t;let s=[],a=e.raws.codeBefore?.match(/(?:^|\n)([\t ]*)\S/gm);if(a){let l=a.length-1;for(;l>=0;){let f=a[l];if(uSe(f),/^\s*n(l)))+i:i}function Kas(e,t){return kO(e)?e.replace(/\n[ \t]*(?=\S|$)/g,` ${t}`):e}function zlt(e,t,r,n){let i=n+1,s=e.slice(0,i),a=e.slice(i+t.length);return s+r+a}var Jas,lXr,ohl,uhl,Has,p7e,Wlt,zas,phl,Zas=Er(()=>{mp();Jas=qi(KF(),1);Xd();f7e();im();VF();Vas();$as();MX();RQ();FQ();({utils:{report:lXr,ruleMessages:ohl,validateOptions:uhl}}=ro),Has="indentation",p7e=bu(Has),Wlt=ohl(p7e,{expected:e=>`Expected indentation of ${e}`}),zas={url:Bu(Has),fixable:!0};QYt.ruleName=p7e;QYt.messages=Wlt;QYt.meta=zas;phl=QYt});var ros={};Mt(ros,{default:()=>Ahl,messages:()=>cXr,meta:()=>tos,ruleName:()=>Xlt});function jYt(e){return(t,r)=>{if(!ghl(r,Xlt,{actual:e,possible:["unix","windows"]}))return;let i=e==="windows";function s(){t.walk(p=>{"selector"in p&&(p.selector=l(p.selector)),"value"in p&&(p.value=l(p.value)),"text"in p&&(p.text=l(p.text)),p.raws.before&&(p.raws.before=l(p.raws.before)),typeof p.raws.after=="string"&&(p.raws.after=l(p.raws.after))}),typeof t.raws.after=="string"&&(t.raws.after=l(t.raws.after))}if(t.source===null)throw new Error("The root node must have a source");let a=t.source.input.css.split(` `);for(let[p,g]of a.entries())if(p{mp();AIe();Xd();im();({utils:{report:dhl,ruleMessages:mhl,validateOptions:ghl}}=ro),eos="linebreaks",Xlt=bu(eos),cXr=mhl(Xlt,{expected:e=>`Expected linebreak to be ${e}`}),tos={url:Bu(eos),fixable:!0};jYt.ruleName=Xlt;jYt.messages=cXr;jYt.meta=tos;Ahl=jYt});var uos={};Mt(uos,{default:()=>Ehl,messages:()=>UYt,meta:()=>oos,ruleName:()=>BYe});function qYt(e,t){let r=0,n=-1;return(i,s)=>{if(!yhl(s,BYe,{actual:e,possible:C7},{actual:t,possible:{ignore:["comments"]},optional:!0}))return;let u=kb(t,"ignore","comments"),l=A.bind(null,e);function f(){i.walk(E=>{E.type==="comment"&&!u&&(E.raws.left=l(E.raws.left),E.raws.right=l(E.raws.right)),E.raws.before&&(E.raws.before=l(E.raws.before))});let h=i.first&&i.first.raws.before,_=i.raws.after;(i.document&&i.document.constructor.name)!=="Document"?(h&&(i.first.raws.before=l(h,!0)),_&&(i.raws.after=A(e===0?1:e,_,!0))):_&&(i.raws.after=A(e===0?1:e,_))}r=0,n=-1;let p=i.toString();(0,sos.default)({source:p,target:/\r\n/.test(p)?`\r `:` `,comments:u?"skip":"check"},h=>{g(p,h.startIndex,h.endIndex,i)});function g(h,_,E,b){let D=E===h.length,k=!1;!_||n===_?r++:r=0,n=E,r>e&&(k=!0),!(!D&&!k)&&(k&&ios({message:UYt.expected,messageArgs:[e],node:b,index:_,endIndex:_,result:s,ruleName:BYe,fix:f}),D&&e&&(r++,r>e&&_hl(s.root,b)&&ios({message:UYt.expected,messageArgs:[e],node:b,index:E,endIndex:E,result:s,ruleName:BYe,fix:f})))}function A(h,_,E=!1){let b=E?h:h+1;if(b===0||typeof _!="string")return"";let D=` `.repeat(b),k=`\r `.repeat(b);return/(?:\r\n)+/.test(_)?_.replace(/(\r\n)+/g,M=>M.length/2>b?k:M):_.replace(/(\n)+/g,M=>M.length>b?D:M)}}}function _hl(e,t){if(!e||e.constructor.name!=="Document"||!("type"in e))return!0;let r;if(t===e.last)r=e.raws&&e.raws.codeAfter;else{let n=e.index(t),i=e.nodes[n+1];r=i&&i.raws&&i.raws.codeBefore}return!String(r).trim()}var sos,ios,hhl,yhl,aos,BYe,UYt,oos,Ehl,los=Er(()=>{mp();sos=qi(KF(),1);Xd();im();RQ();MX();({utils:{report:ios,ruleMessages:hhl,validateOptions:yhl}}=ro),aos="max-empty-lines",BYe=bu(aos),UYt=hhl(BYe,{expected:e=>`Expected no more than ${e} empty ${e===1?"line":"lines"}`}),oos={url:Bu(aos),fixable:!0};qYt.ruleName=BYe;qYt.messages=UYt;qYt.meta=oos;Ehl=qYt});var dos={};Mt(dos,{default:()=>bhl,messages:()=>fXr,meta:()=>pos,ruleName:()=>Zlt});function YYt(e,t){return(r,n)=>{if(!Chl(n,Zlt,{actual:e,possible:C7},{actual:t,possible:{ignore:["non-comments","comments"],ignorePattern:[kO,c7e]},optional:!0}))return;if(r.source===null)throw new Error("The root node must have a source");let s=[/url\(\s*(\S.*\S)\s*\)/gi,/@import\s+(['"].*['"])/gi],a=kb(t,"ignore","non-comments"),u=kb(t,"ignore","comments"),l=r.source.input.css,f=[],p=0;for(let _ of s)for(let E of l.matchAll(_)){let b=E[1]||"",D=(E.index||0)+(E[0]||"").indexOf(b);f.push([D,D+b.length])}f=f.sort((_,E)=>_[0]-E[0]),h({endIndex:0}),(0,cos.default)({source:l,target:[` `],comments:"check"},_=>h(_));function g(_){xhl({index:_,endIndex:_,result:n,ruleName:Zlt,message:fXr.expected,messageArgs:[e],node:r})}function A(_,E){let b=f[p];sis(b);let[D,k]=b;if(E{mp();cos=qi(KF(),1);Xd();im();MX();RQ();({utils:{report:xhl,ruleMessages:vhl,validateOptions:Chl}}=ro),fos="max-line-length",Zlt=bu(fos),fXr=vhl(Zlt,{expected:e=>`Expected line length to be no more than ${e} ${e===1?"character":"characters"}`}),pos={url:Bu(fos)};YYt.ruleName=Zlt;YYt.messages=fXr;YYt.meta=pos;bhl=YYt});function GYt(e){e.root.walkAtRules(/^media$/i,r=>{let n=r.raws.params?r.raws.params.raw:r.params;(0,gos.default)({source:n,target:":"},i=>{t(n,i.startIndex,r)})});function t(r,n,i){e.locationChecker({source:r,index:n,err:s=>{let a=n+Qv(i);Ihl({message:s,node:i,index:a,endIndex:a,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(i,a):void 0})}})}}var gos,Ihl,pXr=Er(()=>{gos=qi(KF(),1);mp();PO();({utils:{report:Ihl}}=ro)});var yos={};Mt(yos,{default:()=>Dhl,messages:()=>dXr,meta:()=>hos,ruleName:()=>ect});function VYt(e){let t=ud("space",e,dXr);return(r,n)=>{if(!Thl(n,ect,{actual:e,possible:["always","never"]}))return;let s;if(GYt({root:r,result:n,locationChecker:t.after,checkedRuleName:ect,fix:(a,u)=>{let l=u-Qv(a);s=s||new Map;let f=s.get(a)||[];return f.push(l),s.set(a,f),!0}}),s)for(let[a,u]of s.entries()){let l=a.raws.params?a.raws.params.raw:a.params;for(let f of u.sort((p,g)=>g-p)){let p=l.slice(0,f+1),g=l.slice(f+1);e==="always"?l=p+g.replace(/^\s*/," "):e==="never"&&(l=p+g.replace(/^\s*/,""))}a.raws.params?a.raws.params.raw=l:a.params=l}}}var Shl,Thl,Aos,ect,dXr,hos,Dhl,_os=Er(()=>{mp();Xd();PO();im();pXr();yy();({utils:{ruleMessages:Shl,validateOptions:Thl}}=ro),Aos="media-feature-colon-space-after",ect=bu(Aos),dXr=Shl(ect,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"'}),hos={url:Bu(Aos),fixable:!0};VYt.ruleName=ect;VYt.messages=dXr;VYt.meta=hos;Dhl=VYt});var vos={};Mt(vos,{default:()=>khl,messages:()=>mXr,meta:()=>xos,ruleName:()=>tct});function $Yt(e){let t=ud("space",e,mXr);return(r,n)=>{if(!Bhl(n,tct,{actual:e,possible:["always","never"]}))return;let s;if(GYt({root:r,result:n,locationChecker:t.before,checkedRuleName:tct,fix:(a,u)=>{let l=u-Qv(a);s=s||new Map;let f=s.get(a)||[];return f.push(l),s.set(a,f),!0}}),s)for(let[a,u]of s.entries()){let l=a.raws.params?a.raws.params.raw:a.params;for(let f of u.sort((p,g)=>g-p)){let p=l.slice(0,f),g=l.slice(f);e==="always"?l=p.replace(/\s*$/," ")+g:e==="never"&&(l=p.replace(/\s*$/,"")+g)}a.raws.params?a.raws.params.raw=l:a.params=l}}}var whl,Bhl,Eos,tct,mXr,xos,khl,Cos=Er(()=>{mp();Xd();PO();im();pXr();yy();({utils:{ruleMessages:whl,validateOptions:Bhl}}=ro),Eos="media-feature-colon-space-before",tct=bu(Eos),mXr=whl(tct,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),xos={url:Bu(Eos),fixable:!0};$Yt.ruleName=tct;$Yt.messages=mXr;$Yt.meta=xos;khl=$Yt});function Ios(e,t){let r=y3({css:e});return JUe(r).flatMap(s=>s.flatMap(a=>{if(!_Y(a)||a.startToken[0]!==lu.OpenParen)return[];let u=a.tokens();return mfe(u,{preserveInvalidMediaQueries:!0}).filter(f=>!MF(f))})).forEach(s=>{s.walk(({node:a})=>{if(LF(a)){let u=a.getNameToken();if(u[0]!==lu.Ident)return;t(u)}aqe(a)&&Phl(a).forEach((u,l,f)=>{if(u[0]!==lu.Ident)return;let p=f[l+1],g=f[l-1];(!g&&p&&p[0]===lu.Colon||p&&p[0]===lu.Delim&&bos.test(p[4].value)||g&&g[0]===lu.Delim&&bos.test(g[4].value))&&t(u)})})}),{stringify(){return g_(...r)}}}function Phl(e){let t=e.value.value;if(b1e(t)||t.length===0||b1e(t[0]))return[];let r=[],n=!1;return t.forEach(i=>{if(i&&qI(i)){if(i.value[0]===lu.Delim&&i.value[4].value==="$"){n=!0;return}if(n){n=!1;return}r.push(i.value)}}),r}var bos,Sos=Er(()=>{xY();kQ();oP();bos=/[<>=]/});function Tos(e){return e.startsWith("--")}var Dos=Er(()=>{});var kos={};Mt(kos,{default:()=>Fhl,messages:()=>gXr,meta:()=>Bos,ruleName:()=>rct});function KYt(e){return(t,r)=>{Rhl(r,rct,{actual:e,possible:["lower","upper"]})&&t.walkAtRules(/^media$/i,i=>{let s=i.raws.params?.raw,a=s||i.params,u=!1;if(a=Ios(a,l=>{let[,,f,p,{value:g}]=l;if(Tos(g))return;let A=e==="lower"?g.toLowerCase():g.toUpperCase();if(g===A)return;let h=Qv(i);Nhl({message:gXr.expected,messageArgs:[g,A],node:i,index:h+f,endIndex:h+p+1,ruleName:rct,result:r,fix(){jat(l,A),u=!0}})}).stringify(),u)if(s){if(i.raws.params===null)throw new Error("The `AtRuleRaws` node must have a `params` property");i.raws.params.raw=a}else i.params=a})}}var Nhl,Ohl,Rhl,wos,rct,gXr,Bos,Fhl,Pos=Er(()=>{oP();mp();Xd();PO();Sos();im();Dos();({utils:{report:Nhl,ruleMessages:Ohl,validateOptions:Rhl}}=ro),wos="media-feature-name-case",rct=bu(wos),gXr=Ohl(rct,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Bos={url:Bu(wos),fixable:!0};KYt.ruleName=rct;KYt.messages=gXr;KYt.meta=Bos;Fhl=KYt});var Ros={};Mt(Ros,{default:()=>jhl,messages:()=>kYe,meta:()=>Oos,ruleName:()=>nct});function JYt(e){return(t,r)=>{Qhl(r,nct,{actual:e,possible:["always","never"]})&&t.walkAtRules(/^media$/i,i=>{let s=i.raws.params&&i.raws.params.raw||i.params,a=Qv(i),u=[],l=(0,AXr.default)(s).walk(f=>{if(f.type==="function"){let p=AXr.default.stringify(f).length;e==="never"?(/[ \t]/.test(f.before)&&u.push({message:kYe.rejectedOpening,index:f.sourceIndex+1+a,fix(){f.before=""}}),/[ \t]/.test(f.after)&&u.push({message:kYe.rejectedClosing,index:f.sourceIndex-2+p+a,fix(){f.after=""}})):e==="always"&&(f.before===""&&u.push({message:kYe.expectedOpening,index:f.sourceIndex+1+a,fix(){f.before=" "}}),f.after===""&&u.push({message:kYe.expectedClosing,index:f.sourceIndex-2+p+a,fix(){f.after=" "}}))}});if(u.length){for(let f of u)Lhl({message:f.message,node:i,index:f.index,endIndex:f.index,result:r,ruleName:nct,fix:f.fix});u.some(f=>f.fix)&&(i.params=l.toString())}})}}var AXr,Lhl,Mhl,Qhl,Nos,nct,kYe,Oos,jhl,Fos=Er(()=>{mp();AXr=qi(sh(),1);Xd();PO();im();({utils:{report:Lhl,ruleMessages:Mhl,validateOptions:Qhl}}=ro),Nos="media-feature-parentheses-space-inside",nct=bu(Nos),kYe=Mhl(nct,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),Oos={url:Bu(Nos),fixable:!0};JYt.ruleName=nct;JYt.messages=kYe;JYt.meta=Oos;jhl=JYt});function HYt(e,t){if(e.name.toLowerCase()!=="media")return;let r=e.raws.params?e.raws.params.raw:e.params;(0,Los.default)({source:r,target:Uhl},n=>{let i=r[n.startIndex-1];i===">"||i==="<"||t(n,r,e)})}var Los,Uhl,hXr=Er(()=>{Los=qi(KF(),1),Uhl=[">=","<=",">","<","="]});var jos={};Mt(jos,{default:()=>Vhl,messages:()=>yXr,meta:()=>Qos,ruleName:()=>ict});function zYt(e){let t=ud("space",e,yXr);return(r,n)=>{Ghl(n,ict,{actual:e,possible:["always","never"]})&&r.walkAtRules(/^media$/i,s=>{let a=[];if(HYt(s,(u,l,f)=>{let p=u.startIndex+u.target.length-1,g=p+Qv(f)+1;t.after({source:l,index:p,err:A=>{qhl({message:A,node:f,index:g,endIndex:g,result:n,ruleName:ict,fix(){a.push(p)}})}})}),a.length){let u=s.raws.params?s.raws.params.raw:s.params;for(let l of a.sort((f,p)=>p-f)){let f=u.slice(0,l+1),p=u.slice(l+1);e==="always"?u=f+p.replace(/^\s*/," "):e==="never"&&(u=f+p.replace(/^\s*/,""))}s.raws.params?s.raws.params.raw=u:s.params=u}})}}var qhl,Yhl,Ghl,Mos,ict,yXr,Qos,Vhl,Uos=Er(()=>{mp();Xd();PO();hXr();im();yy();({utils:{report:qhl,ruleMessages:Yhl,validateOptions:Ghl}}=ro),Mos="media-feature-range-operator-space-after",ict=bu(Mos),yXr=Yhl(ict,{expectedAfter:()=>"Expected single space after range operator",rejectedAfter:()=>"Unexpected whitespace after range operator"}),Qos={url:Bu(Mos),fixable:!0};zYt.ruleName=ict;zYt.messages=yXr;zYt.meta=Qos;Vhl=zYt});var Gos={};Mt(Gos,{default:()=>Hhl,messages:()=>_Xr,meta:()=>Yos,ruleName:()=>sct});function WYt(e){let t=ud("space",e,_Xr);return(r,n)=>{Jhl(n,sct,{actual:e,possible:["always","never"]})&&r.walkAtRules(/^media$/i,s=>{let a=[];if(HYt(s,(u,l,f)=>{let p=u.startIndex-1+Qv(f);t.before({source:l,index:u.startIndex,err:g=>{$hl({message:g,node:f,index:p,endIndex:p,result:n,ruleName:sct,fix(){a.push(u.startIndex)}})}})}),a.length){let u=s.raws.params?s.raws.params.raw:s.params;for(let l of a.sort((f,p)=>p-f)){let f=u.slice(0,l),p=u.slice(l);e==="always"?u=f.replace(/\s*$/," ")+p:e==="never"&&(u=f.replace(/\s*$/,"")+p)}s.raws.params?s.raws.params.raw=u:s.params=u}})}}var $hl,Khl,Jhl,qos,sct,_Xr,Yos,Hhl,Vos=Er(()=>{mp();Xd();PO();hXr();im();yy();({utils:{report:$hl,ruleMessages:Khl,validateOptions:Jhl}}=ro),qos="media-feature-range-operator-space-before",sct=bu(qos),_Xr=Khl(sct,{expectedBefore:()=>"Expected single space before range operator",rejectedBefore:()=>"Unexpected whitespace before range operator"}),Yos={url:Bu(qos),fixable:!0};WYt.ruleName=sct;WYt.messages=_Xr;WYt.meta=Yos;Hhl=WYt});function dSe(e){e.root.walkAtRules(/^media$/i,r=>{let n=r.raws.params?r.raws.params.raw:r.params;(0,$os.default)({source:n,target:","},i=>{let s=i.startIndex;if(e.allowTrailingComments){let a=/^[^\S\r\n]*\/\*([\s\S]*?)\*\//.exec(n.slice(s+1));for(;a;)uSe(a[0]),s+=a[0].length,a=/^[^\S\r\n]*\/\*([\s\S]*?)\*\//.exec(n.slice(s+1));a=/^([^\S\r\n]*\/\/[\s\S]*?)\r?\n/.exec(n.slice(s+1)),a&&(uSe(a[1]),s+=a[1].length)}t(n,s,r)})});function t(r,n,i){e.locationChecker({source:r,index:n,err:s=>{let a=n+Qv(i);zhl({message:s,node:i,index:a,endIndex:a,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(i,a):void 0})}})}}var $os,zhl,act=Er(()=>{$os=qi(KF(),1);mp();PO();RQ();({utils:{report:zhl}}=ro)});var Hos={};Mt(Hos,{default:()=>Zhl,messages:()=>EXr,meta:()=>Jos,ruleName:()=>oct});function XYt(e,t,r){let n=ud("newline",e,EXr);return(i,s)=>{if(!Xhl(s,oct,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;let u;if(dSe({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:oct,allowTrailingComments:e.startsWith("always"),fix:(l,f)=>{let p=f-Qv(l);u=u||new Map;let g=u.get(l)||[];return g.push(p),u.set(l,g),!0}}),u)for(let[l,f]of u.entries()){let p=l.raws.params?l.raws.params.raw:l.params;for(let g of f.sort((A,h)=>h-A)){let A=p.slice(0,g+1),h=p.slice(g+1);e.startsWith("always")?p=/^\s*\n/.test(h)?A+h.replace(/^[^\S\r\n]*/,""):A+r.newline+h:e.startsWith("never")&&(p=A+h.replace(/^\s*/,""))}l.raws.params?l.raws.params.raw=p:l.params=p}}}var Whl,Xhl,Kos,oct,EXr,Jos,Zhl,zos=Er(()=>{mp();Xd();PO();im();act();yy();({utils:{ruleMessages:Whl,validateOptions:Xhl}}=ro),Kos="media-query-list-comma-newline-after",oct=bu(Kos),EXr=Whl(oct,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),Jos={url:Bu(Kos),fixable:!0};XYt.ruleName=oct;XYt.messages=EXr;XYt.meta=Jos;Zhl=XYt});var Zos={};Mt(Zos,{default:()=>r0l,messages:()=>xXr,meta:()=>Xos,ruleName:()=>uct});function ZYt(e){let t=ud("newline",e,xXr);return(r,n)=>{t0l(n,uct,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&dSe({root:r,result:n,locationChecker:t.beforeAllowingIndentation,checkedRuleName:uct})}}var e0l,t0l,Wos,uct,xXr,Xos,r0l,eus=Er(()=>{mp();Xd();im();act();yy();({utils:{ruleMessages:e0l,validateOptions:t0l}}=ro),Wos="media-query-list-comma-newline-before",uct=bu(Wos),xXr=e0l(uct,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),Xos={url:Bu(Wos)};ZYt.ruleName=uct;ZYt.messages=xXr;ZYt.meta=Xos;r0l=ZYt});var nus={};Mt(nus,{default:()=>s0l,messages:()=>vXr,meta:()=>rus,ruleName:()=>lct});function eGt(e){let t=ud("space",e,vXr);return(r,n)=>{if(!i0l(n,lct,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let s;if(dSe({root:r,result:n,locationChecker:t.after,checkedRuleName:lct,fix:(a,u)=>{let l=u-Qv(a);s=s||new Map;let f=s.get(a)||[];return f.push(l),s.set(a,f),!0}}),s)for(let[a,u]of s.entries()){let l=a.raws.params?a.raws.params.raw:a.params;for(let f of u.sort((p,g)=>g-p)){let p=l.slice(0,f+1),g=l.slice(f+1);e.startsWith("always")?l=p+g.replace(/^\s*/," "):e.startsWith("never")&&(l=p+g.replace(/^\s*/,""))}a.raws.params?a.raws.params.raw=l:a.params=l}}}var n0l,i0l,tus,lct,vXr,rus,s0l,ius=Er(()=>{mp();Xd();PO();im();act();yy();({utils:{ruleMessages:n0l,validateOptions:i0l}}=ro),tus="media-query-list-comma-space-after",lct=bu(tus),vXr=n0l(lct,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),rus={url:Bu(tus),fixable:!0};eGt.ruleName=lct;eGt.messages=vXr;eGt.meta=rus;s0l=eGt});var ous={};Mt(ous,{default:()=>u0l,messages:()=>CXr,meta:()=>aus,ruleName:()=>cct});function tGt(e){let t=ud("space",e,CXr);return(r,n)=>{if(!o0l(n,cct,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let s;if(dSe({root:r,result:n,locationChecker:t.before,checkedRuleName:cct,fix:(a,u)=>{let l=u-Qv(a);s=s||new Map;let f=s.get(a)||[];return f.push(l),s.set(a,f),!0}}),s)for(let[a,u]of s.entries()){let l=a.raws.params?a.raws.params.raw:a.params;for(let f of u.sort((p,g)=>g-p)){let p=l.slice(0,f),g=l.slice(f);e.startsWith("always")?l=p.replace(/\s*$/," ")+g:e.startsWith("never")&&(l=p.replace(/\s*$/,"")+g)}a.raws.params?a.raws.params.raw=l:a.params=l}}}var a0l,o0l,sus,cct,CXr,aus,u0l,uus=Er(()=>{mp();Xd();PO();im();act();yy();({utils:{ruleMessages:a0l,validateOptions:o0l}}=ro),sus="media-query-list-comma-space-before",cct=bu(sus),CXr=a0l(cct,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),aus={url:Bu(sus),fixable:!0};tGt.ruleName=cct;tGt.messages=CXr;tGt.meta=aus;u0l=tGt});var pus={};Mt(pus,{default:()=>p0l,messages:()=>bXr,meta:()=>fus,ruleName:()=>fct});function rGt(e,t={}){return(r,n)=>{if(!f0l(n,fct,{actual:e},{actual:t,possible:{gap:[C7,l=>l>1],alignQuotes:[CYe]},optional:!0}))return;let s=t.gap??1,a=t.alignQuotes??!1,u=" ".repeat(s);r.walkDecls("grid-template-areas",l=>{let f=wS(l),p=(0,lus.default)(f),g=f.includes(` `),A=p.nodes.filter(K=>K.type==="string"),h=A.map(({value:K})=>K).filter(Boolean),_=A.map(({value:K})=>K.trim().replaceAll(/\s+/g," ")).filter(Boolean),E=0,b=_.reduce((K,Z)=>{let oe=Z.split(" ");return E=Math.max(E,oe.length),K.push(Z.split(" ")),K},[]),D=new Array(E).fill("").reduce((K,Z,oe)=>{let ue=b.map(me=>me[oe]?.length??0);return K.push(Math.max(Z.length,...ue)),K},[]),k=0,M=b.map(K=>{let Z=K.map((oe,ue)=>g?oe.padEnd(D[ue]," "):oe).join(u);return k=Math.max(k,Z.length),a?Z:Z.trimEnd()});if(a&&g&&(M=M.map(K=>{if(K.length===k)return K;let Z=K.trimEnd();return`${Z}${" ".repeat(k-Z.length)}`})),h.every((K,Z)=>K===M[Z]))return;let q=l.raws.between.match(/[\r\n?|\n]*/g)?.reduce((K,Z)=>K+Z.length,0),G=q===0?_y(l)+l.source.start.column:l.raws.between.match(/[^\r\n?|\n]+$/)?.[0].length+1||0;l0l({message:bXr.expected,node:l,start:{line:q+l.source.start.line,column:G},end:{line:l.source.end.line,column:l.source.end.column},result:n,ruleName:fct,fix(){let K=p.nodes.reduce((Z,oe)=>oe.type==="string"?(Z.push(`${oe.quote}${M.shift()}${oe.quote}`),Z):oe.type==="comment"?(Z.push(`/*${oe.value}*/`),Z):(Z.push(`${oe.before??""}${oe.value}${oe.after??""}`),Z),[]).join("");YI(l,K)}})})}}var lus,l0l,c0l,f0l,cus,fct,bXr,fus,p0l,dus=Er(()=>{mp();lus=qi(sh(),1);Xd();bB();LQ();im();MQ();RQ();({utils:{report:l0l,ruleMessages:c0l,validateOptions:f0l}}=ro),cus="named-grid-areas-alignment",fct=bu(cus),bXr=c0l(fct,{expected:()=>"Expected `grid-template-areas` value to be aligned"}),fus={url:Bu(cus),fixable:!0};rGt.ruleName=fct;rGt.messages=bXr;rGt.meta=fus;p0l=rGt});var gus={};Mt(gus,{default:()=>h0l,messages:()=>SXr,noEmptyFirstLineTest:()=>IXr,ruleName:()=>pct});function nGt(e){return(t,r)=>{if(!g0l(r,pct,{actual:e})||t.source.inline||t.source.lang==="object-literal")return;let i=t.source&&t.source.input.css||"";i.trim()&&IXr.test(i)&&d0l({message:SXr.rejected,node:t,result:r,ruleName:pct,fix(){if(t.first===null)throw new Error("The root node must have the first node.");if(t.first.raws.before===null)throw new Error("The first node must have spaces before.");t.first.raws.before=t.first.raws.before.replace(IXr,"")}})}}var d0l,m0l,g0l,mus,pct,IXr,SXr,A0l,h0l,Aus=Er(()=>{mp();Xd();im();({utils:{report:d0l,ruleMessages:m0l,validateOptions:g0l}}=ro),mus="no-empty-first-line",pct=bu(mus),IXr=/^\s*[\r\n]/,SXr=m0l(pct,{rejected:"Unexpected empty line"}),A0l={url:Bu(mus),fixable:!0};nGt.ruleName=pct;nGt.messages=SXr;nGt.meta=A0l;h0l=nGt});function hus(e){for(let t of e)if(!LX(t))return!1;return!0}var yus=Er(()=>{zqt()});function _us(e){return!("inline"in e||"inline"in e.raws)}var Eus=Er(()=>{});var Ius={};Mt(Ius,{default:()=>v0l,messages:()=>DXr,meta:()=>bus,ruleName:()=>dct});function TXr(e){return e.replace(/[ \t]+$/,"")}function xus(e,t,{ignoreEmptyLines:r,isRootFirst:n}){let i=e-1;if(!x0l.has(t.charAt(i)))return-1;if(r){let s=t.lastIndexOf(` `,i);if(s>=0||n){let a=t.substring(s,i);if(hus(a))return-1}}return i}function iGt(e,t){return(r,n)=>{if(!E0l(n,dct,{actual:e},{optional:!0,actual:t,possible:{ignore:["empty-lines"]}}))return;let s=kb(t,"ignore","empty-lines"),a=r.source&&r.source.input.css||"";function u(A){y0l({message:DXr.rejected,node:r,index:A,endIndex:A,result:n,ruleName:dct,fix:p})}f(a,u,!0);let l=xus(a.length,a,{ignoreEmptyLines:s,isRootFirst:!0});l>-1&&u(l);function f(A,h,_){(0,vus.default)({source:A,target:[` `,"\r"],comments:"check"},E=>{let b=xus(E.startIndex,A,{ignoreEmptyLines:s,isRootFirst:_});b>-1&&h(b)})}function p(){let A=!0;if(r.walk(h=>{if(g(h.raws.before,_=>{h.raws.before=_},A),A=!1,lv(h)){g(h.raws.afterName,E=>{h.raws.afterName=E});let _=h.raws.params;_?g(_.raw,E=>{_.raw=E}):g(h.params,E=>{h.params=E})}if(C3(h)){let _=h.raws.selector;_?g(_.raw,E=>{_.raw=E}):g(h.selector,E=>{h.selector=E})}if((lv(h)||C3(h)||IYe(h))&&g(h.raws.between,_=>{h.raws.between=_}),IYe(h)){let _=h.raws.value;_?g(_.raw,E=>{_.raw=E}):g(h.value,E=>{h.value=E})}bis(h)&&(g(h.raws.left,_=>{h.raws.left=_}),_us(h)?g(h.raws.right,_=>{h.raws.right=_}):h.raws.right=h.raws.right&&TXr(h.raws.right),g(h.text,_=>{h.text=_})),(lv(h)||C3(h))&&g(h.raws.after,_=>{h.raws.after=_})}),g(r.raws.after,h=>{r.raws.after=h},A),typeof r.raws.after=="string"){let h=Math.max(r.raws.after.lastIndexOf(` `),r.raws.after.lastIndexOf("\r"));h!==r.raws.after.length-1&&(r.raws.after=r.raws.after.slice(0,h+1)+TXr(r.raws.after.slice(h+1)))}}function g(A,h,_=!1){if(!A)return;let E="",b=0;f(A,D=>{let k=D+1;E+=TXr(A.slice(b,k)),b=k},_),b&&(E+=A.slice(b),h(E))}}}var vus,y0l,_0l,E0l,Cus,dct,DXr,bus,x0l,v0l,Sus=Er(()=>{mp();vus=qi(KF(),1);Xd();im();yus();Eus();MX();FQ();({utils:{report:y0l,ruleMessages:_0l,validateOptions:E0l}}=ro),Cus="no-eol-whitespace",dct=bu(Cus),DXr=_0l(dct,{rejected:"Unexpected whitespace at end of line"}),bus={url:Bu(Cus),fixable:!0},x0l=new Set([" "," "]);iGt.ruleName=dct;iGt.messages=DXr;iGt.meta=bus;v0l=iGt});function Tus(e){return C0l.test(e)}var C0l,Dus=Er(()=>{C0l=/@\{.+?\}/});function wus(e){return b0l.test(e)}var b0l,Bus=Er(()=>{b0l=/\$\(.+?\)/});function kus(e){return I0l.test(e)}var I0l,Pus=Er(()=>{I0l=/#\{.+?\}/s});function Nus(e){return S0l.test(e)}var S0l,Ous=Er(()=>{S0l=/\{.+?\}/s});function PYe(e){return!!(Tus(e)||kus(e)||Nus(e)||wus(e))}var sGt=Er(()=>{Dus();Bus();Pus();Ous()});function NYe(e){return!(PYe(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}var aGt=Er(()=>{sGt()});function e4(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!NYe(e.selector))}var QX=Er(()=>{aGt()});var Lus={};Mt(Lus,{default:()=>B0l,messages:()=>BXr,meta:()=>Fus,ruleName:()=>gct});function wXr(e){if(e.parent&&e.parent.document)return 0;let t=e.root();if(!t.source)throw new Error("The root node must have a source");if(!e.source)throw new Error("The node must have a source");if(!e.source.start)throw new Error("The source must have a start position");let r=t.source.input.css,n=e.source.start.column,i=e.source.start.line,s=1,a=1,u=0;for(let l=0;l{if(!w0l(r,gct,{actual:e}))return;let i=null;if(t.raws.after&&t.raws.after.trim().length!==0){let u=t.raws.after,l=[];(0,mct.default)({source:u,target:";"},f=>{if(i=()=>{l.push(f.startIndex)},!t.source)throw new Error("The root node must have a source");s(t.source.input.css.length-u.length+f.startIndex)}),l.length&&(t.raws.after=a(u,l))}t.walk(u=>{if(!(lv(u)&&!rse(u))&&!(u.type==="rule"&&!e4(u))){if(u.raws.before&&u.raws.before.trim().length!==0){let l=u.raws.before,f=0,p=0,g=[];(0,mct.default)({source:l,target:";"},(A,h)=>{h!==f&&(i=()=>{g.push(A.startIndex-p)},s(wXr(u)-l.length+A.startIndex))}),g.length&&(u.raws.before=a(l,g))}if(typeof u.raws.after=="string"&&u.raws.after.trim().length!==0){let l=u.raws.after;if("last"in u&&u.last&&u.last.type==="atrule"&&!rse(u.last))return;let f=[];(0,mct.default)({source:l,target:";"},p=>{i=()=>{f.push(p.startIndex)};let g=wXr(u)+u.toString().length-1-l.length+p.startIndex;s(g)}),f.length&&(u.raws.after=a(l,f))}if(typeof u.raws.ownSemicolon=="string"){let l=u.raws.ownSemicolon,f=0,p=[];(0,mct.default)({source:l,target:";"},(g,A)=>{if(A===f)return;i=()=>{p.push(g.startIndex)};let h=wXr(u)+u.toString().length-l.length+g.startIndex;s(h)}),p.length&&(u.raws.ownSemicolon=a(l,p))}}});function s(u){T0l({message:BXr.rejected,node:t,index:u,endIndex:u,result:r,ruleName:gct,fix:i})}function a(u,l){for(let f of l.reverse())u=u.slice(0,f)+u.slice(f+1);return u}}}var mct,T0l,D0l,w0l,Rus,gct,BXr,Fus,B0l,Mus=Er(()=>{mp();mct=qi(KF(),1);Xd();im();FQ();xYe();QX();({utils:{report:T0l,ruleMessages:D0l,validateOptions:w0l}}=ro),Rus="no-extra-semicolons",gct=bu(Rus),BXr=D0l(gct,{rejected:"Unexpected extra semicolon"}),Fus={url:Bu(Rus),fixable:!0};oGt.ruleName=gct;oGt.messages=BXr;oGt.meta=Fus;B0l=oGt});var Uus={};Mt(Uus,{default:()=>O0l,messages:()=>kXr,meta:()=>jus,ruleName:()=>Act});function uGt(e,t,r){return(n,i)=>{if(!N0l(i,Act,{actual:e}))return;if(n.source===null)throw new Error("The root node must have a source property");if(n.source.inline||n.source.lang==="object-literal")return;let a=n.source.input.css;if(!a.trim()||a.endsWith(` `))return;let u=a.length-1;k0l({message:kXr.rejected,node:n,index:u,endIndex:u,result:i,ruleName:Act,fix(){n.raws.after=r.newline}})}}var k0l,P0l,N0l,Qus,Act,kXr,jus,O0l,qus=Er(()=>{mp();Xd();im();({utils:{report:k0l,ruleMessages:P0l,validateOptions:N0l}}=ro),Qus="no-missing-end-of-source-newline",Act=bu(Qus),kXr=P0l(Act,{rejected:"Unexpected missing end-of-source newline"}),jus={url:Bu(Qus),fixable:!0};uGt.ruleName=Act;uGt.messages=kXr;uGt.meta=jus;O0l=uGt});var Jus={};Mt(Jus,{default:()=>M0l,messages:()=>lGt,meta:()=>Kus,ruleName:()=>hct});function cGt(e){return(t,r)=>{if(!L0l(r,hct,{actual:e,possible:["always","never"]}))return;let i=null;t.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&s(u,u.params)}),t.walkDecls(u=>s(u,u.value));function s(u,l){let f=[],p=[];if(l.includes(".")){if((0,Vus.default)(l).walk(g=>{if(g.type==="function"&&g.value.toLowerCase()==="url")return!1;if(g.type==="word"){if(e==="always"){let A=/(?:\D|^)(\.\d+)/.exec(g.value);if(A===null||A[0]===null||A[1]===null)return;let h=A[0].length-A[1].length,_=g.sourceIndex+A.index+h;i=()=>{p.unshift({index:_})};let E=lv(u)?Qv(u):_y(u);a(lGt.expected,u,E+_)}if(e==="never"){let A=/(?:\D|^)(0+)(\.\d+)/.exec(g.value);if(A===null||A[0]===null||A[1]===null||A[2]===null)return;let h=A[0].length-(A[1].length+A[2].length),_=g.sourceIndex+A.index+h;i=()=>{f.unshift({startIndex:_,endIndex:_+A[1].length})};let E=lv(u)?Qv(u):_y(u);a(lGt.rejected,u,E+_)}}}),p.length)for(let g of p){let A=g.index;lv(u)?u.params=Yus(u.params,A):u.value=Yus(u.value,A)}if(f.length)for(let g of f){let A=g.startIndex,h=g.endIndex;lv(u)?u.params=Gus(u.params,A,h):u.value=Gus(u.value,A,h)}}}function a(u,l,f){R0l({result:r,ruleName:hct,message:u,node:l,index:f,endIndex:f,fix:i})}}}function Yus(e,t){return`${e.slice(0,t)}0${e.slice(t)}`}function Gus(e,t,r){return e.slice(0,t)+e.slice(r)}var Vus,R0l,F0l,L0l,$us,hct,lGt,Kus,M0l,Hus=Er(()=>{mp();Vus=qi(sh(),1);Xd();PO();bB();im();FQ();({utils:{report:R0l,ruleMessages:F0l,validateOptions:L0l}}=ro),$us="number-leading-zero",hct=bu($us),lGt=F0l(hct,{expected:"Expected a leading zero",rejected:"Unexpected leading zero"}),Kus={url:Bu($us),fixable:!0};cGt.ruleName=hct;cGt.messages=lGt;cGt.meta=Kus;M0l=cGt});var els={};Mt(els,{default:()=>q0l,messages:()=>PXr,meta:()=>Zus,ruleName:()=>yct});function fGt(e){return(t,r)=>{if(!U0l(r,yct,{actual:e}))return;t.walkAtRules(s=>{s.name.toLowerCase()!=="import"&&i(s,s.params)}),t.walkDecls(s=>i(s,s.value));function i(s,a){let u=[];if(a.includes(".")&&((0,Wus.default)(a).walk(l=>{if(l.type==="function"&&l.value.toLowerCase()==="url")return!1;if(l.type!=="word")return;let f=/\.(\d{0,100}?)(0+)(?:\D|$)/.exec(l.value);if(f===null||f[1]===null||f[2]===null)return;let p=l.sourceIndex+f.index+1+f[1].length,g=f[1].length>0?p:p-1,A=p+f[2].length,_=(lv(s)?Qv(s):_y(s))+p;Q0l({message:PXr.rejected,node:s,index:_,endIndex:_,result:r,ruleName:yct,fix(){u.unshift({startIndex:g,endIndex:A})}})}),u.length))for(let l of u){let f=l.startIndex,p=l.endIndex;lv(s)?s.params=zus(s.params,f,p):s.value=zus(s.value,f,p)}}}}function zus(e,t,r){return e.slice(0,t)+e.slice(r)}var Wus,Q0l,j0l,U0l,Xus,yct,PXr,Zus,q0l,tls=Er(()=>{mp();Wus=qi(sh(),1);Xd();PO();bB();im();FQ();({utils:{report:Q0l,ruleMessages:j0l,validateOptions:U0l}}=ro),Xus="number-no-trailing-zeros",yct=bu(Xus),PXr=j0l(yct,{rejected:"Unexpected trailing zero(s)"}),Zus={url:Bu(Xus),fixable:!0};fGt.ruleName=yct;fGt.messages=PXr;fGt.meta=Zus;q0l=fGt});function pGt(e){return!(CYt(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||PYe(e))}var NXr=Er(()=>{sGt();JWr()});var ils={};Mt(ils,{default:()=>$0l,messages:()=>OXr,meta:()=>nls,ruleName:()=>_ct});function dGt(e,t){return(r,n)=>{V0l(n,_ct,{actual:e,possible:["lower","upper"]},{actual:t,possible:{ignoreSelectors:[kO,c7e]},optional:!0})&&r.walkDecls(s=>{let a=s.prop;if(!pGt(a)||_Yt(a))return;let{parent:u}=s;if(!u)throw new Error("A parent node must be present");if(C3(u)){let{selector:f}=u;if(f&&kb(t,"ignoreSelectors",f))return}let l=e==="lower"?a.toLowerCase():a.toUpperCase();a!==l&&Y0l({message:OXr.expected,messageArgs:[a,l],word:a,node:s,ruleName:_ct,result:n,fix(){s.prop=l}})})}}var Y0l,G0l,V0l,rls,_ct,OXr,nls,$0l,sls=Er(()=>{mp();Xd();im();$Wr();FQ();NXr();MX();RQ();({utils:{report:Y0l,ruleMessages:G0l,validateOptions:V0l}}=ro),rls="property-case",_ct=bu(rls),OXr=G0l(_ct,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),nls={url:Bu(rls),fixable:!0};dGt.ruleName=_ct;dGt.messages=OXr;dGt.meta=nls;$0l=dGt});function NY(e,t,r,n){if(e)try{return n?(0,RXr.default)(n).processSync(e):(0,RXr.default)().astSync(e)}catch(i){t.warn(`Cannot parse selector (${i})`,{node:r,stylelintType:"parseError"});return}}var RXr,mSe=Er(()=>{RXr=qi(v9(),1)});var uls={};Mt(uls,{default:()=>z0l,messages:()=>OYe,meta:()=>ols,ruleName:()=>Ect});function mGt(e){return(n,i)=>{H0l(i,Ect,{actual:e,possible:["always","never"]})&&n.walkRules(a=>{if(!e4(a)||!a.selector.includes("["))return;let u=a.raws.selector?a.raws.selector.raw:a.selector,l=null,f,p=NY(u,i,a,A=>{A.walkAttributes(h=>{let _=h.toString();(0,FXr.default)({source:_,target:"["},E=>{let b=_[E.startIndex+1]===" ",D=h.sourceIndex+E.startIndex+1;b&&e==="never"&&(l=()=>{f=!0,t(h)},g(OYe.rejectedOpening,D)),!b&&e==="always"&&(l=()=>{f=!0,t(h)},g(OYe.expectedOpening,D))}),(0,FXr.default)({source:_,target:"]"},E=>{let b=_[E.startIndex-1]===" ",D=h.sourceIndex+E.startIndex-1;b&&e==="never"&&(l=()=>{f=!0,r(h)},g(OYe.rejectedClosing,D)),!b&&e==="always"&&(l=()=>{f=!0,r(h)},g(OYe.expectedClosing,D))})})});f&&p&&(a.raws.selector?a.raws.selector.raw=p:a.selector=p);function g(A,h){K0l({message:A,index:h,endIndex:h,result:i,ruleName:Ect,node:a,fix:l})}})};function t(n){let i=n.raws.spaces&&n.raws.spaces.attribute,s=i&&i.before,{attrBefore:a,setAttrBefore:u}=s?{attrBefore:s,setAttrBefore(l){i.before=l}}:{attrBefore:n.spaces.attribute&&n.spaces.attribute.before||"",setAttrBefore(l){n.spaces.attribute||(n.spaces.attribute={}),n.spaces.attribute.before=l}};e==="always"?u(a.replace(/^\s*/," ")):e==="never"&&u(a.replace(/^\s*/,""))}function r(n){let i=n.operator?n.insensitive?"insensitive":"value":"attribute",s=n.raws.spaces&&n.raws.spaces[i],a=s&&s.after,u=n.spaces[i],{after:l,setAfter:f}=a?{after:a,setAfter(p){s.after=p}}:{after:u&&u.after||"",setAfter(p){n.spaces[i]||(n.spaces[i]={}),n.spaces[i].after=p}};e==="always"?f(l.replace(/\s*$/," ")):e==="never"&&f(l.replace(/\s*$/,""))}}var FXr,K0l,J0l,H0l,als,Ect,OYe,ols,z0l,lls=Er(()=>{mp();FXr=qi(KF(),1);Xd();im();QX();mSe();({utils:{report:K0l,ruleMessages:J0l,validateOptions:H0l}}=ro),als="selector-attribute-brackets-space-inside",Ect=bu(als),OYe=J0l(Ect,{expectedOpening:'Expected single space after "["',rejectedOpening:'Unexpected whitespace after "["',expectedClosing:'Expected single space before "]"',rejectedClosing:'Unexpected whitespace before "]"'}),ols={url:Bu(als),fixable:!0};mGt.ruleName=Ect;mGt.messages=OYe;mGt.meta=ols;z0l=mGt});function gGt(e){e.root.walkRules(t=>{if(!e4(t)||!t.selector.includes("[")||!t.selector.includes("="))return;let r=!1,n=t.raws.selector?t.raws.selector.raw:t.selector,i=NY(n,e.result,t,a=>{a.walkAttributes(u=>{let l=u.operator;if(!l)return;let f=u.toString();(0,cls.default)({source:f,target:l},p=>{let g=e.checkBeforeOperator?p.startIndex:p.endIndex-1;s(f,g,t,u,l)})})});r&&i&&(t.raws.selector?t.raws.selector.raw=i:t.selector=i);function s(a,u,l,f,p){e.locationChecker({source:a,index:u,err:g=>{let A=f.sourceIndex+u;W0l({message:g.replace(e.checkBeforeOperator?p.charAt(0):p.charAt(p.length-1),p),node:l,index:A,endIndex:A,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>(r=!0,e.fix(f)):void 0})}})}})}var cls,W0l,LXr=Er(()=>{mp();cls=qi(KF(),1);QX();mSe();({utils:{report:W0l}}=ro)});var dls={};Mt(dls,{default:()=>e1l,messages:()=>MXr,meta:()=>pls,ruleName:()=>xct});function AGt(e){return(t,r)=>{let n=ud("space",e,MXr);Z0l(r,xct,{actual:e,possible:["always","never"]})&&gGt({root:t,result:r,locationChecker:n.after,checkedRuleName:xct,checkBeforeOperator:!1,fix:s=>{let{operatorAfter:a,setOperatorAfter:u}=(()=>{let l=s.raws.operator;if(l)return{operatorAfter:l.slice(s.operator?s.operator.length:0),setOperatorAfter(g){delete s.raws.operator,s.raws.spaces||(s.raws.spaces={}),s.raws.spaces.operator||(s.raws.spaces.operator={}),s.raws.spaces.operator.after=g}};let f=s.raws.spaces&&s.raws.spaces.operator,p=f&&f.after;return p?{operatorAfter:p,setOperatorAfter(g){f.after=g}}:{operatorAfter:s.spaces.operator&&s.spaces.operator.after||"",setOperatorAfter(g){s.spaces.operator||(s.spaces.operator={}),s.spaces.operator.after=g}}})();return e==="always"?(u(a.replace(/^\s*/," ")),!0):e==="never"?(u(a.replace(/^\s*/,"")),!0):!1}})}}var X0l,Z0l,fls,xct,MXr,pls,e1l,mls=Er(()=>{mp();Xd();im();LXr();yy();({utils:{ruleMessages:X0l,validateOptions:Z0l}}=ro),fls="selector-attribute-operator-space-after",xct=bu(fls),MXr=X0l(xct,{expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`}),pls={url:Bu(fls),fixable:!0};AGt.ruleName=xct;AGt.messages=MXr;AGt.meta=pls;e1l=AGt});var hls={};Mt(hls,{default:()=>n1l,messages:()=>QXr,meta:()=>Als,ruleName:()=>vct});function hGt(e){let t=ud("space",e,QXr);return(r,n)=>{r1l(n,vct,{actual:e,possible:["always","never"]})&&gGt({root:r,result:n,locationChecker:t.before,checkedRuleName:vct,checkBeforeOperator:!0,fix:s=>{let a=s.raws.spaces&&s.raws.spaces.attribute,u=a&&a.after,{attrAfter:l,setAttrAfter:f}=u?{attrAfter:u,setAttrAfter(p){a.after=p}}:{attrAfter:s.spaces.attribute&&s.spaces.attribute.after||"",setAttrAfter(p){s.spaces.attribute||(s.spaces.attribute={}),s.spaces.attribute.after=p}};return e==="always"?(f(l.replace(/\s*$/," ")),!0):e==="never"?(f(l.replace(/\s*$/,"")),!0):!1}})}}var t1l,r1l,gls,vct,QXr,Als,n1l,yls=Er(()=>{mp();Xd();im();LXr();yy();({utils:{ruleMessages:t1l,validateOptions:r1l}}=ro),gls="selector-attribute-operator-space-before",vct=bu(gls),QXr=t1l(vct,{expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`}),Als={url:Bu(gls),fixable:!0};hGt.ruleName=vct;hGt.messages=QXr;hGt.meta=Als;n1l=hGt});function _ls(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let t=e.parent;if(e===t.first||e===t.last)return!1}return!0}var Els=Er(()=>{});function yGt(e){let t;e.root.walkRules(n=>{if(!e4(n))return;t=!1;let i=n.raws.selector?n.raws.selector.raw:n.selector,s=NY(i,e.result,n,a=>{a.walkCombinators(u=>{if(!_ls(u)||/\s/.test(u.value)||e.locationType==="before"&&!u.prev())return;let l=u.parent&&u.parent.parent;if(l&&l.type==="pseudo")return;let f=u.sourceIndex,p=u.value.length>1&&e.locationType==="before"?f:f+u.value.length-1;r(i,u,p,n,f)})});t&&s&&(n.raws.selector?n.raws.selector.raw=s:n.selector=s)});function r(n,i,s,a,u){e.locationChecker({source:n,index:s,errTarget:i.value,err:l=>{i1l({message:l,node:a,index:u,endIndex:u,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>(t=!0,e.fix(i)):void 0})}})}}var i1l,jXr=Er(()=>{mp();Els();QX();mSe();({utils:{report:i1l}}=ro)});var Cls={};Mt(Cls,{default:()=>o1l,messages:()=>UXr,meta:()=>vls,ruleName:()=>Cct});function _Gt(e){let t=ud("space",e,UXr);return(r,n)=>{a1l(n,Cct,{actual:e,possible:["always","never"]})&&yGt({root:r,result:n,locationChecker:t.after,locationType:"after",checkedRuleName:Cct,fix:s=>e==="always"?(s.spaces.after=" ",!0):e==="never"?(s.spaces.after="",!0):!1})}}var s1l,a1l,xls,Cct,UXr,vls,o1l,bls=Er(()=>{mp();Xd();im();jXr();yy();({utils:{ruleMessages:s1l,validateOptions:a1l}}=ro),xls="selector-combinator-space-after",Cct=bu(xls),UXr=s1l(Cct,{expectedAfter:e=>`Expected single space after "${e}"`,rejectedAfter:e=>`Unexpected whitespace after "${e}"`}),vls={url:Bu(xls),fixable:!0};_Gt.ruleName=Cct;_Gt.messages=UXr;_Gt.meta=vls;o1l=_Gt});var Tls={};Mt(Tls,{default:()=>c1l,messages:()=>qXr,meta:()=>Sls,ruleName:()=>bct});function EGt(e){let t=ud("space",e,qXr);return(r,n)=>{l1l(n,bct,{actual:e,possible:["always","never"]})&&yGt({root:r,result:n,locationChecker:t.before,locationType:"before",checkedRuleName:bct,fix:s=>e==="always"?(s.spaces.before=" ",!0):e==="never"?(s.spaces.before="",!0):!1})}}var u1l,l1l,Ils,bct,qXr,Sls,c1l,Dls=Er(()=>{mp();Xd();im();jXr();yy();({utils:{ruleMessages:u1l,validateOptions:l1l}}=ro),Ils="selector-combinator-space-before",bct=bu(Ils),qXr=u1l(bct,{expectedBefore:e=>`Expected single space before "${e}"`,rejectedBefore:e=>`Unexpected whitespace before "${e}"`}),Sls={url:Bu(Ils),fixable:!0};EGt.ruleName=bct;EGt.messages=qXr;EGt.meta=Sls;c1l=EGt});var kls={};Mt(kls,{default:()=>m1l,messages:()=>YXr,meta:()=>Bls,ruleName:()=>Ict});function xGt(e){return(t,r)=>{d1l(r,Ict,{actual:e})&&t.walkRules(i=>{if(!e4(i))return;let s=!1,a=i.raws.selector?i.raws.selector.raw:i.selector;if(a.includes("/*"))return;let u=NY(a,r,i,l=>{l.walkCombinators(f=>{if(f.value!==" ")return;let p=f.toString();(p.includes(" ")||p.includes(" ")||p.includes(` `)||p.includes("\r"))&&f1l({result:r,ruleName:Ict,message:YXr.rejected,messageArgs:[p],node:i,index:f.sourceIndex,endIndex:f.sourceIndex,fix(){/^\s+$/.test(p)&&(s=!0,f.raws||(f.raws={}),f.raws.value=" ",f.rawSpaceBefore=f.rawSpaceBefore.replace(/^\s+/,""),f.rawSpaceAfter=f.rawSpaceAfter.replace(/\s+$/,""))}})})});s&&u&&(i.raws.selector?i.raws.selector.raw=u:i.selector=u)})}}var f1l,p1l,d1l,wls,Ict,YXr,Bls,m1l,Pls=Er(()=>{mp();Xd();im();QX();mSe();({utils:{report:f1l,ruleMessages:p1l,validateOptions:d1l}}=ro),wls="selector-descendant-combinator-no-non-space",Ict=bu(wls),YXr=p1l(Ict,{rejected:e=>`Unexpected "${e}"`}),Bls={url:Bu(wls),fixable:!0};xGt.ruleName=Ict;xGt.messages=YXr;xGt.meta=Bls;m1l=xGt});var Fls={};Mt(Fls,{default:()=>y1l,messages:()=>GXr,meta:()=>Rls,ruleName:()=>Sct});function vGt(e,t,r){let n=ud("newline",e,GXr);return(i,s)=>{h1l(s,Sct,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&i.walkRules(u=>{if(!e4(u))return;let l=u.raws.selector?u.raws.selector.raw:u.selector,f=[];if((0,Nls.default)({source:l,target:",",functionArguments:"skip"},p=>{let g=l.slice(p.endIndex);if(/^\s+\/\//.test(g))return;let A=/^\s+\/\*/.test(g)?l.indexOf("*/",p.endIndex)+1:p.startIndex;n.afterOneOnly({source:l,index:A,err:h=>{g1l({message:h,node:u,index:p.startIndex,endIndex:p.startIndex,result:s,ruleName:Sct,fix(){f.push(A+1)}})}})}),f.length){let p=l;for(let g of f.sort((A,h)=>h-A)){let A=p.slice(0,g),h=p.slice(g);e.startsWith("always")?h=r.newline+h:e.startsWith("never-multi-line")&&(h=h.replace(/^\s*/,"")),p=A+h}u.raws.selector?u.raws.selector.raw=p:u.selector=p}})}}var Nls,g1l,A1l,h1l,Ols,Sct,GXr,Rls,y1l,Lls=Er(()=>{mp();Nls=qi(KF(),1);Xd();im();QX();yy();({utils:{report:g1l,ruleMessages:A1l,validateOptions:h1l}}=ro),Ols="selector-list-comma-newline-after",Sct=bu(Ols),GXr=A1l(Sct,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),Rls={url:Bu(Ols),fixable:!0};vGt.ruleName=Sct;vGt.messages=GXr;vGt.meta=Rls;y1l=vGt});function RYe(e){e.root.walkRules(r=>{if(!e4(r))return;let n=r.raws.selector?r.raws.selector.raw:r.selector;(0,Mls.default)({source:n,target:",",functionArguments:"skip"},i=>{t(n,i.startIndex,r)})});function t(r,n,i){e.locationChecker({source:r,index:n,err:s=>{_1l({message:s,node:i,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(i,n):void 0})}})}}var Mls,_1l,CGt=Er(()=>{mp();Mls=qi(KF(),1);QX();({utils:{report:_1l}}=ro)});var Uls={};Mt(Uls,{default:()=>v1l,messages:()=>VXr,meta:()=>jls,ruleName:()=>Tct});function bGt(e,t,r){let n=ud("newline",e,VXr);return(i,s)=>{if(!x1l(s,Tct,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;let u;if(RYe({root:i,result:s,locationChecker:n.beforeAllowingIndentation,checkedRuleName:Tct,fix:(l,f)=>{u=u||new Map;let p=u.get(l)||[];return p.push(f),u.set(l,p),!0}}),u)for(let[l,f]of u.entries()){let p=l.raws.selector?l.raws.selector.raw:l.selector;for(let g of f.sort((A,h)=>h-A)){let A=p.slice(0,g),h=p.slice(g);if(e.startsWith("always")){let _=A.search(/\s+$/);A=_>=0?A.slice(0,_)+r.newline+A.slice(_):A+r.newline}else e==="never-multi-line"&&(A=A.replace(/\s*$/,""));p=A+h}l.raws.selector?l.raws.selector.raw=p:l.selector=p}}}var E1l,x1l,Qls,Tct,VXr,jls,v1l,qls=Er(()=>{mp();Xd();im();CGt();yy();({utils:{ruleMessages:E1l,validateOptions:x1l}}=ro),Qls="selector-list-comma-newline-before",Tct=bu(Qls),VXr=E1l(Tct,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),jls={url:Bu(Qls),fixable:!0};bGt.ruleName=Tct;bGt.messages=VXr;bGt.meta=jls;v1l=bGt});var Vls={};Mt(Vls,{default:()=>I1l,messages:()=>$Xr,meta:()=>Gls,ruleName:()=>Dct});function IGt(e){let t=ud("space",e,$Xr);return(r,n)=>{if(!b1l(n,Dct,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let s;if(RYe({root:r,result:n,locationChecker:t.after,checkedRuleName:Dct,fix:(a,u)=>{s=s||new Map;let l=s.get(a)||[];return l.push(u),s.set(a,l),!0}}),s)for(let[a,u]of s.entries()){let l=a.raws.selector?a.raws.selector.raw:a.selector;for(let f of u.sort((p,g)=>g-p)){let p=l.slice(0,f+1),g=l.slice(f+1);e.startsWith("always")?g=g.replace(/^\s*/," "):e.startsWith("never")&&(g=g.replace(/^\s*/,"")),l=p+g}a.raws.selector?a.raws.selector.raw=l:a.selector=l}}}var C1l,b1l,Yls,Dct,$Xr,Gls,I1l,$ls=Er(()=>{mp();Xd();im();CGt();yy();({utils:{ruleMessages:C1l,validateOptions:b1l}}=ro),Yls="selector-list-comma-space-after",Dct=bu(Yls),$Xr=C1l(Dct,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),Gls={url:Bu(Yls),fixable:!0};IGt.ruleName=Dct;IGt.messages=$Xr;IGt.meta=Gls;I1l=IGt});var Hls={};Mt(Hls,{default:()=>D1l,messages:()=>KXr,meta:()=>Jls,ruleName:()=>wct});function SGt(e){let t=ud("space",e,KXr);return(r,n)=>{if(!T1l(n,wct,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let s;if(RYe({root:r,result:n,locationChecker:t.before,checkedRuleName:wct,fix:(a,u)=>{s=s||new Map;let l=s.get(a)||[];return l.push(u),s.set(a,l),!0}}),s)for(let[a,u]of s.entries()){let l=a.raws.selector?a.raws.selector.raw:a.selector;for(let f of u.sort((p,g)=>g-p)){let p=l.slice(0,f),g=l.slice(f);e.includes("always")?p=p.replace(/\s*$/," "):e.includes("never")&&(p=p.replace(/\s*$/,"")),l=p+g}a.raws.selector?a.raws.selector.raw=l:a.selector=l}}}var S1l,T1l,Kls,wct,KXr,Jls,D1l,zls=Er(()=>{mp();Xd();im();CGt();yy();({utils:{ruleMessages:S1l,validateOptions:T1l}}=ro),Kls="selector-list-comma-space-before",wct=bu(Kls),KXr=S1l(wct,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),Jls={url:Bu(Kls),fixable:!0};SGt.ruleName=wct;SGt.messages=KXr;SGt.meta=Jls;D1l=SGt});var Zls={};Mt(Zls,{default:()=>P1l,messages:()=>JXr,meta:()=>Xls,ruleName:()=>Bct});function TGt(e){let t=e+1;return(r,n)=>{if(!k1l(n,Bct,{actual:e,possible:C7}))return;let s=new RegExp(`(?:\r ){${t+1},}`),a=new RegExp(` {${t+1},}`),u=` `.repeat(t),l=`\r `.repeat(t);r.walkRules(f=>{let p=f.raws.selector?f.raws.selector.raw:f.selector;(a.test(p)||s.test(p))&&w1l({message:JXr.expected,messageArgs:[e],node:f,index:0,endIndex:p.length,result:n,ruleName:Bct,fix(){let g=p.replace(new RegExp(a,"gm"),u).replace(new RegExp(s,"gm"),l);f.raws.selector?f.raws.selector.raw=g:f.selector=g}})})}}var w1l,B1l,k1l,Wls,Bct,JXr,Xls,P1l,ecs=Er(()=>{mp();Xd();im();RQ();({utils:{report:w1l,ruleMessages:B1l,validateOptions:k1l}}=ro),Wls="selector-max-empty-lines",Bct=bu(Wls),JXr=B1l(Bct,{expected:e=>`Expected no more than ${e} empty ${e===1?"line":"lines"}`}),Xls={url:Bu(Wls),fixable:!0};TGt.ruleName=Bct;TGt.messages=JXr;TGt.meta=Xls;P1l=TGt});var DGt,HXr=Er(()=>{DGt=new Set(["before","after","first-line","first-letter"])});var ncs={};Mt(ncs,{default:()=>F1l,messages:()=>zXr,meta:()=>rcs,ruleName:()=>kct});function wGt(e){return(t,r)=>{R1l(r,kct,{actual:e,possible:["lower","upper"]})&&t.walkRules(i=>{if(!e4(i)||!i.selector.includes(":"))return;let a=NY(i.raws.selector?i.raws.selector.raw:i.selector,r,i,u=>{u.walkPseudos(l=>{let f=l.value;if(!NYe(f)||f.includes("::")||DGt.has(f.toLowerCase().slice(1)))return;let p=e==="lower"?f.toLowerCase():f.toUpperCase();f!==p&&N1l({message:zXr.expected,messageArgs:[f,p],node:i,index:l.sourceIndex,endIndex:l.sourceIndex,ruleName:kct,result:r,fix(){l.value=p}})})});a&&(i.raws.selector?i.raws.selector.raw=a:i.selector=a)})}}var N1l,O1l,R1l,tcs,kct,zXr,rcs,F1l,ics=Er(()=>{mp();Xd();im();QX();aGt();HXr();mSe();({utils:{report:N1l,ruleMessages:O1l,validateOptions:R1l}}=ro),tcs="selector-pseudo-class-case",kct=bu(tcs),zXr=O1l(kct,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),rcs={url:Bu(tcs),fixable:!0};wGt.ruleName=kct;wGt.messages=zXr;wGt.meta=rcs;F1l=wGt});var ocs={};Mt(ocs,{default:()=>j1l,messages:()=>FYe,meta:()=>acs,ruleName:()=>Pct});function BGt(e){return(t,r)=>{Q1l(r,Pct,{actual:e,possible:["always","never"]})&&t.walkRules(i=>{if(!e4(i)||!i.selector.includes("("))return;let s=null,a=!1,u=i.raws.selector?i.raws.selector.raw:i.selector,l=NY(u,r,i,p=>{p.walkPseudos(g=>{if(!g.length)return;let A=g.map(D=>String(D)).join(","),h=A.startsWith(" "),_=g.sourceIndex+g.value.length+1;h&&e==="never"&&(s=()=>{a=!0,WXr(g,"")},f(FYe.rejectedOpening,_)),!h&&e==="always"&&(s=()=>{a=!0,WXr(g," ")},f(FYe.expectedOpening,_));let E=A.endsWith(" "),b=_+A.length-1;E&&e==="never"&&(s=()=>{a=!0,XXr(g,"")},f(FYe.rejectedClosing,b)),!E&&e==="always"&&(s=()=>{a=!0,XXr(g," ")},f(FYe.expectedClosing,b))})});a&&l&&(i.raws.selector?i.raws.selector.raw=l:i.selector=l);function f(p,g){L1l({message:p,index:g,endIndex:g,result:r,ruleName:Pct,node:i,fix:s})}})}}function WXr(e,t){let r=e.first;r.type==="selector"?WXr(r,t):r.spaces.before=t}function XXr(e,t){let r=e.last;r.type==="selector"?XXr(r,t):r.spaces.after=t}var L1l,M1l,Q1l,scs,Pct,FYe,acs,j1l,ucs=Er(()=>{mp();Xd();im();QX();mSe();({utils:{report:L1l,ruleMessages:M1l,validateOptions:Q1l}}=ro),scs="selector-pseudo-class-parentheses-space-inside",Pct=bu(scs),FYe=M1l(Pct,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),acs={url:Bu(scs),fixable:!0};BGt.ruleName=Pct;BGt.messages=FYe;BGt.meta=acs;j1l=BGt});function ccs(e,t,r){try{return(0,lcs.default)(r).processSync(t,{updateSelector:!0})}catch{e.warn("Cannot parse selector",{node:t,stylelintType:"parseError"});return}}var lcs,fcs=Er(()=>{lcs=qi(v9(),1)});var mcs={};Mt(mcs,{default:()=>G1l,messages:()=>ZXr,meta:()=>dcs,ruleName:()=>Nct});function kGt(e){return(t,r)=>{Y1l(r,Nct,{actual:e,possible:["lower","upper"]})&&t.walkRules(i=>{!e4(i)||!i.selector.includes(":")||ccs(r,i,a=>{a.walkPseudos(u=>{let l=u.value;if(!NYe(l)||!l.includes("::")&&!DGt.has(l.toLowerCase().slice(1)))return;let f=e==="lower"?l.toLowerCase():l.toUpperCase();l!==f&&U1l({message:ZXr.expected,messageArgs:[l,f],node:i,index:u.sourceIndex,endIndex:u.sourceIndex,ruleName:Nct,result:r,fix(){u.value=f}})})})})}}var U1l,q1l,Y1l,pcs,Nct,ZXr,dcs,G1l,gcs=Er(()=>{mp();Xd();im();QX();aGt();HXr();fcs();({utils:{report:U1l,ruleMessages:q1l,validateOptions:Y1l}}=ro),pcs="selector-pseudo-element-case",Nct=bu(pcs),ZXr=q1l(Nct,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),dcs={url:Bu(pcs),fixable:!0};kGt.ruleName=Nct;kGt.messages=ZXr;kGt.meta=dcs;G1l=kGt});var xcs={};Mt(xcs,{default:()=>K1l,messages:()=>LYe,meta:()=>Ecs,ruleName:()=>gSe});function NGt(e,t){let r=e==="single"?Acs:hcs,n=e==="single"?hcs:Acs;return(i,s)=>{if(!$1l(s,gSe,{actual:e,possible:["single","double"]},{actual:t,possible:{avoidEscape:[CYe]},optional:!0}))return;let u=t&&t.avoidEscape!==void 0?t.avoidEscape:!0;i.walk(p=>{switch(p.type){case"atrule":f(p,p.params,Qv);break;case"decl":f(p,p.value,_y);break;case"rule":l(p);break}});function l(p){if(!e4(p)||!p.selector.includes("[")||!p.selector.includes("="))return;let g=[];NY(p.selector,s,p,A=>{let h=!1;A.walkAttributes(_=>{if(!_.quoted)return;let E=_.sourceIndex+_.offsetOf("value");if(_.quoteMark===r&&u){uSe(_.value);let b=_.value.includes(r);if(_.value.includes(n))return;b&&PGt({message:LYe.expected,messageArgs:[e==="single"?"double":e],node:p,index:E,endIndex:E,result:s,ruleName:gSe,fix(){h=!0,_.quoteMark=n}})}if(_.quoteMark===n){if(u){uSe(_.value);let b=_.value.includes(r);if(_.value.includes(n)){PGt({message:LYe.expected,messageArgs:[e],node:p,index:E,endIndex:E,result:s,ruleName:gSe,fix(){h=!0,_.quoteMark=r}});return}if(b)return}PGt({message:LYe.expected,messageArgs:[e],node:p,index:E,endIndex:E,result:s,ruleName:gSe,fix(){h=!0,_.quoteMark=r}})}}),h&&(p.selector=A.toString())});for(let A of g)p.selector=eZr(p.selector,A,r)}function f(p,g,A){let h=[];if(g.includes(n)&&!(lv(p)&&p.name==="charset"&&(p.params.startsWith('"')&&p.params.endsWith('"')||r==="'"))){(0,ycs.default)(g).walk(_=>{if(_.type==="string"&&_.quote===n){let E=_.value.includes(r);if(u&&E)return;let b=_.sourceIndex,D=A(p)+b;PGt({message:LYe.expected,messageArgs:[e],node:p,index:D,endIndex:D,result:s,ruleName:gSe,fix(){if(!E){let k=b+_.value.length+n.length;h.push(b,k)}}})}});for(let _ of h)lv(p)?p.params=eZr(p.params,_,r):p.value=eZr(p.value,_,r)}}}}function eZr(e,t,r){return e.substring(0,t)+r+e.substring(t+r.length)}var ycs,PGt,V1l,$1l,_cs,gSe,LYe,Ecs,Acs,hcs,K1l,vcs=Er(()=>{mp();ycs=qi(sh(),1);Xd();PO();bB();im();FQ();QX();mSe();RQ();({utils:{report:PGt,ruleMessages:V1l,validateOptions:$1l}}=ro),_cs="string-quotes",gSe=bu(_cs),LYe=V1l(gSe,{expected:e=>`Expected ${e} quotes`}),Ecs={url:Bu(_cs),fixable:!0},Acs="'",hcs='"';NGt.ruleName=gSe;NGt.messages=LYe;NGt.meta=Ecs;K1l=NGt});var Scs={};Mt(Scs,{default:()=>z1l,messages:()=>OGt,meta:()=>Ics,ruleName:()=>MYe});function RGt(e){return(t,r)=>{if(!H1l(r,MYe,{actual:e,possible:["always","never"]})||!t.source||t.source.inline||t.source.lang==="object-literal"||t.document!==void 0)return;let{hasBOM:i}=t.source.input;e==="always"&&!i&&Ccs({result:r,ruleName:MYe,message:OGt.expected,node:t}),e==="never"&&i&&Ccs({result:r,ruleName:MYe,message:OGt.rejected,node:t})}}var Ccs,J1l,H1l,bcs,MYe,OGt,Ics,z1l,Tcs=Er(()=>{mp();Xd();im();({utils:{report:Ccs,ruleMessages:J1l,validateOptions:H1l}}=ro),bcs="unicode-bom",MYe=bu(bcs),OGt=J1l(MYe,{expected:"Expected Unicode BOM",rejected:"Unexpected Unicode BOM"}),Ics={url:Bu(bcs)};RGt.ruleName=MYe;RGt.messages=OGt;RGt.meta=Ics;z1l=RGt});function Dcs(e,t=" "){return e.replace(/[#@{}]+/g,t)}var wcs=Er(()=>{});function Bcs(e){let t=e;return/^[-+*/]/.test(e.charAt(0))&&(t=t.slice(1)),!(t.startsWith("$")||/^.+\.\$/.test(e)||/^.+\.[-\w]+\(/.test(e)||t.startsWith("@")||PYe(t)||/__MSG_\S+__/.test(e))}var kcs=Er(()=>{sGt()});function Ncs(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!Bcs(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let t=Dcs(e.value,"").replace("\\0","").replace("\\9",""),r=Pcs.default.unit(t);return r||{unit:null,number:null}}var Pcs,Ocs=Er(()=>{Pcs=qi(sh(),1);wcs();kcs()});var Mcs={};Mt(Mcs,{default:()=>eyl,messages:()=>tZr,meta:()=>Lcs,ruleName:()=>Oct});function FGt(e){return(t,r)=>{if(!Z1l(r,Oct,{actual:e,possible:["lower","upper"]}))return;function i(s,a,u){let l=[];function f(g){let{number:A,unit:h}=Ncs(g);if(!A||!h)return!1;let _=e==="lower"?h.toLowerCase():h.toUpperCase();if(h===_)return!1;let E=u(s);return l.push({index:E+g.sourceIndex+A.length,endIndex:E+g.sourceEndIndex,message:tZr.expected,messageArgs:[h,_]}),!0}let p=(0,Rcs.default)(a).walk(g=>{let A=g.value;if(g.type==="function"&&A.toLowerCase()==="url")return!1;A.includes("*")&&A.split("*").some(h=>f({...g,sourceIndex:A.indexOf(h)+h.length+1,value:h})),f(g)&&(g.value=e==="lower"?A.toLowerCase():A.toUpperCase())});if(l.length)for(let g of l)W1l({index:g.index,endIndex:g.endIndex,message:g.message,messageArgs:g.messageArgs,node:s,result:r,ruleName:Oct,fix(){"name"in s&&s.name==="media"?s.params=p.toString():"value"in s&&(s.value=p.toString())}})}t.walkAtRules(s=>{!/^media$/i.test(s.name)&&!("variable"in s)||i(s,s.params,Qv)}),t.walkDecls(s=>i(s,s.value,_y))}}var Rcs,W1l,X1l,Z1l,Fcs,Oct,tZr,Lcs,eyl,Qcs=Er(()=>{mp();Rcs=qi(sh(),1);Xd();PO();bB();Ocs();im();({utils:{report:W1l,ruleMessages:X1l,validateOptions:Z1l}}=ro),Fcs="unit-case",Oct=bu(Fcs),tZr=X1l(Oct,{expected:(e,t)=>`Expected "${e}" to be "${t}"`}),Lcs={url:Bu(Fcs),fixable:!0};FGt.ruleName=Oct;FGt.messages=tZr;FGt.meta=Lcs;eyl=FGt});function ASe(e){e.root.walkDecls(r=>{if(!TYe(r)||!pGt(r.prop))return;let n=r.toString();(0,jcs.default)({source:n,target:",",functionArguments:"skip"},i=>{let s=e.determineIndex?e.determineIndex(n,i):i.startIndex;s!==!1&&t(n,s,r)})});function t(r,n,i){e.locationChecker({source:r,index:n,err:s=>{tyl({message:s,node:i,index:n,endIndex:n,result:e.result,ruleName:e.checkedRuleName,fix:e.fix?()=>e.fix(i,n):void 0})}})}}var jcs,tyl,Rct=Er(()=>{mp();jcs=qi(KF(),1);bYt();NXr();({utils:{report:tyl}}=ro)});var Ycs={};Mt(Ycs,{default:()=>iyl,messages:()=>rZr,meta:()=>qcs,ruleName:()=>Fct});function LGt(e,t,r){let n=ud("newline",e,rZr);return(i,s)=>{if(!nyl(s,Fct,{actual:e,possible:["always","always-multi-line","never-multi-line"]}))return;let u;if(ASe({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:Fct,fix:(l,f)=>{let p=_y(l);if(f<=p)return!1;u=u||new Map;let g=u.get(l)||[];return g.push(f),u.set(l,g),!0},determineIndex:(l,f)=>{let p=l.substring(f.endIndex,l.length);return/^[ \t]*\/\//.test(p)?!1:/^[ \t]*\/\*/.test(p)?l.indexOf("*/",f.endIndex)+1:f.startIndex}}),u)for(let[l,f]of u.entries())for(let p of f.sort((g,A)=>g-A).reverse()){let g=wS(l),A=p-_y(l),h=g.slice(0,A+1),_=g.slice(A+1);e.startsWith("always")?_=r.newline+_:e.startsWith("never-multi-line")&&(_=_.replace(/^\s*/,"")),YI(l,h+_)}}}var ryl,nyl,Ucs,Fct,rZr,qcs,iyl,Gcs=Er(()=>{mp();Xd();bB();LQ();im();MQ();Rct();yy();({utils:{ruleMessages:ryl,validateOptions:nyl}}=ro),Ucs="value-list-comma-newline-after",Fct=bu(Ucs),rZr=ryl(Fct,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),qcs={url:Bu(Ucs),fixable:!0};LGt.ruleName=Fct;LGt.messages=rZr;LGt.meta=qcs;iyl=LGt});var Kcs={};Mt(Kcs,{default:()=>oyl,messages:()=>nZr,meta:()=>$cs,ruleName:()=>Lct});function MGt(e){let t=ud("newline",e,nZr);return(r,n)=>{ayl(n,Lct,{actual:e,possible:["always","always-multi-line","never-multi-line"]})&&ASe({root:r,result:n,locationChecker:t.beforeAllowingIndentation,checkedRuleName:Lct})}}var syl,ayl,Vcs,Lct,nZr,$cs,oyl,Jcs=Er(()=>{mp();Xd();im();Rct();yy();({utils:{ruleMessages:syl,validateOptions:ayl}}=ro),Vcs="value-list-comma-newline-before",Lct=bu(Vcs),nZr=syl(Lct,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),$cs={url:Bu(Vcs)};MGt.ruleName=Lct;MGt.messages=nZr;MGt.meta=$cs;oyl=MGt});var Wcs={};Mt(Wcs,{default:()=>cyl,messages:()=>iZr,meta:()=>zcs,ruleName:()=>Mct});function QGt(e){let t=ud("space",e,iZr);return(r,n)=>{if(!lyl(n,Mct,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let s;if(ASe({root:r,result:n,locationChecker:t.after,checkedRuleName:Mct,fix:(a,u)=>{let l=_y(a);if(u<=l)return!1;s=s||new Map;let f=s.get(a)||[];return f.push(u),s.set(a,f),!0}}),s)for(let[a,u]of s.entries())for(let l of u.sort((f,p)=>p-f)){let f=wS(a),p=l-_y(a),g=f.slice(0,p+1),A=f.slice(p+1);e.startsWith("always")?A=A.replace(/^\s*/," "):e.startsWith("never")&&(A=A.replace(/^\s*/,"")),YI(a,g+A)}}}var uyl,lyl,Hcs,Mct,iZr,zcs,cyl,Xcs=Er(()=>{mp();Xd();bB();LQ();im();MQ();Rct();yy();({utils:{ruleMessages:uyl,validateOptions:lyl}}=ro),Hcs="value-list-comma-space-after",Mct=bu(Hcs),iZr=uyl(Mct,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),zcs={url:Bu(Hcs),fixable:!0};QGt.ruleName=Mct;QGt.messages=iZr;QGt.meta=zcs;cyl=QGt});var tfs={};Mt(tfs,{default:()=>dyl,messages:()=>sZr,meta:()=>efs,ruleName:()=>Qct});function jGt(e){let t=ud("space",e,sZr);return(r,n)=>{if(!pyl(n,Qct,{actual:e,possible:["always","never","always-single-line","never-single-line"]}))return;let s;if(ASe({root:r,result:n,locationChecker:t.before,checkedRuleName:Qct,fix:(a,u)=>{let l=_y(a);if(u<=l)return!1;s=s||new Map;let f=s.get(a)||[];return f.push(u),s.set(a,f),!0}}),s)for(let[a,u]of s.entries())for(let l of u.sort((f,p)=>p-f)){let f=wS(a),p=l-_y(a),g=f.slice(0,p),A=f.slice(p);e.startsWith("always")?g=g.replace(/\s*$/," "):e.startsWith("never")&&(g=g.replace(/\s*$/,"")),YI(a,g+A)}}}var fyl,pyl,Zcs,Qct,sZr,efs,dyl,rfs=Er(()=>{mp();Xd();bB();LQ();im();MQ();Rct();yy();({utils:{ruleMessages:fyl,validateOptions:pyl}}=ro),Zcs="value-list-comma-space-before",Qct=bu(Zcs),sZr=fyl(Qct,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),efs={url:Bu(Zcs),fixable:!0};jGt.ruleName=Qct;jGt.messages=sZr;jGt.meta=efs;dyl=jGt});var sfs={};Mt(sfs,{default:()=>hyl,messages:()=>aZr,meta:()=>ifs,ruleName:()=>jct});function UGt(e){let t=e+1;return(r,n)=>{if(!Ayl(n,jct,{actual:e,possible:C7}))return;let s=new RegExp(`(?:\r ){${t+1},}`),a=new RegExp(` {${t+1},}`),u=` `.repeat(t),l=`\r `.repeat(t);r.walkDecls(f=>{let p=wS(f);(a.test(p)||s.test(p))&&myl({message:aZr.expected,messageArgs:[e],node:f,index:0,endIndex:0,result:n,ruleName:jct,fix(){let g=p.replace(new RegExp(a,"gm"),u).replace(new RegExp(s,"gm"),l);YI(f,g)}})})}}var myl,gyl,Ayl,nfs,jct,aZr,ifs,hyl,afs=Er(()=>{mp();Xd();LQ();im();RQ();MQ();({utils:{report:myl,ruleMessages:gyl,validateOptions:Ayl}}=ro),nfs="value-list-max-empty-lines",jct=bu(nfs),aZr=gyl(jct,{expected:e=>`Expected no more than ${e} empty ${e===1?"line":"lines"}`}),ifs={url:Bu(nfs),fixable:!0};UGt.ruleName=jct;UGt.messages=aZr;UGt.meta=ifs;hyl=UGt});var cps=j(_Zr=>{"use strict";Object.defineProperty(_Zr,"__esModule",{value:!0});_Zr.default=nEl;function lps(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.type==="JSXMemberExpression"?"".concat(lps(e.object,e.property),".").concat(t.name):"".concat(e.name,".").concat(t.name)}function nEl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.name;if(e.type==="JSXOpeningFragment")return"<>";if(!t)throw new Error("The argument provided is not a JSXElement node.");if(t.type==="JSXMemberExpression"){var r=t.object,n=r===void 0?{}:r,i=t.property,s=i===void 0?{}:i;return lps(n,s)}return t.type==="JSXNamespacedName"?"".concat(t.namespace.name,":").concat(t.name.name):e.name.name}});var fps=j(YYe=>{"use strict";Object.defineProperty(YYe,"__esModule",{value:!0});YYe.eventHandlersByType=YYe.default=void 0;var iEl=YYe.eventHandlersByType={clipboard:["onCopy","onCut","onPaste"],composition:["onCompositionEnd","onCompositionStart","onCompositionUpdate"],keyboard:["onKeyDown","onKeyPress","onKeyUp"],focus:["onFocus","onBlur"],form:["onChange","onInput","onSubmit"],mouse:["onClick","onContextMenu","onDblClick","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],selection:["onSelect"],touch:["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],ui:["onScroll"],wheel:["onWheel"],media:["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],image:["onLoad","onError"],animation:["onAnimationStart","onAnimationEnd","onAnimationIteration"],transition:["onTransitionEnd"]},ldA=YYe.default=Object.values(iEl).flat()});var JGt=j(EZr=>{"use strict";Object.defineProperty(EZr,"__esModule",{value:!0});EZr.default=sEl;function sEl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!e.type||e.type!=="JSXAttribute")throw new Error("The prop must be a JSXAttribute collected by the AST parser.");return e.name.type==="JSXNamespacedName"?"".concat(e.name.namespace.name,":").concat(e.name.name.name):e.name.name}});var gps=j(vZr=>{"use strict";Object.defineProperty(vZr,"__esModule",{value:!0});vZr.default=EEl;var aEl=lEl(JGt()),oEl=["expressions","quasis"],uEl=["loc"];function lEl(e){return e&&e.__esModule?e:{default:e}}function $ct(e){"@babel/helpers - typeof";return $ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},$ct(e)}function mps(e,t){if(e==null)return{};var r,n,i=cEl(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;ne.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:_El;function n(u){return r.ignoreCase?u.toUpperCase():u}var i=n(t);function s(u){return u.type==="Property"&&u.key.type==="Identifier"&&i===n(u.key.name)}var a=e.find(function(u){return u.type==="JSXSpreadAttribute"?u.argument.type==="ObjectExpression"&&i!==n("key")&&u.argument.properties.some(s):i===n((0,aEl.default)(u))});return a&&a.type==="JSXSpreadAttribute"?xEl(a.argument.properties.find(s)):a}function xEl(e){var t=e.key,r=e.value;return Ofe({type:"JSXAttribute",name:Ofe({type:"JSXIdentifier",name:t.name},xZr(t)),value:r.type==="Literal"?Vct(r):Ofe({type:"JSXExpressionContainer",expression:vEl(r)},xZr(r))},xZr(e))}function Vct(e){var t=e.range||[e.start,e.end],r=fEl(t,2),n=r[0],i=r[1];return Ofe(Ofe({},e),{},{end:void 0,range:[n,i],start:void 0})}function vEl(e){var t=e.expressions,r=e.quasis,n=mps(e,oEl);return Ofe(Ofe(Ofe({},Vct(n)),t?{expressions:t.map(Vct)}:{}),r?{quasis:r.map(Vct)}:{})}function xZr(e){var t=e.loc,r=mps(e,uEl),n=Vct(r),i=n.range;return{loc:CEl(t),range:i}}function CEl(e){var t=e.start,r=e.end,n=e.source,i=e.filename;return Ofe(Ofe({start:t,end:r},n===void 0?{}:{source:n}),i===void 0?{}:{filename:i})}});var bZr=j(CZr=>{"use strict";Object.defineProperty(CZr,"__esModule",{value:!0});CZr.default=bEl;function bEl(e){var t=HGt().default,r=e.openingElement.name.name;return e.openingElement.selfClosing?"<".concat(r," />"):"<".concat(r,">").concat([e.children].flat().map(function(n){return t(n)}).join(""),"")}});var SZr=j(IZr=>{"use strict";Object.defineProperty(IZr,"__esModule",{value:!0});IZr.default=IEl;function IEl(e){var t=HGt().default;return e.children.length===0?"<>":"<>".concat([e.children].flat().map(function(r){return t(r)}).join(""),"")}});var DZr=j(TZr=>{"use strict";Object.defineProperty(TZr,"__esModule",{value:!0});TZr.default=SEl;function SEl(e){return e.raw}});var BZr=j(wZr=>{"use strict";Object.defineProperty(wZr,"__esModule",{value:!0});wZr.default=TEl;function TEl(e){var t=e.value,r=typeof t=="string"&&t.toLowerCase();return r==="true"?!0:r==="false"?!1:t}});var Aps=j(kZr=>{"use strict";Object.defineProperty(kZr,"__esModule",{value:!0});kZr.default=DEl;function DEl(e){var t=AP().default;return e.elements.map(function(r){if(r!==null)return t(r)})}});var hps=j(PZr=>{"use strict";Object.defineProperty(PZr,"__esModule",{value:!0});PZr.default=wEl;function wEl(e){var t=AP().default;return"".concat(t(e.left)," ").concat(e.operator," ").concat(t(e.right))}});var yps=j(NZr=>{"use strict";Object.defineProperty(NZr,"__esModule",{value:!0});NZr.default=BEl;function BEl(e){var t=AP().default,r=e.operator,n=e.left,i=e.right,s=t(n),a=t(i);switch(r){case"==":return s==a;case"!=":return s!=a;case"===":return s===a;case"!==":return s!==a;case"<":return s":return s>a;case">=":return s>=a;case"<<":return s<>":return s>>a;case">>>":return s>>>a;case"+":return s+a;case"-":return s-a;case"*":return s*a;case"/":return s/a;case"%":return s%a;case"|":return s|a;case"^":return s^a;case"&":return s&a;case"in":try{return s in a}catch{return!1}case"instanceof":return typeof a!="function"?!1:s instanceof a;default:return}}});var _ps=j(OZr=>{"use strict";Object.defineProperty(OZr,"__esModule",{value:!0});OZr.default=kEl;function kEl(e){var t=AP().default,r=t(e.callee),n=e.object===null?t(e.callee.object):t(e.object);return e.object&&e.object.property?"".concat(n,".").concat(r,".bind(").concat(n,")"):"".concat(r,".bind(").concat(n,")")}});var FZr=j(RZr=>{"use strict";Object.defineProperty(RZr,"__esModule",{value:!0});RZr.default=PEl;function PEl(e){var t=AP().default,r=Array.isArray(e.arguments)?e.arguments.map(function(n){return t(n)}).join(", "):"";return"".concat(t(e.callee)).concat(e.optional?"?.":"","(").concat(r,")")}});var Eps=j(LZr=>{"use strict";Object.defineProperty(LZr,"__esModule",{value:!0});LZr.default=NEl;function NEl(e){var t=AP().default;return t(e.expression||e)}});var xps=j(MZr=>{"use strict";Object.defineProperty(MZr,"__esModule",{value:!0});MZr.default=OEl;function OEl(e){var t=AP().default,r=e.test,n=e.alternate,i=e.consequent;return t(r)?t(i):t(n)}});var vps=j(QZr=>{"use strict";Object.defineProperty(QZr,"__esModule",{value:!0});QZr.default=REl;function REl(e){return function(){return e}}});var bps=j(jZr=>{"use strict";Object.defineProperty(jZr,"__esModule",{value:!0});jZr.default=FEl;var Cps={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function FEl(e){var t=e.name;return Object.hasOwnProperty.call(Cps,t)?Cps[t]:t}});var Ips=j(UZr=>{"use strict";Object.defineProperty(UZr,"__esModule",{value:!0});UZr.default=LEl;function LEl(e){var t=AP().default,r=e.operator,n=e.left,i=e.right,s=t(n),a=t(i);return r==="&&"?s&&a:r==="??"?s??a:s||a}});var Sps=j(qZr=>{"use strict";Object.defineProperty(qZr,"__esModule",{value:!0});qZr.default=MEl;function MEl(e){var t=AP().default;return"".concat(t(e.object)).concat(e.optional?"?.":".").concat(t(e.property))}});var Tps=j(YZr=>{"use strict";Object.defineProperty(YZr,"__esModule",{value:!0});YZr.default=QEl;function QEl(){return new Object}});var kps=j(GZr=>{"use strict";Object.defineProperty(GZr,"__esModule",{value:!0});GZr.default=Bps;function Kct(e){"@babel/helpers - typeof";return Kct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Kct(e)}function Dps(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function zGt(e){for(var t=1;t{"use strict";Object.defineProperty(VZr,"__esModule",{value:!0});VZr.default=qEl;function qEl(e){var t=AP().default;return"".concat(t(e.callee),"?.(").concat(e.arguments.map(function(r){return t(r)}).join(", "),")")}});var Nps=j($Zr=>{"use strict";Object.defineProperty($Zr,"__esModule",{value:!0});$Zr.default=YEl;function YEl(e){var t=AP().default;return"".concat(t(e.object),"?.").concat(t(e.property))}});var Ops=j(KZr=>{"use strict";Object.defineProperty(KZr,"__esModule",{value:!0});KZr.default=GEl;function GEl(e){var t=AP().default;return e.expressions.map(function(r){return t(r)})}});var Rps=j(JZr=>{"use strict";Object.defineProperty(JZr,"__esModule",{value:!0});JZr.default=VEl;function VEl(){}});var zZr=j(HZr=>{"use strict";Object.defineProperty(HZr,"__esModule",{value:!0});HZr.default=$El;function $El(){return"this"}});var Lps=j(WZr=>{"use strict";Object.defineProperty(WZr,"__esModule",{value:!0});WZr.default=vSe;var KEl=FZr().default,JEl=zZr().default;function Fps(e,t,r){return r.computed?r.optional?"".concat(e,"?.[").concat(t,"]"):"".concat(e,"[").concat(t,"]"):r.optional?"".concat(e,"?.").concat(t):"".concat(e,".").concat(t)}function vSe(e){var t="The prop value with an expression type of TSNonNullExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.";if(e.type==="Identifier"){var r=e.name;return r}if(e.type==="Literal")return e.value;if(e.type==="TSAsExpression")return vSe(e.expression);if(e.type==="CallExpression")return KEl(e);if(e.type==="ThisExpression")return JEl();if(e.type==="TSNonNullExpression"&&(!e.extra||e.extra.parenthesized===!1)){var n=e.expression;return"".concat(vSe(n),"!")}if(e.type==="TSNonNullExpression"&&e.extra&&e.extra.parenthesized===!0){var i=e.expression;return"(".concat(vSe(i),"!",")")}if(e.type==="MemberExpression"){if(!e.extra||e.extra.parenthesized===!1)return Fps(vSe(e.object),vSe(e.property),e);if(e.extra&&e.extra.parenthesized===!0){var s=Fps(vSe(e.object),vSe(e.property),e);return"(".concat(s,")")}}if(e.expression)for(var a=e.expression;a;){if(a.type==="Identifier")return console.error(t),a.name;var u=a;a=u.expression}return console.error(t),""}});var ZZr=j(XZr=>{"use strict";Object.defineProperty(XZr,"__esModule",{value:!0});XZr.default=zEl;function HEl(e,t){return(e.range?e.range[0]:e.start)-(t.range?t.range[0]:t.start)}function zEl(e){var t=e.quasis,r=e.expressions,n=t.concat(r);return n.sort(HEl).map(function(i){var s=i.type,a=i.value,u=a===void 0?{}:a,l=u.raw,f=i.name;return s==="TemplateElement"?l:s==="Identifier"?f==="undefined"?f:"{".concat(f,"}"):s.includes("Expression")?"{".concat(s,"}"):""}).join("")}});var Mps=j(een=>{"use strict";Object.defineProperty(een,"__esModule",{value:!0});een.default=ZEl;var WEl=XEl(ZZr());function XEl(e){return e&&e.__esModule?e:{default:e}}function ZEl(e){return(0,WEl.default)(e.quasi)}});var Qps=j(ten=>{"use strict";Object.defineProperty(ten,"__esModule",{value:!0});ten.default=exl;function exl(e){var t=AP().default;return t(e.expression)}});var jps=j(ren=>{"use strict";Object.defineProperty(ren,"__esModule",{value:!0});ren.default=txl;function txl(e){var t=AP().default,r=e.operator,n=e.argument;switch(r){case"-":return-t(n);case"+":return+t(n);case"!":return!t(n);case"~":return~t(n);case"delete":return!0;case"typeof":case"void":default:return}}});var Ups=j(nen=>{"use strict";Object.defineProperty(nen,"__esModule",{value:!0});nen.default=rxl;function rxl(e){var t=AP().default,r=e.operator,n=e.argument,i=e.prefix,s=t(n);switch(r){case"++":return i?++s:s++;case"--":return i?--s:s--;default:return}}});var AP=j(WGt=>{"use strict";Object.defineProperty(WGt,"__esModule",{value:!0});WGt.default=Nxl;WGt.extractLiteral=Oxl;var nxl=BS(bZr()),ixl=BS(SZr()),sxl=BS(DZr()),axl=BS(BZr()),oxl=BS(Aps()),uxl=BS(hps()),lxl=BS(yps()),cxl=BS(_ps()),fxl=BS(FZr()),pxl=BS(Eps()),dxl=BS(xps()),qps=BS(vps()),mxl=BS(bps()),gxl=BS(Ips()),Axl=BS(Sps()),hxl=BS(Tps()),yxl=BS(kps()),_xl=BS(Pps()),Exl=BS(Nps()),xxl=BS(Ops()),vxl=BS(Rps()),Cxl=BS(Lps()),bxl=BS(Mps()),Ixl=BS(ZZr()),Sxl=BS(zZr()),Txl=BS(Qps()),Dxl=BS(jps()),wxl=BS(Ups());function BS(e){return e&&e.__esModule?e:{default:e}}function Jct(e){"@babel/helpers - typeof";return Jct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Jct(e)}function Yps(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Gps(e){for(var t=1;t{"use strict";Object.defineProperty(ZGt,"__esModule",{value:!0});ZGt.default=Yxl;ZGt.getLiteralValue=Gxl;var Rxl=XGt(bZr()),Fxl=XGt(SZr()),Lxl=XGt(DZr()),Mxl=XGt(BZr()),Hps=zps(AP());function zps(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(zps=function(s,a){if(!a&&s&&s.__esModule)return s;var u,l,f={__proto__:null,default:s};if(s===null||GYe(s)!="object"&&typeof s!="function")return f;if(u=a?n:r){if(u.has(s))return u.get(s);u.set(s,f)}for(var p in s)p!=="default"&&{}.hasOwnProperty.call(s,p)&&((l=(u=Object.defineProperty)&&Object.getOwnPropertyDescriptor(s,p))&&(l.get||l.set)?u(f,p,l):f[p]=s[p]);return f})(e,t)}function XGt(e){return e&&e.__esModule?e:{default:e}}function GYe(e){"@babel/helpers - typeof";return GYe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},GYe(e)}function Kps(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Jps(e){for(var t=1;t{"use strict";function sen(e){"@babel/helpers - typeof";return sen=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sen(e)}Object.defineProperty(eVt,"__esModule",{value:!0});eVt.default=Vxl;eVt.getLiteralPropValue=$xl;var Wps=Xps(HGt());function Xps(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(Xps=function(s,a){if(!a&&s&&s.__esModule)return s;var u,l,f={__proto__:null,default:s};if(s===null||sen(s)!="object"&&typeof s!="function")return f;if(u=a?n:r){if(u.has(s))return u.get(s);u.set(s,f)}for(var p in s)p!=="default"&&{}.hasOwnProperty.call(s,p)&&((l=(u=Object.defineProperty)&&Object.getOwnPropertyDescriptor(s,p))&&(l.get||l.set)?u(f,p,l):f[p]=s[p]);return f})(e,t)}var Zps=function(t,r){if(t&&t.type==="JSXAttribute")return t.value===null?!0:r(t.value)};function Vxl(e){return Zps(e,Wps.default)}function $xl(e){return Zps(e,Wps.getLiteralValue)}});var rds=j(Hct=>{"use strict";Object.defineProperty(Hct,"__esModule",{value:!0});Hct.default=oen;Hct.hasAnyProp=Jxl;Hct.hasEveryProp=Hxl;var tds=Kxl(JGt());function Kxl(e){return e&&e.__esModule?e:{default:e}}var aen={spreadStrict:!0,ignoreCase:!0};function oen(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:aen,n=r.ignoreCase?t.toUpperCase():t;return e.some(function(i){if(i.type==="JSXSpreadAttribute")return!r.spreadStrict;var s=r.ignoreCase?(0,tds.default)(i).toUpperCase():(0,tds.default)(i);return n===s})}function Jxl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:aen,n=typeof t=="string"?t.split(" "):t;return n.some(function(i){return oen(e,i,r)})}function Hxl(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:aen,n=typeof t=="string"?t.split(" "):t;return n.every(function(i){return oen(e,i,r)})}});var VYe=j((VdA,sds)=>{"use strict";function len(e){"@babel/helpers - typeof";return len=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},len(e)}var zxl=cen(cps()),nds=tVt(fps()),Wxl=cen(gps()),ids=tVt(eds()),uen=tVt(rds()),Xxl=cen(JGt());function tVt(e,t){if(typeof WeakMap=="function")var r=new WeakMap,n=new WeakMap;return(tVt=function(s,a){if(!a&&s&&s.__esModule)return s;var u,l,f={__proto__:null,default:s};if(s===null||len(s)!="object"&&typeof s!="function")return f;if(u=a?n:r){if(u.has(s))return u.get(s);u.set(s,f)}for(var p in s)p!=="default"&&{}.hasOwnProperty.call(s,p)&&((l=(u=Object.defineProperty)&&Object.getOwnPropertyDescriptor(s,p))&&(l.get||l.set)?u(f,p,l):f[p]=s[p]);return f})(e,t)}function cen(e){return e&&e.__esModule?e:{default:e}}sds.exports={hasProp:uen.default,hasAnyProp:uen.hasAnyProp,hasEveryProp:uen.hasEveryProp,elementType:zxl.default,eventHandlers:nds.default,eventHandlersByType:nds.eventHandlersByType,getProp:Wxl.default,getPropValue:ids.default,getLiteralPropValue:ids.getLiteralPropValue,propName:Xxl.default}});var SVt=j((rft,eGe)=>{var x2l=200,Fds="__lodash_hash_undefined__",v2l=800,C2l=16,Lds=9007199254740991,Mds="[object Arguments]",b2l="[object Array]",I2l="[object AsyncFunction]",S2l="[object Boolean]",T2l="[object Date]",D2l="[object Error]",Qds="[object Function]",w2l="[object GeneratorFunction]",B2l="[object Map]",k2l="[object Number]",P2l="[object Null]",jds="[object Object]",N2l="[object Proxy]",O2l="[object RegExp]",R2l="[object Set]",F2l="[object String]",L2l="[object Undefined]",M2l="[object WeakMap]",Q2l="[object ArrayBuffer]",j2l="[object DataView]",U2l="[object Float32Array]",q2l="[object Float64Array]",Y2l="[object Int8Array]",G2l="[object Int16Array]",V2l="[object Int32Array]",$2l="[object Uint8Array]",K2l="[object Uint8ClampedArray]",J2l="[object Uint16Array]",H2l="[object Uint32Array]",z2l=/[\\^$.*+?()[\]{}|]/g,W2l=/^\[object .+?Constructor\]$/,X2l=/^(?:0|[1-9]\d*)$/,ww={};ww[U2l]=ww[q2l]=ww[Y2l]=ww[G2l]=ww[V2l]=ww[$2l]=ww[K2l]=ww[J2l]=ww[H2l]=!0;ww[Mds]=ww[b2l]=ww[Q2l]=ww[S2l]=ww[j2l]=ww[T2l]=ww[D2l]=ww[Qds]=ww[B2l]=ww[k2l]=ww[jds]=ww[O2l]=ww[R2l]=ww[F2l]=ww[M2l]=!1;var Uds=typeof global=="object"&&global&&global.Object===Object&&global,Z2l=typeof self=="object"&&self&&self.Object===Object&&self,sft=Uds||Z2l||Function("return this")(),qds=typeof rft=="object"&&rft&&!rft.nodeType&&rft,nft=qds&&typeof eGe=="object"&&eGe&&!eGe.nodeType&&eGe,Yds=nft&&nft.exports===qds,_en=Yds&&Uds.process,Tds=(function(){try{var e=nft&&nft.require&&nft.require("util").types;return e||_en&&_en.binding&&_en.binding("util")}catch{}})(),Dds=Tds&&Tds.isTypedArray;function evl(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function tvl(e,t){for(var r=-1,n=Array(e);++r-1}function Cvl(e,t){var r=this.__data__,n=vVt(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}lye.prototype.clear=_vl;lye.prototype.delete=Evl;lye.prototype.get=xvl;lye.prototype.has=vvl;lye.prototype.set=Cvl;function tGe(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t1?r[i-1]:void 0,a=i>2?r[2]:void 0;for(s=e.length>3&&typeof s=="function"?(i--,s):void 0,a&&Xvl(r[0],r[1],a)&&(s=i<3?void 0:s,i=1),t=Object(t);++n-1&&e%1==0&&e0){if(++t>=v2l)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function aCl(e){if(e!=null){try{return xVt.call(e)}catch{}try{return e+""}catch{}}return""}function IVt(e,t){return e===t||e!==e&&t!==t}var Cen=Rds((function(){return arguments})())?Rds:function(e){return aft(e)&&uye.call(e,"callee")&&!lvl.call(e,"callee")},ben=Array.isArray;function Ten(e){return e!=null&&Wds(e.length)&&!Den(e)}function oCl(e){return aft(e)&&Ten(e)}var zds=fvl||pCl;function Den(e){if(!b7e(e))return!1;var t=CVt(e);return t==Qds||t==w2l||t==I2l||t==N2l}function Wds(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Lds}function b7e(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function aft(e){return e!=null&&typeof e=="object"}function uCl(e){if(!aft(e)||CVt(e)!=jds)return!1;var t=Vds(e);if(t===null)return!0;var r=uye.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&xVt.call(r)==ovl}var Xds=Dds?rvl(Dds):Mvl;function lCl(e){return Kvl(e,Zds(e))}function Zds(e){return Ten(e)?Ovl(e,!0):Qvl(e)}var cCl=Jvl(function(e,t,r){Kds(e,t,r)});function fCl(e){return function(){return e}}function ems(e){return e}function pCl(){return!1}eGe.exports=cCl});var lft=j((KmA,Cms)=>{"use strict";var wCl="2.0.0",BCl=Number.MAX_SAFE_INTEGER||9007199254740991,kCl=16,PCl=250,NCl=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Cms.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:kCl,MAX_SAFE_BUILD_LENGTH:PCl,MAX_SAFE_INTEGER:BCl,RELEASE_TYPES:NCl,SEMVER_SPEC_VERSION:wCl,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var cft=j((JmA,bms)=>{"use strict";var OCl=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};bms.exports=OCl});var lGe=j((Qfe,Ims)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:Nen,MAX_SAFE_BUILD_LENGTH:RCl,MAX_LENGTH:FCl}=lft(),LCl=cft();Qfe=Ims.exports={};var MCl=Qfe.re=[],QCl=Qfe.safeRe=[],Lg=Qfe.src=[],jCl=Qfe.safeSrc=[],Mg=Qfe.t={},UCl=0,Oen="[a-zA-Z0-9-]",qCl=[["\\s",1],["\\d",FCl],[Oen,RCl]],YCl=e=>{for(let[t,r]of qCl)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},A_=(e,t,r)=>{let n=YCl(t),i=UCl++;LCl(e,i,t),Mg[e]=i,Lg[i]=t,jCl[i]=n,MCl[i]=new RegExp(t,r?"g":void 0),QCl[i]=new RegExp(n,r?"g":void 0)};A_("NUMERICIDENTIFIER","0|[1-9]\\d*");A_("NUMERICIDENTIFIERLOOSE","\\d+");A_("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Oen}*`);A_("MAINVERSION",`(${Lg[Mg.NUMERICIDENTIFIER]})\\.(${Lg[Mg.NUMERICIDENTIFIER]})\\.(${Lg[Mg.NUMERICIDENTIFIER]})`);A_("MAINVERSIONLOOSE",`(${Lg[Mg.NUMERICIDENTIFIERLOOSE]})\\.(${Lg[Mg.NUMERICIDENTIFIERLOOSE]})\\.(${Lg[Mg.NUMERICIDENTIFIERLOOSE]})`);A_("PRERELEASEIDENTIFIER",`(?:${Lg[Mg.NONNUMERICIDENTIFIER]}|${Lg[Mg.NUMERICIDENTIFIER]})`);A_("PRERELEASEIDENTIFIERLOOSE",`(?:${Lg[Mg.NONNUMERICIDENTIFIER]}|${Lg[Mg.NUMERICIDENTIFIERLOOSE]})`);A_("PRERELEASE",`(?:-(${Lg[Mg.PRERELEASEIDENTIFIER]}(?:\\.${Lg[Mg.PRERELEASEIDENTIFIER]})*))`);A_("PRERELEASELOOSE",`(?:-?(${Lg[Mg.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${Lg[Mg.PRERELEASEIDENTIFIERLOOSE]})*))`);A_("BUILDIDENTIFIER",`${Oen}+`);A_("BUILD",`(?:\\+(${Lg[Mg.BUILDIDENTIFIER]}(?:\\.${Lg[Mg.BUILDIDENTIFIER]})*))`);A_("FULLPLAIN",`v?${Lg[Mg.MAINVERSION]}${Lg[Mg.PRERELEASE]}?${Lg[Mg.BUILD]}?`);A_("FULL",`^${Lg[Mg.FULLPLAIN]}$`);A_("LOOSEPLAIN",`[v=\\s]*${Lg[Mg.MAINVERSIONLOOSE]}${Lg[Mg.PRERELEASELOOSE]}?${Lg[Mg.BUILD]}?`);A_("LOOSE",`^${Lg[Mg.LOOSEPLAIN]}$`);A_("GTLT","((?:<|>)?=?)");A_("XRANGEIDENTIFIERLOOSE",`${Lg[Mg.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);A_("XRANGEIDENTIFIER",`${Lg[Mg.NUMERICIDENTIFIER]}|x|X|\\*`);A_("XRANGEPLAIN",`[v=\\s]*(${Lg[Mg.XRANGEIDENTIFIER]})(?:\\.(${Lg[Mg.XRANGEIDENTIFIER]})(?:\\.(${Lg[Mg.XRANGEIDENTIFIER]})(?:${Lg[Mg.PRERELEASE]})?${Lg[Mg.BUILD]}?)?)?`);A_("XRANGEPLAINLOOSE",`[v=\\s]*(${Lg[Mg.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Lg[Mg.XRANGEIDENTIFIERLOOSE]})(?:\\.(${Lg[Mg.XRANGEIDENTIFIERLOOSE]})(?:${Lg[Mg.PRERELEASELOOSE]})?${Lg[Mg.BUILD]}?)?)?`);A_("XRANGE",`^${Lg[Mg.GTLT]}\\s*${Lg[Mg.XRANGEPLAIN]}$`);A_("XRANGELOOSE",`^${Lg[Mg.GTLT]}\\s*${Lg[Mg.XRANGEPLAINLOOSE]}$`);A_("COERCEPLAIN",`(^|[^\\d])(\\d{1,${Nen}})(?:\\.(\\d{1,${Nen}}))?(?:\\.(\\d{1,${Nen}}))?`);A_("COERCE",`${Lg[Mg.COERCEPLAIN]}(?:$|[^\\d])`);A_("COERCEFULL",Lg[Mg.COERCEPLAIN]+`(?:${Lg[Mg.PRERELEASE]})?(?:${Lg[Mg.BUILD]})?(?:$|[^\\d])`);A_("COERCERTL",Lg[Mg.COERCE],!0);A_("COERCERTLFULL",Lg[Mg.COERCEFULL],!0);A_("LONETILDE","(?:~>?)");A_("TILDETRIM",`(\\s*)${Lg[Mg.LONETILDE]}\\s+`,!0);Qfe.tildeTrimReplace="$1~";A_("TILDE",`^${Lg[Mg.LONETILDE]}${Lg[Mg.XRANGEPLAIN]}$`);A_("TILDELOOSE",`^${Lg[Mg.LONETILDE]}${Lg[Mg.XRANGEPLAINLOOSE]}$`);A_("LONECARET","(?:\\^)");A_("CARETTRIM",`(\\s*)${Lg[Mg.LONECARET]}\\s+`,!0);Qfe.caretTrimReplace="$1^";A_("CARET",`^${Lg[Mg.LONECARET]}${Lg[Mg.XRANGEPLAIN]}$`);A_("CARETLOOSE",`^${Lg[Mg.LONECARET]}${Lg[Mg.XRANGEPLAINLOOSE]}$`);A_("COMPARATORLOOSE",`^${Lg[Mg.GTLT]}\\s*(${Lg[Mg.LOOSEPLAIN]})$|^$`);A_("COMPARATOR",`^${Lg[Mg.GTLT]}\\s*(${Lg[Mg.FULLPLAIN]})$|^$`);A_("COMPARATORTRIM",`(\\s*)${Lg[Mg.GTLT]}\\s*(${Lg[Mg.LOOSEPLAIN]}|${Lg[Mg.XRANGEPLAIN]})`,!0);Qfe.comparatorTrimReplace="$1$2$3";A_("HYPHENRANGE",`^\\s*(${Lg[Mg.XRANGEPLAIN]})\\s+-\\s+(${Lg[Mg.XRANGEPLAIN]})\\s*$`);A_("HYPHENRANGELOOSE",`^\\s*(${Lg[Mg.XRANGEPLAINLOOSE]})\\s+-\\s+(${Lg[Mg.XRANGEPLAINLOOSE]})\\s*$`);A_("STAR","(<|>)?=?\\s*\\*");A_("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");A_("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var FVt=j((HmA,Sms)=>{"use strict";var GCl=Object.freeze({loose:!0}),VCl=Object.freeze({}),$Cl=e=>e?typeof e!="object"?GCl:e:VCl;Sms.exports=$Cl});var Ren=j((zmA,wms)=>{"use strict";var Tms=/^[0-9]+$/,Dms=(e,t)=>{if(typeof e=="number"&&typeof t=="number")return e===t?0:eDms(t,e);wms.exports={compareIdentifiers:Dms,rcompareIdentifiers:KCl}});var XF=j((WmA,kms)=>{"use strict";var LVt=cft(),{MAX_LENGTH:Bms,MAX_SAFE_INTEGER:MVt}=lft(),{safeRe:QVt,t:jVt}=lGe(),JCl=FVt(),{compareIdentifiers:Fen}=Ren(),Len=class e{constructor(t,r){if(r=JCl(r),t instanceof e){if(t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease)return t;t=t.version}else if(typeof t!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>Bms)throw new TypeError(`version is longer than ${Bms} characters`);LVt("SemVer",t,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=t.trim().match(r.loose?QVt[jVt.LOOSE]:QVt[jVt.FULL]);if(!n)throw new TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>MVt||this.major<0)throw new TypeError("Invalid major version");if(this.minor>MVt||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>MVt||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&st.major?1:this.minort.minor?1:this.patcht.patch?1:0}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=t.prerelease[r];if(LVt("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return Fen(n,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let n=this.build[r],i=t.build[r];if(LVt("build compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return Fen(n,i)}while(++r)}inc(t,r,n){if(t.startsWith("pre")){if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(r){let i=`-${r}`.match(this.options.loose?QVt[jVt.PRERELEASELOOSE]:QVt[jVt.PRERELEASE]);if(!i||i[1]!==r)throw new Error(`invalid identifier: ${r}`)}}switch(t){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"release":if(this.prerelease.length===0)throw new Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),Fen(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${t}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};kms.exports=Len});var S7e=j((XmA,Nms)=>{"use strict";var Pms=XF(),HCl=(e,t,r=!1)=>{if(e instanceof Pms)return e;try{return new Pms(e,t)}catch(n){if(!r)return null;throw n}};Nms.exports=HCl});var Rms=j((ZmA,Oms)=>{"use strict";var zCl=S7e(),WCl=(e,t)=>{let r=zCl(e,t);return r?r.version:null};Oms.exports=WCl});var Lms=j((egA,Fms)=>{"use strict";var XCl=S7e(),ZCl=(e,t)=>{let r=XCl(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null};Fms.exports=ZCl});var jms=j((tgA,Qms)=>{"use strict";var Mms=XF(),ebl=(e,t,r,n,i)=>{typeof r=="string"&&(i=n,n=r,r=void 0);try{return new Mms(e instanceof Mms?e.version:e,r).inc(t,n,i).version}catch{return null}};Qms.exports=ebl});var Yms=j((rgA,qms)=>{"use strict";var Ums=S7e(),tbl=(e,t)=>{let r=Ums(e,null,!0),n=Ums(t,null,!0),i=r.compare(n);if(i===0)return null;let s=i>0,a=s?r:n,u=s?n:r,l=!!a.prerelease.length;if(!!u.prerelease.length&&!l){if(!u.patch&&!u.minor)return"major";if(u.compareMain(a)===0)return u.minor&&!u.patch?"minor":"patch"}let p=l?"pre":"";return r.major!==n.major?p+"major":r.minor!==n.minor?p+"minor":r.patch!==n.patch?p+"patch":"prerelease"};qms.exports=tbl});var Vms=j((ngA,Gms)=>{"use strict";var rbl=XF(),nbl=(e,t)=>new rbl(e,t).major;Gms.exports=nbl});var Kms=j((igA,$ms)=>{"use strict";var ibl=XF(),sbl=(e,t)=>new ibl(e,t).minor;$ms.exports=sbl});var Hms=j((sgA,Jms)=>{"use strict";var abl=XF(),obl=(e,t)=>new abl(e,t).patch;Jms.exports=obl});var Wms=j((agA,zms)=>{"use strict";var ubl=S7e(),lbl=(e,t)=>{let r=ubl(e,t);return r&&r.prerelease.length?r.prerelease:null};zms.exports=lbl});var $X=j((ogA,Zms)=>{"use strict";var Xms=XF(),cbl=(e,t,r)=>new Xms(e,r).compare(new Xms(t,r));Zms.exports=cbl});var tgs=j((ugA,egs)=>{"use strict";var fbl=$X(),pbl=(e,t,r)=>fbl(t,e,r);egs.exports=pbl});var ngs=j((lgA,rgs)=>{"use strict";var dbl=$X(),mbl=(e,t)=>dbl(e,t,!0);rgs.exports=mbl});var UVt=j((cgA,sgs)=>{"use strict";var igs=XF(),gbl=(e,t,r)=>{let n=new igs(e,r),i=new igs(t,r);return n.compare(i)||n.compareBuild(i)};sgs.exports=gbl});var ogs=j((fgA,ags)=>{"use strict";var Abl=UVt(),hbl=(e,t)=>e.sort((r,n)=>Abl(r,n,t));ags.exports=hbl});var lgs=j((pgA,ugs)=>{"use strict";var ybl=UVt(),_bl=(e,t)=>e.sort((r,n)=>ybl(n,r,t));ugs.exports=_bl});var fft=j((dgA,cgs)=>{"use strict";var Ebl=$X(),xbl=(e,t,r)=>Ebl(e,t,r)>0;cgs.exports=xbl});var qVt=j((mgA,fgs)=>{"use strict";var vbl=$X(),Cbl=(e,t,r)=>vbl(e,t,r)<0;fgs.exports=Cbl});var Men=j((ggA,pgs)=>{"use strict";var bbl=$X(),Ibl=(e,t,r)=>bbl(e,t,r)===0;pgs.exports=Ibl});var Qen=j((AgA,dgs)=>{"use strict";var Sbl=$X(),Tbl=(e,t,r)=>Sbl(e,t,r)!==0;dgs.exports=Tbl});var YVt=j((hgA,mgs)=>{"use strict";var Dbl=$X(),wbl=(e,t,r)=>Dbl(e,t,r)>=0;mgs.exports=wbl});var GVt=j((ygA,ggs)=>{"use strict";var Bbl=$X(),kbl=(e,t,r)=>Bbl(e,t,r)<=0;ggs.exports=kbl});var jen=j((_gA,Ags)=>{"use strict";var Pbl=Men(),Nbl=Qen(),Obl=fft(),Rbl=YVt(),Fbl=qVt(),Lbl=GVt(),Mbl=(e,t,r,n)=>{switch(t){case"===":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e===r;case"!==":return typeof e=="object"&&(e=e.version),typeof r=="object"&&(r=r.version),e!==r;case"":case"=":case"==":return Pbl(e,r,n);case"!=":return Nbl(e,r,n);case">":return Obl(e,r,n);case">=":return Rbl(e,r,n);case"<":return Fbl(e,r,n);case"<=":return Lbl(e,r,n);default:throw new TypeError(`Invalid operator: ${t}`)}};Ags.exports=Mbl});var ygs=j((EgA,hgs)=>{"use strict";var Qbl=XF(),jbl=S7e(),{safeRe:VVt,t:$Vt}=lGe(),Ubl=(e,t)=>{if(e instanceof Qbl)return e;if(typeof e=="number"&&(e=String(e)),typeof e!="string")return null;t=t||{};let r=null;if(!t.rtl)r=e.match(t.includePrerelease?VVt[$Vt.COERCEFULL]:VVt[$Vt.COERCE]);else{let l=t.includePrerelease?VVt[$Vt.COERCERTLFULL]:VVt[$Vt.COERCERTL],f;for(;(f=l.exec(e))&&(!r||r.index+r[0].length!==e.length);)(!r||f.index+f[0].length!==r.index+r[0].length)&&(r=f),l.lastIndex=f.index+f[1].length+f[2].length;l.lastIndex=-1}if(r===null)return null;let n=r[2],i=r[3]||"0",s=r[4]||"0",a=t.includePrerelease&&r[5]?`-${r[5]}`:"",u=t.includePrerelease&&r[6]?`+${r[6]}`:"";return jbl(`${n}.${i}.${s}${a}${u}`,t)};hgs.exports=Ubl});var Egs=j((xgA,_gs)=>{"use strict";var Uen=class{constructor(){this.max=1e3,this.map=new Map}get(t){let r=this.map.get(t);if(r!==void 0)return this.map.delete(t),this.map.set(t,r),r}delete(t){return this.map.delete(t)}set(t,r){if(!this.delete(t)&&r!==void 0){if(this.map.size>=this.max){let i=this.map.keys().next().value;this.delete(i)}this.map.set(t,r)}return this}};_gs.exports=Uen});var KX=j((vgA,bgs)=>{"use strict";var qbl=/\s+/g,qen=class e{constructor(t,r){if(r=Gbl(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof Yen)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(qbl," "),this.set=this.raw.split("||").map(n=>this.parseRange(n.trim())).filter(n=>n.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let n=this.set[0];if(this.set=this.set.filter(i=>!vgs(i[0])),this.set.length===0)this.set=[n];else if(this.set.length>1){for(let i of this.set)if(i.length===1&&Wbl(i[0])){this.set=[i];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let t=0;t0&&(this.formatted+="||");let r=this.set[t];for(let n=0;n0&&(this.formatted+=" "),this.formatted+=r[n].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(t){let n=((this.options.includePrerelease&&Hbl)|(this.options.loose&&zbl))+":"+t,i=xgs.get(n);if(i)return i;let s=this.options.loose,a=s?UQ[ZF.HYPHENRANGELOOSE]:UQ[ZF.HYPHENRANGE];t=t.replace(a,oIl(this.options.includePrerelease)),Bw("hyphen replace",t),t=t.replace(UQ[ZF.COMPARATORTRIM],$bl),Bw("comparator trim",t),t=t.replace(UQ[ZF.TILDETRIM],Kbl),Bw("tilde trim",t),t=t.replace(UQ[ZF.CARETTRIM],Jbl),Bw("caret trim",t);let u=t.split(" ").map(g=>Xbl(g,this.options)).join(" ").split(/\s+/).map(g=>aIl(g,this.options));s&&(u=u.filter(g=>(Bw("loose invalid filter",g,this.options),!!g.match(UQ[ZF.COMPARATORLOOSE])))),Bw("range list",u);let l=new Map,f=u.map(g=>new Yen(g,this.options));for(let g of f){if(vgs(g))return[g];l.set(g.value,g)}l.size>1&&l.has("")&&l.delete("");let p=[...l.values()];return xgs.set(n,p),p}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Range is required");return this.set.some(n=>Cgs(n,r)&&t.set.some(i=>Cgs(i,r)&&n.every(s=>i.every(a=>s.intersects(a,r)))))}test(t){if(!t)return!1;if(typeof t=="string")try{t=new Vbl(t,this.options)}catch{return!1}for(let r=0;re.value==="<0.0.0-0",Wbl=e=>e.value==="",Cgs=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(s=>i.intersects(s,t)),i=n.pop();return r},Xbl=(e,t)=>(e=e.replace(UQ[ZF.BUILD],""),Bw("comp",e,t),e=tIl(e,t),Bw("caret",e),e=Zbl(e,t),Bw("tildes",e),e=nIl(e,t),Bw("xrange",e),e=sIl(e,t),Bw("stars",e),e),qQ=e=>!e||e.toLowerCase()==="x"||e==="*",Zbl=(e,t)=>e.trim().split(/\s+/).map(r=>eIl(r,t)).join(" "),eIl=(e,t)=>{let r=t.loose?UQ[ZF.TILDELOOSE]:UQ[ZF.TILDE];return e.replace(r,(n,i,s,a,u)=>{Bw("tilde",e,n,i,s,a,u);let l;return qQ(i)?l="":qQ(s)?l=`>=${i}.0.0 <${+i+1}.0.0-0`:qQ(a)?l=`>=${i}.${s}.0 <${i}.${+s+1}.0-0`:u?(Bw("replaceTilde pr",u),l=`>=${i}.${s}.${a}-${u} <${i}.${+s+1}.0-0`):l=`>=${i}.${s}.${a} <${i}.${+s+1}.0-0`,Bw("tilde return",l),l})},tIl=(e,t)=>e.trim().split(/\s+/).map(r=>rIl(r,t)).join(" "),rIl=(e,t)=>{Bw("caret",e,t);let r=t.loose?UQ[ZF.CARETLOOSE]:UQ[ZF.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(i,s,a,u,l)=>{Bw("caret",e,i,s,a,u,l);let f;return qQ(s)?f="":qQ(a)?f=`>=${s}.0.0${n} <${+s+1}.0.0-0`:qQ(u)?s==="0"?f=`>=${s}.${a}.0${n} <${s}.${+a+1}.0-0`:f=`>=${s}.${a}.0${n} <${+s+1}.0.0-0`:l?(Bw("replaceCaret pr",l),s==="0"?a==="0"?f=`>=${s}.${a}.${u}-${l} <${s}.${a}.${+u+1}-0`:f=`>=${s}.${a}.${u}-${l} <${s}.${+a+1}.0-0`:f=`>=${s}.${a}.${u}-${l} <${+s+1}.0.0-0`):(Bw("no pr"),s==="0"?a==="0"?f=`>=${s}.${a}.${u}${n} <${s}.${a}.${+u+1}-0`:f=`>=${s}.${a}.${u}${n} <${s}.${+a+1}.0-0`:f=`>=${s}.${a}.${u} <${+s+1}.0.0-0`),Bw("caret return",f),f})},nIl=(e,t)=>(Bw("replaceXRanges",e,t),e.split(/\s+/).map(r=>iIl(r,t)).join(" ")),iIl=(e,t)=>{e=e.trim();let r=t.loose?UQ[ZF.XRANGELOOSE]:UQ[ZF.XRANGE];return e.replace(r,(n,i,s,a,u,l)=>{Bw("xRange",e,n,i,s,a,u,l);let f=qQ(s),p=f||qQ(a),g=p||qQ(u),A=g;return i==="="&&A&&(i=""),l=t.includePrerelease?"-0":"",f?i===">"||i==="<"?n="<0.0.0-0":n="*":i&&A?(p&&(a=0),u=0,i===">"?(i=">=",p?(s=+s+1,a=0,u=0):(a=+a+1,u=0)):i==="<="&&(i="<",p?s=+s+1:a=+a+1),i==="<"&&(l="-0"),n=`${i+s}.${a}.${u}${l}`):p?n=`>=${s}.0.0${l} <${+s+1}.0.0-0`:g&&(n=`>=${s}.${a}.0${l} <${s}.${+a+1}.0-0`),Bw("xRange return",n),n})},sIl=(e,t)=>(Bw("replaceStars",e,t),e.trim().replace(UQ[ZF.STAR],"")),aIl=(e,t)=>(Bw("replaceGTE0",e,t),e.trim().replace(UQ[t.includePrerelease?ZF.GTE0PRE:ZF.GTE0],"")),oIl=e=>(t,r,n,i,s,a,u,l,f,p,g,A)=>(qQ(n)?r="":qQ(i)?r=`>=${n}.0.0${e?"-0":""}`:qQ(s)?r=`>=${n}.${i}.0${e?"-0":""}`:a?r=`>=${r}`:r=`>=${r}${e?"-0":""}`,qQ(f)?l="":qQ(p)?l=`<${+f+1}.0.0-0`:qQ(g)?l=`<${f}.${+p+1}.0-0`:A?l=`<=${f}.${p}.${g}-${A}`:e?l=`<${f}.${p}.${+g+1}-0`:l=`<=${l}`,`${r} ${l}`.trim()),uIl=(e,t,r)=>{for(let n=0;n0){let i=e[n].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}});var pft=j((CgA,Bgs)=>{"use strict";var dft=Symbol("SemVer ANY"),$en=class e{static get ANY(){return dft}constructor(t,r){if(r=Igs(r),t instanceof e){if(t.loose===!!r.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(" "),Ven("comparator",t,r),this.options=r,this.loose=!!r.loose,this.parse(t),this.semver===dft?this.value="":this.value=this.operator+this.semver.version,Ven("comp",this)}parse(t){let r=this.options.loose?Sgs[Tgs.COMPARATORLOOSE]:Sgs[Tgs.COMPARATOR],n=t.match(r);if(!n)throw new TypeError(`Invalid comparator: ${t}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new Dgs(n[2],this.options.loose):this.semver=dft}toString(){return this.value}test(t){if(Ven("Comparator.test",t,this.options.loose),this.semver===dft||t===dft)return!0;if(typeof t=="string")try{t=new Dgs(t,this.options)}catch{return!1}return Gen(t,this.operator,this.semver,this.options)}intersects(t,r){if(!(t instanceof e))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new wgs(t.value,r).test(this.value):t.operator===""?t.value===""?!0:new wgs(this.value,r).test(t.semver):(r=Igs(r),r.includePrerelease&&(this.value==="<0.0.0-0"||t.value==="<0.0.0-0")||!r.includePrerelease&&(this.value.startsWith("<0.0.0")||t.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&t.operator.startsWith(">")||this.operator.startsWith("<")&&t.operator.startsWith("<")||this.semver.version===t.semver.version&&this.operator.includes("=")&&t.operator.includes("=")||Gen(this.semver,"<",t.semver,r)&&this.operator.startsWith(">")&&t.operator.startsWith("<")||Gen(this.semver,">",t.semver,r)&&this.operator.startsWith("<")&&t.operator.startsWith(">")))}};Bgs.exports=$en;var Igs=FVt(),{safeRe:Sgs,t:Tgs}=lGe(),Gen=jen(),Ven=cft(),Dgs=XF(),wgs=KX()});var mft=j((bgA,kgs)=>{"use strict";var lIl=KX(),cIl=(e,t,r)=>{try{t=new lIl(t,r)}catch{return!1}return t.test(e)};kgs.exports=cIl});var Ngs=j((IgA,Pgs)=>{"use strict";var fIl=KX(),pIl=(e,t)=>new fIl(e,t).set.map(r=>r.map(n=>n.value).join(" ").trim().split(" "));Pgs.exports=pIl});var Rgs=j((SgA,Ogs)=>{"use strict";var dIl=XF(),mIl=KX(),gIl=(e,t,r)=>{let n=null,i=null,s=null;try{s=new mIl(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!n||i.compare(a)===-1)&&(n=a,i=new dIl(n,r))}),n};Ogs.exports=gIl});var Lgs=j((TgA,Fgs)=>{"use strict";var AIl=XF(),hIl=KX(),yIl=(e,t,r)=>{let n=null,i=null,s=null;try{s=new hIl(t,r)}catch{return null}return e.forEach(a=>{s.test(a)&&(!n||i.compare(a)===1)&&(n=a,i=new AIl(n,r))}),n};Fgs.exports=yIl});var jgs=j((DgA,Qgs)=>{"use strict";var Ken=XF(),_Il=KX(),Mgs=fft(),EIl=(e,t)=>{e=new _Il(e,t);let r=new Ken("0.0.0");if(e.test(r)||(r=new Ken("0.0.0-0"),e.test(r)))return r;r=null;for(let n=0;n{let u=new Ken(a.semver.version);switch(a.operator){case">":u.prerelease.length===0?u.patch++:u.prerelease.push(0),u.raw=u.format();case"":case">=":(!s||Mgs(u,s))&&(s=u);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${a.operator}`)}}),s&&(!r||Mgs(r,s))&&(r=s)}return r&&e.test(r)?r:null};Qgs.exports=EIl});var qgs=j((wgA,Ugs)=>{"use strict";var xIl=KX(),vIl=(e,t)=>{try{return new xIl(e,t).range||"*"}catch{return null}};Ugs.exports=vIl});var KVt=j((BgA,$gs)=>{"use strict";var CIl=XF(),Vgs=pft(),{ANY:bIl}=Vgs,IIl=KX(),SIl=mft(),Ygs=fft(),Ggs=qVt(),TIl=GVt(),DIl=YVt(),wIl=(e,t,r,n)=>{e=new CIl(e,n),t=new IIl(t,n);let i,s,a,u,l;switch(r){case">":i=Ygs,s=TIl,a=Ggs,u=">",l=">=";break;case"<":i=Ggs,s=DIl,a=Ygs,u="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(SIl(e,t,n))return!1;for(let f=0;f{h.semver===bIl&&(h=new Vgs(">=0.0.0")),g=g||h,A=A||h,i(h.semver,g.semver,n)?g=h:a(h.semver,A.semver,n)&&(A=h)}),g.operator===u||g.operator===l||(!A.operator||A.operator===u)&&s(e,A.semver))return!1;if(A.operator===l&&a(e,A.semver))return!1}return!0};$gs.exports=wIl});var Jgs=j((kgA,Kgs)=>{"use strict";var BIl=KVt(),kIl=(e,t,r)=>BIl(e,t,">",r);Kgs.exports=kIl});var zgs=j((PgA,Hgs)=>{"use strict";var PIl=KVt(),NIl=(e,t,r)=>PIl(e,t,"<",r);Hgs.exports=NIl});var Zgs=j((NgA,Xgs)=>{"use strict";var Wgs=KX(),OIl=(e,t,r)=>(e=new Wgs(e,r),t=new Wgs(t,r),e.intersects(t,r));Xgs.exports=OIl});var tAs=j((OgA,eAs)=>{"use strict";var RIl=mft(),FIl=$X();eAs.exports=(e,t,r)=>{let n=[],i=null,s=null,a=e.sort((p,g)=>FIl(p,g,r));for(let p of a)RIl(p,t,r)?(s=p,i||(i=p)):(s&&n.push([i,s]),s=null,i=null);i&&n.push([i,null]);let u=[];for(let[p,g]of n)p===g?u.push(p):!g&&p===a[0]?u.push("*"):g?p===a[0]?u.push(`<=${g}`):u.push(`${p} - ${g}`):u.push(`>=${p}`);let l=u.join(" || "),f=typeof t.raw=="string"?t.raw:String(t);return l.length{"use strict";var rAs=KX(),Hen=pft(),{ANY:Jen}=Hen,gft=mft(),zen=$X(),LIl=(e,t,r={})=>{if(e===t)return!0;e=new rAs(e,r),t=new rAs(t,r);let n=!1;e:for(let i of e.set){for(let s of t.set){let a=QIl(i,s,r);if(n=n||a!==null,a)continue e}if(n)return!1}return!0},MIl=[new Hen(">=0.0.0-0")],nAs=[new Hen(">=0.0.0")],QIl=(e,t,r)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===Jen){if(t.length===1&&t[0].semver===Jen)return!0;r.includePrerelease?e=MIl:e=nAs}if(t.length===1&&t[0].semver===Jen){if(r.includePrerelease)return!0;t=nAs}let n=new Set,i,s;for(let h of e)h.operator===">"||h.operator===">="?i=iAs(i,h,r):h.operator==="<"||h.operator==="<="?s=sAs(s,h,r):n.add(h.semver);if(n.size>1)return null;let a;if(i&&s){if(a=zen(i.semver,s.semver,r),a>0)return null;if(a===0&&(i.operator!==">="||s.operator!=="<="))return null}for(let h of n){if(i&&!gft(h,String(i),r)||s&&!gft(h,String(s),r))return null;for(let _ of t)if(!gft(h,String(_),r))return!1;return!0}let u,l,f,p,g=s&&!r.includePrerelease&&s.semver.prerelease.length?s.semver:!1,A=i&&!r.includePrerelease&&i.semver.prerelease.length?i.semver:!1;g&&g.prerelease.length===1&&s.operator==="<"&&g.prerelease[0]===0&&(g=!1);for(let h of t){if(p=p||h.operator===">"||h.operator===">=",f=f||h.operator==="<"||h.operator==="<=",i){if(A&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===A.major&&h.semver.minor===A.minor&&h.semver.patch===A.patch&&(A=!1),h.operator===">"||h.operator===">="){if(u=iAs(i,h,r),u===h&&u!==i)return!1}else if(i.operator===">="&&!gft(i.semver,String(h),r))return!1}if(s){if(g&&h.semver.prerelease&&h.semver.prerelease.length&&h.semver.major===g.major&&h.semver.minor===g.minor&&h.semver.patch===g.patch&&(g=!1),h.operator==="<"||h.operator==="<="){if(l=sAs(s,h,r),l===h&&l!==s)return!1}else if(s.operator==="<="&&!gft(s.semver,String(h),r))return!1}if(!h.operator&&(s||i)&&a!==0)return!1}return!(i&&f&&!s&&a!==0||s&&p&&!i&&a!==0||A||g)},iAs=(e,t,r)=>{if(!e)return t;let n=zen(e.semver,t.semver,r);return n>0?e:n<0||t.operator===">"&&e.operator===">="?t:e},sAs=(e,t,r)=>{if(!e)return t;let n=zen(e.semver,t.semver,r);return n<0?e:n>0||t.operator==="<"&&e.operator==="<="?t:e};aAs.exports=LIl});var cGe=j((FgA,cAs)=>{"use strict";var Wen=lGe(),uAs=lft(),jIl=XF(),lAs=Ren(),UIl=S7e(),qIl=Rms(),YIl=Lms(),GIl=jms(),VIl=Yms(),$Il=Vms(),KIl=Kms(),JIl=Hms(),HIl=Wms(),zIl=$X(),WIl=tgs(),XIl=ngs(),ZIl=UVt(),eSl=ogs(),tSl=lgs(),rSl=fft(),nSl=qVt(),iSl=Men(),sSl=Qen(),aSl=YVt(),oSl=GVt(),uSl=jen(),lSl=ygs(),cSl=pft(),fSl=KX(),pSl=mft(),dSl=Ngs(),mSl=Rgs(),gSl=Lgs(),ASl=jgs(),hSl=qgs(),ySl=KVt(),_Sl=Jgs(),ESl=zgs(),xSl=Zgs(),vSl=tAs(),CSl=oAs();cAs.exports={parse:UIl,valid:qIl,clean:YIl,inc:GIl,diff:VIl,major:$Il,minor:KIl,patch:JIl,prerelease:HIl,compare:zIl,rcompare:WIl,compareLoose:XIl,compareBuild:ZIl,sort:eSl,rsort:tSl,gt:rSl,lt:nSl,eq:iSl,neq:sSl,gte:aSl,lte:oSl,cmp:uSl,coerce:lSl,Comparator:cSl,Range:fSl,satisfies:pSl,toComparators:dSl,maxSatisfying:mSl,minSatisfying:gSl,minVersion:ASl,validRange:hSl,outside:ySl,gtr:_Sl,ltr:ESl,intersects:xSl,simplifyRange:vSl,subset:CSl,SemVer:jIl,re:Wen.re,src:Wen.src,tokens:Wen.t,SEMVER_SPEC_VERSION:uAs.SEMVER_SPEC_VERSION,RELEASE_TYPES:uAs.RELEASE_TYPES,compareIdentifiers:lAs.compareIdentifiers,rcompareIdentifiers:lAs.rcompareIdentifiers}});var wAs=j((phA,DAs)=>{"use strict";var TAs=B1()("eslint:rules"),_ft=class e extends Map{constructor(t){let r=t.length;super(TAs.enabled?t.map(([n,i])=>{let s=null;return[n,()=>(s||(TAs("Loading rule %o (remaining=%d)",n,--r),s=i()),s)]}):t),Object.defineProperty(e.prototype,"set",{configurable:!0,value:void 0})}get(t){let r=super.get(t);return r&&r()}*values(){for(let t of super.values())yield t()}*entries(){for(let[t,r]of super.entries())yield[t,r()]}forEach(t,r){for(let[n,i]of super.entries())t.call(r,i(),n,this)}};Object.defineProperties(_ft.prototype,{clear:{configurable:!0,value:void 0},delete:{configurable:!0,value:void 0},[Symbol.iterator]:{configurable:!0,writable:!0,value:_ft.prototype.entries}});DAs.exports={LazyLoadingRuleMap:_ft}});var gGe=j(WVt=>{"use strict";var Eft={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","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],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"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],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"]},DSl=Object.keys(Eft);for(let e of DSl)Object.freeze(Eft[e]);Object.freeze(Eft);var wSl=new Set(["parent","leadingComments","trailingComments"]);function BSl(e){return!wSl.has(e)&&e[0]!=="_"}function kSl(e){return Object.keys(e).filter(BSl)}function PSl(e){let t=Object.assign({},Eft);for(let r of Object.keys(e))if(Object.hasOwn(t,r)){let n=new Set(e[r]);for(let i of t[r])n.add(i);t[r]=Object.freeze(Array.from(n))}else t[r]=Object.freeze(Array.from(e[r]));return Object.freeze(t)}WVt.KEYS=Eft;WVt.getKeys=kSl;WVt.unionWith=PSl});var kAs=j((mhA,BAs)=>{(function(){"use strict";function e(a){if(a==null)return!1;switch(a.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function t(a){if(a==null)return!1;switch(a.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function r(a){if(a==null)return!1;switch(a.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function n(a){return r(a)||a!=null&&a.type==="FunctionDeclaration"}function i(a){switch(a.type){case"IfStatement":return a.alternate!=null?a.alternate:a.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return a.body}return null}function s(a){var u;if(a.type!=="IfStatement"||a.alternate==null)return!1;u=a.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=i(u)}while(u);return!1}BAs.exports={isExpression:e,isStatement:r,isIterationStatement:t,isSourceElement:n,isProblematicIfStatement:s,trailingStatement:i}})()});var ttn=j((ghA,PAs)=>{(function(){"use strict";var e,t,r,n,i,s;t={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\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\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-\u1877\u1880-\u1884\u1887-\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\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\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\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\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\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-\u0C03\u0C05-\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\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\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-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\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\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\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\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\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-\uAB65\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]/},e={NonAsciiIdentifierStart:/[\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\u0561-\u0587\u05D0-\u05EA\u05F0-\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\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\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-\u1877\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\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\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\uDF30-\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-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\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-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\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\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\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\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\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-\u0C03\u0C05-\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\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\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\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\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-\u1877\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\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\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\u200C\u200D\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-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\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-\uAB65\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\uDF30-\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-\uDE33\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]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\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\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\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[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\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]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\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]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function a(b){return 48<=b&&b<=57}function u(b){return 48<=b&&b<=57||97<=b&&b<=102||65<=b&&b<=70}function l(b){return b>=48&&b<=55}r=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function f(b){return b===32||b===9||b===11||b===12||b===160||b>=5760&&r.indexOf(b)>=0}function p(b){return b===10||b===13||b===8232||b===8233}function g(b){if(b<=65535)return String.fromCharCode(b);var D=String.fromCharCode(Math.floor((b-65536)/1024)+55296),k=String.fromCharCode((b-65536)%1024+56320);return D+k}for(n=new Array(128),s=0;s<128;++s)n[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(i=new Array(128),s=0;s<128;++s)i[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function A(b){return b<128?n[b]:t.NonAsciiIdentifierStart.test(g(b))}function h(b){return b<128?i[b]:t.NonAsciiIdentifierPart.test(g(b))}function _(b){return b<128?n[b]:e.NonAsciiIdentifierStart.test(g(b))}function E(b){return b<128?i[b]:e.NonAsciiIdentifierPart.test(g(b))}PAs.exports={isDecimalDigit:a,isHexDigit:u,isOctalDigit:l,isWhiteSpace:f,isLineTerminator:p,isIdentifierStartES5:A,isIdentifierPartES5:h,isIdentifierStartES6:_,isIdentifierPartES6:E}})()});var OAs=j((AhA,NAs)=>{(function(){"use strict";var e=ttn();function t(A){switch(A){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function r(A,h){return!h&&A==="yield"?!1:n(A,h)}function n(A,h){if(h&&t(A))return!0;switch(A.length){case 2:return A==="if"||A==="in"||A==="do";case 3:return A==="var"||A==="for"||A==="new"||A==="try";case 4:return A==="this"||A==="else"||A==="case"||A==="void"||A==="with"||A==="enum";case 5:return A==="while"||A==="break"||A==="catch"||A==="throw"||A==="const"||A==="yield"||A==="class"||A==="super";case 6:return A==="return"||A==="typeof"||A==="delete"||A==="switch"||A==="export"||A==="import";case 7:return A==="default"||A==="finally"||A==="extends";case 8:return A==="function"||A==="continue"||A==="debugger";case 10:return A==="instanceof";default:return!1}}function i(A,h){return A==="null"||A==="true"||A==="false"||r(A,h)}function s(A,h){return A==="null"||A==="true"||A==="false"||n(A,h)}function a(A){return A==="eval"||A==="arguments"}function u(A){var h,_,E;if(A.length===0||(E=A.charCodeAt(0),!e.isIdentifierStartES5(E)))return!1;for(h=1,_=A.length;h<_;++h)if(E=A.charCodeAt(h),!e.isIdentifierPartES5(E))return!1;return!0}function l(A,h){return(A-55296)*1024+(h-56320)+65536}function f(A){var h,_,E,b,D;if(A.length===0)return!1;for(D=e.isIdentifierStartES6,h=0,_=A.length;h<_;++h){if(E=A.charCodeAt(h),55296<=E&&E<=56319){if(++h,h>=_||(b=A.charCodeAt(h),!(56320<=b&&b<=57343)))return!1;E=l(E,b)}if(!D(E))return!1;D=e.isIdentifierPartES6}return!0}function p(A,h){return u(A)&&!i(A,h)}function g(A,h){return f(A)&&!s(A,h)}NAs.exports={isKeywordES5:r,isKeywordES6:n,isReservedWordES5:i,isReservedWordES6:s,isRestrictedWord:a,isIdentifierNameES5:u,isIdentifierNameES6:f,isIdentifierES5:p,isIdentifierES6:g}})()});var xft=j(XVt=>{(function(){"use strict";XVt.ast=kAs(),XVt.code=ttn(),XVt.keyword=OAs()})()});var e$t=j((ZVt,RAs)=>{(function(e,t){typeof ZVt=="object"&&typeof RAs<"u"?t(ZVt):typeof define=="function"&&define.amd?define(["exports"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.acorn={}))})(ZVt,(function(e){"use strict";var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,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,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,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,343,9,54,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,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,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,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],r=[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,4,51,13,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,39,27,10,22,251,41,7,1,17,2,60,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,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,200,32,32,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,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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],n="\u200C\u200D\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\u0897-\u089F\u08CA-\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\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\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\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\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-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\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\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\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\uFF65",i="\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\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\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\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\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-\u1711\u171F-\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-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\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-\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-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\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-\uAB69\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",s={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},a="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",u={5:a,"5module":a+" export import",6:a+" const class extends export import super"},l=/^in(stanceof)?$/,f=new RegExp("["+i+"]"),p=new RegExp("["+i+n+"]");function g(xe,St){for(var Gr=65536,An=0;Anxe)return!1;if(Gr+=St[An+1],Gr>=xe)return!0}return!1}function A(xe,St){return xe<65?xe===36:xe<91?!0:xe<97?xe===95:xe<123?!0:xe<=65535?xe>=170&&f.test(String.fromCharCode(xe)):St===!1?!1:g(xe,r)}function h(xe,St){return xe<48?xe===36:xe<58?!0:xe<65?!1:xe<91?!0:xe<97?xe===95:xe<123?!0:xe<=65535?xe>=170&&p.test(String.fromCharCode(xe)):St===!1?!1:g(xe,r)||g(xe,t)}var _=function(St,Gr){Gr===void 0&&(Gr={}),this.label=St,this.keyword=Gr.keyword,this.beforeExpr=!!Gr.beforeExpr,this.startsExpr=!!Gr.startsExpr,this.isLoop=!!Gr.isLoop,this.isAssign=!!Gr.isAssign,this.prefix=!!Gr.prefix,this.postfix=!!Gr.postfix,this.binop=Gr.binop||null,this.updateContext=null};function E(xe,St){return new _(xe,{beforeExpr:!0,binop:St})}var b={beforeExpr:!0},D={startsExpr:!0},k={};function M(xe,St){return St===void 0&&(St={}),St.keyword=xe,k[xe]=new _(xe,St)}var R={num:new _("num",D),regexp:new _("regexp",D),string:new _("string",D),name:new _("name",D),privateId:new _("privateId",D),eof:new _("eof"),bracketL:new _("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new _("]"),braceL:new _("{",{beforeExpr:!0,startsExpr:!0}),braceR:new _("}"),parenL:new _("(",{beforeExpr:!0,startsExpr:!0}),parenR:new _(")"),comma:new _(",",b),semi:new _(";",b),colon:new _(":",b),dot:new _("."),question:new _("?",b),questionDot:new _("?."),arrow:new _("=>",b),template:new _("template"),invalidTemplate:new _("invalidTemplate"),ellipsis:new _("...",b),backQuote:new _("`",D),dollarBraceL:new _("${",{beforeExpr:!0,startsExpr:!0}),eq:new _("=",{beforeExpr:!0,isAssign:!0}),assign:new _("_=",{beforeExpr:!0,isAssign:!0}),incDec:new _("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new _("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:E("||",1),logicalAND:E("&&",2),bitwiseOR:E("|",3),bitwiseXOR:E("^",4),bitwiseAND:E("&",5),equality:E("==/!=/===/!==",6),relational:E("/<=/>=",7),bitShift:E("<>/>>>",8),plusMin:new _("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:E("%",10),star:E("*",10),slash:E("/",10),starstar:new _("**",{beforeExpr:!0}),coalesce:E("??",1),_break:M("break"),_case:M("case",b),_catch:M("catch"),_continue:M("continue"),_debugger:M("debugger"),_default:M("default",b),_do:M("do",{isLoop:!0,beforeExpr:!0}),_else:M("else",b),_finally:M("finally"),_for:M("for",{isLoop:!0}),_function:M("function",D),_if:M("if"),_return:M("return",b),_switch:M("switch"),_throw:M("throw",b),_try:M("try"),_var:M("var"),_const:M("const"),_while:M("while",{isLoop:!0}),_with:M("with"),_new:M("new",{beforeExpr:!0,startsExpr:!0}),_this:M("this",D),_super:M("super",D),_class:M("class",D),_extends:M("extends",b),_export:M("export"),_import:M("import",D),_null:M("null",D),_true:M("true",D),_false:M("false",D),_in:M("in",{beforeExpr:!0,binop:7}),_instanceof:M("instanceof",{beforeExpr:!0,binop:7}),_typeof:M("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:M("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:M("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},q=/\r\n?|\n|\u2028|\u2029/,G=new RegExp(q.source,"g");function K(xe){return xe===10||xe===13||xe===8232||xe===8233}function Z(xe,St,Gr){Gr===void 0&&(Gr=xe.length);for(var An=St;An>10)+55296,(xe&1023)+56320))}var qe=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,at=function(St,Gr){this.line=St,this.column=Gr};at.prototype.offset=function(St){return new at(this.line,this.column+St)};var st=function(St,Gr,An){this.start=Gr,this.end=An,St.sourceFile!==null&&(this.source=St.sourceFile)};function Ur(xe,St){for(var Gr=1,An=0;;){var Oi=Z(xe,An,St);if(Oi<0)return new at(Gr,St-An);++Gr,An=Oi}}var Sr={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},xr=!1;function dt(xe){var St={};for(var Gr in Sr)St[Gr]=xe&&ae(xe,Gr)?xe[Gr]:Sr[Gr];if(St.ecmaVersion==="latest"?St.ecmaVersion=1e8:St.ecmaVersion==null?(!xr&&typeof console=="object"&&console.warn&&(xr=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. Defaulting to 2020, but this will stop working in the future.`)),St.ecmaVersion=11):St.ecmaVersion>=2015&&(St.ecmaVersion-=2009),St.allowReserved==null&&(St.allowReserved=St.ecmaVersion<5),(!xe||xe.allowHashBang==null)&&(St.allowHashBang=St.ecmaVersion>=14),Ae(St.onToken)){var An=St.onToken;St.onToken=function(Oi){return An.push(Oi)}}return Ae(St.onComment)&&(St.onComment=It(St,St.onComment)),St}function It(xe,St){return function(Gr,An,Oi,xa,$a,yl){var Ho={type:Gr?"Block":"Line",value:An,start:Oi,end:xa};xe.locations&&(Ho.loc=new st(this,$a,yl)),xe.ranges&&(Ho.range=[Oi,xa]),St.push(Ho)}}var lr=1,$t=2,Nt=4,sr=8,Nr=16,Fr=32,Bt=64,Xt=128,wr=256,rr=512,gt=lr|$t|wr;function Vr(xe,St){return $t|(xe?Nt:0)|(St?sr:0)}var Sn=0,wn=1,Wt=2,us=3,na=4,Na=5,Di=function(St,Gr,An){this.options=St=dt(St),this.sourceFile=St.sourceFile,this.keywords=_e(u[St.ecmaVersion>=6?6:St.sourceType==="module"?"5module":5]);var Oi="";St.allowReserved!==!0&&(Oi=s[St.ecmaVersion>=6?6:St.ecmaVersion===5?5:3],St.sourceType==="module"&&(Oi+=" await")),this.reservedWords=_e(Oi);var xa=(Oi?Oi+" ":"")+s.strict;this.reservedWordsStrict=_e(xa),this.reservedWordsStrictBind=_e(xa+" "+s.strictBind),this.input=String(Gr),this.containsEsc=!1,An?(this.pos=An,this.lineStart=this.input.lastIndexOf(` `,An-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(q).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=R.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=St.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&St.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(lr),this.regexpState=null,this.privateNameStack=[]},ki={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};Di.prototype.parse=function(){var St=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(St)},ki.inFunction.get=function(){return(this.currentVarScope().flags&$t)>0},ki.inGenerator.get=function(){return(this.currentVarScope().flags&sr)>0},ki.inAsync.get=function(){return(this.currentVarScope().flags&Nt)>0},ki.canAwait.get=function(){for(var xe=this.scopeStack.length-1;xe>=0;xe--){var St=this.scopeStack[xe],Gr=St.flags;if(Gr&(wr|rr))return!1;if(Gr&$t)return(Gr&Nt)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ki.allowSuper.get=function(){var xe=this.currentThisScope(),St=xe.flags;return(St&Bt)>0||this.options.allowSuperOutsideMethod},ki.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Xt)>0},ki.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ki.allowNewDotTarget.get=function(){for(var xe=this.scopeStack.length-1;xe>=0;xe--){var St=this.scopeStack[xe],Gr=St.flags;if(Gr&(wr|rr)||Gr&$t&&!(Gr&Nr))return!0}return!1},ki.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&wr)>0},Di.extend=function(){for(var St=[],Gr=arguments.length;Gr--;)St[Gr]=arguments[Gr];for(var An=this,Oi=0;Oi=,?^&]/.test(Oi)||Oi==="!"&&this.input.charAt(An+1)==="=")}xe+=St[0].length,ue.lastIndex=xe,xe+=ue.exec(this.input)[0].length,this.input[xe]===";"&&xe++}},cr.eat=function(xe){return this.type===xe?(this.next(),!0):!1},cr.isContextual=function(xe){return this.type===R.name&&this.value===xe&&!this.containsEsc},cr.eatContextual=function(xe){return this.isContextual(xe)?(this.next(),!0):!1},cr.expectContextual=function(xe){this.eatContextual(xe)||this.unexpected()},cr.canInsertSemicolon=function(){return this.type===R.eof||this.type===R.braceR||q.test(this.input.slice(this.lastTokEnd,this.start))},cr.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},cr.semicolon=function(){!this.eat(R.semi)&&!this.insertSemicolon()&&this.unexpected()},cr.afterTrailingComma=function(xe,St){if(this.type===xe)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),St||this.next(),!0},cr.expect=function(xe){this.eat(xe)||this.unexpected()},cr.unexpected=function(xe){this.raise(xe??this.start,"Unexpected token")};var Rn=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};cr.checkPatternErrors=function(xe,St){if(xe){xe.trailingComma>-1&&this.raiseRecoverable(xe.trailingComma,"Comma is not permitted after the rest element");var Gr=St?xe.parenthesizedAssign:xe.parenthesizedBind;Gr>-1&&this.raiseRecoverable(Gr,St?"Assigning to rvalue":"Parenthesized pattern")}},cr.checkExpressionErrors=function(xe,St){if(!xe)return!1;var Gr=xe.shorthandAssign,An=xe.doubleProto;if(!St)return Gr>=0||An>=0;Gr>=0&&this.raise(Gr,"Shorthand property assignments are valid only in destructuring patterns"),An>=0&&this.raiseRecoverable(An,"Redefinition of __proto__ property")},cr.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos55295&&An<56320)return!0;if(A(An,!0)){for(var Oi=Gr+1;h(An=this.input.charCodeAt(Oi),!0);)++Oi;if(An===92||An>55295&&An<56320)return!0;var xa=this.input.slice(Gr,Oi);if(!l.test(xa))return!0}return!1},es.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ue.lastIndex=this.pos;var xe=ue.exec(this.input),St=this.pos+xe[0].length,Gr;return!q.test(this.input.slice(this.pos,St))&&this.input.slice(St,St+8)==="function"&&(St+8===this.input.length||!(h(Gr=this.input.charCodeAt(St+8))||Gr>55295&&Gr<56320))},es.isUsingKeyword=function(xe,St){if(this.options.ecmaVersion<17||!this.isContextual(xe?"await":"using"))return!1;ue.lastIndex=this.pos;var Gr=ue.exec(this.input),An=this.pos+Gr[0].length;if(q.test(this.input.slice(this.pos,An)))return!1;if(xe){var Oi=An+5,xa;if(this.input.slice(An,Oi)!=="using"||Oi===this.input.length||h(xa=this.input.charCodeAt(Oi))||xa>55295&&xa<56320)return!1;ue.lastIndex=Oi;var $a=ue.exec(this.input);if($a&&q.test(this.input.slice(Oi,Oi+$a[0].length)))return!1}if(St){var yl=An+2,Ho;if(this.input.slice(An,yl)==="of"&&(yl===this.input.length||!h(Ho=this.input.charCodeAt(yl))&&!(Ho>55295&&Ho<56320)))return!1}var Ud=this.input.charCodeAt(An);return A(Ud,!0)||Ud===92},es.isAwaitUsing=function(xe){return this.isUsingKeyword(!0,xe)},es.isUsing=function(xe){return this.isUsingKeyword(!1,xe)},es.parseStatement=function(xe,St,Gr){var An=this.type,Oi=this.startNode(),xa;switch(this.isLet(xe)&&(An=R._var,xa="let"),An){case R._break:case R._continue:return this.parseBreakContinueStatement(Oi,An.keyword);case R._debugger:return this.parseDebuggerStatement(Oi);case R._do:return this.parseDoStatement(Oi);case R._for:return this.parseForStatement(Oi);case R._function:return xe&&(this.strict||xe!=="if"&&xe!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Oi,!1,!xe);case R._class:return xe&&this.unexpected(),this.parseClass(Oi,!0);case R._if:return this.parseIfStatement(Oi);case R._return:return this.parseReturnStatement(Oi);case R._switch:return this.parseSwitchStatement(Oi);case R._throw:return this.parseThrowStatement(Oi);case R._try:return this.parseTryStatement(Oi);case R._const:case R._var:return xa=xa||this.value,xe&&xa!=="var"&&this.unexpected(),this.parseVarStatement(Oi,xa);case R._while:return this.parseWhileStatement(Oi);case R._with:return this.parseWithStatement(Oi);case R.braceL:return this.parseBlock(!0,Oi);case R.semi:return this.parseEmptyStatement(Oi);case R._export:case R._import:if(this.options.ecmaVersion>10&&An===R._import){ue.lastIndex=this.pos;var $a=ue.exec(this.input),yl=this.pos+$a[0].length,Ho=this.input.charCodeAt(yl);if(Ho===40||Ho===46)return this.parseExpressionStatement(Oi,this.parseExpression())}return this.options.allowImportExportEverywhere||(St||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),An===R._import?this.parseImport(Oi):this.parseExport(Oi,Gr);default:if(this.isAsyncFunction())return xe&&this.unexpected(),this.next(),this.parseFunctionStatement(Oi,!0,!xe);var Ud=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(Ud)return St&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),Ud==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(Oi,!1,Ud),this.semicolon(),this.finishNode(Oi,"VariableDeclaration");var Em=this.value,wh=this.parseExpression();return An===R.name&&wh.type==="Identifier"&&this.eat(R.colon)?this.parseLabeledStatement(Oi,Em,wh,xe):this.parseExpressionStatement(Oi,wh)}},es.parseBreakContinueStatement=function(xe,St){var Gr=St==="break";this.next(),this.eat(R.semi)||this.insertSemicolon()?xe.label=null:this.type!==R.name?this.unexpected():(xe.label=this.parseIdent(),this.semicolon());for(var An=0;An=6?this.eat(R.semi):this.semicolon(),this.finishNode(xe,"DoWhileStatement")},es.parseForStatement=function(xe){this.next();var St=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(li),this.enterScope(0),this.expect(R.parenL),this.type===R.semi)return St>-1&&this.unexpected(St),this.parseFor(xe,null);var Gr=this.isLet();if(this.type===R._var||this.type===R._const||Gr){var An=this.startNode(),Oi=Gr?"let":this.value;return this.next(),this.parseVar(An,!0,Oi),this.finishNode(An,"VariableDeclaration"),this.parseForAfterInit(xe,An,St)}var xa=this.isContextual("let"),$a=!1,yl=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(yl){var Ho=this.startNode();return this.next(),yl==="await using"&&this.next(),this.parseVar(Ho,!0,yl),this.finishNode(Ho,"VariableDeclaration"),this.parseForAfterInit(xe,Ho,St)}var Ud=this.containsEsc,Em=new Rn,wh=this.start,D0=St>-1?this.parseExprSubscripts(Em,"await"):this.parseExpression(!0,Em);return this.type===R._in||($a=this.options.ecmaVersion>=6&&this.isContextual("of"))?(St>-1?(this.type===R._in&&this.unexpected(St),xe.await=!0):$a&&this.options.ecmaVersion>=8&&(D0.start===wh&&!Ud&&D0.type==="Identifier"&&D0.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(xe.await=!1)),xa&&$a&&this.raise(D0.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(D0,!1,Em),this.checkLValPattern(D0),this.parseForIn(xe,D0)):(this.checkExpressionErrors(Em,!0),St>-1&&this.unexpected(St),this.parseFor(xe,D0))},es.parseForAfterInit=function(xe,St,Gr){return(this.type===R._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&St.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===R._in?Gr>-1&&this.unexpected(Gr):xe.await=Gr>-1),this.parseForIn(xe,St)):(Gr>-1&&this.unexpected(Gr),this.parseFor(xe,St))},es.parseFunctionStatement=function(xe,St,Gr){return this.next(),this.parseFunction(xe,Va|(Gr?0:oi),!1,St)},es.parseIfStatement=function(xe){return this.next(),xe.test=this.parseParenExpression(),xe.consequent=this.parseStatement("if"),xe.alternate=this.eat(R._else)?this.parseStatement("if"):null,this.finishNode(xe,"IfStatement")},es.parseReturnStatement=function(xe){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(R.semi)||this.insertSemicolon()?xe.argument=null:(xe.argument=this.parseExpression(),this.semicolon()),this.finishNode(xe,"ReturnStatement")},es.parseSwitchStatement=function(xe){this.next(),xe.discriminant=this.parseParenExpression(),xe.cases=[],this.expect(R.braceL),this.labels.push(mo),this.enterScope(0);for(var St,Gr=!1;this.type!==R.braceR;)if(this.type===R._case||this.type===R._default){var An=this.type===R._case;St&&this.finishNode(St,"SwitchCase"),xe.cases.push(St=this.startNode()),St.consequent=[],this.next(),An?St.test=this.parseExpression():(Gr&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),Gr=!0,St.test=null),this.expect(R.colon)}else St||this.unexpected(),St.consequent.push(this.parseStatement(null));return this.exitScope(),St&&this.finishNode(St,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(xe,"SwitchStatement")},es.parseThrowStatement=function(xe){return this.next(),q.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),xe.argument=this.parseExpression(),this.semicolon(),this.finishNode(xe,"ThrowStatement")};var yu=[];es.parseCatchClauseParam=function(){var xe=this.parseBindingAtom(),St=xe.type==="Identifier";return this.enterScope(St?Fr:0),this.checkLValPattern(xe,St?na:Wt),this.expect(R.parenR),xe},es.parseTryStatement=function(xe){if(this.next(),xe.block=this.parseBlock(),xe.handler=null,this.type===R._catch){var St=this.startNode();this.next(),this.eat(R.parenL)?St.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),St.param=null,this.enterScope(0)),St.body=this.parseBlock(!1),this.exitScope(),xe.handler=this.finishNode(St,"CatchClause")}return xe.finalizer=this.eat(R._finally)?this.parseBlock():null,!xe.handler&&!xe.finalizer&&this.raise(xe.start,"Missing catch or finally clause"),this.finishNode(xe,"TryStatement")},es.parseVarStatement=function(xe,St,Gr){return this.next(),this.parseVar(xe,!1,St,Gr),this.semicolon(),this.finishNode(xe,"VariableDeclaration")},es.parseWhileStatement=function(xe){return this.next(),xe.test=this.parseParenExpression(),this.labels.push(li),xe.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(xe,"WhileStatement")},es.parseWithStatement=function(xe){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),xe.object=this.parseParenExpression(),xe.body=this.parseStatement("with"),this.finishNode(xe,"WithStatement")},es.parseEmptyStatement=function(xe){return this.next(),this.finishNode(xe,"EmptyStatement")},es.parseLabeledStatement=function(xe,St,Gr,An){for(var Oi=0,xa=this.labels;Oi=0;Ho--){var Ud=this.labels[Ho];if(Ud.statementStart===xe.start)Ud.statementStart=this.start,Ud.kind=yl;else break}return this.labels.push({name:St,kind:yl,statementStart:this.start}),xe.body=this.parseStatement(An?An.indexOf("label")===-1?An+"label":An:"label"),this.labels.pop(),xe.label=Gr,this.finishNode(xe,"LabeledStatement")},es.parseExpressionStatement=function(xe,St){return xe.expression=St,this.semicolon(),this.finishNode(xe,"ExpressionStatement")},es.parseBlock=function(xe,St,Gr){for(xe===void 0&&(xe=!0),St===void 0&&(St=this.startNode()),St.body=[],this.expect(R.braceL),xe&&this.enterScope(0);this.type!==R.braceR;){var An=this.parseStatement(null);St.body.push(An)}return Gr&&(this.strict=!1),this.next(),xe&&this.exitScope(),this.finishNode(St,"BlockStatement")},es.parseFor=function(xe,St){return xe.init=St,this.expect(R.semi),xe.test=this.type===R.semi?null:this.parseExpression(),this.expect(R.semi),xe.update=this.type===R.parenR?null:this.parseExpression(),this.expect(R.parenR),xe.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(xe,"ForStatement")},es.parseForIn=function(xe,St){var Gr=this.type===R._in;return this.next(),St.type==="VariableDeclaration"&&St.declarations[0].init!=null&&(!Gr||this.options.ecmaVersion<8||this.strict||St.kind!=="var"||St.declarations[0].id.type!=="Identifier")&&this.raise(St.start,(Gr?"for-in":"for-of")+" loop variable declaration may not have an initializer"),xe.left=St,xe.right=Gr?this.parseExpression():this.parseMaybeAssign(),this.expect(R.parenR),xe.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(xe,Gr?"ForInStatement":"ForOfStatement")},es.parseVar=function(xe,St,Gr,An){for(xe.declarations=[],xe.kind=Gr;;){var Oi=this.startNode();if(this.parseVarId(Oi,Gr),this.eat(R.eq)?Oi.init=this.parseMaybeAssign(St):!An&&Gr==="const"&&!(this.type===R._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!An&&(Gr==="using"||Gr==="await using")&&this.options.ecmaVersion>=17&&this.type!==R._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+Gr+" declaration"):!An&&Oi.id.type!=="Identifier"&&!(St&&(this.type===R._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):Oi.init=null,xe.declarations.push(this.finishNode(Oi,"VariableDeclarator")),!this.eat(R.comma))break}return xe},es.parseVarId=function(xe,St){xe.id=St==="using"||St==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(xe.id,St==="var"?wn:Wt,!1)};var Va=1,oi=2,oa=4;es.parseFunction=function(xe,St,Gr,An,Oi){this.initFunction(xe),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!An)&&(this.type===R.star&&St&oi&&this.unexpected(),xe.generator=this.eat(R.star)),this.options.ecmaVersion>=8&&(xe.async=!!An),St&Va&&(xe.id=St&oa&&this.type!==R.name?null:this.parseIdent(),xe.id&&!(St&oi)&&this.checkLValSimple(xe.id,this.strict||xe.generator||xe.async?this.treatFunctionsAsVar?wn:Wt:us));var xa=this.yieldPos,$a=this.awaitPos,yl=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vr(xe.async,xe.generator)),St&Va||(xe.id=this.type===R.name?this.parseIdent():null),this.parseFunctionParams(xe),this.parseFunctionBody(xe,Gr,!1,Oi),this.yieldPos=xa,this.awaitPos=$a,this.awaitIdentPos=yl,this.finishNode(xe,St&Va?"FunctionDeclaration":"FunctionExpression")},es.parseFunctionParams=function(xe){this.expect(R.parenL),xe.params=this.parseBindingList(R.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},es.parseClass=function(xe,St){this.next();var Gr=this.strict;this.strict=!0,this.parseClassId(xe,St),this.parseClassSuper(xe);var An=this.enterClassBody(),Oi=this.startNode(),xa=!1;for(Oi.body=[],this.expect(R.braceL);this.type!==R.braceR;){var $a=this.parseClassElement(xe.superClass!==null);$a&&(Oi.body.push($a),$a.type==="MethodDefinition"&&$a.kind==="constructor"?(xa&&this.raiseRecoverable($a.start,"Duplicate constructor in the same class"),xa=!0):$a.key&&$a.key.type==="PrivateIdentifier"&&ha(An,$a)&&this.raiseRecoverable($a.key.start,"Identifier '#"+$a.key.name+"' has already been declared"))}return this.strict=Gr,this.next(),xe.body=this.finishNode(Oi,"ClassBody"),this.exitClassBody(),this.finishNode(xe,St?"ClassDeclaration":"ClassExpression")},es.parseClassElement=function(xe){if(this.eat(R.semi))return null;var St=this.options.ecmaVersion,Gr=this.startNode(),An="",Oi=!1,xa=!1,$a="method",yl=!1;if(this.eatContextual("static")){if(St>=13&&this.eat(R.braceL))return this.parseClassStaticBlock(Gr),Gr;this.isClassElementNameStart()||this.type===R.star?yl=!0:An="static"}if(Gr.static=yl,!An&&St>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===R.star)&&!this.canInsertSemicolon()?xa=!0:An="async"),!An&&(St>=9||!xa)&&this.eat(R.star)&&(Oi=!0),!An&&!xa&&!Oi){var Ho=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?$a=Ho:An=Ho)}if(An?(Gr.computed=!1,Gr.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),Gr.key.name=An,this.finishNode(Gr.key,"Identifier")):this.parseClassElementName(Gr),St<13||this.type===R.parenL||$a!=="method"||Oi||xa){var Ud=!Gr.static&&Ua(Gr,"constructor"),Em=Ud&&xe;Ud&&$a!=="method"&&this.raise(Gr.key.start,"Constructor can't have get/set modifier"),Gr.kind=Ud?"constructor":$a,this.parseClassMethod(Gr,Oi,xa,Em)}else this.parseClassField(Gr);return Gr},es.isClassElementNameStart=function(){return this.type===R.name||this.type===R.privateId||this.type===R.num||this.type===R.string||this.type===R.bracketL||this.type.keyword},es.parseClassElementName=function(xe){this.type===R.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),xe.computed=!1,xe.key=this.parsePrivateIdent()):this.parsePropertyName(xe)},es.parseClassMethod=function(xe,St,Gr,An){var Oi=xe.key;xe.kind==="constructor"?(St&&this.raise(Oi.start,"Constructor can't be a generator"),Gr&&this.raise(Oi.start,"Constructor can't be an async method")):xe.static&&Ua(xe,"prototype")&&this.raise(Oi.start,"Classes may not have a static property named prototype");var xa=xe.value=this.parseMethod(St,Gr,An);return xe.kind==="get"&&xa.params.length!==0&&this.raiseRecoverable(xa.start,"getter should have no params"),xe.kind==="set"&&xa.params.length!==1&&this.raiseRecoverable(xa.start,"setter should have exactly one param"),xe.kind==="set"&&xa.params[0].type==="RestElement"&&this.raiseRecoverable(xa.params[0].start,"Setter cannot use rest params"),this.finishNode(xe,"MethodDefinition")},es.parseClassField=function(xe){return Ua(xe,"constructor")?this.raise(xe.key.start,"Classes can't have a field named 'constructor'"):xe.static&&Ua(xe,"prototype")&&this.raise(xe.key.start,"Classes can't have a static field named 'prototype'"),this.eat(R.eq)?(this.enterScope(rr|Bt),xe.value=this.parseMaybeAssign(),this.exitScope()):xe.value=null,this.semicolon(),this.finishNode(xe,"PropertyDefinition")},es.parseClassStaticBlock=function(xe){xe.body=[];var St=this.labels;for(this.labels=[],this.enterScope(wr|Bt);this.type!==R.braceR;){var Gr=this.parseStatement(null);xe.body.push(Gr)}return this.next(),this.exitScope(),this.labels=St,this.finishNode(xe,"StaticBlock")},es.parseClassId=function(xe,St){this.type===R.name?(xe.id=this.parseIdent(),St&&this.checkLValSimple(xe.id,Wt,!1)):(St===!0&&this.unexpected(),xe.id=null)},es.parseClassSuper=function(xe){xe.superClass=this.eat(R._extends)?this.parseExprSubscripts(null,!1):null},es.enterClassBody=function(){var xe={declared:Object.create(null),used:[]};return this.privateNameStack.push(xe),xe.declared},es.exitClassBody=function(){var xe=this.privateNameStack.pop(),St=xe.declared,Gr=xe.used;if(this.options.checkPrivateFields)for(var An=this.privateNameStack.length,Oi=An===0?null:this.privateNameStack[An-1],xa=0;xa=11&&(this.eatContextual("as")?(xe.exported=this.parseModuleExportName(),this.checkExport(St,xe.exported,this.lastTokStart)):xe.exported=null),this.expectContextual("from"),this.type!==R.string&&this.unexpected(),xe.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(xe.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(xe,"ExportAllDeclaration")},es.parseExport=function(xe,St){if(this.next(),this.eat(R.star))return this.parseExportAllDeclaration(xe,St);if(this.eat(R._default))return this.checkExport(St,"default",this.lastTokStart),xe.declaration=this.parseExportDefaultDeclaration(),this.finishNode(xe,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())xe.declaration=this.parseExportDeclaration(xe),xe.declaration.type==="VariableDeclaration"?this.checkVariableExport(St,xe.declaration.declarations):this.checkExport(St,xe.declaration.id,xe.declaration.id.start),xe.specifiers=[],xe.source=null,this.options.ecmaVersion>=16&&(xe.attributes=[]);else{if(xe.declaration=null,xe.specifiers=this.parseExportSpecifiers(St),this.eatContextual("from"))this.type!==R.string&&this.unexpected(),xe.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(xe.attributes=this.parseWithClause());else{for(var Gr=0,An=xe.specifiers;Gr=16&&(xe.attributes=[])}this.semicolon()}return this.finishNode(xe,"ExportNamedDeclaration")},es.parseExportDeclaration=function(xe){return this.parseStatement(null)},es.parseExportDefaultDeclaration=function(){var xe;if(this.type===R._function||(xe=this.isAsyncFunction())){var St=this.startNode();return this.next(),xe&&this.next(),this.parseFunction(St,Va|oa,!1,xe)}else if(this.type===R._class){var Gr=this.startNode();return this.parseClass(Gr,"nullableID")}else{var An=this.parseMaybeAssign();return this.semicolon(),An}},es.checkExport=function(xe,St,Gr){xe&&(typeof St!="string"&&(St=St.type==="Identifier"?St.name:St.value),ae(xe,St)&&this.raiseRecoverable(Gr,"Duplicate export '"+St+"'"),xe[St]=!0)},es.checkPatternExport=function(xe,St){var Gr=St.type;if(Gr==="Identifier")this.checkExport(xe,St,St.start);else if(Gr==="ObjectPattern")for(var An=0,Oi=St.properties;An=16&&(xe.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(xe,"ImportDeclaration")},es.parseImportSpecifier=function(){var xe=this.startNode();return xe.imported=this.parseModuleExportName(),this.eatContextual("as")?xe.local=this.parseIdent():(this.checkUnreserved(xe.imported),xe.local=xe.imported),this.checkLValSimple(xe.local,Wt),this.finishNode(xe,"ImportSpecifier")},es.parseImportDefaultSpecifier=function(){var xe=this.startNode();return xe.local=this.parseIdent(),this.checkLValSimple(xe.local,Wt),this.finishNode(xe,"ImportDefaultSpecifier")},es.parseImportNamespaceSpecifier=function(){var xe=this.startNode();return this.next(),this.expectContextual("as"),xe.local=this.parseIdent(),this.checkLValSimple(xe.local,Wt),this.finishNode(xe,"ImportNamespaceSpecifier")},es.parseImportSpecifiers=function(){var xe=[],St=!0;if(this.type===R.name&&(xe.push(this.parseImportDefaultSpecifier()),!this.eat(R.comma)))return xe;if(this.type===R.star)return xe.push(this.parseImportNamespaceSpecifier()),xe;for(this.expect(R.braceL);!this.eat(R.braceR);){if(St)St=!1;else if(this.expect(R.comma),this.afterTrailingComma(R.braceR))break;xe.push(this.parseImportSpecifier())}return xe},es.parseWithClause=function(){var xe=[];if(!this.eat(R._with))return xe;this.expect(R.braceL);for(var St={},Gr=!0;!this.eat(R.braceR);){if(Gr)Gr=!1;else if(this.expect(R.comma),this.afterTrailingComma(R.braceR))break;var An=this.parseImportAttribute(),Oi=An.key.type==="Identifier"?An.key.name:An.key.value;ae(St,Oi)&&this.raiseRecoverable(An.key.start,"Duplicate attribute key '"+Oi+"'"),St[Oi]=!0,xe.push(An)}return xe},es.parseImportAttribute=function(){var xe=this.startNode();return xe.key=this.type===R.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(R.colon),this.type!==R.string&&this.unexpected(),xe.value=this.parseExprAtom(),this.finishNode(xe,"ImportAttribute")},es.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===R.string){var xe=this.parseLiteral(this.value);return qe.test(xe.value)&&this.raise(xe.start,"An export name cannot include a lone surrogate."),xe}return this.parseIdent(!0)},es.adaptDirectivePrologue=function(xe){for(var St=0;St=5&&xe.type==="ExpressionStatement"&&xe.expression.type==="Literal"&&typeof xe.expression.value=="string"&&(this.input[xe.start]==='"'||this.input[xe.start]==="'")};var pa=Di.prototype;pa.toAssignable=function(xe,St,Gr){if(this.options.ecmaVersion>=6&&xe)switch(xe.type){case"Identifier":this.inAsync&&xe.name==="await"&&this.raise(xe.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":xe.type="ObjectPattern",Gr&&this.checkPatternErrors(Gr,!0);for(var An=0,Oi=xe.properties;An=8&&!yl&&Ho.name==="async"&&!this.canInsertSemicolon()&&this.eat(R._function))return this.overrideContext(Ha.f_expr),this.parseFunction(this.startNodeAt(xa,$a),0,!1,!0,St);if(Oi&&!this.canInsertSemicolon()){if(this.eat(R.arrow))return this.parseArrowExpression(this.startNodeAt(xa,$a),[Ho],!1,St);if(this.options.ecmaVersion>=8&&Ho.name==="async"&&this.type===R.name&&!yl&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Ho=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(R.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(xa,$a),[Ho],!0,St)}return Ho;case R.regexp:var Ud=this.value;return An=this.parseLiteral(Ud.value),An.regex={pattern:Ud.pattern,flags:Ud.flags},An;case R.num:case R.string:return this.parseLiteral(this.value);case R._null:case R._true:case R._false:return An=this.startNode(),An.value=this.type===R._null?null:this.type===R._true,An.raw=this.type.keyword,this.next(),this.finishNode(An,"Literal");case R.parenL:var Em=this.start,wh=this.parseParenAndDistinguishExpression(Oi,St);return xe&&(xe.parenthesizedAssign<0&&!this.isSimpleAssignTarget(wh)&&(xe.parenthesizedAssign=Em),xe.parenthesizedBind<0&&(xe.parenthesizedBind=Em)),wh;case R.bracketL:return An=this.startNode(),this.next(),An.elements=this.parseExprList(R.bracketR,!0,!0,xe),this.finishNode(An,"ArrayExpression");case R.braceL:return this.overrideContext(Ha.b_expr),this.parseObj(!1,xe);case R._function:return An=this.startNode(),this.next(),this.parseFunction(An,0);case R._class:return this.parseClass(this.startNode(),!1);case R._new:return this.parseNew();case R.backQuote:return this.parseTemplate();case R._import:return this.options.ecmaVersion>=11?this.parseExprImport(Gr):this.unexpected();default:return this.parseExprAtomDefault()}},Yn.parseExprAtomDefault=function(){this.unexpected()},Yn.parseExprImport=function(xe){var St=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===R.parenL&&!xe)return this.parseDynamicImport(St);if(this.type===R.dot){var Gr=this.startNodeAt(St.start,St.loc&&St.loc.start);return Gr.name="import",St.meta=this.finishNode(Gr,"Identifier"),this.parseImportMeta(St)}else this.unexpected()},Yn.parseDynamicImport=function(xe){if(this.next(),xe.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(R.parenR)?xe.options=null:(this.expect(R.comma),this.afterTrailingComma(R.parenR)?xe.options=null:(xe.options=this.parseMaybeAssign(),this.eat(R.parenR)||(this.expect(R.comma),this.afterTrailingComma(R.parenR)||this.unexpected())));else if(!this.eat(R.parenR)){var St=this.start;this.eat(R.comma)&&this.eat(R.parenR)?this.raiseRecoverable(St,"Trailing comma is not allowed in import()"):this.unexpected(St)}return this.finishNode(xe,"ImportExpression")},Yn.parseImportMeta=function(xe){this.next();var St=this.containsEsc;return xe.property=this.parseIdent(!0),xe.property.name!=="meta"&&this.raiseRecoverable(xe.property.start,"The only valid meta property for import is 'import.meta'"),St&&this.raiseRecoverable(xe.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(xe.start,"Cannot use 'import.meta' outside a module"),this.finishNode(xe,"MetaProperty")},Yn.parseLiteral=function(xe){var St=this.startNode();return St.value=xe,St.raw=this.input.slice(this.start,this.end),St.raw.charCodeAt(St.raw.length-1)===110&&(St.bigint=St.value!=null?St.value.toString():St.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(St,"Literal")},Yn.parseParenExpression=function(){this.expect(R.parenL);var xe=this.parseExpression();return this.expect(R.parenR),xe},Yn.shouldParseArrow=function(xe){return!this.canInsertSemicolon()},Yn.parseParenAndDistinguishExpression=function(xe,St){var Gr=this.start,An=this.startLoc,Oi,xa=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var $a=this.start,yl=this.startLoc,Ho=[],Ud=!0,Em=!1,wh=new Rn,D0=this.yieldPos,z1=this.awaitPos,yv;for(this.yieldPos=0,this.awaitPos=0;this.type!==R.parenR;)if(Ud?Ud=!1:this.expect(R.comma),xa&&this.afterTrailingComma(R.parenR,!0)){Em=!0;break}else if(this.type===R.ellipsis){yv=this.start,Ho.push(this.parseParenItem(this.parseRestBinding())),this.type===R.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else Ho.push(this.parseMaybeAssign(!1,wh,this.parseParenItem));var $x=this.lastTokEnd,W1=this.lastTokEndLoc;if(this.expect(R.parenR),xe&&this.shouldParseArrow(Ho)&&this.eat(R.arrow))return this.checkPatternErrors(wh,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=D0,this.awaitPos=z1,this.parseParenArrowList(Gr,An,Ho,St);(!Ho.length||Em)&&this.unexpected(this.lastTokStart),yv&&this.unexpected(yv),this.checkExpressionErrors(wh,!0),this.yieldPos=D0||this.yieldPos,this.awaitPos=z1||this.awaitPos,Ho.length>1?(Oi=this.startNodeAt($a,yl),Oi.expressions=Ho,this.finishNodeAt(Oi,"SequenceExpression",$x,W1)):Oi=Ho[0]}else Oi=this.parseParenExpression();if(this.options.preserveParens){var yg=this.startNodeAt(Gr,An);return yg.expression=Oi,this.finishNode(yg,"ParenthesizedExpression")}else return Oi},Yn.parseParenItem=function(xe){return xe},Yn.parseParenArrowList=function(xe,St,Gr,An){return this.parseArrowExpression(this.startNodeAt(xe,St),Gr,!1,An)};var Qt=[];Yn.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var xe=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===R.dot){var St=this.startNodeAt(xe.start,xe.loc&&xe.loc.start);St.name="new",xe.meta=this.finishNode(St,"Identifier"),this.next();var Gr=this.containsEsc;return xe.property=this.parseIdent(!0),xe.property.name!=="target"&&this.raiseRecoverable(xe.property.start,"The only valid meta property for new is 'new.target'"),Gr&&this.raiseRecoverable(xe.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(xe.start,"'new.target' can only be used in functions and class static block"),this.finishNode(xe,"MetaProperty")}var An=this.start,Oi=this.startLoc;return xe.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),An,Oi,!0,!1),this.eat(R.parenL)?xe.arguments=this.parseExprList(R.parenR,this.options.ecmaVersion>=8,!1):xe.arguments=Qt,this.finishNode(xe,"NewExpression")},Yn.parseTemplateElement=function(xe){var St=xe.isTagged,Gr=this.startNode();return this.type===R.invalidTemplate?(St||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),Gr.value={raw:this.value.replace(/\r\n?/g,` `),cooked:null}):Gr.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` `),cooked:this.value},this.next(),Gr.tail=this.type===R.backQuote,this.finishNode(Gr,"TemplateElement")},Yn.parseTemplate=function(xe){xe===void 0&&(xe={});var St=xe.isTagged;St===void 0&&(St=!1);var Gr=this.startNode();this.next(),Gr.expressions=[];var An=this.parseTemplateElement({isTagged:St});for(Gr.quasis=[An];!An.tail;)this.type===R.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(R.dollarBraceL),Gr.expressions.push(this.parseExpression()),this.expect(R.braceR),Gr.quasis.push(An=this.parseTemplateElement({isTagged:St}));return this.next(),this.finishNode(Gr,"TemplateLiteral")},Yn.isAsyncProp=function(xe){return!xe.computed&&xe.key.type==="Identifier"&&xe.key.name==="async"&&(this.type===R.name||this.type===R.num||this.type===R.string||this.type===R.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===R.star)&&!q.test(this.input.slice(this.lastTokEnd,this.start))},Yn.parseObj=function(xe,St){var Gr=this.startNode(),An=!0,Oi={};for(Gr.properties=[],this.next();!this.eat(R.braceR);){if(An)An=!1;else if(this.expect(R.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(R.braceR))break;var xa=this.parseProperty(xe,St);xe||this.checkPropClash(xa,Oi,St),Gr.properties.push(xa)}return this.finishNode(Gr,xe?"ObjectPattern":"ObjectExpression")},Yn.parseProperty=function(xe,St){var Gr=this.startNode(),An,Oi,xa,$a;if(this.options.ecmaVersion>=9&&this.eat(R.ellipsis))return xe?(Gr.argument=this.parseIdent(!1),this.type===R.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(Gr,"RestElement")):(Gr.argument=this.parseMaybeAssign(!1,St),this.type===R.comma&&St&&St.trailingComma<0&&(St.trailingComma=this.start),this.finishNode(Gr,"SpreadElement"));this.options.ecmaVersion>=6&&(Gr.method=!1,Gr.shorthand=!1,(xe||St)&&(xa=this.start,$a=this.startLoc),xe||(An=this.eat(R.star)));var yl=this.containsEsc;return this.parsePropertyName(Gr),!xe&&!yl&&this.options.ecmaVersion>=8&&!An&&this.isAsyncProp(Gr)?(Oi=!0,An=this.options.ecmaVersion>=9&&this.eat(R.star),this.parsePropertyName(Gr)):Oi=!1,this.parsePropertyValue(Gr,xe,An,Oi,xa,$a,St,yl),this.finishNode(Gr,"Property")},Yn.parseGetterSetter=function(xe){var St=xe.key.name;this.parsePropertyName(xe),xe.value=this.parseMethod(!1),xe.kind=St;var Gr=xe.kind==="get"?0:1;if(xe.value.params.length!==Gr){var An=xe.value.start;xe.kind==="get"?this.raiseRecoverable(An,"getter should have no params"):this.raiseRecoverable(An,"setter should have exactly one param")}else xe.kind==="set"&&xe.value.params[0].type==="RestElement"&&this.raiseRecoverable(xe.value.params[0].start,"Setter cannot use rest params")},Yn.parsePropertyValue=function(xe,St,Gr,An,Oi,xa,$a,yl){(Gr||An)&&this.type===R.colon&&this.unexpected(),this.eat(R.colon)?(xe.value=St?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,$a),xe.kind="init"):this.options.ecmaVersion>=6&&this.type===R.parenL?(St&&this.unexpected(),xe.method=!0,xe.value=this.parseMethod(Gr,An),xe.kind="init"):!St&&!yl&&this.options.ecmaVersion>=5&&!xe.computed&&xe.key.type==="Identifier"&&(xe.key.name==="get"||xe.key.name==="set")&&this.type!==R.comma&&this.type!==R.braceR&&this.type!==R.eq?((Gr||An)&&this.unexpected(),this.parseGetterSetter(xe)):this.options.ecmaVersion>=6&&!xe.computed&&xe.key.type==="Identifier"?((Gr||An)&&this.unexpected(),this.checkUnreserved(xe.key),xe.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=Oi),St?xe.value=this.parseMaybeDefault(Oi,xa,this.copyNode(xe.key)):this.type===R.eq&&$a?($a.shorthandAssign<0&&($a.shorthandAssign=this.start),xe.value=this.parseMaybeDefault(Oi,xa,this.copyNode(xe.key))):xe.value=this.copyNode(xe.key),xe.kind="init",xe.shorthand=!0):this.unexpected()},Yn.parsePropertyName=function(xe){if(this.options.ecmaVersion>=6){if(this.eat(R.bracketL))return xe.computed=!0,xe.key=this.parseMaybeAssign(),this.expect(R.bracketR),xe.key;xe.computed=!1}return xe.key=this.type===R.num||this.type===R.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Yn.initFunction=function(xe){xe.id=null,this.options.ecmaVersion>=6&&(xe.generator=xe.expression=!1),this.options.ecmaVersion>=8&&(xe.async=!1)},Yn.parseMethod=function(xe,St,Gr){var An=this.startNode(),Oi=this.yieldPos,xa=this.awaitPos,$a=this.awaitIdentPos;return this.initFunction(An),this.options.ecmaVersion>=6&&(An.generator=xe),this.options.ecmaVersion>=8&&(An.async=!!St),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vr(St,An.generator)|Bt|(Gr?Xt:0)),this.expect(R.parenL),An.params=this.parseBindingList(R.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(An,!1,!0,!1),this.yieldPos=Oi,this.awaitPos=xa,this.awaitIdentPos=$a,this.finishNode(An,"FunctionExpression")},Yn.parseArrowExpression=function(xe,St,Gr,An){var Oi=this.yieldPos,xa=this.awaitPos,$a=this.awaitIdentPos;return this.enterScope(Vr(Gr,!1)|Nr),this.initFunction(xe),this.options.ecmaVersion>=8&&(xe.async=!!Gr),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,xe.params=this.toAssignableList(St,!0),this.parseFunctionBody(xe,!0,!1,An),this.yieldPos=Oi,this.awaitPos=xa,this.awaitIdentPos=$a,this.finishNode(xe,"ArrowFunctionExpression")},Yn.parseFunctionBody=function(xe,St,Gr,An){var Oi=St&&this.type!==R.braceL,xa=this.strict,$a=!1;if(Oi)xe.body=this.parseMaybeAssign(An),xe.expression=!0,this.checkParams(xe,!1);else{var yl=this.options.ecmaVersion>=7&&!this.isSimpleParamList(xe.params);(!xa||yl)&&($a=this.strictDirective(this.end),$a&&yl&&this.raiseRecoverable(xe.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var Ho=this.labels;this.labels=[],$a&&(this.strict=!0),this.checkParams(xe,!xa&&!$a&&!St&&!Gr&&this.isSimpleParamList(xe.params)),this.strict&&xe.id&&this.checkLValSimple(xe.id,Na),xe.body=this.parseBlock(!1,void 0,$a&&!xa),xe.expression=!1,this.adaptDirectivePrologue(xe.body.body),this.labels=Ho}this.exitScope()},Yn.isSimpleParamList=function(xe){for(var St=0,Gr=xe;St-1||Oi.functions.indexOf(xe)>-1||Oi.var.indexOf(xe)>-1,Oi.lexical.push(xe),this.inModule&&Oi.flags&lr&&delete this.undefinedExports[xe]}else if(St===na){var xa=this.currentScope();xa.lexical.push(xe)}else if(St===us){var $a=this.currentScope();this.treatFunctionsAsVar?An=$a.lexical.indexOf(xe)>-1:An=$a.lexical.indexOf(xe)>-1||$a.var.indexOf(xe)>-1,$a.functions.push(xe)}else for(var yl=this.scopeStack.length-1;yl>=0;--yl){var Ho=this.scopeStack[yl];if(Ho.lexical.indexOf(xe)>-1&&!(Ho.flags&Fr&&Ho.lexical[0]===xe)||!this.treatFunctionsAsVarInScope(Ho)&&Ho.functions.indexOf(xe)>-1){An=!0;break}if(Ho.var.push(xe),this.inModule&&Ho.flags&lr&&delete this.undefinedExports[xe],Ho.flags>)break}An&&this.raiseRecoverable(Gr,"Identifier '"+xe+"' has already been declared")},ks.checkLocalExport=function(xe){this.scopeStack[0].lexical.indexOf(xe.name)===-1&&this.scopeStack[0].var.indexOf(xe.name)===-1&&(this.undefinedExports[xe.name]=xe)},ks.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ks.currentVarScope=function(){for(var xe=this.scopeStack.length-1;;xe--){var St=this.scopeStack[xe];if(St.flags&(gt|rr|wr))return St}},ks.currentThisScope=function(){for(var xe=this.scopeStack.length-1;;xe--){var St=this.scopeStack[xe];if(St.flags&(gt|rr|wr)&&!(St.flags&Nr))return St}};var Jo=function(St,Gr,An){this.type="",this.start=Gr,this.end=0,St.options.locations&&(this.loc=new st(St,An)),St.options.directSourceFile&&(this.sourceFile=St.options.directSourceFile),St.options.ranges&&(this.range=[Gr,0])},wl=Di.prototype;wl.startNode=function(){return new Jo(this,this.start,this.startLoc)},wl.startNodeAt=function(xe,St){return new Jo(this,xe,St)};function Wc(xe,St,Gr,An){return xe.type=St,xe.end=Gr,this.options.locations&&(xe.loc.end=An),this.options.ranges&&(xe.range[1]=Gr),xe}wl.finishNode=function(xe,St){return Wc.call(this,xe,St,this.lastTokEnd,this.lastTokEndLoc)},wl.finishNodeAt=function(xe,St,Gr,An){return Wc.call(this,xe,St,Gr,An)},wl.copyNode=function(xe){var St=new Jo(this,xe.start,this.startLoc);for(var Gr in xe)St[Gr]=xe[Gr];return St};var Ui="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",ei="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI 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 Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation 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 Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark 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",ui=ei+" Extended_Pictographic",_o=ui,ua=_o+" EBase EComp EMod EPres ExtPict",rc=ua,Eo=rc,cp={9:ei,10:ui,11:_o,12:ua,13:rc,14:Eo},Sd="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",_m={9:"",10:"",11:"",12:"",13:"",14:Sd},fd="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",_f="Adlam Adlm 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 Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang 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 Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd 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_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 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",tp=_f+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Dg=tp+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",pg=Dg+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",oo=pg+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Qu=oo+" "+Ui,go={9:_f,10:tp,11:Dg,12:pg,13:oo,14:Qu},ta={};function fu(xe){var St=ta[xe]={binary:_e(cp[xe]+" "+fd),binaryOfStrings:_e(_m[xe]),nonBinary:{General_Category:_e(fd),Script:_e(go[xe])}};St.nonBinary.Script_Extensions=St.nonBinary.Script,St.nonBinary.gc=St.nonBinary.General_Category,St.nonBinary.sc=St.nonBinary.Script,St.nonBinary.scx=St.nonBinary.Script_Extensions}for(var bl=0,Zo=[9,10,11,12,13,14];bl=6?"uy":"")+(St.options.ecmaVersion>=9?"s":"")+(St.options.ecmaVersion>=13?"d":"")+(St.options.ecmaVersion>=15?"v":""),this.unicodeProperties=ta[St.options.ecmaVersion>=14?14:St.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};su.prototype.reset=function(St,Gr,An){var Oi=An.indexOf("v")!==-1,xa=An.indexOf("u")!==-1;this.start=St|0,this.source=Gr+"",this.flags=An,Oi&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=xa&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=xa&&this.parser.options.ecmaVersion>=9)},su.prototype.raise=function(St){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+St)},su.prototype.at=function(St,Gr){Gr===void 0&&(Gr=!1);var An=this.source,Oi=An.length;if(St>=Oi)return-1;var xa=An.charCodeAt(St);if(!(Gr||this.switchU)||xa<=55295||xa>=57344||St+1>=Oi)return xa;var $a=An.charCodeAt(St+1);return $a>=56320&&$a<=57343?(xa<<10)+$a-56613888:xa},su.prototype.nextIndex=function(St,Gr){Gr===void 0&&(Gr=!1);var An=this.source,Oi=An.length;if(St>=Oi)return Oi;var xa=An.charCodeAt(St),$a;return!(Gr||this.switchU)||xa<=55295||xa>=57344||St+1>=Oi||($a=An.charCodeAt(St+1))<56320||$a>57343?St+1:St+2},su.prototype.current=function(St){return St===void 0&&(St=!1),this.at(this.pos,St)},su.prototype.lookahead=function(St){return St===void 0&&(St=!1),this.at(this.nextIndex(this.pos,St),St)},su.prototype.advance=function(St){St===void 0&&(St=!1),this.pos=this.nextIndex(this.pos,St)},su.prototype.eat=function(St,Gr){return Gr===void 0&&(Gr=!1),this.current(Gr)===St?(this.advance(Gr),!0):!1},su.prototype.eatChars=function(St,Gr){Gr===void 0&&(Gr=!1);for(var An=this.pos,Oi=0,xa=St;Oi-1&&this.raise(xe.start,"Duplicate regular expression flag"),$a==="u"&&(An=!0),$a==="v"&&(Oi=!0)}this.options.ecmaVersion>=15&&An&&Oi&&this.raise(xe.start,"Invalid regular expression flag")};function Rm(xe){for(var St in xe)return!0;return!1}Ws.validateRegExpPattern=function(xe){this.regexp_pattern(xe),!xe.switchN&&this.options.ecmaVersion>=9&&Rm(xe.groupNames)&&(xe.switchN=!0,this.regexp_pattern(xe))},Ws.regexp_pattern=function(xe){xe.pos=0,xe.lastIntValue=0,xe.lastStringValue="",xe.lastAssertionIsQuantifiable=!1,xe.numCapturingParens=0,xe.maxBackReference=0,xe.groupNames=Object.create(null),xe.backReferenceNames.length=0,xe.branchID=null,this.regexp_disjunction(xe),xe.pos!==xe.source.length&&(xe.eat(41)&&xe.raise("Unmatched ')'"),(xe.eat(93)||xe.eat(125))&&xe.raise("Lone quantifier brackets")),xe.maxBackReference>xe.numCapturingParens&&xe.raise("Invalid escape");for(var St=0,Gr=xe.backReferenceNames;St=16;for(St&&(xe.branchID=new Hf(xe.branchID,null)),this.regexp_alternative(xe);xe.eat(124);)St&&(xe.branchID=xe.branchID.sibling()),this.regexp_alternative(xe);St&&(xe.branchID=xe.branchID.parent),this.regexp_eatQuantifier(xe,!0)&&xe.raise("Nothing to repeat"),xe.eat(123)&&xe.raise("Lone quantifier brackets")},Ws.regexp_alternative=function(xe){for(;xe.pos=9&&(Gr=xe.eat(60)),xe.eat(61)||xe.eat(33))return this.regexp_disjunction(xe),xe.eat(41)||xe.raise("Unterminated group"),xe.lastAssertionIsQuantifiable=!Gr,!0}return xe.pos=St,!1},Ws.regexp_eatQuantifier=function(xe,St){return St===void 0&&(St=!1),this.regexp_eatQuantifierPrefix(xe,St)?(xe.eat(63),!0):!1},Ws.regexp_eatQuantifierPrefix=function(xe,St){return xe.eat(42)||xe.eat(43)||xe.eat(63)||this.regexp_eatBracedQuantifier(xe,St)},Ws.regexp_eatBracedQuantifier=function(xe,St){var Gr=xe.pos;if(xe.eat(123)){var An=0,Oi=-1;if(this.regexp_eatDecimalDigits(xe)&&(An=xe.lastIntValue,xe.eat(44)&&this.regexp_eatDecimalDigits(xe)&&(Oi=xe.lastIntValue),xe.eat(125)))return Oi!==-1&&Oi=16){var Gr=this.regexp_eatModifiers(xe),An=xe.eat(45);if(Gr||An){for(var Oi=0;Oi-1&&xe.raise("Duplicate regular expression modifiers")}if(An){var $a=this.regexp_eatModifiers(xe);!Gr&&!$a&&xe.current()===58&&xe.raise("Invalid regular expression modifiers");for(var yl=0;yl<$a.length;yl++){var Ho=$a.charAt(yl);($a.indexOf(Ho,yl+1)>-1||Gr.indexOf(Ho)>-1)&&xe.raise("Duplicate regular expression modifiers")}}}}if(xe.eat(58)){if(this.regexp_disjunction(xe),xe.eat(41))return!0;xe.raise("Unterminated group")}}xe.pos=St}return!1},Ws.regexp_eatCapturingGroup=function(xe){if(xe.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(xe):xe.current()===63&&xe.raise("Invalid group"),this.regexp_disjunction(xe),xe.eat(41))return xe.numCapturingParens+=1,!0;xe.raise("Unterminated group")}return!1},Ws.regexp_eatModifiers=function(xe){for(var St="",Gr=0;(Gr=xe.current())!==-1&&_a(Gr);)St+=Le(Gr),xe.advance();return St};function _a(xe){return xe===105||xe===109||xe===115}Ws.regexp_eatExtendedAtom=function(xe){return xe.eat(46)||this.regexp_eatReverseSolidusAtomEscape(xe)||this.regexp_eatCharacterClass(xe)||this.regexp_eatUncapturingGroup(xe)||this.regexp_eatCapturingGroup(xe)||this.regexp_eatInvalidBracedQuantifier(xe)||this.regexp_eatExtendedPatternCharacter(xe)},Ws.regexp_eatInvalidBracedQuantifier=function(xe){return this.regexp_eatBracedQuantifier(xe,!0)&&xe.raise("Nothing to repeat"),!1},Ws.regexp_eatSyntaxCharacter=function(xe){var St=xe.current();return Rl(St)?(xe.lastIntValue=St,xe.advance(),!0):!1};function Rl(xe){return xe===36||xe>=40&&xe<=43||xe===46||xe===63||xe>=91&&xe<=94||xe>=123&&xe<=125}Ws.regexp_eatPatternCharacters=function(xe){for(var St=xe.pos,Gr=0;(Gr=xe.current())!==-1&&!Rl(Gr);)xe.advance();return xe.pos!==St},Ws.regexp_eatExtendedPatternCharacter=function(xe){var St=xe.current();return St!==-1&&St!==36&&!(St>=40&&St<=43)&&St!==46&&St!==63&&St!==91&&St!==94&&St!==124?(xe.advance(),!0):!1},Ws.regexp_groupSpecifier=function(xe){if(xe.eat(63)){this.regexp_eatGroupName(xe)||xe.raise("Invalid group");var St=this.options.ecmaVersion>=16,Gr=xe.groupNames[xe.lastStringValue];if(Gr)if(St)for(var An=0,Oi=Gr;An=11,An=xe.current(Gr);return xe.advance(Gr),An===92&&this.regexp_eatRegExpUnicodeEscapeSequence(xe,Gr)&&(An=xe.lastIntValue),Pc(An)?(xe.lastIntValue=An,!0):(xe.pos=St,!1)};function Pc(xe){return A(xe,!0)||xe===36||xe===95}Ws.regexp_eatRegExpIdentifierPart=function(xe){var St=xe.pos,Gr=this.options.ecmaVersion>=11,An=xe.current(Gr);return xe.advance(Gr),An===92&&this.regexp_eatRegExpUnicodeEscapeSequence(xe,Gr)&&(An=xe.lastIntValue),iu(An)?(xe.lastIntValue=An,!0):(xe.pos=St,!1)};function iu(xe){return h(xe,!0)||xe===36||xe===95||xe===8204||xe===8205}Ws.regexp_eatAtomEscape=function(xe){return this.regexp_eatBackReference(xe)||this.regexp_eatCharacterClassEscape(xe)||this.regexp_eatCharacterEscape(xe)||xe.switchN&&this.regexp_eatKGroupName(xe)?!0:(xe.switchU&&(xe.current()===99&&xe.raise("Invalid unicode escape"),xe.raise("Invalid escape")),!1)},Ws.regexp_eatBackReference=function(xe){var St=xe.pos;if(this.regexp_eatDecimalEscape(xe)){var Gr=xe.lastIntValue;if(xe.switchU)return Gr>xe.maxBackReference&&(xe.maxBackReference=Gr),!0;if(Gr<=xe.numCapturingParens)return!0;xe.pos=St}return!1},Ws.regexp_eatKGroupName=function(xe){if(xe.eat(107)){if(this.regexp_eatGroupName(xe))return xe.backReferenceNames.push(xe.lastStringValue),!0;xe.raise("Invalid named reference")}return!1},Ws.regexp_eatCharacterEscape=function(xe){return this.regexp_eatControlEscape(xe)||this.regexp_eatCControlLetter(xe)||this.regexp_eatZero(xe)||this.regexp_eatHexEscapeSequence(xe)||this.regexp_eatRegExpUnicodeEscapeSequence(xe,!1)||!xe.switchU&&this.regexp_eatLegacyOctalEscapeSequence(xe)||this.regexp_eatIdentityEscape(xe)},Ws.regexp_eatCControlLetter=function(xe){var St=xe.pos;if(xe.eat(99)){if(this.regexp_eatControlLetter(xe))return!0;xe.pos=St}return!1},Ws.regexp_eatZero=function(xe){return xe.current()===48&&!Ty(xe.lookahead())?(xe.lastIntValue=0,xe.advance(),!0):!1},Ws.regexp_eatControlEscape=function(xe){var St=xe.current();return St===116?(xe.lastIntValue=9,xe.advance(),!0):St===110?(xe.lastIntValue=10,xe.advance(),!0):St===118?(xe.lastIntValue=11,xe.advance(),!0):St===102?(xe.lastIntValue=12,xe.advance(),!0):St===114?(xe.lastIntValue=13,xe.advance(),!0):!1},Ws.regexp_eatControlLetter=function(xe){var St=xe.current();return Xc(St)?(xe.lastIntValue=St%32,xe.advance(),!0):!1};function Xc(xe){return xe>=65&&xe<=90||xe>=97&&xe<=122}Ws.regexp_eatRegExpUnicodeEscapeSequence=function(xe,St){St===void 0&&(St=!1);var Gr=xe.pos,An=St||xe.switchU;if(xe.eat(117)){if(this.regexp_eatFixedHexDigits(xe,4)){var Oi=xe.lastIntValue;if(An&&Oi>=55296&&Oi<=56319){var xa=xe.pos;if(xe.eat(92)&&xe.eat(117)&&this.regexp_eatFixedHexDigits(xe,4)){var $a=xe.lastIntValue;if($a>=56320&&$a<=57343)return xe.lastIntValue=(Oi-55296)*1024+($a-56320)+65536,!0}xe.pos=xa,xe.lastIntValue=Oi}return!0}if(An&&xe.eat(123)&&this.regexp_eatHexDigits(xe)&&xe.eat(125)&&Kf(xe.lastIntValue))return!0;An&&xe.raise("Invalid unicode escape"),xe.pos=Gr}return!1};function Kf(xe){return xe>=0&&xe<=1114111}Ws.regexp_eatIdentityEscape=function(xe){if(xe.switchU)return this.regexp_eatSyntaxCharacter(xe)?!0:xe.eat(47)?(xe.lastIntValue=47,!0):!1;var St=xe.current();return St!==99&&(!xe.switchN||St!==107)?(xe.lastIntValue=St,xe.advance(),!0):!1},Ws.regexp_eatDecimalEscape=function(xe){xe.lastIntValue=0;var St=xe.current();if(St>=49&&St<=57){do xe.lastIntValue=10*xe.lastIntValue+(St-48),xe.advance();while((St=xe.current())>=48&&St<=57);return!0}return!1};var uo=0,Rp=1,Fm=2;Ws.regexp_eatCharacterClassEscape=function(xe){var St=xe.current();if(Dh(St))return xe.lastIntValue=-1,xe.advance(),Rp;var Gr=!1;if(xe.switchU&&this.options.ecmaVersion>=9&&((Gr=St===80)||St===112)){xe.lastIntValue=-1,xe.advance();var An;if(xe.eat(123)&&(An=this.regexp_eatUnicodePropertyValueExpression(xe))&&xe.eat(125))return Gr&&An===Fm&&xe.raise("Invalid property name"),An;xe.raise("Invalid property name")}return uo};function Dh(xe){return xe===100||xe===68||xe===115||xe===83||xe===119||xe===87}Ws.regexp_eatUnicodePropertyValueExpression=function(xe){var St=xe.pos;if(this.regexp_eatUnicodePropertyName(xe)&&xe.eat(61)){var Gr=xe.lastStringValue;if(this.regexp_eatUnicodePropertyValue(xe)){var An=xe.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(xe,Gr,An),Rp}}if(xe.pos=St,this.regexp_eatLoneUnicodePropertyNameOrValue(xe)){var Oi=xe.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(xe,Oi)}return uo},Ws.regexp_validateUnicodePropertyNameAndValue=function(xe,St,Gr){ae(xe.unicodeProperties.nonBinary,St)||xe.raise("Invalid property name"),xe.unicodeProperties.nonBinary[St].test(Gr)||xe.raise("Invalid property value")},Ws.regexp_validateUnicodePropertyNameOrValue=function(xe,St){if(xe.unicodeProperties.binary.test(St))return Rp;if(xe.switchV&&xe.unicodeProperties.binaryOfStrings.test(St))return Fm;xe.raise("Invalid property name")},Ws.regexp_eatUnicodePropertyName=function(xe){var St=0;for(xe.lastStringValue="";bc(St=xe.current());)xe.lastStringValue+=Le(St),xe.advance();return xe.lastStringValue!==""};function bc(xe){return Xc(xe)||xe===95}Ws.regexp_eatUnicodePropertyValue=function(xe){var St=0;for(xe.lastStringValue="";wg(St=xe.current());)xe.lastStringValue+=Le(St),xe.advance();return xe.lastStringValue!==""};function wg(xe){return bc(xe)||Ty(xe)}Ws.regexp_eatLoneUnicodePropertyNameOrValue=function(xe){return this.regexp_eatUnicodePropertyValue(xe)},Ws.regexp_eatCharacterClass=function(xe){if(xe.eat(91)){var St=xe.eat(94),Gr=this.regexp_classContents(xe);return xe.eat(93)||xe.raise("Unterminated character class"),St&&Gr===Fm&&xe.raise("Negated character class may contain strings"),!0}return!1},Ws.regexp_classContents=function(xe){return xe.current()===93?Rp:xe.switchV?this.regexp_classSetExpression(xe):(this.regexp_nonEmptyClassRanges(xe),Rp)},Ws.regexp_nonEmptyClassRanges=function(xe){for(;this.regexp_eatClassAtom(xe);){var St=xe.lastIntValue;if(xe.eat(45)&&this.regexp_eatClassAtom(xe)){var Gr=xe.lastIntValue;xe.switchU&&(St===-1||Gr===-1)&&xe.raise("Invalid character class"),St!==-1&&Gr!==-1&&St>Gr&&xe.raise("Range out of order in character class")}}},Ws.regexp_eatClassAtom=function(xe){var St=xe.pos;if(xe.eat(92)){if(this.regexp_eatClassEscape(xe))return!0;if(xe.switchU){var Gr=xe.current();(Gr===99||Zc(Gr))&&xe.raise("Invalid class escape"),xe.raise("Invalid escape")}xe.pos=St}var An=xe.current();return An!==93?(xe.lastIntValue=An,xe.advance(),!0):!1},Ws.regexp_eatClassEscape=function(xe){var St=xe.pos;if(xe.eat(98))return xe.lastIntValue=8,!0;if(xe.switchU&&xe.eat(45))return xe.lastIntValue=45,!0;if(!xe.switchU&&xe.eat(99)){if(this.regexp_eatClassControlLetter(xe))return!0;xe.pos=St}return this.regexp_eatCharacterClassEscape(xe)||this.regexp_eatCharacterEscape(xe)},Ws.regexp_classSetExpression=function(xe){var St=Rp,Gr;if(!this.regexp_eatClassSetRange(xe))if(Gr=this.regexp_eatClassSetOperand(xe)){Gr===Fm&&(St=Fm);for(var An=xe.pos;xe.eatChars([38,38]);){if(xe.current()!==38&&(Gr=this.regexp_eatClassSetOperand(xe))){Gr!==Fm&&(St=Rp);continue}xe.raise("Invalid character in character class")}if(An!==xe.pos)return St;for(;xe.eatChars([45,45]);)this.regexp_eatClassSetOperand(xe)||xe.raise("Invalid character in character class");if(An!==xe.pos)return St}else xe.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(xe)){if(Gr=this.regexp_eatClassSetOperand(xe),!Gr)return St;Gr===Fm&&(St=Fm)}},Ws.regexp_eatClassSetRange=function(xe){var St=xe.pos;if(this.regexp_eatClassSetCharacter(xe)){var Gr=xe.lastIntValue;if(xe.eat(45)&&this.regexp_eatClassSetCharacter(xe)){var An=xe.lastIntValue;return Gr!==-1&&An!==-1&&Gr>An&&xe.raise("Range out of order in character class"),!0}xe.pos=St}return!1},Ws.regexp_eatClassSetOperand=function(xe){return this.regexp_eatClassSetCharacter(xe)?Rp:this.regexp_eatClassStringDisjunction(xe)||this.regexp_eatNestedClass(xe)},Ws.regexp_eatNestedClass=function(xe){var St=xe.pos;if(xe.eat(91)){var Gr=xe.eat(94),An=this.regexp_classContents(xe);if(xe.eat(93))return Gr&&An===Fm&&xe.raise("Negated character class may contain strings"),An;xe.pos=St}if(xe.eat(92)){var Oi=this.regexp_eatCharacterClassEscape(xe);if(Oi)return Oi;xe.pos=St}return null},Ws.regexp_eatClassStringDisjunction=function(xe){var St=xe.pos;if(xe.eatChars([92,113])){if(xe.eat(123)){var Gr=this.regexp_classStringDisjunctionContents(xe);if(xe.eat(125))return Gr}else xe.raise("Invalid escape");xe.pos=St}return null},Ws.regexp_classStringDisjunctionContents=function(xe){for(var St=this.regexp_classString(xe);xe.eat(124);)this.regexp_classString(xe)===Fm&&(St=Fm);return St},Ws.regexp_classString=function(xe){for(var St=0;this.regexp_eatClassSetCharacter(xe);)St++;return St===1?Rp:Fm},Ws.regexp_eatClassSetCharacter=function(xe){var St=xe.pos;if(xe.eat(92))return this.regexp_eatCharacterEscape(xe)||this.regexp_eatClassSetReservedPunctuator(xe)?!0:xe.eat(98)?(xe.lastIntValue=8,!0):(xe.pos=St,!1);var Gr=xe.current();return Gr<0||Gr===xe.lookahead()&&uh(Gr)||L2(Gr)?!1:(xe.advance(),xe.lastIntValue=Gr,!0)};function uh(xe){return xe===33||xe>=35&&xe<=38||xe>=42&&xe<=44||xe===46||xe>=58&&xe<=64||xe===94||xe===96||xe===126}function L2(xe){return xe===40||xe===41||xe===45||xe===47||xe>=91&&xe<=93||xe>=123&&xe<=125}Ws.regexp_eatClassSetReservedPunctuator=function(xe){var St=xe.current();return ii(St)?(xe.lastIntValue=St,xe.advance(),!0):!1};function ii(xe){return xe===33||xe===35||xe===37||xe===38||xe===44||xe===45||xe>=58&&xe<=62||xe===64||xe===96||xe===126}Ws.regexp_eatClassControlLetter=function(xe){var St=xe.current();return Ty(St)||St===95?(xe.lastIntValue=St%32,xe.advance(),!0):!1},Ws.regexp_eatHexEscapeSequence=function(xe){var St=xe.pos;if(xe.eat(120)){if(this.regexp_eatFixedHexDigits(xe,2))return!0;xe.switchU&&xe.raise("Invalid escape"),xe.pos=St}return!1},Ws.regexp_eatDecimalDigits=function(xe){var St=xe.pos,Gr=0;for(xe.lastIntValue=0;Ty(Gr=xe.current());)xe.lastIntValue=10*xe.lastIntValue+(Gr-48),xe.advance();return xe.pos!==St};function Ty(xe){return xe>=48&&xe<=57}Ws.regexp_eatHexDigits=function(xe){var St=xe.pos,Gr=0;for(xe.lastIntValue=0;Ix(Gr=xe.current());)xe.lastIntValue=16*xe.lastIntValue+M2(Gr),xe.advance();return xe.pos!==St};function Ix(xe){return xe>=48&&xe<=57||xe>=65&&xe<=70||xe>=97&&xe<=102}function M2(xe){return xe>=65&&xe<=70?10+(xe-65):xe>=97&&xe<=102?10+(xe-97):xe-48}Ws.regexp_eatLegacyOctalEscapeSequence=function(xe){if(this.regexp_eatOctalDigit(xe)){var St=xe.lastIntValue;if(this.regexp_eatOctalDigit(xe)){var Gr=xe.lastIntValue;St<=3&&this.regexp_eatOctalDigit(xe)?xe.lastIntValue=St*64+Gr*8+xe.lastIntValue:xe.lastIntValue=St*8+Gr}else xe.lastIntValue=St;return!0}return!1},Ws.regexp_eatOctalDigit=function(xe){var St=xe.current();return Zc(St)?(xe.lastIntValue=St-48,xe.advance(),!0):(xe.lastIntValue=0,!1)};function Zc(xe){return xe>=48&&xe<=55}Ws.regexp_eatFixedHexDigits=function(xe,St){var Gr=xe.pos;xe.lastIntValue=0;for(var An=0;An=this.input.length)return this.finishToken(R.eof);if(xe.override)return xe.override(this);this.readToken(this.fullCharCodeAtPos())},Ml.readToken=function(xe){return A(xe,this.options.ecmaVersion>=6)||xe===92?this.readWord():this.getTokenFromCode(xe)},Ml.fullCharCodeAtPos=function(){var xe=this.input.charCodeAt(this.pos);if(xe<=55295||xe>=56320)return xe;var St=this.input.charCodeAt(this.pos+1);return St<=56319||St>=57344?xe:(xe<<10)+St-56613888},Ml.skipBlockComment=function(){var xe=this.options.onComment&&this.curPosition(),St=this.pos,Gr=this.input.indexOf("*/",this.pos+=2);if(Gr===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=Gr+2,this.options.locations)for(var An=void 0,Oi=St;(An=Z(this.input,Oi,this.pos))>-1;)++this.curLine,Oi=this.lineStart=An;this.options.onComment&&this.options.onComment(!0,this.input.slice(St+2,Gr),St,this.pos,xe,this.curPosition())},Ml.skipLineComment=function(xe){for(var St=this.pos,Gr=this.options.onComment&&this.curPosition(),An=this.input.charCodeAt(this.pos+=xe);this.pos8&&xe<14||xe>=5760&&oe.test(String.fromCharCode(xe)))++this.pos;else break e}}},Ml.finishToken=function(xe,St){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var Gr=this.type;this.type=xe,this.value=St,this.updateContext(Gr)},Ml.readToken_dot=function(){var xe=this.input.charCodeAt(this.pos+1);if(xe>=48&&xe<=57)return this.readNumber(!0);var St=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&xe===46&&St===46?(this.pos+=3,this.finishToken(R.ellipsis)):(++this.pos,this.finishToken(R.dot))},Ml.readToken_slash=function(){var xe=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):xe===61?this.finishOp(R.assign,2):this.finishOp(R.slash,1)},Ml.readToken_mult_modulo_exp=function(xe){var St=this.input.charCodeAt(this.pos+1),Gr=1,An=xe===42?R.star:R.modulo;return this.options.ecmaVersion>=7&&xe===42&&St===42&&(++Gr,An=R.starstar,St=this.input.charCodeAt(this.pos+2)),St===61?this.finishOp(R.assign,Gr+1):this.finishOp(An,Gr)},Ml.readToken_pipe_amp=function(xe){var St=this.input.charCodeAt(this.pos+1);if(St===xe){if(this.options.ecmaVersion>=12){var Gr=this.input.charCodeAt(this.pos+2);if(Gr===61)return this.finishOp(R.assign,3)}return this.finishOp(xe===124?R.logicalOR:R.logicalAND,2)}return St===61?this.finishOp(R.assign,2):this.finishOp(xe===124?R.bitwiseOR:R.bitwiseAND,1)},Ml.readToken_caret=function(){var xe=this.input.charCodeAt(this.pos+1);return xe===61?this.finishOp(R.assign,2):this.finishOp(R.bitwiseXOR,1)},Ml.readToken_plus_min=function(xe){var St=this.input.charCodeAt(this.pos+1);return St===xe?St===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||q.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(R.incDec,2):St===61?this.finishOp(R.assign,2):this.finishOp(R.plusMin,1)},Ml.readToken_lt_gt=function(xe){var St=this.input.charCodeAt(this.pos+1),Gr=1;return St===xe?(Gr=xe===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+Gr)===61?this.finishOp(R.assign,Gr+1):this.finishOp(R.bitShift,Gr)):St===33&&xe===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(St===61&&(Gr=2),this.finishOp(R.relational,Gr))},Ml.readToken_eq_excl=function(xe){var St=this.input.charCodeAt(this.pos+1);return St===61?this.finishOp(R.equality,this.input.charCodeAt(this.pos+2)===61?3:2):xe===61&&St===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(R.arrow)):this.finishOp(xe===61?R.eq:R.prefix,1)},Ml.readToken_question=function(){var xe=this.options.ecmaVersion;if(xe>=11){var St=this.input.charCodeAt(this.pos+1);if(St===46){var Gr=this.input.charCodeAt(this.pos+2);if(Gr<48||Gr>57)return this.finishOp(R.questionDot,2)}if(St===63){if(xe>=12){var An=this.input.charCodeAt(this.pos+2);if(An===61)return this.finishOp(R.assign,3)}return this.finishOp(R.coalesce,2)}}return this.finishOp(R.question,1)},Ml.readToken_numberSign=function(){var xe=this.options.ecmaVersion,St=35;if(xe>=13&&(++this.pos,St=this.fullCharCodeAtPos(),A(St,!0)||St===92))return this.finishToken(R.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Le(St)+"'")},Ml.getTokenFromCode=function(xe){switch(xe){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(R.parenL);case 41:return++this.pos,this.finishToken(R.parenR);case 59:return++this.pos,this.finishToken(R.semi);case 44:return++this.pos,this.finishToken(R.comma);case 91:return++this.pos,this.finishToken(R.bracketL);case 93:return++this.pos,this.finishToken(R.bracketR);case 123:return++this.pos,this.finishToken(R.braceL);case 125:return++this.pos,this.finishToken(R.braceR);case 58:return++this.pos,this.finishToken(R.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(R.backQuote);case 48:var St=this.input.charCodeAt(this.pos+1);if(St===120||St===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(St===111||St===79)return this.readRadixNumber(8);if(St===98||St===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(xe);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(xe);case 124:case 38:return this.readToken_pipe_amp(xe);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(xe);case 60:case 62:return this.readToken_lt_gt(xe);case 61:case 33:return this.readToken_eq_excl(xe);case 63:return this.readToken_question();case 126:return this.finishOp(R.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Le(xe)+"'")},Ml.finishOp=function(xe,St){var Gr=this.input.slice(this.pos,this.pos+St);return this.pos+=St,this.finishToken(xe,Gr)},Ml.readRegexp=function(){for(var xe,St,Gr=this.pos;;){this.pos>=this.input.length&&this.raise(Gr,"Unterminated regular expression");var An=this.input.charAt(this.pos);if(q.test(An)&&this.raise(Gr,"Unterminated regular expression"),xe)xe=!1;else{if(An==="[")St=!0;else if(An==="]"&&St)St=!1;else if(An==="/"&&!St)break;xe=An==="\\"}++this.pos}var Oi=this.input.slice(Gr,this.pos);++this.pos;var xa=this.pos,$a=this.readWord1();this.containsEsc&&this.unexpected(xa);var yl=this.regexpState||(this.regexpState=new su(this));yl.reset(Gr,Oi,$a),this.validateRegExpFlags(yl),this.validateRegExpPattern(yl);var Ho=null;try{Ho=new RegExp(Oi,$a)}catch{}return this.finishToken(R.regexp,{pattern:Oi,flags:$a,value:Ho})},Ml.readInt=function(xe,St,Gr){for(var An=this.options.ecmaVersion>=12&&St===void 0,Oi=Gr&&this.input.charCodeAt(this.pos)===48,xa=this.pos,$a=0,yl=0,Ho=0,Ud=St??1/0;Ho=97?wh=Em-97+10:Em>=65?wh=Em-65+10:Em>=48&&Em<=57?wh=Em-48:wh=1/0,wh>=xe)break;yl=Em,$a=$a*xe+wh}return An&&yl===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===xa||St!=null&&this.pos-xa!==St?null:$a};function fm(xe,St){return St?parseInt(xe,8):parseFloat(xe.replace(/_/g,""))}function W0(xe){return typeof BigInt!="function"?null:BigInt(xe.replace(/_/g,""))}Ml.readRadixNumber=function(xe){var St=this.pos;this.pos+=2;var Gr=this.readInt(xe);return Gr==null&&this.raise(this.start+2,"Expected number in radix "+xe),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(Gr=W0(this.input.slice(St,this.pos)),++this.pos):A(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(R.num,Gr)},Ml.readNumber=function(xe){var St=this.pos;!xe&&this.readInt(10,void 0,!0)===null&&this.raise(St,"Invalid number");var Gr=this.pos-St>=2&&this.input.charCodeAt(St)===48;Gr&&this.strict&&this.raise(St,"Invalid number");var An=this.input.charCodeAt(this.pos);if(!Gr&&!xe&&this.options.ecmaVersion>=11&&An===110){var Oi=W0(this.input.slice(St,this.pos));return++this.pos,A(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(R.num,Oi)}Gr&&/[89]/.test(this.input.slice(St,this.pos))&&(Gr=!1),An===46&&!Gr&&(++this.pos,this.readInt(10),An=this.input.charCodeAt(this.pos)),(An===69||An===101)&&!Gr&&(An=this.input.charCodeAt(++this.pos),(An===43||An===45)&&++this.pos,this.readInt(10)===null&&this.raise(St,"Invalid number")),A(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var xa=fm(this.input.slice(St,this.pos),Gr);return this.finishToken(R.num,xa)},Ml.readCodePoint=function(){var xe=this.input.charCodeAt(this.pos),St;if(xe===123){this.options.ecmaVersion<6&&this.unexpected();var Gr=++this.pos;St=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,St>1114111&&this.invalidStringToken(Gr,"Code point out of bounds")}else St=this.readHexChar(4);return St},Ml.readString=function(xe){for(var St="",Gr=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var An=this.input.charCodeAt(this.pos);if(An===xe)break;An===92?(St+=this.input.slice(Gr,this.pos),St+=this.readEscapedChar(!1),Gr=this.pos):An===8232||An===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(K(An)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return St+=this.input.slice(Gr,this.pos++),this.finishToken(R.string,St)};var vp={};Ml.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(xe){if(xe===vp)this.readInvalidTemplateToken();else throw xe}this.inTemplateElement=!1},Ml.invalidStringToken=function(xe,St){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw vp;this.raise(xe,St)},Ml.readTmplToken=function(){for(var xe="",St=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var Gr=this.input.charCodeAt(this.pos);if(Gr===96||Gr===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===R.template||this.type===R.invalidTemplate)?Gr===36?(this.pos+=2,this.finishToken(R.dollarBraceL)):(++this.pos,this.finishToken(R.backQuote)):(xe+=this.input.slice(St,this.pos),this.finishToken(R.template,xe));if(Gr===92)xe+=this.input.slice(St,this.pos),xe+=this.readEscapedChar(!0),St=this.pos;else if(K(Gr)){switch(xe+=this.input.slice(St,this.pos),++this.pos,Gr){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:xe+=` `;break;default:xe+=String.fromCharCode(Gr);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),St=this.pos}else++this.pos}},Ml.readInvalidTemplateToken=function(){for(;this.pos=48&&St<=55){var An=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],Oi=parseInt(An,8);return Oi>255&&(An=An.slice(0,-1),Oi=parseInt(An,8)),this.pos+=An.length-1,St=this.input.charCodeAt(this.pos),(An!=="0"||St===56||St===57)&&(this.strict||xe)&&this.invalidStringToken(this.pos-1-An.length,xe?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(Oi)}return K(St)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(St)}},Ml.readHexChar=function(xe){var St=this.pos,Gr=this.readInt(16,xe);return Gr===null&&this.invalidStringToken(St,"Bad character escape sequence"),Gr},Ml.readWord1=function(){this.containsEsc=!1;for(var xe="",St=!0,Gr=this.pos,An=this.options.ecmaVersion>=6;this.pos{FAs.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}});var ntn=j((_hA,rtn)=>{"use strict";var NSl=LAs(),OSl=/^[\da-fA-F]+$/,RSl=/^\d+$/,MAs=new WeakMap;function QAs(e){e=e.Parser.acorn||e;let t=MAs.get(e);if(!t){let r=e.tokTypes,n=e.TokContext,i=e.TokenType,s=new n("...",!0,!0),l={tc_oTag:s,tc_cTag:a,tc_expr:u},f={jsxName:new i("jsxName"),jsxText:new i("jsxText",{beforeExpr:!0}),jsxTagStart:new i("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new i("jsxTagEnd")};f.jsxTagStart.updateContext=function(){this.context.push(u),this.context.push(s),this.exprAllowed=!1},f.jsxTagEnd.updateContext=function(p){let g=this.context.pop();g===s&&p===r.slash||g===a?(this.context.pop(),this.exprAllowed=this.curContext()===u):this.exprAllowed=!0},t={tokContexts:l,tokTypes:f},MAs.set(e,t)}return t}function vft(e){if(!e)return e;if(e.type==="JSXIdentifier")return e.name;if(e.type==="JSXNamespacedName")return e.namespace.name+":"+e.name.name;if(e.type==="JSXMemberExpression")return vft(e.object)+"."+vft(e.property)}rtn.exports=function(e){return e=e||{},function(t){return FSl({allowNamespaces:e.allowNamespaces!==!1,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}};Object.defineProperty(rtn.exports,"tokTypes",{get:function(){return QAs(e$t()).tokTypes},configurable:!0,enumerable:!0});function FSl(e,t){let r=t.acorn||e$t(),n=QAs(r),i=r.tokTypes,s=n.tokTypes,a=r.tokContexts,u=n.tokContexts.tc_oTag,l=n.tokContexts.tc_cTag,f=n.tokContexts.tc_expr,p=r.isNewLine,g=r.isIdentifierStart,A=r.isIdentifierChar;return class extends t{static get acornJsx(){return n}jsx_readToken(){let h="",_=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let E=this.input.charCodeAt(this.pos);switch(E){case 60:case 123:return this.pos===this.start?E===60&&this.exprAllowed?(++this.pos,this.finishToken(s.jsxTagStart)):this.getTokenFromCode(E):(h+=this.input.slice(_,this.pos),this.finishToken(s.jsxText,h));case 38:h+=this.input.slice(_,this.pos),h+=this.jsx_readEntity(),_=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(E===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:p(E)?(h+=this.input.slice(_,this.pos),h+=this.jsx_readNewLine(!0),_=this.pos):++this.pos}}}jsx_readNewLine(h){let _=this.input.charCodeAt(this.pos),E;return++this.pos,_===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,E=h?` `:`\r `):E=String.fromCharCode(_),this.options.locations&&(++this.curLine,this.lineStart=this.pos),E}jsx_readString(h){let _="",E=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let b=this.input.charCodeAt(this.pos);if(b===h)break;b===38?(_+=this.input.slice(E,this.pos),_+=this.jsx_readEntity(),E=this.pos):p(b)?(_+=this.input.slice(E,this.pos),_+=this.jsx_readNewLine(!1),E=this.pos):++this.pos}return _+=this.input.slice(E,this.pos++),this.finishToken(i.string,_)}jsx_readEntity(){let h="",_=0,E,b=this.input[this.pos];b!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let D=++this.pos;for(;this.pos")}let M=D.name?"Element":"Fragment";return E["opening"+M]=D,E["closing"+M]=k,E.children=b,this.type===i.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(E,"JSX"+M)}jsx_parseText(){let h=this.parseLiteral(this.value);return h.type="JSXText",h}jsx_parseElement(){let h=this.start,_=this.startLoc;return this.next(),this.jsx_parseElementAt(h,_)}parseExprAtom(h){return this.type===s.jsxText?this.jsx_parseText():this.type===s.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(h)}readToken(h){let _=this.curContext();if(_===f)return this.jsx_readToken();if(_===u||_===l){if(g(h))return this.jsx_readWord();if(h==62)return++this.pos,this.finishToken(s.jsxTagEnd);if((h===34||h===39)&&_==u)return this.jsx_readString(h)}return h===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(s.jsxTagStart)):super.readToken(h)}updateContext(h){if(this.type==i.braceL){var _=this.curContext();_==u?this.context.push(a.b_expr):_==f?this.context.push(a.b_tmpl):super.updateContext(h),this.exprAllowed=!0}else if(this.type===i.slash&&h===s.jsxTagStart)this.context.length-=2,this.context.push(l),this.exprAllowed=!1;else return super.updateContext(h)}}}});var jAs=j(t$t=>{"use strict";var Cft={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","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],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"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],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"]},LSl=Object.keys(Cft);for(let e of LSl)Object.freeze(Cft[e]);Object.freeze(Cft);var MSl=new Set(["parent","leadingComments","trailingComments"]);function QSl(e){return!MSl.has(e)&&e[0]!=="_"}function jSl(e){return Object.keys(e).filter(QSl)}function USl(e){let t=Object.assign({},Cft);for(let r of Object.keys(e))if(Object.hasOwn(t,r)){let n=new Set(e[r]);for(let i of t[r])n.add(i);t[r]=Object.freeze(Array.from(n))}else t[r]=Object.freeze(Array.from(e[r]));return Object.freeze(t)}t$t.KEYS=Cft;t$t.getKeys=jSl;t$t.unionWith=USl});var AGe=j(jfe=>{"use strict";Object.defineProperty(jfe,"__esModule",{value:!0});var qSl=e$t(),YSl=ntn(),GSl=jAs();function VSl(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}function YAs(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var UAs=YAs(qSl),$Sl=VSl(YSl),KSl=YAs(GSl),GQ={Boolean:"Boolean",EOF:"",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function JSl(e,t){let r=e[0],n=e.at(-1),i={type:GQ.Template,value:t.slice(r.start,n.end)};return r.loc&&(i.loc={start:r.loc.start,end:n.loc.end}),r.range&&(i.start=r.range[0],i.end=n.range[1],i.range=[i.start,i.end]),i}function stn(e,t){this._acornTokTypes=e,this._tokens=[],this._curlyBrace=null,this._code=t}stn.prototype={constructor:stn,translate(e,t){let r=e.type,n=this._acornTokTypes;if(r===n.name)e.type=GQ.Identifier,e.value==="static"&&(e.type=GQ.Keyword),t.ecmaVersion>5&&(e.value==="yield"||e.value==="let")&&(e.type=GQ.Keyword);else if(r===n.privateId)e.type=GQ.PrivateIdentifier;else if(r===n.semi||r===n.comma||r===n.parenL||r===n.parenR||r===n.braceL||r===n.braceR||r===n.dot||r===n.bracketL||r===n.colon||r===n.question||r===n.bracketR||r===n.ellipsis||r===n.arrow||r===n.jsxTagStart||r===n.incDec||r===n.starstar||r===n.jsxTagEnd||r===n.prefix||r===n.questionDot||r.binop&&!r.keyword||r.isAssign)e.type=GQ.Punctuator,e.value=this._code.slice(e.start,e.end);else if(r===n.jsxName)e.type=GQ.JSXIdentifier;else if(r.label==="jsxText"||r===n.jsxAttrValueToken)e.type=GQ.JSXText;else if(r.keyword)r.keyword==="true"||r.keyword==="false"?e.type=GQ.Boolean:r.keyword==="null"?e.type=GQ.Null:e.type=GQ.Keyword;else if(r===n.num)e.type=GQ.Numeric,e.value=this._code.slice(e.start,e.end);else if(r===n.string)t.jsxAttrValueToken?(t.jsxAttrValueToken=!1,e.type=GQ.JSXText):e.type=GQ.String,e.value=this._code.slice(e.start,e.end);else if(r===n.regexp){e.type=GQ.RegularExpression;let i=e.value;e.regex={flags:i.flags,pattern:i.pattern},e.value=`/${i.pattern}/${i.flags}`}return e},onToken(e,t){let r=this._acornTokTypes,n=t.tokens,i=this._tokens,s=()=>{n.push(JSl(this._tokens,this._code)),this._tokens=[]};if(e.type===r.eof){this._curlyBrace&&n.push(this.translate(this._curlyBrace,t));return}if(e.type===r.backQuote){this._curlyBrace&&(n.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),i.push(e),i.length>1&&s();return}if(e.type===r.dollarBraceL){i.push(e),s();return}if(e.type===r.braceR){this._curlyBrace&&n.push(this.translate(this._curlyBrace,t)),this._curlyBrace=e;return}if(e.type===r.template||e.type===r.invalidTemplate){this._curlyBrace&&(i.push(this._curlyBrace),this._curlyBrace=null),i.push(e);return}this._curlyBrace&&(n.push(this.translate(this._curlyBrace,t)),this._curlyBrace=null),n.push(this.translate(e,t))}};var otn=[3,5,6,7,8,9,10,11,12,13,14,15,16,17];function GAs(){return otn.at(-1)}function HSl(){return[...otn]}function zSl(e=5){let t=e==="latest"?GAs():e;if(typeof t!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e} instead.`);if(t>=2015&&(t-=2009),!otn.includes(t))throw new Error("Invalid ecmaVersion.");return t}function WSl(e="script"){if(e==="script"||e==="module")return e;if(e==="commonjs")return"script";throw new Error("Invalid sourceType.")}function XSl(e){let t=zSl(e.ecmaVersion),r=WSl(e.sourceType),n=e.range===!0,i=e.loc===!0;if(t!==3&&e.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof e.allowReserved<"u"&&typeof e.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let s=t===3?e.allowReserved||"never":!1,a=e.ecmaFeatures||{},u=e.sourceType==="commonjs"||!!a.globalReturn;if(r==="module"&&t<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},e,{ecmaVersion:t,sourceType:r,ranges:n,locations:i,allowReserved:s,allowReturnOutsideFunction:u})}var T7e=Symbol("espree's internal state"),itn=Symbol("espree's esprimaFinishNode");function ZSl(e,t,r,n,i,s,a){let u;e?u="Block":a.slice(r,r+2)==="#!"?u="Hashbang":u="Line";let l={type:u,value:t};return typeof r=="number"&&(l.start=r,l.end=n,l.range=[r,n]),typeof i=="object"&&(l.loc={start:i,end:s}),l}var qAs=()=>e=>{let t=Object.assign({},e.acorn.tokTypes);return e.acornJsx&&Object.assign(t,e.acornJsx.tokTypes),class extends e{constructor(n,i){(typeof n!="object"||n===null)&&(n={}),typeof i!="string"&&!(i instanceof String)&&(i=String(i));let s=n.sourceType,a=XSl(n),u=a.ecmaFeatures||{},l=a.tokens===!0?new stn(t,i):null,f={originalSourceType:s||a.sourceType,tokens:l?[]:null,comments:a.comment===!0?[]:null,impliedStrict:u.impliedStrict===!0&&a.ecmaVersion>=5,ecmaVersion:a.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:a.ecmaVersion,sourceType:a.sourceType,ranges:a.ranges,locations:a.locations,allowReserved:a.allowReserved,allowReturnOutsideFunction:a.allowReturnOutsideFunction,onToken(p){l&&l.onToken(p,f),p.type!==t.eof&&(f.lastToken=p)},onComment(p,g,A,h,_,E){if(f.comments){let b=ZSl(p,g,A,h,_,E,i);f.comments.push(b)}}},i),this[T7e]=f}tokenize(){do this.next();while(this.type!==t.eof);this.next();let n=this[T7e],i=n.tokens;return n.comments&&(i.comments=n.comments),i}finishNode(...n){let i=super.finishNode(...n);return this[itn](i)}finishNodeAt(...n){let i=super.finishNodeAt(...n);return this[itn](i)}parse(){let n=this[T7e],i=super.parse();if(i.sourceType=n.originalSourceType,n.comments&&(i.comments=n.comments),n.tokens&&(i.tokens=n.tokens),i.body.length){let[s]=i.body;i.range&&(i.range[0]=s.range[0]),i.loc&&(i.loc.start=s.loc.start),i.start=s.start}return n.lastToken&&(i.range&&(i.range[1]=n.lastToken.range[1]),i.loc&&(i.loc.end=n.lastToken.loc.end),i.end=n.lastToken.end),this[T7e].templateElements.forEach(s=>{let u=s.tail?1:2;s.start+=-1,s.end+=u,s.range&&(s.range[0]+=-1,s.range[1]+=u),s.loc&&(s.loc.start.column+=-1,s.loc.end.column+=u)}),i}parseTopLevel(n){return this[T7e].impliedStrict&&(this.strict=!0),super.parseTopLevel(n)}raise(n,i){let s=e.acorn.getLineInfo(this.input,n),a=new SyntaxError(i);throw a.index=n,a.lineNumber=s.line,a.column=s.column+1,a}raiseRecoverable(n,i){this.raise(n,i)}unexpected(n){let i="Unexpected token";if(n!=null){if(this.pos=n,this.options.locations)for(;this.posthis.start&&(i+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,i)}jsx_readString(n){let i=super.jsx_readString(n);return this.type===t.string&&(this[T7e].jsxAttrValueToken=!0),i}[itn](n){return n.type==="TemplateElement"&&this[T7e].templateElements.push(n),n.type.includes("Function")&&!n.generator&&(n.generator=!1),n}}},eTl="10.4.0",VAs={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=UAs.Parser.extend(qAs())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=UAs.Parser.extend($Sl.default(),qAs())),this._jsx},get(e){return!!(e&&e.ecmaFeatures&&e.ecmaFeatures.jsx)?this.jsx:this.regular}};function tTl(e,t){let r=VAs.get(t);return(!t||t.tokens!==!0)&&(t=Object.assign({},t,{tokens:!0})),new r(t,e).tokenize()}function rTl(e,t){let r=VAs.get(t);return new r(t,e).parse()}var nTl=eTl,iTl="espree",atn=(function(){return KSl.KEYS})(),sTl=(function(){let e,t={};typeof Object.create=="function"&&(t=Object.create(null));for(e in atn)Object.hasOwn(atn,e)&&(t[e]=e);return typeof Object.freeze=="function"&&Object.freeze(t),t})(),aTl=GAs(),oTl=HSl();jfe.Syntax=sTl;jfe.VisitorKeys=atn;jfe.latestEcmaVersion=aTl;jfe.name=iTl;jfe.parse=rTl;jfe.supportedEcmaVersions=oTl;jfe.tokenize=tTl;jfe.version=nTl});var hGe=j((bhA,$As)=>{"use strict";$As.exports=e=>{if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}});var bft=j((IhA,JAs)=>{"use strict";var uTl=/^(?:(?:Do)?While|For(?:In|Of)?|Switch)Statement$/u,KAs=/\r\n|[\r\n\u2028\u2029]/u,lTl=/^#!([^\r\n]+)/u;function cTl(){return new RegExp(KAs.source,"gu")}JAs.exports={breakableTypePattern:uTl,lineBreakPattern:KAs,createGlobalLinebreakMatcher:cTl,shebangPattern:lTl}});var utn=j((ShA,uhs)=>{"use strict";var fTl={exports:!0,global:!1,module:!1,require:!1},HAs={Array:!1,Boolean:!1,constructor:!1,Date:!1,decodeURI:!1,decodeURIComponent:!1,encodeURI:!1,encodeURIComponent:!1,Error:!1,escape:!1,eval:!1,EvalError:!1,Function:!1,hasOwnProperty:!1,Infinity:!1,isFinite:!1,isNaN:!1,isPrototypeOf:!1,Math:!1,NaN:!1,Number:!1,Object:!1,parseFloat:!1,parseInt:!1,propertyIsEnumerable:!1,RangeError:!1,ReferenceError:!1,RegExp:!1,String:!1,SyntaxError:!1,toLocaleString:!1,toString:!1,TypeError:!1,undefined:!1,unescape:!1,URIError:!1,valueOf:!1},zAs={...HAs,JSON:!1},WAs={...zAs,ArrayBuffer:!1,DataView:!1,Float32Array:!1,Float64Array:!1,Int16Array:!1,Int32Array:!1,Int8Array:!1,Intl:!1,Map:!1,Promise:!1,Proxy:!1,Reflect:!1,Set:!1,Symbol:!1,Uint16Array:!1,Uint32Array:!1,Uint8Array:!1,Uint8ClampedArray:!1,WeakMap:!1,WeakSet:!1},XAs={...WAs},ZAs={...XAs,Atomics:!1,SharedArrayBuffer:!1},ehs={...ZAs},ths={...ehs},rhs={...ths,BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},nhs={...rhs,AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1},ihs={...nhs},shs={...ihs},ahs={...shs},ohs={...ahs,Float16Array:!1,Iterator:!1},pTl={...ohs,AsyncDisposableStack:!1,DisposableStack:!1,SuppressedError:!1};uhs.exports={commonjs:fTl,es3:HAs,es5:zAs,es2015:WAs,es2016:XAs,es2017:ZAs,es2018:ehs,es2019:ths,es2020:rhs,es2021:nhs,es2022:ihs,es2023:shs,es2024:ahs,es2025:ohs,es2026:pTl}});var r$t=j((ThA,lhs)=>{"use strict";lhs.exports={LATEST_ECMA_VERSION:2026}});var ao=j((DhA,HX)=>{"use strict";var{KEYS:dTl}=gGe(),mTl=xft(),ltn=AGe(),gTl=hGe(),{breakableTypePattern:ATl,createGlobalLinebreakMatcher:hTl,lineBreakPattern:yTl,shebangPattern:_Tl}=bft(),ETl=utn(),{LATEST_ECMA_VERSION:xTl}=r$t(),bhs=/^(?:Function(?:Declaration|Expression)|ArrowFunctionExpression)$/u,vTl=/^(?:DoWhile|For|ForIn|ForOf|While)Statement$/u,CTl=/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|some)$/u,bTl=/Array$/u,ITl=/^(?:bind|call|apply)$/u,chs=/^[\s*]*@this/mu,STl=/^\s*(?:eslint|jshint\s+|jslint\s+|istanbul\s+|globals?\s+|exported\s+|jscs)/u,TTl=/^(?:eslint[- ]|(?:globals?|exported) )/u,DTl=new Set([`\r `,"\r",` `,"\u2028","\u2029"]),wTl=new Set(["Program","BlockStatement","StaticBlock","SwitchCase"]),BTl=new Set(["let","const","using","await using"]),fhs=/^(?:0|0[0-7]*[89]\d*|[1-9](?:_?\d)*)$/u,kTl=/^(?:[^\\]|\\.)*\\(?:[1-9]|0\d)/su,PTl=new Set(["&&=","||=","??="]),NTl=ETl[`es${xTl}`];function OTl(e,t,r){let n=e.identifier,i=t===0||r[t-1].identifier!==n;return n&&e.init===!1&&e.isWrite()&&i}function ftn(e){return e[0]!==e[0].toLocaleLowerCase()}function phs(e){return e.id&&ftn(e.id.name)}function dhs(e){for(let t=e;t;t=t.parent)if(bhs.test(t.type))return t;return null}function i$t(e){return!!(e&&bhs.test(e.type))}function Ihs(e){return!!(e&&vTl.test(e.type))}function RTl(e){for(let t=e;t&&!i$t(t);t=t.parent)if(Ihs(t))return!0;return!1}function ytn(e){return e.type==="Literal"&&e.value===null&&!e.regex&&!e.bigint}function Ift(e){return ytn(e)||e.type==="Identifier"&&e.name==="undefined"||e.type==="UnaryExpression"&&e.operator==="void"}function n$t(e){return e.parent.type==="CallExpression"&&e.parent.callee===e}function Shs(e){switch(e.type){case"Literal":if(e.value===null){if(ytn(e))return String(e.value);if(e.regex)return`/${e.regex.pattern}/${e.regex.flags}`;if(e.bigint)return e.bigint}else return String(e.value);break;case"TemplateLiteral":if(e.expressions.length===0&&e.quasis.length===1)return e.quasis[0].value.cooked;break}return null}function w7e(e){let t;switch(e&&e.type){case"ChainExpression":return w7e(e.expression);case"Property":case"PropertyDefinition":case"MethodDefinition":case"TSPropertySignature":case"TSMethodSignature":t=e.key;break;case"MemberExpression":t=e.property;break}return t?t.type==="Identifier"&&!e.computed?t.name:Shs(t):null}function Ths(e){return e&&e.type==="ChainExpression"?e.expression:e}function Dhs(e,t){return typeof t=="string"?e===t:t.test(e)}function whs(e,t){return e.type==="Identifier"&&Dhs(e.name,t)}function Tft(e,t,r){let n=Ths(e);if(n.type!=="MemberExpression"||t&&!whs(n.object,t))return!1;if(r){let i=w7e(n);if(typeof i!="string"||!Dhs(i,r))return!1}return!0}function Bhs(e,t){return e.regex||t.regex?!!(e.regex&&t.regex&&e.regex.pattern===t.regex.pattern&&e.regex.flags===t.regex.flags):e.bigint||t.bigint?e.bigint===t.bigint:e.value===t.value}function D7e(e,t,r=!1){if(e.type!==t.type)return e.type==="ChainExpression"?D7e(e.expression,t,r):t.type==="ChainExpression"?D7e(e,t.expression,r):!1;switch(e.type){case"Super":case"ThisExpression":return!0;case"Identifier":case"PrivateIdentifier":return e.name===t.name;case"Literal":return Bhs(e,t);case"ChainExpression":return D7e(e.expression,t.expression,r);case"MemberExpression":{if(!r){let n=w7e(e);if(n!==null)return D7e(e.object,t.object,r)&&n===w7e(t)}return e.computed===t.computed&&D7e(e.object,t.object,r)&&D7e(e.property,t.property,r)}default:return!1}}function FTl(e){return Tft(e,"Reflect","apply")}function mhs(e){return Tft(e,bTl,"from")}function LTl(e){return Tft(e,null,CTl)}function lse(e){return t=>!e(t)}function MTl(e,t){let r=t.getJSDocComment(e);return r&&chs.test(r.value)?!0:t.getCommentsBefore(e).some(n=>chs.test(n.value))}function QTl(e,t){let r=e.getTokenBefore(t),n=e.getTokenAfter(t);return!!(r&&n)&&r.value==="("&&r.range[1]<=t.range[0]&&n.value===")"&&n.range[0]>=t.range[1]}function jTl(e){return e.value==="="&&e.type==="Punctuator"}function ghs(e){return e.value==="=>"&&e.type==="Punctuator"}function Ahs(e){return e.value===","&&e.type==="Punctuator"}function hhs(e){return e.value==="."&&e.type==="Punctuator"}function yhs(e){return e.value==="?."&&e.type==="Punctuator"}function _hs(e){return e.value===";"&&e.type==="Punctuator"}function ptn(e){return e.value===":"&&e.type==="Punctuator"}function Sft(e){return e.value==="("&&e.type==="Punctuator"}function dtn(e){return e.value===")"&&e.type==="Punctuator"}function Ehs(e){return e.value==="["&&e.type==="Punctuator"}function xhs(e){return e.value==="]"&&e.type==="Punctuator"}function vhs(e){return e.value==="{"&&e.type==="Punctuator"}function mtn(e){return e.value==="}"&&e.type==="Punctuator"}function UTl(e){return e.type==="Line"||e.type==="Block"||e.type==="Shebang"}function qTl(e){return e.type==="Keyword"}function ctn(e,t){if(e.type==="ArrowFunctionExpression"&&e.params.length===1){let r=t.getFirstToken(e.params[0]),n=t.getTokenBefore(r);return Sft(n)?n:r}return e.id?t.getTokenAfter(e.id,Sft):t.getFirstToken(e,Sft)}function YTl(e,t,r){let n=r.getTokens(e),i=r.getTokens(t);if(n.length!==i.length)return!1;for(let s=0;sn.identifier===t);return!!(r&&r.resolved&&r.resolved.scope.type==="global"&&r.resolved.defs.length===0)}function vK(e,t,r){if(!t)return!0;switch(t.type){case"Literal":case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"ClassExpression":case"ObjectExpression":return!0;case"TemplateLiteral":return r&&t.quasis.some(n=>n.value.cooked.length)||t.expressions.every(n=>vK(e,n,!1));case"ArrayExpression":return r?!0:t.elements.every(n=>vK(e,n,!1));case"UnaryExpression":return t.operator==="void"||t.operator==="typeof"&&r?!0:t.operator==="!"?vK(e,t.argument,!0):vK(e,t.argument,!1);case"BinaryExpression":return vK(e,t.left,!1)&&vK(e,t.right,!1)&&t.operator!=="in";case"LogicalExpression":{let n=vK(e,t.left,r),i=vK(e,t.right,r),s=n&&yGe(t.left,t.operator),a=r&&i&&yGe(t.right,t.operator);return n&&i||s||a}case"NewExpression":return r;case"AssignmentExpression":return t.operator==="="?vK(e,t.right,r):["||=","&&="].includes(t.operator)&&r?yGe(t.right,t.operator.slice(0,-1)):!1;case"SequenceExpression":return vK(e,t.expressions.at(-1),r);case"SpreadElement":return vK(e,t.argument,r);case"CallExpression":return t.callee.type==="Identifier"&&t.callee.name==="Boolean"&&(t.arguments.length===0||vK(e,t.arguments[0],!0))?htn(e,t.callee):!1;case"Identifier":return t.name==="undefined"&&htn(e,t)}return!1}function JTl(e){if(e.type!=="ExpressionStatement")return!1;let t=e.parent;return t.type==="Program"||t.type==="TSModuleBlock"||t.type==="BlockStatement"&&i$t(t.parent)}function HTl(e){return e.type==="ExpressionStatement"&&typeof e.directive=="string"}function zTl(e){let t=e.range[0],r=e;for(;(r=r.parent)&&r.range[0]===t;)if(r.type==="ExpressionStatement")return!0;return!1}var khs;{let u=function(l){for(let f=l;;){let{parent:p}=f;if(!p)break;if(a.has(p.type)&&f===p.typeAnnotation)return!0;f=p}return!1},e=new Set(["BreakStatement","ContinueStatement"]),t=new Set(["ExportAllDeclaration","ExportNamedDeclaration","ImportDeclaration"]),r=new Set(["Identifier","Keyword"]),n={__proto__:null,break:"BreakStatement",continue:"ContinueStatement",debugger:"DebuggerStatement",do:"DoWhileStatement",else:"IfStatement",return:"ReturnStatement",yield:"YieldExpression"},i=new Set([":",";","{","=>","++","--"]),s=new Set(["DoWhileStatement","ForInStatement","ForOfStatement","ForStatement","IfStatement","WhileStatement","WithStatement"]),a=new Set(["TSAsExpression","TSSatisfiesExpression","TSTypeAliasDeclaration","TSTypeAnnotation"]);khs=function(l,f){let p=l.getTokenBefore(f);if(!p||p.type==="Punctuator"&&i.has(p.value))return!1;let g=l.getNodeByRangeIndex(p.range[0]);if(g.type==="TSDeclareFunction"||g.parent.type==="TSImportEqualsDeclaration"||g.parent.parent?.type==="TSImportEqualsDeclaration"||a.has(g.type)||u(g))return!1;if(dtn(p))return!s.has(g.type);if(mtn(p))return g.type==="BlockStatement"&&g.parent.type==="FunctionExpression"&&g.parent.parent.type!=="MethodDefinition"||g.type==="ClassBody"&&g.parent.type==="ClassExpression"||g.type==="ObjectExpression";if(r.has(p.type)){if(g.parent.type==="VariableDeclarator"&&!g.parent.init||e.has(g.parent.type))return!1;let A=p.value,h=n[A];return g.type!==h}return p.type==="String"?!t.has(g.parent.type):!0}}function Phs(e){let{parent:t}=e;if(t.type==="ImportAttribute"&&t.key===e)return!0;if(t.type==="Property"&&!t.computed&&(t.key===e||t.value===e&&t.shorthand&&!t.method)&&t.parent.type==="ObjectExpression"){let r=t.parent,n=r.parent;if(n.type==="ImportExpression"&&n.options===r)return!0;if(n.type==="Property"&&n.value===r)return Phs(n.key)}return!1}HX.exports={COMMENTS_IGNORE_PATTERN:STl,LINEBREAKS:DTl,LINEBREAK_MATCHER:yTl,SHEBANG_MATCHER:_Tl,STATEMENT_LIST_PARENTS:wTl,ECMASCRIPT_GLOBALS:NTl,isTokenOnSameLine(e,t){return e.loc.end.line===t.loc.start.line},isNullOrUndefined:Ift,isCallee:n$t,isES5Constructor:phs,getUpperFunction:dhs,isFunction:i$t,isLoop:Ihs,isInLoop:RTl,isArrayFromMethod:mhs,isParenthesised:QTl,createGlobalLinebreakMatcher:hTl,equalTokens:YTl,isArrowToken:ghs,isClosingBraceToken:mtn,isClosingBracketToken:xhs,isClosingParenToken:dtn,isColonToken:ptn,isCommaToken:Ahs,isCommentToken:UTl,isDotToken:hhs,isQuestionDotToken:yhs,isKeywordToken:qTl,isNotClosingBraceToken:lse(mtn),isNotClosingBracketToken:lse(xhs),isNotClosingParenToken:lse(dtn),isNotColonToken:lse(ptn),isNotCommaToken:lse(Ahs),isNotDotToken:lse(hhs),isNotQuestionDotToken:lse(yhs),isNotOpeningBraceToken:lse(vhs),isNotOpeningBracketToken:lse(Ehs),isNotOpeningParenToken:lse(Sft),isNotSemicolonToken:lse(_hs),isOpeningBraceToken:vhs,isOpeningBracketToken:Ehs,isOpeningParenToken:Sft,isSemicolonToken:_hs,isEqToken:jTl,isStringLiteral(e){return e.type==="Literal"&&typeof e.value=="string"||e.type==="TemplateLiteral"},isBreakableStatement(e){return ATl.test(e.type)},getModifyingReferences(e){return e.filter(OTl)},isSurroundedBy(e,t){return e[0]===t&&e.at(-1)===t},isDirectiveComment(e){let t=e.value.trim();return e.type==="Line"&&t.startsWith("eslint-")||e.type==="Block"&&TTl.test(t)},getTrailingStatement:mTl.ast.trailingStatement,getVariableByName(e,t){let r=e;for(;r;){let n=r.set.get(t);if(n)return n;r=r.upper}return null},isDefaultThisBinding(e,t,{capIsConstructor:r=!0}={}){if(e.parent.type==="PropertyDefinition"&&e.parent.value===e||e.type==="StaticBlock"||(e.type==="FunctionDeclaration"||e.type==="FunctionExpression")&&e.params.some(s=>s.type==="Identifier"&&s.name==="this")||r&&phs(e)||MTl(e,t))return!1;let n=e.id===null,i=e;for(;i;){let s=i.parent;switch(s.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":i=s;break;case"ReturnStatement":{let a=dhs(s);if(a===null||!n$t(a))return!0;i=a.parent;break}case"ArrowFunctionExpression":if(i!==s.body||!n$t(s))return!0;i=s.parent;break;case"Property":case"PropertyDefinition":case"MethodDefinition":return s.value!==i;case"AssignmentExpression":case"AssignmentPattern":return!(s.left.type==="MemberExpression"||r&&n&&s.left.type==="Identifier"&&ftn(s.left.name));case"VariableDeclarator":return!(r&&n&&s.init===i&&s.id.type==="Identifier"&&ftn(s.id.name));case"MemberExpression":if(s.object===i&&Tft(s,null,ITl)){let a=s.parent.type==="ChainExpression"?s.parent:s;return!(n$t(a)&&a.parent.arguments.length>=1&&!Ift(a.parent.arguments[0]))}return!0;case"CallExpression":return FTl(s.callee)?s.arguments.length!==3||s.arguments[0]!==i||Ift(s.arguments[1]):mhs(s.callee)?s.arguments.length!==3||s.arguments[1]!==i||Ift(s.arguments[2]):LTl(s.callee)?s.arguments.length!==2||s.arguments[0]!==i||Ift(s.arguments[1]):!0;default:return!0}}return!0},getPrecedence(e){switch(e.type){case"SequenceExpression":return 0;case"AssignmentExpression":case"ArrowFunctionExpression":case"YieldExpression":return 1;case"ConditionalExpression":return 3;case"LogicalExpression":switch(e.operator){case"||":case"??":return 4;case"&&":return 5}case"BinaryExpression":switch(e.operator){case"|":return 6;case"^":return 7;case"&":return 8;case"==":case"!=":case"===":case"!==":return 9;case"<":case"<=":case">":case">=":case"in":case"instanceof":return 10;case"<<":case">>":case">>>":return 11;case"+":case"-":return 12;case"*":case"/":case"%":return 13;case"**":return 15}case"UnaryExpression":case"AwaitExpression":return 16;case"UpdateExpression":return 17;case"CallExpression":case"ChainExpression":case"ImportExpression":return 18;case"NewExpression":return 19;default:return e.type in dTl?20:-1}},isEmptyBlock(e){return!!(e&&e.type==="BlockStatement"&&e.body.length===0)},isEmptyFunction(e){return i$t(e)&&HX.exports.isEmptyBlock(e.body)},getDirectivePrologue(e){let t=[];if(e.type==="Program"||e.type==="FunctionDeclaration"||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"){let r=e.type==="Program"?e.body:e.body.body;for(let n of r)if(n.type==="ExpressionStatement"&&n.expression.type==="Literal")t.push(n);else break}return t},isDecimalInteger(e){return e.type==="Literal"&&typeof e.value=="number"&&fhs.test(e.raw)},isDecimalIntegerNumericToken(e){return e.type==="Numeric"&&fhs.test(e.value)},getFunctionNameWithKind(e){let t=e.parent,r=[];if((t.type==="MethodDefinition"||t.type==="PropertyDefinition"||e.type==="TSPropertySignature"||e.type==="TSMethodSignature")&&(t.static&&r.push("static"),!t.computed&&t.key?.type==="PrivateIdentifier"&&r.push("private")),e.async&&r.push("async"),e.generator&&r.push("generator"),t.type==="Property"||t.type==="MethodDefinition"){if(t.kind==="constructor")return"constructor";t.kind==="get"?r.push("getter"):t.kind==="set"?r.push("setter"):r.push("method")}else e.type==="TSMethodSignature"?e.kind==="get"?r.push("getter"):e.kind==="set"?r.push("setter"):r.push("method"):t.type==="PropertyDefinition"?r.push("method"):(e.type==="ArrowFunctionExpression"&&r.push("arrow"),r.push("function"));if(t.type==="Property"||t.type==="MethodDefinition"||t.type==="PropertyDefinition")if(!t.computed&&t.key.type==="PrivateIdentifier")r.push(`#${t.key.name}`);else{let n=w7e(t);n!==null?r.push(`'${n}'`):e.id&&r.push(`'${e.id.name}'`)}else e.type==="TSMethodSignature"?r.push(`'${w7e(e)}'`):e.id&&r.push(`'${e.id.name}'`);return r.join(" ")},getFunctionHeadLoc(e,t){let r=e.parent,n,i;if(r.type==="Property"||r.type==="MethodDefinition"||r.type==="PropertyDefinition"||r.type==="TSPropertySignature"||r.type==="TSMethodSignature")n=r.loc.start,i=ctn(e,t).loc.start;else if(e.type==="ArrowFunctionExpression"){let s=t.getTokenBefore(e.body,ghs);n=s.loc.start,i=s.loc.end}else n=e.loc.start,i=ctn(e,t).loc.start;return{start:Object.assign({},n),end:Object.assign({},i)}},getNextLocation(e,{line:t,column:r}){return rn.range[0])&&(n=u)}}else n=e;if(n.type==="Shebang"||n.type==="Hashbang")return!1;let i;if(typeof t=="string"){let s;try{s=ltn.tokenize(t,r)}catch{return!1}let a=s.comments;if(i=s[0],a.length){let u=a[0];(!i||u.range[0]{"use strict";var FSe=ao();function WTl(e,t){if(e.length!==t.length)return!1;for(let r=0;rb.type==="Property"))}function p(E){let b=new Set(E.properties.filter(M=>M.type==="Property"&&M.kind==="init"&&!M.computed).map(({key:M})=>M.name)),D=b.has("get"),k=b.has("set");r&&k&&!D&&a(E,"missingGetter"),t&&D&&!k&&a(E,"missingSetter")}function g(E){f(E),eDl(E)&&p(E)}function A(E){let b=E.body.filter(D=>D.type==="MethodDefinition");l(b.filter(D=>D.static)),l(b.filter(D=>!D.static))}function h(E){let D=(E.type==="TSTypeLiteral"?E.members:E.body).filter(k=>k.type==="TSMethodSignature");l(D)}let _={};return(r||t)&&(_.ObjectExpression=g,n&&(_.ClassBody=A),i&&(_["TSTypeLiteral, TSInterfaceBody"]=h)),_}}});var Fhs=j((BhA,Rhs)=>{"use strict";var _Ge=ao();Rhs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"array-bracket-newline",url:"https://eslint.style/rules/array-bracket-newline"}}]},type:"layout",docs:{description:"Enforce linebreaks after opening and before closing array brackets",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-bracket-newline"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never","consistent"]},{type:"object",properties:{multiline:{type:"boolean"},minItems:{type:["integer","null"],minimum:0}},additionalProperties:!1}]}],messages:{unexpectedOpeningLinebreak:"There should be no linebreak after '['.",unexpectedClosingLinebreak:"There should be no linebreak before ']'.",missingOpeningLinebreak:"A linebreak is required after '['.",missingClosingLinebreak:"A linebreak is required before ']'."}},create(e){let t=e.sourceCode;function r(f){let p=!1,g=!1,A;return f?f==="consistent"?(p=!0,A=Number.POSITIVE_INFINITY):f==="always"||f.minItems===0?A=0:f==="never"?A=Number.POSITIVE_INFINITY:(g=!!f.multiline,A=f.minItems||Number.POSITIVE_INFINITY):(p=!1,g=!0,A=Number.POSITIVE_INFINITY),{consistent:p,multiline:g,minItems:A}}function n(f){let p=r(f);return{ArrayExpression:p,ArrayPattern:p}}function i(f,p){e.report({node:f,loc:p.loc,messageId:"unexpectedOpeningLinebreak",fix(g){let A=t.getTokenAfter(p,{includeComments:!0});return _Ge.isCommentToken(A)?null:g.removeRange([p.range[1],A.range[0]])}})}function s(f,p){e.report({node:f,loc:p.loc,messageId:"unexpectedClosingLinebreak",fix(g){let A=t.getTokenBefore(p,{includeComments:!0});return _Ge.isCommentToken(A)?null:g.removeRange([A.range[1],p.range[0]])}})}function a(f,p){e.report({node:f,loc:p.loc,messageId:"missingOpeningLinebreak",fix(g){return g.insertTextAfter(p,` `)}})}function u(f,p){e.report({node:f,loc:p.loc,messageId:"missingClosingLinebreak",fix(g){return g.insertTextBefore(p,` `)}})}function l(f){let p=f.elements,A=n(e.options[0])[f.type],h=t.getFirstToken(f),_=t.getLastToken(f),E=t.getTokenAfter(h,{includeComments:!0}),b=t.getTokenBefore(_,{includeComments:!0}),D=t.getTokenAfter(h),k=t.getTokenBefore(_);p.length>=A.minItems||A.multiline&&p.length>0&&E.loc.start.line!==b.loc.end.line||p.length===0&&E.type==="Block"&&E.loc.start.line!==b.loc.end.line&&E===b||A.consistent&&h.loc.end.line!==D.loc.start.line?(_Ge.isTokenOnSameLine(h,D)&&a(f,h),_Ge.isTokenOnSameLine(k,_)&&u(f,_)):(_Ge.isTokenOnSameLine(h,D)||i(f,h),_Ge.isTokenOnSameLine(k,_)||s(f,_))}return{ArrayPattern:l,ArrayExpression:l}}}});var Qhs=j((khA,Mhs)=>{"use strict";var Lhs=ao();Mhs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"array-bracket-spacing",url:"https://eslint.style/rules/array-bracket-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside array brackets",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-bracket-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{singleValue:{type:"boolean"},objectsInArrays:{type:"boolean"},arraysInArrays:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedSpaceAfter:"There should be no space after '{{tokenValue}}'.",unexpectedSpaceBefore:"There should be no space before '{{tokenValue}}'.",missingSpaceAfter:"A space is required after '{{tokenValue}}'.",missingSpaceBefore:"A space is required before '{{tokenValue}}'."}},create(e){let t=e.options[0]==="always",r=e.sourceCode;function n(A){return e.options[1]?e.options[1][A]===!t:!1}let i={spaced:t,singleElementException:n("singleValue"),objectsInArraysException:n("objectsInArrays"),arraysInArraysException:n("arraysInArrays")};function s(A,h){let _=r.getTokenAfter(h);e.report({node:A,loc:{start:h.loc.end,end:_.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:h.value},fix(E){return E.removeRange([h.range[1],_.range[0]])}})}function a(A,h){let _=r.getTokenBefore(h);e.report({node:A,loc:{start:_.loc.end,end:h.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:h.value},fix(E){return E.removeRange([_.range[1],h.range[0]])}})}function u(A,h){e.report({node:A,loc:h.loc,messageId:"missingSpaceAfter",data:{tokenValue:h.value},fix(_){return _.insertTextAfter(h," ")}})}function l(A,h){e.report({node:A,loc:h.loc,messageId:"missingSpaceBefore",data:{tokenValue:h.value},fix(_){return _.insertTextBefore(h," ")}})}function f(A){return A&&(A.type==="ObjectExpression"||A.type==="ObjectPattern")}function p(A){return A&&(A.type==="ArrayExpression"||A.type==="ArrayPattern")}function g(A){if(i.spaced&&A.elements.length===0)return;let h=r.getFirstToken(A),_=r.getFirstToken(A,1),E=A.typeAnnotation?r.getTokenBefore(A.typeAnnotation):r.getLastToken(A),b=r.getTokenBefore(E),D=A.elements[0],k=A.elements.at(-1),M=i.objectsInArraysException&&f(D)||i.arraysInArraysException&&p(D)||i.singleElementException&&A.elements.length===1?!i.spaced:i.spaced,R=i.objectsInArraysException&&f(k)||i.arraysInArraysException&&p(k)||i.singleElementException&&A.elements.length===1?!i.spaced:i.spaced;Lhs.isTokenOnSameLine(h,_)&&(M&&!r.isSpaceBetweenTokens(h,_)&&u(A,h),!M&&r.isSpaceBetweenTokens(h,_)&&s(A,h)),h!==b&&Lhs.isTokenOnSameLine(b,E)&&(R&&!r.isSpaceBetweenTokens(b,E)&&l(A,E),!R&&r.isSpaceBetweenTokens(b,E)&&a(A,E))}return{ArrayPattern:g,ArrayExpression:g}}}});var Vhs=j((PhA,Ghs)=>{"use strict";var CK=ao(),tDl=/^(?:Arrow)?FunctionExpression$/u,rDl=/^(?:every|filter|find(?:Last)?(?:Index)?|flatMap|forEach|map|reduce(?:Right)?|some|sort|toSorted)$/u;function nDl(e){return CK.isSpecificMemberAccess(e,null,rDl)}function iDl(e){for(let t of e)if(t.reachable)return!0;return!1}function jhs(e){return["from","of","isArray"].includes(e)?"Array.".concat(e):"Array.prototype.".concat(e)}function sDl(e){let t=e;for(;t;){let r=t.parent;switch(r.type){case"LogicalExpression":case"ConditionalExpression":case"ChainExpression":t=r;break;case"ReturnStatement":{let n=CK.getUpperFunction(r);if(n===null||!CK.isCallee(n))return null;t=n.parent;break}case"CallExpression":return CK.isArrayFromMethod(r.callee)&&r.arguments.length>=2&&r.arguments[1]===t?"from":nDl(r.callee)&&r.arguments.length>=1&&r.arguments[0]===t?CK.getStaticPropertyName(r.callee):null;default:return null}}return null}function Uhs(e){return e.type==="UnaryExpression"&&e.operator==="void"}function qhs(e,t,r){let n=CK.getPrecedence(t)u.type==="Keyword"&&u.value==="return"),s=e.getTokenAfter(i),a=i.value==="return"&&i.range[1]===s.range[0];return[r.insertTextBefore(s,`${a?" ":""}void ${n?"(":""}`),r.insertTextAfter(t,n?")":"")]}function Yhs(e,t,r){let n=e.getTokenBefore(t.body,CK.isArrowToken),i=e.getTokenAfter(n),s=e.getLastToken(t);return[r.insertTextBefore(i,"{"),r.insertTextAfter(s,"}")]}Ghs.exports={meta:{type:"problem",defaultOptions:[{allowImplicit:!1,checkForEach:!1,allowVoid:!1}],docs:{description:"Enforce `return` statements in callbacks of array methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-callback-return"},hasSuggestions:!0,schema:[{type:"object",properties:{allowImplicit:{type:"boolean"},checkForEach:{type:"boolean"},allowVoid:{type:"boolean"}},additionalProperties:!1}],messages:{expectedAtEnd:"{{arrayMethodName}}() expects a value to be returned at the end of {{name}}.",expectedInside:"{{arrayMethodName}}() expects a return value from {{name}}.",expectedReturnValue:"{{arrayMethodName}}() expects a return value from {{name}}.",expectedNoReturnValue:"{{arrayMethodName}}() expects no useless return value from {{name}}.",wrapBraces:"Wrap the expression in `{}`.",prependVoid:"Prepend `void` to the expression."}},create(e){let[t]=e.options,r=e.sourceCode,n={arrayMethodName:null,upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null};function i(s){if(!n.shouldCheck)return;let a={messageId:"",suggest:[]};if(n.arrayMethodName==="forEach"){if(t.checkForEach&&s.type==="ArrowFunctionExpression"&&s.expression)if(t.allowVoid){if(Uhs(s.body))return;a.messageId="expectedNoReturnValue",a.suggest=[{messageId:"wrapBraces",fix(u){return Yhs(r,s,u)}},{messageId:"prependVoid",fix(u){return qhs(r,s.body,u)}}]}else a.messageId="expectedNoReturnValue",a.suggest=[{messageId:"wrapBraces",fix(u){return Yhs(r,s,u)}}]}else s.body.type==="BlockStatement"&&iDl(n.currentSegments)&&(a.messageId=n.hasReturn?"expectedAtEnd":"expectedInside");if(a.messageId){let u=CK.getFunctionNameWithKind(s);e.report({node:s,loc:CK.getFunctionHeadLoc(s,r),messageId:a.messageId,data:{name:u,arrayMethodName:jhs(n.arrayMethodName)},suggest:a.suggest.length!==0?a.suggest:null})}}return{onCodePathStart(s,a){let u=null;tDl.test(a.type)&&(u=sDl(a)),n={arrayMethodName:u,upper:n,codePath:s,hasReturn:!1,shouldCheck:u&&!a.async&&!a.generator,node:a,currentSegments:new Set}},onCodePathEnd(){n=n.upper},onUnreachableCodePathSegmentStart(s){n.currentSegments.add(s)},onUnreachableCodePathSegmentEnd(s){n.currentSegments.delete(s)},onCodePathSegmentStart(s){n.currentSegments.add(s)},onCodePathSegmentEnd(s){n.currentSegments.delete(s)},ReturnStatement(s){if(!n.shouldCheck)return;n.hasReturn=!0;let a={messageId:"",suggest:[]};if(n.arrayMethodName==="forEach"){if(t.checkForEach&&s.argument)if(t.allowVoid){if(Uhs(s.argument))return;a.messageId="expectedNoReturnValue",a.suggest=[{messageId:"prependVoid",fix(u){return qhs(r,s.argument,u)}}]}else a.messageId="expectedNoReturnValue"}else!t.allowImplicit&&!s.argument&&(a.messageId="expectedReturnValue");a.messageId&&e.report({node:s,messageId:a.messageId,data:{name:CK.getFunctionNameWithKind(n.node),arrayMethodName:jhs(n.arrayMethodName)},suggest:a.suggest.length!==0?a.suggest:null})},"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i}}}});var Khs=j((NhA,$hs)=>{"use strict";var LSe=ao();$hs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"array-element-newline",url:"https://eslint.style/rules/array-element-newline"}}]},type:"layout",docs:{description:"Enforce line breaks after each array element",recommended:!1,url:"https://eslint.org/docs/latest/rules/array-element-newline"},fixable:"whitespace",schema:{definitions:{basicConfig:{oneOf:[{enum:["always","never","consistent"]},{type:"object",properties:{multiline:{type:"boolean"},minItems:{type:["integer","null"],minimum:0}},additionalProperties:!1}]}},type:"array",items:[{oneOf:[{$ref:"#/definitions/basicConfig"},{type:"object",properties:{ArrayExpression:{$ref:"#/definitions/basicConfig"},ArrayPattern:{$ref:"#/definitions/basicConfig"}},additionalProperties:!1,minProperties:1}]}]},messages:{unexpectedLineBreak:"There should be no linebreak here.",missingLineBreak:"There should be a linebreak after this element."}},create(e){let t=e.sourceCode;function r(u){let l=!1,f=!1,p,g=u||"always";return!g||g==="always"||g.minItems===0?p=0:g==="never"?p=Number.POSITIVE_INFINITY:g==="consistent"?(l=!0,p=Number.POSITIVE_INFINITY):(f=!!g.multiline,p=g.minItems||Number.POSITIVE_INFINITY),{consistent:l,multiline:f,minItems:p}}function n(u){if(u&&(u.ArrayExpression||u.ArrayPattern)){let f,p;return u.ArrayExpression&&(f=r(u.ArrayExpression)),u.ArrayPattern&&(p=r(u.ArrayPattern)),{ArrayExpression:f,ArrayPattern:p}}let l=r(u);return{ArrayExpression:l,ArrayPattern:l}}function i(u){let l=t.getTokenBefore(u,{includeComments:!0});e.report({loc:{start:l.loc.end,end:u.loc.start},messageId:"unexpectedLineBreak",fix(f){if(LSe.isCommentToken(l))return null;if(!LSe.isTokenOnSameLine(l,u))return f.replaceTextRange([l.range[1],u.range[0]]," ");let p=t.getTokenBefore(l,{includeComments:!0});return LSe.isCommentToken(p)?null:f.replaceTextRange([p.range[1],l.range[0]],"")}})}function s(u){let l=t.getTokenBefore(u,{includeComments:!0});e.report({loc:{start:l.loc.end,end:u.loc.start},messageId:"missingLineBreak",fix(f){return f.replaceTextRange([l.range[1],u.range[0]],` `)}})}function a(u){let l=u.elements,p=n(e.options[0])[u.type];if(!p)return;let g=!1;p.multiline&&(g=l.filter(_=>_!==null).some(_=>_.loc.start.line!==_.loc.end.line));let A=0;for(let _=0;_=p.minItems||p.multiline&&g||p.consistent&&A>0&&A{let b=l[E-1];if(E===0||_===null||b===null)return;let D=t.getFirstTokenBetween(b,_,LSe.isCommaToken),k=t.getTokenBefore(D),M=t.getTokenAfter(D);h?LSe.isTokenOnSameLine(k,M)&&s(M):LSe.isTokenOnSameLine(k,M)||i(M)})}return{ArrayPattern:a,ArrayExpression:a}}}});var Hhs=j((OhA,Jhs)=>{"use strict";var pye=ao();Jhs.exports={meta:{type:"suggestion",defaultOptions:["as-needed"],docs:{description:"Require braces around arrow function bodies",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/arrow-body-style"},schema:{anyOf:[{type:"array",items:[{enum:["always","never"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["as-needed"]},{type:"object",properties:{requireReturnForObjectLiteral:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},fixable:"code",messages:{unexpectedOtherBlock:"Unexpected block statement surrounding arrow body.",unexpectedEmptyBlock:"Unexpected block statement surrounding arrow body; put a value of `undefined` immediately after the `=>`.",unexpectedObjectBlock:"Unexpected block statement surrounding arrow body; parenthesize the returned value and move it immediately after the `=>`.",unexpectedSingleBlock:"Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.",expectedBlock:"Expected block statement surrounding arrow body."}},create(e){let t=e.options,r=t[0]==="always",n=t[0]==="as-needed",i=t[0]==="never",s=t[1]&&t[1].requireReturnForObjectLiteral,a=e.sourceCode,u=null;function l(A){return A&&A.type==="Punctuator"&&/^[([/`+-]/u.test(A.value)}function f(A){let h=A;for(;!pye.isParenthesised(a,h);)h=h.parent;return a.getTokenAfter(h)}function p(A){return A&&A.parent?A.parent.type==="ForStatement"&&A.parent.init===A?!0:p(A.parent):!1}function g(A){let h=A.body;if(h.type==="BlockStatement"){let _=h.body;if(_.length!==1&&!i||n&&s&&_[0].type==="ReturnStatement"&&_[0].argument&&_[0].argument.type==="ObjectExpression")return;if(i||n&&_[0].type==="ReturnStatement"){let E;_.length===0?E="unexpectedEmptyBlock":_.length>1||_[0].type!=="ReturnStatement"?E="unexpectedOtherBlock":_[0].argument===null?E="unexpectedSingleBlock":pye.isOpeningBraceToken(a.getFirstToken(_[0],{skip:1}))?E="unexpectedObjectBlock":E="unexpectedSingleBlock",e.report({node:A,loc:h.loc,messageId:E,fix(b){let D=[];if(_.length!==1||_[0].type!=="ReturnStatement"||!_[0].argument||l(a.getTokenAfter(h)))return D;let k=a.getFirstToken(h),M=a.getLastToken(h),R=a.getFirstToken(_[0],1),q=a.getLastToken(_[0]);return a.commentsExistBetween(k,R)||a.commentsExistBetween(q,M)?D.push(b.remove(k),b.remove(M),b.remove(a.getTokenAfter(k))):D.push(b.removeRange([k.range[0],R.range[0]]),b.removeRange([q.range[1],M.range[1]])),(pye.isOpeningBraceToken(R)||_[0].argument.type==="SequenceExpression"||u.hasInOperator&&p(A))&&(pye.isParenthesised(a,_[0].argument)||D.push(b.insertTextBefore(R,"("),b.insertTextAfter(q,")"))),pye.isSemicolonToken(q)&&D.push(b.remove(q)),D}})}}else(r||n&&s&&h.type==="ObjectExpression")&&e.report({node:A,loc:h.loc,messageId:"expectedBlock",fix(_){let E=[],b=a.getTokenBefore(h,pye.isArrowToken),[D,k]=a.getTokensAfter(b,{count:2}),M=a.getLastToken(A),R=null;if(pye.isOpeningParenToken(D)&&pye.isOpeningBraceToken(k)){let q=a.getNodeByRangeIndex(k.range[0]);q.type==="ObjectExpression"&&(R=q)}if(R){let q=D,G=k;pye.isTokenOnSameLine(q,G)?E.push(_.replaceText(q,"{return ")):E.push(_.replaceText(q,"{"),_.insertTextBefore(G,"return ")),E.push(_.remove(f(R))),E.push(_.insertTextAfter(M,"}"))}else E.push(_.insertTextBefore(D,"{return ")),E.push(_.insertTextAfter(M,"}"));return E}})}return{"BinaryExpression[operator='in']"(){let A=u;for(;A;)A.hasInOperator=!0,A=A.upper},ArrowFunctionExpression(){u={upper:u,hasInOperator:!1}},"ArrowFunctionExpression:exit"(A){g(A),u=u.upper}}}}});var Whs=j((RhA,zhs)=>{"use strict";var _tn=ao();function aDl(e){return e.body.type==="BlockStatement"}zhs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"arrow-parens",url:"https://eslint.style/rules/arrow-parens"}}]},type:"layout",docs:{description:"Require parentheses around arrow function arguments",recommended:!1,url:"https://eslint.org/docs/latest/rules/arrow-parens"},fixable:"code",schema:[{enum:["always","as-needed"]},{type:"object",properties:{requireForBlockBody:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedParens:"Unexpected parentheses around single function argument.",expectedParens:"Expected parentheses around arrow function argument.",unexpectedParensInline:"Unexpected parentheses around single function argument having a body with no curly braces.",expectedParensBlock:"Expected parentheses around arrow function argument having a body with curly braces."}},create(e){let t=e.options[0]==="as-needed",r=t&&e.options[1]&&e.options[1].requireForBlockBody===!0,n=e.sourceCode;function i(l){let f=n.getTokenBefore(l.params[0]);return f&&_tn.isOpeningParenToken(f)&&l.range[0]<=f.range[0]?f:null}function s(l){return n.getTokenAfter(l.params[0],_tn.isClosingParenToken)}function a(l,f){return n.commentsExistBetween(f,s(l))}function u(l,f){let p=l.async?1:0;return n.getFirstToken(l,{skip:p})!==f}return{"ArrowFunctionExpression[params.length=1]"(l){let f=!t||r&&aDl(l),p=i(l),g=p!==null,[A]=l.params;f&&!g&&e.report({node:l,messageId:r?"expectedParensBlock":"expectedParens",loc:A.loc,*fix(h){yield h.insertTextBefore(A,"("),yield h.insertTextAfter(A,")")}}),!f&&g&&A.type==="Identifier"&&!A.typeAnnotation&&!l.returnType&&!a(l,p)&&!u(l,p)&&e.report({node:l,messageId:r?"unexpectedParensInline":"unexpectedParens",loc:A.loc,*fix(h){let _=n.getTokenBefore(p),E=s(l);_&&_.range[1]===p.range[0]&&!_tn.canTokensBeAdjacent(_,n.getFirstToken(A))&&(yield h.insertTextBefore(p," ")),yield h.removeRange([p.range[0],A.range[0]]),yield h.removeRange([A.range[1],E.range[1]])}})}}}}});var Zhs=j((FhA,Xhs)=>{"use strict";var oDl=ao();Xhs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"arrow-spacing",url:"https://eslint.style/rules/arrow-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after the arrow in arrow functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/arrow-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!0},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{expectedBefore:"Missing space before =>.",unexpectedBefore:"Unexpected space before =>.",expectedAfter:"Missing space after =>.",unexpectedAfter:"Unexpected space after =>."}},create(e){let t=Object.assign({},e.options[0]);t.before=t.before!==!1,t.after=t.after!==!1;let r=e.sourceCode;function n(a){let u=r.getTokenBefore(a.body,oDl.isArrowToken);return{before:r.getTokenBefore(u),arrow:u,after:r.getTokenAfter(u)}}function i(a){let u=a.arrow.range[0]-a.before.range[1],l=a.after.range[0]-a.arrow.range[1];return{before:u,after:l}}function s(a){let u=n(a),l=i(u);t.before?l.before===0&&e.report({node:u.before,messageId:"expectedBefore",fix(f){return f.insertTextBefore(u.arrow," ")}}):l.before>0&&e.report({node:u.before,messageId:"unexpectedBefore",fix(f){return f.removeRange([u.before.range[1],u.arrow.range[0]])}}),t.after?l.after===0&&e.report({node:u.after,messageId:"expectedAfter",fix(f){return f.insertTextAfter(u.arrow," ")}}):l.after>0&&e.report({node:u.after,messageId:"unexpectedAfter",fix(f){return f.removeRange([u.arrow.range[1],u.after.range[0]])}})}return{ArrowFunctionExpression:s}}}});var t0s=j((LhA,e0s)=>{"use strict";e0s.exports={meta:{type:"suggestion",docs:{description:"Enforce the use of variables within the scope they are defined",recommended:!1,url:"https://eslint.org/docs/latest/rules/block-scoped-var"},schema:[],messages:{outOfScope:"'{{name}}' declared on line {{definitionLine}} column {{definitionColumn}} is used outside of binding context."}},create(e){let t=[],r=e.sourceCode;function n(u){t.push(u.range)}function i(){t.pop()}function s(u,l){let f=u.identifier,p=l.name.loc.start;e.report({node:f,messageId:"outOfScope",data:{name:f.name,definitionLine:p.line,definitionColumn:p.column+1}})}function a(u){if(u.kind!=="var")return;let l=t.at(-1);function f(g){let A=g.identifier.range;return A[0]l[1]}let p=r.getDeclaredVariables(u);for(let g=0;gs(A,p[g].defs.find(h=>h.parent===u)))}return{Program(u){t=[u.range]},BlockStatement:n,"BlockStatement:exit":i,ForStatement:n,"ForStatement:exit":i,ForInStatement:n,"ForInStatement:exit":i,ForOfStatement:n,"ForOfStatement:exit":i,SwitchStatement:n,"SwitchStatement:exit":i,CatchClause:n,"CatchClause:exit":i,StaticBlock:n,"StaticBlock:exit":i,VariableDeclaration:a}}}});var n0s=j((MhA,r0s)=>{"use strict";var uDl=ao();r0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"block-spacing",url:"https://eslint.style/rules/block-spacing"}}]},type:"layout",docs:{description:"Disallow or enforce spaces inside of blocks after opening block and before closing block",recommended:!1,url:"https://eslint.org/docs/latest/rules/block-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{missing:"Requires a space {{location}} '{{token}}'.",extra:"Unexpected space(s) {{location}} '{{token}}'."}},create(e){let t=e.options[0]!=="never",r=t?"missing":"extra",n=e.sourceCode;function i(u){return u.type==="SwitchStatement"?u.cases.length>0?n.getTokenBefore(u.cases[0]):n.getLastToken(u,1):u.type==="StaticBlock"?n.getFirstToken(u,{skip:1}):n.getFirstToken(u)}function s(u,l){return!uDl.isTokenOnSameLine(u,l)||n.isSpaceBetweenTokens(u,l)===t}function a(u){let l=i(u),f=n.getLastToken(u),p=n.getTokenAfter(l,{includeComments:!0}),g=n.getTokenBefore(f,{includeComments:!0});if(!(l.type!=="Punctuator"||l.value!=="{"||f.type!=="Punctuator"||f.value!=="}"||p===f)&&!(!t&&p.type==="Line")){if(!s(l,p)){let A=l.loc;r==="extra"&&(A={start:l.loc.end,end:p.loc.start}),e.report({node:u,loc:A,messageId:r,data:{location:"after",token:l.value},fix(h){return t?h.insertTextBefore(p," "):h.removeRange([l.range[1],p.range[0]])}})}if(!s(g,f)){let A=f.loc;r==="extra"&&(A={start:g.loc.end,end:f.loc.start}),e.report({node:u,loc:A,messageId:r,data:{location:"before",token:f.value},fix(h){return t?h.insertTextAfter(g," "):h.removeRange([g.range[1],f.range[0]])}})}}}return{BlockStatement:a,StaticBlock:a,SwitchStatement:a}}}});var s0s=j((QhA,i0s)=>{"use strict";var MSe=ao();i0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"brace-style",url:"https://eslint.style/rules/brace-style"}}]},type:"layout",docs:{description:"Enforce consistent brace style for blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/brace-style"},schema:[{enum:["1tbs","stroustrup","allman"]},{type:"object",properties:{allowSingleLine:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"whitespace",messages:{nextLineOpen:"Opening curly brace does not appear on the same line as controlling statement.",sameLineOpen:"Opening curly brace appears on the same line as controlling statement.",blockSameLine:"Statement inside of curly braces should be on next line.",nextLineClose:"Closing curly brace does not appear on the same line as the subsequent block.",singleLineClose:"Closing curly brace should be on the same line as opening curly brace or on the line after the previous block.",sameLineClose:"Closing curly brace appears on the same line as the subsequent block."}},create(e){let t=e.options[0]||"1tbs",r=e.options[1]||{},n=e.sourceCode;function i(u,l){let f=[u.range[1],l.range[0]];return n.text.slice(f[0],f[1]).trim()?null:g=>g.replaceTextRange(f," ")}function s(u,l){let f=n.getTokenBefore(u),p=n.getTokenAfter(u),g=n.getTokenBefore(l),A=r.allowSingleLine&&MSe.isTokenOnSameLine(u,l);t!=="allman"&&!MSe.isTokenOnSameLine(f,u)&&e.report({node:u,messageId:"nextLineOpen",fix:i(f,u)}),t==="allman"&&MSe.isTokenOnSameLine(f,u)&&!A&&e.report({node:u,messageId:"sameLineOpen",fix:h=>h.insertTextBefore(u,` `)}),MSe.isTokenOnSameLine(u,p)&&p!==l&&!A&&e.report({node:u,messageId:"blockSameLine",fix:h=>h.insertTextAfter(u,` `)}),g!==u&&!A&&MSe.isTokenOnSameLine(g,l)&&e.report({node:l,messageId:"singleLineClose",fix:h=>h.insertTextBefore(l,` `)})}function a(u){let l=n.getTokenAfter(u);t==="1tbs"&&!MSe.isTokenOnSameLine(u,l)&&e.report({node:u,messageId:"nextLineClose",fix:i(u,l)}),t!=="1tbs"&&MSe.isTokenOnSameLine(u,l)&&e.report({node:u,messageId:"sameLineClose",fix:f=>f.insertTextAfter(u,` `)})}return{BlockStatement(u){MSe.STATEMENT_LIST_PARENTS.has(u.parent.type)||s(n.getFirstToken(u),n.getLastToken(u))},StaticBlock(u){s(n.getFirstToken(u,{skip:1}),n.getLastToken(u))},ClassBody(u){s(n.getFirstToken(u),n.getLastToken(u))},SwitchStatement(u){let l=n.getLastToken(u),f=n.getTokenBefore(u.cases.length?u.cases[0]:l);s(f,l)},IfStatement(u){u.consequent.type==="BlockStatement"&&u.alternate&&a(n.getLastToken(u.consequent))},TryStatement(u){a(n.getLastToken(u.block)),u.handler&&u.finalizer&&a(n.getLastToken(u.handler.body))}}}}});var o0s=j((jhA,a0s)=>{"use strict";a0s.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"callback-return",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/callback-return.md"}}]},type:"suggestion",docs:{description:"Require `return` statements after callbacks",recommended:!1,url:"https://eslint.org/docs/latest/rules/callback-return"},schema:[{type:"array",items:{type:"string"}}],messages:{missingReturn:"Expected return with your callback function."}},create(e){let t=e.options[0]||["callback","cb","next"],r=e.sourceCode;function n(u,l){return u.parent?l.includes(u.parent.type)?u.parent:n(u.parent,l):null}function i(u){if(u.type==="Identifier")return!0;if(u.type==="MemberExpression"){if(u.object.type==="Identifier")return!0;if(u.object.type==="MemberExpression")return i(u.object)}return!1}function s(u){return i(u.callee)&&t.includes(r.getText(u.callee))}function a(u,l){return!l||l.type!=="ExpressionStatement"?!1:l.expression===u||(l.expression.type==="BinaryExpression"||l.expression.type==="LogicalExpression")&&l.expression.right===u}return{CallExpression(u){if(!s(u))return;let l=n(u,["BlockStatement","ReturnStatement","ArrowFunctionExpression"])||{};if(l.type!=="ReturnStatement"&&l.type!=="ArrowFunctionExpression"){if(l.type==="BlockStatement"){let f=l.body.at(-1);if(a(u,f)){let p=l.parent.type;if(p==="FunctionExpression"||p==="FunctionDeclaration"||p==="ArrowFunctionExpression")return}if(f.type==="ReturnStatement"&&a(u,l.body.at(-2)))return}n(u,["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"])&&e.report({node:u,messageId:"missingReturn"})}}}}}});var l0s=j((UhA,u0s)=>{"use strict";var a$t=ao();u0s.exports={meta:{type:"suggestion",defaultOptions:[{allow:[],ignoreDestructuring:!1,ignoreGlobals:!1,ignoreImports:!1,properties:"always"}],docs:{description:"Enforce camelcase naming convention",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/camelcase"},schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean"},ignoreImports:{type:"boolean"},ignoreGlobals:{type:"boolean"},properties:{enum:["always","never"]},allow:{type:"array",items:{type:"string"},minItems:0,uniqueItems:!0}},additionalProperties:!1}],messages:{notCamelCase:"Identifier '{{name}}' is not in camel case.",notCamelCasePrivate:"#{{name}} is not in camel case."}},create(e){let[{allow:t,ignoreDestructuring:r,ignoreGlobals:n,ignoreImports:i,properties:s}]=e.options,a=e.sourceCode,u=new Set;function l(E){let b=E.replace(/^_+|_+$/gu,"");return b.includes("_")&&b!==b.toUpperCase()}function f(E){return t.some(b=>E===b||E.match(new RegExp(b,"u")))}function p(E){return!l(E)||f(E)}function g(E){let b=E.parent;switch(b.type){case"AssignmentExpression":case"AssignmentPattern":return b.left===E;case"Property":return b.parent.type==="ObjectPattern"&&b.value===E;case"ArrayPattern":case"RestElement":return!0;default:return!1}}function A(E){let b=E.name,D=E.parent.type==="AssignmentPattern"?E.parent:E,k=D.parent;switch(k.type){case"Property":return(k.parent.type==="ObjectPattern"||k.parent.type==="ObjectExpression")&&k.value===D&&!k.computed&&k.key.type==="Identifier"&&k.key.name===b;case"ImportSpecifier":return k.local===E&&a$t.getModuleExportName(k.imported)===b;default:return!1}}function h(E){u.has(E.range[0])||(u.add(E.range[0]),e.report({node:E,messageId:E.type==="PrivateIdentifier"?"notCamelCasePrivate":"notCamelCase",data:{name:E.name}}))}function _(E){E.parent.type==="CallExpression"||E.parent.type==="NewExpression"||E.parent.type==="AssignmentPattern"&&E.parent.right===E||r&&A(E)||a$t.isImportAttributeKey(E)||h(E)}return{Program(E){let b=a.getScope(E);if(!n){for(let D of b.variables)if(!(D.identifiers.length>0||p(D.name)))for(let k of D.references)_(k.identifier)}for(let D of b.through){let k=D.identifier;p(k.name)||a$t.isImportAttributeKey(k)||_(k)}},[["VariableDeclaration","FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","ClassDeclaration","ClassExpression","CatchClause"]](E){for(let b of a.getDeclaredVariables(E)){if(p(b.name))continue;let D=b.identifiers[0];r&&A(D)||h(D);for(let k of b.references)k.init||_(k.identifier)}},[["ObjectExpression > Property[computed!=true] > Identifier.key","MethodDefinition[computed!=true] > Identifier.key","PropertyDefinition[computed!=true] > Identifier.key","MethodDefinition > PrivateIdentifier.key","PropertyDefinition > PrivateIdentifier.key"]](E){s==="never"||a$t.isImportAttributeKey(E)||p(E.name)||h(E)},"MemberExpression[computed!=true] > Identifier.property"(E){s==="never"||!g(E.parent)||p(E.name)||h(E)},ImportDeclaration(E){for(let b of a.getDeclaredVariables(E)){if(p(b.name))continue;let D=b.identifiers[0];i&&A(D)||h(D);for(let k of b.references)_(k.identifier)}},[["ExportAllDeclaration > Identifier.exported","ExportSpecifier > Identifier.exported"]](E){p(E.name)||h(E)},[["LabeledStatement > Identifier.label","BreakStatement > Identifier.label","ContinueStatement > Identifier.label"]](E){p(E.name)||h(E)}}}}});var d0s=j((qhA,p0s)=>{"use strict";var lDl=ao(),cDl=lDl.COMMENTS_IGNORE_PATTERN,fDl=/\s/gu,pDl=/^\s*[^:/?#\s]+:\/\/[^?#]/u,c0s=/\p{L}/u,Etn={type:"object",properties:{ignorePattern:{type:"string"},ignoreInlineComments:{type:"boolean"},ignoreConsecutiveComments:{type:"boolean"}},additionalProperties:!1},dDl={ignorePattern:"",ignoreInlineComments:!1,ignoreConsecutiveComments:!1};function f0s(e,t){return Object.assign({},dDl,e[t]||e)}function mDl(e={}){return{Line:f0s(e,"line"),Block:f0s(e,"block")}}function gDl(e){Object.keys(e).forEach(t=>{let r=e[t].ignorePattern;if(r){let n=RegExp(`^\\s*(?:${r})`,"u");e[t].ignorePatternRegExp=n}})}p0s.exports={meta:{type:"suggestion",docs:{description:"Enforce or disallow capitalization of the first letter of a comment",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/capitalized-comments"},fixable:"code",schema:[{enum:["always","never"]},{oneOf:[Etn,{type:"object",properties:{line:Etn,block:Etn},additionalProperties:!1}]}],messages:{unexpectedLowercaseComment:"Comments should not begin with a lowercase character.",unexpectedUppercaseComment:"Comments should not begin with an uppercase character."}},create(e){let t=e.options[0]||"always",r=mDl(e.options[1]),n=e.sourceCode;gDl(r);function i(l){let f=n.getTokenBefore(l,{includeComments:!0}),p=n.getTokenAfter(l,{includeComments:!0});return!!(f&&p&&l.loc.start.line===f.loc.end.line&&l.loc.end.line===p.loc.start.line)}function s(l){let f=n.getTokenBefore(l,{includeComments:!0});return!!(f&&["Block","Line"].includes(f.type))}function a(l,f){if(cDl.test(l.value))return!0;let p=l.value.replace(/\*/gu,"");if(f.ignorePatternRegExp&&f.ignorePatternRegExp.test(p)||f.ignoreInlineComments&&i(l)||f.ignoreConsecutiveComments&&s(l)||pDl.test(p))return!0;let g=p.replace(fDl,"");if(g.length===0)return!0;let[A]=g;if(!c0s.test(A))return!0;let h=A!==A.toLocaleLowerCase(),_=A!==A.toLocaleUpperCase();return!(t==="always"&&_||t==="never"&&h)}function u(l){let f=r[l.type];if(!a(l,f)){let g=t==="always"?"unexpectedLowercaseComment":"unexpectedUppercaseComment";e.report({node:null,loc:l.loc,messageId:g,fix(A){let h=l.value.match(c0s),_=h[0],E=l.range[0]+h.index+2;return A.replaceTextRange([E,E+_.length],t==="always"?_.toLocaleUpperCase():_.toLocaleLowerCase())}})}}return{Program(){n.getAllComments().filter(f=>f.type!=="Shebang").forEach(u)}}}}});var g0s=j((YhA,m0s)=>{"use strict";var xtn=ao();m0s.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:[{enforceForClassFields:!0,exceptMethods:[],ignoreOverrideMethods:!1}],docs:{description:"Enforce that class methods utilize `this`",recommended:!1,url:"https://eslint.org/docs/latest/rules/class-methods-use-this"},schema:[{type:"object",properties:{exceptMethods:{type:"array",items:{type:"string"}},enforceForClassFields:{type:"boolean"},ignoreOverrideMethods:{type:"boolean"},ignoreClassesWithImplements:{enum:["all","public-fields"]}},additionalProperties:!1}],messages:{missingThis:"Expected 'this' to be used by class {{name}}."}},create(e){let[t]=e.options,{enforceForClassFields:r,ignoreOverrideMethods:n,ignoreClassesWithImplements:i}=t,s=new Set(t.exceptMethods),a=[];function u(){a.push(!1)}function l(){return a.pop()}function f(){u()}function p(E){switch(E.type){case"MethodDefinition":return!E.static&&E.kind!=="constructor";case"AccessorProperty":case"PropertyDefinition":return!E.static&&r;default:return!1}}function g(E){let b=E.parent.parent;return b?.type==="ClassDeclaration"&&b.implements?.length>0}function A(E){if(p(E)){if(E.computed)return!0;if(n&&E.override||i&&g(E)&&(i==="all"||i==="public-fields"&&E.key.type!=="PrivateIdentifier"&&(!E.accessibility||E.accessibility==="public")))return!1;let b=E.key.type==="PrivateIdentifier"?"#":"",D=E.key.type==="Literal"?xtn.getStaticStringValue(E.key):E.key.name||"";return!s.has(b+D)}return!1}function h(E){let b=l();A(E.parent)&&!b&&e.report({node:E,loc:xtn.getFunctionHeadLoc(E,e.sourceCode),messageId:"missingThis",data:{name:xtn.getFunctionNameWithKind(E)}})}function _(){a.length&&(a[a.length-1]=!0)}return{FunctionDeclaration:f,"FunctionDeclaration:exit":h,FunctionExpression:f,"FunctionExpression:exit":h,"AccessorProperty > *.key:exit":u,"AccessorProperty:exit":l,"PropertyDefinition > *.key:exit":u,"PropertyDefinition:exit":l,StaticBlock:u,"StaticBlock:exit":l,ThisExpression:_,Super:_,...r&&{"AccessorProperty > ArrowFunctionExpression.value":f,"AccessorProperty > ArrowFunctionExpression.value:exit":h,"PropertyDefinition > ArrowFunctionExpression.value":f,"PropertyDefinition > ArrowFunctionExpression.value:exit":h}}}}});var h0s=j((GhA,A0s)=>{"use strict";var vtn=ao(),EGe=Object.freeze({arrays:"never",objects:"never",imports:"never",exports:"never",functions:"never"});function ADl(e){return!(e.type==="RestElement"||e.type==="RestProperty"||e.type==="ExperimentalRestProperty")}function hDl(e,t){return typeof e=="string"?{arrays:e,objects:e,imports:e,exports:e,functions:t<2017?"ignore":e}:typeof e=="object"&&e!==null?{arrays:e.arrays||EGe.arrays,objects:e.objects||EGe.objects,imports:e.imports||EGe.imports,exports:e.exports||EGe.exports,functions:e.functions||EGe.functions}:EGe}A0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"comma-dangle",url:"https://eslint.style/rules/comma-dangle"}}]},type:"layout",docs:{description:"Require or disallow trailing commas",recommended:!1,url:"https://eslint.org/docs/latest/rules/comma-dangle"},fixable:"code",schema:{definitions:{value:{enum:["always-multiline","always","never","only-multiline"]},valueWithIgnore:{enum:["always-multiline","always","ignore","never","only-multiline"]}},type:"array",items:[{oneOf:[{$ref:"#/definitions/value"},{type:"object",properties:{arrays:{$ref:"#/definitions/valueWithIgnore"},objects:{$ref:"#/definitions/valueWithIgnore"},imports:{$ref:"#/definitions/valueWithIgnore"},exports:{$ref:"#/definitions/valueWithIgnore"},functions:{$ref:"#/definitions/valueWithIgnore"}},additionalProperties:!1}]}],additionalItems:!1},messages:{unexpected:"Unexpected trailing comma.",missing:"Missing trailing comma."}},create(e){let t=hDl(e.options[0],e.languageOptions.ecmaVersion),r=e.sourceCode;function n(g){function A(h){return h.at(-1)}switch(g.type){case"ObjectExpression":case"ObjectPattern":return A(g.properties);case"ArrayExpression":case"ArrayPattern":return A(g.elements);case"ImportDeclaration":case"ExportNamedDeclaration":return A(g.specifiers);case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":return A(g.params);case"CallExpression":case"NewExpression":return A(g.arguments);default:return null}}function i(g,A){switch(g.type){case"ObjectExpression":case"ArrayExpression":case"CallExpression":case"NewExpression":return r.getLastToken(g,1);default:{let h=r.getTokenAfter(A);return vtn.isCommaToken(h)?h:r.getLastToken(A)}}}function s(g){let A=n(g);if(!A)return!1;let h=i(g,A);return r.getTokenAfter(h).loc.end.line!==h.loc.end.line}function a(g){let A=n(g);if(!A||g.type==="ImportDeclaration"&&A.type!=="ImportSpecifier")return;let h=i(g,A);vtn.isCommaToken(h)&&e.report({node:A,loc:h.loc,messageId:"unexpected",*fix(_){yield _.remove(h),yield _.insertTextBefore(r.getTokenBefore(h),""),yield _.insertTextAfter(r.getTokenAfter(h),"")}})}function u(g){let A=n(g);if(!A||g.type==="ImportDeclaration"&&A.type!=="ImportSpecifier")return;if(!ADl(A)){a(g);return}let h=i(g,A);h.value!==","&&e.report({node:A,loc:{start:h.loc.end,end:vtn.getNextLocation(r,h.loc.end)},messageId:"missing",*fix(_){yield _.insertTextAfter(h,","),yield _.insertTextBefore(h,""),yield _.insertTextAfter(r.getTokenAfter(h),"")}})}function l(g){s(g)?u(g):a(g)}function f(g){s(g)||a(g)}let p={always:u,"always-multiline":l,"only-multiline":f,never:a,ignore(){}};return{ObjectExpression:p[t.objects],ObjectPattern:p[t.objects],ArrayExpression:p[t.arrays],ArrayPattern:p[t.arrays],ImportDeclaration:p[t.imports],ExportNamedDeclaration:p[t.exports],FunctionDeclaration:p[t.functions],FunctionExpression:p[t.functions],ArrowFunctionExpression:p[t.functions],CallExpression:p[t.functions],NewExpression:p[t.functions]}}}});var _0s=j((VhA,y0s)=>{"use strict";var dye=ao();y0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"comma-spacing",url:"https://eslint.style/rules/comma-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after commas",recommended:!1,url:"https://eslint.org/docs/latest/rules/comma-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{missing:"A space is required {{loc}} ','.",unexpected:"There should be no space {{loc}} ','."}},create(e){let t=e.sourceCode,r=t.tokensAndComments,n={before:e.options[0]?e.options[0].before:!1,after:e.options[0]?e.options[0].after:!0},i=[];function s(u,l,f){e.report({node:u,fix(p){if(n[l])return l==="before"?p.insertTextBefore(u," "):p.insertTextAfter(u," ");let g,A,h="";return l==="before"?(g=f.range[1],A=u.range[0]):(g=u.range[1],A=f.range[0]),p.replaceTextRange([g,A],h)},messageId:n[l]?"missing":"unexpected",data:{loc:l}})}function a(u){let l=t.getFirstToken(u);u.elements.forEach(f=>{let p;f===null?(p=t.getTokenAfter(l),dye.isCommaToken(p)&&i.push(p)):p=t.getTokenAfter(f),l=p})}return{"Program:exit"(){r.forEach((u,l)=>{if(!dye.isCommaToken(u))return;let f=r[l-1],p=r[l+1];f&&!dye.isCommaToken(f)&&!i.includes(u)&&dye.isTokenOnSameLine(f,u)&&n.before!==t.isSpaceBetweenTokens(f,u)&&s(u,"before",f),p&&!dye.isCommaToken(p)&&!dye.isClosingParenToken(p)&&!dye.isClosingBracketToken(p)&&!dye.isClosingBraceToken(p)&&!(!n.after&&p.type==="Line")&&dye.isTokenOnSameLine(u,p)&&n.after!==t.isSpaceBetweenTokens(u,p)&&s(u,"after",p)})},ArrayExpression:a,ArrayPattern:a}}}});var x0s=j(($hA,E0s)=>{"use strict";var cse=ao();E0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"comma-style",url:"https://eslint.style/rules/comma-style"}}]},type:"layout",docs:{description:"Enforce consistent comma style",recommended:!1,url:"https://eslint.org/docs/latest/rules/comma-style"},fixable:"code",schema:[{enum:["first","last"]},{type:"object",properties:{exceptions:{type:"object",additionalProperties:{type:"boolean"}}},additionalProperties:!1}],messages:{unexpectedLineBeforeAndAfterComma:"Bad line breaking before and after ','.",expectedCommaFirst:"',' should be placed first.",expectedCommaLast:"',' should be placed last."}},create(e){let t=e.options[0]||"last",r=e.sourceCode,n={ArrayPattern:!0,ArrowFunctionExpression:!0,CallExpression:!0,FunctionDeclaration:!0,FunctionExpression:!0,ImportDeclaration:!0,ObjectPattern:!0,NewExpression:!0};if(e.options.length===2&&Object.hasOwn(e.options[1],"exceptions")){let f=Object.keys(e.options[1].exceptions);for(let p=0;p1||A){let h=r.getFirstToken(f);if(g.forEach(_=>{let E=_?r.getTokenBefore(_):h,b=_?r.getFirstToken(_):r.getTokenAfter(E),D=_||b;if(cse.isCommaToken(E)&&a(h,E,b,D),_){let k=r.getTokenAfter(_,cse.isNotClosingParenToken);h=k?r.getTokenBefore(k):r.ast.tokens.at(-1)}else h=b}),A){let _=r.getLastToken(f),E=r.getTokenBefore(_);cse.isCommaToken(E)&&a(r.getTokenBefore(E),E,_,_)}}}let l={};return n.VariableDeclaration||(l.VariableDeclaration=function(f){u(f,"declarations")}),n.ObjectExpression||(l.ObjectExpression=function(f){u(f,"properties")}),n.ObjectPattern||(l.ObjectPattern=function(f){u(f,"properties")}),n.ArrayExpression||(l.ArrayExpression=function(f){u(f,"elements")}),n.ArrayPattern||(l.ArrayPattern=function(f){u(f,"elements")}),n.FunctionDeclaration||(l.FunctionDeclaration=function(f){u(f,"params")}),n.FunctionExpression||(l.FunctionExpression=function(f){u(f,"params")}),n.ArrowFunctionExpression||(l.ArrowFunctionExpression=function(f){u(f,"params")}),n.CallExpression||(l.CallExpression=function(f){u(f,"arguments")}),n.ImportDeclaration||(l.ImportDeclaration=function(f){u(f,"specifiers")}),n.NewExpression||(l.NewExpression=function(f){u(f,"arguments")}),l}}});var QSe=j((KhA,C0s)=>{"use strict";var yDl=/^[\u0000-\u007f]*$/u,v0s;function _Dl(e){return e.length<=1?e.toUpperCase():e[0].toUpperCase()+e.slice(1)}function EDl(e){if(yDl.test(e))return e.length;v0s??=new Intl.Segmenter("en-US");let t=0;for(let r of v0s.segment(e))t++;return t}C0s.exports={upperCaseFirst:_Dl,getGraphemeCount:EDl}});var S0s=j((JhA,I0s)=>{"use strict";var Ctn=ao(),{upperCaseFirst:xDl}=QSe(),b0s=20;I0s.exports={meta:{type:"suggestion",defaultOptions:[b0s],docs:{description:"Enforce a maximum cyclomatic complexity allowed in a program",recommended:!1,url:"https://eslint.org/docs/latest/rules/complexity"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0},variant:{enum:["classic","modified"]}},additionalProperties:!1}]}],messages:{complex:"{{name}} has a complexity of {{complexity}}. Maximum allowed is {{max}}."}},create(e){let t=e.sourceCode,r=e.options[0],n=b0s,i="classic";typeof r=="object"?((Object.hasOwn(r,"maximum")||Object.hasOwn(r,"max"))&&(n=r.maximum||r.max),Object.hasOwn(r,"variant")&&(i=r.variant)):typeof r=="number"&&(n=r);let s=i==="modified",a=[];function u(){a[a.length-1]++}return{onCodePathStart(){a.push(1)},CatchClause:u,ConditionalExpression:u,LogicalExpression:u,ForStatement:u,ForInStatement:u,ForOfStatement:u,IfStatement:u,WhileStatement:u,DoWhileStatement:u,AssignmentPattern:u,"SwitchCase[test]":()=>s||u(),SwitchStatement:()=>s&&u(),AssignmentExpression(l){Ctn.isLogicalAssignmentOperator(l.operator)&&u()},MemberExpression(l){l.optional===!0&&u()},CallExpression(l){l.optional===!0&&u()},onCodePathEnd(l,f){let p=a.pop();if(!(l.origin!=="function"&&l.origin!=="class-field-initializer"&&l.origin!=="class-static-block")&&p>n){let g,A=f.loc;l.origin==="class-field-initializer"?g="class field initializer":l.origin==="class-static-block"?(g="class static block",A=t.getFirstToken(f).loc):(g=Ctn.getFunctionNameWithKind(f),A=Ctn.getFunctionHeadLoc(f,t)),e.report({node:f,loc:A,messageId:"complex",data:{name:xDl(g),complexity:p,max:n}})}}}}}});var D0s=j((HhA,T0s)=>{"use strict";var xGe=ao();T0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"computed-property-spacing",url:"https://eslint.style/rules/computed-property-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside computed property brackets",recommended:!1,url:"https://eslint.org/docs/latest/rules/computed-property-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{enforceForClassMembers:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedSpaceBefore:"There should be no space before '{{tokenValue}}'.",unexpectedSpaceAfter:"There should be no space after '{{tokenValue}}'.",missingSpaceBefore:"A space is required before '{{tokenValue}}'.",missingSpaceAfter:"A space is required after '{{tokenValue}}'."}},create(e){let t=e.sourceCode,r=e.options[0]==="always",n=!e.options[1]||e.options[1].enforceForClassMembers;function i(p,g,A){e.report({node:p,loc:{start:g.loc.end,end:A.loc.start},messageId:"unexpectedSpaceAfter",data:{tokenValue:g.value},fix(h){return h.removeRange([g.range[1],A.range[0]])}})}function s(p,g,A){e.report({node:p,loc:{start:A.loc.end,end:g.loc.start},messageId:"unexpectedSpaceBefore",data:{tokenValue:g.value},fix(h){return h.removeRange([A.range[1],g.range[0]])}})}function a(p,g){e.report({node:p,loc:g.loc,messageId:"missingSpaceAfter",data:{tokenValue:g.value},fix(A){return A.insertTextAfter(g," ")}})}function u(p,g){e.report({node:p,loc:g.loc,messageId:"missingSpaceBefore",data:{tokenValue:g.value},fix(A){return A.insertTextBefore(g," ")}})}function l(p){return function(g){if(!g.computed)return;let A=g[p],h=t.getTokenBefore(A,xGe.isOpeningBracketToken),_=t.getTokenAfter(h,{includeComments:!0}),E=t.getTokenAfter(A,xGe.isClosingBracketToken),b=t.getTokenBefore(E,{includeComments:!0});xGe.isTokenOnSameLine(h,_)&&(r?!t.isSpaceBetweenTokens(h,_)&&xGe.isTokenOnSameLine(h,_)&&a(g,h):t.isSpaceBetweenTokens(h,_)&&i(g,h,_)),xGe.isTokenOnSameLine(b,E)&&(r?!t.isSpaceBetweenTokens(b,E)&&xGe.isTokenOnSameLine(b,E)&&u(g,E):t.isSpaceBetweenTokens(b,E)&&s(g,E,b))}}let f={Property:l("key"),MemberExpression:l("property")};return n&&(f.MethodDefinition=f.PropertyDefinition=f.Property),f}}});var B0s=j((zhA,w0s)=>{"use strict";var Dft=ao(),{upperCaseFirst:vDl}=QSe();function CDl(e){for(let t of e)if(t.reachable)return!1;return!0}function bDl(e){return e.type==="FunctionExpression"&&e.parent&&e.parent.type==="MethodDefinition"&&e.parent.kind==="constructor"}w0s.exports={meta:{type:"suggestion",docs:{description:"Require `return` statements to either always or never specify values",recommended:!1,url:"https://eslint.org/docs/latest/rules/consistent-return"},schema:[{type:"object",properties:{treatUndefinedAsUnspecified:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{treatUndefinedAsUnspecified:!1}],messages:{missingReturn:"Expected to return a value at the end of {{name}}.",missingReturnValue:"{{name}} expected a return value.",unexpectedReturnValue:"{{name}} expected no return value."}},create(e){let[{treatUndefinedAsUnspecified:t}]=e.options,r=null;function n(i){let s,a;!r.hasReturnValue||CDl(r.currentSegments)||Dft.isES5Constructor(i)||bDl(i)||(i.type==="Program"?(s={line:1,column:0},a="program"):i.type==="ArrowFunctionExpression"?s=e.sourceCode.getTokenBefore(i.body,Dft.isArrowToken).loc:i.parent.type==="MethodDefinition"||i.parent.type==="Property"&&i.parent.method?s=i.parent.key.loc:s=(i.id||e.sourceCode.getFirstToken(i)).loc,a||(a=Dft.getFunctionNameWithKind(i)),e.report({node:i,loc:s,messageId:"missingReturn",data:{name:a}}))}return{onCodePathStart(i,s){r={upper:r,codePath:i,hasReturn:!1,hasReturnValue:!1,messageId:"",node:s,currentSegments:new Set}},onCodePathEnd(){r=r.upper},onUnreachableCodePathSegmentStart(i){r.currentSegments.add(i)},onUnreachableCodePathSegmentEnd(i){r.currentSegments.delete(i)},onCodePathSegmentStart(i){r.currentSegments.add(i)},onCodePathSegmentEnd(i){r.currentSegments.delete(i)},ReturnStatement(i){let s=i.argument,a=!!s;t&&a&&(a=!Dft.isSpecificId(s,"undefined")&&s.operator!=="void"),r.hasReturn?r.hasReturnValue!==a&&e.report({node:i,messageId:r.messageId,data:r.data}):(r.hasReturn=!0,r.hasReturnValue=a,r.messageId=a?"missingReturnValue":"unexpectedReturnValue",r.data={name:r.node.type==="Program"?"Program":vDl(Dft.getFunctionNameWithKind(r.node))})},"Program:exit":n,"FunctionDeclaration:exit":n,"FunctionExpression:exit":n,"ArrowFunctionExpression:exit":n}}}});var P0s=j((WhA,k0s)=>{"use strict";k0s.exports={meta:{type:"suggestion",docs:{description:"Enforce consistent naming when capturing the current execution context",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/consistent-this"},schema:{type:"array",items:{type:"string",minLength:1},uniqueItems:!0},defaultOptions:["that"],messages:{aliasNotAssignedToThis:"Designated alias '{{name}}' is not assigned to 'this'.",unexpectedAlias:"Unexpected alias '{{name}}' for 'this'."}},create(e){let t=e.options,r=e.sourceCode;function n(u,l){e.report({node:u,messageId:"aliasNotAssignedToThis",data:{name:l}})}function i(u,l,f){let p=f.type==="ThisExpression";t.includes(l)?(!p||u.operator&&u.operator!=="=")&&n(u,l):p&&e.report({node:u,messageId:"unexpectedAlias",data:{name:l}})}function s(u,l){let f=l.set.get(u);f&&(f.defs.some(p=>p.node.type==="VariableDeclarator"&&p.node.init!==null)||f.references.some(p=>{let g=p.writeExpr;return p.from===l&&g&&g.type==="ThisExpression"&&g.parent.operator==="="})||f.defs.map(p=>p.node).forEach(p=>{n(p,u)}))}function a(u){let l=r.getScope(u),f=u.type==="Program"&&u.sourceType==="module"?l.childScopes[0]:null;t.forEach(p=>{s(p,l),f&&s(p,f)})}return{"Program:exit":a,"FunctionExpression:exit":a,"FunctionDeclaration:exit":a,VariableDeclarator(u){let l=u.id,f=l.type==="ArrayPattern"||l.type==="ObjectPattern";u.init!==null&&!f&&i(u,l.name,u.init)},AssignmentExpression(u){u.left.type==="Identifier"&&i(u,u.left.name,u.right)}}}}});var O0s=j((XhA,N0s)=>{"use strict";function IDl(e){return e.type==="FunctionExpression"&&e.parent.type==="MethodDefinition"&&e.parent.kind==="constructor"}function Ufe(e){if(!e)return!1;switch(e.type){case"ClassExpression":case"FunctionExpression":case"ThisExpression":case"MemberExpression":case"CallExpression":case"NewExpression":case"ChainExpression":case"YieldExpression":case"TaggedTemplateExpression":case"MetaProperty":return!0;case"Identifier":return e.name!=="undefined";case"AssignmentExpression":return["=","&&="].includes(e.operator)?Ufe(e.right):["||=","??="].includes(e.operator)?Ufe(e.left)||Ufe(e.right):!1;case"LogicalExpression":return e.operator==="&&"?Ufe(e.right):Ufe(e.left)||Ufe(e.right);case"ConditionalExpression":return Ufe(e.alternate)||Ufe(e.consequent);case"SequenceExpression":{let t=e.expressions.at(-1);return Ufe(t)}default:return!1}}var btn=class{calledInEveryPaths=!1;calledInSomePaths=!1;validNodes=[]};N0s.exports={meta:{type:"problem",docs:{description:"Require `super()` calls in constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/constructor-super"},schema:[],messages:{missingSome:"Lacked a call of 'super()' in some code paths.",missingAll:"Expected to call 'super()'.",duplicate:"Unexpected duplicate 'super()'.",badSuper:"Unexpected 'super()' because 'super' is not a constructor."}},create(e){let t=null,r=Object.create(null);function n(a){return a.reachable&&r[a.id].calledInSomePaths}function i(a){return!!r[a.id]}function s(a){return a.reachable&&r[a.id].calledInEveryPaths}return{onCodePathStart(a,u){if(IDl(u)){let f=u.parent.parent.parent.superClass;t={upper:t,isConstructor:!0,hasExtends:!!f,superIsConstructor:Ufe(f),codePath:a,currentSegments:new Set}}else t={upper:t,isConstructor:!1,hasExtends:!1,superIsConstructor:!1,codePath:a,currentSegments:new Set}},onCodePathEnd(a,u){let l=t.hasExtends;if(t=t.upper,!l)return;let f=a.returnedSegments,p=f.every(s),g=f.some(n);p||e.report({messageId:g?"missingSome":"missingAll",node:u.parent})},onCodePathSegmentStart(a,u){if(t.currentSegments.add(a),!(t.isConstructor&&t.hasExtends))return;let l=r[a.id]=new btn,f=a.prevSegments.filter(i);f.length>0&&(l.calledInSomePaths=f.some(n),l.calledInEveryPaths=f.every(s)),u.parent&&u.parent.type==="ForStatement"&&u.parent.update===u&&(l.calledInEveryPaths=!0)},onUnreachableCodePathSegmentStart(a){t.currentSegments.add(a)},onUnreachableCodePathSegmentEnd(a){t.currentSegments.delete(a)},onCodePathSegmentEnd(a){t.currentSegments.delete(a)},onCodePathSegmentLoop(a,u){t.isConstructor&&t.hasExtends&&t.codePath.traverseSegments({first:u,last:a},(l,f)=>{let p=r[l.id];if(!p){f.skip();return}let g=l.prevSegments.filter(i),A=g.some(n),h=g.every(s);if(p.calledInSomePaths||=A,p.calledInEveryPaths||=h,A){let _=p.validNodes;p.validNodes=[];for(let E=0;E<_.length;++E){let b=_[E];e.report({messageId:"duplicate",node:b})}}})},"CallExpression:exit"(a){if(!(t.isConstructor&&t.hasExtends)||a.callee.type!=="Super")return;let u=t.currentSegments,l=!1,f=null;for(let p of u)p.reachable&&(f=r[p.id],l=l||f.calledInSomePaths,f.calledInSomePaths=f.calledInEveryPaths=!0);f&&(l?e.report({messageId:"duplicate",node:a}):t.superIsConstructor?f.validNodes.push(a):e.report({messageId:"badSuper",node:a}))},ReturnStatement(a){if(!(t.isConstructor&&t.hasExtends)||!a.argument)return;let u=t.currentSegments;for(let l of u)if(l.reachable){let f=r[l.id];f.calledInSomePaths=f.calledInEveryPaths=!0}}}}}});var F0s=j((ZhA,R0s)=>{"use strict";var wft=ao();R0s.exports={meta:{type:"suggestion",docs:{description:"Enforce consistent brace style for all control statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/curly"},schema:{anyOf:[{type:"array",items:[{enum:["all"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["multi","multi-line","multi-or-nest"]},{enum:["consistent"]}],minItems:0,maxItems:2}]},defaultOptions:["all"],fixable:"code",messages:{missingCurlyAfter:"Expected { after '{{name}}'.",missingCurlyAfterCondition:"Expected { after '{{name}}' condition.",unexpectedCurlyAfter:"Unnecessary { after '{{name}}'.",unexpectedCurlyAfterCondition:"Unnecessary { after '{{name}}' condition."}},create(e){let t=e.options[0]==="multi",r=e.options[0]==="multi-line",n=e.options[0]==="multi-or-nest",i=e.options[1]==="consistent",s=e.sourceCode;function a(g){let A=s.getTokenBefore(g),h=s.getLastToken(g),_=wft.isSemicolonToken(h)?s.getTokenBefore(h):h;return A.loc.start.line===_.loc.end.line}function u(g){if(g.type==="EmptyStatement")return!0;let A=s.getFirstToken(g),h=s.getLastToken(g),_=wft.isSemicolonToken(h)?s.getTokenBefore(h):h;return A.loc.start.line===_.loc.end.line}function l(g){let A=s.getTokenBefore(g),h=s.getTokenAfter(g),_=s.getNodeByRangeIndex(A.range[0]);return wft.isSemicolonToken(A)||!h||_.type==="BlockStatement"&&_.parent.type!=="FunctionExpression"&&_.parent.type!=="ArrowFunctionExpression"?!1:!!(A.loc.end.line===h.loc.start.line||/^[([/`+-]/u.test(h.value)||A.type==="Punctuator"&&(A.value==="++"||A.value==="--"))}function f(g,A,h,_){let E=A.type==="BlockStatement",b=null;if(E&&(A.body.length!==1||wft.areBracesNecessary(A,s)))b=!0;else if(t)b=!1;else if(r)a(A)||(b=!0);else if(n)if(E){let D=A.body[0],k=s.getCommentsBefore(D);b=!u(D)||k.length>0}else b=!u(A);else b=!0;return{actual:E,expected:b,check(){this.expected!==null&&this.expected!==this.actual&&(this.expected?e.report({node:g,loc:A.loc,messageId:_&&_.condition?"missingCurlyAfterCondition":"missingCurlyAfter",data:{name:h},fix:D=>D.replaceText(A,`{${s.getText(A)}}`)}):e.report({node:g,loc:A.loc,messageId:_&&_.condition?"unexpectedCurlyAfterCondition":"unexpectedCurlyAfter",data:{name:h},fix(D){let k=g.type==="DoWhileStatement"&&s.getTokenBefore(A).range[1]===A.range[0]&&!wft.canTokensBeAdjacent("do",s.getFirstToken(A,{skip:1})),M=s.getFirstToken(A),R=s.getLastToken(A),q=s.getTokenBefore(R);if(l(R))return null;let G=s.getText().slice(M.range[1],q.range[0])+s.getText(q)+s.getText().slice(q.range[1],R.range[0]);return D.replaceText(A,(k?" ":"")+G)}}))}}}function p(g){let A=[];for(let h=g;h;h=h.alternate)if(A.push(f(h,h.consequent,"if",{condition:!0})),h.alternate&&h.alternate.type!=="IfStatement"){A.push(f(h,h.alternate,"else"));break}if(i){let h=A.some(_=>_.expected!==null?_.expected:_.actual);A.forEach(_=>{_.expected=h})}return A}return{IfStatement(g){let A=g.parent;A.type==="IfStatement"&&A.alternate===g||p(g).forEach(_=>{_.check()})},WhileStatement(g){f(g,g.body,"while",{condition:!0}).check()},DoWhileStatement(g){f(g,g.body,"do").check()},ForStatement(g){f(g,g.body,"for",{condition:!0}).check()},ForInStatement(g){f(g,g.body,"for-in").check()},ForOfStatement(g){f(g,g.body,"for-of").check()}}}}});var M0s=j((e0A,L0s)=>{"use strict";var SDl=/^no default$/iu;L0s.exports={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Require `default` cases in `switch` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/default-case"},schema:[{type:"object",properties:{commentPattern:{type:"string"}},additionalProperties:!1}],messages:{missingDefaultCase:"Expected a default case."}},create(e){let[t]=e.options,r=t.commentPattern?new RegExp(t.commentPattern,"u"):SDl,n=e.sourceCode;function i(s){return s.at(-1)}return{SwitchStatement(s){if(!s.cases.length)return;if(!s.cases.some(u=>u.test===null)){let u,l=i(s.cases),f=n.getCommentsAfter(l);f.length&&(u=i(f)),(!u||!r.test(u.value.trim()))&&e.report({node:s,messageId:"missingDefaultCase"})}}}}}});var j0s=j((t0A,Q0s)=>{"use strict";Q0s.exports={meta:{type:"suggestion",docs:{description:"Enforce `default` clauses in `switch` statements to be last",recommended:!1,url:"https://eslint.org/docs/latest/rules/default-case-last"},schema:[],messages:{notLast:"Default clause should be the last clause."}},create(e){return{SwitchStatement(t){let r=t.cases,n=r.findIndex(i=>i.test===null);if(n!==-1&&n!==r.length-1){let i=r[n];e.report({node:i,messageId:"notLast"})}}}}}});var q0s=j((r0A,U0s)=>{"use strict";function TDl(e){return!(e.type==="AssignmentPattern"||e.type==="RestElement"||e.optional)}U0s.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Enforce default parameters to be last",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/default-param-last"},schema:[],messages:{shouldBeLast:"Default parameters should be last."}},create(e){function t(r){let n=!1;for(let i=r.params.length-1;i>=0;i-=1){let s=r.params[i],a=s.type==="TSParameterProperty"?s.parameter:s;if(TDl(a)){n=!0;continue}n&&e.report({node:s,messageId:"shouldBeLast"})}}return{FunctionDeclaration:t,FunctionExpression:t,ArrowFunctionExpression:t}}}});var G0s=j((n0A,Y0s)=>{"use strict";var Itn=ao();Y0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"dot-location",url:"https://eslint.style/rules/dot-location"}}]},type:"layout",docs:{description:"Enforce consistent newlines before and after dots",recommended:!1,url:"https://eslint.org/docs/latest/rules/dot-location"},schema:[{enum:["object","property"]}],fixable:"code",messages:{expectedDotAfterObject:"Expected dot to be on same line as object.",expectedDotBeforeProperty:"Expected dot to be on same line as property."}},create(e){let t=e.options[0],r=t==="object"||!t,n=e.sourceCode;function i(a){let u=a.property,l=n.getTokenBefore(u);if(r){let f=n.getTokenBefore(l);Itn.isTokenOnSameLine(f,l)||e.report({node:a,loc:l.loc,messageId:"expectedDotAfterObject",*fix(p){l.value.startsWith(".")&&Itn.isDecimalIntegerNumericToken(f)?yield p.insertTextAfter(f,` ${l.value}`):yield p.insertTextAfter(f,l.value),yield p.remove(l)}})}else Itn.isTokenOnSameLine(l,u)||e.report({node:a,loc:l.loc,messageId:"expectedDotBeforeProperty",*fix(f){yield f.remove(l),yield f.insertTextBefore(u,l.value)}})}function s(a){a.computed||i(a)}return{MemberExpression:s}}}});var o$t=j((i0A,V0s)=>{"use strict";V0s.exports=["abstract","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","long","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with"]});var J0s=j((s0A,K0s)=>{"use strict";var Bft=ao(),$0s=o$t(),DDl=/^[a-zA-Z_$][\w$]*$/u,wDl=new Set(["string","boolean"]);K0s.exports={meta:{type:"suggestion",defaultOptions:[{allowKeywords:!0,allowPattern:""}],docs:{description:"Enforce dot notation whenever possible",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/dot-notation"},schema:[{type:"object",properties:{allowKeywords:{type:"boolean"},allowPattern:{type:"string"}},additionalProperties:!1}],fixable:"code",messages:{useDot:"[{{key}}] is better written in dot notation.",useBrackets:".{{key}} is a syntax error."}},create(e){let[t]=e.options,r=t.allowKeywords,n=e.sourceCode,i;t.allowPattern&&(i=new RegExp(t.allowPattern,"u"));function s(a,u){if(DDl.test(u)&&(r||!$0s.includes(String(u)))&&!(i&&i.test(u))){let l=a.property.type==="Literal"?JSON.stringify(u):`\`${u}\``;e.report({node:a.property,messageId:"useDot",data:{key:l},*fix(f){let p=n.getTokenAfter(a.object,Bft.isOpeningBracketToken),g=n.getLastToken(a),A=n.getTokenAfter(a);n.commentsExistBetween(p,g)||(a.optional||(yield f.insertTextBefore(p,Bft.isDecimalInteger(a.object)?" .":".")),yield f.replaceTextRange([p.range[0],g.range[1]],u),A&&g.range[1]===A.range[0]&&!Bft.canTokensBeAdjacent(String(u),A)&&(yield f.insertTextAfter(a," ")))}})}}return{MemberExpression(a){a.computed&&a.property.type==="Literal"&&(wDl.has(typeof a.property.value)||Bft.isNullLiteral(a.property))&&s(a,a.property.value),a.computed&&Bft.isStaticTemplateLiteral(a.property)&&s(a,a.property.quasis[0].value.cooked),!r&&!a.computed&&a.property.type==="Identifier"&&$0s.includes(String(a.property.name))&&e.report({node:a.property,messageId:"useBrackets",data:{key:a.property.name},*fix(u){let l=n.getTokenBefore(a.property);a.object.type==="Identifier"&&a.object.name==="let"&&!a.optional||n.commentsExistBetween(l,a.property)||(a.optional||(yield u.remove(l)),yield u.replaceText(a.property,`["${a.property.name}"]`))}})}}}}});var z0s=j((a0A,H0s)=>{"use strict";H0s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"eol-last",url:"https://eslint.style/rules/eol-last"}}]},type:"layout",docs:{description:"Require or disallow newline at the end of files",recommended:!1,url:"https://eslint.org/docs/latest/rules/eol-last"},fixable:"whitespace",schema:[{enum:["always","never","unix","windows"]}],messages:{missing:"Newline required at end of file but not found.",unexpected:"Newline not allowed at end of file."}},create(e){return{Program:function(r){let n=e.sourceCode,i=n.getText(),s=n.lines.at(-1),a={column:s.length,line:n.lines.length},u=` `,l=`\r${u}`,f=i.endsWith(u);if(!i.length)return;let p=e.options[0]||"always",g=!1;if(p==="unix"&&(p="always"),p==="windows"&&(p="always",g=!0),p==="always"&&!f)e.report({node:r,loc:a,messageId:"missing",fix(A){return A.insertTextAfterRange([0,i.length],g?l:u)}});else if(p==="never"&&f){let A=n.lines.at(-2);e.report({node:r,loc:{start:{line:n.lines.length-1,column:A.length},end:{line:n.lines.length,column:0}},messageId:"unexpected",fix(h){let _=/(?:\r?\n)+$/u,E=_.exec(n.text),b=E.index,D=n.text.length;return h.replaceTextRange([b,D],"")}})}}}}}});var Z0s=j((o0A,X0s)=>{"use strict";var W0s=ao();X0s.exports={meta:{type:"suggestion",hasSuggestions:!0,docs:{description:"Require the use of `===` and `!==`",recommended:!1,url:"https://eslint.org/docs/latest/rules/eqeqeq"},schema:{anyOf:[{type:"array",items:[{enum:["always"]},{type:"object",properties:{null:{enum:["always","never","ignore"]}},additionalProperties:!1}],additionalItems:!1},{type:"array",items:[{enum:["smart","allow-null"]}],additionalItems:!1}]},fixable:"code",messages:{unexpected:"Expected '{{expectedOperator}}' and instead saw '{{actualOperator}}'.",replaceOperator:"Use '{{expectedOperator}}' instead of '{{actualOperator}}'."}},create(e){let t=e.options[0]||"always",r=e.options[1]||{},n=e.sourceCode,i=t==="always"?r.null||"always":"ignore",s=i==="always",a=i==="never";function u(A){return A.type==="UnaryExpression"&&A.operator==="typeof"}function l(A){return u(A.left)||u(A.right)}function f(A){return A.left.type==="Literal"&&A.right.type==="Literal"&&typeof A.left.value==typeof A.right.value}function p(A){return W0s.isNullLiteral(A.right)||W0s.isNullLiteral(A.left)}function g(A,h){let _=n.getFirstTokenBetween(A.left,A.right,b=>b.value===A.operator),E={node:A,loc:_.loc,messageId:"unexpected",data:{expectedOperator:h,actualOperator:A.operator}};l(A)||f(A)?e.report({...E,fix(b){return b.replaceText(_,h)}}):e.report({...E,suggest:[{messageId:"replaceOperator",data:{expectedOperator:h,actualOperator:A.operator},fix:b=>b.replaceText(_,h)}]})}return{BinaryExpression(A){let h=p(A);if(A.operator!=="=="&&A.operator!=="!="){a&&h&&g(A,A.operator.slice(0,-1));return}t==="smart"&&(l(A)||f(A)||h)||!s&&h||g(A,`${A.operator}=`)}}}}});var e1s=j(Pft=>{"use strict";Object.defineProperty(Pft,"__esModule",{value:!0});var kft={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"]},BDl=Object.keys(kft);for(let e of BDl)Object.freeze(kft[e]);Object.freeze(kft);var kDl=new Set(["parent","leadingComments","trailingComments"]);function PDl(e){return!kDl.has(e)&&e[0]!=="_"}function NDl(e){return Object.keys(e).filter(PDl)}function ODl(e){let t=Object.assign({},kft);for(let r of Object.keys(e))if(Object.prototype.hasOwnProperty.call(t,r)){let n=new Set(e[r]);for(let i of t[r])n.add(i);t[r]=Object.freeze(Array.from(n))}else t[r]=Object.freeze(Array.from(e[r]));return Object.freeze(t)}Pft.KEYS=kft;Pft.getKeys=NDl;Pft.unionWith=ODl});var NS=j(hE=>{"use strict";Object.defineProperty(hE,"__esModule",{value:!0});var o1s=e1s();function Ttn(e,t){let r=t.range[0],n=e,i=!1;do{i=!1;for(let s of n.childScopes){let a=s.block.range;if(a[0]<=r&&r!e(t)}function qfe(e,t){return e.type==="Punctuator"&&e.value===t}function c$t(e){return qfe(e,"=>")}function Dtn(e){return qfe(e,",")}function wtn(e){return qfe(e,";")}function Btn(e){return qfe(e,":")}function jSe(e){return qfe(e,"(")}function f$t(e){return qfe(e,")")}function ktn(e){return qfe(e,"[")}function Ptn(e){return qfe(e,"]")}function Ntn(e){return qfe(e,"{")}function Otn(e){return qfe(e,"}")}function Rtn(e){return["Block","Line","Shebang"].includes(e.type)}var u1s=fse(c$t),l1s=fse(Dtn),c1s=fse(wtn),f1s=fse(Btn),p1s=fse(jSe),d1s=fse(f$t),m1s=fse(ktn),g1s=fse(Ptn),A1s=fse(Ntn),h1s=fse(Otn),y1s=fse(Rtn);function t1s(e,t){return e.id?t.getTokenAfter(e.id,jSe):t.getFirstToken(e,jSe)}function _1s(e,t){let r=e.parent,n=null,i=null;if(e.type==="ArrowFunctionExpression"){let s=t.getTokenBefore(e.body,c$t);n=s.loc.start,i=s.loc.end}else r.type==="Property"||r.type==="MethodDefinition"||r.type==="PropertyDefinition"?(n=r.loc.start,i=t1s(e,t).loc.start):(n=e.loc.start,i=t1s(e,t).loc.start);return{start:{...n},end:{...i}}}var E1s=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{},RDl=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"])),Stn=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,typeof BigInt=="function"?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=>e!=="random").map(e=>Math[e]).filter(e=>typeof e=="function"),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=>typeof e=="function")),r1s=new Set([Object.freeze,Object.preventExtensions,Object.seal]),FDl=[[Map,new Set(["size"])],[RegExp,new Set(["dotAll","flags","global","hasIndices","ignoreCase","multiline","source","sticky","unicode"])],[Set,new Set(["size"])]];function LDl(e,t){let r=e;for(;(typeof r=="object"||typeof r=="function")&&r!==null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}return null}function MDl(e,t){let r=LDl(e,t);return r!=null&&r.get!=null}function Nft(e,t){let r=[];for(let n=0;ni.init).length,n=t.filter(i=>i.isReadOnly()).length;return r===1&&n+r===t.length}function qDl(e,t){for(let n of e.references){let i=n.identifier;for(;i&&i.parent&&i.parent.type==="MemberExpression";)i=i.parent;if(!(!i||!i.parent)){if(i.parent.type==="AssignmentExpression"&&i.parent.left===i||i.parent.type==="UpdateExpression"&&i.parent.argument===i)return!0;if(i.parent.type==="CallExpression"&&i.parent.callee===i&&i.type==="MemberExpression"){let s=u$t(i,t);if(r(s))return!0}}}return!1;function r(n){if(n==null||n.value==null)return!1;let i=n.value;return i==="copyWithin"||i==="fill"||i==="pop"||i==="push"||i==="reverse"||i==="shift"||i==="sort"||i==="splice"||i==="unshift"}}var n1s=Object.freeze({ArrayExpression(e,t){let r=Nft(e.elements,t);return r!=null?{value:r}:null},AssignmentExpression(e,t){return e.operator==="="?GI(e.right,t):null},BinaryExpression(e,t){if(e.operator==="in"||e.operator==="instanceof")return null;let r=GI(e.left,t),n=GI(e.right,t);if(r!=null&&n!=null)switch(e.operator){case"==":return{value:r.value==n.value};case"!=":return{value:r.value!=n.value};case"===":return{value:r.value===n.value};case"!==":return{value:r.value!==n.value};case"<":return{value:r.value":return{value:r.value>n.value};case">=":return{value:r.value>=n.value};case"<<":return{value:r.value<>":return{value:r.value>>n.value};case">>>":return{value:r.value>>>n.value};case"+":return{value:r.value+n.value};case"-":return{value:r.value-n.value};case"*":return{value:r.value*n.value};case"/":return{value:r.value/n.value};case"%":return{value:r.value%n.value};case"**":return{value:r.value**n.value};case"|":return{value:r.value|n.value};case"^":return{value:r.value^n.value};case"&":return{value:r.value&n.value}}return null},CallExpression(e,t){let r=e.callee,n=Nft(e.arguments,t);if(n!=null)if(r.type==="MemberExpression"){if(r.property.type==="PrivateIdentifier")return null;let i=GI(r.object,t);if(i!=null){if(i.value==null&&(i.optional||e.optional))return{value:void 0,optional:!0};let s=u$t(r,t);if(s!=null){let a=i.value,u=s.value;if(Stn.has(a[u]))return{value:a[u](...n)};if(r1s.has(a[u]))return{value:n[0]}}}}else{let i=GI(r,t);if(i!=null){if(i.value==null&&e.optional)return{value:void 0,optional:!0};let s=i.value;if(Stn.has(s))return{value:s(...n)};if(r1s.has(s))return{value:n[0]}}}return null},ConditionalExpression(e,t){let r=GI(e.test,t);return r!=null?r.value?GI(e.consequent,t):GI(e.alternate,t):null},ExpressionStatement(e,t){return GI(e.expression,t)},Identifier(e,t){if(t!=null){let r=vGe(t,e);if(r!=null){if(QDl(r))return{value:E1s[r.name]};if(jDl(r)){let n=r.defs[0];if(n.node.id.type==="Identifier"){let i=GI(n.node.init,t);return i&&typeof i.value=="object"&&i.value!==null&&qDl(r,t)?null:i}}}}return null},Literal(e){let t=e;return(t.regex!=null||t.bigint!=null)&&t.value==null?null:{value:t.value}},LogicalExpression(e,t){let r=GI(e.left,t);if(r!=null){if(e.operator==="||"&&r.value||e.operator==="&&"&&!r.value||e.operator==="??"&&r.value!=null)return r;let n=GI(e.right,t);if(n!=null)return n}return null},MemberExpression(e,t){if(e.property.type==="PrivateIdentifier")return null;let r=GI(e.object,t);if(r!=null){if(r.value==null&&(r.optional||e.optional))return{value:void 0,optional:!0};let n=u$t(e,t);if(n!=null){if(!MDl(r.value,n.value))return{value:r.value[n.value]};for(let[i,s]of FDl)if(r.value instanceof i&&s.has(n.value))return{value:r.value[n.value]}}}return null},ChainExpression(e,t){let r=GI(e.expression,t);return r!=null?{value:r.value}:null},NewExpression(e,t){let r=GI(e.callee,t),n=Nft(e.arguments,t);if(r!=null&&n!=null){let i=r.value;if(Stn.has(i))return{value:new i(...n)}}return null},ObjectExpression(e,t){let r={};for(let n of e.properties)if(n.type==="Property"){if(n.kind!=="init")return null;let i=u$t(n,t),s=GI(n.value,t);if(i==null||s==null)return null;r[i.value]=s.value}else if(n.type==="SpreadElement"||n.type==="ExperimentalSpreadProperty"){let i=GI(n.argument,t);if(i==null)return null;Object.assign(r,i.value)}else return null;return{value:r}},SequenceExpression(e,t){let r=e.expressions[e.expressions.length-1];return GI(r,t)},TaggedTemplateExpression(e,t){let r=GI(e.tag,t),n=Nft(e.quasi.expressions,t);if(r!=null&&n!=null){let i=r.value,s=e.quasi.quasis.map(a=>a.value.cooked);if(s.raw=e.quasi.quasis.map(a=>a.value.raw),i===String.raw)return{value:i(s,...n)}}return null},TemplateLiteral(e,t){let r=Nft(e.expressions,t);if(r!=null){let n=e.quasis[0].value.cooked;for(let i=0;i",">=","<<",">>",">>>","+","-","*","/","%","|","^","&","in"])),VDl=Object.freeze(new Set(["-","+","!","~"]));function i1s(e){return e!==null&&typeof e=="object"&&typeof e.type=="string"}var $Dl=Object.freeze(Object.assign(Object.create(null),{$visit(e,t,r){let{type:n}=e;return typeof this[n]=="function"?this[n](e,t,r):this.$visitChildren(e,t,r)},$visitChildren(e,t,r){let{type:n}=e;for(let i of r[n]||o1s.getKeys(e)){let s=e[i];if(Array.isArray(s)){for(let a of s)if(i1s(a)&&this.$visit(a,t,r))return!0}else if(i1s(s)&&this.$visit(s,t,r))return!0}return!1},ArrowFunctionExpression(){return!1},AssignmentExpression(){return!0},AwaitExpression(){return!0},BinaryExpression(e,t,r){return t.considerImplicitTypeConversion&&GDl.has(e.operator)&&(e.left.type!=="Literal"||e.right.type!=="Literal")?!0:this.$visitChildren(e,t,r)},CallExpression(){return!0},FunctionExpression(){return!1},ImportExpression(){return!0},MemberExpression(e,t,r){return t.considerGetters||t.considerImplicitTypeConversion&&e.computed&&e.property.type!=="Literal"?!0:this.$visitChildren(e,t,r)},MethodDefinition(e,t,r){return t.considerImplicitTypeConversion&&e.computed&&e.key.type!=="Literal"?!0:this.$visitChildren(e,t,r)},NewExpression(){return!0},Property(e,t,r){return t.considerImplicitTypeConversion&&e.computed&&e.key.type!=="Literal"?!0:this.$visitChildren(e,t,r)},PropertyDefinition(e,t,r){return t.considerImplicitTypeConversion&&e.computed&&e.key.type!=="Literal"?!0:this.$visitChildren(e,t,r)},UnaryExpression(e,t,r){return e.operator==="delete"||t.considerImplicitTypeConversion&&VDl.has(e.operator)&&e.argument.type!=="Literal"?!0:this.$visitChildren(e,t,r)},UpdateExpression(){return!0},YieldExpression(){return!0}}));function v1s(e,t,r={}){let{considerGetters:n=!1,considerImplicitTypeConversion:i=!1}=r;return $Dl.$visit(e,{considerGetters:n,considerImplicitTypeConversion:i},t.visitorKeys||o1s.KEYS)}function KDl(e,t){let r=e.parent;switch(r.type){case"CallExpression":case"NewExpression":return r.arguments.length===1&&r.arguments[0]===e?t.getTokenAfter(r.typeArguments||r.typeParameters||r.callee,jSe):null;case"DoWhileStatement":return r.test===e?t.getTokenAfter(r.body,jSe):null;case"IfStatement":case"WhileStatement":return r.test===e?t.getFirstToken(r,1):null;case"ImportExpression":return r.source===e?t.getFirstToken(r,1):null;case"SwitchStatement":return r.discriminant===e?t.getFirstToken(r,1):null;case"WithStatement":return r.object===e?t.getFirstToken(r,1):null;default:return null}}function C1s(e,t,r){let n,i,s,a,u;if(typeof e=="number"){if(n=e|0,i=t,s=r,!(n>=1))throw new TypeError("'times' should be a positive integer.")}else n=1,i=e,s=t;if(i==null||i.parent==null||i.parent.type==="CatchClause"&&i.parent.param===i)return!1;a=u=i;do a=s.getTokenBefore(a),u=s.getTokenAfter(u);while(a!=null&&u!=null&&jSe(a)&&f$t(u)&&a!==KDl(i,s)&&--n>0);return n===0}var JDl=/\$(?:[$&`']|[1-9][0-9]?)/gu,s1s=new WeakMap;function HDl(e,t){let r=!1;for(let n=t-1;n>=0&&e.charCodeAt(n)===92;--n)r=!r;return r}function zDl(e,t,r){let n=[],i=0;function s(a,u){switch(a){case"$$":return"$";case"$&":return u[0];case"$`":return t.slice(0,u.index);case"$'":return t.slice(u.index+u[0].length);default:{let l=a.slice(1);return l in u?u[l]:a}}}for(let a of e.execAll(t))n.push(t.slice(i,a.index)),n.push(r.replace(JDl,u=>s(u,a))),i=a.index+a[0].length;return n.push(t.slice(i)),n.join("")}function WDl(e,t,r){let n=[],i=0;for(let s of e.execAll(t))n.push(t.slice(i,s.index)),n.push(String(r(...s,s.index,s.input))),i=s.index+s[0].length;return n.push(t.slice(i)),n.join("")}var l$t=class{constructor(t,r={}){let{escaped:n=!1}=r;if(!(t instanceof RegExp))throw new TypeError("'pattern' should be a RegExp instance.");if(!t.flags.includes("g"))throw new Error("'pattern' should contains 'g' flag.");s1s.set(this,{pattern:new RegExp(t.source,t.flags),escaped:!!n})}*execAll(t){let{pattern:r,escaped:n}=s1s.get(this),i=null,s=0;for(r.lastIndex=0;(i=r.exec(t))!=null;)(n||!HDl(t,i.index))&&(s=r.lastIndex,yield i,r.lastIndex=s)}test(t){return!this.execAll(t).next().done}[Symbol.replace](t,r){return typeof r=="function"?WDl(this,String(t),r):zDl(this,String(t),String(r))}},XDl=/^(?:Import|Export(?:All|Default|Named))Declaration$/u;function ZDl(e){return XDl.test(e.type)&&e.source!=null}var B7e=Function.call.bind(Object.hasOwnProperty),PS=Symbol("read"),k7e=Symbol("call"),CGe=Symbol("construct"),p$t=Symbol("esm"),ewl={require:{[k7e]:!0}};function a1s(e){return e==null||e.defs.length!==0||e.references.some(t=>t.isWrite())}function twl(e){let t=e.parent;if(t)switch(t.type){case"ConditionalExpression":return t.consequent===e||t.alternate===e;case"LogicalExpression":return!0;case"SequenceExpression":return t.expressions[t.expressions.length-1]===e;case"ChainExpression":return!0;case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":case"TSInstantiationExpression":return!0;default:return!1}return!1}var USe=class{constructor(t,r={}){let{mode:n="strict",globalObjectNames:i=["global","globalThis","self","window"]}=r;this.variableStack=[],this.globalScope=t,this.mode=n,this.globalObjectNames=i.slice(0)}*iterateGlobalReferences(t){for(let r of Object.keys(t)){let n=t[r],i=[r],s=this.globalScope.set.get(r);a1s(s)||(yield*this._iterateVariableReferences(s,i,n,!0))}for(let r of this.globalObjectNames){let n=[],i=this.globalScope.set.get(r);a1s(i)||(yield*this._iterateVariableReferences(i,n,t,!1))}}*iterateCjsReferences(t){for(let{node:r}of this.iterateGlobalReferences(ewl)){let n=Oft(r.arguments[0]);if(n==null||!B7e(t,n))continue;let i=t[n],s=[n];i[PS]&&(yield{node:r,path:s,type:PS,info:i[PS]}),yield*this._iteratePropertyReferences(r,s,i)}}*iterateEsmReferences(t){let r=this.globalScope.block;for(let n of r.body){if(!ZDl(n))continue;let i=n.source.value;if(!B7e(t,i))continue;let s=t[i],a=[i];if(s[PS]&&(yield{node:n,path:a,type:PS,info:s[PS]}),n.type==="ExportAllDeclaration")for(let u of Object.keys(s)){let l=s[u];l[PS]&&(yield{node:n,path:a.concat(u),type:PS,info:l[PS]})}else for(let u of n.specifiers){let l=B7e(s,p$t),f=this._iterateImportReferences(u,a,l?s:this.mode==="legacy"?{default:s,...s}:{default:s});if(l)yield*f;else for(let p of f)p.path=p.path.filter(rwl),(p.path.length>=2||p.type!==PS)&&(yield p)}}}*iteratePropertyReferences(t,r){yield*this._iteratePropertyReferences(t,[],r)}*_iterateVariableReferences(t,r,n,i){if(!this.variableStack.includes(t)){this.variableStack.push(t);try{for(let s of t.references){if(!s.isRead())continue;let a=s.identifier;i&&n[PS]&&(yield{node:a,path:r,type:PS,info:n[PS]}),yield*this._iteratePropertyReferences(a,r,n)}}finally{this.variableStack.pop()}}}*_iteratePropertyReferences(t,r,n){let i=t;for(;twl(i);)i=i.parent;let s=i.parent;if(s.type==="MemberExpression"){if(s.object===i){let a=Rft(s);if(a==null||!B7e(n,a))return;r=r.concat(a);let u=n[a];u[PS]&&(yield{node:s,path:r,type:PS,info:u[PS]}),yield*this._iteratePropertyReferences(s,r,u)}return}if(s.type==="CallExpression"){s.callee===i&&n[k7e]&&(yield{node:s,path:r,type:k7e,info:n[k7e]});return}if(s.type==="NewExpression"){s.callee===i&&n[CGe]&&(yield{node:s,path:r,type:CGe,info:n[CGe]});return}if(s.type==="AssignmentExpression"){s.right===i&&(yield*this._iterateLhsReferences(s.left,r,n),yield*this._iteratePropertyReferences(s,r,n));return}if(s.type==="AssignmentPattern"){s.right===i&&(yield*this._iterateLhsReferences(s.left,r,n));return}s.type==="VariableDeclarator"&&s.init===i&&(yield*this._iterateLhsReferences(s.id,r,n))}*_iterateLhsReferences(t,r,n){if(t.type==="Identifier"){let i=vGe(this.globalScope,t);i!=null&&(yield*this._iterateVariableReferences(i,r,n,!1));return}if(t.type==="ObjectPattern"){for(let i of t.properties){let s=Rft(i);if(s==null||!B7e(n,s))continue;let a=r.concat(s),u=n[s];u[PS]&&(yield{node:i,path:a,type:PS,info:u[PS]}),yield*this._iterateLhsReferences(i.value,a,u)}return}t.type==="AssignmentPattern"&&(yield*this._iterateLhsReferences(t.left,r,n))}*_iterateImportReferences(t,r,n){let i=t.type;if(i==="ImportSpecifier"||i==="ImportDefaultSpecifier"){let s=i==="ImportDefaultSpecifier"?"default":t.imported.type==="Identifier"?t.imported.name:t.imported.value;if(!B7e(n,s))return;r=r.concat(s);let a=n[s];a[PS]&&(yield{node:t,path:r,type:PS,info:a[PS]}),yield*this._iterateVariableReferences(vGe(this.globalScope,t.local),r,a,!1);return}if(i==="ImportNamespaceSpecifier"){yield*this._iterateVariableReferences(vGe(this.globalScope,t.local),r,n,!1);return}if(i==="ExportSpecifier"){let s=t.local.type==="Identifier"?t.local.name:t.local.value;if(!B7e(n,s))return;r=r.concat(s);let a=n[s];a[PS]&&(yield{node:t,path:r,type:PS,info:a[PS]})}}};USe.READ=PS;USe.CALL=k7e;USe.CONSTRUCT=CGe;USe.ESM=p$t;function rwl(e,t){return!(t===1&&e==="default")}var nwl={CALL:k7e,CONSTRUCT:CGe,ESM:p$t,findVariable:vGe,getFunctionHeadLocation:_1s,getFunctionNameWithKind:x1s,getInnermostScope:Ttn,getPropertyName:Rft,getStaticValue:Ftn,getStringIfConstant:Oft,hasSideEffect:v1s,isArrowToken:c$t,isClosingBraceToken:Otn,isClosingBracketToken:Ptn,isClosingParenToken:f$t,isColonToken:Btn,isCommaToken:Dtn,isCommentToken:Rtn,isNotArrowToken:u1s,isNotClosingBraceToken:h1s,isNotClosingBracketToken:g1s,isNotClosingParenToken:d1s,isNotColonToken:f1s,isNotCommaToken:l1s,isNotCommentToken:y1s,isNotOpeningBraceToken:A1s,isNotOpeningBracketToken:m1s,isNotOpeningParenToken:p1s,isNotSemicolonToken:c1s,isOpeningBraceToken:Ntn,isOpeningBracketToken:ktn,isOpeningParenToken:jSe,isParenthesized:C1s,isSemicolonToken:wtn,PatternMatcher:l$t,READ:PS,ReferenceTracker:USe};hE.CALL=k7e;hE.CONSTRUCT=CGe;hE.ESM=p$t;hE.PatternMatcher=l$t;hE.READ=PS;hE.ReferenceTracker=USe;hE.default=nwl;hE.findVariable=vGe;hE.getFunctionHeadLocation=_1s;hE.getFunctionNameWithKind=x1s;hE.getInnermostScope=Ttn;hE.getPropertyName=Rft;hE.getStaticValue=Ftn;hE.getStringIfConstant=Oft;hE.hasSideEffect=v1s;hE.isArrowToken=c$t;hE.isClosingBraceToken=Otn;hE.isClosingBracketToken=Ptn;hE.isClosingParenToken=f$t;hE.isColonToken=Btn;hE.isCommaToken=Dtn;hE.isCommentToken=Rtn;hE.isNotArrowToken=u1s;hE.isNotClosingBraceToken=h1s;hE.isNotClosingBracketToken=g1s;hE.isNotClosingParenToken=d1s;hE.isNotColonToken=f1s;hE.isNotCommaToken=l1s;hE.isNotCommentToken=y1s;hE.isNotOpeningBraceToken=A1s;hE.isNotOpeningBracketToken=m1s;hE.isNotOpeningParenToken=p1s;hE.isNotSemicolonToken=c1s;hE.isOpeningBraceToken=Ntn;hE.isOpeningBracketToken=ktn;hE.isOpeningParenToken=jSe;hE.isParenthesized=C1s;hE.isSemicolonToken=wtn});var I1s=j((c0A,b1s)=>{"use strict";var{getStaticValue:iwl}=NS();b1s.exports={meta:{type:"problem",docs:{description:"Enforce `for` loop update clause moving the counter in the right direction",recommended:!0,url:"https://eslint.org/docs/latest/rules/for-direction"},fixable:null,schema:[],messages:{incorrectDirection:"The update clause in this loop moves the variable in the wrong direction."}},create(e){let{sourceCode:t}=e;function r(a){e.report({loc:{start:a.loc.start,end:t.getTokenBefore(a.body).loc.end},messageId:"incorrectDirection"})}function n(a,u){let l=iwl(a.right,t.getScope(a));if(l&&["bigint","boolean","number"].includes(typeof l.value)){let f=Math.sign(Number(l.value))||0;return u*f}return 0}function i(a,u){if(a.argument.type==="Identifier"&&a.argument.name===u){if(a.operator==="++")return 1;if(a.operator==="--")return-1}return 0}function s(a,u){if(a.left.name===u){if(a.operator==="+=")return n(a,1);if(a.operator==="-=")return n(a,-1)}return 0}return{ForStatement(a){if(a.test&&a.test.type==="BinaryExpression"&&a.update)for(let u of["left","right"]){if(a.test[u].type!=="Identifier")continue;let l=a.test[u].name,f=a.test.operator,p=a.update,g;if(f==="<"||f==="<=")g=u==="left"?-1:1;else if(f===">"||f===">=")g=u==="left"?1:-1;else return;p.type==="UpdateExpression"?i(p,l)===g&&r(a):p.type==="AssignmentExpression"&&s(p,l)===g&&r(a)}}}}}});var T1s=j((f0A,S1s)=>{"use strict";var Ltn=ao();S1s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/function-call-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing between function identifiers and their invocations",recommended:!1,url:"https://eslint.org/docs/latest/rules/func-call-spacing"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{enum:["never"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always"]},{type:"object",properties:{allowNewlines:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpectedWhitespace:"Unexpected whitespace between function name and paren.",unexpectedNewline:"Unexpected newline between function name and paren.",missing:"Missing space between function name and paren."}},create(e){let t=e.options[0]!=="always",r=!t&&e.options[1]&&e.options[1].allowNewlines,n=e.sourceCode,i=n.getText();function s(a,u,l){let f=i.slice(u.range[1],l.range[0]).replace(/\/\*.*?\*\//gu,""),p=/\s/u.test(f),g=p&&Ltn.LINEBREAK_MATCHER.test(f);t&&p?e.report({node:a,loc:{start:u.loc.end,end:{line:l.loc.start.line,column:l.loc.start.column-1}},messageId:"unexpectedWhitespace",fix(A){return n.commentsExistBetween(u,l)?null:a.optional?A.replaceTextRange([u.range[1],l.range[0]],"?."):g?null:A.removeRange([u.range[1],l.range[0]])}}):!t&&!p?e.report({node:a,loc:{start:{line:u.loc.end.line,column:u.loc.end.column-1},end:l.loc.start},messageId:"missing",fix(A){return a.optional?null:A.insertTextBefore(l," ")}}):!t&&!r&&g&&e.report({node:a,loc:{start:u.loc.end,end:l.loc.start},messageId:"unexpectedNewline",fix(A){if(!a.optional||n.commentsExistBetween(u,l))return null;let h=[u.range[1],l.range[0]],_=n.getTokenAfter(u);return _.range[0]===u.range[1]?A.replaceTextRange(h,"?. "):_.range[1]===l.range[0]?A.replaceTextRange(h," ?."):A.replaceTextRange(h," ?. ")}})}return{"CallExpression, NewExpression"(a){let u=n.getLastToken(a),l=n.getLastToken(a.callee),f=n.getFirstTokenBetween(l,u,Ltn.isOpeningParenToken),p=f&&n.getTokenBefore(f,Ltn.isNotQuestionDotToken);f&&f.range[1]{"use strict";var D1s=ao(),w1s=xft();function swl(e){return e.type==="MemberExpression"&&e.object.type==="Identifier"&&e.object.name==="module"&&(e.property.type==="Identifier"&&e.property.name==="exports"||e.property.type==="Literal"&&e.property.value==="exports")}function B1s(e,t){return t>=2015?w1s.keyword.isIdentifierES6(e):w1s.keyword.isIdentifierES5(e)}var awl={enum:["always","never"]},k1s={type:"object",properties:{considerPropertyDescriptor:{type:"boolean"},includeCommonJSModuleExports:{type:"boolean"}},additionalProperties:!1};P1s.exports={meta:{type:"suggestion",docs:{description:"Require function names to match the name of the variable or property to which they are assigned",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/func-name-matching"},schema:{anyOf:[{type:"array",additionalItems:!1,items:[awl,k1s]},{type:"array",additionalItems:!1,items:[k1s]}]},messages:{matchProperty:"Function name `{{funcName}}` should match property name `{{name}}`.",matchVariable:"Function name `{{funcName}}` should match variable name `{{name}}`.",notMatchProperty:"Function name `{{funcName}}` should not match property name `{{name}}`.",notMatchVariable:"Function name `{{funcName}}` should not match variable name `{{name}}`."}},create(e){let t=(typeof e.options[0]=="object"?e.options[0]:e.options[1])||{},r=typeof e.options[0]=="string"?e.options[0]:"always",n=t.considerPropertyDescriptor,i=t.includeCommonJSModuleExports,s=e.languageOptions.ecmaVersion;function a(p,g,A){return A?A.type==="CallExpression"&&D1s.isSpecificMemberAccess(A.callee,p,g):!1}function u(p,g){return r==="always"&&p!==g||r==="never"&&p===g}function l(p,g,A,h){let _;r==="always"&&h?_="matchProperty":r==="always"?_="matchVariable":h?_="notMatchProperty":_="notMatchVariable",e.report({node:p,messageId:_,data:{name:g,funcName:A}})}function f(p){return p.type==="Literal"&&typeof p.value=="string"}return{VariableDeclarator(p){!p.init||p.init.type!=="FunctionExpression"||p.id.type!=="Identifier"||p.init.id&&u(p.id.name,p.init.id.name)&&l(p,p.id.name,p.init.id.name,!1)},AssignmentExpression(p){if(p.right.type!=="FunctionExpression"||p.left.computed&&p.left.property.type!=="Literal"||!i&&swl(p.left)||p.left.type!=="Identifier"&&p.left.type!=="MemberExpression")return;let g=p.left.type==="MemberExpression",A=g?D1s.getStaticPropertyName(p.left):p.left.name;p.right.id&&A&&B1s(A)&&u(A,p.right.id.name)&&l(p,A,p.right.id.name,g)},"Property, PropertyDefinition[value]"(p){if(p.value.type==="FunctionExpression"&&p.value.id){if(p.key.type==="Identifier"&&!p.computed){let g=p.value.id.name,A=p.key.name;if(n&&A==="value"&&p.parent.type==="ObjectExpression")if(a("Object","defineProperty",p.parent.parent)||a("Reflect","defineProperty",p.parent.parent)){let h=p.parent.parent.arguments[1];f(h)&&u(h.value,g)&&l(p,h.value,g,!0)}else a("Object","defineProperties",p.parent.parent.parent.parent)||a("Object","create",p.parent.parent.parent.parent)?(A=p.parent.parent.key.name,!p.parent.parent.computed&&u(A,g)&&l(p,A,g,!0)):u(A,g)&&l(p,A,g,!0);else u(A,g)&&l(p,A,g,!0);return}f(p.key)&&B1s(p.key.value,s)&&u(p.key.value,p.value.id.name)&&l(p,p.key.value,p.value.id.name,!0)}}}}}});var R1s=j((d0A,O1s)=>{"use strict";var d$t=ao();function owl(e){return e&&e.defs[0].type==="FunctionName"}O1s.exports={meta:{type:"suggestion",defaultOptions:["always",{}],docs:{description:"Require or disallow named `function` expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/func-names"},schema:{definitions:{value:{enum:["always","as-needed","never"]}},items:[{$ref:"#/definitions/value"},{type:"object",properties:{generators:{$ref:"#/definitions/value"}},additionalProperties:!1}]},messages:{unnamed:"Unexpected unnamed {{name}}.",named:"Unexpected named {{name}}."}},create(e){let t=e.sourceCode;function r(l){return l.generator&&e.options[1].generators?e.options[1].generators:e.options[0]}function n(l){let f=l.parent;return f.type==="MethodDefinition"||f.type==="Property"&&(f.method||f.kind==="get"||f.kind==="set")}function i(l){let f=l.parent;return n(l)||f.type==="VariableDeclarator"&&f.id.type==="Identifier"&&f.init===l||f.type==="Property"&&f.value===l||f.type==="PropertyDefinition"&&f.value===l||f.type==="AssignmentExpression"&&f.left.type==="Identifier"&&f.right===l||f.type==="AssignmentPattern"&&f.left.type==="Identifier"&&f.right===l}function s(l){e.report({node:l,messageId:"unnamed",loc:d$t.getFunctionHeadLoc(l,t),data:{name:d$t.getFunctionNameWithKind(l)}})}function a(l){e.report({node:l,messageId:"named",loc:d$t.getFunctionHeadLoc(l,t),data:{name:d$t.getFunctionNameWithKind(l)}})}function u(l){let f=t.getDeclaredVariables(l)[0];if(owl(f)&&f.references.length>0)return;let p=!!(l.id&&l.id.name),g=r(l);g==="never"?p&&l.type!=="FunctionDeclaration"&&a(l):g==="as-needed"?!p&&!i(l)&&s(l):!p&&!n(l)&&s(l)}return{"FunctionExpression:exit":u,"ExportDefaultDeclaration > FunctionDeclaration":u}}}});var L1s=j((m0A,F1s)=>{"use strict";F1s.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:["expression",{allowArrowFunctions:!1,allowTypeAnnotation:!1,overrides:{}}],docs:{description:"Enforce the consistent use of either `function` declarations or expressions assigned to variables",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/func-style"},schema:[{enum:["declaration","expression"]},{type:"object",properties:{allowArrowFunctions:{type:"boolean"},allowTypeAnnotation:{type:"boolean"},overrides:{type:"object",properties:{namedExports:{enum:["declaration","expression","ignore"]}},additionalProperties:!1}},additionalProperties:!1}],messages:{expression:"Expected a function expression.",declaration:"Expected a function declaration."}},create(e){let[t,{allowArrowFunctions:r,allowTypeAnnotation:n,overrides:i}]=e.options,s=t==="declaration",{namedExports:a}=i,u=[];function l(p){let g=p.id.name;return p.parent.type==="ExportNamedDeclaration"?p.parent.parent.body.some(A=>A.type==="ExportNamedDeclaration"&&A.declaration?.type==="TSDeclareFunction"&&A.declaration.id.name===g):p.parent.type==="SwitchCase"?p.parent.parent.cases.some(A=>A.consequent.some(h=>h.type==="TSDeclareFunction"&&h.id.name===g)):Array.isArray(p.parent.body)&&p.parent.body.some(A=>A.type==="TSDeclareFunction"&&A.id.name===g)}let f={FunctionDeclaration(p){u.push(!1),!s&&p.parent.type!=="ExportDefaultDeclaration"&&(typeof a>"u"||p.parent.type!=="ExportNamedDeclaration")&&!l(p)&&e.report({node:p,messageId:"expression"}),p.parent.type==="ExportNamedDeclaration"&&a==="expression"&&!l(p)&&e.report({node:p,messageId:"expression"})},"FunctionDeclaration:exit"(){u.pop()},FunctionExpression(p){u.push(!1),s&&p.parent.type==="VariableDeclarator"&&(typeof a>"u"||p.parent.parent.parent.type!=="ExportNamedDeclaration")&&!(n&&p.parent.id.typeAnnotation)&&e.report({node:p.parent,messageId:"declaration"}),p.parent.type==="VariableDeclarator"&&p.parent.parent.parent.type==="ExportNamedDeclaration"&&a==="declaration"&&!(n&&p.parent.id.typeAnnotation)&&e.report({node:p.parent,messageId:"declaration"})},"FunctionExpression:exit"(){u.pop()},"ThisExpression, Super"(){u.length>0&&(u[u.length-1]=!0)}};return r||(f.ArrowFunctionExpression=function(){u.push(!1)},f["ArrowFunctionExpression:exit"]=function(p){!u.pop()&&p.parent.type==="VariableDeclarator"&&(s&&(typeof a>"u"||p.parent.parent.parent.type!=="ExportNamedDeclaration")&&!(n&&p.parent.id.typeAnnotation)&&e.report({node:p.parent,messageId:"declaration"}),p.parent.parent.parent.type==="ExportNamedDeclaration"&&a==="declaration"&&!(n&&p.parent.id.typeAnnotation)&&e.report({node:p.parent,messageId:"declaration"}))}),f}}});var Q1s=j((g0A,M1s)=>{"use strict";M1s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-call-argument-newline",url:"https://eslint.style/rules/function-call-argument-newline"}}]},type:"layout",docs:{description:"Enforce line breaks between arguments of a function call",recommended:!1,url:"https://eslint.org/docs/latest/rules/function-call-argument-newline"},fixable:"whitespace",schema:[{enum:["always","never","consistent"]}],messages:{unexpectedLineBreak:"There should be no line break here.",missingLineBreak:"There should be a line break after this argument."}},create(e){let t=e.sourceCode,r={unexpected:{messageId:"unexpectedLineBreak",check:(s,a)=>s.loc.end.line!==a.loc.start.line,createFix:(s,a)=>u=>u.replaceTextRange([a.range[1],s.range[0]]," ")},missing:{messageId:"missingLineBreak",check:(s,a)=>s.loc.end.line===a.loc.start.line,createFix:(s,a)=>u=>u.replaceTextRange([a.range[1],s.range[0]],` `)}};function n(s,a){for(let u=1;u{"use strict";var pse=ao();j1s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-paren-newline",url:"https://eslint.style/rules/function-paren-newline"}}]},type:"layout",docs:{description:"Enforce consistent line breaks inside function parentheses",recommended:!1,url:"https://eslint.org/docs/latest/rules/function-paren-newline"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never","consistent","multiline","multiline-arguments"]},{type:"object",properties:{minItems:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{expectedBefore:"Expected newline before ')'.",expectedAfter:"Expected newline after '('.",expectedBetween:"Expected newline between arguments/params.",unexpectedBefore:"Unexpected newline before ')'.",unexpectedAfter:"Unexpected newline after '('."}},create(e){let t=e.sourceCode,r=e.options[0]||"multiline",n=r==="multiline",i=r==="multiline-arguments",s=r==="consistent",a;typeof r=="object"?a=r.minItems:r==="always"?a=0:r==="never"?a=1/0:a=null;function u(g,A){return i&&g.length===1?A:n||i?g.some((h,_)=>_!==g.length-1&&h.loc.end.line!==g[_+1].loc.start.line):s?A:g.length>=a}function l(g,A){let h=g.leftParen,_=g.rightParen,E=t.getTokenAfter(h),b=t.getTokenBefore(_),D=!pse.isTokenOnSameLine(h,E),k=!pse.isTokenOnSameLine(b,_),M=u(A,D);D&&!M?e.report({node:h,messageId:"unexpectedAfter",fix(R){return t.getText().slice(h.range[1],E.range[0]).trim()?null:R.removeRange([h.range[1],E.range[0]])}}):!D&&M&&e.report({node:h,messageId:"expectedAfter",fix:R=>R.insertTextAfter(h,` `)}),k&&!M?e.report({node:_,messageId:"unexpectedBefore",fix(R){return t.getText().slice(b.range[1],_.range[0]).trim()?null:R.removeRange([b.range[1],_.range[0]])}}):!k&&M&&e.report({node:_,messageId:"expectedBefore",fix:R=>R.insertTextBefore(_,` `)})}function f(g,A){let h=g.leftParen,_=t.getTokenAfter(h),E=!pse.isTokenOnSameLine(h,_),b=u(A,E);for(let D=0;D<=A.length-2;D++){let k=A[D],M=A[D+1];!(k.loc.end.line!==M.loc.start.line)&&b&&e.report({node:k,messageId:"expectedBetween",fix:q=>q.insertTextBefore(M,` `)})}}function p(g){switch(g.type){case"NewExpression":if(!g.arguments.length&&!(pse.isOpeningParenToken(t.getLastToken(g,{skip:1}))&&pse.isClosingParenToken(t.getLastToken(g))&&g.callee.range[1]{"use strict";var Mtn={oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]};q1s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"generator-star-spacing",url:"https://eslint.style/rules/generator-star-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing around `*` operators in generator functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/generator-star-spacing"},fixable:"whitespace",schema:[{oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"},named:Mtn,anonymous:Mtn,method:Mtn},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(e){let t={before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}};function r(p,g){return p?typeof p=="string"?t[p]:Object.assign({},g,p):g}let n=(function(p){let g=r(p,t.before);return{named:r(p.named,g),anonymous:r(p.anonymous,g),method:r(p.method,g)}})(e.options[0]||{}),i=e.sourceCode;function s(p){return p.value==="*"&&p.type==="Punctuator"}function a(p){return i.getFirstToken(p.parent.method||p.parent.type==="MethodDefinition"?p.parent:p,s)}function u(p){return p[0].toUpperCase()+p.slice(1)}function l(p,g,A,h){if(!!(h.range[0]-A.range[1])!==n[p][g]){let _=A.value==="*",E=n[p][g],b=_?A:h,D=`${E?"missing":"unexpected"}${u(g)}`;e.report({node:b,messageId:D,fix(k){return E?_?k.insertTextAfter(b," "):k.insertTextBefore(b," "):k.removeRange([A.range[1],h.range[0]])}})}}function f(p){if(!p.generator)return;let g=a(p),A=i.getTokenBefore(g),h=i.getTokenAfter(g),_="named";p.parent.type==="MethodDefinition"||p.parent.type==="Property"&&p.parent.method?_="method":p.id||(_="anonymous"),_==="method"&&g===i.getFirstToken(p.parent)||l(_,"before",A,g),l(_,"after",g,h)}return{FunctionDeclaration:f,FunctionExpression:f}}}});var V1s=j((y0A,G1s)=>{"use strict";var qSe=ao(),uwl=/^(?:Arrow)?FunctionExpression$/u;function lwl(e){for(let t of e)if(t.reachable)return!0;return!1}G1s.exports={meta:{type:"problem",defaultOptions:[{allowImplicit:!1}],docs:{description:"Enforce `return` statements in getters",recommended:!0,url:"https://eslint.org/docs/latest/rules/getter-return"},fixable:null,schema:[{type:"object",properties:{allowImplicit:{type:"boolean"}},additionalProperties:!1}],messages:{expected:"Expected to return a value in {{name}}.",expectedAlways:"Expected {{name}} to always return a value."}},create(e){let[{allowImplicit:t}]=e.options,r=e.sourceCode,n={upper:null,codePath:null,hasReturn:!1,shouldCheck:!1,node:null,currentSegments:[]};function i(a){n.shouldCheck&&lwl(n.currentSegments)&&e.report({node:a,loc:qSe.getFunctionHeadLoc(a,r),messageId:n.hasReturn?"expectedAlways":"expected",data:{name:qSe.getFunctionNameWithKind(n.node)}})}function s(a){let u=a.parent;if(uwl.test(a.type)&&a.body.type==="BlockStatement"){if(u.kind==="get")return!0;if(u.type==="Property"&&qSe.getStaticPropertyName(u)==="get"&&u.parent.type==="ObjectExpression"){if(u.parent.parent.type==="CallExpression"){let l=u.parent.parent.callee;if(qSe.isSpecificMemberAccess(l,"Object","defineProperty")||qSe.isSpecificMemberAccess(l,"Reflect","defineProperty"))return!0}if(u.parent.parent.type==="Property"&&u.parent.parent.parent.type==="ObjectExpression"&&u.parent.parent.parent.parent.type==="CallExpression"){let l=u.parent.parent.parent.parent.callee;return qSe.isSpecificMemberAccess(l,"Object","defineProperties")||qSe.isSpecificMemberAccess(l,"Object","create")}}}return!1}return{onCodePathStart(a,u){n={upper:n,codePath:a,hasReturn:!1,shouldCheck:s(u),node:u,currentSegments:new Set}},onCodePathEnd(){n=n.upper},onUnreachableCodePathSegmentStart(a){n.currentSegments.add(a)},onUnreachableCodePathSegmentEnd(a){n.currentSegments.delete(a)},onCodePathSegmentStart(a){n.currentSegments.add(a)},onCodePathSegmentEnd(a){n.currentSegments.delete(a)},ReturnStatement(a){n.shouldCheck&&(n.hasReturn=!0,!t&&!a.argument&&e.report({node:a,messageId:"expected",data:{name:qSe.getFunctionNameWithKind(n.node)}}))},"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i}}}});var K1s=j((_0A,$1s)=>{"use strict";var cwl=new Set(["AssignmentExpression","VariableDeclarator","MemberExpression","ExpressionStatement","CallExpression","ConditionalExpression","Program","VariableDeclaration","ChainExpression"]);function fwl(e,t){let r=e.references.filter(n=>n.identifier.range[0]===t.range[0]&&n.identifier.range[1]===t.range[1]);return r.length===1?r[0]:null}function pwl(e,t){let r=fwl(e,t);return r&&r.resolved&&r.resolved.defs.length>0}$1s.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"global-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/global-require.md"}}]},type:"suggestion",docs:{description:"Require `require()` calls to be placed at top-level module scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/global-require"},schema:[],messages:{unexpected:"Unexpected require()."}},create(e){let t=e.sourceCode;return{CallExpression(r){let n=t.getScope(r);r.callee.name==="require"&&!pwl(n,r.callee)&&(t.getAncestors(r).every(s=>cwl.has(s.type))||e.report({node:r,messageId:"unexpected"}))}}}}});var H1s=j((E0A,J1s)=>{"use strict";var m$t=ao();function dwl(e,t){if(e.length!==t.length)return!1;for(let r=0;r1?i("notGrouped",b,D):(t==="getBeforeSet"&&_>E||t==="setBeforeGet"&&_u.type==="Property")},ClassBody(a){s(a.body,u=>u.type==="MethodDefinition"&&!u.static),s(a.body,u=>u.type==="MethodDefinition"&&u.static)},"TSTypeLiteral, TSInterfaceBody"(a){r&&s(a.type==="TSTypeLiteral"?a.members:a.body,u=>u.type==="TSMethodSignature")}}}}});var W1s=j((x0A,z1s)=>{"use strict";z1s.exports={meta:{type:"suggestion",docs:{description:"Require `for-in` loops to include an `if` statement",recommended:!1,url:"https://eslint.org/docs/latest/rules/guard-for-in"},schema:[],messages:{wrap:"The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype."}},create(e){return{ForInStatement(t){let r=t.body;if(r.type!=="EmptyStatement"&&r.type!=="IfStatement"&&!(r.type==="BlockStatement"&&r.body.length===0)&&!(r.type==="BlockStatement"&&r.body.length===1&&r.body[0].type==="IfStatement")){if(r.type==="BlockStatement"&&r.body.length>=1&&r.body[0].type==="IfStatement"){let n=r.body[0];if(n.consequent.type==="ContinueStatement"||n.consequent.type==="BlockStatement"&&n.consequent.body.length===1&&n.consequent.body[0].type==="ContinueStatement")return}e.report({node:t,messageId:"wrap"})}}}}}});var Z1s=j((v0A,X1s)=>{"use strict";X1s.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"handle-callback-err",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/handle-callback-err.md"}}]},type:"suggestion",docs:{description:"Require error handling in callbacks",recommended:!1,url:"https://eslint.org/docs/latest/rules/handle-callback-err"},schema:[{type:"string"}],messages:{expected:"Expected error to be handled."}},create(e){let t=e.options[0]||"err",r=e.sourceCode;function n(u){return u[0]==="^"}function i(u){return n(t)?new RegExp(t,"u").test(u):u===t}function s(u){return u.variables.filter(l=>l.defs[0]&&l.defs[0].type==="Parameter")}function a(u){let l=r.getScope(u),f=s(l),p=f[0];p&&i(p.name)&&p.references.length===0&&e.report({node:u,messageId:"expected"})}return{FunctionDeclaration:a,FunctionExpression:a,ArrowFunctionExpression:a}}}});var tys=j((C0A,eys)=>{"use strict";function Awl(e){let t=e.parent;return t.type==="AssignmentExpression"&&t.left===e||t.type==="ArrayPattern"||t.type==="RestElement"||t.type==="Property"&&t.value===e&&t.parent.type==="ObjectPattern"||t.type==="AssignmentPattern"&&t.left===e}function hwl(e){let t=e.parent;return t.type==="ImportSpecifier"&&t.imported!==t.local&&t.imported===e||t.type==="ExportSpecifier"&&t.parent.source&&t.local!==t.exported&&t.local===e}function ywl(e){let t=e.parent;return!t.computed&&t.type==="Property"&&t.parent.type==="ObjectPattern"&&t.value!==e&&t.key===e}function _wl(e){let t=e.parent;return t.type==="Property"&&t.parent.type==="ObjectExpression"&&t.shorthand}eys.exports={meta:{deprecated:{message:"The rule was renamed.",url:"https://eslint.org/blog/2020/07/eslint-v7.5.0-released/#deprecating-id-blacklist",deprecatedSince:"7.5.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"id-denylist",url:"https://eslint.org/docs/rules/id-denylist"}}]},type:"suggestion",docs:{description:"Disallow specified identifiers",recommended:!1,url:"https://eslint.org/docs/latest/rules/id-blacklist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted."}},create(e){let t=new Set(e.options),r=new Set,n=e.sourceCode,i;function s(f){return t.has(f)}function a(f){let p=i.set.get(f.name);return p&&p.defs.length===0&&p.references.some(g=>g.identifier===f)}function u(f){let p=f.parent;return p.type==="MemberExpression"&&p.property===f&&!p.computed?Awl(p):p.type!=="CallExpression"&&p.type!=="NewExpression"&&!hwl(f)&&!ywl(f)&&!(a(f)&&!_wl(f))}function l(f){r.has(f.range.toString())||(e.report({node:f,messageId:"restricted",data:{name:f.name}}),r.add(f.range.toString()))}return{Program(f){i=n.getScope(f)},Identifier(f){s(f.name)&&u(f)&&l(f)}}}}});var nys=j((b0A,rys)=>{"use strict";var Ewl=ao();function xwl(e){let t=e.parent;return t.type==="AssignmentExpression"&&t.left===e||t.type==="ArrayPattern"||t.type==="RestElement"||t.type==="Property"&&t.value===e&&t.parent.type==="ObjectPattern"||t.type==="AssignmentPattern"&&t.left===e}function vwl(e){let t=e.parent;return t.type==="ImportSpecifier"&&t.imported!==t.local&&t.imported===e||t.type==="ExportSpecifier"&&t.parent.source&&t.local!==t.exported&&t.local===e}function Cwl(e){let t=e.parent;return!t.computed&&t.type==="Property"&&t.parent.type==="ObjectPattern"&&t.key===e}rys.exports={meta:{type:"suggestion",defaultOptions:[],docs:{description:"Disallow specified identifiers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-denylist"},schema:{type:"array",items:{type:"string"},uniqueItems:!0},messages:{restricted:"Identifier '{{name}}' is restricted.",restrictedPrivate:"Identifier '#{{name}}' is restricted."}},create(e){let t=new Set(e.options),r=new Set,n=e.sourceCode,i;function s(f){return t.has(f)}function a(f){let p=i.set.get(f.name);return p&&p.defs.length===0&&p.references.some(g=>g.identifier===f)}function u(f){if(Ewl.isImportAttributeKey(f))return!1;let p=f.parent;return p.type==="MemberExpression"&&p.property===f&&!p.computed?xwl(p):p.type!=="CallExpression"&&p.type!=="NewExpression"&&!vwl(f)&&!Cwl(f)&&!a(f)}function l(f){if(!r.has(f.range.toString())){let p=f.type==="PrivateIdentifier";e.report({node:f,messageId:p?"restrictedPrivate":"restricted",data:{name:f.name}}),r.add(f.range.toString())}}return{Program(f){i=n.getScope(f)},[["Identifier","PrivateIdentifier"]](f){s(f.name)&&u(f)&&l(f)}}}}});var ays=j((I0A,sys)=>{"use strict";var{getGraphemeCount:bwl}=QSe(),{getModuleExportName:iys,isImportAttributeKey:Iwl}=ao();sys.exports={meta:{type:"suggestion",defaultOptions:[{exceptionPatterns:[],exceptions:[],min:2,properties:"always"}],docs:{description:"Enforce minimum and maximum identifier lengths",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-length"},schema:[{type:"object",properties:{min:{type:"integer"},max:{type:"integer"},exceptions:{type:"array",uniqueItems:!0,items:{type:"string"}},exceptionPatterns:{type:"array",uniqueItems:!0,items:{type:"string"}},properties:{enum:["always","never"]}},additionalProperties:!1}],messages:{tooShort:"Identifier name '{{name}}' is too short (< {{min}}).",tooShortPrivate:"Identifier name '#{{name}}' is too short (< {{min}}).",tooLong:"Identifier name '{{name}}' is too long (> {{max}}).",tooLongPrivate:"Identifier name #'{{name}}' is too long (> {{max}})."}},create(e){let[t]=e.options,{max:r=1/0,min:n}=t,i=t.properties!=="never",s=new Set(t.exceptions),a=t.exceptionPatterns.map(p=>new RegExp(p,"u")),u=new Set;function l(p){return a.some(g=>g.test(p))}let f={MemberExpression:i&&function(p){return!p.computed&&(p.parent.left===p&&p.parent.type==="AssignmentExpression"||p.parent.type==="Property"&&p.parent.value===p&&p.parent.parent.type==="ObjectPattern"&&p.parent.parent.parent.left===p.parent.parent)},AssignmentPattern(p,g){return p.left===g},VariableDeclarator(p,g){return p.id===g},Property(p,g){if(p.parent.type==="ObjectPattern"){let A=p.value.name===p.key.name;return!A&&p.value===g||A&&p.key===g&&i}return i&&!Iwl(g)&&!p.computed&&p.key.name===g.name},ImportSpecifier(p,g){return p.local===g&&iys(p.imported)!==iys(p.local)},ImportDefaultSpecifier:!0,ImportNamespaceSpecifier:!0,RestElement:!0,FunctionExpression:!0,ArrowFunctionExpression:!0,ClassDeclaration:!0,FunctionDeclaration:!0,MethodDefinition:!0,PropertyDefinition:!0,CatchClause:!0,ArrayPattern:!0};return{[["Identifier","PrivateIdentifier"]](p){let g=p.name,A=p.parent,h=bwl(g),_=hr;if(!(_||E)||s.has(g)||l(g))return;let b=f[A.type];if(b&&!u.has(p.range.toString())&&(b===!0||b(A,p))){u.add(p.range.toString());let D=_?"tooShort":"tooLong";p.type==="PrivateIdentifier"&&(D+="Private"),e.report({node:p,messageId:D,data:{name:g,min:n,max:r}})}}}}}});var uys=j((S0A,oys)=>{"use strict";var Swl=ao();oys.exports={meta:{type:"suggestion",defaultOptions:["^.+$",{classFields:!1,ignoreDestructuring:!1,onlyDeclarations:!1,properties:!1}],docs:{description:"Require identifiers to match a specified regular expression",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/id-match"},schema:[{type:"string"},{type:"object",properties:{properties:{type:"boolean"},classFields:{type:"boolean"},onlyDeclarations:{type:"boolean"},ignoreDestructuring:{type:"boolean"}},additionalProperties:!1}],messages:{notMatch:"Identifier '{{name}}' does not match the pattern '{{pattern}}'.",notMatchPrivate:"Identifier '#{{name}}' does not match the pattern '{{pattern}}'."}},create(e){let[t,{classFields:r,ignoreDestructuring:n,onlyDeclarations:i,properties:s}]=e.options,a=new RegExp(t,"u"),u=e.sourceCode,l,f=new Set,p=new Set(["CallExpression","NewExpression"]),g=new Set(["FunctionDeclaration","VariableDeclarator"]),A=new Set(["ImportSpecifier","ImportNamespaceSpecifier","ImportDefaultSpecifier"]);function h(k){let M=l.set.get(k.name);return M&&M.defs.length===0&&M.references.some(R=>R.identifier===k)}function _(k){return!a.test(k)}function E(k){let{parent:M}=k;for(;M;){if(M.type==="ObjectPattern")return!0;M=M.parent}return!1}function b(k,M){return(!i||g.has(k.type))&&!p.has(k.type)&&_(M)}function D(k){if(!f.has(k.range.toString())){let M=k.type==="PrivateIdentifier"?"notMatchPrivate":"notMatch";e.report({node:k,messageId:M,data:{name:k.name,pattern:t}}),f.add(k.range.toString())}}return{Program(k){l=u.getScope(k)},Identifier(k){let M=k.name,R=k.parent,q=R.type==="MemberExpression"?R.parent:R;if(!(h(k)||Swl.isImportAttributeKey(k)))if(R.type==="MemberExpression"){if(!s)return;R.object.type==="Identifier"&&R.object.name===M||q.type==="AssignmentExpression"&&q.left.type==="MemberExpression"&&q.left.property.name===k.name?_(M)&&D(k):q.type==="AssignmentExpression"&&q.right.type!=="MemberExpression"&&_(M)&&D(k)}else if(R.type==="Property"&&R.parent.type==="ObjectExpression"&&R.key===k&&!R.computed)s&&_(M)&&D(k);else if(R.type==="Property"||R.type==="AssignmentPattern"){if(R.parent&&R.parent.type==="ObjectPattern"){!n&&R.shorthand&&R.value.left&&_(M)&&D(k);let G=R.key.name===R.value.name;if(!G&&R.key===k)return;R.value.name&&_(M)&&!(G&&n)&&D(k)}if(!s&&!R.computed||n&&E(k))return;R.right!==k&&b(q,M)&&D(k)}else A.has(R.type)?R.local&&R.local.name===k.name&&_(M)&&D(k):R.type==="PropertyDefinition"?r&&_(M)&&D(k):b(q,M)&&D(k)},PrivateIdentifier(k){k.parent.type==="PropertyDefinition"&&!r||_(k.name)&&D(k)}}}}});var cys=j((T0A,lys)=>{"use strict";var{isCommentToken:Twl,isNotOpeningParenToken:Dwl}=ao();lys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"implicit-arrow-linebreak",url:"https://eslint.style/rules/implicit-arrow-linebreak"}}]},type:"layout",docs:{description:"Enforce the location of arrow function bodies",recommended:!1,url:"https://eslint.org/docs/latest/rules/implicit-arrow-linebreak"},fixable:"whitespace",schema:[{enum:["beside","below"]}],messages:{expected:"Expected a linebreak before this expression.",unexpected:"Expected no linebreak before this expression."}},create(e){let t=e.sourceCode,r=e.options[0]||"beside";function n(i){if(i.body.type==="BlockStatement")return;let s=t.getTokenBefore(i.body,Dwl),a=t.getTokenAfter(s);s.loc.end.line===a.loc.start.line&&r==="below"?e.report({node:a,messageId:"expected",fix:u=>u.insertTextBefore(a,` `)}):s.loc.end.line!==a.loc.start.line&&r==="beside"&&e.report({node:a,messageId:"unexpected",fix(u){return t.getFirstTokenBetween(s,a,{includeComments:!0,filter:Twl})?null:u.replaceTextRange([s.range[1],a.range[0]]," ")}})}return{ArrowFunctionExpression:i=>n(i)}}}});var pys=j((D0A,fys)=>{"use strict";var K_=ao(),wwl=new Set(["AssignmentExpression","AssignmentPattern","ArrayExpression","ArrayPattern","ArrowFunctionExpression","AwaitExpression","BlockStatement","BinaryExpression","BreakStatement","CallExpression","CatchClause","ChainExpression","ClassBody","ClassDeclaration","ClassExpression","ConditionalExpression","ContinueStatement","DoWhileStatement","DebuggerStatement","EmptyStatement","ExperimentalRestProperty","ExperimentalSpreadProperty","ExpressionStatement","ForStatement","ForInStatement","ForOfStatement","FunctionDeclaration","FunctionExpression","Identifier","IfStatement","Literal","LabeledStatement","LogicalExpression","MemberExpression","MetaProperty","MethodDefinition","NewExpression","ObjectExpression","ObjectPattern","PrivateIdentifier","Program","Property","PropertyDefinition","RestElement","ReturnStatement","SequenceExpression","SpreadElement","StaticBlock","Super","SwitchCase","SwitchStatement","TaggedTemplateExpression","TemplateElement","TemplateLiteral","ThisExpression","ThrowStatement","TryStatement","UnaryExpression","UpdateExpression","VariableDeclaration","VariableDeclarator","WhileStatement","WithStatement","YieldExpression","JSXFragment","JSXOpeningFragment","JSXClosingFragment","JSXIdentifier","JSXNamespacedName","JSXMemberExpression","JSXEmptyExpression","JSXExpressionContainer","JSXElement","JSXClosingElement","JSXOpeningElement","JSXAttribute","JSXSpreadAttribute","JSXText","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","ExportSpecifier","ImportDeclaration","ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier","ImportExpression"]),Qtn=class{constructor(t){this._values=Array(t+1)}insert(t,r){this._values[t]=r}findLastNotAfter(t){let r=this._values;for(let n=t;n>=0;n--){let i=r[n];if(i)return i}}deleteRange(t,r){this._values.fill(void 0,t,r)}},jtn=class{constructor(t){this.sourceCode=t,this.firstTokensByLineNumber=new Map;let r=t.tokensAndComments;for(let n=0;n=t[0]&&r.range[1]<=t[1],l=u&&this._getOffsetDescriptor(r);this._indexMap.deleteRange(t[0]+1,t[1]),this._indexMap.insert(t[0],s),u&&(this._indexMap.insert(r.range[0],l),this._indexMap.insert(r.range[1],s)),this._indexMap.insert(t[1],a)}getDesiredIndent(t){if(!this._desiredIndentCache.has(t))if(this._ignoredTokens.has(t))this._desiredIndentCache.set(t,this._tokenInfo.getTokenIndent(t));else if(this._lockedFirstTokens.has(t)){let r=this._lockedFirstTokens.get(t);this._desiredIndentCache.set(t,this.getDesiredIndent(this._tokenInfo.getFirstTokenOfLine(r))+this._indentType.repeat(r.loc.start.column-this._tokenInfo.getFirstTokenOfLine(r).loc.start.column))}else{let r=this._getOffsetDescriptor(t),n=r.from&&r.from.loc.start.line===t.loc.start.line&&!/^\s*?\n/u.test(t.value)&&!r.force?0:r.offset*this._indentSize;this._desiredIndentCache.set(t,(r.from?this.getDesiredIndent(r.from):"")+this._indentType.repeat(n))}return this._desiredIndentCache.get(t)}ignoreToken(t){this._tokenInfo.isFirstTokenOfLine(t)&&this._ignoredTokens.add(t)}getFirstDependency(t){return this._getOffsetDescriptor(t).from}},Yfe={oneOf:[{type:"integer",minimum:0},{enum:["first","off"]}]};fys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"indent",url:"https://eslint.style/rules/indent"}}]},type:"layout",docs:{description:"Enforce consistent indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/indent"},fixable:"whitespace",schema:[{oneOf:[{enum:["tab"]},{type:"integer",minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0,default:0},VariableDeclarator:{oneOf:[Yfe,{type:"object",properties:{var:Yfe,let:Yfe,const:Yfe},additionalProperties:!1}]},outerIIFEBody:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},MemberExpression:{oneOf:[{type:"integer",minimum:0},{enum:["off"]}]},FunctionDeclaration:{type:"object",properties:{parameters:Yfe,body:{type:"integer",minimum:0}},additionalProperties:!1},FunctionExpression:{type:"object",properties:{parameters:Yfe,body:{type:"integer",minimum:0}},additionalProperties:!1},StaticBlock:{type:"object",properties:{body:{type:"integer",minimum:0}},additionalProperties:!1},CallExpression:{type:"object",properties:{arguments:Yfe},additionalProperties:!1},ArrayExpression:Yfe,ObjectExpression:Yfe,ImportDeclaration:Yfe,flatTernaryExpressions:{type:"boolean",default:!1},offsetTernaryExpressions:{type:"boolean",default:!1},ignoredNodes:{type:"array",items:{type:"string",not:{pattern:":exit$"}}},ignoreComments:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{wrongIndentation:"Expected indentation of {{expected}} but found {{actual}}."}},create(e){let i="space",s=4,a={SwitchCase:0,VariableDeclarator:{var:1,let:1,const:1},outerIIFEBody:1,FunctionDeclaration:{parameters:1,body:1},FunctionExpression:{parameters:1,body:1},StaticBlock:{body:1},CallExpression:{arguments:1},MemberExpression:1,ArrayExpression:1,ObjectExpression:1,ImportDeclaration:1,flatTernaryExpressions:!1,ignoredNodes:[],ignoreComments:!1};e.options.length&&(e.options[0]==="tab"?(s=1,i="tab"):(s=e.options[0],i="space"),e.options[1]&&(Object.assign(a,e.options[1]),(typeof a.VariableDeclarator=="number"||a.VariableDeclarator==="first")&&(a.VariableDeclarator={var:a.VariableDeclarator,let:a.VariableDeclarator,const:a.VariableDeclarator})));let u=e.sourceCode,l=new jtn(u),f=new Utn(l,s,i==="space"?" ":" ",u.text.length),p=new WeakSet;function g(ae,Ae,De){let _e=`${ae} ${i}${ae===1?"":"s"}`,Le=`space${Ae===1?"":"s"}`,qe=`tab${De===1?"":"s"}`,at;return Ae>0?at=i==="space"?Ae:`${Ae} ${Le}`:De>0?at=i==="tab"?De:`${De} ${qe}`:at="0",{expected:_e,actual:at}}function A(ae,Ae){let De=Array.from(l.getTokenIndent(ae)),_e=De.filter(qe=>qe===" ").length,Le=De.filter(qe=>qe===" ").length;e.report({node:ae,messageId:"wrongIndentation",data:g(Ae.length,_e,Le),loc:{start:{line:ae.loc.start.line,column:0},end:{line:ae.loc.start.line,column:ae.loc.start.column}},fix(qe){let at=[ae.range[0]-ae.loc.start.column,ae.range[0]],st=Ae;return qe.replaceTextRange(at,st)}})}function h(ae,Ae){let De=l.getTokenIndent(ae);return De===Ae||De.includes(" ")&&De.includes(" ")}function _(ae){if(!ae.parent||ae.parent.type!=="CallExpression"||ae.parent.callee!==ae)return!1;let Ae=ae.parent&&ae.parent.parent;for(;Ae.type==="UnaryExpression"&&["!","~","+","-"].includes(Ae.operator)||Ae.type==="AssignmentExpression"||Ae.type==="LogicalExpression"||Ae.type==="SequenceExpression"||Ae.type==="VariableDeclarator";)Ae=Ae.parent;return(Ae.type==="ExpressionStatement"||Ae.type==="VariableDeclaration")&&Ae.parent.type==="Program"}function E(ae){let De=ae.match(/\s*$/u)[0].match(K_.createGlobalLinebreakMatcher());return De===null?0:De.length}function b(ae,Ae,De,_e){function Le(qe){let at=u.getTokenBefore(qe);for(;K_.isOpeningParenToken(at)&&at!==Ae;)at=u.getTokenBefore(at);return u.getTokenAfter(at)}f.setDesiredOffsets([Ae.range[1],De.range[0]],Ae,typeof _e=="number"?_e:1),f.setDesiredOffset(De,Ae,0),!(_e==="first"&&ae.length&&!ae[0])&&ae.forEach((qe,at)=>{if(qe&&(_e==="off"&&f.ignoreToken(Le(qe)),at!==0))if(_e==="first"&&l.isFirstTokenOfLine(Le(qe)))f.matchOffsetOf(Le(ae[0]),Le(qe));else{let st=ae[at-1],Ur=st&&Le(st),Sr=st&&u.getLastToken(st);st&&Sr.loc.end.line-E(Sr.value)>Ae.loc.end.line&&f.setDesiredOffsets([st.range[1],qe.range[1]],Ur,0)}})}function D(ae){if(ae.type!=="BlockStatement"){let Ae=u.getTokenBefore(ae,K_.isNotOpeningParenToken),De=u.getFirstToken(ae),_e=u.getLastToken(ae);for(;K_.isOpeningParenToken(u.getTokenBefore(De))&&K_.isClosingParenToken(u.getTokenAfter(_e));)De=u.getTokenBefore(De),_e=u.getTokenAfter(_e);f.setDesiredOffsets([De.range[0],_e.range[1]],Ae,1)}}function k(ae){let Ae;ae.arguments.length?Ae=u.getFirstTokenBetween(ae.callee,ae.arguments[0],K_.isOpeningParenToken):Ae=u.getLastToken(ae,1);let De=u.getLastToken(ae);if(p.add(Ae),p.add(De),ae.optional){let qe=u.getTokenAfter(ae.callee,K_.isQuestionDotToken),at=u.getTokensBetween(ae.callee,qe,{filter:K_.isClosingParenToken}).length,st=at?u.getTokenBefore(ae.callee,{skip:at-1}):u.getFirstToken(ae.callee),Ur=u.getTokenBefore(qe),Sr=Ur.loc.end.line===Ae.loc.start.line?Ur:st;f.setDesiredOffset(qe,Sr,1)}let _e=ae.callee.type==="TaggedTemplateExpression"?u.getFirstToken(ae.callee.quasi):Ae,Le=u.getTokenBefore(_e);f.setDesiredOffset(Ae,Le,0),b(ae.arguments,Ae,De,a.CallExpression.arguments)}function M(ae){let Ae=[],De=[];for(let _e=0;_e=0;_e--){let Le=De[_e].left,qe=De[_e].right;if(!p.has(Le)&&!p.has(qe)){let at=new Set(u.getTokensBetween(Le,qe));at.forEach(st=>{at.has(f.getFirstDependency(st))||f.setDesiredOffset(st,Le,1)})}f.setDesiredOffset(qe,Le,0)}}function R(ae){let Ae=new Set(u.getTokens(ae,{includeComments:!0}));Ae.forEach(De=>{if(!Ae.has(f.getFirstDependency(De))){let _e=l.getFirstTokenOfLine(De);De===_e?f.ignoreToken(De):f.setDesiredOffset(De,_e,0)}})}function q(ae,Ae){let De=Ae;for(;De.parent&&!De.parent.type.endsWith("Statement")&&!De.parent.type.endsWith("Declaration");)De=De.parent;return De=De.parent,!De||De.loc.start.line===ae.loc.start.line}function G(ae,Ae){let De=ae.loc.end.line,_e=Ae.loc.start.line;if(De===_e||De===_e-1)return!1;for(let Le=De+1;Le<_e;++Le)if(!l.firstTokensByLineNumber.has(Le))return!0;return!1}let K=new Set,Z={"ArrayExpression, ArrayPattern"(ae){let Ae=u.getFirstToken(ae),De=u.getTokenAfter([...ae.elements].reverse().find(_e=>_e)||Ae,K_.isClosingBracketToken);b(ae.elements,Ae,De,a.ArrayExpression)},"ObjectExpression, ObjectPattern"(ae){let Ae=u.getFirstToken(ae),De=u.getTokenAfter(ae.properties.length?ae.properties.at(-1):Ae,K_.isClosingBraceToken);b(ae.properties,Ae,De,a.ObjectExpression)},ArrowFunctionExpression(ae){let Ae=u.getFirstToken(ae,{skip:ae.async?1:0});if(K_.isOpeningParenToken(Ae)){let De=Ae,_e=u.getTokenBefore(ae.body,K_.isClosingParenToken);p.add(De),p.add(_e),b(ae.params,De,_e,a.FunctionExpression.parameters)}D(ae.body)},AssignmentExpression(ae){let Ae=u.getFirstTokenBetween(ae.left,ae.right,De=>De.value===ae.operator);f.setDesiredOffsets([Ae.range[0],ae.range[1]],u.getLastToken(ae.left),1),f.ignoreToken(Ae),f.ignoreToken(u.getTokenAfter(Ae))},"BinaryExpression, LogicalExpression"(ae){let Ae=u.getFirstTokenBetween(ae.left,ae.right,_e=>_e.value===ae.operator),De=u.getTokenAfter(Ae);f.ignoreToken(Ae),f.ignoreToken(De),f.setDesiredOffset(De,Ae,0)},"BlockStatement, ClassBody"(ae){let Ae;ae.parent&&_(ae.parent)?Ae=a.outerIIFEBody:ae.parent&&(ae.parent.type==="FunctionExpression"||ae.parent.type==="ArrowFunctionExpression")?Ae=a.FunctionExpression.body:ae.parent&&ae.parent.type==="FunctionDeclaration"?Ae=a.FunctionDeclaration.body:Ae=1,K_.STATEMENT_LIST_PARENTS.has(ae.parent.type)||f.setDesiredOffset(u.getFirstToken(ae),u.getFirstToken(ae.parent),0),b(ae.body,u.getFirstToken(ae),u.getLastToken(ae),Ae)},CallExpression:k,"ClassDeclaration[superClass], ClassExpression[superClass]"(ae){let Ae=u.getFirstToken(ae),De=u.getTokenBefore(ae.superClass,K_.isNotOpeningParenToken);f.setDesiredOffsets([De.range[0],ae.body.range[0]],Ae,1)},ConditionalExpression(ae){let Ae=u.getFirstToken(ae);if(!a.flatTernaryExpressions||!K_.isTokenOnSameLine(ae.test,ae.consequent)||q(Ae,ae)){let De=u.getFirstTokenBetween(ae.test,ae.consequent,st=>st.type==="Punctuator"&&st.value==="?"),_e=u.getFirstTokenBetween(ae.consequent,ae.alternate,st=>st.type==="Punctuator"&&st.value===":"),Le=u.getTokenAfter(De),qe=u.getTokenBefore(_e),at=u.getTokenAfter(_e);f.setDesiredOffset(De,Ae,1),f.setDesiredOffset(_e,Ae,1),f.setDesiredOffset(Le,Ae,Le.type==="Punctuator"&&a.offsetTernaryExpressions?2:1),qe.loc.end.line===at.loc.start.line?f.setDesiredOffset(at,Le,0):f.setDesiredOffset(at,Ae,at.type==="Punctuator"&&a.offsetTernaryExpressions?2:1)}},"DoWhileStatement, WhileStatement, ForInStatement, ForOfStatement, WithStatement":ae=>D(ae.body),ExportNamedDeclaration(ae){if(ae.declaration===null){let Ae=u.getLastToken(ae,K_.isClosingBraceToken);b(ae.specifiers,u.getFirstToken(ae,{skip:1}),Ae,1),ae.source&&f.setDesiredOffsets([Ae.range[1],ae.range[1]],u.getFirstToken(ae),1)}},ForStatement(ae){let Ae=u.getFirstToken(ae,1);ae.init&&f.setDesiredOffsets(ae.init.range,Ae,1),ae.test&&f.setDesiredOffsets(ae.test.range,Ae,1),ae.update&&f.setDesiredOffsets(ae.update.range,Ae,1),D(ae.body)},"FunctionDeclaration, FunctionExpression"(ae){let Ae=u.getTokenBefore(ae.body),De=u.getTokenBefore(ae.params.length?ae.params[0]:Ae);p.add(De),p.add(Ae),b(ae.params,De,Ae,a[ae.type].parameters)},IfStatement(ae){D(ae.consequent),ae.alternate&&D(ae.alternate)},":matches(DoWhileStatement, ForStatement, ForInStatement, ForOfStatement, IfStatement, WhileStatement, WithStatement):exit"(ae){let Ae;ae.type==="IfStatement"?(Ae=[ae.consequent],ae.alternate&&Ae.push(ae.alternate)):Ae=[ae.body];for(let De of Ae){let _e=u.getLastToken(De);if(K_.isSemicolonToken(_e)){let Le=u.getTokenBefore(_e),qe=u.getTokenAfter(_e);!K_.isTokenOnSameLine(Le,_e)&&qe&&K_.isTokenOnSameLine(_e,qe)&&f.setDesiredOffset(_e,u.getFirstToken(ae),0)}}},ImportDeclaration(ae){if(ae.specifiers.some(Le=>Le.type==="ImportSpecifier")){let Le=u.getFirstToken(ae,K_.isOpeningBraceToken),qe=u.getLastToken(ae,K_.isClosingBraceToken);b(ae.specifiers.filter(at=>at.type==="ImportSpecifier"),Le,qe,a.ImportDeclaration)}let Ae=u.getLastToken(ae,Le=>Le.type==="Identifier"&&Le.value==="from"),De=u.getLastToken(ae,Le=>Le.type==="String"),_e=u.getLastToken(ae,Le=>Le.type==="Punctuator"&&Le.value===";");if(Ae){let Le=_e&&_e.range[1]===De.range[1]?ae.range[1]:De.range[1];f.setDesiredOffsets([Ae.range[0],Le],u.getFirstToken(ae),1)}},ImportExpression(ae){let Ae=u.getFirstToken(ae,1),De=u.getLastToken(ae);p.add(Ae),p.add(De),f.setDesiredOffset(Ae,u.getTokenBefore(Ae),0),b([ae.source],Ae,De,a.CallExpression.arguments)},"MemberExpression, JSXMemberExpression, MetaProperty"(ae){let Ae=ae.type==="MetaProperty"?ae.meta:ae.object,De=u.getFirstTokenBetween(Ae,ae.property,K_.isNotClosingParenToken),_e=u.getTokenAfter(De),Le=u.getTokensBetween(Ae,ae.property,{filter:K_.isClosingParenToken}).length,qe=Le?u.getTokenBefore(Ae,{skip:Le-1}):u.getFirstToken(Ae),at=u.getTokenBefore(De),st=ae.computed?De:_e;ae.computed&&(f.setDesiredOffset(u.getLastToken(ae),De,0),f.setDesiredOffsets(ae.property.range,De,1));let Ur=at.loc.end.line===st.loc.start.line?at:qe;typeof a.MemberExpression=="number"?(f.setDesiredOffset(De,Ur,a.MemberExpression),f.setDesiredOffset(_e,ae.computed?De:Ur,a.MemberExpression)):(f.ignoreToken(De),f.ignoreToken(_e),f.setDesiredOffset(De,Ur,0),f.setDesiredOffset(_e,De,0))},NewExpression(ae){(ae.arguments.length>0||K_.isClosingParenToken(u.getLastToken(ae))&&K_.isOpeningParenToken(u.getLastToken(ae,1)))&&k(ae)},Property(ae){if(!ae.shorthand&&!ae.method&&ae.kind==="init"){let Ae=u.getFirstTokenBetween(ae.key,ae.value,K_.isColonToken);f.ignoreToken(u.getTokenAfter(Ae))}},PropertyDefinition(ae){let Ae=u.getFirstToken(ae),De=u.getLastToken(ae),_e;if(ae.computed){let Le=u.getTokenBefore(ae.key,K_.isOpeningBracketToken),qe=_e=u.getTokenAfter(ae.key,K_.isClosingBracketToken),at=[Le.range[1],qe.range[0]];Le!==Ae&&f.setDesiredOffset(Le,Ae,0),f.setDesiredOffsets(at,Le,1),f.setDesiredOffset(qe,Le,0)}else{let Le=_e=u.getFirstToken(ae.key);Le!==Ae&&f.setDesiredOffset(Le,Ae,1)}if(ae.value){let Le=u.getTokenBefore(ae.value,K_.isEqToken),qe=u.getTokenAfter(Le);f.setDesiredOffset(Le,_e,1),f.setDesiredOffset(qe,Le,1),K_.isSemicolonToken(De)&&f.setDesiredOffset(De,Le,1)}else K_.isSemicolonToken(De)&&f.setDesiredOffset(De,_e,1)},StaticBlock(ae){let Ae=u.getFirstToken(ae,{skip:1}),De=u.getLastToken(ae);b(ae.body,Ae,De,a.StaticBlock.body)},SwitchStatement(ae){let Ae=u.getTokenAfter(ae.discriminant,K_.isOpeningBraceToken),De=u.getLastToken(ae);f.setDesiredOffsets([Ae.range[1],De.range[0]],Ae,a.SwitchCase),ae.cases.length&&u.getTokensBetween(ae.cases.at(-1),De,{includeComments:!0,filter:K_.isCommentToken}).forEach(_e=>f.ignoreToken(_e))},SwitchCase(ae){if(!(ae.consequent.length===1&&ae.consequent[0].type==="BlockStatement")){let Ae=u.getFirstToken(ae),De=u.getTokenAfter(ae);f.setDesiredOffsets([Ae.range[1],De.range[0]],Ae,1)}},TemplateLiteral(ae){ae.expressions.forEach((Ae,De)=>{let _e=ae.quasis[De],Le=ae.quasis[De+1],qe=_e.loc.start.line===_e.loc.end.line?u.getFirstToken(_e):null;f.setDesiredOffsets([_e.range[1],Le.range[0]],qe,1),f.setDesiredOffset(u.getFirstToken(Le),qe,0)})},VariableDeclaration(ae){let Ae=Object.hasOwn(a.VariableDeclarator,ae.kind)?a.VariableDeclarator[ae.kind]:1,De=u.getFirstToken(ae),_e=u.getLastToken(ae);if(a.VariableDeclarator[ae.kind]==="first"){if(ae.declarations.length>1){b(ae.declarations,De,_e,"first");return}Ae=1}ae.declarations.at(-1).loc.start.line>ae.loc.start.line?f.setDesiredOffsets(ae.range,De,Ae,!0):f.setDesiredOffsets(ae.range,De,Ae),K_.isSemicolonToken(_e)&&f.ignoreToken(_e)},VariableDeclarator(ae){if(ae.init){let Ae=u.getTokenBefore(ae.init,K_.isNotOpeningParenToken),De=u.getTokenAfter(Ae);f.ignoreToken(Ae),f.ignoreToken(De),f.setDesiredOffsets([De.range[0],ae.range[1]],Ae,1),f.setDesiredOffset(Ae,u.getLastToken(ae.id),0)}},"JSXAttribute[value]"(ae){let Ae=u.getFirstTokenBetween(ae.name,ae.value,De=>De.type==="Punctuator"&&De.value==="=");f.setDesiredOffsets([Ae.range[0],ae.value.range[1]],u.getFirstToken(ae.name),1)},JSXElement(ae){ae.closingElement&&b(ae.children,u.getFirstToken(ae.openingElement),u.getFirstToken(ae.closingElement),1)},JSXOpeningElement(ae){let Ae=u.getFirstToken(ae),De;ae.selfClosing?(De=u.getLastToken(ae,{skip:1}),f.setDesiredOffset(u.getLastToken(ae),De,0)):De=u.getLastToken(ae),f.setDesiredOffsets(ae.name.range,u.getFirstToken(ae)),b(ae.attributes,Ae,De,1)},JSXClosingElement(ae){let Ae=u.getFirstToken(ae);f.setDesiredOffsets(ae.name.range,Ae,1)},JSXFragment(ae){let Ae=u.getFirstToken(ae.openingFragment),De=u.getFirstToken(ae.closingFragment);b(ae.children,Ae,De,1)},JSXOpeningFragment(ae){let Ae=u.getFirstToken(ae),De=u.getLastToken(ae);f.setDesiredOffsets(ae.range,Ae,1),f.matchOffsetOf(Ae,De)},JSXClosingFragment(ae){let Ae=u.getFirstToken(ae),De=u.getLastToken(ae,{skip:1}),_e=u.getLastToken(ae),Le=K_.isTokenOnSameLine(De,_e)?De:_e;f.setDesiredOffsets(ae.range,Ae,1),f.matchOffsetOf(Ae,Le)},JSXExpressionContainer(ae){let Ae=u.getFirstToken(ae),De=u.getLastToken(ae);f.setDesiredOffsets([Ae.range[1],De.range[0]],Ae,1)},JSXSpreadAttribute(ae){let Ae=u.getFirstToken(ae),De=u.getLastToken(ae);f.setDesiredOffsets([Ae.range[1],De.range[0]],Ae,1)},"*"(ae){let Ae=u.getFirstToken(ae);Ae&&!K.has(Ae)&&f.setDesiredOffsets(ae.range,Ae,0)}},oe=[],ue={};for(let[ae,Ae]of Object.entries(Z))ue[ae]=De=>oe.push({listener:Ae,node:De});let me=new Set;function Te(ae){me.add(ae),K.add(u.getFirstToken(ae))}let le=a.ignoredNodes.reduce((ae,Ae)=>Object.assign(ae,{[Ae]:Te}),{});return Object.assign(ue,le,{"*:exit"(ae){wwl.has(ae.type)||Te(ae)},"Program:exit"(){a.ignoreComments&&u.getAllComments().forEach(Ae=>f.ignoreToken(Ae));for(let Ae=0;Ae{"use strict";var Bwl=ao();dys.exports={meta:{type:"layout",docs:{description:"Enforce consistent indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/indent-legacy"},deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"indent",url:"https://eslint.style/rules/indent"}}]},fixable:"whitespace",schema:[{oneOf:[{enum:["tab"]},{type:"integer",minimum:0}]},{type:"object",properties:{SwitchCase:{type:"integer",minimum:0},VariableDeclarator:{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{var:{type:"integer",minimum:0},let:{type:"integer",minimum:0},const:{type:"integer",minimum:0}}}]},outerIIFEBody:{type:"integer",minimum:0},MemberExpression:{type:"integer",minimum:0},FunctionDeclaration:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},body:{type:"integer",minimum:0}}},FunctionExpression:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},body:{type:"integer",minimum:0}}},CallExpression:{type:"object",properties:{parameters:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]}}},ArrayExpression:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]},ObjectExpression:{oneOf:[{type:"integer",minimum:0},{enum:["first"]}]}},additionalProperties:!1}],messages:{expected:"Expected indentation of {{expected}} but found {{actual}}."}},create(e){let i="space",s=4,a={SwitchCase:0,VariableDeclarator:{var:1,let:1,const:1},outerIIFEBody:null,FunctionDeclaration:{parameters:null,body:1},FunctionExpression:{parameters:null,body:1},CallExpression:{arguments:null},ArrayExpression:1,ObjectExpression:1},u=e.sourceCode;if(e.options.length&&(e.options[0]==="tab"?(s=1,i="tab"):typeof e.options[0]=="number"&&(s=e.options[0],i="space"),e.options[1])){let _e=e.options[1];a.SwitchCase=_e.SwitchCase||0;let Le=_e.VariableDeclarator;typeof Le=="number"?a.VariableDeclarator={var:Le,let:Le,const:Le}:typeof Le=="object"&&Object.assign(a.VariableDeclarator,Le),typeof _e.outerIIFEBody=="number"&&(a.outerIIFEBody=_e.outerIIFEBody),typeof _e.MemberExpression=="number"&&(a.MemberExpression=_e.MemberExpression),typeof _e.FunctionDeclaration=="object"&&Object.assign(a.FunctionDeclaration,_e.FunctionDeclaration),typeof _e.FunctionExpression=="object"&&Object.assign(a.FunctionExpression,_e.FunctionExpression),typeof _e.CallExpression=="object"&&Object.assign(a.CallExpression,_e.CallExpression),(typeof _e.ArrayExpression=="number"||typeof _e.ArrayExpression=="string")&&(a.ArrayExpression=_e.ArrayExpression),(typeof _e.ObjectExpression=="number"||typeof _e.ObjectExpression=="string")&&(a.ObjectExpression=_e.ObjectExpression)}let l={};function f(_e,Le,qe){let at=`${_e} ${i}${_e===1?"":"s"}`,st=`space${Le===1?"":"s"}`,Ur=`tab${qe===1?"":"s"}`,Sr;return Le>0&&qe>0?Sr=`${Le} ${st} and ${qe} ${Ur}`:Le>0?Sr=i==="space"?Le:`${Le} ${st}`:qe>0?Sr=i==="tab"?qe:`${qe} ${Ur}`:Sr="0",{expected:at,actual:Sr}}function p(_e,Le,qe,at,st,Ur){if(qe&&at)return;let Sr=(i==="space"?" ":" ").repeat(Le),xr=Ur?[_e.range[1]-_e.loc.end.column,_e.range[1]-_e.loc.end.column+qe+at]:[_e.range[0]-_e.loc.start.column,_e.range[0]-_e.loc.start.column+qe+at];e.report({node:_e,loc:st,messageId:"expected",data:f(Le,qe,at),fix:dt=>dt.replaceTextRange(xr,Sr)})}function g(_e,Le){let qe=Le?u.getLastToken(_e):u.getFirstToken(_e),at=u.getText(qe,qe.loc.start.column).split(""),st=at.slice(0,at.findIndex(xr=>xr!==" "&&xr!==" ")),Ur=st.filter(xr=>xr===" ").length,Sr=st.filter(xr=>xr===" ").length;return{space:Ur,tab:Sr,goodChar:i==="space"?Ur:Sr,badChar:i==="space"?Sr:Ur}}function A(_e,Le){let qe=Le===!0?u.getLastToken(_e,1):u.getTokenBefore(_e),at=Le===!0?_e.loc.end.line:_e.loc.start.line,st=qe?qe.loc.end.line:-1;return at!==st}function h(_e,Le){let qe=g(_e,!1);if(_e.type!=="ArrayExpression"&&_e.type!=="ObjectExpression"&&(qe.goodChar!==Le||qe.badChar!==0)&&A(_e)&&p(_e,Le,qe.space,qe.tab),_e.type==="IfStatement"&&_e.alternate){let at=u.getTokenBefore(_e.alternate);h(at,Le),A(_e.alternate)||h(_e.alternate,Le)}if(_e.type==="TryStatement"&&_e.handler){let at=u.getFirstToken(_e.handler);h(at,Le)}if(_e.type==="TryStatement"&&_e.finalizer){let at=u.getTokenBefore(_e.finalizer);h(at,Le)}if(_e.type==="DoWhileStatement"){let at=u.getTokenAfter(_e.body);h(at,Le)}}function _(_e,Le){_e.forEach(qe=>h(qe,Le))}function E(_e,Le){let qe=u.getLastToken(_e),at=g(qe,!0);(at.goodChar!==Le||at.badChar!==0)&&A(_e,!0)&&p(_e,Le,at.space,at.tab,{line:qe.loc.start.line,column:qe.loc.start.column},!0)}function b(_e,Le){let qe=u.getLastToken(_e,Bwl.isClosingParenToken);if(u.getText(qe,qe.loc.start.column).slice(0,-1).trim())return;let st=g(qe,!0);st.goodChar!==Le&&p(_e,Le,st.space,st.tab,{line:qe.loc.start.line,column:qe.loc.start.column},!0)}function D(_e,Le){let qe=g(_e,!1);(qe.goodChar!==Le||qe.badChar!==0)&&A(_e)&&p(_e,Le,qe.space,qe.tab,{line:_e.loc.start.line,column:_e.loc.start.column})}function k(_e,Le,qe){let at=_e.parent,st=new Set(qe||["Program"]);for(;at.type!==Le&&!st.has(at.type)&&at.type!=="Program";)at=at.parent;return at.type===Le?at:null}function M(_e){return k(_e,"VariableDeclarator")}function R(_e,Le){return Le&&Le.parent.loc.start.line===_e.loc.start.line&&Le.parent.declarations.length>1}function q(_e){let Le=_e.parent;return Le.arguments.length>=2&&Le.arguments[1]===_e?Le.arguments[0].loc.end.line>Le.arguments[0].loc.start.line:!1}function G(_e){let Le=_e.parent,qe=Le.parent;if(Le.type!=="CallExpression"||Le.callee!==_e)return!1;for(;qe.type==="UnaryExpression"&&(qe.operator==="!"||qe.operator==="~"||qe.operator==="+"||qe.operator==="-")||qe.type==="AssignmentExpression"||qe.type==="LogicalExpression"||qe.type==="SequenceExpression"||qe.type==="VariableDeclarator";)qe=qe.parent;return(qe.type==="ExpressionStatement"||qe.type==="VariableDeclaration")&&qe.parent&&qe.parent.type==="Program"}function K(_e){let Le=_e.parent,qe;if(Le.parent&&(Le.parent.type==="Property"||Le.parent.type==="ArrayExpression")?qe=g(Le,!1).goodChar:qe=g(Le).goodChar,Le.parent.type==="CallExpression"){let Ur=Le.parent;Le.type!=="FunctionExpression"&&Le.type!=="ArrowFunctionExpression"?Ur&&Ur.loc.start.line<_e.loc.start.line&&(qe=g(Ur).goodChar):q(Le)&&Ur.callee.loc.start.line===Ur.callee.loc.end.line&&!A(Le)&&(qe=g(Ur).goodChar)}let at=s;a.outerIIFEBody!==null&&G(Le)?at=a.outerIIFEBody*s:Le.type==="FunctionExpression"?at=a.FunctionExpression.body*s:Le.type==="FunctionDeclaration"&&(at=a.FunctionDeclaration.body*s),qe+=at;let st=M(_e);st&&R(_e,st)&&(qe+=s*a.VariableDeclarator[st.parent.kind]),_e.body.length>0&&_(_e.body,qe),E(_e,qe-at)}function Z(_e){let Le=u.getLastToken(_e),qe=_e.loc.start.line,at=Le.loc.end.line;return qe===at}function oe(_e){if(Z(_e))return;let Le=_e.type==="ArrayExpression"?_e.elements:_e.properties;Le=Le.filter(Ur=>Ur!==null);let qe,at,st=M(_e);if(A(_e)){let Ur=_e.parent;if(qe=g(Ur).goodChar,(!st||st.loc.start.line!==_e.loc.start.line)&&(Ur.type!=="VariableDeclarator"||st===st.parent.declarations[0]))if(Ur.type==="VariableDeclarator"&&st.loc.start.line===Ur.loc.start.line)qe+=s*a.VariableDeclarator[st.parent.kind];else if(Ur.type==="ObjectExpression"||Ur.type==="ArrayExpression"){let Sr=_e.parent.type==="ObjectExpression"?_e.parent.properties:_e.parent.elements;Sr[0]&&Sr[0].loc.start.line===Ur.loc.start.line&&Sr[0].loc.end.line!==Ur.loc.start.line||(typeof a[Ur.type]=="number"?qe+=a[Ur.type]*s:qe=Sr[0].loc.start.column)}else Ur.type==="CallExpression"||Ur.type==="NewExpression"?typeof a.CallExpression.arguments=="number"?qe+=a.CallExpression.arguments*s:a.CallExpression.arguments==="first"?Ur.arguments.includes(_e)&&(qe=Ur.arguments[0].loc.start.column):qe+=s:(Ur.type==="LogicalExpression"||Ur.type==="ArrowFunctionExpression")&&(qe+=s);D(_e,qe)}else qe=g(_e).goodChar;a[_e.type]==="first"?at=Le.length?Le[0].loc.start.column:0:at=qe+s*a[_e.type],R(_e,st)&&(at+=s*a.VariableDeclarator[st.parent.kind]),_(Le,at),!(Le.length>0&&Le.at(-1).loc.end.line===_e.loc.end.line)&&E(_e,qe+(R(_e,st)?a.VariableDeclarator[st.parent.kind]*s:0))}function ue(_e){return _e.type==="BlockStatement"||_e.type==="ClassBody"||_e.body&&_e.body.type==="BlockStatement"||_e.consequent&&_e.consequent.type==="BlockStatement"}function me(_e){if(Z(_e))return;if(_e.parent&&(_e.parent.type==="FunctionExpression"||_e.parent.type==="FunctionDeclaration"||_e.parent.type==="ArrowFunctionExpression")){K(_e);return}let Le,qe,at=["IfStatement","WhileStatement","ForStatement","ForInStatement","ForOfStatement","DoWhileStatement","ClassDeclaration","TryStatement"];_e.parent&&at.includes(_e.parent.type)&&ue(_e)?Le=g(_e.parent).goodChar:_e.parent&&_e.parent.type==="CatchClause"?Le=g(_e.parent.parent).goodChar:Le=g(_e).goodChar,_e.type==="IfStatement"&&_e.consequent.type!=="BlockStatement"?qe=[_e.consequent]:Array.isArray(_e.body)?qe=_e.body:qe=[_e.body],qe.length>0&&_(qe,Le+s),_e.type==="BlockStatement"&&E(_e,Le)}function Te(_e){return _e.declarations.reduce((Le,qe)=>{let at=Le.at(-1);return(qe.loc.start.line!==_e.loc.start.line&&!at||at&&at.loc.start.line!==qe.loc.start.line)&&Le.push(qe),Le},[])}function le(_e){let Le=Te(_e),qe=g(_e).goodChar,at=Le.at(-1),st=qe+s*a.VariableDeclarator[_e.kind];if(_(Le,st),u.getLastToken(_e).loc.end.line<=at.loc.end.line)return;let Ur=u.getTokenBefore(at);Ur.value===","?E(_e,g(Ur).goodChar):E(_e,st-s)}function ae(_e){_e.body.type!=="BlockStatement"&&me(_e)}function Ae(_e,Le){let qe=_e.type==="SwitchStatement"?_e:_e.parent,at=typeof Le>"u"?g(qe).goodChar:Le,st;return l[qe.loc.start.line]?l[qe.loc.start.line]:(qe.cases.length>0&&a.SwitchCase===0?st=at:st=at+s*a.SwitchCase,l[qe.loc.start.line]=st,st)}function De(_e){let Le=/^return\s*\(\s*\)/u,qe=u.getText(_e).replace(u.getText(_e.argument),"");return Le.test(qe)}return{Program(_e){_e.body.length>0&&_(_e.body,g(_e).goodChar)},ClassBody:me,BlockStatement:me,WhileStatement:ae,ForStatement:ae,ForInStatement:ae,ForOfStatement:ae,DoWhileStatement:ae,IfStatement(_e){_e.consequent.type!=="BlockStatement"&&_e.consequent.loc.start.line>_e.loc.start.line&&me(_e)},VariableDeclaration(_e){_e.declarations.at(-1).loc.start.line>_e.declarations[0].loc.start.line&&le(_e)},ObjectExpression(_e){oe(_e)},ArrayExpression(_e){oe(_e)},MemberExpression(_e){if(typeof a.MemberExpression>"u"||Z(_e)||k(_e,"VariableDeclarator",["FunctionExpression","ArrowFunctionExpression"])||k(_e,"AssignmentExpression",["FunctionExpression"]))return;let Le=g(_e).goodChar+s*a.MemberExpression,qe=[_e.property],at=u.getTokenBefore(_e.property);at.type==="Punctuator"&&at.value==="."&&qe.push(at),_(qe,Le)},SwitchStatement(_e){let Le=g(_e).goodChar,qe=Ae(_e,Le);_(_e.cases,qe),E(_e,Le)},SwitchCase(_e){if(Z(_e))return;let Le=Ae(_e);_(_e.consequent,Le+s)},FunctionDeclaration(_e){Z(_e)||(a.FunctionDeclaration.parameters==="first"&&_e.params.length?_(_e.params.slice(1),_e.params[0].loc.start.column):a.FunctionDeclaration.parameters!==null&&_(_e.params,g(_e).goodChar+s*a.FunctionDeclaration.parameters))},FunctionExpression(_e){Z(_e)||(a.FunctionExpression.parameters==="first"&&_e.params.length?_(_e.params.slice(1),_e.params[0].loc.start.column):a.FunctionExpression.parameters!==null&&_(_e.params,g(_e).goodChar+s*a.FunctionExpression.parameters))},ReturnStatement(_e){if(Z(_e))return;let Le=g(_e).goodChar;De(_e)?b(_e,Le):h(_e,Le)},CallExpression(_e){Z(_e)||(a.CallExpression.arguments==="first"&&_e.arguments.length?_(_e.arguments.slice(1),_e.arguments[0].loc.start.column):a.CallExpression.arguments!==null&&_(_e.arguments,g(_e).goodChar+s*a.CallExpression.arguments))}}}}});var hys=j((B0A,Ays)=>{"use strict";var kwl=new Set(["const","using","await using"]);function gys(e){return e.type==="ForInStatement"||e.type==="ForOfStatement"||e.type==="ForStatement"}function Pwl(e){let t=e.parent,r=t.parent;return gys(r)?r.type==="ForStatement"?r.init===t:r.left===t:!!e.init}Ays.exports={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Require or disallow initialization in variable declarations",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/init-declarations"},schema:{anyOf:[{type:"array",items:[{enum:["always"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["never"]},{type:"object",properties:{ignoreForLoopInit:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{initialized:"Variable '{{idName}}' should be initialized on declaration.",notInitialized:"Variable '{{idName}}' should not be initialized on declaration."}},create(e){let t="always",r="never",n=e.options[0]||t,i=e.options[1]||{},s=!1;return{TSModuleDeclaration(a){a.declare&&(s=!0)},"TSModuleDeclaration:exit"(a){a.declare&&(s=!1)},"VariableDeclaration:exit"(a){let u=a.kind,l=a.declarations;if(!(a.declare||s))for(let f=0;f{"use strict";var yys=ao(),Nwl={"prefer-double":{quote:'"',description:"singlequote",convert(e){return e.replace(/'/gu,'"')}},"prefer-single":{quote:"'",description:"doublequote",convert(e){return e.replace(/"/gu,"'")}}};_ys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"jsx-quotes",url:"https://eslint.style/rules/jsx-quotes"}}]},type:"layout",docs:{description:"Enforce the consistent use of either double or single quotes in JSX attributes",recommended:!1,url:"https://eslint.org/docs/latest/rules/jsx-quotes"},fixable:"whitespace",schema:[{enum:["prefer-single","prefer-double"]}],messages:{unexpected:"Unexpected usage of {{description}}."}},create(e){let t=e.options[0]||"prefer-double",r=Nwl[t];function n(i){return i.value.includes(r.quote)||yys.isSurroundedBy(i.raw,r.quote)}return{JSXAttribute(i){let s=i.value;s&&yys.isStringLiteral(s)&&!n(s)&&e.report({node:s,messageId:"unexpected",data:{description:r.description},fix(a){return a.replaceText(s,r.convert(s.raw))}})}}}}});var Cys=j((P0A,vys)=>{"use strict";var qtn=ao(),{getGraphemeCount:Owl}=QSe();function Rwl(e){return qtn.LINEBREAK_MATCHER.test(e)}function g$t(e){return e.at(-1)}function xys(e){return e.loc.end.line===e.loc.start.line}function Fwl(e){let[t]=e,r=g$t(e);return t.loc.start.line===r.loc.end.line}function Fft(e,t){return e.mode=t.mode||"strict",typeof t.beforeColon<"u"?e.beforeColon=+t.beforeColon:e.beforeColon=0,typeof t.afterColon<"u"?e.afterColon=+t.afterColon:e.afterColon=1,typeof t.align<"u"&&(typeof t.align=="object"?e.align=t.align:e.align={on:t.align,mode:e.mode,beforeColon:e.beforeColon,afterColon:e.afterColon}),e}function Lwl(e,t){return typeof t.align=="object"?(e.align=Fft({},t.align),e.align.on=t.align.on||"colon",e.align.mode=t.align.mode||"strict",e.multiLine=Fft({},t.multiLine||t),e.singleLine=Fft({},t.singleLine||t)):(e.multiLine=Fft({},t.multiLine||t),e.singleLine=Fft({},t.singleLine||t),e.multiLine.align&&(e.align={on:e.multiLine.align.on,mode:e.multiLine.align.mode||e.multiLine.mode,beforeColon:e.multiLine.align.beforeColon,afterColon:e.multiLine.align.afterColon})),e}vys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"key-spacing",url:"https://eslint.style/rules/key-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing between keys and values in object literal properties",recommended:!1,url:"https://eslint.org/docs/latest/rules/key-spacing"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{align:{anyOf:[{enum:["colon","value"]},{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{align:{anyOf:[{enum:["colon","value"]},{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}]},mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{singleLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},multiLine:{type:"object",properties:{mode:{enum:["strict","minimum"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1},align:{type:"object",properties:{mode:{enum:["strict","minimum"]},on:{enum:["colon","value"]},beforeColon:{type:"boolean"},afterColon:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1}]}],messages:{extraKey:"Extra space after {{computed}}key '{{key}}'.",extraValue:"Extra space before value for {{computed}}key '{{key}}'.",missingKey:"Missing space after {{computed}}key '{{key}}'.",missingValue:"Missing space before value for {{computed}}key '{{key}}'."}},create(e){let t=e.options[0]||{},r=Lwl({},t),n=r.multiLine,i=r.singleLine,s=r.align||null,a=e.sourceCode;function u(q){return!(q.method||q.shorthand||q.kind!=="init"||q.type!=="Property")}function l(q){return a.getTokenAfter(q,qtn.isColonToken)}function f(q){let G=l(q);return a.getTokenBefore(G)}function p(q){let G=l(q);return a.getTokenAfter(G)}function g(q,G){let K=q.loc.start.line,Z=(u(G)?p(G.key):G).loc.start.line;if(Z-K<=1)return!0;let oe=a.getCommentsBefore(G);if(oe.length&&oe[0].loc.start.line-K<=1&&Z-g$t(oe).loc.end.line<=1){for(let ue=1;ue1)return!1;return!0}return!1}function A(q){let G=q.key;return q.computed?a.getText().slice(G.range[0],G.range[1]):qtn.getStaticPropertyName(q)}function h(q,G,K,Z,oe){let ue=K.length-Z;if((ue&&oe==="strict"||ue<0&&oe==="minimum"||ue>0&&!Z&&oe==="minimum")&&!(Z&&Rwl(K))){let me=l(q.key),Te=a.getTokenBefore(me,{includeComments:!0}),le=a.getTokenAfter(me,{includeComments:!0}),ae=G==="key",Ae=ue>0,De=Math.abs(ue),_e=Array(De+1).join(" "),Le=ae?Te.loc.end:me.loc.start,qe=ae?me.loc.start:le.loc.start,at=ae?Te.loc:le.loc,st=Ae?{start:Le,end:qe}:at,Ur;if(Ae){let xr;ae?xr=[Te.range[1],Te.range[1]+De]:xr=[le.range[0]-De,le.range[0]],Ur=function(dt){return dt.removeRange(xr)}}else ae?Ur=function(xr){return xr.insertTextAfter(Te,_e)}:Ur=function(xr){return xr.insertTextBefore(le,_e)};let Sr;Ae?Sr=G==="key"?"extraKey":"extraValue":Sr=G==="key"?"missingKey":"missingValue",e.report({node:q[G],loc:st,messageId:Sr,data:{computed:q.computed?"computed ":"",key:A(q)},fix:Ur})}}function _(q){let G=a.getFirstToken(q),K=f(q.key);return Owl(a.getText().slice(G.range[0],K.range[1]))}function E(q){let G=/(\s*):(\s*)/u.exec(a.getText().slice(q.key.range[1],q.value.range[0]));return G?{beforeColon:G[1],afterColon:G[2]}:null}function b(q){return q.properties.length===1?[q.properties]:q.properties.reduce((G,K)=>{let Z=g$t(G),oe=g$t(Z);return!oe||g(oe,K)?Z.push(K):G.push([K]),G},[[]])}function D(q){let G=q.length,K=q.map(_),Z=s.on,oe=Math.max(...K),ue,me,Te;s&&G>1?(ue=s.beforeColon,me=s.afterColon,Te=s.mode):(ue=n.beforeColon,me=n.afterColon,Te=s.mode),oe+=Z==="colon"?ue:me;for(let le=0;le{let K=G.filter(u);K.length>0&&Fwl(K)?M(K,n):D(K)})}return s?{ObjectExpression(q){xys(q)?M(q.properties.filter(u),i):R(q)}}:{Property(q){k(q,xys(q.parent)?i:n)}}}}});var Tys=j((N0A,Sys)=>{"use strict";var YSe=ao(),Mwl=o$t(),Qwl=/^[)\]}>]$/u,jwl=/^(?:[([{<~!]|\+\+?|--?)$/u,bGe=/^[)\]}>*]$/u,A$t=/^[{*]$/u,Uwl=/\$\{$/u,qwl=/^\}/u,h$t=/^(?:JSXElement|RegularExpression|String|Template|PrivateIdentifier)$/u,GSe=Mwl.concat(["as","async","await","from","get","let","of","set","yield"]);(function(){GSe.sort();for(let e=1;e(e[t]={type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1},e),{}),additionalProperties:!1}},additionalProperties:!1}],messages:{expectedBefore:'Expected space(s) before "{{value}}".',expectedAfter:'Expected space(s) after "{{value}}".',unexpectedBefore:'Unexpected space(s) before "{{value}}".',unexpectedAfter:'Unexpected space(s) after "{{value}}".'}},create(e){let t=e.sourceCode,r=new WeakSet;function n(Te,le){let ae=t.getTokenBefore(Te);ae&&(h$t.test(ae.type)||le.test(ae.value))&&!bys(ae)&&!r.has(ae)&&YSe.isTokenOnSameLine(ae,Te)&&!t.isSpaceBetweenTokens(ae,Te)&&e.report({loc:Te.loc,messageId:"expectedBefore",data:Te,fix(Ae){return Ae.insertTextBefore(Te," ")}})}function i(Te,le){let ae=t.getTokenBefore(Te);ae&&(h$t.test(ae.type)||le.test(ae.value))&&!bys(ae)&&!r.has(ae)&&YSe.isTokenOnSameLine(ae,Te)&&t.isSpaceBetweenTokens(ae,Te)&&e.report({loc:{start:ae.loc.end,end:Te.loc.start},messageId:"unexpectedBefore",data:Te,fix(Ae){return Ae.removeRange([ae.range[1],Te.range[0]])}})}function s(Te,le){let ae=t.getTokenAfter(Te);ae&&(h$t.test(ae.type)||le.test(ae.value))&&!Iys(ae)&&!r.has(ae)&&YSe.isTokenOnSameLine(Te,ae)&&!t.isSpaceBetweenTokens(Te,ae)&&e.report({loc:Te.loc,messageId:"expectedAfter",data:Te,fix(Ae){return Ae.insertTextAfter(Te," ")}})}function a(Te,le){let ae=t.getTokenAfter(Te);ae&&(h$t.test(ae.type)||le.test(ae.value))&&!Iys(ae)&&!r.has(ae)&&YSe.isTokenOnSameLine(Te,ae)&&t.isSpaceBetweenTokens(Te,ae)&&e.report({loc:{start:Te.loc.end,end:ae.loc.start},messageId:"unexpectedAfter",data:Te,fix(Ae){return Ae.removeRange([Te.range[1],ae.range[0]])}})}function u(Te={}){let le=Te.before!==!1,ae=Te.after!==!1,Ae={before:le?n:i,after:ae?s:a},De=Te&&Te.overrides||{},_e=Object.create(null);for(let Le=0;Le{switch(ae.value){case"get":case"set":case"async":return!0;default:return!1}});if(!le)throw new Error("Failed to find token get, set, or async beside method name");g(le)}}function me(Te){f(t.getFirstToken(Te))}return{DebuggerStatement:A,WithStatement:A,BreakStatement:A,ContinueStatement:A,ReturnStatement:A,ThrowStatement:A,TryStatement:k,IfStatement:D,SwitchStatement:A,SwitchCase:A,DoWhileStatement:M,ForInStatement:R,ForOfStatement:q,ForStatement:A,WhileStatement:A,ClassDeclaration:b,ExportNamedDeclaration:G,ExportDefaultDeclaration:G,ExportAllDeclaration:G,FunctionDeclaration:E,ImportDeclaration:G,VariableDeclaration:A,ArrowFunctionExpression:E,AwaitExpression:me,ClassExpression:b,FunctionExpression:E,NewExpression:h,Super:h,ThisExpression:h,UnaryExpression:h,YieldExpression:h,ImportSpecifier:K,ExportSpecifier:Z,ImportNamespaceSpecifier:oe,MethodDefinition:ue,PropertyDefinition:ue,StaticBlock:A,Property:ue,"BinaryExpression[operator='>']"(Te){let le=t.getTokenBefore(Te.right,YSe.isNotOpeningParenToken);r.add(le)}}}}});var wys=j((O0A,Dys)=>{"use strict";var Ywl=ao();Dys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"9.3.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"line-comment-position",url:"https://eslint.style/rules/line-comment-position"}}]},type:"layout",docs:{description:"Enforce position of line comments",recommended:!1,url:"https://eslint.org/docs/latest/rules/line-comment-position"},schema:[{oneOf:[{enum:["above","beside"]},{type:"object",properties:{position:{enum:["above","beside"]},ignorePattern:{type:"string"},applyDefaultPatterns:{type:"boolean"},applyDefaultIgnorePatterns:{type:"boolean"}},additionalProperties:!1}]}],messages:{above:"Expected comment to be above code.",beside:"Expected comment to be beside code."}},create(e){let t=e.options[0],r,n,i=!0;!t||typeof t=="string"?r=!t||t==="above":(r=!t.position||t.position==="above",n=t.ignorePattern,Object.hasOwn(t,"applyDefaultIgnorePatterns")?i=t.applyDefaultIgnorePatterns:i=t.applyDefaultPatterns!==!1);let s=Ywl.COMMENTS_IGNORE_PATTERN,a=/^\s*falls?\s?through/u,u=new RegExp(n,"u"),l=e.sourceCode;return{Program(){l.getAllComments().filter(p=>p.type==="Line").forEach(p=>{if(i&&(s.test(p.value)||a.test(p.value))||n&&u.test(p.value))return;let g=l.getTokenBefore(p,{includeComments:!0}),A=g&&g.loc.end.line===p.loc.start.line;r?A&&e.report({node:p,messageId:"above"}):A||e.report({node:p,messageId:"beside"})})}}}}});var kys=j((R0A,Bys)=>{"use strict";var Gwl=ao();Bys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"linebreak-style",url:"https://eslint.style/rules/linebreak-style"}}]},type:"layout",docs:{description:"Enforce consistent linebreak style",recommended:!1,url:"https://eslint.org/docs/latest/rules/linebreak-style"},fixable:"whitespace",schema:[{enum:["unix","windows"]}],messages:{expectedLF:"Expected linebreaks to be 'LF' but found 'CRLF'.",expectedCRLF:"Expected linebreaks to be 'CRLF' but found 'LF'."}},create(e){let t=e.sourceCode;function r(n,i){return function(s){return s.replaceTextRange(n,i)}}return{Program:function(i){let s=e.options[0]||"unix",a=s==="unix",u=a?` `:`\r `,l=t.getText(),f=Gwl.createGlobalLinebreakMatcher(),p,g=0;for(;(p=f.exec(l))!==null;){if(g++,p[0]===u)continue;let A=p.index,h=[A,A+p[0].length];e.report({node:i,loc:{start:{line:g,column:t.lines[g-1].length},end:{line:g+1,column:0}},messageId:a?"expectedLF":"expectedCRLF",fix:r(h,u)})}}}}}});var Nys=j((F0A,Pys)=>{"use strict";var Gfe=ao();function Vwl(e){return e.map((r,n)=>({code:r.trim(),num:n+1})).filter(r=>!r.code).map(r=>r.num)}function $wl(e){let t=[];return e.forEach(r=>{let n=r.loc.start.line,i=r.loc.end.line;t.push(n,i)}),t}Pys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"lines-around-comment",url:"https://eslint.style/rules/lines-around-comment"}}]},type:"layout",docs:{description:"Require empty lines around comments",recommended:!1,url:"https://eslint.org/docs/latest/rules/lines-around-comment"},fixable:"whitespace",schema:[{type:"object",properties:{beforeBlockComment:{type:"boolean",default:!0},afterBlockComment:{type:"boolean",default:!1},beforeLineComment:{type:"boolean",default:!1},afterLineComment:{type:"boolean",default:!1},allowBlockStart:{type:"boolean",default:!1},allowBlockEnd:{type:"boolean",default:!1},allowClassStart:{type:"boolean"},allowClassEnd:{type:"boolean"},allowObjectStart:{type:"boolean"},allowObjectEnd:{type:"boolean"},allowArrayStart:{type:"boolean"},allowArrayEnd:{type:"boolean"},ignorePattern:{type:"string"},applyDefaultIgnorePatterns:{type:"boolean"},afterHashbangComment:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{after:"Expected line after comment.",before:"Expected line before comment."}},create(e){let t=Object.assign({},e.options[0]),r=t.ignorePattern,n=Gfe.COMMENTS_IGNORE_PATTERN,i=new RegExp(r,"u"),s=t.applyDefaultIgnorePatterns!==!1;t.beforeBlockComment=typeof t.beforeBlockComment<"u"?t.beforeBlockComment:!0;let a=e.sourceCode,u=a.lines,l=u.length+1,f=a.getAllComments(),p=$wl(f),g=Vwl(u),A=new Set(p.concat(g));function h(me){let Te=me;do Te=a.getTokenBefore(Te,{includeComments:!0});while(Te&&Gfe.isCommentToken(Te));if(Te&&Gfe.isTokenOnSameLine(Te,me))return!0;Te=me;do Te=a.getTokenAfter(Te,{includeComments:!0});while(Te&&Gfe.isCommentToken(Te));return!!(Te&&Gfe.isTokenOnSameLine(me,Te))}function _(me,Te){return me.type===Te||me.body&&me.body.type===Te||me.consequent&&me.consequent.type===Te}function E(me){let Te=a.getNodeByRangeIndex(me.range[0]);if(Te&&Te.type==="StaticBlock"){let le=a.getFirstToken(Te,{skip:1});return me.range[0]>=le.range[0]?Te:null}return Te}function b(me,Te){let le=E(me);if(le&&_(le,Te)){let ae=le;return le.type==="StaticBlock"?ae=a.getFirstToken(le,{skip:1}):le.type==="SwitchStatement"&&(ae=a.getTokenAfter(le.discriminant,{filter:Gfe.isOpeningBraceToken})),me.loc.start.line-ae.loc.start.line===1}return!1}function D(me,Te){let le=E(me);return!!le&&_(le,Te)&&le.loc.end.line-me.loc.end.line===1}function k(me){return b(me,"ClassBody")||b(me,"BlockStatement")||b(me,"StaticBlock")||b(me,"SwitchCase")||b(me,"SwitchStatement")}function M(me){return D(me,"ClassBody")||D(me,"BlockStatement")||D(me,"StaticBlock")||D(me,"SwitchCase")||D(me,"SwitchStatement")}function R(me){return b(me,"ClassBody")}function q(me){return D(me,"ClassBody")}function G(me){return b(me,"ObjectExpression")||b(me,"ObjectPattern")}function K(me){return D(me,"ObjectExpression")||D(me,"ObjectPattern")}function Z(me){return b(me,"ArrayExpression")||b(me,"ArrayPattern")}function oe(me){return D(me,"ArrayExpression")||D(me,"ArrayPattern")}function ue(me,Te){if(s&&n.test(me.value)||r&&i.test(me.value))return;let le=Te.after,ae=Te.before,Ae=me.loc.start.line-1,De=me.loc.end.line+1,_e=h(me),Le=t.allowBlockStart&&k(me)&&!(t.allowClassStart===!1&&R(me)),qe=t.allowBlockEnd&&M(me)&&!(t.allowClassEnd===!1&&q(me)),at=t.allowClassStart&&R(me),st=t.allowClassEnd&&q(me),Ur=t.allowObjectStart&&G(me),Sr=t.allowObjectEnd&&K(me),xr=t.allowArrayStart&&Z(me),dt=t.allowArrayEnd&&oe(me),It=Le||at||Ur||xr,lr=qe||st||Sr||dt;if(Ae<1&&(ae=!1),De>=l&&(le=!1),_e)return;let $t=a.getTokenBefore(me,{includeComments:!0}),Nt=a.getTokenAfter(me,{includeComments:!0});if(!It&&ae&&!A.has(Ae)&&!(Gfe.isCommentToken($t)&&Gfe.isTokenOnSameLine($t,me))){let sr=me.range[0]-me.loc.start.column,Nr=[sr,sr];e.report({node:me,messageId:"before",fix(Fr){return Fr.insertTextBeforeRange(Nr,` `)}})}!lr&&le&&!A.has(De)&&!(Gfe.isCommentToken(Nt)&&Gfe.isTokenOnSameLine(me,Nt))&&e.report({node:me,messageId:"after",fix(sr){return sr.insertTextAfter(me,` `)}})}return{Program(){f.forEach(me=>{me.type==="Line"?(t.beforeLineComment||t.afterLineComment)&&ue(me,{after:t.afterLineComment,before:t.beforeLineComment}):me.type==="Block"?(t.beforeBlockComment||t.afterBlockComment)&&ue(me,{after:t.afterBlockComment,before:t.beforeBlockComment}):me.type==="Shebang"&&t.afterHashbangComment&&ue(me,{after:t.afterHashbangComment,before:!1})})}}}}});var Fys=j((L0A,Rys)=>{"use strict";var Oys=ao();Rys.exports={meta:{type:"layout",docs:{description:"Require or disallow newlines around directives",recommended:!1,url:"https://eslint.org/docs/latest/rules/lines-around-directive"},schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{before:{enum:["always","never"]},after:{enum:["always","never"]}},additionalProperties:!1,minProperties:2}]}],fixable:"whitespace",messages:{expected:'Expected newline {{location}} "{{value}}" directive.',unexpected:'Unexpected newline {{location}} "{{value}}" directive.'},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(e){let t=e.sourceCode,r=e.options[0]||"always",n=typeof r=="string"?r:r.before,i=typeof r=="string"?r:r.after;function s(p){let g=t.getTokenBefore(p,{includeComments:!0}),A=g?g.loc.end.line:0;return p.loc.start.line-A>=2}function a(p){let g=t.getLastToken(p),A=t.getTokenBefore(g);return Oys.isSemicolonToken(g)&&g.loc.start.line>A.loc.end.line?A:g}function u(p){let g=a(p);return t.getTokenAfter(g,{includeComments:!0}).loc.start.line-g.loc.end.line>=2}function l(p,g,A){e.report({node:p,messageId:A?"expected":"unexpected",data:{value:p.expression.value,location:g},fix(h){let _=a(p);return A?g==="before"?h.insertTextBefore(p,` `):h.insertTextAfter(_,` `):h.removeRange(g==="before"?[p.range[0]-1,p.range[0]]:[_.range[1],_.range[1]+1])}})}function f(p){let g=Oys.getDirectivePrologue(p);if(!g.length)return;let A=g[0],h=t.getCommentsBefore(A);h.length?(n==="always"&&!s(A)&&l(A,"before",!0),n==="never"&&s(A)&&l(A,"before",!1)):p.type==="Program"&&n==="never"&&!h.length&&s(A)&&l(A,"before",!1);let _=g.at(-1),E=p.type==="Program"?p.body:p.body.body;_===E.at(-1)&&!_.trailingComments||(i==="always"&&!u(_)&&l(_,"after",!0),i==="never"&&u(_)&&l(_,"after",!1))}return{Program:f,FunctionDeclaration:f,FunctionExpression:f,ArrowFunctionExpression:f}}}});var Mys=j((M0A,Lys)=>{"use strict";var y$t=ao(),Kwl={"*":{test:()=>!0},field:{test:e=>e.type==="PropertyDefinition"},method:{test:e=>e.type==="MethodDefinition"}};Lys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"lines-between-class-members",url:"https://eslint.style/rules/lines-between-class-members"}}]},type:"layout",docs:{description:"Require or disallow an empty line between class members",recommended:!1,url:"https://eslint.org/docs/latest/rules/lines-between-class-members"},fixable:"whitespace",schema:[{anyOf:[{type:"object",properties:{enforce:{type:"array",items:{type:"object",properties:{blankLine:{enum:["always","never"]},prev:{enum:["method","field","*"]},next:{enum:["method","field","*"]}},additionalProperties:!1,required:["blankLine","prev","next"]},minItems:1}},additionalProperties:!1,required:["enforce"]},{enum:["always","never"]}]},{type:"object",properties:{exceptAfterSingleLine:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{never:"Unexpected blank line between class members.",always:"Expected blank line between class members."}},create(e){let t=[];t[0]=e.options[0]||"always",t[1]=e.options[1]||{exceptAfterSingleLine:!1};let r=typeof t[0]=="object"?t[0].enforce:[{blankLine:t[0],prev:"*",next:"*"}],n=e.sourceCode;function i(p,g){let A=n.getLastToken(p),h=n.getTokenBefore(A),_=n.getFirstToken(g);return y$t.isSemicolonToken(A)&&!y$t.isTokenOnSameLine(h,A)&&y$t.isTokenOnSameLine(A,_)?{curLast:h,nextFirst:A}:{curLast:A,nextFirst:_}}function s(p,g,A){let h=n.getTokenAfter(p,{includeComments:!0});return h!==g&&h.loc.start.line-p.loc.end.line<=A?s(h,g,A):p}function a(p,g,A){let h=n.getTokenBefore(p,{includeComments:!0});return h!==g&&p.loc.start.line-h.loc.end.line<=A?a(h,g,A):p}function u(p,g){return n.getTokensBetween(p,g,{includeComments:!0}).length!==0}function l(p,g){return Kwl[g].test(p)}function f(p,g){for(let A=r.length-1;A>=0;--A){let h=r[A];if(l(p,h.prev)&&l(g,h.next))return h.blankLine}return null}return{ClassBody(p){let g=p.body;for(let A=0;A1,q=u(k,M),G=s(_,E,0),K=f(g[A],g[A+1]);K==="never"&&R?e.report({node:g[A+1],messageId:"never",fix(Z){return q?null:Z.replaceTextRange([k.range[1],M.range[0]],` `)}}):K==="always"&&!D&&!R&&e.report({node:g[A+1],messageId:"always",fix(Z){return q?null:Z.insertTextAfter(G,` `)}})}}}}}});var jys=j((Q0A,Qys)=>{"use strict";var EP=ao(),Jwl=new Set(["Identifier","Super","ThisExpression"]);function Ytn(e,t){return e.type==="Identifier"&&e.name==="undefined"?EP.isReferenceToGlobalVariable(t,e):e.type==="UnaryExpression"&&e.operator==="void"&&e.argument.type==="Literal"&&e.argument.value===0}function Vfe(e){return e.type==="Identifier"&&e.name!=="undefined"||e.type==="MemberExpression"}function Hwl(e,t){if(e.type!=="BinaryExpression"||e.operator!=="==")return!1;let r=Vfe(e.left)?"left":"right",n=r==="left"?"right":"left";return Vfe(e[r])&&(EP.isNullLiteral(e[n])||Ytn(e[n],t))}function zwl(e){return e.type==="LogicalExpression"&&e.operator==="||"&&e.left.type==="BinaryExpression"&&e.left.operator==="==="&&e.right.type==="BinaryExpression"&&e.right.operator==="==="}function Wwl(e,t){if(!zwl(e))return!1;let r=Vfe(e.left.left)?"left":"right",n=r==="left"?"right":"left",i=Vfe(e.right.left)?"left":"right",s=i==="left"?"right":"left";return EP.isSameReference(e.left[r],e.right[i])&&(EP.isNullLiteral(e.left[n])&&Ytn(e.right[s],t)||Ytn(e.left[n],t)&&EP.isNullLiteral(e.right[s]))}function Xwl(e,t){return e.type==="CallExpression"&&e.callee.name==="Boolean"&&e.arguments.length===1&&EP.isReferenceToGlobalVariable(t,e.callee)}function Zwl(e,t){let r=e.type==="UnaryExpression"&&e.operator==="!",n=r?e.argument:e;switch(!0){case Vfe(n):return{reference:n,operator:r?"||":"&&"};case(n.type==="UnaryExpression"&&n.operator==="!"&&Vfe(n.argument)):return{reference:n.argument,operator:"&&"};case(Xwl(n,t)&&Vfe(n.arguments[0])):return{reference:n.arguments[0],operator:r?"||":"&&"};case Hwl(e,t):return{reference:Vfe(e.left)?e.left:e.right,operator:"??"};case Wwl(e,t):return{reference:Vfe(e.left.left)?e.left.left:e.left.right,operator:"??"};default:return null}}function Gtn(e){return e.type==="Program"?!1:e.parent.type==="WithStatement"&&e.parent.body===e?!0:Gtn(e.parent)}function e3l(e,t){let r=t.left;for(;r.type==="LogicalExpression"&&r.operator===t.operator;){if(EP.isParenthesised(e,r))return r;r=r.left}return r}Qys.exports={meta:{type:"suggestion",docs:{description:"Require or disallow logical assignment operator shorthand",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/logical-assignment-operators"},schema:{type:"array",oneOf:[{items:[{const:"always"},{type:"object",properties:{enforceForIfStatements:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2},{items:[{const:"never"}],minItems:1,maxItems:1}]},fixable:"code",hasSuggestions:!0,messages:{assignment:"Assignment (=) can be replaced with operator assignment ({{operator}}).",useLogicalOperator:"Convert this assignment to use the operator {{ operator }}.",logical:"Logical expression can be replaced with an assignment ({{ operator }}).",convertLogical:"Replace this logical expression with an assignment with the operator {{ operator }}.",if:"'if' statement can be replaced with a logical operator assignment with operator {{ operator }}.",convertIf:"Replace this 'if' statement with a logical assignment with operator {{ operator }}.",unexpected:"Unexpected logical operator assignment ({{operator}}) shorthand.",separate:"Separate the logical assignment into an assignment with a logical operator."}},create(e){let t=e.options[0]==="never"?"never":"always",r=t==="always"&&e.options.length>1&&e.options[1].enforceForIfStatements,n=e.sourceCode,i=n.getScope(n.ast).isStrict;function s(f){return f.type==="Identifier"&&(i||!Gtn(f))}function a(f){return!i&&Gtn(f)?f.type==="Identifier":f.type==="MemberExpression"&&Jwl.has(f.object.type)&&(!f.computed||f.property.type!=="MemberExpression"&&f.property.type!=="ChainExpression")}function u(f,p,g){return g?{...f,fix:p.fix}:{...f,suggest:[p]}}function l(f){return n.getFirstTokenBetween(f.left,f.right,p=>p.value===f.operator)}return t==="never"?{AssignmentExpression(f){if(!EP.isLogicalAssignmentOperator(f.operator))return;let p={messageId:"unexpected",node:f,data:{operator:f.operator}},g={messageId:"separate",*fix(A){if(n.getCommentsInside(f).length>0)return;let h=l(f);yield A.replaceText(h,"=");let _=n.getText(f.left),E=f.operator.slice(0,-1);yield A.insertTextAfter(h,` ${_} ${E}`);let b=EP.getPrecedence(f.right)<=EP.getPrecedence({type:"LogicalExpression",operator:E}),D=f.operator==="??="&&EP.isLogicalExpression(f.right);!EP.isParenthesised(n,f.right)&&(b||D)&&(yield A.insertTextBefore(f.right,"("),yield A.insertTextAfter(f.right,")"))}};e.report(u(p,g,s(f.left)))}}:{"AssignmentExpression[operator='='][right.type='LogicalExpression']"(f){let p=e3l(n,f.right);if(!EP.isSameReference(f.left,p))return;let g={messageId:"assignment",node:f,data:{operator:`${f.right.operator}=`}},A={messageId:"useLogicalOperator",data:{operator:`${f.right.operator}=`},*fix(h){if(n.getCommentsInside(f).length>0)return;let _=l(f);yield h.insertTextBefore(_,f.right.operator);let E=l(p.parent),b=n.getTokenAfter(E);yield h.removeRange([p.parent.range[0],b.range[0]])}};e.report(u(g,A,s(f.left)))},'LogicalExpression[right.type="AssignmentExpression"][right.operator="="]'(f){if(Vfe(f.left)&&EP.isSameReference(f.left,f.right.left)){let p={messageId:"logical",node:f,data:{operator:`${f.operator}=`}},g={messageId:"convertLogical",data:{operator:`${f.operator}=`},*fix(h){if(n.getCommentsInside(f).length>0)return;let _=EP.getPrecedence(f.parent),E=f.parent.type!=="ExpressionStatement"&&(_===-1||EP.getPrecedence({type:"AssignmentExpression"})<_);!EP.isParenthesised(n,f)&&E&&(yield h.insertTextBefore(f,"("),yield h.insertTextAfter(f,")")),yield h.removeRange([f.range[0],f.right.range[0]]),yield h.removeRange([f.right.range[1],f.range[1]]);let b=l(f.right);yield h.insertTextBefore(b,f.operator)}},A=s(f.left)||a(f.left);e.report(u(p,g,A))}},"IfStatement[alternate=null]"(f){if(!r)return;let p=f.consequent.type==="BlockStatement";if(p&&f.consequent.body.length!==1)return;let g=p?f.consequent.body[0]:f.consequent,A=n.getScope(f),h=Zwl(f.test,A);if(g.type==="ExpressionStatement"&&g.expression.type==="AssignmentExpression"&&g.expression.operator==="="&&h!==null&&EP.isSameReference(h.reference,g.expression.left)){let _={messageId:"if",node:f,data:{operator:`${h.operator}=`}},E={messageId:"convertIf",data:{operator:`${h.operator}=`},*fix(D){if(n.getCommentsInside(f).length>0)return;let k=n.getFirstToken(g),M=n.getTokenBefore(f);if(M!==null&&M.value!==";"&&M.value!=="{"&&k.type!=="Identifier"&&k.type!=="Keyword")return;let R=l(g.expression);yield D.insertTextBefore(R,h.operator),yield D.removeRange([f.range[0],g.range[0]]),yield D.removeRange([g.range[1],f.range[1]]);let q=n.getTokenAfter(g.expression);p&&q!==null&&q.value!==";"&&(yield D.insertTextAfter(f,";"))}},b=s(h.reference)||f.test.type!=="LogicalExpression"&&a(h.reference);e.report(u(_,E,b))}}}}}});var qys=j((j0A,Uys)=>{"use strict";Uys.exports={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of classes per file",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-classes-per-file"},schema:[{oneOf:[{type:"integer",minimum:1},{type:"object",properties:{ignoreExpressions:{type:"boolean"},max:{type:"integer",minimum:1}},additionalProperties:!1}]}],messages:{maximumExceeded:"File has too many classes ({{ classCount }}). Maximum allowed is {{ max }}."}},create(e){let[t={}]=e.options,[r,n]=typeof t=="number"?[!1,t||1]:[t.ignoreExpressions,t.max||1],i=0;return{Program(){i=0},"Program:exit"(s){i>n&&e.report({node:s,messageId:"maximumExceeded",data:{classCount:i,max:n}})},ClassDeclaration(){i++},ClassExpression(){r||i++}}}}});var Gys=j((U0A,Yys)=>{"use strict";Yys.exports={meta:{type:"suggestion",docs:{description:"Enforce a maximum depth that blocks can be nested",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-depth"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{tooDeeply:"Blocks are nested too deeply ({{depth}}). Maximum allowed is {{maxDepth}}."}},create(e){let t=[],r=e.options[0],n=4;typeof r=="object"&&(Object.hasOwn(r,"maximum")||Object.hasOwn(r,"max"))&&(n=r.maximum||r.max),typeof r=="number"&&(n=r);function i(){t.push(0)}function s(){t.pop()}function a(l){let f=++t[t.length-1];f>n&&e.report({node:l,messageId:"tooDeeply",data:{depth:f,maxDepth:n}})}function u(){t[t.length-1]--}return{Program:i,FunctionDeclaration:i,FunctionExpression:i,ArrowFunctionExpression:i,StaticBlock:i,IfStatement(l){l.parent.type!=="IfStatement"&&a(l)},SwitchStatement:a,TryStatement:a,DoWhileStatement:a,WhileStatement:a,WithStatement:a,ForStatement:a,ForInStatement:a,ForOfStatement:a,"IfStatement:exit":u,"SwitchStatement:exit":u,"TryStatement:exit":u,"DoWhileStatement:exit":u,"WhileStatement:exit":u,"WithStatement:exit":u,"ForStatement:exit":u,"ForInStatement:exit":u,"ForOfStatement:exit":u,"FunctionDeclaration:exit":s,"FunctionExpression:exit":s,"ArrowFunctionExpression:exit":s,"StaticBlock:exit":s,"Program:exit":s}}}});var Jys=j((q0A,Kys)=>{"use strict";var $ys={type:"object",properties:{code:{type:"integer",minimum:0},comments:{type:"integer",minimum:0},tabWidth:{type:"integer",minimum:0},ignorePattern:{type:"string"},ignoreComments:{type:"boolean"},ignoreStrings:{type:"boolean"},ignoreUrls:{type:"boolean"},ignoreTemplateLiterals:{type:"boolean"},ignoreRegExpLiterals:{type:"boolean"},ignoreTrailingComments:{type:"boolean"}},additionalProperties:!1},Vys={anyOf:[$ys,{type:"integer",minimum:0}]};Kys.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"max-len",url:"https://eslint.style/rules/max-len"}}]},type:"layout",docs:{description:"Enforce a maximum line length",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-len"},schema:[Vys,Vys,$ys],messages:{max:"This line has a length of {{lineLength}}. Maximum allowed is {{maxLength}}.",maxComment:"This line has a comment length of {{lineLength}}. Maximum allowed is {{maxCommentLength}}."}},create(e){let t=/[^:/?#]:\/\/[^?#]/u,r=e.sourceCode;function n(ue,me){let Te=0;return ue.replace(/\t/gu,(le,ae)=>{let Ae=ae+Te,De=me?Ae%me:0,_e=me-De;Te+=_e-1}),Array.from(ue).length+Te}let i=Object.assign({},e.options.at(-1));typeof e.options[0]=="number"&&(i.code=e.options[0]),typeof e.options[1]=="number"&&(i.tabWidth=e.options[1]);let s=typeof i.code=="number"?i.code:80,a=typeof i.tabWidth=="number"?i.tabWidth:4,u=!!i.ignoreComments,l=!!i.ignoreStrings,f=!!i.ignoreTemplateLiterals,p=!!i.ignoreRegExpLiterals,g=!!i.ignoreTrailingComments||!!i.ignoreComments,A=!!i.ignoreUrls,h=i.comments,_=i.ignorePattern||null;_&&(_=new RegExp(_,"u"));function E(ue,me,Te){return Te&&Te.loc.start.line===me&&me<=Te.loc.end.line&&(Te.loc.end.line>me||Te.loc.end.column===ue.length)}function b(ue,me,Te){let le=Te.loc.start,ae=Te.loc.end,Ae=!ue.slice(0,Te.loc.start.column).trim();return Te&&(le.lineme||ae.line===me&&ae.column===ue.length)}function D(ue){if(!ue||!ue.parent||ue.type!=="JSXEmptyExpression"||ue.parent.type!=="JSXExpressionContainer")return!1;let me=ue.parent;return me.loc.start.line===me.loc.end.line}function k(ue,me){return ue.slice(0,me.loc.start.column).replace(/\s+$/u,"")}function M(ue,me,Te){Array.isArray(ue[me])||(ue[me]=[]),ue[me].push(Te)}function R(){return r.ast.tokens.filter(ue=>ue.type==="String"||ue.type==="JSXText"&&r.getNodeByRangeIndex(ue.range[0]-1).type==="JSXAttribute")}function q(){return r.ast.tokens.filter(ue=>ue.type==="Template")}function G(){return r.ast.tokens.filter(ue=>ue.type==="RegularExpression")}function K(ue){let me={};for(let Te=0;Te{let Te=r.getNodeByRangeIndex(me.range[0]);D(Te)?ue.at(-1)!==Te.parent&&ue.push(Te.parent):ue.push(me)}),ue}function oe(ue){let me=r.lines,Te=u||h||g?Z():[],le=0,ae=R(),Ae=K(ae),De=q(),_e=K(De),Le=G(),qe=K(Le);me.forEach((at,st)=>{let Ur=st+1,Sr=!1,xr;if(leh&&e.report({node:ue,loc:lr,messageId:"maxComment",data:{lineLength:dt,maxCommentLength:h}}):dt>s&&e.report({node:ue,loc:lr,messageId:"max",data:{lineLength:dt,maxLength:s}})})}return{Program:oe}}}});var Wys=j((Y0A,zys)=>{"use strict";var Hys=ao();function t3l(e,t){return[...Array(t-e).keys()].map(r=>r+e)}zys.exports={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of lines per file",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-lines"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{max:{type:"integer",minimum:0},skipComments:{type:"boolean"},skipBlankLines:{type:"boolean"}},additionalProperties:!1}]}],messages:{exceed:"File has too many lines ({{actual}}). Maximum allowed is {{max}}."}},create(e){let t=e.options[0],r=300;typeof t=="object"&&Object.hasOwn(t,"max")?r=t.max:typeof t=="number"&&(r=t);let n=t&&t.skipComments,i=t&&t.skipBlankLines,s=e.sourceCode;function a(l){return l&&(l.type==="Block"||l.type==="Line")}function u(l){let f=l.loc.start.line,p=l.loc.end.line,g;g=l;do g=s.getTokenBefore(g,{includeComments:!0});while(a(g));g&&Hys.isTokenOnSameLine(g,l)&&(f+=1),g=l;do g=s.getTokenAfter(g,{includeComments:!0});while(a(g));return g&&Hys.isTokenOnSameLine(l,g)&&(p-=1),f<=p?t3l(f,p+1):[]}return{"Program:exit"(){let l=s.lines.map((f,p)=>({lineNumber:p+1,text:f}));if(l.length>1&&l.at(-1).text===""&&l.pop(),i&&(l=l.filter(f=>f.text.trim()!=="")),n){let f=s.getAllComments(),p=new Set(f.flatMap(u));l=l.filter(g=>!p.has(g.lineNumber))}if(l.length>r){let f={start:{line:l[r].lineNumber,column:0},end:{line:s.lines.length,column:s.lines.at(-1).length}};e.report({loc:f,messageId:"exceed",data:{max:r,actual:l.length}})}}}}}});var Zys=j((G0A,Xys)=>{"use strict";var r3l=ao(),{upperCaseFirst:n3l}=QSe(),i3l={type:"object",properties:{max:{type:"integer",minimum:0},skipComments:{type:"boolean"},skipBlankLines:{type:"boolean"},IIFEs:{type:"boolean"}},additionalProperties:!1},s3l={oneOf:[i3l,{type:"integer",minimum:1}]};function a3l(e){let t=new Map;return e.forEach(r=>{for(let n=r.loc.start.line;n<=r.loc.end.line;n++)t.set(n,r)}),t}Xys.exports={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of lines of code in a function",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-lines-per-function"},schema:[s3l],messages:{exceed:"{{name}} has too many lines ({{lineCount}}). Maximum allowed is {{maxLines}}."}},create(e){let t=e.sourceCode,r=t.lines,n=e.options[0],i=50,s=!1,a=!1,u=!1;typeof n=="object"?(i=typeof n.max=="number"?n.max:50,s=!!n.skipComments,a=!!n.skipBlankLines,u=!!n.IIFEs):typeof n=="number"&&(i=n);let l=a3l(t.getAllComments());function f(h,_,E){let b=E.loc.start,D=E.loc.end,k=b.line===_&&!h.slice(0,b.column).trim(),M=D.line===_&&!h.slice(D.column).trim();return E&&(b.line<_||k)&&(D.line>_||M)}function p(h){return(h.type==="FunctionExpression"||h.type==="ArrowFunctionExpression")&&h.parent&&h.parent.type==="CallExpression"&&h.parent.callee===h}function g(h){return!h.parent||h!==h.parent.value?!1:h.parent.type==="MethodDefinition"?!0:h.parent.type==="Property"?h.parent.method===!0||h.parent.kind==="get"||h.parent.kind==="set":!1}function A(h){let _=g(h)?h.parent:h;if(!u&&p(_))return;let E=0;for(let b=_.loc.start.line-1;b<_.loc.end.line;++b){let D=r[b];s&&l.has(b+1)&&f(D,b+1,l.get(b+1))||a&&D.match(/^\s*$/u)||E++}if(E>i){let b=n3l(r3l.getFunctionNameWithKind(h));e.report({node:_,messageId:"exceed",data:{name:b,lineCount:E,maxLines:i}})}}return{FunctionDeclaration:A,FunctionExpression:A,ArrowFunctionExpression:A}}}});var t_s=j((V0A,e_s)=>{"use strict";e_s.exports={meta:{type:"suggestion",docs:{description:"Enforce a maximum depth that callbacks can be nested",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-nested-callbacks"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]}],messages:{exceed:"Too many nested callbacks ({{num}}). Maximum allowed is {{max}}."}},create(e){let t=e.options[0],r=10;typeof t=="object"&&(Object.hasOwn(t,"maximum")||Object.hasOwn(t,"max"))?r=t.maximum||t.max:typeof t=="number"&&(r=t);let n=[];function i(a){if(a.parent.type==="CallExpression"&&n.push(a),n.length>r){let l={num:n.length,max:r};e.report({node:a,messageId:"exceed",data:l})}}function s(){n.pop()}return{ArrowFunctionExpression:i,"ArrowFunctionExpression:exit":s,FunctionExpression:i,"FunctionExpression:exit":s}}}});var i_s=j(($0A,n_s)=>{"use strict";var r_s=ao(),{upperCaseFirst:o3l}=QSe();n_s.exports={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Enforce a maximum number of parameters in function definitions",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-params"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0},countVoidThis:{type:"boolean",description:"Whether to count a `this` declaration when the type is `void`."}},additionalProperties:!1}]}],messages:{exceed:"{{name}} has too many parameters ({{count}}). Maximum allowed is {{max}}."}},create(e){let t=e.sourceCode,r=e.options[0],n=3,i=!1;typeof r=="object"&&((Object.hasOwn(r,"maximum")||Object.hasOwn(r,"max"))&&(n=r.maximum||r.max),i=r.countVoidThis),typeof r=="number"&&(n=r);function s(a){let l=a.params.length>0&&a.params[0].type==="Identifier"&&a.params[0].name==="this"&&a.params[0].typeAnnotation?.typeAnnotation.type==="TSVoidKeyword"&&!i?a.params.length-1:a.params.length;l>n&&e.report({loc:r_s.getFunctionHeadLoc(a,t),node:a,messageId:"exceed",data:{name:o3l(r_s.getFunctionNameWithKind(a)),count:l,max:n}})}return{FunctionDeclaration:s,ArrowFunctionExpression:s,FunctionExpression:s,TSDeclareFunction:s,TSFunctionType:s}}}});var a_s=j((K0A,s_s)=>{"use strict";var u3l=ao(),{upperCaseFirst:l3l}=QSe();s_s.exports={meta:{type:"suggestion",docs:{description:"Enforce a maximum number of statements allowed in function blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-statements"},schema:[{oneOf:[{type:"integer",minimum:0},{type:"object",properties:{maximum:{type:"integer",minimum:0},max:{type:"integer",minimum:0}},additionalProperties:!1}]},{type:"object",properties:{ignoreTopLevelFunctions:{type:"boolean"}},additionalProperties:!1}],messages:{exceed:"{{name}} has too many statements ({{count}}). Maximum allowed is {{max}}."}},create(e){let t=[],r=e.options[0],n=e.options[1]&&e.options[1].ignoreTopLevelFunctions||!1,i=[],s=10;typeof r=="object"&&(Object.hasOwn(r,"maximum")||Object.hasOwn(r,"max"))?s=r.maximum||r.max:typeof r=="number"&&(s=r);function a(p,g,A){if(g>A){let h=l3l(u3l.getFunctionNameWithKind(p));e.report({node:p,messageId:"exceed",data:{name:h,count:g,max:A}})}}function u(){t.push(0)}function l(p){let g=t.pop();p.type!=="StaticBlock"&&(n&&t.length===0?i.push({node:p,count:g}):a(p,g,s))}function f(p){t[t.length-1]+=p.body.length}return{FunctionDeclaration:u,FunctionExpression:u,ArrowFunctionExpression:u,StaticBlock:u,BlockStatement:f,"FunctionDeclaration:exit":l,"FunctionExpression:exit":l,"ArrowFunctionExpression:exit":l,"StaticBlock:exit":l,"Program:exit"(){i.length!==1&&i.forEach(p=>{let g=p.count,A=p.node;a(A,g,s)})}}}}});var u_s=j((J0A,o_s)=>{"use strict";var c3l=ao();o_s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"max-statements-per-line",url:"https://eslint.style/rules/max-statements-per-line"}}]},type:"layout",docs:{description:"Enforce a maximum number of statements allowed per line",recommended:!1,url:"https://eslint.org/docs/latest/rules/max-statements-per-line"},schema:[{type:"object",properties:{max:{type:"integer",minimum:1,default:1}},additionalProperties:!1}],messages:{exceed:"This line has {{numberOfStatementsOnThisLine}} {{statements}}. Maximum allowed is {{maxStatementsPerLine}}."}},create(e){let t=e.sourceCode,r=e.options[0]||{},n=typeof r.max<"u"?r.max:1,i=0,s=0,a,u=/^(?:(?:DoWhile|For|ForIn|ForOf|If|Labeled|While)Statement|Export(?:Default|Named)Declaration)$/u;function l(){a&&e.report({node:a,messageId:"exceed",data:{numberOfStatementsOnThisLine:s,maxStatementsPerLine:n,statements:s===1?"statement":"statements"}}),a=null}function f(A){return t.getLastToken(A,c3l.isNotSemicolonToken)}function p(A){let h=A.loc.start.line;u.test(A.parent.type)&&A.parent.alternate!==A||(h===i?s+=1:(l(),s=1,i=h),s===n+1&&(a=a||A))}function g(A){let h=f(A).loc.end.line;h!==i&&(l(),s=1,i=h)}return{BreakStatement:p,ClassDeclaration:p,ContinueStatement:p,DebuggerStatement:p,DoWhileStatement:p,ExpressionStatement:p,ForInStatement:p,ForOfStatement:p,ForStatement:p,FunctionDeclaration:p,IfStatement:p,ImportDeclaration:p,LabeledStatement:p,ReturnStatement:p,SwitchStatement:p,ThrowStatement:p,TryStatement:p,VariableDeclaration:p,WhileStatement:p,WithStatement:p,ExportNamedDeclaration:p,ExportDefaultDeclaration:p,ExportAllDeclaration:p,"BreakStatement:exit":g,"ClassDeclaration:exit":g,"ContinueStatement:exit":g,"DebuggerStatement:exit":g,"DoWhileStatement:exit":g,"ExpressionStatement:exit":g,"ForInStatement:exit":g,"ForOfStatement:exit":g,"ForStatement:exit":g,"FunctionDeclaration:exit":g,"IfStatement:exit":g,"ImportDeclaration:exit":g,"LabeledStatement:exit":g,"ReturnStatement:exit":g,"SwitchStatement:exit":g,"ThrowStatement:exit":g,"TryStatement:exit":g,"VariableDeclaration:exit":g,"WhileStatement:exit":g,"WithStatement:exit":g,"ExportNamedDeclaration:exit":g,"ExportDefaultDeclaration:exit":g,"ExportAllDeclaration:exit":g,"Program:exit":l}}}});var c_s=j((H0A,l_s)=>{"use strict";var IGe=ao();l_s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"9.3.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"multiline-comment-style",url:"https://eslint.style/rules/multiline-comment-style"}}]},type:"suggestion",docs:{description:"Enforce a particular style for multiline comments",recommended:!1,url:"https://eslint.org/docs/latest/rules/multiline-comment-style"},fixable:"whitespace",schema:{anyOf:[{type:"array",items:[{enum:["starred-block","bare-block"]}],additionalItems:!1},{type:"array",items:[{enum:["separate-lines"]},{type:"object",properties:{checkJSDoc:{type:"boolean"}},additionalProperties:!1}],additionalItems:!1}]},messages:{expectedBlock:"Expected a block comment instead of consecutive line comments.",expectedBareBlock:"Expected a block comment without padding stars.",startNewline:"Expected a linebreak after '/*'.",endNewline:"Expected a linebreak before '*/'.",missingStar:"Expected a '*' at the start of this line.",alignment:"Expected this line to be aligned with the start of the comment.",expectedLines:"Expected multiple line comments instead of a block comment."}},create(e){let t=e.sourceCode,r=e.options[0]||"starred-block",i=!!(e.options[1]||{}).checkJSDoc;function s(D){return/^\s*\*/u.test(D)}function a([D]){if(D.type!=="Block")return!1;let k=D.value.split(IGe.LINEBREAK_MATCHER);return k.length>0&&k.every((M,R)=>(R===0||R===k.length-1?/^\s*$/u:/^\s*\*/u).test(M))}function u([D]){if(D.type!=="Block")return!1;let k=D.value.split(IGe.LINEBREAK_MATCHER);return/^\*\s*$/u.test(k[0])&&k.slice(1,-1).every(M=>/^\s* /u.test(M))&&/^\s*$/u.test(k.at(-1))}function l(D){let k=D.map(({value:M})=>M).filter(M=>M.trim().length).every(M=>M.startsWith(" "));return D.map(({value:M})=>k?M.replace(/^ /u,""):M)}function f(D){let k=D.value.split(IGe.LINEBREAK_MATCHER).filter((R,q,G)=>!(q===0||q===G.length-1)).map(R=>R.replace(/^\s*$/u,"")),M=k.map(R=>R.replace(/\s*\*/u,"")).filter(R=>R.trim().length).every(R=>R.startsWith(" "));return k.map(R=>R.replace(M?/\s*\* ?/u:/\s*\*/u,""))}function p(D){let k=D.value.split(IGe.LINEBREAK_MATCHER).map(q=>q.replace(/^\s*$/u,"")),M=`${t.text.slice(D.range[0]-D.loc.start.column,D.range[0])} `,R="";for(let[q,G]of k.entries()){if(!G.trim().length||q===0)continue;let[,K]=G.match(/^(\s*\*?\s*)/u);if(K.lengthR.length&&(R=Z)}}return k.map(q=>{let G=q.match(/^(\s*\*?\s*)(.*)/u),[,K,Z]=G;return K.length>M.length?`${K.slice(M.length-(R.length+K.length))}${Z}`:K.length`${M} * ${R}`).join(` `)} ${M} */`}function _(D,k){return k.map(M=>`// ${M}`).join(` ${A(D)}`)}function E(D,k){return`/* ${k.join(` ${A(D)} `)} */`}let b={"starred-block"(D){let[k]=D,M=g(D);if(!M.some(R=>R.includes("*/")))if(D.length>1)e.report({loc:{start:k.loc.start,end:D.at(-1).loc.end},messageId:"expectedBlock",fix(R){let q=[k.range[0],D.at(-1).range[1]];return M.some(G=>G.startsWith("/"))?null:R.replaceTextRange(q,h(k,M))}});else{let R=k.value.split(IGe.LINEBREAK_MATCHER),G=`${A(k)} *`;if(!/^\*?\s*$/u.test(R[0])){let K=k.value.startsWith("*")?k.range[0]+1:k.range[0];e.report({loc:{start:k.loc.start,end:{line:k.loc.start.line,column:k.loc.start.column+2}},messageId:"startNewline",fix:Z=>Z.insertTextAfterRange([K,K+2],` ${G}`)})}/^\s*$/u.test(R.at(-1))||e.report({loc:{start:{line:k.loc.end.line,column:k.loc.end.column-2},end:k.loc.end},messageId:"endNewline",fix:K=>K.replaceTextRange([k.range[1]-2,k.range[1]],` ${G}/`)});for(let K=k.loc.start.line+1;K<=k.loc.end.line;K++){let Z=t.lines[K-1],oe=s(Z)?"alignment":"missingStar";Z.startsWith(G)||e.report({loc:{start:{line:K,column:0},end:{line:K,column:Z.length}},messageId:oe,fix(ue){let me=t.getIndexFromLoc({line:K,column:0});if(oe==="alignment"){let[,Ae=""]=Z.match(/^(\s*\*)/u)||[],De=me+Ae.length;return ue.replaceTextRange([me,De],G)}let[,Te=""]=Z.match(/^(\s*)/u)||[],le=me+Te.length,ae;for(let[Ae,De]of R.entries()){if(!/\S+/u.test(De))continue;let _e=t.lines[k.loc.start.line-1+Ae],[,Le="",qe=""]=_e.match(/^(\s*(?:\/?\*)?(\s*))/u)||[];ae=`${Te.slice(Le.length)}${qe}`,/^\s*\//u.test(Z)&&ae.length===0&&(ae+=" ");break}return ue.replaceTextRange([me,le],`${G}${ae}`)}})}}},"separate-lines"(D){let[k]=D,M=u(D);if(k.type!=="Block"||!i&&M)return;let R=g(D);M&&(R=R.slice(1,R.length-1));let q=t.getTokenAfter(k,{includeComments:!0});q&&k.loc.end.line===q.loc.start.line||e.report({loc:{start:k.loc.start,end:{line:k.loc.start.line,column:k.loc.start.column+2}},messageId:"expectedLines",fix(G){return G.replaceText(k,_(k,R))}})},"bare-block"(D){if(u(D))return;let[k]=D,M=g(D);k.type==="Line"&&M.length>1&&!M.some(R=>R.includes("*/"))&&e.report({loc:{start:k.loc.start,end:D.at(-1).loc.end},messageId:"expectedBlock",fix(R){return R.replaceTextRange([k.range[0],D.at(-1).range[1]],E(k,M))}}),a(D)&&e.report({loc:{start:k.loc.start,end:{line:k.loc.start.line,column:k.loc.start.column+2}},messageId:"expectedBareBlock",fix(R){return R.replaceText(k,E(k,M))}})}};return{Program(){return t.getAllComments().filter(D=>D.type!=="Shebang").filter(D=>!IGe.COMMENTS_IGNORE_PATTERN.test(D.value)).filter(D=>{let k=t.getTokenBefore(D,{includeComments:!0});return!k||k.loc.end.line{let q=t.getTokenBefore(k,{includeComments:!0});return k.type==="Line"&&M&&R[M-1].type==="Line"&&q&&q.loc.end.line===k.loc.start.line-1&&q===R[M-1]?D.at(-1).push(k):D.push([k]),D},[]).filter(D=>!(D.length===1&&D[0].loc.start.line===D[0].loc.end.line)).forEach(b[r])}}}}});var p_s=j((z0A,f_s)=>{"use strict";var VSe=ao();f_s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"multiline-ternary",url:"https://eslint.style/rules/multiline-ternary"}}]},type:"layout",docs:{description:"Enforce newlines between operands of ternary expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/multiline-ternary"},schema:[{enum:["always","always-multiline","never"]}],messages:{expectedTestCons:"Expected newline between test and consequent of ternary expression.",expectedConsAlt:"Expected newline between consequent and alternate of ternary expression.",unexpectedTestCons:"Unexpected newline between test and consequent of ternary expression.",unexpectedConsAlt:"Unexpected newline between consequent and alternate of ternary expression."},fixable:"whitespace"},create(e){let t=e.sourceCode,r=e.options[0],n=r!=="never",i=r==="always-multiline";return{ConditionalExpression(s){let a=t.getTokenAfter(s.test,VSe.isNotClosingParenToken),u=t.getTokenAfter(s.consequent,VSe.isNotClosingParenToken),l=t.getFirstToken(s),f=t.getTokenBefore(a),p=t.getTokenAfter(a),g=t.getTokenBefore(u),A=t.getTokenAfter(u),h=VSe.isTokenOnSameLine(f,p),_=VSe.isTokenOnSameLine(g,A),E=!!t.getCommentsInside(s).length;if(!n)h||e.report({node:s.test,loc:{start:l.loc.start,end:f.loc.end},messageId:"unexpectedTestCons",fix(b){if(E)return null;let D=[],k=VSe.isTokenOnSameLine(f,a),M=VSe.isTokenOnSameLine(a,p);return k||D.push(b.removeRange([f.range[1],a.range[0]])),M||D.push(b.removeRange([a.range[1],p.range[0]])),D}}),_||e.report({node:s.consequent,loc:{start:p.loc.start,end:g.loc.end},messageId:"unexpectedConsAlt",fix(b){if(E)return null;let D=[],k=VSe.isTokenOnSameLine(g,u),M=VSe.isTokenOnSameLine(u,A);return k||D.push(b.removeRange([g.range[1],u.range[0]])),M||D.push(b.removeRange([u.range[1],A.range[0]])),D}});else{if(i&&s.loc.start.line===s.loc.end.line)return;h&&e.report({node:s.test,loc:{start:l.loc.start,end:f.loc.end},messageId:"expectedTestCons",fix:b=>E?null:b.replaceTextRange([f.range[1],a.range[0]],` `)}),_&&e.report({node:s.consequent,loc:{start:p.loc.start,end:g.loc.end},messageId:"expectedConsAlt",fix:b=>E?null:b.replaceTextRange([g.range[1],u.range[0]],` `)})}}}}}});var A_s=j((W0A,g_s)=>{"use strict";var Vtn=ao(),d_s=["Array","Boolean","Date","Error","Function","Number","Object","RegExp","String","Symbol","BigInt"];function m_s(e,t){return e[t]=!0,e}function f3l(e){return Array.from(new Set([...e.capIsNewExceptions,...d_s])).reduce(m_s,{})}g_s.exports={meta:{type:"suggestion",docs:{description:"Require constructor names to begin with a capital letter",recommended:!1,url:"https://eslint.org/docs/latest/rules/new-cap"},schema:[{type:"object",properties:{newIsCap:{type:"boolean"},capIsNew:{type:"boolean"},newIsCapExceptions:{type:"array",items:{type:"string"}},newIsCapExceptionPattern:{type:"string"},capIsNewExceptions:{type:"array",items:{type:"string"}},capIsNewExceptionPattern:{type:"string"},properties:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{capIsNew:!0,capIsNewExceptions:d_s,newIsCap:!0,newIsCapExceptions:[],properties:!0}],messages:{upper:"A function with a name starting with an uppercase letter should only be used as a constructor.",lower:"A constructor name should not start with a lowercase letter."}},create(e){let[t]=e.options,r=!t.properties,n=t.newIsCapExceptions.reduce(m_s,{}),i=t.newIsCapExceptionPattern?new RegExp(t.newIsCapExceptionPattern,"u"):null,s=f3l(t),a=t.capIsNewExceptionPattern?new RegExp(t.capIsNewExceptionPattern,"u"):null,u={},l=e.sourceCode;function f(h){return h.callee.type==="Identifier"?h.callee.name:Vtn.getStaticPropertyName(h.callee)||""}function p(h){let _=h.charAt(0),E=_.toLowerCase(),b=_.toUpperCase();return E===b?"non-alpha":_===E?"lower":"upper"}function g(h,_,E,b){let D=l.getText(_.callee);if(h[E]||h[D]||b&&b.test(D))return!0;let k=Vtn.skipChainExpression(_.callee);return E==="UTC"&&k.type==="MemberExpression"?k.object.type==="Identifier"&&k.object.name==="Date":r&&k.type==="MemberExpression"}function A(h,_){let E=Vtn.skipChainExpression(h.callee);E.type==="MemberExpression"&&(E=E.property),e.report({node:h,loc:E.loc,messageId:_})}return t.newIsCap&&(u.NewExpression=function(h){let _=f(h);_&&(p(_)!=="lower"||g(n,h,_,i)||A(h,"lower"))}),t.capIsNew&&(u.CallExpression=function(h){let _=f(h);_&&(p(_)!=="upper"||g(s,h,_,a)||A(h,"upper"))}),u}}});var __s=j((X0A,y_s)=>{"use strict";var h_s=ao();y_s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"new-parens",url:"https://eslint.style/rules/new-parens"}}]},type:"layout",docs:{description:"Enforce or disallow parentheses when invoking a constructor with no arguments",recommended:!1,url:"https://eslint.org/docs/latest/rules/new-parens"},fixable:"code",schema:[{enum:["always","never"]}],messages:{missing:"Missing '()' invoking a constructor.",unnecessary:"Unnecessary '()' invoking a constructor with no arguments."}},create(e){let r=e.options[0]!=="never",n=e.sourceCode;return{NewExpression(i){if(i.arguments.length!==0)return;let s=n.getLastToken(i),u=s&&h_s.isClosingParenToken(s)&&h_s.isOpeningParenToken(n.getTokenBefore(s))&&i.callee.range[1]l.insertTextAfter(i,"()")}):u&&e.report({node:i,messageId:"unnecessary",fix:l=>[l.remove(n.getTokenBefore(s)),l.remove(s),l.insertTextBefore(i,"("),l.insertTextAfter(i,")")]})}}}}});var x_s=j((Z0A,E_s)=>{"use strict";var p3l=ao();E_s.exports={meta:{type:"layout",docs:{description:"Require or disallow an empty line after variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/rules/newline-after-var"},schema:[{enum:["never","always"]}],fixable:"whitespace",messages:{expected:"Expected blank line after variable declarations.",unexpected:"Unexpected blank line after variable declarations."},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(e){let t=e.sourceCode,r=e.options[0]==="never"?"never":"always",n=t.getAllComments().reduce((A,h)=>(A[h.loc.start.line]=h.loc.end.line,A),{});function i(A){let h=t.getLastToken(A);if(h.type==="Punctuator"&&h.value===";"){let _=t.getTokenBefore(h);if(_.loc.end.line!==h.loc.start.line)return _}return h}function s(A){return A==="var"||A==="let"||A==="const"}function a(A){return A==="ForStatement"||A==="ForInStatement"||A==="ForOfStatement"}function u(A){return A==="ExportNamedDeclaration"||A==="ExportSpecifier"||A==="ExportDefaultDeclaration"||A==="ExportAllDeclaration"}function l(A){let h=t.getTokenAfter(A);return!h||h.type==="Punctuator"&&h.value==="}"}function f(A){let h=n[A];return n[h+1]?f(h+1):h}function p(A,h){return A.loc.start.line>f(h)+1}function g(A){let h=i(A),_=h===t.getLastToken(A)?t.getTokenAfter(A):t.getLastToken(A),E=h.loc.end.line+1;if(!_||a(A.parent.type)||u(A.parent.type)||_.type==="Keyword"&&s(_.value)||l(A))return;let b=_.loc.start.line>E,D=typeof n[E]<"u";r==="never"&&b&&!D&&e.report({node:A,messageId:"unexpected",fix(k){let M=t.getText().slice(h.range[1],_.range[0]).split(p3l.LINEBREAK_MATCHER);return k.replaceTextRange([h.range[1],_.range[0]],`${M.slice(0,-1).join("")} ${M.at(-1)}`)}}),r==="always"&&(!b||D&&!p(_,E))&&e.report({node:A,messageId:"expected",fix(k){return(b?f(E):h.loc.end.line)===_.loc.start.line?k.insertTextBefore(_,` `):k.insertTextBeforeRange([_.range[0]-_.loc.start.column,_.range[1]],` `)}})}return{VariableDeclaration:g}}}});var C_s=j((e1A,v_s)=>{"use strict";v_s.exports={meta:{type:"layout",docs:{description:"Require an empty line before `return` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/newline-before-return"},fixable:"whitespace",schema:[],messages:{expected:"Expected newline before return statement."},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/blog/2017/06/eslint-v4.0.0-released/",deprecatedSince:"4.0.0",availableUntil:"11.0.0",replacedBy:[{message:"The new rule moved to a plugin.",url:"https://eslint.org/docs/latest/rules/padding-line-between-statements#examples",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]}},create(e){let t=e.sourceCode;function r(l,f){let p=t.getTokenBefore(l);return f.includes(p.value)}function n(l){let f=l.parent.type;return l.parent.body?Array.isArray(l.parent.body)?l.parent.body[0]===l:l.parent.body===l:f==="IfStatement"?r(l,["else",")"]):f==="DoWhileStatement"?r(l,["do"]):f==="SwitchCase"?r(l,[":"]):r(l,[")"])}function i(l,f){let p=t.getCommentsBefore(l),g=0;return p.length&&p.forEach(A=>{g++,A.type==="Block"&&(g+=A.loc.end.line-A.loc.start.line),A.loc.start.line===f&&g--,A.loc.end.line===l.loc.start.line&&g--}),g}function s(l){let f=t.getTokenBefore(l),p;return f?p=f.loc.end.line:p=0,p}function a(l){let f=l.loc.start.line,p=s(l),g=i(l,p);return f-p-g>1}function u(l){let f=t.getCommentsBefore(l),p=f.at(-1),g=t.getTokenBefore(l);return f.length===0||p.loc.end.line===g.loc.end.line&&p.loc.end.line!==l.loc.start.line}return{ReturnStatement(l){!n(l)&&!a(l)&&e.report({node:l,messageId:"expected",fix(f){if(u(l)){let p=t.getTokenBefore(l),g=l.loc.start.line===p.loc.end.line?` `:` `;return f.insertTextBefore(l,g)}return null}})}}}}});var I_s=j((t1A,b_s)=>{"use strict";var P7e=ao();b_s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"newline-per-chained-call",url:"https://eslint.style/rules/newline-per-chained-call"}}]},type:"layout",docs:{description:"Require a newline after each call in a method chain",recommended:!1,url:"https://eslint.org/docs/latest/rules/newline-per-chained-call"},fixable:"whitespace",schema:[{type:"object",properties:{ignoreChainWithDepth:{type:"integer",minimum:1,maximum:10,default:2}},additionalProperties:!1}],messages:{expected:"Expected line break before `{{callee}}`."}},create(e){let t=e.options[0]||{},r=t.ignoreChainWithDepth||2,n=e.sourceCode;function i(a){return a.computed?a.optional?"?.[":"[":a.optional?"?.":"."}function s(a){let u=i(a),l=n.getText(a.property).split(P7e.LINEBREAK_MATCHER),f=a.computed&&l.length===1?"]":"";return u+l[0]+f}return{"CallExpression:exit"(a){let u=P7e.skipChainExpression(a.callee);if(u.type!=="MemberExpression")return;let l=P7e.skipChainExpression(u.object),f=1;for(;l&&l.callee;)f+=1,l=P7e.skipChainExpression(P7e.skipChainExpression(l.callee).object);if(f>r&&P7e.isTokenOnSameLine(u.object,u.property)){let p=n.getTokenAfter(u.object,P7e.isNotClosingParenToken);e.report({node:u.property,loc:{start:p.loc.start,end:u.loc.end},messageId:"expected",data:{callee:s(u)},fix(g){return g.insertTextBefore(p,` `)}})}}}}}});var w_s=j((r1A,D_s)=>{"use strict";var{getStaticPropertyName:d3l,getVariableByName:m3l,skipChainExpression:g3l}=ao();function S_s(e){return/^(?:alert|confirm|prompt)$/u.test(e)}function A3l(e,t){let r=e.references.filter(n=>n.identifier.range[0]===t.range[0]&&n.identifier.range[1]===t.range[1]);return r.length===1?r[0]:null}function T_s(e,t){let r=A3l(e,t);return r&&r.resolved&&r.resolved.defs.length>0}function h3l(e,t){return e.type==="global"&&t.type==="ThisExpression"?!0:t.type==="Identifier"&&(t.name==="window"||t.name==="globalThis"&&m3l(e,"globalThis"))?!T_s(e,t):!1}D_s.exports={meta:{type:"suggestion",docs:{description:"Disallow the use of `alert`, `confirm`, and `prompt`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-alert"},schema:[],messages:{unexpected:"Unexpected {{name}}."}},create(e){let t=e.sourceCode;return{CallExpression(r){let n=g3l(r.callee),i=t.getScope(r);if(n.type==="Identifier"){let s=n.name;!T_s(i,n)&&S_s(n.name)&&e.report({node:r,messageId:"unexpected",data:{name:s}})}else if(n.type==="MemberExpression"&&h3l(i,n.object)){let s=d3l(n);S_s(s)&&e.report({node:r,messageId:"unexpected",data:{name:s}})}}}}}});var P_s=j((n1A,k_s)=>{"use strict";var{getVariableByName:y3l,isClosingParenToken:_3l,isOpeningParenToken:B_s,isStartOfExpressionStatement:E3l,needsPrecedingSemicolon:x3l}=ao();k_s.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow `Array` constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-array-constructor"},fixable:"code",hasSuggestions:!0,schema:[],messages:{preferLiteral:"The array literal notation [] is preferable.",useLiteral:"Replace with an array literal.",useLiteralAfterSemicolon:"Replace with an array literal, add preceding semicolon."}},create(e){let t=e.sourceCode;function r(s){let a=t.getFirstToken(s),u=t.getLastToken(s),l=t.getLastToken(s.callee);for(;l!==u&&!B_s(l);)l=t.getTokenAfter(l);return t.commentsExistBetween(a,l)}function n(s){let a=t.getLastToken(s);if(!_3l(a))return"";let u=s.callee;do if(u=t.getTokenAfter(u),!u||u===a)return"";while(!B_s(u));return t.text.slice(u.range[1],a.range[0])}function i(s){if(s.callee.type!=="Identifier"||s.callee.name!=="Array"||s.typeArguments||s.arguments.length===1&&s.arguments[0].type!=="SpreadElement")return;let a=y3l(t.getScope(s),"Array");if(a&&a.identifiers.length===0){let u=n(s),l,f,p=s.arguments.reduce((A,h)=>h.type!=="SpreadElement"?A+1:A,0),g=s.optional||s.arguments.length>0&&p<2||r(s);E3l(s)&&x3l(t,s)?(l=`;[${u}]`,f="useLiteralAfterSemicolon"):(l=`[${u}]`,f="useLiteral"),e.report({node:s,messageId:"preferLiteral",fix(A){return g?null:A.replaceText(s,l)},suggest:[{messageId:f,fix(A){return g?A.replaceText(s,l):null}}]})}}return{CallExpression:i,NewExpression:i}}}});var O_s=j((i1A,N_s)=>{"use strict";N_s.exports={meta:{type:"problem",docs:{description:"Disallow using an async function as a Promise executor",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-async-promise-executor"},fixable:null,schema:[],messages:{async:"Promise executor functions should not be async."}},create(e){return{"NewExpression[callee.name='Promise'][arguments.0.async=true]"(t){e.report({node:e.sourceCode.getFirstToken(t.arguments[0],r=>r.value==="async"),messageId:"async"})}}}}});var F_s=j((s1A,R_s)=>{"use strict";function v3l(e){let t=e.type;return t==="FunctionDeclaration"||t==="FunctionExpression"||t==="ArrowFunctionExpression"||t==="ForOfStatement"&&e.await===!0}function C3l(e,t){switch(t.type){case"ForStatement":return e===t.test||e===t.update||e===t.body;case"ForOfStatement":case"ForInStatement":return e===t.body||e===t.left&&e.kind==="await using";case"WhileStatement":case"DoWhileStatement":return e===t.test||e===t.body;default:return!1}}R_s.exports={meta:{type:"problem",docs:{description:"Disallow `await` inside of loops",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-await-in-loop"},schema:[],messages:{unexpectedAwait:"Unexpected `await` inside a loop."}},create(e){function t(r){if(r.type==="VariableDeclaration"&&r.kind!=="await using"||r.type==="ForOfStatement"&&!r.await)return;let n=r,i=n.parent;for(;i&&!v3l(i);){if(C3l(n,i)){e.report({node:r,messageId:"unexpectedAwait"});return}n=i,i=i.parent}}return{AwaitExpression:t,ForOfStatement:t,VariableDeclaration:t}}}});var Q_s=j((a1A,M_s)=>{"use strict";var L_s=["^","|","&","<<",">>",">>>","^=","|=","&=","<<=",">>=",">>>=","~"];M_s.exports={meta:{type:"suggestion",defaultOptions:[{allow:[],int32Hint:!1}],docs:{description:"Disallow bitwise operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-bitwise"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:L_s},uniqueItems:!0},int32Hint:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Unexpected use of '{{operator}}'."}},create(e){let[{allow:t,int32Hint:r}]=e.options;function n(l){e.report({node:l,messageId:"unexpected",data:{operator:l.operator}})}function i(l){return L_s.includes(l.operator)}function s(l){return t.includes(l.operator)}function a(l){return r&&l.operator==="|"&&l.right&&l.right.type==="Literal"&&l.right.value===0}function u(l){i(l)&&!s(l)&&!a(l)&&n(l)}return{AssignmentExpression:u,BinaryExpression:u,UnaryExpression:u}}}});var U_s=j((o1A,j_s)=>{"use strict";j_s.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-deprecated-api",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-deprecated-api.md"}}]},type:"problem",docs:{description:"Disallow use of the `Buffer()` constructor",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-buffer-constructor"},schema:[],messages:{deprecated:"{{expr}} is deprecated. Use Buffer.from(), Buffer.alloc(), or Buffer.allocUnsafe() instead."}},create(e){return{"CallExpression[callee.name='Buffer'], NewExpression[callee.name='Buffer']"(t){e.report({node:t,messageId:"deprecated",data:{expr:t.type==="CallExpression"?"Buffer()":"new Buffer()"}})}}}}});var Y_s=j((u1A,q_s)=>{"use strict";q_s.exports={meta:{type:"suggestion",docs:{description:"Disallow the use of `arguments.caller` or `arguments.callee`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-caller"},schema:[],messages:{unexpected:"Avoid arguments.{{prop}}."}},create(e){return{MemberExpression(t){let r=t.object.name,n=t.property.name;r==="arguments"&&!t.computed&&n&&n.match(/^calle[er]$/u)&&e.report({node:t,messageId:"unexpected",data:{prop:n}})}}}}});var V_s=j((l1A,G_s)=>{"use strict";G_s.exports={meta:{type:"suggestion",docs:{description:"Disallow lexical declarations in case clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-case-declarations"},hasSuggestions:!0,schema:[],messages:{addBrackets:"Add {} brackets around the case block.",unexpected:"Unexpected lexical declaration in case block."}},create(e){function t(r){switch(r.type){case"FunctionDeclaration":case"ClassDeclaration":return!0;case"VariableDeclaration":return r.kind!=="var";default:return!1}}return{SwitchCase(r){for(let n=0;n[s.insertTextBefore(r.consequent[0],"{ "),s.insertTextAfter(r.consequent.at(-1)," }")]}]})}}}}}});var K_s=j((c1A,$_s)=>{"use strict";var b3l=ao();$_s.exports={meta:{type:"suggestion",docs:{description:"Disallow `catch` clause parameters from shadowing variables in the outer scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-catch-shadow"},deprecated:{message:"This rule was renamed.",url:"https://eslint.org/blog/2018/07/eslint-v5.1.0-released/",deprecatedSince:"5.1.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-shadow",url:"https://eslint.org/docs/rules/no-shadow"}}]},schema:[],messages:{mutable:"Value of '{{name}}' may be overwritten in IE 8 and earlier."}},create(e){let t=e.sourceCode;function r(n,i){return b3l.getVariableByName(n,i)!==null}return{"CatchClause[param!=null]"(n){let i=t.getScope(n);i.block===n&&(i=i.upper),r(i,n.param.name)&&e.report({node:n,messageId:"mutable",data:{name:n.param.name}})}}}}});var H_s=j((f1A,J_s)=>{"use strict";var I3l=ao();J_s.exports={meta:{type:"problem",docs:{description:"Disallow reassigning class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-class-assign"},schema:[],messages:{class:"'{{name}}' is a class."}},create(e){let t=e.sourceCode;function r(i){I3l.getModifyingReferences(i.references).forEach(s=>{e.report({node:s.identifier,messageId:"class",data:{name:s.identifier.name}})})}function n(i){t.getDeclaredVariables(i).forEach(r)}return{ClassDeclaration:n,ClassExpression:n}}}});var W_s=j((p1A,z_s)=>{"use strict";z_s.exports={meta:{type:"problem",docs:{description:"Disallow comparing against `-0`",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-compare-neg-zero"},fixable:null,schema:[],messages:{unexpected:"Do not use the '{{operator}}' operator to compare against -0."}},create(e){function t(n){return n.type==="UnaryExpression"&&n.operator==="-"&&n.argument.type==="Literal"&&n.argument.value===0}let r=new Set([">",">=","<","<=","==","===","!=","!=="]);return{BinaryExpression(n){r.has(n.operator)&&(t(n.left)||t(n.right))&&e.report({node:n,messageId:"unexpected",data:{operator:n.operator}})}}}}});var Z_s=j((d1A,X_s)=>{"use strict";var Lft=ao(),S3l=new Set(["IfStatement","WhileStatement","DoWhileStatement","ForStatement","ConditionalExpression"]),T3l={DoWhileStatement:"a 'do...while' statement",ForStatement:"a 'for' statement",IfStatement:"an 'if' statement",WhileStatement:"a 'while' statement"};X_s.exports={meta:{type:"problem",defaultOptions:["except-parens"],docs:{description:"Disallow assignment operators in conditional expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-cond-assign"},schema:[{enum:["except-parens","always"]}],messages:{unexpected:"Unexpected assignment within {{type}}.",missing:"Expected a conditional expression and instead saw an assignment."}},create(e){let[t]=e.options,r=e.sourceCode;function n(l){return l.parent&&S3l.has(l.parent.type)&&l===l.parent.test}function i(l){let f=l;do if(n(f))return f.parent;while((f=f.parent)&&!Lft.isFunction(f));return null}function s(l){let f=r.getTokenBefore(l,1),p=r.getTokenAfter(l,1);return Lft.isParenthesised(r,l)&&f&&Lft.isOpeningParenToken(f)&&f.range[1]<=l.range[0]&&Lft.isClosingParenToken(p)&&p.range[0]>=l.range[1]}function a(l){l.test&&l.test.type==="AssignmentExpression"&&(l.type==="ForStatement"?!Lft.isParenthesised(r,l.test):!s(l.test))&&e.report({node:l.test,messageId:"missing"})}function u(l){let f=i(l);f&&e.report({node:l,messageId:"unexpected",data:{type:T3l[f.type]||f.type}})}return t==="always"?{AssignmentExpression:u}:{DoWhileStatement:a,ForStatement:a,IfStatement:a,WhileStatement:a,ConditionalExpression:a}}}});var tEs=j((m1A,eEs)=>{"use strict";var D3l=ao();function w3l(e){return e&&e.type==="ConditionalExpression"}eEs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-confusing-arrow",url:"https://eslint.style/rules/no-confusing-arrow"}}]},type:"suggestion",docs:{description:"Disallow arrow functions where they could be confused with comparisons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-confusing-arrow"},fixable:"code",schema:[{type:"object",properties:{allowParens:{type:"boolean",default:!0},onlyOneSimpleParam:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{confusing:"Arrow function used ambiguously with a conditional expression."}},create(e){let t=e.options[0]||{},r=t.allowParens||t.allowParens===void 0,n=t.onlyOneSimpleParam,i=e.sourceCode;function s(a){let u=a.body;w3l(u)&&!(r&&D3l.isParenthesised(i,u))&&!(n&&!(a.params.length===1&&a.params[0].type==="Identifier"))&&e.report({node:a,messageId:"confusing",fix(l){return r&&l.replaceText(a.body,`(${i.getText(a.body)})`)}})}return{ArrowFunctionExpression:s}}}});var nEs=j((g1A,rEs)=>{"use strict";var $tn=ao();rEs.exports={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow the use of `console`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-console"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},additionalProperties:!1}],hasSuggestions:!0,messages:{unexpected:"Unexpected console statement.",limited:"Unexpected console statement. Only these console methods are allowed: {{ allowed }}.",removeConsole:"Remove the console.{{ propertyName }}().",removeMethodCall:"Remove the console method call."}},create(e){let[{allow:t=[]}]=e.options,r=e.sourceCode;function n(f){let p=f.identifier;return p&&p.name==="console"}function i(f){let p=$tn.getStaticPropertyName(f);return p&&t.includes(p)}function s(f){let p=f.identifier,g=p.parent;return g.type==="MemberExpression"&&g.object===p&&!i(g)}function a(f){let p=/^[:;{]$/u,g=/^[-[(/+`]/u,A=r.getTokenBefore(f),h=r.getTokenAfter(f);return!!h&&g.test(h.value)&&h.value!=="++"&&h.value!=="--"&&!!A&&!p.test(A.value)}function u(f){return f.parent.type==="CallExpression"&&f.parent.callee===f&&f.parent.parent.type==="ExpressionStatement"&&$tn.STATEMENT_LIST_PARENTS.has(f.parent.parent.parent.type)&&!a(f.parent.parent)}function l(f){let p=f.identifier.parent,g=[];if(u(p)){let A={fix(h){return h.remove(p.parent.parent)}};p.computed?A.messageId="removeMethodCall":(A.messageId="removeConsole",A.data={propertyName:p.property.name}),g.push(A)}e.report({node:p,loc:p.loc,messageId:t.length?"limited":"unexpected",data:{allowed:t.join(", ")},suggest:g})}return{"Program:exit"(f){let p=r.getScope(f),g=$tn.getVariableByName(p,"console"),A=g&&g.defs.length>0,h=g?g.references:p.through.filter(n);A||h.filter(s).forEach(l)}}}}});var sEs=j((A1A,iEs)=>{"use strict";var B3l=ao(),k3l=new Set(["const","using","await using"]);iEs.exports={meta:{type:"problem",docs:{description:"Disallow reassigning `const`, `using`, and `await using` variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-const-assign"},schema:[],messages:{const:"'{{name}}' is constant."}},create(e){let t=e.sourceCode;function r(n){B3l.getModifyingReferences(n.references).forEach(i=>{e.report({node:i.identifier,messageId:"const",data:{name:i.identifier.name}})})}return{VariableDeclaration(n){k3l.has(n.kind)&&t.getDeclaredVariables(n).forEach(r)}}}}});var cEs=j((h1A,lEs)=>{"use strict";var{isNullLiteral:P3l,isConstant:N7e,isReferenceToGlobalVariable:$fe,isLogicalAssignmentOperator:uEs,ECMASCRIPT_GLOBALS:N3l}=ao(),O3l=new Set(["+","-","*","/","%","|","^","&","**","<<",">>",">>>"]);function Ktn(e,t){return P3l(t)||t.type==="Identifier"&&t.name==="undefined"&&$fe(e,t)||t.type==="UnaryExpression"&&t.operator==="void"}function SGe(e,t,r){if(r&&Ktn(e,t))return!1;switch(t.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":case"NewExpression":case"Literal":case"TemplateLiteral":case"UpdateExpression":case"BinaryExpression":return!0;case"CallExpression":{if(t.callee.type!=="Identifier")return!1;let n=t.callee.name;return(n==="Boolean"||n==="String"||n==="Number")&&$fe(e,t.callee)}case"LogicalExpression":return t.operator==="??"&&SGe(e,t.right,!0);case"AssignmentExpression":return t.operator==="="?SGe(e,t.right,r):!uEs(t.operator);case"UnaryExpression":return!0;case"SequenceExpression":{let n=t.expressions.at(-1);return SGe(e,n,r)}case"Identifier":return t.name==="undefined"&&$fe(e,t);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function aEs(e,t){switch(t.type){case"Literal":return typeof t.value=="boolean";case"CallExpression":return t.callee.type==="Identifier"&&t.callee.name==="Boolean"&&$fe(e,t.callee)&&(t.arguments.length===0||N7e(e,t.arguments[0],!0));case"UnaryExpression":return t.operator==="!"&&N7e(e,t.argument,!0);default:return!1}}function Jtn(e,t){switch(t.type){case"ObjectExpression":case"ClassExpression":return!0;case"ArrayExpression":{let r=t.elements.filter(n=>n!==null&&n.type!=="SpreadElement");return t.elements.length===0||r.length>1}case"ArrowFunctionExpression":case"FunctionExpression":return!0;case"UnaryExpression":return t.operator==="void"||t.operator==="typeof"?!0:t.operator==="!"?N7e(e,t.argument,!0):!1;case"NewExpression":return!1;case"CallExpression":return t.callee.type==="Identifier"&&t.callee.name==="Boolean"&&$fe(e,t.callee)?t.arguments.length===0||N7e(e,t.arguments[0],!0):!1;case"Literal":return!0;case"Identifier":return t.name==="undefined"&&$fe(e,t);case"TemplateLiteral":return t.expressions.length===0;case"AssignmentExpression":return t.operator==="="?Jtn(e,t.right):!1;case"SequenceExpression":{let r=t.expressions.at(-1);return Jtn(e,r)}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function Htn(e,t){switch(t.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":case"NewExpression":case"TemplateLiteral":case"Literal":case"UpdateExpression":return!0;case"BinaryExpression":return O3l.has(t.operator);case"UnaryExpression":return t.operator==="delete"?!1:t.operator==="!"?N7e(e,t.argument,!0):!0;case"SequenceExpression":{let r=t.expressions.at(-1);return Htn(e,r)}case"Identifier":return t.name==="undefined"&&$fe(e,t);case"AssignmentExpression":return t.operator==="="?Htn(e,t.right):!uEs(t.operator);case"CallExpression":{if(t.callee.type!=="Identifier")return!1;let r=t.callee.name;return(r==="String"||r==="Number")&&$fe(e,t.callee)?!0:r==="Boolean"&&$fe(e,t.callee)?t.arguments.length===0||N7e(e,t.arguments[0],!0):!1}case"JSXElement":case"JSXFragment":return!1;default:return!1}}function $Se(e,t){switch(t.type){case"ObjectExpression":case"ArrayExpression":case"ArrowFunctionExpression":case"FunctionExpression":case"ClassExpression":return!0;case"NewExpression":return t.callee.type!=="Identifier"?!1:Object.hasOwn(N3l,t.callee.name)&&$fe(e,t.callee);case"Literal":return typeof t.regex=="object";case"SequenceExpression":{let r=t.expressions.at(-1);return $Se(e,r)}case"AssignmentExpression":return t.operator==="="?$Se(e,t.right):!1;case"ConditionalExpression":return $Se(e,t.consequent)&&$Se(e,t.alternate);case"JSXElement":case"JSXFragment":return!1;default:return!1}}function oEs(e,t,r,n){if(n==="=="||n==="!="){if(Ktn(e,t)&&SGe(e,r,!1)||aEs(e,t)&&Jtn(e,r))return r}else if((n==="==="||n==="!==")&&(Ktn(e,t)&&SGe(e,r,!1)||aEs(e,t)&&Htn(e,r)))return r;return null}lEs.exports={meta:{type:"problem",docs:{description:"Disallow expressions where the operation doesn't affect the value",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-constant-binary-expression"},schema:[],messages:{constantBinaryOperand:"Unexpected constant binary expression. Compares constantly with the {{otherSide}}-hand side of the `{{operator}}`.",constantShortCircuit:"Unexpected constant {{property}} on the left-hand side of a `{{operator}}` expression.",alwaysNew:"Unexpected comparison to newly constructed object. These two values can never be equal.",bothAlwaysNew:"Unexpected comparison of two newly constructed objects. These two values can never be equal."}},create(e){let t=e.sourceCode;return{LogicalExpression(r){let{operator:n,left:i}=r,s=t.getScope(r);(n==="&&"||n==="||")&&N7e(s,i,!0)?e.report({node:i,messageId:"constantShortCircuit",data:{property:"truthiness",operator:n}}):n==="??"&&SGe(s,i,!1)&&e.report({node:i,messageId:"constantShortCircuit",data:{property:"nullishness",operator:n}})},BinaryExpression(r){let n=t.getScope(r),{right:i,left:s,operator:a}=r,u=oEs(n,s,i,a),l=oEs(n,i,s,a);u?e.report({node:u,messageId:"constantBinaryOperand",data:{operator:a,otherSide:"left"}}):l?e.report({node:l,messageId:"constantBinaryOperand",data:{operator:a,otherSide:"right"}}):a==="==="||a==="!=="?$Se(n,s)?e.report({node:s,messageId:"alwaysNew"}):$Se(n,i)&&e.report({node:i,messageId:"alwaysNew"}):(a==="=="||a==="!=")&&$Se(n,s)&&$Se(n,i)&&e.report({node:s,messageId:"bothAlwaysNew"})}}}}});var dEs=j((y1A,pEs)=>{"use strict";var{isConstant:fEs}=ao();pEs.exports={meta:{type:"problem",defaultOptions:[{checkLoops:"allExceptWhileTrue"}],docs:{description:"Disallow constant expressions in conditions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-constant-condition"},schema:[{type:"object",properties:{checkLoops:{enum:["all","allExceptWhileTrue","none",!0,!1]}},additionalProperties:!1}],messages:{unexpected:"Unexpected constant condition."}},create(e){let t=[],r=e.sourceCode,[{checkLoops:n}]=e.options;n===!0?n="all":n===!1&&(n="none");let i=new Set;function s(g){g.test&&fEs(r.getScope(g),g.test,!0)&&i.add(g)}function a(g){i.has(g)&&(i.delete(g),e.report({node:g.test,messageId:"unexpected"}))}function u(g){g.test&&fEs(r.getScope(g),g.test,!0)&&e.report({node:g.test,messageId:"unexpected"})}function l(){t.push(i),i=new Set}function f(){i=t.pop()}function p(g){(n==="all"||n==="allExceptWhileTrue")&&s(g)}return{ConditionalExpression:u,IfStatement:u,WhileStatement(g){g.test.type==="Literal"&&g.test.value===!0&&n==="allExceptWhileTrue"||p(g)},"WhileStatement:exit":a,DoWhileStatement:p,"DoWhileStatement:exit":a,ForStatement:p,"ForStatement > .test":g=>p(g.parent),"ForStatement:exit":a,FunctionDeclaration:l,"FunctionDeclaration:exit":f,FunctionExpression:l,"FunctionExpression:exit":f,YieldExpression:()=>i.clear()}}}});var gEs=j((_1A,mEs)=>{"use strict";mEs.exports={meta:{type:"problem",docs:{description:"Disallow returning value from constructor",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-constructor-return"},schema:[],fixable:null,messages:{unexpected:"Unexpected return statement in constructor."}},create(e){let t=[];return{onCodePathStart(r,n){t.push(n)},onCodePathEnd(){t.pop()},ReturnStatement(r){let n=t.at(-1);n.parent&&n.parent.type==="MethodDefinition"&&n.parent.kind==="constructor"&&r.argument&&e.report({node:r,messageId:"unexpected"})}}}}});var hEs=j((E1A,AEs)=>{"use strict";AEs.exports={meta:{type:"suggestion",docs:{description:"Disallow `continue` statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-continue"},schema:[],messages:{unexpected:"Unexpected use of continue statement."}},create(e){return{ContinueStatement(t){e.report({node:t,messageId:"unexpected"})}}}}});var VQ=j(gye=>{"use strict";Object.defineProperty(gye,"__esModule",{value:!0});var R3l=Object.freeze({__proto__:null}),IEs=2025,_$t,E$t;function F3l(e){return e<65?!1:e<91?!0:e<97?!1:e<123?!0:TEs(e)}function SEs(e){return e<48?!1:e<58?!0:e<65?!1:e<91||e===95?!0:e<97?!1:e<123?!0:TEs(e)||L3l(e)}function TEs(e){return DEs(e,_$t??(_$t=M3l()))}function L3l(e){return DEs(e,E$t??(E$t=Q3l()))}function M3l(){return wEs("4q 0 b 0 5 0 6 m 2 u 2 cp 5 b f 4 8 0 2 0 3m 4 2 1 3 3 2 0 7 0 2 2 2 0 2 j 2 2a 2 3u 9 4l 2 11 3 0 7 14 20 q 5 3 1a 16 10 1 2 2q 2 0 g 1 8 1 b 2 3 0 h 0 2 t u 2g c 0 p w a 1 5 0 6 l 5 0 a 0 4 0 o o 8 a 6 n 2 6 h 15 1n 1h 4 0 j 0 8 9 g f 5 7 3 1 3 l 2 6 2 0 4 3 4 0 h 0 e 1 2 2 f 1 b 0 9 5 5 1 3 l 2 6 2 1 2 1 2 1 w 3 2 0 k 2 h 8 2 2 2 l 2 6 2 1 2 4 4 0 j 0 g 1 o 0 c 7 3 1 3 l 2 6 2 1 2 4 4 0 v 1 2 2 g 0 i 0 2 5 4 2 2 3 4 1 2 0 2 1 4 1 4 2 4 b n 0 1h 7 2 2 2 m 2 f 4 0 r 2 2 1 3 1 v 0 5 7 2 2 2 m 2 9 2 4 4 0 v 2 2 1 g 1 i 8 2 2 2 14 3 0 h 0 6 2 9 2 p 5 6 h 4 n 2 8 2 0 3 6 1n 1b 2 1 d 6 1n 1 2 0 2 4 2 n 2 0 2 9 2 1 a 0 3 4 2 0 m 3 x 0 1s 7 2 z s 4 38 16 l 0 h 5 5 3 4 0 4 1 8 2 5 c d 0 i 11 2 0 6 0 3 16 2 98 2 3 3 6 2 0 2 3 3 14 2 3 3 w 2 3 3 6 2 0 2 3 3 e 2 1k 2 3 3 1u 12 f h 2d 3 5 4 h7 3 g 2 p 6 22 4 a 8 h e i f h f c 2 2 g 1f 10 0 5 0 1w 2g 8 14 2 0 6 1x b u 1e t 3 4 c 17 5 p 1j m a 1g 2b 0 2m 1a i 7 1j t e 1 b 17 r z 16 2 b z 3 a 6 16 3 2 16 3 2 5 2 1 4 0 6 5b 1t 7p 3 5 3 11 3 5 3 7 2 0 2 0 2 0 2 u 3 1g 2 6 2 0 4 2 2 6 4 3 3 5 5 c 6 2 2 6 39 0 e 0 h c 2u 0 5 0 3 9 2 0 3 5 7 0 2 0 2 0 2 f 3 3 6 4 5 0 i 14 22g 6c 7 3 4 1 d 11 2 0 6 0 3 1j 8 0 h m a 6 2 6 2 6 2 6 2 6 2 6 2 6 2 6 fb 2 q 8 8 4 3 4 5 2d 5 4 2 2h 2 3 6 16 2 2l i v 1d f e9 533 1t h3g 1w 19 3 7g 4 f b 1 l 1a h u 3 27 14 8 3 2u 3 29 l g 2 2 2 3 2 m u 1f f 1d 1r 5 4 0 2 1 c r b m q s 8 1a t 0 h 4 2 9 b 4 2 14 o 2 2 7 l m 4 0 4 1d 2 0 4 1 3 4 3 0 2 0 p 2 3 a 8 2 d 5 3 5 3 5 a 6 2 6 2 16 2 d 7 36 u 8mb d m 5 1c 6it a5 3 2x 13 6 d 4 6 0 2 9 2 c 2 4 2 0 2 1 2 1 2 2z y a2 j 1r 3 1h 15 b 39 4 2 3q 11 p 7 p c 2g 4 5 3 5 3 5 3 2 10 b 2 p 2 i 2 1 2 e 3 d z 3e 1y 1g 7g s 4 1c 1c v e t 6 11 b t 3 z 5 7 2 4 17 4d j z 5 z 5 13 9 1f d a 2 e 2 6 2 1 2 a 2 e 2 6 2 1 4 1f d 8m a l b 7 p 5 2 15 2 8 1y 5 3 0 2 17 2 1 4 0 3 m b m a u 1u i 2 1 b l b p 7 p 13 1j 7 1 1t 0 g 3 2 2 2 s 17 s 4 s 10 7 2 r s 1h b l b i e h 33 20 1k 1e e 1e e z 13 r a m 6z 15 7 1 h 5 1l s b 0 9 l 17 h 1b k s m d 1g 1m 1 3 0 e 18 x o r z u 0 3 0 9 y 4 0 d 1b f 3 m 0 2 0 10 h 2 o k 1 1s 6 2 0 2 3 2 e 2 9 8 1a 13 7 3 1 3 l 2 6 2 1 2 4 4 0 j 0 d 4 v 9 2 0 3 0 2 11 2 0 q 0 2 0 19 1g j 3 l 2 v 1b l 1 2 0 55 1a 16 3 11 1b l 0 1o 16 e 0 20 q 12 6 56 17 39 1r w 7 3 0 3 7 2 1 2 n g 0 2 0 2n 7 3 12 h 0 2 0 t 0 b 13 8 0 m 0 c 19 k 0 j 20 5k w w 8 2 10 i 0 1e t 35 6 2 1 2 11 m 0 q 5 2 1 2 v f 0 o 17 79 i g 0 2 c 2 x 3h 0 28 pl 2v 32 i 5f 219 2o g tr i 5 q 32y 6 g6 5a2 t 1cz fs 8 u i 26 i t j 1b h 3 w k 6 i c1 18 5w 1r x o 3 o 19 22 6 0 1v c 1t 1 2 0 f 4 a 5p1 16 v 2q 36 6pq 3 2 6 2 1 2 82 g 0 u 2 3 0 f 3 9 az 1s5 2y 6 c 4 8 8 9 4mf 2c 2 1y 2 1 3 0 3 1 3 3 2 b 2 0 2 6 2 1s 2 3 3 7 2 6 2 r 2 3 2 4 2 0 4 6 2 9f 3 o 2 o 2 u 2 o 2 u 2 o 2 u 2 o 2 u 2 o 2 7 1f9 u 7 5 7a 1p 43 18 b 6 h 0 8y t j 17 dh r 6d t 3 0 5s u 2 2 2 1 2 6 3 4 a 1 69 6 2 3 2 1 2 e 2 5g 1o 1v 8 0 xh 3 2 q 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 g 6 2 2 4 2 g 3et wyn x 3dp 3 4gd 3 5rk g h9 1wj f1 15v 3t6 6 6jt")}function Q3l(){return wEs("53 0 g9 33 o 0 70 4 7e 18 2 0 2 1 2 1 2 0 21 a 1d u 7 0 2u 6 3 5 3 1 2 3 3 9 o 0 v q 2k a g 9 y 8 a 0 p 3 2 8 2 2 2 4 18 2 1o 8 17 n 2 w 1j 2 2 h 2 6 b 1 3 9 i 2 1l 0 2 6 3 1 3 2 a 0 b 1 3 9 f 0 3 2 1l 0 2 4 5 1 3 2 4 0 l b 4 0 c 2 1l 0 2 7 2 2 2 2 l 1 3 9 b 5 2 2 1l 0 2 6 3 1 3 2 8 2 b 1 3 9 j 0 1o 4 4 2 2 3 a 0 f 9 h 4 1k 0 2 6 2 2 2 3 8 1 c 1 3 9 i 2 1l 0 2 6 2 2 2 3 8 1 c 1 3 9 4 0 d 3 1k 1 2 6 2 2 2 3 a 0 b 1 3 9 i 2 1z 0 5 5 2 0 2 7 7 9 3 1 1q 0 3 6 d 7 2 9 2g 0 3 8 c 6 2 9 1r 1 7 9 c 0 2 0 2 0 5 1 1e j 2 1 6 a 2 z a 0 2t j 2 9 d 3 5 2 2 2 3 6 4 3 e b 2 e jk 2 a 8 pt 3 t 2 u 1 v 1 1t v a 0 3 9 y 2 2 a 40 0 3b b 5 b b 9 3l a 1p 4 1m 9 2 s 3 a 7 9 n d 2 u 3 b l 4 1c g c 9 i 8 d 2 v c 3 9 19 d 1d j 9 9 7 9 3b 2 2 k 5 0 7 0 3 2 5j 1r el 1 1e 1 k 0 3g c 5 0 4 b 2db 2 3y 0 2p v ff 5 2y 1 2p 0 n51 9 1y 0 5 9 x 1 29 1 7l 0 4 0 5 0 o 4 5 0 2c 1 1f h b 9 7 h e a t 7 q c 19 3 1c d g 9 c 0 b 9 1c d d 0 9 1 3 9 y 2 1f 0 2 2 3 1 6 1 2 0 16 4 6 1 6l 7 2 1 3 9 fmt 0 ki f h f 4 1 p 2 5d 9 12 0 12 0 ig 0 6b 0 46 4 86 9 120 2 2 1 6 3 15 2 5 0 4m 1 fy 3 9 9 7 9 w 4 8u 1 26 5 1z a 1e 3 3f 2 1i e w a 3 1 b 3 1a a 8 0 1a 9 7 2 11 d 2 9 6 1 19 0 d 2 1d d 9 3 2 b 2b b 7 0 3 0 4e b 6 9 7 3 1k 1 2 6 3 1 3 2 a 0 b 1 3 6 4 4 1w 8 2 0 3 0 2 3 2 4 2 0 f 1 2b h a 9 5 0 2a j d 9 5y 6 3 8 s 1 2b g g 9 2a c 9 9 7 j 1m e 5 9 6r e 4m 9 1z 5 2 1 3 3 2 0 2 1 d 9 3c 6 3 6 4 0 t 9 15 6 2 3 9 0 a a 1b f 5j 7 3t 9 1i 7 2 7 h 9 1l l 2 d 3f 5 4 0 2 1 2 6 2 0 9 9 1d 4 2 1 2 4 9 9 1j 9 7e 3 a 1 2 0 1d 6 4 4 e a 44m 0 7 e 8uh r 1t3 9 2f 9 13 4 1o 6 q 9 ev 9 d2 0 2 1i 8 3 2a 0 c 1 f58 1 382 9 ef 19 3 m f3 4 4 5 9 7 3 6 v 3 45 2 13e 1d e9 1i 5 1d 9 0 f 0 n 4 2 e 11t 6 2 g 3 6 2 1 2 4 2t 0 4h 6 a 9 9x 0 1q d dv d 6t 1 2 9 6h 0 3 0 8 1 6 0 d7 6 32 6 6 9 3o7 9 gvt3 6n")}function DEs(e,t){let r=0,n=t.length/2|0,i=0,s=0,a=0;for(;ra)r=i+1;else return!0;return!1}function wEs(e){let t=0;return e.split(" ").map(r=>t+=parseInt(r,36)|0)}var BGe=class{constructor(t,r,n,i,s,a,u,l,f){this._raw2018=t,this._raw2019=r,this._raw2020=n,this._raw2021=i,this._raw2022=s,this._raw2023=a,this._raw2024=u,this._raw2025=l,this._raw2026=f}get es2018(){var t;return(t=this._set2018)!==null&&t!==void 0?t:this._set2018=new Set(this._raw2018.split(" "))}get es2019(){var t;return(t=this._set2019)!==null&&t!==void 0?t:this._set2019=new Set(this._raw2019.split(" "))}get es2020(){var t;return(t=this._set2020)!==null&&t!==void 0?t:this._set2020=new Set(this._raw2020.split(" "))}get es2021(){var t;return(t=this._set2021)!==null&&t!==void 0?t:this._set2021=new Set(this._raw2021.split(" "))}get es2022(){var t;return(t=this._set2022)!==null&&t!==void 0?t:this._set2022=new Set(this._raw2022.split(" "))}get es2023(){var t;return(t=this._set2023)!==null&&t!==void 0?t:this._set2023=new Set(this._raw2023.split(" "))}get es2024(){var t;return(t=this._set2024)!==null&&t!==void 0?t:this._set2024=new Set(this._raw2024.split(" "))}get es2025(){var t;return(t=this._set2025)!==null&&t!==void 0?t:this._set2025=new Set(this._raw2025.split(" "))}get es2026(){var t;return(t=this._set2026)!==null&&t!==void 0?t:this._set2026=new Set(this._raw2026.split(" "))}},j3l=new Set(["General_Category","gc"]),U3l=new Set(["Script","Script_Extensions","sc","scx"]),q3l=new BGe("C Cased_Letter Cc Cf Close_Punctuation Cn Co Combining_Mark Connector_Punctuation Control Cs Currency_Symbol Dash_Punctuation Decimal_Number Enclosing_Mark Final_Punctuation Format Initial_Punctuation L LC Letter Letter_Number Line_Separator Ll Lm Lo Lowercase_Letter Lt Lu M Mark Math_Symbol Mc Me Mn Modifier_Letter Modifier_Symbol N Nd Nl No Nonspacing_Mark Number Open_Punctuation Other Other_Letter Other_Number Other_Punctuation Other_Symbol P Paragraph_Separator Pc Pd Pe Pf Pi Po Private_Use Ps Punctuation S Sc Separator Sk Sm So Space_Separator Spacing_Mark Surrogate Symbol Titlecase_Letter Unassigned Uppercase_Letter Z Zl Zp Zs cntrl digit punct","","","","","","","",""),TGe=new BGe("Adlam Adlm Aghb Ahom Anatolian_Hieroglyphs Arab Arabic Armenian Armi Armn Avestan Avst Bali Balinese Bamu Bamum Bass Bassa_Vah Batak Batk Beng Bengali Bhaiksuki Bhks Bopo Bopomofo Brah Brahmi Brai Braille Bugi Buginese Buhd Buhid Cakm Canadian_Aboriginal Cans Cari Carian Caucasian_Albanian Chakma Cham Cher Cherokee Common Copt Coptic Cprt Cuneiform Cypriot Cyrillic Cyrl Deseret Deva Devanagari Dsrt Dupl Duployan Egyp Egyptian_Hieroglyphs Elba Elbasan Ethi Ethiopic Geor Georgian Glag Glagolitic Gonm Goth Gothic Gran Grantha Greek Grek Gujarati Gujr Gurmukhi Guru Han Hang Hangul Hani Hano Hanunoo Hatr Hatran Hebr Hebrew Hira Hiragana Hluw Hmng Hung Imperial_Aramaic Inherited Inscriptional_Pahlavi Inscriptional_Parthian Ital Java Javanese Kaithi Kali Kana Kannada Katakana Kayah_Li Khar Kharoshthi Khmer Khmr Khoj Khojki Khudawadi Knda Kthi Lana Lao Laoo Latin Latn Lepc Lepcha Limb Limbu Lina Linb Linear_A Linear_B Lisu Lyci Lycian Lydi Lydian Mahajani Mahj Malayalam Mand Mandaic Mani Manichaean Marc Marchen Masaram_Gondi Meetei_Mayek Mend Mende_Kikakui Merc Mero Meroitic_Cursive Meroitic_Hieroglyphs Miao Mlym Modi Mong Mongolian Mro Mroo Mtei Mult Multani Myanmar Mymr Nabataean Narb Nbat New_Tai_Lue Newa Nko Nkoo Nshu Nushu Ogam Ogham Ol_Chiki Olck Old_Hungarian Old_Italic Old_North_Arabian Old_Permic Old_Persian Old_South_Arabian Old_Turkic Oriya Orkh Orya Osage Osge Osma Osmanya Pahawh_Hmong Palm Palmyrene Pau_Cin_Hau Pauc Perm Phag Phags_Pa Phli Phlp Phnx Phoenician Plrd Prti Psalter_Pahlavi Qaac Qaai Rejang Rjng Runic Runr Samaritan Samr Sarb Saur Saurashtra Sgnw Sharada Shavian Shaw Shrd Sidd Siddham SignWriting Sind Sinh Sinhala Sora Sora_Sompeng Soyo Soyombo Sund Sundanese Sylo Syloti_Nagri Syrc Syriac Tagalog Tagb Tagbanwa Tai_Le Tai_Tham Tai_Viet Takr Takri Tale Talu Tamil Taml Tang Tangut Tavt Telu Telugu Tfng Tglg Thaa Thaana Thai Tibetan Tibt Tifinagh Tirh Tirhuta Ugar Ugaritic Vai Vaii Wara Warang_Citi Xpeo Xsux Yi Yiii Zanabazar_Square Zanb Zinh Zyyy","Dogr Dogra Gong Gunjala_Gondi Hanifi_Rohingya Maka Makasar Medefaidrin Medf Old_Sogdian Rohg Sogd Sogdian Sogo","Elym Elymaic Hmnp Nand Nandinagari Nyiakeng_Puachue_Hmong Wancho Wcho","Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi","Cpmn Cypro_Minoan Old_Uyghur Ougr Tangsa Tnsa Toto Vith Vithkuqi","Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz","","",""),ztn=new BGe("AHex ASCII ASCII_Hex_Digit Alpha Alphabetic Any Assigned Bidi_C Bidi_Control Bidi_M Bidi_Mirrored CI CWCF CWCM CWKCF CWL CWT CWU Case_Ignorable Cased Changes_When_Casefolded Changes_When_Casemapped Changes_When_Lowercased Changes_When_NFKC_Casefolded Changes_When_Titlecased Changes_When_Uppercased DI Dash Default_Ignorable_Code_Point Dep Deprecated Dia Diacritic Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Ext Extender Gr_Base Gr_Ext Grapheme_Base Grapheme_Extend Hex Hex_Digit IDC IDS IDSB IDST IDS_Binary_Operator IDS_Trinary_Operator ID_Continue ID_Start Ideo Ideographic Join_C Join_Control LOE Logical_Order_Exception Lower Lowercase Math NChar Noncharacter_Code_Point Pat_Syn Pat_WS Pattern_Syntax Pattern_White_Space QMark Quotation_Mark RI Radical Regional_Indicator SD STerm Sentence_Terminal Soft_Dotted Term Terminal_Punctuation UIdeo Unified_Ideograph Upper Uppercase VS Variation_Selector White_Space XIDC XIDS XID_Continue XID_Start space","Extended_Pictographic","","EBase EComp EMod EPres ExtPict","","","","",""),Y3l=new BGe("","","","","","","Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji RGI_Emoji_Flag_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence","","");function yEs(e,t,r){return j3l.has(t)?e>=2018&&q3l.es2018.has(r):U3l.has(t)?e>=2018&&TGe.es2018.has(r)||e>=2019&&TGe.es2019.has(r)||e>=2020&&TGe.es2020.has(r)||e>=2021&&TGe.es2021.has(r)||e>=2022&&TGe.es2022.has(r)||e>=2023&&TGe.es2023.has(r):!1}function G3l(e,t){return e>=2018&&ztn.es2018.has(t)||e>=2019&&ztn.es2019.has(t)||e>=2021&&ztn.es2021.has(t)}function V3l(e,t){return e>=2024&&Y3l.es2024.has(t)}var _Es=8,$3l=9,BEs=10,K3l=11,J3l=12,kEs=13,b$t=33,PEs=35,kGe=36,NEs=37,O7e=38,R7e=40,F7e=41,Qft=42,I$t=43,lrn=44,bK=45,S$t=46,Mft=47,KSe=48,H3l=49,z3l=55,T$t=57,D$t=58,OEs=59,jft=60,Uft=61,crn=62,dse=63,REs=64,w$t=65,W3l=66,X3l=68,FEs=70,Z3l=80,e9l=83,t9l=87,r9l=90,frn=95,B$t=97,Wtn=98,DGe=99,rrn=100,prn=102,LEs=103,drn=105,EEs=107,mrn=109,n9l=110,i9l=112,s9l=113,a9l=114,k$t=115,o9l=116,v$t=117,nrn=118,u9l=119,l9l=120,MEs=121,c9l=122,L7e=91,SB=92,mye=93,wGe=94,QEs=96,M7e=123,qft=124,Q7e=125,jEs=126,f9l=8204,p9l=8205,d9l=8232,m9l=8233,g9l=0,A9l=1114111;function UEs(e){return e>=w$t&&e<=r9l||e>=B$t&&e<=c9l}function C$t(e){return e>=KSe&&e<=T$t}function h9l(e){return e>=KSe&&e<=z3l}function xEs(e){return e>=KSe&&e<=T$t||e>=w$t&&e<=FEs||e>=B$t&&e<=prn}function y9l(e){return e===BEs||e===kEs||e===d9l||e===m9l}function _9l(e){return e>=g9l&&e<=A9l}function Xtn(e){return e>=B$t&&e<=prn?e-B$t+10:e>=w$t&&e<=FEs?e-w$t+10:e-KSe}function Ztn(e){return e>=55296&&e<=56319}function ern(e){return e>=56320&&e<=57343}function trn(e,t){return(e-55296)*1024+(t-56320)+65536}var irn=class{constructor(){this.groupName=new Set}clear(){this.groupName.clear()}isEmpty(){return!this.groupName.size}hasInPattern(t){return this.groupName.has(t)}hasInScope(t){return this.hasInPattern(t)}addToScope(t){this.groupName.add(t)}enterDisjunction(){}enterAlternative(){}leaveDisjunction(){}},P$t=class e{constructor(t,r){this.parent=t,this.base=r??this}separatedFrom(t){var r,n;return this.base===t.base&&this!==t||t.parent&&this.separatedFrom(t.parent)?!0:(n=(r=this.parent)===null||r===void 0?void 0:r.separatedFrom(t))!==null&&n!==void 0?n:!1}child(){return new e(this,null)}sibling(){return new e(this.parent,this.base)}},srn=class{constructor(){this.branchID=new P$t(null,null),this.groupNames=new Map}clear(){this.branchID=new P$t(null,null),this.groupNames.clear()}isEmpty(){return!this.groupNames.size}enterDisjunction(){this.branchID=this.branchID.child()}enterAlternative(t){t!==0&&(this.branchID=this.branchID.sibling())}leaveDisjunction(){this.branchID=this.branchID.parent}hasInPattern(t){return this.groupNames.has(t)}hasInScope(t){let r=this.groupNames.get(t);if(!r)return!1;for(let n of r)if(!n.separatedFrom(this.branchID))return!0;return!1}addToScope(t){let r=this.groupNames.get(t);if(r){r.push(this.branchID);return}this.groupNames.set(t,[this.branchID])}},vEs={at(e,t,r){return r65535?2:1}},arn=class{constructor(){this._impl=vEs,this._s="",this._i=0,this._end=0,this._cp1=-1,this._w1=1,this._cp2=-1,this._w2=1,this._cp3=-1,this._w3=1,this._cp4=-1}get source(){return this._s}get index(){return this._i}get currentCodePoint(){return this._cp1}get nextCodePoint(){return this._cp2}get nextCodePoint2(){return this._cp3}get nextCodePoint3(){return this._cp4}reset(t,r,n,i){this._impl=i?E9l:vEs,this._s=t,this._end=n,this.rewind(r)}rewind(t){let r=this._impl;this._i=t,this._cp1=r.at(this._s,this._end,t),this._w1=r.width(this._cp1),this._cp2=r.at(this._s,this._end,t+this._w1),this._w2=r.width(this._cp2),this._cp3=r.at(this._s,this._end,t+this._w1+this._w2),this._w3=r.width(this._cp3),this._cp4=r.at(this._s,this._end,t+this._w1+this._w2+this._w3)}advance(){if(this._cp1!==-1){let t=this._impl;this._i+=this._w1,this._cp1=this._cp2,this._w1=this._w2,this._cp2=this._cp3,this._w2=t.width(this._cp2),this._cp3=this._cp4,this._w3=t.width(this._cp3),this._cp4=t.at(this._s,this._end,this._i+this._w1+this._w2+this._w3)}}eat(t){return this._cp1===t?(this.advance(),!0):!1}eat2(t,r){return this._cp1===t&&this._cp2===r?(this.advance(),this.advance(),!0):!1}eat3(t,r,n){return this._cp1===t&&this._cp2===r&&this._cp3===n?(this.advance(),this.advance(),this.advance(),!0):!1}},N$t=class extends SyntaxError{constructor(t,r){super(t),this.index=r}};function x9l(e,t,r,n){let i="";if(e.kind==="literal"){let s=e.source.slice(e.start,e.end);s&&(i=`: ${s}`)}else if(e.kind==="pattern"){let s=e.source.slice(e.start,e.end),a=`${t.unicode?"u":""}${t.unicodeSets?"v":""}`;i=`: /${s}/${a}`}return new N$t(`Invalid regular expression${i}: ${n}`,r)}var v9l=new Set([wGe,kGe,SB,S$t,Qft,I$t,dse,R7e,F7e,L7e,mye,M7e,Q7e,qft]),C9l=new Set([O7e,b$t,PEs,kGe,NEs,Qft,I$t,lrn,S$t,D$t,OEs,jft,Uft,crn,dse,REs,wGe,QEs,jEs]),b9l=new Set([R7e,F7e,L7e,mye,M7e,Q7e,Mft,bK,SB,qft]),I9l=new Set([O7e,bK,b$t,PEs,NEs,lrn,D$t,OEs,jft,Uft,crn,REs,QEs,jEs]),qEs={global:LEs,ignoreCase:drn,multiline:mrn,unicode:v$t,sticky:MEs,dotAll:k$t,hasIndices:rrn,unicodeSets:nrn},S9l=Object.fromEntries(Object.entries(qEs).map(([e,t])=>[t,e]));function CEs(e){return v9l.has(e)}function bEs(e){return C9l.has(e)}function T9l(e){return b9l.has(e)}function D9l(e){return I9l.has(e)}function w9l(e){return F3l(e)||e===kGe||e===frn}function B9l(e){return SEs(e)||e===kGe||e===f9l||e===p9l}function YEs(e){return UEs(e)||e===frn}function k9l(e){return YEs(e)||C$t(e)}function P9l(e){return e===drn||e===mrn||e===k$t}var Yft=class{constructor(t){this._reader=new arn,this._unicodeMode=!1,this._unicodeSetsMode=!1,this._nFlag=!1,this._lastIntValue=0,this._lastRange={min:0,max:Number.POSITIVE_INFINITY},this._lastStrValue="",this._lastAssertionIsQuantifiable=!1,this._numCapturingParens=0,this._backreferenceNames=new Set,this._srcCtx=null,this._options=t??{},this._groupSpecifiers=this.ecmaVersion>=2025?new srn:new irn}validateLiteral(t,r=0,n=t.length){if(this._srcCtx={source:t,start:r,end:n,kind:"literal"},this._unicodeSetsMode=this._unicodeMode=this._nFlag=!1,this.reset(t,r,n),this.onLiteralEnter(r),this.eat(Mft)&&this.eatRegExpBody()&&this.eat(Mft)){let i=this.index,s=t.includes("u",i),a=t.includes("v",i);this.validateFlagsInternal(t,i,n),this.validatePatternInternal(t,r+1,i-1,{unicode:s,unicodeSets:a})}else if(r>=n)this.raise("Empty");else{let i=String.fromCodePoint(this.currentCodePoint);this.raise(`Unexpected character '${i}'`)}this.onLiteralLeave(r,n)}validateFlags(t,r=0,n=t.length){this._srcCtx={source:t,start:r,end:n,kind:"flags"},this.validateFlagsInternal(t,r,n)}validatePattern(t,r=0,n=t.length,i=void 0){this._srcCtx={source:t,start:r,end:n,kind:"pattern"},this.validatePatternInternal(t,r,n,i)}validatePatternInternal(t,r=0,n=t.length,i=void 0){let s=this._parseFlagsOptionToMode(i,n);this._unicodeMode=s.unicodeMode,this._nFlag=s.nFlag,this._unicodeSetsMode=s.unicodeSetsMode,this.reset(t,r,n),this.consumePattern(),!this._nFlag&&this.ecmaVersion>=2018&&!this._groupSpecifiers.isEmpty()&&(this._nFlag=!0,this.rewind(r),this.consumePattern())}validateFlagsInternal(t,r,n){let i=this.parseFlags(t,r,n);this.onRegExpFlags(r,n,i)}_parseFlagsOptionToMode(t,r){let n=!1,i=!1;t&&this.ecmaVersion>=2015&&(typeof t=="object"?(n=!!t.unicode,this.ecmaVersion>=2024&&(i=!!t.unicodeSets)):n=t),n&&i&&this.raise("Invalid regular expression flags",{index:r+1,unicode:n,unicodeSets:i});let s=n||i,a=n&&this.ecmaVersion>=2018||i||!!(this._options.strict&&this.ecmaVersion>=2023);return{unicodeMode:s,nFlag:a,unicodeSetsMode:i}}get strict(){return!!this._options.strict||this._unicodeMode}get ecmaVersion(){var t;return(t=this._options.ecmaVersion)!==null&&t!==void 0?t:IEs}onLiteralEnter(t){this._options.onLiteralEnter&&this._options.onLiteralEnter(t)}onLiteralLeave(t,r){this._options.onLiteralLeave&&this._options.onLiteralLeave(t,r)}onRegExpFlags(t,r,n){this._options.onRegExpFlags&&this._options.onRegExpFlags(t,r,n),this._options.onFlags&&this._options.onFlags(t,r,n.global,n.ignoreCase,n.multiline,n.unicode,n.sticky,n.dotAll,n.hasIndices)}onPatternEnter(t){this._options.onPatternEnter&&this._options.onPatternEnter(t)}onPatternLeave(t,r){this._options.onPatternLeave&&this._options.onPatternLeave(t,r)}onDisjunctionEnter(t){this._options.onDisjunctionEnter&&this._options.onDisjunctionEnter(t)}onDisjunctionLeave(t,r){this._options.onDisjunctionLeave&&this._options.onDisjunctionLeave(t,r)}onAlternativeEnter(t,r){this._options.onAlternativeEnter&&this._options.onAlternativeEnter(t,r)}onAlternativeLeave(t,r,n){this._options.onAlternativeLeave&&this._options.onAlternativeLeave(t,r,n)}onGroupEnter(t){this._options.onGroupEnter&&this._options.onGroupEnter(t)}onGroupLeave(t,r){this._options.onGroupLeave&&this._options.onGroupLeave(t,r)}onModifiersEnter(t){this._options.onModifiersEnter&&this._options.onModifiersEnter(t)}onModifiersLeave(t,r){this._options.onModifiersLeave&&this._options.onModifiersLeave(t,r)}onAddModifiers(t,r,n){this._options.onAddModifiers&&this._options.onAddModifiers(t,r,n)}onRemoveModifiers(t,r,n){this._options.onRemoveModifiers&&this._options.onRemoveModifiers(t,r,n)}onCapturingGroupEnter(t,r){this._options.onCapturingGroupEnter&&this._options.onCapturingGroupEnter(t,r)}onCapturingGroupLeave(t,r,n){this._options.onCapturingGroupLeave&&this._options.onCapturingGroupLeave(t,r,n)}onQuantifier(t,r,n,i,s){this._options.onQuantifier&&this._options.onQuantifier(t,r,n,i,s)}onLookaroundAssertionEnter(t,r,n){this._options.onLookaroundAssertionEnter&&this._options.onLookaroundAssertionEnter(t,r,n)}onLookaroundAssertionLeave(t,r,n,i){this._options.onLookaroundAssertionLeave&&this._options.onLookaroundAssertionLeave(t,r,n,i)}onEdgeAssertion(t,r,n){this._options.onEdgeAssertion&&this._options.onEdgeAssertion(t,r,n)}onWordBoundaryAssertion(t,r,n,i){this._options.onWordBoundaryAssertion&&this._options.onWordBoundaryAssertion(t,r,n,i)}onAnyCharacterSet(t,r,n){this._options.onAnyCharacterSet&&this._options.onAnyCharacterSet(t,r,n)}onEscapeCharacterSet(t,r,n,i){this._options.onEscapeCharacterSet&&this._options.onEscapeCharacterSet(t,r,n,i)}onUnicodePropertyCharacterSet(t,r,n,i,s,a,u){this._options.onUnicodePropertyCharacterSet&&this._options.onUnicodePropertyCharacterSet(t,r,n,i,s,a,u)}onCharacter(t,r,n){this._options.onCharacter&&this._options.onCharacter(t,r,n)}onBackreference(t,r,n){this._options.onBackreference&&this._options.onBackreference(t,r,n)}onCharacterClassEnter(t,r,n){this._options.onCharacterClassEnter&&this._options.onCharacterClassEnter(t,r,n)}onCharacterClassLeave(t,r,n){this._options.onCharacterClassLeave&&this._options.onCharacterClassLeave(t,r,n)}onCharacterClassRange(t,r,n,i){this._options.onCharacterClassRange&&this._options.onCharacterClassRange(t,r,n,i)}onClassIntersection(t,r){this._options.onClassIntersection&&this._options.onClassIntersection(t,r)}onClassSubtraction(t,r){this._options.onClassSubtraction&&this._options.onClassSubtraction(t,r)}onClassStringDisjunctionEnter(t){this._options.onClassStringDisjunctionEnter&&this._options.onClassStringDisjunctionEnter(t)}onClassStringDisjunctionLeave(t,r){this._options.onClassStringDisjunctionLeave&&this._options.onClassStringDisjunctionLeave(t,r)}onStringAlternativeEnter(t,r){this._options.onStringAlternativeEnter&&this._options.onStringAlternativeEnter(t,r)}onStringAlternativeLeave(t,r,n){this._options.onStringAlternativeLeave&&this._options.onStringAlternativeLeave(t,r,n)}get index(){return this._reader.index}get currentCodePoint(){return this._reader.currentCodePoint}get nextCodePoint(){return this._reader.nextCodePoint}get nextCodePoint2(){return this._reader.nextCodePoint2}get nextCodePoint3(){return this._reader.nextCodePoint3}reset(t,r,n){this._reader.reset(t,r,n,this._unicodeMode)}rewind(t){this._reader.rewind(t)}advance(){this._reader.advance()}eat(t){return this._reader.eat(t)}eat2(t,r){return this._reader.eat2(t,r)}eat3(t,r,n){return this._reader.eat3(t,r,n)}raise(t,r){var n,i,s;throw x9l(this._srcCtx,{unicode:(n=r?.unicode)!==null&&n!==void 0?n:this._unicodeMode&&!this._unicodeSetsMode,unicodeSets:(i=r?.unicodeSets)!==null&&i!==void 0?i:this._unicodeSetsMode},(s=r?.index)!==null&&s!==void 0?s:this.index,t)}eatRegExpBody(){let t=this.index,r=!1,n=!1;for(;;){let i=this.currentCodePoint;if(i===-1||y9l(i)){let s=r?"character class":"regular expression";this.raise(`Unterminated ${s}`)}if(n)n=!1;else if(i===SB)n=!0;else if(i===L7e)r=!0;else if(i===mye)r=!1;else if(i===Mft&&!r||i===Qft&&this.index===t)break;this.advance()}return this.index!==t}consumePattern(){let t=this.index;this._numCapturingParens=this.countCapturingParens(),this._groupSpecifiers.clear(),this._backreferenceNames.clear(),this.onPatternEnter(t),this.consumeDisjunction();let r=this.currentCodePoint;if(this.currentCodePoint!==-1){r===F7e&&this.raise("Unmatched ')'"),r===SB&&this.raise("\\ at end of pattern"),(r===mye||r===Q7e)&&this.raise("Lone quantifier brackets");let n=String.fromCodePoint(r);this.raise(`Unexpected character '${n}'`)}for(let n of this._backreferenceNames)this._groupSpecifiers.hasInPattern(n)||this.raise("Invalid named capture referenced");this.onPatternLeave(t,this.index)}countCapturingParens(){let t=this.index,r=!1,n=!1,i=0,s=0;for(;(s=this.currentCodePoint)!==-1;)n?n=!1:s===SB?n=!0:s===L7e?r=!0:s===mye?r=!1:s===R7e&&!r&&(this.nextCodePoint!==dse||this.nextCodePoint2===jft&&this.nextCodePoint3!==Uft&&this.nextCodePoint3!==b$t)&&(i+=1),this.advance();return this.rewind(t),i}consumeDisjunction(){let t=this.index,r=0;this._groupSpecifiers.enterDisjunction(),this.onDisjunctionEnter(t);do this.consumeAlternative(r++);while(this.eat(qft));this.consumeQuantifier(!0)&&this.raise("Nothing to repeat"),this.eat(M7e)&&this.raise("Lone quantifier brackets"),this.onDisjunctionLeave(t,this.index),this._groupSpecifiers.leaveDisjunction()}consumeAlternative(t){let r=this.index;for(this._groupSpecifiers.enterAlternative(t),this.onAlternativeEnter(r,t);this.currentCodePoint!==-1&&this.consumeTerm(););this.onAlternativeLeave(r,this.index,t)}consumeTerm(){return this._unicodeMode||this.strict?this.consumeAssertion()||this.consumeAtom()&&this.consumeOptionalQuantifier():this.consumeAssertion()&&(!this._lastAssertionIsQuantifiable||this.consumeOptionalQuantifier())||this.consumeExtendedAtom()&&this.consumeOptionalQuantifier()}consumeOptionalQuantifier(){return this.consumeQuantifier(),!0}consumeAssertion(){let t=this.index;if(this._lastAssertionIsQuantifiable=!1,this.eat(wGe))return this.onEdgeAssertion(t,this.index,"start"),!0;if(this.eat(kGe))return this.onEdgeAssertion(t,this.index,"end"),!0;if(this.eat2(SB,W3l))return this.onWordBoundaryAssertion(t,this.index,"word",!0),!0;if(this.eat2(SB,Wtn))return this.onWordBoundaryAssertion(t,this.index,"word",!1),!0;if(this.eat2(R7e,dse)){let r=this.ecmaVersion>=2018&&this.eat(jft),n=!1;if(this.eat(Uft)||(n=this.eat(b$t))){let i=r?"lookbehind":"lookahead";return this.onLookaroundAssertionEnter(t,i,n),this.consumeDisjunction(),this.eat(F7e)||this.raise("Unterminated group"),this._lastAssertionIsQuantifiable=!r&&!this.strict,this.onLookaroundAssertionLeave(t,this.index,i,n),!0}this.rewind(t)}return!1}consumeQuantifier(t=!1){let r=this.index,n=0,i=0,s=!1;if(this.eat(Qft))n=0,i=Number.POSITIVE_INFINITY;else if(this.eat(I$t))n=1,i=Number.POSITIVE_INFINITY;else if(this.eat(dse))n=0,i=1;else if(this.eatBracedQuantifier(t))({min:n,max:i}=this._lastRange);else return!1;return s=!this.eat(dse),t||this.onQuantifier(r,this.index,n,i,s),!0}eatBracedQuantifier(t){let r=this.index;if(this.eat(M7e)){if(this.eatDecimalDigits()){let n=this._lastIntValue,i=n;if(this.eat(lrn)&&(i=this.eatDecimalDigits()?this._lastIntValue:Number.POSITIVE_INFINITY),this.eat(Q7e))return!t&&i=2025&&this.consumeModifiers(),this.eat(D$t)||(this.rewind(t+1),this.raise("Invalid group")),this.consumeDisjunction(),this.eat(F7e)||this.raise("Unterminated group"),this.onGroupLeave(t,this.index),!0):!1}consumeModifiers(){let t=this.index,r=this.eatModifiers(),n=this.index,i=this.eat(bK);if(!r&&!i)return!1;this.onModifiersEnter(t);let s=this.parseModifiers(t,n);if(this.onAddModifiers(t,n,s),i){let a=this.index;!this.eatModifiers()&&!r&&this.currentCodePoint===D$t&&this.raise("Invalid empty flags");let u=this.parseModifiers(a,this.index);for(let[l]of Object.entries(u).filter(([,f])=>f))s[l]&&this.raise(`Duplicated flag '${String.fromCodePoint(qEs[l])}'`);this.onRemoveModifiers(a,this.index,u)}return this.onModifiersLeave(t,this.index),!0}consumeCapturingGroup(){let t=this.index;if(this.eat(R7e)){let r=null;if(this.ecmaVersion>=2018){if(this.consumeGroupSpecifier())r=this._lastStrValue;else if(this.currentCodePoint===dse)return this.rewind(t),!1}else if(this.currentCodePoint===dse)return this.rewind(t),!1;return this.onCapturingGroupEnter(t,r),this.consumeDisjunction(),this.eat(F7e)||this.raise("Unterminated group"),this.onCapturingGroupLeave(t,this.index,r),!0}return!1}consumeExtendedAtom(){return this.consumeDot()||this.consumeReverseSolidusAtomEscape()||this.consumeReverseSolidusFollowedByC()||!!this.consumeCharacterClass()||this.consumeCapturingGroup()||this.consumeUncapturingGroup()||this.consumeInvalidBracedQuantifier()||this.consumeExtendedPatternCharacter()}consumeReverseSolidusFollowedByC(){let t=this.index;return this.currentCodePoint===SB&&this.nextCodePoint===DGe?(this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(t,this.index,SB),!0):!1}consumeInvalidBracedQuantifier(){return this.eatBracedQuantifier(!0)&&this.raise("Nothing to repeat"),!1}consumePatternCharacter(){let t=this.index,r=this.currentCodePoint;return r!==-1&&!CEs(r)?(this.advance(),this.onCharacter(t,this.index,r),!0):!1}consumeExtendedPatternCharacter(){let t=this.index,r=this.currentCodePoint;return r!==-1&&r!==wGe&&r!==kGe&&r!==SB&&r!==S$t&&r!==Qft&&r!==I$t&&r!==dse&&r!==R7e&&r!==F7e&&r!==L7e&&r!==qft?(this.advance(),this.onCharacter(t,this.index,r),!0):!1}consumeGroupSpecifier(){let t=this.index;if(this.eat(dse)){if(this.eatGroupName()){if(!this._groupSpecifiers.hasInScope(this._lastStrValue))return this._groupSpecifiers.addToScope(this._lastStrValue),!0;this.raise("Duplicate capture group name")}this.rewind(t)}return!1}consumeAtomEscape(){return this.consumeBackreference()||this.consumeCharacterClassEscape()||this.consumeCharacterEscape()||this._nFlag&&this.consumeKGroupName()?!0:((this.strict||this._unicodeMode)&&this.raise("Invalid escape"),!1)}consumeBackreference(){let t=this.index;if(this.eatDecimalEscape()){let r=this._lastIntValue;if(r<=this._numCapturingParens)return this.onBackreference(t-1,this.index,r),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(t)}return!1}consumeCharacterClassEscape(){var t;let r=this.index;if(this.eat(rrn))return this._lastIntValue=-1,this.onEscapeCharacterSet(r-1,this.index,"digit",!1),{};if(this.eat(X3l))return this._lastIntValue=-1,this.onEscapeCharacterSet(r-1,this.index,"digit",!0),{};if(this.eat(k$t))return this._lastIntValue=-1,this.onEscapeCharacterSet(r-1,this.index,"space",!1),{};if(this.eat(e9l))return this._lastIntValue=-1,this.onEscapeCharacterSet(r-1,this.index,"space",!0),{};if(this.eat(u9l))return this._lastIntValue=-1,this.onEscapeCharacterSet(r-1,this.index,"word",!1),{};if(this.eat(t9l))return this._lastIntValue=-1,this.onEscapeCharacterSet(r-1,this.index,"word",!0),{};let n=!1;if(this._unicodeMode&&this.ecmaVersion>=2018&&(this.eat(i9l)||(n=this.eat(Z3l)))){this._lastIntValue=-1;let i=null;if(this.eat(M7e)&&(i=this.eatUnicodePropertyValueExpression())&&this.eat(Q7e))return n&&i.strings&&this.raise("Invalid property name"),this.onUnicodePropertyCharacterSet(r-1,this.index,"property",i.key,i.value,n,(t=i.strings)!==null&&t!==void 0?t:!1),{mayContainStrings:i.strings};this.raise("Invalid property name")}return null}consumeCharacterEscape(){let t=this.index;return this.eatControlEscape()||this.eatCControlLetter()||this.eatZero()||this.eatHexEscapeSequence()||this.eatRegExpUnicodeEscapeSequence()||!this.strict&&!this._unicodeMode&&this.eatLegacyOctalEscapeSequence()||this.eatIdentityEscape()?(this.onCharacter(t-1,this.index,this._lastIntValue),!0):!1}consumeKGroupName(){let t=this.index;if(this.eat(EEs)){if(this.eatGroupName()){let r=this._lastStrValue;return this._backreferenceNames.add(r),this.onBackreference(t-1,this.index,r),!0}this.raise("Invalid named reference")}return!1}consumeCharacterClass(){let t=this.index;if(this.eat(L7e)){let r=this.eat(wGe);this.onCharacterClassEnter(t,r,this._unicodeSetsMode);let n=this.consumeClassContents();return this.eat(mye)||(this.currentCodePoint===-1&&this.raise("Unterminated character class"),this.raise("Invalid character in character class")),r&&n.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(t,this.index,r),n}return null}consumeClassContents(){if(this._unicodeSetsMode)return this.currentCodePoint===mye?{}:this.consumeClassSetExpression();let t=this.strict||this._unicodeMode;for(;;){let r=this.index;if(!this.consumeClassAtom())break;let n=this._lastIntValue;if(!this.eat(bK))continue;if(this.onCharacter(this.index-1,this.index,bK),!this.consumeClassAtom())break;let i=this._lastIntValue;if(n===-1||i===-1){t&&this.raise("Invalid character class");continue}n>i&&this.raise("Range out of order in character class"),this.onCharacterClassRange(r,this.index,n,i)}return{}}consumeClassAtom(){let t=this.index,r=this.currentCodePoint;if(r!==-1&&r!==SB&&r!==mye)return this.advance(),this._lastIntValue=r,this.onCharacter(t,this.index,this._lastIntValue),!0;if(this.eat(SB)){if(this.consumeClassEscape())return!0;if(!this.strict&&this.currentCodePoint===DGe)return this._lastIntValue=SB,this.onCharacter(t,this.index,this._lastIntValue),!0;(this.strict||this._unicodeMode)&&this.raise("Invalid escape"),this.rewind(t)}return!1}consumeClassEscape(){let t=this.index;if(this.eat(Wtn))return this._lastIntValue=_Es,this.onCharacter(t-1,this.index,this._lastIntValue),!0;if(this._unicodeMode&&this.eat(bK))return this._lastIntValue=bK,this.onCharacter(t-1,this.index,this._lastIntValue),!0;let r=0;return!this.strict&&!this._unicodeMode&&this.currentCodePoint===DGe&&(C$t(r=this.nextCodePoint)||r===frn)?(this.advance(),this.advance(),this._lastIntValue=r%32,this.onCharacter(t-1,this.index,this._lastIntValue),!0):!!this.consumeCharacterClassEscape()||this.consumeCharacterEscape()}consumeClassSetExpression(){let t=this.index,r=!1,n=null;if(this.consumeClassSetCharacter()){if(this.consumeClassSetRangeFromOperator(t))return this.consumeClassUnionRight({}),{};r=!1}else if(n=this.consumeClassSetOperand())r=n.mayContainStrings;else{let i=this.currentCodePoint;i===SB&&(this.advance(),this.raise("Invalid escape")),i===this.nextCodePoint&&bEs(i)&&this.raise("Invalid set operation in character class"),this.raise("Invalid character in character class")}if(this.eat2(O7e,O7e)){for(;this.currentCodePoint!==O7e&&(n=this.consumeClassSetOperand());)if(this.onClassIntersection(t,this.index),n.mayContainStrings||(r=!1),!this.eat2(O7e,O7e))return{mayContainStrings:r};this.raise("Invalid character in character class")}if(this.eat2(bK,bK)){for(;this.consumeClassSetOperand();)if(this.onClassSubtraction(t,this.index),!this.eat2(bK,bK))return{mayContainStrings:r};this.raise("Invalid character in character class")}return this.consumeClassUnionRight({mayContainStrings:r})}consumeClassUnionRight(t){let r=t.mayContainStrings;for(;;){let n=this.index;if(this.consumeClassSetCharacter()){this.consumeClassSetRangeFromOperator(n);continue}let i=this.consumeClassSetOperand();if(i){i.mayContainStrings&&(r=!0);continue}break}return{mayContainStrings:r}}consumeClassSetRangeFromOperator(t){let r=this.index,n=this._lastIntValue;if(this.eat(bK)){if(this.consumeClassSetCharacter()){let i=this._lastIntValue;return(n===-1||i===-1)&&this.raise("Invalid character class"),n>i&&this.raise("Range out of order in character class"),this.onCharacterClassRange(t,this.index,n,i),!0}this.rewind(r)}return!1}consumeClassSetOperand(){let t=null;return(t=this.consumeNestedClass())||(t=this.consumeClassStringDisjunction())?t:this.consumeClassSetCharacter()?{}:null}consumeNestedClass(){let t=this.index;if(this.eat(L7e)){let r=this.eat(wGe);this.onCharacterClassEnter(t,r,!0);let n=this.consumeClassContents();return this.eat(mye)||this.raise("Unterminated character class"),r&&n.mayContainStrings&&this.raise("Negated character class may contain strings"),this.onCharacterClassLeave(t,this.index,r),n}if(this.eat(SB)){let r=this.consumeCharacterClassEscape();if(r)return r;this.rewind(t)}return null}consumeClassStringDisjunction(){let t=this.index;if(this.eat3(SB,s9l,M7e)){this.onClassStringDisjunctionEnter(t);let r=0,n=!1;do this.consumeClassString(r++).mayContainStrings&&(n=!0);while(this.eat(qft));if(this.eat(Q7e))return this.onClassStringDisjunctionLeave(t,this.index),{mayContainStrings:n};this.raise("Unterminated class string disjunction")}return null}consumeClassString(t){let r=this.index,n=0;for(this.onStringAlternativeEnter(r,t);this.currentCodePoint!==-1&&this.consumeClassSetCharacter();)n++;return this.onStringAlternativeLeave(r,this.index,t),{mayContainStrings:n!==1}}consumeClassSetCharacter(){let t=this.index,r=this.currentCodePoint;if((r!==this.nextCodePoint||!bEs(r))&&r!==-1&&!T9l(r))return this._lastIntValue=r,this.advance(),this.onCharacter(t,this.index,this._lastIntValue),!0;if(this.eat(SB)){if(this.consumeCharacterEscape())return!0;if(D9l(this.currentCodePoint))return this._lastIntValue=this.currentCodePoint,this.advance(),this.onCharacter(t,this.index,this._lastIntValue),!0;if(this.eat(Wtn))return this._lastIntValue=_Es,this.onCharacter(t,this.index,this._lastIntValue),!0;this.rewind(t)}return!1}eatGroupName(){if(this.eat(jft)){if(this.eatRegExpIdentifierName()&&this.eat(crn))return!0;this.raise("Invalid capture group name")}return!1}eatRegExpIdentifierName(){if(this.eatRegExpIdentifierStart()){for(this._lastStrValue=String.fromCodePoint(this._lastIntValue);this.eatRegExpIdentifierPart();)this._lastStrValue+=String.fromCodePoint(this._lastIntValue);return!0}return!1}eatRegExpIdentifierStart(){let t=this.index,r=!this._unicodeMode&&this.ecmaVersion>=2020,n=this.currentCodePoint;return this.advance(),n===SB&&this.eatRegExpUnicodeEscapeSequence(r)?n=this._lastIntValue:r&&Ztn(n)&&ern(this.currentCodePoint)&&(n=trn(n,this.currentCodePoint),this.advance()),w9l(n)?(this._lastIntValue=n,!0):(this.index!==t&&this.rewind(t),!1)}eatRegExpIdentifierPart(){let t=this.index,r=!this._unicodeMode&&this.ecmaVersion>=2020,n=this.currentCodePoint;return this.advance(),n===SB&&this.eatRegExpUnicodeEscapeSequence(r)?n=this._lastIntValue:r&&Ztn(n)&&ern(this.currentCodePoint)&&(n=trn(n,this.currentCodePoint),this.advance()),B9l(n)?(this._lastIntValue=n,!0):(this.index!==t&&this.rewind(t),!1)}eatCControlLetter(){let t=this.index;if(this.eat(DGe)){if(this.eatControlLetter())return!0;this.rewind(t)}return!1}eatZero(){return this.currentCodePoint===KSe&&!C$t(this.nextCodePoint)?(this._lastIntValue=0,this.advance(),!0):!1}eatControlEscape(){return this.eat(prn)?(this._lastIntValue=J3l,!0):this.eat(n9l)?(this._lastIntValue=BEs,!0):this.eat(a9l)?(this._lastIntValue=kEs,!0):this.eat(o9l)?(this._lastIntValue=$3l,!0):this.eat(nrn)?(this._lastIntValue=K3l,!0):!1}eatControlLetter(){let t=this.currentCodePoint;return UEs(t)?(this.advance(),this._lastIntValue=t%32,!0):!1}eatRegExpUnicodeEscapeSequence(t=!1){let r=this.index,n=t||this._unicodeMode;if(this.eat(v$t)){if(n&&this.eatRegExpUnicodeSurrogatePairEscape()||this.eatFixedHexDigits(4)||n&&this.eatRegExpUnicodeCodePointEscape())return!0;(this.strict||n)&&this.raise("Invalid unicode escape"),this.rewind(r)}return!1}eatRegExpUnicodeSurrogatePairEscape(){let t=this.index;if(this.eatFixedHexDigits(4)){let r=this._lastIntValue;if(Ztn(r)&&this.eat(SB)&&this.eat(v$t)&&this.eatFixedHexDigits(4)){let n=this._lastIntValue;if(ern(n))return this._lastIntValue=trn(r,n),!0}this.rewind(t)}return!1}eatRegExpUnicodeCodePointEscape(){let t=this.index;return this.eat(M7e)&&this.eatHexDigits()&&this.eat(Q7e)&&_9l(this._lastIntValue)?!0:(this.rewind(t),!1)}eatIdentityEscape(){let t=this.currentCodePoint;return this.isValidIdentityEscape(t)?(this._lastIntValue=t,this.advance(),!0):!1}isValidIdentityEscape(t){return t===-1?!1:this._unicodeMode?CEs(t)||t===Mft:this.strict?!SEs(t):this._nFlag?!(t===DGe||t===EEs):t!==DGe}eatDecimalEscape(){this._lastIntValue=0;let t=this.currentCodePoint;if(t>=H3l&&t<=T$t){do this._lastIntValue=10*this._lastIntValue+(t-KSe),this.advance();while((t=this.currentCodePoint)>=KSe&&t<=T$t);return!0}return!1}eatUnicodePropertyValueExpression(){let t=this.index;if(this.eatUnicodePropertyName()&&this.eat(Uft)){let r=this._lastStrValue;if(this.eatUnicodePropertyValue()){let n=this._lastStrValue;if(yEs(this.ecmaVersion,r,n))return{key:r,value:n||null};this.raise("Invalid property name")}}if(this.rewind(t),this.eatLoneUnicodePropertyNameOrValue()){let r=this._lastStrValue;if(yEs(this.ecmaVersion,"General_Category",r))return{key:"General_Category",value:r||null};if(G3l(this.ecmaVersion,r))return{key:r,value:null};if(this._unicodeSetsMode&&V3l(this.ecmaVersion,r))return{key:r,value:null,strings:!0};this.raise("Invalid property name")}return null}eatUnicodePropertyName(){for(this._lastStrValue="";YEs(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return this._lastStrValue!==""}eatUnicodePropertyValue(){for(this._lastStrValue="";k9l(this.currentCodePoint);)this._lastStrValue+=String.fromCodePoint(this.currentCodePoint),this.advance();return this._lastStrValue!==""}eatLoneUnicodePropertyNameOrValue(){return this.eatUnicodePropertyValue()}eatHexEscapeSequence(){let t=this.index;if(this.eat(l9l)){if(this.eatFixedHexDigits(2))return!0;(this._unicodeMode||this.strict)&&this.raise("Invalid escape"),this.rewind(t)}return!1}eatDecimalDigits(){let t=this.index;for(this._lastIntValue=0;C$t(this.currentCodePoint);)this._lastIntValue=10*this._lastIntValue+Xtn(this.currentCodePoint),this.advance();return this.index!==t}eatHexDigits(){let t=this.index;for(this._lastIntValue=0;xEs(this.currentCodePoint);)this._lastIntValue=16*this._lastIntValue+Xtn(this.currentCodePoint),this.advance();return this.index!==t}eatLegacyOctalEscapeSequence(){if(this.eatOctalDigit()){let t=this._lastIntValue;if(this.eatOctalDigit()){let r=this._lastIntValue;t<=3&&this.eatOctalDigit()?this._lastIntValue=t*64+r*8+this._lastIntValue:this._lastIntValue=t*8+r}else this._lastIntValue=t;return!0}return!1}eatOctalDigit(){let t=this.currentCodePoint;return h9l(t)?(this.advance(),this._lastIntValue=t-KSe,!0):(this._lastIntValue=0,!1)}eatFixedHexDigits(t){let r=this.index;this._lastIntValue=0;for(let n=0;n=2015&&(s.add(v$t),s.add(MEs),this.ecmaVersion>=2018&&(s.add(k$t),this.ecmaVersion>=2022&&(s.add(rrn),this.ecmaVersion>=2024&&s.add(nrn))));for(let a=r;aa.name===i);if(s.length===1){let a=s[0];n.ambiguous=!1,n.resolved=a}else n.ambiguous=!0,n.resolved=s;for(let a of s)a.references.push(n)}}onAlternativeEnter(t){let r=this._node;if(r.type!=="Assertion"&&r.type!=="CapturingGroup"&&r.type!=="Group"&&r.type!=="Pattern")throw new Error("UnknownError");this._node={type:"Alternative",parent:r,start:t,end:t,raw:"",elements:[]},r.alternatives.push(this._node)}onAlternativeLeave(t,r){let n=this._node;if(n.type!=="Alternative")throw new Error("UnknownError");n.end=r,n.raw=this.source.slice(t,r),this._node=n.parent}onGroupEnter(t){let r=this._node;if(r.type!=="Alternative")throw new Error("UnknownError");let n={type:"Group",parent:r,start:t,end:t,raw:"",modifiers:null,alternatives:[]};this._node=n,r.elements.push(this._node)}onGroupLeave(t,r){let n=this._node;if(n.type!=="Group"||n.parent.type!=="Alternative")throw new Error("UnknownError");n.end=r,n.raw=this.source.slice(t,r),this._node=n.parent}onModifiersEnter(t){let r=this._node;if(r.type!=="Group")throw new Error("UnknownError");this._node={type:"Modifiers",parent:r,start:t,end:t,raw:"",add:null,remove:null},r.modifiers=this._node}onModifiersLeave(t,r){let n=this._node;if(n.type!=="Modifiers"||n.parent.type!=="Group")throw new Error("UnknownError");n.end=r,n.raw=this.source.slice(t,r),this._node=n.parent}onAddModifiers(t,r,{ignoreCase:n,multiline:i,dotAll:s}){let a=this._node;if(a.type!=="Modifiers")throw new Error("UnknownError");a.add={type:"ModifierFlags",parent:a,start:t,end:r,raw:this.source.slice(t,r),ignoreCase:n,multiline:i,dotAll:s}}onRemoveModifiers(t,r,{ignoreCase:n,multiline:i,dotAll:s}){let a=this._node;if(a.type!=="Modifiers")throw new Error("UnknownError");a.remove={type:"ModifierFlags",parent:a,start:t,end:r,raw:this.source.slice(t,r),ignoreCase:n,multiline:i,dotAll:s}}onCapturingGroupEnter(t,r){let n=this._node;if(n.type!=="Alternative")throw new Error("UnknownError");this._node={type:"CapturingGroup",parent:n,start:t,end:t,raw:"",name:r,alternatives:[],references:[]},n.elements.push(this._node),this._capturingGroups.push(this._node)}onCapturingGroupLeave(t,r){let n=this._node;if(n.type!=="CapturingGroup"||n.parent.type!=="Alternative")throw new Error("UnknownError");n.end=r,n.raw=this.source.slice(t,r),this._node=n.parent}onQuantifier(t,r,n,i,s){let a=this._node;if(a.type!=="Alternative")throw new Error("UnknownError");let u=a.elements.pop();if(u==null||u.type==="Quantifier"||u.type==="Assertion"&&u.kind!=="lookahead")throw new Error("UnknownError");let l={type:"Quantifier",parent:a,start:u.start,end:r,raw:this.source.slice(u.start,r),min:n,max:i,greedy:s,element:u};a.elements.push(l),u.parent=l}onLookaroundAssertionEnter(t,r,n){let i=this._node;if(i.type!=="Alternative")throw new Error("UnknownError");let s=this._node={type:"Assertion",parent:i,start:t,end:t,raw:"",kind:r,negate:n,alternatives:[]};i.elements.push(s)}onLookaroundAssertionLeave(t,r){let n=this._node;if(n.type!=="Assertion"||n.parent.type!=="Alternative")throw new Error("UnknownError");n.end=r,n.raw=this.source.slice(t,r),this._node=n.parent}onEdgeAssertion(t,r,n){let i=this._node;if(i.type!=="Alternative")throw new Error("UnknownError");i.elements.push({type:"Assertion",parent:i,start:t,end:r,raw:this.source.slice(t,r),kind:n})}onWordBoundaryAssertion(t,r,n,i){let s=this._node;if(s.type!=="Alternative")throw new Error("UnknownError");s.elements.push({type:"Assertion",parent:s,start:t,end:r,raw:this.source.slice(t,r),kind:n,negate:i})}onAnyCharacterSet(t,r,n){let i=this._node;if(i.type!=="Alternative")throw new Error("UnknownError");i.elements.push({type:"CharacterSet",parent:i,start:t,end:r,raw:this.source.slice(t,r),kind:n})}onEscapeCharacterSet(t,r,n,i){let s=this._node;if(s.type!=="Alternative"&&s.type!=="CharacterClass")throw new Error("UnknownError");s.elements.push({type:"CharacterSet",parent:s,start:t,end:r,raw:this.source.slice(t,r),kind:n,negate:i})}onUnicodePropertyCharacterSet(t,r,n,i,s,a,u){let l=this._node;if(l.type!=="Alternative"&&l.type!=="CharacterClass")throw new Error("UnknownError");let f={type:"CharacterSet",parent:null,start:t,end:r,raw:this.source.slice(t,r),kind:n,strings:null,key:i};if(u){if(l.type==="CharacterClass"&&!l.unicodeSets||a||s!==null)throw new Error("UnknownError");l.elements.push(Object.assign(Object.assign({},f),{parent:l,strings:u,value:s,negate:a}))}else l.elements.push(Object.assign(Object.assign({},f),{parent:l,strings:u,value:s,negate:a}))}onCharacter(t,r,n){let i=this._node;if(i.type!=="Alternative"&&i.type!=="CharacterClass"&&i.type!=="StringAlternative")throw new Error("UnknownError");i.elements.push({type:"Character",parent:i,start:t,end:r,raw:this.source.slice(t,r),value:n})}onBackreference(t,r,n){let i=this._node;if(i.type!=="Alternative")throw new Error("UnknownError");let s={type:"Backreference",parent:i,start:t,end:r,raw:this.source.slice(t,r),ref:n,ambiguous:!1,resolved:R9l};i.elements.push(s),this._backreferences.push(s)}onCharacterClassEnter(t,r,n){let i=this._node,s={type:"CharacterClass",parent:i,start:t,end:t,raw:"",unicodeSets:n,negate:r,elements:[]};if(i.type==="Alternative"){let a=Object.assign(Object.assign({},s),{parent:i});this._node=a,i.elements.push(a)}else if(i.type==="CharacterClass"&&i.unicodeSets&&n){let a=Object.assign(Object.assign({},s),{parent:i,unicodeSets:n});this._node=a,i.elements.push(a)}else throw new Error("UnknownError")}onCharacterClassLeave(t,r){let n=this._node;if(n.type!=="CharacterClass"||n.parent.type!=="Alternative"&&n.parent.type!=="CharacterClass")throw new Error("UnknownError");let i=n.parent;n.end=r,n.raw=this.source.slice(t,r),this._node=i;let s=this._expressionBufferMap.get(n);if(!s)return;if(n.elements.length>0)throw new Error("UnknownError");this._expressionBufferMap.delete(n);let a={type:"ExpressionCharacterClass",parent:i,start:n.start,end:n.end,raw:n.raw,negate:n.negate,expression:s};if(s.parent=a,n!==i.elements.pop())throw new Error("UnknownError");i.elements.push(a)}onCharacterClassRange(t,r){let n=this._node;if(n.type!=="CharacterClass")throw new Error("UnknownError");let i=n.elements,s=i.pop();if(!s||s.type!=="Character")throw new Error("UnknownError");if(!n.unicodeSets){let l=i.pop();if(!l||l.type!=="Character"||l.value!==bK)throw new Error("UnknownError")}let a=i.pop();if(!a||a.type!=="Character")throw new Error("UnknownError");let u={type:"CharacterClassRange",parent:n,start:t,end:r,raw:this.source.slice(t,r),min:a,max:s};a.parent=u,s.parent=u,i.push(u)}onClassIntersection(t,r){var n;let i=this._node;if(i.type!=="CharacterClass"||!i.unicodeSets)throw new Error("UnknownError");let s=i.elements.pop(),a=(n=this._expressionBufferMap.get(i))!==null&&n!==void 0?n:i.elements.pop();if(!a||!s||a.type==="ClassSubtraction"||a.type!=="ClassIntersection"&&!x$t(a)||!x$t(s))throw new Error("UnknownError");let u={type:"ClassIntersection",parent:i,start:t,end:r,raw:this.source.slice(t,r),left:a,right:s};a.parent=u,s.parent=u,this._expressionBufferMap.set(i,u)}onClassSubtraction(t,r){var n;let i=this._node;if(i.type!=="CharacterClass"||!i.unicodeSets)throw new Error("UnknownError");let s=i.elements.pop(),a=(n=this._expressionBufferMap.get(i))!==null&&n!==void 0?n:i.elements.pop();if(!a||!s||a.type==="ClassIntersection"||a.type!=="ClassSubtraction"&&!x$t(a)||!x$t(s))throw new Error("UnknownError");let u={type:"ClassSubtraction",parent:i,start:t,end:r,raw:this.source.slice(t,r),left:a,right:s};a.parent=u,s.parent=u,this._expressionBufferMap.set(i,u)}onClassStringDisjunctionEnter(t){let r=this._node;if(r.type!=="CharacterClass"||!r.unicodeSets)throw new Error("UnknownError");this._node={type:"ClassStringDisjunction",parent:r,start:t,end:t,raw:"",alternatives:[]},r.elements.push(this._node)}onClassStringDisjunctionLeave(t,r){let n=this._node;if(n.type!=="ClassStringDisjunction"||n.parent.type!=="CharacterClass")throw new Error("UnknownError");n.end=r,n.raw=this.source.slice(t,r),this._node=n.parent}onStringAlternativeEnter(t){let r=this._node;if(r.type!=="ClassStringDisjunction")throw new Error("UnknownError");this._node={type:"StringAlternative",parent:r,start:t,end:t,raw:"",elements:[]},r.alternatives.push(this._node)}onStringAlternativeLeave(t,r){let n=this._node;if(n.type!=="StringAlternative")throw new Error("UnknownError");n.end=r,n.raw=this.source.slice(t,r),this._node=n.parent}},O$t=class{constructor(t){this._state=new orn(t),this._validator=new Yft(this._state)}parseLiteral(t,r=0,n=t.length){this._state.source=t,this._validator.validateLiteral(t,r,n);let i=this._state.pattern,s=this._state.flags,a={type:"RegExpLiteral",parent:null,start:r,end:n,raw:t,pattern:i,flags:s};return i.parent=a,s.parent=a,a}parseFlags(t,r=0,n=t.length){return this._state.source=t,this._validator.validateFlags(t,r,n),this._state.flags}parsePattern(t,r=0,n=t.length,i=void 0){return this._state.source=t,this._validator.validatePattern(t,r,n,i),this._state.pattern}},urn=class{constructor(t){this._handlers=t}visit(t){switch(t.type){case"Alternative":this.visitAlternative(t);break;case"Assertion":this.visitAssertion(t);break;case"Backreference":this.visitBackreference(t);break;case"CapturingGroup":this.visitCapturingGroup(t);break;case"Character":this.visitCharacter(t);break;case"CharacterClass":this.visitCharacterClass(t);break;case"CharacterClassRange":this.visitCharacterClassRange(t);break;case"CharacterSet":this.visitCharacterSet(t);break;case"ClassIntersection":this.visitClassIntersection(t);break;case"ClassStringDisjunction":this.visitClassStringDisjunction(t);break;case"ClassSubtraction":this.visitClassSubtraction(t);break;case"ExpressionCharacterClass":this.visitExpressionCharacterClass(t);break;case"Flags":this.visitFlags(t);break;case"Group":this.visitGroup(t);break;case"Modifiers":this.visitModifiers(t);break;case"ModifierFlags":this.visitModifierFlags(t);break;case"Pattern":this.visitPattern(t);break;case"Quantifier":this.visitQuantifier(t);break;case"RegExpLiteral":this.visitRegExpLiteral(t);break;case"StringAlternative":this.visitStringAlternative(t);break;default:throw new Error(`Unknown type: ${t.type}`)}}visitAlternative(t){this._handlers.onAlternativeEnter&&this._handlers.onAlternativeEnter(t),t.elements.forEach(this.visit,this),this._handlers.onAlternativeLeave&&this._handlers.onAlternativeLeave(t)}visitAssertion(t){this._handlers.onAssertionEnter&&this._handlers.onAssertionEnter(t),(t.kind==="lookahead"||t.kind==="lookbehind")&&t.alternatives.forEach(this.visit,this),this._handlers.onAssertionLeave&&this._handlers.onAssertionLeave(t)}visitBackreference(t){this._handlers.onBackreferenceEnter&&this._handlers.onBackreferenceEnter(t),this._handlers.onBackreferenceLeave&&this._handlers.onBackreferenceLeave(t)}visitCapturingGroup(t){this._handlers.onCapturingGroupEnter&&this._handlers.onCapturingGroupEnter(t),t.alternatives.forEach(this.visit,this),this._handlers.onCapturingGroupLeave&&this._handlers.onCapturingGroupLeave(t)}visitCharacter(t){this._handlers.onCharacterEnter&&this._handlers.onCharacterEnter(t),this._handlers.onCharacterLeave&&this._handlers.onCharacterLeave(t)}visitCharacterClass(t){this._handlers.onCharacterClassEnter&&this._handlers.onCharacterClassEnter(t),t.elements.forEach(this.visit,this),this._handlers.onCharacterClassLeave&&this._handlers.onCharacterClassLeave(t)}visitCharacterClassRange(t){this._handlers.onCharacterClassRangeEnter&&this._handlers.onCharacterClassRangeEnter(t),this.visitCharacter(t.min),this.visitCharacter(t.max),this._handlers.onCharacterClassRangeLeave&&this._handlers.onCharacterClassRangeLeave(t)}visitCharacterSet(t){this._handlers.onCharacterSetEnter&&this._handlers.onCharacterSetEnter(t),this._handlers.onCharacterSetLeave&&this._handlers.onCharacterSetLeave(t)}visitClassIntersection(t){this._handlers.onClassIntersectionEnter&&this._handlers.onClassIntersectionEnter(t),this.visit(t.left),this.visit(t.right),this._handlers.onClassIntersectionLeave&&this._handlers.onClassIntersectionLeave(t)}visitClassStringDisjunction(t){this._handlers.onClassStringDisjunctionEnter&&this._handlers.onClassStringDisjunctionEnter(t),t.alternatives.forEach(this.visit,this),this._handlers.onClassStringDisjunctionLeave&&this._handlers.onClassStringDisjunctionLeave(t)}visitClassSubtraction(t){this._handlers.onClassSubtractionEnter&&this._handlers.onClassSubtractionEnter(t),this.visit(t.left),this.visit(t.right),this._handlers.onClassSubtractionLeave&&this._handlers.onClassSubtractionLeave(t)}visitExpressionCharacterClass(t){this._handlers.onExpressionCharacterClassEnter&&this._handlers.onExpressionCharacterClassEnter(t),this.visit(t.expression),this._handlers.onExpressionCharacterClassLeave&&this._handlers.onExpressionCharacterClassLeave(t)}visitFlags(t){this._handlers.onFlagsEnter&&this._handlers.onFlagsEnter(t),this._handlers.onFlagsLeave&&this._handlers.onFlagsLeave(t)}visitGroup(t){this._handlers.onGroupEnter&&this._handlers.onGroupEnter(t),t.modifiers&&this.visit(t.modifiers),t.alternatives.forEach(this.visit,this),this._handlers.onGroupLeave&&this._handlers.onGroupLeave(t)}visitModifiers(t){this._handlers.onModifiersEnter&&this._handlers.onModifiersEnter(t),t.add&&this.visit(t.add),t.remove&&this.visit(t.remove),this._handlers.onModifiersLeave&&this._handlers.onModifiersLeave(t)}visitModifierFlags(t){this._handlers.onModifierFlagsEnter&&this._handlers.onModifierFlagsEnter(t),this._handlers.onModifierFlagsLeave&&this._handlers.onModifierFlagsLeave(t)}visitPattern(t){this._handlers.onPatternEnter&&this._handlers.onPatternEnter(t),t.alternatives.forEach(this.visit,this),this._handlers.onPatternLeave&&this._handlers.onPatternLeave(t)}visitQuantifier(t){this._handlers.onQuantifierEnter&&this._handlers.onQuantifierEnter(t),this.visit(t.element),this._handlers.onQuantifierLeave&&this._handlers.onQuantifierLeave(t)}visitRegExpLiteral(t){this._handlers.onRegExpLiteralEnter&&this._handlers.onRegExpLiteralEnter(t),this.visitPattern(t.pattern),this.visitFlags(t.flags),this._handlers.onRegExpLiteralLeave&&this._handlers.onRegExpLiteralLeave(t)}visitStringAlternative(t){this._handlers.onStringAlternativeEnter&&this._handlers.onStringAlternativeEnter(t),t.elements.forEach(this.visit,this),this._handlers.onStringAlternativeLeave&&this._handlers.onStringAlternativeLeave(t)}};function F9l(e,t){return new O$t(t).parseLiteral(String(e))}function L9l(e,t){new Yft(t).validateLiteral(e)}function M9l(e,t){new urn(t).visit(e)}gye.AST=R3l;gye.RegExpParser=O$t;gye.RegExpSyntaxError=N$t;gye.RegExpValidator=Yft;gye.parseRegExpLiteral=F9l;gye.validateRegExpLiteral=L9l;gye.visitRegExpAST=M9l});var VEs=j((v1A,GEs)=>{"use strict";var Q9l=VQ().RegExpValidator,j9l=new class{constructor(){this._source="",this._controlChars=[],this._validator=new Q9l(this)}onPatternEnter(){this._controlChars=[]}onCharacter(e,t,r){r>=0&&r<=31&&(this._source.codePointAt(e)===r||this._source.slice(e,t).startsWith("\\x")||this._source.slice(e,t).startsWith("\\u"))&&this._controlChars.push(`\\x${`0${r.toString(16)}`.slice(-2)}`)}collectControlChars(e,t){let r=typeof t=="string"&&t.includes("u"),n=typeof t=="string"&&t.includes("v");this._controlChars=[],this._source=e;try{this._validator.validatePattern(e,void 0,void 0,{unicode:r,unicodeSets:n})}catch{}return this._controlChars}};GEs.exports={meta:{type:"problem",docs:{description:"Disallow control characters in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-control-regex"},schema:[],messages:{unexpected:"Unexpected control character(s) in regular expression: {{controlChars}}."}},create(e){function t(r){if(r.regex)return r.regex;if(typeof r.value=="string"&&(r.parent.type==="NewExpression"||r.parent.type==="CallExpression")&&r.parent.callee.type==="Identifier"&&r.parent.callee.name==="RegExp"&&r.parent.arguments[0]===r){let n=r.value,i=r.parent.arguments.length>1&&r.parent.arguments[1].type==="Literal"&&typeof r.parent.arguments[1].value=="string"?r.parent.arguments[1].value:null;return{pattern:n,flags:i}}return null}return{Literal(r){let n=t(r);if(n){let{pattern:i,flags:s}=n,a=j9l.collectControlChars(i,s);a.length>0&&e.report({node:r,messageId:"unexpected",data:{controlChars:a.join(", ")}})}}}}}});var KEs=j((b1A,$Es)=>{"use strict";$Es.exports={meta:{type:"problem",docs:{description:"Disallow the use of `debugger`",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-debugger"},fixable:null,schema:[],messages:{unexpected:"Unexpected 'debugger' statement."}},create(e){return{DebuggerStatement(t){e.report({node:t,messageId:"unexpected"})}}}}});var HEs=j((I1A,JEs)=>{"use strict";JEs.exports={meta:{type:"suggestion",docs:{description:"Disallow deleting variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-delete-var"},schema:[],messages:{unexpected:"Variables should not be deleted."}},create(e){return{UnaryExpression(t){t.operator==="delete"&&t.argument.type==="Identifier"&&e.report({node:t,messageId:"unexpected"})}}}}});var WEs=j((S1A,zEs)=>{"use strict";zEs.exports={meta:{type:"suggestion",docs:{description:"Disallow equal signs explicitly at the beginning of regular expressions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-div-regex"},fixable:"code",schema:[],messages:{unexpected:"A regular expression literal can be confused with '/='."}},create(e){let t=e.sourceCode;return{Literal(r){let n=t.getFirstToken(r);n.type==="RegularExpression"&&n.value[1]==="="&&e.report({node:r,messageId:"unexpected",fix(i){return i.replaceTextRange([n.range[0]+1,n.range[0]+2],"[=]")}})}}}}});var ZEs=j((T1A,XEs)=>{"use strict";var U9l=ao();XEs.exports={meta:{type:"problem",docs:{description:"Disallow duplicate arguments in `function` definitions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-args"},schema:[],messages:{unexpected:"Duplicate param '{{name}}'."}},create(e){let t=e.sourceCode;function r(i){return i.type==="Parameter"}function n(i){let s=t.getDeclaredVariables(i);for(let a=0;a=2&&e.report({loc:f,messageId:"unexpected",data:{name:u.name}})}}return{FunctionDeclaration:n,FunctionExpression:n}}}});var txs=j((D1A,exs)=>{"use strict";var q9l=ao();exs.exports={meta:{type:"problem",dialects:["javascript","typescript"],language:"javascript",docs:{description:"Disallow duplicate class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-class-members"},schema:[],messages:{unexpected:"Duplicate name '{{name}}'."}},create(e){let t=[];function r(n,i){let s=t.at(-1),a=`$${n}`;return s[a]||(s[a]={nonStatic:{init:!1,get:!1,set:!1},static:{init:!1,get:!1,set:!1}}),s[a][i?"static":"nonStatic"]}return{Program(){t=[]},ClassBody(){t.push(Object.create(null))},"ClassBody:exit"(){t.pop()},"MethodDefinition, PropertyDefinition"(n){if(n.value&&n.value.type==="TSEmptyBodyFunctionExpression")return;let i=q9l.getStaticPropertyName(n),s=n.type==="MethodDefinition"?n.kind:"field";if(i===null||s==="constructor")return;let a=r(i,n.static),u;s==="get"?(u=a.init||a.get,a.get=!0):s==="set"?(u=a.init||a.set,a.set=!0):(u=a.init||a.get||a.set,a.init=!0),u&&e.report({loc:n.key.loc,messageId:"unexpected",data:{name:i}})}}}}});var ixs=j((w1A,nxs)=>{"use strict";var Y9l=ao();function G9l(e,t,r){return t.every(n=>r.some(i=>e(n,i)))}function R$t(e,t){return t.type==="LogicalExpression"&&t.operator===e?[...R$t(e,t.left),...R$t(e,t.right)]:[t]}var rxs=R$t.bind(null,"||"),grn=R$t.bind(null,"&&");nxs.exports={meta:{type:"problem",docs:{description:"Disallow duplicate conditions in if-else-if chains",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-else-if"},schema:[],messages:{unexpected:"This branch can never execute. Its condition is a duplicate or covered by previous conditions in the if-else-if chain."}},create(e){let t=e.sourceCode;function r(i,s){return i.type!==s.type?!1:i.type==="LogicalExpression"&&(i.operator==="||"||i.operator==="&&")&&i.operator===s.operator?r(i.left,s.left)&&r(i.right,s.right)||r(i.left,s.right)&&r(i.right,s.left):Y9l.equalTokens(i,s,t)}let n=G9l.bind(null,r);return{IfStatement(i){let s=i.test,a=s.type==="LogicalExpression"&&s.operator==="&&"?[s,...grn(s)]:[s],u=i,l=a.map(f=>rxs(f).map(grn));for(;u.parent&&u.parent.type==="IfStatement"&&u.parent.alternate===u;){u=u.parent;let f=rxs(u.test).map(grn);if(l=l.map(p=>p.filter(g=>!f.some(A=>n(A,g)))),l.some(p=>p.length===0)){e.report({node:s,messageId:"unexpected"});break}}}}}}});var lxs=j((B1A,uxs)=>{"use strict";var oxs=ao(),sxs=/^(?:init|get)$/u,axs=/^(?:init|set)$/u,Arn=class{constructor(t,r){this.upper=t,this.node=r,this.properties=new Map}getPropertyInfo(t){let r=oxs.getStaticPropertyName(t);return this.properties.has(r)||this.properties.set(r,{get:!1,set:!1}),this.properties.get(r)}isPropertyDefined(t){let r=this.getPropertyInfo(t);return sxs.test(t.kind)&&r.get||axs.test(t.kind)&&r.set}defineProperty(t){let r=this.getPropertyInfo(t);sxs.test(t.kind)&&(r.get=!0),axs.test(t.kind)&&(r.set=!0)}};uxs.exports={meta:{type:"problem",docs:{description:"Disallow duplicate keys in object literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-dupe-keys"},schema:[],messages:{unexpected:"Duplicate key '{{name}}'."}},create(e){let t=null;return{ObjectExpression(r){t=new Arn(t,r)},"ObjectExpression:exit"(){t=t.upper},Property(r){let n=oxs.getStaticPropertyName(r);r.parent.type==="ObjectExpression"&&n!==null&&(n==="__proto__"&&r.kind==="init"&&!r.computed&&!r.shorthand&&!r.method||(t.isPropertyDefined(r)&&e.report({node:t.node,loc:r.key.loc,messageId:"unexpected",data:{name:n}}),t.defineProperty(r)))}}}}});var fxs=j((k1A,cxs)=>{"use strict";var V9l=ao();cxs.exports={meta:{type:"problem",docs:{description:"Disallow duplicate case labels",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-duplicate-case"},schema:[],messages:{unexpected:"Duplicate case label."}},create(e){let t=e.sourceCode;function r(n,i){return n.type!==i.type?!1:V9l.equalTokens(n,i,t)}return{SwitchStatement(n){let i=[];for(let s of n.cases)if(s.test){let a=s.test;i.some(u=>r(u,a))?e.report({node:s,messageId:"unexpected"}):i.push(a)}}}}}});var Axs=j((P1A,gxs)=>{"use strict";var $9l=["ImportSpecifier","ExportSpecifier"],K9l=["ImportNamespaceSpecifier","ExportNamespaceSpecifier"];function JSe(e,t){return(t==="named"?$9l:K9l).includes(e)}function pxs(e){if(e.specifiers&&e.specifiers.length>0){let t=e.specifiers,r=t.findIndex(({type:i})=>JSe(i,"named")||JSe(i,"namespace")),n=r>-1?r:0;return t[n].type}return e.type==="ExportAllDeclaration"?e.exported?"ExportNamespaceSpecifier":"ExportAll":"SideEffectImport"}function J9l(e,t){let r=pxs(e),n=pxs(t);if((e.importKind==="type"||e.exportKind==="type")&&(t.importKind==="type"||t.exportKind==="type")){let i=r==="ImportDefaultSpecifier",s=n==="ImportDefaultSpecifier",a=JSe(r,"named"),u=JSe(n,"named");if(i&&u||s&&a)return!1}return!(r==="ExportAll"&&n!=="ExportAll"&&n!=="SideEffectImport"||r!=="ExportAll"&&r!=="SideEffectImport"&&n==="ExportAll"||JSe(r,"namespace")&&JSe(n,"named")||JSe(n,"namespace")&&JSe(r,"named"))}function F$t(e,t,r){let n=0;for(;nr===t).map(({node:r})=>r)}function mxs(e){return e&&e.source&&e.source.value?e.source.value.trim():""}function H9l(e,t,r,n,i,s){let a=mxs(t);if(r.has(a)){let u=r.get(a),l=[],f=dxs(u,"import"),p;i&&(p=dxs(u,"export")),n==="import"?(F$t(t,f,s)&&l.push("import"),i&&F$t(t,p,s)&&l.push("importAs")):n==="export"&&(F$t(t,p,s)&&l.push("export"),F$t(t,f,s)&&l.push("exportAs")),l.forEach(g=>e.report({node:t,messageId:g,data:{module:a}}))}}function hrn(e,t,r,n,i){return function(s){let a=mxs(s);if(a){H9l(e,s,t,r,n,i);let u={node:s,declarationType:r},l=[u];t.has(a)&&(l=[...t.get(a),u]),t.set(a,l)}}}gxs.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"problem",defaultOptions:[{includeExports:!1,allowSeparateTypeImports:!1}],docs:{description:"Disallow duplicate module imports",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-duplicate-imports"},schema:[{type:"object",properties:{includeExports:{type:"boolean"},allowSeparateTypeImports:{type:"boolean"}},additionalProperties:!1}],messages:{import:"'{{module}}' import is duplicated.",importAs:"'{{module}}' import is duplicated as export.",export:"'{{module}}' export is duplicated.",exportAs:"'{{module}}' export is duplicated as import."}},create(e){let[{includeExports:t,allowSeparateTypeImports:r}]=e.options,n=new Map,i={ImportDeclaration:hrn(e,n,"import",t,r)};return t&&(i.ExportNamedDeclaration=hrn(e,n,"export",t,r),i.ExportAllDeclaration=hrn(e,n,"export",t,r)),i}}});var PGe=j((N1A,hxs)=>{"use strict";var z9l=ao(),yrn=class{constructor(t,r){this.fixer=t,this.sourceCode=r,this.retainedRange=null}retainRange(t){return this.retainedRange=t,this}retainEnclosingFunction(t){let r=z9l.getUpperFunction(t);return this.retainRange(r?r.range:this.sourceCode.ast.range)}retainSurroundingTokens(t){let r=this.sourceCode.getTokenBefore(t)||t,n=this.sourceCode.getTokenAfter(t)||t;return this.retainRange([r.range[0],n.range[1]])}replaceTextRange(t,r){let n;return this.retainedRange?n=[Math.min(this.retainedRange[0],t[0]),Math.max(this.retainedRange[1],t[1])]:n=t,this.fixer.replaceTextRange(n,this.sourceCode.text.slice(n[0],t[0])+r+this.sourceCode.text.slice(t[1],n[1]))}remove(t){return this.replaceTextRange(t.range,"")}};hxs.exports=yrn});var Exs=j((O1A,_xs)=>{"use strict";var yxs=ao(),W9l=PGe();_xs.exports={meta:{type:"suggestion",defaultOptions:[{allowElseIf:!0}],docs:{description:"Disallow `else` blocks after `return` statements in `if` statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-else-return"},schema:[{type:"object",properties:{allowElseIf:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unexpected:"Unnecessary 'else' after 'return'."}},create(e){let[{allowElseIf:t}]=e.options,r=e.sourceCode;function n(_,E){if(_.length===0)return!0;let b=E.variableScope;if(E.variables.filter(({defs:M})=>M.length>0).some(({name:M})=>_.includes(M))||E!==b&&E.upper.type==="catch"&&E.upper.variables.some(({name:M})=>_.includes(M))||E.variables.filter(({defs:M,references:R})=>M.length===0&&R.length>0).some(({name:M})=>_.includes(M))||E.through.some(M=>_.includes(M.identifier.name)))return!1;if(E!==b){let M=E.block.range;if(b.variables.filter(({name:q})=>_.includes(q)).some(q=>q.defs.some(({node:{range:G}})=>M[0]<=G[0]&&G[1]<=M[1])))return!1}return!0}function i(_,E){if(_.type==="FunctionDeclaration")return!1;if(_.type!=="BlockStatement")return!0;let b=E.childScopes.find(({block:k})=>k===_);if(!b)return!0;let D=b.variables.map(({name:k})=>k);return n(D,E)}function s(_){let E=r.getScope(_.parent);e.report({node:_,messageId:"unexpected",fix(b){if(!i(_,E))return null;let D=r.getFirstToken(_),k=r.getTokenBefore(D),M=r.getText(_),R=r.getTokenBefore(k),q,G;D.type==="Punctuator"&&D.value==="{"?G=r.getTokenAfter(D):G=D;let K=_.parent.consequent.type!=="BlockStatement"&&R.value!==";",Z=/^[([/+`-]/u.test(G.value);if(K&&Z)return null;let oe=r.getLastToken(_),ue=r.getTokenBefore(oe);if(ue.value!==";"){let me=r.getTokenAfter(oe),Te=me&&/^[([/+`-]/u.test(me.value),le=me&&me.loc.start.line===ue.loc.start.line;if(Te||le&&me.value!=="}")return null}return D.type==="Punctuator"&&D.value==="{"?q=M.slice(1,-1):q=M,new W9l(b,r).retainEnclosingFunction(_).replaceTextRange([k.range[0],_.range[1]],q)}})}function a(_){return _.type==="ReturnStatement"}function u(_){if(_.type==="BlockStatement"){let E=_.body,b=E.at(-1);return b&&a(b)}return a(_)}function l(_){return _.alternate&&_.consequent}function f(_){return _.type==="IfStatement"&&l(_)&&u(_.alternate)&&u(_.consequent)}function p(_){return a(_)||f(_)}function g(_){return _.type==="BlockStatement"?_.body.some(p):p(_)}function A(_){let E=_.parent;if(!yxs.STATEMENT_LIST_PARENTS.has(E.type))return;let b=[],D;for(let k=_;k.type==="IfStatement";k=k.alternate){if(!k.alternate)return;b.push(k.consequent),D=k.alternate}b.every(g)&&s(D)}function h(_){let E=_.parent;if(!yxs.STATEMENT_LIST_PARENTS.has(E.type))return;let b=_.alternate;b&&g(_.consequent)&&s(b)}return{"IfStatement:exit":t?A:h}}}});var Cxs=j((R1A,vxs)=>{"use strict";var xxs=ao();vxs.exports={meta:{hasSuggestions:!0,type:"suggestion",defaultOptions:[{allowEmptyCatch:!1}],docs:{description:"Disallow empty block statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty"},schema:[{type:"object",properties:{allowEmptyCatch:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Empty {{type}} statement.",suggestComment:"Add comment inside empty {{type}} statement."}},create(e){let[{allowEmptyCatch:t}]=e.options,r=e.sourceCode;return{BlockStatement(n){n.body.length===0&&(xxs.isFunction(n.parent)||t&&n.parent.type==="CatchClause"||r.getCommentsInside(n).length>0||e.report({node:n,messageId:"unexpected",data:{type:"block"},suggest:[{messageId:"suggestComment",data:{type:"block"},fix(i){let s=[n.range[0]+1,n.range[1]-1];return i.replaceTextRange(s," /* empty */ ")}}]}))},SwitchStatement(n){if(typeof n.cases>"u"||n.cases.length===0){let i=r.getTokenAfter(n.discriminant,xxs.isOpeningBraceToken),s=r.getLastToken(n);if(r.commentsExistBetween(i,s))return;e.report({node:n,loc:{start:i.loc.start,end:s.loc.end},messageId:"unexpected",data:{type:"switch"},suggest:[{messageId:"suggestComment",data:{type:"switch"},fix(a){let u=[i.range[1],s.range[0]];return a.replaceTextRange(u," /* empty */ ")}}]})}}}}}});var Ixs=j((F1A,bxs)=>{"use strict";var{RegExpParser:X9l,visitRegExpAST:Z9l}=VQ(),e8l=new X9l,t8l=/\[\]/u;bxs.exports={meta:{type:"problem",docs:{description:"Disallow empty character classes in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-character-class"},schema:[],messages:{unexpected:"Empty class."}},create(e){return{"Literal[regex]"(t){let{pattern:r,flags:n}=t.regex;if(!t8l.test(r))return;let i;try{i=e8l.parsePattern(r,0,r.length,{unicode:n.includes("u"),unicodeSets:n.includes("v")})}catch{return}Z9l(i,{onCharacterClassEnter(s){!s.negate&&s.elements.length===0&&e.report({node:t,messageId:"unexpected"})}})}}}}});var Dxs=j((L1A,Txs)=>{"use strict";var Sxs=ao(),r8l=Object.freeze(["functions","arrowFunctions","generatorFunctions","methods","generatorMethods","getters","setters","constructors","asyncFunctions","asyncMethods","privateConstructors","protectedConstructors","decoratedFunctions","overrideMethods"]);function n8l(e){let t=e.parent,r;if(e.type==="ArrowFunctionExpression")return"arrowFunctions";if(t.type==="Property"){if(t.kind==="get")return"getters";if(t.kind==="set")return"setters";r=t.method?"methods":"functions"}else if(t.type==="MethodDefinition"){if(t.kind==="get")return"getters";if(t.kind==="set")return"setters";if(t.kind==="constructor")return"constructors";r="methods"}else r="functions";let n;if(e.generator)n="generator";else if(e.async)n="async";else return r;return n+r[0].toUpperCase()+r.slice(1)}function i8l(e){return e.params.some(t=>t.type==="TSParameterProperty")}Txs.exports={meta:{dialects:["javascript","typescript"],language:"javascript",hasSuggestions:!0,type:"suggestion",defaultOptions:[{allow:[]}],docs:{description:"Disallow empty functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-empty-function"},schema:[{type:"object",properties:{allow:{type:"array",items:{enum:r8l},uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"Unexpected empty {{name}}.",suggestComment:"Add comment inside empty {{name}}."}},create(e){let[{allow:t}]=e.options,r=e.sourceCode;function n(s){let a=n8l(s);return!!(t.includes(a)||a==="constructors"&&(s.parent.accessibility==="private"&&t.includes("privateConstructors")||s.parent.accessibility==="protected"&&t.includes("protectedConstructors")||i8l(s))||/(?:g|s)etters|methods$/iu.test(a)&&(s.parent.decorators?.length&&t.includes("decoratedFunctions")||s.parent.override&&t.includes("overrideMethods")))}function i(s){let a=Sxs.getFunctionNameWithKind(s),u=r.getTokens(s.body,{includeComments:!0,filter:Sxs.isCommentToken});!n(s)&&s.body.type==="BlockStatement"&&s.body.body.length===0&&u.length===0&&e.report({node:s,loc:s.body.loc,messageId:"unexpected",data:{name:a},suggest:[{messageId:"suggestComment",data:{name:a},fix(l){let f=[s.body.range[0]+1,s.body.range[1]-1];return l.replaceTextRange(f," /* empty */ ")}}]})}return{ArrowFunctionExpression:i,FunctionDeclaration:i,FunctionExpression:i}}}});var kxs=j((M1A,Bxs)=>{"use strict";var wxs=ao();Bxs.exports={meta:{type:"problem",defaultOptions:[{allowObjectPatternsAsParameters:!1}],docs:{description:"Disallow empty destructuring patterns",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-pattern"},schema:[{type:"object",properties:{allowObjectPatternsAsParameters:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"Unexpected empty {{type}} pattern."}},create(e){let[{allowObjectPatternsAsParameters:t}]=e.options;return{ObjectPattern(r){r.properties.length>0||t&&(wxs.isFunction(r.parent)||r.parent.type==="AssignmentPattern"&&wxs.isFunction(r.parent.parent)&&r.parent.right.type==="ObjectExpression"&&r.parent.right.properties.length===0)||e.report({node:r,messageId:"unexpected",data:{type:"object"}})},ArrayPattern(r){r.elements.length===0&&e.report({node:r,messageId:"unexpected",data:{type:"array"}})}}}}});var Nxs=j((Q1A,Pxs)=>{"use strict";Pxs.exports={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow empty static blocks",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-empty-static-block"},schema:[],messages:{unexpected:"Unexpected empty static block.",suggestComment:"Add comment inside empty static block."}},create(e){let t=e.sourceCode;return{StaticBlock(r){if(r.body.length===0){let n=t.getFirstToken(r,{skip:1}),i=t.getLastToken(r);t.getCommentsBefore(i).length===0&&e.report({loc:{start:n.loc.start,end:i.loc.end},messageId:"unexpected",suggest:[{messageId:"suggestComment",fix(s){let a=[n.range[1],i.range[0]];return s.replaceTextRange(a," /* empty */ ")}}]})}}}}}});var Rxs=j((j1A,Oxs)=>{"use strict";Oxs.exports={meta:{type:"suggestion",docs:{description:"Disallow `null` comparisons without type-checking operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-eq-null"},schema:[],messages:{unexpected:"Use '===' to compare with null."}},create(e){return{BinaryExpression(t){let r=t.operator==="=="||t.operator==="!=";(t.right.type==="Literal"&&t.right.raw==="null"&&r||t.left.type==="Literal"&&t.left.raw==="null"&&r)&&e.report({node:t,messageId:"unexpected"})}}}}});var Mxs=j((U1A,Lxs)=>{"use strict";var j7e=ao(),Fxs=Object.freeze(["global","window","globalThis"]);function _rn(e,t){return j7e.isSpecificMemberAccess(e,null,t)}Lxs.exports={meta:{type:"suggestion",defaultOptions:[{allowIndirect:!1}],docs:{description:"Disallow the use of `eval()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-eval"},schema:[{type:"object",properties:{allowIndirect:{type:"boolean"}},additionalProperties:!1}],messages:{unexpected:"eval can be harmful."}},create(e){let[{allowIndirect:t}]=e.options,r=e.sourceCode,n=null;function i(f){let p=r.getScope(f).isStrict;n={upper:n,node:f,strict:p,isTopLevelOfScript:!1,defaultThis:!1,initialized:p}}function s(){n=n.upper}function a(f){let p=f.parent,g=f.type==="MemberExpression"?f.property:f,A=p.type==="CallExpression"&&p.callee===f?p:f;e.report({node:A,loc:g.loc,messageId:"unexpected"})}function u(f){for(let p=0;p *.value":i,"PropertyDefinition > *.value:exit":s,StaticBlock:i,"StaticBlock:exit":s,ThisExpression(f){_rn(f.parent,"eval")&&(n.initialized||(n.initialized=!0,n.defaultThis=j7e.isDefaultThisBinding(n.node,r)),(n.isTopLevelOfScript||!n.strict&&n.defaultThis)&&a(f.parent))}}}}});var jxs=j((q1A,Qxs)=>{"use strict";var s8l=ao();Qxs.exports={meta:{type:"problem",docs:{description:"Disallow reassigning exceptions in `catch` clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-ex-assign"},schema:[],messages:{unexpected:"Do not assign to the exception parameter."}},create(e){let t=e.sourceCode;function r(n){s8l.getModifyingReferences(n.references).forEach(i=>{e.report({node:i.identifier,messageId:"unexpected"})})}return{CatchClause(n){t.getDeclaredVariables(n).forEach(r)}}}}});var qxs=j((Y1A,Uxs)=>{"use strict";var Ern=ao();Uxs.exports={meta:{type:"suggestion",defaultOptions:[{exceptions:[]}],docs:{description:"Disallow extending native types",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extend-native"},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{unexpected:"{{builtin}} prototype is read only, properties should not be added."}},create(e){let t=e.sourceCode,r=new Set(e.options[0].exceptions),n=new Set(Object.keys(Ern.ECMASCRIPT_GLOBALS).filter(f=>f[0].toUpperCase()===f[0]).filter(f=>!r.has(f)));function i(f,p){e.report({node:f,messageId:"unexpected",data:{builtin:p}})}function s(f){return!!(f&&f.parent&&f.parent.type==="MemberExpression"&&f.parent.object===f&&Ern.getStaticPropertyName(f.parent)==="prototype")}function a(f){return f.parent.type==="MemberExpression"&&f.parent.object===f&&f.parent.parent.type==="AssignmentExpression"&&f.parent.parent.left===f.parent}function u(f){return f.parent.type==="CallExpression"&&f.parent.arguments[0]===f&&Ern.isSpecificMemberAccess(f.parent.callee,"Object",/^definePropert(?:y|ies)$/u)}function l(f){if(!s(f))return;let p=f.parent.parent.type==="ChainExpression"?f.parent.parent:f.parent;a(p)?i(p.parent.parent,f.name):u(p)&&i(p.parent,f.name)}return{"Program:exit"(f){let p=t.getScope(f);n.forEach(g=>{let A=p.set.get(g);A&&A.references&&A.references.map(h=>h.identifier).forEach(l)})}}}}});var Gxs=j((G1A,Yxs)=>{"use strict";var xrn=ao(),a8l=new Set(["Literal","Identifier","ThisExpression","FunctionExpression"]);Yxs.exports={meta:{type:"suggestion",docs:{description:"Disallow unnecessary calls to `.bind()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-bind"},schema:[],fixable:"code",messages:{unexpected:"The function binding is unnecessary."}},create(e){let t=e.sourceCode,r=null;function n(p){return a8l.has(p.type)}function i(p){let g=p.parent,A=g.parent.type==="ChainExpression"?g.parent.parent:g.parent;e.report({node:A,messageId:"unexpected",loc:g.property.loc,fix(h){if(!n(A.arguments[0]))return null;let _=[[t.getTokenAfter(g.object,xrn.isNotClosingParenToken),t.getLastToken(g)],[t.getTokenAfter(g,xrn.isNotClosingParenToken),t.getLastToken(A)]],E=_[0][0],b=_[1][1];return t.commentsExistBetween(E,b)?null:_.map(([D,k])=>h.removeRange([D.range[0],k.range[1]]))}})}function s(p){if(!xrn.isSpecificMemberAccess(p.parent,null,"bind"))return!1;let g=p.parent.parent.type==="ChainExpression"?p.parent.parent:p.parent;return g.parent.type==="CallExpression"&&g.parent.callee===g&&g.parent.arguments.length===1&&g.parent.arguments[0].type!=="SpreadElement"}function a(p){r={isBound:s(p),thisFound:!1,upper:r}}function u(p){r.isBound&&!r.thisFound&&i(p),r=r.upper}function l(p){s(p)&&i(p)}function f(){r&&(r.thisFound=!0)}return{"ArrowFunctionExpression:exit":l,FunctionDeclaration:a,"FunctionDeclaration:exit":u,FunctionExpression:a,"FunctionExpression:exit":u,ThisExpression:f}}}});var $xs=j((V1A,Vxs)=>{"use strict";var L$t=ao(),o8l=NS(),Kfe=L$t.getPrecedence;Vxs.exports={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow unnecessary boolean casts",recommended:!0,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-extra-boolean-cast"},schema:[{anyOf:[{type:"object",properties:{enforceForInnerExpressions:{type:"boolean"}},additionalProperties:!1},{type:"object",properties:{enforceForLogicalOperands:{type:"boolean"}},additionalProperties:!1}]}],fixable:"code",messages:{unexpectedCall:"Redundant Boolean call.",unexpectedNegation:"Redundant double negation."}},create(e){let t=e.sourceCode,[{enforceForLogicalOperands:r,enforceForInnerExpressions:n}]=e.options,i=new Set(["IfStatement","DoWhileStatement","WhileStatement","ConditionalExpression","ForStatement"]);function s(g){return(g.type==="CallExpression"||g.type==="NewExpression")&&g.callee.type==="Identifier"&&g.callee.name==="Boolean"}function a(g){return s(g.parent)&&g===g.parent.arguments[0]||i.has(g.parent.type)&&g===g.parent.test||g.parent.type==="UnaryExpression"&&g.parent.operator==="!"}function u(g){return g.parent.type==="ChainExpression"||(r||n)&&g.parent.type==="LogicalExpression"&&(g.parent.operator==="||"||g.parent.operator==="&&"||n&&g.parent.operator==="??"&&g.parent.right===g)||n&&(g.parent.type==="ConditionalExpression"&&(g.parent.consequent===g||g.parent.alternate===g)||g.parent.type==="SequenceExpression"&&g.parent.expressions.at(-1)===g)?u(g.parent):a(g)}function l(g){return!!t.getCommentsInside(g).length}function f(g){return o8l.isParenthesized(1,g,t)}function p(g,A){if(g.parent.type==="ChainExpression")return p(g.parent,A);if(f(g))return!1;let h=g.parent;switch(h.type){case"CallExpression":case"NewExpression":return A.type==="SequenceExpression";case"IfStatement":case"DoWhileStatement":case"WhileStatement":case"ForStatement":case"SequenceExpression":return!1;case"ConditionalExpression":if(g===h.test)return Kfe(A)<=Kfe(h);if(g===h.consequent||g===h.alternate)return Kfe(A){"use strict";var Kxs=ao();Jxs.exports={meta:{type:"suggestion",docs:{description:"Disallow unnecessary labels",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-extra-label"},schema:[],fixable:"code",messages:{unexpected:"This label '{{name}}' is unnecessary."}},create(e){let t=e.sourceCode,r=null;function n(l){r={label:l.parent.type==="LabeledStatement"?l.parent.label:null,breakable:!0,upper:r}}function i(){r=r.upper}function s(l){Kxs.isBreakableStatement(l.body)||(r={label:l.label,breakable:!1,upper:r})}function a(l){Kxs.isBreakableStatement(l.body)||(r=r.upper)}function u(l){if(!l.label)return;let f=l.label;for(let p=r;p!==null;p=p.upper)if(p.breakable||p.label&&p.label.name===f.name){p.breakable&&p.label&&p.label.name===f.name&&e.report({node:f,messageId:"unexpected",data:f,fix(g){let A=t.getFirstToken(l);return t.commentsExistBetween(A,f)?null:g.removeRange([A.range[1],f.range[1]])}});return}}return{WhileStatement:n,"WhileStatement:exit":i,DoWhileStatement:n,"DoWhileStatement:exit":i,ForStatement:n,"ForStatement:exit":i,ForInStatement:n,"ForInStatement:exit":i,ForOfStatement:n,"ForOfStatement:exit":i,SwitchStatement:n,"SwitchStatement:exit":i,LabeledStatement:s,"LabeledStatement:exit":a,BreakStatement:u,ContinueStatement:u}}}});var Xxs=j((K1A,Wxs)=>{"use strict";var{isParenthesized:zxs}=NS(),OS=ao();Wxs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-extra-parens",url:"https://eslint.style/rules/no-extra-parens"}}]},type:"layout",docs:{description:"Disallow unnecessary parentheses",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-parens"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["functions"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["all"]},{type:"object",properties:{conditionalAssign:{type:"boolean"},ternaryOperandBinaryExpressions:{type:"boolean"},nestedBinaryExpressions:{type:"boolean"},returnAssign:{type:"boolean"},ignoreJSX:{enum:["none","all","single-line","multi-line"]},enforceForArrowConditionals:{type:"boolean"},enforceForSequenceExpressions:{type:"boolean"},enforceForNewInMemberExpressions:{type:"boolean"},enforceForFunctionPrototypeMethods:{type:"boolean"},allowParensAfterCommentPattern:{type:"string"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{unexpected:"Unnecessary parentheses around expression."}},create(e){let t=e.sourceCode,r=new WeakSet,n=OS.getPrecedence,i=e.options[0]!=="functions",s=i&&e.options[1]&&e.options[1].conditionalAssign===!1,a=i&&e.options[1]&&e.options[1].ternaryOperandBinaryExpressions===!1,u=i&&e.options[1]&&e.options[1].nestedBinaryExpressions===!1,l=i&&e.options[1]&&e.options[1].returnAssign===!1,f=i&&e.options[1]&&e.options[1].ignoreJSX,p=i&&e.options[1]&&e.options[1].enforceForArrowConditionals===!1,g=i&&e.options[1]&&e.options[1].enforceForSequenceExpressions===!1,A=i&&e.options[1]&&e.options[1].enforceForNewInMemberExpressions===!1,h=i&&e.options[1]&&e.options[1].enforceForFunctionPrototypeMethods===!1,_=i&&e.options[1]&&e.options[1].allowParensAfterCommentPattern,E=n({type:"AssignmentExpression"}),b=n({type:"UpdateExpression"}),D;function k(gt){let Vr=OS.skipChainExpression(gt);if(Vr.type!=="CallExpression")return!1;let Sn=OS.skipChainExpression(Vr.callee);return Sn.type==="MemberExpression"&&Sn.object.type==="FunctionExpression"&&["call","apply"].includes(OS.getStaticPropertyName(Sn))}function M(gt){if(gt.type==="JSXElement"||gt.type==="JSXFragment"){let Vr=gt.loc.start.line===gt.loc.end.line;switch(f){case"all":return!1;case"multi-line":return Vr;case"single-line":return!Vr;case"none":break}}return gt.type==="SequenceExpression"&&g||k(gt)&&h?!1:i||gt.type==="FunctionExpression"||gt.type==="ArrowFunctionExpression"}function R(gt){return zxs(1,gt,t)}function q(gt){return zxs(2,gt,t)}function G(gt){return M(gt)&&R(gt)}function K(gt){return M(gt)&&q(gt)}function Z(gt,Vr){return!!(M(gt)&&R(gt)&&(n(gt)>=Vr||q(gt)))}function oe(gt){return s&>.test.type==="AssignmentExpression"}function ue(gt){for(let Vr=gt;Vr;Vr=Vr.parent)if(Vr.type==="ReturnStatement"||Vr.type==="ArrowFunctionExpression"&&Vr.body.type!=="BlockStatement")return!0;return!1}function me(gt){let Vr=t.getLastToken(gt),Sn=t.getTokenBefore(Vr);return gt.arguments.length>0||OS.isOpeningParenToken(Sn)&&OS.isClosingParenToken(Vr)&>.callee.range[1]0&&na.test(Wt[us-1].value))return}}function wn(){e.report({node:gt,loc:Vr.loc,messageId:"unexpected",fix:qe(gt)?Wt=>{let us=t.text.slice(Vr.range[1],Sn.range[0]);return Wt.replaceTextRange([Vr.range[0],Sn.range[1]],(Ae(gt)?" ":"")+us+(De(gt)?" ":""))}:null})}if(D){D.reports.push({node:gt,finishReport:wn});return}wn()}function st(gt){Z(gt.argument,n(gt))&&at(gt.argument)}function Ur(gt){let Vr=gt.object,Sn=gt.object.type;for(;Sn==="MemberExpression";)Vr=Vr.object,Sn=Vr.type;return Sn==="CallExpression"}function Sr(gt){let Vr=gt.callee;Z(Vr,n(gt))&&(K(Vr)||!(_e(gt)||Vr.type==="NewExpression"&&!me(Vr)&&!(gt.type==="NewExpression"&&!me(gt))||gt.type==="NewExpression"&&Vr.type==="MemberExpression"&&Ur(Vr)||!gt.optional&&Vr.type==="ChainExpression"))&&at(gt.callee),gt.arguments.filter(Sn=>Z(Sn,E)).forEach(at)}function xr(gt){let Vr=n(gt),Sn=n(gt.left),wn=n(gt.right),Wt=gt.operator==="**",us=u&&(gt.left.type==="BinaryExpression"||gt.left.type==="LogicalExpression"),na=u&&(gt.right.type==="BinaryExpression"||gt.right.type==="LogicalExpression");!us&&G(gt.left)&&(!(["AwaitExpression","UnaryExpression"].includes(gt.left.type)&&Wt)&&!OS.isMixedLogicalAndCoalesceExpressions(gt.left,gt)&&(Sn>Vr||Sn===Vr&&!Wt)||q(gt.left))&&at(gt.left),!na&&G(gt.right)&&(!OS.isMixedLogicalAndCoalesceExpressions(gt.right,gt)&&(wn>Vr||wn===Vr&&Wt)||q(gt.right))&&at(gt.right)}function dt(gt){if(!gt.superClass)return;(n(gt.superClass)>b?G(gt.superClass):K(gt.superClass))&&at(gt.superClass)}function It(gt){Z(gt.argument,E)&&at(gt.argument)}function lr(gt){let Vr=R(gt)?t.getTokenBefore(gt):t.getFirstToken(gt),Sn=t.getTokenAfter(Vr,OS.isNotOpeningParenToken),wn=Sn?t.getTokenAfter(Sn):null,Wt=Sn?t.getTokenAfter(Sn,OS.isNotClosingParenToken):null;OS.isOpeningParenToken(Vr)&&(OS.isOpeningBraceToken(Sn)||Sn.type==="Keyword"&&(Sn.value==="function"||Sn.value==="class"||Sn.value==="let"&&Wt&&(OS.isOpeningBracketToken(Wt)||Wt.type==="Identifier"))||Sn&&Sn.type==="Identifier"&&Sn.value==="async"&&wn&&wn.type==="Keyword"&&wn.value==="function")&&r.add(Sn),(gt.parent.type==="ExportDefaultDeclaration"?Z(gt,E):G(gt))&&at(gt)}function $t(gt,Vr){let Sn=[gt],wn=gt;for(;wn!==Vr;){if(wn=wn.parent,wn===null)throw new Error("Nodes are not in the ancestor-descendant relationship.");Sn.push(wn)}return Sn}function Nt(gt,Vr){return $t(Vr,gt).reverse()}function sr(gt,Vr){switch(gt.type){case"ArrayExpression":case"ArrayPattern":case"BlockStatement":case"ObjectExpression":case"ObjectPattern":case"TemplateLiteral":return!0;case"ArrowFunctionExpression":case"FunctionExpression":return gt.params.includes(Vr);case"CallExpression":case"NewExpression":return gt.arguments.includes(Vr);case"MemberExpression":return gt.computed&>.property===Vr;case"ConditionalExpression":return gt.consequent===Vr;default:return!1}}function Nr(){D={upper:D,inExpressionNodes:[],reports:[]}}function Fr(){let{upper:gt,inExpressionNodes:Vr,reports:Sn}=D;gt?(gt.inExpressionNodes.push(...Vr),gt.reports.push(...Sn)):Sn.forEach(({finishReport:wn})=>wn()),D=gt}function Bt(gt){return D.reports.some(Vr=>Vr.node===gt)}function Xt(gt){D.reports=D.reports.filter(Vr=>Vr.node!==gt)}function wr(gt){return gt.type==="MemberExpression"?gt.parent.type==="NewExpression"&>.parent.callee===gt?!0:gt.parent.object===gt&&wr(gt.parent):!1}function rr({left:gt,operator:Vr,right:Sn}){if(gt.type==="Identifier"&&["=","&&=","||=","??="].includes(Vr)){let wn=Sn.type;if(wn==="ArrowFunctionExpression"||(wn==="FunctionExpression"||wn==="ClassExpression")&&!Sn.id)return!0}return!1}return{ArrayExpression(gt){gt.elements.filter(Vr=>Vr&&Z(Vr,E)).forEach(at)},ArrayPattern(gt){gt.elements.filter(Vr=>Le(Vr)&&G(Vr)).forEach(at)},ArrowFunctionExpression(gt){if(!le(gt)&&!(gt.body.type==="ConditionalExpression"&&p)&>.body.type!=="BlockStatement"){let Vr=t.getFirstToken(gt.body,OS.isNotOpeningParenToken),Sn=t.getTokenBefore(Vr);OS.isOpeningParenToken(Sn)&&OS.isOpeningBraceToken(Vr)&&r.add(Vr),Z(gt.body,E)&&at(gt.body)}},AssignmentExpression(gt){Le(gt.left)&&G(gt.left)&&(!rr(gt)||q(gt.left))&&at(gt.left),!le(gt)&&Z(gt.right,n(gt))&&at(gt.right)},BinaryExpression(gt){D&>.operator==="in"&&D.inExpressionNodes.push(gt),xr(gt)},CallExpression:Sr,ConditionalExpression(gt){if(le(gt))return;let Vr=new Set(["BinaryExpression","LogicalExpression"]);!(a&&Vr.has(gt.test.type))&&!oe(gt)&&Z(gt.test,n({type:"LogicalExpression",operator:"||"}))&&at(gt.test),!(a&&Vr.has(gt.consequent.type))&&Z(gt.consequent,E)&&at(gt.consequent),!(a&&Vr.has(gt.alternate.type))&&Z(gt.alternate,E)&&at(gt.alternate)},DoWhileStatement(gt){G(gt.test)&&!oe(gt)&&at(gt.test)},ExportDefaultDeclaration:gt=>lr(gt.declaration),ExpressionStatement:gt=>lr(gt.expression),ForInStatement(gt){if(gt.left.type!=="VariableDeclaration"){let Vr=t.getFirstToken(gt.left,OS.isNotOpeningParenToken);Vr.value==="let"&&OS.isOpeningBracketToken(t.getTokenAfter(Vr,OS.isNotClosingParenToken))&&r.add(Vr)}G(gt.left)&&at(gt.left),G(gt.right)&&at(gt.right)},ForOfStatement(gt){if(gt.left.type!=="VariableDeclaration"){let Vr=t.getFirstToken(gt.left,OS.isNotOpeningParenToken);Vr.value==="let"&&r.add(Vr)}G(gt.left)&&at(gt.left),Z(gt.right,E)&&at(gt.right)},ForStatement(gt){if(gt.test&&G(gt.test)&&!oe(gt)&&at(gt.test),gt.update&&G(gt.update)&&at(gt.update),gt.init){if(gt.init.type!=="VariableDeclaration"){let Vr=t.getFirstToken(gt.init,OS.isNotOpeningParenToken);Vr.value==="let"&&OS.isOpeningBracketToken(t.getTokenAfter(Vr,OS.isNotClosingParenToken))&&r.add(Vr)}Nr(),G(gt.init)&&at(gt.init)}},"ForStatement > *.init:exit"(gt){D.reports.length&&D.inExpressionNodes.forEach(Vr=>{let Sn=Nt(gt,Vr),wn;for(let Wt=0;Wt=n(gt)&&(gt.computed||!(OS.isDecimalInteger(gt.object)||gt.object.type==="Literal"&>.object.regex))&&at(gt.object),Sn&>.object.type==="CallExpression"&&at(gt.object),Sn&&!A&>.object.type==="NewExpression"&&me(gt.object)&&at(gt.object),Sn&>.optional&>.object.type==="ChainExpression"&&at(gt.object),gt.computed&&G(gt.property)&&at(gt.property)},"MethodDefinition[computed=true]"(gt){Z(gt.key,E)&&at(gt.key)},NewExpression:Sr,ObjectExpression(gt){gt.properties.filter(Vr=>Vr.value&&Z(Vr.value,E)).forEach(Vr=>at(Vr.value))},ObjectPattern(gt){gt.properties.filter(Vr=>{let Sn=Vr.value;return Le(Sn)&&G(Sn)}).forEach(Vr=>at(Vr.value))},Property(gt){if(gt.computed){let{key:Vr}=gt;Vr&&Z(Vr,E)&&at(Vr)}},PropertyDefinition(gt){gt.computed&&Z(gt.key,E)&&at(gt.key),gt.value&&Z(gt.value,E)&&at(gt.value)},RestElement(gt){let Vr=gt.argument;Le(Vr)&&G(Vr)&&at(Vr)},ReturnStatement(gt){let Vr=t.getFirstToken(gt);le(gt)||gt.argument&&ae(Vr,gt.argument)&&!(gt.argument.type==="Literal"&>.argument.regex)&&at(gt.argument)},SequenceExpression(gt){let Vr=n(gt);gt.expressions.filter(Sn=>Z(Sn,Vr)).forEach(at)},SwitchCase(gt){gt.test&&G(gt.test)&&at(gt.test)},SwitchStatement(gt){G(gt.discriminant)&&at(gt.discriminant)},ThrowStatement(gt){let Vr=t.getFirstToken(gt);ae(Vr,gt.argument)&&at(gt.argument)},UnaryExpression:st,UpdateExpression(gt){if(gt.prefix)st(gt);else{let{argument:Vr}=gt,Sn=t.getLastToken(gt);Vr.loc.end.line===Sn.loc.start.line?st(gt):K(Vr)&&at(Vr)}},AwaitExpression:st,VariableDeclarator(gt){gt.init&&Z(gt.init,E)&&!(gt.init.type==="Literal"&>.init.regex)&&at(gt.init)},WhileStatement(gt){G(gt.test)&&!oe(gt)&&at(gt.test)},WithStatement(gt){G(gt.object)&&at(gt.object)},YieldExpression(gt){if(gt.argument){let Vr=t.getFirstToken(gt);(n(gt.argument)>=n(gt)&&ae(Vr,gt.argument)||K(gt.argument))&&at(gt.argument)}},ClassDeclaration:dt,ClassExpression:dt,SpreadElement:It,SpreadProperty:It,ExperimentalSpreadProperty:It,TemplateLiteral(gt){gt.expressions.filter(Vr=>Vr&&G(Vr)).forEach(at)},AssignmentPattern(gt){let{left:Vr,right:Sn}=gt;Le(Vr)&&G(Vr)&&at(Vr),Sn&&Z(Sn,E)&&at(Sn)}}}}});var e2s=j((J1A,Zxs)=>{"use strict";var u8l=PGe(),vrn=ao();Zxs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-extra-semi",url:"https://eslint.style/rules/no-extra-semi"}}]},type:"suggestion",docs:{description:"Disallow unnecessary semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-extra-semi"},fixable:"code",schema:[],messages:{unexpected:"Unnecessary semicolon."}},create(e){let t=e.sourceCode;function r(s){let a=t.getTokenAfter(s);if(!a||a.type!=="String")return!0;let u=t.getNodeByRangeIndex(a.range[0]);return!vrn.isTopLevelExpressionStatement(u.parent)}function n(s){e.report({node:s,messageId:"unexpected",fix:r(s)?a=>new u8l(a,e.sourceCode).retainSurroundingTokens(s).remove(s):null})}function i(s){for(let a=s;a.type==="Punctuator"&&!vrn.isClosingBraceToken(a);a=t.getTokenAfter(a))vrn.isSemicolonToken(a)&&n(a)}return{EmptyStatement(s){let a=s.parent;["ForStatement","ForInStatement","ForOfStatement","WhileStatement","DoWhileStatement","IfStatement","LabeledStatement","WithStatement"].includes(a.type)||n(s)},ClassBody(s){i(t.getFirstToken(s,1))},"MethodDefinition, PropertyDefinition, StaticBlock"(s){i(t.getTokenAfter(s))}}}}});var Crn=j((H1A,t2s)=>{"use strict";var l8l=/^(eslint(?:-env|-enable|-disable(?:(?:-next)?-line)?)?|exported|globals?)(?:\s|$)/u;t2s.exports={directivesPattern:l8l}});var i2s=j((z1A,n2s)=>{"use strict";var{directivesPattern:c8l}=Crn(),f8l=/falls?\s?through/iu;function p8l(e){for(let t of e)if(t.reachable)return!0;return!1}function r2s(e,t){return t.test(e)&&!c8l.test(e.trim())}function d8l(e,t,r,n){let i=r.sourceCode;if(e.consequent.length===1&&e.consequent[0].type==="BlockStatement"){let a=i.getLastToken(e.consequent[0]),u=i.getCommentsBefore(a).pop();if(u&&r2s(u.value,n))return u}let s=i.getCommentsBefore(t).pop();return s&&r2s(s.value,n)?s:null}function m8l(e,t){return t.loc.start.line>e.loc.end.line+1}n2s.exports={meta:{type:"problem",defaultOptions:[{allowEmptyCase:!1,reportUnusedFallthroughComment:!1}],docs:{description:"Disallow fallthrough of `case` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-fallthrough"},schema:[{type:"object",properties:{commentPattern:{type:"string"},allowEmptyCase:{type:"boolean"},reportUnusedFallthroughComment:{type:"boolean"}},additionalProperties:!1}],messages:{unusedFallthroughComment:"Found a comment that would permit fallthrough, but case cannot fall through.",case:"Expected a 'break' statement before 'case'.",default:"Expected a 'break' statement before 'default'."}},create(e){let t=[],r=new Set,n=e.sourceCode,[{allowEmptyCase:i,commentPattern:s,reportUnusedFallthroughComment:a}]=e.options,u=s?new RegExp(s,"u"):f8l,l=null;return{onCodePathStart(){t.push(r),r=new Set},onCodePathEnd(){r=t.pop()},onUnreachableCodePathSegmentStart(f){r.add(f)},onUnreachableCodePathSegmentEnd(f){r.delete(f)},onCodePathSegmentStart(f){r.add(f)},onCodePathSegmentEnd(f){r.delete(f)},SwitchCase(f){if(l&&l.node.parent===f.parent){let p=d8l(l.node,f,e,u);l.isFallthrough&&!p?e.report({messageId:f.test?"case":"default",node:f}):a&&!l.isSwitchExitReachable&&p&&e.report({messageId:"unusedFallthroughComment",node:p})}l=null},"SwitchCase:exit"(f){let p=n.getTokenAfter(f),g=p8l(r),A=g&&(f.consequent.length>0||!i&&m8l(f,p))&&f.parent.cases.at(-1)!==f;l={node:f,isSwitchExitReachable:g,isFallthrough:A}}}}}});var a2s=j((W1A,s2s)=>{"use strict";var g8l=ao();s2s.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-floating-decimal",url:"https://eslint.style/rules/no-floating-decimal"}}]},type:"suggestion",docs:{description:"Disallow leading or trailing decimal points in numeric literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-floating-decimal"},schema:[],fixable:"code",messages:{leading:"A leading decimal point can be confused with a dot.",trailing:"A trailing decimal point can be confused with a dot."}},create(e){let t=e.sourceCode;return{Literal(r){typeof r.value=="number"&&(r.raw.startsWith(".")&&e.report({node:r,messageId:"leading",fix(n){let i=t.getTokenBefore(r),s=i&&i.range[1]===r.range[0]&&!g8l.canTokensBeAdjacent(i,`0${r.raw}`);return n.insertTextBefore(r,s?" 0":"0")}}),r.raw.indexOf(".")===r.raw.length-1&&e.report({node:r,messageId:"trailing",fix:n=>n.insertTextAfter(r,"0")}))}}}}});var u2s=j((X1A,o2s)=>{"use strict";var A8l=ao();o2s.exports={meta:{type:"problem",docs:{description:"Disallow reassigning `function` declarations",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-func-assign"},schema:[],messages:{isAFunction:"'{{name}}' is a function."}},create(e){let t=e.sourceCode;function r(s){A8l.getModifyingReferences(s).forEach(a=>{e.report({node:a.identifier,messageId:"isAFunction",data:{name:a.identifier.name}})})}function n(s){s.defs[0].type==="FunctionName"&&r(s.references)}function i(s){t.getDeclaredVariables(s).forEach(n)}return{FunctionDeclaration:i,FunctionExpression:i}}}});var c2s=j((Z1A,l2s)=>{"use strict";l2s.exports={meta:{type:"suggestion",defaultOptions:[{exceptions:[]}],docs:{description:"Disallow assignments to native objects or read-only global variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-global-assign"},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{globalShouldNotBeModified:"Read-only global '{{name}}' should not be modified."}},create(e){let t=e.sourceCode,[{exceptions:r}]=e.options;function n(s,a,u){let l=s.identifier;s.init===!1&&s.isWrite()&&(a===0||u[a-1].identifier!==l)&&e.report({node:l,messageId:"globalShouldNotBeModified",data:{name:l.name}})}function i(s){s.writeable===!1&&!r.includes(s.name)&&s.references.forEach(n)}return{Program(s){t.getScope(s).variables.forEach(i)}}}}});var d2s=j((eyA,p2s)=>{"use strict";var U7e=ao(),h8l=/^(?:i|lastI)ndexOf$/u,y8l=["~","!!","+","- -","-","*"];function _8l(e){return e.operator==="!"&&e.argument.type==="UnaryExpression"&&e.argument.operator==="!"}function E8l(e){if(e.operator!=="~")return!1;let t=U7e.skipChainExpression(e.argument);return t.type==="CallExpression"&&U7e.isSpecificMemberAccess(t.callee,null,h8l)}function x8l(e){return e.operator==="*"&&(e.left.type==="Literal"&&e.left.value===1||e.right.type==="Literal"&&e.right.value===1)}function v8l(e,t){return e.type==="BinaryExpression"&&e.operator==="*"&&e.right.type==="Literal"&&e.right.value===1&&e.parent.type==="BinaryExpression"&&e.parent.operator==="/"&&e.parent.left===e&&!U7e.isParenthesised(t,e)}function Gft(e){return e.type==="Literal"&&typeof e.value=="number"||e.type==="CallExpression"&&(e.callee.name==="Number"||e.callee.name==="parseInt"||e.callee.name==="parseFloat")}function C8l(e){let t=e.left,r=e.right;return r.type!=="BinaryExpression"&&!Gft(r)?r:t.type!=="BinaryExpression"&&!Gft(t)?t:null}function brn(e){return U7e.isStringLiteral(e)||e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="String"}function M$t(e){return U7e.isStringLiteral(e)&&(e.value===""||e.type==="TemplateLiteral"&&e.quasis.length===1&&e.quasis[0].value.cooked==="")}function b8l(e){return e.operator==="+"&&(M$t(e.left)&&!brn(e.right)||M$t(e.right)&&!brn(e.left))}function I8l(e){return e.operator==="+="&&M$t(e.right)}function f2s(e){return M$t(e.left)?e.right:e.left}p2s.exports={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow shorthand type conversions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-implicit-coercion"},fixable:"code",schema:[{type:"object",properties:{boolean:{type:"boolean"},number:{type:"boolean"},string:{type:"boolean"},disallowTemplateShorthand:{type:"boolean"},allow:{type:"array",items:{enum:y8l},uniqueItems:!0}},additionalProperties:!1}],defaultOptions:[{allow:[],boolean:!0,disallowTemplateShorthand:!1,number:!0,string:!0}],messages:{implicitCoercion:"Unexpected implicit coercion encountered. Use `{{recommendation}}` instead.",useRecommendation:"Use `{{recommendation}}` instead."}},create(e){let[t]=e.options,r=e.sourceCode;function n(i,s,a,u){function l(f){let p=r.getTokenBefore(i);return p?.range[1]===i.range[0]&&!U7e.canTokensBeAdjacent(p,s)?f.replaceText(i,` ${s}`):f.replaceText(i,s)}e.report({node:i,messageId:"implicitCoercion",data:{recommendation:s},fix(f){return u?l(f):null},suggest:[{messageId:"useRecommendation",data:{recommendation:s},fix(f){return u||!a?null:l(f)}}]})}return{UnaryExpression(i){let s;if(s=t.allow.includes("!!"),!s&&t.boolean&&_8l(i)){let a=`Boolean(${r.getText(i.argument.argument)})`,l=U7e.getVariableByName(r.getScope(i),"Boolean")?.identifiers.length===0;n(i,a,!0,l)}if(s=t.allow.includes("~"),!s&&t.boolean&&E8l(i)){let a=i.argument.type==="ChainExpression"?">= 0":"!== -1",u=`${r.getText(i.argument)} ${a}`;n(i,u,!1,!1)}if(s=t.allow.includes("+"),!s&&t.number&&i.operator==="+"&&!Gft(i.argument)){let a=`Number(${r.getText(i.argument)})`;n(i,a,!0,!1)}if(s=t.allow.includes("- -"),!s&&t.number&&i.operator==="-"&&i.argument.type==="UnaryExpression"&&i.argument.operator==="-"&&!Gft(i.argument.argument)){let a=`Number(${r.getText(i.argument.argument)})`;n(i,a,!0,!1)}},"BinaryExpression:exit"(i){let s;s=t.allow.includes("*");let a=!s&&t.number&&x8l(i)&&!v8l(i,r)&&C8l(i);if(a){let u=`Number(${r.getText(a)})`;n(i,u,!0,!1)}if(s=t.allow.includes("-"),!s&&t.number&&i.operator==="-"&&i.right.type==="Literal"&&i.right.value===0&&!Gft(i.left)){let u=`Number(${r.getText(i.left)})`;n(i,u,!0,!1)}if(s=t.allow.includes("+"),!s&&t.string&&b8l(i)){let u=`String(${r.getText(f2s(i))})`;n(i,u,!0,!1)}},AssignmentExpression(i){if(!t.allow.includes("+")&&t.string&&I8l(i)){let a=r.getText(f2s(i)),u=`${a} = String(${a})`;n(i,u,!0,!1)}},TemplateLiteral(i){if(!t.disallowTemplateShorthand||i.parent.type==="TaggedTemplateExpression"||i.expressions.length!==1||i.quasis[0].value.cooked!==""||i.quasis[1].value.cooked!==""||brn(i.expressions[0]))return;let a=`String(${r.getText(i.expressions[0])})`;n(i,a,!0,!1)}}}}});var g2s=j((tyA,m2s)=>{"use strict";var S8l=new Set(["AssignmentExpression","ForInStatement","ForOfStatement"]);m2s.exports={meta:{type:"suggestion",defaultOptions:[{lexicalBindings:!1}],docs:{description:"Disallow declarations in the global scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-implicit-globals"},schema:[{type:"object",properties:{lexicalBindings:{type:"boolean"}},additionalProperties:!1}],messages:{globalNonLexicalBinding:"Unexpected {{kind}} declaration in the global scope, wrap in an IIFE for a local variable, assign as global property for a global variable.",globalLexicalBinding:"Unexpected {{kind}} declaration in the global scope, wrap in a block or in an IIFE.",globalVariableLeak:"Global variable leak, declare the variable if it is intended to be local.",assignmentToReadonlyGlobal:"Unexpected assignment to read-only global variable.",redeclarationOfReadonlyGlobal:"Unexpected redeclaration of read-only global variable."}},create(e){let[{lexicalBindings:t}]=e.options,r=e.sourceCode;function n(i,s,a){e.report({node:i,messageId:s,data:{kind:a}})}return{Program(i){let s=r.getScope(i);s.variables.forEach(a=>{let u=a.writeable===!1;a.writeable!==!0&&(a.eslintExported||(a.defs.forEach(f=>{let p=f.node;(f.type==="FunctionName"||f.type==="Variable"&&f.parent.kind==="var")&&(u?n(p,"redeclarationOfReadonlyGlobal"):n(p,"globalNonLexicalBinding",f.type==="FunctionName"?"function":`'${f.parent.kind}'`)),t&&(f.type==="ClassName"||f.type==="Variable"&&(f.parent.kind==="let"||f.parent.kind==="const"))&&(u?n(p,"redeclarationOfReadonlyGlobal"):n(p,"globalLexicalBinding",f.type==="ClassName"?"class":`'${f.parent.kind}'`))}),u&&a.defs.length===0&&a.references.forEach(f=>{if(f.isWrite()&&!f.isRead()){let p=f.identifier.parent;for(;p&&!S8l.has(p.type);)p=p.parent;n(p??f.identifier,"assignmentToReadonlyGlobal")}})))}),s.implicit.variables.forEach(a=>{a.defs.forEach(u=>{n(u.node,"globalVariableLeak")})})}}}}});var h2s=j((ryA,A2s)=>{"use strict";var Vft=ao(),{getStaticValue:T8l}=NS();A2s.exports={meta:{type:"suggestion",docs:{description:"Disallow the use of `eval()`-like methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-implied-eval"},schema:[],messages:{impliedEval:"Implied eval. Consider passing a function instead of a string.",execScript:"Implied eval. Do not use execScript()."}},create(e){let t=Object.freeze(["global","window","globalThis"]),r=/^(?:set(?:Interval|Timeout)|execScript)$/u,n=e.sourceCode;function i(u){return u.type==="Literal"&&typeof u.value=="string"||u.type==="TemplateLiteral"?!0:u.type==="BinaryExpression"&&u.operator==="+"?i(u.left)||i(u.right):!1}function s(u){let[l]=u.arguments;if(l){let f=T8l(l,n.getScope(u));if(f&&typeof f.value=="string"||i(l)){let h=(u.callee.type==="Identifier"?u.callee.name:Vft.getStaticPropertyName(u.callee))==="execScript";e.report({node:u,messageId:h?"execScript":"impliedEval"})}}}function a(u){let{references:l,name:f}=u;l.forEach(p=>{let A=p.identifier.parent;for(;Vft.isSpecificMemberAccess(A,null,f);)A=A.parent;if(Vft.isSpecificMemberAccess(A,null,r)){let h=A.parent.type==="ChainExpression"?A.parent:A,_=h.parent;_.type==="CallExpression"&&_.callee===h&&s(_)}})}return{CallExpression(u){Vft.isSpecificId(u.callee,r)&&n.isGlobalReference(u.callee)&&s(u)},"Program:exit"(u){let l=n.getScope(u);t.map(f=>Vft.getVariableByName(l,f)).filter(f=>!!f&&f.defs.length===0).forEach(a)}}}}});var x2s=j((nyA,E2s)=>{"use strict";var{findVariable:D8l}=NS(),Irn=ao(),y2s={Object:/^(?:assign|definePropert(?:y|ies)|freeze|setPrototypeOf)$/u,Reflect:/^(?:(?:define|delete)Property|set(?:PrototypeOf)?)$/u};function w8l(e){let{parent:t}=e;return t.type==="AssignmentExpression"&&t.left===e||t.type==="ArrayPattern"||t.type==="Property"&&t.value===e&&t.parent.type==="ObjectPattern"||t.type==="RestElement"||t.type==="AssignmentPattern"&&t.left===e}function B8l(e){let t=e.parent.type==="ChainExpression"?e.parent:e,{parent:r}=t;return r.type==="UpdateExpression"&&r.argument===t||r.type==="UnaryExpression"&&r.operator==="delete"&&r.argument===t}function k8l(e){let{parent:t}=e;return t.type==="ForInStatement"&&t.left===e||t.type==="ForOfStatement"&&t.left===e}function P8l(e,t){let{parent:r}=e;if(r.type!=="CallExpression"||r.arguments[0]!==e)return!1;let n=Irn.skipChainExpression(r.callee);if(!Irn.isSpecificMemberAccess(n,"Object",y2s.Object)&&!Irn.isSpecificMemberAccess(n,"Reflect",y2s.Reflect))return!1;let i=D8l(t,n.object);return i!==null&&i.scope.type==="global"}function N8l(e,t){let{parent:r}=e;return r.type==="MemberExpression"&&r.object===e&&(w8l(r)||B8l(r)||k8l(r))||P8l(e,t)}function _2s(e){let t=e.parent;for(;t&&t.type!=="AssignmentExpression"&&t.type!=="UpdateExpression"&&t.type!=="UnaryExpression"&&t.type!=="CallExpression"&&t.type!=="ForInStatement"&&t.type!=="ForOfStatement";)t=t.parent;return t||e}E2s.exports={meta:{type:"problem",docs:{description:"Disallow assigning to imported bindings",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-import-assign"},schema:[],messages:{readonly:"'{{name}}' is read-only.",readonlyMember:"The members of '{{name}}' are read-only."}},create(e){let t=e.sourceCode;return{ImportDeclaration(r){let n=t.getScope(r);for(let i of t.getDeclaredVariables(r)){let s=i.defs.some(u=>u.node.type==="ImportNamespaceSpecifier"),a=null;for(let u of i.references){let l=u.identifier;l!==a&&(a=l,u.isWrite()?e.report({node:_2s(l),messageId:"readonly",data:{name:l.name}}):s&&N8l(l,n)&&e.report({node:_2s(l),messageId:"readonlyMember",data:{name:l.name}}))}}}}}}});var C2s=j((iyA,v2s)=>{"use strict";var O8l=ao();v2s.exports={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Disallow inline comments after code",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-inline-comments"},schema:[{type:"object",properties:{ignorePattern:{type:"string"}},additionalProperties:!1}],messages:{unexpectedInlineComment:"Unexpected comment inline with code."}},create(e){let t=e.sourceCode,[{ignorePattern:r}]=e.options,n=r&&new RegExp(r,"u");function i(s){let a=String(t.lines[s.loc.start.line-1]),u=String(t.lines[s.loc.end.line-1]),l=a.slice(0,s.loc.start.column).trim(),f=u.slice(s.loc.end.column).trim(),p=!l,g=!f;if(!(p&&g)&&!(n&&n.test(s.value))){if((p||l==="{")&&(g||f==="}")){let A=t.getNodeByRangeIndex(s.range[0]);if(A&&A.type==="JSXEmptyExpression")return}O8l.isDirectiveComment(s)||e.report({node:s,messageId:"unexpectedInlineComment"})}}return{Program(){t.getAllComments().filter(s=>s.type!=="Shebang").forEach(i)}}}}});var I2s=j((syA,b2s)=>{"use strict";var R8l=ao(),F8l=new Set(["Program","StaticBlock","ExportNamedDeclaration","ExportDefaultDeclaration"]),L8l=new Set(["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]);function M8l(e){let{parent:t}=e;for(;t;){if(t.type==="StaticBlock")return"class static block body";if(R8l.isFunction(t))return"function body";({parent:t}=t)}return"program"}b2s.exports={meta:{type:"problem",defaultOptions:["functions",{blockScopedFunctions:"allow"}],docs:{description:"Disallow variable or `function` declarations in nested blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-inner-declarations"},schema:[{enum:["functions","both"]},{type:"object",properties:{blockScopedFunctions:{enum:["allow","disallow"]}},additionalProperties:!1}],messages:{moveDeclToRoot:"Move {{type}} declaration to {{body}} root."}},create(e){let t=e.options[0]==="both",{blockScopedFunctions:r}=e.options[1],n=e.sourceCode,i=e.languageOptions.ecmaVersion;function s(a){let u=a.parent;u.type==="BlockStatement"&&L8l.has(u.parent.type)||F8l.has(u.type)||e.report({node:a,messageId:"moveDeclToRoot",data:{type:a.type==="FunctionDeclaration"?"function":"variable",body:M8l(a)}})}return{FunctionDeclaration(a){let u=n.getScope(a).upper.isStrict;r==="allow"&&i>=2015&&u||s(a)},VariableDeclaration(a){t&&a.kind==="var"&&s(a)}}}}});var D2s=j((ayA,T2s)=>{"use strict";var Q8l=VQ().RegExpValidator,j8l=new Q8l,Srn="dgimsuvy",S2s=void 0;T2s.exports={meta:{type:"problem",defaultOptions:[{}],docs:{description:"Disallow invalid regular expression strings in `RegExp` constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-invalid-regexp"},schema:[{type:"object",properties:{allowConstructorFlags:{type:"array",items:{type:"string"}}},additionalProperties:!1}],messages:{regexMessage:"{{message}}."}},create(e){let[{allowConstructorFlags:t}]=e.options,r=[];if(t){let l=t.join("").replace(new RegExp(`[${Srn}]`,"gu"),"");l&&(r=[...new Set(l)])}function n(l,f){e.report({node:l,messageId:"regexMessage",data:{message:f}})}function i(l){return l&&l.type==="Literal"&&typeof l.value=="string"}function s(l){return l.arguments.length<2?"":i(l.arguments[1])?l.arguments[1].value:null}function a(l,f){try{return j8l.validatePattern(l,S2s,S2s,f),null}catch(p){return p.message}}function u(l,f,p){let g=[];if(typeof f=="string")for(let A of f)p.includes(A)&&g.push(A);return l&&l.includes("u")&&l.includes("v")?"Regex 'u' and 'v' flags cannot be used together":g.length>0?`Duplicate flags ('${g.join("")}') supplied to RegExp constructor`:f?`Invalid flags supplied to RegExp constructor '${f}'`:null}return{"CallExpression, NewExpression"(l){if(l.callee.type!=="Identifier"||l.callee.name!=="RegExp")return;let f=s(l),p=f,g=r.length>0?Srn.split("").concat(r):Srn.split("");f&&g.forEach(_=>{p=p.replace(_,"")});let A=u(f,p,g);if(A){n(l,A);return}if(!i(l.arguments[0]))return;let h=l.arguments[0].value;A=f===null?a(h,{unicode:!0,unicodeSets:!1})&&a(h,{unicode:!1,unicodeSets:!0})&&a(h,{unicode:!1,unicodeSets:!1}):a(h,{unicode:f.includes("u"),unicodeSets:f.includes("v")}),A&&n(l,A)}}}}});var k2s=j((oyA,B2s)=>{"use strict";var U8l=ao();function w2s(e,t){return e.origin==="function"&&t.type==="ArrowFunctionExpression"}B2s.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",defaultOptions:[{capIsConstructor:!0}],docs:{description:"Disallow use of `this` in contexts where the value of `this` is `undefined`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-invalid-this"},schema:[{type:"object",properties:{capIsConstructor:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedThis:"Unexpected 'this'."}},create(e){let[{capIsConstructor:t}]=e.options,r=[],n=e.sourceCode;return r.getCurrent=function(){let i=this.at(-1);return i.init||(i.init=!0,i.valid=!U8l.isDefaultThisBinding(i.node,n,{capIsConstructor:t})),i},{onCodePathStart(i,s){if(!w2s(i,s)){if(i.origin==="program"){let a=n.getScope(s),u=e.languageOptions.parserOptions.ecmaFeatures||{};r.push({init:!0,node:s,valid:!(s.sourceType==="module"||u.globalReturn&&a.childScopes[0].isStrict)});return}r.push({init:!n.getScope(s).isStrict,node:s,valid:!0})}},onCodePathEnd(i,s){w2s(i,s)||r.pop()},"AccessorProperty > *.value"(i){r.push({init:!0,node:i,valid:!0})},"AccessorProperty:exit"(){r.pop()},ThisExpression(i){if(i.parent.type==="AccessorProperty"&&i.parent.value===i)return;let s=r.getCurrent();s&&!s.valid&&e.report({node:i,messageId:"unexpectedThis"})}}}}});var N2s=j((uyA,P2s)=>{"use strict";var q8l=ao(),$ft=/[\f\v\u0085\ufeff\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000\u2028\u2029]/u,Y8l=/[\f\v\u0085\ufeff\u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u200b\u202f\u205f\u3000]+/gu,G8l=/[\u2028\u2029]/gu,V8l=q8l.createGlobalLinebreakMatcher();P2s.exports={meta:{type:"problem",defaultOptions:[{skipComments:!1,skipJSXText:!1,skipRegExps:!1,skipStrings:!0,skipTemplates:!1}],docs:{description:"Disallow irregular whitespace",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-irregular-whitespace"},schema:[{type:"object",properties:{skipComments:{type:"boolean"},skipStrings:{type:"boolean"},skipTemplates:{type:"boolean"},skipRegExps:{type:"boolean"},skipJSXText:{type:"boolean"}},additionalProperties:!1}],messages:{noIrregularWhitespace:"Irregular whitespace not allowed."}},create(e){let[{skipComments:t,skipStrings:r,skipRegExps:n,skipTemplates:i,skipJSXText:s}]=e.options,a=e.sourceCode,u=a.getAllComments(),l=[];function f(k){let M=k.loc.start,R=k.loc.end;l=l.filter(({loc:{start:q}})=>q.line=R.column||q.line>R.line)}function p(k){let M=r&&typeof k.value=="string",R=n&&!!k.regex;(M||R)&&$ft.test(k.raw)&&f(k)}function g(k){typeof k.value.raw=="string"&&$ft.test(k.value.raw)&&f(k)}function A(k){$ft.test(k.value)&&f(k)}function h(k){$ft.test(k.raw)&&f(k)}function _(k){a.lines.forEach((R,q)=>{let G=q+1,K;for(;(K=Y8l.exec(R))!==null;)l.push({node:k,messageId:"noIrregularWhitespace",loc:{start:{line:G,column:K.index},end:{line:G,column:K.index+K[0].length}}})})}function E(k){let M=a.getText(),R=a.lines,q=M.match(V8l),G=-1,K;for(;(K=G8l.exec(M))!==null;){let Z=q.indexOf(K[0],G+1)||0;l.push({node:k,messageId:"noIrregularWhitespace",loc:{start:{line:Z+1,column:R[Z].length},end:{line:Z+2,column:0}}}),G=Z}}function b(){}let D={};return $ft.test(a.getText())?(D.Program=function(k){_(k),E(k)},D.Literal=p,D.TemplateElement=i?g:b,D.JSXText=s?h:b,D["Program:exit"]=function(){t&&u.forEach(A),l.forEach(k=>e.report(k))}):D.Program=b,D}}});var R2s=j((lyA,O2s)=>{"use strict";var{getStaticPropertyName:$8l}=ao();O2s.exports={meta:{type:"suggestion",docs:{description:"Disallow the use of the `__iterator__` property",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-iterator"},schema:[],messages:{noIterator:"Reserved name '__iterator__'."}},create(e){return{MemberExpression(t){$8l(t)==="__iterator__"&&e.report({node:t,messageId:"noIterator"})}}}}});var L2s=j((cyA,F2s)=>{"use strict";var K8l=ao();F2s.exports={meta:{type:"suggestion",docs:{description:"Disallow labels that share a name with a variable",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-label-var"},schema:[],messages:{identifierClashWithLabel:"Found identifier with same name as label."}},create(e){let t=e.sourceCode;function r(n,i){return K8l.getVariableByName(n,i)!==null}return{LabeledStatement(n){let i=t.getScope(n);r(i,n.label.name)&&e.report({node:n,messageId:"identifierClashWithLabel"})}}}}});var Q2s=j((fyA,M2s)=>{"use strict";var J8l=ao();M2s.exports={meta:{type:"suggestion",defaultOptions:[{allowLoop:!1,allowSwitch:!1}],docs:{description:"Disallow labeled statements",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-labels"},schema:[{type:"object",properties:{allowLoop:{type:"boolean"},allowSwitch:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedLabel:"Unexpected labeled statement.",unexpectedLabelInBreak:"Unexpected label in break statement.",unexpectedLabelInContinue:"Unexpected label in continue statement."}},create(e){let[{allowLoop:t,allowSwitch:r}]=e.options,n=null;function i(u){return J8l.isLoop(u)?"loop":u.type==="SwitchStatement"?"switch":"other"}function s(u){switch(u){case"loop":return t;case"switch":return r;default:return!1}}function a(u){let l=n;for(;l;){if(l.label===u)return l.kind;l=l.upper}return"other"}return{LabeledStatement(u){n={label:u.label.name,kind:i(u.body),upper:n}},"LabeledStatement:exit"(u){s(n.kind)||e.report({node:u,messageId:"unexpectedLabel"}),n=n.upper},BreakStatement(u){u.label&&!s(a(u.label.name))&&e.report({node:u,messageId:"unexpectedLabelInBreak"})},ContinueStatement(u){u.label&&!s(a(u.label.name))&&e.report({node:u,messageId:"unexpectedLabelInContinue"})}}}}});var U2s=j((pyA,j2s)=>{"use strict";j2s.exports={meta:{type:"suggestion",docs:{description:"Disallow unnecessary nested blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-lone-blocks"},schema:[],messages:{redundantBlock:"Block is redundant.",redundantNestedBlock:"Nested block is redundant."}},create(e){let t=[],r,n=e.sourceCode;function i(u){let l=u.parent.type==="BlockStatement"||u.parent.type==="StaticBlock"?"redundantNestedBlock":"redundantBlock";e.report({node:u,messageId:l})}function s(u){return u.parent.type==="BlockStatement"||u.parent.type==="StaticBlock"||u.parent.type==="Program"||u.parent.type==="SwitchCase"&&!(u.parent.consequent[0]===u&&u.parent.consequent.length===1)}function a(u){if(t.length===0)return;let l=u.parent;t.at(-1)===l&&t.pop()}return r={BlockStatement(u){s(u)&&i(u)}},e.languageOptions.ecmaVersion>=2015&&(r={BlockStatement(u){s(u)&&t.push(u)},"BlockStatement:exit"(u){t.length>0&&t.at(-1)===u?(t.pop(),i(u)):(u.parent.type==="BlockStatement"||u.parent.type==="StaticBlock")&&u.parent.body.length===1&&i(u)}},r.VariableDeclaration=function(u){u.kind!=="var"&&a(u)},r.FunctionDeclaration=function(u){n.getScope(u).isStrict&&a(u)},r.ClassDeclaration=a),r}}});var Y2s=j((dyA,q2s)=>{"use strict";var H8l=ao();q2s.exports={meta:{type:"suggestion",docs:{description:"Disallow `if` statements as the only statement in `else` blocks",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-lonely-if"},schema:[],fixable:"code",messages:{unexpectedLonelyIf:"Unexpected if as the only statement in an else block."}},create(e){let t=e.sourceCode;return{IfStatement(r){let n=r.parent,i=n.parent;n&&n.type==="BlockStatement"&&n.body.length===1&&!H8l.areBracesNecessary(n,t)&&i&&i.type==="IfStatement"&&n===i.alternate&&e.report({node:r,messageId:"unexpectedLonelyIf",fix(s){let a=t.getFirstToken(n),u=t.getLastToken(n),l=t.getTokenBefore(a),f=t.getTokenAfter(u),p=t.getLastToken(r.consequent),g=t.getText();return g.slice(a.range[1],r.range[0]).trim()||g.slice(r.range[1],u.range[0]).trim()||r.consequent.type!=="BlockStatement"&&p.value!==";"&&f&&(r.consequent.loc.end.line===f.loc.start.line||/^[([/+`-]/u.test(f.value)||p.value==="++"||p.value==="--")?null:s.replaceTextRange([a.range[0],u.range[1]],(l.range[1]===a.range[0]?" ":"")+t.getText(r))}})}}}}});var V2s=j((myA,G2s)=>{"use strict";var z8l=new Set(["const","using","await using"]);function W8l(e){return(e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression")&&e.parent&&e.parent.type==="CallExpression"&&e.parent.callee===e}G2s.exports={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow function declarations that contain unsafe references inside loop statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-loop-func"},schema:[],messages:{unsafeRefs:"Function declared in a loop contains unsafe references to variable(s) {{ varNames }}."}},create(e){let t=new Set,r=e.sourceCode;function n(u){for(let l=u;l.parent;l=l.parent){let f=l.parent;switch(f.type){case"WhileStatement":case"DoWhileStatement":return f;case"ForStatement":if(f.init!==l)return f;break;case"ForInStatement":case"ForOfStatement":if(f.right!==l)return f;break;case"ArrowFunctionExpression":case"FunctionExpression":case"FunctionDeclaration":if(t.has(f))break;return null;default:break}}return null}function i(u,l){let f=l?l.range[1]:0,p=u,g=u;for(;g&&g.range[0]>=f;)p=g,g=n(g);return p}function s(u,l){let f=l.resolved,p=f&&f.defs[0],g=p&&p.parent,A=g&&g.type==="VariableDeclaration"?g.kind:"";if(z8l.has(A)||A==="let"&&g.range[0]>u.range[0]&&g.range[1]h.identifier.name===u.id.name):!1)){t.add(u);return}let p=[...new Set(f.filter(g=>g.resolved&&!s(l,g)).map(g=>g.identifier.name))];p.length>0&&e.report({node:u,messageId:"unsafeRefs",data:{varNames:`'${p.join("', '")}'`}})}return{ArrowFunctionExpression:a,FunctionExpression:a,FunctionDeclaration:a}}}});var H2s=j((gyA,J2s)=>{"use strict";var NGe=class{coefficient;magnitude;constructor(t,r){this.coefficient=t,this.magnitude=r}toString(){return`${this.coefficient[0]}${this.coefficient.length>1?`.${this.coefficient.slice(1)}`:""}e${this.magnitude}`}};function X8l(e){return typeof e.value=="number"}function K2s(e){return e.raw.replace(/_/gu,"")}function Z8l(e){return["0x","0X","0b","0B","0o","0O"].every(r=>!e.raw.startsWith(r))&&!/^0[0-7]+$/u.test(e.raw)}function e4l(e){let t=K2s(e).toUpperCase(),r;return t.startsWith("0B")?r=2:t.startsWith("0X")?r=16:r=8,!t.endsWith(e.value.toString(r).toUpperCase())}function Trn(e){for(let t=0;t=0;t--)if(e[t]!=="0")return e.slice(0,t+1);return e}function r4l(e){let t=Trn(e),r=t4l(t);return new NGe(r,t.length-1)}function n4l(e){let t=Trn(e),r=t.indexOf(".");switch(r){case 0:{let n=Trn(t.slice(1));return new NGe(n,n.length-t.length)}case-1:return new NGe(t,t.length-1);default:return new NGe(t.replace(".",""),r-1)}}function $2s(e,t){let r=e.split("e"),n=r[0],i=t||e.includes(".")?n4l(n):r4l(n);return r.length>1&&(i.magnitude+=parseInt(r[1],10)),i}function i4l(e){let t=K2s(e).toLowerCase(),r=$2s(t,!1),n=r.coefficient.length;if(n>100)return!0;let i=e.value.toPrecision(n),s=$2s(i,!0);return r.magnitude!==s.magnitude||r.coefficient!==s.coefficient}function s4l(e){return Z8l(e)?i4l(e):e4l(e)}J2s.exports={meta:{type:"problem",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow literal numbers that lose precision",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-loss-of-precision"},schema:[],messages:{noLossOfPrecision:"This number literal will lose precision at runtime."}},create(e){return{Literal(t){t.value&&X8l(t)&&s4l(t)&&e.report({messageId:"noLossOfPrecision",node:t})}}}}});var W2s=j((AyA,z2s)=>{"use strict";var Drn=ao(),a4l=2**32-1;function o4l(e){return typeof e=="string"?BigInt(e.slice(0,-1)):e}function u4l(e){return e.parent.type==="TSEnumMember"}function l4l(e){let t=e.parent;for(;t.parent.type==="TSUnionType";)t=t.parent;return t.parent.type==="TSTypeAliasDeclaration"}function c4l(e){return!!(e.parent?.type==="PropertyDefinition"&&e.parent.readonly)}function f4l(e){let t=e.parent;for(;t.parent.type==="TSUnionType"||t.parent.type==="TSIntersectionType";)t=t.parent;return t.parent.type==="TSIndexedAccessType"}z2s.exports={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow magic numbers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-magic-numbers"},schema:[{type:"object",properties:{detectObjects:{type:"boolean",default:!1},enforceConst:{type:"boolean",default:!1},ignore:{type:"array",items:{anyOf:[{type:"number"},{type:"string",pattern:"^[+-]?(?:0|[1-9][0-9]*)n$"}]},uniqueItems:!0},ignoreArrayIndexes:{type:"boolean",default:!1},ignoreDefaultValues:{type:"boolean",default:!1},ignoreClassFieldInitialValues:{type:"boolean",default:!1},ignoreEnums:{type:"boolean",default:!1},ignoreNumericLiteralTypes:{type:"boolean",default:!1},ignoreReadonlyClassProperties:{type:"boolean",default:!1},ignoreTypeIndexes:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{useConst:"Number constants declarations must use 'const'.",noMagic:"No magic number: {{raw}}."}},create(e){let t=e.options[0]||{},r=!!t.detectObjects,n=!!t.enforceConst,i=new Set((t.ignore||[]).map(o4l)),s=!!t.ignoreArrayIndexes,a=!!t.ignoreDefaultValues,u=!!t.ignoreClassFieldInitialValues,l=!!t.ignoreEnums,f=!!t.ignoreNumericLiteralTypes,p=!!t.ignoreReadonlyClassProperties,g=!!t.ignoreTypeIndexes,A=r?[]:["ObjectExpression","Property","AssignmentExpression"];function h(M){return i.has(M)}function _(M){let R=M.parent;return R.type==="AssignmentPattern"&&R.right===M}function E(M){let R=M.parent;return R.type==="PropertyDefinition"&&R.value===M}function b(M){let R=M.parent;return R.type==="CallExpression"&&M===R.arguments[1]&&(Drn.isSpecificId(R.callee,"parseInt")||Drn.isSpecificMemberAccess(R.callee,"Number","parseInt"))}function D(M){return M.parent.type.indexOf("JSX")===0}function k(M,R){let q=M.parent;return q.type==="MemberExpression"&&q.property===M&&(Number.isInteger(R)||typeof R=="bigint")&&R>=0&&R{"use strict";X2s.exports=function(t){return/^[\p{Mc}\p{Me}\p{Mn}]$/u.test(String.fromCodePoint(t))}});var tvs=j((yyA,evs)=>{"use strict";evs.exports=function(t){return t>=127995&&t<=127999}});var nvs=j((_yA,rvs)=>{"use strict";rvs.exports=function(t){return t>=127462&&t<=127487}});var svs=j((EyA,ivs)=>{"use strict";ivs.exports=function(t,r){return t>=55296&&t<56320&&r>=56320&&r<57344}});var ovs=j((xyA,avs)=>{"use strict";var p4l=Z2s(),d4l=tvs(),m4l=nvs(),g4l=svs();avs.exports={isCombiningCharacter:p4l,isEmojiModifier:d4l,isRegionalIndicatorSymbol:m4l,isSurrogatePair:g4l}});var Q$t=j((vyA,lvs)=>{"use strict";var{RegExpValidator:A4l}=VQ(),uvs=2025;function h4l(e,t,r="u"){if(r==="u"&&e<=5||r==="v"&&e<=2023)return!1;let n=new A4l({ecmaVersion:Math.min(e,uvs)});try{n.validatePattern(t,void 0,void 0,r==="u"?{unicode:!0}:{unicodeSets:!0})}catch{return!1}return!0}lvs.exports={isValidWithUnicodeFlag:h4l,REGEXPP_LATEST_ECMA_VERSION:uvs}});var mvs=j((CyA,dvs)=>{"use strict";var q7e=class{constructor(t,r){this.start=t,this.source=r}get end(){return this.start+this.length}get length(){return this.source.length}},j$t=class{constructor(t){this.source=t,this.pos=0}advance(t){this.pos+=t}read(t=0,r=1){let n=t+this.pos;return this.source.slice(n,n+r)}},y4l={__proto__:null,b:"\b",f:"\f",n:` `,r:"\r",t:" ",v:"\v"};function fvs(e,t){let r=e.read(0,t),n=parseInt(r,16);return e.advance(t),String.fromCharCode(n)}function _4l(e){let t=/\{(?[\dA-F]+)\}/iuy;t.lastIndex=e.pos;let r=t.exec(e.source);if(r){let n=parseInt(r.groups.hexDigits,16);return e.pos=t.lastIndex,String.fromCodePoint(n)}return fvs(e,4)}function cvs(e,t){let[r]=e.read(-1,t).match(/^[0-7]+/u);e.advance(r.length-1);let n=parseInt(r,8);return String.fromCharCode(n)}function E4l(e){let t=e.read(1);e.advance(2);let r=y4l[t];if(r)return r;switch(t){case"x":return fvs(e,2);case"u":return _4l(e);case"\r":e.read()===` `&&e.advance(1);case` `:case"\u2028":case"\u2029":return"";case"0":case"1":case"2":case"3":return cvs(e,3);case"4":case"5":case"6":case"7":return cvs(e,2);default:return t}}function*pvs(e){let t=e.pos,r=E4l(e),n=e.pos,i=e.source.slice(t,n);switch(r.length){case 0:break;case 1:yield new q7e(t,i);break;default:yield new q7e(t,i),yield new q7e(t,i);break}}function x4l(e){let t=new j$t(e),r=t.read();t.advance(1);let n=[];for(;;){let i=t.read();if(i===r)break;i==="\\"?n.push(...pvs(t)):(n.push(new q7e(t.pos,i)),t.advance(1))}return n}function v4l(e){let t=new j$t(e);t.advance(1);let r=[];for(;;){let n=t.read();if(n==="`"||n==="$"&&t.read(1)==="{")break;if(n==="\\")r.push(...pvs(t));else{let i;n==="\r"&&t.read(1)===` `?i=`\r `:i=n,r.push(new q7e(t.pos,i)),t.advance(i.length)}}return r}dvs.exports={parseStringLiteral:x4l,parseTemplateToken:v4l}});var Svs=j((byA,Ivs)=>{"use strict";var{CALL:C4l,CONSTRUCT:b4l,ReferenceTracker:I4l,getStaticValue:S4l,getStringIfConstant:T4l}=NS(),{RegExpParser:D4l,visitRegExpAST:w4l}=VQ(),{isCombiningCharacter:gvs,isEmojiModifier:Avs,isRegionalIndicatorSymbol:hvs,isSurrogatePair:yvs}=ovs(),wrn=ao(),{isValidWithUnicodeFlag:_vs}=Q$t(),{parseStringLiteral:Evs,parseTemplateToken:xvs}=mvs();function*B4l(e){let t=[];for(let r of e)switch(r.type){case"Character":t.push(r);break;case"CharacterClassRange":t.push(r.min),yield t,t=[r.max];break;case"CharacterSet":case"CharacterClass":case"ClassStringDisjunction":case"ExpressionCharacterClass":t.length>0&&(yield t,t=[]);break}t.length>0&&(yield t)}function U$t(e){return/^\\u\{[\da-f]+\}$/iu.test(e.raw)}var Cvs={*surrogatePairWithoutUFlag(e){for(let[t,r]of e.entries()){let n=e[t-1];n&&r&&yvs(n.value,r.value)&&!U$t(n)&&!U$t(r)&&(yield[n,r])}},*surrogatePair(e){for(let[t,r]of e.entries()){let n=e[t-1];n&&r&&yvs(n.value,r.value)&&(U$t(n)||U$t(r))&&(yield[n,r])}},*combiningClass(e,t){for(let[r,n]of e.entries()){let i=t[r-1];i&&n&&gvs(n.value)&&!gvs(i.value)&&(yield[i,n])}},*emojiModifier(e){for(let[t,r]of e.entries()){let n=e[t-1];n&&r&&Avs(r.value)&&!Avs(n.value)&&(yield[n,r])}},*regionalIndicatorSymbol(e){for(let[t,r]of e.entries()){let n=e[t-1];n&&r&&hvs(r.value)&&hvs(n.value)&&(yield[n,r])}},*zwj(e){let t=null;for(let[r,n]of e.entries()){let i=e[r-1],s=e[r+1];i&&n&&s&&n.value===8205&&i.value!==8205&&s.value!==8205&&(t?t.at(-1)===i?t.push(n,s):(yield t,t=e.slice(r-1,r+2)):t=e.slice(r-1,r+2))}t&&(yield t)}},k4l=Object.keys(Cvs);function P4l(e,t){if(!e)return null;if(e.type==="Literal"&&e.regex)return{regex:e.regex};let r=S4l(e,t);return r?.value instanceof RegExp?null:r}function bvs(e,t){return t.startsWith("\\")?/(?<=^\\+).$/su.exec(t)?.[0]!==String.fromCodePoint(e.value):!1}function vvs(e,t,r){let n=e.start,i=e.end-1,s=r[n].start,a=r[i].end,u=t.slice(s,a);return bvs(e,u)}Ivs.exports={meta:{type:"problem",defaultOptions:[{allowEscape:!1}],docs:{description:"Disallow characters which are made with multiple code points in character class syntax",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-misleading-character-class"},hasSuggestions:!0,schema:[{type:"object",properties:{allowEscape:{type:"boolean"}},additionalProperties:!1}],messages:{surrogatePairWithoutUFlag:"Unexpected surrogate pair in character class. Use 'u' flag.",surrogatePair:"Unexpected surrogate pair in character class.",combiningClass:"Unexpected combined character in character class.",emojiModifier:"Unexpected modified Emoji in character class.",regionalIndicatorSymbol:"Unexpected national flag in character class.",zwj:"Unexpected joined character sequence in character class.",suggestUnicodeFlag:"Add unicode 'u' flag to regex."}},create(e){let[{allowEscape:t}]=e.options,r=e.sourceCode,n=new D4l,i=new Set;function s(a,u,l,f){let p;try{p=n.parsePattern(u,0,u.length,{unicode:l.includes("u"),unicodeSets:l.includes("v")})}catch{return}let g=null;function A(E){if(a.type==="Literal"&&a.regex)return bvs(E,E.raw);if(a.type==="Literal"&&typeof a.value=="string"){let b=a.raw;return g??=Evs(b),vvs(E,b,g)}if(wrn.isStaticTemplateLiteral(a)){let b=r.getText(a);return g??=xvs(b),vvs(E,b,g)}return!1}let h=new Map;w4l(p,{onCharacterClassEnter(E){for(let b of B4l(E.elements)){let D;t?D=b.map(k=>A(k)?null:k):D=b;for(let k of k4l){let M=Cvs[k](D,b);h.has(k)?h.get(k).push(...M):h.set(k,[...M])}}}});function _(E){return!wrn.isStaticTemplateLiteral(a)&&a.type!=="Literal"?E.length?[a.loc]:[]:E.map(b=>{let D=b[0].start,k=b.at(-1).end-1,M,R;if(a.type==="TemplateLiteral"){let q=r.getText(a),G=a.range[0];g??=xvs(q),M=G+g[D].start,R=G+g[k].end}else if(typeof a.value=="string"){let q=a.raw,G=a.range[0];g??=Evs(q),M=G+g[D].start,R=G+g[k].end}else{let q=a.range[0]+1;M=q+D,R=q+k+1}return{start:r.getLocFromIndex(M),end:r.getLocFromIndex(R)}})}for(let[E,b]of h){let D;E==="surrogatePairWithoutUFlag"&&(D=[{messageId:"suggestUnicodeFlag",fix:f}]);let k=_(b);for(let M of k)e.report({node:a,loc:M,messageId:E,suggest:D})}}return{"Literal[regex]"(a){i.has(a)||s(a,a.regex.pattern,a.regex.flags,u=>_vs(e.languageOptions.ecmaVersion,a.regex.pattern)?u.insertTextAfter(a,"u"):null)},Program(a){let u=r.getScope(a),l=new I4l(u);for(let{node:f}of l.iterateGlobalReferences({RegExp:{[C4l]:!0,[b4l]:!0}})){let p,g,[A,h]=f.arguments,_=P4l(A,u);if(_){if(h)_.regex?(p=_.regex.pattern,i.add(A)):p=String(_.value),g=T4l(h,u);else{if(_.regex)continue;p=String(_.value),g=""}typeof g=="string"&&s(A,p,g,E=>{if(!_vs(e.languageOptions.ecmaVersion,p))return null;if(f.arguments.length===1){let b=r.getLastToken(f,{skip:1});return E.insertTextAfter(b,wrn.isCommaToken(b)?' "u",':', "u"')}if(h.type==="Literal"&&typeof h.value=="string"||h.type==="TemplateLiteral"){let b=[h.range[0],h.range[1]-1];return E.insertTextAfterRange(b,"u")}return null})}}}}}}});var Nvs=j((IyA,Pvs)=>{"use strict";var q$t=ao(),Tvs=["+","-","*","/","%","**"],Dvs=["&","|","^","~","<<",">>",">>>"],wvs=["==","!=","===","!==",">",">=","<","<="],Bvs=["&&","||"],kvs=["in","instanceof"],N4l=["?:"],O4l=["??"],R4l=[].concat(Tvs,Dvs,wvs,Bvs,kvs,N4l,O4l),F4l=[Tvs,Dvs,wvs,Bvs,kvs],L4l=/^(?:Binary|Logical|Conditional)Expression$/u;function M4l(e={}){let r=e.groups&&e.groups.length>0?e.groups:F4l,n=e.allowSamePrecedence!==!1;return{groups:r,allowSamePrecedence:n}}function Q4l(e,t,r){return e.some(n=>n.includes(t)&&n.includes(r))}function Brn(e){return e.type==="ConditionalExpression"?e.test:e.left}Pvs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-mixed-operators",url:"https://eslint.style/rules/no-mixed-operators"}}]},type:"suggestion",docs:{description:"Disallow mixed binary operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-operators"},schema:[{type:"object",properties:{groups:{type:"array",items:{type:"array",items:{enum:R4l},minItems:2,uniqueItems:!0},uniqueItems:!0},allowSamePrecedence:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedMixedOperator:"Unexpected mix of '{{leftOperator}}' and '{{rightOperator}}'. Use parentheses to clarify the intended order of operations."}},create(e){let t=e.sourceCode,r=M4l(e.options[0]);function n(l){let f=l,p=l.parent;return!Q4l(r.groups,f.operator,p.type==="ConditionalExpression"?"?:":p.operator)||r.allowSamePrecedence&&q$t.getPrecedence(f)===q$t.getPrecedence(p)}function i(l){return l.operator!==l.parent.operator&&!q$t.isParenthesised(t,l)}function s(l){return t.getTokenAfter(Brn(l),q$t.isNotClosingParenToken)}function a(l){let f=l.parent,p=Brn(f)===l?l:f,g=Brn(f)!==l?l:f,A={leftOperator:p.operator||"?:",rightOperator:g.operator||"?:"};e.report({node:p,loc:s(p).loc,messageId:"unexpectedMixedOperator",data:A}),e.report({node:g,loc:s(g).loc,messageId:"unexpectedMixedOperator",data:A})}function u(l){L4l.test(l.parent.type)&&i(l)&&!n(l)&&a(l)}return{BinaryExpression:u,LogicalExpression:u}}}});var Rvs=j((SyA,Ovs)=>{"use strict";Ovs.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-mixed-requires",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-mixed-requires.md"}}]},type:"suggestion",docs:{description:"Disallow `require` calls to be mixed with regular variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-requires"},schema:[{oneOf:[{type:"boolean"},{type:"object",properties:{grouping:{type:"boolean"},allowCall:{type:"boolean"}},additionalProperties:!1}]}],messages:{noMixRequire:"Do not mix 'require' and other declarations.",noMixCoreModuleFileComputed:"Do not mix core, module, file and computed requires."}},create(e){let t=e.options[0],r=!1,n=!1;typeof t=="object"?(r=t.grouping,n=t.allowCall):r=!!t;function i(){return["assert","buffer","child_process","cluster","crypto","dgram","dns","domain","events","fs","http","https","net","os","path","punycode","querystring","readline","repl","smalloc","stream","string_decoder","tls","tty","url","util","v8","vm","zlib"]}let s=i(),a="require",u="uninitialized",l="other",f="core",p="file",g="module",A="computed";function h(D){return D?D.type==="CallExpression"&&D.callee.type==="Identifier"&&D.callee.name==="require"?a:n&&D.type==="CallExpression"&&D.callee.type==="CallExpression"?h(D.callee):D.type==="MemberExpression"?h(D.object):l:u}function _(D){if(D.type==="MemberExpression")return _(D.object);if(D.arguments.length===0)return A;let k=D.arguments[0];return k.type!=="Literal"||typeof k.value!="string"?A:s.includes(k.value)?f:/^\.{0,2}\//u.test(k.value)?p:g}function E(D){let k={};return D.forEach(M=>{let R=h(M.init);k[R]=!0}),!!(k[a]&&(k[u]||k[l]))}function b(D){let k={};return D.forEach(M=>{h(M.init)===a&&(k[_(M.init)]=!0)}),Object.keys(k).length<=1}return{VariableDeclaration(D){E(D.declarations)?e.report({node:D,messageId:"noMixRequire"}):r&&!b(D.declarations)&&e.report({node:D,messageId:"noMixCoreModuleFileComputed"})}}}}});var Lvs=j((TyA,Fvs)=>{"use strict";Fvs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-mixed-spaces-and-tabs",url:"https://eslint.style/rules/no-mixed-spaces-and-tabs"}}]},type:"layout",docs:{description:"Disallow mixed spaces and tabs for indentation",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-mixed-spaces-and-tabs"},schema:[{enum:["smart-tabs",!0,!1]}],messages:{mixedSpacesAndTabs:"Mixed spaces and tabs."}},create(e){let t=e.sourceCode,r;switch(e.options[0]){case!0:case"smart-tabs":r=!0;break;default:r=!1}return{"Program:exit"(n){let i=t.lines,s=t.getAllComments(),a=new Set;s.forEach(l=>{for(let f=l.loc.start.line+1;f<=l.loc.end.line;f++)a.add(f)});let u=/^(?=( +|\t+))\1(?:\t| )/u;r&&(u=/^(?=(\t*))\1(?=( +))\2\t/u),i.forEach((l,f)=>{let p=u.exec(l);if(p){let g=f+1,A={start:{line:g,column:p[0].length-2},end:{line:g,column:p[0].length}};if(!a.has(g)){let h=t.getNodeByRangeIndex(t.getIndexFromLoc(A.start));h&&["Literal","TemplateElement"].includes(h.type)||e.report({node:n,loc:A,messageId:"mixedSpacesAndTabs"})}}})}}}}});var Qvs=j((DyA,Mvs)=>{"use strict";Mvs.exports={meta:{type:"suggestion",defaultOptions:[{ignoreNonDeclaration:!1}],docs:{description:"Disallow use of chained assignment expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-multi-assign"},schema:[{type:"object",properties:{ignoreNonDeclaration:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedChain:"Unexpected chained assignment."}},create(e){let[{ignoreNonDeclaration:t}]=e.options,r=["VariableDeclarator > AssignmentExpression.init","PropertyDefinition > AssignmentExpression.value"];return t||r.push("AssignmentExpression > AssignmentExpression.right"),{[r](n){e.report({node:n,messageId:"unexpectedChain"})}}}}});var Uvs=j((wyA,jvs)=>{"use strict";var j4l=ao();jvs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-multi-spaces",url:"https://eslint.style/rules/no-multi-spaces"}}]},type:"layout",docs:{description:"Disallow multiple spaces",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-multi-spaces"},fixable:"whitespace",schema:[{type:"object",properties:{exceptions:{type:"object",patternProperties:{"^([A-Z][a-z]*)+$":{type:"boolean"}},additionalProperties:!1},ignoreEOLComments:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{multipleSpaces:"Multiple spaces found before '{{displayValue}}'."}},create(e){let t=e.sourceCode,r=e.options[0]||{},n=r.ignoreEOLComments,i=Object.assign({Property:!0},r.exceptions),s=Object.keys(i).some(u=>i[u]);function a(u){let l=u.value.split(` `),f=l[0],p=`${f.slice(0,12)}...`;return l.length===1&&f.length<=12?f:p}return{Program(){t.tokensAndComments.forEach((u,l,f)=>{if(l===f.length-1)return;let p=f[l+1];if(!t.text.slice(u.range[1],p.range[0]).includes(" ")||u.loc.end.lineA.replaceTextRange([u.range[1],p.range[0]]," ")})})}}}}});var Yvs=j((ByA,qvs)=>{"use strict";var U4l=ao();qvs.exports={meta:{type:"suggestion",docs:{description:"Disallow multiline strings",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-multi-str"},schema:[],messages:{multilineString:"Multiline support is limited to browsers supporting ES5 only."}},create(e){function t(r){return r.type.indexOf("JSX")===0}return{Literal(r){U4l.LINEBREAK_MATCHER.test(r.raw)&&!t(r.parent)&&e.report({node:r,messageId:"multilineString"})}}}}});var Vvs=j((kyA,Gvs)=>{"use strict";Gvs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-multiple-empty-lines",url:"https://eslint.style/rules/no-multiple-empty-lines"}}]},type:"layout",docs:{description:"Disallow multiple empty lines",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-multiple-empty-lines"},fixable:"whitespace",schema:[{type:"object",properties:{max:{type:"integer",minimum:0},maxEOF:{type:"integer",minimum:0},maxBOF:{type:"integer",minimum:0}},required:["max"],additionalProperties:!1}],messages:{blankBeginningOfFile:"Too many blank lines at the beginning of file. Max of {{max}} allowed.",blankEndOfFile:"Too many blank lines at the end of file. Max of {{max}} allowed.",consecutiveBlank:"More than {{max}} blank {{pluralizedLines}} not allowed."}},create(e){let t=2,r=t,n=t;e.options.length&&(t=e.options[0].max,r=typeof e.options[0].maxEOF<"u"?e.options[0].maxEOF:t,n=typeof e.options[0].maxBOF<"u"?e.options[0].maxBOF:t);let i=e.sourceCode,s=i.lines.at(-1)===""?i.lines.slice(0,-1):i.lines,a=new Set;return{TemplateLiteral(u){u.quasis.forEach(l=>{for(let f=l.loc.start.line;f((f.trim()||a.has(p+1))&&l.push(p+1),l),[]).concat(s.length+1).reduce((l,f)=>{let p,g;return l===0?(p="blankBeginningOfFile",g=n):f===s.length+1?(p="blankEndOfFile",g=r):(p="consecutiveBlank",g=t),f-l-1>g&&e.report({node:u,loc:{start:{line:l+g+1,column:0},end:{line:f,column:0}},messageId:p,data:{max:g,pluralizedLines:g===1?"line":"lines"},fix(A){let h=i.getIndexFromLoc({line:l+1,column:0}),_=f-g,E=_<=s.length?i.getIndexFromLoc({line:_,column:0}):i.text.length;return A.removeRange([h,E])}}),f},0)}}}}});var Kvs=j((PyA,$vs)=>{"use strict";$vs.exports={meta:{type:"suggestion",docs:{description:"Disallow assignments to native objects or read-only global variables",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-native-reassign"},deprecated:{message:"Renamed rule.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-global-assign",url:"https://eslint.org/docs/rules/no-global-assign"}}]},schema:[{type:"object",properties:{exceptions:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}],messages:{nativeReassign:"Read-only global '{{name}}' should not be modified."}},create(e){let t=e.options[0],r=t&&t.exceptions||[],n=e.sourceCode;function i(a,u,l){let f=a.identifier;a.init===!1&&a.isWrite()&&(u===0||l[u-1].identifier!==f)&&e.report({node:f,messageId:"nativeReassign",data:f})}function s(a){a.writeable===!1&&!r.includes(a.name)&&a.references.forEach(i)}return{Program(a){n.getScope(a).variables.forEach(s)}}}}});var Hvs=j((NyA,Jvs)=>{"use strict";Jvs.exports={meta:{type:"suggestion",docs:{description:"Disallow negated conditions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-negated-condition"},schema:[],messages:{unexpectedNegated:"Unexpected negated condition."}},create(e){function t(s){return s.alternate&&s.alternate.type!=="IfStatement"}function r(s){return s.type==="UnaryExpression"&&s.operator==="!"}function n(s){return s.type==="BinaryExpression"&&(s.operator==="!="||s.operator==="!==")}function i(s){return r(s.test)||n(s.test)}return{IfStatement(s){t(s)&&i(s)&&e.report({node:s,messageId:"unexpectedNegated"})},ConditionalExpression(s){i(s)&&e.report({node:s,messageId:"unexpectedNegated"})}}}}});var Wvs=j((OyA,zvs)=>{"use strict";zvs.exports={meta:{type:"problem",docs:{description:"Disallow negating the left operand in `in` expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-negated-in-lhs"},deprecated:{message:"Renamed rule.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-unsafe-negation",url:"https://eslint.org/docs/rules/no-unsafe-negation"}}]},schema:[],messages:{negatedLHS:"The 'in' expression's left operand is negated."}},create(e){return{BinaryExpression(t){t.operator==="in"&&t.left.type==="UnaryExpression"&&t.left.operator==="!"&&e.report({node:t,messageId:"negatedLHS"})}}}}});var Zvs=j((RyA,Xvs)=>{"use strict";Xvs.exports={meta:{type:"suggestion",docs:{description:"Disallow nested ternary expressions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-nested-ternary"},schema:[],messages:{noNestedTernary:"Do not nest ternary expressions."}},create(e){return{ConditionalExpression(t){(t.alternate.type==="ConditionalExpression"||t.consequent.type==="ConditionalExpression")&&e.report({node:t,messageId:"noNestedTernary"})}}}}});var tCs=j((FyA,eCs)=>{"use strict";eCs.exports={meta:{type:"suggestion",docs:{description:"Disallow `new` operators outside of assignments or comparisons",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new"},schema:[],messages:{noNewStatement:"Do not use 'new' for side effects."}},create(e){return{"ExpressionStatement > NewExpression"(t){e.report({node:t.parent,messageId:"noNewStatement"})}}}}});var nCs=j((LyA,rCs)=>{"use strict";var q4l=ao(),Y4l=new Set(["apply","bind","call"]);rCs.exports={meta:{type:"suggestion",docs:{description:"Disallow `new` operators with the `Function` object",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-func"},schema:[],messages:{noFunctionConstructor:"The Function constructor is eval."}},create(e){let t=e.sourceCode;return{"Program:exit"(r){let i=t.getScope(r).set.get("Function");i&&i.defs.length===0&&i.references.forEach(s=>{let a=s.identifier,{parent:u}=a,l;if(u){if(a===u.callee&&(u.type==="NewExpression"||u.type==="CallExpression"))l=u;else if(u.type==="MemberExpression"&&a===u.object&&Y4l.has(q4l.getStaticPropertyName(u))){let f=u.parent.type==="ChainExpression"?u.parent:u;f.parent.type==="CallExpression"&&f.parent.callee===f&&(l=f.parent)}}l&&e.report({node:l,messageId:"noFunctionConstructor"})})}}}}});var sCs=j((MyA,iCs)=>{"use strict";var G4l=["Symbol","BigInt"];iCs.exports={meta:{type:"problem",docs:{description:"Disallow `new` operators with global non-constructor functions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-new-native-nonconstructor"},schema:[],messages:{noNewNonconstructor:"`{{name}}` cannot be called as a constructor."}},create(e){let t=e.sourceCode;return{"Program:exit"(r){let n=t.getScope(r);for(let i of G4l){let s=n.set.get(i);s&&s.defs.length===0&&s.references.forEach(a=>{let u=a.identifier,l=u.parent;l&&l.type==="NewExpression"&&l.callee===u&&e.report({node:u,messageId:"noNewNonconstructor",data:{name:i}})})}}}}}});var oCs=j((QyA,aCs)=>{"use strict";var V4l=ao();aCs.exports={meta:{type:"suggestion",docs:{description:"Disallow `Object` constructors",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-object"},deprecated:{message:"The new rule flags more situations where object literal syntax can be used, and it does not report a problem when the `Object` constructor is invoked with an argument.",url:"https://eslint.org/blog/2023/09/eslint-v8.50.0-released/",deprecatedSince:"8.50.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-object-constructor",url:"https://eslint.org/docs/rules/no-object-constructor"}}]},schema:[],messages:{preferLiteral:"The object literal notation {} is preferable."}},create(e){let t=e.sourceCode;return{NewExpression(r){let n=V4l.getVariableByName(t.getScope(r),r.callee.name);n&&n.identifiers.length>0||r.callee.name==="Object"&&e.report({node:r,messageId:"preferLiteral"})}}}}});var lCs=j((jyA,uCs)=>{"use strict";uCs.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-new-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-new-require.md"}}]},type:"suggestion",docs:{description:"Disallow `new` operators with calls to `require`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-require"},schema:[],messages:{noNewRequire:"Unexpected use of new with require."}},create(e){return{NewExpression(t){t.callee.type==="Identifier"&&t.callee.name==="require"&&e.report({node:t,messageId:"noNewRequire"})}}}}});var fCs=j((UyA,cCs)=>{"use strict";cCs.exports={meta:{type:"problem",docs:{description:"Disallow `new` operators with the `Symbol` object",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-symbol"},deprecated:{message:"The rule was replaced with a more general rule.",url:"https://eslint.org/docs/latest/use/migrate-to-9.0.0#eslint-recommended",deprecatedSince:"9.0.0",availableUntil:"11.0.0",replacedBy:[{rule:{name:"no-new-native-nonconstructor",url:"https://eslint.org/docs/latest/rules/no-new-native-nonconstructor"}}]},schema:[],messages:{noNewSymbol:"`Symbol` cannot be called as a constructor."}},create(e){let t=e.sourceCode;return{"Program:exit"(r){let i=t.getScope(r).set.get("Symbol");i&&i.defs.length===0&&i.references.forEach(s=>{let a=s.identifier,u=a.parent;u&&u.type==="NewExpression"&&u.callee===a&&e.report({node:a,messageId:"noNewSymbol"})})}}}}});var dCs=j((qyA,pCs)=>{"use strict";var{getVariableByName:$4l}=ao();pCs.exports={meta:{type:"suggestion",docs:{description:"Disallow `new` operators with the `String`, `Number`, and `Boolean` objects",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-new-wrappers"},schema:[],messages:{noConstructor:"Do not use {{fn}} as a constructor."}},create(e){let{sourceCode:t}=e;return{NewExpression(r){let n=["String","Number","Boolean"],{name:i}=r.callee;if(n.includes(i)){let s=$4l(t.getScope(r),i);s&&s.identifiers.length===0&&e.report({node:r,messageId:"noConstructor",data:{fn:i}})}}}}}});var ACs=j((YyA,gCs)=>{"use strict";var K4l=/\\[89]/u;function mCs(e){return`\\u${e.charCodeAt(0).toString(16).padStart(4,"0")}`}gCs.exports={meta:{type:"suggestion",docs:{description:"Disallow `\\8` and `\\9` escape sequences in string literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-nonoctal-decimal-escape"},hasSuggestions:!0,schema:[],messages:{decimalEscape:"Don't use '{{decimalEscape}}' escape sequence.",refactor:"Replace '{{original}}' with '{{replacement}}'. This maintains the current functionality.",escapeBackslash:"Replace '{{original}}' with '{{replacement}}' to include the actual backslash character."}},create(e){let t=e.sourceCode;function r(n,i,s){return{messageId:n,data:{original:t.getText().slice(...i),replacement:s},fix(a){return a.replaceTextRange(i,s)}}}return{Literal(n){if(typeof n.value!="string"||!K4l.test(n.raw))return;let i=/(?:[^\\]|(?\\.))*?(?\\[89])/suy,s;for(;s=i.exec(n.raw);){let{previousEscape:a,decimalEscape:u}=s.groups,l=n.range[0]+s.index+s[0].length,f=l-u.length,p=[f,l],g=[];a==="\\0"?g.push(r("refactor",[f-a.length,l],`${mCs("\0")}${u[1]}`),r("refactor",p,mCs(u[1]))):g.push(r("refactor",p,u[1])),g.push(r("escapeBackslash",p,`\\${u}`)),e.report({node:n,loc:{start:t.getLocFromIndex(f),end:t.getLocFromIndex(l)},messageId:"decimalEscape",data:{decimalEscape:u},suggest:g})}}}}}});var _Cs=j((GyA,yCs)=>{"use strict";var{CALL:J4l,CONSTRUCT:H4l,ReferenceTracker:z4l}=NS(),W4l=ao().getStaticPropertyName,X4l=["Atomics","JSON","Math","Reflect","Intl"];function hCs(e){return e.type==="ChainExpression"?hCs(e.expression):e.type==="MemberExpression"?W4l(e):e.name}yCs.exports={meta:{type:"problem",docs:{description:"Disallow calling global object properties as functions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-obj-calls"},schema:[],messages:{unexpectedCall:"'{{name}}' is not a function.",unexpectedRefCall:"'{{name}}' is reference to '{{ref}}', which is not a function."}},create(e){let t=e.sourceCode;return{Program(r){let n=t.getScope(r),i=new z4l(n),s={};for(let a of X4l)s[a]={[J4l]:!0,[H4l]:!0};for(let{node:a,path:u}of i.iterateGlobalReferences(s)){let l=hCs(a.callee),f=u[0],p=l===f?"unexpectedCall":"unexpectedRefCall";e.report({node:a,messageId:p,data:{name:l,ref:f}})}}}}}});var xCs=j((VyA,ECs)=>{"use strict";var{getVariableByName:Z4l,isArrowToken:eBl,isStartOfExpressionStatement:tBl,needsPrecedingSemicolon:rBl}=ao();ECs.exports={meta:{type:"suggestion",docs:{description:"Disallow calls to the `Object` constructor without an argument",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-object-constructor"},hasSuggestions:!0,schema:[],messages:{preferLiteral:"The object literal notation {} is preferable.",useLiteral:"Replace with '{{replacement}}'.",useLiteralAfterSemicolon:"Replace with '{{replacement}}', add preceding semicolon."}},create(e){let t=e.sourceCode;function r(i){if(tBl(i))return!0;let s=t.getTokenBefore(i);return!!(s&&eBl(s))}function n(i){if(i.callee.type!=="Identifier"||i.callee.name!=="Object"||i.arguments.length)return;let s=Z4l(t.getScope(i),"Object");if(s&&s.identifiers.length===0){let a,u,l="useLiteral";r(i)?(a="({})",rBl(t,i)?(u=";({})",l="useLiteralAfterSemicolon"):u="({})"):a=u="{}",e.report({node:i,messageId:"preferLiteral",suggest:[{messageId:l,data:{replacement:a},fix:f=>f.replaceText(i,u)}]})}}return{CallExpression:n,NewExpression:n}}}});var CCs=j(($yA,vCs)=>{"use strict";vCs.exports={meta:{type:"suggestion",docs:{description:"Disallow octal literals",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-octal"},schema:[],messages:{noOctal:"Octal literals should not be used."}},create(e){return{Literal(t){typeof t.value=="number"&&/^0\d/u.test(t.raw)&&e.report({node:t,messageId:"noOctal"})}}}}});var ICs=j((KyA,bCs)=>{"use strict";bCs.exports={meta:{type:"suggestion",docs:{description:"Disallow octal escape sequences in string literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-octal-escape"},schema:[],messages:{octalEscapeSequence:"Don't use octal: '\\{{sequence}}'. Use '\\u....' instead."}},create(e){return{Literal(t){if(typeof t.value!="string")return;let r=t.raw.match(/^(?:[^\\]|\\.)*?\\([0-3][0-7]{1,2}|[4-7][0-7]|0(?=[89])|[1-7])/su);r&&e.report({node:t,messageId:"octalEscapeSequence",data:{sequence:r[1]}})}}}}});var TCs=j((JyA,SCs)=>{"use strict";var nBl=/(?:Statement|Declaration|Function(?:Expression)?|Program)$/u;SCs.exports={meta:{type:"suggestion",docs:{description:"Disallow reassigning function parameters",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-param-reassign"},schema:[{oneOf:[{type:"object",properties:{props:{enum:[!1]}},additionalProperties:!1},{type:"object",properties:{props:{enum:[!0]},ignorePropertyModificationsFor:{type:"array",items:{type:"string"},uniqueItems:!0},ignorePropertyModificationsForRegex:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]}],messages:{assignmentToFunctionParam:"Assignment to function parameter '{{name}}'.",assignmentToFunctionParamProp:"Assignment to property of function parameter '{{name}}'."}},create(e){let t=e.options[0]&&e.options[0].props,r=e.options[0]&&e.options[0].ignorePropertyModificationsFor||[],n=e.options[0]&&e.options[0].ignorePropertyModificationsForRegex||[],i=e.sourceCode;function s(p){let g=p.identifier,A=g.parent;for(;A&&(!nBl.test(A.type)||A.type==="ForInStatement"||A.type==="ForOfStatement");){switch(A.type){case"AssignmentExpression":return A.left===g;case"UpdateExpression":return!0;case"UnaryExpression":if(A.operator==="delete")return!0;break;case"ForInStatement":case"ForOfStatement":return A.left===g;case"CallExpression":if(A.callee!==g)return!1;break;case"MemberExpression":if(A.property===g)return!1;break;case"Property":if(A.key===g)return!1;break;case"ConditionalExpression":if(A.test===g)return!1;break}g=A,A=g.parent}return!1}function a(p){return r.includes(p)||n.some(g=>new RegExp(g,"u").test(p))}function u(p,g,A){let h=p.identifier;h&&!p.init&&(g===0||A[g-1].identifier!==h)&&(p.isWrite()?e.report({node:h,messageId:"assignmentToFunctionParam",data:{name:h.name}}):t&&s(p)&&!a(h.name)&&e.report({node:h,messageId:"assignmentToFunctionParamProp",data:{name:h.name}}))}function l(p){p.defs[0].type==="Parameter"&&p.references.forEach(u)}function f(p){i.getDeclaredVariables(p).forEach(l)}return{"FunctionDeclaration:exit":f,"FunctionExpression:exit":f,"ArrowFunctionExpression:exit":f}}}});var wCs=j((HyA,DCs)=>{"use strict";DCs.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-path-concat",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-path-concat.md"}}]},type:"suggestion",docs:{description:"Disallow string concatenation with `__dirname` and `__filename`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-path-concat"},schema:[],messages:{usePathFunctions:"Use path.join() or path.resolve() instead of + to create paths."}},create(e){let t=/^__(?:dir|file)name$/u;return{BinaryExpression(r){let n=r.left,i=r.right;r.operator==="+"&&(n.type==="Identifier"&&t.test(n.name)||i.type==="Identifier"&&t.test(i.name))&&e.report({node:r,messageId:"usePathFunctions"})}}}}});var PCs=j((zyA,kCs)=>{"use strict";function iBl(e){let t=e.parent;return t.type==="ForStatement"&&t.update===e}function BCs(e){let t=e.parent;return t.type==="SequenceExpression"?BCs(t):iBl(e)}kCs.exports={meta:{type:"suggestion",defaultOptions:[{allowForLoopAfterthoughts:!1}],docs:{description:"Disallow the unary operators `++` and `--`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-plusplus"},schema:[{type:"object",properties:{allowForLoopAfterthoughts:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedUnaryOp:"Unary operator '{{operator}}' used."}},create(e){let[{allowForLoopAfterthoughts:t}]=e.options;return{UpdateExpression(r){t&&BCs(r)||e.report({node:r,messageId:"unexpectedUnaryOp",data:{operator:r.operator}})}}}}});var OCs=j((WyA,NCs)=>{"use strict";NCs.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-process-env",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-process-env.md"}}]},type:"suggestion",docs:{description:"Disallow the use of `process.env`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-process-env"},schema:[],messages:{unexpectedProcessEnv:"Unexpected use of process.env."}},create(e){return{MemberExpression(t){let r=t.object.name,n=t.property.name;r==="process"&&!t.computed&&n&&n==="env"&&e.report({node:t,messageId:"unexpectedProcessEnv"})}}}}});var FCs=j((XyA,RCs)=>{"use strict";RCs.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-process-exit",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-process-exit.md"}}]},type:"suggestion",docs:{description:"Disallow the use of `process.exit()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-process-exit"},schema:[],messages:{noProcessExit:"Don't use process.exit(); throw an error instead."}},create(e){return{"CallExpression > MemberExpression.callee[object.name = 'process'][property.name = 'exit']"(t){e.report({node:t.parent,messageId:"noProcessExit"})}}}}});var jCs=j((ZyA,QCs)=>{"use strict";var Kft=ao(),sBl=new Set(["ArrowFunctionExpression","FunctionExpression"]);function aBl(e,t){let r=e.parent;return r.type==="NewExpression"&&r.arguments[0]===e&&r.callee.type==="Identifier"&&r.callee.name==="Promise"&&t.isGlobalReference(r.callee)}function LCs(e){return e.type==="UnaryExpression"&&e.operator==="void"}function MCs(e,t,r){let n=Kft.getPrecedence(t)u.type==="Keyword"&&u.value==="return"),s=e.getTokenAfter(i),a=i.value==="return"&&i.range[1]===s.range[0];return[r.insertTextBefore(s,`${a?" ":""}void ${n?"(":""}`),r.insertTextAfter(t,n?")":"")]}function oBl(e,t,r){let n=e.getTokenBefore(t.body,Kft.isArrowToken),i=e.getTokenAfter(n),s=e.getLastToken(t);return[r.insertTextBefore(i,"{"),r.insertTextAfter(s,"}")]}QCs.exports={meta:{type:"problem",defaultOptions:[{allowVoid:!1}],docs:{description:"Disallow returning values from Promise executor functions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-promise-executor-return"},hasSuggestions:!0,schema:[{type:"object",properties:{allowVoid:{type:"boolean"}},additionalProperties:!1}],messages:{returnsValue:"Return values from promise executor functions cannot be read.",prependVoid:"Prepend `void` to the expression.",wrapBraces:"Wrap the expression in `{}`."}},create(e){let t=null,r=e.sourceCode,[{allowVoid:n}]=e.options;return{onCodePathStart(i,s){if(t={upper:t,shouldCheck:sBl.has(s.type)&&aBl(s,r)},t.shouldCheck&&s.type==="ArrowFunctionExpression"&&s.expression&&!(n&&LCs(s.body))){let a=[];n&&a.push({messageId:"prependVoid",fix(u){return MCs(r,s.body,u)}}),s.body.type==="FunctionExpression"&&!s.body.id||a.push({messageId:"wrapBraces",fix(u){return oBl(r,s,u)}}),e.report({node:s.body,messageId:"returnsValue",suggest:a})}},onCodePathEnd(){t=t.upper},ReturnStatement(i){if(t.shouldCheck&&i.argument){if(!n){e.report({node:i,messageId:"returnsValue"});return}LCs(i.argument)||e.report({node:i,messageId:"returnsValue",suggest:[{messageId:"prependVoid",fix(s){return MCs(r,i.argument,s)}}]})}}}}}});var qCs=j((e_A,UCs)=>{"use strict";var{getStaticPropertyName:uBl}=ao();UCs.exports={meta:{type:"suggestion",docs:{description:"Disallow the use of the `__proto__` property",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-proto"},schema:[],messages:{unexpectedProto:"The '__proto__' property is deprecated."}},create(e){return{MemberExpression(t){uBl(t)==="__proto__"&&e.report({node:t,messageId:"unexpectedProto"})}}}}});var VCs=j((t_A,GCs)=>{"use strict";var OGe=ao();function YCs(e){let t;if(e.type==="MemberExpression")t=e.object;else if(e.type==="CallExpression")t=e.callee;else return!1;return e.optional?!0:YCs(t)}GCs.exports={meta:{type:"problem",docs:{description:"Disallow calling some `Object.prototype` methods directly on objects",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-prototype-builtins"},hasSuggestions:!0,schema:[],messages:{prototypeBuildIn:"Do not access Object.prototype method '{{prop}}' from target object.",callObjectPrototype:"Call Object.prototype.{{prop}} explicitly."}},create(e){let t=new Set(["hasOwnProperty","isPrototypeOf","propertyIsEnumerable"]);function r(n){let i=OGe.skipChainExpression(n.callee);if(i.type!=="MemberExpression")return;let s=OGe.getStaticPropertyName(i);s!==null&&t.has(s)&&e.report({messageId:"prototypeBuildIn",loc:i.property.loc,data:{prop:s},node:n,suggest:[{messageId:"callObjectPrototype",data:{prop:s},fix(a){let u=e.sourceCode;if(YCs(n)||n.callee.type==="ChainExpression")return null;let l=OGe.getVariableByName(u.getScope(n),"Object");if(!l||l.scope.type!=="global"||l.defs.length>0)return null;let f=u.getText(i.object);OGe.getPrecedence(i.object)<=OGe.getPrecedence({type:"SequenceExpression"})&&(f=`(${f})`);let p=u.getTokenAfter(n.callee,OGe.isOpeningParenToken),A=n.arguments.length===0?"":", ";return[a.replaceText(i,`Object.prototype.${s}.call`),a.insertTextAfter(p,f+A)]}}]})}return{CallExpression:r}}}});var KCs=j((r_A,$Cs)=>{"use strict";var lBl=ao();$Cs.exports={meta:{type:"suggestion",defaultOptions:[{builtinGlobals:!0}],docs:{description:"Disallow variable redeclaration",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-redeclare"},messages:{redeclared:"'{{id}}' is already defined.",redeclaredAsBuiltin:"'{{id}}' is already defined as a built-in global variable.",redeclaredBySyntax:"'{{id}}' is already defined by a variable declaration."},schema:[{type:"object",properties:{builtinGlobals:{type:"boolean"}},additionalProperties:!1}]},create(e){let[{builtinGlobals:t}]=e.options,r=e.sourceCode;function*n(a){t&&(a.eslintImplicitGlobalSetting==="readonly"||a.eslintImplicitGlobalSetting==="writable")&&(yield{type:"builtin"});for(let u of a.identifiers)yield{type:"syntax",node:u,loc:u.loc};if(a.eslintExplicitGlobalComments)for(let u of a.eslintExplicitGlobalComments)yield{type:"comment",node:u,loc:lBl.getNameLocationInGlobalDirectiveComment(r,u,a.name)}}function i(a){for(let u of a.variables){let[l,...f]=n(u);if(f.length===0)continue;let p=l.type==="builtin"?"redeclaredAsBuiltin":"redeclaredBySyntax",g={id:u.name};for(let{type:A,node:h,loc:_}of f){let E=A===l.type?"redeclared":p;e.report({node:h,loc:_,messageId:E,data:g})}}}function s(a){let u=r.getScope(a);u.block===a&&i(u)}return{Program(a){let u=r.getScope(a);i(u),u.type==="global"&&u.childScopes[0]&&u.block===u.childScopes[0].block&&i(u.childScopes[0])},FunctionDeclaration:s,FunctionExpression:s,ArrowFunctionExpression:s,StaticBlock:s,BlockStatement:s,ForStatement:s,ForInStatement:s,ForOfStatement:s,SwitchStatement:s}}}});var WCs=j((n_A,zCs)=>{"use strict";var cBl=ao(),HCs=VQ(),fBl=new HCs.RegExpParser,pBl=/ {2}/u;function JCs(e){return e&&e.type==="Literal"&&typeof e.value=="string"}zCs.exports={meta:{type:"suggestion",docs:{description:"Disallow multiple spaces in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-regex-spaces"},schema:[],fixable:"code",messages:{multipleSpaces:"Spaces are hard to count. Use {{{length}}}."}},create(e){let t=e.sourceCode;function r(s,a,u,l,f){if(!pBl.test(u))return;let p=[],g;try{g=fBl.parsePattern(a,0,a.length,{unicode:f.includes("u"),unicodeSets:f.includes("v")})}catch{return}HCs.visitRegExpAST(g,{onCharacterClassEnter(_){p.push(_)}});let A=/( {2,})(?: [+*{?]|[^+*{?]|$)/gu,h;for(;h=A.exec(a);){let{1:{length:_},index:E}=h;if(p.every(({start:b,end:D})=>E0,f=s.arguments[0];if(s.callee.type==="Identifier"&&s.callee.name==="RegExp"&&JCs(f)&&!l){let p=f.value,g=f.raw.slice(1,-1),A=f.range[0]+1,h;if(s.arguments.length<2)h="";else{let _=s.arguments[1];if(JCs(_))h=_.value;else return}r(s,p,g,A,h)}}return{Literal:n,CallExpression:i,NewExpression:i}}}});var ebs=j((i_A,ZCs)=>{"use strict";var XCs=ao();ZCs.exports={meta:{type:"suggestion",docs:{description:"Disallow specified names in exports",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-exports"},schema:[{anyOf:[{type:"object",properties:{restrictedNamedExports:{type:"array",items:{type:"string"},uniqueItems:!0},restrictedNamedExportsPattern:{type:"string"}},additionalProperties:!1},{type:"object",properties:{restrictedNamedExports:{type:"array",items:{type:"string",pattern:"^(?!default$)"},uniqueItems:!0},restrictedNamedExportsPattern:{type:"string"},restrictDefaultExports:{type:"object",properties:{direct:{type:"boolean"},named:{type:"boolean"},defaultFrom:{type:"boolean"},namedFrom:{type:"boolean"},namespaceFrom:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1}]}],messages:{restrictedNamed:"'{{name}}' is restricted from being used as an exported name.",restrictedDefault:"Exporting 'default' is restricted."}},create(e){let t=new Set(e.options[0]&&e.options[0].restrictedNamedExports),r=e.options[0]&&e.options[0].restrictedNamedExportsPattern,n=e.options[0]&&e.options[0].restrictDefaultExports,i=e.sourceCode;function s(a){let u=XCs.getModuleExportName(a),l=!1;if(r&&u!=="default"&&(l=new RegExp(r,"u").test(u)),l||t.has(u)){e.report({node:a,messageId:"restrictedNamed",data:{name:u}});return}if(u==="default")if(a.parent.type==="ExportAllDeclaration")n&&n.namespaceFrom&&e.report({node:a,messageId:"restrictedDefault"});else{let f=!!a.parent.parent.source,p=XCs.getModuleExportName(a.parent.local);if(!f&&n&&n.named){e.report({node:a,messageId:"restrictedDefault"});return}f&&n&&(p==="default"&&n.defaultFrom||p!=="default"&&n.namedFrom)&&e.report({node:a,messageId:"restrictedDefault"})}}return{ExportAllDeclaration(a){a.exported&&s(a.exported)},ExportDefaultDeclaration(a){n&&n.direct&&e.report({node:a,messageId:"restrictedDefault"})},ExportNamedDeclaration(a){let u=a.declaration;u?u.type==="FunctionDeclaration"||u.type==="ClassDeclaration"?s(u.id):u.type==="VariableDeclaration"&&i.getDeclaredVariables(u).map(l=>l.defs.find(f=>f.parent===u)).map(l=>l.name).forEach(s):a.specifiers.map(l=>l.exported).forEach(s)}}}}});var nbs=j((s_A,rbs)=>{"use strict";var krn=ao(),dBl=new Set(["TSTypeReference","TSInterfaceHeritage","TSClassImplements","TSTypeQuery","TSQualifiedName"]),mBl=new Set(["globalThis","self","window"]),tbs={type:"array",items:{oneOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string"}},required:["name"],additionalProperties:!1}]},uniqueItems:!0,minItems:0};rbs.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow specified global variables",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-globals"},schema:{anyOf:[tbs,{type:"array",items:[{type:"object",properties:{globals:tbs,checkGlobalObject:{type:"boolean"},globalObjects:{type:"array",items:{type:"string"},uniqueItems:!0}},required:["globals"],additionalProperties:!1}],additionalItems:!1}]},messages:{defaultMessage:"Unexpected use of '{{name}}'.",customMessage:"Unexpected use of '{{name}}'. {{customMessage}}"}},create(e){let{sourceCode:t,options:r}=e,n=typeof r[0]=="object"&&Object.hasOwn(r[0],"globals"),i=n?r[0].globals:r,s=n?r[0].checkGlobalObject:!1,a=n?r[0].globalObjects||[]:[],u=new Set([...mBl,...a]);if(i.length===0)return{};let l=i.reduce((A,h)=>(typeof h=="string"?A[h]=null:A[h.name]=h.message,A),{});function f(A){let h=A.identifier.name,_=l[h],E=_?"customMessage":"defaultMessage";e.report({node:A.identifier,messageId:E,data:{name:h,customMessage:_}})}function p(A){return Object.hasOwn(l,A)}function g(A){let h=A.identifier.parent;return dBl.has(h.type)}return{Program(A){let h=t.getScope(A);h.variables.forEach(_=>{!_.defs.length&&p(_.name)&&_.references.forEach(E=>{g(E)||f(E)})}),h.through.forEach(_=>{p(_.identifier.name)&&!g(_)&&f(_)})},"Program:exit"(A){if(!s)return;let h=t.getScope(A);u.forEach(_=>{let E=krn.getVariableByName(h,_);E&&E.references.forEach(b=>{let k=b.identifier.parent;for(;krn.isSpecificMemberAccess(k,null,_);)k=k.parent;let M=krn.getStaticPropertyName(k);if(M&&p(M)){let R=l[M],q=R?"customMessage":"defaultMessage";e.report({node:k.property,messageId:q,data:{name:M,customMessage:R}})}})})}}}}});var Mrn=j((a_A,fbs)=>{function ibs(e){return Array.isArray(e)?e:[e]}var Orn="",sbs=" ",Prn="\\",gBl=/^\s+$/,ABl=/(?:[^\\]|^)\\$/,hBl=/^\\!/,yBl=/^\\#/,_Bl=/\r?\n/g,EBl=/^\.*\/|^\.+$/,Nrn="/",ubs="node-ignore";typeof Symbol<"u"&&(ubs=Symbol.for("node-ignore"));var abs=ubs,xBl=(e,t,r)=>Object.defineProperty(e,t,{value:r}),vBl=/([0-z])-([0-z])/g,lbs=()=>!1,CBl=e=>e.replace(vBl,(t,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?t:Orn),bBl=e=>{let{length:t}=e;return e.slice(0,t-t%2)},IBl=[[/^\uFEFF/,()=>Orn],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,r)=>t+(r.indexOf("\\")===0?sbs:Orn)],[/(\\+?)\s/g,(e,t)=>{let{length:r}=t;return t.slice(0,r-r%2)+sbs}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6{let n=r.replace(/\\\*/g,"[^\\/]*");return t+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>Prn],[/\\\\/g,()=>Prn],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>t===Prn?`\\[${r}${bBl(n)}${i}`:i==="]"&&n.length%2===0?`[${CBl(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],obs=Object.create(null),SBl=(e,t)=>{let r=obs[e];return r||(r=IBl.reduce((n,[i,s])=>n.replace(i,s.bind(e)),e),obs[e]=r),t?new RegExp(r,"i"):new RegExp(r)},Lrn=e=>typeof e=="string",TBl=e=>e&&Lrn(e)&&!gBl.test(e)&&!ABl.test(e)&&e.indexOf("#")!==0,DBl=e=>e.split(_Bl),Rrn=class{constructor(t,r,n,i){this.origin=t,this.pattern=r,this.negative=n,this.regex=i}},wBl=(e,t)=>{let r=e,n=!1;e.indexOf("!")===0&&(n=!0,e=e.substr(1)),e=e.replace(hBl,"!").replace(yBl,"#");let i=SBl(e,t);return new Rrn(r,e,n,i)},BBl=(e,t)=>{throw new t(e)},Aye=(e,t,r)=>Lrn(e)?e?Aye.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),cbs=e=>EBl.test(e);Aye.isNotRelative=cbs;Aye.convert=e=>e;var Frn=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:n=!1}={}){xBl(this,abs,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[abs]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(TBl(t)){let r=wBl(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,ibs(Lrn(t)?DBl(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,r){let n=!1,i=!1;return this._rules.forEach(s=>{let{negative:a}=s;if(i===a&&n!==i||a&&!n&&!i&&!r)return;s.regex.test(t)&&(n=!a,i=a)}),{ignored:n,unignored:i}}_test(t,r,n,i){let s=t&&Aye.convert(t);return Aye(s,t,this._allowRelativePaths?lbs:BBl),this._t(s,r,n,i)}_t(t,r,n,i){if(t in r)return r[t];if(i||(i=t.split(Nrn)),i.pop(),!i.length)return r[t]=this._testOne(t,n);let s=this._t(i.join(Nrn)+Nrn,r,n,i);return r[t]=s.ignored?s:this._testOne(t,n)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return ibs(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},Y$t=e=>new Frn(e),kBl=e=>Aye(e&&Aye.convert(e),e,lbs);Y$t.isPathValid=kBl;Y$t.default=Y$t;fbs.exports=Y$t;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");Aye.convert=e;let t=/^[a-z]:\//i;Aye.isNotRelative=r=>t.test(r)||cbs(r)}});var gbs=j((o_A,mbs)=>{"use strict";var pbs=ao(),PBl=Mrn(),dbs={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string",minLength:1},importNames:{type:"array",items:{type:"string"}},allowImportNames:{type:"array",items:{type:"string"}},allowTypeImports:{type:"boolean",description:"Whether to allow type-only imports for a path."}},additionalProperties:!1,required:["name"],not:{required:["importNames","allowImportNames"]}}]},uniqueItems:!0},NBl={anyOf:[{type:"array",items:{type:"string"},uniqueItems:!0},{type:"array",items:{type:"object",properties:{importNames:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},allowImportNames:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},group:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0},regex:{type:"string"},importNamePattern:{type:"string"},allowImportNamePattern:{type:"string"},message:{type:"string",minLength:1},caseSensitive:{type:"boolean"},allowTypeImports:{type:"boolean",description:"Whether to allow type-only imports for a pattern."}},additionalProperties:!1,not:{anyOf:[{required:["importNames","allowImportNames"]},{required:["importNamePattern","allowImportNamePattern"]},{required:["importNames","allowImportNamePattern"]},{required:["importNamePattern","allowImportNames"]},{required:["allowImportNames","allowImportNamePattern"]}]},oneOf:[{required:["group"]},{required:["regex"]}]},uniqueItems:!0}]};mbs.exports={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow specified modules when loaded by `import`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-imports"},messages:{path:"'{{importSource}}' import is restricted from being used.",pathWithCustomMessage:"'{{importSource}}' import is restricted from being used. {{customMessage}}",patterns:"'{{importSource}}' import is restricted from being used by a pattern.",patternWithCustomMessage:"'{{importSource}}' import is restricted from being used by a pattern. {{customMessage}}",patternAndImportName:"'{{importName}}' import from '{{importSource}}' is restricted from being used by a pattern.",patternAndImportNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted from being used by a pattern. {{customMessage}}",patternAndEverything:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted from being used by a pattern.",patternAndEverythingWithRegexImportName:"* import is invalid because import name matching '{{importNames}}' pattern from '{{importSource}}' is restricted from being used.",patternAndEverythingWithCustomMessage:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted from being used by a pattern. {{customMessage}}",patternAndEverythingWithRegexImportNameAndCustomMessage:"* import is invalid because import name matching '{{importNames}}' pattern from '{{importSource}}' is restricted from being used. {{customMessage}}",everything:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted.",everythingWithCustomMessage:"* import is invalid because '{{importNames}}' from '{{importSource}}' is restricted. {{customMessage}}",importName:"'{{importName}}' import from '{{importSource}}' is restricted.",importNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted. {{customMessage}}",allowedImportName:"'{{importName}}' import from '{{importSource}}' is restricted because only '{{allowedImportNames}}' import(s) is/are allowed.",allowedImportNameWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted because only '{{allowedImportNames}}' import(s) is/are allowed. {{customMessage}}",everythingWithAllowImportNames:"* import is invalid because only '{{allowedImportNames}}' from '{{importSource}}' is/are allowed.",everythingWithAllowImportNamesAndCustomMessage:"* import is invalid because only '{{allowedImportNames}}' from '{{importSource}}' is/are allowed. {{customMessage}}",allowedImportNamePattern:"'{{importName}}' import from '{{importSource}}' is restricted because only imports that match the pattern '{{allowedImportNamePattern}}' are allowed from '{{importSource}}'.",allowedImportNamePatternWithCustomMessage:"'{{importName}}' import from '{{importSource}}' is restricted because only imports that match the pattern '{{allowedImportNamePattern}}' are allowed from '{{importSource}}'. {{customMessage}}",everythingWithAllowedImportNamePattern:"* import is invalid because only imports that match the pattern '{{allowedImportNamePattern}}' from '{{importSource}}' are allowed.",everythingWithAllowedImportNamePatternWithCustomMessage:"* import is invalid because only imports that match the pattern '{{allowedImportNamePattern}}' from '{{importSource}}' are allowed. {{customMessage}}"},schema:{anyOf:[dbs,{type:"array",items:[{type:"object",properties:{paths:dbs,patterns:NBl},additionalProperties:!1}],additionalItems:!1}]}},create(e){let t=e.sourceCode,r=Array.isArray(e.options)?e.options:[],n=typeof r[0]=="object"&&(Object.hasOwn(r[0],"paths")||Object.hasOwn(r[0],"patterns")),i=(n?r[0].paths:e.options)||[],s=i.reduce((E,b)=>{let D=typeof b=="string"?b:b.name;return E[D]||(E[D]=[]),typeof b=="string"?E[D].push({}):E[D].push({message:b.message,importNames:b.importNames,allowImportNames:b.allowImportNames,allowTypeImports:b.allowTypeImports}),E},Object.create(null)),a=(n?r[0].patterns:[])||[];a.length>0&&typeof a[0]=="string"&&(a=[{group:a}]);let u=a.map(({group:E,regex:b,message:D,caseSensitive:k,importNames:M,importNamePattern:R,allowImportNames:q,allowImportNamePattern:G,allowTypeImports:K})=>({...E?{matcher:PBl({allowRelativePaths:!0,ignorecase:!k}).add(E)}:{},...typeof b=="string"?{regexMatcher:new RegExp(b,k?"u":"iu")}:{},customMessage:D,importNames:M,importNamePattern:R,allowImportNames:q,allowImportNamePattern:G,allowTypeImports:K}));if(Object.keys(i).length===0&&u.length===0)return{};function l(E){return E.importKind==="type"||E.specifiers?.length>0&&E.specifiers.every(b=>b.importKind==="type")}function f(E){return E.importKind==="type"||E.exportKind==="type"}function p(E){return E.exportKind==="type"||E.specifiers?.length>0&&E.specifiers.every(b=>b.exportKind==="type")}function g(E,b,D){Object.hasOwn(s,E)&&s[E].forEach(k=>{let M=k.message,R=k.importNames,q=k.allowImportNames,G=k.allowTypeImports;if(!(G&&(D.type==="ImportDeclaration"||D.type==="TSImportEqualsDeclaration")&&l(D))&&!(G&&(D.type==="ExportNamedDeclaration"||D.type==="ExportAllDeclaration")&&p(D))){if(!R&&!q){e.report({node:D,messageId:M?"pathWithCustomMessage":"path",data:{importSource:E,customMessage:M}});return}b.forEach((K,Z)=>{if(Z==="*"){let[oe]=K;R?e.report({node:D,messageId:M?"everythingWithCustomMessage":"everything",loc:oe.loc,data:{importSource:E,importNames:R,customMessage:M}}):q&&e.report({node:D,messageId:M?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:oe.loc,data:{importSource:E,allowedImportNames:q,customMessage:M}});return}R&&R.includes(Z)&&K.forEach(oe=>{G&&f(oe.specifier)||e.report({node:D,messageId:M?"importNameWithCustomMessage":"importName",loc:oe.loc,data:{importSource:E,customMessage:M,importName:Z}})}),q&&!q.includes(Z)&&K.forEach(oe=>{G&&f(oe.specifier)||e.report({node:D,loc:oe.loc,messageId:M?"allowedImportNameWithCustomMessage":"allowedImportName",data:{importSource:E,customMessage:M,importName:Z,allowedImportNames:q}})})})}})}function A(E,b,D,k){if(b.allowTypeImports&&(E.type==="ImportDeclaration"||E.type==="TSImportEqualsDeclaration")&&l(E)||b.allowTypeImports&&(E.type==="ExportNamedDeclaration"||E.type==="ExportAllDeclaration")&&p(E))return;let M=b.customMessage,R=b.importNames,q=b.importNamePattern?new RegExp(b.importNamePattern,"u"):null,G=b.allowImportNames,K=b.allowImportNamePattern?new RegExp(b.allowImportNamePattern,"u"):null;if(!R&&!G&&!q&&!K){e.report({node:E,messageId:M?"patternWithCustomMessage":"patterns",data:{importSource:k,customMessage:M}});return}D.forEach((Z,oe)=>{if(oe==="*"){let[ue]=Z;R?e.report({node:E,messageId:M?"patternAndEverythingWithCustomMessage":"patternAndEverything",loc:ue.loc,data:{importSource:k,importNames:R,customMessage:M}}):G?e.report({node:E,messageId:M?"everythingWithAllowImportNamesAndCustomMessage":"everythingWithAllowImportNames",loc:ue.loc,data:{importSource:k,allowedImportNames:G,customMessage:M}}):K?e.report({node:E,messageId:M?"everythingWithAllowedImportNamePatternWithCustomMessage":"everythingWithAllowedImportNamePattern",loc:ue.loc,data:{importSource:k,allowedImportNamePattern:K,customMessage:M}}):e.report({node:E,messageId:M?"patternAndEverythingWithRegexImportNameAndCustomMessage":"patternAndEverythingWithRegexImportName",loc:ue.loc,data:{importSource:k,importNames:q,customMessage:M}});return}(R&&R.includes(oe)||q&&q.test(oe))&&Z.forEach(ue=>{b.allowTypeImports&&f(ue.specifier)||e.report({node:E,messageId:M?"patternAndImportNameWithCustomMessage":"patternAndImportName",loc:ue.loc,data:{importSource:k,customMessage:M,importName:oe}})}),G&&!G.includes(oe)?Z.forEach(ue=>{b.allowTypeImports&&f(ue.specifier)||e.report({node:E,messageId:M?"allowedImportNameWithCustomMessage":"allowedImportName",loc:ue.loc,data:{importSource:k,customMessage:M,importName:oe,allowedImportNames:G}})}):K&&!K.test(oe)&&Z.forEach(ue=>{b.allowTypeImports&&f(ue.specifier)||e.report({node:E,messageId:M?"allowedImportNamePatternWithCustomMessage":"allowedImportNamePattern",loc:ue.loc,data:{importSource:k,customMessage:M,importName:oe,allowedImportNamePattern:K}})})})}function h(E,b){return b.regexMatcher?b.regexMatcher.test(E):b.matcher.ignores(E)}function _(E){let b=E.source.value.trim(),D=new Map;if(E.type==="ExportAllDeclaration"){let k=t.getFirstToken(E,1);D.set("*",[{loc:k.loc}])}else if(E.specifiers)for(let k of E.specifiers){let M,R={loc:k.loc,specifier:k};k.type==="ImportDefaultSpecifier"?M="default":k.type==="ImportNamespaceSpecifier"?M="*":k.imported?M=pbs.getModuleExportName(k.imported):k.local&&(M=pbs.getModuleExportName(k.local)),typeof M=="string"&&(D.has(M)?D.get(M).push(R):D.set(M,[R]))}g(b,D,E),u.forEach(k=>{h(b,k)&&A(E,k,D,b)})}return{ImportDeclaration:_,ExportNamedDeclaration(E){E.source&&_(E)},ExportAllDeclaration:_,TSImportEqualsDeclaration(E){if(E.moduleReference.type==="TSExternalModuleReference"){let b=E.moduleReference.expression.value,D=new Map;g(b,D,E),u.forEach(k=>{h(b,k)&&A(E,k,D,b)})}}}}}});var ybs=j((u_A,hbs)=>{"use strict";var OBl=ao(),RBl=Mrn(),FBl={type:"array",items:{type:"string"},uniqueItems:!0},Abs={type:"array",items:{anyOf:[{type:"string"},{type:"object",properties:{name:{type:"string"},message:{type:"string",minLength:1}},additionalProperties:!1,required:["name"]}]},uniqueItems:!0};hbs.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-restricted-require",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-restricted-require.md"}}]},type:"suggestion",docs:{description:"Disallow specified modules when loaded by `require`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-modules"},schema:{anyOf:[Abs,{type:"array",items:{type:"object",properties:{paths:Abs,patterns:FBl},additionalProperties:!1},additionalItems:!1}]},messages:{defaultMessage:"'{{name}}' module is restricted from being used.",customMessage:"'{{name}}' module is restricted from being used. {{customMessage}}",patternMessage:"'{{name}}' module is restricted from being used by a pattern."}},create(e){let t=Array.isArray(e.options)?e.options:[],r=typeof t[0]=="object"&&(Object.hasOwn(t[0],"paths")||Object.hasOwn(t[0],"patterns")),n=(r?t[0].paths:e.options)||[],i=(r?t[0].patterns:[])||[],s=n.reduce((A,h)=>(typeof h=="string"?A[h]=null:A[h.name]=h.message,A),{});if(Object.keys(n).length===0&&i.length===0)return{};let a=RBl({allowRelativePaths:!0}).add(i);function u(A){return A&&A.type==="Literal"&&typeof A.value=="string"}function l(A){return A.callee.type==="Identifier"&&A.callee.name==="require"}function f(A){return u(A)?A.value.trim():OBl.isStaticTemplateLiteral(A)?A.quasis[0].value.cooked.trim():null}function p(A,h){let _=s[h],E=_?"customMessage":"defaultMessage";e.report({node:A,messageId:E,data:{name:h,customMessage:_}})}function g(A){return Object.hasOwn(s,A)}return{CallExpression(A){if(l(A)&&A.arguments.length){let h=f(A.arguments[0]);h&&(g(h)&&p(A,h),i.length>0&&a.ignores(h)&&e.report({node:A,messageId:"patternMessage",data:{name:h}}))}}}}}});var xbs=j((l_A,Ebs)=>{"use strict";var _bs=ao();Ebs.exports={meta:{type:"suggestion",docs:{description:"Disallow certain properties on certain objects",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-properties"},schema:{type:"array",items:{type:"object",properties:{object:{type:"string"},property:{type:"string"},allowObjects:{type:"array",items:{type:"string"},uniqueItems:!0},allowProperties:{type:"array",items:{type:"string"},uniqueItems:!0},message:{type:"string"}},anyOf:[{required:["object"]},{required:["property"]}],not:{anyOf:[{required:["allowObjects","object"]},{required:["allowProperties","property"]}]},additionalProperties:!1},uniqueItems:!0},messages:{restrictedObjectProperty:"'{{objectName}}.{{propertyName}}' is restricted from being used.{{allowedPropertiesMessage}}{{message}}",restrictedProperty:"'{{propertyName}}' is restricted from being used.{{allowedObjectsMessage}}{{message}}"}},create(e){let t=e.options;if(t.length===0)return{};let r=new Map,n=new Map,i=new Map;t.forEach(u=>{let l=u.object,f=u.property;typeof l>"u"?i.set(f,{allowObjects:u.allowObjects,message:u.message}):typeof f>"u"?n.set(l,{allowProperties:u.allowProperties,message:u.message}):(r.has(l)||r.set(l,new Map),r.get(l).set(f,{message:u.message}))});function s(u,l){return l?l.includes(u):!1}function a(u,l,f){if(f===null)return;let p=r.get(l),g=p?p.get(f):n.get(l),A=i.get(f);if(g&&!s(f,g.allowProperties)){let h=g.message?` ${g.message}`:"",_=g.allowProperties?` Only these properties are allowed: ${g.allowProperties.join(", ")}.`:"";e.report({node:u,messageId:"restrictedObjectProperty",data:{objectName:l,propertyName:f,message:h,allowedPropertiesMessage:_}})}else if(A&&!s(l,A.allowObjects)){let h=A.message?` ${A.message}`:"",_=A.allowObjects?` Property '${f}' is only allowed on these objects: ${A.allowObjects.join(", ")}.`:"";e.report({node:u,messageId:"restrictedProperty",data:{propertyName:f,message:h,allowedObjectsMessage:_}})}}return{MemberExpression(u){a(u,u.object&&u.object.name,_bs.getStaticPropertyName(u))},ObjectPattern(u){let l=null;u.parent.type==="VariableDeclarator"?u.parent.init&&u.parent.init.type==="Identifier"&&(l=u.parent.init.name):(u.parent.type==="AssignmentExpression"||u.parent.type==="AssignmentPattern")&&u.parent.right.type==="Identifier"&&(l=u.parent.right.name),u.properties.forEach(f=>{a(u,l,_bs.getStaticPropertyName(f))})}}}}});var Cbs=j((c_A,vbs)=>{"use strict";vbs.exports={meta:{type:"suggestion",docs:{description:"Disallow specified syntax",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-restricted-syntax"},schema:{type:"array",items:{oneOf:[{type:"string"},{type:"object",properties:{selector:{type:"string"},message:{type:"string"}},required:["selector"],additionalProperties:!1}]},uniqueItems:!0,minItems:0},messages:{restrictedSyntax:"{{message}}"}},create(e){return e.options.reduce((t,r)=>{let n=typeof r=="string",i=!n&&!!r.message,s=n?r:r.selector,a=i?r.message:`Using '${s}' is not allowed.`;return Object.assign(t,{[s](u){e.report({node:u,messageId:"restrictedSyntax",data:{message:a}})}})},{})}}});var Ibs=j((f_A,bbs)=>{"use strict";var LBl=ao(),MBl=/^(?:[a-zA-Z]+?Statement|ArrowFunctionExpression|FunctionExpression|ClassExpression)$/u;bbs.exports={meta:{type:"suggestion",defaultOptions:["except-parens"],docs:{description:"Disallow assignment operators in `return` statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-return-assign"},schema:[{enum:["except-parens","always"]}],messages:{returnAssignment:"Return statement should not contain assignment.",arrowAssignment:"Arrow function should not return assignment."}},create(e){let t=e.options[0]!=="except-parens",r=e.sourceCode;return{AssignmentExpression(n){if(!t&&LBl.isParenthesised(r,n))return;let i=n,s=i.parent;for(;s&&!MBl.test(s.type);)i=s,s=s.parent;s&&s.type==="ReturnStatement"?e.report({node:s,messageId:"returnAssignment"}):s&&s.type==="ArrowFunctionExpression"&&s.body===i&&e.report({node:s,messageId:"arrowAssignment"})}}}}});var Tbs=j((p_A,Sbs)=>{"use strict";var QBl=ao();Sbs.exports={meta:{hasSuggestions:!0,type:"suggestion",docs:{description:"Disallow unnecessary `return await`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-return-await"},fixable:null,deprecated:{message:"The original assumption of the rule no longer holds true because of engine optimization.",deprecatedSince:"8.46.0",availableUntil:null,replacedBy:[]},schema:[],messages:{removeAwait:"Remove redundant `await`.",redundantUseOfAwait:"Redundant use of `await` on a return value."}},create(e){function t(i){e.report({node:e.sourceCode.getFirstToken(i),loc:i.loc,messageId:"redundantUseOfAwait",suggest:[{messageId:"removeAwait",fix(s){let a=e.sourceCode,[u,l]=a.getFirstTokens(i,2);if(!(u.loc.start.line===l.loc.start.line))return null;let[p,g]=u.range,h=a.text[g]===" "?1:0,_=[p,g+h];return s.removeRange(_)}}]})}function r(i){let s=i;for(;!QBl.isFunction(s)&&s.type!=="Program";){if(s.parent.type==="TryStatement"&&(s===s.parent.block||s===s.parent.handler&&s.parent.finalizer))return!0;s=s.parent}return!1}function n(i){return i.parent.type==="ArrowFunctionExpression"?!0:i.parent.type==="ReturnStatement"?!r(i.parent):i.parent.type==="ConditionalExpression"&&(i===i.parent.consequent||i===i.parent.alternate)||i.parent.type==="LogicalExpression"&&i===i.parent.right||i.parent.type==="SequenceExpression"&&i===i.parent.expressions.at(-1)?n(i.parent):!1}return{AwaitExpression(i){n(i)&&!r(i)&&t(i)}}}}});var wbs=j((d_A,Dbs)=>{"use strict";var jBl=ao();Dbs.exports={meta:{type:"suggestion",docs:{description:"Disallow `javascript:` URLs",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-script-url"},schema:[],messages:{unexpectedScriptURL:"Script URL is a form of eval."}},create(e){function t(r){let n=jBl.getStaticStringValue(r);typeof n=="string"&&n.toLowerCase().indexOf("javascript:")===0&&e.report({node:r,messageId:"unexpectedScriptURL"})}return{Literal(r){r.value&&typeof r.value=="string"&&t(r)},TemplateLiteral(r){r.parent&&r.parent.type==="TaggedTemplateExpression"||t(r)}}}}});var kbs=j((m_A,Bbs)=>{"use strict";var Jft=ao(),UBl=/\s+/gu;function Hft(e,t,r,n){if(!(!e||!t))if(e.type==="Identifier"&&t.type==="Identifier"&&e.name===t.name)n(t);else if(e.type==="ArrayPattern"&&t.type==="ArrayExpression"){let i=Math.min(e.elements.length,t.elements.length);for(let s=0;s=1){let i=0;for(let s=t.properties.length-1;s>=0;--s){let a=t.properties[s].type;if(a==="SpreadElement"||a==="ExperimentalSpreadProperty"){i=s+1;break}}for(let s=0;su.type===a[l].type&&u.value===a[l].value)}return{BinaryExpression(n){new Set(["===","==","!==","!=",">","<",">=","<="]).has(n.operator)&&r(n.left,n.right)&&e.report({node:n,messageId:"comparingToSelf"})}}}}});var Rbs=j((A_A,Obs)=>{"use strict";var G$t=ao();Obs.exports={meta:{type:"suggestion",docs:{description:"Disallow comma operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-sequences"},schema:[{type:"object",properties:{allowInParentheses:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowInParentheses:!0}],messages:{unexpectedCommaExpression:"Unexpected use of comma operator."}},create(e){let[{allowInParentheses:t}]=e.options,r=e.sourceCode,n={DoWhileStatement:"test",IfStatement:"test",SwitchStatement:"discriminant",WhileStatement:"test",WithStatement:"object",ArrowFunctionExpression:"body"};function i(u){return u.parent&&n[u.parent.type]&&u===u.parent[n[u.parent.type]]}function s(u){return G$t.isParenthesised(r,u)}function a(u){let l=r.getTokenBefore(u,1),f=r.getTokenAfter(u,1);return s(u)&&l&&f&&G$t.isOpeningParenToken(l)&&l.range[1]<=u.range[0]&&G$t.isClosingParenToken(f)&&f.range[0]>=u.range[1]}return{SequenceExpression(u){if(u.parent.type==="ForStatement"&&(u===u.parent.init||u===u.parent.update))return;if(t){if(i(u)){if(a(u))return}else if(s(u))return}let l=r.getTokenAfter(u.expressions[0],G$t.isCommaToken);e.report({node:u,loc:l.loc,messageId:"unexpectedCommaExpression"})}}}}});var Lbs=j((h_A,Fbs)=>{"use strict";var Qrn=ao();function V$t(e,t,r,n,i){let s=e.parent;return s.type==="CallExpression"&&s.arguments[i]===e&&Qrn.isSpecificMemberAccess(s.callee,r,n)&&t.isGlobalReference(Qrn.skipChainExpression(s.callee).object)}function qBl(e,t){if(V$t(e,t,"Object","defineProperty",2)||V$t(e,t,"Reflect","defineProperty",2))return!0;let r=e.parent;if(r.type==="Property"&&r.value===e){let n=r.parent;if(n.type==="ObjectExpression"&&(V$t(n,t,"Object","create",1)||V$t(n,t,"Object","defineProperties",1)))return!0}return!1}function YBl(e,t){let r=e.parent;return!!((r.type==="Property"||r.type==="MethodDefinition")&&r.kind==="set"&&r.value===e||r.type==="Property"&&r.value===e&&Qrn.getStaticPropertyName(r)==="set"&&r.parent.type==="ObjectExpression"&&qBl(r.parent,t))}Fbs.exports={meta:{type:"problem",docs:{description:"Disallow returning values from setters",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-setter-return"},schema:[],messages:{returnsValue:"Setter cannot return a value."}},create(e){let t=null,r=e.sourceCode;function n(a){t={upper:t,isSetter:YBl(a,r)}}function i(){t=t.upper}function s(a){e.report({node:a,messageId:"returnsValue"})}return{FunctionDeclaration:n,FunctionExpression:n,ArrowFunctionExpression(a){n(a),t.isSetter&&a.expression&&s(a.body)},"FunctionDeclaration:exit":i,"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i,ReturnStatement(a){t&&t.isSetter&&a.argument&&s(a)}}}}});var jbs=j((y_A,Qbs)=>{"use strict";var GBl=ao(),VBl=new Set(["ArrowFunctionExpression","FunctionExpression"]),$Bl=new Set(["CallExpression"]),KBl=/^For(?:In|Of)Statement$/u,JBl=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/u,Mbs=new Set(["TSInterfaceDeclaration","TSTypeAliasDeclaration"]),HBl=new Set(["TSCallSignatureDeclaration","TSFunctionType","TSMethodSignature","TSEmptyBodyFunctionExpression","TSDeclareFunction","TSConstructSignatureDeclaration","TSConstructorType"]);Qbs.exports={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",defaultOptions:[{allow:[],builtinGlobals:!1,hoist:"functions",ignoreOnInitialization:!1,ignoreTypeValueShadow:!0,ignoreFunctionTypeParameterNameValueShadow:!0}],docs:{description:"Disallow variable declarations from shadowing variables declared in the outer scope",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-shadow"},schema:[{type:"object",properties:{builtinGlobals:{type:"boolean"},hoist:{enum:["all","functions","never","types","functions-and-types"]},allow:{type:"array",items:{type:"string"}},ignoreOnInitialization:{type:"boolean"},ignoreTypeValueShadow:{type:"boolean"},ignoreFunctionTypeParameterNameValueShadow:{type:"boolean"}},additionalProperties:!1}],messages:{noShadow:"'{{name}}' is already declared in the upper scope on line {{shadowedLine}} column {{shadowedColumn}}.",noShadowGlobal:"'{{name}}' is already a global variable."}},create(e){let[{builtinGlobals:t,hoist:r,allow:n,ignoreOnInitialization:i,ignoreTypeValueShadow:s,ignoreFunctionTypeParameterNameValueShadow:a}]=e.options,u=e.sourceCode;function l(Te){return Te.block.kind==="global"||!!Te.upper&&l(Te.upper)}function f(Te){return Te.name==="this"}function p(Te,le){if(s!==!0||!("isValueVariable"in Te))return!1;let ae=le.defs[0],Ae=ae&&ae.parent?.type==="ImportDeclaration"&&(ae.parent.importKind==="type"||ae.parent.specifiers.some(_e=>_e.importKind==="type")),De=!ae||(Ae?!1:le.isValueVariable);return Te.isValueVariable!==De}function g(Te){return a!==!0?!1:Te.defs.some(le=>HBl.has(le.node.type))}function A(Te){let ae=Te.identifiers[0].parent.parent;return ae.type!=="TSTypeParameterDeclaration"?!1:ae.parent.parent.static}function h(Te){return A(Te)}function _(Te,le){return Te&&Te.range[0]<=le&&le<=Te.range[1]}function E(Te,le){let ae=Te;for(;ae&&!le(ae);)ae=ae.parent;return ae}function b(Te){let le=Te.upper;return le&&le.type==="function-expression-name"?le.upper:le}function D(Te,le){let ae=le.defs[0];if(!ae)return!1;let{variableScope:Ae}=Te.scope;if(!(VBl.has(Ae.block.type)&&b(Ae)===le.scope))return!1;let De=Ae.block,{parent:_e}=De,Le=E(_e,st=>$Bl.has(st.type));if(!Le)return!1;let qe=ae.name,at=Le.range[1];for(;qe;){if(qe.type==="VariableDeclarator"){if(_(qe.init,at)||KBl.test(qe.parent.parent.type)&&_(qe.parent.parent.right,at))return!0;break}else if(qe.type==="AssignmentPattern"){if(_(qe.right,at))return!0}else if(JBl.test(qe.type))break;qe=qe.parent}return!1}function k(Te){return n.includes(Te.name)}function M(Te){let le=Te.scope.block;return le.type==="ClassDeclaration"&&le.id===Te.identifiers[0]}function R(Te,le){let ae=le.scope,Ae=le.defs[0],De=Ae&&Ae.parent&&Ae.parent.range,_e=Te.scope,Le=Te.defs[0],qe=Le&&Le.name.range;return De&&qe&&De[0]=De[0]?!1:r==="types"?!Mbs.has(ae.node.type):r==="functions-and-types"?ae.node.type!=="FunctionDeclaration"&&!Mbs.has(ae.node.type):Ae&&De&&Ae[1]ae.type==="Variable"&&ae.parent.declare||ae.type==="ClassName"&&ae.node.declare||ae.type==="TSEnumName"&&ae.node.declare||ae.type==="TSModuleName"&&ae.node.declare)}function oe(Te){let le=Te.scope.block;return le.type==="TSEnumDeclaration"&&le.id===Te.identifiers[0]}function ue(Te,le,ae){let Ae=ae.defs[0];if(!Ae||!Ae.parent||!(Ae.parent.type==="ImportDeclaration"&&(Ae.parent.importKind==="type"||Ae.parent.specifiers?.some(at=>at.type==="ImportSpecifier"&&at.importKind==="type"&&at.local.name===ae.name))))return!1;let _e=E(le.identifiers[0]?.parent,at=>at.type==="TSModuleDeclaration");if(!_e)return!1;let Le=Ae.parent.source.value,qe=_e.id.type==="Literal"?_e.id.value:_e.id.name;return Le===qe}function me(Te){if(l(Te))return;let le=Te.variables;for(let ae=0;ae0||t&&"writeable"in De)&&!R(Ae,De)&&!(i&&D(Ae,De))&&!(r!=="all"&&K(Ae,De))&&!p(Ae,De)&&!g(Ae)&&!h(Ae,De)&&!ue(Te,Ae,De)){let _e=G(De),Le=_e.global?"noShadowGlobal":"noShadow",qe={name:Ae.name};_e.global||(qe.shadowedLine=_e.line,qe.shadowedColumn=_e.column),e.report({node:Ae.identifiers[0],messageId:Le,data:qe})}}}return{"Program:exit"(Te){let ae=u.getScope(Te).childScopes.slice();for(;ae.length;){let Ae=ae.pop();ae.push(...Ae.childScopes),me(Ae)}}}}}});var qbs=j((__A,Ubs)=>{"use strict";function zBl(e){return e.name==="undefined"&&e.references.every(t=>!t.isWrite())&&e.defs.every(t=>t.node.type==="VariableDeclarator"&&t.node.init===null)}Ubs.exports={meta:{type:"suggestion",defaultOptions:[{reportGlobalThis:!1}],docs:{description:"Disallow identifiers from shadowing restricted names",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-shadow-restricted-names"},schema:[{type:"object",properties:{reportGlobalThis:{type:"boolean"}},additionalProperties:!1}],messages:{shadowingRestrictedName:"Shadowing of global property '{{name}}'."}},create(e){let[{reportGlobalThis:t}]=e.options,r=new Set(["undefined","NaN","Infinity","arguments","eval"]);t&&r.add("globalThis");let n=e.sourceCode,i=new Set;return{"VariableDeclaration, :function, CatchClause, ImportDeclaration, ClassDeclaration, ClassExpression"(s){for(let a of n.getDeclaredVariables(s))if(a.defs.length>0&&r.has(a.name)&&!zBl(a))for(let u of a.defs){let l=u.name;i.has(l)||(i.add(l),e.report({node:l,messageId:"shadowingRestrictedName",data:{name:a.name}}))}}}}}});var Gbs=j((E_A,Ybs)=>{"use strict";Ybs.exports={meta:{type:"layout",docs:{description:"Disallow spacing between function identifiers and their applications (deprecated)",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-spaced-func"},deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2016/08/eslint-v3.3.0-released/#deprecated-rules",deprecatedSince:"3.3.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"function-call-spacing",url:"https://eslint.style/rules/function-call-spacing"}}]},fixable:"whitespace",schema:[],messages:{noSpacedFunction:"Unexpected space between function name and paren."}},create(e){let t=e.sourceCode;function r(n){let i=t.getLastToken(n.callee),s=i,a=t.getTokenAfter(i);for(;a&&a.range[1]{"use strict";var WBl=ao();Vbs.exports={meta:{type:"problem",docs:{description:"Disallow sparse arrays",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-sparse-arrays"},schema:[],messages:{unexpectedSparseArray:"Unexpected comma in middle of array."}},create(e){return{ArrayExpression(t){if(!t.elements.includes(null))return;let{sourceCode:r}=e,n;for(let[i,s]of t.elements.entries()){if(i===t.elements.length-1&&s)return;n=r.getTokenAfter(s??n??r.getFirstToken(t),WBl.isCommaToken),!s&&e.report({node:t,loc:n.loc,messageId:"unexpectedSparseArray"})}}}}}});var Jbs=j((v_A,Kbs)=>{"use strict";Kbs.exports={meta:{deprecated:{message:"Node.js rules were moved out of ESLint core.",url:"https://eslint.org/docs/latest/use/migrating-to-7.0.0#deprecate-node-rules",deprecatedSince:"7.0.0",availableUntil:"11.0.0",replacedBy:[{message:"eslint-plugin-n now maintains deprecated Node.js-related rules.",plugin:{name:"eslint-plugin-n",url:"https://github.com/eslint-community/eslint-plugin-n"},rule:{name:"no-sync",url:"https://github.com/eslint-community/eslint-plugin-n/tree/master/docs/rules/no-sync.md"}}]},type:"suggestion",docs:{description:"Disallow synchronous methods",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-sync"},schema:[{type:"object",properties:{allowAtRootLevel:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{noSync:"Unexpected sync method: '{{propertyName}}'."}},create(e){return{[e.options[0]&&e.options[0].allowAtRootLevel?":function MemberExpression[property.name=/.*Sync$/]":"MemberExpression[property.name=/.*Sync$/]"](r){e.report({node:r,messageId:"noSync",data:{propertyName:r.property.name}})}}}}});var zbs=j((C_A,Hbs)=>{"use strict";var XBl=/\t+/gu,ZBl=/\S/u;Hbs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-tabs",url:"https://eslint.style/rules/no-tabs"}}]},type:"layout",docs:{description:"Disallow all tabs",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-tabs"},schema:[{type:"object",properties:{allowIndentationTabs:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{unexpectedTab:"Unexpected tab character."}},create(e){let t=e.sourceCode,r=e.options&&e.options[0]&&e.options[0].allowIndentationTabs;return{Program(n){t.getLines().forEach((i,s)=>{let a;for(;(a=XBl.exec(i))!==null;)r&&!ZBl.test(i.slice(0,a.index))||e.report({node:n,loc:{start:{line:s+1,column:a.index},end:{line:s+1,column:a.index+a[0].length}},messageId:"unexpectedTab"})})}}}}});var Xbs=j((b_A,Wbs)=>{"use strict";Wbs.exports={meta:{type:"problem",docs:{description:"Disallow template literal placeholder syntax in regular strings",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-template-curly-in-string"},schema:[],messages:{unexpectedTemplateExpression:"Unexpected template string expression."}},create(e){let t=/\$\{[^}]+\}/u;return{Literal(r){typeof r.value=="string"&&t.test(r.value)&&e.report({node:r,messageId:"unexpectedTemplateExpression"})}}}}});var eIs=j((I_A,Zbs)=>{"use strict";Zbs.exports={meta:{type:"suggestion",docs:{description:"Disallow ternary operators",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-ternary"},schema:[],messages:{noTernaryOperator:"Ternary operator used."}},create(e){return{ConditionalExpression(t){e.report({node:t,messageId:"noTernaryOperator"})}}}}});var nIs=j((S_A,rIs)=>{"use strict";var tIs=ao();function e6l(e){return e.type==="FunctionExpression"&&e.parent.type==="MethodDefinition"&&e.parent.kind==="constructor"}var jrn=class{superCalled=!1;invalidNodes=[]};rIs.exports={meta:{type:"problem",docs:{description:"Disallow `this`/`super` before calling `super()` in constructors",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-this-before-super"},schema:[],messages:{noBeforeSuper:"'{{kind}}' is not allowed before 'super()'."}},create(e){let t=null,r=Object.create(null);function n(f){return!f.reachable||r[f.id]?.superCalled}function i(){return!!(t&&t.isConstructor&&t.hasExtends)}function s(f){for(let p of f)if(!n(p))return!1;return!0}function a(){return i()&&!s(t.currentSegments)}function u(f){let p=t.currentSegments;for(let g of p)g.reachable&&r[g.id].invalidNodes.push(f)}function l(){let f=t.currentSegments;for(let p of f)p.reachable&&(r[p.id].superCalled=!0)}return{onCodePathStart(f,p){if(e6l(p)){let g=p.parent.parent.parent;t={upper:t,isConstructor:!0,hasExtends:!!(g.superClass&&!tIs.isNullOrUndefined(g.superClass)),codePath:f,currentSegments:new Set}}else t={upper:t,isConstructor:!1,hasExtends:!1,codePath:f,currentSegments:new Set}},onCodePathEnd(f){let p=t.hasExtends;if(t=t.upper,!p)return;let g=new Set;f.traverseSegments((A,h)=>{let _=r[A.id],E=_.invalidNodes.filter(b=>!g.has(b));for(let b of E)g.add(b),e.report({messageId:"noBeforeSuper",node:b,data:{kind:b.type==="Super"?"super":"this"}});_.superCalled&&h.skip()})},onCodePathSegmentStart(f){t.currentSegments.add(f),i()&&(r[f.id]={superCalled:f.prevSegments.length>0&&f.prevSegments.every(n),invalidNodes:[]})},onUnreachableCodePathSegmentStart(f){t.currentSegments.add(f)},onUnreachableCodePathSegmentEnd(f){t.currentSegments.delete(f)},onCodePathSegmentEnd(f){t.currentSegments.delete(f)},onCodePathSegmentLoop(f,p){i()&&t.codePath.traverseSegments({first:p,last:f},(g,A)=>{let h=r[g.id]??new jrn;h.superCalled?A.skip():g.prevSegments.length>0&&g.prevSegments.every(n)&&(h.superCalled=!0),r[g.id]=h})},ThisExpression(f){a()&&u(f)},Super(f){!tIs.isCallee(f)&&a()&&u(f)},"CallExpression:exit"(f){f.callee.type==="Super"&&a()&&l()},"Program:exit"(){r=Object.create(null)}}}}});var sIs=j((T_A,iIs)=>{"use strict";var t6l=ao();iIs.exports={meta:{type:"suggestion",docs:{description:"Disallow throwing literals as exceptions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-throw-literal"},schema:[],messages:{object:"Expected an error object to be thrown.",undef:"Do not throw undefined."}},create(e){return{ThrowStatement(t){t6l.couldBeError(t.argument)?t.argument.type==="Identifier"&&t.argument.name==="undefined"&&e.report({node:t,messageId:"undef"}):e.report({node:t,messageId:"object"})}}}}});var oIs=j((D_A,aIs)=>{"use strict";var r6l=ao();aIs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-trailing-spaces",url:"https://eslint.style/rules/no-trailing-spaces"}}]},type:"layout",docs:{description:"Disallow trailing whitespace at the end of lines",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-trailing-spaces"},fixable:"whitespace",schema:[{type:"object",properties:{skipBlankLines:{type:"boolean",default:!1},ignoreComments:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{trailingSpace:"Trailing spaces not allowed."}},create(e){let t=e.sourceCode,r="[ \xA0\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u200B\u3000]",n=`^${r}*$`,i=`${r}+$`,s=e.options[0]||{},a=s.skipBlankLines||!1,u=s.ignoreComments||!1;function l(p,g,A){e.report({node:p,loc:g,messageId:"trailingSpace",fix(h){return h.removeRange(A)}})}function f(p){let g=new Set;return p.forEach(A=>{let h=A.type==="Block"?A.loc.end.line-1:A.loc.end.line;for(let _=A.loc.start.line;_<=h;_++)g.add(_)}),g}return{Program:function(g){let A=new RegExp(i,"u"),h=new RegExp(n,"u"),_=t.lines,E=t.getText().match(r6l.createGlobalLinebreakMatcher()),b=t.getAllComments(),D=f(b),k=0;for(let M=0,R=_.length;MTe.parent.range[0]&&me{"use strict";uIs.exports={meta:{type:"problem",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Disallow `let` or `var` variables that are read but never assigned",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unassigned-vars"},schema:[],messages:{unassigned:"'{{name}}' is always 'undefined' because it's never assigned."}},create(e){let t=e.sourceCode,r=!1;return{"TSModuleDeclaration[declare=true]"(){r=!0},"TSModuleDeclaration[declare=true]:exit"(){r=!1},VariableDeclarator(n){let i=n.parent;if(n.init||n.id.type!=="Identifier"||i.kind==="const"||i.declare||r)return;let[a]=t.getDeclaredVariables(n);if(!a)return;let u=!1;for(let l of a.references){if(l.isWrite())return;l.isRead()&&(u=!0)}u&&e.report({node:n,messageId:"unassigned",data:{name:n.id.name}})}}}}});var fIs=j((B_A,cIs)=>{"use strict";function n6l(e){let t=e.parent;return t.type==="UnaryExpression"&&t.operator==="typeof"}cIs.exports={meta:{type:"problem",defaultOptions:[{typeof:!1}],docs:{description:"Disallow the use of undeclared variables unless mentioned in `/*global */` comments",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-undef"},schema:[{type:"object",properties:{typeof:{type:"boolean"}},additionalProperties:!1}],messages:{undef:"'{{name}}' is not defined."}},create(e){let[{typeof:t}]=e.options,r=e.sourceCode;return{"Program:exit"(n){r.getScope(n).through.forEach(s=>{let a=s.identifier;!t&&n6l(a)||e.report({node:a,messageId:"undef",data:a})})}}}}});var dIs=j((k_A,pIs)=>{"use strict";var i6l=ao(),s6l=new Set(["const","using","await using"]);pIs.exports={meta:{type:"suggestion",docs:{description:"Disallow initializing variables to `undefined`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-undef-init"},schema:[],fixable:"code",messages:{unnecessaryUndefinedInit:"It's not necessary to initialize '{{name}}' to undefined."}},create(e){let t=e.sourceCode;return{VariableDeclarator(r){let n=t.getText(r.id),i=r.init&&r.init.name,s=t.getScope(r),a=i6l.getVariableByName(s,"undefined"),u=a&&a.defs.length>0,l=t.getLastToken(r);i==="undefined"&&!s6l.has(r.parent.kind)&&!u&&e.report({node:r,messageId:"unnecessaryUndefinedInit",data:{name:n},fix(f){return r.parent.kind==="var"||r.id.type==="ArrayPattern"||r.id.type==="ObjectPattern"||t.commentsExistBetween(r.id,l)?null:f.removeRange([r.id.range[1],r.range[1]])}})}}}}});var gIs=j((P_A,mIs)=>{"use strict";mIs.exports={meta:{type:"suggestion",docs:{description:"Disallow the use of `undefined` as an identifier",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-undefined"},schema:[],messages:{unexpectedUndefined:"Unexpected use of undefined."}},create(e){let t=e.sourceCode;function r(i){e.report({node:i,messageId:"unexpectedUndefined"})}function n(i){let s=i.set.get("undefined");if(!s)return;let a=s.references,u=s.defs;a.filter(l=>!l.init).forEach(l=>r(l.identifier)),u.forEach(l=>r(l.name))}return{"Program:exit"(i){let a=[t.getScope(i)];for(;a.length;){let u=a.pop();a.push(...u.childScopes),n(u)}}}}}});var hIs=j((N_A,AIs)=>{"use strict";AIs.exports={meta:{type:"suggestion",defaultOptions:[{allow:[],allowAfterSuper:!1,allowAfterThis:!1,allowAfterThisConstructor:!1,allowFunctionParams:!0,allowInArrayDestructuring:!0,allowInObjectDestructuring:!0,enforceInClassFields:!1,enforceInMethodNames:!1}],docs:{description:"Disallow dangling underscores in identifiers",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-underscore-dangle"},schema:[{type:"object",properties:{allow:{type:"array",items:{type:"string"}},allowAfterThis:{type:"boolean"},allowAfterSuper:{type:"boolean"},allowAfterThisConstructor:{type:"boolean"},enforceInMethodNames:{type:"boolean"},allowFunctionParams:{type:"boolean"},enforceInClassFields:{type:"boolean"},allowInArrayDestructuring:{type:"boolean"},allowInObjectDestructuring:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedUnderscore:"Unexpected dangling '_' in '{{identifier}}'."}},create(e){let[{allow:t,allowAfterSuper:r,allowAfterThis:n,allowAfterThisConstructor:i,allowFunctionParams:s,allowInArrayDestructuring:a,allowInObjectDestructuring:u,enforceInClassFields:l,enforceInMethodNames:f}]=e.options,p=e.sourceCode;function g(G){return t.includes(G)}function A(G){let K=G.length;return G!=="_"&&(G[0]==="_"||G[K-1]==="_")}function h(G){return G==="__proto__"}function _(G){return G==="_"}function E(G){return G.object.type==="MemberExpression"&&G.object.property.name==="constructor"&&G.object.object.type==="ThisExpression"}function b(G){s||G.params.forEach(K=>{let{type:Z}=K,oe;if(Z==="RestElement"?oe=K.argument:Z==="AssignmentPattern"?oe=K.left:oe=K,oe.type==="Identifier"){let ue=oe.name;A(ue)&&!g(ue)&&e.report({node:K,messageId:"unexpectedUnderscore",data:{identifier:ue}})}})}function D(G){if(G.type==="FunctionDeclaration"&&G.id){let K=G.id.name;typeof K<"u"&&A(K)&&!g(K)&&e.report({node:G,messageId:"unexpectedUnderscore",data:{identifier:K}})}b(G)}function k(G){p.getDeclaredVariables(G).forEach(K=>{let oe=K.defs.find(Te=>Te.node===G).name,ue=oe.name,me=oe.parent;for(;!["VariableDeclarator","ArrayPattern","ObjectPattern"].includes(me.type);)me=me.parent;A(ue)&&!_(ue)&&!g(ue)&&!(a&&me.type==="ArrayPattern")&&!(u&&me.type==="ObjectPattern")&&e.report({node:G,messageId:"unexpectedUnderscore",data:{identifier:ue}})})}function M(G){let K=G.property.name,Z=G.object.type==="ThisExpression",oe=G.object.type==="Super",ue=E(G);typeof K<"u"&&A(K)&&!(Z&&n)&&!(oe&&r)&&!(ue&&i)&&!h(K)&&!g(K)&&e.report({node:G,messageId:"unexpectedUnderscore",data:{identifier:K}})}function R(G){let K=G.key.name,Z=G.type==="MethodDefinition"||G.type==="Property"&&G.method;typeof K<"u"&&f&&Z&&A(K)&&!g(K)&&e.report({node:G,messageId:"unexpectedUnderscore",data:{identifier:G.key.type==="PrivateIdentifier"?`#${K}`:K}})}function q(G){let K=G.key.name;typeof K<"u"&&A(K)&&l&&!g(K)&&e.report({node:G,messageId:"unexpectedUnderscore",data:{identifier:G.key.type==="PrivateIdentifier"?`#${K}`:K}})}return{FunctionDeclaration:D,VariableDeclarator:k,MemberExpression:M,MethodDefinition:R,PropertyDefinition:q,Property:R,FunctionExpression:D,ArrowFunctionExpression:D}}}});var _Is=j((O_A,yIs)=>{"use strict";var a6l=ao();yIs.exports={meta:{type:"problem",docs:{description:"Disallow confusing multiline expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unexpected-multiline"},schema:[],messages:{function:"Unexpected newline between function and ( of function call.",property:"Unexpected newline between object and [ of property access.",taggedTemplate:"Unexpected newline between template tag and template literal.",division:"Unexpected newline between numerator and division operator."}},create(e){let t=/^[gimsuy]+$/u,r=e.sourceCode;function n(i,s){let a=r.getTokenAfter(i,a6l.isNotClosingParenToken),u=r.getTokenBefore(a);a.loc.start.line!==u.loc.end.line&&e.report({node:i,loc:a.loc,messageId:s})}return{MemberExpression(i){!i.computed||i.optional||n(i.object,"property")},TaggedTemplateExpression(i){let{quasi:s}=i;r.getTokenBefore(s).loc.end.line!==s.loc.start.line&&e.report({node:i,loc:{start:s.loc.start,end:{line:s.loc.start.line,column:s.loc.start.column+1}},messageId:"taggedTemplate"})},CallExpression(i){i.arguments.length===0||i.optional||n(i.callee,"function")},"BinaryExpression[operator='/'] > BinaryExpression[operator='/'].left"(i){let s=r.getTokenAfter(i,u=>u.value==="/"),a=r.getTokenAfter(s);a.type==="Identifier"&&t.test(a.value)&&s.range[1]===a.range[0]&&n(i.left,"division")}}}}});var zft=j((R_A,xIs)=>{"use strict";var $$t=gGe(),o6l=B1()("eslint:traverser");function EIs(){}function u6l(e){return e!==null&&typeof e=="object"&&typeof e.type=="string"}function l6l(e,t){let r=e[t.type];return r||(r=$$t.getKeys(t),o6l('Unknown node type "%s": Estimated visitor keys %j',t.type,r)),r}var Urn=class e{constructor(){this._current=null,this._parents=[],this._skipped=!1,this._broken=!1,this._visitorKeys=null,this._enter=null,this._leave=null}current(){return this._current}parents(){return this._parents.slice(0)}break(){this._broken=!0}skip(){this._skipped=!0}traverse(t,r){this._current=null,this._parents=[],this._skipped=!1,this._broken=!1,this._visitorKeys=r.visitorKeys||$$t.KEYS,this._enter=r.enter||EIs,this._leave=r.leave||EIs,this._traverse(t,null)}_traverse(t,r){if(u6l(t)){if(this._current=t,this._skipped=!1,this._enter(t,r),!this._skipped&&!this._broken){let n=l6l(this._visitorKeys,t);if(n.length>=1){this._parents.push(t);for(let i=0;i{"use strict";var c6l=zft(),f6l=ao(),p6l=/(?:(?:Call|Class|Function|Member|New|Yield)Expression|Statement|Declaration)$/u,d6l=/^(?:DoWhile|For|While)Statement$/u,m6l=/^(?:BinaryExpression|ConditionalExpression)$/u,g6l=/^(?:ArrowFunction|Class|Function)Expression$/u,A6l=/^(?:Call|Member|New|TaggedTemplate|Yield)Expression$/u;function h6l(e){if(e.init){let t=e.resolved&&e.resolved.defs[0];if(!t||t.type!=="Variable"||t.parent.kind!=="var")return!1}return e.isWrite()}function y6l(e){return!e.modified}function _6l(e){return!(e.modified||e.group)}function K$t(e,t){let r=e.range,n=t.identifier.range;return r[0]<=n[0]&&n[1]<=r[1]}var E6l={WhileStatement:K$t,DoWhileStatement:K$t,ForStatement(e,t){return K$t(e,t)&&!(e.init&&K$t(e.init,t))}};function x6l(e){let t=e.identifier;for(;t;){if(t.type==="FunctionDeclaration")return t.id?t:null;t=t.parent}return null}function v6l(e,t){for(let r=0;r0&&v6l(p,g),p.filter(_6l).forEach(n)}return{"Program:exit"(f){let p=[t.getScope(f)];r=new Map;let g;for(;g=p.pop();)p.push(...g.childScopes),g.variables.forEach(l);r.forEach(s),r=null}}}}});var SIs=j((L_A,IIs)=>{"use strict";var mse=ao(),C6l=new Set(["==","===","!=","!==",">",">=","<","<=","in","instanceof"]),bIs={"==":"!=","!=":"==","===":"!==","!==":"==="},b6l=mse.getPrecedence({type:"LogicalExpression",operator:"||"});IIs.exports={meta:{type:"suggestion",defaultOptions:[{defaultAssignment:!0}],docs:{description:"Disallow ternary operators when simpler alternatives exist",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-unneeded-ternary"},schema:[{type:"object",properties:{defaultAssignment:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unnecessaryConditionalExpression:"Unnecessary use of boolean literals in conditional expression.",unnecessaryConditionalAssignment:"Unnecessary use of conditional expression for default assignment."}},create(e){let[{defaultAssignment:t}]=e.options,r=e.sourceCode;function n(u){return u.type==="Literal"&&typeof u.value=="boolean"}function i(u){if(u.type==="BinaryExpression"&&Object.hasOwn(bIs,u.operator)){let l=r.getFirstTokenBetween(u.left,u.right,p=>p.value===u.operator),f=r.getText();return f.slice(u.range[0],l.range[0])+bIs[u.operator]+f.slice(l.range[1],u.range[1])}return mse.getPrecedence(u){"use strict";function I6l(e){return!!e.init}function S6l(e){for(let t of e)if(t.reachable)return!1;return!0}var qrn=class{constructor(t){this.sourceCode=t,this.startNode=null,this.endNode=null}get location(){return{start:this.startNode.loc.start,end:this.endNode.loc.end}}get isEmpty(){return!(this.startNode&&this.endNode)}contains(t){return t.range[0]>=this.startNode.range[0]&&t.range[1]<=this.endNode.range[1]}isConsecutive(t){return this.contains(this.sourceCode.getTokenBefore(t))}merge(t){this.endNode=t}reset(t){this.startNode=this.endNode=t}};TIs.exports={meta:{type:"problem",docs:{description:"Disallow unreachable code after `return`, `throw`, `continue`, and `break` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unreachable"},schema:[],messages:{unreachableCode:"Unreachable code."}},create(e){let t=null,r=new qrn(e.sourceCode),n=[],i=new Set;function s(a){let u=null;if(a&&(a.type==="PropertyDefinition"||S6l(i))){if(r.isEmpty){r.reset(a);return}if(r.contains(a))return;if(r.isConsecutive(a)){r.merge(a);return}u=a}r.isEmpty||e.report({messageId:"unreachableCode",loc:r.location,node:r.startNode}),r.reset(u)}return{onCodePathStart(){n.push(i),i=new Set},onCodePathEnd(){i=n.pop()},onUnreachableCodePathSegmentStart(a){i.add(a)},onUnreachableCodePathSegmentEnd(a){i.delete(a)},onCodePathSegmentEnd(a){i.delete(a)},onCodePathSegmentStart(a){i.add(a)},BlockStatement:s,BreakStatement:s,ClassDeclaration:s,ContinueStatement:s,DebuggerStatement:s,DoWhileStatement:s,ExpressionStatement:s,ForInStatement:s,ForOfStatement:s,ForStatement:s,IfStatement:s,ImportDeclaration:s,LabeledStatement:s,ReturnStatement:s,SwitchStatement:s,ThrowStatement:s,TryStatement:s,VariableDeclaration(a){(a.kind!=="var"||a.declarations.some(I6l))&&s(a)},WhileStatement:s,WithStatement:s,ExportNamedDeclaration:s,ExportDefaultDeclaration:s,ExportAllDeclaration:s,"Program:exit"(){s()},"MethodDefinition[kind='constructor']"(){t={upper:t,hasSuperCall:!1}},"MethodDefinition[kind='constructor']:exit"(a){let{hasSuperCall:u}=t;if(t=t.upper,!a.value.body)return;let l=a.parent.parent;if(l.superClass&&!u)for(let f of l.body.body)f.type==="PropertyDefinition"&&!f.static&&s(f)},"CallExpression > Super.callee"(){t&&(t.hasSuperCall=!0)}}}}});var kIs=j((Q_A,BIs)=>{"use strict";var wIs=["WhileStatement","DoWhileStatement","ForStatement","ForInStatement","ForOfStatement"];function T6l(e){for(let t of e)if(t.reachable)return!0;return!1}function D6l(e){let t=e.parent;if(t)switch(t.type){case"WhileStatement":return e===t.test;case"DoWhileStatement":return e===t.body;case"ForStatement":return e===(t.update||t.test||t.body);case"ForInStatement":case"ForOfStatement":return e===t.left}return!1}function w6l(e,t){return e.filter(r=>!t.includes(r))}BIs.exports={meta:{type:"problem",defaultOptions:[{ignore:[]}],docs:{description:"Disallow loops with a body that allows only one iteration",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unreachable-loop"},schema:[{type:"object",properties:{ignore:{type:"array",items:{enum:wIs},uniqueItems:!0}},additionalProperties:!1}],messages:{invalid:"Invalid loop. Its body allows only one iteration."}},create(e){let[{ignore:t}]=e.options,r=w6l(wIs,t),n=r.join(","),i=new Map,s=new Set,a=[],u=new Set;return{onCodePathStart(){a.push(u),u=new Set},onCodePathEnd(){u=a.pop()},onUnreachableCodePathSegmentStart(l){u.add(l)},onUnreachableCodePathSegmentEnd(l){u.delete(l)},onCodePathSegmentEnd(l){u.delete(l)},onCodePathSegmentStart(l,f){if(u.add(l),D6l(f)){let p=f.parent;i.set(l,p)}},onCodePathSegmentLoop(l,f,p){let g=i.get(f);(p===g||p.type==="ContinueStatement")&&s.delete(g)},[n](l){T6l(u)&&s.add(l)},"Program:exit"(){s.forEach(l=>e.report({node:l,messageId:"invalid"}))}}}}});var NIs=j((j_A,PIs)=>{"use strict";var B6l=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression)$/u,k6l=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement|SwitchStatement)$/u,P6l=/^(?:Program|(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|DoWhileStatement|WhileStatement|ForOfStatement|ForInStatement|ForStatement)$/u;PIs.exports={meta:{type:"problem",docs:{description:"Disallow control flow statements in `finally` blocks",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-finally"},schema:[],messages:{unsafeUsage:"Unsafe usage of {{nodeType}}."}},create(e){function t(i){return i.parent.type==="TryStatement"&&i.parent.finalizer===i}function r(i,s){let a=!1,u;i.type==="BreakStatement"&&!i.label?u=k6l:i.type==="ContinueStatement"?u=P6l:u=B6l;for(let l=i;l&&!u.test(l.type);l=l.parent)if(l.parent.label&&s&&l.parent.label.name===s.name&&(a=!0),t(l))return!(s&&a);return!1}function n(i){r(i,i.label)&&e.report({messageId:"unsafeUsage",data:{nodeType:i.type},node:i,line:i.loc.line,column:i.loc.column})}return{ReturnStatement:n,ThrowStatement:n,BreakStatement:n,ContinueStatement:n}}}});var RIs=j((U_A,OIs)=>{"use strict";var N6l=ao();function O6l(e){return e==="in"||e==="instanceof"}function R6l(e){return e==="<"||e===">"||e===">="||e==="<="}function F6l(e){return e.type==="UnaryExpression"&&e.operator==="!"}OIs.exports={meta:{type:"problem",defaultOptions:[{enforceForOrderingRelations:!1}],docs:{description:"Disallow negating the left operand of relational operators",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-negation"},hasSuggestions:!0,schema:[{type:"object",properties:{enforceForOrderingRelations:{type:"boolean"}},additionalProperties:!1}],fixable:null,messages:{unexpected:"Unexpected negating the left operand of '{{operator}}' operator.",suggestNegatedExpression:"Negate '{{operator}}' expression instead of its left operand. This changes the current behavior.",suggestParenthesisedNegation:"Wrap negation in '()' to make the intention explicit. This preserves the current behavior."}},create(e){let t=e.sourceCode,[{enforceForOrderingRelations:r}]=e.options;return{BinaryExpression(n){let i=n.operator,s=r&&R6l(i);(O6l(i)||s)&&F6l(n.left)&&!N6l.isParenthesised(t,n.left)&&e.report({node:n,loc:n.left.loc,messageId:"unexpected",data:{operator:i},suggest:[{messageId:"suggestNegatedExpression",data:{operator:i},fix(a){let l=[t.getFirstToken(n.left).range[1],n.range[1]],f=t.text.slice(l[0],l[1]);return a.replaceTextRange(l,`(${f})`)}},{messageId:"suggestParenthesisedNegation",fix(a){return a.replaceText(n.left,`(${t.getText(n.left)})`)}}]})}}}}});var QIs=j((q_A,MIs)=>{"use strict";var FIs=new Set(["+","-","/","*","%","**"]),L6l=new Set(["+=","-=","/=","*=","%=","**="]),M6l=new Set(["in","instanceof"]);function LIs(e){return e.type==="ObjectPattern"||e.type==="ArrayPattern"}MIs.exports={meta:{type:"problem",defaultOptions:[{disallowArithmeticOperators:!1}],docs:{description:"Disallow use of optional chaining in contexts where the `undefined` value is not allowed",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining"},schema:[{type:"object",properties:{disallowArithmeticOperators:{type:"boolean"}},additionalProperties:!1}],fixable:null,messages:{unsafeOptionalChain:"Unsafe usage of optional chaining. If it short-circuits with 'undefined' the evaluation will throw TypeError.",unsafeArithmetic:"Unsafe arithmetic operation on optional chaining. It can result in NaN."}},create(e){let[{disallowArithmeticOperators:t}]=e.options;function r(u){e.report({messageId:"unsafeOptionalChain",node:u})}function n(u){e.report({messageId:"unsafeArithmetic",node:u})}function i(u,l){if(u)switch(u.type){case"LogicalExpression":u.operator==="||"||u.operator==="??"?i(u.right,l):u.operator==="&&"&&(i(u.left,l),i(u.right,l));break;case"SequenceExpression":i(u.expressions.at(-1),l);break;case"ConditionalExpression":i(u.consequent,l),i(u.alternate,l);break;case"AwaitExpression":i(u.argument,l);break;case"ChainExpression":l(u);break;default:break}}function s(u){i(u,r)}function a(u){i(u,n)}return{"AssignmentExpression, AssignmentPattern"(u){LIs(u.left)&&s(u.right)},"ClassDeclaration, ClassExpression"(u){s(u.superClass)},CallExpression(u){u.optional||s(u.callee)},NewExpression(u){s(u.callee)},VariableDeclarator(u){LIs(u.id)&&s(u.init)},MemberExpression(u){u.optional||s(u.object)},TaggedTemplateExpression(u){s(u.tag)},ForOfStatement(u){s(u.right)},SpreadElement(u){u.parent&&u.parent.type!=="ObjectExpression"&&s(u.argument)},BinaryExpression(u){M6l.has(u.operator)&&s(u.right),t&&FIs.has(u.operator)&&(a(u.right),a(u.left))},WithStatement(u){s(u.object)},UnaryExpression(u){t&&FIs.has(u.operator)&&a(u.argument)},AssignmentExpression(u){t&&L6l.has(u.operator)&&a(u.right)}}}}});var qIs=j((Y_A,UIs)=>{"use strict";var jIs=ao();function IK(){return!0}function Q6l(){return!1}UIs.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"suggestion",docs:{description:"Disallow unused expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-unused-expressions"},schema:[{type:"object",properties:{allowShortCircuit:{type:"boolean"},allowTernary:{type:"boolean"},allowTaggedTemplates:{type:"boolean"},enforceForJSX:{type:"boolean"},ignoreDirectives:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{allowShortCircuit:!1,allowTernary:!1,allowTaggedTemplates:!1,enforceForJSX:!1,ignoreDirectives:!1}],messages:{unusedExpression:"Expected an assignment or function call and instead saw an expression."}},create(e){let[{allowShortCircuit:t,allowTernary:r,allowTaggedTemplates:n,enforceForJSX:i,ignoreDirectives:s}]=e.options;function a(g){return g.type==="ExpressionStatement"&&g.expression.type==="Literal"&&typeof g.expression.value=="string"}function u(g,A){for(let h=0;h{"use strict";var YIs=ao();GIs.exports={meta:{type:"suggestion",docs:{description:"Disallow unused labels",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-labels"},schema:[],fixable:"code",messages:{unused:"'{{name}}:' is defined but never used."}},create(e){let t=e.sourceCode,r=null;function n(u){r={label:u.label.name,used:!1,upper:r}}function i(u){if(t.getTokenAfter(u.label,{includeComments:!0})!==t.getTokenBefore(u.body,{includeComments:!0}))return!1;let l=u.parent;for(;l.type==="LabeledStatement";)l=l.parent;if(l.type==="Program"||l.type==="BlockStatement"&&YIs.isFunction(l.parent)){let{body:f}=u;if(f.type==="ExpressionStatement"&&(f.expression.type==="Literal"&&typeof f.expression.value=="string"||YIs.isStaticTemplateLiteral(f.expression)))return!1}return!0}function s(u){r.used||e.report({node:u.label,messageId:"unused",data:u.label,fix:i(u)?l=>l.removeRange([u.range[0],u.body.range[0]]):null}),r=r.upper}function a(u){if(!u.label)return;let l=u.label.name,f=r;for(;f;){if(f.label===l){f.used=!0;break}f=f.upper}}return{LabeledStatement:n,"LabeledStatement:exit":s,BreakStatement:a,ContinueStatement:a}}}});var KIs=j((V_A,$Is)=>{"use strict";$Is.exports={meta:{type:"problem",docs:{description:"Disallow unused private class members",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-private-class-members"},schema:[],messages:{unusedPrivateClassMember:"'{{classMemberName}}' is defined but never used."}},create(e){let t=[];function r(n){let i=n.parent.parent,s=i.type==="AssignmentExpression";return!s&&i.type!=="ForInStatement"&&i.type!=="ForOfStatement"&&i.type!=="AssignmentPattern"||i.left!==n.parent?!1:s&&i.operator!=="="?i.parent.type==="ExpressionStatement":!0}return{ClassBody(n){let i=new Map;t.unshift(i);for(let s of n.body)(s.type==="PropertyDefinition"||s.type==="MethodDefinition")&&s.key.type==="PrivateIdentifier"&&i.set(s.key.name,{declaredNode:s,isAccessor:s.type==="MethodDefinition"&&(s.kind==="set"||s.kind==="get")})},PrivateIdentifier(n){let i=t.find(l=>l.has(n.name));if(!i)return;let s=i.get(n.name);if(s.isUsed||n.parent.type==="PropertyDefinition"||n.parent.type==="MethodDefinition")return;if(s.isAccessor){s.isUsed=!0;return}if(r(n))return;let a=n.parent.parent.type,u=n.parent.parent.parent.type;a==="UpdateExpression"&&u==="ExpressionStatement"||a==="Property"&&u==="ObjectPattern"&&n.parent.parent.value===n.parent||a!=="RestElement"&&a!=="ArrayPattern"&&(s.isUsed=!0)},"ClassBody:exit"(){let n=t.shift();for(let[i,{declaredNode:s,isUsed:a}]of n.entries())a||e.report({node:s,loc:s.key.loc,messageId:"unusedPrivateClassMember",data:{classMemberName:`#${i}`}})}}}}});var HIs=j(($_A,JIs)=>{"use strict";var hye=ao();JIs.exports={meta:{type:"problem",docs:{description:"Disallow unused variables",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-unused-vars"},hasSuggestions:!0,schema:[{oneOf:[{enum:["all","local"]},{type:"object",properties:{vars:{enum:["all","local"]},varsIgnorePattern:{type:"string"},args:{enum:["all","after-used","none"]},ignoreRestSiblings:{type:"boolean"},argsIgnorePattern:{type:"string"},caughtErrors:{enum:["all","none"]},caughtErrorsIgnorePattern:{type:"string"},destructuredArrayIgnorePattern:{type:"string"},ignoreClassWithStaticInitBlock:{type:"boolean"},ignoreUsingDeclarations:{type:"boolean"},reportUsedIgnorePattern:{type:"boolean"}},additionalProperties:!1}]}],messages:{unusedVar:"'{{varName}}' is {{action}} but never used{{additional}}.",usedIgnoredVar:"'{{varName}}' is marked as ignored but is used{{additional}}.",removeVar:"Remove unused variable '{{varName}}'."}},create(e){let t=e.sourceCode,r=/^(?:RestElement|(?:Experimental)?RestProperty)$/u,n={vars:"all",args:"after-used",ignoreRestSiblings:!1,caughtErrors:"all",ignoreClassWithStaticInitBlock:!1,ignoreUsingDeclarations:!1,reportUsedIgnorePattern:!1},i=e.options[0];i&&(typeof i=="string"?n.vars=i:(n.vars=i.vars||n.vars,n.args=i.args||n.args,n.ignoreRestSiblings=i.ignoreRestSiblings||n.ignoreRestSiblings,n.caughtErrors=i.caughtErrors||n.caughtErrors,n.ignoreClassWithStaticInitBlock=i.ignoreClassWithStaticInitBlock||n.ignoreClassWithStaticInitBlock,n.ignoreUsingDeclarations=i.ignoreUsingDeclarations||n.ignoreUsingDeclarations,n.reportUsedIgnorePattern=i.reportUsedIgnorePattern||n.reportUsedIgnorePattern,i.varsIgnorePattern&&(n.varsIgnorePattern=new RegExp(i.varsIgnorePattern,"u")),i.argsIgnorePattern&&(n.argsIgnorePattern=new RegExp(i.argsIgnorePattern,"u")),i.caughtErrorsIgnorePattern&&(n.caughtErrorsIgnorePattern=new RegExp(i.caughtErrorsIgnorePattern,"u")),i.destructuredArrayIgnorePattern&&(n.destructuredArrayIgnorePattern=new RegExp(i.destructuredArrayIgnorePattern,"u"))));function s(le){if(n.destructuredArrayIgnorePattern&&le.name.parent.type==="ArrayPattern")return"array-destructure";switch(le.type){case"CatchClause":return"catch-clause";case"Parameter":return"parameter";default:return"variable"}}function a(le){let ae,Ae;switch(le){case"array-destructure":ae=n.destructuredArrayIgnorePattern,Ae="elements of array destructuring";break;case"catch-clause":ae=n.caughtErrorsIgnorePattern,Ae="caught errors";break;case"parameter":ae=n.argsIgnorePattern,Ae="args";break;case"variable":ae=n.varsIgnorePattern,Ae="vars";break;default:throw new Error(`Unexpected variable type: ${le}`)}return ae&&(ae=ae.toString()),[Ae,ae]}function u(le){let ae=le.defs&&le.defs[0],Ae="";if(ae){let[De,_e]=a(s(ae));_e&&De&&(Ae=`. Allowed unused ${De} must match ${_e}`)}return{varName:le.name,action:"defined",additional:Ae}}function l(le){let ae=le.defs&&le.defs[0],Ae="";if(ae){let[De,_e]=a(s(ae));_e&&De&&(Ae=`. Allowed unused ${De} must match ${_e}`)}return{varName:le.name,action:"assigned a value",additional:Ae}}function f(le,ae){let[Ae,De]=a(ae),_e="";return De&&Ae&&(_e=`. Used ${Ae} must not match ${De}`),{varName:le.name,additional:_e}}let p=/(?:Statement|Declaration)$/u;function g(le){let ae=le.defs[0];if(ae){let Ae=ae.node;if(Ae.type==="VariableDeclarator")Ae=Ae.parent;else if(ae.type==="Parameter")return!1;return Ae.parent.type.indexOf("Export")===0}return!1}function A(le){let[ae]=le.defs;return ae?.type==="Variable"&&(ae.parent.kind==="using"||ae.parent.kind==="await using")}function h(le){return le.type==="Property"&&le.parent.type==="ObjectPattern"&&r.test(le.parent.properties.at(-1).type)}function _(le){if(n.ignoreRestSiblings){let ae=le.defs.some(De=>h(De.name.parent)),Ae=le.references.some(De=>h(De.identifier.parent));return ae||Ae}return!1}function E(le){return le.isRead()}function b(le,ae){let Ae=le.from;for(;Ae;){if(ae.includes(Ae.block))return!0;Ae=Ae.upper}return!1}function D(le){let ae=[];return le.defs.forEach(Ae=>{let{type:De,node:_e}=Ae;De==="FunctionName"&&ae.push(_e),De==="Variable"&&_e.init&&(_e.init.type==="FunctionExpression"||_e.init.type==="ArrowFunctionExpression")&&ae.push(_e.init)}),ae}function k(le,ae){return le.range[0]>=ae.range[0]&&le.range[1]<=ae.range[1]}function M(le){let ae=le.parent;return ae.type==="ExpressionStatement"?!0:ae.type==="SequenceExpression"?ae.expressions.at(-1)===le?M(ae):!0:!1}function R(le,ae){let Ae=le.identifier,De=Ae.parent,_e=le.from.variableScope,Le=le.resolved.scope.variableScope,qe=_e!==Le||hye.isInLoop(Ae);return ae&&k(Ae,ae)?ae:De.type==="AssignmentExpression"&&M(De)&&Ae===De.left&&!qe?De.right:null}function q(le,ae){let Ae=le,De=le.parent;for(;De&&k(De,ae);){switch(De.type){case"SequenceExpression":if(De.expressions.at(-1)!==Ae)return!1;break;case"CallExpression":case"NewExpression":return De.callee!==Ae;case"AssignmentExpression":case"TaggedTemplateExpression":case"YieldExpression":return!0;default:if(p.test(De.type))return!0}Ae=De,De=De.parent}return!1}function G(le,ae){let Ae=hye.getUpperFunction(le);return Ae&&k(Ae,ae)&&q(Ae,ae)}function K(le,ae){let Ae=le.identifier,De=Ae.parent;return le.isRead()&&(De.type==="AssignmentExpression"&&De.left===Ae&&M(De)&&!hye.isLogicalAssignmentOperator(De.operator)||De.type==="UpdateExpression"&&M(De)||ae&&k(Ae,ae)&&!G(Ae,ae))}function Z(le){let ae=le.identifier.parent;return ae.type==="VariableDeclarator"&&(ae=ae.parent.parent),ae.type!=="ForInStatement"&&ae.type!=="ForOfStatement"||(ae.body.type==="BlockStatement"?ae=ae.body.body[0]:ae=ae.body,!ae)?!1:ae.type==="ReturnStatement"}function oe(le){if(le.eslintUsed)return!0;let ae=D(le),Ae=ae.length>0,De=null;return le.references.some(_e=>{if(Z(_e))return!0;let Le=K(_e,De);return De=R(_e,De),E(_e)&&!Le&&!(Ae&&b(_e,ae))})}function ue(le){let ae=le.defs[0],Ae=t.getDeclaredVariables(ae.node);return!Ae.slice(Ae.indexOf(le)+1).some(_e=>_e.references.length>0||_e.eslintUsed)}function me(le,ae){let Ae=le.variables,De=le.childScopes,_e,Le;if(le.type!=="global"||n.vars==="all")for(_e=0,Le=Ae.length;_eSr.identifier.parent.type==="ArrayPattern");if((at.name.parent.type==="ArrayPattern"||Ur)&&n.destructuredArrayIgnorePattern&&n.destructuredArrayIgnorePattern.test(at.name.name)){n.reportUsedIgnorePattern&&oe(qe)&&e.report({node:at.name,messageId:"usedIgnoredVar",data:f(qe,"array-destructure")});continue}if(st==="ClassName"){let Sr=at.node.body.body.some(xr=>xr.type==="StaticBlock");if(n.ignoreClassWithStaticInitBlock&&Sr)continue}if(st==="CatchClause"){if(n.caughtErrors==="none")continue;if(n.caughtErrorsIgnorePattern&&n.caughtErrorsIgnorePattern.test(at.name.name)){n.reportUsedIgnorePattern&&oe(qe)&&e.report({node:at.name,messageId:"usedIgnoredVar",data:f(qe,"catch-clause")});continue}}else if(st==="Parameter"){if((at.node.parent.type==="Property"||at.node.parent.type==="MethodDefinition")&&at.node.parent.kind==="set"||n.args==="none")continue;if(n.argsIgnorePattern&&n.argsIgnorePattern.test(at.name.name)){n.reportUsedIgnorePattern&&oe(qe)&&e.report({node:at.name,messageId:"usedIgnoredVar",data:f(qe,"parameter")});continue}if(n.args==="after-used"&&hye.isFunction(at.name.parent)&&!ue(qe))continue}else if(n.varsIgnorePattern&&n.varsIgnorePattern.test(at.name.name)){n.reportUsedIgnorePattern&&oe(qe)&&e.report({node:at.name,messageId:"usedIgnoredVar",data:f(qe,"variable")});continue}}!oe(qe)&&!g(qe)&&!(n.ignoreUsingDeclarations&&A(qe))&&!_(qe)&&ae.push(qe)}for(_e=0,Le=De.length;_err.isWrite());function Sr(rr,gt){return t.getTokenBefore(rr,gt).range[0]}function xr(rr,gt){return t.getTokenAfter(rr,gt).range[1]}function dt(rr){return t.getTokenBefore(rr).value}function It(rr){return t.getTokenAfter(rr).value}function lr(rr){return rr.elements.filter(gt=>gt!==null).length===1}function $t(rr,gt){return rr.specifiers.some(Vr=>Vr.type===gt)}function Nt(rr,gt){return rr.type==="String"||gt&&!hye.isSemicolonToken(gt)&&!hye.isOpeningBraceToken(gt)}function sr(rr){let gt=rr.parent;return at(gt)?gt.params.length===1?le.removeRange(rr.range):dt(rr)==="("&&It(rr)===","?le.removeRange([rr.range[0],xr(rr)]):le.removeRange([Sr(rr),rr.range[1]]):null}function Nr(rr){let gt=rr.parent;if(gt.type==="VariableDeclarator"){if(st(gt.parent.parent))return null;if(gt.parent.declarations.length===1){let Vr=t.getTokenAfter(gt.parent),Sn=t.getTokenBefore(gt.parent);return Vr&&Nt(Vr,Sn)?null:le.removeRange(gt.parent.range)}return dt(gt)===","?le.removeRange([Sr(gt),gt.range[1]]):le.removeRange([gt.range[0],xr(gt)])}return dt(rr)===":"&>.parent.type==="ObjectPattern"?Xt(rr):sr(rr)}function Fr(rr){let gt=rr.parent;return gt.parent.parent.parent.type==="ObjectPattern"&>.parent.properties.length===1?Fr(gt.parent):gt.parent.type==="ObjectPattern"?gt.parent.properties.length===1?Nr(gt.parent):dt(gt)==="{"?le.removeRange([gt.range[0],xr(gt)]):le.removeRange([Sr(gt),gt.range[1]]):null}function Bt(rr){let gt=rr.parent;return gt.parent.type==="ArrayPattern"&&lr(gt)?Bt(gt):lr(gt)?dt(gt)===":"?Nr(gt):gt.parent.type==="RestElement"?wr(gt.parent):Nr(gt):dt(rr)===","&&It(rr)==="]"?le.removeRange([Sr(rr),rr.range[1]]):le.removeRange(rr.range)}function Xt(rr){let gt=rr.parent.parent;return gt.parent.type==="ArrayPattern"&>.properties.length===1?Bt(gt):Fr(rr)}function wr(rr){let gt=rr.parent;return at(gt)?gt.params.length===1?le.removeRange(rr.range):le.removeRange([Sr(rr),rr.range[1]]):gt.type==="ArrayPattern"?lr(gt)?gt.parent.type==="ArrayPattern"?Bt(gt):Nr(gt):le.removeRange([Sr(rr),rr.range[1]]):null}if(Ur.some(rr=>rr.identifier.range[0]!==Ae.range[0]))return null;if(_e==="VariableDeclarator"){if(De.parent.declarations.length===1){if(st(De.parent.parent)&&De.parent.parent.body!==De.parent)return null;if(De.parent.parent.type==="IfStatement"||st(De.parent.parent)||De.parent.parent.type==="WithStatement"&&De.parent.parent.body===De.parent)return le.replaceText(De.parent,";");let rr=t.getTokenAfter(De.parent),gt=t.getTokenBefore(De.parent);return rr&&Nt(rr,gt)?null:le.removeRange(De.parent.range)}return Le.value===","?le.removeRange([Le.range[0],De.range[1]]):le.removeRange([De.range[0],xr(De)])}if(De.parent.type==="ObjectPattern"){if(De.parent.properties.length===1)return De.parent.parent.type==="RestElement"?wr(De.parent.parent):De.parent.parent.type==="ArrayPattern"?Bt(De.parent):Nr(De.parent);if(Le.value===":")return dt(De)==="{"&&It(De)===","?le.removeRange([De.range[0],xr(De)]):le.removeRange([Sr(De),Ae.range[1]])}if(_e==="ArrayPattern"){if(lr(De))return De.parent.type==="RestElement"?wr(De.parent):De.parent.type==="ArrayPattern"?Bt(De):Nr(De);if(Le.value===","&&qe.value===",")return le.removeRange(Ae.range)}if(_e==="RestElement"){if(De.parent.type==="ArrayPattern")return lr(De.parent)?De.parent.parent.type==="ArrayPattern"?Bt(De.parent):Nr(De.parent):le.removeRange([Sr(Ae,1),Ae.range[1]]);if(De.parent.type==="ObjectPattern")return De.parent.properties.length===1?Nr(De.parent):le.removeRange([Sr(Ae,1),Ae.range[1]]);if(at(De.parent))return De.parent.params.length===1?le.removeRange(De.range):le.removeRange([Sr(De),De.range[1]])}if(_e==="AssignmentPattern"){if(De.parent.type==="ArrayPattern")return Bt(De);if(De.parent.parent.type==="ObjectPattern")return De.parent.parent.properties.length===1?De.parent.parent.parent.type==="ArrayPattern"?Bt(De.parent.parent):Nr(De.parent.parent):dt(De.parent)==="{"&&It(De.parent)===","?le.removeRange([De.parent.range[0],xr(De.parent)]):le.removeRange([Sr(De.parent),De.parent.range[1]]);if(at(De.parent))return sr(De)}if(_e==="FunctionDeclaration"&&De.id===Ae)return le.removeRange(De.range);if(_e==="ImportDefaultSpecifier")return!$t(De.parent,"ImportSpecifier")&&!$t(De.parent,"ImportNamespaceSpecifier")?le.removeRange([De.range[0],De.parent.source.range[0]]):le.removeRange([Ae.range[0],qe.range[1]]);if(_e==="ImportSpecifier")return De.parent.specifiers.filter(rr=>rr.type==="ImportSpecifier").length===1?$t(De.parent,"ImportDefaultSpecifier")?le.removeRange([Sr(De,1),qe.range[1]]):le.removeRange(De.parent.range):dt(De)==="{"?le.removeRange([De.range[0],xr(De)]):le.removeRange([Sr(De),De.range[1]]);if(_e==="ImportNamespaceSpecifier")return $t(De.parent,"ImportDefaultSpecifier")?le.removeRange([Sr(De),De.range[1]]):le.removeRange([De.range[0],De.parent.source.range[0]]);if(_e==="CatchClause")return null;if(_e==="ClassDeclaration")return le.removeRange(De.range);if(Le?.value===",")return le.removeRange([Le.range[0],Ae.range[1]]);if(qe.value===","){if(Le.value==="(")return le.removeRange([Ae.range[0],qe.range[1]]);if(Le.value==="{")return le.removeRange([Ae.range[0],qe.range[1]])}return _e==="ArrowFunctionExpression"&&De.params.length===1&&qe?.value!==")"?le.replaceText(Ae,"()"):le.removeRange(Ae.range)}return{"Program:exit"(le){let ae=me(t.getScope(le),[]);for(let Ae=0,De=ae.length;Ae0){let Le=_e.references.filter(at=>at.isWrite()&&at.from.variableScope===_e.scope.variableScope),qe;Le.length>0&&(qe=Le.at(-1)),e.report({node:qe?qe.identifier:_e.identifiers[0],messageId:"unusedVar",data:_e.references.some(at=>at.isWrite())?l(_e):u(_e),suggest:[{messageId:"removeVar",data:{varName:_e.name},fix(at){return Te(at,_e)}}]})}else if(_e.eslintExplicitGlobalComments){let Le=_e.eslintExplicitGlobalComments[0];e.report({node:le,loc:hye.getNameLocationInGlobalDirectiveComment(t,Le,_e.name),messageId:"unusedVar",data:u(_e)})}}}}}}});var ZIs=j((K_A,XIs)=>{"use strict";var j6l=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/u,U6l=/^For(?:In|Of)Statement$/u;function q6l(e){return typeof e=="object"&&e!==null?e:{functions:typeof e=="string"?e!=="nofunc":!0,classes:!0,variables:!0,allowNamedExports:!1,enums:!0,typedefs:!0,ignoreTypeReferences:!0}}function RGe(e,t){return e&&e.range[0]<=t&&t<=e.range[1]}function Y6l(e,t){return e.body.some(r=>r.type==="StaticBlock"&&RGe(r,t)||r.type==="PropertyDefinition"&&r.static&&r.value&&RGe(r.value,t))}function G6l(e){return e.type==="class-static-block"?!0:e.type==="class-field-initializer"?e.block.parent.static:!1}function zIs(e){let t=e.resolved,r=e.from;for(;t.scope.variableScope!==r.variableScope;)if(G6l(r.variableScope))r=r.variableScope.upper;else return!0;return!1}function V6l(e){if(zIs(e))return!1;let t=e.identifier.range[1],r=e.resolved.defs[0];if(r.type==="ClassName"){let i=r.node;return RGe(i,t)&&!Y6l(i.body,t)}let n=r.name.parent;for(;n;){if(n.type==="VariableDeclarator"){if(RGe(n.init,t)||U6l.test(n.parent.parent.type)&&RGe(n.parent.parent.right,t))return!0;break}else if(n.type==="AssignmentPattern"){if(RGe(n.right,t))return!0}else if(j6l.test(n.type))break;n=n.parent}return!1}function WIs(e){switch(e.type){case"TSTypeQuery":return!0;case"TSQualifiedName":case"Identifier":return WIs(e.parent);default:return!1}}function $6l(e,t){if(e.defs[0].type!=="ClassName"||!e.defs[0].node.decorators||e.defs[0].node.decorators.length===0)return!1;for(let r of e.defs[0].node.decorators)if(t.identifier.range[0]>=r.range[0]&&t.identifier.range[1]<=r.range[1])return!0;return!1}XIs.exports={meta:{dialects:["javascript","typescript"],language:"javascript",type:"problem",docs:{description:"Disallow the use of variables before they are defined",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-use-before-define"},schema:[{oneOf:[{enum:["nofunc"]},{type:"object",properties:{functions:{type:"boolean"},classes:{type:"boolean"},variables:{type:"boolean"},allowNamedExports:{type:"boolean"},enums:{type:"boolean"},typedefs:{type:"boolean"},ignoreTypeReferences:{type:"boolean"}},additionalProperties:!1}]}],defaultOptions:[{classes:!0,functions:!0,variables:!0,allowNamedExports:!1,enums:!0,typedefs:!0,ignoreTypeReferences:!0}],messages:{usedBeforeDefined:"'{{name}}' was used before it was defined."}},create(e){let t=q6l(e.options[0]),r=e.sourceCode;function n(s){if(s.init)return!1;let{identifier:a}=s;if(t.allowNamedExports&&a.parent.type==="ExportSpecifier"&&a.parent.local===a)return!1;let u=s.resolved;if(!u||u.defs.length===0)return!1;let l=u.defs[0].type;if(!t.functions&&l==="FunctionName"||(!t.variables&&l==="Variable"||!t.classes&&l==="ClassName")&&zIs(s)||!t.enums&&l==="TSEnumName"||!t.typedefs&&l==="Type"||t.ignoreTypeReferences&&(WIs(a)||a.parent.type==="TSTypeReference"))return!1;if(a.parent.type==="TSQualifiedName"){let f=a.parent;for(;f.type==="TSQualifiedName";)f=f.left;return f===a}return!$6l(u,s)}function i(s){s.references.filter(n).forEach(a=>{let l=a.resolved.defs[0].name;(a.identifier.range[1]{"use strict";var{findVariable:K6l}=NS();function*Wft(e){switch(e.type){case"Identifier":yield e;return;case"ObjectPattern":for(let t of e.properties)yield*Wft(t.type==="Property"?t.value:t);return;case"ArrayPattern":for(let t of e.elements)t&&(yield*Wft(t));return;case"RestElement":yield*Wft(e.argument);return;case"AssignmentPattern":yield*Wft(e.left)}}function J$t(e,t){return!(t.range[0]b.range[0]<=f.identifier.range[0]&&f.identifier.range[1]<=b.range[1]))return;let A={results:[],subsequentSegments:new Set,queueSegments:f.segments.flatMap(b=>b.nextSegments)};function*h(){for(yield*A.results;A.queueSegments.length>0;){let b=A.queueSegments.shift();if(A.subsequentSegments.has(b))continue;A.subsequentSegments.add(b);let D=p.find(M=>M.segments.includes(b)&&!eSs(M,f.identifier));D||A.queueSegments.push(...b.nextSegments);let k={segment:b,assignment:D};A.results.push(k),yield k}}if(f.variable.references.some(b=>b.identifier.type!=="Identifier"))return;let _=f.variable.references.filter(b=>b.isRead());if(!_.length)return;let E=p.find(b=>b===f||b.segments.length&&b.segments.every(D=>!f.segments.includes(D))?!1:!!(J$t(f,b.identifier)||b.expression&&b.expression.range[0]<=f.identifier.range[0]&&f.identifier.range[1]<=b.expression.range[1]));for(let b of _){if(a.scope!==i(b.from))return;if(J$t(f,b.identifier)&&(eSs(f,b.identifier)||f.segments.some(D=>u(D,b.identifier)))){if(E&&J$t(E,b.identifier))continue;return}if(!E){for(let D of h())if(u(D.segment,b.identifier)){if(D.assignment&&J$t(D.assignment,b.identifier))continue;return}}}e.report({node:f.identifier,messageId:"unnecessaryAssignment"})}for(let f of a.assignments.values()){f.sort((p,g)=>p.identifier.range[0]-g.identifier.range[0]);for(let p of f)l(p,f)}}return{onCodePathStart(a,u){let l=t.getScope(u);r={upper:r,codePath:a,scope:l,segments:Object.create(null),currentSegments:new Set,assignments:new Map,tryStatementBlocks:[]},n.add(r.scope)},onCodePathEnd(){s(r),r=r.upper},onCodePathSegmentStart(a){let u={segment:a,first:null,last:null};r.segments[a.id]=u,r.currentSegments.add(a)},onCodePathSegmentEnd(a){r.currentSegments.delete(a)},TryStatement(a){r.tryStatementBlocks.push(a.block)},Identifier(a){for(let u of r.currentSegments){let l=r.segments[u.id];l.first||(l.first=a),l.last=a}},":matches(VariableDeclarator[init!=null], AssignmentExpression, UpdateExpression):exit"(a){if(r.currentSegments.size===0)return;let u=r.assignments,l,f=null;a.type==="VariableDeclarator"?(l=a.id,f=a.init):a.type==="AssignmentExpression"?(l=a.left,f=a.right):l=a.argument;for(let p of Wft(l)){let g=t.getScope(p),A=K6l(g,p);if(!A||A.scope.type==="global"&&A.defs.length===0||r.scope!==i(A.scope)||A.eslintUsed||A.scope.type==="module"&&(A.defs.some(_=>_.type==="Variable"&&_.parent.parent.type==="ExportNamedDeclaration"||_.type==="FunctionName"&&(_.node.parent.type==="ExportNamedDeclaration"||_.node.parent.type==="ExportDefaultDeclaration")||_.type==="ClassName"&&(_.node.parent.type==="ExportNamedDeclaration"||_.node.parent.type==="ExportDefaultDeclaration"))||A.references.some(_=>_.identifier.parent.type==="ExportSpecifier")))continue;let h=u.get(A);h||(h=[],u.set(A,h)),h.push({variable:A,identifier:p,node:a,expression:f,segments:[...r.currentSegments]})}}}}}});var oSs=j((H_A,aSs)=>{"use strict";var{CALL:J6l,CONSTRUCT:H6l,ReferenceTracker:z6l,getStringIfConstant:nSs}=NS(),{RegExpParser:W6l,visitRegExpAST:X6l}=VQ(),Z6l=new W6l;function iSs(e){let t=[],r=e;do t.push(r),r=r.parent;while(r);return t}function sSs(e){return e.type==="Assertion"&&(e.kind==="lookahead"||e.kind==="lookbehind")}function ekl(e){return sSs(e)&&e.negate}aSs.exports={meta:{type:"problem",docs:{description:"Disallow useless backreferences in regular expressions",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-backreference"},schema:[],messages:{nested:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} from within that group.",forward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which appears later in the pattern.",backward:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which appears before in the same lookbehind.",disjunctive:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which is in another alternative.",intoNegativeLookaround:"Backreference '{{ bref }}' will be ignored. It references group '{{ group }}'{{ otherGroups }} which is in a negative lookaround."}},create(e){let t=e.sourceCode;function r(n,i,s){let a;try{a=Z6l.parsePattern(i,0,i.length,{unicode:s.includes("u"),unicodeSets:s.includes("v")})}catch{return}X6l(a,{onBackreferenceEnter(u){let l=[u.resolved].flat(),f=iSs(u),p=l.map(D=>{let k=iSs(D);if(f.includes(D))return{messageId:"nested",group:D};let M=f.length-1,R=k.length-1;do M--,R--;while(f[M]===k[R]);let q=R+1,G=k.slice(0,q),K=k.slice(q),Z=K.find(sSs),oe=Z&&Z.kind==="lookbehind";return G.at(-1).type==="Alternative"?{messageId:"disjunctive",group:D}:!oe&&u.end<=D.start?{messageId:"forward",group:D}:oe&&D.end<=u.start?{messageId:"backward",group:D}:G.some(ekl)?{messageId:"intoNegativeLookaround",group:D}:null});if(p.length===0||p.some(D=>!D))return;let g,A=p.filter(D=>D.messageId!=="disjunctive");A.length?g=A:g=p;let[{messageId:h,group:_},...E]=g,b="";E.length===1?b=" and another group":E.length>1&&(b=` and other ${E.length} groups`),e.report({node:n,messageId:h,data:{bref:u.raw,group:_.raw,otherGroups:b}})}})}return{"Literal[regex]"(n){let{pattern:i,flags:s}=n.regex;r(n,i,s)},Program(n){let i=t.getScope(n),s=new z6l(i),a={RegExp:{[J6l]:!0,[H6l]:!0}};for(let{node:u}of s.iterateGlobalReferences(a)){let[l,f]=u.arguments,p=nSs(l,i),g=nSs(f,i);typeof p=="string"&&r(u,p,g||"")}}}}}});var lSs=j((z_A,uSs)=>{"use strict";var Xft=ao();function tkl(e){let t=Xft.skipChainExpression(e.callee);return t.type==="MemberExpression"&&t.property.type==="Identifier"&&t.computed===!1&&(t.property.name==="call"&&e.arguments.length>=1||t.property.name==="apply"&&e.arguments.length===2&&e.arguments[1].type==="ArrayExpression")}function rkl(e,t,r){return e?Xft.equalTokens(e,t,r):Xft.isNullOrUndefined(t)}uSs.exports={meta:{type:"suggestion",docs:{description:"Disallow unnecessary calls to `.call()` and `.apply()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-call"},schema:[],messages:{unnecessaryCall:"Unnecessary '.{{name}}()'."}},create(e){let t=e.sourceCode;return{CallExpression(r){if(!tkl(r))return;let n=Xft.skipChainExpression(r.callee),i=Xft.skipChainExpression(n.object),s=i.type==="MemberExpression"?i.object:null,a=r.arguments[0];rkl(s,a,t)&&e.report({node:r,messageId:"unnecessaryCall",data:{name:n.property.name}})}}}}});var fSs=j((W_A,cSs)=>{"use strict";cSs.exports={meta:{type:"suggestion",docs:{description:"Disallow unnecessary `catch` clauses",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-catch"},schema:[],messages:{unnecessaryCatchClause:"Unnecessary catch clause.",unnecessaryCatch:"Unnecessary try/catch wrapper."}},create(e){return{CatchClause(t){t.param&&t.param.type==="Identifier"&&t.body.body.length&&t.body.body[0].type==="ThrowStatement"&&t.body.body[0].argument.type==="Identifier"&&t.body.body[0].argument.name===t.param.name&&(t.parent.finalizer?e.report({node:t,messageId:"unnecessaryCatchClause"}):e.report({node:t.parent,messageId:"unnecessaryCatch"}))}}}}});var dSs=j((X_A,pSs)=>{"use strict";var Yrn=ao();function nkl(e){if(!e.computed)return!1;let{key:t}=e;if(t.type!=="Literal")return!1;let{value:r}=t;if(typeof r!="number"&&typeof r!="string")return!1;switch(e.type){case"Property":return e.parent.type==="ObjectExpression"?r!=="__proto__":!0;case"PropertyDefinition":return e.static?r!=="constructor"&&r!=="prototype":r!=="constructor";case"MethodDefinition":return e.static?r!=="prototype":r!=="constructor";default:throw new Error(`Unexpected node type: ${e.type}`)}}pSs.exports={meta:{type:"suggestion",defaultOptions:[{enforceForClassMembers:!0}],docs:{description:"Disallow unnecessary computed property keys in objects and classes",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-useless-computed-key"},schema:[{type:"object",properties:{enforceForClassMembers:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{unnecessarilyComputedProperty:"Unnecessarily computed property [{{property}}] found."}},create(e){let t=e.sourceCode,[{enforceForClassMembers:r}]=e.options;function n(s){if(nkl(s)){let{key:a}=s;e.report({node:s,messageId:"unnecessarilyComputedProperty",data:{property:t.getText(a)},fix(u){let l=t.getTokenBefore(a,Yrn.isOpeningBracketToken),f=t.getTokenAfter(a,Yrn.isClosingBracketToken);if(t.commentsExistBetween(l,f))return null;let p=t.getTokenBefore(l),A=(p.range[1]===l.range[0]&&!Yrn.canTokensBeAdjacent(p,t.getFirstToken(a))?" ":"")+a.raw;return u.replaceTextRange([l.range[0],f.range[1]],A)}})}}function i(){}return{Property:n,MethodDefinition:r?n:i,PropertyDefinition:r?n:i}}}});var ASs=j((Z_A,gSs)=>{"use strict";var Grn=ao();function mSs(e){return e.type==="BinaryExpression"&&e.operator==="+"}function ikl(e){return e.value==="+"&&e.type==="Punctuator"}function skl(e){let t=e.left;for(;mSs(t);)t=t.right;return t}function akl(e){let t=e.right;for(;mSs(t);)t=t.left;return t}gSs.exports={meta:{type:"suggestion",docs:{description:"Disallow unnecessary concatenation of literals or template literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-useless-concat"},schema:[],messages:{unexpectedConcat:"Unexpected string concatenation of literals."}},create(e){let t=e.sourceCode;return{BinaryExpression(r){if(r.operator!=="+")return;let n=skl(r),i=akl(r);if(Grn.isStringLiteral(n)&&Grn.isStringLiteral(i)&&Grn.isTokenOnSameLine(n,i)){let s=t.getFirstTokenBetween(n,i,ikl);e.report({node:r,loc:s.loc,messageId:"unexpectedConcat"})}}}}}});var _Ss=j((eEA,ySs)=>{"use strict";var okl=ao();function ukl(e){return e.value.params.some(t=>t.decorators?.length||t.type==="TSParameterProperty")}function lkl(e){switch(e.accessibility){case"protected":case"private":return!0;case"public":return!!e.parent.parent.superClass;default:return!1}}function ckl(e){return e.length===1&&e[0].type==="ExpressionStatement"&&e[0].expression.type==="CallExpression"&&e[0].expression.callee.type==="Super"}function fkl(e){return e.type==="Identifier"||e.type==="RestElement"}function pkl(e){return e.length===1&&e[0].type==="SpreadElement"&&e[0].argument.type==="Identifier"&&e[0].argument.name==="arguments"}function hSs(e,t){return e.type==="Identifier"&&t.type==="Identifier"&&e.name===t.name}function dkl(e,t){return e.type==="RestElement"&&t.type==="SpreadElement"&&hSs(e.argument,t.argument)}function mkl(e,t){return hSs(e,t)||dkl(e,t)}function gkl(e,t){if(e.length!==t.length)return!1;for(let r=0;r{"use strict";var ESs=ao(),{RegExpParser:hkl,visitRegExpAST:ykl}=VQ();function Vrn(e,t){return new Set((function*(){yield*e,yield*t})())}var _kl=Vrn(new Set("\\nrvtbfux"),ESs.LINEBREAKS),$rn=new Set("\\bcdDfnpPrsStvwWxu0123456789]"),Ekl=Vrn($rn,new Set("^/.$*+?[{}|()Bk")),xkl=Vrn($rn,new Set("q/[{}|()-")),vkl=new Set("!#$%&*+,.:;<=>?@^`~");xSs.exports={meta:{type:"suggestion",defaultOptions:[{allowRegexCharacters:[]}],docs:{description:"Disallow unnecessary escape characters",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-useless-escape"},hasSuggestions:!0,messages:{unnecessaryEscape:"Unnecessary escape character: \\{{character}}.",removeEscape:"Remove the `\\`. This maintains the current functionality.",removeEscapeDoNotKeepSemantics:"Remove the `\\` if it was inserted by mistake.",escapeBackslash:"Replace the `\\` with `\\\\` to include the actual backslash character."},schema:[{type:"object",properties:{allowRegexCharacters:{type:"array",items:{type:"string"},uniqueItems:!0}},additionalProperties:!1}]},create(e){let t=e.sourceCode,[{allowRegexCharacters:r}]=e.options,n=new hkl;function i(l,f,p,g){let A=l.range[0]+f,h=[A,A+1],_=t.getLocFromIndex(A);e.report({node:l,loc:{start:_,end:{line:_.line,column:_.column+1}},messageId:"unnecessaryEscape",data:{character:p},suggest:[{messageId:ESs.isDirective(l.parent)?"removeEscapeDoNotKeepSemantics":"removeEscape",fix(E){return E.removeRange(h)}},...g?[]:[{messageId:"escapeBackslash",fix(E){return E.insertTextBeforeRange(h,"\\")}}]]})}function s(l,f){let p=l.type==="TemplateElement",g=f[0][1],A=!_kl.has(g),h;p?(h=g==="`",g==="$"?A=f.input[f.index+2]!=="{":g==="{"&&(A=f.input[f.index-1]!=="$")):h=g===l.raw[0],A&&!h&&i(l,f.index,f[0].slice(1))}function a(l){let{pattern:f,flags:p}=l.regex,g,A=p.includes("u"),h=p.includes("v");try{g=n.parsePattern(f,0,f.length,{unicode:A,unicodeSets:h})}catch{return}let _=[];ykl(g,{onCharacterClassEnter:E=>_.unshift(E),onCharacterClassLeave:()=>_.shift(),onExpressionCharacterClassEnter:E=>_.unshift(E),onExpressionCharacterClassLeave:()=>_.shift(),onCharacterEnter(E){if(!E.raw.startsWith("\\"))return;let b=E.raw.slice(1);if(b!==String.fromCodePoint(E.value)||r.includes(b))return;let D;if(_.length?D=h?xkl:$rn:D=Ekl,D.has(b))return;let k=E.start+1,M=!1;if(_.length){let R=_[0];if(b==="^"&&R.start+1===E.start)return;if(h){if(vkl.has(b)&&(f[E.end]===b||f[E.start-1]===b&&(b!=="^"||!R.negate||R.start+1{"use strict";var H$t=ao();CSs.exports={meta:{type:"suggestion",defaultOptions:[{ignoreDestructuring:!1,ignoreImport:!1,ignoreExport:!1}],docs:{description:"Disallow renaming import, export, and destructured assignments to the same name",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-rename"},fixable:"code",schema:[{type:"object",properties:{ignoreDestructuring:{type:"boolean"},ignoreImport:{type:"boolean"},ignoreExport:{type:"boolean"}},additionalProperties:!1}],messages:{unnecessarilyRenamed:"{{type}} {{name}} unnecessarily renamed."}},create(e){let t=e.sourceCode,[{ignoreDestructuring:r,ignoreImport:n,ignoreExport:i}]=e.options;function s(f,p,g){let A=p.type==="Identifier"?p.name:p.value;return e.report({node:f,messageId:"unnecessarilyRenamed",data:{name:A,type:g},fix(h){let _=f.type==="Property"?f.value:f.local;return t.getCommentsInside(f).length>t.getCommentsInside(_).length||_.type==="AssignmentPattern"&&H$t.isParenthesised(t,_.left)?null:h.replaceText(f,t.getText(_))}})}function a(f){if(!r)for(let p of f.properties){if(p.type!=="Property"||p.shorthand||p.computed)continue;let g=p.key.type==="Identifier"&&p.key.name||p.key.type==="Literal"&&p.key.value,A=p.value.type==="AssignmentPattern"?p.value.left.name:p.value.name;g===A&&s(p,p.key,"Destructuring assignment")}}function u(f){n||f.imported.range[0]!==f.local.range[0]&&H$t.getModuleExportName(f.imported)===f.local.name&&s(f,f.imported,"Import")}function l(f){i||f.local.range[0]!==f.exported.range[0]&&H$t.getModuleExportName(f.local)===H$t.getModuleExportName(f.exported)&&s(f,f.local,"Export")}return{ObjectPattern:a,ImportSpecifier:u,ExportSpecifier:l}}}});var SSs=j((nEA,ISs)=>{"use strict";var Krn=ao(),Ckl=PGe();function bkl(e,t){let r=e.indexOf(t);r!==-1&&e.splice(r,1)}function Ikl(e){return Krn.STATEMENT_LIST_PARENTS.has(e.parent.type)}function Skl(e){for(let t=e;t&&t.parent&&!Krn.isFunction(t);t=t.parent)if(t.parent.type==="TryStatement"&&t.parent.finalizer===t)return!0;return!1}function Tkl(e){for(let t of e)if(t.reachable)return!0;return!1}ISs.exports={meta:{type:"suggestion",docs:{description:"Disallow redundant return statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-useless-return"},fixable:"code",schema:[],messages:{unnecessaryReturn:"Unnecessary return statement."}},create(e){let t=new WeakMap,r=e.sourceCode,n=null;function i(l){let f=t.get(l);return!f||f.returned}function s(l,f,p){let g=p||new WeakSet;for(let A of f){if(!A.reachable){g.has(A)||(g.add(A),s(l,A.allPrevSegments.filter(i),g));continue}t.has(A)&&l.push(...t.get(A).uselessReturns)}return l}function a(l,f){if(!l.reachable){f.add(l),l.allPrevSegments.filter(i).filter(g=>!f.has(g)).forEach(g=>a(g,f));return}let p=t.get(l);p&&(p.uselessReturns=p.uselessReturns.filter(g=>{if(n.traversedTryBlockStatements&&n.traversedTryBlockStatements.length>0){let A=g.range[0],h=g.range[1];if(n.traversedTryBlockStatements.some(E=>{let b=E.range[0],D=E.range[1];return A>=b&&h<=D}))return!0}return bkl(n.uselessReturns,g),!1}))}function u(){n.currentSegments.forEach(l=>a(l,new Set))}return{onCodePathStart(l){n={upper:n,uselessReturns:[],traversedTryBlockStatements:[],codePath:l,currentSegments:new Set}},onCodePathEnd(){for(let l of n.uselessReturns)e.report({node:l,loc:l.loc,messageId:"unnecessaryReturn",fix(f){return Ikl(l)&&!r.getCommentsInside(l).length?new Ckl(f,r).retainEnclosingFunction(l).remove(l):null}});n=n.upper},onCodePathSegmentStart(l){n.currentSegments.add(l);let f={uselessReturns:s([],l.allPrevSegments),returned:!1};t.set(l,f)},onUnreachableCodePathSegmentStart(l){n.currentSegments.add(l)},onUnreachableCodePathSegmentEnd(l){n.currentSegments.delete(l)},onCodePathSegmentEnd(l){n.currentSegments.delete(l)},ReturnStatement(l){if(l.argument&&u(),!(l.argument||Krn.isInLoop(l)||Skl(l)||!Tkl(n.currentSegments))){for(let f of n.currentSegments){let p=t.get(f);p&&(p.uselessReturns.push(l),p.returned=!0)}n.uselessReturns.push(l)}},"TryStatement > BlockStatement.block:exit"(l){n.traversedTryBlockStatements.push(l)},"TryStatement:exit"(){n.traversedTryBlockStatements.pop()},ClassDeclaration:u,ContinueStatement:u,DebuggerStatement:u,DoWhileStatement:u,EmptyStatement:u,ExpressionStatement:u,ForInStatement:u,ForOfStatement:u,ForStatement:u,IfStatement:u,ImportDeclaration:u,LabeledStatement:u,SwitchStatement:u,ThrowStatement:u,TryStatement:u,VariableDeclaration:u,WhileStatement:u,WithStatement:u,ExportNamedDeclaration:u,ExportDefaultDeclaration:u,ExportAllDeclaration:u}}}});var BSs=j((iEA,wSs)=>{"use strict";var Jrn=ao();function Dkl(e){return!!e.scope&&e.scope.type==="global"}function TSs(e){let t=e;for(;t.type!=="function"&&t.type!=="global";)t=t.upper;return t}function wkl(e){let t=TSs(e.scope);return e.references.some(r=>TSs(r.from)!==t)}function DSs(e){return(e.parent.type==="ForOfStatement"||e.parent.type==="ForInStatement")&&e===e.parent.left}function Bkl(e){return e.declarations.every(t=>t.init!==null)}var kkl=/^(?:Program|BlockStatement|SwitchStatement|ForStatement|ForInStatement|ForOfStatement)$/u;function Pkl(e){for(let t=e;t;t=t.parent)if(kkl.test(t.type))return t;return null}function Nkl(e){return e.defs.length>=2}function Okl(e){function t(r){let n=e.range,i=r.identifier.range;return i[0]n[1]}return function(r){return r.references.some(t)}}function Rkl(e){let t=e.range[0],r=e.range[1];return n=>{let i=n.defs[0].name,s=i.range[0],a=i.parent.type==="AssignmentPattern"?i.parent.right:null,u=a&&a.range[0],l=a&&a.range[1];return n.references.some(f=>{let p=f.identifier.range[0],g=f.identifier.range[1];return!f.init&&(p=u&&g<=l||!Jrn.isFunction(e)&&p>=t&&g<=r)})}}function Fkl(e){return e.name==="let"}wSs.exports={meta:{type:"suggestion",dialects:["typescript","javascript"],language:"javascript",docs:{description:"Require `let` or `const` instead of `var`",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-var"},schema:[],fixable:"code",messages:{unexpectedVar:"Unexpected var, use let or const instead."}},create(e){let t=e.sourceCode;function r(s){return s.init?t.getDeclaredVariables(s).some(Rkl(s.init)):!1}function n(s){let a=t.getDeclaredVariables(s),u=Pkl(s);return!(s.parent.type==="SwitchCase"||s.declarations.some(r)||a.some(Dkl)||a.some(Nkl)||a.some(Okl(u))||a.some(Fkl)||Jrn.isInLoop(s)&&(a.some(wkl)||!DSs(s)&&!Bkl(s))||!DSs(s)&&!(s.parent.type==="ForStatement"&&s.parent.init===s)&&!Jrn.STATEMENT_LIST_PARENTS.has(s.parent.type))}function i(s){e.report({node:s,messageId:"unexpectedVar",fix(a){let u=t.getFirstToken(s,{filter:l=>l.value==="var"});return n(s)?a.replaceText(u,"let"):null}})}return{"VariableDeclaration:exit"(s){s.kind==="var"&&(s.parent.type==="TSModuleBlock"&&s.parent.parent.type==="TSModuleDeclaration"&&s.parent.parent.global||i(s))}}}}});var PSs=j((sEA,kSs)=>{"use strict";kSs.exports={meta:{type:"suggestion",defaultOptions:[{allowAsStatement:!1}],docs:{description:"Disallow `void` operators",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-void"},messages:{noVoid:"Expected 'undefined' and instead saw 'void'."},schema:[{type:"object",properties:{allowAsStatement:{type:"boolean"}},additionalProperties:!1}]},create(e){let[{allowAsStatement:t}]=e.options;return{'UnaryExpression[operator="void"]'(r){t&&r.parent&&r.parent.type==="ExpressionStatement"||e.report({node:r,messageId:"noVoid"})}}}}});var RSs=j((aEA,OSs)=>{"use strict";var NSs=hGe(),Lkl=ao(),Mkl=40;OSs.exports={meta:{type:"suggestion",defaultOptions:[{location:"start",terms:["todo","fixme","xxx"]}],docs:{description:"Disallow specified warning terms in comments",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/no-warning-comments"},schema:[{type:"object",properties:{terms:{type:"array",items:{type:"string"}},location:{enum:["start","anywhere"]},decoration:{type:"array",items:{type:"string",pattern:"^\\S$"},minItems:1,uniqueItems:!0}},additionalProperties:!1}],messages:{unexpectedComment:"Unexpected '{{matchedTerm}}' comment: '{{comment}}'."}},create(e){let t=e.sourceCode,[{decoration:r,location:n,terms:i}]=e.options,s=NSs(r?r.join(""):""),a=/\bno-warning-comments\b/u;function u(g){let A=NSs(g),h="\\b",_="";n==="start"?_=`^[\\s${s}]*`:/^\w/u.test(g)&&(_=h);let E=/\w$/u.test(g)?h:"",b="iu";return new RegExp(`${_}${A}${E}`,b)}let l=i.map(u);function f(g){let A=[];return l.forEach((h,_)=>{h.test(g)&&A.push(i[_])}),A}function p(g){let A=g.value;if(Lkl.isDirectiveComment(g)&&a.test(A))return;f(A).forEach(_=>{let E="",b=!1;for(let D of A.trim().split(/\s+/u)){let k=E?`${E} ${D}`:D;if(k.length<=Mkl)E=k;else{b=!0;break}}e.report({node:g,messageId:"unexpectedComment",data:{matchedTerm:_,comment:`${E}${b?"...":""}`}})})}return{Program(){t.getAllComments().filter(A=>A.type!=="Shebang").forEach(p)}}}}});var LSs=j((oEA,FSs)=>{"use strict";var Hrn=ao();FSs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"no-whitespace-before-property",url:"https://eslint.style/rules/no-whitespace-before-property"}}]},type:"layout",docs:{description:"Disallow whitespace before properties",recommended:!1,url:"https://eslint.org/docs/latest/rules/no-whitespace-before-property"},fixable:"whitespace",schema:[],messages:{unexpectedWhitespace:"Unexpected whitespace before property {{propName}}."}},create(e){let t=e.sourceCode;function r(n,i,s){e.report({node:n,messageId:"unexpectedWhitespace",data:{propName:t.getText(n.property)},fix(a){let u="";return!n.computed&&!n.optional&&Hrn.isDecimalInteger(n.object)||t.commentsExistBetween(i,s)?null:(n.optional?u="?.":n.computed||(u="."),a.replaceTextRange([i.range[1],s.range[0]],u))}})}return{MemberExpression(n){let i,s;Hrn.isTokenOnSameLine(n.object,n.property)&&(n.computed?(i=t.getTokenBefore(n.property,Hrn.isOpeningBracketToken),s=t.getTokenBefore(i,n.optional?1:0)):(i=t.getFirstToken(n.property),s=t.getTokenBefore(i,1)),t.isSpaceBetweenTokens(s,i)&&r(n,s,i))}}}}});var QSs=j((uEA,MSs)=>{"use strict";MSs.exports={meta:{type:"suggestion",docs:{description:"Disallow `with` statements",recommended:!0,url:"https://eslint.org/docs/latest/rules/no-with"},schema:[],messages:{unexpectedWith:"Unexpected use of 'with' statement."}},create(e){return{WithStatement(t){e.report({node:t,messageId:"unexpectedWith"})}}}}});var USs=j((lEA,jSs)=>{"use strict";var FGe={enum:["beside","below","any"]};jSs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"nonblock-statement-body-position",url:"https://eslint.style/rules/nonblock-statement-body-position"}}]},type:"layout",docs:{description:"Enforce the location of single-line statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/nonblock-statement-body-position"},fixable:"whitespace",schema:[FGe,{properties:{overrides:{properties:{if:FGe,else:FGe,while:FGe,do:FGe,for:FGe},additionalProperties:!1}},additionalProperties:!1}],messages:{expectNoLinebreak:"Expected no linebreak before this statement.",expectLinebreak:"Expected a linebreak before this statement."}},create(e){let t=e.sourceCode;function r(i){return e.options[1]&&e.options[1].overrides&&e.options[1].overrides[i]||e.options[0]||"beside"}function n(i,s){let a=r(s);if(i.type==="BlockStatement"||a==="any")return;let u=t.getTokenBefore(i);u.loc.end.line===i.loc.start.line&&a==="below"?e.report({node:i,messageId:"expectLinebreak",fix:l=>l.insertTextBefore(i,` `)}):u.loc.end.line!==i.loc.start.line&&a==="beside"&&e.report({node:i,messageId:"expectNoLinebreak",fix(l){return t.getText().slice(u.range[1],i.range[0]).trim()?null:l.replaceTextRange([u.range[1],i.range[0]]," ")}})}return{IfStatement(i){n(i.consequent,"if"),i.alternate&&i.alternate.type!=="IfStatement"&&n(i.alternate,"else")},WhileStatement:i=>n(i.body,"while"),DoWhileStatement:i=>n(i.body,"do"),ForStatement:i=>n(i.body,"for"),ForInStatement:i=>n(i.body,"for"),ForOfStatement:i=>n(i.body,"for")}}}});var GSs=j((cEA,YSs)=>{"use strict";var LGe=ao(),Zft={oneOf:[{enum:["always","never"]},{type:"object",properties:{multiline:{type:"boolean"},minProperties:{type:"integer",minimum:0},consistent:{type:"boolean"}},additionalProperties:!1,minProperties:1}]};function ept(e){let t=!1,r=Number.POSITIVE_INFINITY,n=!1;return e?e==="always"?r=0:e==="never"?r=Number.POSITIVE_INFINITY:(t=!!e.multiline,r=e.minProperties||Number.POSITIVE_INFINITY,n=!!e.consistent):n=!0,{multiline:t,minProperties:r,consistent:n}}function qSs(e){return typeof e=="object"&&e!==null}function Qkl(e){return qSs(e)||typeof e=="string"}function jkl(e){if(qSs(e)&&Object.values(e).some(Qkl))return{ObjectExpression:ept(e.ObjectExpression),ObjectPattern:ept(e.ObjectPattern),ImportDeclaration:ept(e.ImportDeclaration),ExportNamedDeclaration:ept(e.ExportDeclaration)};let t=ept(e);return{ObjectExpression:t,ObjectPattern:t,ImportDeclaration:t,ExportNamedDeclaration:t}}function Ukl(e,t,r,n){let i;return e.type==="ObjectExpression"||e.type==="ObjectPattern"?i=e.properties:i=e.specifiers.filter(s=>s.type==="ImportSpecifier"||s.type==="ExportSpecifier"),i.length>=t.minProperties||t.multiline&&i.length>0&&r.loc.start.line!==n.loc.end.line}YSs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"object-curly-newline",url:"https://eslint.style/rules/object-curly-newline"}}]},type:"layout",docs:{description:"Enforce consistent line breaks after opening and before closing braces",recommended:!1,url:"https://eslint.org/docs/latest/rules/object-curly-newline"},fixable:"whitespace",schema:[{oneOf:[Zft,{type:"object",properties:{ObjectExpression:Zft,ObjectPattern:Zft,ImportDeclaration:Zft,ExportDeclaration:Zft},additionalProperties:!1,minProperties:1}]}],messages:{unexpectedLinebreakBeforeClosingBrace:"Unexpected line break before this closing brace.",unexpectedLinebreakAfterOpeningBrace:"Unexpected line break after this opening brace.",expectedLinebreakBeforeClosingBrace:"Expected a line break before this closing brace.",expectedLinebreakAfterOpeningBrace:"Expected a line break after this opening brace."}},create(e){let t=e.sourceCode,r=jkl(e.options[0]);function n(i){let s=r[i.type];if(i.type==="ImportDeclaration"&&!i.specifiers.some(h=>h.type==="ImportSpecifier")||i.type==="ExportNamedDeclaration"&&!i.specifiers.some(h=>h.type==="ExportSpecifier"))return;let a=t.getFirstToken(i,h=>h.value==="{"),u;i.typeAnnotation?u=t.getTokenBefore(i.typeAnnotation):u=t.getLastToken(i,h=>h.value==="}");let l=t.getTokenAfter(a,{includeComments:!0}),f=t.getTokenBefore(u,{includeComments:!0}),p=Ukl(i,s,l,f),g=LGe.isCommentToken(l),A=LGe.isCommentToken(f);if(l=t.getTokenAfter(a),f=t.getTokenBefore(u),p)LGe.isTokenOnSameLine(a,l)&&e.report({messageId:"expectedLinebreakAfterOpeningBrace",node:i,loc:a.loc,fix(h){return g?null:h.insertTextAfter(a,` `)}}),LGe.isTokenOnSameLine(f,u)&&e.report({messageId:"expectedLinebreakBeforeClosingBrace",node:i,loc:u.loc,fix(h){return A?null:h.insertTextBefore(u,` `)}});else{let h=s.consistent,_=!LGe.isTokenOnSameLine(a,l),E=!LGe.isTokenOnSameLine(f,u);(!h&&_||h&&_&&!E)&&e.report({messageId:"unexpectedLinebreakAfterOpeningBrace",node:i,loc:a.loc,fix(b){return g?null:b.removeRange([a.range[1],l.range[0]])}}),(!h&&E||h&&!_&&E)&&e.report({messageId:"unexpectedLinebreakBeforeClosingBrace",node:i,loc:u.loc,fix(b){return A?null:b.removeRange([f.range[1],u.range[0]])}})}}return{ObjectExpression:n,ObjectPattern:n,ImportDeclaration:n,ExportNamedDeclaration:n}}}});var $Ss=j((fEA,VSs)=>{"use strict";var Y7e=ao();VSs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"object-curly-spacing",url:"https://eslint.style/rules/object-curly-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside braces",recommended:!1,url:"https://eslint.org/docs/latest/rules/object-curly-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{arraysInObjects:{type:"boolean"},objectsInObjects:{type:"boolean"}},additionalProperties:!1}],messages:{requireSpaceBefore:"A space is required before '{{token}}'.",requireSpaceAfter:"A space is required after '{{token}}'.",unexpectedSpaceBefore:"There should be no space before '{{token}}'.",unexpectedSpaceAfter:"There should be no space after '{{token}}'."}},create(e){let t=e.options[0]==="always",r=e.sourceCode;function n(_){return e.options[1]?e.options[1][_]===!t:!1}let i={spaced:t,arraysInObjectsException:n("arraysInObjects"),objectsInObjectsException:n("objectsInObjects")};function s(_,E){let b=e.sourceCode.getTokenAfter(E,{includeComments:!0});e.report({node:_,loc:{start:E.loc.end,end:b.loc.start},messageId:"unexpectedSpaceAfter",data:{token:E.value},fix(D){return D.removeRange([E.range[1],b.range[0]])}})}function a(_,E){let b=e.sourceCode.getTokenBefore(E,{includeComments:!0});e.report({node:_,loc:{start:b.loc.end,end:E.loc.start},messageId:"unexpectedSpaceBefore",data:{token:E.value},fix(D){return D.removeRange([b.range[1],E.range[0]])}})}function u(_,E){e.report({node:_,loc:E.loc,messageId:"requireSpaceAfter",data:{token:E.value},fix(b){return b.insertTextAfter(E," ")}})}function l(_,E){e.report({node:_,loc:E.loc,messageId:"requireSpaceBefore",data:{token:E.value},fix(b){return b.insertTextBefore(E," ")}})}function f(_,E,b,D,k){if(Y7e.isTokenOnSameLine(E,b)){let M=r.isSpaceBetweenTokens(E,b);i.spaced&&!M&&u(_,E),!i.spaced&&M&&b.type!=="Line"&&s(_,E)}if(Y7e.isTokenOnSameLine(D,k)){let R=(i.arraysInObjectsException&&Y7e.isClosingBracketToken(D)||i.objectsInObjectsException&&Y7e.isClosingBraceToken(D))&&r.getNodeByRangeIndex(D.range[0]).type,q=i.arraysInObjectsException&&R==="ArrayExpression"||i.objectsInObjectsException&&(R==="ObjectExpression"||R==="ObjectPattern")?!i.spaced:i.spaced,G=r.isSpaceBetweenTokens(D,k);q&&!G&&l(_,k),!q&&G&&a(_,k)}}function p(_){let E=_.properties.at(-1);return r.getTokenAfter(E,Y7e.isClosingBraceToken)}function g(_){if(_.properties.length===0)return;let E=r.getFirstToken(_),b=p(_),D=r.getTokenAfter(E,{includeComments:!0}),k=r.getTokenBefore(b,{includeComments:!0});f(_,E,D,k,b)}function A(_){if(_.specifiers.length===0)return;let E=_.specifiers[0],b=_.specifiers.at(-1);if(b.type!=="ImportSpecifier")return;E.type!=="ImportSpecifier"&&(E=_.specifiers[1]);let D=r.getTokenBefore(E),k=r.getTokenAfter(b,Y7e.isNotCommaToken),M=r.getTokenAfter(D,{includeComments:!0}),R=r.getTokenBefore(k,{includeComments:!0});f(_,D,M,R,k)}function h(_){if(_.specifiers.length===0)return;let E=_.specifiers[0],b=_.specifiers.at(-1),D=r.getTokenBefore(E),k=r.getTokenAfter(b,Y7e.isNotCommaToken),M=r.getTokenAfter(D,{includeComments:!0}),R=r.getTokenBefore(k,{includeComments:!0});f(_,D,M,R,k)}return{ObjectPattern:g,ObjectExpression:g,ImportDeclaration:A,ExportNamedDeclaration:h}}}});var JSs=j((pEA,KSs)=>{"use strict";KSs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"object-property-newline",url:"https://eslint.style/rules/object-property-newline"}}]},type:"layout",docs:{description:"Enforce placing object properties on separate lines",recommended:!1,url:"https://eslint.org/docs/latest/rules/object-property-newline"},schema:[{type:"object",properties:{allowAllPropertiesOnSameLine:{type:"boolean",default:!1},allowMultiplePropertiesPerLine:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"whitespace",messages:{propertiesOnNewlineAll:"Object properties must go on a new line if they aren't all on the same line.",propertiesOnNewline:"Object properties must go on a new line."}},create(e){let t=e.options[0]&&(e.options[0].allowAllPropertiesOnSameLine||e.options[0].allowMultiplePropertiesPerLine),r=t?"propertiesOnNewlineAll":"propertiesOnNewline",n=e.sourceCode;return{ObjectExpression(i){if(t&&i.properties.length>1){let s=n.getFirstToken(i.properties[0]),a=n.getLastToken(i.properties.at(-1));if(s.loc.end.line===a.loc.start.line)return}for(let s=1;s{"use strict";var HSe={always:"always",never:"never",methods:"methods",properties:"properties",consistent:"consistent",consistentAsNeeded:"consistent-as-needed"},tpt=ao(),qkl=/[^_$0-9]/u,Ykl=/^\s*\*/u;function Gkl(e){let t=qkl.exec(e);if(!t)return!1;let r=e.charAt(t.index);return r===r.toUpperCase()}function Vkl(e){return e.kind!=="set"&&e.kind!=="get"&&e.type!=="SpreadElement"&&e.type!=="SpreadProperty"&&e.type!=="ExperimentalSpreadProperty"}function HSs(e){return e.type==="Literal"&&typeof e.value=="string"}function $kl(e){return e.shorthand||e.method}function Kkl(e){let t=e.value;return t.type==="FunctionExpression"?!t.id:t.type==="Identifier"?tpt.getStaticPropertyName(e)===t.name:!1}zSs.exports={meta:{type:"suggestion",docs:{description:"Require or disallow method and property shorthand syntax for object literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/object-shorthand"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["always","methods","properties","never","consistent","consistent-as-needed"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always","methods","properties"]},{type:"object",properties:{avoidQuotes:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2},{type:"array",items:[{enum:["always","methods"]},{type:"object",properties:{ignoreConstructors:{type:"boolean"},methodsIgnorePattern:{type:"string"},avoidQuotes:{type:"boolean"},avoidExplicitReturnArrows:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{expectedAllPropertiesShorthanded:"Expected shorthand for all properties.",expectedLiteralMethodLongform:"Expected longform method syntax for string literal keys.",expectedPropertyShorthand:"Expected property shorthand.",expectedPropertyLongform:"Expected longform property syntax.",expectedMethodShorthand:"Expected method shorthand.",expectedMethodLongform:"Expected longform method syntax.",unexpectedMix:"Unexpected mix of shorthand and non-shorthand properties."}},create(e){let t=e.options[0]||HSe.always,r=t===HSe.methods||t===HSe.always,n=t===HSe.properties||t===HSe.always,i=t===HSe.never,s=t===HSe.consistent,a=t===HSe.consistentAsNeeded,u=e.options[1]||{},l=u.ignoreConstructors,f=u.methodsIgnorePattern?new RegExp(u.methodsIgnorePattern,"u"):null,p=u.avoidQuotes,g=!!u.avoidExplicitReturnArrows,A=e.sourceCode;function h(G,K){let Z=G.properties.filter(Vkl);if(Z.length>0){let oe=Z.filter($kl);oe.length!==Z.length&&(oe.length>0?e.report({node:G,messageId:"unexpectedMix"}):K&&Z.every(Kkl)&&e.report({node:G,messageId:"expectedAllPropertiesShorthanded"}))}}function _(G,K){let Z=K.computed?A.getFirstToken(K,tpt.isOpeningBracketToken):A.getFirstToken(K.key),oe=K.computed?A.getFirstTokenBetween(K.key,K.value,tpt.isClosingBracketToken):A.getLastToken(K.key),ue=A.text.slice(Z.range[0],oe.range[1]),me="";if(A.commentsExistBetween(oe,K.value))return null;K.value.async&&(me+="async "),K.value.generator&&(me+="*");let Te=[Z.range[0],K.range[1]],le=me+ue;if(K.value.type==="FunctionExpression"){let Ur=A.getTokens(K.value).find(xr=>xr.type==="Keyword"&&xr.value==="function"),Sr=K.value.generator?A.getTokenAfter(Ur):Ur;return G.replaceTextRange(Te,le+A.text.slice(Sr.range[1],K.value.range[1]))}let ae=A.getTokenBefore(K.value.body,tpt.isArrowToken),Ae=A.text.slice(ae.range[1],K.value.range[1]),_e=A.getFirstToken(K.value,{skip:K.value.async?1:0}).range[0],Le=A.getTokenBefore(ae).range[1],qe=K.value.params.length===1&&K.value.params[0].range[0]===_e,at=A.text.slice(_e,Le),st=qe?`(${at})`:at;return G.replaceTextRange(Te,le+st+Ae)}function E(G,K){let Z=K.computed?A.getTokens(K).find(Te=>Te.value==="["):A.getFirstToken(K.key),oe=K.computed?A.getTokensBetween(K.key,K.value).find(Te=>Te.value==="]"):A.getLastToken(K.key),ue=A.text.slice(Z.range[0],oe.range[1]),me="function";return K.value.async&&(me=`async ${me}`),K.value.generator&&(me=`${me}*`),G.replaceTextRange([K.range[0],oe.range[1]],`${ue}: ${me}`)}let b=[],D=new WeakSet,k=new WeakSet;function M(G){b.unshift(new Set),A.getScope(G).variables.filter(K=>K.name==="arguments").forEach(K=>{K.references.map(Z=>Z.identifier).forEach(Z=>k.add(Z))})}function R(){b.shift()}function q(){b[0].forEach(G=>D.add(G))}return{Program:M,FunctionDeclaration:M,FunctionExpression:M,"Program:exit":R,"FunctionDeclaration:exit":R,"FunctionExpression:exit":R,ArrowFunctionExpression(G){b[0].add(G)},"ArrowFunctionExpression:exit"(G){b[0].delete(G)},ThisExpression:q,Super:q,MetaProperty(G){G.meta.name==="new"&&G.property.name==="target"&&q()},Identifier(G){k.has(G)&&q()},ObjectExpression(G){s?h(G,!1):a&&h(G,!0)},"Property:exit"(G){let K=G.method||G.shorthand;if(G.parent.type!=="ObjectPattern"&&!(G.kind==="get"||G.kind==="set")&&!(G.computed&&G.value.type!=="FunctionExpression"&&G.value.type!=="ArrowFunctionExpression")){if(K)if(G.method&&(i||p&&HSs(G.key))){let Z=i?"expectedMethodLongform":"expectedLiteralMethodLongform";e.report({node:G,messageId:Z,fix:oe=>E(oe,G)})}else i&&e.report({node:G,messageId:"expectedPropertyLongform",fix:Z=>Z.insertTextAfter(G.key,`: ${G.key.name}`)});else if(r&&!G.value.id&&(G.value.type==="FunctionExpression"||G.value.type==="ArrowFunctionExpression")){if(l&&G.key.type==="Identifier"&&Gkl(G.key.name))return;if(f){let Z=tpt.getStaticPropertyName(G);if(Z!==null&&f.test(Z))return}if(p&&HSs(G.key))return;(G.value.type==="FunctionExpression"||G.value.type==="ArrowFunctionExpression"&&G.value.body.type==="BlockStatement"&&g&&!D.has(G.value))&&e.report({node:G,messageId:"expectedMethodShorthand",fix:Z=>_(Z,G)})}else if(G.value.type==="Identifier"&&G.key.name===G.value.name&&n){if(A.getCommentsInside(G).some(oe=>oe.type==="Block"&&Ykl.test(oe.value)&&oe.value.includes("@type")))return;e.report({node:G,messageId:"expectedPropertyShorthand",fix(oe){return A.getCommentsInside(G).length>0?null:oe.replaceText(G,G.value.name)}})}else if(G.value.type==="Identifier"&&G.key.type==="Literal"&&G.key.value===G.value.name&&n){if(p||A.getCommentsInside(G).some(oe=>oe.type==="Block"&&oe.value.startsWith("*")&&oe.value.includes("@type")))return;e.report({node:G,messageId:"expectedPropertyShorthand",fix(oe){return A.getCommentsInside(G).length>0?null:oe.replaceText(G,G.value.name)}})}}}}}}});var ZSs=j((mEA,XSs)=>{"use strict";var Jkl=ao();function Hkl(e){return Jkl.STATEMENT_LIST_PARENTS.has(e.parent.type)}XSs.exports={meta:{type:"suggestion",docs:{description:"Enforce variables to be declared either together or separately in functions",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/one-var"},fixable:"code",schema:[{oneOf:[{enum:["always","never","consecutive"]},{type:"object",properties:{separateRequires:{type:"boolean"},var:{enum:["always","never","consecutive"]},let:{enum:["always","never","consecutive"]},const:{enum:["always","never","consecutive"]},using:{enum:["always","never","consecutive"]},awaitUsing:{enum:["always","never","consecutive"]}},additionalProperties:!1},{type:"object",properties:{initialized:{enum:["always","never","consecutive"]},uninitialized:{enum:["always","never","consecutive"]}},additionalProperties:!1}]}],messages:{combineUninitialized:"Combine this with the previous '{{type}}' statement with uninitialized variables.",combineInitialized:"Combine this with the previous '{{type}}' statement with initialized variables.",splitUninitialized:"Split uninitialized '{{type}}' declarations into multiple statements.",splitInitialized:"Split initialized '{{type}}' declarations into multiple statements.",splitRequires:"Split requires to be separated into a single block.",combine:"Combine this with the previous '{{type}}' statement.",split:"Split '{{type}}' declarations into multiple statements."}},create(e){let t="always",r="never",n="consecutive",i=e.options[0]||t,s={};typeof i=="string"?(s.var={uninitialized:i,initialized:i},s.let={uninitialized:i,initialized:i},s.const={uninitialized:i,initialized:i},s.using={uninitialized:i,initialized:i},s.awaitUsing={uninitialized:i,initialized:i}):typeof i=="object"&&(s.separateRequires=!!i.separateRequires,s.var={uninitialized:i.var,initialized:i.var},s.let={uninitialized:i.let,initialized:i.let},s.const={uninitialized:i.const,initialized:i.const},s.using={uninitialized:i.using,initialized:i.using},s.awaitUsing={uninitialized:i.awaitUsing,initialized:i.awaitUsing},Object.hasOwn(i,"uninitialized")&&(s.var.uninitialized=i.uninitialized,s.let.uninitialized=i.uninitialized,s.const.uninitialized=i.uninitialized,s.using.uninitialized=i.uninitialized,s.awaitUsing.uninitialized=i.uninitialized),Object.hasOwn(i,"initialized")&&(s.var.initialized=i.initialized,s.let.initialized=i.initialized,s.const.initialized=i.initialized,s.using.initialized=i.initialized,s.awaitUsing.initialized=i.initialized));let a=e.sourceCode,u=[],l=[];function f(){l.push({let:{initialized:!1,uninitialized:!1},const:{initialized:!1,uninitialized:!1},using:{initialized:!1,uninitialized:!1},awaitUsing:{initialized:!1,uninitialized:!1}})}function p(){u.push({initialized:!1,uninitialized:!1}),f()}function g(){l.pop()}function A(){u.pop(),g()}function h(q){return q.init&&q.init.type==="CallExpression"&&q.init.callee.name==="require"}function _(q,G,K){for(let Z=0;Z0&&Z.uninitialized===t&&oe.uninitialized||K.initialized>0&&Z.initialized===t&&oe.initialized&&!ue||oe.required&&ue?!1:(_(q,G,oe),!0)}function k(q){let G=q[0],K=Array.isArray(G.parent.parent.body)?G.parent.parent.body:[],Z=K.findIndex(ue=>ue.range[0]===G.parent.range[0]),oe=K[Z-1];return function*(me){let Te=a.getFirstToken(G.parent),le=a.getTokenBefore(Te);if(oe&&oe.kind===G.parent.kind){if(le.value===";"?yield me.replaceText(le,","):yield me.insertTextAfter(le,","),G.parent.kind==="await using"){let ae=a.getTokenAfter(Te);yield me.remove(ae)}yield me.replaceText(Te,"")}}}function M(q){let{parent:G}=q;return Hkl(G.type==="ExportNamedDeclaration"?G:q)?K=>q.declarations.map(Z=>{let oe=a.getTokenAfter(Z);if(oe===null)return null;let ue=a.getTokenAfter(oe,{includeComments:!0});if(oe.value!==",")return null;let me=q.parent.type==="ExportNamedDeclaration"?"export ":"";if(ue.range[0]===oe.range[1])return K.replaceText(oe,`; ${me}${q.kind} `);if(ue.loc.start.line>oe.loc.end.line||ue.type==="Line"||ue.type==="Block"){let Te=ue;for(;Te.type==="Line"||Te.type==="Block";)Te=a.getTokenAfter(Te,{includeComments:!0});return K.replaceTextRange([oe.range[0],Te.range[0]],`;${a.text.slice(oe.range[1],Te.range[0])}${me}${q.kind} `)}return K.replaceText(oe,`; ${me}${q.kind}`)}).filter(Z=>Z):null}function R(q){let G=q.parent,K=q.kind,Z=K==="await using"?"awaitUsing":K;if(!s[Z])return;let oe=q.declarations,ue=b(oe),me=oe.some(h)&&!oe.every(h);s[Z].initialized===t&&s.separateRequires&&me&&e.report({node:q,messageId:"splitRequires"});let Te=G.body&&G.body.length>0&&G.body.indexOf(q)||0;if(Te>0){let le=G.body[Te-1],ae=le.type==="VariableDeclaration",Ae=oe.concat(le.declarations||[]);if(ae&&le.kind===K&&!(Ae.some(h)&&!Ae.every(h))){let De=b(le.declarations);s[Z].initialized===n&&s[Z].uninitialized===n?e.report({node:q,messageId:"combine",data:{type:K},fix:k(oe)}):s[Z].initialized===n&&ue.initialized>0&&De.initialized>0?e.report({node:q,messageId:"combineInitialized",data:{type:K},fix:k(oe)}):s[Z].uninitialized===n&&ue.uninitialized>0&&De.uninitialized>0&&e.report({node:q,messageId:"combineUninitialized",data:{type:K},fix:k(oe)})}}if(!D(Z,oe)){if(s[Z].initialized===t&&s[Z].uninitialized===t)e.report({node:q,messageId:"combine",data:{type:K},fix:k(oe)});else if(s[Z].initialized===t&&ue.initialized>0&&e.report({node:q,messageId:"combineInitialized",data:{type:K},fix:k(oe)}),s[Z].uninitialized===t&&ue.uninitialized>0){if(q.parent.left===q&&(q.parent.type==="ForInStatement"||q.parent.type==="ForOfStatement"))return;e.report({node:q,messageId:"combineUninitialized",data:{type:K},fix:k(oe)})}}(G.type!=="ForStatement"||G.init!==q)&&ue.uninitialized+ue.initialized>1&&(s[Z].initialized===r&&s[Z].uninitialized===r?e.report({node:q,messageId:"split",data:{type:K},fix:M(q)}):s[Z].initialized===r&&ue.initialized>0?e.report({node:q,messageId:"splitInitialized",data:{type:K},fix:M(q)}):s[Z].uninitialized===r&&ue.uninitialized>0&&e.report({node:q,messageId:"splitUninitialized",data:{type:K},fix:M(q)}))}return{Program:p,FunctionDeclaration:p,FunctionExpression:p,ArrowFunctionExpression:p,StaticBlock:p,BlockStatement:f,ForStatement:f,ForInStatement:f,ForOfStatement:f,SwitchStatement:f,VariableDeclaration:R,"ForStatement:exit":g,"ForOfStatement:exit":g,"ForInStatement:exit":g,"SwitchStatement:exit":g,"BlockStatement:exit":g,"Program:exit":A,"FunctionDeclaration:exit":A,"FunctionExpression:exit":A,"ArrowFunctionExpression:exit":A,"StaticBlock:exit":A}}}});var tTs=j((gEA,eTs)=>{"use strict";eTs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"one-var-declaration-per-line",url:"https://eslint.style/rules/one-var-declaration-per-line"}}]},type:"suggestion",docs:{description:"Require or disallow newlines around variable declarations",recommended:!1,url:"https://eslint.org/docs/latest/rules/one-var-declaration-per-line"},schema:[{enum:["always","initializations"]}],fixable:"whitespace",messages:{expectVarOnNewline:"Expected variable declaration to be on a new line."}},create(e){let t=e.options[0]==="always";function r(i){return i==="ForStatement"||i==="ForInStatement"||i==="ForOfStatement"}function n(i){if(r(i.parent.type))return;let s=i.declarations,a;s.forEach(u=>{a&&a.loc.end.line===u.loc.start.line&&(t||a.init||u.init)&&e.report({node:i,messageId:"expectVarOnNewline",loc:u.loc,fix:l=>l.insertTextBefore(u,` `)}),a=u})}return{VariableDeclaration:n}}}});var iTs=j((AEA,nTs)=>{"use strict";var G7e=ao();function rTs(e){return["*","&","^","|"].includes(e)}function zkl(e){return["+","-","/","%","<<",">>",">>>","**"].includes(e)}function zrn(e){return e.type==="Identifier"||e.type==="MemberExpression"&&(e.object.type==="Identifier"||e.object.type==="ThisExpression")&&(!e.computed||e.property.type==="Literal")}nTs.exports={meta:{type:"suggestion",defaultOptions:["always"],docs:{description:"Require or disallow assignment operator shorthand where possible",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/operator-assignment"},schema:[{enum:["always","never"]}],fixable:"code",messages:{replaced:"Assignment (=) can be replaced with operator assignment ({{operator}}).",unexpected:"Unexpected operator assignment ({{operator}}) shorthand."}},create(e){let t=e.options[0]==="never",r=e.sourceCode;function n(a){return r.getFirstTokenBetween(a.left,a.right,u=>u.value===a.operator)}function i(a){if(a.operator!=="="||a.right.type!=="BinaryExpression")return;let u=a.left,l=a.right,f=l.operator;if(rTs(f)||zkl(f)){let p=`${f}=`;G7e.isSameReference(u,l.left,!0)?e.report({node:a,messageId:"replaced",data:{operator:p},fix(g){if(zrn(u)&&zrn(l.left)){let A=n(a),h=n(l),_=r.getText().slice(a.range[0],A.range[0]),E=r.getText().slice(h.range[1],a.right.range[1]);return r.commentsExistBetween(A,h)?null:g.replaceText(a,`${_}${p}${E}`)}return null}}):G7e.isSameReference(u,l.right,!0)&&rTs(f)&&e.report({node:a,messageId:"replaced",data:{operator:p}})}}function s(a){a.operator!=="="&&!G7e.isLogicalAssignmentOperator(a.operator)&&e.report({node:a,messageId:"unexpected",data:{operator:a.operator},fix(u){if(zrn(a.left)){let l=r.getFirstToken(a),f=n(a),p=r.getText().slice(a.range[0],f.range[0]),g=a.operator.slice(0,-1),A;if(r.commentsExistBetween(l,f))return null;if(G7e.getPrecedence(a.right)<=G7e.getPrecedence({type:"BinaryExpression",operator:g})&&!G7e.isParenthesised(r,a.right))A=`${r.text.slice(f.range[1],a.right.range[0])}(${r.getText(a.right)})`;else{let h=r.getTokenAfter(f,{includeComments:!0}),_="";f.range[1]===h.range[0]&&!G7e.canTokensBeAdjacent({type:"Punctuator",value:g},h)&&(_=" "),A=`${_}${r.text.slice(f.range[1],a.range[1])}`}return u.replaceText(a,`${p}= ${p}${g}${A}`)}return null}})}return{AssignmentExpression:t?s:i}}}});var aTs=j((hEA,sTs)=>{"use strict";var yye=ao();sTs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"operator-linebreak",url:"https://eslint.style/rules/operator-linebreak"}}]},type:"layout",docs:{description:"Enforce consistent linebreak style for operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/operator-linebreak"},schema:[{enum:["after","before","none",null]},{type:"object",properties:{overrides:{type:"object",additionalProperties:{enum:["after","before","none","ignore"]}}},additionalProperties:!1}],fixable:"code",messages:{operatorAtBeginning:"'{{operator}}' should be placed at the beginning of the line.",operatorAtEnd:"'{{operator}}' should be placed at the end of the line.",badLinebreak:"Bad line breaking before and after '{{operator}}'.",noLinebreak:"There should be no line break before or after '{{operator}}'."}},create(e){let t=!e.options[0],r=e.options[0]||"after",n=e.options[1]||{},i=n.overrides?Object.assign({},n.overrides):{};t&&!i["?"]&&(i["?"]="before"),t&&!i[":"]&&(i[":"]="before");let s=e.sourceCode;function a(f,p){return g=>{let A=s.getTokenBefore(f),h=s.getTokenAfter(f),_=s.text.slice(A.range[1],f.range[0]),E=s.text.slice(f.range[1],h.range[0]),b=!yye.isTokenOnSameLine(A,f),D=!yye.isTokenOnSameLine(f,h),k,M;if(b!==D&&p!=="none"){if(s.getTokenBefore(f,{includeComments:!0})!==A&&s.getTokenAfter(f,{includeComments:!0})!==h)return null;k=E,M=_}else{let R=yye.createGlobalLinebreakMatcher();if(k=p==="before"||_.trim()?_:_.replace(R,""),M=p==="after"||E.trim()?E:E.replace(R,""),k===_&&M===E)return null}return M===""&&h.type==="Punctuator"&&"+-".includes(f.value)&&h.value===f.value&&(M+=" "),g.replaceTextRange([A.range[1],h.range[0]],k+f.value+M)}}function u(f,p,g){let A=s.getTokenBefore(p,k=>k.value===g),h=s.getTokenBefore(A),_=s.getTokenAfter(A),E=i[g],b=E||r,D=a(A,b);yye.isTokenOnSameLine(h,A)&&yye.isTokenOnSameLine(A,_)||(E!=="ignore"&&!yye.isTokenOnSameLine(h,A)&&!yye.isTokenOnSameLine(A,_)?e.report({node:f,loc:A.loc,messageId:"badLinebreak",data:{operator:g},fix:D}):b==="before"&&yye.isTokenOnSameLine(h,A)?e.report({node:f,loc:A.loc,messageId:"operatorAtBeginning",data:{operator:g},fix:D}):b==="after"&&yye.isTokenOnSameLine(A,_)?e.report({node:f,loc:A.loc,messageId:"operatorAtEnd",data:{operator:g},fix:D}):b==="none"&&e.report({node:f,loc:A.loc,messageId:"noLinebreak",data:{operator:g},fix:D}))}function l(f){u(f,f.right,f.operator)}return{BinaryExpression:l,LogicalExpression:l,AssignmentExpression:l,VariableDeclarator(f){f.init&&u(f,f.init,"=")},PropertyDefinition(f){f.value&&u(f,f.value,"=")},ConditionalExpression(f){u(f,f.consequent,"?"),u(f,f.alternate,":")}}}}});var uTs=j((yEA,oTs)=>{"use strict";var Wkl=ao();oTs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padded-blocks",url:"https://eslint.style/rules/padded-blocks"}}]},type:"layout",docs:{description:"Require or disallow padding within blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/padded-blocks"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{blocks:{enum:["always","never"]},switches:{enum:["always","never"]},classes:{enum:["always","never"]}},additionalProperties:!1,minProperties:1}]},{type:"object",properties:{allowSingleLineBlocks:{type:"boolean"}},additionalProperties:!1}],messages:{alwaysPadBlock:"Block must be padded by blank lines.",neverPadBlock:"Block must not be padded by blank lines."}},create(e){let t={},r=e.options[0]||"always",n=e.options[1]||{};if(typeof r=="string"){let h=r==="always";t.blocks=h,t.switches=h,t.classes=h}else Object.hasOwn(r,"blocks")&&(t.blocks=r.blocks==="always"),Object.hasOwn(r,"switches")&&(t.switches=r.switches==="always"),Object.hasOwn(r,"classes")&&(t.classes=r.classes==="always");Object.hasOwn(n,"allowSingleLineBlocks")&&(t.allowSingleLineBlocks=n.allowSingleLineBlocks===!0);let i=e.sourceCode;function s(h){return h.type==="SwitchStatement"?i.getTokenBefore(h.cases[0]):h.type==="StaticBlock"?i.getFirstToken(h,{skip:1}):i.getFirstToken(h)}function a(h){return h.type==="Line"||h.type==="Block"}function u(h,_){return _.loc.start.line-h.loc.end.line>=2}function l(h){let _,E=h;do _=E,E=i.getTokenAfter(E,{includeComments:!0});while(a(E)&&E.loc.start.line===_.loc.end.line);return E}function f(h){let _=h,E;do E=_,_=i.getTokenBefore(_,{includeComments:!0});while(a(_)&&_.loc.end.line===E.loc.start.line);return _}function p(h){switch(h.type){case"BlockStatement":case"StaticBlock":return t.blocks;case"SwitchStatement":return t.switches;case"ClassBody":return t.classes;default:throw new Error("unreachable")}}function g(h){let _=s(h),E=l(_),b=i.getTokenBefore(E,{includeComments:!0}),D=i.getLastToken(h),k=f(D),M=i.getTokenAfter(k,{includeComments:!0}),R=u(b,E),q=u(k,M);t.allowSingleLineBlocks&&Wkl.isTokenOnSameLine(b,M)||(p(h)?(R||e.report({node:h,loc:{start:b.loc.start,end:E.loc.start},fix(G){return G.insertTextAfter(b,` `)},messageId:"alwaysPadBlock"}),q||e.report({node:h,loc:{end:M.loc.start,start:k.loc.end},fix(G){return G.insertTextBefore(M,` `)},messageId:"alwaysPadBlock"})):(R&&e.report({node:h,loc:{start:b.loc.start,end:E.loc.start},fix(G){return G.replaceTextRange([b.range[1],E.range[0]-E.loc.start.column],` `)},messageId:"neverPadBlock"}),q&&e.report({node:h,loc:{end:M.loc.start,start:k.loc.end},messageId:"neverPadBlock",fix(G){return G.replaceTextRange([k.range[1],M.range[0]-M.loc.start.column],` `)}})))}let A={};return Object.hasOwn(t,"switches")&&(A.SwitchStatement=function(h){h.cases.length!==0&&g(h)}),Object.hasOwn(t,"blocks")&&(A.BlockStatement=function(h){h.body.length!==0&&g(h)},A.StaticBlock=A.BlockStatement),Object.hasOwn(t,"classes")&&(A.ClassBody=function(h){h.body.length!==0&&g(h)}),A}}});var mTs=j((_EA,dTs)=>{"use strict";var SK=ao(),lTs=`[${Array.from(SK.LINEBREAKS).join("")}]`,Xkl=new RegExp(String.raw`^(\s*?${lTs})\s*${lTs}(\s*;?)$`,"u"),Zkl=/^(?:module\s*\.\s*)?exports(?:\s*\.|\s*\[|$)/u,e7l=/^require\(/u;function H6(e){return{test:(t,r)=>r.getFirstToken(t).value===e}}function Wrn(e){return{test:(t,r)=>t.loc.start.line===t.loc.end.line&&r.getFirstToken(t).value===e}}function Xrn(e){return{test:(t,r)=>t.loc.start.line!==t.loc.end.line&&r.getFirstToken(t).value===e}}function Zrn(e){return{test:t=>t.type===e}}function fTs(e){if(e.type==="ExpressionStatement"){let t=SK.skipChainExpression(e.expression);return t.type==="UnaryExpression"&&(t=SK.skipChainExpression(t.argument)),t.type==="CallExpression"&&SK.isFunction(t.callee)}return!1}function cTs(e,t){if(t.type==="DoWhileStatement"&&t.body.type==="BlockStatement"||fTs(t))return!0;let r=e.getLastToken(t,SK.isNotSemicolonToken),n=r&&SK.isClosingBraceToken(r)?e.getNodeByRangeIndex(r.range[0]):null;return!!n&&(n.type==="BlockStatement"||n.type==="SwitchStatement")}function pTs(e,t){let r=e.getLastToken(t),n=e.getTokenBefore(r),i=e.getTokenAfter(r);return!!(n&&i&&n.range[0]>=t.range[0]&&SK.isSemicolonToken(r)&&r.loc.start.line!==n.loc.end.line&&r.loc.end.line===i.loc.start.line)?n:r}function t7l(e,t,r){return t+r}function r7l(){}function n7l(e,t,r,n){n.length!==0&&e.report({node:r,messageId:"unexpectedBlankLine",fix(i){if(n.length>=2)return null;let s=n[0][0],a=n[0][1],u=s.range[1],l=a.range[0],f=e.sourceCode.text.slice(u,l).replace(Xkl,t7l);return i.replaceTextRange([u,l],f)}})}function i7l(e,t,r,n){n.length>0||e.report({node:r,messageId:"expectedBlankLine",fix(i){let s=e.sourceCode,a=pTs(s,t),u=s.getFirstTokenBetween(a,r,{includeComments:!0,filter(f){return SK.isTokenOnSameLine(a,f)?(a=f,!1):!0}})||r,l=SK.isTokenOnSameLine(a,u)?` `:` `;return i.insertTextAfter(a,l)}})}var enn={any:{verify:r7l},never:{verify:n7l},always:{verify:i7l}},tnn={"*":{test:()=>!0},"block-like":{test:(e,t)=>cTs(t,e)},"cjs-export":{test:(e,t)=>e.type==="ExpressionStatement"&&e.expression.type==="AssignmentExpression"&&Zkl.test(t.getText(e.expression.left))},"cjs-import":{test:(e,t)=>e.type==="VariableDeclaration"&&e.declarations.length>0&&!!e.declarations[0].init&&e7l.test(t.getText(e.declarations[0].init))},directive:{test:SK.isDirective},expression:{test:e=>e.type==="ExpressionStatement"&&!SK.isDirective(e)},iife:{test:fTs},"multiline-block-like":{test:(e,t)=>e.loc.start.line!==e.loc.end.line&&cTs(t,e)},"multiline-expression":{test:e=>e.loc.start.line!==e.loc.end.line&&e.type==="ExpressionStatement"&&!SK.isDirective(e)},"multiline-const":Xrn("const"),"multiline-let":Xrn("let"),"multiline-var":Xrn("var"),"singleline-const":Wrn("const"),"singleline-let":Wrn("let"),"singleline-var":Wrn("var"),block:Zrn("BlockStatement"),empty:Zrn("EmptyStatement"),function:Zrn("FunctionDeclaration"),break:H6("break"),case:H6("case"),class:H6("class"),const:H6("const"),continue:H6("continue"),debugger:H6("debugger"),default:H6("default"),do:H6("do"),export:H6("export"),for:H6("for"),if:H6("if"),import:H6("import"),let:H6("let"),return:H6("return"),switch:H6("switch"),throw:H6("throw"),try:H6("try"),var:H6("var"),while:H6("while"),with:H6("with")};dTs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"padding-line-between-statements",url:"https://eslint.style/rules/padding-line-between-statements"}}]},type:"layout",docs:{description:"Require or disallow padding lines between statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/padding-line-between-statements"},fixable:"whitespace",schema:{definitions:{paddingType:{enum:Object.keys(enn)},statementType:{anyOf:[{enum:Object.keys(tnn)},{type:"array",items:{enum:Object.keys(tnn)},minItems:1,uniqueItems:!0}]}},type:"array",items:{type:"object",properties:{blankLine:{$ref:"#/definitions/paddingType"},prev:{$ref:"#/definitions/statementType"},next:{$ref:"#/definitions/statementType"}},additionalProperties:!1,required:["blankLine","prev","next"]}},messages:{unexpectedBlankLine:"Unexpected blank line before this statement.",expectedBlankLine:"Expected blank line before this statement."}},create(e){let t=e.sourceCode,r=e.options||[],n=null;function i(){n={upper:n,prevNode:null}}function s(){n=n.upper}function a(g,A){let h=g;for(;h.type==="LabeledStatement";)h=h.body;return Array.isArray(A)?A.some(a.bind(null,h)):tnn[A].test(h,t)}function u(g,A){for(let h=r.length-1;h>=0;--h){let _=r[h];if(a(g,_.prev)&&a(A,_.next))return enn[_.blankLine]}return enn.any}function l(g,A){let h=[],_=pTs(t,g);if(A.loc.start.line-_.loc.end.line>=2)do{let E=t.getTokenAfter(_,{includeComments:!0});E.loc.start.line-_.loc.end.line>=2&&h.push([_,E]),_=E}while(_.range[0]{"use strict";var MGe=ao();function s7l(e){return e&&e.defs[0].type==="FunctionName"}function a7l(e,t,r){return e.meta.name===t&&e.property.name===r}function o7l(e){let t=e.variables;for(let r=0;rt.type==="Identifier")&&e.length!==new Set(e.map(t=>t.name)).size}gTs.exports={meta:{type:"suggestion",dialects:["javascript","typescript"],language:"javascript",defaultOptions:[{allowNamedFunctions:!1,allowUnboundThis:!0}],docs:{description:"Require using arrow functions for callbacks",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-arrow-callback"},schema:[{type:"object",properties:{allowNamedFunctions:{type:"boolean"},allowUnboundThis:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{preferArrowCallback:"Unexpected function expression."}},create(e){let[{allowNamedFunctions:t,allowUnboundThis:r}]=e.options,n=e.sourceCode,i=[];function s(){i.push({this:!1,super:!1,meta:!1})}function a(){return i.pop()}return{Program(){i=[]},ThisExpression(){let u=i.at(-1);u&&(u.this=!0)},Super(){let u=i.at(-1);u&&(u.super=!0)},MetaProperty(u){let l=i.at(-1);l&&a7l(u,"new","target")&&(l.meta=!0)},FunctionDeclaration:s,"FunctionDeclaration:exit":a,FunctionExpression:s,"FunctionExpression:exit"(u){let l=a();if(t&&u.id&&u.id.name||u.generator)return;let f=n.getDeclaredVariables(u)[0];if(s7l(f)&&f.references.length>0)return;let p=o7l(n.getScope(u));if(p&&p.references.length>0)return;let g=u7l(u);g.isCallback&&(!r||!l.this||g.isLexicalThis)&&!l.super&&!l.meta&&e.report({node:u,messageId:"preferArrowCallback",*fix(A){if(!g.isLexicalThis&&l.this||l7l(u.params)||u.params.length&&u.params[0].name==="this")return;if(g.isLexicalThis){let D=u.parent;if(D.type!=="MemberExpression")return;let k=D.parent,M=n.getTokenAfter(D.object,MGe.isNotClosingParenToken),R=n.getLastToken(k);if(MGe.isParenthesised(n,D)||n.commentsExistBetween(M,R))return;yield A.removeRange([M.range[0],R.range[1]])}let h=n.getFirstToken(u,u.async?1:0),_=n.getTokenAfter(h,MGe.isOpeningParenToken),E=n.getTokenBefore(u.body);n.commentsExistBetween(h,_)?(yield A.remove(h),u.id&&(yield A.remove(u.id))):yield A.removeRange([h.range[0],_.range[0]]),yield A.insertTextAfter(E," =>");let b=g.isLexicalThis?u.parent.parent:u;b.type==="ChainExpression"&&(b=b.parent),b.parent.type!=="CallExpression"&&b.parent.type!=="ConditionalExpression"&&!MGe.isParenthesised(n,b)&&!MGe.isParenthesised(n,u)&&(yield A.insertTextBefore(b,"("),yield A.insertTextAfter(b,")"))}})}}}}});var vTs=j((xEA,xTs)=>{"use strict";var c7l=PGe(),f7l=ao(),yTs=/^(?:.+?Pattern|RestElement|SpreadProperty|ExperimentalRestProperty|Property)$/u,p7l=/^(?:Program|BlockStatement|StaticBlock|SwitchCase)$/u,d7l=/^(?:VariableDeclarator|AssignmentExpression)$/u;function m7l(e){return e.parent.type==="ForStatement"&&e.parent.init===e}function g7l(e){let t=e.parent;for(;yTs.test(t.type);)t=t.parent;return t.type==="VariableDeclarator"||t.type==="AssignmentExpression"&&t.parent.type==="ExpressionStatement"&&p7l.test(t.parent.parent.type)}function hTs(e,t){if(t.through.some(n=>n.resolved&&n.resolved.name===e))return!0;let r=f7l.getVariableByName(t,e);return r!==null?r.defs.some(n=>n.type==="Parameter"):!1}function _Ts(e){if(!e.isWrite())return null;let t=e.identifier.parent;for(;yTs.test(t.type);)t=t.parent;return d7l.test(t.type)?t:null}function rpt(e){switch(e.type){case"ObjectPattern":return e.properties.some(t=>t?rpt(t.argument||t.value):!1);case"ArrayPattern":return e.elements.some(t=>t?rpt(t):!1);case"AssignmentPattern":return rpt(e.left);case"MemberExpression":return!0}return!1}function A7l(e,t){if(e.eslintUsed&&e.scope.type==="global")return null;let r=null,n=!1,i=e.references;for(let a=0;a_.value).map(_=>_.value.name).some(_=>hTs(_,e.scope)),A=rpt(p)):p.type==="ArrayPattern"&&(g=p.elements.map(_=>_&&_.name).some(_=>hTs(_,e.scope)),A=rpt(p)),g||A)return null}r=u}else if(u.isRead()&&r===null){if(t)return null;n=!0}}return r!==null&&r.from===e.scope&&g7l(r.identifier)?n?e.defs[0].name:r.identifier:null}function h7l(e,t){let r=new Map;for(let n=0;nE.type.endsWith("Statement")),h=A===null;if(!h&&A.declarations.length>0){let E=A.declarations[0];if(E.init){let b=E.init.parent;b.type==="VariableDeclarator"&&(b.id.name!==l&&(l=b.id.name,a=0),b.id.type==="ObjectPattern"&&b.init.name!==l&&(l=b.init.name,a=0),b.id!==u&&(u=b.id,a=0))}}let _=A&&(A.parent.type==="ForInStatement"||A.parent.type==="ForOfStatement"||A.declarations.every(E=>E.init))&&g.length===p.length;if(!h&&A.declarations&&A.declarations.length!==1&&A&&A.declarations&&A.declarations.length>=1){a+=g.length;let E=0;A.declarations.forEach(b=>{b.id.type==="ObjectPattern"?E+=b.id.properties.length:b.id.type==="ArrayPattern"?E+=b.id.elements.length:E+=1}),_=_&&a===E}g.forEach(E=>{e.report({node:E,messageId:"useConst",data:E,fix:_?b=>{let D=i.getFirstToken(A,k=>k.value===A.kind);return new c7l(b,i).retainRange(A.range).replaceTextRange(D.range,"const")}:null})})}}return{"Program:exit"(){h7l(s,r).forEach(f)},VariableDeclaration(p){p.kind==="let"&&!m7l(p)&&s.push(...i.getDeclaredVariables(p))}}}}});var ITs=j((vEA,bTs)=>{"use strict";var CTs=ao(),y7l=CTs.getPrecedence({type:"AssignmentExpression"});bTs.exports={meta:{type:"suggestion",docs:{description:"Require destructuring from arrays and/or objects",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-destructuring"},fixable:"code",schema:[{oneOf:[{type:"object",properties:{VariableDeclarator:{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1},AssignmentExpression:{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1}},additionalProperties:!1},{type:"object",properties:{array:{type:"boolean"},object:{type:"boolean"}},additionalProperties:!1}]},{type:"object",properties:{enforceForRenamedProperties:{type:"boolean"}},additionalProperties:!1}],messages:{preferDestructuring:"Use {{type}} destructuring."}},create(e){let t=e.options[0],r=e.options[1]&&e.options[1].enforceForRenamedProperties,n={VariableDeclarator:{array:!0,object:!0},AssignmentExpression:{array:!0,object:!0}};t&&(n=typeof t.array<"u"||typeof t.object<"u"?{VariableDeclarator:t,AssignmentExpression:t}:t);function i(A,h){return n&&n[A]&&n[A][h]}function s(A){return Number.isInteger(A.property.value)}function a(A,h,_){e.report({node:A,messageId:"preferDestructuring",data:{type:h},fix:_})}function u(A){return A.type==="VariableDeclarator"&&A.id.type==="Identifier"&&A.init.type==="MemberExpression"&&!A.init.computed&&A.init.property.type==="Identifier"&&A.id.name===A.init.property.name}function l(A,h){let _=h.init,E=e.sourceCode;if(E.getCommentsInside(h).length>E.getCommentsInside(_.object).length)return null;let b=E.getText(_.object);return CTs.getPrecedence(_.object)l(b,_):null;if(i(_.type,"object")&&r){a(_,"object",E);return}if(i(_.type,"object")){let b=h.property;(b.type==="Literal"&&A.name===b.value||b.type==="Identifier"&&A.name===b.name&&!h.computed)&&a(_,"object",E)}}function p(A){A.init&&(A.parent.kind==="using"||A.parent.kind==="await using"||A.init.type==="MemberExpression"&&f(A.id,A.init,A))}function g(A){A.operator==="="&&f(A.left,A.right,A)}return{VariableDeclarator:p,AssignmentExpression:g}}}});var TTs=j((CEA,STs)=>{"use strict";var V7e=ao(),{CALL:_7l,ReferenceTracker:E7l}=NS(),nnn=V7e.getPrecedence({type:"BinaryExpression",operator:"**"});function x7l(e){return V7e.getPrecedence(e)<=nnn||e.type==="AwaitExpression"||e.type==="UnaryExpression"}function v7l(e){return V7e.getPrecedence(e)=nnn)&&!(r.type==="BinaryExpression"&&r.operator==="**"&&r.right===e)&&!((r.type==="CallExpression"||r.type==="NewExpression")&&r.arguments.includes(e))&&!(r.type==="MemberExpression"&&r.computed&&r.property===e)&&r.type!=="ArrayExpression")&&!V7e.isParenthesised(t,e)}function rnn(e,t){return t?`(${e})`:e}STs.exports={meta:{type:"suggestion",docs:{description:"Disallow the use of `Math.pow` in favor of the `**` operator",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-exponentiation-operator"},schema:[],fixable:"code",messages:{useExponentiation:"Use the '**' operator instead of 'Math.pow'."}},create(e){let t=e.sourceCode;function r(n){e.report({node:n,messageId:"useExponentiation",fix(i){if(n.arguments.length!==2||n.arguments.some(D=>D.type==="SpreadElement")||t.getCommentsInside(n).length>0)return null;let s=n.arguments[0],a=n.arguments[1],u=t.getText(s),l=t.getText(a),f=x7l(s),p=v7l(a),g=C7l(n,t),A="",h="";if(!g){if(!f){let D=t.getFirstToken(s),k=t.getTokenBefore(n);k&&k.range[1]===n.range[0]&&!V7e.canTokensBeAdjacent(k,D)&&(A=" ")}if(!p){let D=t.getLastToken(a),k=t.getTokenAfter(n);k&&n.range[1]===k.range[0]&&!V7e.canTokensBeAdjacent(D,k)&&(h=" ")}}let _=rnn(u,f),E=rnn(l,p),b=rnn(`${_}**${E}`,g);return i.replaceText(n,`${A}${b}${h}`)}})}return{Program(n){let i=t.getScope(n),s=new E7l(i),a={Math:{pow:{[_7l]:!0}}};for(let{node:u}of s.iterateGlobalReferences(a))r(u)}}}}});var kTs=j((bEA,BTs)=>{"use strict";var{CALL:b7l,CONSTRUCT:I7l,ReferenceTracker:S7l,getStringIfConstant:DTs}=NS(),wTs=VQ(),T7l=new wTs.RegExpParser;function D7l(e,t,r,n){switch(n.type){case"Literal":if(typeof n.value=="string"&&r.includes("\\"))return null;break;case"TemplateLiteral":if(n.expressions.length||r.slice(1,-1)!==t)return null;break;default:return null}let i=n.range[0]+e+2;return[{fix(s){let u=(t.match(/temp\d+/gu)||[]).reduce((l,f)=>Math.max(l,Number(f.slice(4))),0);return s.insertTextBeforeRange([i,i],`?`)},messageId:"addGroupName"},{fix(s){return s.insertTextBeforeRange([i,i],"?:")},messageId:"addNonCapture"}]}BTs.exports={meta:{type:"suggestion",docs:{description:"Enforce using named capture group in regular expression",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-named-capture-group"},hasSuggestions:!0,schema:[],messages:{addGroupName:"Add name to capture group.",addNonCapture:"Convert group to non-capturing.",required:"Capture group '{{group}}' should be converted to a named or non-capturing group."}},create(e){let t=e.sourceCode;function r(n,i,s,a){let u;try{u=T7l.parsePattern(n,0,n.length,{unicode:!!(a&&a.includes("u")),unicodeSets:!!(a&&a.includes("v"))})}catch{return}wTs.visitRegExpAST(u,{onCapturingGroupEnter(l){if(!l.name){let f=t.getText(s),p=D7l(l.start,n,f,s);e.report({node:i,messageId:"required",data:{group:l.raw},suggest:p})}}})}return{Literal(n){n.regex&&r(n.regex.pattern,n,n,n.regex.flags)},Program(n){let i=t.getScope(n),s=new S7l(i),a={RegExp:{[b7l]:!0,[I7l]:!0}};for(let{node:u}of s.iterateGlobalReferences(a)){let l=DTs(u.arguments[0]),f=DTs(u.arguments[1]);l&&r(l,u,u.arguments[0],f)}}}}}});var OTs=j((IEA,NTs)=>{"use strict";var QGe=ao(),PTs=new Map([[2,{system:"binary",literalPrefix:"0b"}],[8,{system:"octal",literalPrefix:"0o"}],[16,{system:"hexadecimal",literalPrefix:"0x"}]]);function w7l(e){return QGe.isSpecificId(e,"parseInt")||QGe.isSpecificMemberAccess(e,"Number","parseInt")}NTs.exports={meta:{type:"suggestion",docs:{description:"Disallow `parseInt()` and `Number.parseInt()` in favor of binary, octal, and hexadecimal literals",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-numeric-literals"},schema:[],messages:{useLiteral:"Use {{system}} literals instead of {{functionName}}()."},fixable:"code"},create(e){let t=e.sourceCode;return{"CallExpression[arguments.length=2]"(r){let[n,i]=r.arguments,s=QGe.getStaticStringValue(n),a=i.value;if(s!==null&&QGe.isStringLiteral(n)&&i.type==="Literal"&&typeof a=="number"&&PTs.has(a)&&w7l(r.callee)){let{system:u,literalPrefix:l}=PTs.get(a);e.report({node:r,messageId:"useLiteral",data:{system:u,functionName:t.getText(r.callee)},fix(f){if(t.getCommentsInside(r).length)return null;let p=`${l}${s}`;if(+p!==parseInt(s,a))return null;let g=t.getTokenBefore(r),A=t.getTokenAfter(r),h="",_="";return g&&g.range[1]===r.range[0]&&!QGe.canTokensBeAdjacent(g,p)&&(h=" "),A&&r.range[1]===A.range[0]&&!QGe.canTokensBeAdjacent(p,A)&&(_=" "),f.replaceText(r,`${h}${p}${_}`)}})}}}}}});var FTs=j((SEA,RTs)=>{"use strict";var npt=ao();function B7l(e){if(e.object.type==="ObjectExpression"&&e.object.properties.length===0)return!0;let t=e.object.type==="MemberExpression"&&npt.getStaticPropertyName(e.object)==="prototype"?e.object.object:e.object;return t.type==="Identifier"&&t.name==="Object"}RTs.exports={meta:{type:"suggestion",docs:{description:"Disallow use of `Object.prototype.hasOwnProperty.call()` and prefer use of `Object.hasOwn()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-object-has-own"},schema:[],messages:{useHasOwn:"Use 'Object.hasOwn()' instead of 'Object.prototype.hasOwnProperty.call()'."},fixable:"code"},create(e){let t=e.sourceCode;return{CallExpression(r){if(!(r.callee.type==="MemberExpression"&&r.callee.object.type==="MemberExpression"))return;let n=npt.getStaticPropertyName(r.callee),i=npt.getStaticPropertyName(r.callee.object),s=B7l(r.callee.object),a=t.getScope(r),u=npt.getVariableByName(a,"Object");n==="call"&&i==="hasOwnProperty"&&s&&u&&u.scope.type==="global"&&e.report({node:r,messageId:"useHasOwn",fix(l){if(t.getCommentsInside(r.callee).length>0)return null;let f=t.getTokenBefore(r.callee,{includeComments:!0});return f&&f.range[1]===r.callee.range[0]&&!npt.canTokensBeAdjacent(f,"Object.hasOwn")?l.replaceText(r.callee," Object.hasOwn"):l.replaceText(r.callee,"Object.hasOwn")}})}}}}});var UTs=j((TEA,jTs)=>{"use strict";var{CALL:k7l,ReferenceTracker:P7l}=NS(),{isCommaToken:LTs,isOpeningParenToken:MTs,isClosingParenToken:N7l,isParenthesised:inn}=ao(),QTs=/\s/u;function O7l(e){return e.arguments.some(t=>t.type==="SpreadElement")}function R7l(e){return e.type==="Property"&&(e.kind==="get"||e.kind==="set")}function F7l(e){return e.properties.some(R7l)}function L7l(e){return e.arguments.filter(t=>t.type==="ObjectExpression").some(F7l)}function M7l(e,t){let r=e.parent;switch(r.type){case"VariableDeclarator":case"ArrayExpression":case"ReturnStatement":case"CallExpression":case"Property":return!1;case"AssignmentExpression":return r.left===e&&!inn(t,e);default:return!inn(t,e)}}function Q7l(e,t){switch(e.type){case"AssignmentExpression":case"ArrowFunctionExpression":case"ConditionalExpression":return!inn(t,e);default:return!1}}function j7l(e,t,r){let n=[r.getFirstToken(e),r.getLastToken(e)],i=r.getTokenBefore(e),s=r.getTokenAfter(e);for(;i&&s&&i.range[0]>t.range[0]&&MTs(i)&&N7l(s);)n.push(i,s),i=r.getTokenBefore(i),s=r.getTokenAfter(s);return n.sort((a,u)=>a.range[0]-u.range[0])}function U7l(e,t){let r=t.text,n=e.range[0];{let i=t.getTokenBefore(e,{includeComments:!0});if(i&&i.type==="Line")return n}for(;QTs.test(r[n-1]||"");)n-=1;return n}function q7l(e,t){let r=t.text,n=e.range[1];for(;QTs.test(r[n]||"");)n+=1;return n}function Y7l(e,t){return function*(r){let n=t.getTokenAfter(e.callee,MTs),i=t.getLastToken(e);yield r.removeRange([e.range[0],n.range[0]]),M7l(e,t)?(yield r.replaceText(n,"({"),yield r.replaceText(i,"})")):(yield r.replaceText(n,"{"),yield r.replaceText(i,"}"));for(let s of e.arguments){let a=j7l(s,n,t),u=a.shift(),l=a.pop();if(s.type==="ObjectExpression"){let f=t.getLastToken(s,1),p=t.getTokenAfter(l);for(let h of a)yield r.remove(h);let g=[u.range[0],q7l(u,t)],A=[Math.max(U7l(l,t),g[1]),l.range[1]];yield r.removeRange(g),yield r.removeRange(A),(s.properties.length===0||LTs(f))&<s(p)&&(yield r.remove(p))}else Q7l(s,t)?(yield r.insertTextBefore(u,"...("),yield r.insertTextAfter(l,")")):yield r.insertTextBefore(u,"...")}}}jTs.exports={meta:{type:"suggestion",docs:{description:"Disallow using `Object.assign` with an object literal as the first argument and prefer the use of object spread instead",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-object-spread"},schema:[],fixable:"code",messages:{useSpreadMessage:"Use an object spread instead of `Object.assign` eg: `{ ...foo }`.",useLiteralMessage:"Use an object literal instead of `Object.assign`. eg: `{ foo: bar }`."}},create(e){let t=e.sourceCode;return{Program(r){let n=t.getScope(r),i=new P7l(n),s={Object:{assign:{[k7l]:!0}}};for(let{node:a}of i.iterateGlobalReferences(s))if(a.arguments.length>=1&&a.arguments[0].type==="ObjectExpression"&&!O7l(a)&&!(a.arguments.length>1&&L7l(a))){let u=a.arguments.length===1?"useLiteralMessage":"useSpreadMessage",l=Y7l(a,t);e.report({node:a,messageId:u,fix:l})}}}}}});var YTs=j((DEA,qTs)=>{"use strict";var snn=ao();qTs.exports={meta:{type:"suggestion",defaultOptions:[{allowEmptyReject:!1}],docs:{description:"Require using Error objects as Promise rejection reasons",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-promise-reject-errors"},fixable:null,schema:[{type:"object",properties:{allowEmptyReject:{type:"boolean"}},additionalProperties:!1}],messages:{rejectAnError:"Expected the Promise rejection reason to be an Error."}},create(e){let[{allowEmptyReject:t}]=e.options,r=e.sourceCode;function n(s){!s.arguments.length&&t||(!s.arguments.length||!snn.couldBeError(s.arguments[0])||s.arguments[0].type==="Identifier"&&s.arguments[0].name==="undefined")&&e.report({node:s,messageId:"rejectAnError"})}function i(s){return snn.isSpecificMemberAccess(s.callee,"Promise","reject")}return{CallExpression(s){i(s)&&n(s)},"NewExpression:exit"(s){s.callee.type==="Identifier"&&s.callee.name==="Promise"&&s.arguments.length&&snn.isFunction(s.arguments[0])&&s.arguments[0].params.length>1&&s.arguments[0].params[1].type==="Identifier"&&r.getDeclaredVariables(s.arguments[0]).find(a=>a.name===s.arguments[0].params[1].name).references.filter(a=>a.isRead()).filter(a=>a.identifier.parent.type==="CallExpression"&&a.identifier===a.identifier.parent.callee).forEach(a=>n(a.identifier.parent))}}}}});var VTs=j((wEA,GTs)=>{"use strict";GTs.exports={meta:{type:"suggestion",docs:{description:"Require `Reflect` methods where applicable",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-reflect"},deprecated:{message:"The original intention of this rule was misguided.",deprecatedSince:"3.9.0",availableUntil:null,replacedBy:[]},schema:[{type:"object",properties:{exceptions:{type:"array",items:{enum:["apply","call","delete","defineProperty","getOwnPropertyDescriptor","getPrototypeOf","setPrototypeOf","isExtensible","getOwnPropertyNames","preventExtensions"]},uniqueItems:!0}},additionalProperties:!1}],messages:{preferReflect:"Avoid using {{existing}}, instead use {{substitute}}."}},create(e){let t={apply:"Function.prototype.apply",call:"Function.prototype.call",defineProperty:"Object.defineProperty",getOwnPropertyDescriptor:"Object.getOwnPropertyDescriptor",getPrototypeOf:"Object.getPrototypeOf",setPrototypeOf:"Object.setPrototypeOf",isExtensible:"Object.isExtensible",getOwnPropertyNames:"Object.getOwnPropertyNames",preventExtensions:"Object.preventExtensions"},r={apply:"Reflect.apply",call:"Reflect.apply",defineProperty:"Reflect.defineProperty",getOwnPropertyDescriptor:"Reflect.getOwnPropertyDescriptor",getPrototypeOf:"Reflect.getPrototypeOf",setPrototypeOf:"Reflect.setPrototypeOf",isExtensible:"Reflect.isExtensible",getOwnPropertyNames:"Reflect.getOwnPropertyNames",preventExtensions:"Reflect.preventExtensions"},n=(e.options[0]||{}).exceptions||[];function i(s,a,u){e.report({node:s,messageId:"preferReflect",data:{existing:a,substitute:u}})}return{CallExpression(s){let a=(s.callee.property||{}).name,u=(s.callee.object||{}).name==="Reflect",l=Object.hasOwn(r,a),f=n.includes(a);l&&!u&&!f&&i(s,t[a],r[a])},UnaryExpression(s){let a=s.operator==="delete",u=s.argument.type==="Identifier",l=n.includes("delete");a&&!u&&!l&&i(s,"the delete keyword","Reflect.deleteProperty")}}}}});var zTs=j((BEA,HTs)=>{"use strict";var ipt=ao(),{CALL:G7l,CONSTRUCT:V7l,ReferenceTracker:$7l}=NS(),{RegExpValidator:K7l,visitRegExpAST:J7l,RegExpParser:H7l}=VQ(),{canTokensBeAdjacent:$Ts}=ao(),{REGEXPP_LATEST_ECMA_VERSION:z7l}=Q$t();function KTs(e){return e.type==="Literal"&&typeof e.value=="string"}function JTs(e){return e.type==="Literal"&&Object.hasOwn(e,"regex")}var W7l=new Set(["(",";","[",",","=","+","*","-","?","~","%","**","!","typeof","instanceof","&&","||","??","return","...","delete","void","in","<",">","<=",">=","==","===","!=","!==","<<",">>",">>>","&","|","^",":","{","=>","*=","<<=",">>=",">>>=","^=","|=","&=","??=","||=","&&=","**=","+=","-=","/=","%=","/","do","break","continue","debugger","case","throw"]);HTs.exports={meta:{type:"suggestion",defaultOptions:[{disallowRedundantWrapping:!1}],docs:{description:"Disallow use of the `RegExp` constructor in favor of regular expression literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/prefer-regex-literals"},hasSuggestions:!0,schema:[{type:"object",properties:{disallowRedundantWrapping:{type:"boolean"}},additionalProperties:!1}],messages:{unexpectedRegExp:"Use a regular expression literal instead of the 'RegExp' constructor.",replaceWithLiteral:"Replace with an equivalent regular expression literal.",replaceWithLiteralAndFlags:"Replace with an equivalent regular expression literal with flags '{{ flags }}'.",replaceWithIntendedLiteralAndFlags:"Replace with a regular expression literal with flags '{{ flags }}'.",unexpectedRedundantRegExp:"Regular expression literal is unnecessarily wrapped within a 'RegExp' constructor.",unexpectedRedundantRegExpWithFlags:"Use regular expression literal with flags instead of the 'RegExp' constructor."}},create(e){let[{disallowRedundantWrapping:t}]=e.options,r=e.sourceCode;function n(b){return b.type==="TaggedTemplateExpression"&&ipt.isSpecificMemberAccess(b.tag,"String","raw")&&r.isGlobalReference(ipt.skipChainExpression(b.tag).object)&&ipt.isStaticTemplateLiteral(b.quasi)}function i(b){return KTs(b)?b.value:ipt.isStaticTemplateLiteral(b)?b.quasis[0].value.cooked:n(b)?b.quasi.quasis[0].value.raw:null}function s(b){return KTs(b)||ipt.isStaticTemplateLiteral(b)||n(b)}function a(b){let D=b.arguments;return!!((D.length===1||D.length===2)&&D.every(s))}function u(b){let D=b.arguments;return!!(D.length===1&&JTs(D[0])||D.length===2&&JTs(D[0])&&s(D[1]))}function l(b){return b<=5?5:Math.min(b,z7l)}let f=l(e.languageOptions.ecmaVersion);function p(b){switch(b){case` `:case`\\ `:return"\\n";case"\r":case"\\\r":return"\\r";case" ":case"\\ ":return"\\t";case"\v":case"\\\v":return"\\v";case"\f":case"\\\f":return"\\f";case"/":return"\\/";default:return null}}function g(b,D){let k=new K7l({ecmaVersion:f});try{return k.validatePattern(b,0,b.length,{unicode:D?D.includes("u"):!1,unicodeSets:D?D.includes("v"):!1}),D&&k.validateFlags(D),!0}catch{return!1}}function A(b,D){return[...b].sort().join("")===[...D].sort().join("")}function h(b,D){return[...new Set([...b,...D])].join("")}function _(b,D,k){let M=r.getTokenBefore(b);return r.getCommentsInside(b).length===0&&(!M||W7l.has(M.value))&&g(D,k)}function E(b,D){let k=r.getTokenBefore(b),M=r.getTokenAfter(b);return(k&&!$Ts(k,D)&&k.range[1]===b.range[0]?" ":"")+D+(M&&!$Ts(D,M)&&b.range[1]===M.range[0]?" ":"")}return{Program(b){let D=r.getScope(b),k=new $7l(D),M={RegExp:{[G7l]:!0,[V7l]:!0}};for(let{node:R}of k.iterateGlobalReferences(M))if(t&&u(R)){let q=R.arguments[0];if(R.arguments.length===2){let G=[],K=i(R.arguments[1])||"";_(R,q.regex.pattern,K)&&G.push({messageId:"replaceWithLiteralAndFlags",pattern:q.regex.pattern,flags:K});let Z=q.regex.flags||"",oe=h(Z,K);!A(oe,K)&&_(R,q.regex.pattern,oe)&&G.push({messageId:"replaceWithIntendedLiteralAndFlags",pattern:q.regex.pattern,flags:oe}),e.report({node:R,messageId:"unexpectedRedundantRegExpWithFlags",suggest:G.map(({flags:ue,pattern:me,messageId:Te})=>({messageId:Te,data:{flags:ue},fix(le){return le.replaceText(R,E(R,`/${me}/${ue}`))}}))})}else{let G=[];_(R,q.regex.pattern,q.regex.flags)&&G.push(r.getText(q)),e.report({node:R,messageId:"unexpectedRedundantRegExp",suggest:G.map(K=>({messageId:"replaceWithLiteral",fix(Z){return Z.replaceText(R,E(R,K))}}))})}}else if(a(R)){let q=i(R.arguments[0]),G=!1,K;if(R.arguments[1]&&(K=i(R.arguments[1])),_(R,q,K)||(G=!0),/^[-\w\\[\](){} \t\r\n\v\f!@#$%^&*+=/~`.>{"use strict";function X7l(e){let t=e.variables;for(let r=0;r{"use strict";var spt=ao();function e5l(e){return spt.isSpecificMemberAccess(e.callee,null,"apply")&&e.arguments.length===2&&e.arguments[1].type!=="ArrayExpression"&&e.arguments[1].type!=="SpreadElement"}function t5l(e,t,r){return e?spt.equalTokens(e,t,r):spt.isNullOrUndefined(t)}ZTs.exports={meta:{type:"suggestion",docs:{description:"Require spread operators instead of `.apply()`",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-spread"},schema:[],fixable:null,messages:{preferSpread:"Use the spread operator instead of '.apply()'."}},create(e){let t=e.sourceCode;return{CallExpression(r){if(!e5l(r))return;let n=spt.skipChainExpression(spt.skipChainExpression(r.callee).object),i=n.type==="MemberExpression"?n.object:null,s=r.arguments[0];t5l(i,s,t)&&e.report({node:r,messageId:"preferSpread"})}}}}});var nDs=j((NEA,rDs)=>{"use strict";var z$t=ao();function jGe(e){return e.type==="BinaryExpression"&&e.operator==="+"}function tDs(e){let t=e;for(;jGe(t.parent);)t=t.parent;return t}function ann(e){return jGe(e)?ann(e.left)||ann(e.right):e.type==="Literal"&&typeof e.value=="string"?z$t.hasOctalOrNonOctalDecimalEscapeSequence(e.raw):!1}function onn(e){return jGe(e)?onn(e.right)||onn(e.left):z$t.isStringLiteral(e)}function unn(e){return jGe(e)?unn(e.right)||unn(e.left):!z$t.isStringLiteral(e)}function lnn(e){return e.type==="BinaryExpression"?lnn(e.left):e.type==="TemplateLiteral"?e.expressions.length&&e.quasis.length&&e.quasis[0].range[0]===e.quasis[0].range[1]:e.type!=="Literal"||typeof e.value!="string"}function r5l(e){return e.type==="BinaryExpression"?lnn(e.right):e.type==="TemplateLiteral"?e.expressions.length&&e.quasis.length&&e.quasis.at(-1).range[0]===e.quasis.at(-1).range[1]:e.type!=="Literal"||typeof e.value!="string"}rDs.exports={meta:{type:"suggestion",docs:{description:"Require template literals instead of string concatenation",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/prefer-template"},schema:[],fixable:"code",messages:{unexpectedStringConcatenation:"Unexpected string concatenation."}},create(e){let t=e.sourceCode,r=Object.create(null);function n(u,l){let f=[u].concat(t.getTokensBetween(u,l)).concat(l),p=t.getText();return f.slice(0,-1).reduce((g,A,h)=>g+p.slice(A.range[1],f[h+1].range[0]),"")}function i(u,l,f){if(u.type==="Literal"&&typeof u.value=="string")return`\`${u.raw.slice(1,-1).replace(/\\*(\$\{|`)/gu,p=>p.lastIndexOf("\\")%2?`\\${p}`:p).replace(new RegExp(`\\\\${u.raw[0]}`,"gu"),u.raw[0])}\``;if(u.type==="TemplateLiteral")return t.getText(u);if(jGe(u)&&onn(u)){let p=t.getFirstTokenBetween(u.left,u.right,E=>E.value==="+"),g=n(u.left,p),A=n(p,u.right),h=r5l(u.left),_=lnn(u.right);return h?i(u.left,l,g+A).slice(0,-1)+i(u.right,null,f).slice(1):_?i(u.left,l,null).slice(0,-1)+i(u.right,g+A,f).slice(1):`${i(u.left,l,null)}${g}+${A}${i(u.right,f,null)}`}return`\`\${${l||""}${t.getText(u)}${f||""}}\``}function s(u,l){let f=tDs(l.parent);return ann(f)?null:u.replaceText(f,i(f,null,null))}function a(u){if(!z$t.isStringLiteral(u)||!jGe(u.parent))return;let l=tDs(u.parent);r[l.range[0]]||(r[l.range[0]]=!0,unn(l)&&e.report({node:l,messageId:"unexpectedStringConcatenation",fix:f=>s(f,u)}))}return{Program(){r=Object.create(null)},Literal:a,TemplateLiteral:a}}}});var sDs=j((OEA,iDs)=>{"use strict";var cnn=ao(),W$t=Symbol("unknown_cause"),n5l=new Set(["Error","EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","AggregateError"]);function i5l(e){let t=e.argument,r=t.callee.name==="AggregateError"?2:1,n=t.arguments.findIndex(s=>s.type==="SpreadElement");if(n>=0&&n<=r)return W$t;let i=t.arguments[r];if(i){if(i.type==="ObjectExpression"){if(i.properties.some(u=>u.type==="SpreadElement"))return W$t;let s=i.properties.filter(u=>cnn.getStaticPropertyName(u)==="cause"),a=s.at(-1);return a?{value:a.value,multipleDefinitions:s.length>1}:null}return W$t}return null}function s5l(e){let t=e;for(;t&&t.type!=="CatchClause";){if(["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression","StaticBlock"].includes(t.type))return null;t=t.parent}return t}iDs.exports={meta:{type:"suggestion",defaultOptions:[{requireCatchParameter:!1}],docs:{description:"Disallow losing originally caught error when re-throwing custom errors",recommended:!1,url:"https://eslint.org/docs/latest/rules/preserve-caught-error"},schema:[{type:"object",properties:{requireCatchParameter:{type:"boolean",description:"Requires the catch blocks to always have the caught error parameter so it is not discarded."}},additionalProperties:!1}],messages:{missingCause:"There is no `cause` attached to the symptom error being thrown.",incorrectCause:"The symptom error is being thrown with an incorrect `cause`.",includeCause:"Include the original caught error as the `cause` of the symptom error.",missingCatchErrorParam:"The caught error is not accessible because the catch clause lacks the error parameter. Start referencing the caught error using the catch parameter.",partiallyLostError:"Re-throws cannot preserve the caught error as a part of it is being lost due to destructuring.",caughtErrorShadowed:"The caught error is being attached as `cause`, but is shadowed by a closer scoped redeclaration."},hasSuggestions:!0},create(e){let t=e.sourceCode,[{requireCatchParameter:r}]=e.options;function n(s){return(s.argument.type==="NewExpression"||s.argument.type==="CallExpression")&&s.argument.callee.type==="Identifier"&&n5l.has(s.argument.callee.name)&&t.isGlobalReference(s.argument.callee)}function i(s,a,u){let l=a.properties;if(l.length===0)return s.insertTextAfter(t.getFirstToken(a),`cause: ${u}`);let f=l.at(-1);return s.insertTextAfter(f,`, cause: ${u}`)}return{ThrowStatement(s){let a=s5l(s),u=s;if(a&&n(u)){if(a.param&&a.param.type!=="Identifier"){e.report({messageId:"partiallyLostError",node:a});return}let l=a.param?.type==="Identifier"?a.param:null;if(!l){if(r){e.report({node:u,messageId:"missingCatchErrorParam"});return}return}let f=i5l(u);if(f===W$t)return;if(f===null){e.report({messageId:"missingCause",node:u,suggest:[{messageId:"includeCause",fix(A){let h=u.argument,_=h.arguments;if(h.callee.name==="AggregateError"){let k=_[0],M=_[1],R=_[2];if(!k){let q=t.getLastToken(h),G=t.getLastToken(h.callee),K=t.getFirstTokenBetween(G,q,cnn.isOpeningParenToken);return K?A.insertTextAfter(K,`[], "", { cause: ${l.name} }`):A.insertTextAfter(h.callee,`([], "", { cause: ${l.name} })`)}return M?R?R.type==="ObjectExpression"?i(A,R,l.name):null:A.insertTextAfter(M,`, { cause: ${l.name} }`):A.insertTextAfter(k,`, "", { cause: ${l.name} }`)}let b=_[0],D=_[1];if(!b){let k=t.getLastToken(h),M=t.getLastToken(h.callee),R=t.getFirstTokenBetween(M,k,cnn.isOpeningParenToken);return R?A.insertTextAfter(R,`"", { cause: ${l.name} }`):A.insertTextAfter(h.callee,`("", { cause: ${l.name} })`)}return D?D.type==="ObjectExpression"?i(A,D,l.name):null:A.insertTextAfter(b,`, { cause: ${l.name} }`)}}]});return}let{value:p}=f;if(!(p.type==="Identifier"&&p.name===l.name)){let A=f.multipleDefinitions?null:[{messageId:"includeCause",fix(h){return p.parent.method||p.parent.shorthand||p.parent.kind!=="init"?h.replaceText(p.parent,`cause: ${l.name}`):h.replaceText(p,l.name)}}];e.report({messageId:"incorrectCause",node:p,suggest:A});return}let g=t.getScope(u);do{if(g.set.get(l.name))break;g=g.upper}while(g);g?.block!==a&&e.report({messageId:"caughtErrorShadowed",node:u})}}}}}});var uDs=j((REA,oDs)=>{"use strict";var aDs=AGe(),a5l=ao(),o5l=o$t();oDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"quote-props",url:"https://eslint.style/rules/quote-props"}}]},type:"suggestion",docs:{description:"Require quotes around object literal property names",recommended:!1,url:"https://eslint.org/docs/latest/rules/quote-props"},schema:{anyOf:[{type:"array",items:[{enum:["always","as-needed","consistent","consistent-as-needed"]}],minItems:0,maxItems:1},{type:"array",items:[{enum:["always","as-needed","consistent","consistent-as-needed"]},{type:"object",properties:{keywords:{type:"boolean"},unnecessary:{type:"boolean"},numbers:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},fixable:"code",messages:{requireQuotesDueToReservedWord:"Properties should be quoted as '{{property}}' is a reserved word.",inconsistentlyQuotedProperty:"Inconsistently quoted property '{{key}}' found.",unnecessarilyQuotedProperty:"Unnecessarily quoted property '{{property}}' found.",unquotedReservedProperty:"Unquoted reserved word '{{property}}' used as key.",unquotedNumericProperty:"Unquoted number literal '{{property}}' used as key.",unquotedPropertyFound:"Unquoted property '{{property}}' found.",redundantQuoting:"Properties shouldn't be quoted as all quotes are redundant."}},create(e){let t=e.options[0],r=e.options[1]&&e.options[1].keywords,n=!e.options[1]||e.options[1].unnecessary!==!1,i=e.options[1]&&e.options[1].numbers,s=e.sourceCode;function a(h){return o5l.includes(h)}function u(h,_,E){return _.length===1&&_[0].start===0&&_[0].end===h.length&&(["Identifier","Keyword","Null","Boolean"].includes(_[0].type)||_[0].type==="Numeric"&&!E&&String(+_[0].value)===_[0].value)}function l(h){return h.type==="Identifier"?h.name:h.value}function f(h){return h.type==="Literal"&&typeof h.value=="string"?s.getText(h):`"${h.type==="Identifier"?h.name:h.value}"`}function p(h){let _=h.key;if(!(h.method||h.computed||h.shorthand))if(_.type==="Literal"&&typeof _.value=="string"){let E;try{E=aDs.tokenize(_.value)}catch{return}if(E.length!==1||a(E[0].value)&&r)return;n&&u(_.value,E,i)&&e.report({node:h,messageId:"unnecessarilyQuotedProperty",data:{property:_.value},fix:D=>D.replaceText(_,l(_))})}else r&&_.type==="Identifier"&&a(_.name)?e.report({node:h,messageId:"unquotedReservedProperty",data:{property:_.name},fix:E=>E.replaceText(_,f(_))}):i&&_.type==="Literal"&&a5l.isNumericLiteral(_)&&e.report({node:h,messageId:"unquotedNumericProperty",data:{property:_.value},fix:E=>E.replaceText(_,f(_))})}function g(h){let _=h.key;!h.method&&!h.computed&&!h.shorthand&&!(_.type==="Literal"&&typeof _.value=="string")&&e.report({node:h,messageId:"unquotedPropertyFound",data:{property:_.name||_.value},fix:E=>E.replaceText(_,f(_))})}function A(h,_){let E=[],b=[],D=null,k=!1;h.properties.forEach(M=>{let R=M.key;if(!(!R||M.method||M.computed||M.shorthand))if(R.type==="Literal"&&typeof R.value=="string"){if(E.push(M),_){let q;try{q=aDs.tokenize(R.value)}catch{k=!0;return}k=k||!u(R.value,q)||r&&a(q[0].value)}}else r&&_&&R.type==="Identifier"&&a(R.name)?(b.push(M),k=!0,D=R.name):b.push(M)}),_&&E.length&&!k?E.forEach(M=>{e.report({node:M,messageId:"redundantQuoting",fix:R=>R.replaceText(M.key,l(M.key))})}):b.length&&D?b.forEach(M=>{e.report({node:M,messageId:"requireQuotesDueToReservedWord",data:{property:D},fix:R=>R.replaceText(M.key,f(M.key))})}):E.length&&b.length&&b.forEach(M=>{e.report({node:M,messageId:"inconsistentlyQuotedProperty",data:{key:M.key.name||M.key.value},fix:R=>R.replaceText(M.key,f(M.key))})})}return{Property(h){(t==="always"||!t)&&g(h),t==="as-needed"&&p(h)},ObjectExpression(h){t==="consistent"&&A(h,!1),t==="consistent-as-needed"&&A(h,!0)}}}}});var cDs=j((FEA,lDs)=>{"use strict";var _ye=ao(),X$t={double:{quote:'"',alternateQuote:"'",description:"doublequote"},single:{quote:"'",alternateQuote:'"',description:"singlequote"},backtick:{quote:"`",alternateQuote:'"',description:"backtick"}},u5l=new RegExp(String.raw`(^|[^\\])(\\\\)*[${Array.from(_ye.LINEBREAKS).join("")}]`,"u");X$t.double.convert=X$t.single.convert=X$t.backtick.convert=function(e){let t=this.quote,r=e[0];return t===r?e:t+e.slice(1,-1).replace(/\\(\$\{|\r\n?|\n|.)|["'`]|\$\{|(\r\n?|\n)/gu,(n,i,s)=>i===r||r==="`"&&i==="${"?i:n===t||t==="`"&&n==="${"?`\\${n}`:s&&r==="`"?"\\n":n)+t};var l5l="avoid-escape";lDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"quotes",url:"https://eslint.style/rules/quotes"}}]},type:"layout",docs:{description:"Enforce the consistent use of either backticks, double, or single quotes",recommended:!1,url:"https://eslint.org/docs/latest/rules/quotes"},fixable:"code",schema:[{enum:["single","double","backtick"]},{anyOf:[{enum:["avoid-escape"]},{type:"object",properties:{avoidEscape:{type:"boolean"},allowTemplateLiterals:{type:"boolean"}},additionalProperties:!1}]}],messages:{wrongQuotes:"Strings must use {{description}}."}},create(e){let t=e.options[0],r=X$t[t||"double"],n=e.options[1],i=n&&n.allowTemplateLiterals===!0,s=e.sourceCode,a=n&&n.avoidEscape===!0;n===l5l&&(a=!0);function u(A){return A.parent.type==="JSXAttribute"||A.parent.type==="JSXElement"||A.parent.type==="JSXFragment"}function l(A){return A.type==="ExpressionStatement"&&A.expression.type==="Literal"&&typeof A.expression.value=="string"&&!_ye.isParenthesised(s,A.expression)}function f(A){if(!_ye.isTopLevelExpressionStatement(A.parent))return!1;let h=A.parent.parent;for(let _=0;_0||A.quasis.length>=1&&u5l.test(A.quasis[0].value.raw))}return{Literal(A){let h=A.value,_=A.raw;if(r&&typeof h=="string"){let E=t==="backtick"&&p(A)||u(A)||_ye.isSurroundedBy(_,r.quote);!E&&a&&(E=_ye.isSurroundedBy(_,r.alternateQuote)&&_.includes(r.quote)),E||e.report({node:A,messageId:"wrongQuotes",data:{description:r.description},fix(b){return t==="backtick"&&_ye.hasOctalOrNonOctalDecimalEscapeSequence(_)?null:b.replaceText(A,r.convert(A.raw))}})}},TemplateLiteral(A){i||t==="backtick"||g(A)||e.report({node:A,messageId:"wrongQuotes",data:{description:r.description},fix(h){return _ye.isTopLevelExpressionStatement(A.parent)&&!_ye.isParenthesised(s,A)?null:h.replaceText(A,r.convert(s.getText(A)))}})}}}}});var mDs=j((LEA,dDs)=>{"use strict";var Z$t=ao(),fDs="always",c5l="as-needed",f5l=new Set(Array.from({length:35},(e,t)=>t+2));function pDs(e){return e.defs.length>=1}function p5l(e){return e.type==="MemberExpression"&&!e.computed&&e.property.type==="Identifier"&&e.property.name==="parseInt"}function d5l(e){return!(e.type==="Literal"&&!f5l.has(e.value)||e.type==="Identifier"&&e.name==="undefined")}function m5l(e){return e.type==="Literal"&&e.value===10}dDs.exports={meta:{type:"suggestion",defaultOptions:[fDs],docs:{description:"Enforce the consistent use of the radix argument when using `parseInt()`",recommended:!1,url:"https://eslint.org/docs/latest/rules/radix"},hasSuggestions:!0,schema:[{enum:["always","as-needed"]}],messages:{missingParameters:"Missing parameters.",redundantRadix:"Redundant radix parameter.",missingRadix:"Missing radix parameter.",invalidRadix:"Invalid radix parameter, must be an integer between 2 and 36.",addRadixParameter10:"Add radix parameter `10` for parsing decimal numbers."}},create(e){let[t]=e.options,r=e.sourceCode;function n(i){let s=i.arguments;switch(s.length){case 0:e.report({node:i,messageId:"missingParameters"});break;case 1:t===fDs&&e.report({node:i,messageId:"missingRadix",suggest:[{messageId:"addRadixParameter10",fix(a){let u=r.getTokens(i),l=u.at(-1),f=u.at(-2),p=f.type==="Punctuator"&&f.value===",";return a.insertTextBefore(l,p?" 10,":", 10")}}]});break;default:t===c5l&&m5l(s[1])?e.report({node:i,messageId:"redundantRadix"}):d5l(s[1])||e.report({node:i,messageId:"invalidRadix"});break}}return{"Program:exit"(i){let s=r.getScope(i),a;a=Z$t.getVariableByName(s,"parseInt"),a&&!pDs(a)&&a.references.forEach(u=>{let l=u.identifier;Z$t.isCallee(l)&&n(l.parent)}),a=Z$t.getVariableByName(s,"Number"),a&&!pDs(a)&&a.references.forEach(u=>{let l=u.identifier.parent,f=l.parent.type==="ChainExpression"?l.parent:l;p5l(l)&&Z$t.isCallee(f)&&n(f.parent)})}}}}});var hDs=j((MEA,ADs)=>{"use strict";function gDs(e,t=new Map){for(let r of e.references)r.resolved!==null&&t.set(r.identifier,r);for(let r of e.childScopes)r.type!=="function"&&gDs(r,t);return t}function g5l(e){if(e.writeExpr)return e.writeExpr;let t=e.identifier;for(;t;){let r=t.parent.type;if(r==="AssignmentExpression"&&t.parent.left===t)return t.parent.right;if(r==="MemberExpression"&&t.parent.object===t){t=t.parent;continue}break}return null}function A5l(e,t){if(!e||t&&e.defs.some(n=>n.type==="Parameter"))return!1;let r=e.scope.variableScope;return e.references.every(n=>n.from.variableScope===r)}var fnn=class{constructor(){this.info=new WeakMap}initialize(t){let r=new Set,n=new Set;for(let i of t.prevSegments){let s=this.info.get(i);s&&(s.outdatedReadVariables.forEach(Set.prototype.add,r),s.freshReadVariables.forEach(Set.prototype.add,n))}this.info.set(t,{outdatedReadVariables:r,freshReadVariables:n})}markAsRead(t,r){for(let n of t){let i=this.info.get(n);i&&(i.freshReadVariables.add(r),i.outdatedReadVariables.delete(r))}}makeOutdated(t){for(let r of t){let n=this.info.get(r);n&&(n.freshReadVariables.forEach(Set.prototype.add,n.outdatedReadVariables),n.freshReadVariables.clear())}}isOutdated(t,r){for(let n of t){let i=this.info.get(n);if(i&&i.outdatedReadVariables.has(r))return!0}return!1}};ADs.exports={meta:{type:"problem",defaultOptions:[{allowProperties:!1}],docs:{description:"Disallow assignments that can lead to race conditions due to usage of `await` or `yield`",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-atomic-updates"},fixable:null,schema:[{type:"object",properties:{allowProperties:{type:"boolean"}},additionalProperties:!1}],messages:{nonAtomicUpdate:"Possible race condition: `{{value}}` might be reassigned based on an outdated value of `{{value}}`.",nonAtomicObjectUpdate:"Possible race condition: `{{value}}` might be assigned based on an outdated state of `{{object}}`."}},create(e){let[{allowProperties:t}]=e.options,r=e.sourceCode,n=new Map,i=new fnn,s=null;return{onCodePathStart(a,u){let l=r.getScope(u),f=l.type==="function"&&(l.block.async||l.block.generator);s={upper:s,codePath:a,referenceMap:f?gDs(l):null,currentSegments:new Set}},onCodePathEnd(){s=s.upper},onCodePathSegmentStart(a){i.initialize(a),s.currentSegments.add(a)},onUnreachableCodePathSegmentStart(a){s.currentSegments.add(a)},onUnreachableCodePathSegmentEnd(a){s.currentSegments.delete(a)},onCodePathSegmentEnd(a){s.currentSegments.delete(a)},Identifier(a){let{referenceMap:u}=s,l=u&&u.get(a);if(!l)return;let f=l.resolved,p=g5l(l),g=l.identifier.parent.type==="MemberExpression";if(l.isRead()&&!(p&&p.parent.operator==="=")&&i.markAsRead(s.currentSegments,f),p&&p.parent.right===p&&!A5l(f,g)){let A=n.get(p);A||(A=[],n.set(p,A)),A.push(l)}},":expression:exit"(a){if(!s.referenceMap)return;(a.type==="AwaitExpression"||a.type==="YieldExpression")&&i.makeOutdated(s.currentSegments);let u=n.get(a);if(u){n.delete(a);for(let l of u){let f=l.resolved;i.isOutdated(s.currentSegments,f)&&(a.parent.left===l.identifier?e.report({node:a.parent,messageId:"nonAtomicUpdate",data:{value:f.name}}):t||e.report({node:a.parent,messageId:"nonAtomicObjectUpdate",data:{value:r.getText(a.parent.left),object:f.name}}))}}}}}}});var _Ds=j((QEA,yDs)=>{"use strict";var apt=ao();function h5l(e){return e[0].toUpperCase()+e.slice(1)}yDs.exports={meta:{type:"suggestion",docs:{description:"Disallow async functions which have no `await` expression",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-await"},schema:[],messages:{missingAwait:"{{name}} has no 'await' expression.",removeAsync:"Remove 'async'."},hasSuggestions:!0},create(e){let t=e.sourceCode,r=null;function n(){r={upper:r,hasAwait:!1}}function i(s){if(!s.generator&&s.async&&!r.hasAwait&&!apt.isEmptyFunction(s)){let a=s.parent.type==="MethodDefinition"&&s.parent.value===s||s.parent.type==="Property"&&s.parent.method&&s.parent.value===s?s.parent:s,u=t.getFirstToken(a,g=>g.value==="async"),l=[u.range[0],t.getTokenAfter(u,{includeComments:!0}).range[0]],f=t.getTokenAfter(u),p=f.type==="Punctuator"&&(f.value==="["||f.value==="(")&&(a.type==="MethodDefinition"||apt.isStartOfExpressionStatement(a))&&apt.needsPrecedingSemicolon(t,a);e.report({node:s,loc:apt.getFunctionHeadLoc(s,t),messageId:"missingAwait",data:{name:h5l(apt.getFunctionNameWithKind(s))},suggest:[{messageId:"removeAsync",fix:g=>g.replaceTextRange(l,p?";":"")}]})}r=r.upper}return{FunctionDeclaration:n,FunctionExpression:n,ArrowFunctionExpression:n,"FunctionDeclaration:exit":i,"FunctionExpression:exit":i,"ArrowFunctionExpression:exit":i,AwaitExpression(){r&&(r.hasAwait=!0)},ForOfStatement(s){r&&s.await&&(r.hasAwait=!0)},VariableDeclaration(s){r&&s.kind==="await using"&&(r.hasAwait=!0)}}}}});var bDs=j((jEA,CDs)=>{"use strict";var{CALL:y5l,CONSTRUCT:_5l,ReferenceTracker:E5l,getStringIfConstant:EDs}=NS(),x5l=ao(),{isValidWithUnicodeFlag:xDs}=Q$t();function vDs(e,t){let r;return e==="v"?r=!t.includes("v"):e==="u"?r=!t.includes("u"):r=!t.includes("u")&&!t.includes("v"),r}CDs.exports={meta:{type:"suggestion",defaultOptions:[{}],docs:{description:"Enforce the use of `u` or `v` flag on regular expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/require-unicode-regexp"},hasSuggestions:!0,messages:{addUFlag:"Add the 'u' flag.",addVFlag:"Add the 'v' flag.",requireUFlag:"Use the 'u' flag.",requireVFlag:"Use the 'v' flag."},schema:[{type:"object",properties:{requireFlag:{enum:["u","v"]}},additionalProperties:!1}]},create(e){let t=e.sourceCode,[{requireFlag:r}]=e.options;return{"Literal[regex]"(n){let i=n.regex.flags||"";vDs(r,i)&&e.report({messageId:r==="v"?"requireVFlag":"requireUFlag",node:n,suggest:xDs(e.languageOptions.ecmaVersion,n.regex.pattern,r)?[{fix(a){let u=r??"u",l=t.getText(n),f=l.lastIndexOf("/");if(r){let p=r==="u"?"v":"u";if(l.includes(p,f))return a.replaceText(n,l.slice(0,f)+l.slice(f).replace(p,r))}return a.insertTextAfter(n,u)},messageId:r==="v"?"addVFlag":"addUFlag"}]:null})},Program(n){let i=t.getScope(n),s=new E5l(i),a={RegExp:{[y5l]:!0,[_5l]:!0}};for(let{node:u}of s.iterateGlobalReferences(a)){let[l,f]=u.arguments;if(l&&l.type==="SpreadElement")continue;let p=EDs(l,i),g=EDs(f,i),A=!f;typeof g=="string"&&(A=vDs(r,g)),A&&e.report({messageId:r==="v"?"requireVFlag":"requireUFlag",node:u,suggest:typeof p=="string"&&xDs(e.languageOptions.ecmaVersion,p,r)?[{fix(h){let _=r??"u";if(f){if(f.type==="Literal"&&typeof f.value=="string"||f.type==="TemplateLiteral"){let b=t.getText(f),D=r==="u"?"v":"u";return g.includes(D)?f.type==="Literal"&&f.raw.includes("\\")||f.type==="TemplateLiteral"&&(f.expressions.length||f.quasis.some(({value:{raw:k}})=>k.includes("\\")))?null:h.replaceText(f,b.replace(D,_)):h.replaceText(f,[b.slice(0,b.length-1),b.slice(b.length-1)].join(_))}return null}let E=t.getLastToken(u,{skip:1});return h.insertTextAfter(E,x5l.isCommaToken(E)?` "${_}",`:`, "${_}"`)},messageId:r==="v"?"addVFlag":"addUFlag"}]:null})}}}}}});var SDs=j((UEA,IDs)=>{"use strict";IDs.exports={meta:{type:"suggestion",docs:{description:"Require generator functions to contain `yield`",recommended:!0,url:"https://eslint.org/docs/latest/rules/require-yield"},schema:[],messages:{missingYield:"This generator function does not have 'yield'."}},create(e){let t=[];function r(i){i.generator&&t.push(0)}function n(i){if(!i.generator)return;t.pop()===0&&i.body.body.length>0&&e.report({node:i,messageId:"missingYield"})}return{FunctionDeclaration:r,"FunctionDeclaration:exit":n,FunctionExpression:r,"FunctionExpression:exit":n,YieldExpression(){t.length>0&&(t[t.length-1]+=1)}}}}});var DDs=j((qEA,TDs)=>{"use strict";TDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"rest-spread-spacing",url:"https://eslint.style/rules/rest-spread-spacing"}}]},type:"layout",docs:{description:"Enforce spacing between rest and spread operators and their expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/rest-spread-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{unexpectedWhitespace:"Unexpected whitespace after {{type}} operator.",expectedWhitespace:"Expected whitespace after {{type}} operator."}},create(e){let t=e.sourceCode,r=e.options[0]==="always";function n(i){let s=t.getFirstToken(i),a=t.getTokenAfter(s),u=t.isSpaceBetweenTokens(s,a),l;switch(i.type){case"SpreadElement":l="spread",i.parent.type==="ObjectExpression"&&(l+=" property");break;case"RestElement":l="rest",i.parent.type==="ObjectPattern"&&(l+=" property");break;case"ExperimentalSpreadProperty":l="spread property";break;case"ExperimentalRestProperty":l="rest property";break;default:return}r&&!u?e.report({node:i,loc:s.loc,messageId:"expectedWhitespace",data:{type:l},fix(f){return f.replaceTextRange([s.range[1],a.range[0]]," ")}}):!r&&u&&e.report({node:i,loc:{start:s.loc.end,end:a.loc.start},messageId:"unexpectedWhitespace",data:{type:l},fix(f){return f.removeRange([s.range[1],a.range[0]])}})}return{SpreadElement:n,RestElement:n,ExperimentalSpreadProperty:n,ExperimentalRestProperty:n}}}});var BDs=j((YEA,wDs)=>{"use strict";var v5l=PGe(),UGe=ao();wDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"semi",url:"https://eslint.style/rules/semi"}}]},type:"layout",docs:{description:"Require or disallow semicolons instead of ASI",recommended:!1,url:"https://eslint.org/docs/latest/rules/semi"},fixable:"code",schema:{anyOf:[{type:"array",items:[{enum:["never"]},{type:"object",properties:{beforeStatementContinuationChars:{enum:["always","any","never"]}},additionalProperties:!1}],minItems:0,maxItems:2},{type:"array",items:[{enum:["always"]},{type:"object",properties:{omitLastInOneLineBlock:{type:"boolean"},omitLastInOneLineClassBody:{type:"boolean"}},additionalProperties:!1}],minItems:0,maxItems:2}]},messages:{missingSemi:"Missing semicolon.",extraSemi:"Extra semicolon."}},create(e){let t=/^[-[(/+`]/u,r=new Set(["get","set","static"]),n=new Set(["*","in","instanceof"]),i=e.options[1],s=e.options[0]==="never",a=!!(i&&i.omitLastInOneLineBlock),u=!!(i&&i.omitLastInOneLineClassBody),l=i&&i.beforeStatementContinuationChars||"any",f=e.sourceCode;function p(G,K){let Z=f.getLastToken(G),oe,ue,me;K?(oe="extraSemi",me=Z.loc,ue=function(Te){return new v5l(Te,f).retainSurroundingTokens(Z).remove(Z)}):(oe="missingSemi",me={start:Z.loc.end,end:UGe.getNextLocation(f,Z.loc.end)},ue=function(Te){return Te.insertTextAfter(Z,";")}),e.report({node:G,loc:me,messageId:oe,fix:ue})}function g(G){let K=f.getTokenAfter(G);return!K||UGe.isClosingBraceToken(K)||UGe.isSemicolonToken(K)}function A(G){if(!UGe.isClosingBraceToken(G))return!1;let K=f.getNodeByRangeIndex(G.range[0]);return K.type==="BlockStatement"&&K.parent.type==="ArrowFunctionExpression"}function h(G){if(G.type!=="PropertyDefinition")return!1;if(!G.computed&&G.key.type==="Identifier"&&r.has(G.key.name)&&!(G.static&&G.key.name==="static")&&!G.value)return!0;let Z=f.getTokenAfter(G);return n.has(Z.value)}function _(G){let K=f.getLastToken(G,1),Z=f.getTokenAfter(G);return!!Z&&UGe.isTokenOnSameLine(K,Z)}function E(G){let K=G.type;return K==="DoWhileStatement"||K==="BreakStatement"||K==="ContinueStatement"||K==="DebuggerStatement"||K==="ImportDeclaration"||K==="ExportAllDeclaration"?!1:K==="ReturnStatement"?!!G.argument:K==="ExportNamedDeclaration"?!!G.declaration:!A(f.getLastToken(G,1))}function b(G){return!!G&&t.test(G.value)&&G.value!=="++"&&G.value!=="--"}function D(G){return g(f.getLastToken(G))?!0:h(G)||_(G)?!1:G.type!=="PropertyDefinition"&&l==="never"&&!E(G)||!b(f.getTokenAfter(G))}function k(G){let K=G.parent,Z=f.getTokenAfter(G);return!Z||Z.value!=="}"?!1:K.type==="BlockStatement"?K.loc.start.line===K.loc.end.line:K.type==="StaticBlock"?f.getFirstToken(K,{skip:1}).loc.start.line===K.loc.end.line:!1}function M(G){let K=G.parent,Z=f.getTokenAfter(G);return!Z||Z.value!=="}"?!1:K.type==="ClassBody"?K.loc.start.line===K.loc.end.line:!1}function R(G){let K=UGe.isSemicolonToken(f.getLastToken(G));if(s)K&&D(G)?p(G,!0):!K&&l==="always"&&G.type!=="PropertyDefinition"&&b(f.getTokenAfter(G))&&p(G);else{let Z=a&&k(G),oe=u&&M(G),ue=Z||oe;K&&ue?p(G,!0):!K&&!ue&&p(G)}}function q(G){let K=G.parent;(K.type!=="ForStatement"||K.init!==G)&&(!/^For(?:In|Of)Statement/u.test(K.type)||K.left!==G)&&R(G)}return{VariableDeclaration:q,ExpressionStatement:R,ReturnStatement:R,ThrowStatement:R,DoWhileStatement:R,DebuggerStatement:R,BreakStatement:R,ContinueStatement:R,ImportDeclaration:R,ExportAllDeclaration:R,ExportNamedDeclaration(G){G.declaration||R(G)},ExportDefaultDeclaration(G){/(?:Class|Function)Declaration/u.test(G.declaration.type)||R(G)},PropertyDefinition:R}}}});var PDs=j((GEA,kDs)=>{"use strict";var $7e=ao();kDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"semi-spacing",url:"https://eslint.style/rules/semi-spacing"}}]},type:"layout",docs:{description:"Enforce consistent spacing before and after semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/semi-spacing"},fixable:"whitespace",schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],messages:{unexpectedWhitespaceBefore:"Unexpected whitespace before semicolon.",unexpectedWhitespaceAfter:"Unexpected whitespace after semicolon.",missingWhitespaceBefore:"Missing whitespace before semicolon.",missingWhitespaceAfter:"Missing whitespace after semicolon."}},create(e){let t=e.options[0],r=e.sourceCode,n=!1,i=!0;typeof t=="object"&&(n=t.before,i=t.after);function s(A){let h=r.getTokenBefore(A);return h&&$7e.isTokenOnSameLine(h,A)&&r.isSpaceBetweenTokens(h,A)}function a(A){let h=r.getTokenAfter(A);return h&&$7e.isTokenOnSameLine(A,h)&&r.isSpaceBetweenTokens(A,h)}function u(A){let h=r.getTokenAfter(A);return!(h&&$7e.isTokenOnSameLine(A,h))}function l(A){let h=r.getTokenBefore(A);return!(h&&$7e.isTokenOnSameLine(A,h))}function f(A){let h=r.getTokenAfter(A);return h&&$7e.isClosingBraceToken(h)||$7e.isClosingParenToken(h)}function p(A,h){if($7e.isSemicolonToken(A)){if(s(A)){if(!n){let _=r.getTokenBefore(A),E={start:_.loc.end,end:A.loc.start};e.report({node:h,loc:E,messageId:"unexpectedWhitespaceBefore",fix(b){return b.removeRange([_.range[1],A.range[0]])}})}}else if(n){let _=A.loc;e.report({node:h,loc:_,messageId:"missingWhitespaceBefore",fix(E){return E.insertTextBefore(A," ")}})}if(!l(A)&&!u(A)&&!f(A)){if(a(A)){if(!i){let _=r.getTokenAfter(A),E={start:A.loc.end,end:_.loc.start};e.report({node:h,loc:E,messageId:"unexpectedWhitespaceAfter",fix(b){return b.removeRange([A.range[1],_.range[0]])}})}}else if(i){let _=A.loc;e.report({node:h,loc:_,messageId:"missingWhitespaceAfter",fix(E){return E.insertTextAfter(A," ")}})}}}}function g(A){let h=r.getLastToken(A);p(h,A)}return{VariableDeclaration:g,ExpressionStatement:g,BreakStatement:g,ContinueStatement:g,DebuggerStatement:g,DoWhileStatement:g,ReturnStatement:g,ThrowStatement:g,ImportDeclaration:g,ExportNamedDeclaration:g,ExportAllDeclaration:g,ExportDefaultDeclaration:g,ForStatement(A){A.init&&p(r.getTokenAfter(A.init),A),A.test&&p(r.getTokenAfter(A.test),A)},PropertyDefinition:g}}}});var ODs=j((VEA,NDs)=>{"use strict";var opt=ao(),C5l=["BreakStatement","ContinueStatement","DebuggerStatement","DoWhileStatement","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ImportDeclaration","ReturnStatement","ThrowStatement","VariableDeclaration","PropertyDefinition"].join(",");function b5l(e){let t=e.type;return t==="BlockStatement"||t==="StaticBlock"||t==="Program"||t==="ClassBody"?e.body:t==="SwitchCase"?e.consequent:null}function I5l(e){let t=e.parent.type;if(t==="IfStatement"&&e.parent.consequent===e&&e.parent.alternate||t==="DoWhileStatement")return!0;let r=b5l(e.parent);return r!==null&&r.at(-1)===e}NDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"semi-style",url:"https://eslint.style/rules/semi-style"}}]},type:"layout",docs:{description:"Enforce location of semicolons",recommended:!1,url:"https://eslint.org/docs/latest/rules/semi-style"},schema:[{enum:["last","first"]}],fixable:"whitespace",messages:{expectedSemiColon:"Expected this semicolon to be at {{pos}}."}},create(e){let t=e.sourceCode,r=e.options[0]||"last";function n(i,s){let a=t.getTokenBefore(i),u=t.getTokenAfter(i),l=!a||opt.isTokenOnSameLine(a,i),f=!u||opt.isTokenOnSameLine(i,u);(s==="last"&&!l||s==="first"&&!f)&&e.report({loc:i.loc,messageId:"expectedSemiColon",data:{pos:s==="last"?"the end of the previous line":"the beginning of the next line"},fix(p){if(a&&u&&t.commentsExistBetween(a,u))return null;let g=a?a.range[1]:i.range[0],A=u?u.range[0]:i.range[1],h=s==="last"?`; `:` ;`;return p.replaceTextRange([g,A],h)}})}return{[C5l](i){if(r==="first"&&I5l(i))return;let s=t.getLastToken(i);opt.isSemicolonToken(s)&&n(s,r)},ForStatement(i){let s=i.init&&t.getTokenAfter(i.init,opt.isSemicolonToken),a=i.test&&t.getTokenAfter(i.test,opt.isSemicolonToken);s&&n(s,"last"),a&&n(a,"last")}}}}});var FDs=j(($EA,RDs)=>{"use strict";RDs.exports={meta:{type:"suggestion",defaultOptions:[{allowSeparatedGroups:!1,ignoreCase:!1,ignoreDeclarationSort:!1,ignoreMemberSort:!1,memberSyntaxSortOrder:["none","all","multiple","single"]}],docs:{description:"Enforce sorted `import` declarations within modules",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-imports"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"},memberSyntaxSortOrder:{type:"array",items:{enum:["none","all","multiple","single"]},uniqueItems:!0,minItems:4,maxItems:4},ignoreDeclarationSort:{type:"boolean"},ignoreMemberSort:{type:"boolean"},allowSeparatedGroups:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{sortImportsAlphabetically:"Imports should be sorted alphabetically.",sortMembersAlphabetically:"Member '{{memberName}}' of the import declaration should be sorted alphabetically.",unexpectedSyntaxOrder:"Expected '{{syntaxA}}' syntax before '{{syntaxB}}' syntax."}},create(e){let[{ignoreCase:t,ignoreDeclarationSort:r,ignoreMemberSort:n,memberSyntaxSortOrder:i,allowSeparatedGroups:s}]=e.options,a=e.sourceCode,u=null;function l(A){return A.specifiers.length===0?"none":A.specifiers[0].type==="ImportNamespaceSpecifier"?"all":A.specifiers.length===1?"single":"multiple"}function f(A){return i.indexOf(l(A))}function p(A){return A.specifiers[0]?A.specifiers[0].local.name:null}function g(A,h){return Math.max(h.loc.start.line-A.loc.end.line-1,0)}return{ImportDeclaration(A){if(!r){if(u&&s&&g(u,A)>0&&(u=null),u){let h=f(A),_=f(u),E=p(A),b=p(u);t&&(b=b&&b.toLowerCase(),E=E&&E.toLowerCase()),h!==_?h<_&&e.report({node:A,messageId:"unexpectedSyntaxOrder",data:{syntaxA:i[h],syntaxB:i[_]}}):b&&E&&Eb.type==="ImportSpecifier"),_=t?b=>b.local.name.toLowerCase():b=>b.local.name,E=h.map(_).findIndex((b,D,k)=>k[D-1]>b);E!==-1&&e.report({node:h[E],messageId:"sortMembersAlphabetically",data:{memberName:h[E].local.name},fix(b){return h.some(D=>a.getCommentsBefore(D).length||a.getCommentsAfter(D).length)?null:b.replaceTextRange([h[0].range[0],h.at(-1).range[1]],h.slice().sort((D,k)=>{let M=_(D),R=_(k);return M>R?1:-1}).reduce((D,k,M)=>{let R=M===h.length-1?"":a.getText().slice(h[M].range[1],h[M+1].range[0]);return D+a.getText(k)+R},""))}})}}}}}});var pnn=j((KEA,MDs)=>{var LDs=function(e,t){var r,n,i=1,s=0,a=0,u=String.alphabet;function l(f,p,g){if(g){for(r=p;g=l(f,r),g<76&&g>65;)++r;return+f.slice(p-1,r)}return g=u&&u.indexOf(f.charAt(p)),g>-1?g+76:(g=f.charCodeAt(p)||0,g<45||g>127?g:g<46?65:g<48?g-1:g<58?g+18:g<65?g-11:g<91?g+11:g<97?g-37:g<123?g+5:g-63)}if((e+="")!=(t+="")){for(;i;)if(n=l(e,s++),i=l(t,a++),n<76&&i<76&&n>66&&i>66&&(n=l(e,s,s),i=l(t,a,s=r),a=r),n!=i)return n{"use strict";var S5l=ao(),QDs=pnn();function T5l(e){let t=S5l.getStaticPropertyName(e);return t!==null?t:e.key.name||null}var upt={asc(e,t){return e<=t},ascI(e,t){return e.toLowerCase()<=t.toLowerCase()},ascN(e,t){return QDs(e,t)<=0},ascIN(e,t){return QDs(e.toLowerCase(),t.toLowerCase())<=0},desc(e,t){return upt.asc(t,e)},descI(e,t){return upt.ascI(t,e)},descN(e,t){return upt.ascN(t,e)},descIN(e,t){return upt.ascIN(t,e)}};jDs.exports={meta:{type:"suggestion",defaultOptions:["asc",{allowLineSeparatedGroups:!1,caseSensitive:!0,ignoreComputedKeys:!1,minKeys:2,natural:!1}],docs:{description:"Require object keys to be sorted",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-keys"},schema:[{enum:["asc","desc"]},{type:"object",properties:{caseSensitive:{type:"boolean"},natural:{type:"boolean"},minKeys:{type:"integer",minimum:2},allowLineSeparatedGroups:{type:"boolean"},ignoreComputedKeys:{type:"boolean"}},additionalProperties:!1}],messages:{sortKeys:"Expected object keys to be in {{natural}}{{insensitive}}{{order}}ending order. '{{thisName}}' should be before '{{prevName}}'."}},create(e){let[t,{caseSensitive:r,natural:n,minKeys:i,allowLineSeparatedGroups:s,ignoreComputedKeys:a}]=e.options,u=!r,l=upt[t+(u?"I":"")+(n?"N":"")],f=null,p=e.sourceCode;return{ObjectExpression(g){f={upper:f,prevNode:null,prevBlankLine:!1,prevName:null,numKeys:g.properties.length}},"ObjectExpression:exit"(){f=f.upper},SpreadElement(g){g.parent.type==="ObjectExpression"&&(f.prevName=null)},Property(g){if(g.parent.type==="ObjectPattern")return;if(a&&g.computed){f.prevName=null;return}let A=f.prevName,h=f.numKeys,_=T5l(g),E=f.prevNode&&p.getTokensBetween(f.prevNode,g,{includeComments:!0}),b=f.prevBlankLine;if(E&&(E.forEach((D,k)=>{let M=E[k-1];M&&D.loc.start.line-M.loc.end.line>1&&(b=!0)}),!b&&g.loc.start.line-E.at(-1).loc.end.line>1&&(b=!0),!b&&E[0].loc.start.line-f.prevNode.loc.end.line>1&&(b=!0)),f.prevNode=g,_!==null&&(f.prevName=_),s&&b){f.prevBlankLine=_===null;return}A===null||_===null||h{"use strict";qDs.exports={meta:{type:"suggestion",defaultOptions:[{ignoreCase:!1}],docs:{description:"Require variables within the same declaration block to be sorted",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/sort-vars"},schema:[{type:"object",properties:{ignoreCase:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{sortVars:"Variables within the same declaration block should be sorted alphabetically."}},create(e){let[{ignoreCase:t}]=e.options,r=e.sourceCode;return{VariableDeclaration(n){let i=n.declarations.filter(l=>l.id.type==="Identifier"),s=t?l=>l.id.name.toLowerCase():l=>l.id.name,a=i.some(l=>l.init!==null&&l.init.type!=="Literal"),u=!1;i.slice(1).reduce((l,f)=>{let p=s(l);return s(f){let E=s(h),b=s(_);return E>b?1:-1}).reduce((h,_,E)=>{let b=E===i.length-1?"":r.getText().slice(i[E].range[1],i[E+1].range[0]);return h+r.getText(_)+b},""))}}),u=!0,l):f},i[0])}}}}});var $Ds=j((zEA,VDs)=>{"use strict";var qGe=ao();function GDs(e){let t=e.parent;return e.type==="BlockStatement"&&qGe.isFunction(t)&&t.body===e}VDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-before-blocks",url:"https://eslint.style/rules/space-before-blocks"}}]},type:"layout",docs:{description:"Enforce consistent spacing before blocks",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-before-blocks"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{keywords:{enum:["always","never","off"]},functions:{enum:["always","never","off"]},classes:{enum:["always","never","off"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before opening brace.",missingSpace:"Missing space before opening brace."}},create(e){let t=e.options[0],r=e.sourceCode,n=!0,i=!0,s=!0,a=!1,u=!1,l=!1;typeof t=="object"?(n=t.functions==="always",i=t.keywords==="always",s=t.classes==="always",a=t.functions==="never",u=t.keywords==="never",l=t.classes==="never"):t==="never"&&(n=!1,i=!1,s=!1,a=!0,u=!0,l=!0);function f(A,h){return qGe.isArrowToken(A)||qGe.isKeywordToken(A)&&!GDs(h)||qGe.isColonToken(A)&&h.parent&&h.parent.type==="SwitchCase"&&A===qGe.getSwitchCaseColonToken(h.parent,r)}function p(A){let h=r.getTokenBefore(A);if(h&&!f(h,A)&&qGe.isTokenOnSameLine(h,A)){let _=r.isSpaceBetweenTokens(h,A),E,b;GDs(A)?(E=n,b=a):A.type==="ClassBody"?(E=s,b=l):(E=i,b=u),E&&!_?e.report({node:A,messageId:"missingSpace",fix(D){return D.insertTextBefore(A," ")}}):b&&_&&e.report({node:A,messageId:"unexpectedSpace",fix(D){return D.removeRange([h.range[1],A.range[0]])}})}}function g(A){let h=A.cases,_;h.length>0?_=r.getTokenBefore(h[0]):_=r.getLastToken(A,1),p(_)}return{BlockStatement:p,ClassBody:p,SwitchStatement:g}}}});var HDs=j((WEA,JDs)=>{"use strict";var KDs=ao();JDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-before-function-paren",url:"https://eslint.style/rules/space-before-function-paren"}}]},type:"layout",docs:{description:"Enforce consistent spacing before `function` definition opening parenthesis",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-before-function-paren"},fixable:"whitespace",schema:[{oneOf:[{enum:["always","never"]},{type:"object",properties:{anonymous:{enum:["always","never","ignore"]},named:{enum:["always","never","ignore"]},asyncArrow:{enum:["always","never","ignore"]}},additionalProperties:!1}]}],messages:{unexpectedSpace:"Unexpected space before function parentheses.",missingSpace:"Missing space before function parentheses."}},create(e){let t=e.sourceCode,r=typeof e.options[0]=="string"?e.options[0]:"always",n=typeof e.options[0]=="object"?e.options[0]:{};function i(u){if(u.id)return!0;let l=u.parent;return l.type==="MethodDefinition"||l.type==="Property"&&(l.kind==="get"||l.kind==="set"||l.method)}function s(u){if(u.type==="ArrowFunctionExpression"){if(u.async&&KDs.isOpeningParenToken(t.getFirstToken(u,{skip:1})))return n.asyncArrow||r}else{if(i(u))return n.named||r;if(!u.generator)return n.anonymous||r}return"ignore"}function a(u){let l=s(u);if(l==="ignore")return;let f=t.getFirstToken(u,KDs.isOpeningParenToken),p=t.getTokenBefore(f),g=t.isSpaceBetweenTokens(p,f);g&&l==="never"?e.report({node:u,loc:{start:p.loc.end,end:f.loc.start},messageId:"unexpectedSpace",fix(A){let h=t.getCommentsBefore(f);return h.some(_=>_.type==="Line")?null:A.replaceTextRange([p.range[1],f.range[0]],h.reduce((_,E)=>_+t.getText(E),""))}}):!g&&l==="always"&&e.report({node:u,loc:f.loc,messageId:"missingSpace",fix:A=>A.insertTextAfter(p," ")})}return{ArrowFunctionExpression:a,FunctionDeclaration:a,FunctionExpression:a}}}});var WDs=j((XEA,zDs)=>{"use strict";var YGe=ao();zDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-in-parens",url:"https://eslint.style/rules/space-in-parens"}}]},type:"layout",docs:{description:"Enforce consistent spacing inside parentheses",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-in-parens"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{exceptions:{type:"array",items:{enum:["{}","[]","()","empty"]},uniqueItems:!0}},additionalProperties:!1}],messages:{missingOpeningSpace:"There must be a space after this paren.",missingClosingSpace:"There must be a space before this paren.",rejectedOpeningSpace:"There should be no space after this paren.",rejectedClosingSpace:"There should be no space before this paren."}},create(e){let t=e.options[0]==="always",r=e.options[1]&&e.options[1].exceptions||[],n={},i;r.length&&(n.braceException=r.includes("{}"),n.bracketException=r.includes("[]"),n.parenException=r.includes("()"),n.empty=r.includes("empty"));function s(){let h=[],_=[];return n.braceException&&(h.push("{"),_.push("}")),n.bracketException&&(h.push("["),_.push("]")),n.parenException&&(h.push("("),_.push(")")),n.empty&&(h.push(")"),_.push("(")),{openers:h,closers:_}}let a=e.sourceCode;function u(h){return i.openers.includes(h.value)}function l(h){return i.closers.includes(h.value)}function f(h,_){return a.isSpaceBetweenTokens(h,_)||!n.empty&&YGe.isClosingParenToken(_)?!1:t?!u(_):u(_)}function p(h,_){return!YGe.isTokenOnSameLine(h,_)||_.type==="Line"||!a.isSpaceBetweenTokens(h,_)?!1:t?u(_):!u(_)}function g(h,_){return a.isSpaceBetweenTokens(h,_)||!n.empty&&YGe.isOpeningParenToken(h)?!1:t?!l(h):l(h)}function A(h,_){return!YGe.isTokenOnSameLine(h,_)||!a.isSpaceBetweenTokens(h,_)?!1:t?l(h):!l(h)}return{Program:function(_){i=s();let E=a.tokensAndComments;E.forEach((b,D)=>{let k=E[D-1],M=E[D+1];!YGe.isOpeningParenToken(b)&&!YGe.isClosingParenToken(b)||(b.value==="("&&f(b,M)&&e.report({node:_,loc:b.loc,messageId:"missingOpeningSpace",fix(R){return R.insertTextAfter(b," ")}}),b.value==="("&&p(b,M)&&e.report({node:_,loc:{start:b.loc.end,end:M.loc.start},messageId:"rejectedOpeningSpace",fix(R){return R.removeRange([b.range[1],M.range[0]])}}),b.value===")"&&g(k,b)&&e.report({node:_,loc:b.loc,messageId:"missingClosingSpace",fix(R){return R.insertTextBefore(b," ")}}),b.value===")"&&A(k,b)&&e.report({node:_,loc:{start:k.loc.end,end:b.loc.start},messageId:"rejectedClosingSpace",fix(R){return R.removeRange([k.range[1],b.range[0]])}}))})}}}}});var ZDs=j((ZEA,XDs)=>{"use strict";var{isEqToken:D5l}=ao();XDs.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-infix-ops",url:"https://eslint.style/rules/space-infix-ops"}}]},type:"layout",docs:{description:"Require spacing around infix operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-infix-ops"},fixable:"whitespace",schema:[{type:"object",properties:{int32Hint:{type:"boolean",default:!1}},additionalProperties:!1}],messages:{missingSpace:"Operator '{{operator}}' must be spaced."}},create(e){let t=e.options[0]?e.options[0].int32Hint===!0:!1,r=e.sourceCode;function n(l,f,p){let g=r.getFirstTokenBetween(l,f,_=>_.value===p),A=r.getTokenBefore(g),h=r.getTokenAfter(g);return!r.isSpaceBetweenTokens(A,g)||!r.isSpaceBetweenTokens(g,h)?g:null}function i(l,f){e.report({node:l,loc:f.loc,messageId:"missingSpace",data:{operator:f.value},fix(p){let g=r.getTokenBefore(f),A=r.getTokenAfter(f),h="";return f.range[0]-g.range[1]===0&&(h=" "),h+=f.value,A.range[0]-f.range[1]===0&&(h+=" "),p.replaceText(f,h)}})}function s(l){let f=l.left.typeAnnotation?l.left.typeAnnotation:l.left,p=l.right,g=l.operator||"=",A=n(f,p,g);A&&(t&&r.getText(l).endsWith("|0")||i(l,A))}function a(l){let f=n(l.test,l.consequent,"?"),p=n(l.consequent,l.alternate,":");f&&i(l,f),p&&i(l,p)}function u(l){let f=l.id.typeAnnotation?l.id.typeAnnotation:l.id,p=l.init;if(p){let g=n(f,p,"=");g&&i(l,g)}}return{AssignmentExpression:s,AssignmentPattern:s,BinaryExpression:s,LogicalExpression:s,ConditionalExpression:a,VariableDeclarator:u,PropertyDefinition(l){if(!l.value)return;let f=r.getTokenBefore(l.value,D5l),p=r.getTokenBefore(f),g=r.getTokenAfter(f);(!r.isSpaceBetweenTokens(p,f)||!r.isSpaceBetweenTokens(f,g))&&i(l,f)}}}}});var rws=j((exA,tws)=>{"use strict";var ews=ao();tws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"space-unary-ops",url:"https://eslint.style/rules/space-unary-ops"}}]},type:"layout",docs:{description:"Enforce consistent spacing before or after unary operators",recommended:!1,url:"https://eslint.org/docs/latest/rules/space-unary-ops"},fixable:"whitespace",schema:[{type:"object",properties:{words:{type:"boolean",default:!0},nonwords:{type:"boolean",default:!1},overrides:{type:"object",additionalProperties:{type:"boolean"}}},additionalProperties:!1}],messages:{unexpectedBefore:"Unexpected space before unary operator '{{operator}}'.",unexpectedAfter:"Unexpected space after unary operator '{{operator}}'.",unexpectedAfterWord:"Unexpected space after unary word operator '{{word}}'.",wordOperator:"Unary word operator '{{word}}' must be followed by whitespace.",operator:"Unary operator '{{operator}}' must be followed by whitespace.",beforeUnaryExpressions:"Space is required before unary expressions '{{token}}'."}},create(e){let t=e.options[0]||{words:!0,nonwords:!1},r=e.sourceCode;function n(_){return _&&_.type==="UnaryExpression"&&_.argument.operator==="!"&&_.argument&&_.argument.type==="UnaryExpression"&&_.argument.operator==="!"}function i(_){return t.overrides&&Object.hasOwn(t.overrides,_)}function s(_){return t.overrides[_]}function a(_,E,b,D){b.range[0]===E.range[1]&&e.report({node:_,messageId:"wordOperator",data:{word:D},fix(k){return k.insertTextAfter(E," ")}})}function u(_,E,b,D){ews.canTokensBeAdjacent(E,b)&&b.range[0]>E.range[1]&&e.report({node:_,messageId:"unexpectedAfterWord",data:{word:D},fix(k){return k.removeRange([E.range[1],b.range[0]])}})}function l(_,E,b,D){i(D)?s(D)?a(_,E,b,D):u(_,E,b,D):t.words?a(_,E,b,D):u(_,E,b,D)}function f(_){let E=r.getFirstTokens(_,3),b="yield";!_.argument||_.delegate||l(_,E[0],E[1],b)}function p(_){let E=r.getFirstTokens(_,3);l(_,E[0],E[1],"await")}function g(_,E,b){if(_.prefix){if(n(_))return;E.range[1]===b.range[0]&&e.report({node:_,messageId:"operator",data:{operator:E.value},fix(D){return D.insertTextAfter(E," ")}})}else E.range[1]===b.range[0]&&e.report({node:_,messageId:"beforeUnaryExpressions",data:{token:b.value},fix(D){return D.insertTextBefore(b," ")}})}function A(_,E,b){_.prefix?b.range[0]>E.range[1]&&e.report({node:_,messageId:"unexpectedAfter",data:{operator:E.value},fix(D){return ews.canTokensBeAdjacent(E,b)?D.removeRange([E.range[1],b.range[0]]):null}}):b.range[0]>E.range[1]&&e.report({node:_,messageId:"unexpectedBefore",data:{operator:b.value},fix(D){return D.removeRange([E.range[1],b.range[0]])}})}function h(_){let E=_.type==="UpdateExpression"&&!_.prefix?r.getLastTokens(_,2):r.getFirstTokens(_,2),b=E[0],D=E[1];if((_.type==="NewExpression"||_.prefix)&&b.type==="Keyword"){l(_,b,D,b.value);return}let k=_.prefix?E[0].value:E[1].value;i(k)?s(k)?g(_,b,D):A(_,b,D):t.nonwords?g(_,b,D):A(_,b,D)}return{UnaryExpression:h,UpdateExpression:h,NewExpression:h,YieldExpression:f,AwaitExpression:p}}}});var aws=j((txA,sws)=>{"use strict";var w5l=hGe(),B5l=ao();function lpt(e){return`(?:${w5l(e)})`}function nws(e){return`${lpt(e)}+`}function k5l(e){return e.includes("*")?e:e.concat("*")}function iws(e){let t="";return e.length===0?t+="\\s":(t+="(?:\\s|",e.length===1?t+=nws(e[0]):(t+="(?:",t+=e.map(nws).join("|"),t+=")"),t+=`(?:$|[${Array.from(B5l.LINEBREAKS).join("")}]))`),t}function P5l(e,t){let r="^";return e.length===1?r+=lpt(e[0]):(r+="(?:",r+=e.map(lpt).join("|"),r+=")"),r+="?",r+=iws(t),new RegExp(r,"u")}function N5l(e){let t=`^(${e.map(lpt).join("|")})?[ ]+`;return new RegExp(t,"u")}sws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"spaced-comment",url:"https://eslint.style/rules/spaced-comment"}}]},type:"suggestion",docs:{description:"Enforce consistent spacing after the `//` or `/*` in a comment",recommended:!1,url:"https://eslint.org/docs/latest/rules/spaced-comment"},fixable:"whitespace",schema:[{enum:["always","never"]},{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}},line:{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}}},additionalProperties:!1},block:{type:"object",properties:{exceptions:{type:"array",items:{type:"string"}},markers:{type:"array",items:{type:"string"}},balanced:{type:"boolean",default:!1}},additionalProperties:!1}},additionalProperties:!1}],messages:{unexpectedSpaceAfterMarker:"Unexpected space or tab after marker ({{refChar}}) in comment.",expectedExceptionAfter:"Expected exception block, space or tab after '{{refChar}}' in comment.",unexpectedSpaceBefore:"Unexpected space or tab before '*/' in comment.",unexpectedSpaceAfter:"Unexpected space or tab after '{{refChar}}' in comment.",expectedSpaceBefore:"Expected space or tab before '*/' in comment.",expectedSpaceAfter:"Expected space or tab after '{{refChar}}' in comment."}},create(e){let t=e.sourceCode,r=e.options[0]!=="never",n=e.options[1]||{},i=n.block&&n.block.balanced,s=["block","line"].reduce((f,p)=>{let g=k5l(n[p]&&n[p].markers||n.markers||[]),A=n[p]&&n[p].exceptions||n.exceptions||[],h="[ ]+$";return f[p]={beginRegex:r?P5l(g,A):N5l(g),endRegex:i&&r?new RegExp(`${iws(A)}$`,"u"):new RegExp(h,"u"),hasExceptions:A.length>0,captureMarker:new RegExp(`^(${g.map(lpt).join("|")})`,"u"),markers:new Set(g)},f},{});function a(f,p,g,A){let h=f.type.toLowerCase(),_=h==="block"?"/*":"//";e.report({node:f,fix(E){let b=f.range[0],D=b+2;return r?(g&&(D+=g[0].length),E.insertTextAfterRange([b,D]," ")):(D+=g[0].length,E.replaceTextRange([b,D],_+(g[1]?g[1]:"")))},messageId:p,data:{refChar:A}})}function u(f,p,g){e.report({node:f,fix(A){if(r)return A.insertTextAfterRange([f.range[0],f.range[1]-2]," ");let h=f.range[1]-2,_=h-g[0].length;return A.replaceTextRange([_,h],"")},messageId:p})}function l(f){let p=f.type.toLowerCase(),g=s[p],A=p==="block"?"/*":"//";if(f.value.length===0||g.markers.has(f.value))return;let h=g.beginRegex.exec(f.value),_=g.endRegex.exec(f.value);if(r){if(!h){let E=g.captureMarker.exec(f.value),b=E?A+E[0]:A;g.hasExceptions?a(f,"expectedExceptionAfter",E,b):a(f,"expectedSpaceAfter",E,b)}i&&p==="block"&&!_&&u(f,"expectedSpaceBefore")}else h&&(h[1]?a(f,"unexpectedSpaceAfterMarker",h,h[1]):a(f,"unexpectedSpaceAfter",h,A)),i&&p==="block"&&_&&u(f,"unexpectedSpaceBefore",_)}return{Program(){t.getAllComments().filter(p=>p.type!=="Shebang").forEach(l)}}}}});var lws=j((rxA,uws)=>{"use strict";var O5l=ao();function ows(e){let t=[];for(let r=0;rE.remove(_)}function u(_,E,b,D,k){_.slice(E,b).forEach(M=>{e.report({node:M,messageId:D,fix:k?a(M):null})})}function l(_,E,b){u(_,0,_.length,E,b)}function f(_,E,b){u(_,1,_.length,E,b)}function p(_,E){let b=n.length>0,D=r.length===0&&n.length===0,k=r.length>0&&r.at(-1),M=E.length>0;M?(dnn(_.params)?k?e.report({node:E[0],messageId:"unnecessary",fix:a(E[0])}):b&&e.report({node:E[0],messageId:"unnecessaryInClasses",fix:a(E[0])}):e.report({node:E[0],messageId:"nonSimpleParameterList"}),f(E,"multiple",!0)):D&&(dnn(_.params)?e.report({node:_,messageId:"function"}):e.report({node:_,messageId:"wrap",data:{name:O5l.getFunctionNameWithKind(_)}})),r.push(k||M)}function g(){r.pop()}function A(_){let E=_.body.type==="BlockStatement",b=E?ows(_.body.body):[];i==="function"?p(_,b):b.length>0&&(dnn(_.params)?l(b,i,s(i)):(e.report({node:b[0],messageId:"nonSimpleParameterList"}),f(b,"multiple",!0)))}let h={Program(_){let E=ows(_.body);_.sourceType==="module"&&(i="module"),i==="global"?(_.body.length>0&&E.length===0&&e.report({node:_,messageId:"global"}),f(E,"multiple",!0)):l(E,i,s(i))},FunctionDeclaration:A,FunctionExpression:A,ArrowFunctionExpression:A};return i==="function"&&Object.assign(h,{ClassBody(){n.push(!0)},"ClassBody:exit"(){n.pop()},"FunctionDeclaration:exit":g,"FunctionExpression:exit":g,"ArrowFunctionExpression:exit":g}),h}}});var fws=j((nxA,cws)=>{"use strict";var eKt=ao();cws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"switch-colon-spacing",url:"https://eslint.style/rules/switch-colon-spacing"}}]},type:"layout",docs:{description:"Enforce spacing around colons of switch statements",recommended:!1,url:"https://eslint.org/docs/latest/rules/switch-colon-spacing"},schema:[{type:"object",properties:{before:{type:"boolean",default:!1},after:{type:"boolean",default:!0}},additionalProperties:!1}],fixable:"whitespace",messages:{expectedBefore:"Expected space(s) before this colon.",expectedAfter:"Expected space(s) after this colon.",unexpectedBefore:"Unexpected space(s) before this colon.",unexpectedAfter:"Unexpected space(s) after this colon."}},create(e){let t=e.sourceCode,r=e.options[0]||{},n=r.before===!0,i=r.after!==!1;function s(l,f,p){return eKt.isClosingBraceToken(f)||!eKt.isTokenOnSameLine(l,f)||t.isSpaceBetweenTokens(l,f)===p}function a(l,f){return t.getFirstTokenBetween(l,f,{includeComments:!0,filter:eKt.isCommentToken})!==null}function u(l,f,p,g){return a(f,p)?null:g?l.insertTextAfter(f," "):l.removeRange([f.range[1],p.range[0]])}return{SwitchCase(l){let f=eKt.getSwitchCaseColonToken(l,t),p=t.getTokenBefore(f),g=t.getTokenAfter(f);s(p,f,n)||e.report({node:l,loc:f.loc,messageId:n?"expectedBefore":"unexpectedBefore",fix:A=>u(A,p,f,n)}),s(f,g,i)||e.report({node:l,loc:f.loc,messageId:i?"expectedAfter":"unexpectedAfter",fix:A=>u(A,f,g,i)})}}}}});var mws=j((ixA,dws)=>{"use strict";var pws=ao();dws.exports={meta:{type:"suggestion",docs:{description:"Require symbol descriptions",recommended:!1,url:"https://eslint.org/docs/latest/rules/symbol-description"},fixable:null,schema:[],messages:{expected:"Expected Symbol to have a description."}},create(e){let t=e.sourceCode;function r(n){n.arguments.length===0&&e.report({node:n,messageId:"expected"})}return{"Program:exit"(n){let i=t.getScope(n),s=pws.getVariableByName(i,"Symbol");s&&s.defs.length===0&&s.references.forEach(a=>{let u=a.identifier;pws.isCallee(u)&&r(u.parent)})}}}}});var hws=j((sxA,Aws)=>{"use strict";var gws=ao();Aws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"template-curly-spacing",url:"https://eslint.style/rules/template-curly-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing around embedded expressions of template strings",recommended:!1,url:"https://eslint.org/docs/latest/rules/template-curly-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{expectedBefore:"Expected space(s) before '}'.",expectedAfter:"Expected space(s) after '${'.",unexpectedBefore:"Unexpected space(s) before '}'.",unexpectedAfter:"Unexpected space(s) after '${'."}},create(e){let t=e.sourceCode,r=e.options[0]==="always";function n(s){if(!s.value.startsWith("}"))return;let a=t.getTokenBefore(s,{includeComments:!0}),u=t.isSpaceBetween(a,s);gws.isTokenOnSameLine(a,s)&&(r&&!u&&e.report({loc:{start:s.loc.start,end:{line:s.loc.start.line,column:s.loc.start.column+1}},messageId:"expectedBefore",fix:l=>l.insertTextBefore(s," ")}),!r&&u&&e.report({loc:{start:a.loc.end,end:s.loc.start},messageId:"unexpectedBefore",fix:l=>l.removeRange([a.range[1],s.range[0]])}))}function i(s){if(!s.value.endsWith("${"))return;let a=t.getTokenAfter(s,{includeComments:!0}),u=t.isSpaceBetween(s,a);gws.isTokenOnSameLine(s,a)&&(r&&!u&&e.report({loc:{start:{line:s.loc.end.line,column:s.loc.end.column-2},end:s.loc.end},messageId:"expectedAfter",fix:l=>l.insertTextAfter(s," ")}),!r&&u&&e.report({loc:{start:s.loc.end,end:a.loc.start},messageId:"unexpectedAfter",fix:l=>l.removeRange([s.range[1],a.range[0]])}))}return{TemplateElement(s){let a=t.getFirstToken(s);n(a),i(a)}}}}});var _ws=j((axA,yws)=>{"use strict";yws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"template-tag-spacing",url:"https://eslint.style/rules/template-tag-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing between template tags and their literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/template-tag-spacing"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{unexpected:"Unexpected space between template tag and template literal.",missing:"Missing space between template tag and template literal."}},create(e){let t=e.options[0]!=="always",r=e.sourceCode;function n(i){let s=r.getTokenBefore(i.quasi),a=r.getFirstToken(i.quasi),u=r.isSpaceBetweenTokens(s,a);t&&u?e.report({node:i,loc:{start:s.loc.end,end:a.loc.start},messageId:"unexpected",fix(l){let f=r.getCommentsBefore(i.quasi);return f.some(p=>p.type==="Line")?null:l.replaceTextRange([s.range[1],a.range[0]],f.reduce((p,g)=>p+r.getText(g),""))}}):!t&&!u&&e.report({node:i,loc:{start:i.loc.start,end:a.loc.start},messageId:"missing",fix(l){return l.insertTextAfter(s," ")}})}return{TaggedTemplateExpression:n}}}});var xws=j((oxA,Ews)=>{"use strict";Ews.exports={meta:{type:"layout",defaultOptions:["never"],docs:{description:"Require or disallow Unicode byte order mark (BOM)",recommended:!1,url:"https://eslint.org/docs/latest/rules/unicode-bom"},fixable:"whitespace",schema:[{enum:["always","never"]}],messages:{expected:"Expected Unicode BOM (Byte Order Mark).",unexpected:"Unexpected Unicode BOM (Byte Order Mark)."}},create(e){return{Program:function(r){let n=e.sourceCode,i={column:0,line:1},[s]=e.options;!n.hasBOM&&s==="always"?e.report({node:r,loc:i,messageId:"expected",fix(a){return a.insertTextBeforeRange([0,1],"\uFEFF")}}):n.hasBOM&&s==="never"&&e.report({node:r,loc:i,messageId:"unexpected",fix(a){return a.removeRange([-1,0])}})}}}}});var Cws=j((uxA,vws)=>{"use strict";var tKt=ao();function K7e(e){if(!e)return!1;let t=e.type==="SequenceExpression"?e.expressions.at(-1):e;return tKt.isSpecificId(t,"NaN")||tKt.isSpecificMemberAccess(t,"Number","NaN")}vws.exports={meta:{hasSuggestions:!0,type:"problem",docs:{description:"Require calls to `isNaN()` when checking for `NaN`",recommended:!0,url:"https://eslint.org/docs/latest/rules/use-isnan"},schema:[{type:"object",properties:{enforceForSwitchCase:{type:"boolean"},enforceForIndexOf:{type:"boolean"}},additionalProperties:!1}],defaultOptions:[{enforceForIndexOf:!1,enforceForSwitchCase:!0}],messages:{comparisonWithNaN:"Use the isNaN function to compare with NaN.",switchNaN:"'switch(NaN)' can never match a case clause. Use Number.isNaN instead of the switch.",caseNaN:"'case NaN' can never match. Use Number.isNaN before the switch.",indexOfNaN:"Array prototype method '{{ methodName }}' cannot find NaN.",replaceWithIsNaN:"Replace with Number.isNaN.",replaceWithCastingAndIsNaN:"Replace with Number.isNaN and cast to a Number.",replaceWithFindIndex:"Replace with Array.prototype.{{ methodName }}."}},create(e){let[{enforceForIndexOf:t,enforceForSwitchCase:r}]=e.options,n=e.sourceCode,i=new Set(["==","===","!=","!=="]),s=new Set(["==","!="]);function a(g,A){return h=>{let _=K7e(g.left)?g.right:g.left,E=_.type==="SequenceExpression",D=g.operator[0]==="!"?"!":"",k=n.getText(_);E&&(k=`(${k})`);let M=A(k);return h.replaceText(g,`${D}${M}`)}}function u(g){if(/^(?:[<>]|[!=]=)=?$/u.test(g.operator)&&(K7e(g.left)||K7e(g.right))){let A=[],_=(K7e(g.left)?g.left:g.right).type==="SequenceExpression",E=i.has(g.operator)&&!_,b=s.has(g.operator);E&&(A.push({messageId:"replaceWithIsNaN",fix:a(g,D=>`Number.isNaN(${D})`)}),b&&A.push({messageId:"replaceWithCastingAndIsNaN",fix:a(g,D=>`Number.isNaN(Number(${D}))`)})),e.report({node:g,messageId:"comparisonWithNaN",suggest:A})}}function l(g){K7e(g.discriminant)&&e.report({node:g,messageId:"switchNaN"});for(let A of g.cases)K7e(A.test)&&e.report({node:A,messageId:"caseNaN"})}function f(g){let A=tKt.skipChainExpression(g.callee);if(A.type==="MemberExpression"){let h=tKt.getStaticPropertyName(A);if((h==="indexOf"||h==="lastIndexOf")&&g.arguments.length<=2&&K7e(g.arguments[0])){let _=g.arguments[0].type!=="SequenceExpression"&&!g.arguments[1],E=[];if(_){let b=A.computed,D=h==="indexOf"?"findIndex":"findLastIndex",k=b?`"${D}"`:D;E.push({messageId:"replaceWithFindIndex",data:{methodName:D},fix:M=>[M.replaceText(A.property,k),M.replaceText(g.arguments[0],"Number.isNaN")]})}e.report({node:g,messageId:"indexOfNaN",data:{methodName:h},suggest:E})}}}let p={BinaryExpression:u};return r&&(p.SwitchStatement=l),t&&(p.CallExpression=f),p}}});var Iws=j((lxA,bws)=>{"use strict";var F5l=ao();bws.exports={meta:{type:"problem",defaultOptions:[{requireStringLiterals:!1}],docs:{description:"Enforce comparing `typeof` expressions against valid strings",recommended:!0,url:"https://eslint.org/docs/latest/rules/valid-typeof"},hasSuggestions:!0,schema:[{type:"object",properties:{requireStringLiterals:{type:"boolean"}},additionalProperties:!1}],messages:{invalidValue:"Invalid typeof comparison value.",notString:"Typeof comparisons should be to string literals.",suggestString:'Use `"{{type}}"` instead of `{{type}}`.'}},create(e){let t=new Set(["symbol","undefined","object","boolean","number","string","function","bigint"]),r=new Set(["==","===","!=","!=="]),n=e.sourceCode,[{requireStringLiterals:i}]=e.options,s;function a(l){let f=s.set.get(l.name);return f&&f.defs.length===0&&f.references.some(p=>p.identifier===l)}function u(l){return l.type==="UnaryExpression"&&l.operator==="typeof"}return{Program(l){s=n.getScope(l)},UnaryExpression(l){if(u(l)){let{parent:f}=l;if(f.type==="BinaryExpression"&&r.has(f.operator)){let p=f.left===l?f.right:f.left;if(p.type==="Literal"||F5l.isStaticTemplateLiteral(p)){let g=p.type==="Literal"?p.value:p.quasis[0].value.cooked;t.has(g)||e.report({node:p,messageId:"invalidValue"})}else p.type==="Identifier"&&p.name==="undefined"&&a(p)?e.report({node:p,messageId:i?"notString":"invalidValue",suggest:[{messageId:"suggestString",data:{type:"undefined"},fix(g){return g.replaceText(p,'"undefined"')}}]}):i&&!u(p)&&e.report({node:p,messageId:"notString"})}}}}}}});var Tws=j((cxA,Sws)=>{"use strict";Sws.exports={meta:{type:"suggestion",docs:{description:"Require `var` declarations be placed at the top of their containing scope",recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/vars-on-top"},schema:[],messages:{top:"All 'var' declarations must be at the top of the function scope."}},create(e){function t(u){return u.type==="ExpressionStatement"&&u.expression.type==="Literal"&&typeof u.expression.value=="string"}function r(u){return u.type==="ImportDeclaration"||u.type==="ImportSpecifier"||u.type==="ImportDefaultSpecifier"||u.type==="ImportNamespaceSpecifier"}function n(u){return u.type==="VariableDeclaration"||u.type==="ExportNamedDeclaration"&&u.declaration&&u.declaration.type==="VariableDeclaration"}function i(u,l){let f=l.length,p=0;if(u.parent.type!=="StaticBlock")for(;p{"use strict";var rKt=ao(),L5l=NS();function M5l(e){let t=e.parent.type==="ChainExpression"?e.parent:e;return t.parent.type==="NewExpression"&&t.parent.callee===t}Dws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"wrap-iife",url:"https://eslint.style/rules/wrap-iife"}}]},type:"layout",docs:{description:"Require parentheses around immediate `function` invocations",recommended:!1,url:"https://eslint.org/docs/latest/rules/wrap-iife"},schema:[{enum:["outside","inside","any"]},{type:"object",properties:{functionPrototypeMethods:{type:"boolean",default:!1}},additionalProperties:!1}],fixable:"code",messages:{wrapInvocation:"Wrap an immediate function invocation in parentheses.",wrapExpression:"Wrap only the function expression in parens.",moveInvocation:"Move the invocation into the parens that contain the function."}},create(e){let t=e.options[0]||"outside",r=e.options[1]&&e.options[1].functionPrototypeMethods,n=e.sourceCode;function i(u){return rKt.isParenthesised(n,u)}function s(u){return L5l.isParenthesized(1,u,n)}function a(u){let l=rKt.skipChainExpression(u.callee);return l.type==="FunctionExpression"?l:r&&l.type==="MemberExpression"&&l.object.type==="FunctionExpression"&&(rKt.getStaticPropertyName(l)==="call"||rKt.getStaticPropertyName(l)==="apply")?l.object:null}return{CallExpression(u){let l=a(u);if(!l)return;let f=i(u),p=i(l);!f&&!p?e.report({node:u,messageId:"wrapInvocation",fix(g){let A=t==="inside"?l:u;return g.replaceText(A,`(${n.getText(A)})`)}}):t==="inside"&&!p?e.report({node:u,messageId:"wrapExpression",fix(g){if(s(u)&&!M5l(u)){let A=n.getTokenAfter(u);return g.replaceTextRange([l.range[1],A.range[1]],`)${n.getText().slice(l.range[1],A.range[0])}`)}return g.replaceText(l,`(${n.getText(l)})`)}}):t==="outside"&&!f&&e.report({node:u,messageId:"moveInvocation",fix(g){let A=n.getTokenAfter(l);return g.replaceTextRange([A.range[0],u.range[1]],`${n.getText().slice(A.range[1],u.range[1])})`)}})}}}}});var kws=j((pxA,Bws)=>{"use strict";Bws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"wrap-regex",url:"https://eslint.style/rules/wrap-regex"}}]},type:"layout",docs:{description:"Require parenthesis around regex literals",recommended:!1,url:"https://eslint.org/docs/latest/rules/wrap-regex"},schema:[],fixable:"code",messages:{requireParens:"Wrap the regexp literal in parens to disambiguate the slash."}},create(e){let t=e.sourceCode;return{Literal(r){if(t.getFirstToken(r).type==="RegularExpression"){let s=t.getTokenBefore(r),a=t.getTokenAfter(r),{parent:u}=r;u.type==="MemberExpression"&&u.object===r&&!(s&&s.value==="("&&a&&a.value===")")&&e.report({node:r,messageId:"requireParens",fix:l=>l.replaceText(r,`(${t.getText(r)})`)})}}}}}});var Nws=j((dxA,Pws)=>{"use strict";Pws.exports={meta:{deprecated:{message:"Formatting rules are being moved out of ESLint core.",url:"https://eslint.org/blog/2023/10/deprecating-formatting-rules/",deprecatedSince:"8.53.0",availableUntil:"11.0.0",replacedBy:[{message:"ESLint Stylistic now maintains deprecated stylistic core rules.",url:"https://eslint.style/guide/migration",plugin:{name:"@stylistic/eslint-plugin",url:"https://eslint.style"},rule:{name:"yield-star-spacing",url:"https://eslint.style/rules/yield-star-spacing"}}]},type:"layout",docs:{description:"Require or disallow spacing around the `*` in `yield*` expressions",recommended:!1,url:"https://eslint.org/docs/latest/rules/yield-star-spacing"},fixable:"whitespace",schema:[{oneOf:[{enum:["before","after","both","neither"]},{type:"object",properties:{before:{type:"boolean"},after:{type:"boolean"}},additionalProperties:!1}]}],messages:{missingBefore:"Missing space before *.",missingAfter:"Missing space after *.",unexpectedBefore:"Unexpected space before *.",unexpectedAfter:"Unexpected space after *."}},create(e){let t=e.sourceCode,r=(function(s){return!s||typeof s=="string"?{before:{before:!0,after:!1},after:{before:!1,after:!0},both:{before:!0,after:!0},neither:{before:!1,after:!1}}[s||"after"]:s})(e.options[0]);function n(s,a,u){if(t.isSpaceBetweenTokens(a,u)!==r[s]){let l=a.value==="*",f=r[s],p=l?a:u,g;f?g=s==="before"?"missingBefore":"missingAfter":g=s==="before"?"unexpectedBefore":"unexpectedAfter",e.report({node:p,messageId:g,fix(A){return f?l?A.insertTextAfter(p," "):A.insertTextBefore(p," "):A.removeRange([a.range[1],u.range[0]])}})}}function i(s){if(!s.delegate)return;let a=t.getFirstTokens(s,3),u=a[0],l=a[1],f=a[2];n("before",u,l),n("after",l,f)}return{YieldExpression:i}}}});var Mws=j((mxA,Lws)=>{"use strict";var zSe=ao();function Q5l(e){return/^(?:==|===|!=|!==|<|>|<=|>=)$/u.test(e)}function j5l(e){return/^(?:==|===)$/u.test(e)}function Ows(e){return["<","<="].includes(e)}function Fws(e){return e.type==="UnaryExpression"&&e.operator==="-"&&e.prefix&&zSe.isNumericLiteral(e.argument)}function Rws(e){return Fws(e)||zSe.isStaticTemplateLiteral(e)}function nKt(e){return e.type==="Literal"?e:Fws(e)?{type:"Literal",value:-e.argument.value,raw:`-${e.argument.value}`}:zSe.isStaticTemplateLiteral(e)?{type:"Literal",value:e.quasis[0].value.cooked,raw:e.quasis[0].value.raw}:null}Lws.exports={meta:{type:"suggestion",defaultOptions:["never",{exceptRange:!1,onlyEquality:!1}],docs:{description:'Require or disallow "Yoda" conditions',recommended:!1,frozen:!0,url:"https://eslint.org/docs/latest/rules/yoda"},schema:[{enum:["always","never"]},{type:"object",properties:{exceptRange:{type:"boolean"},onlyEquality:{type:"boolean"}},additionalProperties:!1}],fixable:"code",messages:{expected:"Expected literal to be on the {{expectedSide}} side of {{operator}}."}},create(e){let[t,{exceptRange:r,onlyEquality:n}]=e.options,i=t==="always",s=e.sourceCode;function a(f){let p=f.left,g=f.right;function A(){if(f.operator==="&&"&&zSe.isSameReference(p.right,g.left)){let E=nKt(p.left),b=nKt(g.right);if(E===null&&b===null)return!1;if(b===null||E===null||E.value<=b.value)return!0}return!1}function h(){if(f.operator==="||"&&zSe.isSameReference(p.left,g.right)){let E=nKt(p.right),b=nKt(g.left);if(E===null&&b===null)return!1;if(b===null||E===null||E.value<=b.value)return!0}return!1}function _(){return zSe.isParenthesised(s,f)}return f.type==="LogicalExpression"&&p.type==="BinaryExpression"&&g.type==="BinaryExpression"&&Ows(p.operator)&&Ows(g.operator)&&(A()||h())&&_()}let u={"===":"===","!==":"!==","==":"==","!=":"!=","<":">",">":"<","<=":">=",">=":"<="};function l(f){let p=s.getFirstTokenBetween(f.left,f.right,G=>G.value===f.operator),g=s.getTokenBefore(p),A=s.getTokenAfter(p),h=s.getText(),_=h.slice(f.range[0],g.range[1]),E=h.slice(g.range[1],p.range[0]),b=h.slice(p.range[1],A.range[0]),D=h.slice(A.range[0],f.range[1]),k=s.getTokenBefore(f),M=s.getTokenAfter(f),R="",q="";return k&&k.range[1]===f.range[0]&&!zSe.canTokensBeAdjacent(k,A)&&(R=" "),M&&f.range[1]===M.range[0]&&!zSe.canTokensBeAdjacent(g,M)&&(q=" "),R+D+E+u[p.value]+b+_+q}return{BinaryExpression(f){let p=i?f.left:f.right,g=i?f.right:f.left;(g.type==="Literal"||Rws(g))&&!(p.type==="Literal"||Rws(p))&&!(!j5l(f.operator)&&n)&&Q5l(f.operator)&&!(r&&a(f.parent))&&e.report({node:f,messageId:"expected",data:{operator:f.operator,expectedSide:i?"left":"right"},fix:A=>A.replaceText(f,l(f))})}}}}});var GGe=j((gxA,Qws)=>{"use strict";var{LazyLoadingRuleMap:U5l}=wAs();Qws.exports=new U5l(Object.entries({"accessor-pairs":()=>Ohs(),"array-bracket-newline":()=>Fhs(),"array-bracket-spacing":()=>Qhs(),"array-callback-return":()=>Vhs(),"array-element-newline":()=>Khs(),"arrow-body-style":()=>Hhs(),"arrow-parens":()=>Whs(),"arrow-spacing":()=>Zhs(),"block-scoped-var":()=>t0s(),"block-spacing":()=>n0s(),"brace-style":()=>s0s(),"callback-return":()=>o0s(),camelcase:()=>l0s(),"capitalized-comments":()=>d0s(),"class-methods-use-this":()=>g0s(),"comma-dangle":()=>h0s(),"comma-spacing":()=>_0s(),"comma-style":()=>x0s(),complexity:()=>S0s(),"computed-property-spacing":()=>D0s(),"consistent-return":()=>B0s(),"consistent-this":()=>P0s(),"constructor-super":()=>O0s(),curly:()=>F0s(),"default-case":()=>M0s(),"default-case-last":()=>j0s(),"default-param-last":()=>q0s(),"dot-location":()=>G0s(),"dot-notation":()=>J0s(),"eol-last":()=>z0s(),eqeqeq:()=>Z0s(),"for-direction":()=>I1s(),"func-call-spacing":()=>T1s(),"func-name-matching":()=>N1s(),"func-names":()=>R1s(),"func-style":()=>L1s(),"function-call-argument-newline":()=>Q1s(),"function-paren-newline":()=>U1s(),"generator-star-spacing":()=>Y1s(),"getter-return":()=>V1s(),"global-require":()=>K1s(),"grouped-accessor-pairs":()=>H1s(),"guard-for-in":()=>W1s(),"handle-callback-err":()=>Z1s(),"id-blacklist":()=>tys(),"id-denylist":()=>nys(),"id-length":()=>ays(),"id-match":()=>uys(),"implicit-arrow-linebreak":()=>cys(),indent:()=>pys(),"indent-legacy":()=>mys(),"init-declarations":()=>hys(),"jsx-quotes":()=>Eys(),"key-spacing":()=>Cys(),"keyword-spacing":()=>Tys(),"line-comment-position":()=>wys(),"linebreak-style":()=>kys(),"lines-around-comment":()=>Nys(),"lines-around-directive":()=>Fys(),"lines-between-class-members":()=>Mys(),"logical-assignment-operators":()=>jys(),"max-classes-per-file":()=>qys(),"max-depth":()=>Gys(),"max-len":()=>Jys(),"max-lines":()=>Wys(),"max-lines-per-function":()=>Zys(),"max-nested-callbacks":()=>t_s(),"max-params":()=>i_s(),"max-statements":()=>a_s(),"max-statements-per-line":()=>u_s(),"multiline-comment-style":()=>c_s(),"multiline-ternary":()=>p_s(),"new-cap":()=>A_s(),"new-parens":()=>__s(),"newline-after-var":()=>x_s(),"newline-before-return":()=>C_s(),"newline-per-chained-call":()=>I_s(),"no-alert":()=>w_s(),"no-array-constructor":()=>P_s(),"no-async-promise-executor":()=>O_s(),"no-await-in-loop":()=>F_s(),"no-bitwise":()=>Q_s(),"no-buffer-constructor":()=>U_s(),"no-caller":()=>Y_s(),"no-case-declarations":()=>V_s(),"no-catch-shadow":()=>K_s(),"no-class-assign":()=>H_s(),"no-compare-neg-zero":()=>W_s(),"no-cond-assign":()=>Z_s(),"no-confusing-arrow":()=>tEs(),"no-console":()=>nEs(),"no-const-assign":()=>sEs(),"no-constant-binary-expression":()=>cEs(),"no-constant-condition":()=>dEs(),"no-constructor-return":()=>gEs(),"no-continue":()=>hEs(),"no-control-regex":()=>VEs(),"no-debugger":()=>KEs(),"no-delete-var":()=>HEs(),"no-div-regex":()=>WEs(),"no-dupe-args":()=>ZEs(),"no-dupe-class-members":()=>txs(),"no-dupe-else-if":()=>ixs(),"no-dupe-keys":()=>lxs(),"no-duplicate-case":()=>fxs(),"no-duplicate-imports":()=>Axs(),"no-else-return":()=>Exs(),"no-empty":()=>Cxs(),"no-empty-character-class":()=>Ixs(),"no-empty-function":()=>Dxs(),"no-empty-pattern":()=>kxs(),"no-empty-static-block":()=>Nxs(),"no-eq-null":()=>Rxs(),"no-eval":()=>Mxs(),"no-ex-assign":()=>jxs(),"no-extend-native":()=>qxs(),"no-extra-bind":()=>Gxs(),"no-extra-boolean-cast":()=>$xs(),"no-extra-label":()=>Hxs(),"no-extra-parens":()=>Xxs(),"no-extra-semi":()=>e2s(),"no-fallthrough":()=>i2s(),"no-floating-decimal":()=>a2s(),"no-func-assign":()=>u2s(),"no-global-assign":()=>c2s(),"no-implicit-coercion":()=>d2s(),"no-implicit-globals":()=>g2s(),"no-implied-eval":()=>h2s(),"no-import-assign":()=>x2s(),"no-inline-comments":()=>C2s(),"no-inner-declarations":()=>I2s(),"no-invalid-regexp":()=>D2s(),"no-invalid-this":()=>k2s(),"no-irregular-whitespace":()=>N2s(),"no-iterator":()=>R2s(),"no-label-var":()=>L2s(),"no-labels":()=>Q2s(),"no-lone-blocks":()=>U2s(),"no-lonely-if":()=>Y2s(),"no-loop-func":()=>V2s(),"no-loss-of-precision":()=>H2s(),"no-magic-numbers":()=>W2s(),"no-misleading-character-class":()=>Svs(),"no-mixed-operators":()=>Nvs(),"no-mixed-requires":()=>Rvs(),"no-mixed-spaces-and-tabs":()=>Lvs(),"no-multi-assign":()=>Qvs(),"no-multi-spaces":()=>Uvs(),"no-multi-str":()=>Yvs(),"no-multiple-empty-lines":()=>Vvs(),"no-native-reassign":()=>Kvs(),"no-negated-condition":()=>Hvs(),"no-negated-in-lhs":()=>Wvs(),"no-nested-ternary":()=>Zvs(),"no-new":()=>tCs(),"no-new-func":()=>nCs(),"no-new-native-nonconstructor":()=>sCs(),"no-new-object":()=>oCs(),"no-new-require":()=>lCs(),"no-new-symbol":()=>fCs(),"no-new-wrappers":()=>dCs(),"no-nonoctal-decimal-escape":()=>ACs(),"no-obj-calls":()=>_Cs(),"no-object-constructor":()=>xCs(),"no-octal":()=>CCs(),"no-octal-escape":()=>ICs(),"no-param-reassign":()=>TCs(),"no-path-concat":()=>wCs(),"no-plusplus":()=>PCs(),"no-process-env":()=>OCs(),"no-process-exit":()=>FCs(),"no-promise-executor-return":()=>jCs(),"no-proto":()=>qCs(),"no-prototype-builtins":()=>VCs(),"no-redeclare":()=>KCs(),"no-regex-spaces":()=>WCs(),"no-restricted-exports":()=>ebs(),"no-restricted-globals":()=>nbs(),"no-restricted-imports":()=>gbs(),"no-restricted-modules":()=>ybs(),"no-restricted-properties":()=>xbs(),"no-restricted-syntax":()=>Cbs(),"no-return-assign":()=>Ibs(),"no-return-await":()=>Tbs(),"no-script-url":()=>wbs(),"no-self-assign":()=>kbs(),"no-self-compare":()=>Nbs(),"no-sequences":()=>Rbs(),"no-setter-return":()=>Lbs(),"no-shadow":()=>jbs(),"no-shadow-restricted-names":()=>qbs(),"no-spaced-func":()=>Gbs(),"no-sparse-arrays":()=>$bs(),"no-sync":()=>Jbs(),"no-tabs":()=>zbs(),"no-template-curly-in-string":()=>Xbs(),"no-ternary":()=>eIs(),"no-this-before-super":()=>nIs(),"no-throw-literal":()=>sIs(),"no-trailing-spaces":()=>oIs(),"no-unassigned-vars":()=>lIs(),"no-undef":()=>fIs(),"no-undef-init":()=>dIs(),"no-undefined":()=>gIs(),"no-underscore-dangle":()=>hIs(),"no-unexpected-multiline":()=>_Is(),"no-unmodified-loop-condition":()=>CIs(),"no-unneeded-ternary":()=>SIs(),"no-unreachable":()=>DIs(),"no-unreachable-loop":()=>kIs(),"no-unsafe-finally":()=>NIs(),"no-unsafe-negation":()=>RIs(),"no-unsafe-optional-chaining":()=>QIs(),"no-unused-expressions":()=>qIs(),"no-unused-labels":()=>VIs(),"no-unused-private-class-members":()=>KIs(),"no-unused-vars":()=>HIs(),"no-use-before-define":()=>ZIs(),"no-useless-assignment":()=>rSs(),"no-useless-backreference":()=>oSs(),"no-useless-call":()=>lSs(),"no-useless-catch":()=>fSs(),"no-useless-computed-key":()=>dSs(),"no-useless-concat":()=>ASs(),"no-useless-constructor":()=>_Ss(),"no-useless-escape":()=>vSs(),"no-useless-rename":()=>bSs(),"no-useless-return":()=>SSs(),"no-var":()=>BSs(),"no-void":()=>PSs(),"no-warning-comments":()=>RSs(),"no-whitespace-before-property":()=>LSs(),"no-with":()=>QSs(),"nonblock-statement-body-position":()=>USs(),"object-curly-newline":()=>GSs(),"object-curly-spacing":()=>$Ss(),"object-property-newline":()=>JSs(),"object-shorthand":()=>WSs(),"one-var":()=>ZSs(),"one-var-declaration-per-line":()=>tTs(),"operator-assignment":()=>iTs(),"operator-linebreak":()=>aTs(),"padded-blocks":()=>uTs(),"padding-line-between-statements":()=>mTs(),"prefer-arrow-callback":()=>ATs(),"prefer-const":()=>vTs(),"prefer-destructuring":()=>ITs(),"prefer-exponentiation-operator":()=>TTs(),"prefer-named-capture-group":()=>kTs(),"prefer-numeric-literals":()=>OTs(),"prefer-object-has-own":()=>FTs(),"prefer-object-spread":()=>UTs(),"prefer-promise-reject-errors":()=>YTs(),"prefer-reflect":()=>VTs(),"prefer-regex-literals":()=>zTs(),"prefer-rest-params":()=>XTs(),"prefer-spread":()=>eDs(),"prefer-template":()=>nDs(),"preserve-caught-error":()=>sDs(),"quote-props":()=>uDs(),quotes:()=>cDs(),radix:()=>mDs(),"require-atomic-updates":()=>hDs(),"require-await":()=>_Ds(),"require-unicode-regexp":()=>bDs(),"require-yield":()=>SDs(),"rest-spread-spacing":()=>DDs(),semi:()=>BDs(),"semi-spacing":()=>PDs(),"semi-style":()=>ODs(),"sort-imports":()=>FDs(),"sort-keys":()=>UDs(),"sort-vars":()=>YDs(),"space-before-blocks":()=>$Ds(),"space-before-function-paren":()=>HDs(),"space-in-parens":()=>WDs(),"space-infix-ops":()=>ZDs(),"space-unary-ops":()=>rws(),"spaced-comment":()=>aws(),strict:()=>lws(),"switch-colon-spacing":()=>fws(),"symbol-description":()=>mws(),"template-curly-spacing":()=>hws(),"template-tag-spacing":()=>_ws(),"unicode-bom":()=>xws(),"use-isnan":()=>Cws(),"valid-typeof":()=>Iws(),"vars-on-top":()=>Tws(),"wrap-iife":()=>wws(),"wrap-regex":()=>kws(),"yield-star-spacing":()=>Nws(),yoda:()=>Mws()}))});var VGe=j((AxA,jws)=>{"use strict";function q5l(e,t="Assertion failed."){if(!e)throw new Error(t)}jws.exports=q5l});var $Ge=j((yxA,Uws)=>{"use strict";Uws.exports=class{constructor(){this.current=null}getOneToken(){return this.moveNext()?this.current:null}getAllTokens(){let t=[];for(;this.moveNext();)t.push(this.current);return t}moveNext(){throw new Error("Not implemented.")}}});var KGe=j(iKt=>{"use strict";iKt.search=function(t,r){for(let n=0,i=t.length-1;n<=i;){let s=(n+i)/2|0,u=t[s].range[0];if(r<=u){if(s===n)return s;i=s}else n=s+1}return t.length};iKt.getFirstIndex=function(t,r,n){if(n in r)return r[n];if(n-1 in r){let i=r[n-1],s=t[i];return s?s.range[0]>=n?i:i+1:t.length}return 0};iKt.getLastIndex=function(t,r,n){if(n in r)return r[n]-1;if(n-1 in r){let i=r[n-1],s=t[i];return s?s.range[1]>n?i-1:i:t.length-1}return t.length-1}});var Gws=j((xxA,Yws)=>{"use strict";var Y5l=$Ge(),qws=KGe();Yws.exports=class extends Y5l{constructor(t,r,n,i,s){super(),this.tokens=t,this.comments=r,this.tokenIndex=qws.getLastIndex(t,n,s),this.commentIndex=qws.search(r,s)-1,this.border=i}moveNext(){let t=this.tokenIndex>=0?this.tokens[this.tokenIndex]:null,r=this.commentIndex>=0?this.comments[this.commentIndex]:null;return t&&(!r||t.range[1]>r.range[1])?(this.current=t,this.tokenIndex-=1):r?(this.current=r,this.commentIndex-=1):this.current=null,!!this.current&&(this.border===-1||this.current.range[0]>=this.border)}}});var $ws=j((CxA,Vws)=>{"use strict";var G5l=$Ge(),{getLastIndex:V5l,getFirstIndex:$5l}=KGe();Vws.exports=class extends G5l{constructor(t,r,n,i,s){super(),this.tokens=t,this.index=V5l(t,n,s),this.indexEnd=$5l(t,n,i)}moveNext(){return this.index>=this.indexEnd?(this.current=this.tokens[this.index],this.index-=1,!0):!1}getOneToken(){return this.index>=this.indexEnd?this.tokens[this.index]:null}}});var sKt=j((IxA,Kws)=>{"use strict";var K5l=$Ge();Kws.exports=class extends K5l{constructor(t){super(),this.cursor=t}moveNext(){let t=this.cursor.moveNext();return this.current=this.cursor.current,t}}});var Hws=j((TxA,Jws)=>{"use strict";var J5l=sKt();Jws.exports=class extends J5l{constructor(t,r){super(t),this.predicate=r}moveNext(){let t=this.predicate;for(;super.moveNext();)if(t(this.current))return!0;return!1}}});var Wws=j((wxA,zws)=>{"use strict";var H5l=$Ge(),{getFirstIndex:z5l,search:W5l}=KGe();zws.exports=class extends H5l{constructor(t,r,n,i,s){super(),this.tokens=t,this.comments=r,this.tokenIndex=z5l(t,n,i),this.commentIndex=W5l(r,i),this.border=s}moveNext(){let t=this.tokenIndex{"use strict";var X5l=$Ge(),{getFirstIndex:Z5l,getLastIndex:ePl}=KGe();Xws.exports=class extends X5l{constructor(t,r,n,i,s){super(),this.tokens=t,this.index=Z5l(t,n,i),this.indexEnd=ePl(t,n,s)}moveNext(){return this.index<=this.indexEnd?(this.current=this.tokens[this.index],this.index+=1,!0):!1}getOneToken(){return this.index<=this.indexEnd?this.tokens[this.index]:null}getAllTokens(){return this.tokens.slice(this.index,this.indexEnd+1)}}});var e3s=j((NxA,Zws)=>{"use strict";var tPl=sKt();Zws.exports=class extends tPl{constructor(t,r){super(t),this.count=r}moveNext(){return this.count>0?(this.count-=1,super.moveNext()):!1}}});var r3s=j((RxA,t3s)=>{"use strict";var rPl=sKt();t3s.exports=class extends rPl{constructor(t,r){super(t),this.count=r}moveNext(){for(;this.count>0;)if(this.count-=1,!super.moveNext())return!1;return super.moveNext()}}});var i3s=j((FxA,n3s)=>{"use strict";var nPl=Gws(),iPl=$ws(),sPl=Hws(),aPl=Wws(),oPl=aKt(),uPl=e3s(),lPl=r3s(),oKt=class{constructor(t,r){this.TokenCursor=t,this.TokenCommentCursor=r}createBaseCursor(t,r,n,i,s,a){let u=a?this.TokenCommentCursor:this.TokenCursor;return new u(t,r,n,i,s)}createCursor(t,r,n,i,s,a,u,l,f){let p=this.createBaseCursor(t,r,n,i,s,a);return u&&(p=new sPl(p,u)),l>=1&&(p=new lPl(p,l)),f>=0&&(p=new uPl(p,f)),p}};n3s.exports={forward:new oKt(oPl,aPl),backward:new oKt(iPl,nPl)}});var a3s=j((MxA,s3s)=>{"use strict";var cPl=aKt();s3s.exports=class extends cPl{constructor(t,r,n,i,s,a,u){super(t,r,n,i,s),this.index=Math.max(0,this.index-a),this.indexEnd=Math.min(t.length-1,this.indexEnd+u)}}});var f3s=j((jxA,c3s)=>{"use strict";var{isCommentToken:l3s}=NS(),uKt=VGe(),eL=i3s(),fPl=aKt(),pPl=a3s(),dPl=KGe(),xP=Symbol("tokens"),TB=Symbol("comments"),vP=Symbol("indexMap");function mPl(e,t){let r=Object.create(null),n=0,i=0,s,a;for(;n=0,"options.skip should be zero or a positive integer."),uKt(!f||typeof f=="function","options.filter should be a function."),e.createCursor(t,r,n,i,s,u,f,l,-1)}function Eye(e,t,r,n,i,s,a){let u=!1,l=0,f=!1,p=null;return typeof a=="number"?(l=a|0,f=!0):typeof a=="function"?p=a:a&&(u=!!a.includeComments,l=a.count|0,f=typeof a.count=="number",p=a.filter||null),uKt(l>=0,"options.count should be zero or a positive integer."),uKt(!p||typeof p=="function","options.filter should be a function."),e.createCursor(t,r,n,i,s,u,p,0,f?l:-1)}function o3s(e,t,r,n,i,s,a){return typeof s>"u"&&typeof a>"u"?new fPl(e,t,r,n,i):typeof s=="number"||typeof s>"u"?new pPl(e,t,r,n,i,s|0,a|0):Eye(eL.forward,e,t,r,n,i,s)}function u3s(e){let t=[],r=e.getOneToken();for(;r&&l3s(r);)t.push(r),r=e.getOneToken();return t}c3s.exports=class{constructor(t,r){this[xP]=t,this[TB]=r,this[vP]=mPl(t,r)}getTokenByRangeStart(t,r){let n=r&&r.includeComments,i=eL.forward.createBaseCursor(this[xP],this[TB],this[vP],t,-1,n).getOneToken();return i&&i.range[0]===t?i:null}getFirstToken(t,r){return JGe(eL.forward,this[xP],this[TB],this[vP],t.range[0],t.range[1],r).getOneToken()}getLastToken(t,r){return JGe(eL.backward,this[xP],this[TB],this[vP],t.range[0],t.range[1],r).getOneToken()}getTokenBefore(t,r){return JGe(eL.backward,this[xP],this[TB],this[vP],-1,t.range[0],r).getOneToken()}getTokenAfter(t,r){return JGe(eL.forward,this[xP],this[TB],this[vP],t.range[1],-1,r).getOneToken()}getFirstTokenBetween(t,r,n){return JGe(eL.forward,this[xP],this[TB],this[vP],t.range[1],r.range[0],n).getOneToken()}getLastTokenBetween(t,r,n){return JGe(eL.backward,this[xP],this[TB],this[vP],t.range[1],r.range[0],n).getOneToken()}getTokenOrCommentBefore(t,r){return this.getTokenBefore(t,{includeComments:!0,skip:r})}getTokenOrCommentAfter(t,r){return this.getTokenAfter(t,{includeComments:!0,skip:r})}getFirstTokens(t,r){return Eye(eL.forward,this[xP],this[TB],this[vP],t.range[0],t.range[1],r).getAllTokens()}getLastTokens(t,r){return Eye(eL.backward,this[xP],this[TB],this[vP],t.range[0],t.range[1],r).getAllTokens().reverse()}getTokensBefore(t,r){return Eye(eL.backward,this[xP],this[TB],this[vP],-1,t.range[0],r).getAllTokens().reverse()}getTokensAfter(t,r){return Eye(eL.forward,this[xP],this[TB],this[vP],t.range[1],-1,r).getAllTokens()}getFirstTokensBetween(t,r,n){return Eye(eL.forward,this[xP],this[TB],this[vP],t.range[1],r.range[0],n).getAllTokens()}getLastTokensBetween(t,r,n){return Eye(eL.backward,this[xP],this[TB],this[vP],t.range[1],r.range[0],n).getAllTokens().reverse()}getTokens(t,r,n){return o3s(this[xP],this[TB],this[vP],t.range[0],t.range[1],r,n).getAllTokens()}getTokensBetween(t,r,n){return o3s(this[xP],this[TB],this[vP],t.range[1],r.range[0],n,n).getAllTokens()}commentsExistBetween(t,r){let n=dPl.search(this[TB],t.range[1]);return n{"use strict";var WSe=B1()("eslint:code-path");function gPl(e){return e.id+(e.reachable?"":"!")}function lKt(e,t){let r=t?`:${t}`:"";switch(e.type){case"Identifier":return`${e.type}${r} (${e.name})`;case"Literal":return`${e.type}${r} (${e.value})`;default:return`${e.type}${r}`}}p3s.exports={enabled:WSe.enabled,dump:WSe,dumpState:WSe.enabled?function(e,t,r){for(let n=0;n=0&&i.nodes[s]===lKt(e,"enter")?i.nodes[s]=lKt(e,void 0):i.nodes.push(lKt(e,"exit"))}else i.nodes.push(lKt(e,"enter"))}WSe([`${t.currentSegments.map(gPl).join(",")})`,`${e.type}${r?":exit":""}`].join(" "))}:WSe,dumpDot:WSe.enabled?function(e){let t=` digraph { node[shape=box,style="rounded,filled",fillcolor=white]; initial[label="",shape=circle,style=filled,fillcolor=black,width=0.25,height=0.25]; `;e.returnedSegments.length>0&&(t+=`final[label="",shape=doublecircle,style=filled,fillcolor=black,width=0.25,height=0.25]; `),e.thrownSegments.length>0&&(t+=`thrown[label="\u2718",shape=circle,width=0.3,height=0.3,fixedsize=true]; `);let r=Object.create(null),n=this.makeDotArrows(e,r);for(let i in r){let s=r[i];t+=`${i}[`,s.reachable?t+='label="':t+='style="rounded,dashed,filled",fillcolor="#FF9800",label="<>\\n',s.internal.nodes.length>0?t+=s.internal.nodes.join("\\n"):t+="????",t+=`"]; `}t+=`${n} `,t+="}",WSe("DOT",t)}:WSe,makeDotArrows(e,t){let r=[[e.initialSegment,0]],n=t||Object.create(null),i=e.initialSegment.id,s=`initial->${e.initialSegment.id}`;for(;r.length>0;){let a=r.pop(),u=a[0],l=a[1];if(n[u.id]&&l===0)continue;n[u.id]=u;let f=u.allNextSegments[l];f&&(i===u.id?s+=`->${f.id}`:s+=`; ${u.id}->${f.id}`,i=f.id,r.unshift([u,1+l]),r.push([f,0]))}return e.returnedSegments.forEach(a=>{i===a.id?s+="->final":s+=`; ${a.id}->final`,i=null}),e.thrownSegments.forEach(a=>{i===a.id?s+="->thrown":s+=`; ${a.id}->thrown`,i=null}),`${s};`}}});var cKt=j((qxA,d3s)=>{"use strict";var APl=mnn();function gnn(e){return e.reachable}var Ann=class e{constructor(t,r,n){this.id=t,this.nextSegments=[],this.prevSegments=r.filter(gnn),this.allNextSegments=[],this.allPrevSegments=r,this.reachable=n,Object.defineProperty(this,"internal",{value:{used:!1,loopedPrevSegments:[]}}),APl.enabled&&(this.internal.nodes=[])}isLoopedPrevSegment(t){return this.internal.loopedPrevSegments.includes(t)}static newRoot(t){return new e(t,[],!0)}static newNext(t,r){return new e(t,e.flattenUnusedSegments(r),r.some(gnn))}static newUnreachable(t,r){let n=new e(t,e.flattenUnusedSegments(r),!1);return e.markUsed(n),n}static newDisconnected(t,r){return new e(t,[],r.some(gnn))}static markUsed(t){if(t.internal.used)return;t.internal.used=!0;let r;if(t.reachable)for(r=0;r{"use strict";var hnn=VGe(),cpt=cKt();function hPl(e){return e.reachable}function ynn(e,t,r,n){let i=e.segmentsList,s=t>=0?t:i.length+t,a=r>=0?r:i.length+r,u=[];for(let l=0;le.count;){let n=[];for(let i=0,s=Math.floor(r.length/2);i0&&t.some(hPl)}makeNext(t,r){return ynn(this,t,r,cpt.newNext)}makeUnreachable(t,r){return ynn(this,t,r,cpt.newUnreachable)}makeDisconnected(t,r){return ynn(this,t,r,cpt.newDisconnected)}add(t){hnn(t.length>=this.count,`${t.length} >= ${this.count}`),this.segmentsList.push(m3s(this,t))}replaceHead(t){hnn(t.length>=this.count,`${t.length} >= ${this.count}`),this.segmentsList.splice(-1,1,m3s(this,t))}addAll(t){hnn(t.count===this.count),this.segmentsList.push(...t.segmentsList)}clear(){this.segmentsList=[]}static newRoot(t){let r=new e(t,null,1);return r.add([cpt.newRoot(t.next())]),r}static newEmpty(t,r){return new e(t.idGenerator,t,(r?2:1)*t.count)}};g3s.exports=_nn});var x3s=j((GxA,E3s)=>{"use strict";var pKt=cKt(),TK=A3s(),xnn=class{constructor(t,r,n,i){this.upper=t,this.breakable=r,this.label=n,this.brokenForkContext=TK.newEmpty(i)}},vnn=class{constructor(t){this.upper=t,this.choiceContextCount=0}},Cnn=class{constructor(t,r,n,i){this.upper=t,this.kind=r,this.isForkingAsResult=n,this.trueForkContext=TK.newEmpty(i),this.falseForkContext=TK.newEmpty(i),this.nullishForkContext=TK.newEmpty(i),this.processed=!1}},H7e=class{constructor(t,r,n,i){this.upper=t,this.type=r,this.label=n,this.brokenForkContext=i.brokenForkContext}},bnn=class extends H7e{constructor(t,r,n){super(t,"WhileStatement",r,n),this.test=void 0,this.continueDestSegments=null}},Inn=class extends H7e{constructor(t,r,n,i){super(t,"DoWhileStatement",r,n),this.test=void 0,this.entrySegments=null,this.continueForkContext=TK.newEmpty(i)}},Snn=class extends H7e{constructor(t,r,n){super(t,"ForStatement",r,n),this.test=void 0,this.endOfInitSegments=null,this.testSegments=null,this.endOfTestSegments=null,this.updateSegments=null,this.endOfUpdateSegments=null,this.continueDestSegments=null}},Tnn=class extends H7e{constructor(t,r,n){super(t,"ForInStatement",r,n),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}},Dnn=class extends H7e{constructor(t,r,n){super(t,"ForOfStatement",r,n),this.prevSegments=null,this.leftSegments=null,this.endOfLeftSegments=null,this.continueDestSegments=null}},wnn=class{constructor(t,r){this.upper=t,this.hasCase=r,this.defaultSegments=null,this.defaultBodySegments=null,this.foundEmptyDefault=!1,this.lastIsDefault=!1,this.forkCount=0}},Bnn=class{constructor(t,r,n){this.upper=t,this.hasFinalizer=r,this.position="try",this.returnedForkContext=r?TK.newEmpty(n):null,this.thrownForkContext=TK.newEmpty(n),this.lastOfTryIsReachable=!1,this.lastOfCatchIsReachable=!1}};function h3s(e,t,r,n){for(let i=0;i=2&&pKt.markPrevSegmentAsLooped(l,u),e.notifyLooped(u,l)}}function _3s(e,t,r){t.processed||(t.trueForkContext.add(r),t.falseForkContext.add(r),t.nullishForkContext.add(r)),e.test!==!0&&e.brokenForkContext.addAll(t.falseForkContext),e.endOfTestSegments=t.trueForkContext.makeNext(0,-1)}var knn=class{constructor(t,r){this.idGenerator=t,this.notifyLooped=r,this.forkContext=TK.newRoot(t),this.choiceContext=null,this.switchContext=null,this.tryContext=null,this.loopContext=null,this.breakContext=null,this.chainContext=null,this.currentSegments=[],this.initialSegment=this.forkContext.head[0],this.finalSegments=[],this.returnedForkContext=[],this.thrownForkContext=[];let n=this.finalSegments,i=this.returnedForkContext,s=this.thrownForkContext;i.add=h3s.bind(null,i,s,n),s.add=h3s.bind(null,s,i,n)}get headSegments(){return this.forkContext.head}get parentForkContext(){let t=this.forkContext;return t&&t.upper}pushForkContext(t){return this.forkContext=TK.newEmpty(this.forkContext,t),this.forkContext}popForkContext(){let t=this.forkContext;return this.forkContext=t.upper,this.forkContext.replaceHead(t.makeNext(0,-1)),t}forkPath(){this.forkContext.add(this.parentForkContext.makeNext(-1,-1))}forkBypassPath(){this.forkContext.add(this.parentForkContext.head)}pushChoiceContext(t,r){this.choiceContext=new Cnn(this.choiceContext,t,r,this.forkContext)}popChoiceContext(){let t=this.choiceContext,r=this.forkContext,n=r.head;switch(this.choiceContext=t.upper,t.kind){case"&&":case"||":case"??":if(t.processed||(t.trueForkContext.add(n),t.falseForkContext.add(n),t.nullishForkContext.add(n)),t.isForkingAsResult){let s=this.choiceContext;return s.trueForkContext.addAll(t.trueForkContext),s.falseForkContext.addAll(t.falseForkContext),s.nullishForkContext.addAll(t.nullishForkContext),s.processed=!0,t}break;case"test":t.processed?(t.falseForkContext.clear(),t.falseForkContext.add(n)):(t.trueForkContext.clear(),t.trueForkContext.add(n));break;case"loop":return t;default:throw new Error("unreachable")}let i=t.trueForkContext;return i.addAll(t.falseForkContext),r.replaceHead(i.makeNext(0,-1)),t}makeLogicalRight(){let t=this.choiceContext,r=this.forkContext;if(t.processed){let n;switch(t.kind){case"&&":n=t.trueForkContext;break;case"||":n=t.falseForkContext;break;case"??":n=t.nullishForkContext;break;default:throw new Error("unreachable")}r.replaceHead(n.makeNext(0,-1)),n.clear(),t.processed=!1}else{switch(t.kind){case"&&":t.falseForkContext.add(r.head),t.nullishForkContext.add(r.head);break;case"||":t.trueForkContext.add(r.head);break;case"??":t.trueForkContext.add(r.head),t.falseForkContext.add(r.head);break;default:throw new Error("unreachable")}r.replaceHead(r.makeNext(-1,-1))}}makeIfConsequent(){let t=this.choiceContext,r=this.forkContext;t.processed||(t.trueForkContext.add(r.head),t.falseForkContext.add(r.head),t.nullishForkContext.add(r.head)),t.processed=!1,r.replaceHead(t.trueForkContext.makeNext(0,-1))}makeIfAlternate(){let t=this.choiceContext,r=this.forkContext;t.trueForkContext.clear(),t.trueForkContext.add(r.head),t.processed=!0,r.replaceHead(t.falseForkContext.makeNext(0,-1))}pushChainContext(){this.chainContext=new vnn(this.chainContext)}popChainContext(){let t=this.chainContext;this.chainContext=t.upper;for(let r=t.choiceContextCount;r>0;--r)this.popChoiceContext()}makeOptionalNode(){this.chainContext&&(this.chainContext.choiceContextCount+=1,this.pushChoiceContext("??",!1))}makeOptionalRight(){this.chainContext&&this.makeLogicalRight()}pushSwitchContext(t,r){this.switchContext=new wnn(this.switchContext,t),this.pushBreakContext(!0,r)}popSwitchContext(){let t=this.switchContext;this.switchContext=t.upper;let r=this.forkContext,n=this.popBreakContext().brokenForkContext;if(t.forkCount===0){n.empty||(n.add(r.makeNext(-1,-1)),r.replaceHead(n.makeNext(0,-1)));return}let i=r.head;this.forkBypassPath();let s=r.head;n.add(i),t.lastIsDefault||(t.defaultBodySegments?(EPl(t.defaultSegments,t.defaultBodySegments),J7e(this,s,t.defaultBodySegments)):n.add(s));for(let a=0;a0&&t[0].reachable&&this.returnedForkContext.add(t)}};E3s.exports=knn});var Nnn=j((VxA,v3s)=>{"use strict";var Pnn=class{constructor(t){this.prefix=String(t),this.n=0}next(){return this.n=1+this.n|0,this.n<0&&(this.n=1),this.prefix+this.n}};v3s.exports=Pnn});var b3s=j(($xA,C3s)=>{"use strict";var xPl=x3s(),vPl=Nnn(),Onn=class{constructor({id:t,origin:r,upper:n,onLooped:i}){this.id=t,this.origin=r,this.upper=n,this.childCodePaths=[],Object.defineProperty(this,"internal",{value:new xPl(new vPl(`${t}_`),i)}),n&&n.childCodePaths.push(this)}static getState(t){return t.internal}get initialSegment(){return this.internal.initialSegment}get finalSegments(){return this.internal.finalSegments}get returnedSegments(){return this.internal.returnedForkContext}get thrownSegments(){return this.internal.thrownForkContext}traverseSegments(t,r){let n,i;typeof t=="function"?(i=t,n={}):(n=t||{},i=r);let s=n.first||this.internal.initialSegment,a=n.last,u,l,f,p=null,g=new Set,A=[[s,0]],h=new Set,_=!1,E={skip(){h.add(p)},break(){_=!0}};function b(k){return g.has(k)||p.isLoopedPrevSegment(k)}function D(k){return h.has(k)||p.isLoopedPrevSegment(k)}for(;A.length>0;){if(u=A.at(-1),p=u[0],l=u[1],l===0){if(g.has(p)){A.pop();continue}if(p!==s&&p.prevSegments.length>0&&!p.prevSegments.every(b)){A.pop();continue}if(g.add(p),h.size>0&&p.prevSegments.length>0&&p.prevSegments.every(D))h.add(p);else if(i.call(this,p,E),p===a&&E.skip(),_)break}f=p.nextSegments.length-1,l{"use strict";var Rnn=VGe(),{breakableTypePattern:T3s}=bft(),Jfe=b3s(),CPl=cKt(),bPl=Nnn(),gse=mnn();function IPl(e){return!!e.test}function D3s(e){let t=e.parent;return t&&t.type==="PropertyDefinition"&&t.value===e}function dKt(e){return e==="&&"||e==="||"||e==="??"}function mKt(e){return e==="&&="||e==="||="||e==="??="}function I3s(e){return e.parent.type==="LabeledStatement"?e.parent.label.name:null}function S3s(e){let t=e.parent;switch(t.type){case"ConditionalExpression":case"IfStatement":case"WhileStatement":case"DoWhileStatement":case"ForStatement":return t.test===e;case"LogicalExpression":return dKt(t.operator);case"AssignmentExpression":return mKt(t.operator);default:return!1}}function Fnn(e){if(e.type==="Literal")return!!e.value}function SPl(e){let t=e.parent;switch(t.type){case"LabeledStatement":case"BreakStatement":case"ContinueStatement":case"ArrayPattern":case"RestElement":case"ImportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"CatchClause":return!1;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ClassDeclaration":case"ClassExpression":case"VariableDeclarator":return t.id!==e;case"Property":case"PropertyDefinition":case"MethodDefinition":return t.key!==e||t.computed||t.shorthand;case"AssignmentPattern":return t.key!==e;default:return!0}}function z7e(e,t){let r=e.codePath,n=Jfe.getState(r),i=n.currentSegments,s=n.headSegments,a=Math.max(i.length,s.length),u,l,f;for(u=0;u=1&&i.arguments[0]===t&&n.makeOptionalRight();break;case"MemberExpression":i.optional===!0&&i.property===t&&n.makeOptionalRight();break;case"LogicalExpression":i.right===t&&dKt(i.operator)&&n.makeLogicalRight();break;case"AssignmentExpression":i.right===t&&mKt(i.operator)&&n.makeLogicalRight();break;case"ConditionalExpression":case"IfStatement":i.consequent===t?n.makeIfConsequent():i.alternate===t&&n.makeIfAlternate();break;case"SwitchCase":i.consequent[0]===t&&n.makeSwitchCaseBody(!1,!i.test);break;case"TryStatement":i.handler===t?n.makeCatchBlock():i.finalizer===t&&n.makeFinallyBlock();break;case"WhileStatement":i.test===t?n.makeWhileTest(Fnn(t)):(Rnn(i.body===t),n.makeWhileBody());break;case"DoWhileStatement":i.body===t?n.makeDoWhileBody():(Rnn(i.test===t),n.makeDoWhileTest(Fnn(t)));break;case"ForStatement":i.test===t?n.makeForTest(Fnn(t)):i.update===t?n.makeForUpdate():i.body===t&&n.makeForBody();break;case"ForInStatement":case"ForOfStatement":i.left===t?n.makeForInOfLeft():i.right===t?n.makeForInOfRight():(Rnn(i.body===t),n.makeForInOfBody());break;case"AssignmentPattern":i.right===t&&(n.pushForkContext(),n.forkBypassPath(),n.forkPath());break;default:break}}function wPl(e,t){let r=e.codePath,n=r&&Jfe.getState(r),i=t.parent;function s(a){r&&(z7e(e,t),gse.dumpState(t,n,!1)),r=e.codePath=new Jfe({id:e.idGenerator.next(),origin:a,upper:r,onLooped:e.onLooped}),n=Jfe.getState(r),gse.dump(`onCodePathStart ${r.id}`),e.emit("onCodePathStart",[r,t])}switch(D3s(t)&&s("class-field-initializer"),t.type){case"Program":s("program");break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":s("function");break;case"StaticBlock":s("class-static-block");break;case"ChainExpression":n.pushChainContext();break;case"CallExpression":t.optional===!0&&n.makeOptionalNode();break;case"MemberExpression":t.optional===!0&&n.makeOptionalNode();break;case"LogicalExpression":dKt(t.operator)&&n.pushChoiceContext(t.operator,S3s(t));break;case"AssignmentExpression":mKt(t.operator)&&n.pushChoiceContext(t.operator.slice(0,-1),S3s(t));break;case"ConditionalExpression":case"IfStatement":n.pushChoiceContext("test",!1);break;case"SwitchStatement":n.pushSwitchContext(t.cases.some(IPl),I3s(t));break;case"TryStatement":n.pushTryContext(!!t.finalizer);break;case"SwitchCase":i.discriminant!==t&&i.cases[0]!==t&&n.forkPath();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":n.pushLoopContext(t.type,I3s(t));break;case"LabeledStatement":T3s.test(t.body.type)||n.pushBreakContext(!1,t.label.name);break;default:break}z7e(e,t),gse.dumpState(t,n,!1)}function BPl(e,t){let r=e.codePath,n=Jfe.getState(r),i=!1;switch(t.type){case"ChainExpression":n.popChainContext();break;case"IfStatement":case"ConditionalExpression":n.popChoiceContext();break;case"LogicalExpression":dKt(t.operator)&&n.popChoiceContext();break;case"AssignmentExpression":mKt(t.operator)&&n.popChoiceContext();break;case"SwitchStatement":n.popSwitchContext();break;case"SwitchCase":t.consequent.length===0&&n.makeSwitchCaseBody(!0,!t.test),n.forkContext.reachable&&(i=!0);break;case"TryStatement":n.popTryContext();break;case"BreakStatement":z7e(e,t),n.makeBreak(t.label&&t.label.name),i=!0;break;case"ContinueStatement":z7e(e,t),n.makeContinue(t.label&&t.label.name),i=!0;break;case"ReturnStatement":z7e(e,t),n.makeReturn(),i=!0;break;case"ThrowStatement":z7e(e,t),n.makeThrow(),i=!0;break;case"Identifier":SPl(t)&&(n.makeFirstThrowablePathInTryBlock(),i=!0);break;case"CallExpression":case"ImportExpression":case"MemberExpression":case"NewExpression":case"YieldExpression":n.makeFirstThrowablePathInTryBlock();break;case"WhileStatement":case"DoWhileStatement":case"ForStatement":case"ForInStatement":case"ForOfStatement":n.popLoopContext();break;case"AssignmentPattern":n.popForkContext();break;case"LabeledStatement":T3s.test(t.body.type)||n.popBreakContext();break;default:break}i||z7e(e,t),gse.dumpState(t,n,!0)}function kPl(e,t){function r(){let n=e.codePath;Jfe.getState(n).makeFinal(),TPl(e,t),gse.dump(`onCodePathEnd ${n.id}`),e.emit("onCodePathEnd",[n,t]),gse.dumpDot(n),n=e.codePath=e.codePath.upper,n&&gse.dumpState(t,Jfe.getState(n),!0)}switch(t.type){case"Program":case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"StaticBlock":{r();break}case"CallExpression":t.optional===!0&&t.arguments.length===0&&Jfe.getState(e.codePath).makeOptionalRight();break;default:break}D3s(t)&&r()}var Lnn=class{constructor(t){this.original=t,this.emit=t.emit,this.codePath=null,this.idGenerator=new bPl("s"),this.currentNode=null,this.onLooped=this.onLooped.bind(this)}enterNode(t){this.currentNode=t,t.parent&&DPl(this,t),wPl(this,t),this.original.enterNode(t),this.currentNode=null}leaveNode(t){this.currentNode=t,BPl(this,t),this.original.leaveNode(t),kPl(this,t),this.currentNode=null}onLooped(t,r){t.reachable&&r.reachable&&(gse.dump(`onCodePathSegmentLoop ${t.id} -> ${r.id}`),this.emit("onCodePathSegmentLoop",[t,r,this.currentNode]))}};w3s.exports=Lnn});var M3s=j((JxA,L3s)=>{var k3s,P3s,N3s,O3s,R3s,F3s,PPl={}.toString;k3s=gKt(function(e,t){return e.apply(null,t)});P3s=function(e){return gKt(e)};N3s=gKt(function(e,t,r){return e(r,t)});O3s=function(e){return(function(t){return function(){return e(t(t)).apply(null,arguments)}})(function(t){return function(){return e(t(t)).apply(null,arguments)}})};R3s=gKt(function(e,t,r,n){return e(t(r),t(n))});F3s=function(e){var t;return t={},function(){var r,n,i,s,a,u;for(n=[],i=0,s=arguments.length;i1?function(){var s=i?i.concat():[];return r=t?r||this:this,s.push.apply(s,arguments){var Q3s,j3s,U3s,q3s,Y3s,G3s,V3s,$3s,K3s,J3s,H3s,z3s,W3s,X3s,Z3s,e9s,t9s,Qnn,r9s,n9s,i9s,jnn,s9s,a9s,o9s,u9s,Mnn,l9s,c9s,f9s,p9s,d9s,m9s,g9s,A9s,h9s,y9s,_9s,E9s,x9s,v9s,C9s,b9s,I9s,S9s,T9s,D9s,fpt,w9s,B9s,k9s,P9s,N9s,O9s,Unn,qnn,R9s,Ynn,Gnn,Vnn,F9s,L9s,M9s,Q9s,j9s,U9s,$nn,q9s,Y9s,G9s,NPl={}.toString;Q3s=J_(function(e,t){var r,n,i;for(r=0,n=t.length;r=0;--n)i=r[n],t=e(i,t);return t});s9s=J_(function(e,t){return jnn(e,t[t.length-1],t.slice(0,-1))});a9s=J_(function(e,t){var r,n,i;for(r=[],n=t;(i=e(n))!=null;)r.push(i[0]),n=i[1];return r});o9s=function(e){return[].concat.apply([],e)};u9s=J_(function(e,t){var r;return[].concat.apply([],(function(){var n,i,s,a=[];for(n=0,s=(i=t).length;nr?1:te(n)?1:e(r)t&&(t=s);return t};S9s=function(e){var t,r,n,i,s;for(t=e[0],r=0,i=(n=e.slice(1)).length;re(r)&&(r=a);return r});D9s=J_(function(e,t){var r,n,i,s,a;for(r=t[0],n=0,s=(i=t.slice(1)).length;n1?function(){var s=i?i.concat():[];return r=t?r||this:this,s.push.apply(s,arguments)>>0;++r{var K9s,J9s,H9s,z9s,W9s,X9s,Z9s,e8s,t8s,r8s,n8s,i8s,s8s,a8s;K9s=function(e){var t,r,n=[];for(t in e)r=e[t],n.push(r);return n};J9s=function(e){var t,r=[];for(t in e)r.push(t);return r};H9s=function(e){var t,r,n,i={};for(t=0,r=e.length;t1?function(){var s=i?i.concat():[];return r=t?r||this:this,s.push.apply(s,arguments){var l8s,c8s,f8s,p8s,d8s,m8s,g8s,A8s,h8s,y8s,_8s,E8s,x8s;l8s=Knn(function(e,t){return t.split(e)});c8s=Knn(function(e,t){return t.join(e)});f8s=function(e){return e.length?e.split(` `):[]};p8s=function(e){return e.join(` `)};d8s=function(e){return e.length?e.split(/[ ]+/):[]};m8s=function(e){return e.join(" ")};g8s=function(e){return e.split("")};A8s=function(e){return e.join("")};h8s=function(e){return e.split("").reverse().join("")};y8s=Knn(function(e,t){var r,n;for(r="",n=0;n1?n:n.toLowerCase())}).replace(/^([A-Z]+)/,function(t,r){return r.length>1?r+"-":r.toLowerCase()})};v8s.exports={split:l8s,join:c8s,lines:f8s,unlines:p8s,words:d8s,unwords:m8s,chars:g8s,unchars:A8s,reverse:h8s,repeat:y8s,capitalize:_8s,camelize:E8s,dasherize:x8s};function Knn(e,t){var r,n=function(i){return e.length>1?function(){var s=i?i.concat():[];return r=t?r||this:this,s.push.apply(s,arguments){var b8s,I8s,S8s,T8s,D8s,w8s,B8s,k8s,P8s,N8s,Jnn,O8s,R8s,F8s,L8s,M8s,Q8s,j8s,U8s,q8s,Y8s,G8s,V8s,$8s,K8s,J8s,H8s,z8s,W8s,X8s,Hnn,Z8s;b8s=Hfe(function(e,t){return e>t?e:t});I8s=Hfe(function(e,t){return e0?1:0};w8s=Hfe(function(e,t){return~~(e/t)});B8s=Hfe(function(e,t){return e%t});k8s=Hfe(function(e,t){return Math.floor(e/t)});P8s=Hfe(function(e,t){var r;return(e%(r=t)+r)%r});N8s=(function(e){return 1/e});Jnn=Math.PI;O8s=Jnn*2;R8s=Math.exp;F8s=Math.sqrt;L8s=Math.log;M8s=Hfe(function(e,t){return Math.pow(e,t)});Q8s=Math.sin;j8s=Math.tan;U8s=Math.cos;q8s=Math.asin;Y8s=Math.acos;G8s=Math.atan;V8s=Hfe(function(e,t){return Math.atan2(e,t)});$8s=function(e){return~~e};K8s=Math.round;J8s=Math.ceil;H8s=Math.floor;z8s=function(e){return e!==e};W8s=function(e){return e%2===0};X8s=function(e){return e%2!==0};Hnn=Hfe(function(e,t){var r;for(e=Math.abs(e),t=Math.abs(t);t!==0;)r=e%t,e=t,t=r;return e});Z8s=Hfe(function(e,t){return Math.abs(Math.floor(e/Hnn(e,t)*t))});e4s.exports={max:b8s,min:I8s,negate:S8s,abs:T8s,signum:D8s,quot:w8s,rem:B8s,div:k8s,mod:P8s,recip:N8s,pi:Jnn,tau:O8s,exp:R8s,sqrt:F8s,ln:L8s,pow:M8s,sin:Q8s,tan:j8s,cos:U8s,acos:Y8s,asin:q8s,atan:G8s,atan2:V8s,truncate:$8s,round:K8s,ceiling:J8s,floor:H8s,isItNaN:z8s,even:W8s,odd:X8s,gcd:Hnn,lcm:Z8s};function Hfe(e,t){var r,n=function(i){return e.length>1?function(){var s=i?i.concat():[];return r=t?r||this:this,s.push.apply(s,arguments){var X7e,Vd,XSe,b9,cv,r4s,n4s,i4s,Yl,FPl={}.toString;X7e=M3s();Vd=$9s();XSe=u8s();b9=C8s();cv=t4s();r4s=function(e){return e};n4s=s4s(function(e,t){return FPl.call(t).slice(8,-1)===e});i4s=s4s(function(e,t){var r,n=[];for(r=0;r1?function(){var s=i?i.concat():[];return r=t?r||this:this,s.push.apply(s,arguments){(function(){var e,t,r;e=znn().reject;function n(h,_){if(h[0]===_)return h.shift();throw new Error("Expected '"+_+"', but got '"+h[0]+"' instead in "+JSON.stringify(h)+".")}function i(h,_){if(h[0]===_)return h.shift()}function s(h,_,E){var b,D,k,M;for(b=_[0],D=_[1],E&&n(h,b),k=[],M=","+(E?D:"");h.length&&E&&h[0]!==D;)k.push(p(h,M)),i(h,",");return E&&n(h,D),k}function a(h,_){return s(h,["[","]"],_)}function u(h,_){return s(h,["(",")"],_)}function l(h,_){var E,b,D;for(_&&n(h,"{"),E={},b=","+(_?"}":"");h.length&&(!_||h[0]!=="}");)D=f(h,":"),n(h,":"),E[D]=p(h,b),i(h,",");return _&&n(h,"}"),E}function f(h,_){var E;for(_==null&&(_=""),E="";h.length&&_.indexOf(h[0])===-1;)E+=h.shift();return E}function p(h,_){switch(h[0]){case"[":return a(h,!0);case"(":return u(h,!0);case"{":return l(h,!0);default:return f(h,_)}}function g(h,_,E){var b,D,k,M,R,q,G,K;return b=_[0],D=b.type,k=b.structure,M=h.concat(),!E.explicit&&_.length===1&&(!D&&k||D==="Array"||D==="Object")?(R=k==="array"||D==="Array"?a(h,h[0]==="["):k==="tuple"?u(h,h[0]==="("):l(h,h[0]==="{"),q=h.length?p(k==="array"||D==="Array"?(G=M,G.unshift("["),G.push("]"),G):(K=M,K.unshift("("),K.push(")"),K)):R):q=p(h),q}t=/\[\]\(\)}{:,/.source,r=RegExp(`("(?:\\\\"|[^"])*")|('(?:\\\\'|[^'])*')|(/(?:\\\\/|[^/])*/[a-zA-Z]*)|(#.*#)|([`+t+"])|([^\\s"+t+"](?:\\s*[^\\s"+t+"]+)*)|\\s*"),u4s.exports=function(h,_,E){var b,D;if(E==null&&(E={}),!E.explicit&&h.length===1&&h[0].type==="String")return _;if(b=e(A,_.split(r)),D=g(b,h,E),!D)throw new Error("Error parsing '"+_+"'.");return D};function A(h){return!h}}).call(o4s)});var p4s=j((c4s,f4s)=>{(function(){var e,t;e=/[\$\w]+/;function r(_){var E;if(E=_[0],E==null)throw new Error("Unexpected end of input.");return E}function n(_){var E;if(E=r(_),!e.test(E))throw new Error("Expected text, got '"+E+"' instead.");return _.shift()}function i(_,E){var b;if(b=r(_),b!==E)throw new Error("Expected '"+E+"', got '"+b+"' instead.");return _.shift()}function s(_,E){var b;return b=_[0],b===E?_.shift():null}function a(_){var E;if(i(_,"["),r(_)==="]")throw new Error("Must specify type of Array - eg. [Type], got [] instead.");return E=A(_),i(_,"]"),{structure:"array",of:E}}function u(_){var E;if(E=[],i(_,"("),r(_)===")")throw new Error("Tuple must be of at least length 1 - eg. (Type), got () instead.");for(;E.push(A(_)),s(_,","),r(_)!==")";);return i(_,")"),{structure:"tuple",of:E}}function l(_){var E,b,D,k,M;for(E={},i(_,"{"),b=!1;;){if(s(_,"...")){b=!0;break}if(D=f(_),k=D[0],M=D[1],E[k]=M,s(_,","),r(_)==="}")break}return i(_,"}"),{structure:"fields",of:E,subset:b}}function f(_){var E,b;return E=n(_),i(_,":"),b=A(_),[E,b]}function p(_){switch(_[0]){case"[":return a(_);case"(":return u(_);case"{":return l(_)}}function g(_){var E,b,D,k;if(E=r(_),b=E==="*",b||e.test(E))return D=b?i(_,"*"):n(_),k=p(_),k?(k.type=D,k):{type:D};if(k=p(_),!k)throw new Error("Unexpected character: "+E);return k}function A(_){var E,b,D,k,M,R;if(r(_)==="::")throw new Error("No comment before comment separator '::' found.");for(E=_[1],E!=null&&E==="::"&&(_.shift(),_.shift()),b=[],D={},r(_)==="Maybe"&&(_.shift(),b=[{type:"Undefined"},{type:"Null"}],D={Undefined:!0,Null:!0});k=g(_),M=k.type,R=k.structure,D[M]||b.push(k),R==null&&(D[M]=!0),!!s(_,"|"););return b}t=RegExp("\\.\\.\\.|::|->|"+e.source+"|\\S","g"),f4s.exports=function(_){var E,b;if(!_.length)throw new Error("No type specified.");if(E=_.match(t)||[],h("->",E))throw new Error("Function types are not supported. To validate that something is a function, you may use 'Function'.");try{return A(E)}catch(D){throw b=D,new Error(b.message+" - Remaining tokens: "+JSON.stringify(E)+" - Initial input: '"+_+"'")}};function h(_,E){for(var b=-1,D=E.length>>>0;++b{(function(){var e,t,r,n,i,s,a={}.toString;e=znn(),t=e.any,r=e.all,n=e.isItNaN,i={Number:{typeOf:"Number",validate:function(h){return!n(h)}},NaN:{typeOf:"Number",validate:n},Int:{typeOf:"Number",validate:function(h){return!n(h)&&h%1===0}},Float:{typeOf:"Number",validate:function(h){return!n(h)}},Date:{typeOf:"Date",validate:function(h){return!n(h.getTime())}}},s={array:"Array",tuple:"Array"};function u(h,_,E){return r(function(b){return A(b,_.of,E)},h)}function l(h,_,E){var b,D,k,M,R;for(b=0,D=0,M=(k=_.of).length;D{(function(){var e,t,r,n;e="0.4.0",t=p4s(),r=g4s(),n=function(i,s,a){return r(t(i),s,a)},h4s.exports={VERSION:e,typeCheck:n,parsedTypeCheck:r,parseType:t}}).call(A4s)});var E4s=j((y4s,_4s)=>{(function(){var e,t,r={}.toString;e=Wnn().parsedTypeCheck,t={"*":function(l,f){switch(r.call(l).slice(8,-1)){case"Array":return a(l,{type:"Array"},f);case"Object":return a(l,{type:"Object"},f);default:return{type:"Just",value:u(l,[{type:"Undefined"},{type:"Null"},{type:"NaN"},{type:"Boolean"},{type:"Number"},{type:"Date"},{type:"RegExp"},{type:"Array"},{type:"Object"},{type:"String"}],(f.explicit=!0,f))}}},Undefined:function(l){return l==="undefined"||l===void 0?{type:"Just",value:void 0}:{type:"Nothing"}},Null:function(l){return l==="null"?{type:"Just",value:null}:{type:"Nothing"}},NaN:function(l){return l==="NaN"?{type:"Just",value:NaN}:{type:"Nothing"}},Boolean:function(l){return l==="true"?{type:"Just",value:!0}:l==="false"?{type:"Just",value:!1}:{type:"Nothing"}},Number:function(l){return{type:"Just",value:+l}},Int:function(l){return{type:"Just",value:+l}},Float:function(l){return{type:"Just",value:+l}},Date:function(l,f){var p;return(p=/^\#([\s\S]*)\#$/.exec(l))?{type:"Just",value:new Date(+p[1]||p[1])}:f.explicit?{type:"Nothing"}:{type:"Just",value:new Date(+l||l)}},RegExp:function(l,f){var p;return(p=/^\/([\s\S]*)\/([gimy]*)$/.exec(l))?{type:"Just",value:new RegExp(p[1],p[2])}:f.explicit?{type:"Nothing"}:{type:"Just",value:new RegExp(l)}},Array:function(l,f){return n(l,{of:[{type:"*"}]},f)},Object:function(l,f){return s(l,{of:{}},f)},String:function(l){var f,p;return r.call(l).slice(8,-1)!=="String"?{type:"Nothing"}:(f=function(g,A){return g.replace(/\\([^u]|u[0-9a-fA-F]{4})/g,function(h,_){switch(_[0]){case A:return A;case"\\":return"\\";case"b":return"\b";case"f":return"\f";case"n":return` `;case"r":return"\r";case"t":return" ";case"u":return JSON.parse('"'+h+'"');default:return _}})},(p=l.match(/^'([\s\S]*)'$/))?{type:"Just",value:f(p[1],"'")}:(p=l.match(/^"([\s\S]*)"$/))?{type:"Just",value:f(p[1],'"')}:{type:"Just",value:l})}};function n(l,f,p){var g,A;return r.call(l).slice(8,-1)!=="Array"?{type:"Nothing"}:(g=f.of,{type:"Just",value:(function(){var h,_,E,b=[];for(h=0,E=(_=l).length;h{(function(){var e,t,r,n,i,s;e=l4s(),t=E4s(),r=Wnn().parseType,n="0.4.1",i=function(a,u,l){return l==null&&(l={}),l.explicit==null&&(l.explicit=!1),l.customTypes==null&&(l.customTypes={}),t(e(a,u,l),a,l)},s=function(a,u,l){return i(r(a),u,l)},v4s.exports={VERSION:n,parse:s,parsedTypeParse:i}}).call(x4s)});var sin=j(HGe=>{"use strict";var LPl=Xnn(),MPl=/^([a-z]+(?:-[a-z]+)*)(?:\s|$)/u,QPl=new Set([0,1,2,"off","warn","error"]);function jPl(e){let t=Array.isArray(e)?e[0]:e;return QPl.has(t)}function UPl(e){return Object.values(e).every(jPl)}var Znn=class{label="";value="";justification="";constructor(t,r,n){this.label=t,this.value=r,this.justification=n}},ein=class{parseStringConfig(t){let r={};return t.trim().replace(/(?{if(!i)return;let[s,a=null]=i.split(":");r[s]=a}),r}parseJSONLikeConfig(t){try{let n=LPl.parse("Object",t)||{};if(UPl(n))return{ok:!0,config:n}}catch{}let r=t.replace(/(?{let i=n.trim().replace(/^(?['"]?)(?.*)\k$/su,"$");i&&(r[i]=!0)}),r}#e(t){let r=/\s-{2,}\s/u.exec(t);if(!r)return{directivePart:t.trim(),justificationPart:""};let n=t.slice(0,r.index).trim(),i=t.slice(r.index+r[0].length).trim();return{directivePart:n,justificationPart:i}}parseDirective(t){let{directivePart:r,justificationPart:n}=this.#e(t),i=MPl.exec(r);if(!i)return;let s=i[1],a=r.slice(i.index+s.length);return new Znn(s,a.trim(),n)}};function qPl(e){return"loc"in e}function YPl(e){return"position"in e}function GPl(e){return"range"in e}function VPl(e){return"position"in e}function $Pl(e,t){let r=0,n=e.length-1;for(;r(this.#t.at(-1)??0)&&this.#n(this.text.slice(this.#t.at(-1))););}#s(t,r){let n=t.line-r+1,i=this.#t.length-1,s=n-i;if(!(s<=0))for(;s>0&&this.#n(this.text.slice(this.#t.at(-1)));)s-=1}getLoc(t){if(qPl(t))return t.loc;if(YPl(t))return t.position;throw new Error("Custom getLoc() method must be implemented in the subclass.")}getLocFromIndex(t){if(typeof t!="number")throw new TypeError("Expected `index` to be a number.");if(t<0||t>this.text.length)throw new RangeError(`Index out of range (requested index ${t}, but source text has length ${this.text.length}).`);let{start:{line:r,column:n},end:{line:i,column:s}}=this.getLoc(this.ast);if(t===0)return{line:r,column:n};if(t===this.text.length)return{line:i,column:s};this.#a(t);let a=(t>=(this.#t.at(-1)??0)?this.#t.length:$Pl(this.#t,t))-1+r;return{line:a,column:t-this.#t[a-r]+n}}getIndexFromLoc(t){if(t===null||typeof t!="object"||typeof t.line!="number"||typeof t.column!="number")throw new TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");let{start:{line:r,column:n},end:{line:i,column:s}}=this.getLoc(this.ast);if(t.linel||!a&&f>=l)throw new RangeError(`Column number out of range (column ${t.column} requested). Valid range for line ${t.line}: ${n}-${l-u+n+(a?0:-1)}`);return f}getRange(t){if(GPl(t))return t.range;if(VPl(t))return[t.position.start.offset,t.position.end.offset];throw new Error("Custom getRange() method must be implemented in the subclass.")}getParent(t){throw new Error("Not implemented.")}getAncestors(t){if(!t)throw new TypeError("Missing required argument: node.");let r=[];for(let n=this.getParent(t);n;n=this.getParent(n))r.push(n);return r.reverse()}getText(t,r,n){if(t){let i=this.getRange(t);return this.text.slice(Math.max(i[0]-(r||0),0),i[1]+(n||0))}return this.text}get lines(){return this.#i(),this.#e}traverse(){throw new Error("Not implemented.")}};HGe.CallMethodStep=rin;HGe.ConfigCommentParser=ein;HGe.Directive=nin;HGe.TextSourceCodeBase=iin;HGe.VisitNodeStep=tin});var zGe=j(C4s=>{(function e(t){"use strict";var r,n,i,s,a,u;function l(R){var q={},G,K;for(G in R)R.hasOwnProperty(G)&&(K=R[G],typeof K=="object"&&K!==null?q[G]=l(K):q[G]=K);return q}function f(R,q){var G,K,Z,oe;for(K=R.length,Z=0;K;)G=K>>>1,oe=Z+G,q(R[oe])?K=G:(Z=oe+1,K-=G+1);return Z}r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},i={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],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"]},s={},a={},u={},n={Break:s,Skip:a,Remove:u};function p(R,q){this.parent=R,this.key=q}p.prototype.replace=function(q){this.parent[this.key]=q},p.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function g(R,q,G,K){this.node=R,this.path=q,this.wrap=G,this.ref=K}function A(){}A.prototype.path=function(){var q,G,K,Z,oe,ue;function me(Te,le){if(Array.isArray(le))for(K=0,Z=le.length;K=0;--G)if(R[G].node===q)return!0;return!1}A.prototype.traverse=function(q,G){var K,Z,oe,ue,me,Te,le,ae,Ae,De,_e,Le;for(this.__initialize(q,G),Le={},K=this.__worklist,Z=this.__leavelist,K.push(new g(q,null,null,null)),Z.push(new g(null,null,null,null));K.length;){if(oe=K.pop(),oe===Le){if(oe=Z.pop(),Te=this.__execute(G.leave,oe),this.__state===s||Te===s)return;continue}if(oe.node){if(Te=this.__execute(G.enter,oe),this.__state===s||Te===s)return;if(K.push(Le),Z.push(oe),this.__state===a||Te===a)continue;if(ue=oe.node,me=ue.type||oe.wrap,De=this.__keys[me],!De)if(this.__fallback)De=this.__fallback(ue);else throw new Error("Unknown node type "+me+".");for(ae=De.length;(ae-=1)>=0;)if(le=De[ae],_e=ue[le],!!_e){if(Array.isArray(_e)){for(Ae=_e.length;(Ae-=1)>=0;)if(_e[Ae]&&!E(Z,_e[Ae])){if(_(me,De[ae]))oe=new g(_e[Ae],[le,Ae],"Property",null);else if(h(_e[Ae]))oe=new g(_e[Ae],[le,Ae],null,null);else continue;K.push(oe)}}else if(h(_e)){if(E(Z,_e))continue;K.push(new g(_e,le,null,null))}}}}},A.prototype.replace=function(q,G){var K,Z,oe,ue,me,Te,le,ae,Ae,De,_e,Le,qe;function at(st){var Ur,Sr,xr,dt;if(st.ref.remove()){for(Sr=st.ref.key,dt=st.ref.parent,Ur=K.length;Ur--;)if(xr=K[Ur],xr.ref&&xr.ref.parent===dt){if(xr.ref.key=0;)if(qe=Ae[le],De=oe[qe],!!De)if(Array.isArray(De)){for(ae=De.length;(ae-=1)>=0;)if(De[ae]){if(_(ue,Ae[le]))Te=new g(De[ae],[qe,ae],"Property",new p(De,ae));else if(h(De[ae]))Te=new g(De[ae],[qe,ae],null,new p(De,ae));else continue;K.push(Te)}}else h(De)&&K.push(new g(De,qe,null,new p(oe,qe)))}}return Le.root};function b(R,q){var G=new A;return G.traverse(R,q)}function D(R,q){var G=new A;return G.replace(R,q)}function k(R,q){var G;return G=f(q,function(Z){return Z.range[0]>R.range[0]}),R.extendedRange=[R.range[0],R.range[1]],G!==q.length&&(R.extendedRange[1]=q[G].range[0]),G-=1,G>=0&&(R.extendedRange[0]=q[G].range[1]),R}function M(R,q,G){var K=[],Z,oe,ue,me;if(!R.range)throw new Error("attachComments needs range information");if(!G.length){if(q.length){for(ue=0,oe=q.length;ueTe.range[0]));)le.extendedRange[1]===Te.range[0]?(Te.leadingComments||(Te.leadingComments=[]),Te.leadingComments.push(le),K.splice(me,1)):me+=1;if(me===K.length)return n.Break;if(K[me].extendedRange[0]>Te.range[1])return n.Skip}}),me=0,b(R,{leave:function(Te){for(var le;meTe.range[1])return n.Skip}}),R}return t.Syntax=r,t.traverse=b,t.replace=D,t.attachComments=M,t.VisitorKeys=i,t.VisitorOption=n,t.Controller=A,t.cloneEnvironment=function(){return e({})},t})(C4s)});var dpt=j(AKt=>{(function(){"use strict";var e=zGe();function t(i){return i==null?!1:typeof i=="object"&&typeof i.type=="string"}function r(i,s){return(i===e.Syntax.ObjectExpression||i===e.Syntax.ObjectPattern)&&s==="properties"}function n(i,s){s=s||{},this.__visitor=i||this,this.__childVisitorKeys=s.childVisitorKeys?Object.assign({},e.VisitorKeys,s.childVisitorKeys):e.VisitorKeys,s.fallback==="iteration"?this.__fallback=Object.keys:typeof s.fallback=="function"&&(this.__fallback=s.fallback)}n.prototype.visitChildren=function(i){var s,a,u,l,f,p,g;if(i!=null){if(s=i.type||e.Syntax.Property,a=this.__childVisitorKeys[s],!a)if(this.__fallback)a=this.__fallback(i);else throw new Error("Unknown node type "+s+".");for(u=0,l=a.length;u{"use strict";Object.defineProperty(Ase,"__esModule",{value:!0});var KPl=zGe(),JPl=dpt();function b4s(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var _in=b4s(KPl),Ein=b4s(JPl);function XGe(e,t="Assertion failed."){if(!e)throw new Error(t)}var I4s=1,S4s=2,HPl=I4s|S4s,$Q=class e{constructor(t,r,n,i,s,a,u){this.identifier=t,this.from=r,this.tainted=!1,this.resolved=null,this.flag=n,this.isWrite()&&(this.writeExpr=i,this.partial=a,this.init=u),this.__maybeImplicitGlobal=s}isStatic(){return!this.tainted&&this.resolved&&this.resolved.scope.isStatic()}isWrite(){return!!(this.flag&e.WRITE)}isRead(){return!!(this.flag&e.READ)}isReadOnly(){return this.flag===e.READ}isWriteOnly(){return this.flag===e.WRITE}isReadWrite(){return this.flag===e.RW}};$Q.READ=I4s;$Q.WRITE=S4s;$Q.RW=HPl;var n4=class{constructor(t,r){this.name=t,this.identifiers=[],this.references=[],this.defs=[],this.tainted=!1,this.stack=!0,this.scope=r}};n4.CatchClause="CatchClause";n4.Parameter="Parameter";n4.FunctionName="FunctionName";n4.ClassName="ClassName";n4.Variable="Variable";n4.ImportBinding="ImportBinding";n4.ImplicitGlobalVariable="ImplicitGlobalVariable";var zX=class{constructor(t,r,n,i,s,a){this.type=t,this.name=r,this.node=n,this.parent=i,this.index=s,this.kind=a}},hKt=class extends zX{constructor(t,r,n,i){super(n4.Parameter,t,r,null,n,null),this.rest=i}},{Syntax:vye}=_in.default;function zPl(e,t,r){let n;if(e.upper&&e.upper.isStrict||r||e.type==="class"||e.type==="module")return!0;if(e.type==="block"||e.type==="switch")return!1;if(e.type==="function"){if(t.type===vye.ArrowFunctionExpression&&t.body.type!==vye.BlockStatement||(t.type===vye.Program?n=t:n=t.body,!n))return!1}else if(e.type==="global")n=t;else return!1;for(let i=0,s=n.body.length;i0&&i.every(XPl)}__staticCloseRef(t){this.__resolve(t)||this.__delegateToUpperScope(t)}__dynamicCloseRef(t){let r=this;do r.through.push(t),r=r.upper;while(r)}__globalCloseRef(t){this.__shouldStaticallyCloseForGlobal(t)?this.__staticCloseRef(t):this.__dynamicCloseRef(t)}__close(t){let r;this.__shouldStaticallyClose(t)?r=this.__staticCloseRef:this.type!=="global"?r=this.__dynamicCloseRef:r=this.__globalCloseRef;for(let n=0,i=this.__left.length;ni.name.range[0]>=n))}},din=class extends KQ{constructor(t,r,n){super(t,"for",r,n,!1)}},min=class extends KQ{constructor(t,r,n){super(t,"class",r,n,!1)}},gin=class extends KQ{constructor(t,r,n){super(t,"class-field-initializer",r,n,!0)}},Ain=class extends KQ{constructor(t,r,n){super(t,"class-static-block",r,n,!0)}},_Kt=class{constructor(t){this.scopes=[],this.globalScope=null,this.__nodeToScope=new WeakMap,this.__currentScope=null,this.__options=t,this.__declaredVariables=new WeakMap}__isOptimistic(){return this.__options.optimistic}__ignoreEval(){return this.__options.ignoreEval}__isJSXEnabled(){return this.__options.jsx===!0}isGlobalReturn(){return this.__options.nodejsScope||this.__options.sourceType==="commonjs"}isModule(){return this.__options.sourceType==="module"}isImpliedStrict(){return this.__options.impliedStrict}isStrictModeSupported(){return this.__options.ecmaVersion>=5}__get(t){return this.__nodeToScope.get(t)}getDeclaredVariables(t){return this.__declaredVariables.get(t)||[]}acquire(t,r){function n(s){return!(s.type==="function"&&s.functionExpressionScope)}let i=this.__get(t);if(!i||i.length===0)return null;if(i.length===1)return i[0];if(r)for(let s=i.length-1;s>=0;--s){let a=i[s];if(n(a))return a}else for(let s=0,a=i.length;s=6}},{Syntax:WGe}=_in.default;function ZPl(e){return e.at(-1)||null}var ZGe=class extends Ein.default.Visitor{static isPattern(t){let r=t.type;return r===WGe.Identifier||r===WGe.ObjectPattern||r===WGe.ArrayPattern||r===WGe.SpreadElement||r===WGe.RestElement||r===WGe.AssignmentPattern}constructor(t,r,n){super(null,t),this.rootPattern=r,this.callback=n,this.assignments=[],this.rightHandNodes=[],this.restElements=[]}Identifier(t){let r=ZPl(this.restElements);this.callback(t,{topLevel:t===this.rootPattern,rest:r!=null&&r.argument===t,assignments:this.assignments})}Property(t){t.computed&&this.rightHandNodes.push(t.key),this.visit(t.value)}ArrayPattern(t){for(let r=0,n=t.elements.length;r{this.rightHandNodes.push(r)}),this.visit(t.callee)}},{Syntax:xye}=_in.default;function eNl(e,t,r,n){let i=new ZGe(e,t,n);i.visit(t),r!=null&&i.rightHandNodes.forEach(r.visit,r)}var hin=class extends Ein.default.Visitor{constructor(t,r){super(null,r.options),this.declaration=t,this.referencer=r}visitImport(t,r){this.referencer.visitPattern(t,n=>{this.referencer.currentScope().__define(n,new zX(n4.ImportBinding,n,r,this.declaration,null,null))})}ImportNamespaceSpecifier(t){let r=t.local||t.id;r&&this.visitImport(r,t)}ImportDefaultSpecifier(t){let r=t.local||t.id;this.visitImport(r,t)}ImportSpecifier(t){let r=t.local||t.id;t.name?this.visitImport(t.name,t):this.visitImport(r,t)}},EKt=class extends Ein.default.Visitor{constructor(t,r){super(null,t),this.options=t,this.scopeManager=r,this.parent=null,this.isInnerMethodDefinition=!1}currentScope(){return this.scopeManager.__currentScope}close(t){for(;this.currentScope()&&t===this.currentScope().block;)this.scopeManager.__currentScope=this.currentScope().__close(this.scopeManager)}pushInnerMethodDefinition(t){let r=this.isInnerMethodDefinition;return this.isInnerMethodDefinition=t,r}popInnerMethodDefinition(t){this.isInnerMethodDefinition=t}referencingDefaultValue(t,r,n,i){let s=this.currentScope();r.forEach(a=>{s.__referencing(t,$Q.WRITE,a.right,n,t!==a.left,i)})}visitPattern(t,r,n){let i=r,s=n;typeof r=="function"&&(s=r,i={processRightHandNodes:!1}),eNl(this.options,t,i.processRightHandNodes?this:null,s)}visitFunction(t){let r,n;t.type===xye.FunctionDeclaration&&this.currentScope().__define(t.id,new zX(n4.FunctionName,t.id,t,null,null,null)),t.type===xye.FunctionExpression&&t.id&&this.scopeManager.__nestFunctionExpressionNameScope(t),this.scopeManager.__nestFunctionScope(t,this.isInnerMethodDefinition);let i=this;function s(a,u){i.currentScope().__define(a,new hKt(a,t,r,u.rest)),i.referencingDefaultValue(a,u.assignments,null,!0)}for(r=0,n=t.params.length;r{this.currentScope().__define(a,new hKt(a,t,t.params.length,!0))}),t.body&&(t.body.type===xye.BlockStatement?this.visitChildren(t.body):this.visit(t.body)),this.close(t)}visitClass(t){t.type===xye.ClassDeclaration&&this.currentScope().__define(t.id,new zX(n4.ClassName,t.id,t,null,null,null)),this.scopeManager.__nestClassScope(t),t.id&&this.currentScope().__define(t.id,new zX(n4.ClassName,t.id,t)),this.visit(t.superClass),this.visit(t.body),this.close(t)}visitProperty(t){let r;t.computed&&this.visit(t.key);let n=t.type===xye.MethodDefinition;n&&(r=this.pushInnerMethodDefinition(!0)),this.visit(t.value),n&&this.popInnerMethodDefinition(r)}visitForIn(t){t.left.type===xye.VariableDeclaration&&t.left.kind!=="var"&&this.scopeManager.__nestForScope(t),t.left.type===xye.VariableDeclaration?(this.visit(t.left),this.visitPattern(t.left.declarations[0].id,r=>{this.currentScope().__referencing(r,$Q.WRITE,t.right,null,!0,!0)})):this.visitPattern(t.left,{processRightHandNodes:!0},(r,n)=>{let i=null;this.currentScope().isStrict||(i={pattern:r,node:t}),this.referencingDefaultValue(r,n.assignments,i,!1),this.currentScope().__referencing(r,$Q.WRITE,t.right,i,!0,!1)}),this.visit(t.right),this.visit(t.body),this.close(t)}visitVariableDeclaration(t,r,n,i){let s=n.declarations[i],a=s.init;this.visitPattern(s.id,{processRightHandNodes:!0},(u,l)=>{t.__define(u,new zX(r,u,s,n,i,n.kind)),this.referencingDefaultValue(u,l.assignments,null,!0),a&&this.currentScope().__referencing(u,$Q.WRITE,a,null,!l.topLevel,!0)})}AssignmentExpression(t){ZGe.isPattern(t.left)?t.operator==="="?this.visitPattern(t.left,{processRightHandNodes:!0},(r,n)=>{let i=null;this.currentScope().isStrict||(i={pattern:r,node:t}),this.referencingDefaultValue(r,n.assignments,i,!1),this.currentScope().__referencing(r,$Q.WRITE,t.right,i,!n.topLevel,!1)}):this.currentScope().__referencing(t.left,$Q.RW,t.right):this.visit(t.left),this.visit(t.right)}CatchClause(t){this.scopeManager.__nestCatchScope(t),this.visitPattern(t.param,{processRightHandNodes:!0},(r,n)=>{this.currentScope().__define(r,new zX(n4.CatchClause,r,t,null,null,null)),this.referencingDefaultValue(r,n.assignments,null,!0)}),this.visit(t.body),this.close(t)}Program(t){this.scopeManager.__nestGlobalScope(t),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.__nestFunctionScope(t,!1)),this.scopeManager.__isES6()&&this.scopeManager.isModule()&&this.scopeManager.__nestModuleScope(t),this.scopeManager.isStrictModeSupported()&&this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(t),this.close(t)}Identifier(t){this.currentScope().__referencing(t)}PrivateIdentifier(){}UpdateExpression(t){ZGe.isPattern(t.argument)?this.currentScope().__referencing(t.argument,$Q.RW,null):this.visitChildren(t)}MemberExpression(t){this.visit(t.object),t.computed&&this.visit(t.property)}Property(t){this.visitProperty(t)}PropertyDefinition(t){let{computed:r,key:n,value:i}=t;r&&this.visit(n),i&&(this.scopeManager.__nestClassFieldInitializerScope(i),this.visit(i),this.close(i))}StaticBlock(t){this.scopeManager.__nestClassStaticBlockScope(t),this.visitChildren(t),this.close(t)}MethodDefinition(t){this.visitProperty(t)}BreakStatement(){}ContinueStatement(){}LabeledStatement(t){this.visit(t.body)}ForStatement(t){t.init&&t.init.type===xye.VariableDeclaration&&t.init.kind!=="var"&&this.scopeManager.__nestForScope(t),this.visitChildren(t),this.close(t)}ClassExpression(t){this.visitClass(t)}ClassDeclaration(t){this.visitClass(t)}CallExpression(t){!this.scopeManager.__ignoreEval()&&t.callee.type===xye.Identifier&&t.callee.name==="eval"&&this.currentScope().variableScope.__detectEval(),this.visitChildren(t)}BlockStatement(t){this.scopeManager.__isES6()&&this.scopeManager.__nestBlockScope(t),this.visitChildren(t),this.close(t)}ThisExpression(){this.currentScope().variableScope.__detectThis()}WithStatement(t){this.visit(t.object),this.scopeManager.__nestWithScope(t),this.visit(t.body),this.close(t)}VariableDeclaration(t){let r=t.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let n=0,i=t.declarations.length;n{"use strict";var{isCommentToken:iNl}=NS(),sNl=f3s(),xin=bft(),vin=zft(),mpt=utn(),{directivesPattern:aNl}=Crn(),oNl=B3s(),{ConfigCommentParser:uNl,VisitNodeStep:T4s,CallMethodStep:lNl,Directive:cNl}=sin(),fNl=xKt(),eVe=new uNl;function pNl(e){if(!e)throw new TypeError(`Unexpected empty AST. (${e})`);if(!e.tokens)throw new TypeError("AST is missing the tokens array.");if(!e.comments)throw new TypeError("AST is missing the comments array.");if(!e.loc)throw new TypeError("AST is missing location information.");if(!e.range)throw new TypeError("AST is missing range information")}function dNl(e){switch(e){case 3:return mpt.es3;case 5:return mpt.es5;default:return e<2015?mpt[`es${e+2009}`]:mpt[`es${e}`]}}function mNl(e){return e.type==="ExportDefaultDeclaration"||e.type==="ExportNamedDeclaration"||e.type==="ExportAllDeclaration"||e.type==="ExportSpecifier"}function gNl(e,t){let r=[],n=0,i=0;for(;n=t.length||n=t.range[0]||t.range[0]<=e.range[0]&&t.range[1]>=e.range[0]}function D4s(e,t,r,n){if(ANl(t,r))return!1;let[i,s]=t.range[1]<=r.range[0]?[t,r]:[r,t],a=e.getLastToken(i)||i,u=e.getFirstToken(s)||s,l=a;for(;l!==u;){let f=e.getTokenAfter(l,{includeComments:!0});if(l.range[1]!==f.range[0]||n&&f!==u&&f.type==="JSXText"&&/\s/u.test(f.value))return!0;l=f}return!1}function hNl(e,t){let r=0,n=e.length;for(;r{let s=i.identifier.name,a=e.set.get(s);return a?(i.resolved=a,a.references.push(i),!1):!0});let{implicit:n}=e;typeof n=="object"&&n!==null&&(n.variables=n.variables.filter(i=>{let s=i.name;return e.set.has(s)?(n.set.delete(s),!1):!0}),n.left&&(n.left=n.left.filter(i=>!e.set.has(i.identifier.name))))}function _Nl(e,t){Object.keys(t).forEach(r=>{let n=e.set.get(r);n&&(n.eslintUsed=!0,n.eslintExported=!0)})}var zfe=Symbol("caches"),Cin=class extends sNl{#e;constructor(t,r){let n,i,s,a,u,l;typeof t=="string"?(n=t,s=r,i=!1):typeof t=="object"&&t!==null&&(n=t.text,s=t.ast,i=t.hasBOM,a=t.parserServices,u=t.scopeManager,l=t.visitorKeys),pNl(s),super(s.tokens,s.comments),this[zfe]=new Map([["scopes",new WeakMap],["vars",new Map],["configNodes",void 0],["isGlobalReference",new WeakMap]]),this.isESTree=s.type==="Program";let f=n.charCodeAt(0)===65279;this.hasBOM=f||!!i,this.text=f?n.slice(1):n,this.ast=s,this.parserServices=a||{},this.scopeManager=u||null,this.visitorKeys=l||vin.DEFAULT_VISITOR_KEYS;let p=this.text.match(xin.shebangPattern);p&&s.comments.length&&s.comments[0].value===p[1]&&(s.comments[0].type="Shebang"),this.tokensAndComments=gNl(s.tokens,s.comments),this.lines=[],this.lineStartIndices=[0];let A=xin.createGlobalLinebreakMatcher(),h;for(;h=A.exec(this.text);)this.lines.push(this.text.slice(this.lineStartIndices.at(-1),h.index)),this.lineStartIndices.push(h.index+h[0].length);this.lines.push(this.text.slice(this.lineStartIndices.at(-1))),Object.freeze(this),Object.freeze(this.lines)}static splitLines(t){return t.split(xin.createGlobalLinebreakMatcher())}getText(t,r,n){return t?this.text.slice(Math.max(t.range[0]-(r||0),0),t.range[1]+(n||0)):this.text}getLines(){return this.lines}getAllComments(){return this.ast.comments}getJSDocComment(t){let r=i=>{let s=this.getTokenBefore(i,{includeComments:!0});return s&&iNl(s)&&s.type==="Block"&&s.value.charAt(0)==="*"&&i.loc.start.line-s.loc.end.line<=1?s:null},n=t.parent;switch(t.type){case"ClassDeclaration":case"FunctionDeclaration":return r(mNl(n)?n:t);case"ClassExpression":return r(n.parent);case"ArrowFunctionExpression":case"FunctionExpression":if(n.type!=="CallExpression"&&n.type!=="NewExpression"){for(;!this.getCommentsBefore(n).length&&!/Function/u.test(n.type)&&n.type!=="MethodDefinition"&&n.type!=="Property"&&(n=n.parent,!!n););if(n&&n.type!=="FunctionDeclaration"&&n.type!=="Program")return r(n)}return r(t);default:return null}}getNodeByRangeIndex(t){let r=null;return vin.traverse(this.ast,{visitorKeys:this.visitorKeys,enter(n){n.range[0]<=t&&tthis.text.length)throw new RangeError(`Index out of range (requested index ${t}, but source text has length ${this.text.length}).`);if(t===this.text.length)return{line:this.lines.length,column:this.lines.at(-1).length};let r=t>=this.lineStartIndices.at(-1)?this.lineStartIndices.length:hNl(this.lineStartIndices,t);return{line:r,column:t-this.lineStartIndices[r-1]}}getIndexFromLoc(t){if(t===null||typeof t!="object"||typeof t.line!="number"||typeof t.column!="number")throw new TypeError("Expected `loc` to be an object with numeric `line` and `column` properties.");if(t.line<=0)throw new RangeError(`Line number out of range (line ${t.line} requested). Line numbers should be 1-based.`);if(t.line>this.lineStartIndices.length)throw new RangeError(`Line number out of range (line ${t.line} requested, but only ${this.lineStartIndices.length} lines present).`);if(t.column<0)throw new RangeError(`Invalid column number (column ${t.column} requested).`);let r=this.lineStartIndices[t.line-1],n=t.line===this.lineStartIndices.length?this.text.length:this.lineStartIndices[t.line],i=r+t.column;if(t.line===this.lineStartIndices.length&&i>n||t.line=n)throw new RangeError(`Column number out of range (column ${t.column} requested, but the length of line ${t.line} is ${n-r}).`);return i}getScope(t){if(!t)throw new TypeError("Missing required argument: node.");let r=this[zfe].get("scopes"),n=r.get(t);if(n)return n;let i=t.type!=="Program";for(let s=t;s;s=s.parent){let a=this.scopeManager.acquire(s,i);if(a)return a.type==="function-expression-name"?(r.set(t,a.childScopes[0]),a.childScopes[0]):(r.set(t,a),a)}return r.set(t,this.scopeManager.scopes[0]),this.scopeManager.scopes[0]}getDeclaredVariables(t){return this.scopeManager.getDeclaredVariables(t)}getAncestors(t){if(!t)throw new TypeError("Missing required argument: node.");let r=[];for(let n=t.parent;n;n=n.parent)r.push(n);return r.reverse()}isGlobalReference(t){if(!t)throw new TypeError("Missing required argument: node.");let r=this[zfe].get("isGlobalReference");if(r.has(t))return r.get(t);if(t.type!=="Identifier")return r.set(t,!1),!1;let n=this.scopeManager.scopes[0].set.get(t.name);if(!n||n.defs.length>0)return r.set(t,!1),!1;let i=n.references.some(({identifier:s})=>s===t);return r.set(t,i),i}getLoc(t){return t.loc}getRange(t){return t.range}markVariableAsUsed(t,r=this.ast){let n=this.getScope(r),i=n;n.type==="global"&&n.childScopes.length>0&&n.childScopes[0].block===this.ast&&(i=n.childScopes[0]);for(let s=i;s;s=s.upper){let a=s.variables.find(u=>u.name===t);if(a)return a.eslintUsed=!0,!0}return!1}getInlineConfigNodes(){let t=this[zfe].get("configNodes");return t||(t=this.ast.comments.filter(r=>{if(r.type==="Shebang")return!1;let n=eVe.parseDirective(r.value);return!n||!aNl.test(n.label)?!1:r.type!=="Line"||!!/^eslint-disable-(?:next-)?line$/u.test(n.label)}),this[zfe].set("configNodes",t),t)}getDisableDirectives(){let t=this[zfe].get("disableDirectives");if(t)return t;let r=[],n=[];this.getInlineConfigNodes().forEach(s=>{let{label:a,value:u,justification:l}=eVe.parseDirective(s.value),f=/^eslint-disable-(?:next-)?line$/u.test(a);if(!(s.type==="Line"&&!f)){if(a==="eslint-disable-line"&&s.loc.start.line!==s.loc.end.line){let p=`${a} comment should not span multiple lines.`;r.push({ruleId:null,message:p,loc:s.loc});return}switch(a){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{let p=a.slice(7);n.push(new cNl({type:p,node:s,value:u,justification:l}))}}}});let i={problems:r,directives:n};return this[zfe].set("disableDirectives",i),i}applyLanguageOptions(t){let r=Object.assign(Object.create(null),dNl(t.ecmaVersion),t.sourceType==="commonjs"?mpt.commonjs:void 0,t.globals);this[zfe].get("vars").set("configGlobals",r)}applyInlineConfig(){let t=[],r=[],n={},i=Object.create(null);this.getInlineConfigNodes().forEach(a=>{let{label:u,value:l}=eVe.parseDirective(a.value);switch(u){case"exported":Object.assign(n,eVe.parseListConfig(l));break;case"globals":case"global":for(let[f,p]of Object.entries(eVe.parseStringConfig(l))){let g;try{g=w4s(p)}catch(A){t.push({ruleId:null,loc:a.loc,message:A.message});continue}i[f]?(i[f].comments.push(a),i[f].value=g):i[f]={comments:[a],value:g}}break;case"eslint":{let f=eVe.parseJSONLikeConfig(l);f.ok?r.push({config:{rules:f.config},loc:a.loc}):t.push({ruleId:null,loc:a.loc,message:f.error.message});break}}});let s=this[zfe].get("vars");return s.set("inlineGlobals",i),s.set("exportedVariables",n),{configs:r,problems:t}}finalize(){let t=this[zfe].get("vars"),r=t.get("configGlobals"),n=t.get("inlineGlobals"),i=t.get("exportedVariables"),s=this.scopeManager.scopes[0];yNl(s,r,n),i&&_Nl(s,i)}traverse(){if(this.#e)return this.#e;let t=this.#e=[],r={enterNode(n){t.push(new T4s({target:n,phase:1,args:[n]}))},leaveNode(n){t.push(new T4s({target:n,phase:2,args:[n]}))},emit(n,i){t.push(new lNl({target:n,args:i}))}};return this.isESTree&&(r=new oNl(r)),vin.traverse(this.ast,{enter(n,i){n.parent=i,r.enterNode(n)},leave(n){r.leaveNode(n)},visitorKeys:this.visitorKeys}),t}};B4s.exports=Cin});var gpt=j((s2A,P4s)=>{"use strict";var ENl=k4s();P4s.exports={SourceCode:ENl}});var O4s=j((a2A,N4s)=>{"use strict";var xNl=new Set([!0,"true","writable","writeable",!1,"false","readonly","readable",null,"off"]);function vNl(e){return typeof e=="object"&&e!==null}function bin(e){return vNl(e)&&!Array.isArray(e)}function CNl(e){return typeof e>"u"}function bNl(e){if(CNl(e))throw new TypeError('Key "ecmaVersion": Expected an "ecmaVersion" property.');if(typeof e!="number"&&e!=="latest")throw new TypeError('Key "ecmaVersion": Expected a number or "latest".')}function INl(e){if(typeof e!="string"||!/^(?:script|module|commonjs)$/u.test(e))throw new TypeError('Key "sourceType": Expected "script", "module", or "commonjs".')}function SNl(e){if(!bin(e))throw new TypeError('Key "globals": Expected an object.');for(let t of Object.keys(e))if(t!=="__proto__"){if(t!==t.trim())throw new TypeError(`Key "globals": Global "${t}" has leading or trailing whitespace.`);if(!xNl.has(e[t]))throw new TypeError(`Key "globals": Key "${t}": Expected "readonly", "writable", or "off".`)}}function TNl(e){if(!e||typeof e!="object"||typeof e.parse!="function"&&typeof e.parseForESLint!="function")throw new TypeError('Key "parser": Expected object with parse() or parseForESLint() method.')}function DNl(e){if(!bin(e))throw new TypeError("Expected an object.");let{ecmaVersion:t,sourceType:r,globals:n,parser:i,parserOptions:s,...a}=e;if("ecmaVersion"in e&&bNl(t),"sourceType"in e&&INl(r),"globals"in e&&SNl(n),"parser"in e&&TNl(i),"parserOptions"in e&&!bin(s))throw new TypeError('Key "parserOptions": Expected an object.');let u=Object.keys(a);if(u.length>0)throw new TypeError(`Unexpected key "${u[0]}" found.`)}N4s.exports={validateLanguageOptions:DNl}});var CKt=j((o2A,R4s)=>{"use strict";var{SourceCode:wNl}=gpt(),BNl=B1(),kNl=bft(),Iin=AGe(),PNl=xKt(),vKt=gGe(),{validateLanguageOptions:NNl}=O4s(),{LATEST_ECMA_VERSION:ONl}=r$t(),Apt=BNl("eslint:languages:js"),RNl=5,FNl=Symbol.for("eslint.RuleTester.parser");function LNl(e,t,r){let i=t.parserOptions.ecmaFeatures||{},s=t.ecmaVersion||RNl;return PNl.analyze(e,{ignoreEval:!0,nodejsScope:i.globalReturn,impliedStrict:i.impliedStrict,ecmaVersion:typeof s=="number"?s:6,sourceType:t.sourceType||"script",childVisitorKeys:r||vKt.KEYS,fallback:vKt.getKeys})}function MNl(e){return e===Iin||e[FNl]===Iin}function QNl(e){switch(e){case 3:return 3;case 5:case void 0:return 5;default:if(typeof e=="number")return e>=2015?e:e+2009}return ONl}R4s.exports={fileType:"text",lineStart:1,columnStart:0,nodeTypeKey:"type",visitorKeys:vKt.KEYS,defaultLanguageOptions:{sourceType:"module",ecmaVersion:"latest",parser:Iin,parserOptions:{}},validateLanguageOptions:NNl,normalizeLanguageOptions(e){if(e.ecmaVersion=QNl(e.ecmaVersion),MNl(e.parser)){let t=e.parserOptions;e.sourceType&&(t.sourceType=e.sourceType,t.sourceType==="module"&&t.ecmaFeatures&&t.ecmaFeatures.globalReturn&&(t.ecmaFeatures.globalReturn=!1))}return e},matchesSelectorClass(e,t,r){switch(e.toLowerCase()){case"statement":if(t.type.slice(-9)==="Statement")return!0;case"declaration":return t.type.slice(-11)==="Declaration";case"pattern":if(t.type.slice(-7)==="Pattern")return!0;case"expression":return t.type.slice(-10)==="Expression"||t.type.slice(-7)==="Literal"||t.type==="Identifier"&&(r.length===0||r[0].type!=="MetaProperty")||t.type==="MetaProperty";case"function":return t.type==="FunctionDeclaration"||t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression";default:throw new Error(`Unknown class name: ${e}`)}},parse(e,{languageOptions:t}){let{body:r,path:n}=e,i=r.replace(kNl.shebangPattern,(f,p)=>`//${p}`),{ecmaVersion:s,sourceType:a,parser:u}=t,l=Object.assign({ecmaVersion:s,sourceType:a},t.parserOptions,{loc:!0,range:!0,raw:!0,tokens:!0,comment:!0,eslintVisitorKeys:!0,eslintScopeManager:!0,filePath:n});try{Apt("Parsing:",n);let f=typeof u.parseForESLint=="function"?u.parseForESLint(i,l):{ast:u.parse(i,l)};Apt("Parsing successful:",n);let{ast:p,services:g={},visitorKeys:A=vKt.KEYS,scopeManager:h}=f;return{ok:!0,ast:p,parserServices:g,visitorKeys:A,scopeManager:h}}catch(f){let p=f.message.replace(/^line \d+:/iu,"").trim();return Apt(`%s %s`,p,f.stack),{ok:!1,errors:[{message:p,line:f.lineNumber,column:f.column}]}}},createSourceCode(e,t,{languageOptions:r}){let{body:n,path:i,bom:s}=e,{ast:a,parserServices:u,visitorKeys:l}=t;Apt("Scope analysis:",i);let f=t.scopeManager||LNl(a,r,l);return Apt("Scope analysis successful:",i),new wNl({text:n,ast:a,hasBOM:s,parserServices:u,scopeManager:f,visitorKeys:l})}}});var bKt=j(Sin=>{"use strict";var F4s=GGe(),L4s=[{files:["**/*.js","**/*.mjs"]},{files:["**/*.cjs"],languageOptions:{sourceType:"commonjs",ecmaVersion:"latest"}}];Sin.defaultConfig=Object.freeze([{plugins:{"@":{languages:{js:CKt()},rules:new Proxy({},{get(e,t){return F4s.get(t)},has(e,t){return F4s.has(t)}})}},language:"@/js",linterOptions:{reportUnusedDisableDirectives:1}},{ignores:["**/node_modules/",".git/"]},...L4s]);Sin.defaultRuleTesterConfig=Object.freeze([{files:["**"]},...L4s])});var Tin=j((l2A,M4s)=>{"use strict";function jNl(){return process.hrtime()}function UNl(e){let t=process.hrtime(e);return t[0]*1e3+t[1]/1e6}M4s.exports={startTime:jNl,endTime:UNl}});var win=j((c2A,q4s)=>{"use strict";var{startTime:qNl,endTime:YNl}=Tin();function GNl(e,t,r){return e+new Array(t-e.length+1).join(r||" ")}function Q4s(e,t,r){return new Array(t-e.length+1).join(r||" ")+e}var Din=!!process.env.TIMING,VNl=["Rule","Time (ms)","Relative"],j4s=[GNl,Q4s,Q4s];function U4s(){if(typeof process.env.TIMING!="string")return 10;if(process.env.TIMING.toLowerCase()==="all")return Number.POSITIVE_INFINITY;let t=Number.parseInt(process.env.TIMING,10);return t>10?t:10}function $Nl(e){let t=0,r=Object.keys(e).map(s=>{let a=e[s];return t+=a,[s,a]}).sort((s,a)=>a[1]-s[1]).slice(0,U4s());r.forEach(s=>{s.push(`${(s[1]*100/t).toFixed(1)}%`),s[1]=s[1].toFixed(3)}),r.unshift(VNl);let n=[];r.forEach(s=>{let a=s.length;for(let u=0;un[u])&&(n[u]=l)}});let i=r.map(s=>s.map((a,u)=>j4s[u](a,n[u])).join(" | "));i.splice(1,0,n.map((s,a)=>{let u=a!==0&&a!==n.length-1?2:1;return j4s[a](":",s+u,"-")}).join("|")),console.log(i.join(` `))}q4s.exports=(function(){let e=Object.create(null),t=!0;function r(a,u,l){return function(...f){let p=qNl(),g=u(...f),A=YNl(p);return Din&&(typeof e[a]>"u"&&(e[a]=0),e[a]+=A),l?{result:g,tdiff:A}:g}}function n(){return{...e}}function i(a){for(let[u,l]of Object.entries(a))typeof e[u]>"u"&&(e[u]=0),e[u]+=l}function s(){t=!1}return Din&&process.on("exit",()=>{t&&Object.keys(e).length>0&&$Nl(e)}),{time:r,enabled:Din,getListSize:U4s,getData:n,mergeData:i,disableDisplay:s}})()});var IKt=j((f2A,Y4s)=>{"use strict";var KNl=ejt();function JNl(e){return KNl(e).result().toString(36)}Y4s.exports=JNl});var Z7e=j((p2A,G4s)=>{G4s.exports=function(e,t){for(var r=[],n=0;n{"use strict";J4s.exports=$4s;function $4s(e,t,r){e instanceof RegExp&&(e=V4s(e,r)),t instanceof RegExp&&(t=V4s(t,r));var n=K4s(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function V4s(e,t){var r=t.match(e);return r?r[0]:null}$4s.range=K4s;function K4s(e,t,r){var n,i,s,a,u,l=r.indexOf(e),f=r.indexOf(t,l+1),p=l;if(l>=0&&f>0){if(e===t)return[l,f];for(n=[],s=r.length;p>=0&&!u;)p==l?(n.push(p),l=r.indexOf(e,p+1)):n.length==1?u=[n.pop(),f]:(i=n.pop(),i=0?l:f;n.length&&(u=[s,a])}return u}});var rBs=j((m2A,tBs)=>{var zNl=Z7e(),H4s=ZSe();tBs.exports=ZNl;var z4s="\0SLASH"+Math.random()+"\0",W4s="\0OPEN"+Math.random()+"\0",kin="\0CLOSE"+Math.random()+"\0",X4s="\0COMMA"+Math.random()+"\0",Z4s="\0PERIOD"+Math.random()+"\0";function Bin(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function WNl(e){return e.split("\\\\").join(z4s).split("\\{").join(W4s).split("\\}").join(kin).split("\\,").join(X4s).split("\\.").join(Z4s)}function XNl(e){return e.split(z4s).join("\\").split(W4s).join("{").split(kin).join("}").split(X4s).join(",").split(Z4s).join(".")}function eBs(e){if(!e)return[""];var t=[],r=H4s("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var u=eBs(s);return s.length&&(a[a.length-1]+=u.shift(),a.push.apply(a,u)),t.push.apply(t,a),t}function ZNl(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),tVe(WNl(e),!0).map(XNl)):[]}function eOl(e){return"{"+e+"}"}function tOl(e){return/^-?0\d/.test(e)}function rOl(e,t){return e<=t}function nOl(e,t){return e>=t}function tVe(e,t){var r=[],n=H4s("{","}",e);if(!n||/\$$/.test(n.pre))return[e];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,u=n.body.indexOf(",")>=0;if(!a&&!u)return n.post.match(/,(?!,).*\}/)?(e=n.pre+"{"+n.body+kin+n.post,tVe(e)):[e];var l;if(a)l=n.body.split(/\.\./);else if(l=eBs(n.body),l.length===1&&(l=tVe(l[0],!1).map(eOl),l.length===1)){var p=n.post.length?tVe(n.post,!1):[""];return p.map(function(me){return n.pre+l[0]+me})}var f=n.pre,p=n.post.length?tVe(n.post,!1):[""],g;if(a){var A=Bin(l[0]),h=Bin(l[1]),_=Math.max(l[0].length,l[1].length),E=l.length==3?Math.abs(Bin(l[2])):1,b=rOl,D=h0){var G=new Array(q+1).join("0");M<0?R="-"+G+R.slice(1):R=G+R}}g.push(R)}}else g=zNl(l,function(ue){return tVe(ue,!1)});for(var K=0;K{oBs.exports=DK;DK.Minimatch=RO;var hpt=(function(){try{return require("path")}catch{}})()||{sep:"/"};DK.sep=hpt.sep;var Oin=DK.GLOBSTAR=RO.GLOBSTAR={},iOl=rBs(),nBs={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Pin="[^/]",Nin=Pin+"*?",sOl="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",aOl="(?:(?!(?:\\/|^)\\.).)*?",iBs=oOl("().*{}+?[]^$\\!");function oOl(e){return e.split("").reduce(function(t,r){return t[r]=!0,t},{})}var sBs=/\/+/;DK.filter=uOl;function uOl(e,t){return t=t||{},function(r,n,i){return DK(r,e,t)}}function eTe(e,t){t=t||{};var r={};return Object.keys(e).forEach(function(n){r[n]=e[n]}),Object.keys(t).forEach(function(n){r[n]=t[n]}),r}DK.defaults=function(e){if(!e||typeof e!="object"||!Object.keys(e).length)return DK;var t=DK,r=function(i,s,a){return t(i,s,eTe(e,a))};return r.Minimatch=function(i,s){return new t.Minimatch(i,eTe(e,s))},r.Minimatch.defaults=function(i){return t.defaults(eTe(e,i)).Minimatch},r.filter=function(i,s){return t.filter(i,eTe(e,s))},r.defaults=function(i){return t.defaults(eTe(e,i))},r.makeRe=function(i,s){return t.makeRe(i,eTe(e,s))},r.braceExpand=function(i,s){return t.braceExpand(i,eTe(e,s))},r.match=function(n,i,s){return t.match(n,i,eTe(e,s))},r};RO.defaults=function(e){return DK.defaults(e).Minimatch};function DK(e,t,r){return TKt(t),r||(r={}),!r.nocomment&&t.charAt(0)==="#"?!1:new RO(t,r).match(e)}function RO(e,t){if(!(this instanceof RO))return new RO(e,t);TKt(e),t||(t={}),e=e.trim(),!t.allowWindowsEscape&&hpt.sep!=="/"&&(e=e.split(hpt.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}RO.prototype.debug=function(){};RO.prototype.make=lOl;function lOl(){var e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(sBs)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}RO.prototype.parseNegate=cOl;function cOl(){var e=this.pattern,t=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=e.length;i"u"?this.pattern:e,TKt(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:iOl(e)}var fOl=1024*64,TKt=function(e){if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>fOl)throw new TypeError("pattern is too long")};RO.prototype.parse=pOl;var SKt={};function pOl(e,t){TKt(e);var r=this.options;if(e==="**")if(r.noglobstar)e="*";else return Oin;if(e==="")return"";var n="",i=!!r.nocase,s=!1,a=[],u=[],l,f=!1,p=-1,g=-1,A=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",h=this;function _(){if(l){switch(l){case"*":n+=Nin,i=!0;break;case"?":n+=Pin,i=!0;break;default:n+="\\"+l;break}h.debug("clearStateChar %j %j",l,n),l=!1}}for(var E=0,b=e.length,D;E-1;Z--){var oe=u[Z],ue=n.slice(0,oe.reStart),me=n.slice(oe.reStart,oe.reEnd-8),Te=n.slice(oe.reEnd-8,oe.reEnd),le=n.slice(oe.reEnd);Te+=le;var ae=ue.split("(").length-1,Ae=le;for(E=0;E"u"&&(r=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&r)return!0;var n=this.options;hpt.sep!=="/"&&(t=t.split(hpt.sep).join("/")),t=t.split(sBs),this.debug(this.pattern,"split",t);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=t.length-1;a>=0&&(s=t[a],!s);a--);for(a=0;a>> no match, partial?`,e,p,t,g),p===a))}var h;if(typeof l=="string"?(h=f===l,this.debug("string match",l,f,h)):(h=f.match(l),this.debug("pattern match",l,f,h)),!h)return!1}if(i===a&&s===u)return!0;if(i===a)return r;if(s===u)return i===a-1&&e[i]==="";throw new Error("wtf?")};function mOl(e){return e.replace(/\\(.)/g,"$1")}function gOl(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var Fin=j((A2A,uBs)=>{"use strict";var AOl=iYe(),hOl=require("path").posix.dirname,yOl=require("os").platform()==="win32",DKt="/",_Ol=/\\/g,EOl=/\\([!*?|[\](){}])/g;uBs.exports=function(t,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&yOl&&t.indexOf(DKt)<0&&(t=t.replace(_Ol,DKt)),xOl(t)&&(t+=DKt),t+="a";do t=hOl(t);while(vOl(t));return t.replace(EOl,"$1")};function xOl(e){var t=e.slice(-1),r;switch(t){case"}":r="{";break;case"]":r="[";break;default:return!1}var n=e.indexOf(r);return n<0?!1:e.slice(n+1,-1).includes(DKt)}function vOl(e){return/\([^()]+$/.test(e)||e[0]==="{"||e[0]==="["||/[^\\][{[]/.test(e)?!0:AOl(e)}});var cBs=j((wKt,lBs)=>{(function(e,t){typeof wKt=="object"&&typeof lBs<"u"?t(wKt):typeof define=="function"&&define.amd?define(["exports"],t):t(e.URI=e.URI||{})})(wKt,(function(e){"use strict";function t(){for(var Ui=arguments.length,ei=Array(Ui),ui=0;ui1){ei[0]=ei[0].slice(0,-1);for(var _o=ei.length-1,ua=1;ua<_o;++ua)ei[ua]=ei[ua].slice(1,-1);return ei[_o]=ei[_o].slice(1),ei.join("")}else return ei[0]}function r(Ui){return"(?:"+Ui+")"}function n(Ui){return Ui===void 0?"undefined":Ui===null?"null":Object.prototype.toString.call(Ui).split(" ").pop().split("]").shift().toLowerCase()}function i(Ui){return Ui.toUpperCase()}function s(Ui){return Ui!=null?Ui instanceof Array?Ui:typeof Ui.length!="number"||Ui.split||Ui.setInterval||Ui.call?[Ui]:Array.prototype.slice.call(Ui):[]}function a(Ui,ei){var ui=Ui;if(ei)for(var _o in ei)ui[_o]=ei[_o];return ui}function u(Ui){var ei="[A-Za-z]",ui="[\\x0D]",_o="[0-9]",ua="[\\x22]",rc=t(_o,"[A-Fa-f]"),Eo="[\\x0A]",cp="[\\x20]",Sd=r(r("%[EFef]"+rc+"%"+rc+rc+"%"+rc+rc)+"|"+r("%[89A-Fa-f]"+rc+"%"+rc+rc)+"|"+r("%"+rc+rc)),_m="[\\:\\/\\?\\#\\[\\]\\@]",fd="[\\!\\$\\&\\'\\(\\)\\*\\+\\,\\;\\=]",_f=t(_m,fd),tp=Ui?"[\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF]":"[]",Dg=Ui?"[\\uE000-\\uF8FF]":"[]",pg=t(ei,_o,"[\\-\\.\\_\\~]",tp),oo=r(ei+t(ei,_o,"[\\+\\-\\.]")+"*"),Qu=r(r(Sd+"|"+t(pg,fd,"[\\:]"))+"*"),go=r(r("25[0-5]")+"|"+r("2[0-4]"+_o)+"|"+r("1"+_o+_o)+"|"+r("[1-9]"+_o)+"|"+_o),ta=r(r("25[0-5]")+"|"+r("2[0-4]"+_o)+"|"+r("1"+_o+_o)+"|"+r("0?[1-9]"+_o)+"|0?0?"+_o),fu=r(ta+"\\."+ta+"\\."+ta+"\\."+ta),bl=r(rc+"{1,4}"),Zo=r(r(bl+"\\:"+bl)+"|"+fu),Tl=r(r(bl+"\\:")+"{6}"+Zo),Ws=r("\\:\\:"+r(bl+"\\:")+"{5}"+Zo),Hf=r(r(bl)+"?\\:\\:"+r(bl+"\\:")+"{4}"+Zo),su=r(r(r(bl+"\\:")+"{0,1}"+bl)+"?\\:\\:"+r(bl+"\\:")+"{3}"+Zo),Rm=r(r(r(bl+"\\:")+"{0,2}"+bl)+"?\\:\\:"+r(bl+"\\:")+"{2}"+Zo),_a=r(r(r(bl+"\\:")+"{0,3}"+bl)+"?\\:\\:"+bl+"\\:"+Zo),Rl=r(r(r(bl+"\\:")+"{0,4}"+bl)+"?\\:\\:"+Zo),Pc=r(r(r(bl+"\\:")+"{0,5}"+bl)+"?\\:\\:"+bl),iu=r(r(r(bl+"\\:")+"{0,6}"+bl)+"?\\:\\:"),Xc=r([Tl,Ws,Hf,su,Rm,_a,Rl,Pc,iu].join("|")),Kf=r(r(pg+"|"+Sd)+"+"),uo=r(Xc+"\\%25"+Kf),Rp=r(Xc+r("\\%25|\\%(?!"+rc+"{2})")+Kf),Fm=r("[vV]"+rc+"+\\."+t(pg,fd,"[\\:]")+"+"),Dh=r("\\["+r(Rp+"|"+Xc+"|"+Fm)+"\\]"),bc=r(r(Sd+"|"+t(pg,fd))+"*"),wg=r(Dh+"|"+fu+"(?!"+bc+")|"+bc),uh=r(_o+"*"),L2=r(r(Qu+"@")+"?"+wg+r("\\:"+uh)+"?"),ii=r(Sd+"|"+t(pg,fd,"[\\:\\@]")),Ty=r(ii+"*"),Ix=r(ii+"+"),M2=r(r(Sd+"|"+t(pg,fd,"[\\@]"))+"+"),Zc=r(r("\\/"+Ty)+"*"),Wy=r("\\/"+r(Ix+Zc)+"?"),Ml=r(M2+Zc),fm=r(Ix+Zc),W0="(?!"+ii+")",vp=r(Zc+"|"+Wy+"|"+Ml+"|"+fm+"|"+W0),sc=r(r(ii+"|"+t("[\\/\\?]",Dg))+"*"),f1=r(r(ii+"|[\\/\\?]")+"*"),Q2=r(r("\\/\\/"+L2+Zc)+"|"+Wy+"|"+fm+"|"+W0),zE=r(oo+"\\:"+Q2+r("\\?"+sc)+"?"+r("\\#"+f1)+"?"),xe=r(r("\\/\\/"+L2+Zc)+"|"+Wy+"|"+Ml+"|"+W0),St=r(xe+r("\\?"+sc)+"?"+r("\\#"+f1)+"?"),Gr=r(zE+"|"+St),An=r(oo+"\\:"+Q2+r("\\?"+sc)+"?"),Oi="^("+oo+")\\:"+r(r("\\/\\/("+r("("+Qu+")@")+"?("+wg+")"+r("\\:("+uh+")")+"?)")+"?("+Zc+"|"+Wy+"|"+fm+"|"+W0+")")+r("\\?("+sc+")")+"?"+r("\\#("+f1+")")+"?$",xa="^(){0}"+r(r("\\/\\/("+r("("+Qu+")@")+"?("+wg+")"+r("\\:("+uh+")")+"?)")+"?("+Zc+"|"+Wy+"|"+Ml+"|"+W0+")")+r("\\?("+sc+")")+"?"+r("\\#("+f1+")")+"?$",$a="^("+oo+")\\:"+r(r("\\/\\/("+r("("+Qu+")@")+"?("+wg+")"+r("\\:("+uh+")")+"?)")+"?("+Zc+"|"+Wy+"|"+fm+"|"+W0+")")+r("\\?("+sc+")")+"?$",yl="^"+r("\\#("+f1+")")+"?$",Ho="^"+r("("+Qu+")@")+"?("+wg+")"+r("\\:("+uh+")")+"?$";return{NOT_SCHEME:new RegExp(t("[^]",ei,_o,"[\\+\\-\\.]"),"g"),NOT_USERINFO:new RegExp(t("[^\\%\\:]",pg,fd),"g"),NOT_HOST:new RegExp(t("[^\\%\\[\\]\\:]",pg,fd),"g"),NOT_PATH:new RegExp(t("[^\\%\\/\\:\\@]",pg,fd),"g"),NOT_PATH_NOSCHEME:new RegExp(t("[^\\%\\/\\@]",pg,fd),"g"),NOT_QUERY:new RegExp(t("[^\\%]",pg,fd,"[\\:\\@\\/\\?]",Dg),"g"),NOT_FRAGMENT:new RegExp(t("[^\\%]",pg,fd,"[\\:\\@\\/\\?]"),"g"),ESCAPE:new RegExp(t("[^]",pg,fd),"g"),UNRESERVED:new RegExp(pg,"g"),OTHER_CHARS:new RegExp(t("[^\\%]",pg,_f),"g"),PCT_ENCODED:new RegExp(Sd,"g"),IPV4ADDRESS:new RegExp("^("+fu+")$"),IPV6ADDRESS:new RegExp("^\\[?("+Xc+")"+r(r("\\%25|\\%(?!"+rc+"{2})")+"("+Kf+")")+"?\\]?$")}}var l=u(!1),f=u(!0),p=(function(){function Ui(ei,ui){var _o=[],ua=!0,rc=!1,Eo=void 0;try{for(var cp=ei[Symbol.iterator](),Sd;!(ua=(Sd=cp.next()).done)&&(_o.push(Sd.value),!(ui&&_o.length===ui));ua=!0);}catch(_m){rc=!0,Eo=_m}finally{try{!ua&&cp.return&&cp.return()}finally{if(rc)throw Eo}}return _o}return function(ei,ui){if(Array.isArray(ei))return ei;if(Symbol.iterator in Object(ei))return Ui(ei,ui);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),g=function(Ui){if(Array.isArray(Ui)){for(var ei=0,ui=Array(Ui.length);ei= 0x80 (not a basic code point)","invalid-input":"Invalid input"},oe=h-_,ue=Math.floor,me=String.fromCharCode;function Te(Ui){throw new RangeError(Z[Ui])}function le(Ui,ei){for(var ui=[],_o=Ui.length;_o--;)ui[_o]=ei(Ui[_o]);return ui}function ae(Ui,ei){var ui=Ui.split("@"),_o="";ui.length>1&&(_o=ui[0]+"@",Ui=ui[1]),Ui=Ui.replace(K,".");var ua=Ui.split("."),rc=le(ua,ei).join(".");return _o+rc}function Ae(Ui){for(var ei=[],ui=0,_o=Ui.length;ui<_o;){var ua=Ui.charCodeAt(ui++);if(ua>=55296&&ua<=56319&&ui<_o){var rc=Ui.charCodeAt(ui++);(rc&64512)==56320?ei.push(((ua&1023)<<10)+(rc&1023)+65536):(ei.push(ua),ui--)}else ei.push(ua)}return ei}var De=function(ei){return String.fromCodePoint.apply(String,g(ei))},_e=function(ei){return ei-48<10?ei-22:ei-65<26?ei-65:ei-97<26?ei-97:h},Le=function(ei,ui){return ei+22+75*(ei<26)-((ui!=0)<<5)},qe=function(ei,ui,_o){var ua=0;for(ei=_o?ue(ei/D):ei>>1,ei+=ue(ei/ui);ei>oe*E>>1;ua+=h)ei=ue(ei/oe);return ue(ua+(oe+1)*ei/(ei+b))},at=function(ei){var ui=[],_o=ei.length,ua=0,rc=M,Eo=k,cp=ei.lastIndexOf(R);cp<0&&(cp=0);for(var Sd=0;Sd=128&&Te("not-basic"),ui.push(ei.charCodeAt(Sd));for(var _m=cp>0?cp+1:0;_m<_o;){for(var fd=ua,_f=1,tp=h;;tp+=h){_m>=_o&&Te("invalid-input");var Dg=_e(ei.charCodeAt(_m++));(Dg>=h||Dg>ue((A-ua)/_f))&&Te("overflow"),ua+=Dg*_f;var pg=tp<=Eo?_:tp>=Eo+E?E:tp-Eo;if(Dgue(A/oo)&&Te("overflow"),_f*=oo}var Qu=ui.length+1;Eo=qe(ua-fd,Qu,fd==0),ue(ua/Qu)>A-rc&&Te("overflow"),rc+=ue(ua/Qu),ua%=Qu,ui.splice(ua++,0,rc)}return String.fromCodePoint.apply(String,ui)},st=function(ei){var ui=[];ei=Ae(ei);var _o=ei.length,ua=M,rc=0,Eo=k,cp=!0,Sd=!1,_m=void 0;try{for(var fd=ei[Symbol.iterator](),_f;!(cp=(_f=fd.next()).done);cp=!0){var tp=_f.value;tp<128&&ui.push(me(tp))}}catch(Rp){Sd=!0,_m=Rp}finally{try{!cp&&fd.return&&fd.return()}finally{if(Sd)throw _m}}var Dg=ui.length,pg=Dg;for(Dg&&ui.push(R);pg<_o;){var oo=A,Qu=!0,go=!1,ta=void 0;try{for(var fu=ei[Symbol.iterator](),bl;!(Qu=(bl=fu.next()).done);Qu=!0){var Zo=bl.value;Zo>=ua&&Zoue((A-rc)/Tl)&&Te("overflow"),rc+=(oo-ua)*Tl,ua=oo;var Ws=!0,Hf=!1,su=void 0;try{for(var Rm=ei[Symbol.iterator](),_a;!(Ws=(_a=Rm.next()).done);Ws=!0){var Rl=_a.value;if(RlA&&Te("overflow"),Rl==ua){for(var Pc=rc,iu=h;;iu+=h){var Xc=iu<=Eo?_:iu>=Eo+E?E:iu-Eo;if(Pc>6|192).toString(16).toUpperCase()+"%"+(ei&63|128).toString(16).toUpperCase():ui="%"+(ei>>12|224).toString(16).toUpperCase()+"%"+(ei>>6&63|128).toString(16).toUpperCase()+"%"+(ei&63|128).toString(16).toUpperCase(),ui}function lr(Ui){for(var ei="",ui=0,_o=Ui.length;ui<_o;){var ua=parseInt(Ui.substr(ui+1,2),16);if(ua<128)ei+=String.fromCharCode(ua),ui+=3;else if(ua>=194&&ua<224){if(_o-ui>=6){var rc=parseInt(Ui.substr(ui+4,2),16);ei+=String.fromCharCode((ua&31)<<6|rc&63)}else ei+=Ui.substr(ui,6);ui+=6}else if(ua>=224){if(_o-ui>=9){var Eo=parseInt(Ui.substr(ui+4,2),16),cp=parseInt(Ui.substr(ui+7,2),16);ei+=String.fromCharCode((ua&15)<<12|(Eo&63)<<6|cp&63)}else ei+=Ui.substr(ui,9);ui+=9}else ei+=Ui.substr(ui,3),ui+=3}return ei}function $t(Ui,ei){function ui(_o){var ua=lr(_o);return ua.match(ei.UNRESERVED)?ua:_o}return Ui.scheme&&(Ui.scheme=String(Ui.scheme).replace(ei.PCT_ENCODED,ui).toLowerCase().replace(ei.NOT_SCHEME,"")),Ui.userinfo!==void 0&&(Ui.userinfo=String(Ui.userinfo).replace(ei.PCT_ENCODED,ui).replace(ei.NOT_USERINFO,It).replace(ei.PCT_ENCODED,i)),Ui.host!==void 0&&(Ui.host=String(Ui.host).replace(ei.PCT_ENCODED,ui).toLowerCase().replace(ei.NOT_HOST,It).replace(ei.PCT_ENCODED,i)),Ui.path!==void 0&&(Ui.path=String(Ui.path).replace(ei.PCT_ENCODED,ui).replace(Ui.scheme?ei.NOT_PATH:ei.NOT_PATH_NOSCHEME,It).replace(ei.PCT_ENCODED,i)),Ui.query!==void 0&&(Ui.query=String(Ui.query).replace(ei.PCT_ENCODED,ui).replace(ei.NOT_QUERY,It).replace(ei.PCT_ENCODED,i)),Ui.fragment!==void 0&&(Ui.fragment=String(Ui.fragment).replace(ei.PCT_ENCODED,ui).replace(ei.NOT_FRAGMENT,It).replace(ei.PCT_ENCODED,i)),Ui}function Nt(Ui){return Ui.replace(/^0*(.*)/,"$1")||"0"}function sr(Ui,ei){var ui=Ui.match(ei.IPV4ADDRESS)||[],_o=p(ui,2),ua=_o[1];return ua?ua.split(".").map(Nt).join("."):Ui}function Nr(Ui,ei){var ui=Ui.match(ei.IPV6ADDRESS)||[],_o=p(ui,3),ua=_o[1],rc=_o[2];if(ua){for(var Eo=ua.toLowerCase().split("::").reverse(),cp=p(Eo,2),Sd=cp[0],_m=cp[1],fd=_m?_m.split(":").map(Nt):[],_f=Sd.split(":").map(Nt),tp=ei.IPV4ADDRESS.test(_f[_f.length-1]),Dg=tp?7:8,pg=_f.length-Dg,oo=Array(Dg),Qu=0;Qu1){var bl=oo.slice(0,ta.index),Zo=oo.slice(ta.index+ta.length);fu=bl.join(":")+"::"+Zo.join(":")}else fu=oo.join(":");return rc&&(fu+="%"+rc),fu}else return Ui}var Fr=/^(?:([^:\/?#]+):)?(?:\/\/((?:([^\/?#@]*)@)?(\[[^\/?#\]]+\]|[^\/?#:]*)(?:\:(\d*))?))?([^?#]*)(?:\?([^#]*))?(?:#((?:.|\n|\r)*))?/i,Bt="".match(/(){0}/)[1]===void 0;function Xt(Ui){var ei=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ui={},_o=ei.iri!==!1?f:l;ei.reference==="suffix"&&(Ui=(ei.scheme?ei.scheme+":":"")+"//"+Ui);var ua=Ui.match(Fr);if(ua){Bt?(ui.scheme=ua[1],ui.userinfo=ua[3],ui.host=ua[4],ui.port=parseInt(ua[5],10),ui.path=ua[6]||"",ui.query=ua[7],ui.fragment=ua[8],isNaN(ui.port)&&(ui.port=ua[5])):(ui.scheme=ua[1]||void 0,ui.userinfo=Ui.indexOf("@")!==-1?ua[3]:void 0,ui.host=Ui.indexOf("//")!==-1?ua[4]:void 0,ui.port=parseInt(ua[5],10),ui.path=ua[6]||"",ui.query=Ui.indexOf("?")!==-1?ua[7]:void 0,ui.fragment=Ui.indexOf("#")!==-1?ua[8]:void 0,isNaN(ui.port)&&(ui.port=Ui.match(/\/\/(?:.|\n)*\:(?:\/|\?|\#|$)/)?ua[4]:void 0)),ui.host&&(ui.host=Nr(sr(ui.host,_o),_o)),ui.scheme===void 0&&ui.userinfo===void 0&&ui.host===void 0&&ui.port===void 0&&!ui.path&&ui.query===void 0?ui.reference="same-document":ui.scheme===void 0?ui.reference="relative":ui.fragment===void 0?ui.reference="absolute":ui.reference="uri",ei.reference&&ei.reference!=="suffix"&&ei.reference!==ui.reference&&(ui.error=ui.error||"URI is not a "+ei.reference+" reference.");var rc=dt[(ei.scheme||ui.scheme||"").toLowerCase()];if(!ei.unicodeSupport&&(!rc||!rc.unicodeSupport)){if(ui.host&&(ei.domainHost||rc&&rc.domainHost))try{ui.host=xr.toASCII(ui.host.replace(_o.PCT_ENCODED,lr).toLowerCase())}catch(Eo){ui.error=ui.error||"Host's domain name can not be converted to ASCII via punycode: "+Eo}$t(ui,l)}else $t(ui,_o);rc&&rc.parse&&rc.parse(ui,ei)}else ui.error=ui.error||"URI can not be parsed.";return ui}function wr(Ui,ei){var ui=ei.iri!==!1?f:l,_o=[];return Ui.userinfo!==void 0&&(_o.push(Ui.userinfo),_o.push("@")),Ui.host!==void 0&&_o.push(Nr(sr(String(Ui.host),ui),ui).replace(ui.IPV6ADDRESS,function(ua,rc,Eo){return"["+rc+(Eo?"%25"+Eo:"")+"]"})),(typeof Ui.port=="number"||typeof Ui.port=="string")&&(_o.push(":"),_o.push(String(Ui.port))),_o.length?_o.join(""):void 0}var rr=/^\.\.?\//,gt=/^\/\.(\/|$)/,Vr=/^\/\.\.(\/|$)/,Sn=/^\/?(?:.|\n)*?(?=\/|$)/;function wn(Ui){for(var ei=[];Ui.length;)if(Ui.match(rr))Ui=Ui.replace(rr,"");else if(Ui.match(gt))Ui=Ui.replace(gt,"/");else if(Ui.match(Vr))Ui=Ui.replace(Vr,"/"),ei.pop();else if(Ui==="."||Ui==="..")Ui="";else{var ui=Ui.match(Sn);if(ui){var _o=ui[0];Ui=Ui.slice(_o.length),ei.push(_o)}else throw new Error("Unexpected dot segment condition")}return ei.join("")}function Wt(Ui){var ei=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ui=ei.iri?f:l,_o=[],ua=dt[(ei.scheme||Ui.scheme||"").toLowerCase()];if(ua&&ua.serialize&&ua.serialize(Ui,ei),Ui.host&&!ui.IPV6ADDRESS.test(Ui.host)){if(ei.domainHost||ua&&ua.domainHost)try{Ui.host=ei.iri?xr.toUnicode(Ui.host):xr.toASCII(Ui.host.replace(ui.PCT_ENCODED,lr).toLowerCase())}catch(cp){Ui.error=Ui.error||"Host's domain name can not be converted to "+(ei.iri?"Unicode":"ASCII")+" via punycode: "+cp}}$t(Ui,ui),ei.reference!=="suffix"&&Ui.scheme&&(_o.push(Ui.scheme),_o.push(":"));var rc=wr(Ui,ei);if(rc!==void 0&&(ei.reference!=="suffix"&&_o.push("//"),_o.push(rc),Ui.path&&Ui.path.charAt(0)!=="/"&&_o.push("/")),Ui.path!==void 0){var Eo=Ui.path;!ei.absolutePath&&(!ua||!ua.absolutePath)&&(Eo=wn(Eo)),rc===void 0&&(Eo=Eo.replace(/^\/\//,"/%2F")),_o.push(Eo)}return Ui.query!==void 0&&(_o.push("?"),_o.push(Ui.query)),Ui.fragment!==void 0&&(_o.push("#"),_o.push(Ui.fragment)),_o.join("")}function us(Ui,ei){var ui=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_o=arguments[3],ua={};return _o||(Ui=Xt(Wt(Ui,ui),ui),ei=Xt(Wt(ei,ui),ui)),ui=ui||{},!ui.tolerant&&ei.scheme?(ua.scheme=ei.scheme,ua.userinfo=ei.userinfo,ua.host=ei.host,ua.port=ei.port,ua.path=wn(ei.path||""),ua.query=ei.query):(ei.userinfo!==void 0||ei.host!==void 0||ei.port!==void 0?(ua.userinfo=ei.userinfo,ua.host=ei.host,ua.port=ei.port,ua.path=wn(ei.path||""),ua.query=ei.query):(ei.path?(ei.path.charAt(0)==="/"?ua.path=wn(ei.path):((Ui.userinfo!==void 0||Ui.host!==void 0||Ui.port!==void 0)&&!Ui.path?ua.path="/"+ei.path:Ui.path?ua.path=Ui.path.slice(0,Ui.path.lastIndexOf("/")+1)+ei.path:ua.path=ei.path,ua.path=wn(ua.path)),ua.query=ei.query):(ua.path=Ui.path,ei.query!==void 0?ua.query=ei.query:ua.query=Ui.query),ua.userinfo=Ui.userinfo,ua.host=Ui.host,ua.port=Ui.port),ua.scheme=Ui.scheme),ua.fragment=ei.fragment,ua}function na(Ui,ei,ui){var _o=a({scheme:"null"},ui);return Wt(us(Xt(Ui,_o),Xt(ei,_o),_o,!0),_o)}function Na(Ui,ei){return typeof Ui=="string"?Ui=Wt(Xt(Ui,ei),ei):n(Ui)==="object"&&(Ui=Xt(Wt(Ui,ei),ei)),Ui}function Di(Ui,ei,ui){return typeof Ui=="string"?Ui=Wt(Xt(Ui,ui),ui):n(Ui)==="object"&&(Ui=Wt(Ui,ui)),typeof ei=="string"?ei=Wt(Xt(ei,ui),ui):n(ei)==="object"&&(ei=Wt(ei,ui)),Ui===ei}function ki(Ui,ei){return Ui&&Ui.toString().replace(!ei||!ei.iri?l.ESCAPE:f.ESCAPE,It)}function cr(Ui,ei){return Ui&&Ui.toString().replace(!ei||!ei.iri?l.PCT_ENCODED:f.PCT_ENCODED,lr)}var jr={scheme:"http",domainHost:!0,parse:function(ei,ui){return ei.host||(ei.error=ei.error||"HTTP URIs must have a host."),ei},serialize:function(ei,ui){var _o=String(ei.scheme).toLowerCase()==="https";return(ei.port===(_o?443:80)||ei.port==="")&&(ei.port=void 0),ei.path||(ei.path="/"),ei}},Rn={scheme:"https",domainHost:jr.domainHost,parse:jr.parse,serialize:jr.serialize};function es(Ui){return typeof Ui.secure=="boolean"?Ui.secure:String(Ui.scheme).toLowerCase()==="wss"}var li={scheme:"ws",domainHost:!0,parse:function(ei,ui){var _o=ei;return _o.secure=es(_o),_o.resourceName=(_o.path||"/")+(_o.query?"?"+_o.query:""),_o.path=void 0,_o.query=void 0,_o},serialize:function(ei,ui){if((ei.port===(es(ei)?443:80)||ei.port==="")&&(ei.port=void 0),typeof ei.secure=="boolean"&&(ei.scheme=ei.secure?"wss":"ws",ei.secure=void 0),ei.resourceName){var _o=ei.resourceName.split("?"),ua=p(_o,2),rc=ua[0],Eo=ua[1];ei.path=rc&&rc!=="/"?rc:void 0,ei.query=Eo,ei.resourceName=void 0}return ei.fragment=void 0,ei}},mo={scheme:"wss",domainHost:li.domainHost,parse:li.parse,serialize:li.serialize},yu={},Va=!0,oi="[A-Za-z0-9\\-\\.\\_\\~"+(Va?"\\xA0-\\u200D\\u2010-\\u2029\\u202F-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFEF":"")+"]",oa="[0-9A-Fa-f]",ha=r(r("%[EFef]"+oa+"%"+oa+oa+"%"+oa+oa)+"|"+r("%[89A-Fa-f]"+oa+"%"+oa+oa)+"|"+r("%"+oa+oa)),Ua="[A-Za-z0-9\\!\\$\\%\\'\\*\\+\\-\\^\\_\\`\\{\\|\\}\\~]",pa="[\\!\\$\\%\\'\\(\\)\\*\\+\\,\\-\\.0-9\\<\\>A-Z\\x5E-\\x7E]",du=t(pa,'[\\"\\\\]'),Ha="[\\!\\$\\'\\(\\)\\*\\+\\,\\;\\:\\@]",dc=new RegExp(oi,"g"),Yn=new RegExp(ha,"g"),Sl=new RegExp(t("[^]",Ua,"[\\.]",'[\\"]',du),"g"),Jt=new RegExp(t("[^]",oi,Ha),"g"),Qt=Jt;function zi(Ui){var ei=lr(Ui);return ei.match(dc)?ei:Ui}var ks={scheme:"mailto",parse:function(ei,ui){var _o=ei,ua=_o.to=_o.path?_o.path.split(","):[];if(_o.path=void 0,_o.query){for(var rc=!1,Eo={},cp=_o.query.split("&"),Sd=0,_m=cp.length;Sd<_m;++Sd){var fd=cp[Sd].split("=");switch(fd[0]){case"to":for(var _f=fd[1].split(","),tp=0,Dg=_f.length;tp{"use strict";fBs.exports=function(t){for(var r=0,n=t.length,i=0,s;i=55296&&s<=56319&&i{"use strict";gBs.exports={copy:COl,checkDataType:Lin,checkDataTypes:bOl,coerceToTypes:IOl,toHash:Qin,getProperty:jin,escapeQuotes:Uin,equal:Uqe(),ucs2length:pBs(),varOccurences:DOl,varReplace:wOl,schemaHasRules:BOl,schemaHasRulesExcept:kOl,schemaUnknownRules:POl,toQuotedString:Min,getPathExpr:NOl,getPath:OOl,getData:LOl,unescapeFragment:MOl,unescapeJsonPointer:Yin,escapeFragment:QOl,escapeJsonPointer:qin};function COl(e,t){t=t||{};for(var r in e)t[r]=e[r];return t}function Lin(e,t,r,n){var i=n?" !== ":" === ",s=n?" || ":" && ",a=n?"!":"",u=n?"":"!";switch(e){case"null":return t+i+"null";case"array":return a+"Array.isArray("+t+")";case"object":return"("+a+t+s+"typeof "+t+i+'"object"'+s+u+"Array.isArray("+t+"))";case"integer":return"(typeof "+t+i+'"number"'+s+u+"("+t+" % 1)"+s+t+i+t+(r?s+a+"isFinite("+t+")":"")+")";case"number":return"(typeof "+t+i+'"'+e+'"'+(r?s+a+"isFinite("+t+")":"")+")";default:return"typeof "+t+i+'"'+e+'"'}}function bOl(e,t,r){switch(e.length){case 1:return Lin(e[0],t,r,!0);default:var n="",i=Qin(e);i.array&&i.object&&(n=i.null?"(":"(!"+t+" || ",n+="typeof "+t+' !== "object")',delete i.null,delete i.array,delete i.object),i.number&&delete i.integer;for(var s in i)n+=(n?" && ":"")+Lin(s,t,r,!0);return n}}var dBs=Qin(["string","number","integer","boolean","null"]);function IOl(e,t){if(Array.isArray(t)){for(var r=[],n=0;n=t)throw new Error("Cannot access property/index "+n+" levels up, current level is "+t);return r[t-n]}if(n>t)throw new Error("Cannot access data "+n+" levels up, current level is "+t);if(s="data"+(t-n||""),!i)return s}for(var u=s,l=i.split("/"),f=0;f{"use strict";var jOl=e5e();ABs.exports=UOl;function UOl(e){jOl.copy(e,this)}});var yBs=j((E2A,hBs)=>{"use strict";var tTe=hBs.exports=function(e,t,r){typeof t=="function"&&(r=t,t={}),r=t.cb||r;var n=typeof r=="function"?r:r.pre||function(){},i=r.post||function(){};BKt(t,n,i,e,"",e)};tTe.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0};tTe.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0};tTe.propsKeywords={definitions:!0,properties:!0,patternProperties:!0,dependencies:!0};tTe.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function BKt(e,t,r,n,i,s,a,u,l,f){if(n&&typeof n=="object"&&!Array.isArray(n)){t(n,i,s,a,u,l,f);for(var p in n){var g=n[p];if(Array.isArray(g)){if(p in tTe.arrayKeywords)for(var A=0;A{"use strict";var ypt=cBs(),_Bs=Uqe(),OKt=e5e(),kKt=Gin(),YOl=yBs();vBs.exports=nTe;nTe.normalizeId=rTe;nTe.fullPath=PKt;nTe.url=NKt;nTe.ids=JOl;nTe.inlineRef=Vin;nTe.schema=RKt;function nTe(e,t,r){var n=this._refs[r];if(typeof n=="string")if(this._refs[n])n=this._refs[n];else return nTe.call(this,e,t,n);if(n=n||this._schemas[r],n instanceof kKt)return Vin(n.schema,this._opts.inlineRefs)?n.schema:n.validate||this._compile(n);var i=RKt.call(this,t,r),s,a,u;return i&&(s=i.schema,t=i.root,u=i.baseId),s instanceof kKt?a=s.validate||e.call(this,s.schema,t,void 0,u):s!==void 0&&(a=Vin(s,this._opts.inlineRefs)?s:e.call(this,s,t,void 0,u)),a}function RKt(e,t){var r=ypt.parse(t),n=xBs(r),i=PKt(this._getId(e.schema));if(Object.keys(e.schema).length===0||n!==i){var s=rTe(n),a=this._refs[s];if(typeof a=="string")return GOl.call(this,e,a,r);if(a instanceof kKt)a.validate||this._compile(a),e=a;else if(a=this._schemas[s],a instanceof kKt){if(a.validate||this._compile(a),s==rTe(t))return{schema:a,root:e,baseId:i};e=a}else return;if(!e.schema)return;i=PKt(this._getId(e.schema))}return EBs.call(this,r,i,e.schema,e)}function GOl(e,t,r){var n=RKt.call(this,e,t);if(n){var i=n.schema,s=n.baseId;e=n.root;var a=this._getId(i);return a&&(s=NKt(s,a)),EBs.call(this,r,s,i,e)}}var VOl=OKt.toHash(["properties","patternProperties","enum","dependencies","definitions"]);function EBs(e,t,r,n){if(e.fragment=e.fragment||"",e.fragment.slice(0,1)=="/"){for(var i=e.fragment.split("/"),s=1;s{"use strict";var Jin=FKt();bBs.exports={Validation:CBs(HOl),MissingRef:CBs(Hin)};function HOl(e){this.message="validation failed",this.errors=e,this.ajv=this.validation=!0}Hin.message=function(e,t){return"can't resolve reference "+t+" from id "+e};function Hin(e,t,r){this.message=r||Hin.message(e,t),this.missingRef=Jin.url(e,t),this.missingSchema=Jin.normalizeId(Jin.fullPath(this.missingRef))}function CBs(e){return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}});var zin=j((C2A,IBs)=>{"use strict";IBs.exports=function(e,t){t||(t={}),typeof t=="function"&&(t={cmp:t});var r=typeof t.cycles=="boolean"?t.cycles:!1,n=t.cmp&&(function(s){return function(a){return function(u,l){var f={key:u,value:a[u]},p={key:l,value:a[l]};return s(f,p)}}})(t.cmp),i=[];return(function s(a){if(a&&a.toJSON&&typeof a.toJSON=="function"&&(a=a.toJSON()),a!==void 0){if(typeof a=="number")return isFinite(a)?""+a:"null";if(typeof a!="object")return JSON.stringify(a);var u,l;if(Array.isArray(a)){for(l="[",u=0;u{"use strict";SBs.exports=function(t,r,n){var i="",s=t.schema.$async===!0,a=t.util.schemaHasRulesExcept(t.schema,t.RULES.all,"$ref"),u=t.self._getId(t.schema);if(t.opts.strictKeywords){var l=t.util.schemaUnknownRules(t.schema,t.RULES.keywords);if(l){var f="unknown keyword: "+l;if(t.opts.strictKeywords==="log")t.logger.warn(f);else throw new Error(f)}}if(t.isTop&&(i+=" var validate = ",s&&(t.async=!0,i+="async "),i+="function(data, dataPath, parentData, parentDataProperty, rootData) { 'use strict'; ",u&&(t.opts.sourceCode||t.opts.processCode)&&(i+=" "+("/*# sourceURL="+u+" */")+" ")),typeof t.schema=="boolean"||!(a||t.schema.$ref)){var r="false schema",p=t.level,g=t.dataLevel,A=t.schema[r],h=t.schemaPath+t.util.getProperty(r),_=t.errSchemaPath+"/"+r,q=!t.opts.allErrors,Z,E="data"+(g||""),R="valid"+p;if(t.schema===!1){t.isTop?q=!0:i+=" var "+R+" = false; ";var b=b||[];b.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(Z||"false schema")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(_)+" , params: {} ",t.opts.messages!==!1&&(i+=" , message: 'boolean schema is false' "),t.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+E+" "),i+=" } "):i+=" {} ";var D=i;i=b.pop(),!t.compositeRule&&q?t.async?i+=" throw new ValidationError(["+D+"]); ":i+=" validate.errors = ["+D+"]; return false; ":i+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; "}else t.isTop?s?i+=" return data; ":i+=" validate.errors = null; return true; ":i+=" var "+R+" = true; ";return t.isTop&&(i+=" }; return validate; "),i}if(t.isTop){var k=t.isTop,p=t.level=0,g=t.dataLevel=0,E="data";if(t.rootId=t.resolve.fullPath(t.self._getId(t.root.schema)),t.baseId=t.baseId||t.rootId,delete t.isTop,t.dataPathArr=[""],t.schema.default!==void 0&&t.opts.useDefaults&&t.opts.strictDefaults){var M="default is ignored in the schema root";if(t.opts.strictDefaults==="log")t.logger.warn(M);else throw new Error(M)}i+=" var vErrors = null; ",i+=" var errors = 0; ",i+=" if (rootData === undefined) rootData = data; "}else{var p=t.level,g=t.dataLevel,E="data"+(g||"");if(u&&(t.baseId=t.resolve.url(t.baseId,u)),s&&!t.async)throw new Error("async schema in sync schema");i+=" var errs_"+p+" = errors;"}var R="valid"+p,q=!t.opts.allErrors,G="",K="",Z,oe=t.schema.type,ue=Array.isArray(oe);if(oe&&t.opts.nullable&&t.schema.nullable===!0&&(ue?oe.indexOf("null")==-1&&(oe=oe.concat("null")):oe!="null"&&(oe=[oe,"null"],ue=!0)),ue&&oe.length==1&&(oe=oe[0],ue=!1),t.schema.$ref&&a){if(t.opts.extendRefs=="fail")throw new Error('$ref: validation keywords used in schema at path "'+t.errSchemaPath+'" (see option extendRefs)');t.opts.extendRefs!==!0&&(a=!1,t.logger.warn('$ref: keywords ignored in schema at path "'+t.errSchemaPath+'"'))}if(t.schema.$comment&&t.opts.$comment&&(i+=" "+t.RULES.all.$comment.code(t,"$comment")),oe){if(t.opts.coerceTypes)var me=t.util.coerceToTypes(t.opts.coerceTypes,oe);var Te=t.RULES.types[oe];if(me||ue||Te===!0||Te&&!Sn(Te)){var h=t.schemaPath+".type",_=t.errSchemaPath+"/type",h=t.schemaPath+".type",_=t.errSchemaPath+"/type",le=ue?"checkDataTypes":"checkDataType";if(i+=" if ("+t.util[le](oe,E,t.opts.strictNumbers,!0)+") { ",me){var ae="dataType"+p,Ae="coerced"+p;i+=" var "+ae+" = typeof "+E+"; var "+Ae+" = undefined; ",t.opts.coerceTypes=="array"&&(i+=" if ("+ae+" == 'object' && Array.isArray("+E+") && "+E+".length == 1) { "+E+" = "+E+"[0]; "+ae+" = typeof "+E+"; if ("+t.util.checkDataType(t.schema.type,E,t.opts.strictNumbers)+") "+Ae+" = "+E+"; } "),i+=" if ("+Ae+" !== undefined) ; ";var De=me;if(De)for(var _e,Le=-1,qe=De.length-1;Le{"use strict";var MKt=FKt(),jKt=e5e(),DBs=LKt(),zOl=zin(),TBs=Win(),WOl=jKt.ucs2length,XOl=Uqe(),ZOl=DBs.Validation;BBs.exports=Xin;function Xin(e,t,r,n){var i=this,s=this._opts,a=[void 0],u={},l=[],f={},p=[],g={},A=[];t=t||{schema:e,refVal:a,refs:u};var h=eRl.call(this,e,t,n),_=this._compilations[h.index];if(h.compiling)return _.callValidate=M;var E=this._formats,b=this.RULES;try{var D=R(e,t,r,n);_.validate=D;var k=_.callValidate;return k&&(k.schema=D.schema,k.errors=null,k.refs=D.refs,k.refVal=D.refVal,k.root=D.root,k.$async=D.$async,s.sourceCode&&(k.source=D.source)),D}finally{tRl.call(this,e,t,n)}function M(){var le=_.validate,ae=le.apply(this,arguments);return M.errors=le.errors,ae}function R(le,ae,Ae,De){var _e=!ae||ae&&ae.schema==le;if(ae.schema!=t.schema)return Xin.call(i,le,ae,Ae,De);var Le=le.$async===!0,qe=TBs({isTop:!0,schema:le,isRoot:_e,baseId:De,root:ae,schemaPath:"",errSchemaPath:"#",errorPath:'""',MissingRefError:DBs.MissingRef,RULES:b,validate:TBs,util:jKt,resolve:MKt,resolveRef:q,usePattern:ue,useDefault:me,useCustomRule:Te,opts:s,formats:E,logger:i.logger,self:i});qe=QKt(a,iRl)+QKt(l,rRl)+QKt(p,nRl)+QKt(A,sRl)+qe,s.processCode&&(qe=s.processCode(qe,le));var at;try{var st=new Function("self","RULES","formats","root","refVal","defaults","customRules","equal","ucs2length","ValidationError",qe);at=st(i,b,E,t,a,p,A,XOl,WOl,ZOl),a[0]=at}catch(Ur){throw i.logger.error("Error compiling schema, function code:",qe),Ur}return at.schema=le,at.errors=null,at.refs=u,at.refVal=a,at.root=_e?at:ae,Le&&(at.$async=!0),s.sourceCode===!0&&(at.source={code:qe,patterns:l,defaults:p}),at}function q(le,ae,Ae){ae=MKt.url(le,ae);var De=u[ae],_e,Le;if(De!==void 0)return _e=a[De],Le="refVal["+De+"]",oe(_e,Le);if(!Ae&&t.refs){var qe=t.refs[ae];if(qe!==void 0)return _e=t.refVal[qe],Le=G(ae,_e),oe(_e,Le)}Le=G(ae);var at=MKt.call(i,R,t,ae);if(at===void 0){var st=r&&r[ae];st&&(at=MKt.inlineRef(st,s.inlineRefs)?st:Xin.call(i,st,t,r,le))}if(at===void 0)K(ae);else return Z(ae,at),oe(at,Le)}function G(le,ae){var Ae=a.length;return a[Ae]=ae,u[le]=Ae,"refVal"+Ae}function K(le){delete u[le]}function Z(le,ae){var Ae=u[le];a[Ae]=ae}function oe(le,ae){return typeof le=="object"||typeof le=="boolean"?{code:ae,schema:le,inline:!0}:{code:ae,$async:le&&!!le.$async}}function ue(le){var ae=f[le];return ae===void 0&&(ae=f[le]=l.length,l[ae]=le),"pattern"+ae}function me(le){switch(typeof le){case"boolean":case"number":return""+le;case"string":return jKt.toQuotedString(le);case"object":if(le===null)return"null";var ae=zOl(le),Ae=g[ae];return Ae===void 0&&(Ae=g[ae]=p.length,p[Ae]=le),"default"+Ae}}function Te(le,ae,Ae,De){if(i._opts.validateSchema!==!1){var _e=le.definition.dependencies;if(_e&&!_e.every(function(It){return Object.prototype.hasOwnProperty.call(Ae,It)}))throw new Error("parent schema must have all required keywords: "+_e.join(","));var Le=le.definition.validateSchema;if(Le){var qe=Le(ae);if(!qe){var at="keyword schema is invalid: "+i.errorsText(Le.errors);if(i._opts.validateSchema=="log")i.logger.error(at);else throw new Error(at)}}}var st=le.definition.compile,Ur=le.definition.inline,Sr=le.definition.macro,xr;if(st)xr=st.call(i,ae,Ae,De);else if(Sr)xr=Sr.call(i,ae,Ae,De),s.validateSchema!==!1&&i.validateSchema(xr,!0);else if(Ur)xr=Ur.call(i,De,le.keyword,ae,Ae);else if(xr=le.definition.validate,!xr)return;if(xr===void 0)throw new Error('custom keyword "'+le.keyword+'"failed to compile');var dt=A.length;return A[dt]=xr,{code:"customRule"+dt,validate:xr}}}function eRl(e,t,r){var n=wBs.call(this,e,t,r);return n>=0?{index:n,compiling:!0}:(n=this._compilations.length,this._compilations[n]={schema:e,root:t,baseId:r},{index:n,compiling:!1})}function tRl(e,t,r){var n=wBs.call(this,e,t,r);n>=0&&this._compilations.splice(n,1)}function wBs(e,t,r){for(var n=0;n{"use strict";var UKt=PBs.exports=function(){this._cache={}};UKt.prototype.put=function(t,r){this._cache[t]=r};UKt.prototype.get=function(t){return this._cache[t]};UKt.prototype.del=function(t){delete this._cache[t]};UKt.prototype.clear=function(){this._cache={}}});var VBs=j((T2A,GBs)=>{"use strict";var aRl=e5e(),oRl=/^(\d\d\d\d)-(\d\d)-(\d\d)$/,uRl=[0,31,28,31,30,31,30,31,31,30,31,30,31],lRl=/^(\d\d):(\d\d):(\d\d)(\.\d+)?(z|[+-]\d\d(?::?\d\d)?)?$/i,OBs=/^(?=.{1,253}\.?$)[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[-0-9a-z]{0,61}[0-9a-z])?)*\.?$/i,cRl=/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*)*)(?:\?(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,fRl=/^(?:[a-z][a-z0-9+\-.]*:)?(?:\/?\/(?:(?:[a-z0-9\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?))|(?:(?:[0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4}|(?:(?:[0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::)|[Vv][0-9a-f]+\.[a-z0-9\-._~!$&'()*+,;=:]+)\]|(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)|(?:[a-z0-9\-._~!$&'"()*+,;=]|%[0-9a-f]{2})*)(?::\d*)?(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*|\/(?:(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?|(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})+(?:\/(?:[a-z0-9\-._~!$&'"()*+,;=:@]|%[0-9a-f]{2})*)*)?(?:\?(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?(?:#(?:[a-z0-9\-._~!$&'"()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i,RBs=/^(?:(?:[^\x00-\x20"'<>%\\^`{|}]|%[0-9a-f]{2})|\{[+#./;?&=,!@|]?(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?(?:,(?:[a-z0-9_]|%[0-9a-f]{2})+(?::[1-9][0-9]{0,3}|\*)?)*\})*$/i,FBs=/^(?:(?:http[s\u017F]?|ftp):\/\/)(?:(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+(?::(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?@)?(?:(?!10(?:\.[0-9]{1,3}){3})(?!127(?:\.[0-9]{1,3}){3})(?!169\.254(?:\.[0-9]{1,3}){2})(?!192\.168(?:\.[0-9]{1,3}){2})(?!172\.(?:1[6-9]|2[0-9]|3[01])(?:\.[0-9]{1,3}){2})(?:[1-9][0-9]?|1[0-9][0-9]|2[01][0-9]|22[0-3])(?:\.(?:1?[0-9]{1,2}|2[0-4][0-9]|25[0-5])){2}(?:\.(?:[1-9][0-9]?|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|(?:(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)(?:\.(?:(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+-)*(?:[0-9a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])+)*(?:\.(?:(?:[a-z\xA1-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]){2,})))(?::[0-9]{2,5})?(?:\/(?:[\0-\x08\x0E-\x1F!-\x9F\xA1-\u167F\u1681-\u1FFF\u200B-\u2027\u202A-\u202E\u2030-\u205E\u2060-\u2FFF\u3001-\uD7FF\uE000-\uFEFE\uFF00-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])*)?$/i,LBs=/^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,MBs=/^(?:\/(?:[^~/]|~0|~1)*)*$/,QBs=/^#(?:\/(?:[a-z0-9_\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,jBs=/^(?:0|[1-9][0-9]*)(?:#|(?:\/(?:[^~/]|~0|~1)*)*)$/;GBs.exports=qKt;function qKt(e){return e=e=="full"?"full":"fast",aRl.copy(qKt[e])}qKt.fast={date:/^\d\d\d\d-[0-1]\d-[0-3]\d$/,time:/^(?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)?$/i,"date-time":/^\d\d\d\d-[0-1]\d-[0-3]\d[t\s](?:[0-2]\d:[0-5]\d:[0-5]\d|23:59:60)(?:\.\d+)?(?:z|[+-]\d\d(?::?\d\d)?)$/i,uri:/^(?:[a-z][a-z0-9+\-.]*:)(?:\/?\/)?[^\s]*$/i,"uri-reference":/^(?:(?:[a-z][a-z0-9+\-.]*:)?\/?\/)?(?:[^\\\s#][^\s#]*)?(?:#[^\\\s]*)?$/i,"uri-template":RBs,url:FBs,email:/^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i,hostname:OBs,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:YBs,uuid:LBs,"json-pointer":MBs,"json-pointer-uri-fragment":QBs,"relative-json-pointer":jBs};qKt.full={date:UBs,time:qBs,"date-time":mRl,uri:ARl,"uri-reference":fRl,"uri-template":RBs,url:FBs,email:/^[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,hostname:OBs,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(?:25[0-5]|2[0-4]\d|[01]?\d\d?)$/,ipv6:/^\s*(?:(?:(?:[0-9a-f]{1,4}:){7}(?:[0-9a-f]{1,4}|:))|(?:(?:[0-9a-f]{1,4}:){6}(?::[0-9a-f]{1,4}|(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){5}(?:(?:(?::[0-9a-f]{1,4}){1,2})|:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3})|:))|(?:(?:[0-9a-f]{1,4}:){4}(?:(?:(?::[0-9a-f]{1,4}){1,3})|(?:(?::[0-9a-f]{1,4})?:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){3}(?:(?:(?::[0-9a-f]{1,4}){1,4})|(?:(?::[0-9a-f]{1,4}){0,2}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){2}(?:(?:(?::[0-9a-f]{1,4}){1,5})|(?:(?::[0-9a-f]{1,4}){0,3}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?:(?:[0-9a-f]{1,4}:){1}(?:(?:(?::[0-9a-f]{1,4}){1,6})|(?:(?::[0-9a-f]{1,4}){0,4}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:))|(?::(?:(?:(?::[0-9a-f]{1,4}){1,7})|(?:(?::[0-9a-f]{1,4}){0,5}:(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)){3}))|:)))(?:%.+)?\s*$/i,regex:YBs,uuid:LBs,"json-pointer":MBs,"json-pointer-uri-fragment":QBs,"relative-json-pointer":jBs};function pRl(e){return e%4===0&&(e%100!==0||e%400===0)}function UBs(e){var t=e.match(oRl);if(!t)return!1;var r=+t[1],n=+t[2],i=+t[3];return n>=1&&n<=12&&i>=1&&i<=(n==2&&pRl(r)?29:uRl[n])}function qBs(e,t){var r=e.match(lRl);if(!r)return!1;var n=r[1],i=r[2],s=r[3],a=r[5];return(n<=23&&i<=59&&s<=59||n==23&&i==59&&s==60)&&(!t||a)}var dRl=/t|\s/i;function mRl(e){var t=e.split(dRl);return t.length==2&&UBs(t[0])&&qBs(t[1],!0)}var gRl=/\/|:/;function ARl(e){return gRl.test(e)&&cRl.test(e)}var hRl=/[^\\]\\Z/;function YBs(e){if(hRl.test(e))return!1;try{return new RegExp(e),!0}catch{return!1}}});var KBs=j((D2A,$Bs)=>{"use strict";$Bs.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.errSchemaPath+"/"+r,f=!t.opts.allErrors,p="data"+(a||""),g="valid"+s,A,h;if(u=="#"||u=="#/")t.isRoot?(A=t.async,h="validate"):(A=t.root.schema.$async===!0,h="root.refVal[0]");else{var _=t.resolveRef(t.baseId,u,t.isRoot);if(_===void 0){var E=t.MissingRefError.message(t.baseId,u);if(t.opts.missingRefs=="fail"){t.logger.error(E);var b=b||[];b.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '$ref' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(l)+" , params: { ref: '"+t.util.escapeQuotes(u)+"' } ",t.opts.messages!==!1&&(i+=" , message: 'can\\'t resolve reference "+t.util.escapeQuotes(u)+"' "),t.opts.verbose&&(i+=" , schema: "+t.util.toQuotedString(u)+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+p+" "),i+=" } "):i+=" {} ";var D=i;i=b.pop(),!t.compositeRule&&f?t.async?i+=" throw new ValidationError(["+D+"]); ":i+=" validate.errors = ["+D+"]; return false; ":i+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",f&&(i+=" if (false) { ")}else if(t.opts.missingRefs=="ignore")t.logger.warn(E),f&&(i+=" if (true) { ");else throw new t.MissingRefError(t.baseId,u,E)}else if(_.inline){var k=t.util.copy(t);k.level++;var M="valid"+k.level;k.schema=_.schema,k.schemaPath="",k.errSchemaPath=u;var R=t.validate(k).replace(/validate\.schema/g,_.code);i+=" "+R+" ",f&&(i+=" if ("+M+") { ")}else A=_.$async===!0||t.async&&_.$async!==!1,h=_.code}if(h){var b=b||[];b.push(i),i="",t.opts.passContext?i+=" "+h+".call(this, ":i+=" "+h+"( ",i+=" "+p+", (dataPath || '')",t.errorPath!='""'&&(i+=" + "+t.errorPath);var q=a?"data"+(a-1||""):"parentData",G=a?t.dataPathArr[a]:"parentDataProperty";i+=" , "+q+" , "+G+", rootData) ";var K=i;if(i=b.pop(),A){if(!t.async)throw new Error("async schema referenced by sync schema");f&&(i+=" var "+g+"; "),i+=" try { await "+K+"; ",f&&(i+=" "+g+" = true; "),i+=" } catch (e) { if (!(e instanceof ValidationError)) throw e; if (vErrors === null) vErrors = e.errors; else vErrors = vErrors.concat(e.errors); errors = vErrors.length; ",f&&(i+=" "+g+" = false; "),i+=" } ",f&&(i+=" if ("+g+") { ")}else i+=" if (!"+K+") { if (vErrors === null) vErrors = "+h+".errors; else vErrors = vErrors.concat("+h+".errors); errors = vErrors.length; } ",f&&(i+=" else { ")}return i}});var HBs=j((w2A,JBs)=>{"use strict";JBs.exports=function(t,r,n){var i=" ",s=t.schema[r],a=t.schemaPath+t.util.getProperty(r),u=t.errSchemaPath+"/"+r,l=!t.opts.allErrors,f=t.util.copy(t),p="";f.level++;var g="valid"+f.level,A=f.baseId,h=!0,_=s;if(_)for(var E,b=-1,D=_.length-1;b0||E===!1:t.util.schemaHasRules(E,t.RULES.all))&&(h=!1,f.schema=E,f.schemaPath=a+"["+b+"]",f.errSchemaPath=u+"/"+b,i+=" "+t.validate(f)+" ",f.baseId=A,l&&(i+=" if ("+g+") { ",p+="}"));return l&&(h?i+=" if (true) { ":i+=" "+p.slice(0,-1)+" "),i}});var WBs=j((B2A,zBs)=>{"use strict";zBs.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h="errs__"+s,_=t.util.copy(t),E="";_.level++;var b="valid"+_.level,D=u.every(function(Z){return t.opts.strictKeywords?typeof Z=="object"&&Object.keys(Z).length>0||Z===!1:t.util.schemaHasRules(Z,t.RULES.all)});if(D){var k=_.baseId;i+=" var "+h+" = errors; var "+A+" = false; ";var M=t.compositeRule;t.compositeRule=_.compositeRule=!0;var R=u;if(R)for(var q,G=-1,K=R.length-1;G{"use strict";XBs.exports=function(t,r,n){var i=" ",s=t.schema[r],a=t.errSchemaPath+"/"+r,u=!t.opts.allErrors,l=t.util.toQuotedString(s);return t.opts.$comment===!0?i+=" console.log("+l+");":typeof t.opts.$comment=="function"&&(i+=" self._opts.$comment("+l+", "+t.util.toQuotedString(a)+", validate.root.schema);"),i}});var t6s=j((P2A,e6s)=>{"use strict";e6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h=t.opts.$data&&u&&u.$data,_;h?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",_="schema"+s):_=u,h||(i+=" var schema"+s+" = validate.schema"+l+";"),i+="var "+A+" = equal("+g+", schema"+s+"); if (!"+A+") { ";var E=E||[];E.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'const' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { allowedValue: schema"+s+" } ",t.opts.messages!==!1&&(i+=" , message: 'should be equal to constant' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var b=i;return i=E.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+b+"]); ":i+=" validate.errors = ["+b+"]; return false; ":i+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",p&&(i+=" else { "),i}});var n6s=j((N2A,r6s)=>{"use strict";r6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h="errs__"+s,_=t.util.copy(t),E="";_.level++;var b="valid"+_.level,D="i"+s,k=_.dataLevel=t.dataLevel+1,M="data"+k,R=t.baseId,q=t.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:t.util.schemaHasRules(u,t.RULES.all);if(i+="var "+h+" = errors;var "+A+";",q){var G=t.compositeRule;t.compositeRule=_.compositeRule=!0,_.schema=u,_.schemaPath=l,_.errSchemaPath=f,i+=" var "+b+" = false; for (var "+D+" = 0; "+D+" < "+g+".length; "+D+"++) { ",_.errorPath=t.util.getPathExpr(t.errorPath,D,t.opts.jsonPointers,!0);var K=g+"["+D+"]";_.dataPathArr[k]=D;var Z=t.validate(_);_.baseId=R,t.util.varOccurences(Z,M)<2?i+=" "+t.util.varReplace(Z,M,K)+" ":i+=" var "+M+" = "+K+"; "+Z+" ",i+=" if ("+b+") break; } ",t.compositeRule=_.compositeRule=G,i+=" "+E+" if (!"+b+") {"}else i+=" if ("+g+".length == 0) {";var oe=oe||[];oe.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'contains' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: {} ",t.opts.messages!==!1&&(i+=" , message: 'should contain a valid item' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var ue=i;return i=oe.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+ue+"]); ":i+=" validate.errors = ["+ue+"]; return false; ":i+=" var err = "+ue+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { ",q&&(i+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } "),t.opts.allErrors&&(i+=" } "),i}});var s6s=j((O2A,i6s)=>{"use strict";i6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="errs__"+s,h=t.util.copy(t),_="";h.level++;var E="valid"+h.level,b={},D={},k=t.opts.ownProperties;for(G in u)if(G!="__proto__"){var M=u[G],R=Array.isArray(M)?D:b;R[G]=M}i+="var "+A+" = errors;";var q=t.errorPath;i+="var missing"+s+";";for(var G in D)if(R=D[G],R.length){if(i+=" if ( "+g+t.util.getProperty(G)+" !== undefined ",k&&(i+=" && Object.prototype.hasOwnProperty.call("+g+", '"+t.util.escapeQuotes(G)+"') "),p){i+=" && ( ";var K=R;if(K)for(var Z,oe=-1,ue=K.length-1;oe0||M===!1:t.util.schemaHasRules(M,t.RULES.all))&&(i+=" "+E+" = true; if ( "+g+t.util.getProperty(G)+" !== undefined ",k&&(i+=" && Object.prototype.hasOwnProperty.call("+g+", '"+t.util.escapeQuotes(G)+"') "),i+=") { ",h.schema=M,h.schemaPath=l+t.util.getProperty(G),h.errSchemaPath=f+"/"+t.util.escapeFragment(G),i+=" "+t.validate(h)+" ",h.baseId=at,i+=" } ",p&&(i+=" if ("+E+") { ",_+="}"))}return p&&(i+=" "+_+" if ("+A+" == errors) {"),i}});var o6s=j((R2A,a6s)=>{"use strict";a6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h=t.opts.$data&&u&&u.$data,_;h?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",_="schema"+s):_=u;var E="i"+s,b="schema"+s;h||(i+=" var "+b+" = validate.schema"+l+";"),i+="var "+A+";",h&&(i+=" if (schema"+s+" === undefined) "+A+" = true; else if (!Array.isArray(schema"+s+")) "+A+" = false; else {"),i+=""+A+" = false;for (var "+E+"=0; "+E+"<"+b+".length; "+E+"++) if (equal("+g+", "+b+"["+E+"])) { "+A+" = true; break; }",h&&(i+=" } "),i+=" if (!"+A+") { ";var D=D||[];D.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'enum' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { allowedValues: schema"+s+" } ",t.opts.messages!==!1&&(i+=" , message: 'should be equal to one of the allowed values' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var k=i;return i=D.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+k+"]); ":i+=" validate.errors = ["+k+"]; return false; ":i+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" }",p&&(i+=" else { "),i}});var l6s=j((F2A,u6s)=>{"use strict";u6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||"");if(t.opts.format===!1)return p&&(i+=" if (true) { "),i;var A=t.opts.$data&&u&&u.$data,h;A?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",h="schema"+s):h=u;var _=t.opts.unknownFormats,E=Array.isArray(_);if(A){var b="format"+s,D="isObject"+s,k="formatType"+s;i+=" var "+b+" = formats["+h+"]; var "+D+" = typeof "+b+" == 'object' && !("+b+" instanceof RegExp) && "+b+".validate; var "+k+" = "+D+" && "+b+".type || 'string'; if ("+D+") { ",t.async&&(i+=" var async"+s+" = "+b+".async; "),i+=" "+b+" = "+b+".validate; } if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),i+=" (",_!="ignore"&&(i+=" ("+h+" && !"+b+" ",E&&(i+=" && self._opts.unknownFormats.indexOf("+h+") == -1 "),i+=") || "),i+=" ("+b+" && "+k+" == '"+n+"' && !(typeof "+b+" == 'function' ? ",t.async?i+=" (async"+s+" ? await "+b+"("+g+") : "+b+"("+g+")) ":i+=" "+b+"("+g+") ",i+=" : "+b+".test("+g+"))))) {"}else{var b=t.formats[u];if(!b){if(_=="ignore")return t.logger.warn('unknown format "'+u+'" ignored in schema at path "'+t.errSchemaPath+'"'),p&&(i+=" if (true) { "),i;if(E&&_.indexOf(u)>=0)return p&&(i+=" if (true) { "),i;throw new Error('unknown format "'+u+'" is used in schema at path "'+t.errSchemaPath+'"')}var D=typeof b=="object"&&!(b instanceof RegExp)&&b.validate,k=D&&b.type||"string";if(D){var M=b.async===!0;b=b.validate}if(k!=n)return p&&(i+=" if (true) { "),i;if(M){if(!t.async)throw new Error("async format in sync schema");var R="formats"+t.util.getProperty(u)+".validate";i+=" if (!(await "+R+"("+g+"))) { "}else{i+=" if (! ";var R="formats"+t.util.getProperty(u);D&&(R+=".validate"),typeof b=="function"?i+=" "+R+"("+g+") ":i+=" "+R+".test("+g+") ",i+=") { "}}var q=q||[];q.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'format' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { format: ",A?i+=""+h:i+=""+t.util.toQuotedString(u),i+=" } ",t.opts.messages!==!1&&(i+=` , message: 'should match format "`,A?i+="' + "+h+" + '":i+=""+t.util.escapeQuotes(u),i+=`"' `),t.opts.verbose&&(i+=" , schema: ",A?i+="validate.schema"+l:i+=""+t.util.toQuotedString(u),i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var G=i;return i=q.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+G+"]); ":i+=" validate.errors = ["+G+"]; return false; ":i+=" var err = "+G+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",p&&(i+=" else { "),i}});var f6s=j((L2A,c6s)=>{"use strict";c6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h="errs__"+s,_=t.util.copy(t);_.level++;var E="valid"+_.level,b=t.schema.then,D=t.schema.else,k=b!==void 0&&(t.opts.strictKeywords?typeof b=="object"&&Object.keys(b).length>0||b===!1:t.util.schemaHasRules(b,t.RULES.all)),M=D!==void 0&&(t.opts.strictKeywords?typeof D=="object"&&Object.keys(D).length>0||D===!1:t.util.schemaHasRules(D,t.RULES.all)),R=_.baseId;if(k||M){var q;_.createErrors=!1,_.schema=u,_.schemaPath=l,_.errSchemaPath=f,i+=" var "+h+" = errors; var "+A+" = true; ";var G=t.compositeRule;t.compositeRule=_.compositeRule=!0,i+=" "+t.validate(_)+" ",_.baseId=R,_.createErrors=!0,i+=" errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; } ",t.compositeRule=_.compositeRule=G,k?(i+=" if ("+E+") { ",_.schema=t.schema.then,_.schemaPath=t.schemaPath+".then",_.errSchemaPath=t.errSchemaPath+"/then",i+=" "+t.validate(_)+" ",_.baseId=R,i+=" "+A+" = "+E+"; ",k&&M?(q="ifClause"+s,i+=" var "+q+" = 'then'; "):q="'then'",i+=" } ",M&&(i+=" else { ")):i+=" if (!"+E+") { ",M&&(_.schema=t.schema.else,_.schemaPath=t.schemaPath+".else",_.errSchemaPath=t.errSchemaPath+"/else",i+=" "+t.validate(_)+" ",_.baseId=R,i+=" "+A+" = "+E+"; ",k&&M?(q="ifClause"+s,i+=" var "+q+" = 'else'; "):q="'else'",i+=" } "),i+=" if (!"+A+") { var err = ",t.createErrors!==!1?(i+=" { keyword: 'if' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { failingKeyword: "+q+" } ",t.opts.messages!==!1&&(i+=` , message: 'should match "' + `+q+` + '" schema' `),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&p&&(t.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; "),i+=" } ",p&&(i+=" else { ")}else p&&(i+=" if (true) { ");return i}});var d6s=j((M2A,p6s)=>{"use strict";p6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h="errs__"+s,_=t.util.copy(t),E="";_.level++;var b="valid"+_.level,D="i"+s,k=_.dataLevel=t.dataLevel+1,M="data"+k,R=t.baseId;if(i+="var "+h+" = errors;var "+A+";",Array.isArray(u)){var q=t.schema.additionalItems;if(q===!1){i+=" "+A+" = "+g+".length <= "+u.length+"; ";var G=f;f=t.errSchemaPath+"/additionalItems",i+=" if (!"+A+") { ";var K=K||[];K.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'additionalItems' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { limit: "+u.length+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have more than "+u.length+" items' "),t.opts.verbose&&(i+=" , schema: false , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var Z=i;i=K.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+Z+"]); ":i+=" validate.errors = ["+Z+"]; return false; ":i+=" var err = "+Z+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",f=G,p&&(E+="}",i+=" else { ")}var oe=u;if(oe){for(var ue,me=-1,Te=oe.length-1;me0||ue===!1:t.util.schemaHasRules(ue,t.RULES.all)){i+=" "+b+" = true; if ("+g+".length > "+me+") { ";var le=g+"["+me+"]";_.schema=ue,_.schemaPath=l+"["+me+"]",_.errSchemaPath=f+"/"+me,_.errorPath=t.util.getPathExpr(t.errorPath,me,t.opts.jsonPointers,!0),_.dataPathArr[k]=me;var ae=t.validate(_);_.baseId=R,t.util.varOccurences(ae,M)<2?i+=" "+t.util.varReplace(ae,M,le)+" ":i+=" var "+M+" = "+le+"; "+ae+" ",i+=" } ",p&&(i+=" if ("+b+") { ",E+="}")}}if(typeof q=="object"&&(t.opts.strictKeywords?typeof q=="object"&&Object.keys(q).length>0||q===!1:t.util.schemaHasRules(q,t.RULES.all))){_.schema=q,_.schemaPath=t.schemaPath+".additionalItems",_.errSchemaPath=t.errSchemaPath+"/additionalItems",i+=" "+b+" = true; if ("+g+".length > "+u.length+") { for (var "+D+" = "+u.length+"; "+D+" < "+g+".length; "+D+"++) { ",_.errorPath=t.util.getPathExpr(t.errorPath,D,t.opts.jsonPointers,!0);var le=g+"["+D+"]";_.dataPathArr[k]=D;var ae=t.validate(_);_.baseId=R,t.util.varOccurences(ae,M)<2?i+=" "+t.util.varReplace(ae,M,le)+" ":i+=" var "+M+" = "+le+"; "+ae+" ",p&&(i+=" if (!"+b+") break; "),i+=" } } ",p&&(i+=" if ("+b+") { ",E+="}")}}else if(t.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:t.util.schemaHasRules(u,t.RULES.all)){_.schema=u,_.schemaPath=l,_.errSchemaPath=f,i+=" for (var "+D+" = 0; "+D+" < "+g+".length; "+D+"++) { ",_.errorPath=t.util.getPathExpr(t.errorPath,D,t.opts.jsonPointers,!0);var le=g+"["+D+"]";_.dataPathArr[k]=D;var ae=t.validate(_);_.baseId=R,t.util.varOccurences(ae,M)<2?i+=" "+t.util.varReplace(ae,M,le)+" ":i+=" var "+M+" = "+le+"; "+ae+" ",p&&(i+=" if (!"+b+") break; "),i+=" }"}return p&&(i+=" "+E+" if ("+h+" == errors) {"),i}});var Zin=j((Q2A,m6s)=>{"use strict";m6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,R,g="data"+(a||""),A=t.opts.$data&&u&&u.$data,h;A?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",h="schema"+s):h=u;var _=r=="maximum",E=_?"exclusiveMaximum":"exclusiveMinimum",b=t.schema[E],D=t.opts.$data&&b&&b.$data,k=_?"<":">",M=_?">":"<",R=void 0;if(!(A||typeof u=="number"||u===void 0))throw new Error(r+" must be number");if(!(D||b===void 0||typeof b=="number"||typeof b=="boolean"))throw new Error(E+" must be number or boolean");if(D){var q=t.util.getData(b.$data,a,t.dataPathArr),G="exclusive"+s,K="exclType"+s,Z="exclIsNumber"+s,oe="op"+s,ue="' + "+oe+" + '";i+=" var schemaExcl"+s+" = "+q+"; ",q="schemaExcl"+s,i+=" var "+G+"; var "+K+" = typeof "+q+"; if ("+K+" != 'boolean' && "+K+" != 'undefined' && "+K+" != 'number') { ";var R=E,me=me||[];me.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(R||"_exclusiveLimit")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: {} ",t.opts.messages!==!1&&(i+=" , message: '"+E+" should be boolean' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var Te=i;i=me.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+Te+"]); ":i+=" validate.errors = ["+Te+"]; return false; ":i+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" "+K+" == 'number' ? ( ("+G+" = "+h+" === undefined || "+q+" "+k+"= "+h+") ? "+g+" "+M+"= "+q+" : "+g+" "+M+" "+h+" ) : ( ("+G+" = "+q+" === true) ? "+g+" "+M+"= "+h+" : "+g+" "+M+" "+h+" ) || "+g+" !== "+g+") { var op"+s+" = "+G+" ? '"+k+"' : '"+k+"='; ",u===void 0&&(R=E,f=t.errSchemaPath+"/"+E,h=q,A=D)}else{var Z=typeof b=="number",ue=k;if(Z&&A){var oe="'"+ue+"'";i+=" if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" ( "+h+" === undefined || "+b+" "+k+"= "+h+" ? "+g+" "+M+"= "+b+" : "+g+" "+M+" "+h+" ) || "+g+" !== "+g+") { "}else{Z&&u===void 0?(G=!0,R=E,f=t.errSchemaPath+"/"+E,h=b,M+="="):(Z&&(h=Math[_?"min":"max"](b,u)),b===(Z?h:!0)?(G=!0,R=E,f=t.errSchemaPath+"/"+E,M+="="):(G=!1,ue+="="));var oe="'"+ue+"'";i+=" if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" "+g+" "+M+" "+h+" || "+g+" !== "+g+") { "}}R=R||r;var me=me||[];me.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(R||"_limit")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { comparison: "+oe+", limit: "+h+", exclusive: "+G+" } ",t.opts.messages!==!1&&(i+=" , message: 'should be "+ue+" ",A?i+="' + "+h:i+=""+h+"'"),t.opts.verbose&&(i+=" , schema: ",A?i+="validate.schema"+l:i+=""+u,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var Te=i;return i=me.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+Te+"]); ":i+=" validate.errors = ["+Te+"]; return false; ":i+=" var err = "+Te+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",p&&(i+=" else { "),i}});var esn=j((j2A,g6s)=>{"use strict";g6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,E,g="data"+(a||""),A=t.opts.$data&&u&&u.$data,h;if(A?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",h="schema"+s):h=u,!(A||typeof u=="number"))throw new Error(r+" must be number");var _=r=="maxItems"?">":"<";i+="if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" "+g+".length "+_+" "+h+") { ";var E=r,b=b||[];b.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(E||"_limitItems")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { limit: "+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have ",r=="maxItems"?i+="more":i+="fewer",i+=" than ",A?i+="' + "+h+" + '":i+=""+u,i+=" items' "),t.opts.verbose&&(i+=" , schema: ",A?i+="validate.schema"+l:i+=""+u,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var D=i;return i=b.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+D+"]); ":i+=" validate.errors = ["+D+"]; return false; ":i+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",p&&(i+=" else { "),i}});var tsn=j((U2A,A6s)=>{"use strict";A6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,E,g="data"+(a||""),A=t.opts.$data&&u&&u.$data,h;if(A?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",h="schema"+s):h=u,!(A||typeof u=="number"))throw new Error(r+" must be number");var _=r=="maxLength"?">":"<";i+="if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),t.opts.unicode===!1?i+=" "+g+".length ":i+=" ucs2length("+g+") ",i+=" "+_+" "+h+") { ";var E=r,b=b||[];b.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(E||"_limitLength")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { limit: "+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT be ",r=="maxLength"?i+="longer":i+="shorter",i+=" than ",A?i+="' + "+h+" + '":i+=""+u,i+=" characters' "),t.opts.verbose&&(i+=" , schema: ",A?i+="validate.schema"+l:i+=""+u,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var D=i;return i=b.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+D+"]); ":i+=" validate.errors = ["+D+"]; return false; ":i+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",p&&(i+=" else { "),i}});var rsn=j((q2A,h6s)=>{"use strict";h6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,E,g="data"+(a||""),A=t.opts.$data&&u&&u.$data,h;if(A?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",h="schema"+s):h=u,!(A||typeof u=="number"))throw new Error(r+" must be number");var _=r=="maxProperties"?">":"<";i+="if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'number') || "),i+=" Object.keys("+g+").length "+_+" "+h+") { ";var E=r,b=b||[];b.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(E||"_limitProperties")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { limit: "+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have ",r=="maxProperties"?i+="more":i+="fewer",i+=" than ",A?i+="' + "+h+" + '":i+=""+u,i+=" properties' "),t.opts.verbose&&(i+=" , schema: ",A?i+="validate.schema"+l:i+=""+u,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var D=i;return i=b.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+D+"]); ":i+=" validate.errors = ["+D+"]; return false; ":i+=" var err = "+D+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",p&&(i+=" else { "),i}});var _6s=j((Y2A,y6s)=>{"use strict";y6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A=t.opts.$data&&u&&u.$data,h;if(A?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",h="schema"+s):h=u,!(A||typeof u=="number"))throw new Error(r+" must be number");i+="var division"+s+";if (",A&&(i+=" "+h+" !== undefined && ( typeof "+h+" != 'number' || "),i+=" (division"+s+" = "+g+" / "+h+", ",t.opts.multipleOfPrecision?i+=" Math.abs(Math.round(division"+s+") - division"+s+") > 1e-"+t.opts.multipleOfPrecision+" ":i+=" division"+s+" !== parseInt(division"+s+") ",i+=" ) ",A&&(i+=" ) "),i+=" ) { ";var _=_||[];_.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'multipleOf' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { multipleOf: "+h+" } ",t.opts.messages!==!1&&(i+=" , message: 'should be multiple of ",A?i+="' + "+h:i+=""+h+"'"),t.opts.verbose&&(i+=" , schema: ",A?i+="validate.schema"+l:i+=""+u,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var E=i;return i=_.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+E+"]); ":i+=" validate.errors = ["+E+"]; return false; ":i+=" var err = "+E+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",p&&(i+=" else { "),i}});var x6s=j((G2A,E6s)=>{"use strict";E6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="errs__"+s,h=t.util.copy(t);h.level++;var _="valid"+h.level;if(t.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:t.util.schemaHasRules(u,t.RULES.all)){h.schema=u,h.schemaPath=l,h.errSchemaPath=f,i+=" var "+A+" = errors; ";var E=t.compositeRule;t.compositeRule=h.compositeRule=!0,h.createErrors=!1;var b;h.opts.allErrors&&(b=h.opts.allErrors,h.opts.allErrors=!1),i+=" "+t.validate(h)+" ",h.createErrors=!0,b&&(h.opts.allErrors=b),t.compositeRule=h.compositeRule=E,i+=" if ("+_+") { ";var D=D||[];D.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'not' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: {} ",t.opts.messages!==!1&&(i+=" , message: 'should NOT be valid' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var k=i;i=D.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+k+"]); ":i+=" validate.errors = ["+k+"]; return false; ":i+=" var err = "+k+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { errors = "+A+"; if (vErrors !== null) { if ("+A+") vErrors.length = "+A+"; else vErrors = null; } ",t.opts.allErrors&&(i+=" } ")}else i+=" var err = ",t.createErrors!==!1?(i+=" { keyword: 'not' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: {} ",t.opts.messages!==!1&&(i+=" , message: 'should NOT be valid' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",p&&(i+=" if (false) { ");return i}});var C6s=j((V2A,v6s)=>{"use strict";v6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h="errs__"+s,_=t.util.copy(t),E="";_.level++;var b="valid"+_.level,D=_.baseId,k="prevValid"+s,M="passingSchemas"+s;i+="var "+h+" = errors , "+k+" = false , "+A+" = false , "+M+" = null; ";var R=t.compositeRule;t.compositeRule=_.compositeRule=!0;var q=u;if(q)for(var G,K=-1,Z=q.length-1;K0||G===!1:t.util.schemaHasRules(G,t.RULES.all))?(_.schema=G,_.schemaPath=l+"["+K+"]",_.errSchemaPath=f+"/"+K,i+=" "+t.validate(_)+" ",_.baseId=D):i+=" var "+b+" = true; ",K&&(i+=" if ("+b+" && "+k+") { "+A+" = false; "+M+" = ["+M+", "+K+"]; } else { ",E+="}"),i+=" if ("+b+") { "+A+" = "+k+" = true; "+M+" = "+K+"; }";return t.compositeRule=_.compositeRule=R,i+=""+E+"if (!"+A+") { var err = ",t.createErrors!==!1?(i+=" { keyword: 'oneOf' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { passingSchemas: "+M+" } ",t.opts.messages!==!1&&(i+=" , message: 'should match exactly one schema in oneOf' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ",i+="; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",!t.compositeRule&&p&&(t.async?i+=" throw new ValidationError(vErrors); ":i+=" validate.errors = vErrors; return false; "),i+="} else { errors = "+h+"; if (vErrors !== null) { if ("+h+") vErrors.length = "+h+"; else vErrors = null; }",t.opts.allErrors&&(i+=" } "),i}});var I6s=j(($2A,b6s)=>{"use strict";b6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A=t.opts.$data&&u&&u.$data,h;A?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",h="schema"+s):h=u;var _=A?"(new RegExp("+h+"))":t.usePattern(u);i+="if ( ",A&&(i+=" ("+h+" !== undefined && typeof "+h+" != 'string') || "),i+=" !"+_+".test("+g+") ) { ";var E=E||[];E.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'pattern' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { pattern: ",A?i+=""+h:i+=""+t.util.toQuotedString(u),i+=" } ",t.opts.messages!==!1&&(i+=` , message: 'should match pattern "`,A?i+="' + "+h+" + '":i+=""+t.util.escapeQuotes(u),i+=`"' `),t.opts.verbose&&(i+=" , schema: ",A?i+="validate.schema"+l:i+=""+t.util.toQuotedString(u),i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var b=i;return i=E.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+b+"]); ":i+=" validate.errors = ["+b+"]; return false; ":i+=" var err = "+b+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+="} ",p&&(i+=" else { "),i}});var T6s=j((K2A,S6s)=>{"use strict";S6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="errs__"+s,h=t.util.copy(t),_="";h.level++;var E="valid"+h.level,b="key"+s,D="idx"+s,k=h.dataLevel=t.dataLevel+1,M="data"+k,R="dataProperties"+s,q=Object.keys(u||{}).filter(Le),G=t.schema.patternProperties||{},K=Object.keys(G).filter(Le),Z=t.schema.additionalProperties,oe=q.length||K.length,ue=Z===!1,me=typeof Z=="object"&&Object.keys(Z).length,Te=t.opts.removeAdditional,le=ue||me||Te,ae=t.opts.ownProperties,Ae=t.baseId,De=t.schema.required;if(De&&!(t.opts.$data&&De.$data)&&De.length8)i+=" || validate.schema"+l+".hasOwnProperty("+b+") ";else{var qe=q;if(qe)for(var at,st=-1,Ur=qe.length-1;st0||Sn===!1:t.util.schemaHasRules(Sn,t.RULES.all)){var wn=t.util.getProperty(at),Bt=g+wn,Wt=wr&&Sn.default!==void 0;h.schema=Sn,h.schemaPath=l+wn,h.errSchemaPath=f+"/"+t.util.escapeFragment(at),h.errorPath=t.util.getPath(t.errorPath,at,t.opts.jsonPointers),h.dataPathArr[k]=t.util.toQuotedString(at);var Xt=t.validate(h);if(h.baseId=Ae,t.util.varOccurences(Xt,M)<2){Xt=t.util.varReplace(Xt,M,Bt);var us=Bt}else{var us=M;i+=" var "+M+" = "+Bt+"; "}if(Wt)i+=" "+Xt+" ";else{if(_e&&_e[at]){i+=" if ( "+us+" === undefined ",ae&&(i+=" || ! Object.prototype.hasOwnProperty.call("+g+", '"+t.util.escapeQuotes(at)+"') "),i+=") { "+E+" = false; ";var lr=t.errorPath,Nt=f,na=t.util.escapeQuotes(at);t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPath(lr,at,t.opts.jsonPointers)),f=t.errSchemaPath+"/required";var sr=sr||[];sr.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { missingProperty: '"+na+"' } ",t.opts.messages!==!1&&(i+=" , message: '",t.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+na+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var Nr=i;i=sr.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+Nr+"]); ":i+=" validate.errors = ["+Nr+"]; return false; ":i+=" var err = "+Nr+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",f=Nt,t.errorPath=lr,i+=" } else { "}else p?(i+=" if ( "+us+" === undefined ",ae&&(i+=" || ! Object.prototype.hasOwnProperty.call("+g+", '"+t.util.escapeQuotes(at)+"') "),i+=") { "+E+" = true; } else { "):(i+=" if ("+us+" !== undefined ",ae&&(i+=" && Object.prototype.hasOwnProperty.call("+g+", '"+t.util.escapeQuotes(at)+"') "),i+=" ) { ");i+=" "+Xt+" } "}}p&&(i+=" if ("+E+") { ",_+="}")}}if(K.length){var Na=K;if(Na)for(var xr,Di=-1,ki=Na.length-1;Di0||Sn===!1:t.util.schemaHasRules(Sn,t.RULES.all)){h.schema=Sn,h.schemaPath=t.schemaPath+".patternProperties"+t.util.getProperty(xr),h.errSchemaPath=t.errSchemaPath+"/patternProperties/"+t.util.escapeFragment(xr),ae?i+=" "+R+" = "+R+" || Object.keys("+g+"); for (var "+D+"=0; "+D+"<"+R+".length; "+D+"++) { var "+b+" = "+R+"["+D+"]; ":i+=" for (var "+b+" in "+g+") { ",i+=" if ("+t.usePattern(xr)+".test("+b+")) { ",h.errorPath=t.util.getPathExpr(t.errorPath,b,t.opts.jsonPointers);var Bt=g+"["+b+"]";h.dataPathArr[k]=b;var Xt=t.validate(h);h.baseId=Ae,t.util.varOccurences(Xt,M)<2?i+=" "+t.util.varReplace(Xt,M,Bt)+" ":i+=" var "+M+" = "+Bt+"; "+Xt+" ",p&&(i+=" if (!"+E+") break; "),i+=" } ",p&&(i+=" else "+E+" = true; "),i+=" } ",p&&(i+=" if ("+E+") { ",_+="}")}}}return p&&(i+=" "+_+" if ("+A+" == errors) {"),i}});var w6s=j((J2A,D6s)=>{"use strict";D6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="errs__"+s,h=t.util.copy(t),_="";h.level++;var E="valid"+h.level;if(i+="var "+A+" = errors;",t.opts.strictKeywords?typeof u=="object"&&Object.keys(u).length>0||u===!1:t.util.schemaHasRules(u,t.RULES.all)){h.schema=u,h.schemaPath=l,h.errSchemaPath=f;var b="key"+s,D="idx"+s,k="i"+s,M="' + "+b+" + '",R=h.dataLevel=t.dataLevel+1,q="data"+R,G="dataProperties"+s,K=t.opts.ownProperties,Z=t.baseId;K&&(i+=" var "+G+" = undefined; "),K?i+=" "+G+" = "+G+" || Object.keys("+g+"); for (var "+D+"=0; "+D+"<"+G+".length; "+D+"++) { var "+b+" = "+G+"["+D+"]; ":i+=" for (var "+b+" in "+g+") { ",i+=" var startErrs"+s+" = errors; ";var oe=b,ue=t.compositeRule;t.compositeRule=h.compositeRule=!0;var me=t.validate(h);h.baseId=Z,t.util.varOccurences(me,q)<2?i+=" "+t.util.varReplace(me,q,oe)+" ":i+=" var "+q+" = "+oe+"; "+me+" ",t.compositeRule=h.compositeRule=ue,i+=" if (!"+E+") { for (var "+k+"=startErrs"+s+"; "+k+"{"use strict";B6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h=t.opts.$data&&u&&u.$data,_;h?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",_="schema"+s):_=u;var E="schema"+s;if(!h)if(u.length0||q===!1:t.util.schemaHasRules(q,t.RULES.all))||(b[b.length]=k)}}else var b=u;if(h||b.length){var G=t.errorPath,K=h||b.length>=t.opts.loopRequired,Z=t.opts.ownProperties;if(p)if(i+=" var missing"+s+"; ",K){h||(i+=" var "+E+" = validate.schema"+l+"; ");var oe="i"+s,ue="schema"+s+"["+oe+"]",me="' + "+ue+" + '";t.opts._errorDataPathProperty&&(t.errorPath=t.util.getPathExpr(G,ue,t.opts.jsonPointers)),i+=" var "+A+" = true; ",h&&(i+=" if (schema"+s+" === undefined) "+A+" = true; else if (!Array.isArray(schema"+s+")) "+A+" = false; else {"),i+=" for (var "+oe+" = 0; "+oe+" < "+E+".length; "+oe+"++) { "+A+" = "+g+"["+E+"["+oe+"]] !== undefined ",Z&&(i+=" && Object.prototype.hasOwnProperty.call("+g+", "+E+"["+oe+"]) "),i+="; if (!"+A+") break; } ",h&&(i+=" } "),i+=" if (!"+A+") { ";var Te=Te||[];Te.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'required' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { missingProperty: '"+me+"' } ",t.opts.messages!==!1&&(i+=" , message: '",t.opts._errorDataPathProperty?i+="is a required property":i+="should have required property \\'"+me+"\\'",i+="' "),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var le=i;i=Te.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+le+"]); ":i+=" validate.errors = ["+le+"]; return false; ":i+=" var err = "+le+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } else { "}else{i+=" if ( ";var ae=b;if(ae)for(var Ae,oe=-1,De=ae.length-1;oe{"use strict";P6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g="data"+(a||""),A="valid"+s,h=t.opts.$data&&u&&u.$data,_;if(h?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",_="schema"+s):_=u,(u||h)&&t.opts.uniqueItems!==!1){h&&(i+=" var "+A+"; if ("+_+" === false || "+_+" === undefined) "+A+" = true; else if (typeof "+_+" != 'boolean') "+A+" = false; else { "),i+=" var i = "+g+".length , "+A+" = true , j; if (i > 1) { ";var E=t.schema.items&&t.schema.items.type,b=Array.isArray(E);if(!E||E=="object"||E=="array"||b&&(E.indexOf("object")>=0||E.indexOf("array")>=0))i+=" outer: for (;i--;) { for (j = i; j--;) { if (equal("+g+"[i], "+g+"[j])) { "+A+" = false; break outer; } } } ";else{i+=" var itemIndices = {}, item; for (;i--;) { var item = "+g+"[i]; ";var D="checkDataType"+(b?"s":"");i+=" if ("+t.util[D](E,"item",t.opts.strictNumbers,!0)+") continue; ",b&&(i+=` if (typeof item == 'string') item = '"' + item; `),i+=" if (typeof itemIndices[item] == 'number') { "+A+" = false; j = itemIndices[item]; break; } itemIndices[item] = i; } "}i+=" } ",h&&(i+=" } "),i+=" if (!"+A+") { ";var k=k||[];k.push(i),i="",t.createErrors!==!1?(i+=" { keyword: 'uniqueItems' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { i: i, j: j } ",t.opts.messages!==!1&&(i+=" , message: 'should NOT have duplicate items (items ## ' + j + ' and ' + i + ' are identical)' "),t.opts.verbose&&(i+=" , schema: ",h?i+="validate.schema"+l:i+=""+u,i+=" , parentSchema: validate.schema"+t.schemaPath+" , data: "+g+" "),i+=" } "):i+=" {} ";var M=i;i=k.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+M+"]); ":i+=" validate.errors = ["+M+"]; return false; ":i+=" var err = "+M+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ",i+=" } ",p&&(i+=" else { ")}else p&&(i+=" if (true) { ");return i}});var R6s=j((W2A,O6s)=>{"use strict";O6s.exports={$ref:KBs(),allOf:HBs(),anyOf:WBs(),$comment:ZBs(),const:t6s(),contains:n6s(),dependencies:s6s(),enum:o6s(),format:l6s(),if:f6s(),items:d6s(),maximum:Zin(),minimum:Zin(),maxItems:esn(),minItems:esn(),maxLength:tsn(),minLength:tsn(),maxProperties:rsn(),minProperties:rsn(),multipleOf:_6s(),not:x6s(),oneOf:C6s(),pattern:I6s(),properties:T6s(),propertyNames:w6s(),required:k6s(),uniqueItems:N6s(),validate:Win()}});var M6s=j((X2A,L6s)=>{"use strict";var F6s=R6s(),nsn=e5e().toHash;L6s.exports=function(){var t=[{type:"number",rules:[{maximum:["exclusiveMaximum"]},{minimum:["exclusiveMinimum"]},"multipleOf","format"]},{type:"string",rules:["maxLength","minLength","pattern","format"]},{type:"array",rules:["maxItems","minItems","items","contains","uniqueItems"]},{type:"object",rules:["maxProperties","minProperties","required","dependencies","propertyNames",{properties:["additionalProperties","patternProperties"]}]},{rules:["$ref","const","enum","not","anyOf","oneOf","allOf","if"]}],r=["type","$comment"],n=["$schema","$id","id","$data","$async","title","description","default","definitions","examples","readOnly","writeOnly","contentMediaType","contentEncoding","additionalItems","then","else"],i=["number","integer","string","array","object","boolean","null"];return t.all=nsn(r),t.types=nsn(i),t.forEach(function(s){s.rules=s.rules.map(function(a){var u;if(typeof a=="object"){var l=Object.keys(a)[0];u=a[l],a=l,u.forEach(function(p){r.push(p),t.all[p]=!0})}r.push(a);var f=t.all[a]={keyword:a,code:F6s[a],implements:u};return f}),t.all.$comment={keyword:"$comment",code:F6s.$comment},s.type&&(t.types[s.type]=s)}),t.keywords=nsn(r.concat(n)),t.custom={},t}});var U6s=j((Z2A,j6s)=>{"use strict";var Q6s=["multipleOf","maximum","exclusiveMaximum","minimum","exclusiveMinimum","maxLength","minLength","pattern","additionalItems","maxItems","minItems","uniqueItems","maxProperties","minProperties","required","additionalProperties","enum","format","const"];j6s.exports=function(e,t){for(var r=0;r{"use strict";var yRl=LKt().MissingRef;Y6s.exports=q6s;function q6s(e,t,r){var n=this;if(typeof this._opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");typeof t=="function"&&(r=t,t=void 0);var i=s(e).then(function(){var u=n._addSchema(e,void 0,t);return u.validate||a(u)});return r&&i.then(function(u){r(null,u)},r),i;function s(u){var l=u.$schema;return l&&!n.getSchema(l)?q6s.call(n,{$ref:l},!0):Promise.resolve()}function a(u){try{return n._compile(u)}catch(f){if(f instanceof yRl)return l(f);throw f}function l(f){var p=f.missingSchema;if(h(p))throw new Error("Schema "+p+" is loaded but "+f.missingRef+" cannot be resolved");var g=n._loadingSchemas[p];return g||(g=n._loadingSchemas[p]=n._opts.loadSchema(p),g.then(A,A)),g.then(function(_){if(!h(p))return s(_).then(function(){h(p)||n.addSchema(_,p,void 0,t)})}).then(function(){return a(u)});function A(){delete n._loadingSchemas[p]}function h(_){return n._refs[_]||n._schemas[_]}}}}});var $6s=j((tvA,V6s)=>{"use strict";V6s.exports=function(t,r,n){var i=" ",s=t.level,a=t.dataLevel,u=t.schema[r],l=t.schemaPath+t.util.getProperty(r),f=t.errSchemaPath+"/"+r,p=!t.opts.allErrors,g,A="data"+(a||""),h="valid"+s,_="errs__"+s,E=t.opts.$data&&u&&u.$data,b;E?(i+=" var schema"+s+" = "+t.util.getData(u.$data,a,t.dataPathArr)+"; ",b="schema"+s):b=u;var D=this,k="definition"+s,M=D.definition,R="",q,G,K,Z,oe;if(E&&M.$data){oe="keywordValidate"+s;var ue=M.validateSchema;i+=" var "+k+" = RULES.custom['"+r+"'].definition; var "+oe+" = "+k+".validate;"}else{if(Z=t.useCustomRule(D,u,t.schema,t),!Z)return;b="validate.schema"+l,oe=Z.code,q=M.compile,G=M.inline,K=M.macro}var me=oe+".errors",Te="i"+s,le="ruleErr"+s,ae=M.async;if(ae&&!t.async)throw new Error("async keyword in sync schema");if(G||K||(i+=""+me+" = null;"),i+="var "+_+" = errors;var "+h+";",E&&M.$data&&(R+="}",i+=" if ("+b+" === undefined) { "+h+" = true; } else { ",ue&&(R+="}",i+=" "+h+" = "+k+".validateSchema("+b+"); if ("+h+") { ")),G)M.statements?i+=" "+Z.validate+" ":i+=" "+h+" = "+Z.validate+"; ";else if(K){var Ae=t.util.copy(t),R="";Ae.level++;var De="valid"+Ae.level;Ae.schema=Z.validate,Ae.schemaPath="";var _e=t.compositeRule;t.compositeRule=Ae.compositeRule=!0;var Le=t.validate(Ae).replace(/validate\.schema/g,oe);t.compositeRule=Ae.compositeRule=_e,i+=" "+Le}else{var qe=qe||[];qe.push(i),i="",i+=" "+oe+".call( ",t.opts.passContext?i+="this":i+="self",q||M.schema===!1?i+=" , "+A+" ":i+=" , "+b+" , "+A+" , validate.schema"+t.schemaPath+" ",i+=" , (dataPath || '')",t.errorPath!='""'&&(i+=" + "+t.errorPath);var at=a?"data"+(a-1||""):"parentData",st=a?t.dataPathArr[a]:"parentDataProperty";i+=" , "+at+" , "+st+" , rootData ) ";var Ur=i;i=qe.pop(),M.errors===!1?(i+=" "+h+" = ",ae&&(i+="await "),i+=""+Ur+"; "):ae?(me="customErrors"+s,i+=" var "+me+" = null; try { "+h+" = await "+Ur+"; } catch (e) { "+h+" = false; if (e instanceof ValidationError) "+me+" = e.errors; else throw e; } "):i+=" "+me+" = null; "+h+" = "+Ur+"; "}if(M.modifying&&(i+=" if ("+at+") "+A+" = "+at+"["+st+"];"),i+=""+R,M.valid)p&&(i+=" if (true) { ");else{i+=" if ( ",M.valid===void 0?(i+=" !",K?i+=""+De:i+=""+h):i+=" "+!M.valid+" ",i+=") { ",g=D.keyword;var qe=qe||[];qe.push(i),i="";var qe=qe||[];qe.push(i),i="",t.createErrors!==!1?(i+=" { keyword: '"+(g||"custom")+"' , dataPath: (dataPath || '') + "+t.errorPath+" , schemaPath: "+t.util.toQuotedString(f)+" , params: { keyword: '"+D.keyword+"' } ",t.opts.messages!==!1&&(i+=` , message: 'should pass "`+D.keyword+`" keyword validation' `),t.opts.verbose&&(i+=" , schema: validate.schema"+l+" , parentSchema: validate.schema"+t.schemaPath+" , data: "+A+" "),i+=" } "):i+=" {} ";var Sr=i;i=qe.pop(),!t.compositeRule&&p?t.async?i+=" throw new ValidationError(["+Sr+"]); ":i+=" validate.errors = ["+Sr+"]; return false; ":i+=" var err = "+Sr+"; if (vErrors === null) vErrors = [err]; else vErrors.push(err); errors++; ";var xr=i;i=qe.pop(),G?M.errors?M.errors!="full"&&(i+=" for (var "+Te+"="+_+"; "+Te+"{"use strict";var K6s=require("./json-schema-draft-07-CH6E2TGX.json");J6s.exports={$id:"https://github.com/ajv-validator/ajv/blob/master/lib/definition_schema.js",definitions:{simpleTypes:K6s.definitions.simpleTypes},type:"object",dependencies:{schema:["validate"],$data:["validate"],statements:["inline"],valid:{not:{required:["macro"]}}},properties:{type:K6s.properties.type,schema:{type:"boolean"},statements:{type:"boolean"},dependencies:{type:"array",items:{type:"string"}},metaSchema:{type:"object"},modifying:{type:"boolean"},valid:{type:"boolean"},$data:{type:"boolean"},async:{type:"boolean"},errors:{anyOf:[{type:"boolean"},{const:"full"}]}}}});var W6s=j((nvA,z6s)=>{"use strict";var _Rl=/^[a-z_$][a-z0-9_$-]*$/i,ERl=$6s(),xRl=H6s();z6s.exports={add:vRl,get:CRl,remove:bRl,validate:isn};function vRl(e,t){var r=this.RULES;if(r.keywords[e])throw new Error("Keyword "+e+" is already defined");if(!_Rl.test(e))throw new Error("Keyword "+e+" is not a valid identifier");if(t){this.validateKeyword(t,!0);var n=t.type;if(Array.isArray(n))for(var i=0;i{"use strict";var Z6s=kBs(),t5e=FKt(),IRl=NBs(),eks=Gin(),SRl=zin(),TRl=VBs(),DRl=M6s(),tks=U6s(),rks=e5e();aks.exports=i4;i4.prototype.validate=BRl;i4.prototype.compile=kRl;i4.prototype.addSchema=PRl;i4.prototype.addMetaSchema=NRl;i4.prototype.validateSchema=ORl;i4.prototype.getSchema=FRl;i4.prototype.removeSchema=MRl;i4.prototype.addFormat=$Rl;i4.prototype.errorsText=VRl;i4.prototype._addSchema=QRl;i4.prototype._compile=jRl;i4.prototype.compileAsync=G6s();var VKt=W6s();i4.prototype.addKeyword=VKt.add;i4.prototype.getKeyword=VKt.get;i4.prototype.removeKeyword=VKt.remove;i4.prototype.validateKeyword=VKt.validate;var nks=LKt();i4.ValidationError=nks.Validation;i4.MissingRefError=nks.MissingRef;i4.$dataMetaSchema=tks;var GKt="http://json-schema.org/draft-07/schema",X6s=["removeAdditional","useDefaults","coerceTypes","strictDefaults"],wRl=["/properties"];function i4(e){if(!(this instanceof i4))return new i4(e);e=this._opts=rks.copy(e)||{},XRl(this),this._schemas={},this._refs={},this._fragments={},this._formats=TRl(e.format),this._cache=e.cache||new IRl,this._loadingSchemas={},this._compilations=[],this.RULES=DRl(),this._getId=URl(e),e.loopRequired=e.loopRequired||1/0,e.errorDataPath=="property"&&(e._errorDataPathProperty=!0),e.serialize===void 0&&(e.serialize=SRl),this._metaOpts=WRl(this),e.formats&&HRl(this),e.keywords&&zRl(this),KRl(this),typeof e.meta=="object"&&this.addMetaSchema(e.meta),e.nullable&&this.addKeyword("nullable",{metaSchema:{type:"boolean"}}),JRl(this)}function BRl(e,t){var r;if(typeof e=="string"){if(r=this.getSchema(e),!r)throw new Error('no schema with key or ref "'+e+'"')}else{var n=this._addSchema(e);r=n.validate||this._compile(n)}var i=r(t);return r.$async!==!0&&(this.errors=r.errors),i}function kRl(e,t){var r=this._addSchema(e,void 0,t);return r.validate||this._compile(r)}function PRl(e,t,r,n){if(Array.isArray(e)){for(var i=0;i{"use strict";oks.exports=require("./globals-XSB3W6DC.json")});var Eks=j(csn=>{"use strict";Object.defineProperty(csn,"__esModule",{value:!0});var ZRl=require("node:util"),eFl=require("node:path"),tFl=$Kt(),rFl=asn();function HKt(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var nFl=HKt(ZRl),iFl=HKt(eFl),sFl=HKt(tFl),xT=HKt(rFl),Ept=["off","warn","error"],aFl=Ept.reduce((e,t,r)=>(e[t]=r,e),{}),oFl=new Set([0,1,2,"off","warn","error"]);function gks(e){let t=Array.isArray(e)?e[0]:e;return t===0||t===1||t===2?t:typeof t=="string"&&aFl[t.toLowerCase()]||0}function uFl(e){e.rules&&Object.keys(e.rules).forEach(t=>{let r=e.rules[t];typeof r=="number"?e.rules[t]=Ept[r]||Ept[0]:Array.isArray(r)&&typeof r[0]=="number"&&(r[0]=Ept[r[0]]||Ept[0])})}function lFl(e){return gks(e)===2}function Aks(e){let t=Array.isArray(e)?e[0]:e;return typeof t=="string"&&(t=t.toLowerCase()),oFl.has(t)}function cFl(e){return Object.keys(e).every(t=>Aks(e[t]))}function hks(e){switch(e){case"off":return"off";case!0:case"true":case"writeable":case"writable":return"writable";case null:case!1:case"false":case"readable":case"readonly":return"readonly";default:throw new Error(`'${e}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}var fFl={__proto__:null,getRuleSeverity:gks,normalizeToStrings:uFl,isErrorSeverity:lFl,isValidSeverity:Aks,isEverySeverityValid:cFl,normalizeConfigGlobal:hks},pFl={ESLINT_LEGACY_ECMAFEATURES:"The 'ecmaFeatures' config file property is deprecated and has no effect.",ESLINT_PERSONAL_CONFIG_LOAD:"'~/.eslintrc.*' config files have been deprecated. Please use a config file per project or the '--config' option.",ESLINT_PERSONAL_CONFIG_SUPPRESS:"'~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally."},uks=new Set;function dFl(e,t){let r=JSON.stringify({source:e,errorCode:t});if(uks.has(r))return;uks.add(r);let n=iFl.default.relative(process.cwd(),e),i=pFl[t];process.emitWarning(`${i} (found in "${n}")`,"DeprecationWarning",t)}var lks={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string"},$schema:{type:"string"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},mFl=(e={})=>{let t=new sFl.default({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...e});return t.addMetaSchema(lks),t._opts.defaultMeta=lks.id,t};function cks(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function yks(e,t){if(t===void 0)return e;if(!cks(e)||!cks(t))return t;let r={...e,...t};for(let n of Object.keys(t))Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=yks(e[n],t[n]));return r}function gFl(e,t){return!e||!t?t||e||[]:[...e.map((r,n)=>yks(r,t[n])),...t.slice(e.length)]}var fks={$schema:{type:"string"},env:{type:"object"},extends:{$ref:"#/definitions/stringOrStrings"},globals:{type:"object"},overrides:{type:"array",items:{$ref:"#/definitions/overrideConfig"},additionalItems:!1},parser:{type:["string","null"]},parserOptions:{type:"object"},plugins:{type:"array"},processor:{type:"string"},rules:{type:"object"},settings:{type:"object"},noInlineConfig:{type:"boolean"},reportUnusedDisableDirectives:{type:"boolean"},ecmaFeatures:{type:"object"}},AFl={definitions:{stringOrStrings:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1}]},stringOrStringsRequired:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1,minItems:1}]},objectConfig:{type:"object",properties:{root:{type:"boolean"},ignorePatterns:{$ref:"#/definitions/stringOrStrings"},...fks},additionalProperties:!1},overrideConfig:{type:"object",properties:{excludedFiles:{$ref:"#/definitions/stringOrStrings"},files:{$ref:"#/definitions/stringOrStringsRequired"},...fks},required:["files"],additionalProperties:!1}},$ref:"#/definitions/objectConfig"};function hFl(e,t){let r={};for(let[n,i]of Object.entries(e))Object.hasOwn(t,n)||(r[n]=i);return r}var hse=hFl(xT.default.es2015,xT.default.es5),iTe={Atomics:!1,SharedArrayBuffer:!1},_pt={BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},KKt={AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1},_ks=new Map(Object.entries({builtin:{globals:xT.default.es5},es6:{globals:hse,parserOptions:{ecmaVersion:6}},es2015:{globals:hse,parserOptions:{ecmaVersion:6}},es2016:{globals:hse,parserOptions:{ecmaVersion:7}},es2017:{globals:{...hse,...iTe},parserOptions:{ecmaVersion:8}},es2018:{globals:{...hse,...iTe},parserOptions:{ecmaVersion:9}},es2019:{globals:{...hse,...iTe},parserOptions:{ecmaVersion:10}},es2020:{globals:{...hse,...iTe,..._pt},parserOptions:{ecmaVersion:11}},es2021:{globals:{...hse,...iTe,..._pt,...KKt},parserOptions:{ecmaVersion:12}},es2022:{globals:{...hse,...iTe,..._pt,...KKt},parserOptions:{ecmaVersion:13}},es2023:{globals:{...hse,...iTe,..._pt,...KKt},parserOptions:{ecmaVersion:14}},es2024:{globals:{...hse,...iTe,..._pt,...KKt},parserOptions:{ecmaVersion:15}},browser:{globals:xT.default.browser},node:{globals:xT.default.node,parserOptions:{ecmaFeatures:{globalReturn:!0}}},"shared-node-browser":{globals:xT.default["shared-node-browser"]},worker:{globals:xT.default.worker},serviceworker:{globals:xT.default.serviceworker},commonjs:{globals:xT.default.commonjs,parserOptions:{ecmaFeatures:{globalReturn:!0}}},amd:{globals:xT.default.amd},mocha:{globals:xT.default.mocha},jasmine:{globals:xT.default.jasmine},jest:{globals:xT.default.jest},phantomjs:{globals:xT.default.phantomjs},jquery:{globals:xT.default.jquery},qunit:{globals:xT.default.qunit},prototypejs:{globals:xT.default.prototypejs},shelljs:{globals:xT.default.shelljs},meteor:{globals:xT.default.meteor},mongo:{globals:xT.default.mongo},protractor:{globals:xT.default.protractor},applescript:{globals:xT.default.applescript},nashorn:{globals:xT.default.nashorn},atomtest:{globals:xT.default.atomtest},embertest:{globals:xT.default.embertest},webextensions:{globals:xT.default.webextensions},greasemonkey:{globals:xT.default.greasemonkey}})),pks=mFl(),osn=new WeakMap,dks=Function.prototype,JKt,yFl={error:2,warn:1,off:0},mks=new WeakSet,usn=Object.freeze({type:"array",minItems:0,maxItems:0}),lsn=class{constructor({builtInRules:t=new Map}={}){this.builtInRules=t}getRuleOptionsSchema(t){if(!t)return null;if(!t.meta)return{...usn};let r=t.meta.schema;if(typeof r>"u")return{...usn};if(r===!1)return null;if(typeof r!="object"||r===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(r)?r.length?{type:"array",items:r,minItems:0,maxItems:r.length}:{...usn}:r}validateRuleSeverity(t){let r=Array.isArray(t)?t[0]:t,n=typeof r=="string"?yFl[r.toLowerCase()]:r;if(n===0||n===1||n===2)return n;throw new Error(` Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${nFl.default.inspect(r).replace(/'/gu,'"').replace(/\n/gu,"")}'). `)}validateRuleSchema(t,r){if(!osn.has(t))try{let i=this.getRuleOptionsSchema(t);i&&osn.set(t,pks.compile(i))}catch(i){let s=new Error(i.message,{cause:i});throw s.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA",s}let n=osn.get(t);if(n){let i=gFl(t.meta?.defaultOptions,r);if(n(i),n.errors)throw new Error(n.errors.map(s=>` Value ${JSON.stringify(s.data)} ${s.message}. `).join(""))}}validateRuleOptions(t,r,n,i=null){try{this.validateRuleSeverity(n)!==0&&this.validateRuleSchema(t,Array.isArray(n)?n.slice(1):[])}catch(s){let a=s.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"?`Error while processing options validation schema of rule '${r}': ${s.message}`:`Configuration for rule "${r}" is invalid: ${s.message}`;typeof i=="string"&&(a=`${i}: ${a}`);let u=new Error(a,{cause:s});throw s.code&&(u.code=s.code),u}}validateEnvironment(t,r,n=dks){t&&Object.keys(t).forEach(i=>{if(!(n(i)||_ks.get(i)||null)){let a=`${r}: Environment key "${i}" is unknown `;throw new Error(a)}})}validateRules(t,r,n=dks){t&&Object.keys(t).forEach(i=>{let s=n(i)||this.builtInRules.get(i)||null;this.validateRuleOptions(s,i,t[i],r)})}validateGlobals(t,r=null){t&&Object.entries(t).forEach(([n,i])=>{try{hks(i)}catch(s){throw new Error(`ESLint configuration of global '${n}' in ${r} is invalid: ${s.message}`)}})}validateProcessor(t,r,n){if(t&&!n(t))throw new Error(`ESLint configuration of processor in '${r}' is invalid: '${t}' was not found.`)}formatErrors(t){return t.map(r=>{if(r.keyword==="additionalProperties")return`Unexpected top-level property "${r.dataPath.length?`${r.dataPath.slice(1)}.${r.params.additionalProperty}`:r.params.additionalProperty}"`;if(r.keyword==="type"){let i=r.dataPath.slice(1),s=Array.isArray(r.schema)?r.schema.join("/"):r.schema,a=JSON.stringify(r.data);return`Property "${i}" is the wrong type (expected ${s} but got \`${a}\`)`}return`"${r.dataPath[0]==="."?r.dataPath.slice(1):r.dataPath}" ${r.message}. Value: ${JSON.stringify(r.data)}`}).map(r=>` - ${r}. `).join("")}validateConfigSchema(t,r=null){if(JKt=JKt||pks.compile(AFl),!JKt(t))throw new Error(`ESLint configuration in ${r} is invalid: ${this.formatErrors(JKt.errors)}`);Object.hasOwn(t,"ecmaFeatures")&&dFl(r,"ESLINT_LEGACY_ECMAFEATURES")}validate(t,r,n,i){this.validateConfigSchema(t,r),this.validateRules(t.rules,r,n),this.validateEnvironment(t.env,r,i),this.validateGlobals(t.globals,r);for(let s of t.overrides||[])this.validateRules(s.rules,r,n),this.validateEnvironment(s.env,r,i),this.validateGlobals(t.globals,r)}validateConfigArray(t){let r=Map.prototype.get.bind(t.pluginEnvironments),n=Map.prototype.get.bind(t.pluginProcessors),i=Map.prototype.get.bind(t.pluginRules);for(let s of t)mks.has(s)||(mks.add(s),this.validateEnvironment(s.env,s.name,r),this.validateGlobals(s.globals,s.name),this.validateProcessor(s.processor,s.name,n),this.validateRules(s.rules,s.name,i))}},_Fl=/^@.*\//iu;function EFl(e,t){let r=e;if(r.includes("\\")&&(r=r.replace(/\\/gu,"/")),r.charAt(0)==="@"){let n=new RegExp(`^(@[^/]+)(?:/(?:${t})?)?$`,"u"),i=new RegExp(`^${t}(-|$)`,"u");n.test(r)?r=r.replace(n,`$1/${t}`):i.test(r.split("/")[1])||(r=r.replace(/^@([^/]+)\/(.*)$/u,`@$1/${t}-$2`))}else r.startsWith(`${t}-`)||(r=`${t}-${r}`);return r}function xFl(e,t){if(e[0]==="@"){let r=new RegExp(`^(@[^/]+)/${t}$`,"u").exec(e);if(r)return r[1];if(r=new RegExp(`^(@[^/]+)/${t}-(.+)$`,"u").exec(e),r)return`${r[1]}/${r[2]}`}else if(e.startsWith(`${t}-`))return e.slice(t.length+1);return e}function vFl(e){let t=e.match(_Fl);return t?t[0]:""}var CFl={__proto__:null,normalizePackageName:EFl,getShorthandName:xFl,getNamespaceFromTerm:vFl},bFl={environments:_ks,ConfigOps:fFl,ConfigValidator:lsn,naming:CFl};csn.Legacy=bFl});var fsn=j((ovA,Cks)=>{"use strict";function xks(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function vks(e,t){if(t===void 0)return e;if(!xks(e)||!xks(t))return t;let r={...e,...t};for(let n of Object.keys(t))Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=vks(e[n],t[n]));return r}function IFl(e,t){return!e||!t?t||e||[]:[...e.map((r,n)=>vks(r,n{"use strict";function SFl(e){if([2,"2","error"].includes(e))return"error";if([1,"1","warn"].includes(e))return"warn";if([0,"0","off"].includes(e))return"off";throw new Error(`Invalid severity value: ${e}`)}function TFl(e){if([2,"2","error"].includes(e))return 2;if([1,"1","warn"].includes(e))return 1;if([0,"0","off"].includes(e))return 0;throw new Error(`Invalid severity value: ${e}`)}bks.exports={normalizeSeverityToString:SFl,normalizeSeverityToNumber:TFl}});var zKt=j((lvA,kks)=>{"use strict";var{normalizeSeverityToNumber:Iks}=psn(),Sks=new Map([[0,0],["off",0],[1,1],["warn",1],[2,2],["error",2]]);function Tks(e){return typeof e=="object"&&e!==null}function msn(e){return Tks(e)&&!Array.isArray(e)}function DFl(e){return typeof e>"u"}function Esn(e,t,r=new Map){let n=r.get(e);if(n){let s=n.get(t);if(s)return s}else n=new Map,r.set(e,n);let i={...e,...t};delete i.__proto__,n.set(t,i);for(let s of Object.keys(t)){if(s==="__proto__"||!Object.prototype.propertyIsEnumerable.call(e,s))continue;let a=e[s],u=t[s];msn(a)&&msn(u)?i[s]=Esn(a,u,r):DFl(u)&&(i[s]=a)}return i}function dsn(e){let t=Array.isArray(e)?e.slice(0):[e];return t[0]=Sks.get(t[0]),structuredClone(t)}function Dks(e){for(let t of Object.keys(e))if(typeof e[t]=="function")return!0;return!1}var gsn=class extends Error{constructor(t,r){super(`Key "${t}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-options",this.messageData={ruleId:t,value:r}}};function wFl(e,t){if(typeof t!="string"&&typeof t!="number"&&!Array.isArray(t))throw new gsn(e,t)}var Asn=class extends Error{constructor(t,r){super(`Key "${t}": Expected severity of "off", 0, "warn", 1, "error", or 2.`),this.messageTemplate="invalid-rule-severity",this.messageData={ruleId:t,value:r}}};function hsn(e,t){if(typeof Sks.get(t)>"u")throw new Asn(e,t)}function wks(e){if(!/[\w\-@$]+(?:\/[\w\-$]+)+$/iu.test(e))throw new TypeError(`Expected string in the form "pluginName/objectName" but found "${e}".`)}function BFl(e){if(!Tks(e))throw new TypeError("Expected an object.")}var ysn=class extends Error{constructor(t){super("This appears to be in eslintrc format rather than flat config format."),this.messageTemplate="eslintrc-incompat",this.messageData={key:t}}},_sn=class extends Error{constructor(t){super("This appears to be in eslintrc format (array of strings) rather than flat config format (object)."),this.messageTemplate="eslintrc-plugins",this.messageData={plugins:t}}},kFl={merge:"replace",validate:"boolean"},Bks=new Set(["error","warn","off",2,1,0]),PFl={merge(e,t){let r=t===void 0?e:t;return typeof r=="boolean"?r?"warn":"off":Iks(r)},validate(e){if(!(Bks.has(e)||typeof e=="boolean"))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, 2, or a boolean.')}},NFl={merge(e,t){return Iks(t===void 0?e:t)},validate(e){if(!Bks.has(e))throw new TypeError('Expected one of: "error", "warn", "off", 0, 1, or 2.')}},OFl={merge(e={},t={}){return Esn(e,t)},validate:"object"},RFl={merge(e={},t={}){let r=Esn(e,t);for(let[n,i]of Object.entries(r))if(msn(i)){if(Dks(i)){r[n]=t[n]??e[n];continue}r[n]={...r[n]};continue}return r},validate:"object"},FFl={merge:"replace",validate:wks},LFl={merge(e={},t={}){let r=new Set([...Object.keys(e),...Object.keys(t)]),n={};for(let i of r)if(i!=="__proto__"){if(i in e&&i in t&&e[i]!==t[i])throw new TypeError(`Cannot redefine plugin "${i}".`);n[i]=t[i]||e[i]}return n},validate(e){if(e===null||typeof e!="object")throw new TypeError("Expected an object.");if(Array.isArray(e))throw new _sn(e);for(let t of Object.keys(e))if(t!=="__proto__"&&(e[t]===null||typeof e[t]!="object"))throw new TypeError(`Key "${t}": Expected an object.`)}},MFl={merge:"replace",validate(e){if(typeof e=="string")wks(e);else if(e&&typeof e=="object"){if(typeof e.preprocess!="function"||typeof e.postprocess!="function")throw new TypeError("Object must have a preprocess() and a postprocess() method.")}else throw new TypeError("Expected an object or a string.")}},QFl={merge(e={},t={}){let r={...e,...t};for(let n of Object.keys(r))try{if(n==="__proto__"){delete r.__proto__;continue}if(r[n]=dsn(r[n]),!(n in e)||!(n in t))continue;let i=dsn(e[n]),s=dsn(t[n]);if(s.length===1){r[n]=[s[0],...i.slice(1)];continue}}catch(i){throw new Error(`Key "${n}": ${i.message}`,{cause:i})}return r},validate(e){BFl(e);for(let t of Object.keys(e)){if(t==="__proto__")continue;let r=e[t];wFl(t,r),Array.isArray(r)?hsn(t,r[0]):hsn(t,r)}}};function jFl(e){return{merge:"replace",validate(){throw new ysn(e)}}}var UFl=["env","extends","globals","ignorePatterns","noInlineConfig","overrides","parser","parserOptions","reportUnusedDisableDirectives","root"],qFl={...Object.fromEntries(UFl.map(e=>[e,jFl(e)])),settings:OFl,linterOptions:{schema:{noInlineConfig:kFl,reportUnusedDisableDirectives:PFl,reportUnusedInlineConfigs:NFl}},language:FFl,languageOptions:RFl,processor:MFl,plugins:LFl,rules:QFl};kks.exports={flatConfigSchema:qFl,hasMethod:Dks,assertIsRuleSeverity:hsn}});var Mks=j(a4=>{"use strict";function Wfe(e){if(typeof e!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(e)}"`)}function YFl(e,t){if(t.length>=e.length)return e;let r=e.length-t.length;for(let n=t.length-1;n>=0;--n)if(e.charCodeAt(r+n)!==t.charCodeAt(n))return e;return e.slice(0,-t.length)}function GFl(e,t,r=0){let n=!1,i=e.length;for(let s=e.length-1;s>=r;--s)if(t(e.charCodeAt(s))){if(n){r=s+1;break}}else n||(n=!0,i=s+1);return e.slice(r,i)}function VFl(e,t){if(Wfe(e),e.length===0)return e;if(typeof t!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(t)}"`)}function $Fl(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function rVe(e){return e=$Fl(e),decodeURIComponent(e.pathname.replace(/%(?![0-9A-Fa-f]{2})/g,"%25"))}function Csn(e,t){if(e.length<=1)return e;let r=e.length;for(let n=e.length-1;n>0&&t(e.charCodeAt(n));n--)r=n;return e.slice(0,r)}var xpt=46,Pks=47;function s4(e){return e===Pks}function KFl(e,t=""){e instanceof URL&&(e=rVe(e)),VFl(e,t);let r=GFl(e,s4),n=Csn(r,s4);return t?YFl(n,t):n}var JFl=":",bsn="/",Nks=/\/+/;function HFl(e){if(Wfe(e),e.length===0)return"."}function zFl(e){e instanceof URL&&(e=rVe(e)),HFl(e);let t=-1,r=!1;for(let n=e.length-1;n>=1;--n)if(s4(e.charCodeAt(n))){if(r){t=n;break}}else r=!0;return t===-1?s4(e.charCodeAt(0))?"/":".":Csn(e.slice(0,t),s4)}function WFl(e){e instanceof URL&&(e=rVe(e)),Wfe(e);let t=-1,r=0,n=-1,i=!0,s=0;for(let a=e.length-1;a>=0;--a){let u=e.charCodeAt(a);if(s4(u)){if(!i){r=a+1;break}continue}n===-1&&(i=!1,n=a+1),u===xpt?t===-1?t=a:s!==1&&(s=1):t!==-1&&(s=-1)}return t===-1||n===-1||s===0||s===1&&t===n-1&&t===r+1?"":e.slice(t,n)}function XFl(e,t){let r=t.dir||t.root,n=t.base||(t.name??"")+(t.ext??"");return r?n===e?r:r===t.root?r+n:r+e+n:n}function ZFl(e){if(e===null||typeof e!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof e}"`)}function eLl(e){return ZFl(e),XFl("/",e)}function Oks(e){return Wfe(e),e.length>0&&s4(e.charCodeAt(0))}function tLl(e){if(Wfe(e),e.length===0)return"."}function Rks(e,t,r,n){let i="",s=0,a=-1,u=0,l;for(let f=0;f<=e.length;++f){if(f2){let p=i.lastIndexOf(r);p===-1?(i="",s=0):(i=i.slice(0,p),s=i.length-1-i.lastIndexOf(r)),a=f,u=0;continue}else if(i.length===2||i.length===1){i="",s=0,a=f,u=0;continue}}t&&(i.length>0?i+=`${r}..`:i="..",s=2)}else i.length>0?i+=r+e.slice(a+1,f):i=e.slice(a+1,f),s=f-a-1;a=f,u=0}else l===xpt&&u!==-1?++u:u=-1}return i}function WKt(e){e instanceof URL&&(e=rVe(e)),tLl(e);let t=s4(e.charCodeAt(0)),r=s4(e.charCodeAt(e.length-1));return e=Rks(e,!t,"/",s4),e.length===0&&!t&&(e="."),e.length>0&&r&&(e+="/"),t?`/${e}`:e}function Fks(e,...t){if(e===void 0)return".";e instanceof URL&&(e=rVe(e)),t=e?[e,...t]:t,t.forEach(n=>Wfe(n));let r=t.filter(n=>n.length>0).join("/");return r===""?".":WKt(r)}function rLl(e){Wfe(e);let t={root:"",dir:"",base:"",ext:"",name:""};if(e.length===0)return t;let r=s4(e.charCodeAt(0)),n;r?(t.root="/",n=1):n=0;let i=-1,s=0,a=-1,u=!0,l=e.length-1,f=0;for(;l>=n;--l){let p=e.charCodeAt(l);if(s4(p)){if(!u){s=l+1;break}continue}a===-1&&(u=!1,a=l+1),p===xpt?i===-1?i=l:f!==1&&(f=1):i!==-1&&(f=-1)}return i===-1||a===-1||f===0||f===1&&i===a-1&&i===s+1?(a!==-1&&(s===0&&r?t.base=t.name=e.slice(1,a):t.base=t.name=e.slice(s,a)),t.base=t.base||"/"):(s===0&&r?(t.name=e.slice(1,i),t.base=e.slice(1,a)):(t.name=e.slice(s,i),t.base=e.slice(s,a)),t.ext=e.slice(i,a)),s>0?t.dir=Csn(e.slice(0,s-1),s4):r&&(t.dir="/"),t}function vsn(...e){let t="",r=!1;for(let n=e.length-1;n>=-1&&!r;n--){let i;if(n>=0)i=e[n];else{let{Deno:s}=globalThis;if(typeof s?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");i=s.cwd()}Wfe(i),i.length!==0&&(t=`${i}/${t}`,r=s4(i.charCodeAt(0)))}return t=Rks(t,!r,"/",s4),r?t.length>0?`/${t}`:"/":t.length>0?t:"."}function nLl(e,t){if(Wfe(e),Wfe(t),e===t)return""}function iLl(e,t){if(nLl(e,t),e=vsn(e),t=vsn(t),e===t)return"";let r=1,n=e.length;for(;rl){if(s4(t.charCodeAt(s+p)))return t.slice(s+p+1);if(p===0)return t.slice(s+p)}else i>l&&(s4(e.charCodeAt(r+p))?f=p:p===0&&(f=0));break}let A=e.charCodeAt(r+p),h=t.charCodeAt(s+p);if(A!==h)break;s4(A)&&(f=p)}let g="";for(p=r+f+1;p<=n;++p)(p===n||s4(e.charCodeAt(p)))&&(g.length===0?g+="..":g+="/..");return g.length>0?g+t.slice(s+f):(s+=f,s4(t.charCodeAt(s))&&++s,t.slice(s))}var sLl={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function aLl(e){return e.replaceAll(/[\s]/g,t=>sLl[t]??t)}function oLl(e){if(!Oks(e))throw new TypeError(`Path must be absolute: received "${e}"`);let t=new URL("file:///");return t.pathname=aLl(e.replace(/%/g,"%25").replace(/\\/g,"%5C")),t}function uLl(e){return e}function lLl(e,t){let[r="",...n]=e,i=r.split(t),s=i.length,a="";for(let u of n){let l=u.split(t);l.length<=s&&(s=l.length,a="");for(let f=0;f1&&e.seps.includes(t[s-1]);s--);t=t.slice(0,s);let a="";for(let u=0;u?@[\\\\\\]^_\u2018{|}~`:E==="space"?l+="\\s\v":E==="upper"?l+="A-Z":E==="word"?l+="\\w":E==="xdigit"&&(l+="\\dA-Fa-f");continue}}}else{p=!0,l+="[",t[h+1]==="!"?(h++,l+="^"):t[h+1]==="^"&&(h++,l+="\\^");continue}if(t[h]==="]"&&p){p=!1,l+="]";continue}if(p){l+=t[h];continue}if(t[h]===")"&&f.length>0&&f[f.length-1]!=="BRACE"){l+=")";let _=f.pop();_==="!"?l+=e.wildcard:_!=="@"&&(l+=_);continue}if(t[h]==="|"&&f.length>0&&f[f.length-1]!=="BRACE"){l+="|";continue}if(t[h]==="+"&&r&&t[h+1]==="("){h++,f.push("+"),l+="(?:";continue}if(t[h]==="@"&&r&&t[h+1]==="("){h++,f.push("@"),l+="(?:";continue}if(t[h]==="?"){r&&t[h+1]==="("?(h++,f.push("?"),l+="(?:"):l+=".";continue}if(t[h]==="!"&&r&&t[h+1]==="("){h++,f.push("!"),l+="(?!";continue}if(t[h]==="{"){f.push("BRACE"),l+="(?:";continue}if(t[h]==="}"&&f[f.length-1]==="BRACE"){f.pop(),l+=")";continue}if(t[h]===","&&f[f.length-1]==="BRACE"){l+="|";continue}if(t[h]==="*"){if(r&&t[h+1]==="(")h++,f.push("*"),l+="(?:";else{let _=t[h-1],E=1;for(;t[h+1]==="*";)h++,E++;let b=t[h+1];n&&E===2&&[...e.seps,void 0].includes(_)&&[...e.seps,void 0].includes(b)?(l+=e.globstar,A=!0):l+=e.wildcard}continue}l+=xsn.includes(t[h])?`\\${t[h]}`:t[h]}if(f.length>0||p||g){l="";for(let _ of t.slice(u,h))l+=xsn.includes(_)?`\\${_}`:_,A=!1}for(a+=l,A||(a+=h0&&(n?n+=`${bsn}${s}`:n=s)}return n?Lks(n,{globstar:r}):"."}a4.DELIMITER=JFl;a4.SEPARATOR=bsn;a4.SEPARATOR_PATTERN=Nks;a4.basename=KFl;a4.common=cLl;a4.dirname=zFl;a4.extname=WFl;a4.format=eLl;a4.fromFileUrl=rVe;a4.globToRegExp=mLl;a4.isAbsolute=Oks;a4.isGlob=gLl;a4.join=Fks;a4.joinGlobs=ALl;a4.normalize=WKt;a4.normalizeGlob=Lks;a4.parse=rLl;a4.relative=iLl;a4.resolve=vsn;a4.toFileUrl=oLl;a4.toNamespacedPath=uLl});var Vks=j(o4=>{"use strict";function Xfe(e){if(typeof e!="string")throw new TypeError(`Path must be a string, received "${JSON.stringify(e)}"`)}function hLl(e,t){if(t.length>=e.length)return e;let r=e.length-t.length;for(let n=t.length-1;n>=0;--n)if(e.charCodeAt(r+n)!==t.charCodeAt(n))return e;return e.slice(0,-t.length)}function yLl(e,t,r=0){let n=!1,i=e.length;for(let s=e.length-1;s>=r;--s)if(t(e.charCodeAt(s))){if(n){r=s+1;break}}else n||(n=!0,i=s+1);return e.slice(r,i)}function _Ll(e,t){if(Xfe(e),e.length===0)return e;if(typeof t!="string")throw new TypeError(`Suffix must be a string, received "${JSON.stringify(t)}"`)}var ELl=65,xLl=97,vLl=90,CLl=122,nVe=46,Ssn=47,wK=92,sTe=58,bLl=63;function Qks(e,t){if(e.length<=1)return e;let r=e.length;for(let n=e.length-1;n>0&&t(e.charCodeAt(n));n--)r=n;return e.slice(0,r)}function ILl(e){return e===Ssn}function k_(e){return e===Ssn||e===wK}function aTe(e){return e>=xLl&&e<=CLl||e>=ELl&&e<=vLl}function SLl(e){if(e=e instanceof URL?e:new URL(e),e.protocol!=="file:")throw new TypeError(`URL must be a file URL: received "${e.protocol}"`);return e}function iVe(e){e=SLl(e);let t=decodeURIComponent(e.pathname.replace(/\//g,"\\").replace(/%(?![0-9A-Fa-f]{2})/g,"%25")).replace(/^\\*([A-Za-z]:)(\\|$)/,"$1\\");return e.hostname!==""&&(t=`\\\\${e.hostname}${t}`),t}function TLl(e,t=""){e instanceof URL&&(e=iVe(e)),_Ll(e,t);let r=0;if(e.length>=2){let s=e.charCodeAt(0);aTe(s)&&e.charCodeAt(1)===sTe&&(r=2)}let n=yLl(e,k_,r),i=Qks(n,k_);return t?hLl(i,t):i}var DLl=";",Tsn="\\",jks=/[\\/]+/;function wLl(e){if(Xfe(e),e.length===0)return"."}function BLl(e){e instanceof URL&&(e=iVe(e)),wLl(e);let t=e.length,r=-1,n=-1,i=!0,s=0,a=e.charCodeAt(0);if(t>1)if(k_(a)){if(r=s=1,k_(e.charCodeAt(1))){let u=2,l=u;for(;u2&&k_(e.charCodeAt(2))&&(r=s=3));else if(k_(a))return e;for(let u=t-1;u>=s;--u)if(k_(e.charCodeAt(u))){if(!i){n=u;break}}else i=!1;if(n===-1){if(r===-1)return".";n=r}return Qks(e.slice(0,n),ILl)}function kLl(e){e instanceof URL&&(e=iVe(e)),Xfe(e);let t=0,r=-1,n=0,i=-1,s=!0,a=0;e.length>=2&&e.charCodeAt(1)===sTe&&aTe(e.charCodeAt(0))&&(t=n=2);for(let u=e.length-1;u>=t;--u){let l=e.charCodeAt(u);if(k_(l)){if(!s){n=u+1;break}continue}i===-1&&(s=!1,i=u+1),l===nVe?r===-1?r=u:a!==1&&(a=1):r!==-1&&(a=-1)}return r===-1||i===-1||a===0||a===1&&r===i-1&&r===n+1?"":e.slice(r,i)}function PLl(e,t){let r=t.dir||t.root,n=t.base||(t.name??"")+(t.ext??"");return r?n===e?r:r===t.root?r+n:r+e+n:n}function NLl(e){if(e===null||typeof e!="object")throw new TypeError(`The "pathObject" argument must be of type Object, received type "${typeof e}"`)}function OLl(e){return NLl(e),PLl("\\",e)}function Uks(e){Xfe(e);let t=e.length;if(t===0)return!1;let r=e.charCodeAt(0);return k_(r)?!0:!!(aTe(r)&&t>2&&e.charCodeAt(1)===sTe&&k_(e.charCodeAt(2)))}function RLl(e){if(Xfe(e),e.length===0)return"."}function qks(e,t,r,n){let i="",s=0,a=-1,u=0,l;for(let f=0;f<=e.length;++f){if(f2){let p=i.lastIndexOf(r);p===-1?(i="",s=0):(i=i.slice(0,p),s=i.length-1-i.lastIndexOf(r)),a=f,u=0;continue}else if(i.length===2||i.length===1){i="",s=0,a=f,u=0;continue}}t&&(i.length>0?i+=`${r}..`:i="..",s=2)}else i.length>0?i+=r+e.slice(a+1,f):i=e.slice(a+1,f),s=f-a-1;a=f,u=0}else l===nVe&&u!==-1?++u:u=-1}return i}function XKt(e){e instanceof URL&&(e=iVe(e)),RLl(e);let t=e.length,r=0,n,i=!1,s=e.charCodeAt(0);if(t>1)if(k_(s))if(i=!0,k_(e.charCodeAt(1))){let u=2,l=u;for(;u2&&k_(e.charCodeAt(2))&&(i=!0,r=3));else if(k_(s))return"\\";let a;return r0&&k_(e.charCodeAt(t-1))&&(a+="\\"),n===void 0?i?a.length>0?`\\${a}`:"\\":a:i?a.length>0?`${n}\\${a}`:`${n}\\`:n+a}function Yks(e,...t){if(e instanceof URL&&(e=iVe(e)),t=e?[e,...t]:t,t.forEach(a=>Xfe(a)),t=t.filter(a=>a.length>0),t.length===0)return".";let r=!0,n=0,i=t[0];if(k_(i.charCodeAt(0))){++n;let a=i.length;a>1&&k_(i.charCodeAt(1))&&(++n,a>2&&(k_(i.charCodeAt(2))?++n:r=!1))}let s=t.join("\\");if(r){for(;n=2&&(s=`\\${s.slice(n)}`)}return XKt(s)}function FLl(e){Xfe(e);let t={root:"",dir:"",base:"",ext:"",name:""},r=e.length;if(r===0)return t;let n=0,i=e.charCodeAt(0);if(r>1){if(k_(i)){if(n=1,k_(e.charCodeAt(1))){let g=2,A=g;for(;g2){if(k_(e.charCodeAt(2))){if(r===3)return t.root=t.dir=e,t.base="\\",t;n=3}}else return t.root=t.dir=e,t}else if(k_(i))return t.root=t.dir=e,t.base="\\",t;n>0&&(t.root=e.slice(0,n));let s=-1,a=n,u=-1,l=!0,f=e.length-1,p=0;for(;f>=n;--f){if(i=e.charCodeAt(f),k_(i)){if(!l){a=f+1;break}continue}u===-1&&(l=!1,u=f+1),i===nVe?s===-1?s=f:p!==1&&(p=1):s!==-1&&(p=-1)}return s===-1||u===-1||p===0||p===1&&s===u-1&&s===a+1?u!==-1&&(t.base=t.name=e.slice(a,u)):(t.name=e.slice(a,s),t.base=e.slice(a,u),t.ext=e.slice(s,u)),t.base=t.base||"\\",a>0&&a!==n?t.dir=e.slice(0,a-1):t.dir=t.root,t}function ZKt(...e){let t="",r="",n=!1;for(let i=e.length-1;i>=-1;i--){let s,{Deno:a}=globalThis;if(i>=0)s=e[i];else if(t){if(typeof a?.env?.get!="function"||typeof a?.cwd!="function")throw new TypeError("Resolved a relative path without a current working directory (CWD)");s=a.cwd(),(s===void 0||s.slice(0,3).toLowerCase()!==`${t.toLowerCase()}\\`)&&(s=`${t}\\`)}else{if(typeof a?.cwd!="function")throw new TypeError("Resolved a drive-letter-less path without a current working directory (CWD)");s=a.cwd()}Xfe(s);let u=s.length;if(u===0)continue;let l=0,f="",p=!1,g=s.charCodeAt(0);if(u>1)if(k_(g))if(p=!0,k_(s.charCodeAt(1))){let A=2,h=A;for(;A2&&k_(s.charCodeAt(2))&&(p=!0,l=3));else k_(g)&&(l=1,p=!0);if(!(f.length>0&&t.length>0&&f.toLowerCase()!==t.toLowerCase())&&(t.length===0&&f.length>0&&(t=f),n||(r=`${s.slice(l)}\\${r}`,n=p),n&&t.length>0))break}return r=qks(r,!n,"\\",k_),t+(n?"\\":"")+r||"."}function LLl(e,t){if(Xfe(e),Xfe(t),e===t)return""}function MLl(e,t){LLl(e,t);let r=ZKt(e),n=ZKt(t);if(r===n||(e=r.toLowerCase(),t=n.toLowerCase(),e===t))return"";let i=0,s=e.length;for(;ii&&e.charCodeAt(s-1)===wK;--s);let a=s-i,u=0,l=t.length;for(;uu&&t.charCodeAt(l-1)===wK;--l);let f=l-u,p=ap){if(t.charCodeAt(u+A)===wK)return n.slice(u+A+1);if(A===2)return n.slice(u+A)}a>p&&(e.charCodeAt(i+A)===wK?g=A:A===2&&(g=3));break}let _=e.charCodeAt(i+A),E=t.charCodeAt(u+A);if(_!==E)break;_===wK&&(g=A)}if(A!==p&&g===-1)return n;let h="";for(g===-1&&(g=0),A=i+g+1;A<=s;++A)(A===s||e.charCodeAt(A)===wK)&&(h.length===0?h+="..":h+="\\..");return h.length>0?h+n.slice(u+g,l):(u+=g,n.charCodeAt(u)===wK&&++u,n.slice(u,l))}var QLl={" ":"%09","\n":"%0A","\v":"%0B","\f":"%0C","\r":"%0D"," ":"%20"};function jLl(e){return e.replaceAll(/[\s]/g,t=>QLl[t]??t)}function ULl(e){if(!Uks(e))throw new TypeError(`Path must be absolute: received "${e}"`);let[,t,r]=e.match(/^(?:[/\\]{2}([^/\\]+)(?=[/\\](?:[^/\\]|$)))?(.*)/),n=new URL("file:///");if(n.pathname=jLl(r.replace(/%/g,"%25")),t!==void 0&&t!=="localhost"&&(n.hostname=t,!n.hostname))throw new TypeError(`Invalid hostname: "${n.hostname}"`);return n}function qLl(e){if(typeof e!="string")return e;if(e.length===0)return"";let t=ZKt(e);if(t.length>=3){if(t.charCodeAt(0)===wK){if(t.charCodeAt(1)===wK){let r=t.charCodeAt(2);if(r!==bLl&&r!==nVe)return`\\\\?\\UNC\\${t.slice(2)}`}}else if(aTe(t.charCodeAt(0))&&t.charCodeAt(1)===sTe&&t.charCodeAt(2)===wK)return`\\\\?\\${t}`}return e}function YLl(e,t){let[r="",...n]=e,i=r.split(t),s=i.length,a="";for(let u of n){let l=u.split(t);l.length<=s&&(s=l.length,a="");for(let f=0;f1&&e.seps.includes(t[s-1]);s--);t=t.slice(0,s);let a="";for(let u=0;u?@[\\\\\\]^_\u2018{|}~`:E==="space"?l+="\\s\v":E==="upper"?l+="A-Z":E==="word"?l+="\\w":E==="xdigit"&&(l+="\\dA-Fa-f");continue}}}else{p=!0,l+="[",t[h+1]==="!"?(h++,l+="^"):t[h+1]==="^"&&(h++,l+="\\^");continue}if(t[h]==="]"&&p){p=!1,l+="]";continue}if(p){l+=t[h];continue}if(t[h]===")"&&f.length>0&&f[f.length-1]!=="BRACE"){l+=")";let _=f.pop();_==="!"?l+=e.wildcard:_!=="@"&&(l+=_);continue}if(t[h]==="|"&&f.length>0&&f[f.length-1]!=="BRACE"){l+="|";continue}if(t[h]==="+"&&r&&t[h+1]==="("){h++,f.push("+"),l+="(?:";continue}if(t[h]==="@"&&r&&t[h+1]==="("){h++,f.push("@"),l+="(?:";continue}if(t[h]==="?"){r&&t[h+1]==="("?(h++,f.push("?"),l+="(?:"):l+=".";continue}if(t[h]==="!"&&r&&t[h+1]==="("){h++,f.push("!"),l+="(?!";continue}if(t[h]==="{"){f.push("BRACE"),l+="(?:";continue}if(t[h]==="}"&&f[f.length-1]==="BRACE"){f.pop(),l+=")";continue}if(t[h]===","&&f[f.length-1]==="BRACE"){l+="|";continue}if(t[h]==="*"){if(r&&t[h+1]==="(")h++,f.push("*"),l+="(?:";else{let _=t[h-1],E=1;for(;t[h+1]==="*";)h++,E++;let b=t[h+1];n&&E===2&&[...e.seps,void 0].includes(_)&&[...e.seps,void 0].includes(b)?(l+=e.globstar,A=!0):l+=e.wildcard}continue}l+=Isn.includes(t[h])?`\\${t[h]}`:t[h]}if(f.length>0||p||g){l="";for(let _ of t.slice(u,h))l+=Isn.includes(_)?`\\${_}`:_,A=!1}for(a+=l,A||(a+=h0&&(n?n+=`${Tsn}${s}`:n=s)}return n?Gks(n,{globstar:r}):"."}o4.DELIMITER=DLl;o4.SEPARATOR=Tsn;o4.SEPARATOR_PATTERN=jks;o4.basename=TLl;o4.common=GLl;o4.dirname=BLl;o4.extname=kLl;o4.format=OLl;o4.fromFileUrl=iVe;o4.globToRegExp=JLl;o4.isAbsolute=Uks;o4.isGlob=HLl;o4.join=Yks;o4.joinGlobs=zLl;o4.normalize=XKt;o4.normalizeGlob=Gks;o4.parse=FLl;o4.relative=MLl;o4.resolve=ZKt;o4.toFileUrl=ULl;o4.toNamespacedPath=qLl});var Zks=j((pvA,Xks)=>{var WLl=Z7e(),$ks=ZSe();Xks.exports=eMl;var Kks="\0SLASH"+Math.random()+"\0",Jks="\0OPEN"+Math.random()+"\0",wsn="\0CLOSE"+Math.random()+"\0",Hks="\0COMMA"+Math.random()+"\0",zks="\0PERIOD"+Math.random()+"\0";function Dsn(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function XLl(e){return e.split("\\\\").join(Kks).split("\\{").join(Jks).split("\\}").join(wsn).split("\\,").join(Hks).split("\\.").join(zks)}function ZLl(e){return e.split(Kks).join("\\").split(Jks).join("{").split(wsn).join("}").split(Hks).join(",").split(zks).join(".")}function Wks(e){if(!e)return[""];var t=[],r=$ks("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var u=Wks(s);return s.length&&(a[a.length-1]+=u.shift(),a.push.apply(a,u)),t.push.apply(t,a),t}function eMl(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),sVe(XLl(e),!0).map(ZLl)):[]}function tMl(e){return"{"+e+"}"}function rMl(e){return/^-?0\d/.test(e)}function nMl(e,t){return e<=t}function iMl(e,t){return e>=t}function sVe(e,t){var r=[],n=$ks("{","}",e);if(!n||/\$$/.test(n.pre))return[e];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,u=n.body.indexOf(",")>=0;if(!a&&!u)return n.post.match(/,(?!,).*\}/)?(e=n.pre+"{"+n.body+wsn+n.post,sVe(e)):[e];var l;if(a)l=n.body.split(/\.\./);else if(l=Wks(n.body),l.length===1&&(l=sVe(l[0],!1).map(tMl),l.length===1)){var p=n.post.length?sVe(n.post,!1):[""];return p.map(function(me){return n.pre+l[0]+me})}var f=n.pre,p=n.post.length?sVe(n.post,!1):[""],g;if(a){var A=Dsn(l[0]),h=Dsn(l[1]),_=Math.max(l[0].length,l[1].length),E=l.length==3?Math.abs(Dsn(l[2])):1,b=nMl,D=h0){var G=new Array(q+1).join("0");M<0?R="-"+G+R.slice(1):R=G+R}}g.push(R)}}else g=WLl(l,function(ue){return sVe(ue,!1)});for(var K=0;K{i7s.exports=BK;BK.Minimatch=FO;var vpt=(function(){try{return require("path")}catch{}})()||{sep:"/"};BK.sep=vpt.sep;var Psn=BK.GLOBSTAR=FO.GLOBSTAR={},sMl=Zks(),e7s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Bsn="[^/]",ksn=Bsn+"*?",aMl="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",oMl="(?:(?!(?:\\/|^)\\.).)*?",t7s=uMl("().*{}+?[]^$\\!");function uMl(e){return e.split("").reduce(function(t,r){return t[r]=!0,t},{})}var r7s=/\/+/;BK.filter=lMl;function lMl(e,t){return t=t||{},function(r,n,i){return BK(r,e,t)}}function oTe(e,t){t=t||{};var r={};return Object.keys(e).forEach(function(n){r[n]=e[n]}),Object.keys(t).forEach(function(n){r[n]=t[n]}),r}BK.defaults=function(e){if(!e||typeof e!="object"||!Object.keys(e).length)return BK;var t=BK,r=function(i,s,a){return t(i,s,oTe(e,a))};return r.Minimatch=function(i,s){return new t.Minimatch(i,oTe(e,s))},r.Minimatch.defaults=function(i){return t.defaults(oTe(e,i)).Minimatch},r.filter=function(i,s){return t.filter(i,oTe(e,s))},r.defaults=function(i){return t.defaults(oTe(e,i))},r.makeRe=function(i,s){return t.makeRe(i,oTe(e,s))},r.braceExpand=function(i,s){return t.braceExpand(i,oTe(e,s))},r.match=function(n,i,s){return t.match(n,i,oTe(e,s))},r};FO.defaults=function(e){return BK.defaults(e).Minimatch};function BK(e,t,r){return tJt(t),r||(r={}),!r.nocomment&&t.charAt(0)==="#"?!1:new FO(t,r).match(e)}function FO(e,t){if(!(this instanceof FO))return new FO(e,t);tJt(e),t||(t={}),e=e.trim(),!t.allowWindowsEscape&&vpt.sep!=="/"&&(e=e.split(vpt.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}FO.prototype.debug=function(){};FO.prototype.make=cMl;function cMl(){var e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(r7s)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}FO.prototype.parseNegate=fMl;function fMl(){var e=this.pattern,t=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=e.length;i"u"?this.pattern:e,tJt(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:sMl(e)}var pMl=1024*64,tJt=function(e){if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>pMl)throw new TypeError("pattern is too long")};FO.prototype.parse=dMl;var eJt={};function dMl(e,t){tJt(e);var r=this.options;if(e==="**")if(r.noglobstar)e="*";else return Psn;if(e==="")return"";var n="",i=!!r.nocase,s=!1,a=[],u=[],l,f=!1,p=-1,g=-1,A=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",h=this;function _(){if(l){switch(l){case"*":n+=ksn,i=!0;break;case"?":n+=Bsn,i=!0;break;default:n+="\\"+l;break}h.debug("clearStateChar %j %j",l,n),l=!1}}for(var E=0,b=e.length,D;E-1;Z--){var oe=u[Z],ue=n.slice(0,oe.reStart),me=n.slice(oe.reStart,oe.reEnd-8),Te=n.slice(oe.reEnd-8,oe.reEnd),le=n.slice(oe.reEnd);Te+=le;var ae=ue.split("(").length-1,Ae=le;for(E=0;E"u"&&(r=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&r)return!0;var n=this.options;vpt.sep!=="/"&&(t=t.split(vpt.sep).join("/")),t=t.split(r7s),this.debug(this.pattern,"split",t);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=t.length-1;a>=0&&(s=t[a],!s);a--);for(a=0;a>> no match, partial?`,e,p,t,g),p===a))}var h;if(typeof l=="string"?(h=f===l,this.debug("string match",l,f,h)):(h=f.match(l),this.debug("pattern match",l,f,h)),!h)return!1}if(i===a&&s===u)return!0;if(i===a)return r;if(s===u)return i===a-1&&e[i]==="";throw new Error("wtf?")};function gMl(e){return e.replace(/\\(.)/g,"$1")}function AMl(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var a7s=j(nJt=>{"use strict";var Cpt=class{static overwrite(t,r){return r}static replace(t,r){return typeof r<"u"?r:t}static assign(t,r){return Object.assign({},t,r)}},aVe=class{static array(t){if(!Array.isArray(t))throw new TypeError("Expected an array.")}static boolean(t){if(typeof t!="boolean")throw new TypeError("Expected a Boolean.")}static number(t){if(typeof t!="number")throw new TypeError("Expected a number.")}static object(t){if(!t||typeof t!="object")throw new TypeError("Expected an object.")}static"object?"(t){if(typeof t!="object")throw new TypeError("Expected an object or null.")}static string(t){if(typeof t!="string")throw new TypeError("Expected a string.")}static"string!"(t){if(typeof t!="string"||t.length===0)throw new TypeError("Expected a non-empty string.")}};function hMl(e,t){let r=!1;if(t.schema)if(typeof t.schema=="object")r=!0;else throw new TypeError("Schema must be an object.");if(typeof t.merge=="string"){if(!(t.merge in Cpt))throw new TypeError(`Definition for key "${e}" missing valid merge strategy.`)}else if(!r&&typeof t.merge!="function")throw new TypeError(`Definition for key "${e}" must have a merge property.`);if(typeof t.validate=="string"){if(!(t.validate in aVe))throw new TypeError(`Definition for key "${e}" missing valid validation strategy.`)}else if(!r&&typeof t.validate!="function")throw new TypeError(`Definition for key "${e}" must have a validate() method.`)}var Nsn=class extends Error{constructor(t){super(`Unexpected key "${t}" found.`)}},Osn=class extends Error{constructor(t){super(`Missing required key "${t}".`)}},Rsn=class extends Error{constructor(t,r){super(`Key "${t}" requires keys "${r.join('", "')}".`)}},rJt=class extends Error{constructor(t,r){super(`Key "${t}": ${r.message}`,{cause:r});for(let n of Object.keys(r))n in this||(this[n]=r[n])}},Fsn=class e{#e=new Map;#t=new Map;constructor(t){if(!t)throw new Error("Schema definitions missing.");for(let r of Object.keys(t)){if(hMl(r,t[r]),typeof t[r].schema=="object"){let n=new e(t[r].schema);t[r]={...t[r],merge(i={},s={}){return n.merge(i,s)},validate(i){aVe.object(i),n.validate(i)}}}typeof t[r].merge=="string"&&(t[r]={...t[r],merge:Cpt[t[r].merge]}),typeof t[r].validate=="string"&&(t[r]={...t[r],validate:aVe[t[r].validate]}),this.#e.set(r,t[r]),t[r].required&&this.#t.set(r,t[r])}}hasKey(t){return this.#e.has(t)}merge(...t){if(t.length<2)throw new TypeError("merge() requires at least two arguments.");if(t.some(r=>r===null||typeof r!="object"))throw new TypeError("All arguments must be objects.");return t.reduce((r,n)=>{this.validate(n);for(let[i,s]of this.#e)try{if(i in r||i in n){let u=s.merge.call(this,r[i],n[i]);u!==void 0&&(r[i]=u)}}catch(a){throw new rJt(i,a)}return r},{})}validate(t){for(let r of Object.keys(t)){if(!this.hasKey(r))throw new Nsn(r);let n=this.#e.get(r);if(Array.isArray(n.requires)&&!n.requires.every(i=>i in t))throw new Rsn(r,n.requires);try{n.validate.call(n,t[r])}catch(i){throw new rJt(r,i)}}for(let[r]of this.#t)if(!(r in t))throw new Osn(r)}};nJt.MergeStrategy=Cpt;nJt.ObjectSchema=Fsn;nJt.ValidationStrategy=aVe});var pJt=j(fJt=>{"use strict";var yMl=Mks(),_Ml=Vks(),EMl=s7s(),xMl=B1(),Ysn=a7s();function p7s(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(r){if(r!=="default"){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}}),t.default=e,Object.freeze(t)}var vMl=p7s(yMl),CMl=p7s(_Ml),Lsn={required:!1,merge(){},validate(){}},bMl=Object.freeze({name:{required:!1,merge(){},validate(e){if(typeof e!="string")throw new TypeError("Property must be a string.")}},basePath:Lsn,files:Lsn,ignores:Lsn});function IMl(e){if(!Array.isArray(e))throw new TypeError("Expected value to be an array.")}function o7s(e){if(IMl(e),e.some(t=>typeof t!="string"&&typeof t!="function"))throw new TypeError("Expected array to only contain strings and functions.")}function SMl(e){if(!Array.isArray(e)||e.length===0)throw new TypeError("Expected value to be a non-empty array.")}var TMl=Object.freeze({basePath:{required:!1,merge(){},validate(e){if(typeof e!="string")throw new TypeError("Expected value to be a string.")}},files:{required:!1,merge(){},validate(e){SMl(e),e.forEach(t=>{if(Array.isArray(t))o7s(t);else if(typeof t!="string"&&typeof t!="function")throw new TypeError("Items must be a string, a function, or an array of strings and functions.")})}},ignores:{required:!1,merge(){},validate:o7s}}),DMl=EMl.Minimatch,kK=xMl("@eslint/config-array"),wMl=new Map,BMl=new Map,kMl={dot:!0,allowWindowsEscape:!0},PMl=new Set(["array","function"]),u7s=new Set(["name","basePath"]),NMl=new Ysn.ObjectSchema(TMl),l7s=Object.freeze({status:"external"}),iJt=Object.freeze({status:"ignored"}),c7s=Object.freeze({status:"unconfigured"}),aJt=/^\.\.(?:\/|$)/u,uVe=class extends Error{constructor(t,r,{cause:n,message:i}){let s=i||n.message;if(super(`Config ${t}: ${s}`,{cause:n}),n)for(let a of Object.keys(n))a in this||(this[a]=n[a]);this.name="ConfigError",this.index=r}};function oJt(e){return e&&typeof e.name=="string"&&e.name?`"${e.name}"`:"(unnamed)"}function d7s(e,t,r){let n=oJt(e);throw new uVe(n,t,{cause:r})}function cJt(e){return typeof e=="string"}function f7s(e,t){if(e===null)throw new uVe(oJt(e),t,{message:"Unexpected null config."});if(e===void 0)throw new uVe(oJt(e),t,{message:"Unexpected undefined config."});if(typeof e!="object")throw new uVe(oJt(e),t,{message:"Unexpected non-object config."});let r={};"basePath"in e&&(r.basePath=e.basePath),"files"in e&&(r.files=e.files),"ignores"in e&&(r.ignores=e.ignores);try{NMl.validate(r)}catch(n){d7s(e,t,n)}}function Usn(e,t,r={}){let n=wMl;r.flipNegate&&(n=BMl);let i=n.get(t);return i||(i=new DMl(t,Object.assign({},kMl,r)),n.set(t,i)),i.match(e)}function Msn(e){if(cJt(e)){if(e.startsWith("./"))return e.slice(2);if(e.startsWith("!./"))return`!${e.slice(3)}`}return e}function Qsn(e){return cJt(e)&&(e.startsWith("./")||e.startsWith("!./"))}function m7s(e,t,r){if(!e)return e;let n=typeof e.basePath=="string",i=!1;if(n&&(i=!0),!i&&Array.isArray(e.files)&&(i=e.files.some(a=>Array.isArray(a)?a.some(Qsn):Qsn(a))),!i&&Array.isArray(e.ignores)&&(i=e.ignores.some(Qsn)),!i)return e;let s={...e};return n&&(r.isAbsolute(e.basePath)?s.basePath=r.toNamespacedPath(e.basePath):s.basePath=r.resolve(t,e.basePath)),Array.isArray(s.files)&&(s.files=s.files.map(a=>Array.isArray(a)?a.map(Msn):Msn(a))),Array.isArray(s.ignores)&&(s.ignores=s.ignores.map(Msn)),s}async function OMl(e,t,r,n,i){let s=r.includes("function"),a=r.includes("array");async function*u(p){for(let g of p){if(typeof g=="function"){if(!s)throw new TypeError("Unexpected function.");g=g(t),g.then&&(g=await g)}if(Array.isArray(g)){if(!a)throw new TypeError("Unexpected array.");yield*u(g)}else{if(typeof g=="function")throw new TypeError("A config function can only return an object or array.");yield g}}}let l=await u(e),f=[];for await(let p of l)f.push(m7s(p,n,i));return f}function RMl(e,t,r,n,i){let s=r.includes("function"),a=r.includes("array");function*u(f){for(let p of f){if(typeof p=="function"){if(!s)throw new TypeError("Unexpected function.");if(p=p(t),p.then)throw new TypeError("Async config functions are not supported.")}if(Array.isArray(p)){if(!a)throw new TypeError("Unexpected array.");yield*u(p)}else{if(typeof p=="function")throw new TypeError("A config function can only return an object or array.");yield p}}}let l=[];for(let f of u(e))l.push(m7s(f,n,i));return l}function uJt(e,t,r){let n=r.resolve(t,e),i=r.toNamespacedPath(n);return r.relative(t,i).replaceAll(r.SEPARATOR,"/")}function lJt(e,t,r,{basePath:n,path:i}={}){let s=!1;for(let a of e){let u=r;if(a.basePath){if(u=uJt(i.resolve(n,r),a.basePath,i),u===""||aJt.test(u))continue;r.endsWith("/")&&(u+="/")}s=a.ignores.reduce((l,f)=>l?typeof f=="string"&&f.startsWith("!")?!Usn(u,f,{flipNegate:!0}):l:typeof f=="function"?f(t):f.startsWith("!")?!1:Usn(u,f),s)}return s}function jsn(e,t,r){function n(s){if(cJt(s))return Usn(t,s);if(typeof s=="function")return s(e);throw new TypeError(`Unexpected matcher type ${s}.`)}let i=r.files.some(s=>Array.isArray(s)?s.every(n):n(s));return i&&r.ignores&&(i=!lJt([{ignores:r.ignores}],e,t)),i}function sJt(e){if(!e.isNormalized())throw new Error("ConfigArray must be normalized to perform this operation.")}function FMl(e){if(e.length>2)throw new TypeError("configTypes must be an array with at most two items.");for(let t of e)if(!PMl.has(t))throw new TypeError(`Unexpected config type "${t}" found. Expected one of: "object", "array", "function".`)}function LMl(e){if(e.startsWith("/"))return vMl;if(/^(?:[A-Za-z]:[/\\]|[/\\]{2})/u.test(e))return CMl;throw new Error(`Expected an absolute path but received "${e}"`)}var RY={isNormalized:Symbol("isNormalized"),configCache:Symbol("configCache"),schema:Symbol("schema"),finalizeConfig:Symbol("finalizeConfig"),preprocessConfig:Symbol("preprocessConfig")},oVe=new WeakMap,qsn=class extends Array{#e;#t;constructor(t,{basePath:r="/",normalized:n=!1,schema:i,extraConfigTypes:s=[]}={}){if(super(),this[RY.isNormalized]=n,this[RY.schema]=new Ysn.ObjectSchema(Object.assign({},i,bMl)),!cJt(r)||!r)throw new TypeError("basePath must be a non-empty string");this.basePath=r,FMl(s),this.extraConfigTypes=[...s],Object.freeze(this.extraConfigTypes),this[RY.configCache]=new Map,oVe.set(this,{explicitMatches:new Map,directoryMatches:new Map,files:void 0,ignores:void 0}),Array.isArray(t)?this.push(...t):this.push(t),this.#t=LMl(r),this.#e=this.#t.toNamespacedPath(r)}static get[Symbol.species](){return Array}get files(){sJt(this);let t=oVe.get(this);if(t.files)return t.files;let r=[];for(let n of this)n.files&&n.files.forEach(i=>{r.push(i)});return t.files=r,oVe.set(this,t),r}get ignores(){sJt(this);let t=oVe.get(this);if(t.ignores)return t.ignores;let r=[];for(let n of this)n.ignores&&Object.keys(n).filter(i=>!u7s.has(i)).length===1&&r.push(n);return t.ignores=r,oVe.set(this,t),r}isNormalized(){return this[RY.isNormalized]}async normalize(t={}){if(!this.isNormalized()){let r=await OMl(this,t,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...r.map(this[RY.preprocessConfig].bind(this))),this.forEach(f7s),this[RY.isNormalized]=!0,Object.freeze(this)}return this}normalizeSync(t={}){if(!this.isNormalized()){let r=RMl(this,t,this.extraConfigTypes,this.#e,this.#t);this.length=0,this.push(...r.map(this[RY.preprocessConfig].bind(this))),this.forEach(f7s),this[RY.isNormalized]=!0,Object.freeze(this)}return this}[RY.finalizeConfig](t){return t}[RY.preprocessConfig](t){return t}getConfigWithStatus(t){sJt(this);let r=this[RY.configCache];if(r.has(t))return r.get(t);let n=uJt(t,this.#e,this.#t);if(aJt.test(n))return kK(`No config for file ${t} outside of base path`),r.set(t,l7s),l7s;if(this.isDirectoryIgnored(this.#t.dirname(t)))return kK(`Ignoring ${t} based on directory pattern`),r.set(t,iJt),iJt;if(lJt(this.ignores,t,n,{basePath:this.#e,path:this.#t}))return kK(`Ignoring ${t} based on file pattern`),r.set(t,iJt),iJt;let i=[],s=!1,a=/^\*$|^!|\/\*{1,2}$/u;if(this.forEach((p,g)=>{let A=p.basePath?uJt(this.#t.resolve(this.#e,t),p.basePath,this.#t):n;if(p.basePath&&aJt.test(A)){kK(`Skipped config found for ${t} (based on config's base path: ${p.basePath}`);return}if(!p.files){if(!p.ignores){kK(`Universal config found for ${t}`),i.push(g);return}if(Object.keys(p).filter(E=>!u7s.has(E)).length===1){kK(`Skipped config found for ${t} (global ignores)`);return}if(lJt([{ignores:p.ignores}],t,A)){kK(`Skipped config found for ${t} (based on ignores: ${p.ignores})`);return}kK(`Matching config found for ${t} (based on ignores: ${p.ignores})`),i.push(g);return}let h=[],_=p.files.filter(E=>Array.isArray(E)?E.every(b=>a.test(b))?!0:(h.push(E),!1):a.test(E)?!0:(h.push(E),!1));if(_.length){if(kK("Universal files patterns found. Checking carefully."),h.length&&jsn(t,A,{files:h,ignores:p.ignores})){kK(`Matching config found for ${t}`),i.push(g),s=!0;return}if(_.length&&jsn(t,A,{files:_,ignores:p.ignores})){kK(`Matching config found for ${t}`),i.push(g);return}return}jsn(t,A,p)&&(kK(`Matching config found for ${t}`),i.push(g),s=!0)}),!s)return kK(`No matching configs found for ${t}`),r.set(t,c7s),c7s;let u=i.toString(),l=r.get(u);if(l)return r.set(t,l),l;let f=i.reduce((p,g)=>{try{return this[RY.schema].merge(p,this[g])}catch(A){d7s(this[g],g,A)}},{});return f=this[RY.finalizeConfig](f),l=Object.freeze({config:f,status:"matched"}),r.set(t,l),r.set(u,l),l}getConfig(t){return this.getConfigWithStatus(t).config}getConfigStatus(t){return this.getConfigWithStatus(t).status}isIgnored(t){return this.isFileIgnored(t)}isFileIgnored(t){return this.getConfigStatus(t)==="ignored"}isDirectoryIgnored(t){sJt(this);let r=uJt(t,this.#e,this.#t);if(r==="")return!1;if(aJt.test(r))return!0;let n=oVe.get(this).directoryMatches;if(n.has(r))return n.get(r);let i=r.split("/"),s="",a;do s+=`${i.shift()}/`,a=lJt(this.ignores,this.#t.join(this.basePath,s),s,{basePath:this.#e,path:this.#t}),n.set(s,a);while(!a&&i.length);return n.set(r,a),a}};Object.defineProperty(fJt,"ObjectSchema",{enumerable:!0,get:function(){return Ysn.ObjectSchema}});fJt.ConfigArray=qsn;fJt.ConfigArraySymbol=RY});var Gsn=j((AvA,A7s)=>{"use strict";var MMl=$Kt(),g7s=require("./json-schema-draft-04-JKLPTVPL.json");A7s.exports=(e={})=>{let t=new MMl({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...e});return t.addMetaSchema(g7s),t._opts.defaultMeta=g7s.id,t}});var lVe=j((hvA,v7s)=>{"use strict";var{deepMergeArrays:QMl}=fsn(),{flatConfigSchema:h7s,hasMethod:jMl}=zKt(),{ObjectSchema:UMl}=pJt(),qMl=Gsn(),YMl=qMl(),GMl=require("./replacements-6W6YWCNS.json"),Vsn=Object.freeze({type:"array",minItems:0,maxItems:0}),dJt=new Map([[0,0],[1,1],[2,2],["off",0],["warn",1],["error",2]]),$sn=new WeakMap;function VMl({pluginName:e,ruleName:t},r){let n=e==="@"?t:`${e}/${t}`,i=`Key "rules": Key "${n}"`,s=`${i}: Could not find plugin "${e}" in configuration.`,a=s;if(r.plugins&&r.plugins[e]){let l=GMl.rules[t];if(e==="@"&&l)s=`${i}: Rule "${t}" was removed and replaced by "${l}".`;else{s=`${i}: Could not find "${t}" in plugin "${e}".`;for(let[f,p]of Object.entries(r.plugins))if(p.rules&&p.rules[t]){s+=` Did you mean "${f}/${t}"?`;break}}}let u=new TypeError(s);throw s===a&&(u.messageTemplate="config-plugin-missing",u.messageData={pluginName:e,ruleId:n}),u}var Hsn=class extends Error{constructor(t,r){super(`Error while processing options validation schema of rule '${t}': ${r.message}`,{cause:r}),this.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"}};function _7s(e){let t,r;return e.includes("/")?(e.startsWith("@")?t=e.slice(0,e.lastIndexOf("/")):t=e.slice(0,e.indexOf("/")),r=e.slice(t.length+1)):(t="@",r=e),{pluginName:t,ruleName:r}}function Ksn(e,t){let{pluginName:r,ruleName:n}=_7s(e);return t.plugins?.[r]?.rules?.[n]}function E7s(e){if(!e.meta)return{...Vsn};let t=e.meta.schema;if(typeof t>"u")return{...Vsn};if(t===!1)return null;if(typeof t!="object"||t===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(t)?t.length?{type:"array",items:t,minItems:0,maxItems:t.length}:{...Vsn}:t}function y7s(e){let t=e.split("/");return{objectName:t.pop(),pluginName:t.join("/")}}function zsn(e){let t=e.name;if(!t&&(!e.meta||(t=e.meta.name,!t)))return null;let r=e.version;return r||(r=e.meta&&e.meta.version),r?`${t}@${r}`:t}function Jsn(e,t,r){if(typeof e=="function"){let n=new TypeError(`Cannot serialize key "${t}" in "${r}": Function values are not supported.`);throw n.messageTemplate="config-serialize-function",n.messageData={key:t,objectKey:r},n}}function x7s(e,t="languageOptions"){if(typeof e.toJSON=="function"){let n=e.toJSON();return Jsn(n,"toJSON",t),n}let r={};for(let[n,i]of Object.entries(e)){if(i){if(typeof i=="object"){let s=zsn(i);typeof i.toJSON=="function"?(r[n]=i.toJSON(),Jsn(r[n],n,t)):s&&jMl(i)?r[n]=s:r[n]=x7s(i,n);continue}Jsn(i,n,t)}r[n]=i}return r}function $Ml(e,t){if(!$sn.has(e))try{let r=E7s(e);r&&$sn.set(e,YMl.compile(r))}catch(r){throw new Hsn(t,r)}return $sn.get(e)}var Wsn=class{#e;#t;constructor(t){let{plugins:r,language:n,languageOptions:i,processor:s,...a}=t;if(new UMl(h7s).validate(t),Object.assign(this,a),!n)throw new TypeError("Key 'language' is required.");this.plugins=r,this.language=n;let{pluginName:l,objectName:f}=y7s(n);if(this.#e=n,!r||!r[l]||!r[l].languages||!r[l].languages[f])throw new TypeError(`Key "language": Could not find "${f}" in plugin "${l}".`);this.language=r[l].languages[f],this.language.defaultLanguageOptions??i?this.languageOptions=h7s.languageOptions.merge(this.language.defaultLanguageOptions,i):this.languageOptions={};try{this.language.validateLanguageOptions(this.languageOptions)}catch(p){throw new TypeError(`Key "languageOptions": ${p.message}`,{cause:p})}if(this.language.normalizeLanguageOptions&&(this.languageOptions=this.language.normalizeLanguageOptions(this.languageOptions)),s)if(this.processor=s,typeof s=="string"){let{pluginName:p,objectName:g}=y7s(s);if(this.#t=s,!r||!r[p]||!r[p].processors||!r[p].processors[g])throw new TypeError(`Key "processor": Could not find "${g}" in plugin "${p}".`);this.processor=r[p].processors[g]}else if(typeof s=="object")this.#t=zsn(s),this.processor=s;else throw new TypeError("Key 'processor' must be a string or an object.");this.rules&&(this.#r(),this.validateRulesConfig(this.rules))}toJSON(){if(this.processor&&!this.#t)throw new Error("Could not serialize processor object (missing 'meta' object).");if(!this.#e)throw new Error("Could not serialize language object (missing 'meta' object).");return{...this,plugins:Object.entries(this.plugins).map(([t,r])=>{let n=zsn(r);return n?`${t}:${n}`:t}),language:this.#e,languageOptions:x7s(this.languageOptions),processor:this.#t}}getRuleDefinition(t){return Ksn(t,this)}#r(){for(let[t,r]of Object.entries(this.rules)){let n=Array.isArray(r)?r:[r];n[0]=dJt.get(n[0]);let i=Ksn(t,this),s=n.slice(1),a=QMl(i?.meta?.defaultOptions,s);a.length&&(n=[n[0],...a]),this.rules[t]=n}}validateRulesConfig(t){if(!t)throw new TypeError("Config is required for validation.");for(let[r,n]of Object.entries(t)){if(r==="__proto__"||n[0]===0)continue;let i=Ksn(r,this);i||VMl(_7s(r),this);let s=$Ml(i,r);if(s&&(s(n.slice(1)),s.errors))throw new Error(`Key "rules": Key "${r}": ${s.errors.map(a=>{if(a.keyword==="additionalProperties"&&a.schema===!1&&typeof a.parentSchema?.properties=="object"&&typeof a.params?.additionalProperty=="string"){let u=Object.keys(a.parentSchema.properties).map(l=>`"${l}"`);return` Value ${JSON.stringify(a.data)} ${a.message}. Unexpected property "${a.params.additionalProperty}". Expected properties: ${u.join(", ")}. `}return` Value ${JSON.stringify(a.data)} ${a.message}. `}).join("")}`)}}static getRuleOptionsSchema(t){return E7s(t)}static getRuleNumericSeverity(t){let r=Array.isArray(t)?t[0]:t;return dJt.has(r)?dJt.get(r):typeof r=="string"?dJt.get(r.toLowerCase())??0:0}};v7s.exports={Config:Wsn}});var S7s=j((yvA,I7s)=>{"use strict";var KMl=hGe(),{Config:JMl}=lVe();function mJt(e,t){return e.line-t.line||e.column-t.column}function HMl(e){let t=new Map;for(let r of e){let{unprocessedDirective:{parentDirective:n}}=r;t.has(n)?t.get(n).push(r):t.set(n,[r])}return[...t.values()]}function zMl(e,t,r){let n=t.value.trim(),i=r.text.indexOf(n,r.getRange(t.node)[0]);return e.map(s=>{let{ruleId:a}=s,l=new RegExp(String.raw`(?:^|\s*,\s*)(?['"]?)${KMl(a)}\k(?:\s*,\s*|$)`,"u").exec(n),f=l[0],p=i+l.index,g=p+f.length,A=f.indexOf(","),h=f.lastIndexOf(","),_,E;return A!==h?(_=p+A,E=p+h):(_=p,E=g),{description:`'${a}'`,fix:{range:[_,E],text:""},unprocessedDirective:s.unprocessedDirective}})}function WMl(e,t,r){let n=r.getRange(t),i=e.filter(s=>s.ruleId).map(s=>`'${s.ruleId}'`);return{description:i.length<=2?i.join(" or "):`${i.slice(0,i.length-1).join(", ")}, or ${i.at(-1)}`,fix:{range:n,text:" "},unprocessedDirective:e[0].unprocessedDirective}}function C7s(e,t){return HMl(e).flatMap(n=>{let{parentDirective:i}=n[0].unprocessedDirective,s=new Set(i.ruleIds);for(let a of n)s.delete(a.ruleId);return s.size?zMl(n,i,t):[WMl(n,i.node,t)]})}function XMl(e){let t=new Map,r=new Set;for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.type==="disable"){if(t.size===0)continue;if(i.ruleId===null){for(let s of t.values())r.add(s);t.clear()}else{let s=t.get(i.ruleId);if(s)r.add(s);else{let a=t.get(null);a&&r.add(a)}}}else i.type==="enable"&&(i.ruleId===null?(t.clear(),t.set(null,i)):t.set(i.ruleId,i))}return r}function b7s(e){let t=[],r=new Set,{sourceCode:n}=e;for(let p of e.problems){let g=[],A=0;for(;A0){let h=g.map(_=>({kind:"directive",justification:_.unprocessedDirective.justification}));p.suppressions?p.suppressions=p.suppressions.concat(h):(p.suppressions=h,r.add(g.at(-1)))}t.push(p)}let i=e.directives.filter(p=>p.type==="disable"&&!r.has(p)&&!e.rulesToIgnore.has(p.ruleId)),s=new Set(e.directives.filter(p=>p.unprocessedDirective.type==="enable"&&!e.rulesToIgnore.has(p.ruleId)));if(s.size>0)for(let p of XMl(e.directives))s.delete(p);let a=C7s(i,n).concat(C7s(s,n)),u=e.language.columnStart===1?0:1,l=e.language.lineStart===1?0:1,f=a.map(({description:p,fix:g,unprocessedDirective:A})=>{let{parentDirective:h,type:_,line:E,column:b}=A,D;_==="enable"?D=p?`Unused eslint-enable directive (no matching eslint-disable directives were found for ${p}).`:"Unused eslint-enable directive (no matching eslint-disable directives were found).":D=p?`Unused eslint-disable directive (no problems were reported from ${p}).`:"Unused eslint-disable directive (no problems were reported).";let k=n.getLoc(h.node);return{ruleId:null,message:D,line:_==="disable-next-line"?k.start.line+l:E,column:_==="disable-next-line"?k.start.column+u:b,severity:e.reportUnusedDisableDirectives==="warn"?1:2,nodeType:null,...e.disableFixes?{}:{fix:g}}});return{problems:t,unusedDirectives:f}}I7s.exports=({language:e,sourceCode:t,directives:r,disableFixes:n,problems:i,configuredRules:s,ruleFilter:a,reportUnusedDisableDirectives:u="off"})=>{let l=r.filter(h=>h.type==="disable"||h.type==="enable").map(h=>Object.assign({},h,{unprocessedDirective:h})).sort(mJt),f=r.flatMap(h=>{switch(h.type){case"disable":case"enable":return[];case"disable-line":return[{type:"disable",line:h.line,column:1,ruleId:h.ruleId,unprocessedDirective:h},{type:"enable",line:h.line+1,column:0,ruleId:h.ruleId,unprocessedDirective:h}];case"disable-next-line":return[{type:"disable",line:h.line+1,column:1,ruleId:h.ruleId,unprocessedDirective:h},{type:"enable",line:h.line+2,column:0,ruleId:h.ruleId,unprocessedDirective:h}];default:throw new TypeError(`Unrecognized directive type '${h.type}'`)}}).sort(mJt),p=s&&a?new Set(Object.keys(s).filter(h=>{let _=JMl.getRuleNumericSeverity(s[h]);return _===0?!1:!a({severity:_,ruleId:h})})):new Set;p.size>0&&p.add(null);let g=b7s({language:e,sourceCode:t,problems:i,directives:l,disableFixes:n,reportUnusedDisableDirectives:u,rulesToIgnore:p}),A=b7s({language:e,sourceCode:t,problems:g.problems,directives:f,disableFixes:n,reportUnusedDisableDirectives:u,rulesToIgnore:p});return u!=="off"?A.problems.concat(g.unusedDirectives).concat(A.unusedDirectives).sort(mJt):A.problems}});var D7s=j((_vA,T7s)=>{"use strict";var Xsn=GGe(),Zsn=class{constructor(){this._rules=Object.create(null)}define(t,r){this._rules[t]=r}get(t){return typeof this._rules[t]=="string"&&this.define(t,require(this._rules[t])),this._rules[t]?this._rules[t]:Xsn.has(t)?Xsn.get(t):null}*[Symbol.iterator](){yield*Xsn;for(let t of Object.keys(this._rules))yield[t,this.get(t)]}};T7s.exports=Zsn});var tan=j((EvA,B7s)=>{"use strict";var gJt=B1()("eslint:source-code-fixer"),ean="\uFEFF";function ZMl(e,t){return e.fix.range[0]-t.fix.range[0]||e.fix.range[1]-t.fix.range[1]}function eQl(e,t){return e.line-t.line||e.column-t.column}function w7s(){Object.freeze(this)}w7s.applyFixes=function(e,t,r){if(gJt("Applying fixes"),r===!1)return gJt("shouldFix parameter was false, not attempting fixes"),{fixed:!1,messages:t,output:e};let n=[],i=[],s=e.startsWith(ean)?ean:"",a=s?e.slice(1):e,u=Number.NEGATIVE_INFINITY,l=s;function f(p){let g=p.fix,A=g.range[0],h=g.range[1];return u>=A||A>h?(n.push(p),!1):((A<0&&h>=0||A===0&&g.text.startsWith(ean))&&(l=""),l+=a.slice(Math.max(0,u),Math.max(0,A)),l+=g.text,u=h,!0)}if(t.forEach(p=>{Object.hasOwn(p,"fix")&&p.fix?i.push(p):n.push(p)}),i.length){gJt("Found fixes to apply");let p=!1;for(let g of i.sort(ZMl))typeof r!="function"||r(g)?(f(g),p=!0):n.push(g);return l+=a.slice(Math.max(0,u)),{fixed:p,messages:n.sort(eQl),output:l}}return gJt("No fixes to apply"),{fixed:!1,messages:t,output:s+a}};B7s.exports=w7s});var P7s=j((xvA,k7s)=>{"use strict";var tQl=Object.freeze([]),ran=class{#e=new Map;add(t,r){this.#e.has(t)?this.#e.get(t).push(r):this.#e.set(t,[r])}get(t){return this.#e.has(t)?this.#e.get(t):tQl}forEachName(t){this.#e.forEach((r,n)=>{t(n)})}callSync(t,...r){this.#e.has(t)&&this.#e.get(t).forEach(n=>n(...r))}};k7s.exports={SourceCodeVisitor:ran}});var hJt=j(R7s=>{"use strict";var{ConfigArray:rQl,ConfigArraySymbol:N7s}=pJt(),{flatConfigSchema:nQl}=zKt(),{defaultConfig:iQl}=bKt(),{Config:sQl}=lVe(),aQl=new Set(["name","basePath"]);function O7s(e,t,r){let n="user-defined",i=e.index;return e.index{throw r.name==="ConfigError"?O7s(r,this[AJt],this[ian]):r})}normalizeSync(t){try{return super.normalizeSync(t)}catch(r){throw r.name==="ConfigError"?O7s(r,this[AJt],this[ian]):r}}[N7s.preprocessConfig](t){if(!this.shouldIgnore&&!this[nan].includes(t)&&t.ignores&&Object.keys(t).filter(r=>!aQl.has(r)).length===1){let{ignores:r,...n}=t;return n}return t}[N7s.finalizeConfig](t){return new sQl(t)}};R7s.FlatConfigArray=san});var L7s=j((CvA,F7s)=>{"use strict";var oQl=new Map([["test_only","Used only for testing."],["test_only_2","Used only for testing."],["v10_config_lookup_from_file","Look up `eslint.config.js` from the file being linted."],["unstable_native_nodejs_ts_config","Use native Node.js to load TypeScript configuration."]]),uQl=new Map([["test_only_replaced",{description:"Used only for testing flags that have been replaced by other flags.",replacedBy:"test_only"}],["test_only_enabled_by_default",{description:"Used only for testing flags whose features have been enabled by default.",replacedBy:null}],["test_only_abandoned",{description:"Used only for testing flags whose features have been abandoned."}],["unstable_ts_config",{description:"Enable TypeScript configuration files.",replacedBy:null}],["unstable_config_lookup_from_file",{description:"Look up `eslint.config.js` from the file being linted.",replacedBy:"v10_config_lookup_from_file"}]]);function lQl({replacedBy:e}){return typeof e>"u"?"This feature has been abandoned.":typeof e=="string"?`This flag has been renamed '${e}' to reflect its stabilization. Please use '${e}' instead.`:"This feature is now enabled by default."}F7s.exports={activeFlags:oQl,inactiveFlags:uQl,getInactivityReasonMessage:lQl}});var oan=j((bvA,Q7s)=>{"use strict";function M7s(e){return typeof e=="string"?e.charCodeAt(0)===65279:e[0]===239&&e[1]===187&&e[2]===191}function cQl(e){return M7s(e)?typeof e=="string"?e.slice(1):e.slice(3):e}var aan=class{path;physicalPath;body;rawBody;bom;constructor(t,r,{physicalPath:n}={}){this.path=t,this.physicalPath=n??t,this.bom=M7s(r),this.body=cQl(r),this.rawBody=r}};Q7s.exports={VFile:aan}});var U7s=j((IvA,j7s)=>{"use strict";var uan=class{parseSync(t,r){let{language:n,languageOptions:i}=r,s=n.parse(t,{languageOptions:i});if(typeof s.then=="function")throw new Error("Unsupported: Language parser returned a promise.");return s.ok?{ok:!0,sourceCode:n.createSourceCode(t,s,{languageOptions:i})}:{ok:!1,errors:s.errors.map(a=>({ruleId:null,nodeType:null,fatal:!0,severity:2,message:`Parsing error: ${a.message}`,line:a.line,column:a.column}))}}};j7s.exports={ParserService:uan}});var Y7s=j(q7s=>{"use strict";var lan=class{cwd;filename;physicalFilename;sourceCode;parserOptions;parserPath;languageOptions;settings;constructor({cwd:t,filename:r,physicalFilename:n,sourceCode:i,parserOptions:s,parserPath:a,languageOptions:u,settings:l}){this.cwd=t,this.filename=r,this.physicalFilename=n,this.sourceCode=i,this.parserOptions=s,this.parserPath=a,this.languageOptions=u,this.settings=l,Object.freeze(this)}getCwd(){return this.cwd}getFilename(){return this.filename}getPhysicalFilename(){return this.physicalFilename}getSourceCode(){return this.sourceCode}extend(t){return Object.freeze(Object.assign(Object.create(this),t))}};q7s.FileContext=lan});var V7s=j((TvA,G7s)=>{"use strict";var fQl=require("node:path"),{VFile:pQl}=oan(),can=class{preprocessSync(t,r){let{processor:n}=r,i;try{i=n.preprocess(t.rawBody,t.path)}catch(s){return{ok:!1,errors:[{ruleId:null,fatal:!0,severity:2,message:`Preprocessing error: ${s.message.replace(/^line \d+:/iu,"").trim()}`,line:s.lineNumber,column:s.column,nodeType:null}]}}if(typeof i.then=="function")throw new Error("Unsupported: Preprocessor returned a promise.");return{ok:!0,files:i.map((s,a)=>{if(typeof s=="string")return s;let u=fQl.join(t.path,`${a}_${s.filename}`);return new pQl(u,s.text,{physicalPath:t.physicalPath})})}}postprocessSync(t,r,n){let{processor:i}=n;return i.postprocess(r,t.path)}};G7s.exports={ProcessorService:can}});var K7s=j((DvA,$7s)=>{"use strict";function fan(e,t){if(e===t)return!1;if(typeof e!=typeof t||Array.isArray(e)!==Array.isArray(t))return!0;if(Array.isArray(e))return e.length!==t.length||e.some((r,n)=>fan(r,t[n]));if(typeof e=="object"){if(e===null||t===null)return!0;let r=Object.keys(e),n=Object.keys(t);return r.length!==n.length||r.some(i=>!Object.hasOwn(t,i)||fan(e[i],t[i]))}return!0}$7s.exports={containsDifferentProperty:fan}});var yJt=j((wvA,J7s)=>{"use strict";var pan=class{constructor({emitWarning:t=globalThis.process?.emitWarning??(()=>{})}={}){this.emitWarning=t}emitCircularFixesWarning(t){this.emitWarning(`Circular fixes detected while fixing ${t}. It is likely that you have conflicting rules in your configuration.`,"ESLintCircularFixesWarning")}emitEmptyConfigWarning(t){this.emitWarning(`Running ESLint with an empty config (from ${t}). Please double-check that this is what you want. If you want to run ESLint with an empty config, export [{}] to remove this warning.`,"ESLintEmptyConfigWarning")}emitESLintIgnoreWarning(){this.emitWarning('The ".eslintignore" file is no longer supported. Switch to using the "ignores" property in "eslint.config.js": https://eslint.org/docs/latest/use/configure/migration-guide#ignoring-files',"ESLintIgnoreWarning")}emitESLintRCWarning(){this.emitWarning("You are using an eslintrc configuration file, which is deprecated and support will be removed in v10.0.0. Please migrate to an eslint.config.js file. See https://eslint.org/docs/latest/use/configure/migration-guide for details. An eslintrc configuration file is used because you have the ESLINT_USE_FLAT_CONFIG environment variable set to false. If you want to use an eslint.config.js file, remove the environment variable. If you want to find the location of the eslintrc configuration file, use the --debug flag.","ESLintRCWarning")}emitInactiveFlagWarning(t,r){this.emitWarning(r,`ESLintInactiveFlag_${t}`)}emitPoorConcurrencyWarning(t){this.emitWarning(`You may ${t} to improve performance.`,"ESLintPoorConcurrencyWarning")}};J7s.exports={WarningService:pan}});var _Jt=j((dan,man)=>{(function(e,t){typeof dan=="object"&&typeof man<"u"?man.exports=t():typeof define=="function"&&define.amd?define(t):(e=e||self).esquery=t()})(dan,(function(){"use strict";function e(q){return(e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(G){return typeof G}:function(G){return G&&typeof Symbol=="function"&&G.constructor===Symbol&&G!==Symbol.prototype?"symbol":typeof G})(q)}function t(q,G){return(function(K){if(Array.isArray(K))return K})(q)||(function(K,Z){var oe=K==null?null:typeof Symbol<"u"&&K[Symbol.iterator]||K["@@iterator"];if(oe!=null){var ue,me,Te,le,ae=[],Ae=!0,De=!1;try{if(Te=(oe=oe.call(K)).next,Z===0){if(Object(oe)!==oe)return;Ae=!1}else for(;!(Ae=(ue=Te.call(oe)).done)&&(ae.push(ue.value),ae.length!==Z);Ae=!0);}catch(_e){De=!0,me=_e}finally{try{if(!Ae&&oe.return!=null&&(le=oe.return(),Object(le)!==le))return}finally{if(De)throw me}}return ae}})(q,G)||n(q,G)||(function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function r(q){return(function(G){if(Array.isArray(G))return i(G)})(q)||(function(G){if(typeof Symbol<"u"&&G[Symbol.iterator]!=null||G["@@iterator"]!=null)return Array.from(G)})(q)||n(q)||(function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)})()}function n(q,G){if(q){if(typeof q=="string")return i(q,G);var K=Object.prototype.toString.call(q).slice(8,-1);return K==="Object"&&q.constructor&&(K=q.constructor.name),K==="Map"||K==="Set"?Array.from(q):K==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(K)?i(q,G):void 0}}function i(q,G){(G==null||G>q.length)&&(G=q.length);for(var K=0,Z=new Array(G);K=0;--It)if(xr[It].node===dt)return!0;return!1}function Ur(xr,dt){return new Le().traverse(xr,dt)}function Sr(xr,dt){var It;return It=(function(lr,$t){var Nt,sr,Nr,Fr;for(sr=lr.length,Nr=0;sr;)$t(lr[Fr=Nr+(Nt=sr>>>1)])?sr=Nt:(Nr=Fr+1,sr-=Nt+1);return Nr})(dt,(function(lr){return lr.range[0]>xr.range[0]})),xr.extendedRange=[xr.range[0],xr.range[1]],It!==dt.length&&(xr.extendedRange[1]=dt[It].range[0]),(It-=1)>=0&&(xr.extendedRange[0]=dt[It].range[1]),xr}return oe={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},me={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],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"]},ue={Break:Te={},Skip:le={},Remove:ae={}},De.prototype.replace=function(xr){this.parent[this.key]=xr},De.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)},Le.prototype.path=function(){var xr,dt,It,lr,$t;function Nt(sr,Nr){if(Array.isArray(Nr))for(It=0,lr=Nr.length;It=0;)if(rr=Nt[Fr=wr[Bt]]){if(Array.isArray(rr)){for(Xt=rr.length;(Xt-=1)>=0;)if(rr[Xt]&&!st(lr,rr[Xt])){if(at(sr,wr[Bt]))$t=new _e(rr[Xt],[Fr,Xt],"Property",null);else{if(!qe(rr[Xt]))continue;$t=new _e(rr[Xt],[Fr,Xt],null,null)}It.push($t)}}else if(qe(rr)){if(st(lr,rr))continue;It.push(new _e(rr,Fr,null,null))}}}}else if($t=lr.pop(),Nr=this.__execute(dt.leave,$t),this.__state===Te||Nr===Te)return},Le.prototype.replace=function(xr,dt){var It,lr,$t,Nt,sr,Nr,Fr,Bt,Xt,wr,rr,gt,Vr;function Sn(wn){var Wt,us,na,Na;if(wn.ref.remove()){for(us=wn.ref.key,Na=wn.ref.parent,Wt=It.length;Wt--;)if((na=It[Wt]).ref&&na.ref.parent===Na){if(na.ref.key=0;)if(wr=$t[Vr=Xt[Fr]])if(Array.isArray(wr)){for(Bt=wr.length;(Bt-=1)>=0;)if(wr[Bt]){if(at(Nt,Xt[Fr]))Nr=new _e(wr[Bt],[Vr,Bt],"Property",new De(wr,Bt));else{if(!qe(wr[Bt]))continue;Nr=new _e(wr[Bt],[Vr,Bt],null,new De(wr,Bt))}It.push(Nr)}}else qe(wr)&&It.push(new _e(wr,Vr,null,new De($t,Vr)))}}else if(Nr=lr.pop(),(sr=this.__execute(dt.leave,Nr))!==void 0&&sr!==Te&&sr!==le&&sr!==ae&&Nr.ref.replace(sr),this.__state!==ae&&sr!==ae||Sn(Nr),this.__state===Te||sr===Te)return gt.root;return gt.root},Z.Syntax=oe,Z.traverse=Ur,Z.replace=function(xr,dt){return new Le().replace(xr,dt)},Z.attachComments=function(xr,dt,It){var lr,$t,Nt,sr,Nr=[];if(!xr.range)throw new Error("attachComments needs range information");if(!It.length){if(dt.length){for(Nt=0,$t=dt.length;Nt<$t;Nt+=1)(lr=Ae(dt[Nt])).extendedRange=[0,xr.range[0]],Nr.push(lr);xr.leadingComments=Nr}return xr}for(Nt=0,$t=dt.length;Nt<$t;Nt+=1)Nr.push(Sr(Ae(dt[Nt]),It));return sr=0,Ur(xr,{enter:function(Fr){for(var Bt;srFr.range[0]);)Bt.extendedRange[1]===Fr.range[0]?(Fr.leadingComments||(Fr.leadingComments=[]),Fr.leadingComments.push(Bt),Nr.splice(sr,1)):sr+=1;return sr===Nr.length?ue.Break:Nr[sr].extendedRange[0]>Fr.range[1]?ue.Skip:void 0}}),sr=0,Ur(xr,{leave:function(Fr){for(var Bt;srFr.range[1]?ue.Skip:void 0}}),xr},Z.VisitorKeys=me,Z.VisitorOption=ue,Z.Controller=Le,Z.cloneEnvironment=function(){return K({})},Z})(G)})),u=s((function(q){q.exports&&(q.exports=(function(){function G(K,Z,oe,ue){this.message=K,this.expected=Z,this.found=oe,this.location=ue,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,G)}return(function(K,Z){function oe(){this.constructor=K}oe.prototype=Z.prototype,K.prototype=new oe})(G,Error),G.buildMessage=function(K,Z){var oe={literal:function(le){return'"'+me(le.text)+'"'},class:function(le){var ae,Ae="";for(ae=0;ae0){for(ae=1,Ae=1;ae<_e.length;ae++)_e[ae-1]!==_e[ae]&&(_e[Ae]=_e[ae],Ae++);_e.length=Ae}switch(_e.length){case 1:return _e[0];case 2:return _e[0]+" or "+_e[1];default:return _e.slice(0,-1).join(", ")+", or "+_e[_e.length-1]}})(K)+" but "+(function(le){return le?'"'+me(le)+'"':"end of input"})(Z)+" found."},{SyntaxError:G,parse:function(K,Z){Z=Z!==void 0?Z:{};var oe,ue,me,Te,le={},ae={start:_o},Ae=_o,De=wl(" ",!1),_e=/^[^ [\],():#!=><~+.]/,Le=Wc([" ","[","]",",","(",")",":","#","!","=",">","<","~","+","."],!0,!1),qe=wl(">",!1),at=wl("~",!1),st=wl("+",!1),Ur=wl(",",!1),Sr=function(oo,Qu){return[oo].concat(Qu.map((function(go){return go[3]})))},xr=wl("!",!1),dt=wl("*",!1),It=wl("#",!1),lr=wl("[",!1),$t=wl("]",!1),Nt=/^[>","<","!"],!1,!1),Nr=wl("=",!1),Fr=function(oo){return(oo||"")+"="},Bt=/^[><]/,Xt=Wc([">","<"],!1,!1),wr=wl(".",!1),rr=function(oo,Qu,go){return{type:"attribute",name:oo,operator:Qu,value:go}},gt=wl('"',!1),Vr=/^[^\\"]/,Sn=Wc(["\\",'"'],!0,!1),wn=wl("\\",!1),Wt={type:"any"},us=function(oo,Qu){return oo+Qu},na=function(oo){return{type:"literal",value:(Qu=oo.join(""),Qu.replace(/\\(.)/g,(function(go,ta){switch(ta){case"b":return"\b";case"f":return"\f";case"n":return` `;case"r":return"\r";case"t":return" ";case"v":return"\v";default:return ta}})))};var Qu},Na=wl("'",!1),Di=/^[^\\']/,ki=Wc(["\\","'"],!0,!1),cr=/^[0-9]/,jr=Wc([["0","9"]],!1,!1),Rn=wl("type(",!1),es=/^[^ )]/,li=Wc([" ",")"],!0,!1),mo=wl(")",!1),yu=/^[imsu]/,Va=Wc(["i","m","s","u"],!1,!1),oi=wl("/",!1),oa=/^[^\/]/,ha=Wc(["/"],!0,!1),Ua=wl(":not(",!1),pa=wl(":matches(",!1),du=wl(":has(",!1),Ha=wl(":first-child",!1),dc=wl(":last-child",!1),Yn=wl(":nth-child(",!1),Sl=wl(":nth-last-child(",!1),Jt=wl(":",!1),Qt=0,zi=[{line:1,column:1}],ks=0,lo=[],Jo={};if("startRule"in Z){if(!(Z.startRule in ae))throw new Error(`Can't start parsing from rule "`+Z.startRule+'".');Ae=ae[Z.startRule]}function wl(oo,Qu){return{type:"literal",text:oo,ignoreCase:Qu}}function Wc(oo,Qu,go){return{type:"class",parts:oo,inverted:Qu,ignoreCase:go}}function Ui(oo){var Qu,go=zi[oo];if(go)return go;for(Qu=oo-1;!zi[Qu];)Qu--;for(go={line:(go=zi[Qu]).line,column:go.column};Quks&&(ks=Qt,lo=[]),lo.push(oo))}function _o(){var oo,Qu,go,ta,fu=32*Qt+0,bl=Jo[fu];return bl?(Qt=bl.nextPos,bl.result):(oo=Qt,(Qu=ua())!==le&&(go=cp())!==le&&ua()!==le?oo=Qu=(ta=go).length===1?ta[0]:{type:"matches",selectors:ta}:(Qt=oo,oo=le),oo===le&&(oo=Qt,(Qu=ua())!==le&&(Qu=void 0),oo=Qu),Jo[fu]={nextPos:Qt,result:oo},oo)}function ua(){var oo,Qu,go=32*Qt+1,ta=Jo[go];if(ta)return Qt=ta.nextPos,ta.result;for(oo=[],K.charCodeAt(Qt)===32?(Qu=" ",Qt++):(Qu=le,ui(De));Qu!==le;)oo.push(Qu),K.charCodeAt(Qt)===32?(Qu=" ",Qt++):(Qu=le,ui(De));return Jo[go]={nextPos:Qt,result:oo},oo}function rc(){var oo,Qu,go,ta=32*Qt+2,fu=Jo[ta];if(fu)return Qt=fu.nextPos,fu.result;if(Qu=[],_e.test(K.charAt(Qt))?(go=K.charAt(Qt),Qt++):(go=le,ui(Le)),go!==le)for(;go!==le;)Qu.push(go),_e.test(K.charAt(Qt))?(go=K.charAt(Qt),Qt++):(go=le,ui(Le));else Qu=le;return Qu!==le&&(Qu=Qu.join("")),oo=Qu,Jo[ta]={nextPos:Qt,result:oo},oo}function Eo(){var oo,Qu,go,ta=32*Qt+3,fu=Jo[ta];return fu?(Qt=fu.nextPos,fu.result):(oo=Qt,(Qu=ua())!==le?(K.charCodeAt(Qt)===62?(go=">",Qt++):(go=le,ui(qe)),go!==le&&ua()!==le?oo=Qu="child":(Qt=oo,oo=le)):(Qt=oo,oo=le),oo===le&&(oo=Qt,(Qu=ua())!==le?(K.charCodeAt(Qt)===126?(go="~",Qt++):(go=le,ui(at)),go!==le&&ua()!==le?oo=Qu="sibling":(Qt=oo,oo=le)):(Qt=oo,oo=le),oo===le&&(oo=Qt,(Qu=ua())!==le?(K.charCodeAt(Qt)===43?(go="+",Qt++):(go=le,ui(st)),go!==le&&ua()!==le?oo=Qu="adjacent":(Qt=oo,oo=le)):(Qt=oo,oo=le),oo===le&&(oo=Qt,K.charCodeAt(Qt)===32?(Qu=" ",Qt++):(Qu=le,ui(De)),Qu!==le&&(go=ua())!==le?oo=Qu="descendant":(Qt=oo,oo=le)))),Jo[ta]={nextPos:Qt,result:oo},oo)}function cp(){var oo,Qu,go,ta,fu,bl,Zo,Tl,Ws=32*Qt+5,Hf=Jo[Ws];if(Hf)return Qt=Hf.nextPos,Hf.result;if(oo=Qt,(Qu=_m())!==le){for(go=[],ta=Qt,(fu=ua())!==le?(K.charCodeAt(Qt)===44?(bl=",",Qt++):(bl=le,ui(Ur)),bl!==le&&(Zo=ua())!==le&&(Tl=_m())!==le?ta=fu=[fu,bl,Zo,Tl]:(Qt=ta,ta=le)):(Qt=ta,ta=le);ta!==le;)go.push(ta),ta=Qt,(fu=ua())!==le?(K.charCodeAt(Qt)===44?(bl=",",Qt++):(bl=le,ui(Ur)),bl!==le&&(Zo=ua())!==le&&(Tl=_m())!==le?ta=fu=[fu,bl,Zo,Tl]:(Qt=ta,ta=le)):(Qt=ta,ta=le);go!==le?oo=Qu=Sr(Qu,go):(Qt=oo,oo=le)}else Qt=oo,oo=le;return Jo[Ws]={nextPos:Qt,result:oo},oo}function Sd(){var oo,Qu,go,ta,fu,bl=32*Qt+6,Zo=Jo[bl];return Zo?(Qt=Zo.nextPos,Zo.result):(oo=Qt,(Qu=Eo())===le&&(Qu=null),Qu!==le&&(go=_m())!==le?(fu=go,oo=Qu=(ta=Qu)?{type:ta,left:{type:"exactNode"},right:fu}:fu):(Qt=oo,oo=le),Jo[bl]={nextPos:Qt,result:oo},oo)}function _m(){var oo,Qu,go,ta,fu,bl,Zo,Tl=32*Qt+7,Ws=Jo[Tl];if(Ws)return Qt=Ws.nextPos,Ws.result;if(oo=Qt,(Qu=fd())!==le){for(go=[],ta=Qt,(fu=Eo())!==le&&(bl=fd())!==le?ta=fu=[fu,bl]:(Qt=ta,ta=le);ta!==le;)go.push(ta),ta=Qt,(fu=Eo())!==le&&(bl=fd())!==le?ta=fu=[fu,bl]:(Qt=ta,ta=le);go!==le?(Zo=Qu,oo=Qu=go.reduce((function(Hf,su){return{type:su[0],left:Hf,right:su[1]}}),Zo)):(Qt=oo,oo=le)}else Qt=oo,oo=le;return Jo[Tl]={nextPos:Qt,result:oo},oo}function fd(){var oo,Qu,go,ta,fu,bl,Zo,Tl=32*Qt+8,Ws=Jo[Tl];if(Ws)return Qt=Ws.nextPos,Ws.result;if(oo=Qt,K.charCodeAt(Qt)===33?(Qu="!",Qt++):(Qu=le,ui(xr)),Qu===le&&(Qu=null),Qu!==le){if(go=[],(ta=_f())!==le)for(;ta!==le;)go.push(ta),ta=_f();else go=le;go!==le?(fu=Qu,Zo=(bl=go).length===1?bl[0]:{type:"compound",selectors:bl},fu&&(Zo.subject=!0),oo=Qu=Zo):(Qt=oo,oo=le)}else Qt=oo,oo=le;return Jo[Tl]={nextPos:Qt,result:oo},oo}function _f(){var oo,Qu=32*Qt+9,go=Jo[Qu];return go?(Qt=go.nextPos,go.result):((oo=(function(){var ta,fu,bl=32*Qt+10,Zo=Jo[bl];return Zo?(Qt=Zo.nextPos,Zo.result):(K.charCodeAt(Qt)===42?(fu="*",Qt++):(fu=le,ui(dt)),fu!==le&&(fu={type:"wildcard",value:fu}),ta=fu,Jo[bl]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl,Zo=32*Qt+11,Tl=Jo[Zo];return Tl?(Qt=Tl.nextPos,Tl.result):(ta=Qt,K.charCodeAt(Qt)===35?(fu="#",Qt++):(fu=le,ui(It)),fu===le&&(fu=null),fu!==le&&(bl=rc())!==le?ta=fu={type:"identifier",value:bl}:(Qt=ta,ta=le),Jo[Zo]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl,Zo,Tl=32*Qt+12,Ws=Jo[Tl];return Ws?(Qt=Ws.nextPos,Ws.result):(ta=Qt,K.charCodeAt(Qt)===91?(fu="[",Qt++):(fu=le,ui(lr)),fu!==le&&ua()!==le&&(bl=(function(){var Hf,su,Rm,_a,Rl=32*Qt+16,Pc=Jo[Rl];return Pc?(Qt=Pc.nextPos,Pc.result):(Hf=Qt,(su=tp())!==le&&ua()!==le&&(Rm=(function(){var iu,Xc,Kf,uo=32*Qt+14,Rp=Jo[uo];return Rp?(Qt=Rp.nextPos,Rp.result):(iu=Qt,K.charCodeAt(Qt)===33?(Xc="!",Qt++):(Xc=le,ui(xr)),Xc===le&&(Xc=null),Xc!==le?(K.charCodeAt(Qt)===61?(Kf="=",Qt++):(Kf=le,ui(Nr)),Kf!==le?(Xc=Fr(Xc),iu=Xc):(Qt=iu,iu=le)):(Qt=iu,iu=le),Jo[uo]={nextPos:Qt,result:iu},iu)})())!==le&&ua()!==le?((_a=(function(){var iu,Xc,Kf,uo,Rp,Fm=32*Qt+20,Dh=Jo[Fm];if(Dh)return Qt=Dh.nextPos,Dh.result;if(iu=Qt,K.substr(Qt,5)==="type("?(Xc="type(",Qt+=5):(Xc=le,ui(Rn)),Xc!==le)if(ua()!==le){if(Kf=[],es.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(li)),uo!==le)for(;uo!==le;)Kf.push(uo),es.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(li));else Kf=le;Kf!==le&&(uo=ua())!==le?(K.charCodeAt(Qt)===41?(Rp=")",Qt++):(Rp=le,ui(mo)),Rp!==le?(Xc={type:"type",value:Kf.join("")},iu=Xc):(Qt=iu,iu=le)):(Qt=iu,iu=le)}else Qt=iu,iu=le;else Qt=iu,iu=le;return Jo[Fm]={nextPos:Qt,result:iu},iu})())===le&&(_a=(function(){var iu,Xc,Kf,uo,Rp,Fm,Dh=32*Qt+22,bc=Jo[Dh];if(bc)return Qt=bc.nextPos,bc.result;if(iu=Qt,K.charCodeAt(Qt)===47?(Xc="/",Qt++):(Xc=le,ui(oi)),Xc!==le){if(Kf=[],oa.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(ha)),uo!==le)for(;uo!==le;)Kf.push(uo),oa.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(ha));else Kf=le;Kf!==le?(K.charCodeAt(Qt)===47?(uo="/",Qt++):(uo=le,ui(oi)),uo!==le?((Rp=(function(){var wg,uh,L2=32*Qt+21,ii=Jo[L2];if(ii)return Qt=ii.nextPos,ii.result;if(wg=[],yu.test(K.charAt(Qt))?(uh=K.charAt(Qt),Qt++):(uh=le,ui(Va)),uh!==le)for(;uh!==le;)wg.push(uh),yu.test(K.charAt(Qt))?(uh=K.charAt(Qt),Qt++):(uh=le,ui(Va));else wg=le;return Jo[L2]={nextPos:Qt,result:wg},wg})())===le&&(Rp=null),Rp!==le?(Fm=Rp,Xc={type:"regexp",value:new RegExp(Kf.join(""),Fm?Fm.join(""):"")},iu=Xc):(Qt=iu,iu=le)):(Qt=iu,iu=le)):(Qt=iu,iu=le)}else Qt=iu,iu=le;return Jo[Dh]={nextPos:Qt,result:iu},iu})()),_a!==le?(su=rr(su,Rm,_a),Hf=su):(Qt=Hf,Hf=le)):(Qt=Hf,Hf=le),Hf===le&&(Hf=Qt,(su=tp())!==le&&ua()!==le&&(Rm=(function(){var iu,Xc,Kf,uo=32*Qt+13,Rp=Jo[uo];return Rp?(Qt=Rp.nextPos,Rp.result):(iu=Qt,Nt.test(K.charAt(Qt))?(Xc=K.charAt(Qt),Qt++):(Xc=le,ui(sr)),Xc===le&&(Xc=null),Xc!==le?(K.charCodeAt(Qt)===61?(Kf="=",Qt++):(Kf=le,ui(Nr)),Kf!==le?(Xc=Fr(Xc),iu=Xc):(Qt=iu,iu=le)):(Qt=iu,iu=le),iu===le&&(Bt.test(K.charAt(Qt))?(iu=K.charAt(Qt),Qt++):(iu=le,ui(Xt))),Jo[uo]={nextPos:Qt,result:iu},iu)})())!==le&&ua()!==le?((_a=(function(){var iu,Xc,Kf,uo,Rp,Fm,Dh=32*Qt+17,bc=Jo[Dh];if(bc)return Qt=bc.nextPos,bc.result;if(iu=Qt,K.charCodeAt(Qt)===34?(Xc='"',Qt++):(Xc=le,ui(gt)),Xc!==le){for(Kf=[],Vr.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(Sn)),uo===le&&(uo=Qt,K.charCodeAt(Qt)===92?(Rp="\\",Qt++):(Rp=le,ui(wn)),Rp!==le?(K.length>Qt?(Fm=K.charAt(Qt),Qt++):(Fm=le,ui(Wt)),Fm!==le?(Rp=us(Rp,Fm),uo=Rp):(Qt=uo,uo=le)):(Qt=uo,uo=le));uo!==le;)Kf.push(uo),Vr.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(Sn)),uo===le&&(uo=Qt,K.charCodeAt(Qt)===92?(Rp="\\",Qt++):(Rp=le,ui(wn)),Rp!==le?(K.length>Qt?(Fm=K.charAt(Qt),Qt++):(Fm=le,ui(Wt)),Fm!==le?(Rp=us(Rp,Fm),uo=Rp):(Qt=uo,uo=le)):(Qt=uo,uo=le));Kf!==le?(K.charCodeAt(Qt)===34?(uo='"',Qt++):(uo=le,ui(gt)),uo!==le?(Xc=na(Kf),iu=Xc):(Qt=iu,iu=le)):(Qt=iu,iu=le)}else Qt=iu,iu=le;if(iu===le)if(iu=Qt,K.charCodeAt(Qt)===39?(Xc="'",Qt++):(Xc=le,ui(Na)),Xc!==le){for(Kf=[],Di.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(ki)),uo===le&&(uo=Qt,K.charCodeAt(Qt)===92?(Rp="\\",Qt++):(Rp=le,ui(wn)),Rp!==le?(K.length>Qt?(Fm=K.charAt(Qt),Qt++):(Fm=le,ui(Wt)),Fm!==le?(Rp=us(Rp,Fm),uo=Rp):(Qt=uo,uo=le)):(Qt=uo,uo=le));uo!==le;)Kf.push(uo),Di.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(ki)),uo===le&&(uo=Qt,K.charCodeAt(Qt)===92?(Rp="\\",Qt++):(Rp=le,ui(wn)),Rp!==le?(K.length>Qt?(Fm=K.charAt(Qt),Qt++):(Fm=le,ui(Wt)),Fm!==le?(Rp=us(Rp,Fm),uo=Rp):(Qt=uo,uo=le)):(Qt=uo,uo=le));Kf!==le?(K.charCodeAt(Qt)===39?(uo="'",Qt++):(uo=le,ui(Na)),uo!==le?(Xc=na(Kf),iu=Xc):(Qt=iu,iu=le)):(Qt=iu,iu=le)}else Qt=iu,iu=le;return Jo[Dh]={nextPos:Qt,result:iu},iu})())===le&&(_a=(function(){var iu,Xc,Kf,uo,Rp,Fm,Dh,bc=32*Qt+18,wg=Jo[bc];if(wg)return Qt=wg.nextPos,wg.result;for(iu=Qt,Xc=Qt,Kf=[],cr.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(jr));uo!==le;)Kf.push(uo),cr.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(jr));if(Kf!==le?(K.charCodeAt(Qt)===46?(uo=".",Qt++):(uo=le,ui(wr)),uo!==le?Xc=Kf=[Kf,uo]:(Qt=Xc,Xc=le)):(Qt=Xc,Xc=le),Xc===le&&(Xc=null),Xc!==le){if(Kf=[],cr.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(jr)),uo!==le)for(;uo!==le;)Kf.push(uo),cr.test(K.charAt(Qt))?(uo=K.charAt(Qt),Qt++):(uo=le,ui(jr));else Kf=le;Kf!==le?(Fm=Kf,Dh=(Rp=Xc)?[].concat.apply([],Rp).join(""):"",Xc={type:"literal",value:parseFloat(Dh+Fm.join(""))},iu=Xc):(Qt=iu,iu=le)}else Qt=iu,iu=le;return Jo[bc]={nextPos:Qt,result:iu},iu})())===le&&(_a=(function(){var iu,Xc,Kf=32*Qt+19,uo=Jo[Kf];return uo?(Qt=uo.nextPos,uo.result):((Xc=rc())!==le&&(Xc={type:"literal",value:Xc}),iu=Xc,Jo[Kf]={nextPos:Qt,result:iu},iu)})()),_a!==le?(su=rr(su,Rm,_a),Hf=su):(Qt=Hf,Hf=le)):(Qt=Hf,Hf=le),Hf===le&&(Hf=Qt,(su=tp())!==le&&(su={type:"attribute",name:su}),Hf=su)),Jo[Rl]={nextPos:Qt,result:Hf},Hf)})())!==le&&ua()!==le?(K.charCodeAt(Qt)===93?(Zo="]",Qt++):(Zo=le,ui($t)),Zo!==le?ta=fu=bl:(Qt=ta,ta=le)):(Qt=ta,ta=le),Jo[Tl]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl,Zo,Tl,Ws,Hf,su,Rm=32*Qt+23,_a=Jo[Rm];if(_a)return Qt=_a.nextPos,_a.result;if(ta=Qt,K.charCodeAt(Qt)===46?(fu=".",Qt++):(fu=le,ui(wr)),fu!==le)if((bl=rc())!==le){for(Zo=[],Tl=Qt,K.charCodeAt(Qt)===46?(Ws=".",Qt++):(Ws=le,ui(wr)),Ws!==le&&(Hf=rc())!==le?Tl=Ws=[Ws,Hf]:(Qt=Tl,Tl=le);Tl!==le;)Zo.push(Tl),Tl=Qt,K.charCodeAt(Qt)===46?(Ws=".",Qt++):(Ws=le,ui(wr)),Ws!==le&&(Hf=rc())!==le?Tl=Ws=[Ws,Hf]:(Qt=Tl,Tl=le);Zo!==le?(su=bl,fu={type:"field",name:Zo.reduce((function(Rl,Pc){return Rl+Pc[0]+Pc[1]}),su)},ta=fu):(Qt=ta,ta=le)}else Qt=ta,ta=le;else Qt=ta,ta=le;return Jo[Rm]={nextPos:Qt,result:ta},ta})())===le&&(oo=(function(){var ta,fu,bl,Zo,Tl=32*Qt+24,Ws=Jo[Tl];return Ws?(Qt=Ws.nextPos,Ws.result):(ta=Qt,K.substr(Qt,5)===":not("?(fu=":not(",Qt+=5):(fu=le,ui(Ua)),fu!==le&&ua()!==le&&(bl=cp())!==le&&ua()!==le?(K.charCodeAt(Qt)===41?(Zo=")",Qt++):(Zo=le,ui(mo)),Zo!==le?ta=fu={type:"not",selectors:bl}:(Qt=ta,ta=le)):(Qt=ta,ta=le),Jo[Tl]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl,Zo,Tl=32*Qt+25,Ws=Jo[Tl];return Ws?(Qt=Ws.nextPos,Ws.result):(ta=Qt,K.substr(Qt,9)===":matches("?(fu=":matches(",Qt+=9):(fu=le,ui(pa)),fu!==le&&ua()!==le&&(bl=cp())!==le&&ua()!==le?(K.charCodeAt(Qt)===41?(Zo=")",Qt++):(Zo=le,ui(mo)),Zo!==le?ta=fu={type:"matches",selectors:bl}:(Qt=ta,ta=le)):(Qt=ta,ta=le),Jo[Tl]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl,Zo,Tl=32*Qt+26,Ws=Jo[Tl];return Ws?(Qt=Ws.nextPos,Ws.result):(ta=Qt,K.substr(Qt,5)===":has("?(fu=":has(",Qt+=5):(fu=le,ui(du)),fu!==le&&ua()!==le&&(bl=(function(){var Hf,su,Rm,_a,Rl,Pc,iu,Xc,Kf=32*Qt+4,uo=Jo[Kf];if(uo)return Qt=uo.nextPos,uo.result;if(Hf=Qt,(su=Sd())!==le){for(Rm=[],_a=Qt,(Rl=ua())!==le?(K.charCodeAt(Qt)===44?(Pc=",",Qt++):(Pc=le,ui(Ur)),Pc!==le&&(iu=ua())!==le&&(Xc=Sd())!==le?_a=Rl=[Rl,Pc,iu,Xc]:(Qt=_a,_a=le)):(Qt=_a,_a=le);_a!==le;)Rm.push(_a),_a=Qt,(Rl=ua())!==le?(K.charCodeAt(Qt)===44?(Pc=",",Qt++):(Pc=le,ui(Ur)),Pc!==le&&(iu=ua())!==le&&(Xc=Sd())!==le?_a=Rl=[Rl,Pc,iu,Xc]:(Qt=_a,_a=le)):(Qt=_a,_a=le);Rm!==le?Hf=su=Sr(su,Rm):(Qt=Hf,Hf=le)}else Qt=Hf,Hf=le;return Jo[Kf]={nextPos:Qt,result:Hf},Hf})())!==le&&ua()!==le?(K.charCodeAt(Qt)===41?(Zo=")",Qt++):(Zo=le,ui(mo)),Zo!==le?ta=fu={type:"has",selectors:bl}:(Qt=ta,ta=le)):(Qt=ta,ta=le),Jo[Tl]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl=32*Qt+27,Zo=Jo[bl];return Zo?(Qt=Zo.nextPos,Zo.result):(K.substr(Qt,12)===":first-child"?(fu=":first-child",Qt+=12):(fu=le,ui(Ha)),fu!==le&&(fu=Dg(1)),ta=fu,Jo[bl]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl=32*Qt+28,Zo=Jo[bl];return Zo?(Qt=Zo.nextPos,Zo.result):(K.substr(Qt,11)===":last-child"?(fu=":last-child",Qt+=11):(fu=le,ui(dc)),fu!==le&&(fu=pg(1)),ta=fu,Jo[bl]={nextPos:Qt,result:ta},ta)})())===le&&(oo=(function(){var ta,fu,bl,Zo,Tl,Ws=32*Qt+29,Hf=Jo[Ws];if(Hf)return Qt=Hf.nextPos,Hf.result;if(ta=Qt,K.substr(Qt,11)===":nth-child("?(fu=":nth-child(",Qt+=11):(fu=le,ui(Yn)),fu!==le)if(ua()!==le){if(bl=[],cr.test(K.charAt(Qt))?(Zo=K.charAt(Qt),Qt++):(Zo=le,ui(jr)),Zo!==le)for(;Zo!==le;)bl.push(Zo),cr.test(K.charAt(Qt))?(Zo=K.charAt(Qt),Qt++):(Zo=le,ui(jr));else bl=le;bl!==le&&(Zo=ua())!==le?(K.charCodeAt(Qt)===41?(Tl=")",Qt++):(Tl=le,ui(mo)),Tl!==le?(fu=Dg(parseInt(bl.join(""),10)),ta=fu):(Qt=ta,ta=le)):(Qt=ta,ta=le)}else Qt=ta,ta=le;else Qt=ta,ta=le;return Jo[Ws]={nextPos:Qt,result:ta},ta})())===le&&(oo=(function(){var ta,fu,bl,Zo,Tl,Ws=32*Qt+30,Hf=Jo[Ws];if(Hf)return Qt=Hf.nextPos,Hf.result;if(ta=Qt,K.substr(Qt,16)===":nth-last-child("?(fu=":nth-last-child(",Qt+=16):(fu=le,ui(Sl)),fu!==le)if(ua()!==le){if(bl=[],cr.test(K.charAt(Qt))?(Zo=K.charAt(Qt),Qt++):(Zo=le,ui(jr)),Zo!==le)for(;Zo!==le;)bl.push(Zo),cr.test(K.charAt(Qt))?(Zo=K.charAt(Qt),Qt++):(Zo=le,ui(jr));else bl=le;bl!==le&&(Zo=ua())!==le?(K.charCodeAt(Qt)===41?(Tl=")",Qt++):(Tl=le,ui(mo)),Tl!==le?(fu=pg(parseInt(bl.join(""),10)),ta=fu):(Qt=ta,ta=le)):(Qt=ta,ta=le)}else Qt=ta,ta=le;else Qt=ta,ta=le;return Jo[Ws]={nextPos:Qt,result:ta},ta})())===le&&(oo=(function(){var ta,fu,bl,Zo=32*Qt+31,Tl=Jo[Zo];return Tl?(Qt=Tl.nextPos,Tl.result):(ta=Qt,K.charCodeAt(Qt)===58?(fu=":",Qt++):(fu=le,ui(Jt)),fu!==le&&(bl=rc())!==le?ta=fu={type:"class",name:bl}:(Qt=ta,ta=le),Jo[Zo]={nextPos:Qt,result:ta},ta)})()),Jo[Qu]={nextPos:Qt,result:oo},oo)}function tp(){var oo,Qu,go,ta,fu,bl,Zo,Tl,Ws=32*Qt+15,Hf=Jo[Ws];if(Hf)return Qt=Hf.nextPos,Hf.result;if(oo=Qt,(Qu=rc())!==le){for(go=[],ta=Qt,K.charCodeAt(Qt)===46?(fu=".",Qt++):(fu=le,ui(wr)),fu!==le&&(bl=rc())!==le?ta=fu=[fu,bl]:(Qt=ta,ta=le);ta!==le;)go.push(ta),ta=Qt,K.charCodeAt(Qt)===46?(fu=".",Qt++):(fu=le,ui(wr)),fu!==le&&(bl=rc())!==le?ta=fu=[fu,bl]:(Qt=ta,ta=le);go!==le?(Zo=Qu,Tl=go,oo=Qu=[].concat.apply([Zo],Tl).join("")):(Qt=oo,oo=le)}else Qt=oo,oo=le;return Jo[Ws]={nextPos:Qt,result:oo},oo}function Dg(oo){return{type:"nth-child",index:{type:"literal",value:oo}}}function pg(oo){return{type:"nth-last-child",index:{type:"literal",value:oo}}}if((oe=Ae())!==le&&Qt===K.length)return oe;throw oe!==le&&Qt0&&le($t,Nt,sr))&&Te(Nt[0],Nt.slice(1),sr)};case"descendant":var ae=p(q.left),Ae=p(q.right);return function($t,Nt,sr){if(Ae($t,Nt,sr)){for(var Nr=0,Fr=Nt.length;Nr":return function($t){return l($t,De)>q.value.value};case">=":return function($t){return l($t,De)>=q.value.value}}throw new Error("Unknown operator: ".concat(q.operator));case"sibling":var qe=p(q.left),at=p(q.right);return function($t,Nt,sr){return at($t,Nt,sr)&&_($t,qe,Nt,"LEFT_SIDE",sr)||q.left.subject&&qe($t,Nt,sr)&&_($t,at,Nt,"RIGHT_SIDE",sr)};case"adjacent":var st=p(q.left),Ur=p(q.right);return function($t,Nt,sr){return Ur($t,Nt,sr)&&E($t,st,Nt,"LEFT_SIDE",sr)||q.right.subject&&st($t,Nt,sr)&&E($t,Ur,Nt,"RIGHT_SIDE",sr)};case"nth-child":var Sr=q.index.value,xr=p(q.right);return function($t,Nt,sr){return xr($t,Nt,sr)&&b($t,Nt,Sr,sr)};case"nth-last-child":var dt=-q.index.value,It=p(q.right);return function($t,Nt,sr){return It($t,Nt,sr)&&b($t,Nt,dt,sr)};case"class":var lr=q.name.toLowerCase();return function($t,Nt,sr){if(sr&&sr.matchClass)return sr.matchClass(q.name,$t,Nt);if(sr&&sr.nodeTypeKey)return!1;switch(lr){case"statement":if($t.type.slice(-9)==="Statement")return!0;case"declaration":return $t.type.slice(-11)==="Declaration";case"pattern":if($t.type.slice(-7)==="Pattern")return!0;case"expression":return $t.type.slice(-10)==="Expression"||$t.type.slice(-7)==="Literal"||$t.type==="Identifier"&&(Nt.length===0||Nt[0].type!=="MetaProperty")||$t.type==="MetaProperty";case"function":return $t.type==="FunctionDeclaration"||$t.type==="FunctionExpression"||$t.type==="ArrowFunctionExpression"}throw new Error("Unknown class name: ".concat(q.name))}}throw new Error("Unknown selector type: ".concat(q.type))}function A(q,G){var K=G&&G.nodeTypeKey||"type",Z=q[K];return G&&G.visitorKeys&&G.visitorKeys[Z]?G.visitorKeys[Z]:a.VisitorKeys[Z]?a.VisitorKeys[Z]:G&&typeof G.fallback=="function"?G.fallback(q):Object.keys(q).filter((function(oe){return oe!==K}))}function h(q,G){var K=G&&G.nodeTypeKey||"type";return q!==null&&e(q)==="object"&&typeof q[K]=="string"}function _(q,G,K,Z,oe){var ue=t(K,1)[0];if(!ue)return!1;for(var me=A(ue,oe),Te=0;Te0&&h(le[ae-1],oe)&&G(le[ae-1],K,oe)||Z==="RIGHT_SIDE"&&ae=0&&le{"use strict";var H7s=_Jt(),EJt=class{source;isExit;root;nodeTypes;attributeCount;identifierCount;constructor(t,r,n,i,s,a){this.source=t,this.isExit=r,this.root=n,this.nodeTypes=i,this.attributeCount=s,this.identifierCount=a}compare(t){return this.attributeCount-t.attributeCount||this.identifierCount-t.identifierCount||(this.source<=t.source?-1:1)}},gan=new Map;function dQl(...e){return[...new Set(e.flat())]}function mQl(...e){if(e.length===0)return[];let t=[...new Set(e[0])];for(let r of e.slice(1))t=t.filter(n=>r.includes(n));return t}function gQl(e){let t=0,r=0;function n(s){switch(s.type){case"identifier":return r++,[s.value];case"not":return s.selectors.map(n),null;case"matches":{let a=s.selectors.map(n);return a.every(Boolean)?dQl(...a):null}case"compound":{let a=s.selectors.map(n).filter(u=>u);return a.length?mQl(...a):null}case"attribute":case"field":case"nth-child":case"nth-last-child":return t++,null;case"child":case"descendant":case"sibling":case"adjacent":return n(s.left),n(s.right);case"class":return s.name==="function"?["FunctionDeclaration","FunctionExpression","ArrowFunctionExpression"]:null;default:return null}}return{nodeTypes:n(e),attributeCount:t,identifierCount:r}}function AQl(e){return e==="*"?{type:"wildcard",value:"*"}:/^[a-z]+$/iu.test(e)?{type:"identifier",value:e}:null}function hQl(e){try{return H7s.parse(e)}catch(t){throw t.location&&t.location.start&&typeof t.location.start.offset=="number"?new SyntaxError(`Syntax error in selector "${e}" at position ${t.location.start.offset}: ${t.message}`,{cause:t}):t}}function yQl(e){if(gan.has(e))return gan.get(e);let t=e.replace(/:exit$/u,""),r=AQl(t)??hQl(t),{nodeTypes:n,attributeCount:i,identifierCount:s}=gQl(r),a=new EJt(e,e.endsWith(":exit"),r,n,i,s);return gan.set(e,a),a}function _Ql(e,t,r,n){return H7s.matches(e,t,r,n)}z7s.exports={parse:yQl,matches:_Ql,ESQueryParsedSelector:EJt}});var Z7s=j((kvA,X7s)=>{"use strict";var{parse:EQl,matches:xQl}=W7s(),vQl=gGe(),CQl=1,bQl=2;function xJt(e,t){return e.compare(t)}var Aan=class{constructor(t,r){this.visitor=t,this.esqueryOptions=r,this.enterSelectorsByNodeType=new Map,this.exitSelectorsByNodeType=new Map,this.anyTypeEnterSelectors=[],this.anyTypeExitSelectors=[],t.forEachName(n=>{let i=EQl(n);if(i.nodeTypes){let a=i.isExit?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType;i.nodeTypes.forEach(u=>{a.has(u)||a.set(u,[]),a.get(u).push(i)});return}(i.isExit?this.anyTypeExitSelectors:this.anyTypeEnterSelectors).push(i)}),this.anyTypeEnterSelectors.sort(xJt),this.anyTypeExitSelectors.sort(xJt),this.enterSelectorsByNodeType.forEach(n=>n.sort(xJt)),this.exitSelectorsByNodeType.forEach(n=>n.sort(xJt))}matches(t,r,n){return xQl(t,n.root,r,this.esqueryOptions)}calculateSelectors(t,r,n){let i=this.esqueryOptions?.nodeTypeKey||"type",s=[],a=(n?this.exitSelectorsByNodeType:this.enterSelectorsByNodeType).get(t[i])||[],u=n?this.anyTypeExitSelectors:this.anyTypeEnterSelectors,l=0,f=0;for(;l!1),nodeTypeKey:this.#e.nodeTypeKey}),s=[];for(let a of n??t.traverse())switch(a.kind){case CQl:{try{a.phase===1?(i.calculateSelectors(a.target,s,!1).forEach(u=>{r.callSync(u,...a.args??[a.target])}),s.unshift(a.target)):(s.shift(),i.calculateSelectors(a.target,s,!0).forEach(u=>{r.callSync(u,...a.args??[a.target])}))}catch(u){throw u.currentNode=a.target,u}break}case bQl:{r.callSync(a.target,...a.args);break}default:throw new Error(`Invalid traversal step found: "${a.kind}".`)}}};X7s.exports={SourceCodeTraverser:han}});var r5s=j((PvA,t5s)=>{"use strict";function e5s(e,t){return{range:[e,e],text:t}}var yan=class{#e;constructor({sourceCode:t}){this.#e=t}insertTextAfter(t,r){let n=this.#e.getRange(t);return this.insertTextAfterRange(n,r)}insertTextAfterRange(t,r){return e5s(t[1],r)}insertTextBefore(t,r){let n=this.#e.getRange(t);return this.insertTextBeforeRange(n,r)}insertTextBeforeRange(t,r){return e5s(t[0],r)}replaceText(t,r){let n=this.#e.getRange(t);return this.replaceTextRange(n,r)}replaceTextRange(t,r){return{range:t,text:r}}remove(t){let r=this.#e.getRange(t);return this.removeRange(r)}removeRange(t){return{range:t,text:""}}};t5s.exports={RuleFixer:yan}});var _an=j((NvA,i5s)=>{"use strict";function n5s(){return/\{\{([^{}]+)\}\}/gu}function IQl(e,t){if(!t)return e;let r=n5s();return e.replace(r,(n,i)=>{let s=i.trim();return s in t?t[s]:n})}i5s.exports={getPlaceholderMatcher:n5s,interpolate:IQl}});var p5s=j((OvA,f5s)=>{"use strict";var vJt=VGe(),{RuleFixer:SQl}=r5s(),{interpolate:a5s}=_an(),s5s=require("./replacements-6W6YWCNS.json"),TQl={start:{line:1,column:0},end:{line:1,column:1}};function o5s({line:e,column:t,endLine:r,endColumn:n},i){let s=i.columnStart===1?0:1,a=i.lineStart===1?0:1,u=r===void 0?r:r+a,l=n===void 0?n:n+s;return{line:e+a,column:t+s,endLine:u,endColumn:l}}function DQl(e){return Object.hasOwn(s5s.rules,e)?`Rule '${e}' was removed and replaced by: ${s5s.rules[e].join(", ")}`:`Definition for rule '${e}' was not found.`}function Ean(e,t,r){let{ruleId:n=null,loc:i=TQl,message:s=DQl(e.ruleId)}=e;return{ruleId:n,message:s,...o5s({line:i.start.line,column:i.start.column,endLine:i.end.line,endColumn:i.end.column},r),severity:t,nodeType:null}}function wQl(...e){return e.length===1?Object.assign({},e[0]):typeof e[1]=="string"?{node:e[0],message:e[1],data:e[2],fix:e[3]}:{node:e[0],loc:e[1],message:e[2],data:e[3],fix:e[4]}}function BQl(e){e.node?vJt(typeof e.node=="object","Node must be an object"):vJt(e.loc,"Node must be provided when reporting error if location is not provided")}function kQl(e){return e.loc.start?e.loc:{start:e.loc,end:null}}function u5s(e){return e?{range:[e.range[0],e.range[1]],text:e.text}:null}function l5s(e){e&&vJt(e.range&&typeof e.range[0]=="number"&&typeof e.range[1]=="number",`Fix has invalid range: ${JSON.stringify(e,null,2)}`)}function PQl(e,t){return e.range[0]-t.range[0]||e.range[1]-t.range[1]}function NQl(e,t){for(let u of e)l5s(u);if(e.length===0)return null;if(e.length===1)return u5s(e[0]);e.sort(PQl);let r=t.text,n=e[0].range[0],i=e.at(-1).range[1],s="",a=Number.MIN_SAFE_INTEGER;for(let u of e)vJt(u.range[0]>=a,"Fix objects must not be overlapped in a report."),u.range[0]>=0&&(s+=r.slice(Math.max(0,n,a),u.range[0])),s+=u.text,a=u.range[1];return s+=r.slice(Math.max(0,n,a),i),{range:[n,i],text:s}}function c5s(e,t){if(typeof e.fix!="function")return null;let r=new SQl({sourceCode:t}),n=e.fix(r);return n&&Symbol.iterator in n?NQl(Array.from(n),t):(l5s(n),u5s(n))}function OQl(e,t,r){return!e.suggest||!Array.isArray(e.suggest)?[]:e.suggest.map(n=>{let i=n.desc||r[n.messageId];return{...n,desc:a5s(i,n.data),fix:c5s(n,t)}}).filter(({fix:n})=>n)}function RQl(e){let{language:t}=e,r=t.columnStart===1?0:1,n=t.lineStart===1?0:1,i={ruleId:e.ruleId,severity:e.severity,message:e.message,line:e.loc.start.line+n,column:e.loc.start.column+r,nodeType:e.node&&e.node.type||null};return e.messageId&&(i.messageId=e.messageId),e.loc.end&&(i.endLine=e.loc.end.line+n,i.endColumn=e.loc.end.column+r),e.fix&&(i.fix=e.fix),e.suggestions&&e.suggestions.length>0&&(i.suggestions=e.suggestions),i}function FQl(e,t){e&&Array.isArray(e)&&e.forEach(r=>{if(r.messageId){let{messageId:n}=r;if(!t)throw new TypeError(`context.report() called with a suggest option with a messageId '${n}', but no messages were present in the rule metadata.`);if(!t[n])throw new TypeError(`context.report() called with a suggest option with a messageId '${n}' which is not present in the 'messages' config: ${JSON.stringify(t,null,2)}`);if(r.desc)throw new TypeError("context.report() called with a suggest option that defines both a 'messageId' and an 'desc'. Please only pass one.")}else if(!r.desc)throw new TypeError("context.report() called with a suggest option that doesn't have either a `desc` or `messageId`");if(typeof r.fix!="function")throw new TypeError(`context.report() called with a suggest option without a fix function. See: ${JSON.stringify(r,null,2)}`)})}function LQl(e,t){if(e.messageId){if(!t)throw new TypeError("context.report() called with a messageId, but no messages were present in the rule metadata.");let r=e.messageId;if(e.message)throw new TypeError("context.report() called with a message and a messageId. Please only pass one.");if(!t||!Object.hasOwn(t,r))throw new TypeError(`context.report() called with a messageId of '${r}' which is not present in the 'messages' config: ${JSON.stringify(t,null,2)}`);return t[r]}if(e.message)return e.message;throw new TypeError("Missing `message` property in report() call; add a message that describes the linting problem.")}var xan=class{messages=[];#e;#t;#r;#n;constructor({ruleMapper:t,sourceCode:r,language:n,disableFixes:i=!1}){this.#e=t,this.#t=r,this.#r=n,this.#n=i}addRuleMessage(t,r,...n){let i=wQl(...n),a=this.#e(t)?.meta?.messages;BQl(i);let u=LQl(i,a);return FQl(i.suggest,a),this.messages.push(RQl({ruleId:t,severity:r,node:i.node,message:a5s(u,i.data),messageId:i.messageId,loc:i.loc?kQl(i):this.#t.getLoc(i.node),fix:this.#n?null:c5s(i,this.#t),suggestions:this.#n?[]:OQl(i,this.#t,a),language:this.#r})),this.messages.at(-1)}addError(t){let r=Ean(t,2,this.#r);return this.messages.push(r),r}addFatal(t){let r=Ean(t,2,this.#r);return r.fatal=!0,this.messages.push(r),r}addWarning(t){let r=Ean(t,1,this.#r);return this.messages.push(r),r}};f5s.exports={FileReport:xan,updateLocationInformation:o5s}});var O5s=j((RvA,N5s)=>{"use strict";var cVe=require("node:path"),D5s=xKt(),MQl=gGe(),Dpt=AGe(),d5s=SVt(),m5s=require("./package-MTQD2YUX.json"),{Legacy:{ConfigOps:w5s,ConfigValidator:QQl,environments:jQl}}=Eks(),UQl=zft(),{SourceCode:g5s}=gpt(),A5s=S7s(),{ConfigCommentParser:qQl}=sin(),B5s=D7s(),YQl=tan(),{SourceCodeVisitor:GQl}=P7s(),CJt=win(),{FlatConfigArray:VQl}=hJt(),{startTime:bpt,endTime:Ipt}=Tin(),{assertIsRuleSeverity:$Ql}=zKt(),{normalizeSeverityToString:SJt,normalizeSeverityToNumber:KQl}=psn(),{deepMergeArrays:k5s}=fsn(),Spt=CKt(),{activeFlags:JQl,inactiveFlags:h5s,getInactivityReasonMessage:HQl}=L7s(),kw=B1()("eslint:linter"),zQl=10,WQl="espree",XQl=5,n5e=new qQl,ZQl=Symbol.for("eslint.RuleTester.parser"),{LATEST_ECMA_VERSION:ejl}=r$t(),{VFile:bJt}=oan(),{ParserService:y5s}=U7s(),{FileContext:tjl}=Y7s(),{ProcessorService:_5s}=V7s(),{containsDifferentProperty:rjl}=K7s(),{Config:njl}=lVe(),{WarningService:ijl}=yJt(),{SourceCodeTraverser:sjl}=Z7s(),{FileReport:E5s,updateLocationInformation:x5s}=p5s();function ajl(e){return e===Dpt||e[ZQl]===Dpt}function ojl(e,t,{exportedVariables:r,enabledGlobals:n}){for(let i of new Set([...Object.keys(t),...Object.keys(n)])){let s=t[i]===void 0?void 0:w5s.normalizeConfigGlobal(t[i]),u=n[i]&&n[i].value||s,l=n[i]&&n[i].comments;if(u==="off")continue;let f=e.set.get(i);f||(f=new D5s.Variable(i,e),e.variables.push(f),e.set.set(i,f)),f.eslintImplicitGlobalSetting=s,f.eslintExplicitGlobal=l!==void 0,f.eslintExplicitGlobalComments=l,f.writeable=u==="writable"}Object.keys(r).forEach(i=>{let s=e.set.get(i);s&&(s.eslintUsed=!0,s.eslintExported=!0)}),e.through=e.through.filter(i=>{let s=i.identifier.name,a=e.set.get(s);return a?(i.resolved=a,a.references.push(i),!1):!0})}function TJt(e){return Array.isArray(e)?e:[e]}function ujl(e,t,r,n,i,s,a){let u=e.rules?.[n],l=u?TJt(u):["off"],f=SJt(l[0]),p=SJt(i[0]);if(!(f===p))return;let A=u?`is already configured to '${f}'`:"is not enabled so can't be turned off",h;if(l.length===1&&i.length===1||f==="off"?h=`Unused inline config ('${n}' ${A}).`:rjl(i.slice(1),l.slice(1))||(h=s.length===1?`Unused inline config ('${n}' ${A}).`:`Unused inline config ('${n}' ${A} with the same options).`),h){let _=KQl(a),E={message:h,loc:t};_===1?r.addWarning(E):_===2&&r.addError(E)}}function P5s({type:e,value:t,justification:r,node:n},i,s,a,u){let l=Object.keys(n5e.parseListConfig(t)),f=l.length?l:[null],p=[],g={node:n,value:t,ruleIds:l};for(let A of f){let h=a.getLoc(n);if(A===null||i(A))if(e==="disable-next-line"){let{line:_,column:E}=x5s(h.end,s);p.push({parentDirective:g,type:e,line:_,column:E,ruleId:A,justification:r})}else{let{line:_,column:E}=x5s(h.start,s);p.push({parentDirective:g,type:e,line:_,column:E,ruleId:A,justification:r})}else u.addError({ruleId:A,loc:h})}return p}function ljl(e,t,r,n,i){let s={},a=Object.create(null),u={},l=[],f=new QQl({builtInRules:B5s});return e.getInlineConfigNodes().filter(p=>p.type!=="Shebang").forEach(p=>{let g=n5e.parseDirective(p.value);if(!g)return;let{label:A,value:h,justification:_}=g,E=/^eslint-disable-(?:next-)?line$/u.test(A);if(p.type==="Line"&&!E)return;let b=e.getLoc(p);if(r){let D=p.type==="Block"?`/*${A}*/`:`//${A}`;i.addWarning({ruleId:null,message:`'${D}' has no effect because you have 'noInlineConfig' setting in ${r}.`,loc:b});return}if(A==="eslint-disable-line"&&b.start.line!==b.end.line){let D=`${A} comment should not span multiple lines.`;i.addError({message:D,loc:b});return}switch(A){case"eslint-disable":case"eslint-enable":case"eslint-disable-next-line":case"eslint-disable-line":{let D=A.slice(7),k=P5s({type:D,value:h,justification:_,node:p},t,Spt,e,i);l.push(...k);break}case"exported":Object.assign(u,n5e.parseListConfig(h));break;case"globals":case"global":for(let[D,k]of Object.entries(n5e.parseStringConfig(h))){let M;try{M=w5s.normalizeConfigGlobal(k)}catch(R){i.addError({loc:b,message:R.message});continue}a[D]?(a[D].comments.push(p),a[D].value=M):a[D]={comments:[p],value:M}}break;case"eslint":{let D=n5e.parseJSONLikeConfig(h);D.ok?Object.keys(D.config).forEach(k=>{let M=t(k),R=D.config[k];if(!M){i.addError({ruleId:k,loc:b});return}if(Object.hasOwn(s,k)){i.addError({message:`Rule "${k}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:b});return}let q=TJt(R);q.length===1&&n.rules&&Object.hasOwn(n.rules,k)&&(q=[q[0],...TJt(n.rules[k]).slice(1)]);try{f.validateRuleOptions(M,k,q)}catch(G){if(G.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw G;i.addError({ruleId:k,message:G.message,loc:b});return}s[k]=q}):i.addFatal({loc:b,message:D.error.message});break}}}),{configuredRules:s,enabledGlobals:a,exportedVariables:u,disableDirectives:l}}function cjl(e,t,r,n){let i=[];if(e.getDisableDirectives){let{directives:s,problems:a}=e.getDisableDirectives();Array.isArray(a)&&a.forEach(u=>n.addError(u)),s.forEach(u=>{let l=P5s(u,t,r,e,n);i.push(...l)})}return i}function fjl(e,t){return ajl(e)&&t==="latest"?Dpt.latestEcmaVersion:t>=2015?t-2009:t}function pjl(e){switch(e){case 3:return 3;case 5:case void 0:return 5;default:if(typeof e=="number")return e>=2015?e:e+2009}return ejl}var v5s=/\/\*\s*eslint-env\s.+?(?:\*\/|$)/gsu;function djl(e){let t,r;for(v5s.lastIndex=0;(t=v5s.exec(e))!==null;)t[0].endsWith("*/")&&(r=Object.assign(r||{},n5e.parseListConfig(n5e.parseDirective(t[0].slice(2,-2)).value)));return r}function Tpt(e){let t=e.split(cVe.sep),r=t.lastIndexOf("");return r===-1?e:t.slice(r).join(cVe.sep)}function C5s(e,t){let r=t.linterOptions||t,n=r.noInlineConfig===!0,i=e.allowInlineConfig===!1,s=t.configNameOfNoInlineConfig?` (${t.configNameOfNoInlineConfig})`:"",a=e.reportUnusedDisableDirectives;typeof a=="boolean"&&(a=a?"error":"off"),typeof a!="string"&&(typeof r.reportUnusedDisableDirectives=="boolean"?a=r.reportUnusedDisableDirectives?"warn":"off":a=r.reportUnusedDisableDirectives===void 0?"off":SJt(r.reportUnusedDisableDirectives));let u=r.reportUnusedInlineConfigs===void 0?"off":SJt(r.reportUnusedInlineConfigs),l=e.ruleFilter;return typeof l!="function"&&(l=()=>!0),{filename:Tpt(e.filename||""),allowInlineConfig:!i,warnInlineConfig:n&&!i?`your config${s}`:null,reportUnusedDisableDirectives:a,reportUnusedInlineConfigs:u,disableFixes:!!e.disableFixes,stats:e.stats,ruleFilter:l}}function mjl(e,t,r){let n=r.filter(a=>a.parserOptions).reduce((a,u)=>d5s(a,u.parserOptions),{}),i=d5s(n,t||{});return i.sourceType==="module"&&(i.ecmaFeatures=Object.assign({},i.ecmaFeatures,{globalReturn:!1})),i.ecmaVersion=fjl(e,i.ecmaVersion),i}function gjl({globals:e,parser:t,parserOptions:r}){let{ecmaVersion:n,sourceType:i}=r;return{globals:e,ecmaVersion:pjl(n),sourceType:i,parser:t,parserOptions:r}}function Ajl(e,t){return Object.assign(Object.create(null),...t.filter(r=>r.globals).map(r=>r.globals),e)}function r5e(e,t,r){let{type:n,key:i}=t;r.times||(r.times={passes:[{}]});let s=r.fixPasses;s>r.times.passes.length-1&&r.times.passes.push({}),i?(r.times.passes[s][n]??={},r.times.passes[s][n][i]??={total:0},r.times.passes[s][n][i].total+=e):(r.times.passes[s][n]??={total:0},r.times.passes[s][n].total+=e)}function hjl(e,t){return Array.isArray(e)?k5s(t,e.slice(1)):t??[]}function b5s(e,t,r){let i=t.parserOptions.ecmaFeatures||{},s=t.ecmaVersion||XQl;return D5s.analyze(e,{ignoreEval:!0,nodejsScope:i.globalReturn,impliedStrict:i.impliedStrict,ecmaVersion:typeof s=="number"?s:6,sourceType:t.sourceType||"script",childVisitorKeys:r||MQl.KEYS,fallback:UQl.getKeys})}function I5s(e,t){if(!e||typeof e!="object"||typeof e.create!="function")throw new TypeError(`Error while loading rule '${t.id}': Rule must be an object with a \`create\` method`);try{return e.create(t)}catch(r){throw r.message=`Error while loading rule '${t.id}': ${r.message}`,r}}function S5s(e,t,r,n,i,s,a,u,l,f,p,g,A,h,_){let E=new GQl,b=new tjl({cwd:f,filename:u,physicalFilename:p||u,sourceCode:e,parserOptions:{...s.parserOptions},parserPath:n,languageOptions:s,settings:a}),D=e.traverse();return Object.keys(t).forEach(M=>{let R=njl.getRuleNumericSeverity(t[M]);if(R===0||g&&!g({ruleId:M,severity:R}))return;let q=r(M);if(!q){_.addError({ruleId:M});return}let G=b.extend({id:M,options:hjl(t[M],l?q.meta?.defaultOptions:void 0),report(...ue){let me=_.addRuleMessage(M,R,...ue);if(me.fix&&!(q.meta&&q.meta.fixable))throw new Error('Fixable rules must set the `meta.fixable` property to "code" or "whitespace".');if(me.suggestions&&!(q.meta&&q.meta.hasSuggestions===!0))throw q.meta&&q.meta.docs&&typeof q.meta.docs.suggestion<"u"?new Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`. `meta.docs.suggestion` is ignored by ESLint."):new Error("Rules with suggestions must set the `meta.hasSuggestions` property to `true`.")}}),K=CJt.enabled||A?CJt.time(M,I5s,A)(q,G):I5s(q,G),Z=A?K.result:K;A&&r5e(K.tdiff,{type:"rules",key:M},h);function oe(ue){return function(...Te){try{let le=ue(...Te),ae=A?le.result:le;return A&&r5e(le.tdiff,{type:"rules",key:M},h),ae}catch(le){throw le.ruleId=M,le}}}if(typeof Z>"u"||Z===null)throw new Error(`The create() function for rule '${M}' did not return an object.`);Object.keys(Z).forEach(ue=>{let me=CJt.enabled||A?CJt.time(M,Z[ue],A):Z[ue];E.add(ue,oe(me))})}),sjl.getInstance(i).traverseSync(e,E,{steps:D}),_}function T5s(e){if(typeof e=="object"){let{hasBOM:t,text:r}=e;return(t?"\uFEFF":"")+r}return String(e)}function yjl(e,t){return e.lastConfigArray&&e.lastConfigArray.pluginEnvironments.get(t)||jQl.get(t)||null}function van(e,t){return e.lastConfigArray&&e.lastConfigArray.pluginRules.get(t)||e.ruleMap.get(t)}function _jl(e){if(e)return e;if(typeof process=="object")return process.cwd()}var u4=new WeakMap;function IJt(e){let{configType:t}=u4.get(e);if(t==="flat")throw new Error("This method cannot be used with flat config. Add your entries directly into the config array.")}var Can=class{constructor({cwd:t,configType:r="flat",flags:n=[],warningService:i=new ijl}={}){let s=[];n.forEach(a=>{if(h5s.has(a)){let u=h5s.get(a),l=HQl(u),f=`The flag '${a}' is inactive: ${l}`;if(typeof u.replacedBy>"u")throw new Error(f);typeof u.replacedBy=="string"&&s.push(u.replacedBy),i.emitInactiveFlagWarning(a,f);return}if(!JQl.has(a))throw new Error(`Unknown flag '${a}'.`);s.push(a)}),u4.set(this,{cwd:_jl(t),flags:s,lastConfigArray:null,lastSourceCode:null,lastSuppressedMessages:[],configType:r,parserMap:new Map([["espree",Dpt]]),ruleMap:new B5s,warningService:i}),this.version=m5s.version}static get version(){return m5s.version}hasFlag(t){return u4.get(this).flags.includes(t)}#e(t,r,n){let i=u4.get(this),s=r||{},a=C5s(n,s),u=WQl,l=Dpt;if(typeof s.parser=="object"&&s.parser!==null)u=s.parser.filePath,l=s.parser.definition;else if(typeof s.parser=="string"){if(!i.parserMap.has(s.parser))return[{ruleId:null,fatal:!0,severity:2,message:`Configured parser '${s.parser}' was not found.`,line:0,column:0,nodeType:null}];u=s.parser,l=i.parserMap.get(s.parser)}let f=a.allowInlineConfig&&!a.warnInlineConfig?djl(t.body):{},p=Object.assign({builtin:!0},s.env,f),g=Object.keys(p).filter(R=>p[R]).map(R=>yjl(i,R)).filter(R=>R),A=mjl(l,s.parserOptions||{},g),h=Ajl(s.globals||{},g),_=s.settings||{},E=gjl({globals:s.globals,parser:l,parserOptions:A});if(i.lastSourceCode)i.lastSourceCode.scopeManager||(i.lastSourceCode=new g5s({text:i.lastSourceCode.text,ast:i.lastSourceCode.ast,hasBOM:i.lastSourceCode.hasBOM,parserServices:i.lastSourceCode.parserServices,visitorKeys:i.lastSourceCode.visitorKeys,scopeManager:b5s(i.lastSourceCode.ast,E)}));else{let R;a.stats&&(R=bpt());let G=new y5s().parseSync(t,{language:Spt,languageOptions:E});if(a.stats){let K=Ipt(R);r5e(K,{type:"parse"},i)}if(!G.ok)return G.errors;i.lastSourceCode=G.sourceCode}let b=i.lastSourceCode,D=new E5s({ruleMapper:R=>van(i,R),language:Spt,sourceCode:b,disableFixes:a.disableFixes}),k=a.allowInlineConfig?ljl(b,R=>van(i,R),a.warnInlineConfig,s,D):{configuredRules:{},enabledGlobals:{},exportedVariables:{},disableDirectives:[]};ojl(b.scopeManager.scopes[0],h,{exportedVariables:k.exportedVariables,enabledGlobals:k.enabledGlobals});let M=Object.assign({},s.rules,k.configuredRules);try{S5s(b,M,R=>van(i,R),u,Spt,E,_,a.filename,!0,i.cwd,n.physicalFilename,null,a.stats,i,D)}catch(R){if(R.message+=` Occurred while linting ${a.filename}`,kw("An error occurred while traversing"),kw("Filename:",a.filename),R.currentNode){let{line:q}=b.getLoc(R.currentNode).start;kw("Line:",q),R.message+=`:${q}`}throw kw("Parser Options:",A),kw("Parser Path:",u),kw("Settings:",_),R.ruleId&&(R.message+=` Rule: "${R.ruleId}"`),R}return A5s({language:Spt,sourceCode:b,directives:k.disableDirectives,disableFixes:a.disableFixes,problems:D.messages.sort((R,q)=>R.line-q.line||R.column-q.column),reportUnusedDisableDirectives:a.reportUnusedDisableDirectives})}_verifyWithoutProcessors(t,r,n){let i=u4.get(this),s=Tpt(n.filename||""),a;typeof t=="string"?(i.lastSourceCode=null,a=t):(i.lastSourceCode=t,a=t.text);let u=new bJt(s,a,{physicalPath:n.physicalFilename});return this.#e(u,r,n)}verify(t,r,n){kw("Verify");let{configType:i,cwd:s}=u4.get(this),a=typeof n=="string"?{filename:n}:n||{},u=r??{};if(i!=="eslintrc"){let l=u;return(!Array.isArray(u)||typeof u.getConfig!="function")&&(l=new VQl(u,{basePath:s}),l.normalizeSync()),this._distinguishSuppressedMessages(this._verifyWithFlatConfigArray(t,l,a,!0))}return typeof u.extractConfig=="function"?this._distinguishSuppressedMessages(this._verifyWithConfigArray(t,u,a)):a.preprocess||a.postprocess?this._distinguishSuppressedMessages(this._verifyWithProcessor(t,u,a)):this._distinguishSuppressedMessages(this._verifyWithoutProcessors(t,u,a))}_verifyWithFlatConfigArrayAndProcessor(t,r,n,i){let s=u4.get(this),a=n.filename||"",u=Tpt(a),l=n.physicalFilename||u,f=T5s(t),p=new bJt(u,f,{physicalPath:l}),g=n.preprocess||(M=>[M]),A=n.postprocess||(M=>M.flat()),h=new _5s,_=h.preprocessSync(p,{processor:{preprocess:g,postprocess:A}});if(!_.ok)return _.errors;let E=n.filterCodeBlock||(M=>M.endsWith(".js")),b=cVe.extname(a),{files:D}=_,k=D.map(M=>(kw("A code block was found: %o",M.path||"(unnamed)"),typeof M=="string"?this._verifyWithFlatConfigArrayAndWithoutProcessors(M,r,n):E(M.path,M.body)?i&&(f!==M.rawBody||cVe.extname(M.path)!==b)?(kw("Resolving configuration again because the file content or extension was changed."),this._verifyWithFlatConfigArray(M.rawBody,i,{...n,filename:M.path,physicalFilename:M.physicalPath})):(s.lastSourceCode=null,this.#t(M,r,{...n,filename:M.path,physicalFilename:M.physicalPath})):(kw("This code block was skipped."),[])));return h.postprocessSync(p,k,{processor:{preprocess:g,postprocess:A}})}#t(t,r,n){let i=u4.get(this),s=r||{},{settings:a={},languageOptions:u}=s,l=C5s(n,s);if(i.lastSourceCode)i.lastSourceCode.scopeManager===null&&(i.lastSourceCode=new g5s({text:i.lastSourceCode.text,ast:i.lastSourceCode.ast,hasBOM:i.lastSourceCode.hasBOM,parserServices:i.lastSourceCode.parserServices,visitorKeys:i.lastSourceCode.visitorKeys,scopeManager:b5s(i.lastSourceCode.ast,u)}));else{let _;l.stats&&(_=bpt());let b=new y5s().parseSync(t,s);if(l.stats){let D=Ipt(_);r5e(D,{type:"parse"},i)}if(!b.ok)return b.errors;i.lastSourceCode=b.sourceCode}let f=i.lastSourceCode,p=new E5s({ruleMapper:_=>s.getRuleDefinition(_),language:s.language,sourceCode:f,disableFixes:l.disableFixes});f.applyLanguageOptions?.(u);let g={rules:{}};if(l.allowInlineConfig)if(l.warnInlineConfig)f.getInlineConfigNodes&&f.getInlineConfigNodes().forEach(_=>{let E=f.getLoc(_),b=f.getRange(_);p.addWarning({message:`'${f.text.slice(b[0],b[1])}' has no effect because you have 'noInlineConfig' setting in ${l.warnInlineConfig}.`,loc:E})});else{let _=f.applyInlineConfig?.();if(_){_.problems.forEach(E=>{p.addFatal(E)});for(let{config:E,loc:b}of _.configs)Object.keys(E.rules).forEach(D=>{let k=(n.getRule??s.getRuleDefinition).apply(s,[D]),M=E.rules[D];if(!k){p.addError({ruleId:D,loc:b});return}if(Object.hasOwn(g.rules,D)){p.addError({message:`Rule "${D}" is already configured by another configuration comment in the preceding code. This configuration is ignored.`,loc:b});return}try{let R=TJt(M),q=R;$Ql(D,q[0]);let G=!0;if(q.length===1&&s.rules&&Object.hasOwn(s.rules,D))q=[q[0],...s.rules[D].slice(1)],s.rules[D][0]>0&&(G=!1);else{let K=q.slice(1),Z=k5s(k.meta?.defaultOptions,K);Z.length&&(q=[q[0],...Z])}l.reportUnusedInlineConfigs!=="off"&&ujl(s,b,p,D,q,R,l.reportUnusedInlineConfigs),G&&s.validateRulesConfig({[D]:q}),g.rules[D]=q}catch(R){if(R.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA")throw R;let q=R.message.slice(R.message.startsWith('Key "rules":')?R.message.indexOf(":",12)+1:R.message.indexOf(":")+1).trim();R.messageTemplate&&(q+=` You passed "${M}".`),p.addError({ruleId:D,message:`Inline configuration for rule "${D}" is invalid: ${q} `,loc:b})}})}}let A=l.allowInlineConfig&&!l.warnInlineConfig?cjl(f,_=>(n.getRule??s.getRuleDefinition).apply(s,[_]),s.language,p):[];typeof n.patchInlineOptions=="function"&&n.patchInlineOptions(g),typeof n.patchDirectives=="function"&&n.patchDirectives(A);let h=Object.assign({},s.rules,g.rules);f.finalize?.();try{S5s(f,h,_=>s.getRuleDefinition(_),void 0,s.language,u,a,l.filename,!1,i.cwd,n.physicalFilename,l.ruleFilter,l.stats,i,p)}catch(_){if(_.message+=` Occurred while linting ${l.filename}`,kw("An error occurred while traversing"),kw("Filename:",l.filename),_.currentNode){let{line:E}=f.getLoc(_.currentNode).start;kw("Line:",E),_.message+=`:${E}`}throw kw("Parser Options:",u.parserOptions),kw("Settings:",a),_.ruleId&&(_.message+=` Rule: "${_.ruleId}"`),_}return A5s({language:s.language,sourceCode:f,directives:A,disableFixes:l.disableFixes,problems:p.messages.sort((_,E)=>_.line-E.line||_.column-E.column),reportUnusedDisableDirectives:l.reportUnusedDisableDirectives,ruleFilter:l.ruleFilter,configuredRules:h})}_verifyWithFlatConfigArrayAndWithoutProcessors(t,r,n){let i=u4.get(this),s=Tpt(n.filename||""),a;typeof t=="string"?(i.lastSourceCode=null,a=t):(i.lastSourceCode=t,a=t.text);let u=new bJt(s,a,{physicalPath:n.physicalFilename});return this.#t(u,r,n)}_verifyWithConfigArray(t,r,n){kw("With ConfigArray: %s",n.filename),u4.get(this).lastConfigArray=r;let i=r.extractConfig(n.filename),s=i.processor&&r.pluginProcessors.get(i.processor);if(s){kw("Apply the processor: %o",i.processor);let{preprocess:a,postprocess:u,supportsAutofix:l}=s,f=n.disableFixes||!l;return this._verifyWithProcessor(t,i,{...n,disableFixes:f,postprocess:u,preprocess:a},r)}return this._verifyWithoutProcessors(t,i,n)}_verifyWithFlatConfigArray(t,r,n,i=!1){kw("With flat config: %s",n.filename);let s=n.filename||"__placeholder__.js";u4.get(this).lastConfigArray=r;let a=r.getConfig(s);if(!a)return[{ruleId:null,severity:1,message:`No matching configuration found for ${s}.`,line:0,column:0,nodeType:null}];if(a.processor){kw("Apply the processor: %o",a.processor);let{preprocess:u,postprocess:l,supportsAutofix:f}=a.processor,p=n.disableFixes||!f;return this._verifyWithFlatConfigArrayAndProcessor(t,a,{...n,filename:s,disableFixes:p,postprocess:l,preprocess:u},r)}return i&&(n.preprocess||n.postprocess)?this._verifyWithFlatConfigArrayAndProcessor(t,a,n):this._verifyWithFlatConfigArrayAndWithoutProcessors(t,a,n)}_verifyWithProcessor(t,r,n,i){let s=u4.get(this),a=n.filename||"",u=Tpt(a),l=n.physicalFilename||u,f=T5s(t),p=new bJt(u,f,{physicalPath:l}),g=n.preprocess||(M=>[M]),A=n.postprocess||(M=>M.flat()),h=new _5s,_=h.preprocessSync(p,{processor:{preprocess:g,postprocess:A}});if(!_.ok)return _.errors;let E=n.filterCodeBlock||(M=>M.endsWith(".js")),b=cVe.extname(a),{files:D}=_,k=D.map(M=>(kw("A code block was found: %o",M.path??"(unnamed)"),typeof M=="string"?this._verifyWithoutProcessors(M,r,n):E(M.path,M.body)?i&&(f!==M.rawBody||cVe.extname(M.path)!==b)?(kw("Resolving configuration again because the file content or extension was changed."),this._verifyWithConfigArray(M.rawBody,i,{...n,filename:M.path,physicalFilename:M.physicalPath})):(s.lastSourceCode=null,this.#e(M,r,{...n,filename:M.path,physicalFilename:M.physicalPath})):(kw("This code block was skipped."),[])));return h.postprocessSync(p,k,{processor:{preprocess:g,postprocess:A}})}_distinguishSuppressedMessages(t){let r=[],n=[],i=u4.get(this);for(let s of t)s.suppressions?n.push(s):r.push(s);return i.lastSuppressedMessages=n,r}getSourceCode(){return u4.get(this).lastSourceCode}getTimes(){return u4.get(this).times??{passes:[]}}getFixPassCount(){return u4.get(this).fixPasses??0}getSuppressedMessages(){return u4.get(this).lastSuppressedMessages}defineRule(t,r){IJt(this),u4.get(this).ruleMap.define(t,r)}defineRules(t){IJt(this),Object.getOwnPropertyNames(t).forEach(r=>{this.defineRule(r,t[r])})}getRules(){IJt(this);let{lastConfigArray:t,ruleMap:r}=u4.get(this);return new Map((function*(){yield*r,t&&(yield*t.pluginRules)})())}defineParser(t,r){IJt(this),u4.get(this).parserMap.set(t,r)}verifyAndFix(t,r,n){let i,s,a=!1,u=0,l=t,f,p,g=n&&n.filename||`${t.slice(0,10)}...`,A=n&&typeof n.fix<"u"?n.fix:!0,h=n?.stats,_=u4.get(this);h&&(delete _.times,_.fixPasses=0);do{u++;let E;h&&(E=bpt()),kw(`Linting code for ${g} (pass ${u})`),i=this.verify(l,r,n),kw(`Generating fixed text for ${g} (pass ${u})`);let b;if(h&&(b=bpt()),s=YQl.applyFixes(l,i,A),h)if(s.fixed){let D=Ipt(b);r5e(D,{type:"fix"},_),_.fixPasses++}else r5e(0,{type:"fix"},_);if(i.length===1&&i[0].fatal)break;if(a=a||s.fixed,f=p,p=l,l=s.output,h){E=Ipt(E);let D=_.times.passes.length-1;_.times.passes[D].total=E}if(u>1&&l.length===f.length&&l===f){kw(`Circular fixes detected after pass ${u}. Exiting fix loop.`),_.warningService.emitCircularFixesWarning(n?.filename??"text");break}}while(s.fixed&&u{"use strict";var{Linter:Ejl}=O5s(),xjl=tan();R5s.exports={Linter:Ejl,SourceCodeFixer:xjl}});var ban=j((LvA,F5s)=>{"use strict";var vjl=/^@.*\//u;function Cjl(e,t){let r=e;if(r.includes("\\")&&(r=r.replace(/\\/gu,"/")),r.charAt(0)==="@"){let n=new RegExp(`^(@[^/]+)(?:/(?:${t})?)?$`,"u"),i=new RegExp(`^${t}(-|$)`,"u");n.test(r)?r=r.replace(n,`$1/${t}`):i.test(r.split("/")[1])||(r=r.replace(/^@([^/]+)\/(.*)$/u,`@$1/${t}-$2`))}else r.startsWith(`${t}-`)||(r=`${t}-${r}`);return r}function bjl(e,t){if(e[0]==="@"){let r=new RegExp(`^(@[^/]+)/${t}$`,"u").exec(e);if(r)return r[1];if(r=new RegExp(`^(@[^/]+)/${t}-(.+)$`,"u").exec(e),r)return`${r[1]}/${r[2]}`}else if(e.startsWith(`${t}-`))return e.slice(t.length+1);return e}function Ijl(e){let t=e.match(vjl);return t?t[0]:""}F5s.exports={normalizePackageName:Cjl,getShorthandName:bjl,getNamespaceFromTerm:Ijl}});var L5s=j(Ian=>{Ian.stringify=function e(t){if(typeof t>"u")return t;if(t&&Buffer.isBuffer(t))return JSON.stringify(":base64:"+t.toString("base64"));if(t&&t.toJSON&&(t=t.toJSON()),t&&typeof t=="object"){var r="",n=Array.isArray(t);r=n?"[":"{";var i=!0;for(var s in t){var a=typeof t[s]=="function"||!n&&typeof t[s]>"u";Object.hasOwnProperty.call(t,s)&&!a&&(i||(r+=","),i=!1,n?t[s]==null?r+="null":r+=e(t[s]):t[s]!==void 0&&(r+=e(s)+":"+e(t[s])))}return r+=n?"]":"}",r}else return typeof t=="string"?JSON.stringify(/^:/.test(t)?":"+t:t):typeof t>"u"?"null":JSON.stringify(t)};Ian.parse=function(e){return JSON.parse(e,function(t,r){return typeof r=="string"?/^:base64:/.test(r)?Buffer.from(r.substring(8),"base64"):/^:/.test(r)?r.substring(1):r:r})}});var U5s=j((QvA,j5s)=>{"use strict";var Sjl=require("events"),M5s=L5s(),Tjl=e=>{let t={redis:"@keyv/redis",rediss:"@keyv/redis",mongodb:"@keyv/mongo",mongo:"@keyv/mongo",sqlite:"@keyv/sqlite",postgresql:"@keyv/postgres",postgres:"@keyv/postgres",mysql:"@keyv/mysql",etcd:"@keyv/etcd",offline:"@keyv/offline",tiered:"@keyv/tiered"};if(e.adapter||e.uri){let r=e.adapter||/^[^:+]*/.exec(e.uri)[0];return new(require(t[r]))(e)}return new Map},Q5s=["sqlite","postgres","mysql","mongo","redis","tiered"],San=class extends Sjl{constructor(t,{emitErrors:r=!0,...n}={}){if(super(),this.opts={namespace:"keyv",serialize:M5s.stringify,deserialize:M5s.parse,...typeof t=="string"?{uri:t}:t,...n},!this.opts.store){let s={...this.opts};this.opts.store=Tjl(s)}if(this.opts.compression){let s=this.opts.compression;this.opts.serialize=s.serialize.bind(s),this.opts.deserialize=s.deserialize.bind(s)}typeof this.opts.store.on=="function"&&r&&this.opts.store.on("error",s=>this.emit("error",s)),this.opts.store.namespace=this.opts.namespace;let i=s=>async function*(){for await(let[a,u]of typeof s=="function"?s(this.opts.store.namespace):s){let l=await this.opts.deserialize(u);if(!(this.opts.store.namespace&&!a.includes(this.opts.store.namespace))){if(typeof l.expires=="number"&&Date.now()>l.expires){this.delete(a);continue}yield[this._getKeyUnprefix(a),l.value]}}};typeof this.opts.store[Symbol.iterator]=="function"&&this.opts.store instanceof Map?this.iterator=i(this.opts.store):typeof this.opts.store.iterator=="function"&&this.opts.store.opts&&this._checkIterableAdaptar()&&(this.iterator=i(this.opts.store.iterator.bind(this.opts.store)))}_checkIterableAdaptar(){return Q5s.includes(this.opts.store.opts.dialect)||Q5s.findIndex(t=>this.opts.store.opts.url.includes(t))>=0}_getKeyPrefix(t){return`${this.opts.namespace}:${t}`}_getKeyPrefixArray(t){return t.map(r=>`${this.opts.namespace}:${r}`)}_getKeyUnprefix(t){return t.split(":").splice(1).join(":")}get(t,r){let{store:n}=this.opts,i=Array.isArray(t),s=i?this._getKeyPrefixArray(t):this._getKeyPrefix(t);if(i&&n.getMany===void 0){let a=[];for(let u of s)a.push(Promise.resolve().then(()=>n.get(u)).then(l=>typeof l=="string"?this.opts.deserialize(l):this.opts.compression?this.opts.deserialize(l):l).then(l=>{if(l!=null)return typeof l.expires=="number"&&Date.now()>l.expires?this.delete(u).then(()=>{}):r&&r.raw?l:l.value}));return Promise.allSettled(a).then(u=>{let l=[];for(let f of u)l.push(f.value);return l})}return Promise.resolve().then(()=>i?n.getMany(s):n.get(s)).then(a=>typeof a=="string"?this.opts.deserialize(a):this.opts.compression?this.opts.deserialize(a):a).then(a=>{if(a!=null)return i?a.map((u,l)=>{if(typeof u=="string"&&(u=this.opts.deserialize(u)),u!=null){if(typeof u.expires=="number"&&Date.now()>u.expires){this.delete(t[l]).then(()=>{});return}return r&&r.raw?u:u.value}}):typeof a.expires=="number"&&Date.now()>a.expires?this.delete(t).then(()=>{}):r&&r.raw?a:a.value})}set(t,r,n){let i=this._getKeyPrefix(t);typeof n>"u"&&(n=this.opts.ttl),n===0&&(n=void 0);let{store:s}=this.opts;return Promise.resolve().then(()=>{let a=typeof n=="number"?Date.now()+n:null;return typeof r=="symbol"&&this.emit("error","symbol cannot be serialized"),r={value:r,expires:a},this.opts.serialize(r)}).then(a=>s.set(i,a,n)).then(()=>!0)}delete(t){let{store:r}=this.opts;if(Array.isArray(t)){let i=this._getKeyPrefixArray(t);if(r.deleteMany===void 0){let s=[];for(let a of i)s.push(r.delete(a));return Promise.allSettled(s).then(a=>a.every(u=>u.value===!0))}return Promise.resolve().then(()=>r.deleteMany(i))}let n=this._getKeyPrefix(t);return Promise.resolve().then(()=>r.delete(n))}clear(){let{store:t}=this.opts;return Promise.resolve().then(()=>t.clear())}has(t){let r=this._getKeyPrefix(t),{store:n}=this.opts;return Promise.resolve().then(async()=>typeof n.has=="function"?n.has(r):await n.get(r)!==void 0)}disconnect(){let{store:t}=this.opts;if(typeof t.disconnect=="function")return t.disconnect()}};j5s.exports=San});var W5s=j(kpt=>{"use strict";var{parse:G5s,stringify:V5s}=JSON,{keys:Djl}=Object,Bpt=String,$5s="string",q5s={},DJt="object",K5s=(e,t)=>t,wjl=e=>e instanceof Bpt?Bpt(e):e,Bjl=(e,t)=>typeof t===$5s?new Bpt(t):t,J5s=(e,t,r,n)=>{let i=[];for(let s=Djl(r),{length:a}=s,u=0;u{let n=Bpt(t.push(r)-1);return e.set(r,n),n},H5s=(e,t)=>{let r=G5s(e,Bjl).map(wjl),n=r[0],i=t||K5s,s=typeof n===DJt&&n?J5s(r,new Set,n,i):n;return i.call({"":s},"",s)};kpt.parse=H5s;var z5s=(e,t,r)=>{let n=t&&typeof t===DJt?(p,g)=>p===""||-1G5s(z5s(e));kpt.toJSON=kjl;var Pjl=e=>H5s(V5s(e));kpt.fromJSON=Pjl});var tPs=j((UvA,ePs)=>{var Tan=require("fs"),Njl=require("path"),X5s=W5s();function Ojl(e,t){let r;try{r=Z5s(e)}catch{r=t}return r}function Z5s(e){return X5s.parse(Tan.readFileSync(e,{encoding:"utf8"}))}function Rjl(e,t){Tan.mkdirSync(Njl.dirname(e),{recursive:!0}),Tan.writeFileSync(e,X5s.stringify(t))}ePs.exports={tryParse:Ojl,readJSON:Z5s,writeJSON:Rjl}});var nPs=j((qvA,rPs)=>{var i5e=require("fs"),Fjl=require("path");function Ljl(e){if(!i5e.existsSync(e))return!1;try{return i5e.statSync(e).isDirectory()?(i5e.readdirSync(e).forEach(t=>{let r=Fjl.join(e,t);i5e.statSync(r).isFile()&&i5e.unlinkSync(r)}),i5e.rmdirSync(e)):i5e.unlinkSync(e),!0}catch(t){console.error(`Error while deleting ${e}: ${t.message}`)}}rPs.exports={del:Ljl}});var aPs=j((YvA,sPs)=>{var uTe=require("path"),Mjl=require("fs"),Qjl=U5s(),{writeJSON:jjl,tryParse:Ujl}=tPs(),{del:Dan}=nPs(),iPs={load:function(e,t){let r=this;r.keyv=new Qjl,r.__visited={},r.__persisted={},r._pathToFile=t?uTe.resolve(t,e):uTe.resolve(__dirname,"../.cache/",e),Mjl.existsSync(r._pathToFile)&&(r._persisted=Ujl(r._pathToFile,{}))},get _persisted(){return this.__persisted},set _persisted(e){this.__persisted=e},get _visited(){return this.__visited},set _visited(e){this.__visited=e},loadFile:function(e){let t=this,r=uTe.dirname(e),n=uTe.basename(e);t.load(n,r)},all:function(){return this._persisted},keys:function(){return Object.keys(this._persisted)},setKey:function(e,t){this._visited[e]=!0,this._persisted[e]=t},removeKey:function(e){delete this._visited[e],delete this._persisted[e]},getKey:function(e){return this._visited[e]=!0,this._persisted[e]},_prune:function(){let e=this,t={},r=Object.keys(e._visited);r.length!==0&&(r.forEach(function(n){t[n]=e._persisted[n]}),e._visited={},e._persisted=t)},save:function(e){let t=this;!e&&t._prune(),jjl(t._pathToFile,t._persisted)},removeCacheFile:function(){return Dan(this._pathToFile)},destroy:function(){let e=this;e._visited={},e._persisted={},e.removeCacheFile()}};sPs.exports={load:function(e,t){return this.create(e,t)},create:function(e,t){let r=Object.create(iPs);return r.load(e,t),r},createFromFile:function(e){let t=Object.create(iPs);return t.loadFile(e),t},clearCacheById:function(e,t){let r=t?uTe.resolve(t,e):uTe.resolve(__dirname,"../.cache/",e);return Dan(r)},clearAll:function(e){let t=e?uTe.resolve(e):uTe.resolve(__dirname,"../.cache/");return Dan(t)}}});var lPs=j((GvA,uPs)=>{var oPs=require("path"),qjl=require("crypto");uPs.exports={createFromFile:function(e,t){var r=oPs.basename(e),n=oPs.dirname(e);return this.create(r,n,t)},create:function(e,t,r){var n=require("fs"),i=aPs(),s=i.load(e,t),a={},u=function(){s.keys().forEach(function(g){try{n.statSync(g)}catch(A){A.code==="ENOENT"&&s.removeKey(g)}})};return u(),{cache:s,getHash:function(l){return qjl.createHash("md5").update(l).digest("hex")},hasFileChanged:function(l){return this.getFileDescriptor(l).changed},analyzeFiles:function(l){var f=this;l=l||[];var p={changedFiles:[],notFoundFiles:[],notChangedFiles:[]};return f.normalizeEntries(l).forEach(function(g){if(g.changed){p.changedFiles.push(g.key);return}if(g.notFound){p.notFoundFiles.push(g.key);return}p.notChangedFiles.push(g.key)}),p},getFileDescriptor:function(l){var f;try{f=n.statSync(l)}catch(p){return this.removeEntry(l),{key:l,notFound:!0,err:p}}return r?this._getFileDescriptorUsingChecksum(l):this._getFileDescriptorUsingMtimeAndSize(l,f)},_getFileDescriptorUsingMtimeAndSize:function(l,f){var p=s.getKey(l),g=!!p,A=f.size,h=f.mtime.getTime(),_,E;p?(_=h!==p.mtime,E=A!==p.size):p={size:A,mtime:h};var b=a[l]={key:l,changed:!g||_||E,meta:p};return b},_getFileDescriptorUsingChecksum:function(l){var f=s.getKey(l),p=!!f,g;try{g=n.readFileSync(l)}catch{g=""}var A=!0,h=this.getHash(g);f?A=h!==f.hash:f={hash:h};var _=a[l]={key:l,changed:!p||A,meta:f};return _},getUpdatedFiles:function(l){var f=this;return l=l||[],f.normalizeEntries(l).filter(function(p){return p.changed}).map(function(p){return p.key})},normalizeEntries:function(l){l=l||[];var f=this,p=l.map(function(g){return f.getFileDescriptor(g)});return p},removeEntry:function(l){delete a[l],s.removeKey(l)},deleteCacheFile:function(){s.removeCacheFile()},destroy:function(){a={},s.destroy()},_getMetaForFileUsingCheckSum:function(l){var f=n.readFileSync(l.key),p=this.getHash(f),g=Object.assign(l.meta,{hash:p});return delete g.size,delete g.mtime,g},_getMetaForFileUsingMtimeAndSize:function(l){var f=n.statSync(l.key),p=Object.assign(l.meta,{size:f.size,mtime:f.mtime.getTime()});return delete p.hash,p},reconcile:function(l){u(),l=typeof l>"u"?!0:l;var f=a,p=Object.keys(f);if(p.length!==0){var g=this;p.forEach(function(A){var h=f[A];try{var _=r?g._getMetaForFileUsingCheckSum(h):g._getMetaForFileUsingMtimeAndSize(h);s.setKey(A,_)}catch(E){if(E.code!=="ENOENT")throw E}}),s.save(l)}}}}}});var wan=j((VvA,cPs)=>{cPs.exports=function(e,t){t||(t={}),typeof t=="function"&&(t={cmp:t});var r=t.space||"";typeof r=="number"&&(r=Array(r+1).join(" "));var n=typeof t.cycles=="boolean"?t.cycles:!1,i=t.replacer||function(u,l){return l},s=t.cmp&&(function(u){return function(l){return function(f,p){var g={key:f,value:l[f]},A={key:p,value:l[p]};return u(g,A)}}})(t.cmp),a=[];return(function u(l,f,p,g){var A=r?` `+new Array(g+1).join(r):"",h=r?": ":":";if(p&&p.toJSON&&typeof p.toJSON=="function"&&(p=p.toJSON()),p=i.call(l,f,p),p!==void 0){if(typeof p!="object"||p===null)return JSON.stringify(p);if(Yjl(p)){for(var _=[],E=0;E{"use strict";var Vjl=require("node:fs"),$jl=lPs(),Kjl=wan(),Jjl=require("./package-MTQD2YUX.json"),Ban=VGe(),Hjl=IKt(),s5e=B1()("eslint:lint-result-cache"),kan=new WeakMap,zjl=process&&process.version,pPs=["metadata","content"],Wjl=`Cache strategy must be one of: ${pPs.map(e=>`"${e}"`).join(", ")}`;function Xjl(e){return pPs.includes(e)}function fPs(e){return kan.has(e)||kan.set(e,Hjl(`${Jjl.version}_${zjl}_${Kjl(e)}`)),kan.get(e)}var Pan=class{constructor(t,r){Ban(t,"Cache file location is required"),Ban(r,"Cache strategy is required"),Ban(Xjl(r),Wjl),s5e(`Caching results to ${t}`);let n=r==="content";s5e(`Using "${r}" strategy to detect changes`),this.fileEntryCache=$jl.create(t,void 0,n),this.cacheFileLocation=t}getCachedLintResults(t,r){let n=this.getValidCachedLintResults(t,r);if(!n)return n;let i={...n};return i.source===null&&(s5e(`Rereading cached result source from filesystem: ${t}`),i.source=Vjl.readFileSync(t,"utf-8")),i}getValidCachedLintResults(t,r){let n=this.fileEntryCache.getFileDescriptor(t);if(n.notFound)return s5e(`File not found on the file system: ${t}`),null;let i=fPs(r);return n.changed||n.meta.hashOfConfig!==i?(s5e(`Cache entry not found or no longer valid: ${t}`),null):n.meta.results}setCachedLintResults(t,r,n){if(n&&Object.hasOwn(n,"output"))return;let i=this.fileEntryCache.getFileDescriptor(t);if(i&&!i.notFound){s5e(`Updating cached result: ${t}`);let s=Object.assign({},n);Object.hasOwn(s,"source")&&(s.source=null),i.meta.results=s,i.meta.hashOfConfig=fPs(r)}}reconcile(){s5e(`Persisting cached results: ${this.cacheFileLocation}`),this.fileEntryCache.reconcile()}};dPs.exports=Pan});var gPs=j((KvA,mPs)=>{var Oan=class{constructor(t){this.value=t,this.next=void 0}},Ran=class{constructor(){this.clear()}enqueue(t){let r=new Oan(t);this._head?(this._tail.next=r,this._tail=r):(this._head=r,this._tail=r),this._size++}dequeue(){let t=this._head;if(t)return this._head=this._head.next,this._size--,t.value}clear(){this._head=void 0,this._tail=void 0,this._size=0}get size(){return this._size}*[Symbol.iterator](){let t=this._head;for(;t;)yield t.value,t=t.next}};mPs.exports=Ran});var hPs=j((JvA,APs)=>{"use strict";var Zjl=gPs(),eUl=e=>{if(!((Number.isInteger(e)||e===1/0)&&e>0))throw new TypeError("Expected `concurrency` to be a number from 1 and up");let t=new Zjl,r=0,n=()=>{r--,t.size>0&&t.dequeue()()},i=async(u,l,...f)=>{r++;let p=(async()=>u(...f))();l(p);try{await p}catch{}n()},s=(u,l,...f)=>{t.enqueue(i.bind(null,u,l,...f)),(async()=>(await Promise.resolve(),r0&&t.dequeue()()))()},a=(u,...l)=>new Promise(f=>{s(u,f,...l)});return Object.defineProperties(a,{activeCount:{get:()=>r},pendingCount:{get:()=>t.size},clearQueue:{value:()=>{t.clear()}}}),a};APs.exports=eUl});var EPs=j((HvA,_Ps)=>{"use strict";var yPs=hPs(),wJt=class extends Error{constructor(t){super(),this.value=t}},tUl=async(e,t)=>t(await e),rUl=async e=>{let t=await Promise.all(e);if(t[1]===!0)throw new wJt(t[0]);return!1},nUl=async(e,t,r)=>{r={concurrency:1/0,preserveOrder:!0,...r};let n=yPs(r.concurrency),i=[...e].map(a=>[a,n(tUl,a,t)]),s=yPs(r.preserveOrder?1:1/0);try{await Promise.all(i.map(a=>s(rUl,a)))}catch(a){if(a instanceof wJt)return a.value;throw a}};_Ps.exports=nUl});var SPs=j((zvA,Fan)=>{"use strict";var xPs=require("path"),BJt=require("fs"),{promisify:vPs}=require("util"),iUl=EPs(),sUl=vPs(BJt.stat),aUl=vPs(BJt.lstat),CPs={directory:"isDirectory",file:"isFile"};function bPs({type:e}){if(!(e in CPs))throw new Error(`Invalid type specified: ${e}`)}var IPs=(e,t)=>e===void 0||t[CPs[e]]();Fan.exports=async(e,t)=>{t={cwd:process.cwd(),type:"file",allowSymlinks:!0,...t},bPs(t);let r=t.allowSymlinks?sUl:aUl;return iUl(e,async n=>{try{let i=await r(xPs.resolve(t.cwd,n));return IPs(t.type,i)}catch{return!1}},t)};Fan.exports.sync=(e,t)=>{t={cwd:process.cwd(),allowSymlinks:!0,type:"file",...t},bPs(t);let r=t.allowSymlinks?BJt.statSync:BJt.lstatSync;for(let n of e)try{let i=r(xPs.resolve(t.cwd,n));if(IPs(t.type,i))return n}catch{}}});var DPs=j((WvA,Lan)=>{"use strict";var TPs=require("fs"),{promisify:oUl}=require("util"),uUl=oUl(TPs.access);Lan.exports=async e=>{try{return await uUl(e),!0}catch{return!1}};Lan.exports.sync=e=>{try{return TPs.accessSync(e),!0}catch{return!1}}});var BPs=j((XvA,fVe)=>{"use strict";var lTe=require("path"),kJt=SPs(),wPs=DPs(),Man=Symbol("findUp.stop");fVe.exports=async(e,t={})=>{let r=lTe.resolve(t.cwd||""),{root:n}=lTe.parse(r),i=[].concat(e),s=async a=>{if(typeof e!="function")return kJt(i,a);let u=await e(a.cwd);return typeof u=="string"?kJt([u],a):u};for(;;){let a=await s({...t,cwd:r});if(a===Man)return;if(a)return lTe.resolve(r,a);if(r===n)return;r=lTe.dirname(r)}};fVe.exports.sync=(e,t={})=>{let r=lTe.resolve(t.cwd||""),{root:n}=lTe.parse(r),i=[].concat(e),s=a=>{if(typeof e!="function")return kJt.sync(i,a);let u=e(a.cwd);return typeof u=="string"?kJt.sync([u],a):u};for(;;){let a=s({...t,cwd:r});if(a===Man)return;if(a)return lTe.resolve(r,a);if(r===n)return;r=lTe.dirname(r)}};fVe.exports.exists=wPs;fVe.exports.sync.exists=wPs.sync;fVe.exports.stop=Man});var Uan=j((ZvA,NPs)=>{"use strict";var Cye=require("node:path"),lUl=require("node:fs/promises"),cUl=BPs(),{pathToFileURL:fUl}=require("node:url"),LO=B1()("eslint:config-loader"),{FlatConfigArray:pUl}=hJt(),{WarningService:PPs}=yJt(),dUl=["eslint.config.js","eslint.config.mjs","eslint.config.cjs","eslint.config.ts","eslint.config.mts","eslint.config.cts"],jan=new Map;function cTe(e){if(!e||typeof e!="string")throw new Error("'filePath' must be a non-empty string")}function mUl(e,t){let{configFile:r}=t;if(!e&&r!==!1){let n=new Error("Could not find config file.");throw n.messageTemplate="config-file-missing",n}}function gUl(e){let t=Cye.extname(e);return/^\.[mc]?ts$/u.test(t)}function AUl(){return!!globalThis.Bun}function hUl(){return!!globalThis.Deno}function yUl(){return["strip","transform"].includes(process.features.typescript)}async function _Ul(e,t,r){let{createJiti:n,version:i}=await a5e.loadJiti().catch(()=>{throw new Error("The 'jiti' library is required for loading TypeScript configuration files. Make sure to install it.")});if(typeof n!="function")throw new Error("You are using an outdated version of the 'jiti' library. Please update to the latest version of 'jiti' to ensure compatibility and access to the latest features.");let s={moduleCache:!1};i.startsWith("2.1.")&&(s.interopDefault=!1);let u=await n(__filename,s).import(t.href);return jan.set(e,r),u?.default??u}async function kPs(e,t,r){let n=await import(t.href);return jan.set(e,r),n.default}async function EUl(e,t){LO(`Loading config from ${e}`);let r=fUl(e);LO(`Config file URL is ${r}`);let n=(await lUl.stat(e)).mtime.getTime();r.searchParams.append("mtime",n),jan.get(e)!==n&&delete require.cache[e];let i=gUl(e),s=AUl(),a=hUl();if(i){if(t){if(yUl())return await kPs(e,r,n);throw"typescript"in process.features?new Error("The unstable_native_nodejs_ts_config flag is enabled, but native TypeScript support is not enabled in the current Node.js process. You need to either enable native TypeScript support by passing --experimental-strip-types or remove the unstable_native_nodejs_ts_config flag."):new Error("The unstable_native_nodejs_ts_config flag is not supported in older versions of Node.js.")}if(!a&&!s)return await _Ul(e,r,n)}return await kPs(e,r,n)}var a5e=class e{#e=new Map;#t=new Map;#r;constructor(t){this.#r=t.warningService?t:{...t,warningService:new PPs}}async#n(t){if(this.#t.has(t))return this.#t.get(t);let r=e.locateConfigFileToUse({useConfigFile:this.#r.configFile,cwd:this.#r.cwd,fromDirectory:t});this.#t.set(t,r);let n=await r;return this.#t.set(t,n),n}async#i(t,r){if(this.#e.has(t))return this.#e.get(t);let n=e.calculateConfigArray(t,r,this.#r);this.#e.set(t,n);let i=await n;return this.#e.set(t,i),i}async findConfigFileForPath(t){cTe(t);let r=Cye.resolve(this.#r.cwd,Cye.dirname(t)),{configFilePath:n}=await this.#n(r);return n}async loadConfigArrayForFile(t){cTe(t),LO(`Calculating config for file ${t}`);let r=await this.findConfigFileForPath(t);return mUl(r,this.#r),this.loadConfigArrayForDirectory(t)}async loadConfigArrayForDirectory(t){cTe(t),LO(`Calculating config for directory ${t}`);let r=Cye.resolve(this.#r.cwd,Cye.dirname(t)),{configFilePath:n,basePath:i}=await this.#n(r);return LO(`Using config file ${n} and base path ${i}`),this.#i(n,i)}getCachedConfigArrayForFile(t){return cTe(t),LO(`Looking up cached config for ${t}`),this.getCachedConfigArrayForPath(Cye.dirname(t))}getCachedConfigArrayForPath(t){cTe(t),LO(`Looking up cached config for ${t}`);let r=Cye.resolve(this.#r.cwd,t);if(!this.#t.has(r))throw new Error(`Could not find config file for ${t}`);let n=this.#t.get(r);if(typeof n.then=="function")throw new Error(`Config file path for ${t} has not yet been calculated or an error occurred during the calculation`);let{configFilePath:i}=n,s=this.#e.get(i);if(!s||typeof s.then=="function")throw new Error(`Config array for ${t} has not yet been calculated or an error occurred during the calculation`);return s}static async loadJiti(){let{createJiti:t}=await import("jiti"),r=require("jiti/package.json").version;return{createJiti:t,version:r}}static async locateConfigFileToUse({useConfigFile:t,cwd:r,fromDirectory:n=r}){let i,s=r;return typeof t=="string"?(LO(`Override config file path is ${t}`),i=Cye.resolve(r,t),s=r):t!==!1&&(LO("Searching for eslint.config.js"),i=await cUl(dUl,{cwd:n}),i&&(s=Cye.dirname(i))),{configFilePath:i,basePath:s}}static async calculateConfigArray(t,r,n){let{cwd:i,baseConfig:s,ignoreEnabled:a,ignorePatterns:u,overrideConfig:l,hasUnstableNativeNodeJsTSConfigFlag:f=!1,defaultConfigs:p=[],warningService:g}=n;LO(`Calculating config array from config file ${t} and base path ${r}`);let A=new pUl(s||[],{basePath:r,shouldIgnore:a});if(t){LO(`Loading config file ${t}`);let h=await EUl(t,f),_=typeof h>"u";LO(`Config file ${t} is ${_?"empty":"not empty"}`),_||(Array.isArray(h)?h.length===0?(LO(`Config file ${t} is an empty array`),_=!0):A.push(...h):typeof h=="object"&&h!==null&&Object.keys(h).length===0?(LO(`Config file ${t} is an empty object`),_=!0):A.push(h)),_&&g.emitEmptyConfigWarning(t)}return A.push(...p),u&&u.length>0&&A.push({basePath:i,ignores:u}),l&&(Array.isArray(l)?A.push(...l):A.push(l)),await A.normalize(),A}},Qan=class extends a5e{#e;#t;#r;constructor(t){let r=t.warningService?t:{...t,warningService:new PPs};super(r),this.#e=r}#n(){return this.#t||(this.#t=a5e.locateConfigFileToUse({useConfigFile:this.#e.configFile,cwd:this.#e.cwd})),this.#t}async#i(t,r){return this.#r?this.#r:(this.#r=a5e.calculateConfigArray(t,r,this.#e),this.#r=await this.#r,this.#r)}async findConfigFileForPath(t){cTe(t);let{configFilePath:r}=await this.#n();return r}async loadConfigArrayForDirectory(t){cTe(t),LO(`[Legacy]: Calculating config for ${t}`);let{configFilePath:r,basePath:n}=await this.#n();return LO(`[Legacy]: Using config file ${r} and base path ${n}`),this.#i(r,n)}getCachedConfigArrayForPath(t){if(cTe(t),LO(`[Legacy]: Looking up cached config for ${t}`),!this.#r)throw new Error(`Could not find config file for ${t}`);if(typeof this.#r.then=="function")throw new Error(`Config array for ${t} has not yet been calculated or an error occurred during the calculation`);return this.#r}};NPs.exports={ConfigLoader:a5e,LegacyConfigLoader:Qan}});function I9(e){if(!e||!(e instanceof URL)&&typeof e!="string")throw new TypeError("Path must be a non-empty string or URL.")}function RPs(e){if(typeof e!="string"&&!(e instanceof ArrayBuffer)&&!ArrayBuffer.isView(e))throw new TypeError("File contents must be a string, ArrayBuffer, or ArrayBuffer view.")}function FPs(e){if(e instanceof Uint8Array)return e;if(typeof e=="string")return xUl.encode(e);if(e instanceof ArrayBuffer)return new Uint8Array(e);if(ArrayBuffer.isView(e)){let t=e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength);return new Uint8Array(t)}throw new TypeError("Invalid contents type. Expected string or ArrayBuffer.")}var OPs,xUl,qan,Yan,Gan,Van,o5e,LPs=Er(()=>{OPs=new TextDecoder,xUl=new TextEncoder,qan=class extends Error{constructor(t){super(`Method "${t}" does not exist on impl.`)}},Yan=class extends Error{constructor(t){super(`Method "${t}" is not supported on this impl.`)}},Gan=class extends Error{constructor(){super("Implementation already set.")}};Van=class{type;data;timestamp=Date.now();constructor(t,r){this.type=t,this.data=r}},o5e=class{#e;#t;#r=new Map;constructor({impl:t}){this.#e=t,this.#t=t}#n(t,...r){for(let n of this.#r.values())n.push(new Van("call",{methodName:t,args:r}))}logStart(t){if(!t||typeof t!="string")throw new TypeError("Log name must be a non-empty string.");if(this.#r.has(t))throw new Error(`Log "${t}" already exists.`);this.#r.set(t,[])}logEnd(t){if(this.#r.has(t)){let r=this.#r.get(t);return this.#r.delete(t),r}throw new Error(`Log "${t}" does not exist.`)}isBaseImpl(){return this.#t===this.#e}setImpl(t){if(this.#n("implSet",t),this.#t!==this.#e)throw new Gan;this.#t=t}resetImpl(){this.#n("implReset"),this.#t=this.#e}#i(t){if(typeof this.#t[t]!="function")throw new qan(t)}#a(t,r){if(typeof this.#t[t]!="function")throw new Yan(r)}#s(t,...r){return this.#n(t,...r),this.#i(t),this.#t[t](...r)}#o(t,...r){return this.#i(t),this.#t[t](...r)}#u(t,r,...n){return this.#n(r,...n),this.#a(t,r),this.#t[t](...n)}async text(t){I9(t);let r=await this.#u("bytes","text",t);return r?OPs.decode(r):void 0}async json(t){I9(t);let r=await this.#u("bytes","json",t);return r?JSON.parse(OPs.decode(r)):void 0}async arrayBuffer(t){return I9(t),(await this.#u("bytes","arrayBuffer",t))?.buffer}async bytes(t){return I9(t),this.#s("bytes",t)}async write(t,r){I9(t),RPs(r),this.#n("write",t,r);let n=FPs(r);return this.#o("write",t,n)}async append(t,r){I9(t),RPs(r),this.#n("append",t,r);let n=FPs(r);return this.#o("append",t,n)}async isFile(t){return I9(t),this.#s("isFile",t)}async isDirectory(t){return I9(t),this.#s("isDirectory",t)}async createDirectory(t){return I9(t),this.#s("createDirectory",t)}async delete(t){return I9(t),this.#s("delete",t)}async deleteAll(t){return I9(t),this.#s("deleteAll",t)}async*list(t){I9(t),yield*await this.#s("list",t)}async*walk(t,{directoryFilter:r=()=>!0,entryFilter:n=()=>!0}={}){I9(t),this.#n("walk",t,{directoryFilter:r,entryFilter:n});let i=async function*(s,{directoryFilter:a,entryFilter:u,parentPath:l="",depth:f=1}){let p;try{p=await this.#o("list",s)}catch(g){if(g.code==="ENOENT")return;throw g}for await(let g of p){let A={path:g.name,depth:f,...g};l&&(A.path=`${l}/${A.path}`);let h=u(A);if(h.then&&(h=await h),h&&(yield A),g.isDirectory){let _=a(A);if(_.then&&(_=await _),!_)continue;let E=s instanceof URL?new URL(g.name,s.href.endsWith("/")?s.href:`${s.href}/`):`${s.endsWith("/")?s:`${s}/`}${g.name}`;yield*i(E,{directoryFilter:a,entryFilter:u,parentPath:A.path,depth:f+1})}}}.bind(this);yield*i(t,{directoryFilter:r,entryFilter:n})}async size(t){return I9(t),this.#s("size",t)}async lastModified(t){return I9(t),this.#s("lastModified",t)}async copy(t,r){return I9(t),I9(r),this.#s("copy",t,r)}async copyAll(t,r){return I9(t),I9(r),this.#s("copyAll",t,r)}async move(t,r){return I9(t),I9(r),this.#s("move",t,r)}async moveAll(t,r){return I9(t),I9(r),this.#s("moveAll",t,r)}}});var MPs=Er(()=>{});var QPs=Er(()=>{});var $an=Er(()=>{LPs();MPs();QPs()});function WX(e){globalThis?.process?.env.DEBUG==="@hwc/retry"&&console.debug(e)}function vUl(e,t){let r=Date.now()-e.lastAttempt,n=Math.max(e.lastAttempt-e.timestamp,1),i=Math.min(n*1.2,t);return r>=i}function CUl(e,t){return e.age>t}function bUl(){if(Promise.withResolvers)return Promise.withResolvers();let e,t,r=new Promise((n,i)=>{e=n,t=i});if(e===void 0||t===void 0)throw new Error("Promise executor did not initialize resolve or reject.");return{promise:r,resolve:e,reject:t}}var Kan,PJt,jPs=Er(()=>{Kan=class{id=Math.random().toString(36).slice(2);fn;error;timestamp=Date.now();lastAttempt=this.timestamp;resolve;reject;signal;constructor(t,r,n,i,s){this.fn=t,this.error=r,this.timestamp=Date.now(),this.lastAttempt=Date.now(),this.resolve=n,this.reject=i,this.signal=s}get age(){return Date.now()-this.timestamp}},PJt=class{#e=[];#t=[];#r=0;#n;#i;#a;#s;#o;constructor(t,{timeout:r=6e4,maxDelay:n=100,concurrency:i=1e3}={}){if(typeof t!="function")throw new Error("Missing function to check errors");this.#s=t,this.#n=r,this.#i=n,this.#o=i}get retrying(){return this.#e.length}get pending(){return this.#t.length}get working(){return this.#r}#u(t,{signal:r,promise:n,resolve:i,reject:s}){let a;try{a=t()}catch(u){return s(new Error(`Synchronous error: ${u.message}`,{cause:u})),n}return!a||typeof a.then!="function"?(s(new Error("Result is not a promise.")),n):(this.#r++,n.finally(()=>{this.#r--,this.#c()}).catch(()=>{}),Promise.resolve(a).then(u=>{WX("Function called successfully without retry."),i(u)}).catch(u=>{if(!this.#s(u)){s(u);return}let l=new Kan(t,u,i,s,r);WX(`Function failed, queuing for retry with task ${l.id}.`),this.#e.push(l),r?.addEventListener("abort",()=>{WX(`Task ${l.id} was aborted due to AbortSignal.`),s(r.reason)}),this.#f()}),n)}retry(t,{signal:r}={}){r?.throwIfAborted();let{promise:n,resolve:i,reject:s}=bUl();return this.#t.push(()=>this.#u(t,{signal:r,promise:n,resolve:i,reject:s})),this.#c(),n}#l(){this.pending&&this.#c(),this.retrying&&this.#f()}#c(){WX(`Processing pending tasks: ${this.pending} pending, ${this.working} working.`);let t=this.#o-this.working;if(t<=0)return;let r=Math.min(this.pending,t);for(let n=0;n{this.#a=setTimeout(()=>this.#l(),0)},r=this.#e.shift();if(!r){WX("Queue is empty, exiting."),this.pending&&t();return}if(CUl(r,this.#n)){WX(`Task ${r.id} was abandoned due to timeout.`),r.reject(r.error),t();return}if(!vUl(r,this.#i)){WX(`Task ${r.id} is not ready to retry, skipping.`),this.#e.push(r),t();return}r.lastAttempt=Date.now(),Promise.resolve(r.fn()).then(n=>{WX(`Task ${r.id} succeeded after ${r.age}ms.`),r.resolve(n)}).catch(n=>{if(!this.#s(n)){WX(`Task ${r.id} failed with non-retryable error: ${n.message}.`),r.reject(n);return}r.lastAttempt=Date.now(),this.#e.push(r),WX(`Task ${r.id} failed, requeueing to try again.`)}).finally(()=>{this.#l()})}}});var Ppt,UPs,Npt,IUl,Jan,NJt,OJt,SUl,qPs=Er(()=>{$an();Ppt=qi(require("node:path"),1);jPs();UPs=qi(require("node:fs/promises"),1),Npt=require("node:url"),IUl=new Set(["ENFILE","EMFILE"]),Jan=class{name;isFile;isDirectory;isSymlink;constructor(t){this.name=t.name,this.isFile=t.isFile(),this.isDirectory=t.isDirectory(),this.isSymlink=t.isSymbolicLink()}},NJt=class{#e;#t;constructor({fsp:t=UPs.default}={}){this.#e=t,this.#t=new PJt(r=>IUl.has(r.code))}bytes(t){return this.#t.retry(()=>this.#e.readFile(t)).then(r=>new Uint8Array(r.buffer)).catch(r=>{if(r.code!=="ENOENT")throw r})}async write(t,r){let n=Buffer.from(r);return this.#t.retry(()=>this.#e.writeFile(t,n)).catch(i=>{if(i.code==="ENOENT"){let s=Ppt.default.dirname(t instanceof URL?(0,Npt.fileURLToPath)(t):t);return this.#e.mkdir(s,{recursive:!0}).then(()=>this.#e.writeFile(t,n))}throw i})}async append(t,r){let n=Buffer.from(r);return this.#t.retry(()=>this.#e.appendFile(t,n)).catch(i=>{if(i.code==="ENOENT"){let s=Ppt.default.dirname(t instanceof URL?(0,Npt.fileURLToPath)(t):t);return this.#e.mkdir(s,{recursive:!0}).then(()=>this.#e.appendFile(t,n))}throw i})}isFile(t){return this.#e.stat(t).then(r=>r.isFile()).catch(r=>{if(r.code==="ENOENT")return!1;throw r})}isDirectory(t){return this.#e.stat(t).then(r=>r.isDirectory()).catch(r=>{if(r.code==="ENOENT")return!1;throw r})}async createDirectory(t){await this.#e.mkdir(t,{recursive:!0})}delete(t){return this.#e.rm(t).then(()=>!0).catch(r=>{if(r.code==="ERR_FS_EISDIR")return this.#e.rmdir(t).then(()=>!0);if(r.code==="ENOENT")return!1;throw r})}deleteAll(t){return this.#e.rm(t,{recursive:!0}).then(()=>!0).catch(r=>{if(r.code==="ENOENT")return!1;throw r})}async*list(t){let r=await this.#e.readdir(t,{withFileTypes:!0});for(let n of r)yield new Jan(n)}size(t){return this.#e.stat(t).then(r=>r.size).catch(r=>{if(r.code!=="ENOENT")throw r})}lastModified(t){return this.#e.stat(t).then(r=>r.mtime).catch(r=>{if(r.code!=="ENOENT")throw r})}copy(t,r){return this.#e.copyFile(t,r)}async copyAll(t,r){if(await this.isFile(t))return this.copy(t,r);let n=t instanceof URL?(0,Npt.fileURLToPath)(t):t,i=r instanceof URL?(0,Npt.fileURLToPath)(r):r;await this.createDirectory(r);for await(let s of this.list(t)){let a=Ppt.default.join(n,s.name),u=Ppt.default.join(i,s.name);s.isDirectory?await this.copyAll(a,u):await this.copy(a,u)}}move(t,r){return this.#e.stat(t).then(n=>{if(n.isDirectory())throw new Error(`EISDIR: illegal operation on a directory, move '${t}' -> '${r}'`);return this.#e.rename(t,r)})}async moveAll(t,r){return this.#e.rename(t,r)}},OJt=class extends o5e{constructor({fsp:t}={}){super({impl:new NJt({fsp:t})})}},SUl=new OJt});var Han={};Mt(Han,{Hfs:()=>o5e,NodeHfs:()=>OJt,NodeHfsImpl:()=>NJt,hfs:()=>SUl});var zan=Er(()=>{qPs();$an()});var eNs=j((mCA,ZPs)=>{"use strict";var b7=require("node:path"),GPs=require("node:fs"),{isMainThread:TUl,threadId:DUl}=require("node:worker_threads"),VPs=GPs.promises,wUl=iYe(),BUl=IKt(),kUl=Rin(),PUl=Fin(),{Linter:NUl}=wpt(),{getShorthandName:OUl}=ban(),RUl=Nan(),{ConfigLoader:FUl,LegacyConfigLoader:LUl}=Uan(),eon=B1(),$Ps=kUl.Minimatch,KPs={dot:!0},FJt=process.hrtime.bigint;eon.formatters.t=e=>`${(e+500000n)/1000000n} ms`;var RJt=eon(`eslint:eslint-helpers${TUl?"":`:thread-${DUl}`}`),LJt=class extends Error{constructor(t,r){super(`No files matching '${t}' were found${r?"":" (glob was disabled)"}.`),this.messageTemplate="file-not-found",this.messageData={pattern:t,globDisabled:!r}}},Wan=class extends Error{constructor({basePath:t,unmatchedPatterns:r,patterns:n,rawPatterns:i}){super(`No files matching '${i}' in '${t}' were found.`),this.basePath=t,this.unmatchedPatterns=r,this.patterns=n,this.rawPatterns=i}},Xan=class extends Error{constructor(t){super(`All files matched by '${t}' are ignored.`),this.messageTemplate="all-matched-files-ignored",this.messageData={pattern:t}}};function pVe(e){return typeof e=="string"&&e.trim()!==""}function MUl(e){return Array.isArray(e)&&!!e.length&&e.every(pVe)}function YPs(e){return Array.isArray(e)&&e.every(pVe)}function QUl(e){return Number.isInteger(e)&&e>0}function Opt(e){return e.replace(/\\/gu,"/")}function jUl(e){return wUl(b7.sep==="\\"?Opt(e):e)}async function UUl({basePath:e,pattern:t}){let r=!1,{hfs:n}=await Promise.resolve().then(()=>(zan(),Han)),i=Opt(b7.relative(e,t)),s=new $Ps(i,KPs),a={directoryFilter(u){return!r&&s.match(u.path,!0)},entryFilter(u){return r||u.isDirectory?!1:s.match(u.path)?(r=!0,!0):!1}};return await n.isDirectory(e)?n.walk(e,a).next().then(()=>r):r}async function qUl({basePath:e,patterns:t,rawPatterns:r,configLoader:n,errorOnUnmatchedPattern:i}){if(t.length===0)return[];let s=new Map,a=t.map((g,A)=>{let h=Opt(b7.relative(e,g));return s.set(h,t[A]),new $Ps(h,KPs)}),u=new Set([...s.keys()]),{hfs:l}=await Promise.resolve().then(()=>(zan(),Han)),f=l.walk(e,{async directoryFilter(g){if(!a.some(_=>_.match(g.path,!0)))return!1;let A=b7.resolve(e,g.path);return!(await n.loadConfigArrayForDirectory(A)).isDirectoryIgnored(A)},async entryFilter(g){let A=b7.resolve(e,g.path);if(g.isDirectory)return!1;let _=(await n.loadConfigArrayForFile(A)).getConfig(A);return(u.size>0?a.reduce((b,D)=>{let k=D.match(g.path);return k&&_&&u.delete(D.pattern),k||b},!1):a.some(b=>b.match(g.path)))&&_!==void 0}}),p=[];if(await l.isDirectory(e))for await(let g of f)p.push(b7.resolve(e,g.path));if(i&&u.size>0)throw new Wan({basePath:e,unmatchedPatterns:[...u].map(g=>s.get(g)),patterns:t,rawPatterns:r});return p}async function YUl({basePath:e,patterns:t,rawPatterns:r,unmatchedPatterns:n}){let i=n[0],s=r[t.indexOf(i)];throw await UUl({basePath:e,pattern:i})?new Xan(s):new LJt(s,!0)}async function GUl({searches:e,configLoader:t,errorOnUnmatchedPattern:r}){let n=[...e].map(([s,{patterns:a,rawPatterns:u}])=>({basePath:s,patterns:a,rawPatterns:u})).filter(({patterns:s})=>s.length>0),i=await Promise.allSettled(n.map(({basePath:s,patterns:a,rawPatterns:u})=>qUl({basePath:s,patterns:a,rawPatterns:u,configLoader:t,errorOnUnmatchedPattern:r})));for(let s=0;ss.value)}async function VUl({patterns:e,globInputPaths:t,cwd:r,configLoader:n,errorOnUnmatchedPattern:i}){let s=[],a=[],u=[],l=[],f=new Map([[r,{patterns:u,rawPatterns:[]}]]),p=e.map(_=>b7.resolve(r,_)),g=await Promise.all(p.map(_=>VPs.stat(_).catch(()=>{}))),A=[];if(g.forEach((_,E)=>{let b=p[E],D=Opt(e[E]);if(_){_.isFile()&&(s.push(b),A.push(n.loadConfigArrayForFile(b))),_.isDirectory()&&(f.has(b)||f.set(b,{patterns:[],rawPatterns:[]}),{patterns:u,rawPatterns:l}=f.get(b),u.push(`${Opt(b)}/**`),l.push(D));return}if(t&&jUl(D)){let k=b7.resolve(r,PUl(D));f.has(k)||f.set(k,{patterns:[],rawPatterns:[]}),{patterns:u,rawPatterns:l}=f.get(k),u.push(b),l.push(D)}else a.push(D)}),i&&a.length)throw new LJt(a[0],t);A.push(GUl({searches:f,configLoader:n,errorOnUnmatchedPattern:i}));let h=(await Promise.all(A)).at(-1);return[...new Set([...s,...h])]}function JPs(e){return b7.join(e,"__placeholder__.js")}function $Ul(e){return e.severity===2}function HPs(e,t,r){let n;switch(r){case"external":n="File ignored because outside of base path.";break;case"unconfigured":n="File ignored because no matching configuration was supplied.";break;default:t&&b7.dirname(b7.relative(t,e)).split(b7.sep).includes("node_modules")?n='File ignored by default because it is located under the node_modules directory. Use ignore pattern "!**/node_modules/" to disable file ignore settings or use "--no-warn-ignored" to suppress this warning.':n='File ignored because of a matching ignore pattern. Use "--no-ignore" to disable file ignore settings or use "--no-warn-ignored" to suppress this warning.';break}return{filePath:e,messages:[{ruleId:null,fatal:!1,severity:1,message:n,nodeType:null}],suppressedMessages:[],errorCount:0,warningCount:1,fatalErrorCount:0,fixableErrorCount:0,fixableWarningCount:0}}function zPs(e){let t={errorCount:0,fatalErrorCount:0,warningCount:0,fixableErrorCount:0,fixableWarningCount:0};for(let r=0;r!0,...q}){let G=[],K=Object.keys(q);if(K.length>=1&&(G.push(`Unknown options: ${K.join(", ")}`),K.includes("cacheFile")&&G.push("'cacheFile' has been removed. Please use the 'cacheLocation' option instead."),K.includes("configFile")&&G.push("'configFile' has been removed. Please use the 'overrideConfigFile' option instead."),K.includes("envs")&&G.push("'envs' has been removed."),K.includes("extensions")&&G.push("'extensions' has been removed."),K.includes("resolvePluginsRelativeTo")&&G.push("'resolvePluginsRelativeTo' has been removed."),K.includes("globals")&&G.push("'globals' has been removed. Please use the 'overrideConfig.languageOptions.globals' option instead."),K.includes("ignorePath")&&G.push("'ignorePath' has been removed."),K.includes("ignorePattern")&&G.push("'ignorePattern' has been removed. Please use the 'overrideConfig.ignorePatterns' option instead."),K.includes("parser")&&G.push("'parser' has been removed. Please use the 'overrideConfig.languageOptions.parser' option instead."),K.includes("parserOptions")&&G.push("'parserOptions' has been removed. Please use the 'overrideConfig.languageOptions.parserOptions' option instead."),K.includes("rules")&&G.push("'rules' has been removed. Please use the 'overrideConfig.rules' option instead."),K.includes("rulePaths")&&G.push("'rulePaths' has been removed. Please define your rules using plugins."),K.includes("reportUnusedDisableDirectives")&&G.push("'reportUnusedDisableDirectives' has been removed. Please use the 'overrideConfig.linterOptions.reportUnusedDisableDirectives' option instead.")),typeof e!="boolean"&&G.push("'allowInlineConfig' must be a boolean."),typeof t!="object"&&G.push("'baseConfig' must be an object or null."),typeof r!="boolean"&&G.push("'cache' must be a boolean."),pVe(n)||G.push("'cacheLocation' must be a non-empty string."),i!=="metadata"&&i!=="content"&&G.push(`'cacheStrategy' must be any of "metadata", "content".`),s!=="off"&&s!=="auto"&&!QUl(s)&&G.push(`'concurrency' must be a positive integer, "auto", or "off".`),(!pVe(a)||!b7.isAbsolute(a))&&G.push("'cwd' must be an absolute path."),typeof u!="boolean"&&G.push("'errorOnUnmatchedPattern' must be a boolean."),typeof l!="boolean"&&typeof l!="function"&&G.push("'fix' must be a boolean or a function."),f!==null&&!JUl(f)&&G.push(`'fixTypes' must be an array of any of "directive", "problem", "suggestion", and "layout".`),YPs(p)||G.push("'flags' must be an array of non-empty strings."),typeof g!="boolean"&&G.push("'globInputPaths' must be a boolean."),typeof A!="boolean"&&G.push("'ignore' must be a boolean."),!YPs(h)&&h!==null&&G.push("'ignorePatterns' must be an array of non-empty strings or null."),typeof _!="object"&&G.push("'overrideConfig' must be an object or null."),!pVe(E)&&E!==null&&E!==!0&&G.push("'overrideConfigFile' must be a non-empty string, null, or true."),typeof M!="boolean"&&G.push("'passOnNoPatterns' must be a boolean."),typeof b!="object"?G.push("'plugins' must be an object or null."):b!==null&&Object.keys(b).includes("")&&G.push("'plugins' must not include an empty string."),Array.isArray(b)&&G.push("'plugins' doesn't add plugins to configuration to load. Please use the 'overrideConfig.plugins' option instead."),typeof D!="boolean"&&G.push("'stats' must be a boolean."),typeof k!="boolean"&&G.push("'warnIgnored' must be a boolean."),typeof R!="function"&&G.push("'ruleFilter' must be a function."),G.length>0)throw new Zan(G);return{allowInlineConfig:e,baseConfig:t,cache:r,cacheLocation:n,cacheStrategy:i,concurrency:s,configFile:E===!0?!1:E,overrideConfig:_,cwd:b7.normalize(a),errorOnUnmatchedPattern:u,fix:l,fixTypes:f,flags:[...p],globInputPaths:g,ignore:A,ignorePatterns:h,stats:D,passOnNoPatterns:M,warnIgnored:k,ruleFilter:R}}async function zUl(e){return(await import(e)).default}function WUl(e,t,{prefix:r=".cache_"}={}){let n=b7.normalize(e),i=b7.resolve(t,n),s=n.slice(-1)===b7.sep;function a(){return b7.join(i,`${r}${BUl(t)}`)}let u;try{u=GPs.lstatSync(i)}catch{u=null}return u?u.isDirectory()||s?a():i:s?a():i}function XUl({cache:e,cacheStrategy:t},r){return e?new RUl(r,t):null}function ZUl(e,t,r){if(!e.ruleId)return r.has("directive");let n=e.ruleId&&t.getRuleDefinition(e.ruleId);return!!(n&&n.meta&&r.has(n.meta.type))}function WPs(e,t,r){if(!e||!t)return e;let n=typeof e=="function"?e:()=>!0;return i=>ZUl(i,r,t)&&n(i)}function XPs({text:e,cwd:t,filePath:r,configs:n,fix:i,allowInlineConfig:s,ruleFilter:a,stats:u,linter:l}){let f=FJt(),p=r||"",g=p===""?JPs(t):p,{fixed:A,messages:h,output:_}=l.verifyAndFix(e,n,{allowInlineConfig:s,filename:g,fix:i,ruleFilter:a,stats:u,filterCodeBlock(D){return n.getConfig(D)!==void 0}}),E={filePath:p===""?p:b7.resolve(p),messages:h,suppressedMessages:l.getSuppressedMessages(),...zPs(h)};A&&(E.output=_),E.errorCount+E.warningCount>0&&typeof E.output>"u"&&(E.source=e),u&&(E.stats={times:l.getTimes(),fixPasses:l.getFixPassCount()});let b=FJt();return RJt('File "%s" linted in %t',p,b-f),E}async function eql(e,t,r,n,i,s,a,u){let l=t.getConfig(e),{allowInlineConfig:f,cwd:p,fix:g,fixTypes:A,ruleFilter:h,stats:_,warnIgnored:E}=r,b=A?new Set(A):null;if(!l){if(E){let R=t.getConfigStatus(e);return HPs(e,p,R)}return}if(i){let R=i.getCachedLintResults(e,l);if(R)if(R.messages&&R.messages.length>0&&g)RJt(`Reprocessing cached file to allow autofix: ${e}`);else return RJt(`Skipping file since it hasn't changed: ${e}`),R}let D=WPs(g,b,l);async function k(){let R=FJt(),q=await VPs.readFile(e,{encoding:"utf8",signal:u?.signal}),K=FJt()-R;return RJt('File "%s" read in %t',e,K),s&&(s.duration+=K),u?.signal.throwIfAborted(),XPs({text:q,filePath:e,configs:t,cwd:p,fix:D,allowInlineConfig:f,ruleFilter:h,stats:_,linter:n})}return(a?a.retry(k,{signal:u?.signal}):k()).catch(R=>{throw u?.abort(R),R})}function tql(e){if(!process.env.ESLINT_FLAGS)return e;let t=process.env.ESLINT_FLAGS.trim().split(/\s*,\s*/gu);return Array.from(new Set([...t,...e]))}function rql({cwd:e,flags:t},r){return new NUl({configType:"flat",cwd:e,flags:tql(t),warningService:r})}function nql(e){let t=[];if(e){let r={};for(let[n,i]of Object.entries(e))r[OUl(n,"eslint-plugin")]=i;t.push({plugins:r})}return t}function iql({cwd:e,baseConfig:t,overrideConfig:r,configFile:n,ignore:i,ignorePatterns:s},a,u,l){let f={cwd:e,baseConfig:t,overrideConfig:r,configFile:n,ignoreEnabled:i,ignorePatterns:s,defaultConfigs:a,hasUnstableNativeNodeJsTSConfigFlag:u.hasFlag("unstable_native_nodejs_ts_config"),warningService:l};return u.hasFlag("v10_config_lookup_from_file")?new FUl(f):new LUl(f)}ZPs.exports={createDebug:eon,findFiles:VUl,isNonEmptyString:pVe,isArrayOfNonEmptyString:MUl,createIgnoreResult:HPs,isErrorMessage:$Ul,calculateStatsPerFile:zPs,getPlaceholderPath:JPs,processOptions:HUl,loadOptionsFromModule:zUl,getCacheFile:WUl,createLintResultCache:XUl,getFixerForFixTypes:WPs,verifyText:XPs,lintFile:eql,createLinter:rql,createDefaultConfigs:nql,createConfigLoader:iql}});var rNs=j(tNs=>{"use strict";function XX(e){globalThis?.process?.env.DEBUG==="@hwc/retry"&&console.debug(e)}function sql(e,t){let r=Date.now()-e.lastAttempt,n=Math.max(e.lastAttempt-e.timestamp,1),i=Math.min(n*1.2,t);return r>=i}function aql(e,t){return e.age>t}function oql(){if(Promise.withResolvers)return Promise.withResolvers();let e,t,r=new Promise((n,i)=>{e=n,t=i});if(e===void 0||t===void 0)throw new Error("Promise executor did not initialize resolve or reject.");return{promise:r,resolve:e,reject:t}}var ton=class{id=Math.random().toString(36).slice(2);fn;error;timestamp=Date.now();lastAttempt=this.timestamp;resolve;reject;signal;constructor(t,r,n,i,s){this.fn=t,this.error=r,this.timestamp=Date.now(),this.lastAttempt=Date.now(),this.resolve=n,this.reject=i,this.signal=s}get age(){return Date.now()-this.timestamp}},ron=class{#e=[];#t=[];#r=0;#n;#i;#a;#s;#o;constructor(t,{timeout:r=6e4,maxDelay:n=100,concurrency:i=1e3}={}){if(typeof t!="function")throw new Error("Missing function to check errors");this.#s=t,this.#n=r,this.#i=n,this.#o=i}get retrying(){return this.#e.length}get pending(){return this.#t.length}get working(){return this.#r}#u(t,{signal:r,promise:n,resolve:i,reject:s}){let a;try{a=t()}catch(u){return s(new Error(`Synchronous error: ${u.message}`,{cause:u})),n}return!a||typeof a.then!="function"?(s(new Error("Result is not a promise.")),n):(this.#r++,n.finally(()=>{this.#r--,this.#c()}).catch(()=>{}),Promise.resolve(a).then(u=>{XX("Function called successfully without retry."),i(u)}).catch(u=>{if(!this.#s(u)){s(u);return}let l=new ton(t,u,i,s,r);XX(`Function failed, queuing for retry with task ${l.id}.`),this.#e.push(l),r?.addEventListener("abort",()=>{XX(`Task ${l.id} was aborted due to AbortSignal.`),s(r.reason)}),this.#f()}),n)}retry(t,{signal:r}={}){r?.throwIfAborted();let{promise:n,resolve:i,reject:s}=oql();return this.#t.push(()=>this.#u(t,{signal:r,promise:n,resolve:i,reject:s})),this.#c(),n}#l(){this.pending&&this.#c(),this.retrying&&this.#f()}#c(){XX(`Processing pending tasks: ${this.pending} pending, ${this.working} working.`);let t=this.#o-this.working;if(t<=0)return;let r=Math.min(this.pending,t);for(let n=0;n{this.#a=setTimeout(()=>this.#l(),0)},r=this.#e.shift();if(!r){XX("Queue is empty, exiting."),this.pending&&t();return}if(aql(r,this.#n)){XX(`Task ${r.id} was abandoned due to timeout.`),r.reject(r.error),t();return}if(!sql(r,this.#i)){XX(`Task ${r.id} is not ready to retry, skipping.`),this.#e.push(r),t();return}r.lastAttempt=Date.now(),Promise.resolve(r.fn()).then(n=>{XX(`Task ${r.id} succeeded after ${r.age}ms.`),r.resolve(n)}).catch(n=>{if(!this.#s(n)){XX(`Task ${r.id} failed with non-retryable error: ${n.message}.`),r.reject(n);return}r.lastAttempt=Date.now(),this.#e.push(r),XX(`Task ${r.id} failed, requeueing to try again.`)}).finally(()=>{this.#l()})}};tNs.Retrier=ron});var iNs=j(nNs=>{"use strict";var uql=require("node:module"),lql=uql.createRequire;function cql(e,t){return lql(t).resolve(e)}nNs.resolve=cql});var con=j((hCA,lon)=>{"use strict";var{existsSync:non}=require("node:fs"),sNs=require("node:fs/promises"),fql=require("node:os"),yse=require("node:path"),{pathToFileURL:fNs}=require("node:url"),{SHARE_ENV:pql,Worker:dql}=require("node:worker_threads"),{version:mql}=require("./package-MTQD2YUX.json"),{defaultConfig:gql}=bKt(),ion=win(),{createDebug:Aql,findFiles:hql,getCacheFile:yql,isNonEmptyString:son,isArrayOfNonEmptyString:_ql,createIgnoreResult:Eql,isErrorMessage:aNs,getPlaceholderPath:oon,processOptions:xql,loadOptionsFromModule:vql,getFixerForFixTypes:Cql,verifyText:bql,lintFile:Iql,createLinter:Sql,createLintResultCache:Tql,createDefaultConfigs:Dql,createConfigLoader:wql}=eNs(),{Retrier:pNs}=rNs(),{ConfigLoader:Bql}=Uan(),{WarningService:kql}=yJt(),{Config:Pql}=lVe(),{getShorthandName:Nql,getNamespaceFromTerm:Oql,normalizePackageName:Rql}=ban(),{resolve:Fql}=iNs(),pTe=process.hrtime.bigint,fTe=Aql("eslint:eslint"),PK=new WeakMap,Lql=new Set(["checkstyle","codeframe","compact","jslint-xml","junit","table","tap","unix","visualstudio"]),dNs=new Set(["ENFILE","EMFILE"]);function Mql(e){return Array.from(e).reduce((t,[r,n])=>(t[r]=n.meta,t),{})}var aon=new WeakMap;function Qql(e,t){let{options:{cwd:r},configLoader:n}=PK.get(e),i=yse.isAbsolute(t)?t:oon(r),a=n.getCachedConfigArrayForFile(i).getConfig(i);if(a&&!aon.has(a)){let u=[];if(a.rules)for(let[l,f]of Object.entries(a.rules)){if(Pql.getRuleNumericSeverity(f)===0)continue;let p=a.getRuleDefinition(l),g=p&&p.meta;if(g&&g.deprecated){let A=typeof g.deprecated=="object";u.push({ruleId:l,replacedBy:A?g.deprecated.replacedBy?.map(h=>`${h.plugin?.name!==void 0?`${Nql(h.plugin.name,"eslint-plugin")}/`:""}${h.rule?.name??""}`)??[]:g.replacedBy||[],info:A?g.deprecated:void 0})}}aon.set(a,Object.freeze(u))}return a?aon.get(a):Object.freeze([])}function oNs(e,t){let r={configurable:!0,enumerable:!0,get(){return Qql(e,this.filePath)}};for(let n of t)Object.defineProperty(n,"usedDeprecatedRules",r);return t}function jql(e,t){return e.filePatht.filePath?1:0}async function Uql({configFile:e,cwd:t}){let n=await new Bql({cwd:t,configFile:e}).findConfigFileForPath(yse.join(t,"__placeholder__.js"));if(!n)throw new Error("No ESLint configuration file was found.");return{configFilePath:n,basePath:e?t:yse.dirname(n)}}function uNs(e){return new TypeError("Results object was not created from this ESLint instance.",{cause:e})}var qql=50;function lNs(e,t){let r=Math.ceil(e/qql);return r>t&&(r=t),r<=1&&(r=0),r}function Yql(e,t,r,n){let i=e.getValidCachedLintResults(r,n);return!i||t&&i.messages&&i.messages.length>0}function Gql(e,t,r){let n=pTe(),{configLoader:i,lintResultCache:s,options:{cacheStrategy:a,fix:u}}=PK.get(e),l=!s||a==="content",f=0,p=t.length,g=0;for(let A of t){let h=lNs(f+p,r);if(g>=h)break;p--;let E=i.getCachedConfigArrayForFile(A).getConfig(A);E&&(l||Yql(s,u,A,E))&&(f++,g=lNs(f,r))}return fTe("%d file(s) to process counted in %t",f,pTe()-n),g}function Vql(e,t,{availableParallelism:r}=fql){let{concurrency:n}=PK.get(e).options;switch(n){case"off":return 0;case"auto":{let i=r()>>1;return Gql(e,t,i)}default:{let i=Math.min(n,t.length);return i>1?i:0}}}var cNs=Symbol("Do not check for uncloneable options."),$ql=.7;async function Kql(e,t,r,n){let i=e.length,s=Array(i),a=fNs(yse.join(__dirname,"./worker.js")),u=new Uint32Array(new SharedArrayBuffer(Uint32Array.BYTES_PER_ELEMENT)),l=new AbortController,f=l.signal,p={env:pql,workerData:{eslintOptionsOrURL:r,filePathIndexArray:u,filePaths:e}},g=1;function A(_,E){let b=pTe(),D=new dql(a,p);D.once("message",k=>{let M=pTe()-b,R=Number(k.netLintingDuration)/Number(M);g=Math.min(g,R),ion.enabled&&k.timings&&ion.mergeData(k.timings);for(let q of k){let{index:G}=q;delete q.index,s[G]=q}_()}),D.once("error",k=>{l.abort(k),E(k)}),f.addEventListener("abort",()=>D.terminate())}let h=Array(t);for(let _=0;_{if(l){let p=t[f],A=s.getCachedConfigArrayForFile(p).getConfig(p);A&&a.setCachedLintResults(p,A,l)}}),u}async function Hql(e,t){let{configLoader:r,linter:n,lintResultCache:i,options:s}=PK.get(e),a=new AbortController,u=new pNs(f=>dNs.has(f.code),{concurrency:100});return await Promise.all(t.map(async f=>{let p=r.getCachedConfigArrayForFile(f),g=p.getConfig(f),A=await Iql(f,p,s,n,i,null,u,a);return g&&i?.setCachedLintResults(f,g,A),A}))}function zql(e){try{structuredClone(e);return}catch{}let t=Object.keys(e).filter(n=>{try{structuredClone(e[n])}catch{return!0}return!1}).sort(),r=new TypeError(`The ${t.length===1?"option":"options"} ${new Intl.ListFormat("en-US").format(t.map(n=>`"${n}"`))} cannot be cloned. When concurrency is enabled, all options must be cloneable values (JSON values). Remove uncloneable options or use an options module.`);throw r.code="ESLINT_UNCLONEABLE_OPTIONS",r}var uon=class e{static configType="flat";#e;#t;constructor(t={}){let r=xql(t);!t[cNs]&&r.concurrency!=="off"&&(zql(t),this.#t=t);let n=new kql,i=Sql(r,n),s=yql(r.cacheLocation,r.cwd),a=Tql(r,s),u=Dql(t.plugins);this.#e=wql(r,u,i,n),fTe(`Using config loader ${this.#e.constructor.name}`),PK.set(this,{options:r,linter:i,cacheFilePath:s,lintResultCache:a,defaultConfigs:u,configs:null,configLoader:this.#e,warningService:n}),non(yse.resolve(r.cwd,".eslintignore"))&&n.emitESLintIgnoreWarning()}static get version(){return mql}static get defaultConfig(){return gql}static async outputFixes(t){if(!Array.isArray(t))throw new Error("'results' must be an array");let r=new pNs(n=>dNs.has(n.code),{concurrency:100});await Promise.all(t.filter(n=>{if(typeof n!="object"||n===null)throw new Error("'results' must include only objects");return typeof n.output=="string"&&yse.isAbsolute(n.filePath)}).map(n=>r.retry(()=>sNs.writeFile(n.filePath,n.output))))}static getErrorResults(t){let r=[];return t.forEach(n=>{let i=n.messages.filter(aNs),s=n.suppressedMessages.filter(aNs);i.length>0&&r.push({...n,messages:i,suppressedMessages:s,errorCount:i.length,warningCount:0,fixableErrorCount:n.fixableErrorCount,fixableWarningCount:0})}),r}static async fromOptionsModule(t){if(!(t instanceof URL))throw new TypeError("Argument must be a URL object");let r=t.href,i={...await vql(r),[cNs]:!0},s=new e(i);return i.concurrency!=="off"&&(s.#t=r),s}getRulesMetaForResults(t){if(t.length===0)return{};let r=new Map,{configLoader:n,options:{cwd:i}}=PK.get(this);for(let s of t){let a=s.filePath===""?oon(i):s.filePath,u=s.messages.concat(s.suppressedMessages);for(let{ruleId:l}of u){if(!l)continue;let f;try{f=n.getCachedConfigArrayForFile(a)}catch(A){throw uNs(A)}let p=f.getConfig(a);if(!p)throw uNs();let g=p.getRuleDefinition(l);g&&r.set(l,g)}}return Mql(r)}hasFlag(t){return PK.get(this).linter.hasFlag(t)}async lintFiles(t){let r=t,{cacheFilePath:n,lintResultCache:i,options:s,warningService:a}=PK.get(this);if(t===""||Array.isArray(t)&&t.length===0){if(s.passOnNoPatterns)return[];r=["."]}else{if(!son(t)&&!_ql(t))throw new Error("'patterns' must be a non-empty string or an array of non-empty strings");typeof t=="string"&&(r=[t])}fTe(`Using file patterns: ${r}`);let{concurrency:u,cwd:l,globInputPaths:f,errorOnUnmatchedPattern:p}=s;if(!i&&n){fTe(`Deleting cache file at ${n}`);try{non(n)&&await sNs.unlink(n)}catch(b){if(non(n))throw b}}let g=pTe(),A=await hql({patterns:r,cwd:l,globInputPaths:f,configLoader:this.#e,errorOnUnmatchedPattern:p});fTe("%d file(s) found in %t",A.length,pTe()-g);let h,_=lon.exports.calculateWorkerCount(this,A);if(_){fTe(`Linting using ${_} worker thread(s).`);let b;_<=2?b="disable concurrency":u==="auto"?b="disable concurrency or use a numeric concurrency setting":b="reduce or disable concurrency",h=await Jql(this,A,_,this.#t,()=>a.emitPoorConcurrencyWarning(b))}else fTe("Linting in single-thread mode."),h=await Hql(this,A);i&&i.reconcile();let E=h.filter(b=>!!b);return oNs(this,E)}async lintText(t,r={}){if(typeof t!="string")throw new Error("'code' must be a string");if(typeof r!="object")throw new Error("'options' must be an object, null, or undefined");let{filePath:n,warnIgnored:i,...s}=r||{},a=Object.keys(s);if(a.length>0)throw new Error(`'options' must not include the unknown option(s): ${a.join(", ")}`);if(n!==void 0&&!son(n))throw new Error("'options.filePath' must be a non-empty string or undefined");if(typeof i!="boolean"&&typeof i<"u")throw new Error("'options.warnIgnored' must be a boolean or undefined");let{linter:u,options:l}=PK.get(this),{allowInlineConfig:f,cwd:p,fix:g,fixTypes:A,warnIgnored:h,ruleFilter:_,stats:E}=l,b=[],D=pTe(),k=A?new Set(A):null,M=yse.resolve(p,n||"__placeholder__.js"),R=await this.#e.loadConfigArrayForFile(M),q=R?.getConfigStatus(M)??"unconfigured";if(M&&q!=="matched")(typeof i=="boolean"?i:h)&&b.push(Eql(M,p,q));else{let G=R.getConfig(M),K=Cql(g,k,G);b.push(bql({text:t,filePath:M.endsWith("__placeholder__.js")?"":M,configs:R,cwd:p,fix:K,allowInlineConfig:f,ruleFilter:_,stats:E,linter:u}))}return fTe("Linting complete in %t",pTe()-D),oNs(this,b)}async loadFormatter(t="stylish"){if(typeof t!="string")throw new Error("'name' must be a string");let r=t.replace(/\\/gu,"/"),n=Oql(r),{cwd:i}=PK.get(this).options,s;if(!n&&r.includes("/"))s=yse.resolve(i,r);else try{let l=Rql(r,"eslint-formatter");s=Fql(l,oon(i))}catch{s=yse.resolve(__dirname,"../","cli-engine","formatters",`${r}.js`)}let a;try{a=(await import(fNs(s))).default}catch(l){throw Lql.has(t)?l.message=`The ${t} formatter is no longer part of core ESLint. Install it manually with \`npm install -D eslint-formatter-${t}\``:l.message=`There was a problem loading formatter: ${s} Error: ${l.message}`,l}if(typeof a!="function")throw new TypeError(`Formatter must be a function, but got a ${typeof a}.`);let u=this;return{format(l,f){let p=null;return l.sort(jql),a(l,{...f,cwd:i,get rulesMeta(){return p||(p=u.getRulesMetaForResults(l)),p}})}}}async calculateConfigForFile(t){if(!son(t))throw new Error("'filePath' must be a non-empty string");let r=PK.get(this).options,n=yse.resolve(r.cwd,t),i=await this.#e.loadConfigArrayForFile(n);if(!i){let s=new Error("Could not find config file.");throw s.messageTemplate="config-file-missing",s}return i.getConfig(n)}async findConfigFile(t){let r=PK.get(this).options,n=yse.join(r.cwd,"__placeholder__");return this.#e.findConfigFileForPath(t??n).catch(()=>{})}async isPathIgnored(t){return await this.calculateConfigForFile(t)===void 0}};async function Wql(){return process.env.ESLINT_USE_FLAT_CONFIG!=="false"}lon.exports={ESLint:uon,shouldUseFlatConfig:Wql,locateConfigFileToUse:Uql,calculateWorkerCount:Vql}});var gNs=j((yCA,mNs)=>{"use strict";mNs.exports={configFile:null,baseConfig:!1,rulePaths:[],useEslintrc:!0,envs:[],globals:[],extensions:null,ignore:!0,ignorePath:void 0,cache:!1,cacheLocation:"",cacheFile:".eslintcache",cacheStrategy:"metadata",fix:!1,allowInlineConfig:!0,reportUnusedDisableDirectives:void 0,globInputPaths:!0}});var yNs=j((_CA,hNs)=>{"use strict";var fon=Symbol("singleComment"),ANs=Symbol("multiComment"),Xql=()=>"",Zql=(e,t,r)=>e.slice(t,r).replace(/\S/g," "),eYl=(e,t)=>{let r=t-1,n=0;for(;e[r]==="\\";)r-=1,n+=1;return!!(n%2)};hNs.exports=(e,t={})=>{if(typeof e!="string")throw new TypeError(`Expected argument \`jsonString\` to be a \`string\`, got \`${typeof e}\``);let r=t.whitespace===!1?Xql:Zql,n=!1,i=!1,s=0,a="";for(let u=0;u{function _Ns(e){return Array.isArray(e)?e:[e]}var mon="",ENs=" ",pon="\\",tYl=/^\s+$/,rYl=/(?:[^\\]|^)\\$/,nYl=/^\\!/,iYl=/^\\#/,sYl=/\r?\n/g,aYl=/^\.*\/|^\.+$/,don="/",CNs="node-ignore";typeof Symbol<"u"&&(CNs=Symbol.for("node-ignore"));var xNs=CNs,oYl=(e,t,r)=>Object.defineProperty(e,t,{value:r}),uYl=/([0-z])-([0-z])/g,bNs=()=>!1,lYl=e=>e.replace(uYl,(t,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?t:mon),cYl=e=>{let{length:t}=e;return e.slice(0,t-t%2)},fYl=[[/^\uFEFF/,()=>mon],[/((?:\\\\)*?)(\\?\s+)$/,(e,t,r)=>t+(r.indexOf("\\")===0?ENs:mon)],[/(\\+?)\s/g,(e,t)=>{let{length:r}=t;return t.slice(0,r-r%2)+ENs}],[/[\\$.|*+(){^]/g,e=>`\\${e}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(e,t,r)=>t+6{let n=r.replace(/\\\*/g,"[^\\/]*");return t+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>pon],[/\\\\/g,()=>pon],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(e,t,r,n,i)=>t===pon?`\\[${r}${cYl(n)}${i}`:i==="]"&&n.length%2===0?`[${lYl(r)}${n}]`:"[]"],[/(?:[^*])$/,e=>/\/$/.test(e)?`${e}$`:`${e}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(e,t)=>`${t?`${t}[^/]+`:"[^/]*"}(?=$|\\/$)`]],vNs=Object.create(null),pYl=(e,t)=>{let r=vNs[e];return r||(r=fYl.reduce((n,[i,s])=>n.replace(i,s.bind(e)),e),vNs[e]=r),t?new RegExp(r,"i"):new RegExp(r)},hon=e=>typeof e=="string",dYl=e=>e&&hon(e)&&!tYl.test(e)&&!rYl.test(e)&&e.indexOf("#")!==0,mYl=e=>e.split(sYl),gon=class{constructor(t,r,n,i){this.origin=t,this.pattern=r,this.negative=n,this.regex=i}},gYl=(e,t)=>{let r=e,n=!1;e.indexOf("!")===0&&(n=!0,e=e.substr(1)),e=e.replace(nYl,"!").replace(iYl,"#");let i=pYl(e,t);return new gon(r,e,n,i)},AYl=(e,t)=>{throw new t(e)},bye=(e,t,r)=>hon(e)?e?bye.isNotRelative(e)?r(`path should be a \`path.relative()\`d string, but got "${t}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${t}\``,TypeError),INs=e=>aYl.test(e);bye.isNotRelative=INs;bye.convert=e=>e;var Aon=class{constructor({ignorecase:t=!0,ignoreCase:r=t,allowRelativePaths:n=!1}={}){oYl(this,xNs,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[xNs]){this._rules=this._rules.concat(t._rules),this._added=!0;return}if(dYl(t)){let r=gYl(t,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(t){return this._added=!1,_Ns(hon(t)?mYl(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,r){let n=!1,i=!1;return this._rules.forEach(s=>{let{negative:a}=s;if(i===a&&n!==i||a&&!n&&!i&&!r)return;s.regex.test(t)&&(n=!a,i=a)}),{ignored:n,unignored:i}}_test(t,r,n,i){let s=t&&bye.convert(t);return bye(s,t,this._allowRelativePaths?bNs:AYl),this._t(s,r,n,i)}_t(t,r,n,i){if(t in r)return r[t];if(i||(i=t.split(don)),i.pop(),!i.length)return r[t]=this._testOne(t,n);let s=this._t(i.join(don)+don,r,n,i);return r[t]=s.ignored?s:this._testOne(t,n)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return _Ns(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}},MJt=e=>new Aon(e),hYl=e=>bye(e&&bye.convert(e),e,bNs);MJt.isPathValid=hYl;MJt.default=MJt;SNs.exports=MJt;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let e=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");bye.convert=e;let t=/^[a-z]:\//i;bye.isNotRelative=r=>t.test(r)||INs(r)}});var RNs=j((xCA,ONs)=>{var yYl=Z7e(),DNs=ZSe();ONs.exports=xYl;var wNs="\0SLASH"+Math.random()+"\0",BNs="\0OPEN"+Math.random()+"\0",_on="\0CLOSE"+Math.random()+"\0",kNs="\0COMMA"+Math.random()+"\0",PNs="\0PERIOD"+Math.random()+"\0";function yon(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function _Yl(e){return e.split("\\\\").join(wNs).split("\\{").join(BNs).split("\\}").join(_on).split("\\,").join(kNs).split("\\.").join(PNs)}function EYl(e){return e.split(wNs).join("\\").split(BNs).join("{").split(_on).join("}").split(kNs).join(",").split(PNs).join(".")}function NNs(e){if(!e)return[""];var t=[],r=DNs("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var u=NNs(s);return s.length&&(a[a.length-1]+=u.shift(),a.push.apply(a,u)),t.push.apply(t,a),t}function xYl(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),dVe(_Yl(e),!0).map(EYl)):[]}function vYl(e){return"{"+e+"}"}function CYl(e){return/^-?0\d/.test(e)}function bYl(e,t){return e<=t}function IYl(e,t){return e>=t}function dVe(e,t){var r=[],n=DNs("{","}",e);if(!n||/\$$/.test(n.pre))return[e];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),a=i||s,u=n.body.indexOf(",")>=0;if(!a&&!u)return n.post.match(/,(?!,).*\}/)?(e=n.pre+"{"+n.body+_on+n.post,dVe(e)):[e];var l;if(a)l=n.body.split(/\.\./);else if(l=NNs(n.body),l.length===1&&(l=dVe(l[0],!1).map(vYl),l.length===1)){var p=n.post.length?dVe(n.post,!1):[""];return p.map(function(me){return n.pre+l[0]+me})}var f=n.pre,p=n.post.length?dVe(n.post,!1):[""],g;if(a){var A=yon(l[0]),h=yon(l[1]),_=Math.max(l[0].length,l[1].length),E=l.length==3?Math.abs(yon(l[2])):1,b=bYl,D=h0){var G=new Array(q+1).join("0");M<0?R="-"+G+R.slice(1):R=G+R}}g.push(R)}}else g=yYl(l,function(ue){return dVe(ue,!1)});for(var K=0;K{jNs.exports=NK;NK.Minimatch=MO;var Rpt=(function(){try{return require("path")}catch{}})()||{sep:"/"};NK.sep=Rpt.sep;var von=NK.GLOBSTAR=MO.GLOBSTAR={},SYl=RNs(),FNs={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Eon="[^/]",xon=Eon+"*?",TYl="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",DYl="(?:(?!(?:\\/|^)\\.).)*?",LNs=wYl("().*{}+?[]^$\\!");function wYl(e){return e.split("").reduce(function(t,r){return t[r]=!0,t},{})}var MNs=/\/+/;NK.filter=BYl;function BYl(e,t){return t=t||{},function(r,n,i){return NK(r,e,t)}}function dTe(e,t){t=t||{};var r={};return Object.keys(e).forEach(function(n){r[n]=e[n]}),Object.keys(t).forEach(function(n){r[n]=t[n]}),r}NK.defaults=function(e){if(!e||typeof e!="object"||!Object.keys(e).length)return NK;var t=NK,r=function(i,s,a){return t(i,s,dTe(e,a))};return r.Minimatch=function(i,s){return new t.Minimatch(i,dTe(e,s))},r.Minimatch.defaults=function(i){return t.defaults(dTe(e,i)).Minimatch},r.filter=function(i,s){return t.filter(i,dTe(e,s))},r.defaults=function(i){return t.defaults(dTe(e,i))},r.makeRe=function(i,s){return t.makeRe(i,dTe(e,s))},r.braceExpand=function(i,s){return t.braceExpand(i,dTe(e,s))},r.match=function(n,i,s){return t.match(n,i,dTe(e,s))},r};MO.defaults=function(e){return NK.defaults(e).Minimatch};function NK(e,t,r){return jJt(t),r||(r={}),!r.nocomment&&t.charAt(0)==="#"?!1:new MO(t,r).match(e)}function MO(e,t){if(!(this instanceof MO))return new MO(e,t);jJt(e),t||(t={}),e=e.trim(),!t.allowWindowsEscape&&Rpt.sep!=="/"&&(e=e.split(Rpt.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}MO.prototype.debug=function(){};MO.prototype.make=kYl;function kYl(){var e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(MNs)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}MO.prototype.parseNegate=PYl;function PYl(){var e=this.pattern,t=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=e.length;i"u"?this.pattern:e,jJt(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:SYl(e)}var NYl=1024*64,jJt=function(e){if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>NYl)throw new TypeError("pattern is too long")};MO.prototype.parse=OYl;var QJt={};function OYl(e,t){jJt(e);var r=this.options;if(e==="**")if(r.noglobstar)e="*";else return von;if(e==="")return"";var n="",i=!!r.nocase,s=!1,a=[],u=[],l,f=!1,p=-1,g=-1,A=e.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",h=this;function _(){if(l){switch(l){case"*":n+=xon,i=!0;break;case"?":n+=Eon,i=!0;break;default:n+="\\"+l;break}h.debug("clearStateChar %j %j",l,n),l=!1}}for(var E=0,b=e.length,D;E-1;Z--){var oe=u[Z],ue=n.slice(0,oe.reStart),me=n.slice(oe.reStart,oe.reEnd-8),Te=n.slice(oe.reEnd-8,oe.reEnd),le=n.slice(oe.reEnd);Te+=le;var ae=ue.split("(").length-1,Ae=le;for(E=0;E"u"&&(r=this.partial),this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&r)return!0;var n=this.options;Rpt.sep!=="/"&&(t=t.split(Rpt.sep).join("/")),t=t.split(MNs),this.debug(this.pattern,"split",t);var i=this.set;this.debug(this.pattern,"set",i);var s,a;for(a=t.length-1;a>=0&&(s=t[a],!s);a--);for(a=0;a>> no match, partial?`,e,p,t,g),p===a))}var h;if(typeof l=="string"?(h=f===l,this.debug("string match",l,f,h)):(h=f.match(l),this.debug("pattern match",l,f,h)),!h)return!1}if(i===a&&s===u)return!0;if(i===a)return r;if(s===u)return i===a-1&&e[i]==="";throw new Error("wtf?")};function FYl(e){return e.replace(/\\(.)/g,"$1")}function LYl(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var WJt=j(zJt=>{"use strict";Object.defineProperty(zJt,"__esModule",{value:!0});var MYl=B1(),QYl=require("node:fs"),jYl=wGr(),cOs=require("node:module"),UYl=require("node:path"),qYl=yNs(),YYl=require("node:assert"),GYl=TNs(),VYl=require("node:util"),$Yl=UNs(),KYl=$Kt(),JYl=asn(),HYl=require("node:os");function OK(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var JJt=OK(MYl),gVe=OK(QYl),zYl=OK(jYl),WYl=OK(cOs),s2=OK(UYl),fOs=OK(qYl),GJt=OK(YYl),qNs=OK(GYl),VJt=OK(VYl),XYl=OK($Yl),ZYl=OK(KYl),vT=OK(JYl),YNs=OK(HYl),Con=JJt.default("eslintrc:ignore-pattern");function eGl(e){let t=e[0];for(let n=1;na.basePath)),n=t.flatMap(a=>a.getPatternsRelativeTo(r)),i=qNs.default({allowRelativePaths:!0}).add([...rGl,...n]),s=qNs.default({allowRelativePaths:!0}).add(n);return Con(" processed: %o",{basePath:r,patterns:n}),Object.assign((a,u=!1)=>{GJt.default(s2.default.isAbsolute(a),"'filePath' should be an absolute path.");let l=GNs(r,a),f=l&&l+tGl(a),g=f!==""&&(u?s:i).ignores(f);return Con("Check",{filePath:a,dot:u,relativePath:f,result:g}),g},{basePath:r,patterns:n})}constructor(t,r){GJt.default(s2.default.isAbsolute(r),"'basePath' should be an absolute path."),this.patterns=t,this.basePath=r,this.loose=!1}getPatternsRelativeTo(t){GJt.default(s2.default.isAbsolute(t),"'newBasePath' should be an absolute path.");let{basePath:r,loose:n,patterns:i}=this;if(t===r)return i;let s=`/${GNs(t,r)}`;return i.map(a=>{let u=a.startsWith("!"),l=u?"!":"",f=u?a.slice(1):a;return f.startsWith("/")||f.startsWith("../")?`${l}${s}${f}`:n?a:`${l}${s}/**/${f}`})}};function nGl(e,t){return e.length>=t.length&&t.every((r,n)=>r===e[n])}var $Jt=class{constructor(){this.configNameOfNoInlineConfig="",this.env={},this.globals={},this.ignores=void 0,this.noInlineConfig=void 0,this.parser=null,this.parserOptions={},this.plugins={},this.processor=null,this.reportUnusedDisableDirectives=void 0,this.rules={},this.settings={}}toCompatibleObjectAsConfigFileContent(){let{configNameOfNoInlineConfig:t,processor:r,ignores:n,...i}=this;return i.parser=i.parser&&i.parser.filePath,i.plugins=Object.keys(i.plugins).filter(Boolean).reverse(),i.ignorePatterns=n?n.patterns:[],nGl(i.ignorePatterns,hTe.DefaultPatterns)&&(i.ignorePatterns=i.ignorePatterns.slice(hTe.DefaultPatterns.length)),i}},Qon=new class extends WeakMap{get(e){let t=super.get(e);return t||(t={cache:new Map,envMap:null,processorMap:null,ruleMap:null},super.set(e,t)),t}};function iGl(e,t){let r=[];for(let n=e.length-1;n>=0;--n){let i=e[n];(!i.criteria||t&&i.criteria.test(t))&&r.push(n)}return r}function Mpt(e){return typeof e=="object"&&e!==null}function hVe(e,t){if(Mpt(t))for(let r of Object.keys(t))r!=="__proto__"&&(Mpt(e[r])?hVe(e[r],t[r]):e[r]===void 0&&(Mpt(t[r])?(e[r]=Array.isArray(t[r])?[]:{},hVe(e[r],t[r])):t[r]!==void 0&&(e[r]=t[r])))}var kon=class extends Error{constructor(t,r){super(`Plugin "${t}" was conflicted between ${r.map(n=>`"${n.importerName}"`).join(" and ")}.`),this.messageTemplate="plugin-conflict",this.messageData={pluginId:t,plugins:r}}};function sGl(e,t){if(Mpt(t))for(let r of Object.keys(t)){if(r==="__proto__")continue;let n=e[r],i=t[r];if(n===void 0){if(i.error)throw i.error;e[r]=i}else if(i.filePath!==n.filePath)throw new kon(r,[{filePath:n.filePath,importerName:n.importerName},{filePath:i.filePath,importerName:i.importerName}])}}function aGl(e,t){if(Mpt(t))for(let r of Object.keys(t)){if(r==="__proto__")continue;let n=e[r],i=t[r];n===void 0?Array.isArray(i)?e[r]=[...i]:e[r]=[i]:n.length===1&&Array.isArray(i)&&i.length>=2&&n.push(...i.slice(1))}}function oGl(e,t){let r=new $Jt,n=[];for(let i of t){let s=e[i];if(!r.parser&&s.parser){if(s.parser.error)throw s.parser.error;r.parser=s.parser}!r.processor&&s.processor&&(r.processor=s.processor),r.noInlineConfig===void 0&&s.noInlineConfig!==void 0&&(r.noInlineConfig=s.noInlineConfig,r.configNameOfNoInlineConfig=s.name),r.reportUnusedDisableDirectives===void 0&&s.reportUnusedDisableDirectives!==void 0&&(r.reportUnusedDisableDirectives=s.reportUnusedDisableDirectives),s.ignorePattern&&n.push(s.ignorePattern),hVe(r.env,s.env),hVe(r.globals,s.globals),hVe(r.parserOptions,s.parserOptions),hVe(r.settings,s.settings),sGl(r.plugins,s.plugins),aGl(r.rules,s.rules)}return n.length>0&&(r.ignores=hTe.createIgnore(n.reverse())),r}function bon(e,t,r){if(t){let n=e&&`${e}/`;for(let[i,s]of Object.entries(t))r.set(`${n}${i}`,s)}}function Ion(e){Object.defineProperties(e,{clear:{configurable:!0,value:void 0},delete:{configurable:!0,value:void 0},set:{configurable:!0,value:void 0}})}function uGl(e,t){let r=new Set;t.envMap=new Map,t.processorMap=new Map,t.ruleMap=new Map;for(let n of e)if(n.plugins)for(let[i,s]of Object.entries(n.plugins)){let a=s.definition;!a||r.has(i)||(r.add(i),bon(i,a.environments,t.envMap),bon(i,a.processors,t.processorMap),bon(i,a.rules,t.ruleMap))}Ion(t.envMap),Ion(t.processorMap),Ion(t.ruleMap)}function Son(e){let t=Qon.get(e);return t.ruleMap||uGl(e,t),t}var ZX=class extends Array{get pluginEnvironments(){return Son(this).envMap}get pluginProcessors(){return Son(this).processorMap}get pluginRules(){return Son(this).ruleMap}isRoot(){for(let t=this.length-1;t>=0;--t){let r=this[t].root;if(typeof r=="boolean")return r}return!1}extractConfig(t){let{cache:r}=Qon.get(this),n=iGl(this,t),i=n.join(",");return r.has(i)||r.set(i,oGl(this,n)),r.get(i)}isAdditionalTargetPath(t){for(let{criteria:r,type:n}of this)if(n==="config"&&r&&!r.endsWithWildcard&&r.test(t))return!0;return!1}};function lGl(e){let{cache:t}=Qon.get(e);return Array.from(t.values())}var Ese=class{constructor({definition:t=null,original:r=null,error:n=null,filePath:i=null,id:s,importerName:a,importerPath:u}){this.definition=t,this.original=r,this.error=n,this.filePath=i,this.id=s,this.importerName=a,this.importerPath=u}toJSON(){let t=this[VJt.default.inspect.custom]();return t.error instanceof Error&&(t.error={...t.error,message:t.error.message}),t}[VJt.default.inspect.custom](){let{definition:t,original:r,...n}=this;return n}},{Minimatch:$Ns}=XYl.default,KNs={dot:!0,matchBase:!0};function JNs(e){return Array.isArray(e)?e.filter(Boolean):typeof e=="string"&&e?[e]:[]}function HNs(e){return e.length===0?null:e.map(t=>/^\.[/\\]/u.test(t)?new $Ns(t.slice(2),{...KNs,matchBase:!1}):new $Ns(t,KNs))}function zNs({includes:e,excludes:t}){return{includes:e&&e.map(r=>r.pattern),excludes:t&&t.map(r=>r.pattern)}}var Qpt=class e{static create(t,r,n){let i=JNs(t),s=JNs(r),a=!1;if(i.length===0)return null;for(let f of i){if(s2.default.isAbsolute(f)||f.includes(".."))throw new Error(`Invalid override pattern (expected relative path not containing '..'): ${f}`);f.endsWith("*")&&(a=!0)}for(let f of s)if(s2.default.isAbsolute(f)||f.includes(".."))throw new Error(`Invalid override pattern (expected relative path not containing '..'): ${f}`);let u=HNs(i),l=HNs(s);return new e([{includes:u,excludes:l}],n,a)}static and(t,r){return r?t?(GJt.default.strictEqual(t.basePath,r.basePath),new e(t.patterns.concat(r.patterns),t.basePath,t.endsWithWildcard||r.endsWithWildcard)):new e(r.patterns,r.basePath,r.endsWithWildcard):t&&new e(t.patterns,t.basePath,t.endsWithWildcard)}constructor(t,r,n=!1){this.patterns=t,this.basePath=r,this.endsWithWildcard=n}test(t){if(typeof t!="string"||!s2.default.isAbsolute(t))throw new Error(`'filePath' should be an absolute path, but got ${t}.`);let r=s2.default.relative(this.basePath,t);return this.patterns.every(({includes:n,excludes:i})=>(!n||n.some(s=>s.match(r)))&&(!i||!i.some(s=>s.match(r))))}toJSON(){return this.patterns.length===1?{...zNs(this.patterns[0]),basePath:this.basePath}:{AND:this.patterns.map(zNs),basePath:this.basePath}}[VJt.default.inspect.custom](){return this.toJSON()}},Lpt=["off","warn","error"],cGl=Lpt.reduce((e,t,r)=>(e[t]=r,e),{}),fGl=new Set([0,1,2,"off","warn","error"]);function pOs(e){let t=Array.isArray(e)?e[0]:e;return t===0||t===1||t===2?t:typeof t=="string"&&cGl[t.toLowerCase()]||0}function pGl(e){e.rules&&Object.keys(e.rules).forEach(t=>{let r=e.rules[t];typeof r=="number"?e.rules[t]=Lpt[r]||Lpt[0]:Array.isArray(r)&&typeof r[0]=="number"&&(r[0]=Lpt[r[0]]||Lpt[0])})}function dGl(e){return pOs(e)===2}function dOs(e){let t=Array.isArray(e)?e[0]:e;return typeof t=="string"&&(t=t.toLowerCase()),fGl.has(t)}function mGl(e){return Object.keys(e).every(t=>dOs(e[t]))}function mOs(e){switch(e){case"off":return"off";case!0:case"true":case"writeable":case"writable":return"writable";case null:case!1:case"false":case"readable":case"readonly":return"readonly";default:throw new Error(`'${e}' is not a valid configuration for a global (use 'readonly', 'writable', or 'off')`)}}var gGl={__proto__:null,getRuleSeverity:pOs,normalizeToStrings:pGl,isErrorSeverity:dGl,isValidSeverity:dOs,isEverySeverityValid:mGl,normalizeConfigGlobal:mOs},AGl={ESLINT_LEGACY_ECMAFEATURES:"The 'ecmaFeatures' config file property is deprecated and has no effect.",ESLINT_PERSONAL_CONFIG_LOAD:"'~/.eslintrc.*' config files have been deprecated. Please use a config file per project or the '--config' option.",ESLINT_PERSONAL_CONFIG_SUPPRESS:"'~/.eslintrc.*' config files have been deprecated. Please remove it or add 'root:true' to the config files in your projects in order to avoid loading '~/.eslintrc.*' accidentally."},WNs=new Set;function Pon(e,t){let r=JSON.stringify({source:e,errorCode:t});if(WNs.has(r))return;WNs.add(r);let n=s2.default.relative(process.cwd(),e),i=AGl[t];process.emitWarning(`${i} (found in "${n}")`,"DeprecationWarning",t)}var XNs={id:"http://json-schema.org/draft-04/schema#",$schema:"http://json-schema.org/draft-04/schema#",description:"Core schema meta-schema",definitions:{schemaArray:{type:"array",minItems:1,items:{$ref:"#"}},positiveInteger:{type:"integer",minimum:0},positiveIntegerDefault0:{allOf:[{$ref:"#/definitions/positiveInteger"},{default:0}]},simpleTypes:{enum:["array","boolean","integer","null","number","object","string"]},stringArray:{type:"array",items:{type:"string"},minItems:1,uniqueItems:!0}},type:"object",properties:{id:{type:"string"},$schema:{type:"string"},title:{type:"string"},description:{type:"string"},default:{},multipleOf:{type:"number",minimum:0,exclusiveMinimum:!0},maximum:{type:"number"},exclusiveMaximum:{type:"boolean",default:!1},minimum:{type:"number"},exclusiveMinimum:{type:"boolean",default:!1},maxLength:{$ref:"#/definitions/positiveInteger"},minLength:{$ref:"#/definitions/positiveIntegerDefault0"},pattern:{type:"string",format:"regex"},additionalItems:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},items:{anyOf:[{$ref:"#"},{$ref:"#/definitions/schemaArray"}],default:{}},maxItems:{$ref:"#/definitions/positiveInteger"},minItems:{$ref:"#/definitions/positiveIntegerDefault0"},uniqueItems:{type:"boolean",default:!1},maxProperties:{$ref:"#/definitions/positiveInteger"},minProperties:{$ref:"#/definitions/positiveIntegerDefault0"},required:{$ref:"#/definitions/stringArray"},additionalProperties:{anyOf:[{type:"boolean"},{$ref:"#"}],default:{}},definitions:{type:"object",additionalProperties:{$ref:"#"},default:{}},properties:{type:"object",additionalProperties:{$ref:"#"},default:{}},patternProperties:{type:"object",additionalProperties:{$ref:"#"},default:{}},dependencies:{type:"object",additionalProperties:{anyOf:[{$ref:"#"},{$ref:"#/definitions/stringArray"}]}},enum:{type:"array",minItems:1,uniqueItems:!0},type:{anyOf:[{$ref:"#/definitions/simpleTypes"},{type:"array",items:{$ref:"#/definitions/simpleTypes"},minItems:1,uniqueItems:!0}]},format:{type:"string"},allOf:{$ref:"#/definitions/schemaArray"},anyOf:{$ref:"#/definitions/schemaArray"},oneOf:{$ref:"#/definitions/schemaArray"},not:{$ref:"#"}},dependencies:{exclusiveMaximum:["maximum"],exclusiveMinimum:["minimum"]},default:{}},hGl=(e={})=>{let t=new ZYl.default({meta:!1,useDefaults:!0,validateSchema:!1,missingRefs:"ignore",verbose:!0,schemaId:"auto",...e});return t.addMetaSchema(XNs),t._opts.defaultMeta=XNs.id,t};function ZNs(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function gOs(e,t){if(t===void 0)return e;if(!ZNs(e)||!ZNs(t))return t;let r={...e,...t};for(let n of Object.keys(t))Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=gOs(e[n],t[n]));return r}function yGl(e,t){return!e||!t?t||e||[]:[...e.map((r,n)=>gOs(r,t[n])),...t.slice(e.length)]}var eOs={$schema:{type:"string"},env:{type:"object"},extends:{$ref:"#/definitions/stringOrStrings"},globals:{type:"object"},overrides:{type:"array",items:{$ref:"#/definitions/overrideConfig"},additionalItems:!1},parser:{type:["string","null"]},parserOptions:{type:"object"},plugins:{type:"array"},processor:{type:"string"},rules:{type:"object"},settings:{type:"object"},noInlineConfig:{type:"boolean"},reportUnusedDisableDirectives:{type:"boolean"},ecmaFeatures:{type:"object"}},_Gl={definitions:{stringOrStrings:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1}]},stringOrStringsRequired:{oneOf:[{type:"string"},{type:"array",items:{type:"string"},additionalItems:!1,minItems:1}]},objectConfig:{type:"object",properties:{root:{type:"boolean"},ignorePatterns:{$ref:"#/definitions/stringOrStrings"},...eOs},additionalProperties:!1},overrideConfig:{type:"object",properties:{excludedFiles:{$ref:"#/definitions/stringOrStrings"},files:{$ref:"#/definitions/stringOrStringsRequired"},...eOs},required:["files"],additionalProperties:!1}},$ref:"#/definitions/objectConfig"};function EGl(e,t){let r={};for(let[n,i]of Object.entries(e))Object.hasOwn(t,n)||(r[n]=i);return r}var _se=EGl(vT.default.es2015,vT.default.es5),mTe={Atomics:!1,SharedArrayBuffer:!1},Fpt={BigInt:!1,BigInt64Array:!1,BigUint64Array:!1,globalThis:!1},UJt={AggregateError:!1,FinalizationRegistry:!1,WeakRef:!1},KJt=new Map(Object.entries({builtin:{globals:vT.default.es5},es6:{globals:_se,parserOptions:{ecmaVersion:6}},es2015:{globals:_se,parserOptions:{ecmaVersion:6}},es2016:{globals:_se,parserOptions:{ecmaVersion:7}},es2017:{globals:{..._se,...mTe},parserOptions:{ecmaVersion:8}},es2018:{globals:{..._se,...mTe},parserOptions:{ecmaVersion:9}},es2019:{globals:{..._se,...mTe},parserOptions:{ecmaVersion:10}},es2020:{globals:{..._se,...mTe,...Fpt},parserOptions:{ecmaVersion:11}},es2021:{globals:{..._se,...mTe,...Fpt,...UJt},parserOptions:{ecmaVersion:12}},es2022:{globals:{..._se,...mTe,...Fpt,...UJt},parserOptions:{ecmaVersion:13}},es2023:{globals:{..._se,...mTe,...Fpt,...UJt},parserOptions:{ecmaVersion:14}},es2024:{globals:{..._se,...mTe,...Fpt,...UJt},parserOptions:{ecmaVersion:15}},browser:{globals:vT.default.browser},node:{globals:vT.default.node,parserOptions:{ecmaFeatures:{globalReturn:!0}}},"shared-node-browser":{globals:vT.default["shared-node-browser"]},worker:{globals:vT.default.worker},serviceworker:{globals:vT.default.serviceworker},commonjs:{globals:vT.default.commonjs,parserOptions:{ecmaFeatures:{globalReturn:!0}}},amd:{globals:vT.default.amd},mocha:{globals:vT.default.mocha},jasmine:{globals:vT.default.jasmine},jest:{globals:vT.default.jest},phantomjs:{globals:vT.default.phantomjs},jquery:{globals:vT.default.jquery},qunit:{globals:vT.default.qunit},prototypejs:{globals:vT.default.prototypejs},shelljs:{globals:vT.default.shelljs},meteor:{globals:vT.default.meteor},mongo:{globals:vT.default.mongo},protractor:{globals:vT.default.protractor},applescript:{globals:vT.default.applescript},nashorn:{globals:vT.default.nashorn},atomtest:{globals:vT.default.atomtest},embertest:{globals:vT.default.embertest},webextensions:{globals:vT.default.webextensions},greasemonkey:{globals:vT.default.greasemonkey}})),tOs=hGl(),Ton=new WeakMap,rOs=Function.prototype,qJt,xGl={error:2,warn:1,off:0},nOs=new WeakSet,Don=Object.freeze({type:"array",minItems:0,maxItems:0}),jpt=class{constructor({builtInRules:t=new Map}={}){this.builtInRules=t}getRuleOptionsSchema(t){if(!t)return null;if(!t.meta)return{...Don};let r=t.meta.schema;if(typeof r>"u")return{...Don};if(r===!1)return null;if(typeof r!="object"||r===null)throw new TypeError("Rule's `meta.schema` must be an array or object");return Array.isArray(r)?r.length?{type:"array",items:r,minItems:0,maxItems:r.length}:{...Don}:r}validateRuleSeverity(t){let r=Array.isArray(t)?t[0]:t,n=typeof r=="string"?xGl[r.toLowerCase()]:r;if(n===0||n===1||n===2)return n;throw new Error(` Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '${VJt.default.inspect(r).replace(/'/gu,'"').replace(/\n/gu,"")}'). `)}validateRuleSchema(t,r){if(!Ton.has(t))try{let i=this.getRuleOptionsSchema(t);i&&Ton.set(t,tOs.compile(i))}catch(i){let s=new Error(i.message,{cause:i});throw s.code="ESLINT_INVALID_RULE_OPTIONS_SCHEMA",s}let n=Ton.get(t);if(n){let i=yGl(t.meta?.defaultOptions,r);if(n(i),n.errors)throw new Error(n.errors.map(s=>` Value ${JSON.stringify(s.data)} ${s.message}. `).join(""))}}validateRuleOptions(t,r,n,i=null){try{this.validateRuleSeverity(n)!==0&&this.validateRuleSchema(t,Array.isArray(n)?n.slice(1):[])}catch(s){let a=s.code==="ESLINT_INVALID_RULE_OPTIONS_SCHEMA"?`Error while processing options validation schema of rule '${r}': ${s.message}`:`Configuration for rule "${r}" is invalid: ${s.message}`;typeof i=="string"&&(a=`${i}: ${a}`);let u=new Error(a,{cause:s});throw s.code&&(u.code=s.code),u}}validateEnvironment(t,r,n=rOs){t&&Object.keys(t).forEach(i=>{if(!(n(i)||KJt.get(i)||null)){let a=`${r}: Environment key "${i}" is unknown `;throw new Error(a)}})}validateRules(t,r,n=rOs){t&&Object.keys(t).forEach(i=>{let s=n(i)||this.builtInRules.get(i)||null;this.validateRuleOptions(s,i,t[i],r)})}validateGlobals(t,r=null){t&&Object.entries(t).forEach(([n,i])=>{try{mOs(i)}catch(s){throw new Error(`ESLint configuration of global '${n}' in ${r} is invalid: ${s.message}`)}})}validateProcessor(t,r,n){if(t&&!n(t))throw new Error(`ESLint configuration of processor in '${r}' is invalid: '${t}' was not found.`)}formatErrors(t){return t.map(r=>{if(r.keyword==="additionalProperties")return`Unexpected top-level property "${r.dataPath.length?`${r.dataPath.slice(1)}.${r.params.additionalProperty}`:r.params.additionalProperty}"`;if(r.keyword==="type"){let i=r.dataPath.slice(1),s=Array.isArray(r.schema)?r.schema.join("/"):r.schema,a=JSON.stringify(r.data);return`Property "${i}" is the wrong type (expected ${s} but got \`${a}\`)`}return`"${r.dataPath[0]==="."?r.dataPath.slice(1):r.dataPath}" ${r.message}. Value: ${JSON.stringify(r.data)}`}).map(r=>` - ${r}. `).join("")}validateConfigSchema(t,r=null){if(qJt=qJt||tOs.compile(_Gl),!qJt(t))throw new Error(`ESLint configuration in ${r} is invalid: ${this.formatErrors(qJt.errors)}`);Object.hasOwn(t,"ecmaFeatures")&&Pon(r,"ESLINT_LEGACY_ECMAFEATURES")}validate(t,r,n,i){this.validateConfigSchema(t,r),this.validateRules(t.rules,r,n),this.validateEnvironment(t.env,r,i),this.validateGlobals(t.globals,r);for(let s of t.overrides||[])this.validateRules(s.rules,r,n),this.validateEnvironment(s.env,r,i),this.validateGlobals(t.globals,r)}validateConfigArray(t){let r=Map.prototype.get.bind(t.pluginEnvironments),n=Map.prototype.get.bind(t.pluginProcessors),i=Map.prototype.get.bind(t.pluginRules);for(let s of t)nOs.has(s)||(nOs.add(s),this.validateEnvironment(s.env,s.name,r),this.validateGlobals(s.globals,s.name),this.validateProcessor(s.processor,s.name,n),this.validateRules(s.rules,s.name,i))}},vGl=/^@.*\//iu;function Non(e,t){let r=e;if(r.includes("\\")&&(r=r.replace(/\\/gu,"/")),r.charAt(0)==="@"){let n=new RegExp(`^(@[^/]+)(?:/(?:${t})?)?$`,"u"),i=new RegExp(`^${t}(-|$)`,"u");n.test(r)?r=r.replace(n,`$1/${t}`):i.test(r.split("/")[1])||(r=r.replace(/^@([^/]+)\/(.*)$/u,`@$1/${t}-$2`))}else r.startsWith(`${t}-`)||(r=`${t}-${r}`);return r}function AOs(e,t){if(e[0]==="@"){let r=new RegExp(`^(@[^/]+)/${t}$`,"u").exec(e);if(r)return r[1];if(r=new RegExp(`^(@[^/]+)/${t}-(.+)$`,"u").exec(e),r)return`${r[1]}/${r[2]}`}else if(e.startsWith(`${t}-`))return e.slice(t.length+1);return e}function CGl(e){let t=e.match(vGl);return t?t[0]:""}var bGl={__proto__:null,normalizePackageName:Non,getShorthandName:AOs,getNamespaceFromTerm:CGl},IGl=WYl.default.createRequire;function hOs(e,t){try{return IGl(t).resolve(e)}catch(r){throw typeof r=="object"&&r!==null&&r.code==="MODULE_NOT_FOUND"&&!r.requireStack&&r.message.includes(e)&&(r.message+=` Require stack: - ${t}`),r}}var yOs={__proto__:null,resolve:hOs},u5e=cOs.createRequire(require("url").pathToFileURL(__filename).toString()),b3=JJt.default("eslintrc:config-array-factory"),iOs=[".eslintrc.js",".eslintrc.cjs",".eslintrc.yaml",".eslintrc.yml",".eslintrc.json",".eslintrc","package.json"],Zfe=new WeakMap,sOs=new WeakMap;function won(e){return/^\.{1,2}[/\\]/u.test(e)||s2.default.isAbsolute(e)}function HJt(e){return gVe.default.readFileSync(e,"utf8").replace(/^\ufeff/u,"")}function SGl(e){b3(`Loading YAML config file: ${e}`);let t=u5e("js-yaml");try{return t.load(HJt(e))||{}}catch(r){throw b3(`Error reading YAML file: ${e}`),r.message=`Cannot read config file: ${e} Error: ${r.message}`,r}}function jon(e){b3(`Loading JSON config file: ${e}`);try{return JSON.parse(fOs.default(HJt(e)))}catch(t){throw b3(`Error reading JSON file: ${e}`),t.message=`Cannot read config file: ${e} Error: ${t.message}`,t.messageTemplate="failed-to-read-json",t.messageData={path:e,message:t.message},t}}function TGl(e){b3(`Loading legacy config file: ${e}`);let t=u5e("js-yaml");try{return t.load(fOs.default(HJt(e)))||{}}catch(r){throw b3(`Error reading YAML file: %s %o`,e,r),r.message=`Cannot read config file: ${e} Error: ${r.message}`,r}}function DGl(e){b3(`Loading JS config file: ${e}`);try{return zYl.default(e)}catch(t){throw b3(`Error reading JavaScript file: ${e}`),t.message=`Cannot read config file: ${e} Error: ${t.message}`,t}}function _Os(e){b3(`Loading package.json config file: ${e}`);try{let t=jon(e);if(!Object.hasOwn(t,"eslintConfig"))throw Object.assign(new Error("package.json file doesn't have 'eslintConfig' field."),{code:"ESLINT_CONFIG_FIELD_NOT_FOUND"});return t.eslintConfig}catch(t){throw b3(`Error reading package.json file: ${e}`),t.message=`Cannot read config file: ${e} Error: ${t.message}`,t}}function wGl(e){b3(`Loading .eslintignore file: ${e}`);try{return HJt(e).split(/\r?\n/gu).filter(t=>t.trim()!==""&&!t.startsWith("#"))}catch(t){throw b3(`Error reading .eslintignore file: ${e}`),t.message=`Cannot read .eslintignore file: ${e} Error: ${t.message}`,t}}function YJt(e,t,r){return Object.assign(new Error(`Failed to load config "${e}" to extend from.`),{messageTemplate:r,messageData:{configName:e,importerName:t}})}function Oon(e){switch(s2.default.extname(e)){case".js":case".cjs":return DGl(e);case".json":return s2.default.basename(e)==="package.json"?_Os(e):jon(e);case".yaml":case".yml":return SGl(e);default:return TGl(e)}}function Bon(e,t,r){if(b3.enabled){let n=null;try{let i=hOs(`${e}/package.json`,t),{version:s="unknown"}=u5e(i);n=`${e}@${s}`}catch(i){b3("package.json was not found:",i.message),n=e}b3("Loaded: %s (%s)",n,r)}}function AVe({cwd:e,resolvePluginsRelativeTo:t},r,n,i,s){let a=i?s2.default.resolve(e,i):"",u=s&&s2.default.resolve(e,s)||a&&s2.default.dirname(a)||e,l=n||a&&s2.default.relative(e,a)||"",f=t||a&&s2.default.dirname(a)||e;return{filePath:a,matchBasePath:u,name:l,pluginBasePath:f,type:r||"config"}}function aOs(e){let t=sOs.get(e);return t||(t={configs:e.configs||{},environments:e.environments||{},processors:e.processors||{},rules:e.rules||{}},sOs.set(e,t),t)}var yVe=class{constructor({additionalPluginPool:t=new Map,cwd:r=process.cwd(),resolvePluginsRelativeTo:n,builtInRules:i,resolver:s=yOs,eslintAllPath:a,getEslintAllConfig:u,eslintRecommendedPath:l,getEslintRecommendedConfig:f}={}){Zfe.set(this,{additionalPluginPool:t,cwd:r,resolvePluginsRelativeTo:n&&s2.default.resolve(r,n),builtInRules:i,resolver:s,eslintAllPath:a,getEslintAllConfig:u,eslintRecommendedPath:l,getEslintRecommendedConfig:f})}create(t,{basePath:r,filePath:n,name:i}={}){if(!t)return new ZX;let s=Zfe.get(this),a=AVe(s,"config",i,n,r),u=this._normalizeConfigData(t,a);return new ZX(...u)}loadFile(t,{basePath:r,name:n}={}){let i=Zfe.get(this),s=AVe(i,"config",n,t,r);return new ZX(...this._loadConfigData(s))}loadInDirectory(t,{basePath:r,name:n}={}){let i=Zfe.get(this);for(let s of iOs){let a=AVe(i,"config",n,s2.default.join(t,s),r);if(gVe.default.existsSync(a.filePath)&&gVe.default.statSync(a.filePath).isFile()){let u;try{u=Oon(a.filePath)}catch(l){if(!l||l.code!=="ESLINT_CONFIG_FIELD_NOT_FOUND")throw l}if(u)return b3(`Config file found: ${a.filePath}`),new ZX(...this._normalizeConfigData(u,a))}}return b3(`Config file not found on ${t}`),new ZX}static getPathToConfigFileInDirectory(t){for(let r of iOs){let n=s2.default.join(t,r);if(gVe.default.existsSync(n))if(r==="package.json")try{return _Os(n),n}catch{}else return n}return null}loadESLintIgnore(t){let r=Zfe.get(this),n=AVe(r,"ignore",void 0,t,r.cwd),i=wGl(n.filePath);return new ZX(...this._normalizeESLintIgnoreData(i,n))}loadDefaultESLintIgnore(){let t=Zfe.get(this),r=s2.default.resolve(t.cwd,".eslintignore"),n=s2.default.resolve(t.cwd,"package.json");if(gVe.default.existsSync(r))return this.loadESLintIgnore(r);if(gVe.default.existsSync(n)){let i=jon(n);if(Object.hasOwn(i,"eslintIgnore")){if(!Array.isArray(i.eslintIgnore))throw new Error("Package.json eslintIgnore property requires an array of paths");let s=AVe(t,"ignore","eslintIgnore in package.json",n,t.cwd);return new ZX(...this._normalizeESLintIgnoreData(i.eslintIgnore,s))}}return new ZX}_loadConfigData(t){return this._normalizeConfigData(Oon(t.filePath),t)}*_normalizeESLintIgnoreData(t,r){let n=this._normalizeObjectConfigData({ignorePatterns:t},r);for(let i of n)i.ignorePattern&&(i.ignorePattern.loose=!0),yield i}_normalizeConfigData(t,r){return new jpt().validateConfigSchema(t,r.name||r.filePath),this._normalizeObjectConfigData(t,r)}*_normalizeObjectConfigData(t,r){let{files:n,excludedFiles:i,...s}=t,a=Qpt.create(n,i,r.matchBasePath),u=this._normalizeObjectConfigDataBody(s,r);for(let l of u)l.criteria=Qpt.and(a,l.criteria),l.criteria&&(l.root=void 0),yield l}*_normalizeObjectConfigDataBody({env:t,extends:r,globals:n,ignorePatterns:i,noInlineConfig:s,parser:a,parserOptions:u,plugins:l,processor:f,reportUnusedDisableDirectives:p,root:g,rules:A,settings:h,overrides:_=[]},E){let b=Array.isArray(r)?r:[r],D=i&&new hTe(Array.isArray(i)?i:[i],E.matchBasePath);for(let R of b.filter(Boolean))yield*this._loadExtends(R,E);let k=a&&this._loadParser(a,E),M=l&&this._loadPlugins(l,E);M&&(yield*this._takeFileExtensionProcessors(M,E)),yield{type:E.type,name:E.name,filePath:E.filePath,criteria:null,env:t,globals:n,ignorePattern:D,noInlineConfig:s,parser:k,parserOptions:u,plugins:M,processor:f,reportUnusedDisableDirectives:p,root:g,rules:A,settings:h};for(let R=0;R<_.length;++R)yield*this._normalizeObjectConfigData(_[R],{...E,name:`${E.name}#overrides[${R}]`})}_loadExtends(t,r){b3("Loading {extends:%j} relative to %s",t,r.filePath);try{return t.startsWith("eslint:")?this._loadExtendedBuiltInConfig(t,r):t.startsWith("plugin:")?this._loadExtendedPluginConfig(t,r):this._loadExtendedShareableConfig(t,r)}catch(n){throw n.message+=` Referenced from: ${r.filePath||r.name}`,n}}_loadExtendedBuiltInConfig(t,r){let{eslintAllPath:n,getEslintAllConfig:i,eslintRecommendedPath:s,getEslintRecommendedConfig:a}=Zfe.get(this);if(t==="eslint:recommended"){let u=`${r.name} \xBB ${t}`;if(a){if(typeof a!="function")throw new Error(`getEslintRecommendedConfig must be a function instead of '${a}'`);return this._normalizeConfigData(a(),{...r,name:u,filePath:""})}return this._loadConfigData({...r,name:u,filePath:s})}if(t==="eslint:all"){let u=`${r.name} \xBB ${t}`;if(i){if(typeof i!="function")throw new Error(`getEslintAllConfig must be a function instead of '${i}'`);return this._normalizeConfigData(i(),{...r,name:u,filePath:""})}return this._loadConfigData({...r,name:u,filePath:n})}throw YJt(t,r.name,"extend-config-missing")}_loadExtendedPluginConfig(t,r){let n=t.lastIndexOf("/");if(n===-1)throw YJt(t,r.filePath,"plugin-invalid");let i=t.slice(7,n),s=t.slice(n+1);if(won(i))throw new Error("'extends' cannot use a file path for plugins.");let a=this._loadPlugin(i,r),u=a.definition&&a.definition.configs[s];if(u)return this._normalizeConfigData(u,{...r,filePath:a.filePath||r.filePath,name:`${r.name} \xBB plugin:${a.id}/${s}`});throw a.error||YJt(t,r.filePath,"extend-config-missing")}_loadExtendedShareableConfig(t,r){let{cwd:n,resolver:i}=Zfe.get(this),s=r.filePath||s2.default.join(n,"__placeholder__.js"),a;won(t)?a=t:t.startsWith(".")?a=`./${t}`:a=Non(t,"eslint-config");let u;try{u=i.resolve(a,s)}catch(l){throw l&&l.code==="MODULE_NOT_FOUND"?YJt(t,r.filePath,"extend-config-missing"):l}return Bon(a,s,u),this._loadConfigData({...r,filePath:u,name:`${r.name} \xBB ${a}`})}_loadPlugins(t,r){return t.reduce((n,i)=>{if(won(i))throw new Error("Plugins array cannot includes file paths.");let s=this._loadPlugin(i,r);return n[s.id]=s,n},{})}_loadParser(t,r){b3("Loading parser %j from %s",t,r.filePath);let{cwd:n,resolver:i}=Zfe.get(this),s=r.filePath||s2.default.join(n,"__placeholder__.js");try{let a=i.resolve(t,s);return Bon(t,s,a),new Ese({definition:u5e(a),filePath:a,id:t,importerName:r.name,importerPath:r.filePath})}catch(a){return t==="espree"?(b3("Fallback espree."),new Ese({definition:u5e("espree"),filePath:u5e.resolve("espree"),id:t,importerName:r.name,importerPath:r.filePath})):(b3("Failed to load parser '%s' declared in '%s'.",t,r.name),a.message=`Failed to load parser '${t}' declared in '${r.name}': ${a.message}`,new Ese({error:a,id:t,importerName:r.name,importerPath:r.filePath}))}}_loadPlugin(t,r){b3("Loading plugin %j from %s",t,r.filePath);let{additionalPluginPool:n,resolver:i}=Zfe.get(this),s=Non(t,"eslint-plugin"),a=AOs(s,"eslint-plugin"),u=s2.default.join(r.pluginBasePath,"__placeholder__.js");if(t.match(/\s+/u)){let g=Object.assign(new Error(`Whitespace found in plugin name '${t}'`),{messageTemplate:"whitespace-found",messageData:{pluginName:s}});return new Ese({error:g,id:a,importerName:r.name,importerPath:r.filePath})}let l=n.get(s)||n.get(a);if(l)return new Ese({definition:aOs(l),original:l,filePath:"",id:a,importerName:r.name,importerPath:r.filePath});let f,p;try{f=i.resolve(s,u)}catch(g){p=g,p&&p.code==="MODULE_NOT_FOUND"&&(p.messageTemplate="plugin-missing",p.messageData={pluginName:s,resolvePluginsRelativeTo:r.pluginBasePath,importerName:r.name})}if(f)try{Bon(s,u,f);let g=Date.now(),A=u5e(f);return b3(`Plugin ${f} loaded in: ${Date.now()-g}ms`),new Ese({definition:aOs(A),original:A,filePath:f,id:a,importerName:r.name,importerPath:r.filePath})}catch(g){p=g}return b3("Failed to load plugin '%s' declared in '%s'.",t,r.name),p.message=`Failed to load plugin '${t}' declared in '${r.name}': ${p.message}`,new Ese({error:p,id:a,importerName:r.name,importerPath:r.filePath})}*_takeFileExtensionProcessors(t,r){for(let n of Object.keys(t)){let i=t[n]&&t[n].definition&&t[n].definition.processors;if(i)for(let s of Object.keys(i))s.startsWith(".")&&(yield*this._normalizeObjectConfigData({files:[`*${s}`],processor:`${n}/${s}`},{...r,type:"implicit-processor",name:`${r.name}#processors["${n}/${s}"]`}))}}},gTe=JJt.default("eslintrc:cascading-config-array-factory"),ATe=new WeakMap;function oOs({configArrayFactory:e,baseConfigData:t,rulePaths:r,cwd:n,loadRules:i}){let s=e.create(t,{name:"BaseConfig"});return s.unshift(e.create({ignorePatterns:hTe.DefaultPatterns},{name:"DefaultIgnorePattern"})[0]),r&&r.length>0&&s.push({type:"config",name:"--rulesdir",filePath:"",plugins:{"":new Ese({definition:{rules:r.reduce((a,u)=>Object.assign(a,i(u,n)),{})},filePath:"",id:"",importerName:"--rulesdir",importerPath:""})}}),s}function uOs({cliConfigData:e,configArrayFactory:t,cwd:r,ignorePath:n,specificConfigPath:i}){let s=t.create(e,{name:"CLIOptions"});return s.unshift(...n?t.loadESLintIgnore(n):t.loadDefaultESLintIgnore()),i&&s.unshift(...t.loadFile(i,{name:"--config",basePath:r})),s}var Ron=class extends Error{constructor(t){super(`No ESLint configuration found in ${t}.`),this.messageTemplate="no-config-found",this.messageData={directoryPath:t}}},Fon=class{constructor({additionalPluginPool:t=new Map,baseConfig:r=null,cliConfig:n=null,cwd:i=process.cwd(),ignorePath:s,resolvePluginsRelativeTo:a,rulePaths:u=[],specificConfigPath:l=null,useEslintrc:f=!0,builtInRules:p=new Map,loadRules:g,resolver:A,eslintRecommendedPath:h,getEslintRecommendedConfig:_,eslintAllPath:E,getEslintAllConfig:b}={}){let D=new yVe({additionalPluginPool:t,cwd:i,resolvePluginsRelativeTo:a,builtInRules:p,resolver:A,eslintRecommendedPath:h,getEslintRecommendedConfig:_,eslintAllPath:E,getEslintAllConfig:b});ATe.set(this,{baseConfigArray:oOs({baseConfigData:r,configArrayFactory:D,cwd:i,rulePaths:u,loadRules:g}),baseConfigData:r,cliConfigArray:uOs({cliConfigData:n,configArrayFactory:D,cwd:i,ignorePath:s,specificConfigPath:l}),cliConfigData:n,configArrayFactory:D,configCache:new Map,cwd:i,finalizeCache:new WeakMap,ignorePath:s,rulePaths:u,specificConfigPath:l,useEslintrc:f,builtInRules:p,loadRules:g})}get cwd(){let{cwd:t}=ATe.get(this);return t}getConfigArrayForFile(t,{ignoreNotFoundError:r=!1}={}){let{baseConfigArray:n,cliConfigArray:i,cwd:s}=ATe.get(this);if(!t)return new ZX(...n,...i);let a=s2.default.dirname(s2.default.resolve(s,t));return gTe(`Load config files for ${a}.`),this._finalizeConfigArray(this._loadConfigInAncestors(a),a,r)}setOverrideConfig(t){let r=ATe.get(this);r.cliConfigData=t}clearCache(){let t=ATe.get(this);t.baseConfigArray=oOs(t),t.cliConfigArray=uOs(t),t.configCache.clear()}_loadConfigInAncestors(t,r=!1){let{baseConfigArray:n,configArrayFactory:i,configCache:s,cwd:a,useEslintrc:u}=ATe.get(this);if(!u)return n;let l=s.get(t);if(l)return gTe(`Cache hit: ${t}.`),l;gTe(`No cache found: ${t}.`);let f=YNs.default.homedir();if(t===f&&a!==f){if(gTe("Stop traversing because of considered root."),r){let A=yVe.getPathToConfigFileInDirectory(t);A&&Pon(A,"ESLINT_PERSONAL_CONFIG_SUPPRESS")}return this._cacheConfig(t,n)}try{l=i.loadInDirectory(t)}catch(A){if(A.code==="EACCES")return gTe("Stop traversing because of 'EACCES' error."),this._cacheConfig(t,n);throw A}if(l.length>0&&l.isRoot())return gTe("Stop traversing because of 'root:true'."),l.unshift(...n),this._cacheConfig(t,l);let p=s2.default.dirname(t),g=p&&p!==t?this._loadConfigInAncestors(p,r||l.length>0):n;return l.length>0?l.unshift(...g):l=g,this._cacheConfig(t,l)}_cacheConfig(t,r){let{configCache:n}=ATe.get(this);return Object.freeze(r),n.set(t,r),r}_finalizeConfigArray(t,r,n){let{cliConfigArray:i,configArrayFactory:s,finalizeCache:a,useEslintrc:u,builtInRules:l}=ATe.get(this),f=a.get(t);if(!f){if(f=t,u&&t.every(g=>!g.filePath)&&i.every(g=>!g.filePath)){let g=YNs.default.homedir();gTe("Loading the config file of the home directory:",g);let A=s.loadInDirectory(g,{name:"PersonalConfig"});if(A.length>0&&!r.startsWith(g)){let h=A.at(-1);Pon(h.filePath,"ESLINT_PERSONAL_CONFIG_LOAD")}f=f.concat(A)}i.length>0&&(f=f.concat(i)),new jpt({builtInRules:l}).validateConfigArray(f),Object.freeze(f),a.set(t,f),gTe("Configuration was determined: %o on %s",f,r)}if(!n&&u&&f.length<=1)throw new Ron(r);return f}},mVe=JJt.default("eslintrc:flat-compat"),lOs=Symbol("cafactory");function Lon(e,{resolveConfigRelativeTo:t,resolvePluginsRelativeTo:r,pluginEnvironments:n,pluginProcessors:i}){let s={},a=[],u={},l={},f=["settings","rules","processor"],p=["globals","parser","parserOptions"],g=["noInlineConfig","reportUnusedDisableDirectives"];for(let A of f)A in e&&typeof e[A]<"u"&&(s[A]=e[A]);for(let A of p)if(A in e&&typeof e[A]<"u"){if(s.languageOptions=u,A==="parser"){if(mVe(`Resolving parser '${u[A]}' relative to ${t}`),e[A].error)throw e[A].error;u[A]=e[A].definition;continue}e[A]&&typeof e[A]=="object"?u[A]={...e[A]}:u[A]=e[A]}for(let A of g)A in e&&typeof e[A]<"u"&&(s.linterOptions=l,l[A]=e[A]);if(u.parserOptions&&("ecmaVersion"in u.parserOptions&&(u.ecmaVersion=u.parserOptions.ecmaVersion,delete u.parserOptions.ecmaVersion),"sourceType"in u.parserOptions&&(u.sourceType=u.parserOptions.sourceType,delete u.parserOptions.sourceType),Object.keys(u.parserOptions).length===0&&delete u.parserOptions),e.criteria&&(s.files=[A=>e.criteria.test(A)]),e.plugins&&typeof e.plugins=="object"){mVe(`Translating plugins: ${e.plugins}`),s.plugins={};for(let A of Object.keys(e.plugins)){mVe(`Translating plugin: ${A}`),mVe(`Resolving plugin '${A} relative to ${r}`);let{original:h,error:_}=e.plugins[A];if(_)throw _;if(s.plugins[A]=h,h.processors)for(let E of Object.keys(h.processors))E.startsWith(".")&&(mVe(`Assigning processor: ${A}/${E}`),a.unshift({files:[`**/*${E}`],processor:i.get(`${A}/${E}`)}))}}if(e.env&&typeof e.env=="object")for(let A of Object.keys(e.env))e.env[A]&&(mVe(`Translating environment: ${A}`),KJt.has(A)?a.unshift(...Lon({criteria:e.criteria,...KJt.get(A)},{resolveConfigRelativeTo:t,resolvePluginsRelativeTo:r})):n.has(A)&&a.push(...Lon({criteria:e.criteria,...n.get(A)},{resolveConfigRelativeTo:t,resolvePluginsRelativeTo:r})));return Object.keys(s).length>0&&a.push(s),a}var Mon=class{constructor({baseDirectory:t=process.cwd(),resolvePluginsRelativeTo:r=t,recommendedConfig:n,allConfig:i}={}){this.baseDirectory=t,this.resolvePluginsRelativeTo=r,this[lOs]=new yVe({cwd:t,resolvePluginsRelativeTo:r,getEslintAllConfig(){if(!i)throw new TypeError("Missing parameter 'allConfig' in FlatCompat constructor.");return i},getEslintRecommendedConfig(){if(!n)throw new TypeError("Missing parameter 'recommendedConfig' in FlatCompat constructor.");return n}})}config(t){let r=this[lOs].create(t,{basePath:this.baseDirectory}),n=[],i=!1;return r.forEach(s=>{s.type==="config"&&(i=i||s.ignorePattern,n.push(...Lon(s,{resolveConfigRelativeTo:s2.default.join(this.baseDirectory,"__placeholder.js"),resolvePluginsRelativeTo:s2.default.join(this.resolvePluginsRelativeTo,"__placeholder.js"),pluginEnvironments:r.pluginEnvironments,pluginProcessors:r.pluginProcessors})))}),i&&n.unshift({ignores:[s=>{let a=r.extractConfig(s);return!!a.ignores&&a.ignores(s)}]}),n}env(t){return this.config({env:t})}extends(...t){return this.config({extends:t})}plugins(...t){return this.config({plugins:t})}},BGl={ConfigArray:ZX,createConfigArrayFactoryContext:AVe,CascadingConfigArrayFactory:Fon,ConfigArrayFactory:yVe,ConfigDependency:Ese,ExtractedConfig:$Jt,IgnorePattern:hTe,OverrideTester:Qpt,getUsedExtractedConfigs:lGl,environments:KJt,loadConfigFile:Oon,ConfigOps:gGl,ConfigValidator:jpt,ModuleResolver:yOs,naming:bGl};zJt.FlatCompat=Mon;zJt.Legacy=BGl});var xOs=j((ICA,EOs)=>{"use strict";EOs.exports=Object.freeze({rules:Object.freeze({"accessor-pairs":"error","array-callback-return":"error","arrow-body-style":"error","block-scoped-var":"error",camelcase:"error","capitalized-comments":"error","class-methods-use-this":"error",complexity:"error","consistent-return":"error","consistent-this":"error","constructor-super":"error",curly:"error","default-case":"error","default-case-last":"error","default-param-last":"error","dot-notation":"error",eqeqeq:"error","for-direction":"error","func-name-matching":"error","func-names":"error","func-style":"error","getter-return":"error","grouped-accessor-pairs":"error","guard-for-in":"error","id-denylist":"error","id-length":"error","id-match":"error","init-declarations":"error","logical-assignment-operators":"error","max-classes-per-file":"error","max-depth":"error","max-lines":"error","max-lines-per-function":"error","max-nested-callbacks":"error","max-params":"error","max-statements":"error","new-cap":"error","no-alert":"error","no-array-constructor":"error","no-async-promise-executor":"error","no-await-in-loop":"error","no-bitwise":"error","no-caller":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-console":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-constructor-return":"error","no-continue":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-div-regex":"error","no-dupe-args":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-duplicate-imports":"error","no-else-return":"error","no-empty":"error","no-empty-character-class":"error","no-empty-function":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-eq-null":"error","no-eval":"error","no-ex-assign":"error","no-extend-native":"error","no-extra-bind":"error","no-extra-boolean-cast":"error","no-extra-label":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-implicit-coercion":"error","no-implicit-globals":"error","no-implied-eval":"error","no-import-assign":"error","no-inline-comments":"error","no-inner-declarations":"error","no-invalid-regexp":"error","no-invalid-this":"error","no-irregular-whitespace":"error","no-iterator":"error","no-label-var":"error","no-labels":"error","no-lone-blocks":"error","no-lonely-if":"error","no-loop-func":"error","no-loss-of-precision":"error","no-magic-numbers":"error","no-misleading-character-class":"error","no-multi-assign":"error","no-multi-str":"error","no-negated-condition":"error","no-nested-ternary":"error","no-new":"error","no-new-func":"error","no-new-native-nonconstructor":"error","no-new-wrappers":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-object-constructor":"error","no-octal":"error","no-octal-escape":"error","no-param-reassign":"error","no-plusplus":"error","no-promise-executor-return":"error","no-proto":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-restricted-exports":"error","no-restricted-globals":"error","no-restricted-imports":"error","no-restricted-properties":"error","no-restricted-syntax":"error","no-return-assign":"error","no-script-url":"error","no-self-assign":"error","no-self-compare":"error","no-sequences":"error","no-setter-return":"error","no-shadow":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-template-curly-in-string":"error","no-ternary":"error","no-this-before-super":"error","no-throw-literal":"error","no-unassigned-vars":"error","no-undef":"error","no-undef-init":"error","no-undefined":"error","no-underscore-dangle":"error","no-unexpected-multiline":"error","no-unmodified-loop-condition":"error","no-unneeded-ternary":"error","no-unreachable":"error","no-unreachable-loop":"error","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-expressions":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":"error","no-use-before-define":"error","no-useless-assignment":"error","no-useless-backreference":"error","no-useless-call":"error","no-useless-catch":"error","no-useless-computed-key":"error","no-useless-concat":"error","no-useless-constructor":"error","no-useless-escape":"error","no-useless-rename":"error","no-useless-return":"error","no-var":"error","no-void":"error","no-warning-comments":"error","no-with":"error","object-shorthand":"error","one-var":"error","operator-assignment":"error","prefer-arrow-callback":"error","prefer-const":"error","prefer-destructuring":"error","prefer-exponentiation-operator":"error","prefer-named-capture-group":"error","prefer-numeric-literals":"error","prefer-object-has-own":"error","prefer-object-spread":"error","prefer-promise-reject-errors":"error","prefer-regex-literals":"error","prefer-rest-params":"error","prefer-spread":"error","prefer-template":"error","preserve-caught-error":"error",radix:"error","require-atomic-updates":"error","require-await":"error","require-unicode-regexp":"error","require-yield":"error","sort-imports":"error","sort-keys":"error","sort-vars":"error",strict:"error","symbol-description":"error","unicode-bom":"error","use-isnan":"error","valid-typeof":"error","vars-on-top":"error",yoda:"error"})})});var COs=j((SCA,vOs)=>{"use strict";vOs.exports=Object.freeze({rules:Object.freeze({"constructor-super":"error","for-direction":"error","getter-return":"error","no-async-promise-executor":"error","no-case-declarations":"error","no-class-assign":"error","no-compare-neg-zero":"error","no-cond-assign":"error","no-const-assign":"error","no-constant-binary-expression":"error","no-constant-condition":"error","no-control-regex":"error","no-debugger":"error","no-delete-var":"error","no-dupe-args":"error","no-dupe-class-members":"error","no-dupe-else-if":"error","no-dupe-keys":"error","no-duplicate-case":"error","no-empty":"error","no-empty-character-class":"error","no-empty-pattern":"error","no-empty-static-block":"error","no-ex-assign":"error","no-extra-boolean-cast":"error","no-fallthrough":"error","no-func-assign":"error","no-global-assign":"error","no-import-assign":"error","no-invalid-regexp":"error","no-irregular-whitespace":"error","no-loss-of-precision":"error","no-misleading-character-class":"error","no-new-native-nonconstructor":"error","no-nonoctal-decimal-escape":"error","no-obj-calls":"error","no-octal":"error","no-prototype-builtins":"error","no-redeclare":"error","no-regex-spaces":"error","no-self-assign":"error","no-setter-return":"error","no-shadow-restricted-names":"error","no-sparse-arrays":"error","no-this-before-super":"error","no-undef":"error","no-unexpected-multiline":"error","no-unreachable":"error","no-unsafe-finally":"error","no-unsafe-negation":"error","no-unsafe-optional-chaining":"error","no-unused-labels":"error","no-unused-private-class-members":"error","no-unused-vars":"error","no-useless-backreference":"error","no-useless-catch":"error","no-useless-escape":"error","no-with":"error","require-yield":"error","use-isnan":"error","valid-typeof":"error"})})});var Upt=j((TCA,bOs)=>{"use strict";var{name:kGl,version:PGl}=require("./package-Q7ZCN6C3.json");bOs.exports={meta:{name:kGl,version:PGl},configs:{all:xOs(),recommended:COs()}}});var Gon=j((DCA,kOs)=>{"use strict";var wOs=require("node:fs"),_Ve=require("node:path"),NGl=Fin(),BOs=iYe(),OGl=hGe(),{Minimatch:RGl}=Rin(),{Legacy:{IgnorePattern:FGl,CascadingConfigArrayFactory:LGl}}=WJt(),epe=B1()("eslint:file-enumerator"),MGl={dot:!0,matchBase:!0},QGl=/(?:^\.|[/\\]\.)[^/\\.].*/u,IOs=0,SOs=1,TOs=2,yTe=new WeakMap;function jGl(e){return BOs(_Ve.sep==="\\"?e.replace(/\\/gu,"/"):e)}function DOs(e){try{return wOs.statSync(e)}catch(t){if(t.code!=="ENOENT")throw t;return null}}function UGl(e){try{return wOs.readdirSync(e,{withFileTypes:!0})}catch(t){if(t.code!=="ENOENT")throw t;return[]}}function qGl(e){if(e){let t=e.map(r=>OGl(r.startsWith(".")?r.slice(1):r));return new RegExp(`.\\.(?:${t.join("|")})$`,"u")}return null}var Uon=class extends Error{constructor(t,r){super(`No files matching '${t}' were found${r?" (glob was disabled)":""}.`),this.messageTemplate="file-not-found",this.messageData={pattern:t,globDisabled:r}}},qon=class extends Error{constructor(t){super(`All files matched by '${t}' are ignored.`),this.messageTemplate="all-files-ignored",this.messageData={pattern:t}}},Yon=class{constructor({cwd:t=process.cwd(),configArrayFactory:r=new LGl({cwd:t,getEslintRecommendedConfig:()=>Upt().configs.recommended,getEslintAllConfig:()=>Upt().configs.all}),extensions:n=null,globInputPaths:i=!0,errorOnUnmatchedPattern:s=!0,ignore:a=!0}={}){yTe.set(this,{configArrayFactory:r,cwd:t,defaultIgnores:FGl.createDefaultIgnore(t),extensionRegExp:qGl(n),globInputPaths:i,errorOnUnmatchedPattern:s,ignoreFlag:a})}isTargetPath(t,r){let{configArrayFactory:n,extensionRegExp:i}=yTe.get(this);return i?i.test(t):t.endsWith(".js")?!0:(r||n.getConfigArrayForFile(t,{ignoreNotFoundError:!0})).isAdditionalTargetPath(t)}*iterateFiles(t){let{globInputPaths:r,errorOnUnmatchedPattern:n}=yTe.get(this),i=Array.isArray(t)?t:[t];epe("Start to iterate files: %o",i);let s=new Set;for(let a of i){let u=!1,l=!1;if(a){for(let{config:f,filePath:p,flag:g}of this._iterateFiles(a))u=!0,g!==SOs&&(l=!0,s.has(p)||(s.add(p),yield{config:f,filePath:p,ignored:g===TOs}));if(n){if(!u)throw new Uon(a,!r&&BOs(a));if(!l)throw new qon(a)}}}epe(`Complete iterating files: ${JSON.stringify(i)}`)}_iterateFiles(t){let{cwd:r,globInputPaths:n}=yTe.get(this),i=_Ve.resolve(r,t),s=QGl.test(t),a=DOs(i);return a&&a.isDirectory()?this._iterateFilesWithDirectory(i,s):a&&a.isFile()?this._iterateFilesWithFile(i):n&&jGl(t)?this._iterateFilesWithGlob(t,s):[]}_iterateFilesWithFile(t){epe(`File: ${t}`);let{configArrayFactory:r}=yTe.get(this),n=r.getConfigArrayForFile(t),s=this._isIgnoredFile(t,{config:n,direct:!0})?TOs:IOs;return[{config:n,filePath:t,flag:s}]}_iterateFilesWithDirectory(t,r){return epe(`Directory: ${t}`),this._iterateFilesRecursive(t,{dotfiles:r,recursive:!0,selector:null})}_iterateFilesWithGlob(t,r){epe(`Glob: ${t}`);let{cwd:n}=yTe.get(this),i=_Ve.resolve(n,NGl(t)),s=_Ve.resolve(n,t),a=s.slice(i.length+1),u=/\*\*|\/|\\/u.test(a),l=new RGl(s,MGl);return epe(`recursive? ${u}`),this._iterateFilesRecursive(i,{dotfiles:r,recursive:u,selector:l})}*_iterateFilesRecursive(t,r){epe(`Enter the directory: ${t}`);let{configArrayFactory:n}=yTe.get(this),i=null;for(let s of UGl(t)){let a=_Ve.join(t,s.name),u=s.isSymbolicLink()?DOs(a):s;if(u)if(u.isFile())if(i||(i=n.getConfigArrayForFile(a,{ignoreNotFoundError:!0})),r.selector?r.selector.match(a):this.isTargetPath(a,i)){let f=this._isIgnoredFile(a,{...r,config:i}),p=f?SOs:IOs;epe(`Yield: ${s.name}${f?" but ignored":""}`),yield{config:n.getConfigArrayForFile(a),filePath:a,flag:p}}else epe(`Didn't match: ${s.name}`);else r.recursive&&u.isDirectory()&&(i||(i=n.getConfigArrayForFile(a,{ignoreNotFoundError:!0})),this._isIgnoredFile(a+_Ve.sep,{...r,config:i})||(yield*this._iterateFilesRecursive(a,r)))}epe(`Leave the directory: ${t}`)}_isIgnoredFile(t,{config:r,dotfiles:n=!1,direct:i=!1}){let{configArrayFactory:s,defaultIgnores:a,ignoreFlag:u}=yTe.get(this);return u?((r||s.getConfigArrayForFile(t,{ignoreNotFoundError:!0})).extractConfig(t).ignores||a)(t,n):!i&&a(t,n)}};kOs.exports={FileEnumerator:Yon}});var NOs=j((wCA,POs)=>{"use strict";var YGl=require("node:fs"),Von=require("node:path"),$on={};POs.exports=function(e,t){let r=Von.resolve(t,e);if($on[r])return $on[r];let n=Object.create(null);return YGl.readdirSync(r).forEach(i=>{Von.extname(i)===".js"&&(n[i.slice(0,-3)]=require(Von.join(r,i)))}),$on[r]=n,n}});var GOs=j((BCA,YOs)=>{"use strict";var xVe=require("node:fs"),tL=require("node:path"),GGl=gNs(),VGl=require("./package-MTQD2YUX.json"),{Legacy:{ConfigOps:$Gl,naming:OOs,CascadingConfigArrayFactory:KGl,IgnorePattern:JGl,getUsedExtractedConfigs:HGl,ModuleResolver:zGl}}=WJt(),{FileEnumerator:WGl}=Gon(),{Linter:XGl}=wpt(),Kon=GGe(),ZGl=NOs(),eVl=IKt(),tVl=Nan(),EVe=B1()("eslint:cli-engine"),rVl=new Set(["checkstyle","codeframe","compact","jslint-xml","junit","table","tap","unix","visualstudio"]),nVl=new Set(["directive","problem","suggestion","layout"]),Iye=new WeakMap;function iVl(e){for(let t of e)if(!nVl.has(t))throw new Error(`Invalid fix type "${t}" found.`)}function sVl(e){let t={errorCount:0,fatalErrorCount:0,warningCount:0,fixableErrorCount:0,fixableWarningCount:0};for(let r=0;r";EVe(`Lint ${f}`);let p=f===""?tL.join(t,f):f,{fixed:g,messages:A,output:h}=l.verifyAndFix(e,n,{allowInlineConfig:s,filename:p,fix:i,reportUnusedDisableDirectives:a,filterCodeBlock(E){return u.isTargetPath(E)}}),_={filePath:f,messages:A,suppressedMessages:l.getSuppressedMessages(),...sVl(A)};return g&&(_.output=h),_.errorCount+_.warningCount>0&&typeof _.output>"u"&&(_.source=e),_}function LOs(e,t){let r,n=e.split(tL.sep).find(s=>/^\./u.test(s)),i=t&&tL.relative(t,e).startsWith("node_modules");return n?r=`File ignored by default. Use a negated ignore pattern (like "--ignore-pattern '!'") to override.`:i?r=`File ignored by default. Use "--ignore-pattern '!node_modules/*'" to override.`:r='File ignored because of a matching ignore pattern. Use "--no-ignore" to override.',{filePath:tL.resolve(e),messages:[{ruleId:null,fatal:!1,severity:1,message:r,nodeType:null}],suppressedMessages:[],errorCount:0,fatalErrorCount:0,warningCount:1,fixableErrorCount:0,fixableWarningCount:0}}function qOs(e,t){for(let r of t){let n=r.pluginRules.get(e);if(n)return n}return Kon.get(e)||null}function aVl(e,t,r){if(!e.ruleId)return r.has("directive");let n=e.ruleId&&qOs(e.ruleId,t);return!!(n&&n.meta&&r.has(n.meta.type))}function*MOs(e){let t=new Set,r=e.flatMap(HGl);for(let n of r)for(let[i,s]of Object.entries(n.rules)){if(t.has(i)||(t.add(i),!$Gl.getRuleSeverity(s)))continue;let a=qOs(i,e);a&&a.meta&&a.meta.deprecated&&(yield{ruleId:i,replacedBy:a.meta.replacedBy||[]})}}function QOs(e){return e.severity===2}function oVl(e,t){let r=tL.normalize(e),n=tL.resolve(t,r),i=r.slice(-1)===tL.sep;function s(){return tL.join(n,`.cache_${eVl(t)}`)}let a;try{a=xVe.lstatSync(n)}catch{a=null}return a?a.isDirectory()||i?s():n:i?s():n}function jOs(e,t,r){if(e&&!Array.isArray(e))throw new Error(`${r} must be an array.`);if(e&&e.length>0)return e.reduce((n,i)=>{let[s,a]=i.split(":");return s!=="__proto__"&&(n[s]=a===void 0?t:a==="true"),n},{})}function uVl(e){let{ignorePattern:t,parser:r,parserOptions:n,plugins:i,rules:s}=e,a=jOs(e.envs,!0,"envs"),u=jOs(e.globals,!1,"globals");return a===void 0&&u===void 0&&(t===void 0||t.length===0)&&r===void 0&&n===void 0&&i===void 0&&s===void 0?null:{env:a,globals:u,ignorePatterns:t,parser:r,parserOptions:n,plugins:i,rules:s}}function UOs(e){try{return xVe.statSync(e).isDirectory()}catch(t){if(t&&(t.code==="ENOENT"||t.code==="ENOTDIR"))return!1;throw t}}var vVe=class{constructor(t,{preloadedPlugins:r}={}){let n=Object.assign(Object.create(null),GGl,{cwd:process.cwd()},t);n.fix===void 0&&(n.fix=!1);let i=new Map;if(r)for(let[g,A]of Object.entries(r))i.set(g,A);let s=oVl(n.cacheLocation||n.cacheFile,n.cwd),a=new KGl({additionalPluginPool:i,baseConfig:n.baseConfig||null,cliConfig:uVl(n),cwd:n.cwd,ignorePath:n.ignorePath,resolvePluginsRelativeTo:n.resolvePluginsRelativeTo,rulePaths:n.rulePaths,specificConfigPath:n.configFile,useEslintrc:n.useEslintrc,builtInRules:Kon,loadRules:ZGl,getEslintRecommendedConfig:()=>Upt().configs.recommended,getEslintAllConfig:()=>Upt().configs.all}),u=new WGl({configArrayFactory:a,cwd:n.cwd,extensions:n.extensions,globInputPaths:n.globInputPaths,errorOnUnmatchedPattern:n.errorOnUnmatchedPattern,ignore:n.ignore}),l=n.cache?new tVl(s,n.cacheStrategy):null,f=new XGl({cwd:n.cwd,configType:"eslintrc"}),p=[a.getConfigArrayForFile()];if(Iye.set(this,{additionalPluginPool:i,cacheFilePath:s,configArrayFactory:a,defaultIgnores:JGl.createDefaultIgnore(n.cwd),fileEnumerator:u,lastConfigArrays:p,lintResultCache:l,linter:f,options:n}),n.fix&&n.fixTypes&&n.fixTypes.length>0){EVe(`Using fix types ${n.fixTypes}`),iVl(n.fixTypes);let g=new Set(n.fixTypes),A=typeof n.fix=="function"?n.fix:()=>!0;n.fix=h=>aVl(h,p,g)&&A(h)}}getRules(){let{lastConfigArrays:t}=Iye.get(this);return new Map((function*(){yield*Kon;for(let r of t)yield*r.pluginRules})())}static getErrorResults(t){let r=[];return t.forEach(n=>{let i=n.messages.filter(QOs),s=n.suppressedMessages.filter(QOs);i.length>0&&r.push({...n,messages:i,suppressedMessages:s,errorCount:i.length,warningCount:0,fixableErrorCount:n.fixableErrorCount,fixableWarningCount:0})}),r}static outputFixes(t){t.results.filter(r=>Object.hasOwn(r,"output")).forEach(r=>{xVe.writeFileSync(r.filePath,r.output)})}resolveFileGlobPatterns(t){let{options:r}=Iye.get(this);if(r.globInputPaths===!1)return t.filter(Boolean);let i=`/**/*.{${(r.extensions||[".js"]).map(s=>s.replace(/^\./u,"")).join(",")}}`;return t.filter(Boolean).map(s=>{let a=tL.resolve(r.cwd,s),u=UOs(a)?s.replace(/[/\\]$/u,"")+i:s;return tL.normalize(u).replace(/\\/gu,"/")})}executeOnFiles(t){let{cacheFilePath:r,fileEnumerator:n,lastConfigArrays:i,lintResultCache:s,linter:a,options:{allowInlineConfig:u,cache:l,cwd:f,fix:p,reportUnusedDisableDirectives:g}}=Iye.get(this),A=[],h=Date.now();if(i.length=0,!l)try{xVe.unlinkSync(r)}catch(E){let b=E&&E.code;if(b!=="ENOENT"&&!(b==="EROFS"&&!xVe.existsSync(r)))throw E}for(let{config:E,filePath:b,ignored:D}of n.iterateFiles(t)){if(D){A.push(LOs(b,f));continue}if(i.includes(E)||i.push(E),s){let M=s.getCachedLintResults(b,E);if(M)if(M.messages&&M.messages.length>0&&p)EVe(`Reprocessing cached file to allow autofix: ${b}`);else{EVe(`Skipping file since it hasn't changed: ${b}`),A.push(M);continue}}let k=FOs({text:xVe.readFileSync(b,"utf8"),filePath:b,config:E,cwd:f,fix:p,allowInlineConfig:u,reportUnusedDisableDirectives:g,fileEnumerator:n,linter:a});A.push(k),s&&s.setCachedLintResults(b,E,k)}s&&s.reconcile(),EVe(`Linting complete in: ${Date.now()-h}ms`);let _;return{results:A,...ROs(A),get usedDeprecatedRules(){return _||(_=Array.from(MOs(i))),_}}}executeOnText(t,r,n){let{configArrayFactory:i,fileEnumerator:s,lastConfigArrays:a,linter:u,options:{allowInlineConfig:l,cwd:f,fix:p,reportUnusedDisableDirectives:g}}=Iye.get(this),A=[],h=Date.now(),_=r&&tL.resolve(f,r);if(a.length=0,_&&this.isPathIgnored(_))n&&A.push(LOs(_,f));else{let b=i.getConfigArrayForFile(_||"__placeholder__.js");a.push(b),A.push(FOs({text:t,filePath:_,config:b,cwd:f,fix:p,allowInlineConfig:l,reportUnusedDisableDirectives:g,fileEnumerator:s,linter:u}))}EVe(`Linting complete in: ${Date.now()-h}ms`);let E;return{results:A,...ROs(A),get usedDeprecatedRules(){return E||(E=Array.from(MOs(a))),E}}}getConfigForFile(t){let{configArrayFactory:r,options:n}=Iye.get(this),i=tL.resolve(n.cwd,t);if(UOs(i))throw Object.assign(new Error("'filePath' should not be a directory path."),{messageTemplate:"print-config-with-directory-path"});return r.getConfigArrayForFile(i).extractConfig(i).toCompatibleObjectAsConfigFileContent()}isPathIgnored(t){let{configArrayFactory:r,defaultIgnores:n,options:{cwd:i,ignore:s}}=Iye.get(this),a=tL.resolve(i,t);return s?(r.getConfigArrayForFile(a).extractConfig(a).ignores||n)(a):n(a)}getFormatter(t){let r=t||"stylish";if(typeof r=="string"){let n=r.replace(/\\/gu,"/"),i=Iye.get(this),s=i?i.options.cwd:process.cwd(),a=OOs.getNamespaceFromTerm(n),u;if(!a&&n.includes("/"))u=tL.resolve(s,n);else try{let l=OOs.normalizePackageName(n,"eslint-formatter");u=zGl.resolve(l,tL.join(s,"__placeholder__.js"))}catch{u=tL.resolve(__dirname,"formatters",n)}try{return require(u)}catch(l){throw rVl.has(t)?l.message=`The ${t} formatter is no longer part of core ESLint. Install it manually with \`npm install -D eslint-formatter-${t}\``:l.message=`There was a problem loading formatter: ${u} Error: ${l.message}`,l}}else return null}};vVe.version=VGl.version;vVe.getFormatter=vVe.prototype.getFormatter;YOs.exports={CLIEngine:vVe,getCLIEngineInternalSlots(e){return Iye.get(e)}}});var Won=j((kCA,zOs)=>{"use strict";var qpt=require("node:path"),lVl=require("node:fs"),{promisify:cVl}=require("node:util"),{CLIEngine:VOs,getCLIEngineInternalSlots:HOs}=GOs(),fVl=GGe(),{Legacy:{ConfigOps:{getRuleSeverity:pVl}}}=WJt(),{version:dVl}=require("./package-MTQD2YUX.json"),mVl=cVl(lVl.writeFile),_Te=new WeakMap;function xse(e){return typeof e=="string"&&e.trim()!==""}function gVl(e){return Array.isArray(e)&&e.length&&e.every(xse)}function $Os(e){return Array.isArray(e)&&e.every(xse)}function AVl(e){return e==="directive"||e==="problem"||e==="suggestion"||e==="layout"}function hVl(e){return Array.isArray(e)&&e.every(AVl)}var Hon=class e extends Error{constructor(t){super(`Invalid Options: - ${t.join(` - `)}`),this.code="ESLINT_INVALID_OPTIONS",Error.captureStackTrace(this,e)}};function yVl({allowInlineConfig:e=!0,baseConfig:t=null,cache:r=!1,cacheLocation:n=".eslintcache",cacheStrategy:i="metadata",cwd:s=process.cwd(),errorOnUnmatchedPattern:a=!0,extensions:u=null,fix:l=!1,fixTypes:f=null,flags:p,globInputPaths:g=!0,ignore:A=!0,ignorePath:h=null,overrideConfig:_=null,overrideConfigFile:E=null,plugins:b={},reportUnusedDisableDirectives:D=null,resolvePluginsRelativeTo:k=null,rulePaths:M=[],useEslintrc:R=!0,passOnNoPatterns:q=!1,...G}){let K=[],Z=Object.keys(G);if(Z.length>=1&&(K.push(`Unknown options: ${Z.join(", ")}`),Z.includes("cacheFile")&&K.push("'cacheFile' has been removed. Please use the 'cacheLocation' option instead."),Z.includes("configFile")&&K.push("'configFile' has been removed. Please use the 'overrideConfigFile' option instead."),Z.includes("envs")&&K.push("'envs' has been removed. Please use the 'overrideConfig.env' option instead."),Z.includes("globals")&&K.push("'globals' has been removed. Please use the 'overrideConfig.globals' option instead."),Z.includes("ignorePattern")&&K.push("'ignorePattern' has been removed. Please use the 'overrideConfig.ignorePatterns' option instead."),Z.includes("parser")&&K.push("'parser' has been removed. Please use the 'overrideConfig.parser' option instead."),Z.includes("parserOptions")&&K.push("'parserOptions' has been removed. Please use the 'overrideConfig.parserOptions' option instead."),Z.includes("rules")&&K.push("'rules' has been removed. Please use the 'overrideConfig.rules' option instead.")),typeof e!="boolean"&&K.push("'allowInlineConfig' must be a boolean."),typeof t!="object"&&K.push("'baseConfig' must be an object or null."),typeof r!="boolean"&&K.push("'cache' must be a boolean."),xse(n)||K.push("'cacheLocation' must be a non-empty string."),i!=="metadata"&&i!=="content"&&K.push(`'cacheStrategy' must be any of "metadata", "content".`),(!xse(s)||!qpt.isAbsolute(s))&&K.push("'cwd' must be an absolute path."),typeof a!="boolean"&&K.push("'errorOnUnmatchedPattern' must be a boolean."),!$Os(u)&&u!==null&&K.push("'extensions' must be an array of non-empty strings or null."),typeof l!="boolean"&&typeof l!="function"&&K.push("'fix' must be a boolean or a function."),f!==null&&!hVl(f)&&K.push(`'fixTypes' must be an array of any of "directive", "problem", "suggestion", and "layout".`),typeof g!="boolean"&&K.push("'globInputPaths' must be a boolean."),typeof A!="boolean"&&K.push("'ignore' must be a boolean."),!xse(h)&&h!==null&&K.push("'ignorePath' must be a non-empty string or null."),typeof _!="object"&&K.push("'overrideConfig' must be an object or null."),!xse(E)&&E!==null&&K.push("'overrideConfigFile' must be a non-empty string or null."),typeof b!="object"?K.push("'plugins' must be an object or null."):b!==null&&Object.keys(b).includes("")&&K.push("'plugins' must not include an empty string."),Array.isArray(b)&&K.push("'plugins' doesn't add plugins to configuration to load. Please use the 'overrideConfig.plugins' option instead."),D!=="error"&&D!=="warn"&&D!=="off"&&D!==null&&K.push(`'reportUnusedDisableDirectives' must be any of "error", "warn", "off", and null.`),!xse(k)&&k!==null&&K.push("'resolvePluginsRelativeTo' must be a non-empty string or null."),$Os(M)||K.push("'rulePaths' must be an array of non-empty strings."),typeof R!="boolean"&&K.push("'useEslintrc' must be a boolean."),typeof q!="boolean"&&K.push("'passOnNoPatterns' must be a boolean."),K.length>0)throw new Hon(K);return{allowInlineConfig:e,baseConfig:t,cache:r,cacheLocation:n,cacheStrategy:i,configFile:E,cwd:qpt.normalize(s),errorOnUnmatchedPattern:a,extensions:u,fix:l,fixTypes:f,flags:[],globInputPaths:g,ignore:A,ignorePath:h,reportUnusedDisableDirectives:D,resolvePluginsRelativeTo:k,rulePaths:M,useEslintrc:R,passOnNoPatterns:q}}function _Vl(e){if(typeof e=="object"&&e!==null){for(let t in e)if(typeof e[t]<"u")return!0}return!1}function KOs(e){return Array.from(e).reduce((t,[r,n])=>(t[r]=n.meta,t),{})}var Jon=new WeakMap;function EVl(e,t){let{configArrayFactory:r,options:{cwd:n}}=HOs(e),i=qpt.isAbsolute(t)?t:qpt.join(n,"__placeholder__.js"),s=r.getConfigArrayForFile(i),a=s.extractConfig(i);if(!Jon.has(a)){let u=s.pluginRules,l=[];for(let[f,p]of Object.entries(a.rules)){if(pVl(p)===0)continue;let g=u.get(f)||fVl.get(f),A=g&&g.meta;A&&A.deprecated&&l.push({ruleId:f,replacedBy:A.replacedBy||[]})}Jon.set(a,Object.freeze(l))}return Jon.get(a)}function JOs(e,{results:t}){let r={configurable:!0,enumerable:!0,get(){return EVl(e,this.filePath)}};for(let n of t)Object.defineProperty(n,"usedDeprecatedRules",r);return t}function xVl(e,t){return e.filePatht.filePath?1:0}var zon=class{static configType="eslintrc";constructor(t={}){let r=yVl(t),n=new VOs(r,{preloadedPlugins:t.plugins}),{configArrayFactory:i,lastConfigArrays:s}=HOs(n),a=!1;_Vl(t.overrideConfig)&&(i.setOverrideConfig(t.overrideConfig),a=!0),a&&(i.clearCache(),s[0]=i.getConfigArrayForFile()),_Te.set(this,{cliEngine:n,options:r})}static get version(){return dVl}static async outputFixes(t){if(!Array.isArray(t))throw new Error("'results' must be an array");await Promise.all(t.filter(r=>{if(typeof r!="object"||r===null)throw new Error("'results' must include only objects");return typeof r.output=="string"&&qpt.isAbsolute(r.filePath)}).map(r=>mVl(r.filePath,r.output)))}static getErrorResults(t){return VOs.getErrorResults(t)}getRulesMetaForResults(t){let r=new Set;for(let a of t){for(let{ruleId:u}of a.messages)r.add(u);for(let{ruleId:u}of a.suppressedMessages)r.add(u)}let{cliEngine:n}=_Te.get(this),i=n.getRules(),s=new Map;for(let[a,u]of i)r.has(a)&&s.set(a,u);return KOs(s)}hasFlag(t){return!1}async lintFiles(t){let{cliEngine:r,options:n}=_Te.get(this);if(n.passOnNoPatterns&&(t===""||Array.isArray(t)&&t.length===0))return[];if(!xse(t)&&!gVl(t))throw new Error("'patterns' must be a non-empty string or an array of non-empty strings");return JOs(r,r.executeOnFiles(t))}async lintText(t,r={}){if(typeof t!="string")throw new Error("'code' must be a string");if(typeof r!="object")throw new Error("'options' must be an object, null, or undefined");let{filePath:n,warnIgnored:i=!1,...s}=r||{},a=Object.keys(s);if(a.length>0)throw new Error(`'options' must not include the unknown option(s): ${a.join(", ")}`);if(n!==void 0&&!xse(n))throw new Error("'options.filePath' must be a non-empty string or undefined");if(typeof i!="boolean")throw new Error("'options.warnIgnored' must be a boolean or undefined");let{cliEngine:u}=_Te.get(this);return JOs(u,u.executeOnText(t,n,i))}async loadFormatter(t="stylish"){if(typeof t!="string")throw new Error("'name' must be a string");let{cliEngine:r,options:n}=_Te.get(this),i=r.getFormatter(t);if(typeof i!="function")throw new Error(`Formatter must be a function, but got a ${typeof i}.`);return{format(s,a){let u=null;return s.sort(xVl),i(s,{...a,get cwd(){return n.cwd},get rulesMeta(){return u||(u=KOs(r.getRules())),u}})}}}async calculateConfigForFile(t){if(!xse(t))throw new Error("'filePath' must be a non-empty string");let{cliEngine:r}=_Te.get(this);return r.getConfigForFile(t)}async isPathIgnored(t){if(!xse(t))throw new Error("'filePath' must be a non-empty string");let{cliEngine:r}=_Te.get(this);return r.isPathIgnored(t)}};zOs.exports={LegacyESLint:zon,getESLintPrivateMembers(e){return _Te.get(e)}}});var eRs=j((PCA,ZOs)=>{"use strict";function WOs(e){return e===null||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||typeof e=="object"&&e.constructor===Object||Array.isArray(e)}function XOs(e,t=new Set){if(!WOs(e))return!1;if(typeof e=="object"&&e!==null){if(t.has(e))return!1;for(let r in e)if(Object.hasOwn(e,r)&&(!WOs(e[r])||typeof e[r]=="object"&&e[r]!==null&&!XOs(e[r],new Set([...t,e]))))return!1}return!0}ZOs.exports={isSerializable:XOs}});var mRs=j((NCA,dRs)=>{"use strict";var FA=require("node:assert"),Sye=require("node:util"),vVl=require("node:path"),CVl=Uqe(),bVl=zft(),{Config:IVl}=lVe(),{Linter:SVl,SourceCodeFixer:tRs}=wpt(),{interpolate:rRs,getPlaceholderMatcher:TVl}=_an(),DVl=wan(),{FlatConfigArray:wVl}=hJt(),{defaultConfig:XJt,defaultRuleTesterConfig:BVl}=bKt(),ZJt=Gsn()({strictDefaults:!0}),nRs=Symbol.for("eslint.RuleTester.parser"),{ConfigArraySymbol:iRs}=pJt(),{isSerializable:kVl}=eRs(),PVl=CKt(),{SourceCode:CVe}=gpt(),NVl={rules:{}},bVe={rules:{}},OVl=["name","code","filename","options","before","after","errors","output","only"],cRs=new Set(["message","messageId","data","type","line","column","endLine","endColumn","suggestions"]),RVl=`[${[...cRs].map(e=>`'${e}'`).join(", ")}]`,fRs=new Set(["desc","messageId","data","output"]),FVl=`[${[...fRs].map(e=>`'${e}'`).join(", ")}]`,LVl=new Set(["name","errors","output"]),pRs=["applyInlineConfig","applyLanguageOptions","finalize"],MVl=new Map(pRs.map(e=>[e,new WeakSet])),Ob=Function.call.bind(Object.hasOwnProperty);function rHt(e){if(typeof e=="object"&&e!==null){if(Array.isArray(e))return e.map(rHt);let t={};for(let r in e)r!=="parent"&&Ob(e,r)&&(t[r]=rHt(e[r]));return t}return e}function Ypt(e,t=new Set){if(typeof e=="object"&&e!==null){if(t.has(e))return;if(t.add(e),Array.isArray(e))e.forEach(r=>{Ypt(r,t)});else for(let r in e)r!=="parent"&&Ob(e,r)&&Ypt(e[r],t);Object.freeze(e)}}function sRs(e){return typeof e!="string"?"":e.replace(/[\u0000-\u0009\u000b-\u001a]/gu,t=>`\\u${t.codePointAt(0).toString(16).padStart(4,"0")}`)}function Xon(e,t){Object.defineProperties(t,{start:{get(){throw new Error(`Use ${e}.range[0] instead of ${e}.start`)},configurable:!0,enumerable:!1},end:{get(){throw new Error(`Use ${e}.range[1] instead of ${e}.end`)},configurable:!0,enumerable:!1}})}function aRs(e,t){bVl.traverse(e,{visitorKeys:t,enter:Xon.bind(null,"node")}),e.tokens.forEach(Xon.bind(null,"token")),e.comments.forEach(Xon.bind(null,"token"))}function QVl(e){return typeof e.parseForESLint=="function"?{[nRs]:e,parseForESLint(...t){let r=e.parseForESLint(...t);return aRs(r.ast,r.visitorKeys),r}}:{[nRs]:e,parse(...t){let r=e.parse(...t);return aRs(r),r}}}function jVl(e,t){let r=t[e];return function(...n){let i=MVl.get(e);if(!i.has(this))return i.add(this),r.apply(this,n);throw new Error(`\`SourceCode#${e}()\` cannot be called inside a rule.`)}}function oRs(e){let t=TVl();return Array.from(e.matchAll(t),([,r])=>r.trim())}function uRs(e,t,r={}){let n=oRs(e);if(n.length===0)return[];let i=oRs(t),s=Object.keys(r);return n.filter(a=>i.includes(a)&&!s.includes(a))}var lRs="\n - If the rule has options, set `meta.schema` to an array or non-empty object to enable options validation.\n - If the rule doesn't have options, omit `meta.schema` to enforce that no options can be passed to the rule.\n - You can also set `meta.schema` to `false` to opt-out of options validation (not recommended).\n\n https://eslint.org/docs/latest/extend/custom-rules#options-schemas\n",eHt=Symbol("describe"),ETe=Symbol("it"),tHt=Symbol("itOnly");function UVl(e,t){try{return t.call(this)}catch(r){throw r instanceof FA.AssertionError&&(r.message+=` (${Sye.inspect(r.actual)} ${r.operator} ${Sye.inspect(r.expected)})`),r}}function qVl(e,t){return t.call(this)}var IVe=class{constructor(t={}){this.testerConfig=[bVe,t,{rules:{"rule-tester/validate-ast":"error"}}],this.linter=new SVl({configType:"flat"})}static setDefaultConfig(t){if(typeof t!="object"||t===null)throw new TypeError("RuleTester.setDefaultConfig: config must be an object");bVe=t,bVe.rules=bVe.rules||{}}static getDefaultConfig(){return bVe}static resetDefaultConfig(){bVe={rules:{...NVl.rules}}}static get describe(){return this[eHt]||(typeof describe=="function"?describe:qVl)}static set describe(t){this[eHt]=t}static get it(){return this[ETe]||(typeof it=="function"?it:UVl)}static set it(t){this[ETe]=t}static only(t){return typeof t=="string"?{code:t,only:!0}:{...t,only:!0}}static get itOnly(){if(typeof this[tHt]=="function")return this[tHt];if(typeof this[ETe]=="function"&&typeof this[ETe].only=="function")return Function.bind.call(this[ETe].only,this[ETe]);if(typeof it=="function"&&typeof it.only=="function")return Function.bind.call(it.only,it);throw typeof this[eHt]=="function"||typeof this[ETe]=="function"?new Error("Set `RuleTester.itOnly` to use `only` with a custom test framework.\nSee https://eslint.org/docs/latest/integrate/nodejs-api#customizing-ruletester for more."):typeof it=="function"?new Error("The current test framework does not support exclusive tests with `only`."):new Error("To use `only`, use RuleTester with a test framework that provides `it.only()` like Mocha.")}static set itOnly(t){this[tHt]=t}run(t,r,n){let i=this.testerConfig,s=["valid","invalid"],a=[],u=this.linter,l=`rule-to-test/${t}`,f=new Set,p=new Set;if(!r||typeof r!="object"||typeof r.create!="function")throw new TypeError("Rule must be an object with a `create` method");if(!n||typeof n!="object")throw new TypeError(`Test Scenarios for rule ${t} : Could not find test scenario object`);if(s.forEach(M=>{n[M]||a.push(`Could not find any ${M} test scenarios`)}),a.length>0)throw new Error([`Test Scenarios for rule ${t} is invalid:`].concat(a).join(` `));let g=[{plugins:{"@":{parsers:{...XJt[0].plugins["@"].parsers},rules:XJt[0].plugins["@"].rules,languages:XJt[0].plugins["@"].languages},"rule-to-test":{rules:{[t]:Object.assign({},r,{create(M){return Ypt(M.options),Ypt(M.settings),Ypt(M.parserOptions),r.create(M)}})}}},language:XJt[0].language},...BVl];function A(M,R){typeof M=="object"&&Ob(M,R)&&(FA.strictEqual(typeof M[R],"function",`Optional test case property '${R}' must be a function`),M[R]())}function h(M){let R={baseConfig:g};M.filename&&(R.basePath=vVl.parse(M.filename).root||void 0);let q=new wVl(i,R);q[iRs.finalizeConfig]=function(...Le){let at=Object.getPrototypeOf(this)[iRs.finalizeConfig].apply(this,Le);return at.language===PVl&&(at.languageOptions.parser=QVl(at.languageOptions.parser)),at};let G,K,Z,oe,ue;if(typeof M=="string")G=M;else{G=M.code;let Le={...M};for(let qe of OVl)delete Le[qe];q.push(Le)}Ob(M,"only")&&FA.ok(typeof M.only=="boolean","Optional test case property 'only' must be a boolean"),Ob(M,"filename")&&(FA.ok(typeof M.filename=="string","Optional test case property 'filename' must be a string"),K=M.filename);let me=1;Ob(M,"options")&&(FA(Array.isArray(M.options),"options must be an array"),me=[1,...M.options]),q.push({rules:{[l]:me}});let Te;try{Te=IVl.getRuleOptionsSchema(r)}catch(Le){throw Le.message+=lRs,Le}if(Te&&Object.keys(Te).length===0)throw new Error(`\`schema: {}\` is a no-op${lRs}`);if(q.push({plugins:{"rule-tester":{rules:{"validate-ast":{create(){return{Program(Le){oe=rHt(Le)},"Program:exit"(Le){ue=Le}}}}}}}}),Te){if(ZJt.validateSchema(Te),ZJt.errors){let Le=ZJt.errors.map(qe=>` ${qe.dataPath[0]==="."?qe.dataPath.slice(1):qe.dataPath}: ${qe.message}`).join(` `);throw new Error([`Schema for rule ${t} is invalid:`,Le])}try{ZJt.compile(Te)}catch(Le){throw new Error(`Schema for rule ${t} is invalid: ${Le.message}`,{cause:Le})}}try{q.normalizeSync(),q.getConfig("test.js")}catch(Le){throw Le.message=`ESLint configuration in rule-tester is invalid: ${Le.message}`,Le}let{applyLanguageOptions:le,applyInlineConfig:ae,finalize:Ae}=CVe.prototype,De;try{pRs.forEach(Le=>{CVe.prototype[Le]=jVl(Le,CVe.prototype)}),De=u.verify(G,q,K)}finally{CVe.prototype.applyInlineConfig=ae,CVe.prototype.applyLanguageOptions=le,CVe.prototype.finalize=Ae}let _e=De.find(Le=>Le.fatal);if(FA(!_e,`A fatal parsing error occurred: ${_e&&_e.message}`),De.some(Le=>Le.fix)){Z=tRs.applyFixes(G,De).output;let Le=u.verify(Z,q,K).find(qe=>qe.fatal);FA(!Le,["A fatal parsing error occurred in autofix.",`Error: ${Le&&Le.message}`,"Autofix output:",Z].join(` `))}else Z=G;return{messages:De,output:Z,beforeAST:oe,afterAST:rHt(ue),configs:q,filename:K}}function _(M,R){CVl(M,R)||FA.fail("Rule should not modify AST.")}function E(M,R){if(!kVl(M))return;let q=typeof M=="string"?{code:M}:M,G=DVl(q,{replacer(K,Z){return q!==this||!LVl.has(K)?Z:void 0}});FA(!R.has(G),"detected duplicate test case"),R.add(G)}function b(M){let R=typeof M=="object"?M.code:M;FA.ok(typeof R=="string","Test case must specify a string value for 'code'"),M.name&&FA.ok(typeof M.name=="string","Optional test case property 'name' must be a string"),E(M,f);let q=h(M),G=q.messages;FA.strictEqual(G.length,0,Sye.format("Should have no errors but had %d: %s",G.length,Sye.inspect(G))),_(q.beforeAST,q.afterAST)}function D(M,R){R instanceof RegExp?FA.ok(R.test(M),`Expected '${M}' to match ${R}`):FA.strictEqual(M,R)}function k(M){FA.ok(typeof M.code=="string","Test case must specify a string value for 'code'"),M.name&&FA.ok(typeof M.name=="string","Optional test case property 'name' must be a string"),FA.ok(M.errors||M.errors===0,`Did not specify errors for an invalid test of ${t}`),Array.isArray(M.errors)&&M.errors.length===0&&FA.fail("Invalid cases must have at least one error"),E(M,p);let R=Ob(r,"meta")&&Ob(r.meta,"messages"),q=R?`[${Object.keys(r.meta.messages).map(Z=>`'${Z}'`).join(", ")}]`:null,G=h(M),K=G.messages;for(let Z of K)if(Ob(Z,"suggestions")){let oe=new Map;for(let ue=0;ueoe.ruleId===l);for(let oe=0,ue=M.errors.length;oe{FA.ok(cRs.has(Ae),`Invalid error property name '${Ae}'. Expected one of ${RVl}.`)}),Ob(me,"message"))FA.ok(!Ob(me,"messageId"),"Error should not specify both 'message' and a 'messageId'."),FA.ok(!Ob(me,"data"),"Error should not specify both 'data' and 'message'."),D(Te.message,me.message);else if(Ob(me,"messageId")){FA.ok(R,"Error can not use 'messageId' if rule under test doesn't define 'meta.messages'."),Ob(r.meta.messages,me.messageId)||FA(!1,`Invalid messageId '${me.messageId}'. Expected one of ${q}.`),FA.strictEqual(Te.messageId,me.messageId,`messageId '${Te.messageId}' does not match expected messageId '${me.messageId}'.`);let Ae=uRs(Te.message,r.meta.messages[Te.messageId],me.data);if(FA.ok(Ae.length===0,`The reported message has ${Ae.length>1?`unsubstituted placeholders: ${Ae.map(De=>`'${De}'`).join(", ")}`:`an unsubstituted placeholder '${Ae[0]}'`}. Please provide the missing ${Ae.length>1?"values":"value"} via the 'data' property in the context.report() call.`),Ob(me,"data")){let De=r.meta.messages[me.messageId],_e=rRs(De,me.data);FA.strictEqual(Te.message,_e,`Hydrated message "${_e}" does not match "${Te.message}"`)}}else FA.fail("Test error must specify either a 'messageId' or 'message'.");me.type&&FA.strictEqual(Te.nodeType,me.type,`Error type should be ${me.type}, found ${Te.nodeType}`);let le={},ae={};if(Ob(me,"line")&&(le.line=Te.line,ae.line=me.line),Ob(me,"column")&&(le.column=Te.column,ae.column=me.column),Ob(me,"endLine")&&(le.endLine=Te.endLine,ae.endLine=me.endLine),Ob(me,"endColumn")&&(le.endColumn=Te.endColumn,ae.endColumn=me.endColumn),Object.keys(ae).length>0&&FA.deepStrictEqual(le,ae,"Actual error location does not match expected error location."),FA.ok(!Te.suggestions||Ob(me,"suggestions"),`Error at index ${oe} has suggestions. Please specify 'suggestions' property on the test error object.`),Ob(me,"suggestions")){let Ae=Array.isArray(me.suggestions)?me.suggestions.length>0:!!me.suggestions,De=Te.suggestions!==void 0;!De&&Ae?FA.ok(!me.suggestions,`Error should have suggestions on error with message: "${Te.message}"`):De&&(FA.ok(Ae,`Error should have no suggestions on error with message: "${Te.message}"`),typeof me.suggestions=="number"?FA.strictEqual(Te.suggestions.length,me.suggestions,`Error should have ${me.suggestions} suggestions. Instead found ${Te.suggestions.length} suggestions`):Array.isArray(me.suggestions)?(FA.strictEqual(Te.suggestions.length,me.suggestions.length,`Error should have ${me.suggestions.length} suggestions. Instead found ${Te.suggestions.length} suggestions`),me.suggestions.forEach((_e,Le)=>{FA.ok(typeof _e=="object"&&_e!==null,"Test suggestion in 'suggestions' array must be an object."),Object.keys(_e).forEach(Sr=>{FA.ok(fRs.has(Sr),`Invalid suggestion property name '${Sr}'. Expected one of ${FVl}.`)});let qe=Te.suggestions[Le],at=`Error Suggestion at index ${Le}:`;if(Ob(_e,"desc"))FA.ok(!Ob(_e,"data"),`${at} Test should not specify both 'desc' and 'data'.`),FA.ok(!Ob(_e,"messageId"),`${at} Test should not specify both 'desc' and 'messageId'.`),FA.strictEqual(qe.desc,_e.desc,`${at} desc should be "${_e.desc}" but got "${qe.desc}" instead.`);else if(Ob(_e,"messageId")){FA.ok(R,`${at} Test can not use 'messageId' if rule under test doesn't define 'meta.messages'.`),FA.ok(Ob(r.meta.messages,_e.messageId),`${at} Test has invalid messageId '${_e.messageId}', the rule under test allows only one of ${q}.`),FA.strictEqual(qe.messageId,_e.messageId,`${at} messageId should be '${_e.messageId}' but got '${qe.messageId}' instead.`);let Sr=uRs(qe.desc,r.meta.messages[_e.messageId],_e.data);if(FA.ok(Sr.length===0,`The message of the suggestion has ${Sr.length>1?`unsubstituted placeholders: ${Sr.map(xr=>`'${xr}'`).join(", ")}`:`an unsubstituted placeholder '${Sr[0]}'`}. Please provide the missing ${Sr.length>1?"values":"value"} via the 'data' property for the suggestion in the context.report() call.`),Ob(_e,"data")){let xr=r.meta.messages[_e.messageId],dt=rRs(xr,_e.data);FA.strictEqual(qe.desc,dt,`${at} Hydrated test desc "${dt}" does not match received desc "${qe.desc}".`)}}else Ob(_e,"data")?FA.fail(`${at} Test must specify 'messageId' if 'data' is used.`):FA.fail(`${at} Test must specify either 'messageId' or 'desc'.`);FA.ok(Ob(_e,"output"),`${at} The "output" property is required.`);let st=tRs.applyFixes(M.code,[qe]).output,Ur=u.verify(st,G.configs,G.filename).find(Sr=>Sr.fatal);FA(!Ur,["A fatal parsing error occurred in suggestion fix.",`Error: ${Ur&&Ur.message}`,"Suggestion output:",st].join(` `)),FA.strictEqual(st,_e.output,`Expected the applied suggestion fix to match the test suggestion output for suggestion at index: ${Le} on error with message: "${Te.message}"`),FA.notStrictEqual(_e.output,M.code,`The output of a suggestion should differ from the original source code for suggestion at index: ${Le} on error with message: "${Te.message}"`)})):FA.fail("Test error object property 'suggestions' should be an array or a number"))}}else FA.fail(`Error should be a string, object, or RegExp, but found (${Sye.inspect(Te)})`)}}Ob(M,"output")?M.output===null?FA.strictEqual(G.output,M.code,"Expected no autofixes to be suggested"):(FA.strictEqual(G.output,M.output,"Output is incorrect."),FA.notStrictEqual(M.code,M.output,"Test property 'output' matches 'code'. If no autofix is expected, then omit the 'output' property or set it to null.")):FA.strictEqual(G.output,M.code,"The rule fixed the code. Please add 'output' property."),_(G.beforeAST,G.afterAST)}this.constructor.describe(t,()=>{n.valid.length>0&&this.constructor.describe("valid",()=>{n.valid.forEach(M=>{this.constructor[M.only?"itOnly":"it"](sRs(typeof M=="object"?M.name||M.code:M),()=>{try{A(M,"before"),b(M)}finally{A(M,"after")}})})}),n.invalid.length>0&&this.constructor.describe("invalid",()=>{n.invalid.forEach(M=>{this.constructor[M.only?"itOnly":"it"](sRs(M.name||M.code),()=>{try{A(M,"before"),k(M)}finally{A(M,"after")}})})})})}};IVe[eHt]=IVe[ETe]=IVe[tHt]=null;dRs.exports=IVe});var ARs=j((OCA,gRs)=>{"use strict";var YVl=mRs();gRs.exports={RuleTester:YVl}});var tpe=j((RCA,yRs)=>{"use strict";var{ESLint:hRs,shouldUseFlatConfig:GVl}=con(),{LegacyESLint:VVl}=Won(),{Linter:$Vl}=wpt(),{RuleTester:KVl}=ARs(),{SourceCode:JVl}=gpt();async function HVl({useFlatConfig:e}={}){return e??await GVl()?hRs:VVl}yRs.exports={Linter:$Vl,loadESLint:HVl,ESLint:hRs,RuleTester:KVl,SourceCode:JVl}});var xTe=j((LjA,PRs)=>{"use strict";var{FileEnumerator:rif}=Gon(),{ESLint:nif,shouldUseFlatConfig:iif}=con(),{LegacyESLint:sif}=Won(),aif=GGe();PRs.exports={builtinRules:aif,FlatESLint:nif,shouldUseFlatConfig:iif,FileEnumerator:rif,LegacyESLint:sif}});var Rfn=j(aHt=>{"use strict";var e1t={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","attributes"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],ExportSpecifier:["local","exported"],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"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:["local"],ImportExpression:["source","options"],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"]},_if=Object.keys(e1t);for(let e of _if)Object.freeze(e1t[e]);Object.freeze(e1t);var Eif=new Set(["parent","leadingComments","trailingComments"]);function xif(e){return!Eif.has(e)&&e[0]!=="_"}function vif(e){return Object.keys(e).filter(xif)}function Cif(e){let t=Object.assign({},e1t);for(let r of Object.keys(e))if(Object.hasOwn(t,r)){let n=new Set(e[r]);for(let i of t[r])n.add(i);t[r]=Object.freeze(Array.from(n))}else t[r]=Object.freeze(Array.from(e[r]));return Object.freeze(t)}aHt.KEYS=e1t;aHt.getKeys=vif;aHt.unionWith=Cif});var jRs=j(oHt=>{"use strict";Object.defineProperty(oHt,"__esModule",{value:!0});oHt.getKeys=void 0;var bif=Rfn();oHt.getKeys=bif.getKeys});var URs=j(npe=>{"use strict";var Iif=npe&&npe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Sif=npe&&npe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Tif=npe&&npe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let e=["typeParameters","params","returnType"],t=[...e,"body"],r=["decorators","key","typeAnnotation"];return{AbstractPropertyDefinition:["decorators","key","typeAnnotation"],AnonymousFunction:t,AsExpression:["expression","typeAnnotation"],ClassDeclaration:["decorators","id","typeParameters","superClass","superTypeArguments","implements","body"],Function:["id",...t],FunctionType:e,PropertyDefinition:[...r,"value"]}})(),wif={AccessorProperty:QO.PropertyDefinition,ArrayPattern:["decorators","elements","typeAnnotation"],ArrowFunctionExpression:QO.AnonymousFunction,AssignmentPattern:["decorators","left","right","typeAnnotation"],CallExpression:["callee","typeArguments","arguments"],ClassDeclaration:QO.ClassDeclaration,ClassExpression:QO.ClassDeclaration,Decorator:["expression"],ExportAllDeclaration:["exported","source","attributes"],ExportNamedDeclaration:["declaration","specifiers","source","attributes"],FunctionDeclaration:QO.Function,FunctionExpression:QO.Function,Identifier:["decorators","typeAnnotation"],ImportAttribute:["key","value"],ImportDeclaration:["specifiers","source","attributes"],ImportExpression:["source","options"],JSXClosingFragment:[],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:[],JSXSpreadChild:["expression"],MethodDefinition:["decorators","key","value"],NewExpression:["callee","typeArguments","arguments"],ObjectPattern:["decorators","properties","typeAnnotation"],PropertyDefinition:QO.PropertyDefinition,RestElement:["decorators","argument","typeAnnotation"],StaticBlock:["body"],TaggedTemplateExpression:["tag","typeArguments","quasi"],TSAbstractAccessorProperty:QO.AbstractPropertyDefinition,TSAbstractKeyword:[],TSAbstractMethodDefinition:["key","value"],TSAbstractPropertyDefinition:QO.AbstractPropertyDefinition,TSAnyKeyword:[],TSArrayType:["elementType"],TSAsExpression:QO.AsExpression,TSAsyncKeyword:[],TSBigIntKeyword:[],TSBooleanKeyword:[],TSCallSignatureDeclaration:QO.FunctionType,TSClassImplements:["expression","typeArguments"],TSConditionalType:["checkType","extendsType","trueType","falseType"],TSConstructorType:QO.FunctionType,TSConstructSignatureDeclaration:QO.FunctionType,TSDeclareFunction:QO.Function,TSDeclareKeyword:[],TSEmptyBodyFunctionExpression:["id",...QO.FunctionType],TSEnumBody:["members"],TSEnumDeclaration:["id","body"],TSEnumMember:["id","initializer"],TSExportAssignment:["expression"],TSExportKeyword:[],TSExternalModuleReference:["expression"],TSFunctionType:QO.FunctionType,TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["source","options","qualifier","typeArguments"],TSIndexedAccessType:["objectType","indexType"],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:["typeParameter"],TSInstantiationExpression:["expression","typeArguments"],TSInterfaceBody:["body"],TSInterfaceDeclaration:["id","typeParameters","extends","body"],TSInterfaceHeritage:["expression","typeArguments"],TSIntersectionType:["types"],TSIntrinsicKeyword:[],TSLiteralType:["literal"],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:["body"],TSModuleDeclaration:["id","body"],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:["id"],TSNeverKeyword:[],TSNonNullExpression:["expression"],TSNullKeyword:[],TSNumberKeyword:[],TSObjectKeyword:[],TSOptionalType:["typeAnnotation"],TSParameterProperty:["decorators","parameter"],TSPrivateKeyword:[],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:[],TSPublicKeyword:[],TSQualifiedName:["left","right"],TSReadonlyKeyword:[],TSRestType:["typeAnnotation"],TSSatisfiesExpression:QO.AsExpression,TSStaticKeyword:[],TSStringKeyword:[],TSSymbolKeyword:[],TSTemplateLiteralType:["quasis","types"],TSThisType:[],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:["typeAnnotation"],TSTypeAssertion:["typeAnnotation","expression"],TSTypeLiteral:["members"],TSTypeOperator:["typeAnnotation"],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:["params"],TSTypeParameterInstantiation:["params"],TSTypePredicate:["parameterName","typeAnnotation"],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:[],TSUnionType:["types"],TSUnknownKeyword:[],TSVoidKeyword:[]};npe.visitorKeys=Dif.unionWith(wif)});var wVe=j(DVe=>{"use strict";Object.defineProperty(DVe,"__esModule",{value:!0});DVe.visitorKeys=DVe.getKeys=void 0;var Bif=jRs();Object.defineProperty(DVe,"getKeys",{enumerable:!0,get:function(){return Bif.getKeys}});var kif=URs();Object.defineProperty(DVe,"visitorKeys",{enumerable:!0,get:function(){return kif.visitorKeys}})});var Ffn=j(BVe=>{"use strict";Object.defineProperty(BVe,"__esModule",{value:!0});BVe.AST_TOKEN_TYPES=BVe.AST_NODE_TYPES=void 0;var qRs;(function(e){e.AccessorProperty="AccessorProperty",e.ArrayExpression="ArrayExpression",e.ArrayPattern="ArrayPattern",e.ArrowFunctionExpression="ArrowFunctionExpression",e.AssignmentExpression="AssignmentExpression",e.AssignmentPattern="AssignmentPattern",e.AwaitExpression="AwaitExpression",e.BinaryExpression="BinaryExpression",e.BlockStatement="BlockStatement",e.BreakStatement="BreakStatement",e.CallExpression="CallExpression",e.CatchClause="CatchClause",e.ChainExpression="ChainExpression",e.ClassBody="ClassBody",e.ClassDeclaration="ClassDeclaration",e.ClassExpression="ClassExpression",e.ConditionalExpression="ConditionalExpression",e.ContinueStatement="ContinueStatement",e.DebuggerStatement="DebuggerStatement",e.Decorator="Decorator",e.DoWhileStatement="DoWhileStatement",e.EmptyStatement="EmptyStatement",e.ExportAllDeclaration="ExportAllDeclaration",e.ExportDefaultDeclaration="ExportDefaultDeclaration",e.ExportNamedDeclaration="ExportNamedDeclaration",e.ExportSpecifier="ExportSpecifier",e.ExpressionStatement="ExpressionStatement",e.ForInStatement="ForInStatement",e.ForOfStatement="ForOfStatement",e.ForStatement="ForStatement",e.FunctionDeclaration="FunctionDeclaration",e.FunctionExpression="FunctionExpression",e.Identifier="Identifier",e.IfStatement="IfStatement",e.ImportAttribute="ImportAttribute",e.ImportDeclaration="ImportDeclaration",e.ImportDefaultSpecifier="ImportDefaultSpecifier",e.ImportExpression="ImportExpression",e.ImportNamespaceSpecifier="ImportNamespaceSpecifier",e.ImportSpecifier="ImportSpecifier",e.JSXAttribute="JSXAttribute",e.JSXClosingElement="JSXClosingElement",e.JSXClosingFragment="JSXClosingFragment",e.JSXElement="JSXElement",e.JSXEmptyExpression="JSXEmptyExpression",e.JSXExpressionContainer="JSXExpressionContainer",e.JSXFragment="JSXFragment",e.JSXIdentifier="JSXIdentifier",e.JSXMemberExpression="JSXMemberExpression",e.JSXNamespacedName="JSXNamespacedName",e.JSXOpeningElement="JSXOpeningElement",e.JSXOpeningFragment="JSXOpeningFragment",e.JSXSpreadAttribute="JSXSpreadAttribute",e.JSXSpreadChild="JSXSpreadChild",e.JSXText="JSXText",e.LabeledStatement="LabeledStatement",e.Literal="Literal",e.LogicalExpression="LogicalExpression",e.MemberExpression="MemberExpression",e.MetaProperty="MetaProperty",e.MethodDefinition="MethodDefinition",e.NewExpression="NewExpression",e.ObjectExpression="ObjectExpression",e.ObjectPattern="ObjectPattern",e.PrivateIdentifier="PrivateIdentifier",e.Program="Program",e.Property="Property",e.PropertyDefinition="PropertyDefinition",e.RestElement="RestElement",e.ReturnStatement="ReturnStatement",e.SequenceExpression="SequenceExpression",e.SpreadElement="SpreadElement",e.StaticBlock="StaticBlock",e.Super="Super",e.SwitchCase="SwitchCase",e.SwitchStatement="SwitchStatement",e.TaggedTemplateExpression="TaggedTemplateExpression",e.TemplateElement="TemplateElement",e.TemplateLiteral="TemplateLiteral",e.ThisExpression="ThisExpression",e.ThrowStatement="ThrowStatement",e.TryStatement="TryStatement",e.UnaryExpression="UnaryExpression",e.UpdateExpression="UpdateExpression",e.VariableDeclaration="VariableDeclaration",e.VariableDeclarator="VariableDeclarator",e.WhileStatement="WhileStatement",e.WithStatement="WithStatement",e.YieldExpression="YieldExpression",e.TSAbstractAccessorProperty="TSAbstractAccessorProperty",e.TSAbstractKeyword="TSAbstractKeyword",e.TSAbstractMethodDefinition="TSAbstractMethodDefinition",e.TSAbstractPropertyDefinition="TSAbstractPropertyDefinition",e.TSAnyKeyword="TSAnyKeyword",e.TSArrayType="TSArrayType",e.TSAsExpression="TSAsExpression",e.TSAsyncKeyword="TSAsyncKeyword",e.TSBigIntKeyword="TSBigIntKeyword",e.TSBooleanKeyword="TSBooleanKeyword",e.TSCallSignatureDeclaration="TSCallSignatureDeclaration",e.TSClassImplements="TSClassImplements",e.TSConditionalType="TSConditionalType",e.TSConstructorType="TSConstructorType",e.TSConstructSignatureDeclaration="TSConstructSignatureDeclaration",e.TSDeclareFunction="TSDeclareFunction",e.TSDeclareKeyword="TSDeclareKeyword",e.TSEmptyBodyFunctionExpression="TSEmptyBodyFunctionExpression",e.TSEnumBody="TSEnumBody",e.TSEnumDeclaration="TSEnumDeclaration",e.TSEnumMember="TSEnumMember",e.TSExportAssignment="TSExportAssignment",e.TSExportKeyword="TSExportKeyword",e.TSExternalModuleReference="TSExternalModuleReference",e.TSFunctionType="TSFunctionType",e.TSImportEqualsDeclaration="TSImportEqualsDeclaration",e.TSImportType="TSImportType",e.TSIndexedAccessType="TSIndexedAccessType",e.TSIndexSignature="TSIndexSignature",e.TSInferType="TSInferType",e.TSInstantiationExpression="TSInstantiationExpression",e.TSInterfaceBody="TSInterfaceBody",e.TSInterfaceDeclaration="TSInterfaceDeclaration",e.TSInterfaceHeritage="TSInterfaceHeritage",e.TSIntersectionType="TSIntersectionType",e.TSIntrinsicKeyword="TSIntrinsicKeyword",e.TSLiteralType="TSLiteralType",e.TSMappedType="TSMappedType",e.TSMethodSignature="TSMethodSignature",e.TSModuleBlock="TSModuleBlock",e.TSModuleDeclaration="TSModuleDeclaration",e.TSNamedTupleMember="TSNamedTupleMember",e.TSNamespaceExportDeclaration="TSNamespaceExportDeclaration",e.TSNeverKeyword="TSNeverKeyword",e.TSNonNullExpression="TSNonNullExpression",e.TSNullKeyword="TSNullKeyword",e.TSNumberKeyword="TSNumberKeyword",e.TSObjectKeyword="TSObjectKeyword",e.TSOptionalType="TSOptionalType",e.TSParameterProperty="TSParameterProperty",e.TSPrivateKeyword="TSPrivateKeyword",e.TSPropertySignature="TSPropertySignature",e.TSProtectedKeyword="TSProtectedKeyword",e.TSPublicKeyword="TSPublicKeyword",e.TSQualifiedName="TSQualifiedName",e.TSReadonlyKeyword="TSReadonlyKeyword",e.TSRestType="TSRestType",e.TSSatisfiesExpression="TSSatisfiesExpression",e.TSStaticKeyword="TSStaticKeyword",e.TSStringKeyword="TSStringKeyword",e.TSSymbolKeyword="TSSymbolKeyword",e.TSTemplateLiteralType="TSTemplateLiteralType",e.TSThisType="TSThisType",e.TSTupleType="TSTupleType",e.TSTypeAliasDeclaration="TSTypeAliasDeclaration",e.TSTypeAnnotation="TSTypeAnnotation",e.TSTypeAssertion="TSTypeAssertion",e.TSTypeLiteral="TSTypeLiteral",e.TSTypeOperator="TSTypeOperator",e.TSTypeParameter="TSTypeParameter",e.TSTypeParameterDeclaration="TSTypeParameterDeclaration",e.TSTypeParameterInstantiation="TSTypeParameterInstantiation",e.TSTypePredicate="TSTypePredicate",e.TSTypeQuery="TSTypeQuery",e.TSTypeReference="TSTypeReference",e.TSUndefinedKeyword="TSUndefinedKeyword",e.TSUnionType="TSUnionType",e.TSUnknownKeyword="TSUnknownKeyword",e.TSVoidKeyword="TSVoidKeyword"})(qRs||(BVe.AST_NODE_TYPES=qRs={}));var YRs;(function(e){e.Boolean="Boolean",e.Identifier="Identifier",e.JSXIdentifier="JSXIdentifier",e.PrivateIdentifier="PrivateIdentifier",e.JSXText="JSXText",e.Keyword="Keyword",e.Null="Null",e.Numeric="Numeric",e.Punctuator="Punctuator",e.RegularExpression="RegularExpression",e.String="String",e.Template="Template",e.Block="Block",e.Line="Line"})(YRs||(BVe.AST_TOKEN_TYPES=YRs={}))});var VRs=j(GRs=>{"use strict";Object.defineProperty(GRs,"__esModule",{value:!0})});var KRs=j($Rs=>{"use strict";Object.defineProperty($Rs,"__esModule",{value:!0})});var JRs=j(ipe=>{"use strict";var Pif=ipe&&ipe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Nif=ipe&&ipe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Oif=ipe&&ipe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var Rif=RK&&RK.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Lfn=RK&&RK.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Rif(t,e,r)};Object.defineProperty(RK,"__esModule",{value:!0});RK.AST_TOKEN_TYPES=RK.AST_NODE_TYPES=void 0;var HRs=Ffn();Object.defineProperty(RK,"AST_NODE_TYPES",{enumerable:!0,get:function(){return HRs.AST_NODE_TYPES}});Object.defineProperty(RK,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return HRs.AST_TOKEN_TYPES}});Lfn(VRs(),RK);Lfn(KRs(),RK);Lfn(JRs(),RK)});var kVe=j(Mfn=>{"use strict";Object.defineProperty(Mfn,"__esModule",{value:!0});Mfn.assert=Fif;function Fif(e,t){if(e==null)throw new Error(t)}});var t1t=j(lHt=>{"use strict";Object.defineProperty(lHt,"__esModule",{value:!0});lHt.createIdGenerator=Mif;lHt.resetIds=Qif;var uHt=new Map,Lif=0;function Mif(){let e=Lif+=1;return uHt.set(e,0),()=>{let r=(uHt.get(e)??0)+1;return uHt.set(e,r),r}}function Qif(){uHt.clear()}});var eZ=j(cHt=>{"use strict";Object.defineProperty(cHt,"__esModule",{value:!0});cHt.DefinitionBase=void 0;var jif=t1t(),Uif=(0,jif.createIdGenerator)(),Qfn=class{$id=Uif();type;name;node;parent;constructor(t,r,n,i){this.type=t,this.name=r,this.node=n,this.parent=i}};cHt.DefinitionBase=Qfn});var FK=j(fHt=>{"use strict";Object.defineProperty(fHt,"__esModule",{value:!0});fHt.DefinitionType=void 0;var zRs;(function(e){e.CatchClause="CatchClause",e.ClassName="ClassName",e.FunctionName="FunctionName",e.ImplicitGlobalVariable="ImplicitGlobalVariable",e.ImportBinding="ImportBinding",e.Parameter="Parameter",e.TSEnumName="TSEnumName",e.TSEnumMember="TSEnumMemberName",e.TSModuleName="TSModuleName",e.Type="Type",e.Variable="Variable"})(zRs||(fHt.DefinitionType=zRs={}))});var WRs=j(pHt=>{"use strict";Object.defineProperty(pHt,"__esModule",{value:!0});pHt.CatchClauseDefinition=void 0;var qif=eZ(),Yif=FK(),jfn=class extends qif.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,r){super(Yif.DefinitionType.CatchClause,t,r,null)}};pHt.CatchClauseDefinition=jfn});var XRs=j(dHt=>{"use strict";Object.defineProperty(dHt,"__esModule",{value:!0});dHt.ClassNameDefinition=void 0;var Gif=eZ(),Vif=FK(),Ufn=class extends Gif.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,r){super(Vif.DefinitionType.ClassName,t,r,null)}};dHt.ClassNameDefinition=Ufn});var eFs=j(ZRs=>{"use strict";Object.defineProperty(ZRs,"__esModule",{value:!0})});var tFs=j(mHt=>{"use strict";Object.defineProperty(mHt,"__esModule",{value:!0});mHt.FunctionNameDefinition=void 0;var $if=eZ(),Kif=FK(),qfn=class extends $if.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,r){super(Kif.DefinitionType.FunctionName,t,r,null)}};mHt.FunctionNameDefinition=qfn});var Gfn=j(gHt=>{"use strict";Object.defineProperty(gHt,"__esModule",{value:!0});gHt.ImplicitGlobalVariableDefinition=void 0;var Jif=eZ(),Hif=FK(),Yfn=class extends Jif.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,r){super(Hif.DefinitionType.ImplicitGlobalVariable,t,r,null)}};gHt.ImplicitGlobalVariableDefinition=Yfn});var rFs=j(AHt=>{"use strict";Object.defineProperty(AHt,"__esModule",{value:!0});AHt.ImportBindingDefinition=void 0;var zif=eZ(),Wif=FK(),Vfn=class extends zif.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,r,n){super(Wif.DefinitionType.ImportBinding,t,r,n)}};AHt.ImportBindingDefinition=Vfn});var nFs=j(hHt=>{"use strict";Object.defineProperty(hHt,"__esModule",{value:!0});hHt.ParameterDefinition=void 0;var Xif=eZ(),Zif=FK(),$fn=class extends Xif.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;rest;constructor(t,r,n){super(Zif.DefinitionType.Parameter,t,r,null),this.rest=n}};hHt.ParameterDefinition=$fn});var iFs=j(yHt=>{"use strict";Object.defineProperty(yHt,"__esModule",{value:!0});yHt.TSEnumMemberDefinition=void 0;var esf=eZ(),tsf=FK(),Kfn=class extends esf.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,r){super(tsf.DefinitionType.TSEnumMember,t,r,null)}};yHt.TSEnumMemberDefinition=Kfn});var sFs=j(_Ht=>{"use strict";Object.defineProperty(_Ht,"__esModule",{value:!0});_Ht.TSEnumNameDefinition=void 0;var rsf=eZ(),nsf=FK(),Jfn=class extends rsf.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,r){super(nsf.DefinitionType.TSEnumName,t,r,null)}};_Ht.TSEnumNameDefinition=Jfn});var aFs=j(EHt=>{"use strict";Object.defineProperty(EHt,"__esModule",{value:!0});EHt.TSModuleNameDefinition=void 0;var isf=eZ(),ssf=FK(),Hfn=class extends isf.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!0;constructor(t,r){super(ssf.DefinitionType.TSModuleName,t,r,null)}};EHt.TSModuleNameDefinition=Hfn});var oFs=j(xHt=>{"use strict";Object.defineProperty(xHt,"__esModule",{value:!0});xHt.TypeDefinition=void 0;var asf=eZ(),osf=FK(),zfn=class extends asf.DefinitionBase{isTypeDefinition=!0;isVariableDefinition=!1;constructor(t,r){super(osf.DefinitionType.Type,t,r,null)}};xHt.TypeDefinition=zfn});var uFs=j(vHt=>{"use strict";Object.defineProperty(vHt,"__esModule",{value:!0});vHt.VariableDefinition=void 0;var usf=eZ(),lsf=FK(),Wfn=class extends usf.DefinitionBase{isTypeDefinition=!1;isVariableDefinition=!0;constructor(t,r,n){super(lsf.DefinitionType.Variable,t,r,n)}};vHt.VariableDefinition=Wfn});var vTe=j(I7=>{"use strict";var csf=I7&&I7.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),LK=I7&&I7.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&csf(t,e,r)};Object.defineProperty(I7,"__esModule",{value:!0});LK(WRs(),I7);LK(XRs(),I7);LK(eFs(),I7);LK(FK(),I7);LK(tFs(),I7);LK(Gfn(),I7);LK(rFs(),I7);LK(nFs(),I7);LK(iFs(),I7);LK(sFs(),I7);LK(aFs(),I7);LK(oFs(),I7);LK(uFs(),I7)});var bd=j(CTe=>{"use strict";Object.defineProperty(CTe,"__esModule",{value:!0});CTe.TYPE_VALUE=CTe.VALUE=CTe.TYPE=void 0;CTe.TYPE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1});CTe.VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!1,isValueVariable:!0});CTe.TYPE_VALUE=Object.freeze({eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!0})});var bHt=j(CHt=>{"use strict";Object.defineProperty(CHt,"__esModule",{value:!0});CHt.decorators=void 0;var tZ=bd();CHt.decorators={libs:[],variables:[["ClassMemberDecoratorContext",tZ.TYPE],["DecoratorContext",tZ.TYPE],["DecoratorMetadataObject",tZ.TYPE],["DecoratorMetadata",tZ.TYPE],["ClassDecoratorContext",tZ.TYPE],["ClassMethodDecoratorContext",tZ.TYPE],["ClassGetterDecoratorContext",tZ.TYPE],["ClassSetterDecoratorContext",tZ.TYPE],["ClassAccessorDecoratorContext",tZ.TYPE],["ClassAccessorDecoratorTarget",tZ.TYPE],["ClassAccessorDecoratorResult",tZ.TYPE],["ClassFieldDecoratorContext",tZ.TYPE]]}});var Xfn=j(SHt=>{"use strict";Object.defineProperty(SHt,"__esModule",{value:!0});SHt.decorators_legacy=void 0;var IHt=bd();SHt.decorators_legacy={libs:[],variables:[["ClassDecorator",IHt.TYPE],["PropertyDecorator",IHt.TYPE],["MethodDecorator",IHt.TYPE],["ParameterDecorator",IHt.TYPE]]}});var MK=j(THt=>{"use strict";Object.defineProperty(THt,"__esModule",{value:!0});THt.dom=void 0;var we=bd();THt.dom={libs:[],variables:[["AddEventListenerOptions",we.TYPE],["AddressErrors",we.TYPE],["AesCbcParams",we.TYPE],["AesCtrParams",we.TYPE],["AesDerivedKeyParams",we.TYPE],["AesGcmParams",we.TYPE],["AesKeyAlgorithm",we.TYPE],["AesKeyGenParams",we.TYPE],["Algorithm",we.TYPE],["AnalyserOptions",we.TYPE],["AnimationEventInit",we.TYPE],["AnimationPlaybackEventInit",we.TYPE],["AssignedNodesOptions",we.TYPE],["AudioBufferOptions",we.TYPE],["AudioBufferSourceOptions",we.TYPE],["AudioConfiguration",we.TYPE],["AudioContextOptions",we.TYPE],["AudioDataCopyToOptions",we.TYPE],["AudioDataInit",we.TYPE],["AudioDecoderConfig",we.TYPE],["AudioDecoderInit",we.TYPE],["AudioDecoderSupport",we.TYPE],["AudioEncoderConfig",we.TYPE],["AudioEncoderInit",we.TYPE],["AudioEncoderSupport",we.TYPE],["AudioNodeOptions",we.TYPE],["AudioProcessingEventInit",we.TYPE],["AudioTimestamp",we.TYPE],["AudioWorkletNodeOptions",we.TYPE],["AuthenticationExtensionsClientInputs",we.TYPE],["AuthenticationExtensionsClientInputsJSON",we.TYPE],["AuthenticationExtensionsClientOutputs",we.TYPE],["AuthenticationExtensionsLargeBlobInputs",we.TYPE],["AuthenticationExtensionsLargeBlobInputsJSON",we.TYPE],["AuthenticationExtensionsLargeBlobOutputs",we.TYPE],["AuthenticationExtensionsPRFInputs",we.TYPE],["AuthenticationExtensionsPRFInputsJSON",we.TYPE],["AuthenticationExtensionsPRFOutputs",we.TYPE],["AuthenticationExtensionsPRFValues",we.TYPE],["AuthenticationExtensionsPRFValuesJSON",we.TYPE],["AuthenticatorSelectionCriteria",we.TYPE],["AvcEncoderConfig",we.TYPE],["BiquadFilterOptions",we.TYPE],["BlobEventInit",we.TYPE],["BlobPropertyBag",we.TYPE],["CSSMatrixComponentOptions",we.TYPE],["CSSNumericType",we.TYPE],["CSSStyleSheetInit",we.TYPE],["CacheQueryOptions",we.TYPE],["CanvasRenderingContext2DSettings",we.TYPE],["CaretPositionFromPointOptions",we.TYPE],["ChannelMergerOptions",we.TYPE],["ChannelSplitterOptions",we.TYPE],["CheckVisibilityOptions",we.TYPE],["ClientQueryOptions",we.TYPE],["ClipboardEventInit",we.TYPE],["ClipboardItemOptions",we.TYPE],["CloseEventInit",we.TYPE],["CompositionEventInit",we.TYPE],["ComputedEffectTiming",we.TYPE],["ComputedKeyframe",we.TYPE],["ConstantSourceOptions",we.TYPE],["ConstrainBooleanParameters",we.TYPE],["ConstrainDOMStringParameters",we.TYPE],["ConstrainDoubleRange",we.TYPE],["ConstrainULongRange",we.TYPE],["ContentVisibilityAutoStateChangeEventInit",we.TYPE],["ConvolverOptions",we.TYPE],["CookieChangeEventInit",we.TYPE],["CookieInit",we.TYPE],["CookieListItem",we.TYPE],["CookieStoreDeleteOptions",we.TYPE],["CookieStoreGetOptions",we.TYPE],["CredentialCreationOptions",we.TYPE],["CredentialPropertiesOutput",we.TYPE],["CredentialRequestOptions",we.TYPE],["CryptoKeyPair",we.TYPE],["CustomEventInit",we.TYPE],["DOMMatrix2DInit",we.TYPE],["DOMMatrixInit",we.TYPE],["DOMPointInit",we.TYPE],["DOMQuadInit",we.TYPE],["DOMRectInit",we.TYPE],["DelayOptions",we.TYPE],["DeviceMotionEventAccelerationInit",we.TYPE],["DeviceMotionEventInit",we.TYPE],["DeviceMotionEventRotationRateInit",we.TYPE],["DeviceOrientationEventInit",we.TYPE],["DisplayMediaStreamOptions",we.TYPE],["DocumentTimelineOptions",we.TYPE],["DoubleRange",we.TYPE],["DragEventInit",we.TYPE],["DynamicsCompressorOptions",we.TYPE],["EcKeyAlgorithm",we.TYPE],["EcKeyGenParams",we.TYPE],["EcKeyImportParams",we.TYPE],["EcdhKeyDeriveParams",we.TYPE],["EcdsaParams",we.TYPE],["EffectTiming",we.TYPE],["ElementCreationOptions",we.TYPE],["ElementDefinitionOptions",we.TYPE],["EncodedAudioChunkInit",we.TYPE],["EncodedAudioChunkMetadata",we.TYPE],["EncodedVideoChunkInit",we.TYPE],["EncodedVideoChunkMetadata",we.TYPE],["ErrorEventInit",we.TYPE],["EventInit",we.TYPE],["EventListenerOptions",we.TYPE],["EventModifierInit",we.TYPE],["EventSourceInit",we.TYPE],["FilePropertyBag",we.TYPE],["FileSystemCreateWritableOptions",we.TYPE],["FileSystemFlags",we.TYPE],["FileSystemGetDirectoryOptions",we.TYPE],["FileSystemGetFileOptions",we.TYPE],["FileSystemRemoveOptions",we.TYPE],["FocusEventInit",we.TYPE],["FocusOptions",we.TYPE],["FontFaceDescriptors",we.TYPE],["FontFaceSetLoadEventInit",we.TYPE],["FormDataEventInit",we.TYPE],["FullscreenOptions",we.TYPE],["GainOptions",we.TYPE],["GamepadEffectParameters",we.TYPE],["GamepadEventInit",we.TYPE],["GetAnimationsOptions",we.TYPE],["GetComposedRangesOptions",we.TYPE],["GetHTMLOptions",we.TYPE],["GetNotificationOptions",we.TYPE],["GetRootNodeOptions",we.TYPE],["HashChangeEventInit",we.TYPE],["HkdfParams",we.TYPE],["HmacImportParams",we.TYPE],["HmacKeyAlgorithm",we.TYPE],["HmacKeyGenParams",we.TYPE],["IDBDatabaseInfo",we.TYPE],["IDBIndexParameters",we.TYPE],["IDBObjectStoreParameters",we.TYPE],["IDBTransactionOptions",we.TYPE],["IDBVersionChangeEventInit",we.TYPE],["IIRFilterOptions",we.TYPE],["IdleRequestOptions",we.TYPE],["ImageBitmapOptions",we.TYPE],["ImageBitmapRenderingContextSettings",we.TYPE],["ImageDataSettings",we.TYPE],["ImageDecodeOptions",we.TYPE],["ImageDecodeResult",we.TYPE],["ImageDecoderInit",we.TYPE],["ImageEncodeOptions",we.TYPE],["ImportNodeOptions",we.TYPE],["InputEventInit",we.TYPE],["IntersectionObserverInit",we.TYPE],["JsonWebKey",we.TYPE],["KeyAlgorithm",we.TYPE],["KeySystemTrackConfiguration",we.TYPE],["KeyboardEventInit",we.TYPE],["Keyframe",we.TYPE],["KeyframeAnimationOptions",we.TYPE],["KeyframeEffectOptions",we.TYPE],["LockInfo",we.TYPE],["LockManagerSnapshot",we.TYPE],["LockOptions",we.TYPE],["MIDIConnectionEventInit",we.TYPE],["MIDIMessageEventInit",we.TYPE],["MIDIOptions",we.TYPE],["MediaCapabilitiesDecodingInfo",we.TYPE],["MediaCapabilitiesEncodingInfo",we.TYPE],["MediaCapabilitiesInfo",we.TYPE],["MediaCapabilitiesKeySystemConfiguration",we.TYPE],["MediaConfiguration",we.TYPE],["MediaDecodingConfiguration",we.TYPE],["MediaElementAudioSourceOptions",we.TYPE],["MediaEncodingConfiguration",we.TYPE],["MediaEncryptedEventInit",we.TYPE],["MediaImage",we.TYPE],["MediaKeyMessageEventInit",we.TYPE],["MediaKeySystemConfiguration",we.TYPE],["MediaKeySystemMediaCapability",we.TYPE],["MediaKeysPolicy",we.TYPE],["MediaMetadataInit",we.TYPE],["MediaPositionState",we.TYPE],["MediaQueryListEventInit",we.TYPE],["MediaRecorderOptions",we.TYPE],["MediaSessionActionDetails",we.TYPE],["MediaSettingsRange",we.TYPE],["MediaStreamAudioSourceOptions",we.TYPE],["MediaStreamConstraints",we.TYPE],["MediaStreamTrackEventInit",we.TYPE],["MediaTrackCapabilities",we.TYPE],["MediaTrackConstraintSet",we.TYPE],["MediaTrackConstraints",we.TYPE],["MediaTrackSettings",we.TYPE],["MediaTrackSupportedConstraints",we.TYPE],["MessageEventInit",we.TYPE],["MouseEventInit",we.TYPE],["MultiCacheQueryOptions",we.TYPE],["MutationObserverInit",we.TYPE],["NavigationPreloadState",we.TYPE],["NotificationOptions",we.TYPE],["OfflineAudioCompletionEventInit",we.TYPE],["OfflineAudioContextOptions",we.TYPE],["OptionalEffectTiming",we.TYPE],["OpusEncoderConfig",we.TYPE],["OscillatorOptions",we.TYPE],["PageRevealEventInit",we.TYPE],["PageSwapEventInit",we.TYPE],["PageTransitionEventInit",we.TYPE],["PannerOptions",we.TYPE],["PayerErrors",we.TYPE],["PaymentCurrencyAmount",we.TYPE],["PaymentDetailsBase",we.TYPE],["PaymentDetailsInit",we.TYPE],["PaymentDetailsModifier",we.TYPE],["PaymentDetailsUpdate",we.TYPE],["PaymentItem",we.TYPE],["PaymentMethodChangeEventInit",we.TYPE],["PaymentMethodData",we.TYPE],["PaymentOptions",we.TYPE],["PaymentRequestUpdateEventInit",we.TYPE],["PaymentShippingOption",we.TYPE],["PaymentValidationErrors",we.TYPE],["Pbkdf2Params",we.TYPE],["PerformanceMarkOptions",we.TYPE],["PerformanceMeasureOptions",we.TYPE],["PerformanceObserverInit",we.TYPE],["PeriodicWaveConstraints",we.TYPE],["PeriodicWaveOptions",we.TYPE],["PermissionDescriptor",we.TYPE],["PhotoCapabilities",we.TYPE],["PhotoSettings",we.TYPE],["PictureInPictureEventInit",we.TYPE],["PlaneLayout",we.TYPE],["PointerEventInit",we.TYPE],["PointerLockOptions",we.TYPE],["PopStateEventInit",we.TYPE],["PositionOptions",we.TYPE],["ProgressEventInit",we.TYPE],["PromiseRejectionEventInit",we.TYPE],["PropertyDefinition",we.TYPE],["PropertyIndexedKeyframes",we.TYPE],["PublicKeyCredentialCreationOptions",we.TYPE],["PublicKeyCredentialCreationOptionsJSON",we.TYPE],["PublicKeyCredentialDescriptor",we.TYPE],["PublicKeyCredentialDescriptorJSON",we.TYPE],["PublicKeyCredentialEntity",we.TYPE],["PublicKeyCredentialParameters",we.TYPE],["PublicKeyCredentialRequestOptions",we.TYPE],["PublicKeyCredentialRequestOptionsJSON",we.TYPE],["PublicKeyCredentialRpEntity",we.TYPE],["PublicKeyCredentialUserEntity",we.TYPE],["PublicKeyCredentialUserEntityJSON",we.TYPE],["PushSubscriptionJSON",we.TYPE],["PushSubscriptionOptionsInit",we.TYPE],["QueuingStrategy",we.TYPE],["QueuingStrategyInit",we.TYPE],["RTCAnswerOptions",we.TYPE],["RTCCertificateExpiration",we.TYPE],["RTCConfiguration",we.TYPE],["RTCDTMFToneChangeEventInit",we.TYPE],["RTCDataChannelEventInit",we.TYPE],["RTCDataChannelInit",we.TYPE],["RTCDtlsFingerprint",we.TYPE],["RTCEncodedAudioFrameMetadata",we.TYPE],["RTCEncodedFrameMetadata",we.TYPE],["RTCEncodedVideoFrameMetadata",we.TYPE],["RTCErrorEventInit",we.TYPE],["RTCErrorInit",we.TYPE],["RTCIceCandidateInit",we.TYPE],["RTCIceCandidatePairStats",we.TYPE],["RTCIceServer",we.TYPE],["RTCInboundRtpStreamStats",we.TYPE],["RTCLocalIceCandidateInit",we.TYPE],["RTCLocalSessionDescriptionInit",we.TYPE],["RTCOfferAnswerOptions",we.TYPE],["RTCOfferOptions",we.TYPE],["RTCOutboundRtpStreamStats",we.TYPE],["RTCPeerConnectionIceErrorEventInit",we.TYPE],["RTCPeerConnectionIceEventInit",we.TYPE],["RTCReceivedRtpStreamStats",we.TYPE],["RTCRtcpParameters",we.TYPE],["RTCRtpCapabilities",we.TYPE],["RTCRtpCodec",we.TYPE],["RTCRtpCodecParameters",we.TYPE],["RTCRtpCodingParameters",we.TYPE],["RTCRtpContributingSource",we.TYPE],["RTCRtpEncodingParameters",we.TYPE],["RTCRtpHeaderExtensionCapability",we.TYPE],["RTCRtpHeaderExtensionParameters",we.TYPE],["RTCRtpParameters",we.TYPE],["RTCRtpReceiveParameters",we.TYPE],["RTCRtpSendParameters",we.TYPE],["RTCRtpStreamStats",we.TYPE],["RTCRtpSynchronizationSource",we.TYPE],["RTCRtpTransceiverInit",we.TYPE],["RTCSentRtpStreamStats",we.TYPE],["RTCSessionDescriptionInit",we.TYPE],["RTCSetParameterOptions",we.TYPE],["RTCStats",we.TYPE],["RTCTrackEventInit",we.TYPE],["RTCTransportStats",we.TYPE],["ReadableStreamGetReaderOptions",we.TYPE],["ReadableStreamIteratorOptions",we.TYPE],["ReadableStreamReadDoneResult",we.TYPE],["ReadableStreamReadValueResult",we.TYPE],["ReadableWritablePair",we.TYPE],["RegistrationOptions",we.TYPE],["ReportingObserverOptions",we.TYPE],["RequestInit",we.TYPE],["ResizeObserverOptions",we.TYPE],["ResponseInit",we.TYPE],["RsaHashedImportParams",we.TYPE],["RsaHashedKeyAlgorithm",we.TYPE],["RsaHashedKeyGenParams",we.TYPE],["RsaKeyAlgorithm",we.TYPE],["RsaKeyGenParams",we.TYPE],["RsaOaepParams",we.TYPE],["RsaOtherPrimesInfo",we.TYPE],["RsaPssParams",we.TYPE],["SVGBoundingBoxOptions",we.TYPE],["ScrollIntoViewOptions",we.TYPE],["ScrollOptions",we.TYPE],["ScrollToOptions",we.TYPE],["SecurityPolicyViolationEventInit",we.TYPE],["ShadowRootInit",we.TYPE],["ShareData",we.TYPE],["SpeechSynthesisErrorEventInit",we.TYPE],["SpeechSynthesisEventInit",we.TYPE],["StartViewTransitionOptions",we.TYPE],["StaticRangeInit",we.TYPE],["StereoPannerOptions",we.TYPE],["StorageEstimate",we.TYPE],["StorageEventInit",we.TYPE],["StreamPipeOptions",we.TYPE],["StructuredSerializeOptions",we.TYPE],["SubmitEventInit",we.TYPE],["TextDecodeOptions",we.TYPE],["TextDecoderOptions",we.TYPE],["TextEncoderEncodeIntoResult",we.TYPE],["ToggleEventInit",we.TYPE],["TouchEventInit",we.TYPE],["TouchInit",we.TYPE],["TrackEventInit",we.TYPE],["Transformer",we.TYPE],["TransitionEventInit",we.TYPE],["UIEventInit",we.TYPE],["ULongRange",we.TYPE],["UnderlyingByteSource",we.TYPE],["UnderlyingDefaultSource",we.TYPE],["UnderlyingSink",we.TYPE],["UnderlyingSource",we.TYPE],["ValidityStateFlags",we.TYPE],["VideoColorSpaceInit",we.TYPE],["VideoConfiguration",we.TYPE],["VideoDecoderConfig",we.TYPE],["VideoDecoderInit",we.TYPE],["VideoDecoderSupport",we.TYPE],["VideoEncoderConfig",we.TYPE],["VideoEncoderEncodeOptions",we.TYPE],["VideoEncoderEncodeOptionsForAvc",we.TYPE],["VideoEncoderInit",we.TYPE],["VideoEncoderSupport",we.TYPE],["VideoFrameBufferInit",we.TYPE],["VideoFrameCallbackMetadata",we.TYPE],["VideoFrameCopyToOptions",we.TYPE],["VideoFrameInit",we.TYPE],["WaveShaperOptions",we.TYPE],["WebGLContextAttributes",we.TYPE],["WebGLContextEventInit",we.TYPE],["WebTransportCloseInfo",we.TYPE],["WebTransportErrorOptions",we.TYPE],["WebTransportHash",we.TYPE],["WebTransportOptions",we.TYPE],["WebTransportSendOptions",we.TYPE],["WebTransportSendStreamOptions",we.TYPE],["WheelEventInit",we.TYPE],["WindowPostMessageOptions",we.TYPE],["WorkerOptions",we.TYPE],["WorkletOptions",we.TYPE],["WriteParams",we.TYPE],["NodeFilter",we.TYPE_VALUE],["XPathNSResolver",we.TYPE],["ANGLE_instanced_arrays",we.TYPE],["ARIAMixin",we.TYPE],["AbortController",we.TYPE_VALUE],["AbortSignalEventMap",we.TYPE],["AbortSignal",we.TYPE_VALUE],["AbstractRange",we.TYPE_VALUE],["AbstractWorkerEventMap",we.TYPE],["AbstractWorker",we.TYPE],["AnalyserNode",we.TYPE_VALUE],["Animatable",we.TYPE],["AnimationEventMap",we.TYPE],["Animation",we.TYPE_VALUE],["AnimationEffect",we.TYPE_VALUE],["AnimationEvent",we.TYPE_VALUE],["AnimationFrameProvider",we.TYPE],["AnimationPlaybackEvent",we.TYPE_VALUE],["AnimationTimeline",we.TYPE_VALUE],["Attr",we.TYPE_VALUE],["AudioBuffer",we.TYPE_VALUE],["AudioBufferSourceNode",we.TYPE_VALUE],["AudioContext",we.TYPE_VALUE],["AudioData",we.TYPE_VALUE],["AudioDecoderEventMap",we.TYPE],["AudioDecoder",we.TYPE_VALUE],["AudioDestinationNode",we.TYPE_VALUE],["AudioEncoderEventMap",we.TYPE],["AudioEncoder",we.TYPE_VALUE],["AudioListener",we.TYPE_VALUE],["AudioNode",we.TYPE_VALUE],["AudioParam",we.TYPE_VALUE],["AudioParamMap",we.TYPE_VALUE],["AudioProcessingEvent",we.TYPE_VALUE],["AudioScheduledSourceNodeEventMap",we.TYPE],["AudioScheduledSourceNode",we.TYPE_VALUE],["AudioWorklet",we.TYPE_VALUE],["AudioWorkletNodeEventMap",we.TYPE],["AudioWorkletNode",we.TYPE_VALUE],["AuthenticatorAssertionResponse",we.TYPE_VALUE],["AuthenticatorAttestationResponse",we.TYPE_VALUE],["AuthenticatorResponse",we.TYPE_VALUE],["BarProp",we.TYPE_VALUE],["BaseAudioContextEventMap",we.TYPE],["BaseAudioContext",we.TYPE_VALUE],["BeforeUnloadEvent",we.TYPE_VALUE],["BiquadFilterNode",we.TYPE_VALUE],["Blob",we.TYPE_VALUE],["BlobEvent",we.TYPE_VALUE],["Body",we.TYPE],["BroadcastChannelEventMap",we.TYPE],["BroadcastChannel",we.TYPE_VALUE],["ByteLengthQueuingStrategy",we.TYPE_VALUE],["CDATASection",we.TYPE_VALUE],["CSPViolationReportBody",we.TYPE_VALUE],["CSSAnimation",we.TYPE_VALUE],["CSSConditionRule",we.TYPE_VALUE],["CSSContainerRule",we.TYPE_VALUE],["CSSCounterStyleRule",we.TYPE_VALUE],["CSSFontFaceRule",we.TYPE_VALUE],["CSSFontFeatureValuesRule",we.TYPE_VALUE],["CSSFontPaletteValuesRule",we.TYPE_VALUE],["CSSGroupingRule",we.TYPE_VALUE],["CSSImageValue",we.TYPE_VALUE],["CSSImportRule",we.TYPE_VALUE],["CSSKeyframeRule",we.TYPE_VALUE],["CSSKeyframesRule",we.TYPE_VALUE],["CSSKeywordValue",we.TYPE_VALUE],["CSSLayerBlockRule",we.TYPE_VALUE],["CSSLayerStatementRule",we.TYPE_VALUE],["CSSMathClamp",we.TYPE_VALUE],["CSSMathInvert",we.TYPE_VALUE],["CSSMathMax",we.TYPE_VALUE],["CSSMathMin",we.TYPE_VALUE],["CSSMathNegate",we.TYPE_VALUE],["CSSMathProduct",we.TYPE_VALUE],["CSSMathSum",we.TYPE_VALUE],["CSSMathValue",we.TYPE_VALUE],["CSSMatrixComponent",we.TYPE_VALUE],["CSSMediaRule",we.TYPE_VALUE],["CSSNamespaceRule",we.TYPE_VALUE],["CSSNestedDeclarations",we.TYPE_VALUE],["CSSNumericArray",we.TYPE_VALUE],["CSSNumericValue",we.TYPE_VALUE],["CSSPageRule",we.TYPE_VALUE],["CSSPerspective",we.TYPE_VALUE],["CSSPropertyRule",we.TYPE_VALUE],["CSSRotate",we.TYPE_VALUE],["CSSRule",we.TYPE_VALUE],["CSSRuleList",we.TYPE_VALUE],["CSSScale",we.TYPE_VALUE],["CSSScopeRule",we.TYPE_VALUE],["CSSSkew",we.TYPE_VALUE],["CSSSkewX",we.TYPE_VALUE],["CSSSkewY",we.TYPE_VALUE],["CSSStartingStyleRule",we.TYPE_VALUE],["CSSStyleDeclaration",we.TYPE_VALUE],["CSSStyleRule",we.TYPE_VALUE],["CSSStyleSheet",we.TYPE_VALUE],["CSSStyleValue",we.TYPE_VALUE],["CSSSupportsRule",we.TYPE_VALUE],["CSSTransformComponent",we.TYPE_VALUE],["CSSTransformValue",we.TYPE_VALUE],["CSSTransition",we.TYPE_VALUE],["CSSTranslate",we.TYPE_VALUE],["CSSUnitValue",we.TYPE_VALUE],["CSSUnparsedValue",we.TYPE_VALUE],["CSSVariableReferenceValue",we.TYPE_VALUE],["CSSViewTransitionRule",we.TYPE_VALUE],["Cache",we.TYPE_VALUE],["CacheStorage",we.TYPE_VALUE],["CanvasCaptureMediaStreamTrack",we.TYPE_VALUE],["CanvasCompositing",we.TYPE],["CanvasDrawImage",we.TYPE],["CanvasDrawPath",we.TYPE],["CanvasFillStrokeStyles",we.TYPE],["CanvasFilters",we.TYPE],["CanvasGradient",we.TYPE_VALUE],["CanvasImageData",we.TYPE],["CanvasImageSmoothing",we.TYPE],["CanvasPath",we.TYPE],["CanvasPathDrawingStyles",we.TYPE],["CanvasPattern",we.TYPE_VALUE],["CanvasRect",we.TYPE],["CanvasRenderingContext2D",we.TYPE_VALUE],["CanvasSettings",we.TYPE],["CanvasShadowStyles",we.TYPE],["CanvasState",we.TYPE],["CanvasText",we.TYPE],["CanvasTextDrawingStyles",we.TYPE],["CanvasTransform",we.TYPE],["CanvasUserInterface",we.TYPE],["CaretPosition",we.TYPE_VALUE],["ChannelMergerNode",we.TYPE_VALUE],["ChannelSplitterNode",we.TYPE_VALUE],["CharacterData",we.TYPE_VALUE],["ChildNode",we.TYPE],["ClientRect",we.TYPE],["Clipboard",we.TYPE_VALUE],["ClipboardEvent",we.TYPE_VALUE],["ClipboardItem",we.TYPE_VALUE],["CloseEvent",we.TYPE_VALUE],["Comment",we.TYPE_VALUE],["CompositionEvent",we.TYPE_VALUE],["CompressionStream",we.TYPE_VALUE],["ConstantSourceNode",we.TYPE_VALUE],["ContentVisibilityAutoStateChangeEvent",we.TYPE_VALUE],["ConvolverNode",we.TYPE_VALUE],["CookieChangeEvent",we.TYPE_VALUE],["CookieStoreEventMap",we.TYPE],["CookieStore",we.TYPE_VALUE],["CookieStoreManager",we.TYPE_VALUE],["CountQueuingStrategy",we.TYPE_VALUE],["Credential",we.TYPE_VALUE],["CredentialsContainer",we.TYPE_VALUE],["Crypto",we.TYPE_VALUE],["CryptoKey",we.TYPE_VALUE],["CustomElementRegistry",we.TYPE_VALUE],["CustomEvent",we.TYPE_VALUE],["CustomStateSet",we.TYPE_VALUE],["DOMException",we.TYPE_VALUE],["DOMImplementation",we.TYPE_VALUE],["DOMMatrix",we.TYPE_VALUE],["SVGMatrix",we.TYPE_VALUE],["WebKitCSSMatrix",we.TYPE_VALUE],["DOMMatrixReadOnly",we.TYPE_VALUE],["DOMParser",we.TYPE_VALUE],["DOMPoint",we.TYPE_VALUE],["SVGPoint",we.TYPE_VALUE],["DOMPointReadOnly",we.TYPE_VALUE],["DOMQuad",we.TYPE_VALUE],["DOMRect",we.TYPE_VALUE],["SVGRect",we.TYPE_VALUE],["DOMRectList",we.TYPE_VALUE],["DOMRectReadOnly",we.TYPE_VALUE],["DOMStringList",we.TYPE_VALUE],["DOMStringMap",we.TYPE_VALUE],["DOMTokenList",we.TYPE_VALUE],["DataTransfer",we.TYPE_VALUE],["DataTransferItem",we.TYPE_VALUE],["DataTransferItemList",we.TYPE_VALUE],["DecompressionStream",we.TYPE_VALUE],["DelayNode",we.TYPE_VALUE],["DeviceMotionEvent",we.TYPE_VALUE],["DeviceMotionEventAcceleration",we.TYPE],["DeviceMotionEventRotationRate",we.TYPE],["DeviceOrientationEvent",we.TYPE_VALUE],["DocumentEventMap",we.TYPE],["Document",we.TYPE_VALUE],["DocumentFragment",we.TYPE_VALUE],["DocumentOrShadowRoot",we.TYPE],["DocumentTimeline",we.TYPE_VALUE],["DocumentType",we.TYPE_VALUE],["DragEvent",we.TYPE_VALUE],["DynamicsCompressorNode",we.TYPE_VALUE],["EXT_blend_minmax",we.TYPE],["EXT_color_buffer_float",we.TYPE],["EXT_color_buffer_half_float",we.TYPE],["EXT_float_blend",we.TYPE],["EXT_frag_depth",we.TYPE],["EXT_sRGB",we.TYPE],["EXT_shader_texture_lod",we.TYPE],["EXT_texture_compression_bptc",we.TYPE],["EXT_texture_compression_rgtc",we.TYPE],["EXT_texture_filter_anisotropic",we.TYPE],["EXT_texture_norm16",we.TYPE],["ElementEventMap",we.TYPE],["Element",we.TYPE_VALUE],["ElementCSSInlineStyle",we.TYPE],["ElementContentEditable",we.TYPE],["ElementInternals",we.TYPE_VALUE],["EncodedAudioChunk",we.TYPE_VALUE],["EncodedVideoChunk",we.TYPE_VALUE],["ErrorEvent",we.TYPE_VALUE],["Event",we.TYPE_VALUE],["EventCounts",we.TYPE_VALUE],["EventListener",we.TYPE],["EventListenerObject",we.TYPE],["EventSourceEventMap",we.TYPE],["EventSource",we.TYPE_VALUE],["EventTarget",we.TYPE_VALUE],["External",we.TYPE_VALUE],["File",we.TYPE_VALUE],["FileList",we.TYPE_VALUE],["FileReaderEventMap",we.TYPE],["FileReader",we.TYPE_VALUE],["FileSystem",we.TYPE_VALUE],["FileSystemDirectoryEntry",we.TYPE_VALUE],["FileSystemDirectoryHandle",we.TYPE_VALUE],["FileSystemDirectoryReader",we.TYPE_VALUE],["FileSystemEntry",we.TYPE_VALUE],["FileSystemFileEntry",we.TYPE_VALUE],["FileSystemFileHandle",we.TYPE_VALUE],["FileSystemHandle",we.TYPE_VALUE],["FileSystemWritableFileStream",we.TYPE_VALUE],["FocusEvent",we.TYPE_VALUE],["FontFace",we.TYPE_VALUE],["FontFaceSetEventMap",we.TYPE],["FontFaceSet",we.TYPE_VALUE],["FontFaceSetLoadEvent",we.TYPE_VALUE],["FontFaceSource",we.TYPE],["FormData",we.TYPE_VALUE],["FormDataEvent",we.TYPE_VALUE],["FragmentDirective",we.TYPE_VALUE],["GPUError",we.TYPE],["GainNode",we.TYPE_VALUE],["Gamepad",we.TYPE_VALUE],["GamepadButton",we.TYPE_VALUE],["GamepadEvent",we.TYPE_VALUE],["GamepadHapticActuator",we.TYPE_VALUE],["GenericTransformStream",we.TYPE],["Geolocation",we.TYPE_VALUE],["GeolocationCoordinates",we.TYPE_VALUE],["GeolocationPosition",we.TYPE_VALUE],["GeolocationPositionError",we.TYPE_VALUE],["GlobalEventHandlersEventMap",we.TYPE],["GlobalEventHandlers",we.TYPE],["HTMLAllCollection",we.TYPE_VALUE],["HTMLAnchorElement",we.TYPE_VALUE],["HTMLAreaElement",we.TYPE_VALUE],["HTMLAudioElement",we.TYPE_VALUE],["HTMLBRElement",we.TYPE_VALUE],["HTMLBaseElement",we.TYPE_VALUE],["HTMLBodyElementEventMap",we.TYPE],["HTMLBodyElement",we.TYPE_VALUE],["HTMLButtonElement",we.TYPE_VALUE],["HTMLCanvasElement",we.TYPE_VALUE],["HTMLCollectionBase",we.TYPE],["HTMLCollection",we.TYPE_VALUE],["HTMLCollectionOf",we.TYPE],["HTMLDListElement",we.TYPE_VALUE],["HTMLDataElement",we.TYPE_VALUE],["HTMLDataListElement",we.TYPE_VALUE],["HTMLDetailsElement",we.TYPE_VALUE],["HTMLDialogElement",we.TYPE_VALUE],["HTMLDirectoryElement",we.TYPE_VALUE],["HTMLDivElement",we.TYPE_VALUE],["HTMLDocument",we.TYPE_VALUE],["HTMLElementEventMap",we.TYPE],["HTMLElement",we.TYPE_VALUE],["HTMLEmbedElement",we.TYPE_VALUE],["HTMLFieldSetElement",we.TYPE_VALUE],["HTMLFontElement",we.TYPE_VALUE],["HTMLFormControlsCollection",we.TYPE_VALUE],["HTMLFormElement",we.TYPE_VALUE],["HTMLFrameElement",we.TYPE_VALUE],["HTMLFrameSetElementEventMap",we.TYPE],["HTMLFrameSetElement",we.TYPE_VALUE],["HTMLHRElement",we.TYPE_VALUE],["HTMLHeadElement",we.TYPE_VALUE],["HTMLHeadingElement",we.TYPE_VALUE],["HTMLHtmlElement",we.TYPE_VALUE],["HTMLHyperlinkElementUtils",we.TYPE],["HTMLIFrameElement",we.TYPE_VALUE],["HTMLImageElement",we.TYPE_VALUE],["HTMLInputElement",we.TYPE_VALUE],["HTMLLIElement",we.TYPE_VALUE],["HTMLLabelElement",we.TYPE_VALUE],["HTMLLegendElement",we.TYPE_VALUE],["HTMLLinkElement",we.TYPE_VALUE],["HTMLMapElement",we.TYPE_VALUE],["HTMLMarqueeElement",we.TYPE_VALUE],["HTMLMediaElementEventMap",we.TYPE],["HTMLMediaElement",we.TYPE_VALUE],["HTMLMenuElement",we.TYPE_VALUE],["HTMLMetaElement",we.TYPE_VALUE],["HTMLMeterElement",we.TYPE_VALUE],["HTMLModElement",we.TYPE_VALUE],["HTMLOListElement",we.TYPE_VALUE],["HTMLObjectElement",we.TYPE_VALUE],["HTMLOptGroupElement",we.TYPE_VALUE],["HTMLOptionElement",we.TYPE_VALUE],["HTMLOptionsCollection",we.TYPE_VALUE],["HTMLOrSVGElement",we.TYPE],["HTMLOutputElement",we.TYPE_VALUE],["HTMLParagraphElement",we.TYPE_VALUE],["HTMLParamElement",we.TYPE_VALUE],["HTMLPictureElement",we.TYPE_VALUE],["HTMLPreElement",we.TYPE_VALUE],["HTMLProgressElement",we.TYPE_VALUE],["HTMLQuoteElement",we.TYPE_VALUE],["HTMLScriptElement",we.TYPE_VALUE],["HTMLSelectElement",we.TYPE_VALUE],["HTMLSlotElement",we.TYPE_VALUE],["HTMLSourceElement",we.TYPE_VALUE],["HTMLSpanElement",we.TYPE_VALUE],["HTMLStyleElement",we.TYPE_VALUE],["HTMLTableCaptionElement",we.TYPE_VALUE],["HTMLTableCellElement",we.TYPE_VALUE],["HTMLTableColElement",we.TYPE_VALUE],["HTMLTableDataCellElement",we.TYPE],["HTMLTableElement",we.TYPE_VALUE],["HTMLTableHeaderCellElement",we.TYPE],["HTMLTableRowElement",we.TYPE_VALUE],["HTMLTableSectionElement",we.TYPE_VALUE],["HTMLTemplateElement",we.TYPE_VALUE],["HTMLTextAreaElement",we.TYPE_VALUE],["HTMLTimeElement",we.TYPE_VALUE],["HTMLTitleElement",we.TYPE_VALUE],["HTMLTrackElement",we.TYPE_VALUE],["HTMLUListElement",we.TYPE_VALUE],["HTMLUnknownElement",we.TYPE_VALUE],["HTMLVideoElementEventMap",we.TYPE],["HTMLVideoElement",we.TYPE_VALUE],["HashChangeEvent",we.TYPE_VALUE],["Headers",we.TYPE_VALUE],["Highlight",we.TYPE_VALUE],["HighlightRegistry",we.TYPE_VALUE],["History",we.TYPE_VALUE],["IDBCursor",we.TYPE_VALUE],["IDBCursorWithValue",we.TYPE_VALUE],["IDBDatabaseEventMap",we.TYPE],["IDBDatabase",we.TYPE_VALUE],["IDBFactory",we.TYPE_VALUE],["IDBIndex",we.TYPE_VALUE],["IDBKeyRange",we.TYPE_VALUE],["IDBObjectStore",we.TYPE_VALUE],["IDBOpenDBRequestEventMap",we.TYPE],["IDBOpenDBRequest",we.TYPE_VALUE],["IDBRequestEventMap",we.TYPE],["IDBRequest",we.TYPE_VALUE],["IDBTransactionEventMap",we.TYPE],["IDBTransaction",we.TYPE_VALUE],["IDBVersionChangeEvent",we.TYPE_VALUE],["IIRFilterNode",we.TYPE_VALUE],["IdleDeadline",we.TYPE_VALUE],["ImageBitmap",we.TYPE_VALUE],["ImageBitmapRenderingContext",we.TYPE_VALUE],["ImageCapture",we.TYPE_VALUE],["ImageData",we.TYPE_VALUE],["ImageDecoder",we.TYPE_VALUE],["ImageTrack",we.TYPE_VALUE],["ImageTrackList",we.TYPE_VALUE],["ImportMeta",we.TYPE],["InputDeviceInfo",we.TYPE_VALUE],["InputEvent",we.TYPE_VALUE],["IntersectionObserver",we.TYPE_VALUE],["IntersectionObserverEntry",we.TYPE_VALUE],["KHR_parallel_shader_compile",we.TYPE],["KeyboardEvent",we.TYPE_VALUE],["KeyframeEffect",we.TYPE_VALUE],["LargestContentfulPaint",we.TYPE_VALUE],["LinkStyle",we.TYPE],["Location",we.TYPE_VALUE],["Lock",we.TYPE_VALUE],["LockManager",we.TYPE_VALUE],["MIDIAccessEventMap",we.TYPE],["MIDIAccess",we.TYPE_VALUE],["MIDIConnectionEvent",we.TYPE_VALUE],["MIDIInputEventMap",we.TYPE],["MIDIInput",we.TYPE_VALUE],["MIDIInputMap",we.TYPE_VALUE],["MIDIMessageEvent",we.TYPE_VALUE],["MIDIOutput",we.TYPE_VALUE],["MIDIOutputMap",we.TYPE_VALUE],["MIDIPortEventMap",we.TYPE],["MIDIPort",we.TYPE_VALUE],["MathMLElementEventMap",we.TYPE],["MathMLElement",we.TYPE_VALUE],["MediaCapabilities",we.TYPE_VALUE],["MediaDeviceInfo",we.TYPE_VALUE],["MediaDevicesEventMap",we.TYPE],["MediaDevices",we.TYPE_VALUE],["MediaElementAudioSourceNode",we.TYPE_VALUE],["MediaEncryptedEvent",we.TYPE_VALUE],["MediaError",we.TYPE_VALUE],["MediaKeyMessageEvent",we.TYPE_VALUE],["MediaKeySessionEventMap",we.TYPE],["MediaKeySession",we.TYPE_VALUE],["MediaKeyStatusMap",we.TYPE_VALUE],["MediaKeySystemAccess",we.TYPE_VALUE],["MediaKeys",we.TYPE_VALUE],["MediaList",we.TYPE_VALUE],["MediaMetadata",we.TYPE_VALUE],["MediaQueryListEventMap",we.TYPE],["MediaQueryList",we.TYPE_VALUE],["MediaQueryListEvent",we.TYPE_VALUE],["MediaRecorderEventMap",we.TYPE],["MediaRecorder",we.TYPE_VALUE],["MediaSession",we.TYPE_VALUE],["MediaSourceEventMap",we.TYPE],["MediaSource",we.TYPE_VALUE],["MediaSourceHandle",we.TYPE_VALUE],["MediaStreamEventMap",we.TYPE],["MediaStream",we.TYPE_VALUE],["MediaStreamAudioDestinationNode",we.TYPE_VALUE],["MediaStreamAudioSourceNode",we.TYPE_VALUE],["MediaStreamTrackEventMap",we.TYPE],["MediaStreamTrack",we.TYPE_VALUE],["MediaStreamTrackEvent",we.TYPE_VALUE],["MessageChannel",we.TYPE_VALUE],["MessageEvent",we.TYPE_VALUE],["MessageEventTargetEventMap",we.TYPE],["MessageEventTarget",we.TYPE],["MessagePortEventMap",we.TYPE],["MessagePort",we.TYPE_VALUE],["MimeType",we.TYPE_VALUE],["MimeTypeArray",we.TYPE_VALUE],["MouseEvent",we.TYPE_VALUE],["MutationObserver",we.TYPE_VALUE],["MutationRecord",we.TYPE_VALUE],["NamedNodeMap",we.TYPE_VALUE],["NavigationActivation",we.TYPE_VALUE],["NavigationHistoryEntryEventMap",we.TYPE],["NavigationHistoryEntry",we.TYPE_VALUE],["NavigationPreloadManager",we.TYPE_VALUE],["Navigator",we.TYPE_VALUE],["NavigatorAutomationInformation",we.TYPE],["NavigatorBadge",we.TYPE],["NavigatorConcurrentHardware",we.TYPE],["NavigatorContentUtils",we.TYPE],["NavigatorCookies",we.TYPE],["NavigatorID",we.TYPE],["NavigatorLanguage",we.TYPE],["NavigatorLocks",we.TYPE],["NavigatorLogin",we.TYPE_VALUE],["NavigatorOnLine",we.TYPE],["NavigatorPlugins",we.TYPE],["NavigatorStorage",we.TYPE],["Node",we.TYPE_VALUE],["NodeIterator",we.TYPE_VALUE],["NodeList",we.TYPE_VALUE],["NodeListOf",we.TYPE],["NonDocumentTypeChildNode",we.TYPE],["NonElementParentNode",we.TYPE],["NotificationEventMap",we.TYPE],["Notification",we.TYPE_VALUE],["OES_draw_buffers_indexed",we.TYPE],["OES_element_index_uint",we.TYPE],["OES_fbo_render_mipmap",we.TYPE],["OES_standard_derivatives",we.TYPE],["OES_texture_float",we.TYPE],["OES_texture_float_linear",we.TYPE],["OES_texture_half_float",we.TYPE],["OES_texture_half_float_linear",we.TYPE],["OES_vertex_array_object",we.TYPE],["OVR_multiview2",we.TYPE],["OfflineAudioCompletionEvent",we.TYPE_VALUE],["OfflineAudioContextEventMap",we.TYPE],["OfflineAudioContext",we.TYPE_VALUE],["OffscreenCanvasEventMap",we.TYPE],["OffscreenCanvas",we.TYPE_VALUE],["OffscreenCanvasRenderingContext2D",we.TYPE_VALUE],["OscillatorNode",we.TYPE_VALUE],["OverconstrainedError",we.TYPE_VALUE],["PageRevealEvent",we.TYPE_VALUE],["PageSwapEvent",we.TYPE_VALUE],["PageTransitionEvent",we.TYPE_VALUE],["PannerNode",we.TYPE_VALUE],["ParentNode",we.TYPE],["Path2D",we.TYPE_VALUE],["PaymentAddress",we.TYPE_VALUE],["PaymentMethodChangeEvent",we.TYPE_VALUE],["PaymentRequestEventMap",we.TYPE],["PaymentRequest",we.TYPE_VALUE],["PaymentRequestUpdateEvent",we.TYPE_VALUE],["PaymentResponseEventMap",we.TYPE],["PaymentResponse",we.TYPE_VALUE],["PerformanceEventMap",we.TYPE],["Performance",we.TYPE_VALUE],["PerformanceEntry",we.TYPE_VALUE],["PerformanceEventTiming",we.TYPE_VALUE],["PerformanceMark",we.TYPE_VALUE],["PerformanceMeasure",we.TYPE_VALUE],["PerformanceNavigation",we.TYPE_VALUE],["PerformanceNavigationTiming",we.TYPE_VALUE],["PerformanceObserver",we.TYPE_VALUE],["PerformanceObserverEntryList",we.TYPE_VALUE],["PerformancePaintTiming",we.TYPE_VALUE],["PerformanceResourceTiming",we.TYPE_VALUE],["PerformanceServerTiming",we.TYPE_VALUE],["PerformanceTiming",we.TYPE_VALUE],["PeriodicWave",we.TYPE_VALUE],["PermissionStatusEventMap",we.TYPE],["PermissionStatus",we.TYPE_VALUE],["Permissions",we.TYPE_VALUE],["PictureInPictureEvent",we.TYPE_VALUE],["PictureInPictureWindowEventMap",we.TYPE],["PictureInPictureWindow",we.TYPE_VALUE],["Plugin",we.TYPE_VALUE],["PluginArray",we.TYPE_VALUE],["PointerEvent",we.TYPE_VALUE],["PopStateEvent",we.TYPE_VALUE],["PopoverInvokerElement",we.TYPE],["ProcessingInstruction",we.TYPE_VALUE],["ProgressEvent",we.TYPE_VALUE],["PromiseRejectionEvent",we.TYPE_VALUE],["PublicKeyCredential",we.TYPE_VALUE],["PushManager",we.TYPE_VALUE],["PushSubscription",we.TYPE_VALUE],["PushSubscriptionOptions",we.TYPE_VALUE],["RTCCertificate",we.TYPE_VALUE],["RTCDTMFSenderEventMap",we.TYPE],["RTCDTMFSender",we.TYPE_VALUE],["RTCDTMFToneChangeEvent",we.TYPE_VALUE],["RTCDataChannelEventMap",we.TYPE],["RTCDataChannel",we.TYPE_VALUE],["RTCDataChannelEvent",we.TYPE_VALUE],["RTCDtlsTransportEventMap",we.TYPE],["RTCDtlsTransport",we.TYPE_VALUE],["RTCEncodedAudioFrame",we.TYPE_VALUE],["RTCEncodedVideoFrame",we.TYPE_VALUE],["RTCError",we.TYPE_VALUE],["RTCErrorEvent",we.TYPE_VALUE],["RTCIceCandidate",we.TYPE_VALUE],["RTCIceCandidatePair",we.TYPE],["RTCIceTransportEventMap",we.TYPE],["RTCIceTransport",we.TYPE_VALUE],["RTCPeerConnectionEventMap",we.TYPE],["RTCPeerConnection",we.TYPE_VALUE],["RTCPeerConnectionIceErrorEvent",we.TYPE_VALUE],["RTCPeerConnectionIceEvent",we.TYPE_VALUE],["RTCRtpReceiver",we.TYPE_VALUE],["RTCRtpScriptTransform",we.TYPE_VALUE],["RTCRtpSender",we.TYPE_VALUE],["RTCRtpTransceiver",we.TYPE_VALUE],["RTCSctpTransportEventMap",we.TYPE],["RTCSctpTransport",we.TYPE_VALUE],["RTCSessionDescription",we.TYPE_VALUE],["RTCStatsReport",we.TYPE_VALUE],["RTCTrackEvent",we.TYPE_VALUE],["RadioNodeList",we.TYPE_VALUE],["Range",we.TYPE_VALUE],["ReadableByteStreamController",we.TYPE_VALUE],["ReadableStream",we.TYPE_VALUE],["ReadableStreamBYOBReader",we.TYPE_VALUE],["ReadableStreamBYOBRequest",we.TYPE_VALUE],["ReadableStreamDefaultController",we.TYPE_VALUE],["ReadableStreamDefaultReader",we.TYPE_VALUE],["ReadableStreamGenericReader",we.TYPE],["RemotePlaybackEventMap",we.TYPE],["RemotePlayback",we.TYPE_VALUE],["Report",we.TYPE_VALUE],["ReportBody",we.TYPE_VALUE],["ReportingObserver",we.TYPE_VALUE],["Request",we.TYPE_VALUE],["ResizeObserver",we.TYPE_VALUE],["ResizeObserverEntry",we.TYPE_VALUE],["ResizeObserverSize",we.TYPE_VALUE],["Response",we.TYPE_VALUE],["SVGAElement",we.TYPE_VALUE],["SVGAngle",we.TYPE_VALUE],["SVGAnimateElement",we.TYPE_VALUE],["SVGAnimateMotionElement",we.TYPE_VALUE],["SVGAnimateTransformElement",we.TYPE_VALUE],["SVGAnimatedAngle",we.TYPE_VALUE],["SVGAnimatedBoolean",we.TYPE_VALUE],["SVGAnimatedEnumeration",we.TYPE_VALUE],["SVGAnimatedInteger",we.TYPE_VALUE],["SVGAnimatedLength",we.TYPE_VALUE],["SVGAnimatedLengthList",we.TYPE_VALUE],["SVGAnimatedNumber",we.TYPE_VALUE],["SVGAnimatedNumberList",we.TYPE_VALUE],["SVGAnimatedPoints",we.TYPE],["SVGAnimatedPreserveAspectRatio",we.TYPE_VALUE],["SVGAnimatedRect",we.TYPE_VALUE],["SVGAnimatedString",we.TYPE_VALUE],["SVGAnimatedTransformList",we.TYPE_VALUE],["SVGAnimationElement",we.TYPE_VALUE],["SVGCircleElement",we.TYPE_VALUE],["SVGClipPathElement",we.TYPE_VALUE],["SVGComponentTransferFunctionElement",we.TYPE_VALUE],["SVGDefsElement",we.TYPE_VALUE],["SVGDescElement",we.TYPE_VALUE],["SVGElementEventMap",we.TYPE],["SVGElement",we.TYPE_VALUE],["SVGEllipseElement",we.TYPE_VALUE],["SVGFEBlendElement",we.TYPE_VALUE],["SVGFEColorMatrixElement",we.TYPE_VALUE],["SVGFEComponentTransferElement",we.TYPE_VALUE],["SVGFECompositeElement",we.TYPE_VALUE],["SVGFEConvolveMatrixElement",we.TYPE_VALUE],["SVGFEDiffuseLightingElement",we.TYPE_VALUE],["SVGFEDisplacementMapElement",we.TYPE_VALUE],["SVGFEDistantLightElement",we.TYPE_VALUE],["SVGFEDropShadowElement",we.TYPE_VALUE],["SVGFEFloodElement",we.TYPE_VALUE],["SVGFEFuncAElement",we.TYPE_VALUE],["SVGFEFuncBElement",we.TYPE_VALUE],["SVGFEFuncGElement",we.TYPE_VALUE],["SVGFEFuncRElement",we.TYPE_VALUE],["SVGFEGaussianBlurElement",we.TYPE_VALUE],["SVGFEImageElement",we.TYPE_VALUE],["SVGFEMergeElement",we.TYPE_VALUE],["SVGFEMergeNodeElement",we.TYPE_VALUE],["SVGFEMorphologyElement",we.TYPE_VALUE],["SVGFEOffsetElement",we.TYPE_VALUE],["SVGFEPointLightElement",we.TYPE_VALUE],["SVGFESpecularLightingElement",we.TYPE_VALUE],["SVGFESpotLightElement",we.TYPE_VALUE],["SVGFETileElement",we.TYPE_VALUE],["SVGFETurbulenceElement",we.TYPE_VALUE],["SVGFilterElement",we.TYPE_VALUE],["SVGFilterPrimitiveStandardAttributes",we.TYPE],["SVGFitToViewBox",we.TYPE],["SVGForeignObjectElement",we.TYPE_VALUE],["SVGGElement",we.TYPE_VALUE],["SVGGeometryElement",we.TYPE_VALUE],["SVGGradientElement",we.TYPE_VALUE],["SVGGraphicsElement",we.TYPE_VALUE],["SVGImageElement",we.TYPE_VALUE],["SVGLength",we.TYPE_VALUE],["SVGLengthList",we.TYPE_VALUE],["SVGLineElement",we.TYPE_VALUE],["SVGLinearGradientElement",we.TYPE_VALUE],["SVGMPathElement",we.TYPE_VALUE],["SVGMarkerElement",we.TYPE_VALUE],["SVGMaskElement",we.TYPE_VALUE],["SVGMetadataElement",we.TYPE_VALUE],["SVGNumber",we.TYPE_VALUE],["SVGNumberList",we.TYPE_VALUE],["SVGPathElement",we.TYPE_VALUE],["SVGPatternElement",we.TYPE_VALUE],["SVGPointList",we.TYPE_VALUE],["SVGPolygonElement",we.TYPE_VALUE],["SVGPolylineElement",we.TYPE_VALUE],["SVGPreserveAspectRatio",we.TYPE_VALUE],["SVGRadialGradientElement",we.TYPE_VALUE],["SVGRectElement",we.TYPE_VALUE],["SVGSVGElementEventMap",we.TYPE],["SVGSVGElement",we.TYPE_VALUE],["SVGScriptElement",we.TYPE_VALUE],["SVGSetElement",we.TYPE_VALUE],["SVGStopElement",we.TYPE_VALUE],["SVGStringList",we.TYPE_VALUE],["SVGStyleElement",we.TYPE_VALUE],["SVGSwitchElement",we.TYPE_VALUE],["SVGSymbolElement",we.TYPE_VALUE],["SVGTSpanElement",we.TYPE_VALUE],["SVGTests",we.TYPE],["SVGTextContentElement",we.TYPE_VALUE],["SVGTextElement",we.TYPE_VALUE],["SVGTextPathElement",we.TYPE_VALUE],["SVGTextPositioningElement",we.TYPE_VALUE],["SVGTitleElement",we.TYPE_VALUE],["SVGTransform",we.TYPE_VALUE],["SVGTransformList",we.TYPE_VALUE],["SVGURIReference",we.TYPE],["SVGUnitTypes",we.TYPE_VALUE],["SVGUseElement",we.TYPE_VALUE],["SVGViewElement",we.TYPE_VALUE],["Screen",we.TYPE_VALUE],["ScreenOrientationEventMap",we.TYPE],["ScreenOrientation",we.TYPE_VALUE],["ScriptProcessorNodeEventMap",we.TYPE],["ScriptProcessorNode",we.TYPE_VALUE],["SecurityPolicyViolationEvent",we.TYPE_VALUE],["Selection",we.TYPE_VALUE],["ServiceWorkerEventMap",we.TYPE],["ServiceWorker",we.TYPE_VALUE],["ServiceWorkerContainerEventMap",we.TYPE],["ServiceWorkerContainer",we.TYPE_VALUE],["ServiceWorkerRegistrationEventMap",we.TYPE],["ServiceWorkerRegistration",we.TYPE_VALUE],["ShadowRootEventMap",we.TYPE],["ShadowRoot",we.TYPE_VALUE],["SharedWorker",we.TYPE_VALUE],["Slottable",we.TYPE],["SourceBufferEventMap",we.TYPE],["SourceBuffer",we.TYPE_VALUE],["SourceBufferListEventMap",we.TYPE],["SourceBufferList",we.TYPE_VALUE],["SpeechRecognitionAlternative",we.TYPE_VALUE],["SpeechRecognitionResult",we.TYPE_VALUE],["SpeechRecognitionResultList",we.TYPE_VALUE],["SpeechSynthesisEventMap",we.TYPE],["SpeechSynthesis",we.TYPE_VALUE],["SpeechSynthesisErrorEvent",we.TYPE_VALUE],["SpeechSynthesisEvent",we.TYPE_VALUE],["SpeechSynthesisUtteranceEventMap",we.TYPE],["SpeechSynthesisUtterance",we.TYPE_VALUE],["SpeechSynthesisVoice",we.TYPE_VALUE],["StaticRange",we.TYPE_VALUE],["StereoPannerNode",we.TYPE_VALUE],["Storage",we.TYPE_VALUE],["StorageEvent",we.TYPE_VALUE],["StorageManager",we.TYPE_VALUE],["StyleMedia",we.TYPE],["StylePropertyMap",we.TYPE_VALUE],["StylePropertyMapReadOnly",we.TYPE_VALUE],["StyleSheet",we.TYPE_VALUE],["StyleSheetList",we.TYPE_VALUE],["SubmitEvent",we.TYPE_VALUE],["SubtleCrypto",we.TYPE_VALUE],["Text",we.TYPE_VALUE],["TextDecoder",we.TYPE_VALUE],["TextDecoderCommon",we.TYPE],["TextDecoderStream",we.TYPE_VALUE],["TextEncoder",we.TYPE_VALUE],["TextEncoderCommon",we.TYPE],["TextEncoderStream",we.TYPE_VALUE],["TextEvent",we.TYPE_VALUE],["TextMetrics",we.TYPE_VALUE],["TextTrackEventMap",we.TYPE],["TextTrack",we.TYPE_VALUE],["TextTrackCueEventMap",we.TYPE],["TextTrackCue",we.TYPE_VALUE],["TextTrackCueList",we.TYPE_VALUE],["TextTrackListEventMap",we.TYPE],["TextTrackList",we.TYPE_VALUE],["TimeRanges",we.TYPE_VALUE],["ToggleEvent",we.TYPE_VALUE],["Touch",we.TYPE_VALUE],["TouchEvent",we.TYPE_VALUE],["TouchList",we.TYPE_VALUE],["TrackEvent",we.TYPE_VALUE],["TransformStream",we.TYPE_VALUE],["TransformStreamDefaultController",we.TYPE_VALUE],["TransitionEvent",we.TYPE_VALUE],["TreeWalker",we.TYPE_VALUE],["UIEvent",we.TYPE_VALUE],["URL",we.TYPE_VALUE],["webkitURL",we.TYPE_VALUE],["URLSearchParams",we.TYPE_VALUE],["UserActivation",we.TYPE_VALUE],["VTTCue",we.TYPE_VALUE],["VTTRegion",we.TYPE_VALUE],["ValidityState",we.TYPE_VALUE],["VideoColorSpace",we.TYPE_VALUE],["VideoDecoderEventMap",we.TYPE],["VideoDecoder",we.TYPE_VALUE],["VideoEncoderEventMap",we.TYPE],["VideoEncoder",we.TYPE_VALUE],["VideoFrame",we.TYPE_VALUE],["VideoPlaybackQuality",we.TYPE_VALUE],["ViewTransition",we.TYPE_VALUE],["ViewTransitionTypeSet",we.TYPE_VALUE],["VisualViewportEventMap",we.TYPE],["VisualViewport",we.TYPE_VALUE],["WEBGL_color_buffer_float",we.TYPE],["WEBGL_compressed_texture_astc",we.TYPE],["WEBGL_compressed_texture_etc",we.TYPE],["WEBGL_compressed_texture_etc1",we.TYPE],["WEBGL_compressed_texture_pvrtc",we.TYPE],["WEBGL_compressed_texture_s3tc",we.TYPE],["WEBGL_compressed_texture_s3tc_srgb",we.TYPE],["WEBGL_debug_renderer_info",we.TYPE],["WEBGL_debug_shaders",we.TYPE],["WEBGL_depth_texture",we.TYPE],["WEBGL_draw_buffers",we.TYPE],["WEBGL_lose_context",we.TYPE],["WEBGL_multi_draw",we.TYPE],["WakeLock",we.TYPE_VALUE],["WakeLockSentinelEventMap",we.TYPE],["WakeLockSentinel",we.TYPE_VALUE],["WaveShaperNode",we.TYPE_VALUE],["WebGL2RenderingContext",we.TYPE_VALUE],["WebGL2RenderingContextBase",we.TYPE],["WebGL2RenderingContextOverloads",we.TYPE],["WebGLActiveInfo",we.TYPE_VALUE],["WebGLBuffer",we.TYPE_VALUE],["WebGLContextEvent",we.TYPE_VALUE],["WebGLFramebuffer",we.TYPE_VALUE],["WebGLProgram",we.TYPE_VALUE],["WebGLQuery",we.TYPE_VALUE],["WebGLRenderbuffer",we.TYPE_VALUE],["WebGLRenderingContext",we.TYPE_VALUE],["WebGLRenderingContextBase",we.TYPE],["WebGLRenderingContextOverloads",we.TYPE],["WebGLSampler",we.TYPE_VALUE],["WebGLShader",we.TYPE_VALUE],["WebGLShaderPrecisionFormat",we.TYPE_VALUE],["WebGLSync",we.TYPE_VALUE],["WebGLTexture",we.TYPE_VALUE],["WebGLTransformFeedback",we.TYPE_VALUE],["WebGLUniformLocation",we.TYPE_VALUE],["WebGLVertexArrayObject",we.TYPE_VALUE],["WebGLVertexArrayObjectOES",we.TYPE],["WebSocketEventMap",we.TYPE],["WebSocket",we.TYPE_VALUE],["WebTransport",we.TYPE_VALUE],["WebTransportBidirectionalStream",we.TYPE_VALUE],["WebTransportDatagramDuplexStream",we.TYPE_VALUE],["WebTransportError",we.TYPE_VALUE],["WheelEvent",we.TYPE_VALUE],["WindowEventMap",we.TYPE],["Window",we.TYPE_VALUE],["WindowEventHandlersEventMap",we.TYPE],["WindowEventHandlers",we.TYPE],["WindowLocalStorage",we.TYPE],["WindowOrWorkerGlobalScope",we.TYPE],["WindowSessionStorage",we.TYPE],["WorkerEventMap",we.TYPE],["Worker",we.TYPE_VALUE],["Worklet",we.TYPE_VALUE],["WritableStream",we.TYPE_VALUE],["WritableStreamDefaultController",we.TYPE_VALUE],["WritableStreamDefaultWriter",we.TYPE_VALUE],["XMLDocument",we.TYPE_VALUE],["XMLHttpRequestEventMap",we.TYPE],["XMLHttpRequest",we.TYPE_VALUE],["XMLHttpRequestEventTargetEventMap",we.TYPE],["XMLHttpRequestEventTarget",we.TYPE_VALUE],["XMLHttpRequestUpload",we.TYPE_VALUE],["XMLSerializer",we.TYPE_VALUE],["XPathEvaluator",we.TYPE_VALUE],["XPathEvaluatorBase",we.TYPE],["XPathExpression",we.TYPE_VALUE],["XPathResult",we.TYPE_VALUE],["XSLTProcessor",we.TYPE_VALUE],["CSS",we.TYPE_VALUE],["WebAssembly",we.TYPE_VALUE],["Console",we.TYPE],["AudioDataOutputCallback",we.TYPE],["BlobCallback",we.TYPE],["CustomElementConstructor",we.TYPE],["DecodeErrorCallback",we.TYPE],["DecodeSuccessCallback",we.TYPE],["EncodedAudioChunkOutputCallback",we.TYPE],["EncodedVideoChunkOutputCallback",we.TYPE],["ErrorCallback",we.TYPE],["FileCallback",we.TYPE],["FileSystemEntriesCallback",we.TYPE],["FileSystemEntryCallback",we.TYPE],["FrameRequestCallback",we.TYPE],["FunctionStringCallback",we.TYPE],["IdleRequestCallback",we.TYPE],["IntersectionObserverCallback",we.TYPE],["LockGrantedCallback",we.TYPE],["MediaSessionActionHandler",we.TYPE],["MutationCallback",we.TYPE],["NotificationPermissionCallback",we.TYPE],["OnBeforeUnloadEventHandlerNonNull",we.TYPE],["OnErrorEventHandlerNonNull",we.TYPE],["PerformanceObserverCallback",we.TYPE],["PositionCallback",we.TYPE],["PositionErrorCallback",we.TYPE],["QueuingStrategySize",we.TYPE],["RTCPeerConnectionErrorCallback",we.TYPE],["RTCSessionDescriptionCallback",we.TYPE],["RemotePlaybackAvailabilityCallback",we.TYPE],["ReportingObserverCallback",we.TYPE],["ResizeObserverCallback",we.TYPE],["TransformerFlushCallback",we.TYPE],["TransformerStartCallback",we.TYPE],["TransformerTransformCallback",we.TYPE],["UnderlyingSinkAbortCallback",we.TYPE],["UnderlyingSinkCloseCallback",we.TYPE],["UnderlyingSinkStartCallback",we.TYPE],["UnderlyingSinkWriteCallback",we.TYPE],["UnderlyingSourceCancelCallback",we.TYPE],["UnderlyingSourcePullCallback",we.TYPE],["UnderlyingSourceStartCallback",we.TYPE],["VideoFrameOutputCallback",we.TYPE],["VideoFrameRequestCallback",we.TYPE],["ViewTransitionUpdateCallback",we.TYPE],["VoidFunction",we.TYPE],["WebCodecsErrorCallback",we.TYPE],["HTMLElementTagNameMap",we.TYPE],["HTMLElementDeprecatedTagNameMap",we.TYPE],["SVGElementTagNameMap",we.TYPE],["MathMLElementTagNameMap",we.TYPE],["ElementTagNameMap",we.TYPE],["AlgorithmIdentifier",we.TYPE],["AllowSharedBufferSource",we.TYPE],["AutoFill",we.TYPE],["AutoFillField",we.TYPE],["AutoFillSection",we.TYPE],["Base64URLString",we.TYPE],["BigInteger",we.TYPE],["BlobPart",we.TYPE],["BodyInit",we.TYPE],["BufferSource",we.TYPE],["COSEAlgorithmIdentifier",we.TYPE],["CSSKeywordish",we.TYPE],["CSSNumberish",we.TYPE],["CSSPerspectiveValue",we.TYPE],["CSSUnparsedSegment",we.TYPE],["CanvasImageSource",we.TYPE],["ClipboardItemData",we.TYPE],["ClipboardItems",we.TYPE],["ConstrainBoolean",we.TYPE],["ConstrainDOMString",we.TYPE],["ConstrainDouble",we.TYPE],["ConstrainULong",we.TYPE],["CookieList",we.TYPE],["DOMHighResTimeStamp",we.TYPE],["EpochTimeStamp",we.TYPE],["EventListenerOrEventListenerObject",we.TYPE],["FileSystemWriteChunkType",we.TYPE],["Float32List",we.TYPE],["FormDataEntryValue",we.TYPE],["GLbitfield",we.TYPE],["GLboolean",we.TYPE],["GLclampf",we.TYPE],["GLenum",we.TYPE],["GLfloat",we.TYPE],["GLint",we.TYPE],["GLint64",we.TYPE],["GLintptr",we.TYPE],["GLsizei",we.TYPE],["GLsizeiptr",we.TYPE],["GLuint",we.TYPE],["GLuint64",we.TYPE],["HTMLOrSVGImageElement",we.TYPE],["HTMLOrSVGScriptElement",we.TYPE],["HashAlgorithmIdentifier",we.TYPE],["HeadersInit",we.TYPE],["IDBValidKey",we.TYPE],["ImageBitmapSource",we.TYPE],["ImageBufferSource",we.TYPE],["ImageDataArray",we.TYPE],["Int32List",we.TYPE],["LineAndPositionSetting",we.TYPE],["MediaProvider",we.TYPE],["MessageEventSource",we.TYPE],["MutationRecordType",we.TYPE],["NamedCurve",we.TYPE],["OffscreenRenderingContext",we.TYPE],["OnBeforeUnloadEventHandler",we.TYPE],["OnErrorEventHandler",we.TYPE],["OptionalPostfixToken",we.TYPE],["OptionalPrefixToken",we.TYPE],["PerformanceEntryList",we.TYPE],["PublicKeyCredentialClientCapabilities",we.TYPE],["PublicKeyCredentialJSON",we.TYPE],["RTCRtpTransform",we.TYPE],["ReadableStreamController",we.TYPE],["ReadableStreamReadResult",we.TYPE],["ReadableStreamReader",we.TYPE],["RenderingContext",we.TYPE],["ReportList",we.TYPE],["RequestInfo",we.TYPE],["TexImageSource",we.TYPE],["TimerHandler",we.TYPE],["Transferable",we.TYPE],["Uint32List",we.TYPE],["VibratePattern",we.TYPE],["WindowProxy",we.TYPE],["XMLHttpRequestBodyInit",we.TYPE],["AlignSetting",we.TYPE],["AlphaOption",we.TYPE],["AnimationPlayState",we.TYPE],["AnimationReplaceState",we.TYPE],["AppendMode",we.TYPE],["AttestationConveyancePreference",we.TYPE],["AudioContextLatencyCategory",we.TYPE],["AudioContextState",we.TYPE],["AudioSampleFormat",we.TYPE],["AuthenticatorAttachment",we.TYPE],["AuthenticatorTransport",we.TYPE],["AutoFillAddressKind",we.TYPE],["AutoFillBase",we.TYPE],["AutoFillContactField",we.TYPE],["AutoFillContactKind",we.TYPE],["AutoFillCredentialField",we.TYPE],["AutoFillNormalField",we.TYPE],["AutoKeyword",we.TYPE],["AutomationRate",we.TYPE],["AvcBitstreamFormat",we.TYPE],["BinaryType",we.TYPE],["BiquadFilterType",we.TYPE],["BitrateMode",we.TYPE],["CSSMathOperator",we.TYPE],["CSSNumericBaseType",we.TYPE],["CanPlayTypeResult",we.TYPE],["CanvasDirection",we.TYPE],["CanvasFillRule",we.TYPE],["CanvasFontKerning",we.TYPE],["CanvasFontStretch",we.TYPE],["CanvasFontVariantCaps",we.TYPE],["CanvasLineCap",we.TYPE],["CanvasLineJoin",we.TYPE],["CanvasTextAlign",we.TYPE],["CanvasTextBaseline",we.TYPE],["CanvasTextRendering",we.TYPE],["ChannelCountMode",we.TYPE],["ChannelInterpretation",we.TYPE],["ClientTypes",we.TYPE],["CodecState",we.TYPE],["ColorGamut",we.TYPE],["ColorSpaceConversion",we.TYPE],["CompositeOperation",we.TYPE],["CompositeOperationOrAuto",we.TYPE],["CompressionFormat",we.TYPE],["CookieSameSite",we.TYPE],["CredentialMediationRequirement",we.TYPE],["DOMParserSupportedType",we.TYPE],["DirectionSetting",we.TYPE],["DisplayCaptureSurfaceType",we.TYPE],["DistanceModelType",we.TYPE],["DocumentReadyState",we.TYPE],["DocumentVisibilityState",we.TYPE],["EncodedAudioChunkType",we.TYPE],["EncodedVideoChunkType",we.TYPE],["EndOfStreamError",we.TYPE],["EndingType",we.TYPE],["FileSystemHandleKind",we.TYPE],["FillLightMode",we.TYPE],["FillMode",we.TYPE],["FontDisplay",we.TYPE],["FontFaceLoadStatus",we.TYPE],["FontFaceSetLoadStatus",we.TYPE],["FullscreenNavigationUI",we.TYPE],["GamepadHapticEffectType",we.TYPE],["GamepadHapticsResult",we.TYPE],["GamepadMappingType",we.TYPE],["GlobalCompositeOperation",we.TYPE],["HardwareAcceleration",we.TYPE],["HdrMetadataType",we.TYPE],["HighlightType",we.TYPE],["IDBCursorDirection",we.TYPE],["IDBRequestReadyState",we.TYPE],["IDBTransactionDurability",we.TYPE],["IDBTransactionMode",we.TYPE],["ImageOrientation",we.TYPE],["ImageSmoothingQuality",we.TYPE],["InsertPosition",we.TYPE],["IterationCompositeOperation",we.TYPE],["KeyFormat",we.TYPE],["KeyType",we.TYPE],["KeyUsage",we.TYPE],["LatencyMode",we.TYPE],["LineAlignSetting",we.TYPE],["LockMode",we.TYPE],["LoginStatus",we.TYPE],["MIDIPortConnectionState",we.TYPE],["MIDIPortDeviceState",we.TYPE],["MIDIPortType",we.TYPE],["MediaDecodingType",we.TYPE],["MediaDeviceKind",we.TYPE],["MediaEncodingType",we.TYPE],["MediaKeyMessageType",we.TYPE],["MediaKeySessionClosedReason",we.TYPE],["MediaKeySessionType",we.TYPE],["MediaKeyStatus",we.TYPE],["MediaKeysRequirement",we.TYPE],["MediaSessionAction",we.TYPE],["MediaSessionPlaybackState",we.TYPE],["MediaStreamTrackState",we.TYPE],["NavigationTimingType",we.TYPE],["NavigationType",we.TYPE],["NotificationDirection",we.TYPE],["NotificationPermission",we.TYPE],["OffscreenRenderingContextId",we.TYPE],["OpusBitstreamFormat",we.TYPE],["OrientationType",we.TYPE],["OscillatorType",we.TYPE],["OverSampleType",we.TYPE],["PanningModelType",we.TYPE],["PaymentComplete",we.TYPE],["PaymentShippingType",we.TYPE],["PermissionName",we.TYPE],["PermissionState",we.TYPE],["PlaybackDirection",we.TYPE],["PositionAlignSetting",we.TYPE],["PredefinedColorSpace",we.TYPE],["PremultiplyAlpha",we.TYPE],["PresentationStyle",we.TYPE],["PublicKeyCredentialType",we.TYPE],["PushEncryptionKeyName",we.TYPE],["RTCBundlePolicy",we.TYPE],["RTCDataChannelState",we.TYPE],["RTCDegradationPreference",we.TYPE],["RTCDtlsRole",we.TYPE],["RTCDtlsTransportState",we.TYPE],["RTCEncodedVideoFrameType",we.TYPE],["RTCErrorDetailType",we.TYPE],["RTCIceCandidateType",we.TYPE],["RTCIceComponent",we.TYPE],["RTCIceConnectionState",we.TYPE],["RTCIceGathererState",we.TYPE],["RTCIceGatheringState",we.TYPE],["RTCIceProtocol",we.TYPE],["RTCIceRole",we.TYPE],["RTCIceTcpCandidateType",we.TYPE],["RTCIceTransportPolicy",we.TYPE],["RTCIceTransportState",we.TYPE],["RTCPeerConnectionState",we.TYPE],["RTCPriorityType",we.TYPE],["RTCQualityLimitationReason",we.TYPE],["RTCRtcpMuxPolicy",we.TYPE],["RTCRtpTransceiverDirection",we.TYPE],["RTCSctpTransportState",we.TYPE],["RTCSdpType",we.TYPE],["RTCSignalingState",we.TYPE],["RTCStatsIceCandidatePairState",we.TYPE],["RTCStatsType",we.TYPE],["ReadableStreamReaderMode",we.TYPE],["ReadableStreamType",we.TYPE],["ReadyState",we.TYPE],["RecordingState",we.TYPE],["RedEyeReduction",we.TYPE],["ReferrerPolicy",we.TYPE],["RemotePlaybackState",we.TYPE],["RequestCache",we.TYPE],["RequestCredentials",we.TYPE],["RequestDestination",we.TYPE],["RequestMode",we.TYPE],["RequestPriority",we.TYPE],["RequestRedirect",we.TYPE],["ResidentKeyRequirement",we.TYPE],["ResizeObserverBoxOptions",we.TYPE],["ResizeQuality",we.TYPE],["ResponseType",we.TYPE],["ScrollBehavior",we.TYPE],["ScrollLogicalPosition",we.TYPE],["ScrollRestoration",we.TYPE],["ScrollSetting",we.TYPE],["SecurityPolicyViolationEventDisposition",we.TYPE],["SelectionMode",we.TYPE],["ServiceWorkerState",we.TYPE],["ServiceWorkerUpdateViaCache",we.TYPE],["ShadowRootMode",we.TYPE],["SlotAssignmentMode",we.TYPE],["SpeechSynthesisErrorCode",we.TYPE],["TextTrackKind",we.TYPE],["TextTrackMode",we.TYPE],["TouchType",we.TYPE],["TransferFunction",we.TYPE],["UserVerificationRequirement",we.TYPE],["VideoColorPrimaries",we.TYPE],["VideoEncoderBitrateMode",we.TYPE],["VideoFacingModeEnum",we.TYPE],["VideoMatrixCoefficients",we.TYPE],["VideoPixelFormat",we.TYPE],["VideoTransferCharacteristics",we.TYPE],["WakeLockType",we.TYPE],["WebGLPowerPreference",we.TYPE],["WebTransportCongestionControl",we.TYPE],["WebTransportErrorSource",we.TYPE],["WorkerType",we.TYPE],["WriteCommandType",we.TYPE],["XMLHttpRequestResponseType",we.TYPE]]}});var spe=j(wHt=>{"use strict";Object.defineProperty(wHt,"__esModule",{value:!0});wHt.dom_asynciterable=void 0;var DHt=bd();wHt.dom_asynciterable={libs:[],variables:[["FileSystemDirectoryHandleAsyncIterator",DHt.TYPE],["FileSystemDirectoryHandle",DHt.TYPE],["ReadableStreamAsyncIterator",DHt.TYPE],["ReadableStream",DHt.TYPE]]}});var rZ=j(BHt=>{"use strict";Object.defineProperty(BHt,"__esModule",{value:!0});BHt.dom_iterable=void 0;var Cm=bd();BHt.dom_iterable={libs:[],variables:[["AudioParam",Cm.TYPE],["AudioParamMap",Cm.TYPE],["BaseAudioContext",Cm.TYPE],["CSSKeyframesRule",Cm.TYPE],["CSSNumericArray",Cm.TYPE],["CSSRuleList",Cm.TYPE],["CSSStyleDeclaration",Cm.TYPE],["CSSTransformValue",Cm.TYPE],["CSSUnparsedValue",Cm.TYPE],["Cache",Cm.TYPE],["CanvasPath",Cm.TYPE],["CanvasPathDrawingStyles",Cm.TYPE],["CookieStoreManager",Cm.TYPE],["CustomStateSet",Cm.TYPE],["DOMRectList",Cm.TYPE],["DOMStringList",Cm.TYPE],["DOMTokenList",Cm.TYPE],["DataTransferItemList",Cm.TYPE],["EventCounts",Cm.TYPE],["FileList",Cm.TYPE],["FontFaceSet",Cm.TYPE],["FormDataIterator",Cm.TYPE],["FormData",Cm.TYPE],["HTMLAllCollection",Cm.TYPE],["HTMLCollectionBase",Cm.TYPE],["HTMLCollectionOf",Cm.TYPE],["HTMLFormElement",Cm.TYPE],["HTMLSelectElement",Cm.TYPE],["HeadersIterator",Cm.TYPE],["Headers",Cm.TYPE],["Highlight",Cm.TYPE],["HighlightRegistry",Cm.TYPE],["IDBDatabase",Cm.TYPE],["IDBObjectStore",Cm.TYPE],["ImageTrackList",Cm.TYPE],["MIDIInputMap",Cm.TYPE],["MIDIOutput",Cm.TYPE],["MIDIOutputMap",Cm.TYPE],["MediaKeyStatusMapIterator",Cm.TYPE],["MediaKeyStatusMap",Cm.TYPE],["MediaList",Cm.TYPE],["MessageEvent",Cm.TYPE],["MimeTypeArray",Cm.TYPE],["NamedNodeMap",Cm.TYPE],["Navigator",Cm.TYPE],["NodeList",Cm.TYPE],["NodeListOf",Cm.TYPE],["Plugin",Cm.TYPE],["PluginArray",Cm.TYPE],["RTCRtpTransceiver",Cm.TYPE],["RTCStatsReport",Cm.TYPE],["SVGLengthList",Cm.TYPE],["SVGNumberList",Cm.TYPE],["SVGPointList",Cm.TYPE],["SVGStringList",Cm.TYPE],["SVGTransformList",Cm.TYPE],["SourceBufferList",Cm.TYPE],["SpeechRecognitionResult",Cm.TYPE],["SpeechRecognitionResultList",Cm.TYPE],["StylePropertyMapReadOnlyIterator",Cm.TYPE],["StylePropertyMapReadOnly",Cm.TYPE],["StyleSheetList",Cm.TYPE],["SubtleCrypto",Cm.TYPE],["TextTrackCueList",Cm.TYPE],["TextTrackList",Cm.TYPE],["TouchList",Cm.TYPE],["URLSearchParamsIterator",Cm.TYPE],["URLSearchParams",Cm.TYPE],["ViewTransitionTypeSet",Cm.TYPE],["WEBGL_draw_buffers",Cm.TYPE],["WEBGL_multi_draw",Cm.TYPE],["WebGL2RenderingContextBase",Cm.TYPE],["WebGL2RenderingContextOverloads",Cm.TYPE],["WebGLRenderingContextBase",Cm.TYPE],["WebGLRenderingContextOverloads",Cm.TYPE]]}});var r1t=j(kHt=>{"use strict";Object.defineProperty(kHt,"__esModule",{value:!0});kHt.es5=void 0;var Rf=bd(),fsf=bHt(),psf=Xfn();kHt.es5={libs:[fsf.decorators,psf.decorators_legacy],variables:[["Symbol",Rf.TYPE],["PropertyKey",Rf.TYPE],["PropertyDescriptor",Rf.TYPE],["PropertyDescriptorMap",Rf.TYPE],["Object",Rf.TYPE_VALUE],["ObjectConstructor",Rf.TYPE],["Function",Rf.TYPE_VALUE],["FunctionConstructor",Rf.TYPE],["ThisParameterType",Rf.TYPE],["OmitThisParameter",Rf.TYPE],["CallableFunction",Rf.TYPE],["NewableFunction",Rf.TYPE],["IArguments",Rf.TYPE],["String",Rf.TYPE_VALUE],["StringConstructor",Rf.TYPE],["Boolean",Rf.TYPE_VALUE],["BooleanConstructor",Rf.TYPE],["Number",Rf.TYPE_VALUE],["NumberConstructor",Rf.TYPE],["TemplateStringsArray",Rf.TYPE],["ImportMeta",Rf.TYPE],["ImportCallOptions",Rf.TYPE],["ImportAssertions",Rf.TYPE],["ImportAttributes",Rf.TYPE],["Math",Rf.TYPE_VALUE],["Date",Rf.TYPE_VALUE],["DateConstructor",Rf.TYPE],["RegExpMatchArray",Rf.TYPE],["RegExpExecArray",Rf.TYPE],["RegExp",Rf.TYPE_VALUE],["RegExpConstructor",Rf.TYPE],["Error",Rf.TYPE_VALUE],["ErrorConstructor",Rf.TYPE],["EvalError",Rf.TYPE_VALUE],["EvalErrorConstructor",Rf.TYPE],["RangeError",Rf.TYPE_VALUE],["RangeErrorConstructor",Rf.TYPE],["ReferenceError",Rf.TYPE_VALUE],["ReferenceErrorConstructor",Rf.TYPE],["SyntaxError",Rf.TYPE_VALUE],["SyntaxErrorConstructor",Rf.TYPE],["TypeError",Rf.TYPE_VALUE],["TypeErrorConstructor",Rf.TYPE],["URIError",Rf.TYPE_VALUE],["URIErrorConstructor",Rf.TYPE],["JSON",Rf.TYPE_VALUE],["ReadonlyArray",Rf.TYPE],["ConcatArray",Rf.TYPE],["Array",Rf.TYPE_VALUE],["ArrayConstructor",Rf.TYPE],["TypedPropertyDescriptor",Rf.TYPE],["PromiseConstructorLike",Rf.TYPE],["PromiseLike",Rf.TYPE],["Promise",Rf.TYPE],["Awaited",Rf.TYPE],["ArrayLike",Rf.TYPE],["Partial",Rf.TYPE],["Required",Rf.TYPE],["Readonly",Rf.TYPE],["Pick",Rf.TYPE],["Record",Rf.TYPE],["Exclude",Rf.TYPE],["Extract",Rf.TYPE],["Omit",Rf.TYPE],["NonNullable",Rf.TYPE],["Parameters",Rf.TYPE],["ConstructorParameters",Rf.TYPE],["ReturnType",Rf.TYPE],["InstanceType",Rf.TYPE],["Uppercase",Rf.TYPE],["Lowercase",Rf.TYPE],["Capitalize",Rf.TYPE],["Uncapitalize",Rf.TYPE],["NoInfer",Rf.TYPE],["ThisType",Rf.TYPE],["WeakKeyTypes",Rf.TYPE],["WeakKey",Rf.TYPE],["ArrayBuffer",Rf.TYPE_VALUE],["ArrayBufferTypes",Rf.TYPE],["ArrayBufferLike",Rf.TYPE],["ArrayBufferConstructor",Rf.TYPE],["ArrayBufferView",Rf.TYPE],["DataView",Rf.TYPE_VALUE],["DataViewConstructor",Rf.TYPE],["Int8Array",Rf.TYPE_VALUE],["Int8ArrayConstructor",Rf.TYPE],["Uint8Array",Rf.TYPE_VALUE],["Uint8ArrayConstructor",Rf.TYPE],["Uint8ClampedArray",Rf.TYPE_VALUE],["Uint8ClampedArrayConstructor",Rf.TYPE],["Int16Array",Rf.TYPE_VALUE],["Int16ArrayConstructor",Rf.TYPE],["Uint16Array",Rf.TYPE_VALUE],["Uint16ArrayConstructor",Rf.TYPE],["Int32Array",Rf.TYPE_VALUE],["Int32ArrayConstructor",Rf.TYPE],["Uint32Array",Rf.TYPE_VALUE],["Uint32ArrayConstructor",Rf.TYPE],["Float32Array",Rf.TYPE_VALUE],["Float32ArrayConstructor",Rf.TYPE],["Float64Array",Rf.TYPE_VALUE],["Float64ArrayConstructor",Rf.TYPE],["Intl",Rf.TYPE_VALUE]]}});var NHt=j(PHt=>{"use strict";Object.defineProperty(PHt,"__esModule",{value:!0});PHt.es2015_collection=void 0;var ape=bd();PHt.es2015_collection={libs:[],variables:[["Map",ape.TYPE_VALUE],["MapConstructor",ape.TYPE],["ReadonlyMap",ape.TYPE],["WeakMap",ape.TYPE_VALUE],["WeakMapConstructor",ape.TYPE],["Set",ape.TYPE_VALUE],["SetConstructor",ape.TYPE],["ReadonlySet",ape.TYPE],["WeakSet",ape.TYPE_VALUE],["WeakSetConstructor",ape.TYPE]]}});var RHt=j(OHt=>{"use strict";Object.defineProperty(OHt,"__esModule",{value:!0});OHt.es2015_core=void 0;var DB=bd();OHt.es2015_core={libs:[],variables:[["Array",DB.TYPE],["ArrayConstructor",DB.TYPE],["DateConstructor",DB.TYPE],["Function",DB.TYPE],["Math",DB.TYPE],["NumberConstructor",DB.TYPE],["ObjectConstructor",DB.TYPE],["ReadonlyArray",DB.TYPE],["RegExp",DB.TYPE],["RegExpConstructor",DB.TYPE],["String",DB.TYPE],["StringConstructor",DB.TYPE],["Int8Array",DB.TYPE],["Uint8Array",DB.TYPE],["Uint8ClampedArray",DB.TYPE],["Int16Array",DB.TYPE],["Uint16Array",DB.TYPE],["Int32Array",DB.TYPE],["Uint32Array",DB.TYPE],["Float32Array",DB.TYPE],["Float64Array",DB.TYPE]]}});var QK=j(FHt=>{"use strict";Object.defineProperty(FHt,"__esModule",{value:!0});FHt.es2015_symbol=void 0;var dsf=bd();FHt.es2015_symbol={libs:[],variables:[["SymbolConstructor",dsf.TYPE]]}});var jK=j(LHt=>{"use strict";Object.defineProperty(LHt,"__esModule",{value:!0});LHt.es2015_iterable=void 0;var v1=bd(),msf=QK();LHt.es2015_iterable={libs:[msf.es2015_symbol],variables:[["SymbolConstructor",v1.TYPE],["IteratorYieldResult",v1.TYPE],["IteratorReturnResult",v1.TYPE],["IteratorResult",v1.TYPE],["Iterator",v1.TYPE],["Iterable",v1.TYPE],["IterableIterator",v1.TYPE],["IteratorObject",v1.TYPE],["BuiltinIteratorReturn",v1.TYPE],["ArrayIterator",v1.TYPE],["Array",v1.TYPE],["ArrayConstructor",v1.TYPE],["ReadonlyArray",v1.TYPE],["IArguments",v1.TYPE],["MapIterator",v1.TYPE],["Map",v1.TYPE],["ReadonlyMap",v1.TYPE],["MapConstructor",v1.TYPE],["WeakMap",v1.TYPE],["WeakMapConstructor",v1.TYPE],["SetIterator",v1.TYPE],["Set",v1.TYPE],["ReadonlySet",v1.TYPE],["SetConstructor",v1.TYPE],["WeakSet",v1.TYPE],["WeakSetConstructor",v1.TYPE],["Promise",v1.TYPE],["PromiseConstructor",v1.TYPE],["StringIterator",v1.TYPE],["String",v1.TYPE],["Int8Array",v1.TYPE],["Int8ArrayConstructor",v1.TYPE],["Uint8Array",v1.TYPE],["Uint8ArrayConstructor",v1.TYPE],["Uint8ClampedArray",v1.TYPE],["Uint8ClampedArrayConstructor",v1.TYPE],["Int16Array",v1.TYPE],["Int16ArrayConstructor",v1.TYPE],["Uint16Array",v1.TYPE],["Uint16ArrayConstructor",v1.TYPE],["Int32Array",v1.TYPE],["Int32ArrayConstructor",v1.TYPE],["Uint32Array",v1.TYPE],["Uint32ArrayConstructor",v1.TYPE],["Float32Array",v1.TYPE],["Float32ArrayConstructor",v1.TYPE],["Float64Array",v1.TYPE],["Float64ArrayConstructor",v1.TYPE]]}});var QHt=j(MHt=>{"use strict";Object.defineProperty(MHt,"__esModule",{value:!0});MHt.es2015_generator=void 0;var Zfn=bd(),gsf=jK();MHt.es2015_generator={libs:[gsf.es2015_iterable],variables:[["Generator",Zfn.TYPE],["GeneratorFunction",Zfn.TYPE],["GeneratorFunctionConstructor",Zfn.TYPE]]}});var UHt=j(jHt=>{"use strict";Object.defineProperty(jHt,"__esModule",{value:!0});jHt.es2015_promise=void 0;var Asf=bd();jHt.es2015_promise={libs:[],variables:[["PromiseConstructor",Asf.TYPE]]}});var YHt=j(qHt=>{"use strict";Object.defineProperty(qHt,"__esModule",{value:!0});qHt.es2015_proxy=void 0;var lFs=bd();qHt.es2015_proxy={libs:[],variables:[["ProxyHandler",lFs.TYPE],["ProxyConstructor",lFs.TYPE]]}});var VHt=j(GHt=>{"use strict";Object.defineProperty(GHt,"__esModule",{value:!0});GHt.es2015_reflect=void 0;var hsf=bd();GHt.es2015_reflect={libs:[],variables:[["Reflect",hsf.TYPE_VALUE]]}});var p5e=j($Ht=>{"use strict";Object.defineProperty($Ht,"__esModule",{value:!0});$Ht.es2015_symbol_wellknown=void 0;var jv=bd(),ysf=QK();$Ht.es2015_symbol_wellknown={libs:[ysf.es2015_symbol],variables:[["SymbolConstructor",jv.TYPE],["Symbol",jv.TYPE],["Array",jv.TYPE],["ReadonlyArray",jv.TYPE],["Date",jv.TYPE],["Map",jv.TYPE],["WeakMap",jv.TYPE],["Set",jv.TYPE],["WeakSet",jv.TYPE],["JSON",jv.TYPE],["Function",jv.TYPE],["GeneratorFunction",jv.TYPE],["Math",jv.TYPE],["Promise",jv.TYPE],["PromiseConstructor",jv.TYPE],["RegExp",jv.TYPE],["RegExpConstructor",jv.TYPE],["String",jv.TYPE],["ArrayBuffer",jv.TYPE],["DataView",jv.TYPE],["Int8Array",jv.TYPE],["Uint8Array",jv.TYPE],["Uint8ClampedArray",jv.TYPE],["Int16Array",jv.TYPE],["Uint16Array",jv.TYPE],["Int32Array",jv.TYPE],["Uint32Array",jv.TYPE],["Float32Array",jv.TYPE],["Float64Array",jv.TYPE],["ArrayConstructor",jv.TYPE],["MapConstructor",jv.TYPE],["SetConstructor",jv.TYPE],["ArrayBufferConstructor",jv.TYPE]]}});var cFs=j(KHt=>{"use strict";Object.defineProperty(KHt,"__esModule",{value:!0});KHt.es6=void 0;var _sf=r1t(),Esf=NHt(),xsf=RHt(),vsf=QHt(),Csf=jK(),bsf=UHt(),Isf=YHt(),Ssf=VHt(),Tsf=QK(),Dsf=p5e();KHt.es6={libs:[_sf.es5,xsf.es2015_core,Esf.es2015_collection,Csf.es2015_iterable,vsf.es2015_generator,bsf.es2015_promise,Isf.es2015_proxy,Ssf.es2015_reflect,Tsf.es2015_symbol,Dsf.es2015_symbol_wellknown],variables:[]}});var HHt=j(JHt=>{"use strict";Object.defineProperty(JHt,"__esModule",{value:!0});JHt.es2015=void 0;var wsf=r1t(),Bsf=NHt(),ksf=RHt(),Psf=QHt(),Nsf=jK(),Osf=UHt(),Rsf=YHt(),Fsf=VHt(),Lsf=QK(),Msf=p5e();JHt.es2015={libs:[wsf.es5,ksf.es2015_core,Bsf.es2015_collection,Nsf.es2015_iterable,Psf.es2015_generator,Osf.es2015_promise,Rsf.es2015_proxy,Fsf.es2015_reflect,Lsf.es2015_symbol,Msf.es2015_symbol_wellknown],variables:[]}});var WHt=j(zHt=>{"use strict";Object.defineProperty(zHt,"__esModule",{value:!0});zHt.es2016_array_include=void 0;var vse=bd();zHt.es2016_array_include={libs:[],variables:[["Array",vse.TYPE],["ReadonlyArray",vse.TYPE],["Int8Array",vse.TYPE],["Uint8Array",vse.TYPE],["Uint8ClampedArray",vse.TYPE],["Int16Array",vse.TYPE],["Uint16Array",vse.TYPE],["Int32Array",vse.TYPE],["Uint32Array",vse.TYPE],["Float32Array",vse.TYPE],["Float64Array",vse.TYPE]]}});var ZHt=j(XHt=>{"use strict";Object.defineProperty(XHt,"__esModule",{value:!0});XHt.es2016_intl=void 0;var Qsf=bd();XHt.es2016_intl={libs:[],variables:[["Intl",Qsf.TYPE_VALUE]]}});var fFs=j(ezt=>{"use strict";Object.defineProperty(ezt,"__esModule",{value:!0});ezt.es7=void 0;var jsf=HHt(),Usf=WHt(),qsf=ZHt();ezt.es7={libs:[jsf.es2015,Usf.es2016_array_include,qsf.es2016_intl],variables:[]}});var rzt=j(tzt=>{"use strict";Object.defineProperty(tzt,"__esModule",{value:!0});tzt.es2016=void 0;var Ysf=HHt(),Gsf=WHt(),Vsf=ZHt();tzt.es2016={libs:[Ysf.es2015,Gsf.es2016_array_include,Vsf.es2016_intl],variables:[]}});var qK=j(nzt=>{"use strict";Object.defineProperty(nzt,"__esModule",{value:!0});nzt.scripthost=void 0;var UK=bd();nzt.scripthost={libs:[],variables:[["ActiveXObject",UK.TYPE_VALUE],["ITextWriter",UK.TYPE],["TextStreamBase",UK.TYPE],["TextStreamWriter",UK.TYPE],["TextStreamReader",UK.TYPE],["SafeArray",UK.TYPE_VALUE],["Enumerator",UK.TYPE_VALUE],["EnumeratorConstructor",UK.TYPE],["VBArray",UK.TYPE_VALUE],["VBArrayConstructor",UK.TYPE],["VarDate",UK.TYPE_VALUE],["DateConstructor",UK.TYPE],["Date",UK.TYPE]]}});var YK=j(izt=>{"use strict";Object.defineProperty(izt,"__esModule",{value:!0});izt.webworker_importscripts=void 0;izt.webworker_importscripts={libs:[],variables:[]}});var pFs=j(szt=>{"use strict";Object.defineProperty(szt,"__esModule",{value:!0});szt.es2016_full=void 0;var $sf=MK(),Ksf=rZ(),Jsf=rzt(),Hsf=qK(),zsf=YK();szt.es2016_full={libs:[Jsf.es2016,$sf.dom,zsf.webworker_importscripts,Hsf.scripthost,Ksf.dom_iterable],variables:[]}});var epn=j(azt=>{"use strict";Object.defineProperty(azt,"__esModule",{value:!0});azt.es2017_arraybuffer=void 0;var Wsf=bd();azt.es2017_arraybuffer={libs:[],variables:[["ArrayBufferConstructor",Wsf.TYPE]]}});var tpn=j(ozt=>{"use strict";Object.defineProperty(ozt,"__esModule",{value:!0});ozt.es2017_date=void 0;var Xsf=bd();ozt.es2017_date={libs:[],variables:[["DateConstructor",Xsf.TYPE]]}});var rpn=j(uzt=>{"use strict";Object.defineProperty(uzt,"__esModule",{value:!0});uzt.es2017_intl=void 0;var Zsf=bd();uzt.es2017_intl={libs:[],variables:[["Intl",Zsf.TYPE_VALUE]]}});var npn=j(lzt=>{"use strict";Object.defineProperty(lzt,"__esModule",{value:!0});lzt.es2017_object=void 0;var eaf=bd();lzt.es2017_object={libs:[],variables:[["ObjectConstructor",eaf.TYPE]]}});var ipn=j(fzt=>{"use strict";Object.defineProperty(fzt,"__esModule",{value:!0});fzt.es2017_sharedmemory=void 0;var czt=bd(),taf=QK(),raf=p5e();fzt.es2017_sharedmemory={libs:[taf.es2015_symbol,raf.es2015_symbol_wellknown],variables:[["SharedArrayBuffer",czt.TYPE_VALUE],["SharedArrayBufferConstructor",czt.TYPE],["ArrayBufferTypes",czt.TYPE],["Atomics",czt.TYPE_VALUE]]}});var spn=j(pzt=>{"use strict";Object.defineProperty(pzt,"__esModule",{value:!0});pzt.es2017_string=void 0;var naf=bd();pzt.es2017_string={libs:[],variables:[["String",naf.TYPE]]}});var apn=j(dzt=>{"use strict";Object.defineProperty(dzt,"__esModule",{value:!0});dzt.es2017_typedarrays=void 0;var Tye=bd();dzt.es2017_typedarrays={libs:[],variables:[["Int8ArrayConstructor",Tye.TYPE],["Uint8ArrayConstructor",Tye.TYPE],["Uint8ClampedArrayConstructor",Tye.TYPE],["Int16ArrayConstructor",Tye.TYPE],["Uint16ArrayConstructor",Tye.TYPE],["Int32ArrayConstructor",Tye.TYPE],["Uint32ArrayConstructor",Tye.TYPE],["Float32ArrayConstructor",Tye.TYPE],["Float64ArrayConstructor",Tye.TYPE]]}});var gzt=j(mzt=>{"use strict";Object.defineProperty(mzt,"__esModule",{value:!0});mzt.es2017=void 0;var iaf=rzt(),saf=epn(),aaf=tpn(),oaf=rpn(),uaf=npn(),laf=ipn(),caf=spn(),faf=apn();mzt.es2017={libs:[iaf.es2016,saf.es2017_arraybuffer,aaf.es2017_date,oaf.es2017_intl,uaf.es2017_object,laf.es2017_sharedmemory,caf.es2017_string,faf.es2017_typedarrays],variables:[]}});var dFs=j(Azt=>{"use strict";Object.defineProperty(Azt,"__esModule",{value:!0});Azt.es2017_full=void 0;var paf=MK(),daf=rZ(),maf=gzt(),gaf=qK(),Aaf=YK();Azt.es2017_full={libs:[maf.es2017,paf.dom,Aaf.webworker_importscripts,gaf.scripthost,daf.dom_iterable],variables:[]}});var i1t=j(hzt=>{"use strict";Object.defineProperty(hzt,"__esModule",{value:!0});hzt.es2018_asynciterable=void 0;var n1t=bd(),haf=jK(),yaf=QK();hzt.es2018_asynciterable={libs:[yaf.es2015_symbol,haf.es2015_iterable],variables:[["SymbolConstructor",n1t.TYPE],["AsyncIterator",n1t.TYPE],["AsyncIterable",n1t.TYPE],["AsyncIterableIterator",n1t.TYPE],["AsyncIteratorObject",n1t.TYPE]]}});var upn=j(yzt=>{"use strict";Object.defineProperty(yzt,"__esModule",{value:!0});yzt.es2018_asyncgenerator=void 0;var opn=bd(),_af=i1t();yzt.es2018_asyncgenerator={libs:[_af.es2018_asynciterable],variables:[["AsyncGenerator",opn.TYPE],["AsyncGeneratorFunction",opn.TYPE],["AsyncGeneratorFunctionConstructor",opn.TYPE]]}});var Ezt=j(_zt=>{"use strict";Object.defineProperty(_zt,"__esModule",{value:!0});_zt.es2018_intl=void 0;var Eaf=bd();_zt.es2018_intl={libs:[],variables:[["Intl",Eaf.TYPE_VALUE]]}});var lpn=j(xzt=>{"use strict";Object.defineProperty(xzt,"__esModule",{value:!0});xzt.es2018_promise=void 0;var xaf=bd();xzt.es2018_promise={libs:[],variables:[["Promise",xaf.TYPE]]}});var fpn=j(vzt=>{"use strict";Object.defineProperty(vzt,"__esModule",{value:!0});vzt.es2018_regexp=void 0;var cpn=bd();vzt.es2018_regexp={libs:[],variables:[["RegExpMatchArray",cpn.TYPE],["RegExpExecArray",cpn.TYPE],["RegExp",cpn.TYPE]]}});var bzt=j(Czt=>{"use strict";Object.defineProperty(Czt,"__esModule",{value:!0});Czt.es2018=void 0;var vaf=gzt(),Caf=upn(),baf=i1t(),Iaf=Ezt(),Saf=lpn(),Taf=fpn();Czt.es2018={libs:[vaf.es2017,baf.es2018_asynciterable,Caf.es2018_asyncgenerator,Saf.es2018_promise,Taf.es2018_regexp,Iaf.es2018_intl],variables:[]}});var mFs=j(Izt=>{"use strict";Object.defineProperty(Izt,"__esModule",{value:!0});Izt.es2018_full=void 0;var Daf=MK(),waf=spe(),Baf=rZ(),kaf=bzt(),Paf=qK(),Naf=YK();Izt.es2018_full={libs:[kaf.es2018,Daf.dom,Naf.webworker_importscripts,Paf.scripthost,Baf.dom_iterable,waf.dom_asynciterable],variables:[]}});var dpn=j(Szt=>{"use strict";Object.defineProperty(Szt,"__esModule",{value:!0});Szt.es2019_array=void 0;var ppn=bd();Szt.es2019_array={libs:[],variables:[["FlatArray",ppn.TYPE],["ReadonlyArray",ppn.TYPE],["Array",ppn.TYPE]]}});var mpn=j(Tzt=>{"use strict";Object.defineProperty(Tzt,"__esModule",{value:!0});Tzt.es2019_intl=void 0;var Oaf=bd();Tzt.es2019_intl={libs:[],variables:[["Intl",Oaf.TYPE_VALUE]]}});var gpn=j(Dzt=>{"use strict";Object.defineProperty(Dzt,"__esModule",{value:!0});Dzt.es2019_object=void 0;var Raf=bd(),Faf=jK();Dzt.es2019_object={libs:[Faf.es2015_iterable],variables:[["ObjectConstructor",Raf.TYPE]]}});var Apn=j(wzt=>{"use strict";Object.defineProperty(wzt,"__esModule",{value:!0});wzt.es2019_string=void 0;var Laf=bd();wzt.es2019_string={libs:[],variables:[["String",Laf.TYPE]]}});var hpn=j(Bzt=>{"use strict";Object.defineProperty(Bzt,"__esModule",{value:!0});Bzt.es2019_symbol=void 0;var Maf=bd();Bzt.es2019_symbol={libs:[],variables:[["Symbol",Maf.TYPE]]}});var Pzt=j(kzt=>{"use strict";Object.defineProperty(kzt,"__esModule",{value:!0});kzt.es2019=void 0;var Qaf=bzt(),jaf=dpn(),Uaf=mpn(),qaf=gpn(),Yaf=Apn(),Gaf=hpn();kzt.es2019={libs:[Qaf.es2018,jaf.es2019_array,qaf.es2019_object,Yaf.es2019_string,Gaf.es2019_symbol,Uaf.es2019_intl],variables:[]}});var gFs=j(Nzt=>{"use strict";Object.defineProperty(Nzt,"__esModule",{value:!0});Nzt.es2019_full=void 0;var Vaf=MK(),$af=spe(),Kaf=rZ(),Jaf=Pzt(),Haf=qK(),zaf=YK();Nzt.es2019_full={libs:[Jaf.es2019,Vaf.dom,zaf.webworker_importscripts,Haf.scripthost,Kaf.dom_iterable,$af.dom_asynciterable],variables:[]}});var bTe=j(Ozt=>{"use strict";Object.defineProperty(Ozt,"__esModule",{value:!0});Ozt.es2020_intl=void 0;var Waf=bd(),Xaf=Ezt();Ozt.es2020_intl={libs:[Xaf.es2018_intl],variables:[["Intl",Waf.TYPE_VALUE]]}});var s1t=j(Rzt=>{"use strict";Object.defineProperty(Rzt,"__esModule",{value:!0});Rzt.es2020_bigint=void 0;var Dye=bd(),Zaf=bTe();Rzt.es2020_bigint={libs:[Zaf.es2020_intl],variables:[["BigIntToLocaleStringOptions",Dye.TYPE],["BigInt",Dye.TYPE_VALUE],["BigIntConstructor",Dye.TYPE],["BigInt64Array",Dye.TYPE_VALUE],["BigInt64ArrayConstructor",Dye.TYPE],["BigUint64Array",Dye.TYPE_VALUE],["BigUint64ArrayConstructor",Dye.TYPE],["DataView",Dye.TYPE],["Intl",Dye.TYPE_VALUE]]}});var ypn=j(Fzt=>{"use strict";Object.defineProperty(Fzt,"__esModule",{value:!0});Fzt.es2020_date=void 0;var eof=bd(),tof=bTe();Fzt.es2020_date={libs:[tof.es2020_intl],variables:[["Date",eof.TYPE]]}});var _pn=j(Lzt=>{"use strict";Object.defineProperty(Lzt,"__esModule",{value:!0});Lzt.es2020_number=void 0;var rof=bd(),nof=bTe();Lzt.es2020_number={libs:[nof.es2020_intl],variables:[["Number",rof.TYPE]]}});var Epn=j(Qzt=>{"use strict";Object.defineProperty(Qzt,"__esModule",{value:!0});Qzt.es2020_promise=void 0;var Mzt=bd();Qzt.es2020_promise={libs:[],variables:[["PromiseFulfilledResult",Mzt.TYPE],["PromiseRejectedResult",Mzt.TYPE],["PromiseSettledResult",Mzt.TYPE],["PromiseConstructor",Mzt.TYPE]]}});var xpn=j(jzt=>{"use strict";Object.defineProperty(jzt,"__esModule",{value:!0});jzt.es2020_sharedmemory=void 0;var iof=bd(),sof=s1t();jzt.es2020_sharedmemory={libs:[sof.es2020_bigint],variables:[["Atomics",iof.TYPE]]}});var qzt=j(Uzt=>{"use strict";Object.defineProperty(Uzt,"__esModule",{value:!0});Uzt.es2020_symbol_wellknown=void 0;var vpn=bd(),aof=jK(),oof=QK();Uzt.es2020_symbol_wellknown={libs:[aof.es2015_iterable,oof.es2015_symbol],variables:[["SymbolConstructor",vpn.TYPE],["RegExpStringIterator",vpn.TYPE],["RegExp",vpn.TYPE]]}});var Cpn=j(Yzt=>{"use strict";Object.defineProperty(Yzt,"__esModule",{value:!0});Yzt.es2020_string=void 0;var uof=bd(),lof=jK(),cof=bTe(),fof=qzt();Yzt.es2020_string={libs:[lof.es2015_iterable,cof.es2020_intl,fof.es2020_symbol_wellknown],variables:[["String",uof.TYPE]]}});var Vzt=j(Gzt=>{"use strict";Object.defineProperty(Gzt,"__esModule",{value:!0});Gzt.es2020=void 0;var pof=Pzt(),dof=s1t(),mof=ypn(),gof=bTe(),Aof=_pn(),hof=Epn(),yof=xpn(),_of=Cpn(),Eof=qzt();Gzt.es2020={libs:[pof.es2019,dof.es2020_bigint,mof.es2020_date,Aof.es2020_number,hof.es2020_promise,yof.es2020_sharedmemory,_of.es2020_string,Eof.es2020_symbol_wellknown,gof.es2020_intl],variables:[]}});var AFs=j($zt=>{"use strict";Object.defineProperty($zt,"__esModule",{value:!0});$zt.es2020_full=void 0;var xof=MK(),vof=spe(),Cof=rZ(),bof=Vzt(),Iof=qK(),Sof=YK();$zt.es2020_full={libs:[bof.es2020,xof.dom,Sof.webworker_importscripts,Iof.scripthost,Cof.dom_iterable,vof.dom_asynciterable],variables:[]}});var bpn=j(Kzt=>{"use strict";Object.defineProperty(Kzt,"__esModule",{value:!0});Kzt.es2021_intl=void 0;var Tof=bd();Kzt.es2021_intl={libs:[],variables:[["Intl",Tof.TYPE_VALUE]]}});var Hzt=j(Jzt=>{"use strict";Object.defineProperty(Jzt,"__esModule",{value:!0});Jzt.es2021_promise=void 0;var Ipn=bd();Jzt.es2021_promise={libs:[],variables:[["AggregateError",Ipn.TYPE_VALUE],["AggregateErrorConstructor",Ipn.TYPE],["PromiseConstructor",Ipn.TYPE]]}});var Spn=j(zzt=>{"use strict";Object.defineProperty(zzt,"__esModule",{value:!0});zzt.es2021_string=void 0;var Dof=bd();zzt.es2021_string={libs:[],variables:[["String",Dof.TYPE]]}});var Tpn=j(Xzt=>{"use strict";Object.defineProperty(Xzt,"__esModule",{value:!0});Xzt.es2021_weakref=void 0;var Wzt=bd(),wof=p5e();Xzt.es2021_weakref={libs:[wof.es2015_symbol_wellknown],variables:[["WeakRef",Wzt.TYPE_VALUE],["WeakRefConstructor",Wzt.TYPE],["FinalizationRegistry",Wzt.TYPE_VALUE],["FinalizationRegistryConstructor",Wzt.TYPE]]}});var eWt=j(Zzt=>{"use strict";Object.defineProperty(Zzt,"__esModule",{value:!0});Zzt.es2021=void 0;var Bof=Vzt(),kof=bpn(),Pof=Hzt(),Nof=Spn(),Oof=Tpn();Zzt.es2021={libs:[Bof.es2020,Pof.es2021_promise,Nof.es2021_string,Oof.es2021_weakref,kof.es2021_intl],variables:[]}});var hFs=j(tWt=>{"use strict";Object.defineProperty(tWt,"__esModule",{value:!0});tWt.es2021_full=void 0;var Rof=MK(),Fof=spe(),Lof=rZ(),Mof=eWt(),Qof=qK(),jof=YK();tWt.es2021_full={libs:[Mof.es2021,Rof.dom,jof.webworker_importscripts,Qof.scripthost,Lof.dom_iterable,Fof.dom_asynciterable],variables:[]}});var Dpn=j(rWt=>{"use strict";Object.defineProperty(rWt,"__esModule",{value:!0});rWt.es2022_array=void 0;var GK=bd();rWt.es2022_array={libs:[],variables:[["Array",GK.TYPE],["ReadonlyArray",GK.TYPE],["Int8Array",GK.TYPE],["Uint8Array",GK.TYPE],["Uint8ClampedArray",GK.TYPE],["Int16Array",GK.TYPE],["Uint16Array",GK.TYPE],["Int32Array",GK.TYPE],["Uint32Array",GK.TYPE],["Float32Array",GK.TYPE],["Float64Array",GK.TYPE],["BigInt64Array",GK.TYPE],["BigUint64Array",GK.TYPE]]}});var wpn=j(nWt=>{"use strict";Object.defineProperty(nWt,"__esModule",{value:!0});nWt.es2022_error=void 0;var ope=bd(),Uof=Hzt();nWt.es2022_error={libs:[Uof.es2021_promise],variables:[["ErrorOptions",ope.TYPE],["Error",ope.TYPE],["ErrorConstructor",ope.TYPE],["EvalErrorConstructor",ope.TYPE],["RangeErrorConstructor",ope.TYPE],["ReferenceErrorConstructor",ope.TYPE],["SyntaxErrorConstructor",ope.TYPE],["TypeErrorConstructor",ope.TYPE],["URIErrorConstructor",ope.TYPE],["AggregateErrorConstructor",ope.TYPE]]}});var Bpn=j(iWt=>{"use strict";Object.defineProperty(iWt,"__esModule",{value:!0});iWt.es2022_intl=void 0;var qof=bd();iWt.es2022_intl={libs:[],variables:[["Intl",qof.TYPE_VALUE]]}});var kpn=j(sWt=>{"use strict";Object.defineProperty(sWt,"__esModule",{value:!0});sWt.es2022_object=void 0;var Yof=bd();sWt.es2022_object={libs:[],variables:[["ObjectConstructor",Yof.TYPE]]}});var Ppn=j(oWt=>{"use strict";Object.defineProperty(oWt,"__esModule",{value:!0});oWt.es2022_regexp=void 0;var aWt=bd();oWt.es2022_regexp={libs:[],variables:[["RegExpMatchArray",aWt.TYPE],["RegExpExecArray",aWt.TYPE],["RegExpIndicesArray",aWt.TYPE],["RegExp",aWt.TYPE]]}});var Npn=j(uWt=>{"use strict";Object.defineProperty(uWt,"__esModule",{value:!0});uWt.es2022_string=void 0;var Gof=bd();uWt.es2022_string={libs:[],variables:[["String",Gof.TYPE]]}});var cWt=j(lWt=>{"use strict";Object.defineProperty(lWt,"__esModule",{value:!0});lWt.es2022=void 0;var Vof=eWt(),$of=Dpn(),Kof=wpn(),Jof=Bpn(),Hof=kpn(),zof=Ppn(),Wof=Npn();lWt.es2022={libs:[Vof.es2021,$of.es2022_array,Kof.es2022_error,Jof.es2022_intl,Hof.es2022_object,zof.es2022_regexp,Wof.es2022_string],variables:[]}});var yFs=j(fWt=>{"use strict";Object.defineProperty(fWt,"__esModule",{value:!0});fWt.es2022_full=void 0;var Xof=MK(),Zof=spe(),euf=rZ(),tuf=cWt(),ruf=qK(),nuf=YK();fWt.es2022_full={libs:[tuf.es2022,Xof.dom,nuf.webworker_importscripts,ruf.scripthost,euf.dom_iterable,Zof.dom_asynciterable],variables:[]}});var Opn=j(pWt=>{"use strict";Object.defineProperty(pWt,"__esModule",{value:!0});pWt.es2023_array=void 0;var VK=bd();pWt.es2023_array={libs:[],variables:[["Array",VK.TYPE],["ReadonlyArray",VK.TYPE],["Int8Array",VK.TYPE],["Uint8Array",VK.TYPE],["Uint8ClampedArray",VK.TYPE],["Int16Array",VK.TYPE],["Uint16Array",VK.TYPE],["Int32Array",VK.TYPE],["Uint32Array",VK.TYPE],["Float32Array",VK.TYPE],["Float64Array",VK.TYPE],["BigInt64Array",VK.TYPE],["BigUint64Array",VK.TYPE]]}});var Rpn=j(dWt=>{"use strict";Object.defineProperty(dWt,"__esModule",{value:!0});dWt.es2023_collection=void 0;var iuf=bd();dWt.es2023_collection={libs:[],variables:[["WeakKeyTypes",iuf.TYPE]]}});var Fpn=j(mWt=>{"use strict";Object.defineProperty(mWt,"__esModule",{value:!0});mWt.es2023_intl=void 0;var suf=bd();mWt.es2023_intl={libs:[],variables:[["Intl",suf.TYPE_VALUE]]}});var AWt=j(gWt=>{"use strict";Object.defineProperty(gWt,"__esModule",{value:!0});gWt.es2023=void 0;var auf=cWt(),ouf=Opn(),uuf=Rpn(),luf=Fpn();gWt.es2023={libs:[auf.es2022,ouf.es2023_array,uuf.es2023_collection,luf.es2023_intl],variables:[]}});var _Fs=j(hWt=>{"use strict";Object.defineProperty(hWt,"__esModule",{value:!0});hWt.es2023_full=void 0;var cuf=MK(),fuf=spe(),puf=rZ(),duf=AWt(),muf=qK(),guf=YK();hWt.es2023_full={libs:[duf.es2023,cuf.dom,guf.webworker_importscripts,muf.scripthost,puf.dom_iterable,fuf.dom_asynciterable],variables:[]}});var Lpn=j(yWt=>{"use strict";Object.defineProperty(yWt,"__esModule",{value:!0});yWt.es2024_arraybuffer=void 0;var EFs=bd();yWt.es2024_arraybuffer={libs:[],variables:[["ArrayBuffer",EFs.TYPE],["ArrayBufferConstructor",EFs.TYPE]]}});var EWt=j(_Wt=>{"use strict";Object.defineProperty(_Wt,"__esModule",{value:!0});_Wt.es2024_collection=void 0;var Auf=bd();_Wt.es2024_collection={libs:[],variables:[["MapConstructor",Auf.TYPE]]}});var Mpn=j(xWt=>{"use strict";Object.defineProperty(xWt,"__esModule",{value:!0});xWt.es2024_object=void 0;var huf=bd();xWt.es2024_object={libs:[],variables:[["ObjectConstructor",huf.TYPE]]}});var Qpn=j(vWt=>{"use strict";Object.defineProperty(vWt,"__esModule",{value:!0});vWt.es2024_promise=void 0;var xFs=bd();vWt.es2024_promise={libs:[],variables:[["PromiseWithResolvers",xFs.TYPE],["PromiseConstructor",xFs.TYPE]]}});var jpn=j(CWt=>{"use strict";Object.defineProperty(CWt,"__esModule",{value:!0});CWt.es2024_regexp=void 0;var yuf=bd();CWt.es2024_regexp={libs:[],variables:[["RegExp",yuf.TYPE]]}});var qpn=j(bWt=>{"use strict";Object.defineProperty(bWt,"__esModule",{value:!0});bWt.es2024_sharedmemory=void 0;var Upn=bd(),_uf=s1t();bWt.es2024_sharedmemory={libs:[_uf.es2020_bigint],variables:[["Atomics",Upn.TYPE],["SharedArrayBuffer",Upn.TYPE],["SharedArrayBufferConstructor",Upn.TYPE]]}});var Ypn=j(IWt=>{"use strict";Object.defineProperty(IWt,"__esModule",{value:!0});IWt.es2024_string=void 0;var Euf=bd();IWt.es2024_string={libs:[],variables:[["String",Euf.TYPE]]}});var TWt=j(SWt=>{"use strict";Object.defineProperty(SWt,"__esModule",{value:!0});SWt.es2024=void 0;var xuf=AWt(),vuf=Lpn(),Cuf=EWt(),buf=Mpn(),Iuf=Qpn(),Suf=jpn(),Tuf=qpn(),Duf=Ypn();SWt.es2024={libs:[xuf.es2023,vuf.es2024_arraybuffer,Cuf.es2024_collection,buf.es2024_object,Iuf.es2024_promise,Suf.es2024_regexp,Tuf.es2024_sharedmemory,Duf.es2024_string],variables:[]}});var vFs=j(DWt=>{"use strict";Object.defineProperty(DWt,"__esModule",{value:!0});DWt.es2024_full=void 0;var wuf=MK(),Buf=spe(),kuf=rZ(),Puf=TWt(),Nuf=qK(),Ouf=YK();DWt.es2024_full={libs:[Puf.es2024,wuf.dom,Ouf.webworker_importscripts,Nuf.scripthost,kuf.dom_iterable,Buf.dom_asynciterable],variables:[]}});var Gpn=j(wWt=>{"use strict";Object.defineProperty(wWt,"__esModule",{value:!0});wWt.esnext_array=void 0;var Ruf=bd();wWt.esnext_array={libs:[],variables:[["ArrayConstructor",Ruf.TYPE]]}});var $pn=j(BWt=>{"use strict";Object.defineProperty(BWt,"__esModule",{value:!0});BWt.esnext_collection=void 0;var Vpn=bd(),Fuf=EWt();BWt.esnext_collection={libs:[Fuf.es2024_collection],variables:[["ReadonlySetLike",Vpn.TYPE],["Set",Vpn.TYPE],["ReadonlySet",Vpn.TYPE]]}});var Kpn=j(kWt=>{"use strict";Object.defineProperty(kWt,"__esModule",{value:!0});kWt.esnext_decorators=void 0;var CFs=bd(),Luf=bHt(),Muf=QK();kWt.esnext_decorators={libs:[Muf.es2015_symbol,Luf.decorators],variables:[["SymbolConstructor",CFs.TYPE],["Function",CFs.TYPE]]}});var Jpn=j(PWt=>{"use strict";Object.defineProperty(PWt,"__esModule",{value:!0});PWt.esnext_disposable=void 0;var Cse=bd(),Quf=jK(),juf=QK(),Uuf=i1t();PWt.esnext_disposable={libs:[juf.es2015_symbol,Quf.es2015_iterable,Uuf.es2018_asynciterable],variables:[["SymbolConstructor",Cse.TYPE],["Disposable",Cse.TYPE],["AsyncDisposable",Cse.TYPE],["SuppressedError",Cse.TYPE_VALUE],["SuppressedErrorConstructor",Cse.TYPE],["DisposableStack",Cse.TYPE_VALUE],["DisposableStackConstructor",Cse.TYPE],["AsyncDisposableStack",Cse.TYPE_VALUE],["AsyncDisposableStackConstructor",Cse.TYPE],["IteratorObject",Cse.TYPE],["AsyncIteratorObject",Cse.TYPE]]}});var Hpn=j(NWt=>{"use strict";Object.defineProperty(NWt,"__esModule",{value:!0});NWt.esnext_error=void 0;var quf=bd();NWt.esnext_error={libs:[],variables:[["ErrorConstructor",quf.TYPE]]}});var zpn=j(RWt=>{"use strict";Object.defineProperty(RWt,"__esModule",{value:!0});RWt.esnext_float16=void 0;var OWt=bd(),Yuf=jK(),Guf=QK();RWt.esnext_float16={libs:[Guf.es2015_symbol,Yuf.es2015_iterable],variables:[["Float16Array",OWt.TYPE_VALUE],["Float16ArrayConstructor",OWt.TYPE],["Math",OWt.TYPE],["DataView",OWt.TYPE]]}});var Wpn=j(FWt=>{"use strict";Object.defineProperty(FWt,"__esModule",{value:!0});FWt.esnext_intl=void 0;var Vuf=bd();FWt.esnext_intl={libs:[],variables:[["Intl",Vuf.TYPE_VALUE]]}});var Xpn=j(LWt=>{"use strict";Object.defineProperty(LWt,"__esModule",{value:!0});LWt.esnext_iterator=void 0;var bFs=bd(),$uf=jK();LWt.esnext_iterator={libs:[$uf.es2015_iterable],variables:[["Iterator",bFs.TYPE_VALUE],["IteratorObjectConstructor",bFs.TYPE]]}});var Zpn=j(MWt=>{"use strict";Object.defineProperty(MWt,"__esModule",{value:!0});MWt.esnext_promise=void 0;var Kuf=bd();MWt.esnext_promise={libs:[],variables:[["PromiseConstructor",Kuf.TYPE]]}});var edn=j(QWt=>{"use strict";Object.defineProperty(QWt,"__esModule",{value:!0});QWt.esnext_sharedmemory=void 0;var Juf=bd();QWt.esnext_sharedmemory={libs:[],variables:[["Atomics",Juf.TYPE]]}});var tdn=j(jWt=>{"use strict";Object.defineProperty(jWt,"__esModule",{value:!0});jWt.esnext=void 0;var Huf=TWt(),zuf=Gpn(),Wuf=$pn(),Xuf=Kpn(),Zuf=Jpn(),elf=Hpn(),tlf=zpn(),rlf=Wpn(),nlf=Xpn(),ilf=Zpn(),slf=edn();jWt.esnext={libs:[Huf.es2024,rlf.esnext_intl,Xuf.esnext_decorators,Zuf.esnext_disposable,Wuf.esnext_collection,zuf.esnext_array,nlf.esnext_iterator,ilf.esnext_promise,tlf.esnext_float16,elf.esnext_error,slf.esnext_sharedmemory],variables:[]}});var IFs=j(UWt=>{"use strict";Object.defineProperty(UWt,"__esModule",{value:!0});UWt.esnext_asynciterable=void 0;var a1t=bd(),alf=jK(),olf=QK();UWt.esnext_asynciterable={libs:[olf.es2015_symbol,alf.es2015_iterable],variables:[["SymbolConstructor",a1t.TYPE],["AsyncIterator",a1t.TYPE],["AsyncIterable",a1t.TYPE],["AsyncIterableIterator",a1t.TYPE],["AsyncIteratorObject",a1t.TYPE]]}});var SFs=j(qWt=>{"use strict";Object.defineProperty(qWt,"__esModule",{value:!0});qWt.esnext_bigint=void 0;var wye=bd(),ulf=bTe();qWt.esnext_bigint={libs:[ulf.es2020_intl],variables:[["BigIntToLocaleStringOptions",wye.TYPE],["BigInt",wye.TYPE_VALUE],["BigIntConstructor",wye.TYPE],["BigInt64Array",wye.TYPE_VALUE],["BigInt64ArrayConstructor",wye.TYPE],["BigUint64Array",wye.TYPE_VALUE],["BigUint64ArrayConstructor",wye.TYPE],["DataView",wye.TYPE],["Intl",wye.TYPE_VALUE]]}});var TFs=j(YWt=>{"use strict";Object.defineProperty(YWt,"__esModule",{value:!0});YWt.esnext_full=void 0;var llf=MK(),clf=spe(),flf=rZ(),plf=tdn(),dlf=qK(),mlf=YK();YWt.esnext_full={libs:[plf.esnext,llf.dom,mlf.webworker_importscripts,dlf.scripthost,flf.dom_iterable,clf.dom_asynciterable],variables:[]}});var DFs=j(GWt=>{"use strict";Object.defineProperty(GWt,"__esModule",{value:!0});GWt.esnext_object=void 0;var glf=bd();GWt.esnext_object={libs:[],variables:[["ObjectConstructor",glf.TYPE]]}});var wFs=j(VWt=>{"use strict";Object.defineProperty(VWt,"__esModule",{value:!0});VWt.esnext_regexp=void 0;var Alf=bd();VWt.esnext_regexp={libs:[],variables:[["RegExp",Alf.TYPE]]}});var BFs=j($Wt=>{"use strict";Object.defineProperty($Wt,"__esModule",{value:!0});$Wt.esnext_string=void 0;var hlf=bd();$Wt.esnext_string={libs:[],variables:[["String",hlf.TYPE]]}});var kFs=j(KWt=>{"use strict";Object.defineProperty(KWt,"__esModule",{value:!0});KWt.esnext_symbol=void 0;var ylf=bd();KWt.esnext_symbol={libs:[],variables:[["Symbol",ylf.TYPE]]}});var PFs=j(HWt=>{"use strict";Object.defineProperty(HWt,"__esModule",{value:!0});HWt.esnext_weakref=void 0;var JWt=bd(),_lf=p5e();HWt.esnext_weakref={libs:[_lf.es2015_symbol_wellknown],variables:[["WeakRef",JWt.TYPE_VALUE],["WeakRefConstructor",JWt.TYPE],["FinalizationRegistry",JWt.TYPE_VALUE],["FinalizationRegistryConstructor",JWt.TYPE]]}});var NFs=j(zWt=>{"use strict";Object.defineProperty(zWt,"__esModule",{value:!0});zWt.lib=void 0;var Elf=MK(),xlf=r1t(),vlf=qK(),Clf=YK();zWt.lib={libs:[xlf.es5,Elf.dom,Clf.webworker_importscripts,vlf.scripthost],variables:[]}});var OFs=j(WWt=>{"use strict";Object.defineProperty(WWt,"__esModule",{value:!0});WWt.webworker=void 0;var Ar=bd();WWt.webworker={libs:[],variables:[["AddEventListenerOptions",Ar.TYPE],["AesCbcParams",Ar.TYPE],["AesCtrParams",Ar.TYPE],["AesDerivedKeyParams",Ar.TYPE],["AesGcmParams",Ar.TYPE],["AesKeyAlgorithm",Ar.TYPE],["AesKeyGenParams",Ar.TYPE],["Algorithm",Ar.TYPE],["AudioConfiguration",Ar.TYPE],["AudioDataCopyToOptions",Ar.TYPE],["AudioDataInit",Ar.TYPE],["AudioDecoderConfig",Ar.TYPE],["AudioDecoderInit",Ar.TYPE],["AudioDecoderSupport",Ar.TYPE],["AudioEncoderConfig",Ar.TYPE],["AudioEncoderInit",Ar.TYPE],["AudioEncoderSupport",Ar.TYPE],["AvcEncoderConfig",Ar.TYPE],["BlobPropertyBag",Ar.TYPE],["CSSMatrixComponentOptions",Ar.TYPE],["CSSNumericType",Ar.TYPE],["CacheQueryOptions",Ar.TYPE],["ClientQueryOptions",Ar.TYPE],["CloseEventInit",Ar.TYPE],["CookieInit",Ar.TYPE],["CookieListItem",Ar.TYPE],["CookieStoreDeleteOptions",Ar.TYPE],["CookieStoreGetOptions",Ar.TYPE],["CryptoKeyPair",Ar.TYPE],["CustomEventInit",Ar.TYPE],["DOMMatrix2DInit",Ar.TYPE],["DOMMatrixInit",Ar.TYPE],["DOMPointInit",Ar.TYPE],["DOMQuadInit",Ar.TYPE],["DOMRectInit",Ar.TYPE],["EcKeyGenParams",Ar.TYPE],["EcKeyImportParams",Ar.TYPE],["EcdhKeyDeriveParams",Ar.TYPE],["EcdsaParams",Ar.TYPE],["EncodedAudioChunkInit",Ar.TYPE],["EncodedAudioChunkMetadata",Ar.TYPE],["EncodedVideoChunkInit",Ar.TYPE],["EncodedVideoChunkMetadata",Ar.TYPE],["ErrorEventInit",Ar.TYPE],["EventInit",Ar.TYPE],["EventListenerOptions",Ar.TYPE],["EventSourceInit",Ar.TYPE],["ExtendableCookieChangeEventInit",Ar.TYPE],["ExtendableEventInit",Ar.TYPE],["ExtendableMessageEventInit",Ar.TYPE],["FetchEventInit",Ar.TYPE],["FilePropertyBag",Ar.TYPE],["FileSystemCreateWritableOptions",Ar.TYPE],["FileSystemGetDirectoryOptions",Ar.TYPE],["FileSystemGetFileOptions",Ar.TYPE],["FileSystemReadWriteOptions",Ar.TYPE],["FileSystemRemoveOptions",Ar.TYPE],["FontFaceDescriptors",Ar.TYPE],["FontFaceSetLoadEventInit",Ar.TYPE],["GetNotificationOptions",Ar.TYPE],["HkdfParams",Ar.TYPE],["HmacImportParams",Ar.TYPE],["HmacKeyGenParams",Ar.TYPE],["IDBDatabaseInfo",Ar.TYPE],["IDBIndexParameters",Ar.TYPE],["IDBObjectStoreParameters",Ar.TYPE],["IDBTransactionOptions",Ar.TYPE],["IDBVersionChangeEventInit",Ar.TYPE],["ImageBitmapOptions",Ar.TYPE],["ImageBitmapRenderingContextSettings",Ar.TYPE],["ImageDataSettings",Ar.TYPE],["ImageDecodeOptions",Ar.TYPE],["ImageDecodeResult",Ar.TYPE],["ImageDecoderInit",Ar.TYPE],["ImageEncodeOptions",Ar.TYPE],["JsonWebKey",Ar.TYPE],["KeyAlgorithm",Ar.TYPE],["KeySystemTrackConfiguration",Ar.TYPE],["LockInfo",Ar.TYPE],["LockManagerSnapshot",Ar.TYPE],["LockOptions",Ar.TYPE],["MediaCapabilitiesDecodingInfo",Ar.TYPE],["MediaCapabilitiesEncodingInfo",Ar.TYPE],["MediaCapabilitiesInfo",Ar.TYPE],["MediaCapabilitiesKeySystemConfiguration",Ar.TYPE],["MediaConfiguration",Ar.TYPE],["MediaDecodingConfiguration",Ar.TYPE],["MediaEncodingConfiguration",Ar.TYPE],["MediaStreamTrackProcessorInit",Ar.TYPE],["MessageEventInit",Ar.TYPE],["MultiCacheQueryOptions",Ar.TYPE],["NavigationPreloadState",Ar.TYPE],["NotificationEventInit",Ar.TYPE],["NotificationOptions",Ar.TYPE],["OpusEncoderConfig",Ar.TYPE],["Pbkdf2Params",Ar.TYPE],["PerformanceMarkOptions",Ar.TYPE],["PerformanceMeasureOptions",Ar.TYPE],["PerformanceObserverInit",Ar.TYPE],["PermissionDescriptor",Ar.TYPE],["PlaneLayout",Ar.TYPE],["ProgressEventInit",Ar.TYPE],["PromiseRejectionEventInit",Ar.TYPE],["PushEventInit",Ar.TYPE],["PushSubscriptionChangeEventInit",Ar.TYPE],["PushSubscriptionJSON",Ar.TYPE],["PushSubscriptionOptionsInit",Ar.TYPE],["QueuingStrategy",Ar.TYPE],["QueuingStrategyInit",Ar.TYPE],["RTCEncodedAudioFrameMetadata",Ar.TYPE],["RTCEncodedFrameMetadata",Ar.TYPE],["RTCEncodedVideoFrameMetadata",Ar.TYPE],["ReadableStreamGetReaderOptions",Ar.TYPE],["ReadableStreamIteratorOptions",Ar.TYPE],["ReadableStreamReadDoneResult",Ar.TYPE],["ReadableStreamReadValueResult",Ar.TYPE],["ReadableWritablePair",Ar.TYPE],["RegistrationOptions",Ar.TYPE],["ReportingObserverOptions",Ar.TYPE],["RequestInit",Ar.TYPE],["ResponseInit",Ar.TYPE],["RsaHashedImportParams",Ar.TYPE],["RsaHashedKeyGenParams",Ar.TYPE],["RsaKeyGenParams",Ar.TYPE],["RsaOaepParams",Ar.TYPE],["RsaOtherPrimesInfo",Ar.TYPE],["RsaPssParams",Ar.TYPE],["SecurityPolicyViolationEventInit",Ar.TYPE],["StorageEstimate",Ar.TYPE],["StreamPipeOptions",Ar.TYPE],["StructuredSerializeOptions",Ar.TYPE],["TextDecodeOptions",Ar.TYPE],["TextDecoderOptions",Ar.TYPE],["TextEncoderEncodeIntoResult",Ar.TYPE],["Transformer",Ar.TYPE],["UnderlyingByteSource",Ar.TYPE],["UnderlyingDefaultSource",Ar.TYPE],["UnderlyingSink",Ar.TYPE],["UnderlyingSource",Ar.TYPE],["VideoColorSpaceInit",Ar.TYPE],["VideoConfiguration",Ar.TYPE],["VideoDecoderConfig",Ar.TYPE],["VideoDecoderInit",Ar.TYPE],["VideoDecoderSupport",Ar.TYPE],["VideoEncoderConfig",Ar.TYPE],["VideoEncoderEncodeOptions",Ar.TYPE],["VideoEncoderEncodeOptionsForAvc",Ar.TYPE],["VideoEncoderInit",Ar.TYPE],["VideoEncoderSupport",Ar.TYPE],["VideoFrameBufferInit",Ar.TYPE],["VideoFrameCopyToOptions",Ar.TYPE],["VideoFrameInit",Ar.TYPE],["WebGLContextAttributes",Ar.TYPE],["WebGLContextEventInit",Ar.TYPE],["WebTransportCloseInfo",Ar.TYPE],["WebTransportErrorOptions",Ar.TYPE],["WebTransportHash",Ar.TYPE],["WebTransportOptions",Ar.TYPE],["WebTransportSendOptions",Ar.TYPE],["WebTransportSendStreamOptions",Ar.TYPE],["WorkerOptions",Ar.TYPE],["WriteParams",Ar.TYPE],["ANGLE_instanced_arrays",Ar.TYPE],["AbortController",Ar.TYPE_VALUE],["AbortSignalEventMap",Ar.TYPE],["AbortSignal",Ar.TYPE_VALUE],["AbstractWorkerEventMap",Ar.TYPE],["AbstractWorker",Ar.TYPE],["AnimationFrameProvider",Ar.TYPE],["AudioData",Ar.TYPE_VALUE],["AudioDecoderEventMap",Ar.TYPE],["AudioDecoder",Ar.TYPE_VALUE],["AudioEncoderEventMap",Ar.TYPE],["AudioEncoder",Ar.TYPE_VALUE],["Blob",Ar.TYPE_VALUE],["Body",Ar.TYPE],["BroadcastChannelEventMap",Ar.TYPE],["BroadcastChannel",Ar.TYPE_VALUE],["ByteLengthQueuingStrategy",Ar.TYPE_VALUE],["CSSImageValue",Ar.TYPE_VALUE],["CSSKeywordValue",Ar.TYPE_VALUE],["CSSMathClamp",Ar.TYPE_VALUE],["CSSMathInvert",Ar.TYPE_VALUE],["CSSMathMax",Ar.TYPE_VALUE],["CSSMathMin",Ar.TYPE_VALUE],["CSSMathNegate",Ar.TYPE_VALUE],["CSSMathProduct",Ar.TYPE_VALUE],["CSSMathSum",Ar.TYPE_VALUE],["CSSMathValue",Ar.TYPE_VALUE],["CSSMatrixComponent",Ar.TYPE_VALUE],["CSSNumericArray",Ar.TYPE_VALUE],["CSSNumericValue",Ar.TYPE_VALUE],["CSSPerspective",Ar.TYPE_VALUE],["CSSRotate",Ar.TYPE_VALUE],["CSSScale",Ar.TYPE_VALUE],["CSSSkew",Ar.TYPE_VALUE],["CSSSkewX",Ar.TYPE_VALUE],["CSSSkewY",Ar.TYPE_VALUE],["CSSStyleValue",Ar.TYPE_VALUE],["CSSTransformComponent",Ar.TYPE_VALUE],["CSSTransformValue",Ar.TYPE_VALUE],["CSSTranslate",Ar.TYPE_VALUE],["CSSUnitValue",Ar.TYPE_VALUE],["CSSUnparsedValue",Ar.TYPE_VALUE],["CSSVariableReferenceValue",Ar.TYPE_VALUE],["Cache",Ar.TYPE_VALUE],["CacheStorage",Ar.TYPE_VALUE],["CanvasCompositing",Ar.TYPE],["CanvasDrawImage",Ar.TYPE],["CanvasDrawPath",Ar.TYPE],["CanvasFillStrokeStyles",Ar.TYPE],["CanvasFilters",Ar.TYPE],["CanvasGradient",Ar.TYPE_VALUE],["CanvasImageData",Ar.TYPE],["CanvasImageSmoothing",Ar.TYPE],["CanvasPath",Ar.TYPE],["CanvasPathDrawingStyles",Ar.TYPE],["CanvasPattern",Ar.TYPE_VALUE],["CanvasRect",Ar.TYPE],["CanvasShadowStyles",Ar.TYPE],["CanvasState",Ar.TYPE],["CanvasText",Ar.TYPE],["CanvasTextDrawingStyles",Ar.TYPE],["CanvasTransform",Ar.TYPE],["Client",Ar.TYPE_VALUE],["Clients",Ar.TYPE_VALUE],["CloseEvent",Ar.TYPE_VALUE],["CompressionStream",Ar.TYPE_VALUE],["CookieStore",Ar.TYPE_VALUE],["CookieStoreManager",Ar.TYPE_VALUE],["CountQueuingStrategy",Ar.TYPE_VALUE],["Crypto",Ar.TYPE_VALUE],["CryptoKey",Ar.TYPE_VALUE],["CustomEvent",Ar.TYPE_VALUE],["DOMException",Ar.TYPE_VALUE],["DOMMatrix",Ar.TYPE_VALUE],["DOMMatrixReadOnly",Ar.TYPE_VALUE],["DOMPoint",Ar.TYPE_VALUE],["DOMPointReadOnly",Ar.TYPE_VALUE],["DOMQuad",Ar.TYPE_VALUE],["DOMRect",Ar.TYPE_VALUE],["DOMRectReadOnly",Ar.TYPE_VALUE],["DOMStringList",Ar.TYPE_VALUE],["DecompressionStream",Ar.TYPE_VALUE],["DedicatedWorkerGlobalScopeEventMap",Ar.TYPE],["DedicatedWorkerGlobalScope",Ar.TYPE_VALUE],["EXT_blend_minmax",Ar.TYPE],["EXT_color_buffer_float",Ar.TYPE],["EXT_color_buffer_half_float",Ar.TYPE],["EXT_float_blend",Ar.TYPE],["EXT_frag_depth",Ar.TYPE],["EXT_sRGB",Ar.TYPE],["EXT_shader_texture_lod",Ar.TYPE],["EXT_texture_compression_bptc",Ar.TYPE],["EXT_texture_compression_rgtc",Ar.TYPE],["EXT_texture_filter_anisotropic",Ar.TYPE],["EXT_texture_norm16",Ar.TYPE],["EncodedAudioChunk",Ar.TYPE_VALUE],["EncodedVideoChunk",Ar.TYPE_VALUE],["ErrorEvent",Ar.TYPE_VALUE],["Event",Ar.TYPE_VALUE],["EventListener",Ar.TYPE],["EventListenerObject",Ar.TYPE],["EventSourceEventMap",Ar.TYPE],["EventSource",Ar.TYPE_VALUE],["EventTarget",Ar.TYPE_VALUE],["ExtendableCookieChangeEvent",Ar.TYPE_VALUE],["ExtendableEvent",Ar.TYPE_VALUE],["ExtendableMessageEvent",Ar.TYPE_VALUE],["FetchEvent",Ar.TYPE_VALUE],["File",Ar.TYPE_VALUE],["FileList",Ar.TYPE_VALUE],["FileReaderEventMap",Ar.TYPE],["FileReader",Ar.TYPE_VALUE],["FileReaderSync",Ar.TYPE_VALUE],["FileSystemDirectoryHandle",Ar.TYPE_VALUE],["FileSystemFileHandle",Ar.TYPE_VALUE],["FileSystemHandle",Ar.TYPE_VALUE],["FileSystemSyncAccessHandle",Ar.TYPE_VALUE],["FileSystemWritableFileStream",Ar.TYPE_VALUE],["FontFace",Ar.TYPE_VALUE],["FontFaceSetEventMap",Ar.TYPE],["FontFaceSet",Ar.TYPE_VALUE],["FontFaceSetLoadEvent",Ar.TYPE_VALUE],["FontFaceSource",Ar.TYPE],["FormData",Ar.TYPE_VALUE],["GPUError",Ar.TYPE],["GenericTransformStream",Ar.TYPE],["Headers",Ar.TYPE_VALUE],["IDBCursor",Ar.TYPE_VALUE],["IDBCursorWithValue",Ar.TYPE_VALUE],["IDBDatabaseEventMap",Ar.TYPE],["IDBDatabase",Ar.TYPE_VALUE],["IDBFactory",Ar.TYPE_VALUE],["IDBIndex",Ar.TYPE_VALUE],["IDBKeyRange",Ar.TYPE_VALUE],["IDBObjectStore",Ar.TYPE_VALUE],["IDBOpenDBRequestEventMap",Ar.TYPE],["IDBOpenDBRequest",Ar.TYPE_VALUE],["IDBRequestEventMap",Ar.TYPE],["IDBRequest",Ar.TYPE_VALUE],["IDBTransactionEventMap",Ar.TYPE],["IDBTransaction",Ar.TYPE_VALUE],["IDBVersionChangeEvent",Ar.TYPE_VALUE],["ImageBitmap",Ar.TYPE_VALUE],["ImageBitmapRenderingContext",Ar.TYPE_VALUE],["ImageData",Ar.TYPE_VALUE],["ImageDecoder",Ar.TYPE_VALUE],["ImageTrack",Ar.TYPE_VALUE],["ImageTrackList",Ar.TYPE_VALUE],["ImportMeta",Ar.TYPE],["KHR_parallel_shader_compile",Ar.TYPE],["Lock",Ar.TYPE_VALUE],["LockManager",Ar.TYPE_VALUE],["MediaCapabilities",Ar.TYPE_VALUE],["MediaSourceHandle",Ar.TYPE_VALUE],["MediaStreamTrackProcessor",Ar.TYPE_VALUE],["MessageChannel",Ar.TYPE_VALUE],["MessageEvent",Ar.TYPE_VALUE],["MessageEventTargetEventMap",Ar.TYPE],["MessageEventTarget",Ar.TYPE],["MessagePortEventMap",Ar.TYPE],["MessagePort",Ar.TYPE_VALUE],["NavigationPreloadManager",Ar.TYPE_VALUE],["NavigatorBadge",Ar.TYPE],["NavigatorConcurrentHardware",Ar.TYPE],["NavigatorID",Ar.TYPE],["NavigatorLanguage",Ar.TYPE],["NavigatorLocks",Ar.TYPE],["NavigatorOnLine",Ar.TYPE],["NavigatorStorage",Ar.TYPE],["NotificationEventMap",Ar.TYPE],["Notification",Ar.TYPE_VALUE],["NotificationEvent",Ar.TYPE_VALUE],["OES_draw_buffers_indexed",Ar.TYPE],["OES_element_index_uint",Ar.TYPE],["OES_fbo_render_mipmap",Ar.TYPE],["OES_standard_derivatives",Ar.TYPE],["OES_texture_float",Ar.TYPE],["OES_texture_float_linear",Ar.TYPE],["OES_texture_half_float",Ar.TYPE],["OES_texture_half_float_linear",Ar.TYPE],["OES_vertex_array_object",Ar.TYPE],["OVR_multiview2",Ar.TYPE],["OffscreenCanvasEventMap",Ar.TYPE],["OffscreenCanvas",Ar.TYPE_VALUE],["OffscreenCanvasRenderingContext2D",Ar.TYPE_VALUE],["Path2D",Ar.TYPE_VALUE],["PerformanceEventMap",Ar.TYPE],["Performance",Ar.TYPE_VALUE],["PerformanceEntry",Ar.TYPE_VALUE],["PerformanceMark",Ar.TYPE_VALUE],["PerformanceMeasure",Ar.TYPE_VALUE],["PerformanceObserver",Ar.TYPE_VALUE],["PerformanceObserverEntryList",Ar.TYPE_VALUE],["PerformanceResourceTiming",Ar.TYPE_VALUE],["PerformanceServerTiming",Ar.TYPE_VALUE],["PermissionStatusEventMap",Ar.TYPE],["PermissionStatus",Ar.TYPE_VALUE],["Permissions",Ar.TYPE_VALUE],["ProgressEvent",Ar.TYPE_VALUE],["PromiseRejectionEvent",Ar.TYPE_VALUE],["PushEvent",Ar.TYPE_VALUE],["PushManager",Ar.TYPE_VALUE],["PushMessageData",Ar.TYPE_VALUE],["PushSubscription",Ar.TYPE_VALUE],["PushSubscriptionChangeEvent",Ar.TYPE_VALUE],["PushSubscriptionOptions",Ar.TYPE_VALUE],["RTCDataChannelEventMap",Ar.TYPE],["RTCDataChannel",Ar.TYPE_VALUE],["RTCEncodedAudioFrame",Ar.TYPE_VALUE],["RTCEncodedVideoFrame",Ar.TYPE_VALUE],["RTCRtpScriptTransformer",Ar.TYPE_VALUE],["RTCTransformEvent",Ar.TYPE_VALUE],["ReadableByteStreamController",Ar.TYPE_VALUE],["ReadableStream",Ar.TYPE_VALUE],["ReadableStreamBYOBReader",Ar.TYPE_VALUE],["ReadableStreamBYOBRequest",Ar.TYPE_VALUE],["ReadableStreamDefaultController",Ar.TYPE_VALUE],["ReadableStreamDefaultReader",Ar.TYPE_VALUE],["ReadableStreamGenericReader",Ar.TYPE],["Report",Ar.TYPE_VALUE],["ReportBody",Ar.TYPE_VALUE],["ReportingObserver",Ar.TYPE_VALUE],["Request",Ar.TYPE_VALUE],["Response",Ar.TYPE_VALUE],["SecurityPolicyViolationEvent",Ar.TYPE_VALUE],["ServiceWorkerEventMap",Ar.TYPE],["ServiceWorker",Ar.TYPE_VALUE],["ServiceWorkerContainerEventMap",Ar.TYPE],["ServiceWorkerContainer",Ar.TYPE_VALUE],["ServiceWorkerGlobalScopeEventMap",Ar.TYPE],["ServiceWorkerGlobalScope",Ar.TYPE_VALUE],["ServiceWorkerRegistrationEventMap",Ar.TYPE],["ServiceWorkerRegistration",Ar.TYPE_VALUE],["SharedWorkerGlobalScopeEventMap",Ar.TYPE],["SharedWorkerGlobalScope",Ar.TYPE_VALUE],["StorageManager",Ar.TYPE_VALUE],["StylePropertyMapReadOnly",Ar.TYPE_VALUE],["SubtleCrypto",Ar.TYPE_VALUE],["TextDecoder",Ar.TYPE_VALUE],["TextDecoderCommon",Ar.TYPE],["TextDecoderStream",Ar.TYPE_VALUE],["TextEncoder",Ar.TYPE_VALUE],["TextEncoderCommon",Ar.TYPE],["TextEncoderStream",Ar.TYPE_VALUE],["TextMetrics",Ar.TYPE_VALUE],["TransformStream",Ar.TYPE_VALUE],["TransformStreamDefaultController",Ar.TYPE_VALUE],["URL",Ar.TYPE_VALUE],["URLSearchParams",Ar.TYPE_VALUE],["VideoColorSpace",Ar.TYPE_VALUE],["VideoDecoderEventMap",Ar.TYPE],["VideoDecoder",Ar.TYPE_VALUE],["VideoEncoderEventMap",Ar.TYPE],["VideoEncoder",Ar.TYPE_VALUE],["VideoFrame",Ar.TYPE_VALUE],["WEBGL_color_buffer_float",Ar.TYPE],["WEBGL_compressed_texture_astc",Ar.TYPE],["WEBGL_compressed_texture_etc",Ar.TYPE],["WEBGL_compressed_texture_etc1",Ar.TYPE],["WEBGL_compressed_texture_pvrtc",Ar.TYPE],["WEBGL_compressed_texture_s3tc",Ar.TYPE],["WEBGL_compressed_texture_s3tc_srgb",Ar.TYPE],["WEBGL_debug_renderer_info",Ar.TYPE],["WEBGL_debug_shaders",Ar.TYPE],["WEBGL_depth_texture",Ar.TYPE],["WEBGL_draw_buffers",Ar.TYPE],["WEBGL_lose_context",Ar.TYPE],["WEBGL_multi_draw",Ar.TYPE],["WebGL2RenderingContext",Ar.TYPE_VALUE],["WebGL2RenderingContextBase",Ar.TYPE],["WebGL2RenderingContextOverloads",Ar.TYPE],["WebGLActiveInfo",Ar.TYPE_VALUE],["WebGLBuffer",Ar.TYPE_VALUE],["WebGLContextEvent",Ar.TYPE_VALUE],["WebGLFramebuffer",Ar.TYPE_VALUE],["WebGLProgram",Ar.TYPE_VALUE],["WebGLQuery",Ar.TYPE_VALUE],["WebGLRenderbuffer",Ar.TYPE_VALUE],["WebGLRenderingContext",Ar.TYPE_VALUE],["WebGLRenderingContextBase",Ar.TYPE],["WebGLRenderingContextOverloads",Ar.TYPE],["WebGLSampler",Ar.TYPE_VALUE],["WebGLShader",Ar.TYPE_VALUE],["WebGLShaderPrecisionFormat",Ar.TYPE_VALUE],["WebGLSync",Ar.TYPE_VALUE],["WebGLTexture",Ar.TYPE_VALUE],["WebGLTransformFeedback",Ar.TYPE_VALUE],["WebGLUniformLocation",Ar.TYPE_VALUE],["WebGLVertexArrayObject",Ar.TYPE_VALUE],["WebGLVertexArrayObjectOES",Ar.TYPE],["WebSocketEventMap",Ar.TYPE],["WebSocket",Ar.TYPE_VALUE],["WebTransport",Ar.TYPE_VALUE],["WebTransportBidirectionalStream",Ar.TYPE_VALUE],["WebTransportDatagramDuplexStream",Ar.TYPE_VALUE],["WebTransportError",Ar.TYPE_VALUE],["WindowClient",Ar.TYPE_VALUE],["WindowOrWorkerGlobalScope",Ar.TYPE],["WorkerEventMap",Ar.TYPE],["Worker",Ar.TYPE_VALUE],["WorkerGlobalScopeEventMap",Ar.TYPE],["WorkerGlobalScope",Ar.TYPE_VALUE],["WorkerLocation",Ar.TYPE_VALUE],["WorkerNavigator",Ar.TYPE_VALUE],["WritableStream",Ar.TYPE_VALUE],["WritableStreamDefaultController",Ar.TYPE_VALUE],["WritableStreamDefaultWriter",Ar.TYPE_VALUE],["XMLHttpRequestEventMap",Ar.TYPE],["XMLHttpRequest",Ar.TYPE_VALUE],["XMLHttpRequestEventTargetEventMap",Ar.TYPE],["XMLHttpRequestEventTarget",Ar.TYPE_VALUE],["XMLHttpRequestUpload",Ar.TYPE_VALUE],["WebAssembly",Ar.TYPE_VALUE],["Console",Ar.TYPE],["AudioDataOutputCallback",Ar.TYPE],["EncodedAudioChunkOutputCallback",Ar.TYPE],["EncodedVideoChunkOutputCallback",Ar.TYPE],["FrameRequestCallback",Ar.TYPE],["LockGrantedCallback",Ar.TYPE],["OnErrorEventHandlerNonNull",Ar.TYPE],["PerformanceObserverCallback",Ar.TYPE],["QueuingStrategySize",Ar.TYPE],["ReportingObserverCallback",Ar.TYPE],["TransformerFlushCallback",Ar.TYPE],["TransformerStartCallback",Ar.TYPE],["TransformerTransformCallback",Ar.TYPE],["UnderlyingSinkAbortCallback",Ar.TYPE],["UnderlyingSinkCloseCallback",Ar.TYPE],["UnderlyingSinkStartCallback",Ar.TYPE],["UnderlyingSinkWriteCallback",Ar.TYPE],["UnderlyingSourceCancelCallback",Ar.TYPE],["UnderlyingSourcePullCallback",Ar.TYPE],["UnderlyingSourceStartCallback",Ar.TYPE],["VideoFrameOutputCallback",Ar.TYPE],["VoidFunction",Ar.TYPE],["WebCodecsErrorCallback",Ar.TYPE],["AlgorithmIdentifier",Ar.TYPE],["AllowSharedBufferSource",Ar.TYPE],["BigInteger",Ar.TYPE],["BlobPart",Ar.TYPE],["BodyInit",Ar.TYPE],["BufferSource",Ar.TYPE],["CSSKeywordish",Ar.TYPE],["CSSNumberish",Ar.TYPE],["CSSPerspectiveValue",Ar.TYPE],["CSSUnparsedSegment",Ar.TYPE],["CanvasImageSource",Ar.TYPE],["CookieList",Ar.TYPE],["DOMHighResTimeStamp",Ar.TYPE],["EpochTimeStamp",Ar.TYPE],["EventListenerOrEventListenerObject",Ar.TYPE],["FileSystemWriteChunkType",Ar.TYPE],["Float32List",Ar.TYPE],["FormDataEntryValue",Ar.TYPE],["GLbitfield",Ar.TYPE],["GLboolean",Ar.TYPE],["GLclampf",Ar.TYPE],["GLenum",Ar.TYPE],["GLfloat",Ar.TYPE],["GLint",Ar.TYPE],["GLint64",Ar.TYPE],["GLintptr",Ar.TYPE],["GLsizei",Ar.TYPE],["GLsizeiptr",Ar.TYPE],["GLuint",Ar.TYPE],["GLuint64",Ar.TYPE],["HashAlgorithmIdentifier",Ar.TYPE],["HeadersInit",Ar.TYPE],["IDBValidKey",Ar.TYPE],["ImageBitmapSource",Ar.TYPE],["ImageBufferSource",Ar.TYPE],["ImageDataArray",Ar.TYPE],["Int32List",Ar.TYPE],["MessageEventSource",Ar.TYPE],["NamedCurve",Ar.TYPE],["OffscreenRenderingContext",Ar.TYPE],["OnErrorEventHandler",Ar.TYPE],["PerformanceEntryList",Ar.TYPE],["PushMessageDataInit",Ar.TYPE],["ReadableStreamController",Ar.TYPE],["ReadableStreamReadResult",Ar.TYPE],["ReadableStreamReader",Ar.TYPE],["ReportList",Ar.TYPE],["RequestInfo",Ar.TYPE],["TexImageSource",Ar.TYPE],["TimerHandler",Ar.TYPE],["Transferable",Ar.TYPE],["Uint32List",Ar.TYPE],["XMLHttpRequestBodyInit",Ar.TYPE],["AlphaOption",Ar.TYPE],["AudioSampleFormat",Ar.TYPE],["AvcBitstreamFormat",Ar.TYPE],["BinaryType",Ar.TYPE],["BitrateMode",Ar.TYPE],["CSSMathOperator",Ar.TYPE],["CSSNumericBaseType",Ar.TYPE],["CanvasDirection",Ar.TYPE],["CanvasFillRule",Ar.TYPE],["CanvasFontKerning",Ar.TYPE],["CanvasFontStretch",Ar.TYPE],["CanvasFontVariantCaps",Ar.TYPE],["CanvasLineCap",Ar.TYPE],["CanvasLineJoin",Ar.TYPE],["CanvasTextAlign",Ar.TYPE],["CanvasTextBaseline",Ar.TYPE],["CanvasTextRendering",Ar.TYPE],["ClientTypes",Ar.TYPE],["CodecState",Ar.TYPE],["ColorGamut",Ar.TYPE],["ColorSpaceConversion",Ar.TYPE],["CompressionFormat",Ar.TYPE],["CookieSameSite",Ar.TYPE],["DocumentVisibilityState",Ar.TYPE],["EncodedAudioChunkType",Ar.TYPE],["EncodedVideoChunkType",Ar.TYPE],["EndingType",Ar.TYPE],["FileSystemHandleKind",Ar.TYPE],["FontDisplay",Ar.TYPE],["FontFaceLoadStatus",Ar.TYPE],["FontFaceSetLoadStatus",Ar.TYPE],["FrameType",Ar.TYPE],["GlobalCompositeOperation",Ar.TYPE],["HardwareAcceleration",Ar.TYPE],["HdrMetadataType",Ar.TYPE],["IDBCursorDirection",Ar.TYPE],["IDBRequestReadyState",Ar.TYPE],["IDBTransactionDurability",Ar.TYPE],["IDBTransactionMode",Ar.TYPE],["ImageOrientation",Ar.TYPE],["ImageSmoothingQuality",Ar.TYPE],["KeyFormat",Ar.TYPE],["KeyType",Ar.TYPE],["KeyUsage",Ar.TYPE],["LatencyMode",Ar.TYPE],["LockMode",Ar.TYPE],["MediaDecodingType",Ar.TYPE],["MediaEncodingType",Ar.TYPE],["MediaKeysRequirement",Ar.TYPE],["NotificationDirection",Ar.TYPE],["NotificationPermission",Ar.TYPE],["OffscreenRenderingContextId",Ar.TYPE],["OpusBitstreamFormat",Ar.TYPE],["PermissionName",Ar.TYPE],["PermissionState",Ar.TYPE],["PredefinedColorSpace",Ar.TYPE],["PremultiplyAlpha",Ar.TYPE],["PushEncryptionKeyName",Ar.TYPE],["RTCDataChannelState",Ar.TYPE],["RTCEncodedVideoFrameType",Ar.TYPE],["ReadableStreamReaderMode",Ar.TYPE],["ReadableStreamType",Ar.TYPE],["ReferrerPolicy",Ar.TYPE],["RequestCache",Ar.TYPE],["RequestCredentials",Ar.TYPE],["RequestDestination",Ar.TYPE],["RequestMode",Ar.TYPE],["RequestPriority",Ar.TYPE],["RequestRedirect",Ar.TYPE],["ResizeQuality",Ar.TYPE],["ResponseType",Ar.TYPE],["SecurityPolicyViolationEventDisposition",Ar.TYPE],["ServiceWorkerState",Ar.TYPE],["ServiceWorkerUpdateViaCache",Ar.TYPE],["TransferFunction",Ar.TYPE],["VideoColorPrimaries",Ar.TYPE],["VideoEncoderBitrateMode",Ar.TYPE],["VideoMatrixCoefficients",Ar.TYPE],["VideoPixelFormat",Ar.TYPE],["VideoTransferCharacteristics",Ar.TYPE],["WebGLPowerPreference",Ar.TYPE],["WebTransportCongestionControl",Ar.TYPE],["WebTransportErrorSource",Ar.TYPE],["WorkerType",Ar.TYPE],["WriteCommandType",Ar.TYPE],["XMLHttpRequestResponseType",Ar.TYPE]]}});var RFs=j(ZWt=>{"use strict";Object.defineProperty(ZWt,"__esModule",{value:!0});ZWt.webworker_asynciterable=void 0;var XWt=bd();ZWt.webworker_asynciterable={libs:[],variables:[["FileSystemDirectoryHandleAsyncIterator",XWt.TYPE],["FileSystemDirectoryHandle",XWt.TYPE],["ReadableStreamAsyncIterator",XWt.TYPE],["ReadableStream",XWt.TYPE]]}});var FFs=j(eXt=>{"use strict";Object.defineProperty(eXt,"__esModule",{value:!0});eXt.webworker_iterable=void 0;var VI=bd();eXt.webworker_iterable={libs:[],variables:[["CSSNumericArray",VI.TYPE],["CSSTransformValue",VI.TYPE],["CSSUnparsedValue",VI.TYPE],["Cache",VI.TYPE],["CanvasPath",VI.TYPE],["CanvasPathDrawingStyles",VI.TYPE],["CookieStoreManager",VI.TYPE],["DOMStringList",VI.TYPE],["FileList",VI.TYPE],["FontFaceSet",VI.TYPE],["FormDataIterator",VI.TYPE],["FormData",VI.TYPE],["HeadersIterator",VI.TYPE],["Headers",VI.TYPE],["IDBDatabase",VI.TYPE],["IDBObjectStore",VI.TYPE],["ImageTrackList",VI.TYPE],["MessageEvent",VI.TYPE],["StylePropertyMapReadOnlyIterator",VI.TYPE],["StylePropertyMapReadOnly",VI.TYPE],["SubtleCrypto",VI.TYPE],["URLSearchParamsIterator",VI.TYPE],["URLSearchParams",VI.TYPE],["WEBGL_draw_buffers",VI.TYPE],["WEBGL_multi_draw",VI.TYPE],["WebGL2RenderingContextBase",VI.TYPE],["WebGL2RenderingContextOverloads",VI.TYPE],["WebGLRenderingContextBase",VI.TYPE],["WebGLRenderingContextOverloads",VI.TYPE]]}});var LFs=j(tXt=>{"use strict";Object.defineProperty(tXt,"__esModule",{value:!0});tXt.lib=void 0;var blf=bHt(),Ilf=Xfn(),Slf=MK(),Tlf=spe(),Dlf=rZ(),wlf=r1t(),Blf=cFs(),klf=fFs(),Plf=HHt(),Nlf=NHt(),Olf=RHt(),Rlf=QHt(),Flf=jK(),Llf=UHt(),Mlf=YHt(),Qlf=VHt(),jlf=QK(),Ulf=p5e(),qlf=rzt(),Ylf=WHt(),Glf=pFs(),Vlf=ZHt(),$lf=gzt(),Klf=epn(),Jlf=tpn(),Hlf=dFs(),zlf=rpn(),Wlf=npn(),Xlf=ipn(),Zlf=spn(),ecf=apn(),tcf=bzt(),rcf=upn(),ncf=i1t(),icf=mFs(),scf=Ezt(),acf=lpn(),ocf=fpn(),ucf=Pzt(),lcf=dpn(),ccf=gFs(),fcf=mpn(),pcf=gpn(),dcf=Apn(),mcf=hpn(),gcf=Vzt(),Acf=s1t(),hcf=ypn(),ycf=AFs(),_cf=bTe(),Ecf=_pn(),xcf=Epn(),vcf=xpn(),Ccf=Cpn(),bcf=qzt(),Icf=eWt(),Scf=hFs(),Tcf=bpn(),Dcf=Hzt(),wcf=Spn(),Bcf=Tpn(),kcf=cWt(),Pcf=Dpn(),Ncf=wpn(),Ocf=yFs(),Rcf=Bpn(),Fcf=kpn(),Lcf=Ppn(),Mcf=Npn(),Qcf=AWt(),jcf=Opn(),Ucf=Rpn(),qcf=_Fs(),Ycf=Fpn(),Gcf=TWt(),Vcf=Lpn(),$cf=EWt(),Kcf=vFs(),Jcf=Mpn(),Hcf=Qpn(),zcf=jpn(),Wcf=qpn(),Xcf=Ypn(),Zcf=tdn(),eff=Gpn(),tff=IFs(),rff=SFs(),nff=$pn(),iff=Kpn(),sff=Jpn(),aff=Hpn(),off=zpn(),uff=TFs(),lff=Wpn(),cff=Xpn(),fff=DFs(),pff=Zpn(),dff=wFs(),mff=edn(),gff=BFs(),Aff=kFs(),hff=PFs(),yff=NFs(),_ff=qK(),Eff=OFs(),xff=RFs(),vff=YK(),Cff=FFs();tXt.lib=new Map([["es5",wlf.es5],["es6",Blf.es6],["es2015",Plf.es2015],["es7",klf.es7],["es2016",qlf.es2016],["es2017",$lf.es2017],["es2018",tcf.es2018],["es2019",ucf.es2019],["es2020",gcf.es2020],["es2021",Icf.es2021],["es2022",kcf.es2022],["es2023",Qcf.es2023],["es2024",Gcf.es2024],["esnext",Zcf.esnext],["dom",Slf.dom],["dom.iterable",Dlf.dom_iterable],["dom.asynciterable",Tlf.dom_asynciterable],["webworker",Eff.webworker],["webworker.importscripts",vff.webworker_importscripts],["webworker.iterable",Cff.webworker_iterable],["webworker.asynciterable",xff.webworker_asynciterable],["scripthost",_ff.scripthost],["es2015.core",Olf.es2015_core],["es2015.collection",Nlf.es2015_collection],["es2015.generator",Rlf.es2015_generator],["es2015.iterable",Flf.es2015_iterable],["es2015.promise",Llf.es2015_promise],["es2015.proxy",Mlf.es2015_proxy],["es2015.reflect",Qlf.es2015_reflect],["es2015.symbol",jlf.es2015_symbol],["es2015.symbol.wellknown",Ulf.es2015_symbol_wellknown],["es2016.array.include",Ylf.es2016_array_include],["es2016.intl",Vlf.es2016_intl],["es2017.arraybuffer",Klf.es2017_arraybuffer],["es2017.date",Jlf.es2017_date],["es2017.object",Wlf.es2017_object],["es2017.sharedmemory",Xlf.es2017_sharedmemory],["es2017.string",Zlf.es2017_string],["es2017.intl",zlf.es2017_intl],["es2017.typedarrays",ecf.es2017_typedarrays],["es2018.asyncgenerator",rcf.es2018_asyncgenerator],["es2018.asynciterable",ncf.es2018_asynciterable],["es2018.intl",scf.es2018_intl],["es2018.promise",acf.es2018_promise],["es2018.regexp",ocf.es2018_regexp],["es2019.array",lcf.es2019_array],["es2019.object",pcf.es2019_object],["es2019.string",dcf.es2019_string],["es2019.symbol",mcf.es2019_symbol],["es2019.intl",fcf.es2019_intl],["es2020.bigint",Acf.es2020_bigint],["es2020.date",hcf.es2020_date],["es2020.promise",xcf.es2020_promise],["es2020.sharedmemory",vcf.es2020_sharedmemory],["es2020.string",Ccf.es2020_string],["es2020.symbol.wellknown",bcf.es2020_symbol_wellknown],["es2020.intl",_cf.es2020_intl],["es2020.number",Ecf.es2020_number],["es2021.promise",Dcf.es2021_promise],["es2021.string",wcf.es2021_string],["es2021.weakref",Bcf.es2021_weakref],["es2021.intl",Tcf.es2021_intl],["es2022.array",Pcf.es2022_array],["es2022.error",Ncf.es2022_error],["es2022.intl",Rcf.es2022_intl],["es2022.object",Fcf.es2022_object],["es2022.string",Mcf.es2022_string],["es2022.regexp",Lcf.es2022_regexp],["es2023.array",jcf.es2023_array],["es2023.collection",Ucf.es2023_collection],["es2023.intl",Ycf.es2023_intl],["es2024.arraybuffer",Vcf.es2024_arraybuffer],["es2024.collection",$cf.es2024_collection],["es2024.object",Jcf.es2024_object],["es2024.promise",Hcf.es2024_promise],["es2024.regexp",zcf.es2024_regexp],["es2024.sharedmemory",Wcf.es2024_sharedmemory],["es2024.string",Xcf.es2024_string],["esnext.array",eff.esnext_array],["esnext.collection",nff.esnext_collection],["esnext.symbol",Aff.esnext_symbol],["esnext.asynciterable",tff.esnext_asynciterable],["esnext.intl",lff.esnext_intl],["esnext.disposable",sff.esnext_disposable],["esnext.bigint",rff.esnext_bigint],["esnext.string",gff.esnext_string],["esnext.promise",pff.esnext_promise],["esnext.weakref",hff.esnext_weakref],["esnext.decorators",iff.esnext_decorators],["esnext.object",fff.esnext_object],["esnext.regexp",dff.esnext_regexp],["esnext.iterator",cff.esnext_iterator],["esnext.float16",off.esnext_float16],["esnext.error",aff.esnext_error],["esnext.sharedmemory",mff.esnext_sharedmemory],["decorators",blf.decorators],["decorators.legacy",Ilf.decorators_legacy],["es2016.full",Glf.es2016_full],["es2017.full",Hlf.es2017_full],["es2018.full",icf.es2018_full],["es2019.full",ccf.es2019_full],["es2020.full",ycf.es2020_full],["es2021.full",Scf.es2021_full],["es2022.full",Ocf.es2022_full],["es2023.full",qcf.es2023_full],["es2024.full",Kcf.es2024_full],["esnext.full",uff.esnext_full],["lib",yff.lib]])});var rXt=j(ITe=>{"use strict";Object.defineProperty(ITe,"__esModule",{value:!0});ITe.Reference=ITe.ReferenceTypeFlag=ITe.ReferenceFlag=void 0;var bff=t1t(),d5e;(function(e){e[e.Read=1]="Read",e[e.Write=2]="Write",e[e.ReadWrite=3]="ReadWrite"})(d5e||(ITe.ReferenceFlag=d5e={}));var Iff=(0,bff.createIdGenerator)(),o1t;(function(e){e[e.Value=1]="Value",e[e.Type=2]="Type"})(o1t||(ITe.ReferenceTypeFlag=o1t={}));var rdn=class{$id=Iff();#e;from;identifier;init;maybeImplicitGlobal;resolved;writeExpr;#t;constructor(t,r,n,i,s,a,u=o1t.Value){this.identifier=t,this.from=r,this.resolved=null,this.#e=n,this.isWrite()&&(this.writeExpr=i,this.init=a),this.maybeImplicitGlobal=s,this.#t=u}get isTypeReference(){return(this.#t&o1t.Type)!==0}get isValueReference(){return(this.#t&o1t.Value)!==0}isWrite(){return!!(this.#e&d5e.Write)}isRead(){return!!(this.#e&d5e.Read)}isReadOnly(){return this.#e===d5e.Read}isWriteOnly(){return this.#e===d5e.Write}isReadWrite(){return this.#e===d5e.ReadWrite}};ITe.Reference=rdn});var idn=j(nXt=>{"use strict";Object.defineProperty(nXt,"__esModule",{value:!0});nXt.VariableBase=void 0;var Sff=t1t(),Tff=(0,Sff.createIdGenerator)(),ndn=class{$id=Tff();defs=[];eslintUsed=!1;identifiers=[];name;references=[];scope;constructor(t,r){this.name=t,this.scope=r}};nXt.VariableBase=ndn});var adn=j(iXt=>{"use strict";Object.defineProperty(iXt,"__esModule",{value:!0});iXt.ESLintScopeVariable=void 0;var Dff=idn(),sdn=class extends Dff.VariableBase{writeable;eslintExplicitGlobal;eslintImplicitGlobalSetting;eslintExplicitGlobalComments};iXt.ESLintScopeVariable=sdn});var MFs=j(sXt=>{"use strict";Object.defineProperty(sXt,"__esModule",{value:!0});sXt.ImplicitLibVariable=void 0;var wff=adn(),odn=class extends wff.ESLintScopeVariable{isTypeVariable;isValueVariable;constructor(t,r,{eslintImplicitGlobalSetting:n,isTypeVariable:i,isValueVariable:s,writeable:a}){super(r,t),this.isTypeVariable=i??!1,this.isValueVariable=s??!1,this.writeable=a??!1,this.eslintImplicitGlobalSetting=n??"readonly"}};sXt.ImplicitLibVariable=odn});var QFs=j(aXt=>{"use strict";Object.defineProperty(aXt,"__esModule",{value:!0});aXt.Variable=void 0;var Bff=idn(),udn=class extends Bff.VariableBase{get isTypeVariable(){return this.defs.length===0?!0:this.defs.some(t=>t.isTypeDefinition)}get isValueVariable(){return this.defs.length===0?!0:this.defs.some(t=>t.isVariableDefinition)}};aXt.Variable=udn});var oXt=j(STe=>{"use strict";Object.defineProperty(STe,"__esModule",{value:!0});STe.Variable=STe.ImplicitLibVariable=STe.ESLintScopeVariable=void 0;var kff=adn();Object.defineProperty(STe,"ESLintScopeVariable",{enumerable:!0,get:function(){return kff.ESLintScopeVariable}});var Pff=MFs();Object.defineProperty(STe,"ImplicitLibVariable",{enumerable:!0,get:function(){return Pff.ImplicitLibVariable}});var Nff=QFs();Object.defineProperty(STe,"Variable",{enumerable:!0,get:function(){return Nff.Variable}})});var wB=j(uXt=>{"use strict";Object.defineProperty(uXt,"__esModule",{value:!0});uXt.ScopeType=void 0;var jFs;(function(e){e.block="block",e.catch="catch",e.class="class",e.classFieldInitializer="class-field-initializer",e.classStaticBlock="class-static-block",e.conditionalType="conditionalType",e.for="for",e.function="function",e.functionExpressionName="function-expression-name",e.functionType="functionType",e.global="global",e.mappedType="mappedType",e.module="module",e.switch="switch",e.tsEnum="tsEnum",e.tsModule="tsModule",e.type="type",e.with="with"})(jFs||(uXt.ScopeType=jFs={}))});var S7=j(lXt=>{"use strict";Object.defineProperty(lXt,"__esModule",{value:!0});lXt.ScopeBase=void 0;var u1t=FY(),Off=kVe(),Rff=vTe(),Fff=t1t(),upe=rXt(),Lff=oXt(),z6=wB();function Mff(e,t,r){let n;if(e.upper?.isStrict||r||e.type===z6.ScopeType.class||e.type===z6.ScopeType.conditionalType||e.type===z6.ScopeType.functionType||e.type===z6.ScopeType.mappedType||e.type===z6.ScopeType.module||e.type===z6.ScopeType.tsEnum||e.type===z6.ScopeType.tsModule||e.type===z6.ScopeType.type)return!0;if(e.type===z6.ScopeType.block||e.type===z6.ScopeType.switch)return!1;if(e.type===z6.ScopeType.function){let i=t;switch(i.type){case u1t.AST_NODE_TYPES.ArrowFunctionExpression:if(i.body.type!==u1t.AST_NODE_TYPES.BlockStatement)return!1;n=i.body;break;case u1t.AST_NODE_TYPES.Program:n=i;break;default:n=i.body}if(!n)return!1}else if(e.type===z6.ScopeType.global)n=t;else return!1;for(let i of n.body){if(i.type!==u1t.AST_NODE_TYPES.ExpressionStatement)break;if(i.directive==="use strict")return!0;let s=i.expression;if(s.type!==u1t.AST_NODE_TYPES.Literal)break;if(s.raw==='"use strict"'||s.raw==="'use strict'"||s.value==="use strict")return!0}return!1}function Qff(e,t){e.scopes.push(t);let r=e.nodeToScope.get(t.block);r?r.push(t):e.nodeToScope.set(t.block,[t])}var jff=(0,Fff.createIdGenerator)(),Uff=new Set([z6.ScopeType.classFieldInitializer,z6.ScopeType.classStaticBlock,z6.ScopeType.function,z6.ScopeType.global,z6.ScopeType.module,z6.ScopeType.tsModule]),ldn=class{$id=jff();block;childScopes=[];#e;#t;functionExpressionScope=!1;isStrict;leftToResolve=[];references=[];set=new Map;through=[];type;upper;variables=[];#r=t=>{let r=this;do r.through.push(t),r=r.upper;while(r)};#n=(t,r)=>{this.shouldStaticallyCloseForGlobal(t,r)?this.#i(t):this.#r(t)};#i=t=>{(()=>{let n=t.identifier.name,i=this.set.get(n);if(!i||!this.isValidResolution(t,i))return!1;let s=t.isTypeReference&&i.isTypeVariable,a=t.isValueReference&&i.isValueVariable;return!s&&!a?!1:(i.references.push(t),t.resolved=i,!0)})()||this.delegateToUpperScope(t)};variableScope;constructor(t,r,n,i,s){let a=n;this.type=r,this.#t=this.type===z6.ScopeType.global||this.type===z6.ScopeType.with,this.block=i,this.variableScope=this.isVariableScope()?this:a.variableScope,this.upper=n,this.isStrict=Mff(this,i,s),a?.childScopes.push(this),this.#e=t.declaredVariables,Qff(t,this)}isVariableScope(){return Uff.has(this.type)}shouldStaticallyCloseForGlobal(t,r){let n=t.identifier.name,i=this.set.get(n);if(!i)return!1;if(r.isModule())return!0;let s=i.defs;return s.length>0&&s.every(a=>!(a.type===Rff.DefinitionType.Variable&&a.parent.kind==="var"))}close(t){let r;return this.shouldStaticallyClose()?r=this.#i:this.type!=="global"?r=this.#r:r=this.#n,(0,Off.assert)(this.leftToResolve),this.leftToResolve.forEach(n=>r(n,t)),this.leftToResolve=null,this.upper}shouldStaticallyClose(){return!this.#t}defineVariable(t,r,n,i,s){let a=typeof t=="string"?t:t.name,u=r.get(a);u||(u=typeof t=="string"?new Lff.Variable(a,this):t,r.set(a,u),n.push(u)),s&&(u.defs.push(s),this.addDeclaredVariablesOfNode(u,s.node),this.addDeclaredVariablesOfNode(u,s.parent)),i&&u.identifiers.push(i)}delegateToUpperScope(t){this.upper?.leftToResolve?.push(t),this.through.push(t)}isValidResolution(t,r){return!0}addDeclaredVariablesOfNode(t,r){if(r==null)return;let n=this.#e.get(r);n==null&&(n=[],this.#e.set(r,n)),n.includes(t)||n.push(t)}defineIdentifier(t,r){this.defineVariable(t.name,this.set,this.variables,t,r)}defineLiteralIdentifier(t,r){this.defineVariable(t.value,this.set,this.variables,null,r)}referenceDualValueType(t){let r=new upe.Reference(t,this,upe.ReferenceFlag.Read,null,null,!1,upe.ReferenceTypeFlag.Type|upe.ReferenceTypeFlag.Value);this.references.push(r),this.leftToResolve?.push(r)}referenceType(t){let r=new upe.Reference(t,this,upe.ReferenceFlag.Read,null,null,!1,upe.ReferenceTypeFlag.Type);this.references.push(r),this.leftToResolve?.push(r)}referenceValue(t,r=upe.ReferenceFlag.Read,n,i,s=!1){let a=new upe.Reference(t,this,r,n,i,s,upe.ReferenceTypeFlag.Value);this.references.push(a),this.leftToResolve?.push(a)}};lXt.ScopeBase=ldn});var UFs=j(cXt=>{"use strict";Object.defineProperty(cXt,"__esModule",{value:!0});cXt.BlockScope=void 0;var qff=S7(),Yff=wB(),cdn=class extends qff.ScopeBase{constructor(t,r,n){super(t,Yff.ScopeType.block,r,n,!1)}};cXt.BlockScope=cdn});var qFs=j(fXt=>{"use strict";Object.defineProperty(fXt,"__esModule",{value:!0});fXt.CatchScope=void 0;var Gff=S7(),Vff=wB(),fdn=class extends Gff.ScopeBase{constructor(t,r,n){super(t,Vff.ScopeType.catch,r,n,!1)}};fXt.CatchScope=fdn});var ddn=j(pXt=>{"use strict";Object.defineProperty(pXt,"__esModule",{value:!0});pXt.ClassFieldInitializerScope=void 0;var $ff=S7(),Kff=wB(),pdn=class extends $ff.ScopeBase{constructor(t,r,n){super(t,Kff.ScopeType.classFieldInitializer,r,n,!1)}};pXt.ClassFieldInitializerScope=pdn});var YFs=j(dXt=>{"use strict";Object.defineProperty(dXt,"__esModule",{value:!0});dXt.ClassScope=void 0;var Jff=S7(),Hff=wB(),mdn=class extends Jff.ScopeBase{constructor(t,r,n){super(t,Hff.ScopeType.class,r,n,!1)}};dXt.ClassScope=mdn});var GFs=j(mXt=>{"use strict";Object.defineProperty(mXt,"__esModule",{value:!0});mXt.ConditionalTypeScope=void 0;var zff=S7(),Wff=wB(),gdn=class extends zff.ScopeBase{constructor(t,r,n){super(t,Wff.ScopeType.conditionalType,r,n,!1)}};mXt.ConditionalTypeScope=gdn});var VFs=j(gXt=>{"use strict";Object.defineProperty(gXt,"__esModule",{value:!0});gXt.ForScope=void 0;var Xff=S7(),Zff=wB(),Adn=class extends Xff.ScopeBase{constructor(t,r,n){super(t,Zff.ScopeType.for,r,n,!1)}};gXt.ForScope=Adn});var $Fs=j(AXt=>{"use strict";Object.defineProperty(AXt,"__esModule",{value:!0});AXt.FunctionExpressionNameScope=void 0;var epf=vTe(),tpf=S7(),rpf=wB(),hdn=class extends tpf.ScopeBase{functionExpressionScope;constructor(t,r,n){super(t,rpf.ScopeType.functionExpressionName,r,n,!1),n.id&&this.defineIdentifier(n.id,new epf.FunctionNameDefinition(n.id,n)),this.functionExpressionScope=!0}};AXt.FunctionExpressionNameScope=hdn});var JFs=j(hXt=>{"use strict";Object.defineProperty(hXt,"__esModule",{value:!0});hXt.FunctionScope=void 0;var KFs=FY(),npf=S7(),ipf=wB(),ydn=class extends npf.ScopeBase{constructor(t,r,n,i){super(t,ipf.ScopeType.function,r,n,i),this.block.type!==KFs.AST_NODE_TYPES.ArrowFunctionExpression&&this.defineVariable("arguments",this.set,this.variables,null,null)}isValidResolution(t,r){if(this.block.type===KFs.AST_NODE_TYPES.Program)return!0;let n=this.block.body?.range[0]??-1;return!(r.scope===this&&t.identifier.range[0]i.name.range[0]>=n))}};hXt.FunctionScope=ydn});var HFs=j(yXt=>{"use strict";Object.defineProperty(yXt,"__esModule",{value:!0});yXt.FunctionTypeScope=void 0;var spf=S7(),apf=wB(),_dn=class extends spf.ScopeBase{constructor(t,r,n){super(t,apf.ScopeType.functionType,r,n,!1)}};yXt.FunctionTypeScope=_dn});var zFs=j(_Xt=>{"use strict";Object.defineProperty(_Xt,"__esModule",{value:!0});_Xt.GlobalScope=void 0;var opf=FY(),upf=kVe(),lpf=Gfn(),cpf=oXt(),fpf=S7(),ppf=wB(),Edn=class extends fpf.ScopeBase{implicit;constructor(t,r){super(t,ppf.ScopeType.global,null,r,!1),this.implicit={leftToBeResolved:[],set:new Map,variables:[]}}close(t){(0,upf.assert)(this.leftToResolve);for(let r of this.leftToResolve)if(r.maybeImplicitGlobal&&!this.set.has(r.identifier.name)){let n=r.maybeImplicitGlobal,i=n.pattern;i.type===opf.AST_NODE_TYPES.Identifier&&this.defineVariable(i.name,this.implicit.set,this.implicit.variables,i,new lpf.ImplicitGlobalVariableDefinition(n.pattern,n.node))}return this.implicit.leftToBeResolved=this.leftToResolve,super.close(t)}defineImplicitVariable(t,r){this.defineVariable(new cpf.ImplicitLibVariable(this,t,r),this.set,this.variables,null,null)}};_Xt.GlobalScope=Edn});var WFs=j(EXt=>{"use strict";Object.defineProperty(EXt,"__esModule",{value:!0});EXt.MappedTypeScope=void 0;var dpf=S7(),mpf=wB(),xdn=class extends dpf.ScopeBase{constructor(t,r,n){super(t,mpf.ScopeType.mappedType,r,n,!1)}};EXt.MappedTypeScope=xdn});var XFs=j(xXt=>{"use strict";Object.defineProperty(xXt,"__esModule",{value:!0});xXt.ModuleScope=void 0;var gpf=S7(),Apf=wB(),vdn=class extends gpf.ScopeBase{constructor(t,r,n){super(t,Apf.ScopeType.module,r,n,!1)}};xXt.ModuleScope=vdn});var eLs=j(ZFs=>{"use strict";Object.defineProperty(ZFs,"__esModule",{value:!0})});var tLs=j(vXt=>{"use strict";Object.defineProperty(vXt,"__esModule",{value:!0});vXt.SwitchScope=void 0;var hpf=S7(),ypf=wB(),Cdn=class extends hpf.ScopeBase{constructor(t,r,n){super(t,ypf.ScopeType.switch,r,n,!1)}};vXt.SwitchScope=Cdn});var rLs=j(CXt=>{"use strict";Object.defineProperty(CXt,"__esModule",{value:!0});CXt.TSEnumScope=void 0;var _pf=S7(),Epf=wB(),bdn=class extends _pf.ScopeBase{constructor(t,r,n){super(t,Epf.ScopeType.tsEnum,r,n,!1)}};CXt.TSEnumScope=bdn});var nLs=j(bXt=>{"use strict";Object.defineProperty(bXt,"__esModule",{value:!0});bXt.TSModuleScope=void 0;var xpf=S7(),vpf=wB(),Idn=class extends xpf.ScopeBase{constructor(t,r,n){super(t,vpf.ScopeType.tsModule,r,n,!1)}};bXt.TSModuleScope=Idn});var iLs=j(IXt=>{"use strict";Object.defineProperty(IXt,"__esModule",{value:!0});IXt.TypeScope=void 0;var Cpf=S7(),bpf=wB(),Sdn=class extends Cpf.ScopeBase{constructor(t,r,n){super(t,bpf.ScopeType.type,r,n,!1)}};IXt.TypeScope=Sdn});var sLs=j(SXt=>{"use strict";Object.defineProperty(SXt,"__esModule",{value:!0});SXt.WithScope=void 0;var Ipf=kVe(),Spf=S7(),Tpf=wB(),Tdn=class extends Spf.ScopeBase{constructor(t,r,n){super(t,Tpf.ScopeType.with,r,n,!1)}close(t){return this.shouldStaticallyClose()?super.close(t):((0,Ipf.assert)(this.leftToResolve),this.leftToResolve.forEach(r=>this.delegateToUpperScope(r)),this.leftToResolve=null,this.upper)}};SXt.WithScope=Tdn});var TXt=j(Pw=>{"use strict";var Dpf=Pw&&Pw.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),T7=Pw&&Pw.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Dpf(t,e,r)};Object.defineProperty(Pw,"__esModule",{value:!0});T7(UFs(),Pw);T7(qFs(),Pw);T7(ddn(),Pw);T7(YFs(),Pw);T7(GFs(),Pw);T7(VFs(),Pw);T7($Fs(),Pw);T7(JFs(),Pw);T7(HFs(),Pw);T7(zFs(),Pw);T7(WFs(),Pw);T7(XFs(),Pw);T7(eLs(),Pw);T7(wB(),Pw);T7(tLs(),Pw);T7(rLs(),Pw);T7(nLs(),Pw);T7(iLs(),Pw);T7(sLs(),Pw)});var wXt=j(DXt=>{"use strict";Object.defineProperty(DXt,"__esModule",{value:!0});DXt.VisitorBase=void 0;var wpf=wVe();function Bpf(e){return typeof e=="object"&&e!=null}function aLs(e){return Bpf(e)&&typeof e.type=="string"}var Ddn=class{#e;#t;constructor(t){this.#e=t.childVisitorKeys??wpf.visitorKeys,this.#t=t.visitChildrenEvenIfSelectorExists??!1}visitChildren(t,r=[]){if(t?.type==null)return;let n=new Set([...r,"parent"]),i=this.#e[t.type]??Object.keys(t);for(let s of i){if(n.has(s))continue;let a=t[s];if(a)if(Array.isArray(a))for(let u of a)aLs(u)&&this.visit(u);else aLs(a)&&this.visit(a)}}visit(t){if(t?.type==null)return;let r=this[t.type];r&&(r.call(this,t),!this.#t)||this.visitChildren(t)}};DXt.VisitorBase=Ddn});var kXt=j(BXt=>{"use strict";Object.defineProperty(BXt,"__esModule",{value:!0});BXt.PatternVisitor=void 0;var PVe=FY(),kpf=wXt(),wdn=class extends kpf.VisitorBase{#e=[];#t;#r=[];#n;rightHandNodes=[];constructor(t,r,n){super(t),this.#n=r,this.#t=n}static isPattern(t){let r=t.type;return r===PVe.AST_NODE_TYPES.Identifier||r===PVe.AST_NODE_TYPES.ObjectPattern||r===PVe.AST_NODE_TYPES.ArrayPattern||r===PVe.AST_NODE_TYPES.SpreadElement||r===PVe.AST_NODE_TYPES.RestElement||r===PVe.AST_NODE_TYPES.AssignmentPattern}ArrayExpression(t){t.elements.forEach(this.visit,this)}ArrayPattern(t){for(let r of t.elements)this.visit(r)}AssignmentExpression(t){this.#e.push(t),this.visit(t.left),this.rightHandNodes.push(t.right),this.#e.pop()}AssignmentPattern(t){this.#e.push(t),this.visit(t.left),this.rightHandNodes.push(t.right),this.#e.pop()}CallExpression(t){t.arguments.forEach(r=>{this.rightHandNodes.push(r)}),this.visit(t.callee)}Decorator(){}Identifier(t){let r=this.#r.at(-1);this.#t(t,{assignments:this.#e,rest:r?.argument===t,topLevel:t===this.#n})}MemberExpression(t){t.computed&&this.rightHandNodes.push(t.property),this.rightHandNodes.push(t.object)}Property(t){t.computed&&this.rightHandNodes.push(t.key),this.visit(t.value)}RestElement(t){this.#r.push(t),this.visit(t.argument),this.#r.pop()}SpreadElement(t){this.visit(t.argument)}TSTypeAnnotation(){}};BXt.PatternVisitor=wdn});var m5e=j(NVe=>{"use strict";Object.defineProperty(NVe,"__esModule",{value:!0});NVe.VisitorBase=NVe.Visitor=void 0;var Ppf=kXt(),Npf=wXt(),Bdn=class e extends Npf.VisitorBase{#e;constructor(t){super(t instanceof e?t.#e:t),this.#e=t instanceof e?t.#e:t}visitPattern(t,r,n={processRightHandNodes:!1}){let i=new Ppf.PatternVisitor(this.#e,t,r);i.visit(t),n.processRightHandNodes&&i.rightHandNodes.forEach(this.visit,this)}};NVe.Visitor=Bdn;var Opf=wXt();Object.defineProperty(NVe,"VisitorBase",{enumerable:!0,get:function(){return Opf.VisitorBase}})});var Pdn=j(PXt=>{"use strict";Object.defineProperty(PXt,"__esModule",{value:!0});PXt.TypeVisitor=void 0;var OVe=FY(),RVe=vTe(),l1t=TXt(),Rpf=m5e(),kdn=class e extends Rpf.Visitor{#e;constructor(t){super(t),this.#e=t}static visit(t,r){new e(t).visit(r)}visitFunctionType(t){this.#e.scopeManager.nestFunctionTypeScope(t),this.visit(t.typeParameters);for(let r of t.params){let n=!1;this.visitPattern(r,(i,s)=>{this.#e.currentScope().defineIdentifier(i,new RVe.ParameterDefinition(i,t,s.rest)),i.typeAnnotation&&(this.visit(i.typeAnnotation),n=!0)}),!n&&"typeAnnotation"in r&&this.visit(r.typeAnnotation)}this.visit(t.returnType),this.#e.close(t)}visitPropertyKey(t){t.computed&&this.#e.visit(t.key)}Identifier(t){this.#e.currentScope().referenceType(t)}MemberExpression(t){this.visit(t.object)}TSCallSignatureDeclaration(t){this.visitFunctionType(t)}TSConditionalType(t){this.#e.scopeManager.nestConditionalTypeScope(t),this.visitChildren(t,["falseType"]),this.#e.close(t),this.visit(t.falseType)}TSConstructorType(t){this.visitFunctionType(t)}TSConstructSignatureDeclaration(t){this.visitFunctionType(t)}TSFunctionType(t){this.visitFunctionType(t)}TSImportType(t){this.visit(t.typeArguments)}TSIndexSignature(t){for(let r of t.parameters)r.type===OVe.AST_NODE_TYPES.Identifier&&this.visit(r.typeAnnotation);this.visit(t.typeAnnotation)}TSInferType(t){let r=t.typeParameter,n=this.#e.currentScope();if(n.type===l1t.ScopeType.functionType||n.type===l1t.ScopeType.mappedType){let i=n.upper;for(;i;){if(i.type===l1t.ScopeType.functionType||i.type===l1t.ScopeType.mappedType){i=i.upper;continue}if(i.type===l1t.ScopeType.conditionalType){n=i;break}break}}n.defineIdentifier(r.name,new RVe.TypeDefinition(r.name,r)),this.visit(r.constraint)}TSInterfaceDeclaration(t){this.#e.currentScope().defineIdentifier(t.id,new RVe.TypeDefinition(t.id,t)),t.typeParameters&&(this.#e.scopeManager.nestTypeScope(t),this.visit(t.typeParameters)),t.extends.forEach(this.visit,this),this.visit(t.body),t.typeParameters&&this.#e.close(t)}TSMappedType(t){this.#e.scopeManager.nestMappedTypeScope(t),this.#e.currentScope().defineIdentifier(t.key,new RVe.TypeDefinition(t.key,t)),this.visit(t.constraint),this.visit(t.nameType),this.visit(t.typeAnnotation),this.#e.close(t)}TSMethodSignature(t){this.visitPropertyKey(t),this.visitFunctionType(t)}TSNamedTupleMember(t){this.visit(t.elementType)}TSPropertySignature(t){this.visitPropertyKey(t),this.visit(t.typeAnnotation)}TSQualifiedName(t){this.visit(t.left)}TSTypeAliasDeclaration(t){this.#e.currentScope().defineIdentifier(t.id,new RVe.TypeDefinition(t.id,t)),t.typeParameters&&(this.#e.scopeManager.nestTypeScope(t),this.visit(t.typeParameters)),this.visit(t.typeAnnotation),t.typeParameters&&this.#e.close(t)}TSTypeParameter(t){this.#e.currentScope().defineIdentifier(t.name,new RVe.TypeDefinition(t.name,t)),this.visit(t.constraint),this.visit(t.default)}TSTypePredicate(t){t.parameterName.type!==OVe.AST_NODE_TYPES.TSThisType&&this.#e.currentScope().referenceValue(t.parameterName),this.visit(t.typeAnnotation)}TSTypeAnnotation(t){this.visitChildren(t)}TSTypeQuery(t){let r;if(t.exprName.type===OVe.AST_NODE_TYPES.TSQualifiedName){let n=t.exprName;for(;n.left.type===OVe.AST_NODE_TYPES.TSQualifiedName;)n=n.left;r=n.left}else r=t.exprName,t.exprName.type===OVe.AST_NODE_TYPES.TSImportType&&this.visit(t.exprName);r.type===OVe.AST_NODE_TYPES.Identifier&&this.#e.currentScope().referenceValue(r),this.visit(t.typeArguments)}};PXt.TypeVisitor=kdn});var oLs=j(NXt=>{"use strict";Object.defineProperty(NXt,"__esModule",{value:!0});NXt.ClassVisitor=void 0;var TTe=FY(),Ndn=vTe(),Fpf=Pdn(),Lpf=m5e(),Odn=class e extends Lpf.Visitor{#e;constructor(t){super(t),this.#e=t}static visit(t,r){new e(t).visitClass(r)}visit(t){t&&t.type in this?super.visit(t):this.#e.visit(t)}visitClass(t){t.type===TTe.AST_NODE_TYPES.ClassDeclaration&&t.id&&this.#e.currentScope().defineIdentifier(t.id,new Ndn.ClassNameDefinition(t.id,t)),t.decorators.forEach(r=>this.#e.visit(r)),this.#e.scopeManager.nestClassScope(t),t.id&&this.#e.currentScope().defineIdentifier(t.id,new Ndn.ClassNameDefinition(t.id,t)),this.#e.visit(t.superClass),this.visitType(t.typeParameters),this.visitType(t.superTypeArguments),t.implements.forEach(r=>this.visitType(r)),this.visit(t.body),this.#e.close(t)}visitFunctionParameterTypeAnnotation(t){switch(t.type){case TTe.AST_NODE_TYPES.AssignmentPattern:this.visitType(t.left.typeAnnotation);break;case TTe.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(t.parameter);break;default:this.visitType(t.typeAnnotation)}}visitMethod(t){t.computed&&this.#e.visit(t.key),t.value.type===TTe.AST_NODE_TYPES.FunctionExpression?this.visitMethodFunction(t.value):this.#e.visit(t.value),t.decorators.forEach(r=>this.#e.visit(r))}visitMethodFunction(t){t.id&&this.#e.scopeManager.nestFunctionExpressionNameScope(t),t.params.forEach(r=>{r.decorators.forEach(n=>this.visit(n))}),this.#e.scopeManager.nestFunctionScope(t,!0);for(let r of t.params)this.visitPattern(r,(n,i)=>{this.#e.currentScope().defineIdentifier(n,new Ndn.ParameterDefinition(n,t,i.rest)),this.#e.referencingDefaultValue(n,i.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(r);this.visitType(t.returnType),this.visitType(t.typeParameters),this.#e.visitChildren(t.body),this.#e.close(t)}visitPropertyBase(t){t.computed&&this.#e.visit(t.key),t.value&&((t.type===TTe.AST_NODE_TYPES.PropertyDefinition||t.type===TTe.AST_NODE_TYPES.AccessorProperty)&&this.#e.scopeManager.nestClassFieldInitializerScope(t.value),this.#e.visit(t.value),(t.type===TTe.AST_NODE_TYPES.PropertyDefinition||t.type===TTe.AST_NODE_TYPES.AccessorProperty)&&this.#e.close(t.value)),t.decorators.forEach(r=>this.#e.visit(r))}visitPropertyDefinition(t){this.visitPropertyBase(t),this.visitType(t.typeAnnotation)}visitType(t){t&&Fpf.TypeVisitor.visit(this.#e,t)}AccessorProperty(t){this.visitPropertyDefinition(t)}ClassBody(t){this.visitChildren(t)}Identifier(t){this.#e.visit(t)}MethodDefinition(t){this.visitMethod(t)}PrivateIdentifier(){}PropertyDefinition(t){this.visitPropertyDefinition(t)}StaticBlock(t){this.#e.scopeManager.nestClassStaticBlockScope(t),t.body.forEach(r=>this.visit(r)),this.#e.close(t)}TSAbstractAccessorProperty(t){this.visitPropertyDefinition(t)}TSAbstractMethodDefinition(t){this.visitPropertyBase(t)}TSAbstractPropertyDefinition(t){this.visitPropertyDefinition(t)}TSIndexSignature(t){this.visitType(t)}};NXt.ClassVisitor=Odn});var lLs=j(OXt=>{"use strict";Object.defineProperty(OXt,"__esModule",{value:!0});OXt.ExportVisitor=void 0;var uLs=FY(),Mpf=m5e(),Rdn=class e extends Mpf.Visitor{#e;#t;constructor(t,r){super(r),this.#e=t,this.#t=r}static visit(t,r){new e(r,t).visit(r)}ExportDefaultDeclaration(t){t.declaration.type===uLs.AST_NODE_TYPES.Identifier&&this.visit(t.declaration)}ExportNamedDeclaration(t){t.source||t.declaration||this.visitChildren(t)}ExportSpecifier(t){t.exportKind==="type"&&t.local.type===uLs.AST_NODE_TYPES.Identifier?this.#t.currentScope().referenceType(t.local):this.visit(t.local)}Identifier(t){this.#e.exportKind==="type"?this.#t.currentScope().referenceType(t):this.#t.currentScope().referenceDualValueType(t)}};OXt.ExportVisitor=Rdn});var cLs=j(RXt=>{"use strict";Object.defineProperty(RXt,"__esModule",{value:!0});RXt.ImportVisitor=void 0;var Qpf=vTe(),jpf=m5e(),Fdn=class e extends jpf.Visitor{#e;#t;constructor(t,r){super(r),this.#e=t,this.#t=r}static visit(t,r){new e(r,t).visit(r)}ImportDefaultSpecifier(t){let r=t.local;this.visitImport(r,t)}ImportNamespaceSpecifier(t){let r=t.local;this.visitImport(r,t)}ImportSpecifier(t){let r=t.local;this.visitImport(r,t)}visitImport(t,r){this.#t.currentScope().defineIdentifier(t,new Qpf.ImportBindingDefinition(t,r,this.#e))}};RXt.ImportVisitor=Fdn});var mLs=j(FXt=>{"use strict";Object.defineProperty(FXt,"__esModule",{value:!0});FXt.Referencer=void 0;var W6=FY(),fLs=kVe(),Bye=vTe(),Upf=LFs(),qpf=oLs(),pLs=lLs(),Ypf=cLs(),dLs=kXt(),g5e=rXt(),Gpf=Pdn(),Vpf=m5e(),Ldn=class extends Vpf.Visitor{#e=!1;#t=!1;#r;#n;#i;scopeManager;constructor(t,r){super(t),this.scopeManager=r,this.#n=t.jsxPragma,this.#r=t.jsxFragmentName,this.#i=t.lib}populateGlobalsFromLib(t){let r=new Set;for(let n of this.#i){let i=Upf.lib.get(n);if(!i)throw new Error(`Invalid value for lib provided: ${n}`);r.add(i)}for(let n of r){for(let i of n.libs)r.add(i);for(let[i,s]of n.variables)t.defineImplicitVariable(i,s)}t.defineImplicitVariable("const",{eslintImplicitGlobalSetting:"readonly",isTypeVariable:!0,isValueVariable:!1})}close(t){for(;this.currentScope(!0)&&t===this.currentScope().block;)this.scopeManager.currentScope=this.currentScope().close(this.scopeManager)}currentScope(t){return t||(0,fLs.assert)(this.scopeManager.currentScope,"Expected currentScope to exist. This usually happens when analyze() is called with an incomplete AST node instead of a complete Program node."),this.scopeManager.currentScope}referencingDefaultValue(t,r,n,i){r.forEach(s=>{this.currentScope().referenceValue(t,g5e.ReferenceFlag.Write,s.right,n,i)})}referenceInSomeUpperScope(t){let r=this.scopeManager.currentScope;for(;r;){let n=r.set.get(t);if(!n){r=r.upper;continue}return r.referenceValue(n.identifiers[0]),!0}return!1}referenceJsxFragment(){this.#r==null||this.#t||(this.#t=this.referenceInSomeUpperScope(this.#r))}referenceJsxPragma(){this.#n==null||this.#e||(this.#e=this.referenceInSomeUpperScope(this.#n))}visitClass(t){qpf.ClassVisitor.visit(this,t)}visitForIn(t){t.left.type===W6.AST_NODE_TYPES.VariableDeclaration&&t.left.kind!=="var"&&this.scopeManager.nestForScope(t),t.left.type===W6.AST_NODE_TYPES.VariableDeclaration?(this.visit(t.left),this.visitPattern(t.left.declarations[0].id,r=>{this.currentScope().referenceValue(r,g5e.ReferenceFlag.Write,t.right,null,!0)})):this.visitPattern(t.left,(r,n)=>{let i=this.currentScope().isStrict?null:{node:t,pattern:r};this.referencingDefaultValue(r,n.assignments,i,!1),this.currentScope().referenceValue(r,g5e.ReferenceFlag.Write,t.right,i,!1)},{processRightHandNodes:!0}),this.visit(t.right),this.visit(t.body),this.close(t)}visitFunction(t){t.type===W6.AST_NODE_TYPES.FunctionExpression?t.id&&this.scopeManager.nestFunctionExpressionNameScope(t):t.id&&this.currentScope().defineIdentifier(t.id,new Bye.FunctionNameDefinition(t.id,t)),this.scopeManager.nestFunctionScope(t,!1);for(let r of t.params)this.visitPattern(r,(n,i)=>{this.currentScope().defineIdentifier(n,new Bye.ParameterDefinition(n,t,i.rest)),this.referencingDefaultValue(n,i.assignments,null,!0)},{processRightHandNodes:!0}),this.visitFunctionParameterTypeAnnotation(r),r.decorators.forEach(n=>this.visit(n));this.visitType(t.returnType),this.visitType(t.typeParameters),t.body&&(t.body.type===W6.AST_NODE_TYPES.BlockStatement?this.visitChildren(t.body):this.visit(t.body)),this.close(t)}visitFunctionParameterTypeAnnotation(t){switch(t.type){case W6.AST_NODE_TYPES.AssignmentPattern:this.visitType(t.left.typeAnnotation);break;case W6.AST_NODE_TYPES.TSParameterProperty:this.visitFunctionParameterTypeAnnotation(t.parameter);break;default:this.visitType(t.typeAnnotation);break}}visitJSXElement(t){t.name.type===W6.AST_NODE_TYPES.JSXIdentifier?(t.name.name[0].toUpperCase()===t.name.name[0]||t.name.name==="this")&&this.visit(t.name):this.visit(t.name)}visitProperty(t){t.computed&&this.visit(t.key),this.visit(t.value)}visitType(t){t&&Gpf.TypeVisitor.visit(this,t)}visitTypeAssertion(t){this.visit(t.expression),this.visitType(t.typeAnnotation)}ArrowFunctionExpression(t){this.visitFunction(t)}AssignmentExpression(t){let r=this.visitExpressionTarget(t.left);dLs.PatternVisitor.isPattern(r)?t.operator==="="?this.visitPattern(r,(n,i)=>{let s=this.currentScope().isStrict?null:{node:t,pattern:n};this.referencingDefaultValue(n,i.assignments,s,!1),this.currentScope().referenceValue(n,g5e.ReferenceFlag.Write,t.right,s,!1)},{processRightHandNodes:!0}):r.type===W6.AST_NODE_TYPES.Identifier&&this.currentScope().referenceValue(r,g5e.ReferenceFlag.ReadWrite,t.right):this.visit(r),this.visit(t.right)}BlockStatement(t){this.scopeManager.nestBlockScope(t),this.visitChildren(t),this.close(t)}BreakStatement(){}CallExpression(t){this.visitChildren(t,["typeArguments"]),this.visitType(t.typeArguments)}CatchClause(t){if(this.scopeManager.nestCatchScope(t),t.param){let r=t.param;this.visitPattern(r,(n,i)=>{this.currentScope().defineIdentifier(n,new Bye.CatchClauseDefinition(r,t)),this.referencingDefaultValue(n,i.assignments,null,!0)},{processRightHandNodes:!0})}this.visit(t.body),this.close(t)}ClassDeclaration(t){this.visitClass(t)}ClassExpression(t){this.visitClass(t)}ContinueStatement(){}ExportAllDeclaration(){}ExportDefaultDeclaration(t){t.declaration.type===W6.AST_NODE_TYPES.Identifier?pLs.ExportVisitor.visit(this,t):this.visit(t.declaration)}ExportNamedDeclaration(t){t.declaration?this.visit(t.declaration):pLs.ExportVisitor.visit(this,t)}ForInStatement(t){this.visitForIn(t)}ForOfStatement(t){this.visitForIn(t)}ForStatement(t){t.init&&t.init.type===W6.AST_NODE_TYPES.VariableDeclaration&&t.init.kind!=="var"&&this.scopeManager.nestForScope(t),this.visitChildren(t),this.close(t)}FunctionDeclaration(t){this.visitFunction(t)}FunctionExpression(t){this.visitFunction(t)}Identifier(t){this.currentScope().referenceValue(t),this.visitType(t.typeAnnotation)}ImportAttribute(){}ImportDeclaration(t){(0,fLs.assert)(this.scopeManager.isModule(),"ImportDeclaration should appear when the mode is ES6 and in the module context."),Ypf.ImportVisitor.visit(this,t)}JSXAttribute(t){this.visit(t.value)}JSXClosingElement(t){this.visitJSXElement(t)}JSXFragment(t){this.referenceJsxPragma(),this.referenceJsxFragment(),this.visitChildren(t)}JSXIdentifier(t){this.currentScope().referenceValue(t)}JSXMemberExpression(t){(t.object.type!==W6.AST_NODE_TYPES.JSXIdentifier||t.object.name!=="this")&&this.visit(t.object)}JSXOpeningElement(t){this.referenceJsxPragma(),this.visitJSXElement(t),this.visitType(t.typeArguments);for(let r of t.attributes)this.visit(r)}LabeledStatement(t){this.visit(t.body)}MemberExpression(t){this.visit(t.object),t.computed&&this.visit(t.property)}MetaProperty(){}NewExpression(t){this.visitChildren(t,["typeArguments"]),this.visitType(t.typeArguments)}PrivateIdentifier(){}Program(t){let r=this.scopeManager.nestGlobalScope(t);this.populateGlobalsFromLib(r),this.scopeManager.isGlobalReturn()&&(this.currentScope().isStrict=!1,this.scopeManager.nestFunctionScope(t,!1)),this.scopeManager.isModule()&&this.scopeManager.nestModuleScope(t),this.scopeManager.isImpliedStrict()&&(this.currentScope().isStrict=!0),this.visitChildren(t),this.close(t)}Property(t){this.visitProperty(t)}SwitchStatement(t){this.visit(t.discriminant),this.scopeManager.nestSwitchScope(t);for(let r of t.cases)this.visit(r);this.close(t)}TaggedTemplateExpression(t){this.visit(t.tag),this.visit(t.quasi),this.visitType(t.typeArguments)}TSAsExpression(t){this.visitTypeAssertion(t)}TSDeclareFunction(t){this.visitFunction(t)}TSEmptyBodyFunctionExpression(t){this.visitFunction(t)}TSEnumDeclaration(t){this.currentScope().defineIdentifier(t.id,new Bye.TSEnumNameDefinition(t.id,t)),this.scopeManager.nestTSEnumScope(t);for(let r of t.body.members){if(r.id.type===W6.AST_NODE_TYPES.Literal&&typeof r.id.value=="string"){let n=r.id;this.currentScope().defineLiteralIdentifier(n,new Bye.TSEnumMemberDefinition(n,r))}else r.id.type===W6.AST_NODE_TYPES.Identifier&&this.currentScope().defineIdentifier(r.id,new Bye.TSEnumMemberDefinition(r.id,r));this.visit(r.initializer)}this.close(t)}TSExportAssignment(t){t.expression.type===W6.AST_NODE_TYPES.Identifier?this.currentScope().referenceDualValueType(t.expression):this.visit(t.expression)}TSImportEqualsDeclaration(t){if(this.currentScope().defineIdentifier(t.id,new Bye.ImportBindingDefinition(t.id,t,t)),t.moduleReference.type===W6.AST_NODE_TYPES.TSQualifiedName){let r=t.moduleReference.left;for(;r.type===W6.AST_NODE_TYPES.TSQualifiedName;)r=r.left;this.visit(r)}else this.visit(t.moduleReference)}TSInstantiationExpression(t){this.visitChildren(t,["typeArguments"]),this.visitType(t.typeArguments)}TSInterfaceDeclaration(t){this.visitType(t)}TSModuleDeclaration(t){t.id.type===W6.AST_NODE_TYPES.Identifier&&t.kind!=="global"&&this.currentScope().defineIdentifier(t.id,new Bye.TSModuleNameDefinition(t.id,t)),this.scopeManager.nestTSModuleScope(t),this.visit(t.body),this.close(t)}TSSatisfiesExpression(t){this.visitTypeAssertion(t)}TSTypeAliasDeclaration(t){this.visitType(t)}TSTypeAssertion(t){this.visitTypeAssertion(t)}UpdateExpression(t){let r=this.visitExpressionTarget(t.argument);dLs.PatternVisitor.isPattern(r)?this.visitPattern(r,n=>{this.currentScope().referenceValue(n,g5e.ReferenceFlag.ReadWrite,null)}):this.visitChildren(t)}VariableDeclaration(t){let r=t.kind==="var"?this.currentScope().variableScope:this.currentScope();for(let n of t.declarations){let i=n.init;this.visitPattern(n.id,(s,a)=>{r.defineIdentifier(s,new Bye.VariableDefinition(s,n,t)),this.referencingDefaultValue(s,a.assignments,null,!0),i&&this.currentScope().referenceValue(s,g5e.ReferenceFlag.Write,i,null,!0)},{processRightHandNodes:!0}),this.visit(n.init),this.visitType(n.id.typeAnnotation)}}WithStatement(t){this.visit(t.object),this.scopeManager.nestWithScope(t),this.visit(t.body),this.close(t)}visitExpressionTarget(t){switch(t.type){case W6.AST_NODE_TYPES.TSAsExpression:case W6.AST_NODE_TYPES.TSTypeAssertion:this.visitType(t.typeAnnotation);case W6.AST_NODE_TYPES.TSNonNullExpression:t=t.expression}return t}};FXt.Referencer=Ldn});var gLs=j(LXt=>{"use strict";Object.defineProperty(LXt,"__esModule",{value:!0});LXt.Referencer=void 0;var $pf=mLs();Object.defineProperty(LXt,"Referencer",{enumerable:!0,get:function(){return $pf.Referencer}})});var ALs=j(MXt=>{"use strict";Object.defineProperty(MXt,"__esModule",{value:!0});MXt.ClassStaticBlockScope=void 0;var Kpf=S7(),Jpf=wB(),Mdn=class extends Kpf.ScopeBase{constructor(t,r,n){super(t,Jpf.ScopeType.classStaticBlock,r,n,!1)}};MXt.ClassStaticBlockScope=Mdn});var jdn=j(QXt=>{"use strict";Object.defineProperty(QXt,"__esModule",{value:!0});QXt.ScopeManager=void 0;var CP=kVe(),bP=TXt(),Hpf=ddn(),zpf=ALs(),Qdn=class{#e;currentScope;declaredVariables;globalScope;nodeToScope;scopes;constructor(t){this.scopes=[],this.globalScope=null,this.nodeToScope=new WeakMap,this.currentScope=null,this.#e=t,this.declaredVariables=new WeakMap}isES6(){return!0}isGlobalReturn(){return this.#e.globalReturn===!0}isImpliedStrict(){return this.#e.impliedStrict===!0}isModule(){return this.#e.sourceType==="module"}isStrictModeSupported(){return!0}get variables(){let t=new Set;function r(n){n.variables.forEach(i=>t.add(i)),n.childScopes.forEach(r)}return this.scopes.forEach(r),[...t].sort((n,i)=>n.$id-i.$id)}getDeclaredVariables(t){return this.declaredVariables.get(t)??[]}acquire(t,r=!1){function n(s){return!(s.type===bP.ScopeType.function&&s.functionExpressionScope)}let i=this.nodeToScope.get(t);if(!i||i.length===0)return null;if(i.length===1)return i[0];if(r){for(let s=i.length-1;s>=0;--s){let a=i[s];if(n(a))return a}return null}return i.find(n)??null}nestBlockScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.BlockScope(this,this.currentScope,t))}nestCatchScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.CatchScope(this,this.currentScope,t))}nestClassFieldInitializerScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new Hpf.ClassFieldInitializerScope(this,this.currentScope,t))}nestClassScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.ClassScope(this,this.currentScope,t))}nestClassStaticBlockScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new zpf.ClassStaticBlockScope(this,this.currentScope,t))}nestConditionalTypeScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.ConditionalTypeScope(this,this.currentScope,t))}nestForScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.ForScope(this,this.currentScope,t))}nestFunctionExpressionNameScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.FunctionExpressionNameScope(this,this.currentScope,t))}nestFunctionScope(t,r){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.FunctionScope(this,this.currentScope,t,r))}nestFunctionTypeScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.FunctionTypeScope(this,this.currentScope,t))}nestGlobalScope(t){return this.nestScope(new bP.GlobalScope(this,t))}nestMappedTypeScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.MappedTypeScope(this,this.currentScope,t))}nestModuleScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.ModuleScope(this,this.currentScope,t))}nestSwitchScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.SwitchScope(this,this.currentScope,t))}nestTSEnumScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.TSEnumScope(this,this.currentScope,t))}nestTSModuleScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.TSModuleScope(this,this.currentScope,t))}nestTypeScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.TypeScope(this,this.currentScope,t))}nestWithScope(t){return(0,CP.assert)(this.currentScope),this.nestScope(new bP.WithScope(this,this.currentScope,t))}nestScope(t){return t instanceof bP.GlobalScope&&((0,CP.assert)(this.currentScope==null),this.globalScope=t),this.currentScope=t,t}};QXt.ScopeManager=Qdn});var hLs=j(Udn=>{"use strict";Object.defineProperty(Udn,"__esModule",{value:!0});Udn.analyze=edf;var Wpf=wVe(),Xpf=gLs(),Zpf=jdn(),FVe={childVisitorKeys:Wpf.visitorKeys,emitDecoratorMetadata:!1,globalReturn:!1,impliedStrict:!1,jsxFragmentName:null,jsxPragma:"React",lib:["es2018"],sourceType:"script"};function edf(e,t){let r={childVisitorKeys:t?.childVisitorKeys??FVe.childVisitorKeys,emitDecoratorMetadata:!1,globalReturn:t?.globalReturn??FVe.globalReturn,impliedStrict:t?.impliedStrict??FVe.impliedStrict,jsxFragmentName:t?.jsxFragmentName??FVe.jsxFragmentName,jsxPragma:t?.jsxPragma===void 0?FVe.jsxPragma:t.jsxPragma,lib:t?.lib??["esnext"],sourceType:t?.sourceType??FVe.sourceType};r.lib=r.lib.map(s=>s.toLowerCase());let n=new Zpf.ScopeManager(r);return new Xpf.Referencer(r,n).visit(e),n}});var nL=j(D7=>{"use strict";var tdf=D7&&D7.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),qdn=D7&&D7.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&tdf(t,e,r)};Object.defineProperty(D7,"__esModule",{value:!0});D7.ScopeManager=D7.Visitor=D7.Reference=D7.PatternVisitor=D7.analyze=void 0;var rdf=hLs();Object.defineProperty(D7,"analyze",{enumerable:!0,get:function(){return rdf.analyze}});qdn(vTe(),D7);var ndf=kXt();Object.defineProperty(D7,"PatternVisitor",{enumerable:!0,get:function(){return ndf.PatternVisitor}});var idf=rXt();Object.defineProperty(D7,"Reference",{enumerable:!0,get:function(){return idf.Reference}});var sdf=m5e();Object.defineProperty(D7,"Visitor",{enumerable:!0,get:function(){return sdf.Visitor}});qdn(TXt(),D7);var adf=jdn();Object.defineProperty(D7,"ScopeManager",{enumerable:!0,get:function(){return adf.ScopeManager}});qdn(oXt(),D7)});var jXt=j(lpe=>{"use strict";var odf=lpe&&lpe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),udf=lpe&&lpe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),ldf=lpe&&lpe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";Object.defineProperty(UXt,"__esModule",{value:!0});UXt.CORE_COMPILER_OPTIONS=void 0;UXt.CORE_COMPILER_OPTIONS={noEmit:!0,noUnusedLocals:!0,noUnusedParameters:!0}});var xLs=j(kye=>{"use strict";var pdf=kye&&kye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),ddf=kye&&kye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),ELs=kye&&kye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{throw new Error(s([a]))},readDirectory:e.sys.readDirectory,readFile:a=>_Ls.readFileSync(Gdn.isAbsolute(a)?a:Gdn.join(i(),a),"utf-8"),useCaseSensitiveFileNames:e.sys.useCaseSensitiveFileNames});if(n?.errors.length)throw new Error(s(n.errors));return n;function i(){return r?Gdn.resolve(r):process.cwd()}function s(a){return e.formatDiagnostics(a,{getCanonicalFileName:u=>u,getCurrentDirectory:i,getNewLine:()=>` `})}}});var qXt=j(DTe=>{"use strict";var Adf=DTe&&DTe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),vLs=DTe&&DTe.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Adf(t,e,r)};Object.defineProperty(DTe,"__esModule",{value:!0});vLs(Ydn(),DTe);vLs(xLs(),DTe)});var cpe=j(IP=>{"use strict";var hdf=IP&&IP.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),ydf=IP&&IP.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),_df=IP&&IP.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ie:e=>e.toLowerCase();function Idf(e){let t=c1t.default.normalize(e);return t.endsWith(c1t.default.sep)&&(t=t.slice(0,-1)),bdf(t)}function Sdf(e,t){return c1t.default.resolve(t,e)}function Tdf(e){return c1t.default.dirname(e)}var Ddf=[JQ.Extension.Dts,JQ.Extension.Dcts,JQ.Extension.Dmts];function bLs(e){return e?Ddf.find(t=>e.endsWith(t))??c1t.default.extname(e):null}function wdf(e,t){let r=e.getSourceFile(t),n=bLs(t),i=bLs(r?.fileName);if(n===i)return r&&{ast:r,program:e}}function Bdf(e){return JQ.sys?.createHash?JQ.sys.createHash(e):e}});var zdn=j(nZ=>{"use strict";var kdf=nZ&&nZ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Pdf=nZ&&nZ.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Ndf=nZ&&nZ.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let n=(0,fpe.getCanonicalFileName)(t),i=(()=>{let s=e.get(n);return s||(s=new Set,e.set(n,s)),s})();return i.add(r),{close:()=>{i.delete(r)}}}}var GXt={code:"",filePath:""};function Vdn(e){throw new Error(KK.flattenDiagnosticMessageText(e.messageText,KK.sys.newLine))}function $dn(e,t){let r=new Set(t.getRootFileNames().map(n=>(0,fpe.getCanonicalFileName)(n)));return LVe.set(e,r),r}function Fdf(e){let t=(0,fpe.getCanonicalFileName)(e.filePath),r=[];GXt.code=e.code,GXt.filePath=t;let n=f1t.get(t),i=(0,fpe.createHash)((0,DLs.getCodeText)(e.code));Hdn.get(t)!==i&&n&&n.size>0&&n.forEach(a=>a(t,KK.FileWatcherEventKind.Changed));let s=new Map(e.projects);for(let[a,u]of YXt.entries()){if(!s.has(a))continue;let l=LVe.get(a),f=null;if(l||(f=u.getProgram().getProgram(),l=$dn(a,f)),l.has(t))return $K("Found existing program for file. %s",t),f??=u.getProgram().getProgram(),f.getTypeChecker(),[f]}$K("File did not belong to any existing programs, moving to create/update. %s",t);for(let a of e.projects){let u=YXt.get(a[0]);if(u){let g=Qdf(u,t,a[0]);if(!g)continue;if(g.getTypeChecker(),$dn(a[0],g).has(t))return $K("Found updated program for file. %s",t),[g];r.push(g);continue}let l=Ldf(a[1],e);YXt.set(a[0],l);let f=l.getProgram().getProgram();if(f.getTypeChecker(),$dn(a[0],f).has(t))return $K("Found program for file. %s",t),[f];r.push(f)}return r}function Ldf(e,t){$K("Creating watch program for %s.",e);let r=KK.createWatchCompilerHost(e,(0,fpe.createDefaultCompilerOptionsFromExtra)(t),KK.sys,KK.createAbstractBuilder,Vdn,()=>{});r.jsDocParsingMode=t.jsDocParsingMode;let n=r.readFile;r.readFile=(s,a)=>{let u=(0,fpe.getCanonicalFileName)(s),l=u===GXt.filePath?(0,DLs.getCodeText)(GXt.code):n(u,a);return l!=null&&Hdn.set(u,(0,fpe.createHash)(l)),l},r.onUnRecoverableConfigFileDiagnostic=Vdn,r.afterProgramCreate=s=>{let a=s.getConfigFileParsingDiagnostics().filter(u=>u.category===KK.DiagnosticCategory.Error&&u.code!==18003);a.length>0&&Vdn(a[0])},r.watchFile=ILs(f1t),r.watchDirectory=ILs(Jdn);let i=r.onCachedDirectoryStructureHostCreate;return r.onCachedDirectoryStructureHostCreate=s=>{let a=s.readDirectory;s.readDirectory=(u,l,f,p,g)=>a(u,l?[...l,...t.extraFileExtensions]:void 0,f,p,g),i(s)},r.extraFileExtensions=t.extraFileExtensions.map(s=>({extension:s,isMixedContent:!0,scriptKind:KK.ScriptKind.Deferred})),r.trace=$K,r.setTimeout=void 0,r.clearTimeout=void 0,KK.createWatchProgram(r)}function Mdf(e){let r=TLs.default.statSync(e).mtimeMs,n=Kdn.get(e);return Kdn.set(e,r),n==null?!1:Math.abs(n-r)>Number.EPSILON}function Qdf(e,t,r){let n=e.getProgram().getProgram();if(process.env.TSESTREE_NO_INVALIDATION==="true")return n;Mdf(r)&&($K("tsconfig has changed - triggering program update. %s",r),f1t.get(r).forEach(A=>A(r,KK.FileWatcherEventKind.Changed)),LVe.delete(r));let i=n.getSourceFile(t);if(i)return n;$K("File was not found in program - triggering folder update. %s",t);let s=(0,fpe.canonicalDirname)(t),a=null,u=s,l=!1;for(;a!==u;){a=u;let A=Jdn.get(a);if(A){for(let h of A)s!==a&&h(s,KK.FileWatcherEventKind.Changed),h(a,KK.FileWatcherEventKind.Changed);l=!0}u=(0,fpe.canonicalDirname)(a)}if(!l)return $K("No callback found for file, not part of this program. %s",t),null;if(LVe.delete(r),n=e.getProgram().getProgram(),i=n.getSourceFile(t),i)return n;$K("File was still not found in program after directory update - checking file deletions. %s",t);let p=n.getRootFileNames().find(A=>!TLs.default.existsSync(A));if(!p)return null;let g=f1t.get((0,fpe.getCanonicalFileName)(p));return g?($K("Marking file as deleted. %s",p),g.forEach(A=>A(p,KK.FileWatcherEventKind.Deleted)),LVe.delete(r),n=e.getProgram().getProgram(),i=n.getSourceFile(t),i?n:($K("File was still not found in program after deletion check, assuming it is not part of this program. %s",t),null)):($K("Could not find watch callbacks for root file. %s",p),n)}});var VXt=j(bse=>{"use strict";var jdf=bse&&bse.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Udf=bse&&bse.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),wLs=bse&&bse.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i= ${e}.0 || >= ${e}.1-rc || >= ${e}.0-beta`,{includePrerelease:!0})}var Vdf=["4.7","4.8","4.9","5.0","5.1","5.2","5.3","5.4"];bse.typescriptVersionIsAtLeast={};for(let e of Vdf)bse.typescriptVersionIsAtLeast[e]=Gdf(e)});var p1t=j(ppe=>{"use strict";var $df=ppe&&ppe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Kdf=ppe&&ppe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Jdf=ppe&&ppe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i!MVe.isDecorator(r))}}function Wdf(e,t=!1){if(e!=null){if(BLs){if(t||MVe.canHaveDecorators(e)){let r=MVe.getDecorators(e);return r?[...r]:void 0}return}return e.decorators?.filter(MVe.isDecorator)}}});var kLs=j($Xt=>{"use strict";Object.defineProperty($Xt,"__esModule",{value:!0});$Xt.xhtmlEntities=void 0;$Xt.xhtmlEntities={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",Alpha:"\u0391",alpha:"\u03B1",amp:"&",and:"\u2227",ang:"\u2220",apos:"'",Aring:"\xC5",aring:"\xE5",asymp:"\u2248",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",bdquo:"\u201E",Beta:"\u0392",beta:"\u03B2",brvbar:"\xA6",bull:"\u2022",cap:"\u2229",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",clubs:"\u2663",cong:"\u2245",copy:"\xA9",crarr:"\u21B5",cup:"\u222A",curren:"\xA4",dagger:"\u2020",Dagger:"\u2021",darr:"\u2193",dArr:"\u21D3",deg:"\xB0",Delta:"\u0394",delta:"\u03B4",diams:"\u2666",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",empty:"\u2205",emsp:"\u2003",ensp:"\u2002",Epsilon:"\u0395",epsilon:"\u03B5",equiv:"\u2261",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",exist:"\u2203",fnof:"\u0192",forall:"\u2200",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",frasl:"\u2044",Gamma:"\u0393",gamma:"\u03B3",ge:"\u2265",gt:">",harr:"\u2194",hArr:"\u21D4",hearts:"\u2665",hellip:"\u2026",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",image:"\u2111",infin:"\u221E",int:"\u222B",Iota:"\u0399",iota:"\u03B9",iquest:"\xBF",isin:"\u2208",Iuml:"\xCF",iuml:"\xEF",Kappa:"\u039A",kappa:"\u03BA",Lambda:"\u039B",lambda:"\u03BB",lang:"\u2329",laquo:"\xAB",larr:"\u2190",lArr:"\u21D0",lceil:"\u2308",ldquo:"\u201C",le:"\u2264",lfloor:"\u230A",lowast:"\u2217",loz:"\u25CA",lrm:"\u200E",lsaquo:"\u2039",lsquo:"\u2018",lt:"<",macr:"\xAF",mdash:"\u2014",micro:"\xB5",middot:"\xB7",minus:"\u2212",Mu:"\u039C",mu:"\u03BC",nabla:"\u2207",nbsp:"\xA0",ndash:"\u2013",ne:"\u2260",ni:"\u220B",not:"\xAC",notin:"\u2209",nsub:"\u2284",Ntilde:"\xD1",ntilde:"\xF1",Nu:"\u039D",nu:"\u03BD",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",OElig:"\u0152",oelig:"\u0153",Ograve:"\xD2",ograve:"\xF2",oline:"\u203E",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",oplus:"\u2295",or:"\u2228",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",part:"\u2202",permil:"\u2030",perp:"\u22A5",Phi:"\u03A6",phi:"\u03C6",Pi:"\u03A0",pi:"\u03C0",piv:"\u03D6",plusmn:"\xB1",pound:"\xA3",prime:"\u2032",Prime:"\u2033",prod:"\u220F",prop:"\u221D",Psi:"\u03A8",psi:"\u03C8",quot:'"',radic:"\u221A",rang:"\u232A",raquo:"\xBB",rarr:"\u2192",rArr:"\u21D2",rceil:"\u2309",rdquo:"\u201D",real:"\u211C",reg:"\xAE",rfloor:"\u230B",Rho:"\u03A1",rho:"\u03C1",rlm:"\u200F",rsaquo:"\u203A",rsquo:"\u2019",sbquo:"\u201A",Scaron:"\u0160",scaron:"\u0161",sdot:"\u22C5",sect:"\xA7",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sim:"\u223C",spades:"\u2660",sub:"\u2282",sube:"\u2286",sum:"\u2211",sup:"\u2283",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",supe:"\u2287",szlig:"\xDF",Tau:"\u03A4",tau:"\u03C4",there4:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thinsp:"\u2009",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",times:"\xD7",trade:"\u2122",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",uArr:"\u21D1",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",Uuml:"\xDC",uuml:"\xFC",weierp:"\u2118",Xi:"\u039E",xi:"\u03BE",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF",Yuml:"\u0178",Zeta:"\u0396",zeta:"\u03B6",zwj:"\u200D",zwnj:"\u200C"}});var NLs=j(PLs=>{"use strict";Object.defineProperty(PLs,"__esModule",{value:!0})});var RLs=j(OLs=>{"use strict";Object.defineProperty(OLs,"__esModule",{value:!0})});var d1t=j(LY=>{"use strict";var Xdf=LY&&LY.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),FLs=LY&&LY.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Xdf(t,e,r)};Object.defineProperty(LY,"__esModule",{value:!0});LY.TSESTree=LY.AST_TOKEN_TYPES=LY.AST_NODE_TYPES=void 0;FLs(NLs(),LY);FLs(RLs(),LY);var Wdn=FY();Object.defineProperty(LY,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Wdn.AST_NODE_TYPES}});Object.defineProperty(LY,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Wdn.AST_TOKEN_TYPES}});Object.defineProperty(LY,"TSESTree",{enumerable:!0,get:function(){return Wdn.TSESTree}})});var A5e=j(ty=>{"use strict";var Zdf=ty&&ty.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),emf=ty&&ty.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),tmf=ty&&ty.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;in.kind===e)===!0}function fmf(e){let t=(0,m1t.getModifiers)(e);return t==null?null:t[t.length-1]??null}function pmf(e){return e.kind===sm.CommaToken}function QLs(e){return e.kind===sm.SingleLineCommentTrivia||e.kind===sm.MultiLineCommentTrivia}function dmf(e){return e.kind===sm.JSDocComment}function mmf(e){if(umf(e))return{type:X6.AST_NODE_TYPES.AssignmentExpression,operator:KXt(e.kind)};if(LLs(e))return{type:X6.AST_NODE_TYPES.LogicalExpression,operator:KXt(e.kind)};if(MLs(e))return{type:X6.AST_NODE_TYPES.BinaryExpression,operator:KXt(e.kind)};throw new Error(`Unexpected binary operator ${lx.tokenToString(e.kind)}`)}function jLs(e,t){let r=t.getLineAndCharacterOfPosition(e);return{column:r.character,line:r.line+1}}function ULs(e,t){let[r,n]=e.map(i=>jLs(i,t));return{end:n,start:r}}function gmf(e){if(e.kind===lx.SyntaxKind.Block)switch(e.parent.kind){case lx.SyntaxKind.Constructor:case lx.SyntaxKind.GetAccessor:case lx.SyntaxKind.SetAccessor:case lx.SyntaxKind.ArrowFunction:case lx.SyntaxKind.FunctionExpression:case lx.SyntaxKind.FunctionDeclaration:case lx.SyntaxKind.MethodDeclaration:return!0;default:return!1}return!0}function Amf(e,t){return[e.getStart(t),e.getEnd()]}function hmf(e){return e.kind>=sm.FirstToken&&e.kind<=sm.LastToken}function Xdn(e){return e.kind>=sm.JsxElement&&e.kind<=sm.JsxAttribute}function ymf(e){return e.flags&lx.NodeFlags.Let?"let":(e.flags&lx.NodeFlags.AwaitUsing)===lx.NodeFlags.AwaitUsing?"await using":e.flags&lx.NodeFlags.Const?"const":e.flags&lx.NodeFlags.Using?"using":"var"}function _mf(e){let t=(0,m1t.getModifiers)(e);if(t!=null)for(let r of t)switch(r.kind){case sm.PublicKeyword:return"public";case sm.ProtectedKeyword:return"protected";case sm.PrivateKeyword:return"private";default:break}}function Emf(e,t,r){return n(t);function n(i){return lx.isToken(i)&&i.pos===e.end?i:JLs(i.getChildren(r),s=>(s.pos<=e.pos&&s.end>e.end||s.pos===e.end)&&KLs(s,r)?n(s):void 0)}}function qLs(e,t){let r=e;for(;r;){if(t(r))return r;r=r.parent}}function YLs(e){return!!qLs(e,Xdn)}function xmf(e){return e.replaceAll(/&(?:#\d+|#x[\da-fA-F]+|[0-9a-zA-Z]+);/g,t=>{let r=t.slice(1,-1);if(r[0]==="#"){let n=r[1]==="x"?parseInt(r.slice(2),16):parseInt(r.slice(1),10);return n>1114111?t:String.fromCodePoint(n)}return rmf.xhtmlEntities[r]||t})}function vmf(e){return e.kind===sm.ComputedPropertyName}function Cmf(e){return!!e.questionToken}function GLs(e){return e.type===X6.AST_NODE_TYPES.ChainExpression}function bmf(e,t){return GLs(t)&&e.expression.kind!==lx.SyntaxKind.ParenthesizedExpression}function VLs(e){if(e.kind===sm.NullKeyword)return X6.AST_TOKEN_TYPES.Null;if(e.kind>=sm.FirstKeyword&&e.kind<=sm.LastFutureReservedWord)return e.kind===sm.FalseKeyword||e.kind===sm.TrueKeyword?X6.AST_TOKEN_TYPES.Boolean:X6.AST_TOKEN_TYPES.Keyword;if(e.kind>=sm.FirstPunctuation&&e.kind<=sm.LastPunctuation)return X6.AST_TOKEN_TYPES.Punctuator;if(e.kind>=sm.NoSubstitutionTemplateLiteral&&e.kind<=sm.TemplateTail)return X6.AST_TOKEN_TYPES.Template;switch(e.kind){case sm.NumericLiteral:case sm.BigIntLiteral:return X6.AST_TOKEN_TYPES.Numeric;case sm.PrivateIdentifier:return X6.AST_TOKEN_TYPES.PrivateIdentifier;case sm.JsxText:return X6.AST_TOKEN_TYPES.JSXText;case sm.StringLiteral:return e.parent.kind===sm.JsxAttribute||e.parent.kind===sm.JsxElement?X6.AST_TOKEN_TYPES.JSXText:X6.AST_TOKEN_TYPES.String;case sm.RegularExpressionLiteral:return X6.AST_TOKEN_TYPES.RegularExpression;case sm.Identifier:case sm.ConstructorKeyword:case sm.GetKeyword:case sm.SetKeyword:default:}return e.kind===sm.Identifier&&(Xdn(e.parent)||e.parent.kind===sm.PropertyAccessExpression&&YLs(e))?X6.AST_TOKEN_TYPES.JSXIdentifier:X6.AST_TOKEN_TYPES.Identifier}function $Ls(e,t){let r=e.kind===sm.JsxText?e.getFullStart():e.getStart(t),n=e.getEnd(),i=t.text.slice(r,n),s=VLs(e),a=[r,n],u=ULs(a,t);return s===X6.AST_TOKEN_TYPES.RegularExpression?{type:s,loc:u,range:a,regex:{flags:i.slice(i.lastIndexOf("/")+1),pattern:i.slice(1,i.lastIndexOf("/"))},value:i}:s===X6.AST_TOKEN_TYPES.PrivateIdentifier?{type:s,loc:u,range:a,value:i.slice(1)}:{type:s,loc:u,range:a,value:i}}function Imf(e){let t=[];function r(n){QLs(n)||dmf(n)||(hmf(n)&&n.kind!==sm.EndOfFileToken?t.push($Ls(n,e)):n.getChildren(e).forEach(r))}return r(e),t}var JXt=class extends Error{fileName;location;name="TSError";constructor(t,r,n){super(t),this.fileName=r,this.location=n}get index(){return this.location.start.offset}get lineNumber(){return this.location.start.line}get column(){return this.location.start.column}};ty.TSError=JXt;function Smf(e,t,r){let n,i;if(Array.isArray(e)?[n,i]=e:typeof e=="number"?n=i=e:(r??=e.getSourceFile(),n=e.getStart(r),i=e.getEnd()),!r)throw new Error("`sourceFile` is required.");let[s,a]=[n,i].map(u=>{let{character:l,line:f}=r.getLineAndCharacterOfPosition(u);return{column:l,line:f+1,offset:u}});return new JXt(t,r.fileName,{end:a,start:s})}function KLs(e,t){return e.kind===sm.EndOfFileToken?!!e.jsDoc:e.getWidth(t)!==0}function JLs(e,t){if(e!==void 0)for(let r=0;r{"use strict";var Bmf=Pye&&Pye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),kmf=Pye&&Pye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Pmf=Pye&&Pye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i=0&&e.kind!==bm.EndOfFileToken}function XLs(e){return!Nmf(e)}function Omf(e){return(0,S9.hasModifier)(bm.AbstractKeyword,e)}function Rmf(e){if(e.parameters.length&&!Nw.isJSDocSignature(e)){let t=e.parameters[0];if(Fmf(t))return t}return null}function Fmf(e){return(0,S9.isThisIdentifier)(e.name)}function Lmf(e){return Nw.findAncestor(e.parent,Nw.isFunctionLike)}function Mmf(e){switch(e.kind){case bm.ClassDeclaration:return!0;case bm.ClassExpression:return!0;case bm.PropertyDeclaration:{let{parent:t}=e;return!!(Nw.isClassDeclaration(t)||Nw.isClassLike(t)&&!Omf(e))}case bm.GetAccessor:case bm.SetAccessor:case bm.MethodDeclaration:{let{parent:t}=e;return!!e.body&&(Nw.isClassDeclaration(t)||Nw.isClassLike(t))}case bm.Parameter:{let{parent:t}=e,r=t.parent;return!!t&&"body"in t&&!!t.body&&(t.kind===bm.Constructor||t.kind===bm.MethodDeclaration||t.kind===bm.SetAccessor)&&Rmf(t)!==e&&!!r&&r.kind===bm.ClassDeclaration}}return!1}function Qmf(e){return!!("illegalDecorators"in e&&e.illegalDecorators?.length)}function jmf(e){if(Qmf(e))throw(0,S9.createError)(e.illegalDecorators[0],"Decorators are not valid here.");for(let t of(0,Zdn.getDecorators)(e,!0)??[])if(!Mmf(e))throw Nw.isMethodDeclaration(e)&&!XLs(e.body)?(0,S9.createError)(t,"A decorator can only decorate a method implementation, not an overload."):(0,S9.createError)(t,"Decorators are not valid here.");for(let t of(0,Zdn.getModifiers)(e,!0)??[]){if(t.kind!==bm.ReadonlyKeyword){if(e.kind===bm.PropertySignature||e.kind===bm.MethodSignature)throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier cannot appear on a type member`);if(e.kind===bm.IndexSignature&&(t.kind!==bm.StaticKeyword||!Nw.isClassLike(e.parent)))throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier cannot appear on an index signature`)}if(t.kind!==bm.InKeyword&&t.kind!==bm.OutKeyword&&t.kind!==bm.ConstKeyword&&e.kind===bm.TypeParameter)throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier cannot appear on a type parameter`);if((t.kind===bm.InKeyword||t.kind===bm.OutKeyword)&&(e.kind!==bm.TypeParameter||!(Nw.isInterfaceDeclaration(e.parent)||Nw.isClassLike(e.parent)||Nw.isTypeAliasDeclaration(e.parent))))throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier can only appear on a type parameter of a class, interface or type alias`);if(t.kind===bm.ReadonlyKeyword&&e.kind!==bm.PropertyDeclaration&&e.kind!==bm.PropertySignature&&e.kind!==bm.IndexSignature&&e.kind!==bm.Parameter)throw(0,S9.createError)(t,"'readonly' modifier can only appear on a property declaration or index signature.");if(t.kind===bm.DeclareKeyword&&Nw.isClassLike(e.parent)&&!Nw.isPropertyDeclaration(e))throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier cannot appear on class elements of this kind.`);if(t.kind===bm.DeclareKeyword&&Nw.isVariableStatement(e)){let r=(0,S9.getDeclarationKind)(e.declarationList);if(r==="using"||r==="await using")throw(0,S9.createError)(t,`'declare' modifier cannot appear on a '${r}' declaration.`)}if(t.kind===bm.AbstractKeyword&&e.kind!==bm.ClassDeclaration&&e.kind!==bm.ConstructorType&&e.kind!==bm.MethodDeclaration&&e.kind!==bm.PropertyDeclaration&&e.kind!==bm.GetAccessor&&e.kind!==bm.SetAccessor)throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier can only appear on a class, method, or property declaration.`);if((t.kind===bm.StaticKeyword||t.kind===bm.PublicKeyword||t.kind===bm.ProtectedKeyword||t.kind===bm.PrivateKeyword)&&(e.parent.kind===bm.ModuleBlock||e.parent.kind===bm.SourceFile))throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier cannot appear on a module or namespace element.`);if(t.kind===bm.AccessorKeyword&&e.kind!==bm.PropertyDeclaration)throw(0,S9.createError)(t,"'accessor' modifier can only appear on a property declaration.");if(t.kind===bm.AsyncKeyword&&e.kind!==bm.MethodDeclaration&&e.kind!==bm.FunctionDeclaration&&e.kind!==bm.FunctionExpression&&e.kind!==bm.ArrowFunction)throw(0,S9.createError)(t,"'async' modifier cannot be used here.");if(e.kind===bm.Parameter&&(t.kind===bm.StaticKeyword||t.kind===bm.ExportKeyword||t.kind===bm.DeclareKeyword||t.kind===bm.AsyncKeyword))throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier cannot appear on a parameter.`);if(t.kind===bm.PublicKeyword||t.kind===bm.ProtectedKeyword||t.kind===bm.PrivateKeyword){for(let r of(0,Zdn.getModifiers)(e)??[])if(r!==t&&(r.kind===bm.PublicKeyword||r.kind===bm.ProtectedKeyword||r.kind===bm.PrivateKeyword))throw(0,S9.createError)(r,"Accessibility modifier already seen.")}if(e.kind===bm.Parameter&&(t.kind===bm.PublicKeyword||t.kind===bm.PrivateKeyword||t.kind===bm.ProtectedKeyword||t.kind===bm.ReadonlyKeyword||t.kind===bm.OverrideKeyword)){let r=Lmf(e);if(!(r?.kind===bm.Constructor&&XLs(r.body)))throw(0,S9.createError)(t,"A parameter property is only allowed in a constructor implementation.");let n=e;if(n.dotDotDotToken)throw(0,S9.createError)(t,"A parameter property cannot be a rest parameter.");if(n.name.kind===bm.ArrayBindingPattern||n.name.kind===bm.ObjectBindingPattern)throw(0,S9.createError)(t,"A parameter property may not be declared using a binding pattern.")}if(t.kind!==bm.AsyncKeyword&&e.kind===bm.MethodDeclaration&&e.parent.kind===bm.ObjectLiteralExpression)throw(0,S9.createError)(t,`'${Nw.tokenToString(t.kind)}' modifier cannot be used here.`)}}});var tmn=j(Ise=>{"use strict";var Umf=Ise&&Ise.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),qmf=Ise&&Ise.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Ymf=Ise&&Ise.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;it[n]:()=>(s||(process.emitWarning(`The '${r}' property is deprecated on ${t.type} nodes. Use '${n}' instead. See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.`,"DeprecationWarning"),s=!0),t[n]),set(a){Object.defineProperty(t,r,{enumerable:!0,value:a,writable:!0})}}),t}#i(t,r,n,i){let s=!1;return Object.defineProperty(t,r,{configurable:!0,get:this.options.suppressDeprecatedPropertyWarnings?()=>i:()=>{if(!s){let a=`The '${r}' property is deprecated on ${t.type} nodes.`;n&&(a+=` Use ${n} instead.`),a+=" See https://typescript-eslint.io/troubleshooting/faqs/general#the-key-property-is-deprecated-on-type-nodes-use-key-instead-warnings.",process.emitWarning(a,"DeprecationWarning"),s=!0}return i},set(a){Object.defineProperty(t,r,{enumerable:!0,value:a,writable:!0})}}),t}assertModuleSpecifier(t,r){!r&&t.moduleSpecifier==null&&this.#r(t,"Module specifier must be a string literal."),t.moduleSpecifier&&t.moduleSpecifier?.kind!==Ps.StringLiteral&&this.#r(t.moduleSpecifier,"Module specifier must be a string literal.")}convertBindingNameWithTypeAnnotation(t,r,n){let i=this.convertPattern(t);return r&&(i.typeAnnotation=this.convertTypeAnnotation(r,n),this.fixParentLocation(i,i.typeAnnotation.range)),i}convertBodyExpressions(t,r){let n=(0,Ff.canContainDirective)(r);return t.map(i=>{let s=this.convertChild(i);if(n){if(s?.expression&&Rb.isExpressionStatement(i)&&Rb.isStringLiteral(i.expression)){let a=s.expression.raw;return s.directive=a.slice(1,-1),s}n=!1}return s}).filter(i=>i)}convertChainExpression(t,r){let{child:n,isOptional:i}=t.type===Ca.AST_NODE_TYPES.MemberExpression?{child:t.object,isOptional:t.optional}:t.type===Ca.AST_NODE_TYPES.CallExpression?{child:t.callee,isOptional:t.optional}:{child:t.expression,isOptional:!1},s=(0,Ff.isChildUnwrappableOptionalChain)(r,n);if(!s&&!i)return t;if(s&&(0,Ff.isChainExpression)(n)){let a=n.expression;t.type===Ca.AST_NODE_TYPES.MemberExpression?t.object=a:t.type===Ca.AST_NODE_TYPES.CallExpression?t.callee=a:t.expression=a}return this.createNode(r,{type:Ca.AST_NODE_TYPES.ChainExpression,expression:t})}convertChild(t,r){return this.converter(t,r,!1)}convertChildren(t,r){return t.map(n=>this.converter(n,r,!1))}convertPattern(t,r){return this.converter(t,r,!0)}convertTypeAnnotation(t,r){let n=r?.kind===Ps.FunctionType||r?.kind===Ps.ConstructorType?2:1,s=[t.getFullStart()-n,t.end],a=(0,Ff.getLocFor)(s,this.ast);return{type:Ca.AST_NODE_TYPES.TSTypeAnnotation,loc:a,range:s,typeAnnotation:this.convertChild(t)}}convertTypeArgumentsToTypeParameterInstantiation(t,r){let n=(0,Ff.findNextToken)(t,this.ast,this.ast),i=[t.pos-1,n.end];return t.length===0&&this.#r(i,"Type argument list cannot be empty."),this.createNode(r,{type:Ca.AST_NODE_TYPES.TSTypeParameterInstantiation,range:i,params:this.convertChildren(t)})}convertTSTypeParametersToTypeParametersDeclaration(t){let r=(0,Ff.findNextToken)(t,this.ast,this.ast),n=[t.pos-1,r.end];return t.length===0&&this.#r(n,"Type parameter list cannot be empty."),{type:Ca.AST_NODE_TYPES.TSTypeParameterDeclaration,loc:(0,Ff.getLocFor)(n,this.ast),range:n,params:this.convertChildren(t)}}convertParameters(t){return t?.length?t.map(r=>{let n=this.convertChild(r);return n.decorators=this.convertChildren((0,wTe.getDecorators)(r)??[]),n}):[]}converter(t,r,n){if(!t)return null;this.#t(t);let i=this.allowPattern;n!=null&&(this.allowPattern=n);let s=this.convertNode(t,r??t.parent);return this.registerTSNodeInNodeMap(t,s),this.allowPattern=i,s}convertImportAttributes(t){let r=t.attributes??t.assertClause;return this.convertChildren(r?.elements??[])}convertJSXIdentifier(t){let r=this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXIdentifier,name:t.getText()});return this.registerTSNodeInNodeMap(t,r),r}convertJSXNamespaceOrIdentifier(t){if(t.kind===Rb.SyntaxKind.JsxNamespacedName){let i=this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXNamespacedName,name:this.createNode(t.name,{type:Ca.AST_NODE_TYPES.JSXIdentifier,name:t.name.text}),namespace:this.createNode(t.namespace,{type:Ca.AST_NODE_TYPES.JSXIdentifier,name:t.namespace.text})});return this.registerTSNodeInNodeMap(t,i),i}let r=t.getText(),n=r.indexOf(":");if(n>0){let i=(0,Ff.getRange)(t,this.ast),s=this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXNamespacedName,range:i,name:this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXIdentifier,range:[i[0]+n+1,i[1]],name:r.slice(n+1)}),namespace:this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXIdentifier,range:[i[0],i[0]+n],name:r.slice(0,n)})});return this.registerTSNodeInNodeMap(t,s),s}return this.convertJSXIdentifier(t)}convertJSXTagName(t,r){let n;switch(t.kind){case Ps.PropertyAccessExpression:t.name.kind===Ps.PrivateIdentifier&&this.#r(t.name,"Non-private identifier expected."),n=this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXMemberExpression,object:this.convertJSXTagName(t.expression,r),property:this.convertJSXIdentifier(t.name)});break;case Ps.ThisKeyword:case Ps.Identifier:default:return this.convertJSXNamespaceOrIdentifier(t)}return this.registerTSNodeInNodeMap(t,n),n}convertMethodSignature(t){return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSMethodSignature,accessibility:(0,Ff.getTSNodeAccessibility)(t),computed:(0,Ff.isComputedProperty)(t.name),key:this.convertChild(t.name),kind:(()=>{switch(t.kind){case Ps.GetAccessor:return"get";case Ps.SetAccessor:return"set";case Ps.MethodSignature:return"method"}})(),optional:(0,Ff.isOptional)(t),params:this.convertParameters(t.parameters),readonly:(0,Ff.hasModifier)(Ps.ReadonlyKeyword,t),returnType:t.type&&this.convertTypeAnnotation(t.type,t),static:(0,Ff.hasModifier)(Ps.StaticKeyword,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}fixParentLocation(t,r){r[0]t.range[1]&&(t.range[1]=r[1],t.loc.end=(0,Ff.getLineAndCharacterFor)(t.range[1],this.ast))}convertNode(t,r){switch(t.kind){case Ps.SourceFile:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Program,range:[t.getStart(this.ast),t.endOfFileToken.end],body:this.convertBodyExpressions(t.statements,t),comments:void 0,sourceType:t.externalModuleIndicator?"module":"script",tokens:void 0});case Ps.Block:return this.createNode(t,{type:Ca.AST_NODE_TYPES.BlockStatement,body:this.convertBodyExpressions(t.statements,t)});case Ps.Identifier:return(0,Ff.isThisInTypeQuery)(t)?this.createNode(t,{type:Ca.AST_NODE_TYPES.ThisExpression}):this.createNode(t,{type:Ca.AST_NODE_TYPES.Identifier,decorators:[],name:t.text,optional:!1,typeAnnotation:void 0});case Ps.PrivateIdentifier:return this.createNode(t,{type:Ca.AST_NODE_TYPES.PrivateIdentifier,name:t.text.slice(1)});case Ps.WithStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.WithStatement,body:this.convertChild(t.statement),object:this.convertChild(t.expression)});case Ps.ReturnStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ReturnStatement,argument:this.convertChild(t.expression)});case Ps.LabeledStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.LabeledStatement,body:this.convertChild(t.statement),label:this.convertChild(t.label)});case Ps.ContinueStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ContinueStatement,label:this.convertChild(t.label)});case Ps.BreakStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.BreakStatement,label:this.convertChild(t.label)});case Ps.IfStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.IfStatement,alternate:this.convertChild(t.elseStatement),consequent:this.convertChild(t.thenStatement),test:this.convertChild(t.expression)});case Ps.SwitchStatement:return t.caseBlock.clauses.filter(n=>n.kind===Ps.DefaultClause).length>1&&this.#r(t,"A 'default' clause cannot appear more than once in a 'switch' statement."),this.createNode(t,{type:Ca.AST_NODE_TYPES.SwitchStatement,cases:this.convertChildren(t.caseBlock.clauses),discriminant:this.convertChild(t.expression)});case Ps.CaseClause:case Ps.DefaultClause:return this.createNode(t,{type:Ca.AST_NODE_TYPES.SwitchCase,consequent:this.convertChildren(t.statements),test:t.kind===Ps.CaseClause?this.convertChild(t.expression):null});case Ps.ThrowStatement:return t.expression.end===t.expression.pos&&this.#r(t,"A throw statement must throw an expression."),this.createNode(t,{type:Ca.AST_NODE_TYPES.ThrowStatement,argument:this.convertChild(t.expression)});case Ps.TryStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TryStatement,block:this.convertChild(t.tryBlock),finalizer:this.convertChild(t.finallyBlock),handler:this.convertChild(t.catchClause)});case Ps.CatchClause:return t.variableDeclaration?.initializer&&this.#r(t.variableDeclaration.initializer,"Catch clause variable cannot have an initializer."),this.createNode(t,{type:Ca.AST_NODE_TYPES.CatchClause,body:this.convertChild(t.block),param:t.variableDeclaration?this.convertBindingNameWithTypeAnnotation(t.variableDeclaration.name,t.variableDeclaration.type):null});case Ps.WhileStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.WhileStatement,body:this.convertChild(t.statement),test:this.convertChild(t.expression)});case Ps.DoStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.DoWhileStatement,body:this.convertChild(t.statement),test:this.convertChild(t.expression)});case Ps.ForStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ForStatement,body:this.convertChild(t.statement),init:this.convertChild(t.initializer),test:this.convertChild(t.condition),update:this.convertChild(t.incrementor)});case Ps.ForInStatement:return this.#e(t.initializer,t.kind),this.createNode(t,{type:Ca.AST_NODE_TYPES.ForInStatement,body:this.convertChild(t.statement),left:this.convertPattern(t.initializer),right:this.convertChild(t.expression)});case Ps.ForOfStatement:return this.#e(t.initializer,t.kind),this.createNode(t,{type:Ca.AST_NODE_TYPES.ForOfStatement,await:!!(t.awaitModifier&&t.awaitModifier.kind===Ps.AwaitKeyword),body:this.convertChild(t.statement),left:this.convertPattern(t.initializer),right:this.convertChild(t.expression)});case Ps.FunctionDeclaration:{let n=(0,Ff.hasModifier)(Ps.DeclareKeyword,t),i=(0,Ff.hasModifier)(Ps.AsyncKeyword,t),s=!!t.asteriskToken;n?t.body?this.#r(t,"An implementation cannot be declared in ambient contexts."):i?this.#r(t,"'async' modifier cannot be used in an ambient context."):s&&this.#r(t,"Generators are not allowed in an ambient context."):!t.body&&s&&this.#r(t,"A function signature cannot be declared as a generator.");let a=this.createNode(t,{type:t.body?Ca.AST_NODE_TYPES.FunctionDeclaration:Ca.AST_NODE_TYPES.TSDeclareFunction,async:i,body:this.convertChild(t.body)||void 0,declare:n,expression:!1,generator:s,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,a)}case Ps.VariableDeclaration:{let n=!!t.exclamationToken;n&&(t.initializer?this.#r(t,"Declarations with initializers cannot also have definite assignment assertions."):(t.name.kind!==Ps.Identifier||!t.type)&&this.#r(t,"Declarations with definite assignment assertions must also have type annotations."));let i=this.convertChild(t.initializer),s=this.convertBindingNameWithTypeAnnotation(t.name,t.type,t);return this.createNode(t,{type:Ca.AST_NODE_TYPES.VariableDeclarator,definite:n,id:s,init:i})}case Ps.VariableStatement:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.VariableDeclaration,declarations:this.convertChildren(t.declarationList.declarations),declare:(0,Ff.hasModifier)(Ps.DeclareKeyword,t),kind:(0,Ff.getDeclarationKind)(t.declarationList)});return n.declarations.length||this.#r(t,"A variable declaration list must have at least one variable declarator."),(n.kind==="using"||n.kind==="await using")&&t.declarationList.declarations.forEach((i,s)=>{n.declarations[s].init==null&&this.#r(i,`'${n.kind}' declarations must be initialized.`),n.declarations[s].id.type!==Ca.AST_NODE_TYPES.Identifier&&this.#r(i.name,`'${n.kind}' declarations may not have binding patterns.`)}),(n.declare||["await using","const","using"].includes(n.kind))&&t.declarationList.declarations.forEach((i,s)=>{n.declarations[s].definite&&this.#r(i,"A definite assignment assertion '!' is not permitted in this context.")}),n.declare&&t.declarationList.declarations.forEach((i,s)=>{n.declarations[s].init&&(["let","var"].includes(n.kind)||n.declarations[s].id.typeAnnotation)&&this.#r(i,"Initializers are not permitted in ambient contexts.")}),this.fixExports(t,n)}case Ps.VariableDeclarationList:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.VariableDeclaration,declarations:this.convertChildren(t.declarations),declare:!1,kind:(0,Ff.getDeclarationKind)(t)});return(n.kind==="using"||n.kind==="await using")&&t.declarations.forEach((i,s)=>{n.declarations[s].init!=null&&this.#r(i,`'${n.kind}' declarations may not be initialized in for statement.`),n.declarations[s].id.type!==Ca.AST_NODE_TYPES.Identifier&&this.#r(i.name,`'${n.kind}' declarations may not have binding patterns.`)}),n}case Ps.ExpressionStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ExpressionStatement,directive:void 0,expression:this.convertChild(t.expression)});case Ps.ThisKeyword:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ThisExpression});case Ps.ArrayLiteralExpression:return this.allowPattern?this.createNode(t,{type:Ca.AST_NODE_TYPES.ArrayPattern,decorators:[],elements:t.elements.map(n=>this.convertPattern(n)),optional:!1,typeAnnotation:void 0}):this.createNode(t,{type:Ca.AST_NODE_TYPES.ArrayExpression,elements:this.convertChildren(t.elements)});case Ps.ObjectLiteralExpression:{if(this.allowPattern)return this.createNode(t,{type:Ca.AST_NODE_TYPES.ObjectPattern,decorators:[],optional:!1,properties:t.properties.map(i=>this.convertPattern(i)),typeAnnotation:void 0});let n=[];for(let i of t.properties)(i.kind===Ps.GetAccessor||i.kind===Ps.SetAccessor||i.kind===Ps.MethodDeclaration)&&!i.body&&this.#r(i.end-1,"'{' expected."),n.push(this.convertChild(i));return this.createNode(t,{type:Ca.AST_NODE_TYPES.ObjectExpression,properties:n})}case Ps.PropertyAssignment:{let{exclamationToken:n,questionToken:i}=t;return i&&this.#r(i,"A property assignment cannot have a question token."),n&&this.#r(n,"A property assignment cannot have an exclamation token."),this.createNode(t,{type:Ca.AST_NODE_TYPES.Property,computed:(0,Ff.isComputedProperty)(t.name),key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!1,value:this.converter(t.initializer,t,this.allowPattern)})}case Ps.ShorthandPropertyAssignment:{let{exclamationToken:n,modifiers:i,questionToken:s}=t;return i&&this.#r(i[0],"A shorthand property assignment cannot have modifiers."),s&&this.#r(s,"A shorthand property assignment cannot have a question token."),n&&this.#r(n,"A shorthand property assignment cannot have an exclamation token."),t.objectAssignmentInitializer?this.createNode(t,{type:Ca.AST_NODE_TYPES.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.createNode(t,{type:Ca.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertPattern(t.name),optional:!1,right:this.convertChild(t.objectAssignmentInitializer),typeAnnotation:void 0})}):this.createNode(t,{type:Ca.AST_NODE_TYPES.Property,computed:!1,key:this.convertChild(t.name),kind:"init",method:!1,optional:!1,shorthand:!0,value:this.convertChild(t.name)})}case Ps.ComputedPropertyName:return this.convertChild(t.expression);case Ps.PropertyDeclaration:{let n=(0,Ff.hasModifier)(Ps.AbstractKeyword,t);n&&t.initializer&&this.#r(t.initializer,"Abstract property cannot have an initializer."),t.name.kind===Ps.StringLiteral&&t.name.text==="constructor"&&this.#r(t.name,"Classes may not have a field named 'constructor'.");let s=(0,Ff.hasModifier)(Ps.AccessorKeyword,t)?n?Ca.AST_NODE_TYPES.TSAbstractAccessorProperty:Ca.AST_NODE_TYPES.AccessorProperty:n?Ca.AST_NODE_TYPES.TSAbstractPropertyDefinition:Ca.AST_NODE_TYPES.PropertyDefinition,a=this.convertChild(t.name);return this.createNode(t,{type:s,accessibility:(0,Ff.getTSNodeAccessibility)(t),computed:(0,Ff.isComputedProperty)(t.name),declare:(0,Ff.hasModifier)(Ps.DeclareKeyword,t),decorators:this.convertChildren((0,wTe.getDecorators)(t)??[]),definite:!!t.exclamationToken,key:a,optional:(a.type===Ca.AST_NODE_TYPES.Literal||t.name.kind===Ps.Identifier||t.name.kind===Ps.ComputedPropertyName||t.name.kind===Ps.PrivateIdentifier)&&!!t.questionToken,override:(0,Ff.hasModifier)(Ps.OverrideKeyword,t),readonly:(0,Ff.hasModifier)(Ps.ReadonlyKeyword,t),static:(0,Ff.hasModifier)(Ps.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t),value:n?null:this.convertChild(t.initializer)})}case Ps.GetAccessor:case Ps.SetAccessor:if(t.parent.kind===Ps.InterfaceDeclaration||t.parent.kind===Ps.TypeLiteral)return this.convertMethodSignature(t);case Ps.MethodDeclaration:{let n=(0,Ff.hasModifier)(Ps.AbstractKeyword,t);n&&t.body&&this.#r(t.name,t.kind===Ps.GetAccessor||t.kind===Ps.SetAccessor?"An abstract accessor cannot have an implementation.":`Method '${(0,Ff.declarationNameToString)(t.name,this.ast)}' cannot have an implementation because it is marked abstract.`);let i=this.createNode(t,{type:t.body?Ca.AST_NODE_TYPES.FunctionExpression:Ca.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,range:[t.parameters.pos-1,t.end],async:(0,Ff.hasModifier)(Ps.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:null,params:[],returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});i.typeParameters&&this.fixParentLocation(i,i.typeParameters.range);let s;if(r.kind===Ps.ObjectLiteralExpression)i.params=this.convertChildren(t.parameters),s=this.createNode(t,{type:Ca.AST_NODE_TYPES.Property,computed:(0,Ff.isComputedProperty)(t.name),key:this.convertChild(t.name),kind:"init",method:t.kind===Ps.MethodDeclaration,optional:!!t.questionToken,shorthand:!1,value:i});else{i.params=this.convertParameters(t.parameters);let a=n?Ca.AST_NODE_TYPES.TSAbstractMethodDefinition:Ca.AST_NODE_TYPES.MethodDefinition;s=this.createNode(t,{type:a,accessibility:(0,Ff.getTSNodeAccessibility)(t),computed:(0,Ff.isComputedProperty)(t.name),decorators:this.convertChildren((0,wTe.getDecorators)(t)??[]),key:this.convertChild(t.name),kind:"method",optional:!!t.questionToken,override:(0,Ff.hasModifier)(Ps.OverrideKeyword,t),static:(0,Ff.hasModifier)(Ps.StaticKeyword,t),value:i})}return t.kind===Ps.GetAccessor?s.kind="get":t.kind===Ps.SetAccessor?s.kind="set":!s.static&&t.name.kind===Ps.StringLiteral&&t.name.text==="constructor"&&s.type!==Ca.AST_NODE_TYPES.Property&&(s.kind="constructor"),s}case Ps.Constructor:{let n=(0,Ff.getLastModifier)(t),i=(n&&(0,Ff.findNextToken)(n,t,this.ast))??t.getFirstToken(),s=this.createNode(t,{type:t.body?Ca.AST_NODE_TYPES.FunctionExpression:Ca.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,range:[t.parameters.pos-1,t.end],async:!1,body:this.convertChild(t.body),declare:!1,expression:!1,generator:!1,id:null,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});s.typeParameters&&this.fixParentLocation(s,s.typeParameters.range);let a=i.kind===Ps.StringLiteral?this.createNode(i,{type:Ca.AST_NODE_TYPES.Literal,raw:i.getText(),value:"constructor"}):this.createNode(t,{type:Ca.AST_NODE_TYPES.Identifier,range:[i.getStart(this.ast),i.end],decorators:[],name:"constructor",optional:!1,typeAnnotation:void 0}),u=(0,Ff.hasModifier)(Ps.StaticKeyword,t);return this.createNode(t,{type:(0,Ff.hasModifier)(Ps.AbstractKeyword,t)?Ca.AST_NODE_TYPES.TSAbstractMethodDefinition:Ca.AST_NODE_TYPES.MethodDefinition,accessibility:(0,Ff.getTSNodeAccessibility)(t),computed:!1,decorators:[],key:a,kind:u?"method":"constructor",optional:!1,override:!1,static:u,value:s})}case Ps.FunctionExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.FunctionExpression,async:(0,Ff.hasModifier)(Ps.AsyncKeyword,t),body:this.convertChild(t.body),declare:!1,expression:!1,generator:!!t.asteriskToken,id:this.convertChild(t.name),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case Ps.SuperKeyword:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Super});case Ps.ArrayBindingPattern:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ArrayPattern,decorators:[],elements:t.elements.map(n=>this.convertPattern(n)),optional:!1,typeAnnotation:void 0});case Ps.OmittedExpression:return null;case Ps.ObjectBindingPattern:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ObjectPattern,decorators:[],optional:!1,properties:t.elements.map(n=>this.convertPattern(n)),typeAnnotation:void 0});case Ps.BindingElement:{if(r.kind===Ps.ArrayBindingPattern){let i=this.convertChild(t.name,r);return t.initializer?this.createNode(t,{type:Ca.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:i,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}):t.dotDotDotToken?this.createNode(t,{type:Ca.AST_NODE_TYPES.RestElement,argument:i,decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):i}let n;return t.dotDotDotToken?n=this.createNode(t,{type:Ca.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.propertyName??t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):n=this.createNode(t,{type:Ca.AST_NODE_TYPES.Property,computed:!!(t.propertyName&&t.propertyName.kind===Ps.ComputedPropertyName),key:this.convertChild(t.propertyName??t.name),kind:"init",method:!1,optional:!1,shorthand:!t.propertyName,value:this.convertChild(t.name)}),t.initializer&&(n.value=this.createNode(t,{type:Ca.AST_NODE_TYPES.AssignmentPattern,range:[t.name.getStart(this.ast),t.initializer.end],decorators:[],left:this.convertChild(t.name),optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0})),n}case Ps.ArrowFunction:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ArrowFunctionExpression,async:(0,Ff.hasModifier)(Ps.AsyncKeyword,t),body:this.convertChild(t.body),expression:t.body.kind!==Ps.Block,generator:!1,id:null,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case Ps.YieldExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.YieldExpression,argument:this.convertChild(t.expression),delegate:!!t.asteriskToken});case Ps.AwaitExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.AwaitExpression,argument:this.convertChild(t.expression)});case Ps.NoSubstitutionTemplateLiteral:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TemplateLiteral,expressions:[],quasis:[this.createNode(t,{type:Ca.AST_NODE_TYPES.TemplateElement,tail:!0,value:{cooked:t.text,raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-1)}})]});case Ps.TemplateExpression:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.TemplateLiteral,expressions:[],quasis:[this.convertChild(t.head)]});return t.templateSpans.forEach(i=>{n.expressions.push(this.convertChild(i.expression)),n.quasis.push(this.convertChild(i.literal))}),n}case Ps.TaggedTemplateExpression:return t.tag.flags&Rb.NodeFlags.OptionalChain&&this.#r(t,"Tagged template expressions are not permitted in an optional chain."),this.createNode(t,{type:Ca.AST_NODE_TYPES.TaggedTemplateExpression,quasi:this.convertChild(t.template),tag:this.convertChild(t.tag),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case Ps.TemplateHead:case Ps.TemplateMiddle:case Ps.TemplateTail:{let n=t.kind===Ps.TemplateTail;return this.createNode(t,{type:Ca.AST_NODE_TYPES.TemplateElement,tail:n,value:{cooked:t.text,raw:this.ast.text.slice(t.getStart(this.ast)+1,t.end-(n?1:2))}})}case Ps.SpreadAssignment:case Ps.SpreadElement:return this.allowPattern?this.createNode(t,{type:Ca.AST_NODE_TYPES.RestElement,argument:this.convertPattern(t.expression),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):this.createNode(t,{type:Ca.AST_NODE_TYPES.SpreadElement,argument:this.convertChild(t.expression)});case Ps.Parameter:{let n,i;return t.dotDotDotToken?n=i=this.createNode(t,{type:Ca.AST_NODE_TYPES.RestElement,argument:this.convertChild(t.name),decorators:[],optional:!1,typeAnnotation:void 0,value:void 0}):t.initializer?(n=this.convertChild(t.name),i=this.createNode(t,{type:Ca.AST_NODE_TYPES.AssignmentPattern,range:[t.name.getStart(this.ast),t.initializer.end],decorators:[],left:n,optional:!1,right:this.convertChild(t.initializer),typeAnnotation:void 0}),(0,wTe.getModifiers)(t)&&(i.range[0]=n.range[0],i.loc=(0,Ff.getLocFor)(i.range,this.ast))):n=i=this.convertChild(t.name,r),t.type&&(n.typeAnnotation=this.convertTypeAnnotation(t.type,t),this.fixParentLocation(n,n.typeAnnotation.range)),t.questionToken&&(t.questionToken.end>n.range[1]&&(n.range[1]=t.questionToken.end,n.loc.end=(0,Ff.getLineAndCharacterFor)(n.range[1],this.ast)),n.optional=!0),(0,wTe.getModifiers)(t)?this.createNode(t,{type:Ca.AST_NODE_TYPES.TSParameterProperty,accessibility:(0,Ff.getTSNodeAccessibility)(t),decorators:[],override:(0,Ff.hasModifier)(Ps.OverrideKeyword,t),parameter:i,readonly:(0,Ff.hasModifier)(Ps.ReadonlyKeyword,t),static:(0,Ff.hasModifier)(Ps.StaticKeyword,t)}):i}case Ps.ClassDeclaration:!t.name&&(!(0,Ff.hasModifier)(Rb.SyntaxKind.ExportKeyword,t)||!(0,Ff.hasModifier)(Rb.SyntaxKind.DefaultKeyword,t))&&this.#r(t,"A class declaration without the 'default' modifier must have a name.");case Ps.ClassExpression:{let n=t.heritageClauses??[],i=t.kind===Ps.ClassDeclaration?Ca.AST_NODE_TYPES.ClassDeclaration:Ca.AST_NODE_TYPES.ClassExpression,s,a;for(let l of n){let{token:f,types:p}=l;p.length===0&&this.#r(l,`'${Rb.tokenToString(f)}' list cannot be empty.`),f===Ps.ExtendsKeyword?(s&&this.#r(l,"'extends' clause already seen."),a&&this.#r(l,"'extends' clause must precede 'implements' clause."),p.length>1&&this.#r(p[1],"Classes can only extend a single class."),s??=l):f===Ps.ImplementsKeyword&&(a&&this.#r(l,"'implements' clause already seen."),a??=l)}let u=this.createNode(t,{type:i,abstract:(0,Ff.hasModifier)(Ps.AbstractKeyword,t),body:this.createNode(t,{type:Ca.AST_NODE_TYPES.ClassBody,range:[t.members.pos-1,t.end],body:this.convertChildren(t.members.filter(Ff.isESTreeClassMember))}),declare:(0,Ff.hasModifier)(Ps.DeclareKeyword,t),decorators:this.convertChildren((0,wTe.getDecorators)(t)??[]),id:this.convertChild(t.name),implements:this.convertChildren(a?.types??[]),superClass:s?.types[0]?this.convertChild(s.types[0].expression):null,superTypeArguments:void 0,typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return s?.types[0]?.typeArguments&&(u.superTypeArguments=this.convertTypeArgumentsToTypeParameterInstantiation(s.types[0].typeArguments,s.types[0])),this.fixExports(t,u)}case Ps.ModuleBlock:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSModuleBlock,body:this.convertBodyExpressions(t.statements,t)});case Ps.ImportDeclaration:{this.assertModuleSpecifier(t,!1);let n=this.createNode(t,this.#n({type:Ca.AST_NODE_TYPES.ImportDeclaration,attributes:this.convertImportAttributes(t),importKind:"value",source:this.convertChild(t.moduleSpecifier),specifiers:[]},"assertions","attributes",!0));if(t.importClause&&(t.importClause.isTypeOnly&&(n.importKind="type"),t.importClause.name&&n.specifiers.push(this.convertChild(t.importClause)),t.importClause.namedBindings))switch(t.importClause.namedBindings.kind){case Ps.NamespaceImport:n.specifiers.push(this.convertChild(t.importClause.namedBindings));break;case Ps.NamedImports:n.specifiers.push(...this.convertChildren(t.importClause.namedBindings.elements));break}return n}case Ps.NamespaceImport:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ImportNamespaceSpecifier,local:this.convertChild(t.name)});case Ps.ImportSpecifier:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ImportSpecifier,imported:this.convertChild(t.propertyName??t.name),importKind:t.isTypeOnly?"type":"value",local:this.convertChild(t.name)});case Ps.ImportClause:{let n=this.convertChild(t.name);return this.createNode(t,{type:Ca.AST_NODE_TYPES.ImportDefaultSpecifier,range:n.range,local:n})}case Ps.ExportDeclaration:return t.exportClause?.kind===Ps.NamedExports?(this.assertModuleSpecifier(t,!0),this.createNode(t,this.#n({type:Ca.AST_NODE_TYPES.ExportNamedDeclaration,attributes:this.convertImportAttributes(t),declaration:null,exportKind:t.isTypeOnly?"type":"value",source:this.convertChild(t.moduleSpecifier),specifiers:this.convertChildren(t.exportClause.elements,t)},"assertions","attributes",!0))):(this.assertModuleSpecifier(t,!1),this.createNode(t,this.#n({type:Ca.AST_NODE_TYPES.ExportAllDeclaration,attributes:this.convertImportAttributes(t),exported:t.exportClause?.kind===Ps.NamespaceExport?this.convertChild(t.exportClause.name):null,exportKind:t.isTypeOnly?"type":"value",source:this.convertChild(t.moduleSpecifier)},"assertions","attributes",!0)));case Ps.ExportSpecifier:{let n=t.propertyName??t.name;return n.kind===Ps.StringLiteral&&r.kind===Ps.ExportDeclaration&&r.moduleSpecifier?.kind!==Ps.StringLiteral&&this.#r(n,"A string literal cannot be used as a local exported binding without `from`."),this.createNode(t,{type:Ca.AST_NODE_TYPES.ExportSpecifier,exported:this.convertChild(t.name),exportKind:t.isTypeOnly?"type":"value",local:this.convertChild(n)})}case Ps.ExportAssignment:return t.isExportEquals?this.createNode(t,{type:Ca.AST_NODE_TYPES.TSExportAssignment,expression:this.convertChild(t.expression)}):this.createNode(t,{type:Ca.AST_NODE_TYPES.ExportDefaultDeclaration,declaration:this.convertChild(t.expression),exportKind:"value"});case Ps.PrefixUnaryExpression:case Ps.PostfixUnaryExpression:{let n=(0,Ff.getTextForTokenKind)(t.operator);return n==="++"||n==="--"?((0,Ff.isValidAssignmentTarget)(t.operand)||this.#r(t.operand,"Invalid left-hand side expression in unary operation"),this.createNode(t,{type:Ca.AST_NODE_TYPES.UpdateExpression,argument:this.convertChild(t.operand),operator:n,prefix:t.kind===Ps.PrefixUnaryExpression})):this.createNode(t,{type:Ca.AST_NODE_TYPES.UnaryExpression,argument:this.convertChild(t.operand),operator:n,prefix:t.kind===Ps.PrefixUnaryExpression})}case Ps.DeleteExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.UnaryExpression,argument:this.convertChild(t.expression),operator:"delete",prefix:!0});case Ps.VoidExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.UnaryExpression,argument:this.convertChild(t.expression),operator:"void",prefix:!0});case Ps.TypeOfExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.UnaryExpression,argument:this.convertChild(t.expression),operator:"typeof",prefix:!0});case Ps.TypeOperator:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeOperator,operator:(0,Ff.getTextForTokenKind)(t.operator),typeAnnotation:this.convertChild(t.type)});case Ps.BinaryExpression:{if(t.operatorToken.kind!==Ps.InKeyword&&t.left.kind===Ps.PrivateIdentifier?this.#r(t.left,"Private identifiers cannot appear on the right-hand-side of an 'in' expression."):t.right.kind===Ps.PrivateIdentifier&&this.#r(t.right,"Private identifiers are only allowed on the left-hand-side of an 'in' expression."),(0,Ff.isComma)(t.operatorToken)){let i=this.createNode(t,{type:Ca.AST_NODE_TYPES.SequenceExpression,expressions:[]}),s=this.convertChild(t.left);return s.type===Ca.AST_NODE_TYPES.SequenceExpression&&t.left.kind!==Ps.ParenthesizedExpression?i.expressions.push(...s.expressions):i.expressions.push(s),i.expressions.push(this.convertChild(t.right)),i}let n=(0,Ff.getBinaryExpressionType)(t.operatorToken);return this.allowPattern&&n.type===Ca.AST_NODE_TYPES.AssignmentExpression?this.createNode(t,{type:Ca.AST_NODE_TYPES.AssignmentPattern,decorators:[],left:this.convertPattern(t.left,t),optional:!1,right:this.convertChild(t.right),typeAnnotation:void 0}):this.createNode(t,{...n,left:this.converter(t.left,t,n.type===Ca.AST_NODE_TYPES.AssignmentExpression),right:this.convertChild(t.right)})}case Ps.PropertyAccessExpression:{let n=this.convertChild(t.expression),i=this.convertChild(t.name),a=this.createNode(t,{type:Ca.AST_NODE_TYPES.MemberExpression,computed:!1,object:n,optional:t.questionDotToken!=null,property:i});return this.convertChainExpression(a,t)}case Ps.ElementAccessExpression:{let n=this.convertChild(t.expression),i=this.convertChild(t.argumentExpression),a=this.createNode(t,{type:Ca.AST_NODE_TYPES.MemberExpression,computed:!0,object:n,optional:t.questionDotToken!=null,property:i});return this.convertChainExpression(a,t)}case Ps.CallExpression:{if(t.expression.kind===Ps.ImportKeyword)return t.arguments.length!==1&&t.arguments.length!==2&&this.#r(t.arguments[2]??t,"Dynamic import requires exactly one or two arguments."),this.createNode(t,this.#n({type:Ca.AST_NODE_TYPES.ImportExpression,options:t.arguments[1]?this.convertChild(t.arguments[1]):null,source:this.convertChild(t.arguments[0])},"attributes","options",!0));let n=this.convertChild(t.expression),i=this.convertChildren(t.arguments),s=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),a=this.createNode(t,{type:Ca.AST_NODE_TYPES.CallExpression,arguments:i,callee:n,optional:t.questionDotToken!=null,typeArguments:s});return this.convertChainExpression(a,t)}case Ps.NewExpression:{let n=t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t);return this.createNode(t,{type:Ca.AST_NODE_TYPES.NewExpression,arguments:this.convertChildren(t.arguments??[]),callee:this.convertChild(t.expression),typeArguments:n})}case Ps.ConditionalExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ConditionalExpression,alternate:this.convertChild(t.whenFalse),consequent:this.convertChild(t.whenTrue),test:this.convertChild(t.condition)});case Ps.MetaProperty:return this.createNode(t,{type:Ca.AST_NODE_TYPES.MetaProperty,meta:this.createNode(t.getFirstToken(),{type:Ca.AST_NODE_TYPES.Identifier,decorators:[],name:(0,Ff.getTextForTokenKind)(t.keywordToken),optional:!1,typeAnnotation:void 0}),property:this.convertChild(t.name)});case Ps.Decorator:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Decorator,expression:this.convertChild(t.expression)});case Ps.StringLiteral:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Literal,raw:t.getText(),value:r.kind===Ps.JsxAttribute?(0,Ff.unescapeStringLiteralText)(t.text):t.text});case Ps.NumericLiteral:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Literal,raw:t.getText(),value:Number(t.text)});case Ps.BigIntLiteral:{let n=(0,Ff.getRange)(t,this.ast),i=this.ast.text.slice(n[0],n[1]),s=i.slice(0,-1).replaceAll("_",""),a=typeof BigInt<"u"?BigInt(s):null;return this.createNode(t,{type:Ca.AST_NODE_TYPES.Literal,range:n,bigint:a==null?s:String(a),raw:i,value:a})}case Ps.RegularExpressionLiteral:{let n=t.text.slice(1,t.text.lastIndexOf("/")),i=t.text.slice(t.text.lastIndexOf("/")+1),s=null;try{s=new RegExp(n,i)}catch{}return this.createNode(t,{type:Ca.AST_NODE_TYPES.Literal,raw:t.text,regex:{flags:i,pattern:n},value:s})}case Ps.TrueKeyword:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Literal,raw:"true",value:!0});case Ps.FalseKeyword:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Literal,raw:"false",value:!1});case Ps.NullKeyword:return this.createNode(t,{type:Ca.AST_NODE_TYPES.Literal,raw:"null",value:null});case Ps.EmptyStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.EmptyStatement});case Ps.DebuggerStatement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.DebuggerStatement});case Ps.JsxElement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXElement,children:this.convertChildren(t.children),closingElement:this.convertChild(t.closingElement),openingElement:this.convertChild(t.openingElement)});case Ps.JsxFragment:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXFragment,children:this.convertChildren(t.children),closingFragment:this.convertChild(t.closingFragment),openingFragment:this.convertChild(t.openingFragment)});case Ps.JsxSelfClosingElement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXElement,children:[],closingElement:null,openingElement:this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXOpeningElement,range:(0,Ff.getRange)(t,this.ast),attributes:this.convertChildren(t.attributes.properties),name:this.convertJSXTagName(t.tagName,t),selfClosing:!0,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):void 0})});case Ps.JsxOpeningElement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXOpeningElement,attributes:this.convertChildren(t.attributes.properties),name:this.convertJSXTagName(t.tagName,t),selfClosing:!1,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case Ps.JsxClosingElement:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXClosingElement,name:this.convertJSXTagName(t.tagName,t)});case Ps.JsxOpeningFragment:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXOpeningFragment});case Ps.JsxClosingFragment:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXClosingFragment});case Ps.JsxExpression:{let n=t.expression?this.convertChild(t.expression):this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXEmptyExpression,range:[t.getStart(this.ast)+1,t.getEnd()-1]});return t.dotDotDotToken?this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXSpreadChild,expression:n}):this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXExpressionContainer,expression:n})}case Ps.JsxAttribute:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXAttribute,name:this.convertJSXNamespaceOrIdentifier(t.name),value:this.convertChild(t.initializer)});case Ps.JsxText:{let n=t.getFullStart(),i=t.getEnd(),s=this.ast.text.slice(n,i);return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXText,range:[n,i],raw:s,value:(0,Ff.unescapeStringLiteralText)(s)})}case Ps.JsxSpreadAttribute:return this.createNode(t,{type:Ca.AST_NODE_TYPES.JSXSpreadAttribute,argument:this.convertChild(t.expression)});case Ps.QualifiedName:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSQualifiedName,left:this.convertChild(t.left),right:this.convertChild(t.right)});case Ps.TypeReference:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeReference,typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t),typeName:this.convertChild(t.typeName)});case Ps.TypeParameter:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeParameter,const:(0,Ff.hasModifier)(Ps.ConstKeyword,t),constraint:t.constraint&&this.convertChild(t.constraint),default:t.default?this.convertChild(t.default):void 0,in:(0,Ff.hasModifier)(Ps.InKeyword,t),name:this.convertChild(t.name),out:(0,Ff.hasModifier)(Ps.OutKeyword,t)});case Ps.ThisType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSThisType});case Ps.AnyKeyword:case Ps.BigIntKeyword:case Ps.BooleanKeyword:case Ps.NeverKeyword:case Ps.NumberKeyword:case Ps.ObjectKeyword:case Ps.StringKeyword:case Ps.SymbolKeyword:case Ps.UnknownKeyword:case Ps.VoidKeyword:case Ps.UndefinedKeyword:case Ps.IntrinsicKeyword:return this.createNode(t,{type:Ca.AST_NODE_TYPES[`TS${Ps[t.kind]}`]});case Ps.NonNullExpression:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.TSNonNullExpression,expression:this.convertChild(t.expression)});return this.convertChainExpression(n,t)}case Ps.TypeLiteral:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeLiteral,members:this.convertChildren(t.members)});case Ps.ArrayType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSArrayType,elementType:this.convertChild(t.elementType)});case Ps.IndexedAccessType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSIndexedAccessType,indexType:this.convertChild(t.indexType),objectType:this.convertChild(t.objectType)});case Ps.ConditionalType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSConditionalType,checkType:this.convertChild(t.checkType),extendsType:this.convertChild(t.extendsType),falseType:this.convertChild(t.falseType),trueType:this.convertChild(t.trueType)});case Ps.TypeQuery:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeQuery,exprName:this.convertChild(t.exprName),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)});case Ps.MappedType:return t.members&&t.members.length>0&&this.#r(t.members[0],"A mapped type may not declare properties or methods."),this.createNode(t,this.#i({type:Ca.AST_NODE_TYPES.TSMappedType,constraint:this.convertChild(t.typeParameter.constraint),key:this.convertChild(t.typeParameter.name),nameType:this.convertChild(t.nameType)??null,optional:t.questionToken?t.questionToken.kind===Ps.QuestionToken||(0,Ff.getTextForTokenKind)(t.questionToken.kind):!1,readonly:t.readonlyToken?t.readonlyToken.kind===Ps.ReadonlyKeyword||(0,Ff.getTextForTokenKind)(t.readonlyToken.kind):void 0,typeAnnotation:t.type&&this.convertChild(t.type)},"typeParameter","'constraint' and 'key'",this.convertChild(t.typeParameter)));case Ps.ParenthesizedExpression:return this.convertChild(t.expression,r);case Ps.TypeAliasDeclaration:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeAliasDeclaration,declare:(0,Ff.hasModifier)(Ps.DeclareKeyword,t),id:this.convertChild(t.name),typeAnnotation:this.convertChild(t.type),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,n)}case Ps.MethodSignature:return this.convertMethodSignature(t);case Ps.PropertySignature:{let{initializer:n}=t;return n&&this.#r(n,"A property signature cannot have an initializer."),this.createNode(t,{type:Ca.AST_NODE_TYPES.TSPropertySignature,accessibility:(0,Ff.getTSNodeAccessibility)(t),computed:(0,Ff.isComputedProperty)(t.name),key:this.convertChild(t.name),optional:(0,Ff.isOptional)(t),readonly:(0,Ff.hasModifier)(Ps.ReadonlyKeyword,t),static:(0,Ff.hasModifier)(Ps.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)})}case Ps.IndexSignature:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSIndexSignature,accessibility:(0,Ff.getTSNodeAccessibility)(t),parameters:this.convertChildren(t.parameters),readonly:(0,Ff.hasModifier)(Ps.ReadonlyKeyword,t),static:(0,Ff.hasModifier)(Ps.StaticKeyword,t),typeAnnotation:t.type&&this.convertTypeAnnotation(t.type,t)});case Ps.ConstructorType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSConstructorType,abstract:(0,Ff.hasModifier)(Ps.AbstractKeyword,t),params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});case Ps.FunctionType:{let{modifiers:n}=t;n&&this.#r(n[0],"A function type cannot have modifiers.")}case Ps.ConstructSignature:case Ps.CallSignature:{let n=t.kind===Ps.ConstructSignature?Ca.AST_NODE_TYPES.TSConstructSignatureDeclaration:t.kind===Ps.CallSignature?Ca.AST_NODE_TYPES.TSCallSignatureDeclaration:Ca.AST_NODE_TYPES.TSFunctionType;return this.createNode(t,{type:n,params:this.convertParameters(t.parameters),returnType:t.type&&this.convertTypeAnnotation(t.type,t),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)})}case Ps.ExpressionWithTypeArguments:{let n=r.kind,i=n===Ps.InterfaceDeclaration?Ca.AST_NODE_TYPES.TSInterfaceHeritage:n===Ps.HeritageClause?Ca.AST_NODE_TYPES.TSClassImplements:Ca.AST_NODE_TYPES.TSInstantiationExpression;return this.createNode(t,{type:i,expression:this.convertChild(t.expression),typeArguments:t.typeArguments&&this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t)})}case Ps.InterfaceDeclaration:{let n=t.heritageClauses??[],i=[],s=!1;for(let u of n){u.token!==Ps.ExtendsKeyword&&this.#r(u,u.token===Ps.ImplementsKeyword?"Interface declaration cannot have 'implements' clause.":"Unexpected token."),s&&this.#r(u,"'extends' clause already seen."),s=!0;for(let l of u.types)(!eMs(l.expression)||Rb.isOptionalChain(l.expression))&&this.#r(l,"Interface declaration can only extend an identifier/qualified name with optional type arguments."),i.push(this.convertChild(l,t))}let a=this.createNode(t,{type:Ca.AST_NODE_TYPES.TSInterfaceDeclaration,body:this.createNode(t,{type:Ca.AST_NODE_TYPES.TSInterfaceBody,range:[t.members.pos-1,t.end],body:this.convertChildren(t.members)}),declare:(0,Ff.hasModifier)(Ps.DeclareKeyword,t),extends:i,id:this.convertChild(t.name),typeParameters:t.typeParameters&&this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters)});return this.fixExports(t,a)}case Ps.TypePredicate:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypePredicate,asserts:t.assertsModifier!=null,parameterName:this.convertChild(t.parameterName),typeAnnotation:null});return t.type&&(n.typeAnnotation=this.convertTypeAnnotation(t.type,t),n.typeAnnotation.loc=n.typeAnnotation.typeAnnotation.loc,n.typeAnnotation.range=n.typeAnnotation.typeAnnotation.range),n}case Ps.ImportType:{let n=(0,Ff.getRange)(t,this.ast);if(t.isTypeOf){let l=(0,Ff.findNextToken)(t.getFirstToken(),t,this.ast);n[0]=l.getStart(this.ast)}let i=null;if(t.attributes){let l=this.createNode(t.attributes,{type:Ca.AST_NODE_TYPES.ObjectExpression,properties:t.attributes.elements.map(b=>this.createNode(b,{type:Ca.AST_NODE_TYPES.Property,computed:!1,key:this.convertChild(b.name),kind:"init",method:!1,optional:!1,shorthand:!1,value:this.convertChild(b.value)}))}),f=(0,Ff.findNextToken)(t.argument,t,this.ast),p=(0,Ff.findNextToken)(f,t,this.ast),g=(0,Ff.findNextToken)(t.attributes,t,this.ast),A=g.kind===Rb.SyntaxKind.CommaToken?(0,Ff.findNextToken)(g,t,this.ast):g,h=(0,Ff.findNextToken)(p,t,this.ast),_=(0,Ff.getRange)(h,this.ast),E=h.kind===Rb.SyntaxKind.AssertKeyword?"assert":"with";i=this.createNode(t,{type:Ca.AST_NODE_TYPES.ObjectExpression,range:[p.getStart(this.ast),A.end],properties:[this.createNode(t,{type:Ca.AST_NODE_TYPES.Property,range:[_[0],t.attributes.end],computed:!1,key:this.createNode(t,{type:Ca.AST_NODE_TYPES.Identifier,range:_,decorators:[],name:E,optional:!1,typeAnnotation:void 0}),kind:"init",method:!1,optional:!1,shorthand:!1,value:l})]})}let s=this.convertChild(t.argument),a=s.literal,u=this.createNode(t,this.#i({type:Ca.AST_NODE_TYPES.TSImportType,range:n,options:i,qualifier:this.convertChild(t.qualifier),source:a,typeArguments:t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null},"argument","source",s));return t.isTypeOf?this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeQuery,exprName:u,typeArguments:void 0}):u}case Ps.EnumDeclaration:{let n=this.convertChildren(t.members),i=this.createNode(t,this.#i({type:Ca.AST_NODE_TYPES.TSEnumDeclaration,body:this.createNode(t,{type:Ca.AST_NODE_TYPES.TSEnumBody,range:[t.members.pos-1,t.end],members:n}),const:(0,Ff.hasModifier)(Ps.ConstKeyword,t),declare:(0,Ff.hasModifier)(Ps.DeclareKeyword,t),id:this.convertChild(t.name)},"members","'body.members'",this.convertChildren(t.members)));return this.fixExports(t,i)}case Ps.EnumMember:{let n=t.name.kind===Rb.SyntaxKind.ComputedPropertyName;return n&&this.#r(t.name,"Computed property names are not allowed in enums."),(t.name.kind===Ps.NumericLiteral||t.name.kind===Ps.BigIntLiteral)&&this.#r(t.name,"An enum member cannot have a numeric name."),this.createNode(t,this.#i({type:Ca.AST_NODE_TYPES.TSEnumMember,id:this.convertChild(t.name),initializer:t.initializer&&this.convertChild(t.initializer)},"computed",void 0,n))}case Ps.ModuleDeclaration:{let n=(0,Ff.hasModifier)(Ps.DeclareKeyword,t),i=this.createNode(t,{type:Ca.AST_NODE_TYPES.TSModuleDeclaration,...(()=>{if(t.flags&Rb.NodeFlags.GlobalAugmentation){let a=this.convertChild(t.name),u=this.convertChild(t.body);return(u==null||u.type===Ca.AST_NODE_TYPES.TSModuleDeclaration)&&this.#r(t.body??t,"Expected a valid module body"),a.type!==Ca.AST_NODE_TYPES.Identifier&&this.#r(t.name,"global module augmentation must have an Identifier id"),{body:u,declare:!1,global:!1,id:a,kind:"global"}}if(Rb.isStringLiteral(t.name)){let a=this.convertChild(t.body);return{kind:"module",...a!=null?{body:a}:{},declare:!1,global:!1,id:this.convertChild(t.name)}}t.body==null&&this.#r(t,"Expected a module body"),t.name.kind!==Rb.SyntaxKind.Identifier&&this.#r(t.name,"`namespace`s must have an Identifier id");let s=this.createNode(t.name,{type:Ca.AST_NODE_TYPES.Identifier,range:[t.name.getStart(this.ast),t.name.getEnd()],decorators:[],name:t.name.text,optional:!1,typeAnnotation:void 0});for(;t.body&&Rb.isModuleDeclaration(t.body)&&t.body.name;){t=t.body,n||=(0,Ff.hasModifier)(Ps.DeclareKeyword,t);let a=t.name,u=this.createNode(a,{type:Ca.AST_NODE_TYPES.Identifier,range:[a.getStart(this.ast),a.getEnd()],decorators:[],name:a.text,optional:!1,typeAnnotation:void 0});s=this.createNode(a,{type:Ca.AST_NODE_TYPES.TSQualifiedName,range:[s.range[0],u.range[1]],left:s,right:u})}return{body:this.convertChild(t.body),declare:!1,global:!1,id:s,kind:t.flags&Rb.NodeFlags.Namespace?"namespace":"module"}})()});return i.declare=n,t.flags&Rb.NodeFlags.GlobalAugmentation&&(i.global=!0),this.fixExports(t,i)}case Ps.ParenthesizedType:return this.convertChild(t.type);case Ps.UnionType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSUnionType,types:this.convertChildren(t.types)});case Ps.IntersectionType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSIntersectionType,types:this.convertChildren(t.types)});case Ps.AsExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSAsExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case Ps.InferType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSInferType,typeParameter:this.convertChild(t.typeParameter)});case Ps.LiteralType:return t.literal.kind===Ps.NullKeyword?this.createNode(t.literal,{type:Ca.AST_NODE_TYPES.TSNullKeyword}):this.createNode(t,{type:Ca.AST_NODE_TYPES.TSLiteralType,literal:this.convertChild(t.literal)});case Ps.TypeAssertionExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTypeAssertion,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});case Ps.ImportEqualsDeclaration:return this.fixExports(t,this.createNode(t,{type:Ca.AST_NODE_TYPES.TSImportEqualsDeclaration,id:this.convertChild(t.name),importKind:t.isTypeOnly?"type":"value",moduleReference:this.convertChild(t.moduleReference)}));case Ps.ExternalModuleReference:return t.expression.kind!==Ps.StringLiteral&&this.#r(t.expression,"String literal expected."),this.createNode(t,{type:Ca.AST_NODE_TYPES.TSExternalModuleReference,expression:this.convertChild(t.expression)});case Ps.NamespaceExportDeclaration:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSNamespaceExportDeclaration,id:this.convertChild(t.name)});case Ps.AbstractKeyword:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSAbstractKeyword});case Ps.TupleType:{let n=this.convertChildren(t.elements);return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTupleType,elementTypes:n})}case Ps.NamedTupleMember:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.TSNamedTupleMember,elementType:this.convertChild(t.type,t),label:this.convertChild(t.name,t),optional:t.questionToken!=null});return t.dotDotDotToken?(n.range[0]=n.label.range[0],n.loc.start=n.label.loc.start,this.createNode(t,{type:Ca.AST_NODE_TYPES.TSRestType,typeAnnotation:n})):n}case Ps.OptionalType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSOptionalType,typeAnnotation:this.convertChild(t.type)});case Ps.RestType:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSRestType,typeAnnotation:this.convertChild(t.type)});case Ps.TemplateLiteralType:{let n=this.createNode(t,{type:Ca.AST_NODE_TYPES.TSTemplateLiteralType,quasis:[this.convertChild(t.head)],types:[]});return t.templateSpans.forEach(i=>{n.types.push(this.convertChild(i.type)),n.quasis.push(this.convertChild(i.literal))}),n}case Ps.ClassStaticBlockDeclaration:return this.createNode(t,{type:Ca.AST_NODE_TYPES.StaticBlock,body:this.convertBodyExpressions(t.body.statements,t)});case Ps.AssertEntry:case Ps.ImportAttribute:return this.createNode(t,{type:Ca.AST_NODE_TYPES.ImportAttribute,key:this.convertChild(t.name),value:this.convertChild(t.value)});case Ps.SatisfiesExpression:return this.createNode(t,{type:Ca.AST_NODE_TYPES.TSSatisfiesExpression,expression:this.convertChild(t.expression),typeAnnotation:this.convertChild(t.type)});default:return this.deeplyCopy(t)}}createNode(t,r){let n=r;return n.range??=(0,Ff.getRange)(t,this.ast),n.loc??=(0,Ff.getLocFor)(n.range,this.ast),n&&this.options.shouldPreserveNodeMaps&&this.esTreeNodeToTSNodeMap.set(n,t),n}convertProgram(){return this.converter(this.ast)}deeplyCopy(t){t.kind===Rb.SyntaxKind.JSDocFunctionType&&this.#r(t,"JSDoc types can only be used inside documentation comments.");let r=`TS${Ps[t.kind]}`;if(this.options.errorOnUnknownASTType&&!Ca.AST_NODE_TYPES[r])throw new Error(`Unknown AST_NODE_TYPE: "${r}"`);let n=this.createNode(t,{type:r});"type"in t&&(n.typeAnnotation=t.type&&"kind"in t.type&&Rb.isTypeNode(t.type)?this.convertTypeAnnotation(t.type,t):null),"typeArguments"in t&&(n.typeArguments=t.typeArguments&&"pos"in t.typeArguments?this.convertTypeArgumentsToTypeParameterInstantiation(t.typeArguments,t):null),"typeParameters"in t&&(n.typeParameters=t.typeParameters&&"pos"in t.typeParameters?this.convertTSTypeParametersToTypeParametersDeclaration(t.typeParameters):null);let i=(0,wTe.getDecorators)(t);i?.length&&(n.decorators=this.convertChildren(i));let s=new Set(["_children","decorators","end","flags","heritageClauses","illegalDecorators","jsDoc","kind","locals","localSymbol","modifierFlagsCache","modifiers","nextContainer","parent","pos","symbol","transformFlags","type","typeArguments","typeParameters"]);return Object.entries(t).filter(([a])=>!s.has(a)).forEach(([a,u])=>{Array.isArray(u)?n[a]=this.convertChildren(u):u&&typeof u=="object"&&u.kind?n[a]=this.convertChild(u):n[a]=u}),n}fixExports(t,r){let i=Rb.isModuleDeclaration(t)&&!Rb.isStringLiteral(t.name)?(0,Ff.getNamespaceModifiers)(t):(0,wTe.getModifiers)(t);if(i?.[0].kind===Ps.ExportKeyword){this.registerTSNodeInNodeMap(t,r);let s=i[0],a=i[1],u=a?.kind===Ps.DefaultKeyword,l=u?(0,Ff.findNextToken)(a,this.ast,this.ast):(0,Ff.findNextToken)(s,this.ast,this.ast);if(r.range[0]=l.getStart(this.ast),r.loc=(0,Ff.getLocFor)(r.range,this.ast),u)return this.createNode(t,{type:Ca.AST_NODE_TYPES.ExportDefaultDeclaration,range:[s.getStart(this.ast),r.range[1]],declaration:r,exportKind:"value"});let f=r.type===Ca.AST_NODE_TYPES.TSInterfaceDeclaration||r.type===Ca.AST_NODE_TYPES.TSTypeAliasDeclaration,p="declare"in r&&r.declare;return this.createNode(t,this.#n({type:Ca.AST_NODE_TYPES.ExportNamedDeclaration,range:[s.getStart(this.ast),r.range[1]],attributes:[],declaration:r,exportKind:f||p?"type":"value",source:null,specifiers:[]},"assertions","attributes",!0))}return r}getASTMaps(){return{esTreeNodeToTSNodeMap:this.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:this.tsNodeToESTreeNodeMap}}registerTSNodeInNodeMap(t,r){r&&this.options.shouldPreserveNodeMaps&&!this.tsNodeToESTreeNodeMap.has(t)&&this.tsNodeToESTreeNodeMap.set(t,r)}};Ise.Converter=emn});var Qg=j(Ja=>{"use strict";var Kmf=vc();function Jmf(e){return e&&e.__esModule?e:{default:e}}var nr=Jmf(Kmf);function sMs(e,t,r=e.getSourceFile()){let n=[];for(;;){if(nr.default.isTokenKind(e.kind))t(e);else{let i=e.getChildren(r);if(i.length===1){e=i[0];continue}for(let s=i.length-1;s>=0;--s)n.push(i[s])}if(n.length===0)break;e=n.pop()}}function Hmf(e,t,r=e.getSourceFile()){let n=r.text,i=r.languageVariant!==nr.default.LanguageVariant.JSX;return sMs(e,a=>{if(a.pos!==a.end&&(a.kind!==nr.default.SyntaxKind.JsxText&&nr.default.forEachLeadingCommentRange(n,a.pos===0?(nr.default.getShebang(n)??"").length:a.pos,s),i||zmf(a)))return nr.default.forEachTrailingCommentRange(n,a.end,s)},r);function s(a,u,l){t(n,{end:u,kind:l,pos:a})}}function zmf(e){switch(e.kind){case nr.default.SyntaxKind.CloseBraceToken:return e.parent.kind!==nr.default.SyntaxKind.JsxExpression||!rmn(e.parent.parent);case nr.default.SyntaxKind.GreaterThanToken:switch(e.parent.kind){case nr.default.SyntaxKind.JsxClosingElement:case nr.default.SyntaxKind.JsxClosingFragment:return!rmn(e.parent.parent.parent);case nr.default.SyntaxKind.JsxOpeningElement:return e.end!==e.parent.end;case nr.default.SyntaxKind.JsxOpeningFragment:return!1;case nr.default.SyntaxKind.JsxSelfClosingElement:return e.end!==e.parent.end||!rmn(e.parent.parent)}}return!0}function rmn(e){return e.kind===nr.default.SyntaxKind.JsxElement||e.kind===nr.default.SyntaxKind.JsxFragment}function Nye(e,t){switch(t){case"allowJs":return e.allowJs===void 0?Nye(e,"checkJs"):e.allowJs;case"allowSyntheticDefaultImports":return e.allowSyntheticDefaultImports!==void 0?e.allowSyntheticDefaultImports:Nye(e,"esModuleInterop")||e.module===nr.default.ModuleKind.System;case"alwaysStrict":case"noImplicitAny":case"noImplicitThis":case"strictBindCallApply":case"strictFunctionTypes":case"strictNullChecks":case"strictPropertyInitialization":return smn(e,t);case"declaration":return e.declaration||Nye(e,"composite");case"declarationMap":case"emitDeclarationOnly":case"stripInternal":return e[t]===!0&&Nye(e,"declaration");case"incremental":return e.incremental===void 0?Nye(e,"composite"):e.incremental;case"noUncheckedIndexedAccess":return e.noUncheckedIndexedAccess===!0&&Nye(e,"strictNullChecks");case"skipDefaultLibCheck":return e.skipDefaultLibCheck||Nye(e,"skipLibCheck");case"suppressImplicitAnyIndexErrors":return e.suppressImplicitAnyIndexErrors===!0&&Nye(e,"noImplicitAny")}return e[t]===!0}function smn(e,t){return(e.strict?e[t]!==!1:e[t]===!0)&&(t!=="strictPropertyInitialization"||smn(e,"strictNullChecks"))}function aMs(e,t){return HXt(nr.default.getCombinedModifierFlags(e),t)}function HXt(e,t){return(e&t)!==0}function amn(e,t){return HXt(e.flags,t)}var oMs=amn;function g1t(e,t){return HXt(e.objectFlags,t)}var uMs=amn;function lMs(e,t){return HXt(e.checkFlags,t)}var jx=amn;function QVe(e,...t){if(e===void 0)return!1;for(let r of e)if(t.includes(r.kind))return!0;return!1}function cMs(e){return e>=nr.default.SyntaxKind.FirstAssignment&&e<=nr.default.SyntaxKind.LastAssignment}function fMs(e){return String(+e)===e}function Wmf(e,t=nr.default.ScriptTarget.Latest){if(e.length===0)return!1;let r=e.codePointAt(0);if(!nr.default.isIdentifierStart(r,t))return!1;for(let n=tMs(r);n=65536?2:1}var pMs=(e=>(e[e.None=0]="None",e[e.Read=1]="Read",e[e.Write=2]="Write",e[e.Delete=4]="Delete",e[e.ReadWrite=3]="ReadWrite",e))(pMs||{});function dMs(e){let t=e.parent;switch(t.kind){case nr.default.SyntaxKind.ArrayLiteralExpression:case nr.default.SyntaxKind.SpreadAssignment:case nr.default.SyntaxKind.SpreadElement:return nmn(t)?2:1;case nr.default.SyntaxKind.ArrowFunction:return t.body===e?1:2;case nr.default.SyntaxKind.AsExpression:case nr.default.SyntaxKind.NonNullExpression:case nr.default.SyntaxKind.ParenthesizedExpression:case nr.default.SyntaxKind.TypeAssertionExpression:return dMs(t);case nr.default.SyntaxKind.AwaitExpression:case nr.default.SyntaxKind.CallExpression:case nr.default.SyntaxKind.CaseClause:case nr.default.SyntaxKind.ComputedPropertyName:case nr.default.SyntaxKind.ConditionalExpression:case nr.default.SyntaxKind.Decorator:case nr.default.SyntaxKind.DoStatement:case nr.default.SyntaxKind.ElementAccessExpression:case nr.default.SyntaxKind.ExpressionStatement:case nr.default.SyntaxKind.ForStatement:case nr.default.SyntaxKind.IfStatement:case nr.default.SyntaxKind.JsxElement:case nr.default.SyntaxKind.JsxExpression:case nr.default.SyntaxKind.JsxOpeningElement:case nr.default.SyntaxKind.JsxSelfClosingElement:case nr.default.SyntaxKind.JsxSpreadAttribute:case nr.default.SyntaxKind.NewExpression:case nr.default.SyntaxKind.ReturnStatement:case nr.default.SyntaxKind.SwitchStatement:case nr.default.SyntaxKind.TaggedTemplateExpression:case nr.default.SyntaxKind.TemplateSpan:case nr.default.SyntaxKind.ThrowStatement:case nr.default.SyntaxKind.TypeOfExpression:case nr.default.SyntaxKind.VoidExpression:case nr.default.SyntaxKind.WhileStatement:case nr.default.SyntaxKind.WithStatement:case nr.default.SyntaxKind.YieldExpression:return 1;case nr.default.SyntaxKind.BinaryExpression:return t.right===e?1:cMs(t.operatorToken.kind)?t.operatorToken.kind===nr.default.SyntaxKind.EqualsToken?2:3:1;case nr.default.SyntaxKind.BindingElement:case nr.default.SyntaxKind.EnumMember:case nr.default.SyntaxKind.JsxAttribute:case nr.default.SyntaxKind.Parameter:case nr.default.SyntaxKind.PropertyDeclaration:case nr.default.SyntaxKind.VariableDeclaration:return t.initializer===e?1:0;case nr.default.SyntaxKind.DeleteExpression:return 4;case nr.default.SyntaxKind.ExportAssignment:return t.isExportEquals?1:0;case nr.default.SyntaxKind.ExpressionWithTypeArguments:return t.parent.token===nr.default.SyntaxKind.ExtendsKeyword&&t.parent.parent.kind!==nr.default.SyntaxKind.InterfaceDeclaration?1:0;case nr.default.SyntaxKind.ForInStatement:case nr.default.SyntaxKind.ForOfStatement:return t.initializer===e?2:1;case nr.default.SyntaxKind.PostfixUnaryExpression:return 3;case nr.default.SyntaxKind.PrefixUnaryExpression:return t.operator===nr.default.SyntaxKind.PlusPlusToken||t.operator===nr.default.SyntaxKind.MinusMinusToken?3:1;case nr.default.SyntaxKind.PropertyAccessExpression:return t.expression===e?1:0;case nr.default.SyntaxKind.PropertyAssignment:return t.name===e?0:nmn(t)?2:1;case nr.default.SyntaxKind.ShorthandPropertyAssignment:return t.objectAssignmentInitializer===e?1:nmn(t)?2:1}return 0}function nmn(e){switch(e.kind){case nr.default.SyntaxKind.ShorthandPropertyAssignment:if(e.objectAssignmentInitializer!==void 0)return!0;case nr.default.SyntaxKind.PropertyAssignment:case nr.default.SyntaxKind.SpreadAssignment:e=e.parent;break;case nr.default.SyntaxKind.SpreadElement:if(e.parent.kind!==nr.default.SyntaxKind.ArrayLiteralExpression)return!1;e=e.parent}for(;;)switch(e.parent.kind){case nr.default.SyntaxKind.ArrayLiteralExpression:case nr.default.SyntaxKind.ObjectLiteralExpression:e=e.parent;break;case nr.default.SyntaxKind.BinaryExpression:return e.parent.left===e&&e.parent.operatorToken.kind===nr.default.SyntaxKind.EqualsToken;case nr.default.SyntaxKind.ForOfStatement:return e.parent.initializer===e;case nr.default.SyntaxKind.PropertyAssignment:case nr.default.SyntaxKind.SpreadAssignment:e=e.parent.parent;break;case nr.default.SyntaxKind.SpreadElement:if(e.parent.parent.kind!==nr.default.SyntaxKind.ArrayLiteralExpression)return!1;e=e.parent.parent;break;default:return!1}}function Xmf(e){return e.kind===nr.default.SyntaxKind.AbstractKeyword}function mMs(e){return e.kind===nr.default.SyntaxKind.AccessorKeyword}function Zmf(e){return e.kind===nr.default.SyntaxKind.AnyKeyword}function egf(e){return e.kind===nr.default.SyntaxKind.AssertKeyword}function tgf(e){return e.kind===nr.default.SyntaxKind.AssertsKeyword}function rgf(e){return e.kind===nr.default.SyntaxKind.AsyncKeyword}function ngf(e){return e.kind===nr.default.SyntaxKind.AwaitKeyword}function igf(e){return e.kind===nr.default.SyntaxKind.BigIntKeyword}function sgf(e){return e.kind===nr.default.SyntaxKind.BooleanKeyword}function agf(e){return e.kind===nr.default.SyntaxKind.ColonToken}function ogf(e){return e.kind===nr.default.SyntaxKind.ConstKeyword}function ugf(e){return e.kind===nr.default.SyntaxKind.DeclareKeyword}function lgf(e){return e.kind===nr.default.SyntaxKind.DefaultKeyword}function cgf(e){return e.kind===nr.default.SyntaxKind.DotToken}function gMs(e){return e.kind===nr.default.SyntaxKind.EndOfFileToken}function fgf(e){return e.kind===nr.default.SyntaxKind.EqualsGreaterThanToken}function pgf(e){return e.kind===nr.default.SyntaxKind.EqualsToken}function dgf(e){return e.kind===nr.default.SyntaxKind.ExclamationToken}function mgf(e){return e.kind===nr.default.SyntaxKind.ExportKeyword}function ggf(e){return e.kind===nr.default.SyntaxKind.FalseKeyword}function AMs(e){return e.kind===nr.default.SyntaxKind.FalseKeyword}function Agf(e){return e.kind===nr.default.SyntaxKind.ImportKeyword}function hgf(e){return e.kind===nr.default.SyntaxKind.ImportKeyword}function ygf(e){return e.kind===nr.default.SyntaxKind.InKeyword}function hMs(e){return e.kind===nr.default.SyntaxKind.JSDocText}function yMs(e){return e.kind===nr.default.SyntaxKind.PrefixUnaryExpression}function _gf(e){return e.kind===nr.default.SyntaxKind.NeverKeyword}function Egf(e){return e.kind===nr.default.SyntaxKind.NullKeyword}function _Ms(e){return e.kind===nr.default.SyntaxKind.NullKeyword}function xgf(e){return e.kind===nr.default.SyntaxKind.NumberKeyword}function vgf(e){return e.kind===nr.default.SyntaxKind.ObjectKeyword}function Cgf(e){return e.kind===nr.default.SyntaxKind.OutKeyword}function bgf(e){return e.kind===nr.default.SyntaxKind.OverrideKeyword}function EMs(e){return e.kind===nr.default.SyntaxKind.PrivateKeyword}function xMs(e){return e.kind===nr.default.SyntaxKind.ProtectedKeyword}function vMs(e){return e.kind===nr.default.SyntaxKind.PublicKeyword}function Igf(e){return e.kind===nr.default.SyntaxKind.QuestionDotToken}function Sgf(e){return e.kind===nr.default.SyntaxKind.QuestionToken}function omn(e){return e.kind===nr.default.SyntaxKind.ReadonlyKeyword}function CMs(e){return e.kind===nr.default.SyntaxKind.StaticKeyword}function Tgf(e){return e.kind===nr.default.SyntaxKind.StringKeyword}function umn(e){return e.kind===nr.default.SyntaxKind.SuperKeyword}function Dgf(e){return e.kind===nr.default.SyntaxKind.SuperKeyword}function wgf(e){return e.kind===nr.default.SyntaxKind.SymbolKeyword}function Bgf(e){return e.kind===nr.default.SyntaxKind.SyntaxList}function bMs(e){return e.kind===nr.default.SyntaxKind.ThisKeyword}function kgf(e){return e.kind===nr.default.SyntaxKind.ThisKeyword}function Pgf(e){return e.kind===nr.default.SyntaxKind.TrueKeyword}function IMs(e){return e.kind===nr.default.SyntaxKind.TrueKeyword}function Ngf(e){return e.kind===nr.default.SyntaxKind.UndefinedKeyword}function Ogf(e){return e.kind===nr.default.SyntaxKind.UnknownKeyword}function Rgf(e){return e.kind===nr.default.SyntaxKind.VoidKeyword}var[rMs,Fgf]=nr.default.versionMajorMinor.split(".").map(e=>Number.parseInt(e,10));function jVe(e,t=0){return rMs>e||rMs===e&&Fgf>=t}function Lgf(e){return nr.default.isParameter(e)||nr.default.isPropertyDeclaration(e)||nr.default.isMethodDeclaration(e)||nr.default.isGetAccessorDeclaration(e)||nr.default.isSetAccessorDeclaration(e)||nr.default.isClassExpression(e)||nr.default.isClassDeclaration(e)}function SMs(e){return nr.default.isVariableDeclaration(e)||nr.default.isParameter(e)||nr.default.isBindingElement(e)||nr.default.isPropertyDeclaration(e)||nr.default.isPropertyAssignment(e)||nr.default.isEnumMember(e)}function Mgf(e){return SMs(e)||nr.default.isForStatement(e)||nr.default.isForInStatement(e)||nr.default.isForOfStatement(e)||nr.default.isJsxAttribute(e)}function Qgf(e){return!!(cmn(e)||nr.default.isArrowFunction(e)||nr.default.isBlock(e)||nr.default.isBreakStatement(e)||nr.default.isCallSignatureDeclaration(e)||nr.default.isCaseClause(e)||zXt(e)||nr.default.isConstructorDeclaration(e)||nr.default.isConstructorTypeNode(e)||nr.default.isConstructSignatureDeclaration(e)||nr.default.isContinueStatement(e)||nr.default.isDebuggerStatement(e)||nr.default.isDoStatement(e)||nr.default.isEmptyStatement(e)||gMs(e)||nr.default.isEnumDeclaration(e)||nr.default.isEnumMember(e)||nr.default.isExportAssignment(e)||nr.default.isExportDeclaration(e)||nr.default.isExportSpecifier(e)||nr.default.isExpressionStatement(e)||nr.default.isForInStatement(e)||nr.default.isForOfStatement(e)||nr.default.isForStatement(e)||nr.default.isFunctionDeclaration(e)||nr.default.isFunctionExpression(e)||nr.default.isFunctionTypeNode(e)||nr.default.isIfStatement(e)||nr.default.isImportDeclaration(e)||nr.default.isImportEqualsDeclaration(e)||nr.default.isIndexSignatureDeclaration(e)||nr.default.isInterfaceDeclaration(e)||nr.default.isJSDocFunctionType(e)||nr.default.isLabeledStatement(e)||nr.default.isMethodDeclaration(e)||nr.default.isMethodSignature(e)||nr.default.isModuleDeclaration(e)||nr.default.isNamedTupleMember(e)||nr.default.isNamespaceExportDeclaration(e)||nr.default.isParameter(e)||nr.default.isParenthesizedExpression(e)||nr.default.isPropertyAssignment(e)||nr.default.isPropertyDeclaration(e)||nr.default.isPropertySignature(e)||nr.default.isReturnStatement(e)||nr.default.isShorthandPropertyAssignment(e)||nr.default.isSpreadAssignment(e)||nr.default.isSwitchStatement(e)||nr.default.isThrowStatement(e)||nr.default.isTryStatement(e)||nr.default.isTypeAliasDeclaration(e)||nr.default.isVariableDeclaration(e)||nr.default.isVariableStatement(e)||nr.default.isWhileStatement(e)||nr.default.isWithStatement(e)||jVe(4,4)&&nr.default.isClassStaticBlockDeclaration(e)||jVe(5,0)&&(nr.default.isBinaryExpression(e)||nr.default.isElementAccessExpression(e)||nr.default.isIdentifier(e)||nr.default.isJSDocSignature(e)||nr.default.isObjectLiteralExpression(e)||nr.default.isPropertyAccessExpression(e)||nr.default.isTypeParameterDeclaration(e)))}function jgf(e){return nr.default.isTypeParameterDeclaration(e)||nr.default.isParameter(e)||nr.default.isConstructorTypeNode(e)||nr.default.isPropertySignature(e)||nr.default.isPropertyDeclaration(e)||nr.default.isMethodSignature(e)||nr.default.isMethodDeclaration(e)||nr.default.isConstructorDeclaration(e)||nr.default.isGetAccessorDeclaration(e)||nr.default.isSetAccessorDeclaration(e)||nr.default.isIndexSignatureDeclaration(e)||nr.default.isFunctionExpression(e)||nr.default.isArrowFunction(e)||nr.default.isClassExpression(e)||nr.default.isVariableStatement(e)||nr.default.isFunctionDeclaration(e)||nr.default.isClassDeclaration(e)||nr.default.isInterfaceDeclaration(e)||nr.default.isTypeAliasDeclaration(e)||nr.default.isEnumDeclaration(e)||nr.default.isModuleDeclaration(e)||nr.default.isImportEqualsDeclaration(e)||nr.default.isImportDeclaration(e)||nr.default.isExportAssignment(e)||nr.default.isExportDeclaration(e)}function Ugf(e){return mmn(e)||nr.default.isVariableDeclaration(e)||nr.default.isParameter(e)||nr.default.isPropertySignature(e)||nr.default.isPropertyDeclaration(e)||nr.default.isTypePredicateNode(e)||nr.default.isParenthesizedTypeNode(e)||nr.default.isTypeOperatorNode(e)||nr.default.isMappedTypeNode(e)||nr.default.isAssertionExpression(e)||nr.default.isTypeAliasDeclaration(e)||nr.default.isJSDocTypeExpression(e)||nr.default.isJSDocNonNullableType(e)||nr.default.isJSDocNullableType(e)||nr.default.isJSDocOptionalType(e)||nr.default.isJSDocVariadicType(e)}function qgf(e){return nr.default.isCallExpression(e)||nr.default.isNewExpression(e)||nr.default.isTaggedTemplateExpression(e)||nr.default.isJsxOpeningElement(e)||nr.default.isJsxSelfClosingElement(e)}function Ygf(e){return nr.default.isPropertyAccessExpression(e)||nr.default.isElementAccessExpression(e)}function lmn(e){return vMs(e)||EMs(e)||xMs(e)}function cmn(e){return nr.default.isGetAccessorDeclaration(e)||nr.default.isSetAccessorDeclaration(e)}function Ggf(e){return nr.default.isBindingElement(e)||nr.default.isOmittedExpression(e)}function TMs(e){return nr.default.isArrayBindingPattern(e)||nr.default.isArrayLiteralExpression(e)}function Vgf(e){return nr.default.isObjectLiteralExpression(e)||nr.default.isArrayLiteralExpression(e)}function $gf(e){return nr.default.isSpreadElement(e)||nr.default.isSpreadAssignment(e)?!0:jVe(4,4)?nr.default.isDotDotDotToken(e):!1}function Kgf(e){return DMs(e)||nr.default.isIdentifier(e)||nr.default.isPropertyAccessExpression(e)||nr.default.isElementAccessExpression(e)||nr.default.isOmittedExpression(e)}function DMs(e){return NMs(e)||TMs(e)}function fmn(e){return nr.default.isObjectBindingPattern(e)||nr.default.isArrayBindingPattern(e)}function Jgf(e){return nr.default.isSourceFile(e)||nr.default.isBlock(e)||nr.default.isModuleBlock(e)||nr.default.isCaseOrDefaultClause(e)}function wMs(e){return IMs(e)||AMs(e)}function zXt(e){return nr.default.isClassDeclaration(e)||nr.default.isClassExpression(e)}function Hgf(e){return lmn(e)||omn(e)||CMs(e)||mMs(e)}function BMs(e){return nr.default.isIdentifier(e)||nr.default.isPrivateIdentifier(e)||nr.default.isStringLiteralLike(e)||nr.default.isNumericLiteral(e)||nr.default.isComputedPropertyName(e)||nr.default.isElementAccessExpression(e)||fmn(e)||A1t(e)}function kMs(e){return mmn(e)||zXt(e)||nr.default.isInterfaceDeclaration(e)||nr.default.isTypeAliasDeclaration(e)||nr.default.isJSDocTemplateTag(e)}function zgf(e){return kMs(e)||nr.default.isJSDocTypedefTag(e)||nr.default.isJSDocCallbackTag(e)||nr.default.isJSDocSignature(e)}function Wgf(e){return fmn(e)||nr.default.isObjectLiteralExpression(e)||nr.default.isArrayLiteralExpression(e)}function A1t(e){return nr.default.isIdentifier(e)||QMs(e)}function Xgf(e){return nr.default.isEntityName(e)||A1t(e)}function Zgf(e){return nr.default.isForInStatement(e)||nr.default.isForOfStatement(e)}function eAf(e){return nr.default.isFunctionDeclaration(e)||nr.default.isMethodDeclaration(e)||nr.default.isGetAccessorDeclaration(e)||nr.default.isSetAccessorDeclaration(e)||nr.default.isConstructorDeclaration(e)||nr.default.isFunctionExpression(e)||nr.default.isArrowFunction(e)}function tAf(e){return hMs(e)?!0:jVe(4,4)?nr.default.isJSDocLink(e)||nr.default.isJSDocLinkCode(e)||nr.default.isJSDocLinkPlain(e):!1}function pmn(e){return nr.default.isIdentifier(e)||RMs(e)}function rAf(e){return nr.default.isJSDocVariadicType(e)||nr.default.isJSDocOptionalType(e)||nr.default.isJSDocNullableType(e)||nr.default.isJSDocNonNullableType(e)}function nAf(e){return nr.default.isObjectLiteralExpression(e)||nr.default.isArrayLiteralExpression(e)||yMs(e)||nr.default.isNumericLiteral(e)||nr.default.isStringLiteral(e)||wMs(e)||_Ms(e)}function iAf(e){return nr.default.isJsxAttribute(e)||nr.default.isJsxSpreadAttribute(e)}function sAf(e){return nr.default.isStringLiteral(e)||nr.default.isJsxExpression(e)||nr.default.isJsxElement(e)||nr.default.isJsxSelfClosingElement(e)||nr.default.isJsxFragment(e)}function aAf(e){return nr.default.isJsxText(e)||nr.default.isJsxExpression(e)||nr.default.isJsxElement(e)||nr.default.isJsxSelfClosingElement(e)||nr.default.isJsxFragment(e)}function PMs(e){return nr.default.isIdentifier(e)||bMs(e)||FMs(e)}function oAf(e){return nr.default.isNumericLiteral(e)||nr.default.isBigIntLiteral(e)||nr.default.isStringLiteral(e)||nr.default.isJsxText(e)||nr.default.isRegularExpressionLiteral(e)||nr.default.isNoSubstitutionTemplateLiteral(e)}function uAf(e){return dmn(e)||pmn(e)}function lAf(e){return nr.default.isIdentifier(e)||nr.default.isStringLiteral(e)}function cAf(e){return nr.default.isEntityName(e)||nr.default.isExternalModuleReference(e)}function fAf(e){return nr.default.isNamespaceImport(e)||nr.default.isNamedImports(e)}function pAf(e){return nr.default.isNamedImports(e)||nr.default.isNamedExports(e)}function dmn(e){return nr.default.isModuleBlock(e)||MMs(e)}function dAf(e){return nr.default.isBindingElement(e)||nr.default.isPropertyAssignment(e)||nr.default.isShorthandPropertyAssignment(e)||nr.default.isSpreadAssignment(e)}function NMs(e){return nr.default.isObjectBindingPattern(e)||nr.default.isObjectLiteralExpression(e)}function mAf(e){return zXt(e)||nr.default.isInterfaceDeclaration(e)||nr.default.isTypeLiteralNode(e)}function gAf(e){return lmn(e)||omn(e)}function AAf(e){return nr.default.isIdentifier(e)||nr.default.isStringLiteralLike(e)||nr.default.isNumericLiteral(e)}function hAf(e){return nr.default.isTemplateHead(e)||nr.default.isTemplateMiddle(e)||nr.default.isTemplateTail(e)}function mmn(e){return nr.default.isCallSignatureDeclaration(e)||nr.default.isConstructSignatureDeclaration(e)||nr.default.isMethodSignature(e)||nr.default.isIndexSignatureDeclaration(e)||nr.default.isFunctionTypeNode(e)||nr.default.isConstructorTypeNode(e)||nr.default.isJSDocFunctionType(e)||nr.default.isFunctionDeclaration(e)||nr.default.isMethodDeclaration(e)||nr.default.isConstructorDeclaration(e)||cmn(e)||nr.default.isFunctionExpression(e)||nr.default.isArrowFunction(e)}function yAf(e){return UMs(e)||jMs(e)}function _Af(e){return!!(nr.default.isImportClause(e)||nr.default.isImportEqualsDeclaration(e)||nr.default.isNamespaceImport(e)||nr.default.isImportOrExportSpecifier(e)||jVe(5,0)&&(nr.default.isExportDeclaration(e)||nr.default.isNamespaceExport(e)))}function EAf(e){return nr.default.isTypeReferenceNode(e)||nr.default.isExpressionWithTypeArguments(e)}function xAf(e){return nr.default.isUnionTypeNode(e)||nr.default.isIntersectionTypeNode(e)}function vAf(e){return nr.default.isVariableDeclaration(e)||nr.default.isParameter(e)||nr.default.isBindingElement(e)||nr.default.isPropertyDeclaration(e)||nr.default.isPropertyAssignment(e)||nr.default.isPropertySignature(e)||nr.default.isJsxAttribute(e)||nr.default.isShorthandPropertyAssignment(e)||nr.default.isEnumMember(e)||nr.default.isJSDocPropertyTag(e)||nr.default.isJSDocParameterTag(e)}function OMs(e){return nr.default.isTypeReferenceNode(e.type)&&nr.default.isIdentifier(e.type.typeName)&&e.type.typeName.escapedText==="const"}function CAf(e){switch(e.kind){case nr.default.SyntaxKind.DoStatement:case nr.default.SyntaxKind.ForInStatement:case nr.default.SyntaxKind.ForOfStatement:case nr.default.SyntaxKind.ForStatement:case nr.default.SyntaxKind.WhileStatement:return!0;default:return!1}}function RMs(e){return nr.default.isModuleDeclaration(e)&&nr.default.isIdentifier(e.name)&&(e.body===void 0||pmn(e.body))}function FMs(e){return nr.default.isPropertyAccessExpression(e)&&PMs(e.expression)}function LMs(e){return"name"in e&&e.name!==void 0&&e.name!==null&&BMs(e.name)}function MMs(e){return nr.default.isModuleDeclaration(e)&&nr.default.isIdentifier(e.name)&&e.body!==void 0&&dmn(e.body)}function gmn(e){switch(e.kind){case nr.default.SyntaxKind.NoSubstitutionTemplateLiteral:case nr.default.SyntaxKind.NumericLiteral:case nr.default.SyntaxKind.StringLiteral:return!0;default:return!1}}function QMs(e){return nr.default.isPropertyAccessExpression(e)&&nr.default.isIdentifier(e.name)&&A1t(e.expression)}function jMs(e){return nr.default.isElementAccessExpression(e)&&umn(e.expression)}function UMs(e){return nr.default.isPropertyAccessExpression(e)&&umn(e.expression)}function qMs(e){switch(e.kind){case nr.default.SyntaxKind.ArrowFunction:case nr.default.SyntaxKind.CallSignature:case nr.default.SyntaxKind.ClassDeclaration:case nr.default.SyntaxKind.ClassExpression:case nr.default.SyntaxKind.Constructor:case nr.default.SyntaxKind.ConstructorType:case nr.default.SyntaxKind.ConstructSignature:case nr.default.SyntaxKind.EnumDeclaration:case nr.default.SyntaxKind.FunctionDeclaration:case nr.default.SyntaxKind.FunctionExpression:case nr.default.SyntaxKind.FunctionType:case nr.default.SyntaxKind.GetAccessor:case nr.default.SyntaxKind.MethodDeclaration:case nr.default.SyntaxKind.MethodSignature:case nr.default.SyntaxKind.ModuleDeclaration:case nr.default.SyntaxKind.SetAccessor:return!0;case nr.default.SyntaxKind.SourceFile:return nr.default.isExternalModule(e);default:return!1}}function bAf(e){return jx(e,nr.default.TypeFlags.Any)}function IAf(e){return jx(e,nr.default.TypeFlags.BigInt)}function SAf(e){return jx(e,nr.default.TypeFlags.Boolean)}function TAf(e){return Amn(e)&&e.intrinsicName==="error"}function DAf(e){return jx(e,nr.default.TypeFlags.ESSymbol)}var wAf=nr.default.TypeFlags.Intrinsic??nr.default.TypeFlags.Any|nr.default.TypeFlags.Unknown|nr.default.TypeFlags.String|nr.default.TypeFlags.Number|nr.default.TypeFlags.BigInt|nr.default.TypeFlags.Boolean|nr.default.TypeFlags.BooleanLiteral|nr.default.TypeFlags.ESSymbol|nr.default.TypeFlags.Void|nr.default.TypeFlags.Undefined|nr.default.TypeFlags.Null|nr.default.TypeFlags.Never|nr.default.TypeFlags.NonPrimitive;function BAf(e){return jx(e,nr.default.TypeFlags.Never)}function kAf(e){return jx(e,nr.default.TypeFlags.NonPrimitive)}function PAf(e){return jx(e,nr.default.TypeFlags.Null)}function NAf(e){return jx(e,nr.default.TypeFlags.Number)}function OAf(e){return jx(e,nr.default.TypeFlags.String)}function Amn(e){return jx(e,wAf)}function RAf(e){return jx(e,nr.default.TypeFlags.Undefined)}function FAf(e){return jx(e,nr.default.TypeFlags.Unknown)}function LAf(e){return jx(e,nr.default.TypeFlags.Void)}function MAf(e){return jx(e,nr.default.TypeFlags.Conditional)}function QAf(e){return jx(e,nr.default.TypeFlags.Enum)}function YMs(e){return jx(e,nr.default.TypeFlags.Freshable)}function jAf(e){return jx(e,nr.default.TypeFlags.IndexedAccess)}function UAf(e){return jx(e,nr.default.TypeFlags.Index)}function qAf(e){return jx(e,nr.default.TypeFlags.Instantiable)}function WXt(e){return jx(e,nr.default.TypeFlags.Intersection)}function h1t(e){return jx(e,nr.default.TypeFlags.Object)}function YAf(e){return jx(e,nr.default.TypeFlags.StringMapping)}function GAf(e){return jx(e,nr.default.TypeFlags.Substitution)}function VAf(e){return jx(e,nr.default.TypeFlags.TypeParameter)}function $Af(e){return jx(e,nr.default.TypeFlags.TypeVariable)}function KAf(e){return jx(e,nr.default.TypeFlags.UnionOrIntersection)}function XXt(e){return jx(e,nr.default.TypeFlags.Union)}function GMs(e){return jx(e,nr.default.TypeFlags.UniqueESSymbol)}function JAf(e){return h1t(e)&&g1t(e,nr.default.ObjectFlags.EvolvingArray)}function VMs(e){return h1t(e)&&g1t(e,nr.default.ObjectFlags.Tuple)}function $Ms(e){return h1t(e)&&g1t(e,nr.default.ObjectFlags.Reference)}function HAf(e){return Amn(e)&&YMs(e)}function KMs(e){return $Ms(e)&&VMs(e.target)}function zAf(e){return jx(e,nr.default.TypeFlags.BigIntLiteral)}function hmn(e){return jx(e,nr.default.TypeFlags.BooleanLiteral)}function ymn(e){return hmn(e)&&e.intrinsicName==="false"}function WAf(e){return jx(e,nr.default.TypeFlags.Literal)}function XAf(e){return jx(e,nr.default.TypeFlags.NumberLiteral)}function ZAf(e){return jx(e,nr.default.TypeFlags.StringLiteral)}function ehf(e){return jx(e,nr.default.TypeFlags.TemplateLiteral)}function thf(e){return hmn(e)&&e.intrinsicName==="true"}function imn(e){if(XXt(e)){let t=[];for(let r of e.types)t.push(...imn(r));return t}if(WXt(e)){let t;for(let r of e.types){let n=imn(r);if(n.length!==0){if(t!==void 0)return[];t=n}}return t===void 0?[]:t}return e.getCallSignatures()}function _mn(e,t){return t.startsWith("__")?e.getProperties().find(r=>r.escapedName===t):e.getProperty(t)}function rhf(e,t,r){let n="__@"+t;for(let i of e.getProperties()){if(!i.name.startsWith(n))continue;let s=i.valueDeclaration??i.getDeclarations()?.[0];if(!s||!LMs(s)||s.name===void 0||!nr.default.isComputedPropertyName(s.name))continue;let a=r.getApparentType(r.getTypeAtLocation(s.name.expression)).symbol;if(i.escapedName===nhf(r,a,t))return i}}function nhf(e,t,r){let n=t&&e.getTypeOfSymbolAtLocation(t,t.valueDeclaration).getProperty(r),i=n&&e.getTypeOfSymbolAtLocation(n,n.valueDeclaration);return i&&GMs(i)?i.escapedName:"__@"+r}function ihf(e){return e.arguments.length===3&&A1t(e.arguments[0])&&gmn(e.arguments[1])&&nr.default.isPropertyAccessExpression(e.expression)&&e.expression.name.escapedText==="defineProperty"&&nr.default.isIdentifier(e.expression.expression)&&e.expression.expression.escapedText==="Object"}function shf(e,t){let r=e;for(;;){let n=r.parent;e:switch(n.kind){case nr.default.SyntaxKind.ArrayLiteralExpression:case nr.default.SyntaxKind.ObjectLiteralExpression:case nr.default.SyntaxKind.ParenthesizedExpression:case nr.default.SyntaxKind.TemplateExpression:r=n;break;case nr.default.SyntaxKind.AsExpression:case nr.default.SyntaxKind.TypeAssertionExpression:return OMs(n);case nr.default.SyntaxKind.CallExpression:{if(!nr.default.isExpression(r))return!1;let i=t.getResolvedSignature(n);if(i===void 0)return!1;let s=n.arguments.indexOf(r);if(s<0)return!1;let a=i.getParameters()[s];if(a===void 0||!("links"in a))return!1;let l=a.links.type?.getProperties()?.[s];return l===void 0||!("links"in l)?!1:lMs(l.links,nr.default.CheckFlags.Readonly)}case nr.default.SyntaxKind.PrefixUnaryExpression:if(r.kind!==nr.default.SyntaxKind.NumericLiteral)return!1;switch(n.operator){case nr.default.SyntaxKind.MinusToken:case nr.default.SyntaxKind.PlusToken:r=n;break e;default:return!1}case nr.default.SyntaxKind.PropertyAssignment:if(n.initializer!==r)return!1;r=n.parent;break;case nr.default.SyntaxKind.ShorthandPropertyAssignment:r=n.parent;break;default:return!1}}}function Emn(e){return WXt(e)?e.types:[e]}var ahf=Emn;function ohf(e){return jx(e,nr.default.TypeFlags.Undefined|nr.default.TypeFlags.Null|nr.default.TypeFlags.Void)?!0:WMs(e)?typeof e.value=="object"?e.value.base10Value==="0":!e.value:ymn(e)}function JMs(e,t,r){let n=!1,i=!1;for(let s of UVe(e))if(_mn(s,t)===void 0){if(((fMs(t)?r.getIndexInfoOfType(s,nr.default.IndexKind.Number):void 0)??r.getIndexInfoOfType(s,nr.default.IndexKind.String))?.isReadonly){if(n)return!0;i=!0}}else{if(i||mhf(s,t,r))return!0;n=!0}return!1}function uhf(e,t,r=e.getTypeAtLocation(t)){for(let n of UVe(e.getApparentType(r))){let i=n.getProperty("then");if(i===void 0)continue;let s=e.getTypeOfSymbolAtLocation(i,t);for(let a of UVe(s))for(let u of a.getCallSignatures())if(u.parameters.length!==0&&fhf(e,u.parameters[0],t))return!0}return!1}function HMs(e,t){return!!((e.flags&nr.default.SymbolFlags.Accessor)===nr.default.SymbolFlags.GetAccessor||e.declarations?.some(r=>aMs(r,nr.default.ModifierFlags.Readonly)||nr.default.isVariableDeclaration(r)&&oMs(r.parent,nr.default.NodeFlags.Const)||nr.default.isCallExpression(r)&&phf(r,t)||nr.default.isEnumMember(r)||(nr.default.isPropertyAssignment(r)||nr.default.isShorthandPropertyAssignment(r))&&shf(r,t)))}function zMs(e){return WXt(e)||XXt(e)?e.types:[e]}function WMs(e){return jVe(5,0)?e.isLiteral():jx(e,nr.default.TypeFlags.StringLiteral|nr.default.TypeFlags.NumberLiteral|nr.default.TypeFlags.BigIntLiteral)}var lhf=zMs;function UVe(e){return XXt(e)?e.types:[e]}var chf=UVe;function fhf(e,t,r){let n=e.getApparentType(e.getTypeOfSymbolAtLocation(t,r));if(t.valueDeclaration.dotDotDotToken&&(n=n.getNumberIndexType(),n===void 0))return!1;for(let i of UVe(n))if(i.getCallSignatures().length!==0)return!0;return!1}function phf(e,t){if(!ihf(e))return!1;let r=t.getTypeAtLocation(e.arguments[2]);if(r.getProperty("value")===void 0)return r.getProperty("set")===void 0;let n=r.getProperty("writable");if(n===void 0)return!1;let i=n.valueDeclaration!==void 0&&nr.default.isPropertyAssignment(n.valueDeclaration)?t.getTypeAtLocation(n.valueDeclaration.initializer):t.getTypeOfSymbolAtLocation(n,e.arguments[2]);return ymn(i)}function dhf(e,t,r){if(!h1t(e)||!g1t(e,nr.default.ObjectFlags.Mapped))return;let n=e.symbol.declarations[0];if(n.readonlyToken!==void 0&&!/^__@[^@]+$/.test(t))return n.readonlyToken.kind!==nr.default.SyntaxKind.MinusToken;let{modifiersType:i}=e;return i&&JMs(i,t,r)}function mhf(e,t,r){return Emn(e).some(i=>{let s=_mn(i,t);if(s===void 0)return!1;if(s.flags&nr.default.SymbolFlags.Transient){if(/^(?:[1-9]\d*|0)$/.test(t)&&KMs(i))return i.target.readonly;switch(dhf(i,t,r)){case!1:return!1;case!0:return!0}}return!!(uMs(s,nr.default.SymbolFlags.ValueModule)||HMs(s,r))})}function xmn(e){return"originalKeywordKind"in e?e.originalKeywordKind:nr.default.identifierToKeywordKind(e)}var XMs=(e=>(e[e.Namespace=1]="Namespace",e[e.Type=2]="Type",e[e.Value=4]="Value",e[e.Any=7]="Any",e[e.Import=8]="Import",e))(XMs||{});function ghf(e){switch(e.parent.kind){case nr.default.SyntaxKind.ClassDeclaration:case nr.default.SyntaxKind.ClassExpression:return 6;case nr.default.SyntaxKind.EnumDeclaration:return 7;case nr.default.SyntaxKind.FunctionDeclaration:case nr.default.SyntaxKind.FunctionExpression:return 4;case nr.default.SyntaxKind.ImportClause:case nr.default.SyntaxKind.NamespaceImport:return 15;case nr.default.SyntaxKind.ImportEqualsDeclaration:case nr.default.SyntaxKind.ImportSpecifier:return e.parent.name===e?15:void 0;case nr.default.SyntaxKind.InterfaceDeclaration:case nr.default.SyntaxKind.TypeAliasDeclaration:case nr.default.SyntaxKind.TypeParameter:return 2;case nr.default.SyntaxKind.ModuleDeclaration:return 1;case nr.default.SyntaxKind.Parameter:if(e.parent.parent.kind===nr.default.SyntaxKind.IndexSignature||xmn(e)===nr.default.SyntaxKind.ThisKeyword)return;case nr.default.SyntaxKind.BindingElement:case nr.default.SyntaxKind.VariableDeclaration:return e.parent.name===e?4:void 0}}function Ahf(e){if(e.kind===nr.default.SyntaxKind.ComputedPropertyName){let t=hhf(e.expression);if(nr.default.isPrefixUnaryExpression(t)){let r=!1;switch(t.operator){case nr.default.SyntaxKind.MinusToken:r=!0;case nr.default.SyntaxKind.PlusToken:return nr.default.isNumericLiteral(t.operand)?`${r?"-":""}${t.operand.text}`:nr.default.isBigIntLiteral(t.operand)?`${r?"-":""}${t.operand.text.slice(0,-1)}`:void 0;default:return}}return nr.default.isBigIntLiteral(t)?t.text.slice(0,-1):gmn(t)?t.text:void 0}return e.kind===nr.default.SyntaxKind.PrivateIdentifier?void 0:e.text}function hhf(e){for(;e.kind===nr.default.SyntaxKind.ParenthesizedExpression;)e=e.expression;return e}var ZMs=(e=>(e[e.Namespace=1]="Namespace",e[e.Type=2]="Type",e[e.Value=4]="Value",e[e.Any=7]="Any",e[e.TypeQuery=8]="TypeQuery",e[e.ValueOrNamespace=5]="ValueOrNamespace",e))(ZMs||{});function yhf(e){let t=e.parent;switch(t.kind){case nr.default.SyntaxKind.BindingElement:if(t.initializer===e)return 5;break;case nr.default.SyntaxKind.BreakStatement:case nr.default.SyntaxKind.ClassDeclaration:case nr.default.SyntaxKind.ClassExpression:case nr.default.SyntaxKind.ContinueStatement:case nr.default.SyntaxKind.EnumDeclaration:case nr.default.SyntaxKind.FunctionDeclaration:case nr.default.SyntaxKind.FunctionExpression:case nr.default.SyntaxKind.GetAccessor:case nr.default.SyntaxKind.ImportClause:case nr.default.SyntaxKind.ImportSpecifier:case nr.default.SyntaxKind.InterfaceDeclaration:case nr.default.SyntaxKind.JsxAttribute:case nr.default.SyntaxKind.LabeledStatement:case nr.default.SyntaxKind.MethodDeclaration:case nr.default.SyntaxKind.MethodSignature:case nr.default.SyntaxKind.ModuleDeclaration:case nr.default.SyntaxKind.NamedTupleMember:case nr.default.SyntaxKind.NamespaceExport:case nr.default.SyntaxKind.NamespaceExportDeclaration:case nr.default.SyntaxKind.NamespaceImport:case nr.default.SyntaxKind.PropertySignature:case nr.default.SyntaxKind.SetAccessor:case nr.default.SyntaxKind.TypeAliasDeclaration:case nr.default.SyntaxKind.TypeParameter:case nr.default.SyntaxKind.TypePredicate:break;case nr.default.SyntaxKind.EnumMember:case nr.default.SyntaxKind.ImportEqualsDeclaration:case nr.default.SyntaxKind.Parameter:case nr.default.SyntaxKind.PropertyAccessExpression:case nr.default.SyntaxKind.PropertyAssignment:case nr.default.SyntaxKind.PropertyDeclaration:case nr.default.SyntaxKind.VariableDeclaration:if(t.name!==e)return 5;break;case nr.default.SyntaxKind.ExportAssignment:return 7;case nr.default.SyntaxKind.ExportSpecifier:if(t.propertyName===void 0||t.propertyName===e)return 7;break;case nr.default.SyntaxKind.ExpressionWithTypeArguments:return t.parent.token===nr.default.SyntaxKind.ImplementsKeyword||t.parent.parent.kind===nr.default.SyntaxKind.InterfaceDeclaration?2:4;case nr.default.SyntaxKind.QualifiedName:if(t.left===e)return _hf(t).kind===nr.default.SyntaxKind.TypeQuery?9:1;break;case nr.default.SyntaxKind.TypeQuery:return 13;case nr.default.SyntaxKind.TypeReference:return xmn(e)!==nr.default.SyntaxKind.ConstKeyword?2:void 0;default:return 5}}function _hf(e){let t=e.parent;for(;t.kind===nr.default.SyntaxKind.QualifiedName;)t=t.parent;return t}function Ehf(e){switch(e.kind){case nr.default.SyntaxKind.Block:{let t=e.parent;return t.kind!==nr.default.SyntaxKind.CatchClause&&(t.kind===nr.default.SyntaxKind.SourceFile||!qMs(t))?2:0}case nr.default.SyntaxKind.CaseBlock:case nr.default.SyntaxKind.CatchClause:case nr.default.SyntaxKind.ForInStatement:case nr.default.SyntaxKind.ForOfStatement:case nr.default.SyntaxKind.ForStatement:case nr.default.SyntaxKind.WithStatement:return 2;default:return 0}}var eQs=class{constructor(e){this.global=e}namespaceScopes=void 0;uses=[];variables=new Map;#e=void 0;addUse(e){this.uses.push(e)}addVariable(e,t,r,n,i){let s=this.getDestinationScope(r).getVariables(),a={declaration:t,domain:i,exported:n},u=s.get(e);u===void 0?s.set(e,{declarations:[a],domain:i,uses:[]}):(u.domain|=i,u.declarations.push(a))}createOrReuseEnumScope(e,t){let r;return this.#e===void 0?this.#e=new Map:r=this.#e.get(e),r===void 0&&(r=new bhf(this),this.#e.set(e,r)),r}createOrReuseNamespaceScope(e,t,r,n){let i;return this.namespaceScopes===void 0?this.namespaceScopes=new Map:i=this.namespaceScopes.get(e),i===void 0?(i=new Shf(r,n,this),this.namespaceScopes.set(e,i)):i.refresh(r,n),i}end(e){this.namespaceScopes!==void 0&&this.namespaceScopes.forEach(t=>t.finish(e)),this.namespaceScopes=this.#e=void 0,this.applyUses(),this.variables.forEach(t=>{for(let r of t.declarations){let n={declarations:[],domain:r.domain,exported:r.exported,inGlobalScope:this.global,uses:[]};for(let i of t.declarations)i.domain&r.domain&&n.declarations.push(i.declaration);for(let i of t.uses)i.domain&r.domain&&n.uses.push(i);e(n,r.declaration,this)}})}getFunctionScope(){return this}getVariables(){return this.variables}markExported(e){}addUseToParent(e){}applyUse(e,t=this.variables){let r=t.get(e.location.text);return r===void 0||(r.domain&e.domain)===0?!1:(r.uses.push(e),!0)}applyUses(){for(let e of this.uses)this.applyUse(e)||this.addUseToParent(e);this.uses=[]}},MY=class extends eQs{constructor(e,t){super(!1),this.parent=e,this.boundary=t}getDestinationScope(e){return this.boundary&e?this:this.parent.getDestinationScope(e)}addUseToParent(e){return this.parent.addUse(e,this)}},tQs=class extends MY{#e;#t;constructor(e,t,r){super(r,1),this.#t=e,this.#e=t}addUse(e,t){if(t!==this.innerScope)return this.innerScope.addUse(e);if(e.domain&this.#e&&e.location.text===this.#t.text)this.uses.push(e);else return this.parent.addUse(e,this)}end(e){return this.innerScope.end(e),e({declarations:[this.#t],domain:this.#e,exported:!1,inGlobalScope:!1,uses:this.uses},this.#t,this)}getDestinationScope(){return this.innerScope}getFunctionScope(){return this.innerScope}},xhf=class extends MY{#e;constructor(e,t){super(t,2),this.#e=e}getFunctionScope(){return this.#e}},vhf=class extends tQs{innerScope=new MY(this,1);constructor(e,t){super(e,6,t)}},Chf=class extends MY{#e=0;constructor(e){super(e,8)}addUse(e){return this.#e===2?void this.uses.push(e):this.parent.addUse(e,this)}updateState(e){this.#e=e}},bhf=class extends MY{constructor(e){super(e,1)}end(){this.applyUses()}},rQs=class extends MY{constructor(e){super(e,1)}beginBody(){this.applyUses()}},Ihf=class extends tQs{innerScope=new rQs(this);constructor(e,t){super(e,4,t)}beginBody(){return this.innerScope.beginBody()}},Shf=class extends MY{#e;#t=void 0;#r;#n=new MY(this,1);constructor(e,t,r){super(r,1),this.#e=e,this.#r=t}addUse(e,t){if(t!==this.#n)return this.#n.addUse(e);this.uses.push(e)}createOrReuseEnumScope(e,t){return!t&&(!this.#e||this.#r)?this.#n.createOrReuseEnumScope(e,t):super.createOrReuseEnumScope(e,t)}createOrReuseNamespaceScope(e,t,r,n){return!t&&(!this.#e||this.#r)?this.#n.createOrReuseNamespaceScope(e,t,r||this.#e,n):super.createOrReuseNamespaceScope(e,t,r||this.#e,n)}end(e){this.#n.end((t,r,n)=>{if(n!==this.#n||!t.exported&&(!this.#e||this.#t!==void 0&&!this.#t.has(r.text)))return e(t,r,n);let i=this.variables.get(r.text);if(i===void 0)this.variables.set(r.text,{declarations:t.declarations.map(nMs),domain:t.domain,uses:[...t.uses]});else{e:for(let s of t.declarations)for(let a of i.declarations){if(a.declaration===s)continue e;i.declarations.push(nMs(s))}i.domain|=t.domain;for(let s of t.uses)i.uses.includes(s)||i.uses.push(s)}}),this.applyUses(),this.#n=new MY(this,1)}finish(e){return super.end(e)}getDestinationScope(){return this.#n}markExported(e){this.#t===void 0&&(this.#t=new Set),this.#t.add(e.text)}refresh(e,t){this.#e=e,this.#r=t}},Thf=class extends eQs{#e;#t=void 0;#r=new MY(this,1);constructor(e,t){super(t),this.#e=e}addUse(e,t){return t===this.#r?super.addUse(e):this.#r.addUse(e)}addVariable(e,t,r,n,i){return i&8?super.addVariable(e,t,r,n,i):this.#r.addVariable(e,t,r,n,i)}end(e){return this.#r.end((t,r)=>(t.exported||=this.#e||this.#t!==void 0&&this.#t.includes(r.text),t.inGlobalScope=this.global,e(t,r,this))),super.end((t,r,n)=>(t.exported||=n===this&&this.#t!==void 0&&this.#t.includes(r.text),e(t,r,n)))}getDestinationScope(){return this}markExported(e){this.#t===void 0?this.#t=[e.text]:this.#t.push(e.text)}};function nMs(e){return{declaration:e,domain:ghf(e),exported:!0}}var Dhf=class{#e=new Map;#t;getUsage(e){let t=(u,l)=>{this.#e.set(l,u)},r=nr.default.isExternalModule(e);this.#t=new Thf(e.isDeclarationFile&&r&&!nQs(e),!r);let n=u=>{if(Ehf(u))return i(u,new xhf(this.#t.getFunctionScope(),this.#t),s);switch(u.kind){case nr.default.SyntaxKind.ArrowFunction:case nr.default.SyntaxKind.CallSignature:case nr.default.SyntaxKind.Constructor:case nr.default.SyntaxKind.ConstructorType:case nr.default.SyntaxKind.ConstructSignature:case nr.default.SyntaxKind.FunctionDeclaration:case nr.default.SyntaxKind.FunctionExpression:case nr.default.SyntaxKind.FunctionType:case nr.default.SyntaxKind.GetAccessor:case nr.default.SyntaxKind.MethodDeclaration:case nr.default.SyntaxKind.MethodSignature:case nr.default.SyntaxKind.SetAccessor:return this.#a(u,n,t);case nr.default.SyntaxKind.ClassDeclaration:return this.#i(u,!0,6),i(u,new MY(this.#t,1));case nr.default.SyntaxKind.ClassExpression:return i(u,u.name!==void 0?new vhf(u.name,this.#t):new MY(this.#t,1));case nr.default.SyntaxKind.ConditionalType:return this.#n(u,n,t);case nr.default.SyntaxKind.EnumDeclaration:return this.#i(u,!0,7),i(u,this.#t.createOrReuseEnumScope(u.name.text,QVe(u.modifiers,nr.default.SyntaxKind.ExportKeyword)));case nr.default.SyntaxKind.EnumMember:this.#t.addVariable(Ahf(u.name),u.name,1,!0,4);break;case nr.default.SyntaxKind.ExportAssignment:if(u.expression.kind===nr.default.SyntaxKind.Identifier)return this.#t.markExported(u.expression);break;case nr.default.SyntaxKind.ExportSpecifier:return u.propertyName!==void 0?this.#t.markExported(u.propertyName,u.name):this.#t.markExported(u.name);case nr.default.SyntaxKind.Identifier:{let l=yhf(u);l!==void 0&&this.#t.addUse({domain:l,location:u});return}case nr.default.SyntaxKind.ImportClause:case nr.default.SyntaxKind.ImportEqualsDeclaration:case nr.default.SyntaxKind.ImportSpecifier:case nr.default.SyntaxKind.NamespaceImport:this.#i(u,!1,15);break;case nr.default.SyntaxKind.InterfaceDeclaration:case nr.default.SyntaxKind.TypeAliasDeclaration:return this.#i(u,!0,2),i(u,new MY(this.#t,4));case nr.default.SyntaxKind.MappedType:return i(u,new MY(this.#t,4));case nr.default.SyntaxKind.ModuleDeclaration:return this.#s(u,i);case nr.default.SyntaxKind.Parameter:u.parent.kind!==nr.default.SyntaxKind.IndexSignature&&(u.name.kind!==nr.default.SyntaxKind.Identifier||xmn(u.name)!==nr.default.SyntaxKind.ThisKeyword)&&this.#r(u.name,!1,!1);break;case nr.default.SyntaxKind.TypeParameter:this.#t.addVariable(u.name.text,u.name,u.parent.kind===nr.default.SyntaxKind.InferType?8:7,!1,2);break;case nr.default.SyntaxKind.VariableDeclarationList:this.#o(u);break}return nr.default.forEachChild(u,n)},i=(u,l,f=a)=>{let p=this.#t;this.#t=l,f(u),this.#t.end(t),this.#t=p},s=u=>(u.kind===nr.default.SyntaxKind.CatchClause&&u.variableDeclaration!==void 0&&this.#r(u.variableDeclaration.name,!0,!1),nr.default.forEachChild(u,n));return nr.default.forEachChild(e,n),this.#t.end(t),this.#e;function a(u){return nr.default.forEachChild(u,n)}}#r(e,t,r){if(e.kind===nr.default.SyntaxKind.Identifier)return this.#t.addVariable(e.text,e,t?3:1,r,4);iQs(e,n=>{this.#t.addVariable(n.name.text,n.name,t?3:1,r,4)})}#n(e,t,r){let n=this.#t,i=this.#t=new Chf(n);t(e.checkType),i.updateState(1),t(e.extendsType),i.updateState(2),t(e.trueType),i.updateState(3),t(e.falseType),i.end(r),this.#t=n}#i(e,t,r){e.name!==void 0&&this.#t.addVariable(e.name.text,e.name,t?3:1,QVe(e.modifiers,nr.default.SyntaxKind.ExportKeyword),r)}#a(e,t,r){nr.default.canHaveDecorators(e)&&nr.default.getDecorators(e)?.forEach(t);let n=this.#t;e.kind===nr.default.SyntaxKind.FunctionDeclaration&&this.#i(e,!1,4);let i=this.#t=e.kind===nr.default.SyntaxKind.FunctionExpression&&e.name!==void 0?new Ihf(e.name,n):new rQs(n);e.name!==void 0&&t(e.name),e.typeParameters!==void 0&&e.typeParameters.forEach(t),e.parameters.forEach(t),e.type!==void 0&&t(e.type),e.body!==void 0&&(i.beginBody(),t(e.body)),i.end(r),this.#t=n}#s(e,t){if(e.flags&nr.default.NodeFlags.GlobalAugmentation)return t(e,this.#t.createOrReuseNamespaceScope("-global",!1,!0,!1));if(e.name.kind===nr.default.SyntaxKind.Identifier){let r=Bhf(e);this.#t.addVariable(e.name.text,e.name,1,r,5);let n=QVe(e.modifiers,nr.default.SyntaxKind.DeclareKeyword);return t(e,this.#t.createOrReuseNamespaceScope(e.name.text,r,n,n&&iMs(e)))}return t(e,this.#t.createOrReuseNamespaceScope(`"${e.name.text}"`,!1,!0,iMs(e)))}#o(e){let t=whf(e),r=e.parent.kind===nr.default.SyntaxKind.VariableStatement&&QVe(e.parent.modifiers,nr.default.SyntaxKind.ExportKeyword);for(let n of e.declarations)this.#r(n.name,t,r)}};function nQs(e){for(let t of e.statements)if(t.kind===nr.default.SyntaxKind.ExportDeclaration||t.kind===nr.default.SyntaxKind.ExportAssignment)return!0;return!1}function iQs(e,t){for(let r of e.elements){if(r.kind!==nr.default.SyntaxKind.BindingElement)continue;let n;if(r.name.kind===nr.default.SyntaxKind.Identifier?n=t(r):n=iQs(r.name,t),n)return n}}function whf(e){return(e.flags&nr.default.NodeFlags.BlockScoped)!==0}function Bhf(e){return e.parent.kind===nr.default.SyntaxKind.ModuleDeclaration||QVe(e.modifiers,nr.default.SyntaxKind.ExportKeyword)}function iMs(e){return e.body===void 0||e.body.kind!==nr.default.SyntaxKind.ModuleBlock?!1:nQs(e.body)}function khf(e){return new Dhf().getUsage(e)}Ja.AccessKind=pMs;Ja.DeclarationDomain=XMs;Ja.UsageDomain=ZMs;Ja.collectVariableUsage=khf;Ja.forEachComment=Hmf;Ja.forEachToken=sMs;Ja.getAccessKind=dMs;Ja.getCallSignaturesOfType=imn;Ja.getPropertyOfType=_mn;Ja.getWellKnownSymbolPropertyOfType=rhf;Ja.hasDecorators=Lgf;Ja.hasExpressionInitializer=SMs;Ja.hasInitializer=Mgf;Ja.hasJSDoc=Qgf;Ja.hasModifiers=jgf;Ja.hasType=Ugf;Ja.hasTypeArguments=qgf;Ja.includesModifier=QVe;Ja.intersectionConstituents=Emn;Ja.intersectionTypeParts=ahf;Ja.isAbstractKeyword=Xmf;Ja.isAccessExpression=Ygf;Ja.isAccessibilityModifier=lmn;Ja.isAccessorDeclaration=cmn;Ja.isAccessorKeyword=mMs;Ja.isAnyKeyword=Zmf;Ja.isArrayBindingElement=Ggf;Ja.isArrayBindingOrAssignmentPattern=TMs;Ja.isAssertKeyword=egf;Ja.isAssertsKeyword=tgf;Ja.isAssignmentKind=cMs;Ja.isAssignmentPattern=Vgf;Ja.isAsyncKeyword=rgf;Ja.isAwaitKeyword=ngf;Ja.isBigIntKeyword=igf;Ja.isBigIntLiteralType=zAf;Ja.isBindingOrAssignmentElementRestIndicator=$gf;Ja.isBindingOrAssignmentElementTarget=Kgf;Ja.isBindingOrAssignmentPattern=DMs;Ja.isBindingPattern=fmn;Ja.isBlockLike=Jgf;Ja.isBooleanKeyword=sgf;Ja.isBooleanLiteral=wMs;Ja.isBooleanLiteralType=hmn;Ja.isClassLikeDeclaration=zXt;Ja.isClassMemberModifier=Hgf;Ja.isColonToken=agf;Ja.isCompilerOptionEnabled=Nye;Ja.isConditionalType=MAf;Ja.isConstAssertionExpression=OMs;Ja.isConstKeyword=ogf;Ja.isDeclarationName=BMs;Ja.isDeclarationWithTypeParameterChildren=kMs;Ja.isDeclarationWithTypeParameters=zgf;Ja.isDeclareKeyword=ugf;Ja.isDefaultKeyword=lgf;Ja.isDestructuringPattern=Wgf;Ja.isDotToken=cgf;Ja.isEndOfFileToken=gMs;Ja.isEntityNameExpression=A1t;Ja.isEntityNameOrEntityNameExpression=Xgf;Ja.isEnumType=QAf;Ja.isEqualsGreaterThanToken=fgf;Ja.isEqualsToken=pgf;Ja.isEvolvingArrayType=JAf;Ja.isExclamationToken=dgf;Ja.isExportKeyword=mgf;Ja.isFalseKeyword=ggf;Ja.isFalseLiteral=AMs;Ja.isFalseLiteralType=ymn;Ja.isFalsyType=ohf;Ja.isForInOrOfStatement=Zgf;Ja.isFreshableIntrinsicType=HAf;Ja.isFreshableType=YMs;Ja.isFunctionLikeDeclaration=eAf;Ja.isFunctionScopeBoundary=qMs;Ja.isImportExpression=Agf;Ja.isImportKeyword=hgf;Ja.isInKeyword=ygf;Ja.isIndexType=UAf;Ja.isIndexedAccessType=jAf;Ja.isInstantiableType=qAf;Ja.isIntersectionType=WXt;Ja.isIntrinsicAnyType=bAf;Ja.isIntrinsicBigIntType=IAf;Ja.isIntrinsicBooleanType=SAf;Ja.isIntrinsicESSymbolType=DAf;Ja.isIntrinsicErrorType=TAf;Ja.isIntrinsicNeverType=BAf;Ja.isIntrinsicNonPrimitiveType=kAf;Ja.isIntrinsicNullType=PAf;Ja.isIntrinsicNumberType=NAf;Ja.isIntrinsicStringType=OAf;Ja.isIntrinsicType=Amn;Ja.isIntrinsicUndefinedType=RAf;Ja.isIntrinsicUnknownType=FAf;Ja.isIntrinsicVoidType=LAf;Ja.isIterationStatement=CAf;Ja.isJSDocComment=tAf;Ja.isJSDocNamespaceBody=pmn;Ja.isJSDocNamespaceDeclaration=RMs;Ja.isJSDocText=hMs;Ja.isJSDocTypeReferencingNode=rAf;Ja.isJsonMinusNumericLiteral=yMs;Ja.isJsonObjectExpression=nAf;Ja.isJsxAttributeLike=iAf;Ja.isJsxAttributeValue=sAf;Ja.isJsxChild=aAf;Ja.isJsxTagNameExpression=PMs;Ja.isJsxTagNamePropertyAccess=FMs;Ja.isLiteralToken=oAf;Ja.isLiteralType=WAf;Ja.isModifierFlagSet=aMs;Ja.isModuleBody=uAf;Ja.isModuleName=lAf;Ja.isModuleReference=cAf;Ja.isNamedDeclarationWithName=LMs;Ja.isNamedImportBindings=fAf;Ja.isNamedImportsOrExports=pAf;Ja.isNamespaceBody=dmn;Ja.isNamespaceDeclaration=MMs;Ja.isNeverKeyword=_gf;Ja.isNodeFlagSet=oMs;Ja.isNullKeyword=Egf;Ja.isNullLiteral=_Ms;Ja.isNumberKeyword=xgf;Ja.isNumberLiteralType=XAf;Ja.isNumericOrStringLikeLiteral=gmn;Ja.isNumericPropertyName=fMs;Ja.isObjectBindingOrAssignmentElement=dAf;Ja.isObjectBindingOrAssignmentPattern=NMs;Ja.isObjectFlagSet=g1t;Ja.isObjectKeyword=vgf;Ja.isObjectType=h1t;Ja.isObjectTypeDeclaration=mAf;Ja.isOutKeyword=Cgf;Ja.isOverrideKeyword=bgf;Ja.isParameterPropertyModifier=gAf;Ja.isPrivateKeyword=EMs;Ja.isPropertyAccessEntityNameExpression=QMs;Ja.isPropertyNameLiteral=AAf;Ja.isPropertyReadonlyInType=JMs;Ja.isProtectedKeyword=xMs;Ja.isPseudoLiteralToken=hAf;Ja.isPublicKeyword=vMs;Ja.isQuestionDotToken=Igf;Ja.isQuestionToken=Sgf;Ja.isReadonlyKeyword=omn;Ja.isSignatureDeclaration=mmn;Ja.isStaticKeyword=CMs;Ja.isStrictCompilerOptionEnabled=smn;Ja.isStringKeyword=Tgf;Ja.isStringLiteralType=ZAf;Ja.isStringMappingType=YAf;Ja.isSubstitutionType=GAf;Ja.isSuperElementAccessExpression=jMs;Ja.isSuperExpression=umn;Ja.isSuperKeyword=Dgf;Ja.isSuperProperty=yAf;Ja.isSuperPropertyAccessExpression=UMs;Ja.isSymbolFlagSet=uMs;Ja.isSymbolKeyword=wgf;Ja.isSyntaxList=Bgf;Ja.isTemplateLiteralType=ehf;Ja.isThenableType=uhf;Ja.isThisExpression=bMs;Ja.isThisKeyword=kgf;Ja.isTransientSymbolLinksFlagSet=lMs;Ja.isTrueKeyword=Pgf;Ja.isTrueLiteral=IMs;Ja.isTrueLiteralType=thf;Ja.isTupleType=VMs;Ja.isTupleTypeReference=KMs;Ja.isTypeFlagSet=jx;Ja.isTypeOnlyCompatibleAliasDeclaration=_Af;Ja.isTypeParameter=VAf;Ja.isTypeReference=$Ms;Ja.isTypeReferenceType=EAf;Ja.isTypeVariable=$Af;Ja.isUndefinedKeyword=Ngf;Ja.isUnionOrIntersectionType=KAf;Ja.isUnionOrIntersectionTypeNode=xAf;Ja.isUnionType=XXt;Ja.isUniqueESSymbolType=GMs;Ja.isUnknownKeyword=Ogf;Ja.isValidPropertyAccess=Wmf;Ja.isVariableLikeDeclaration=vAf;Ja.isVoidKeyword=Rgf;Ja.symbolHasReadonlyDeclaration=HMs;Ja.typeConstituents=zMs;Ja.typeIsLiteral=WMs;Ja.typeParts=lhf;Ja.unionConstituents=UVe;Ja.unionTypeParts=chf});var uQs=j(Oye=>{"use strict";var Phf=Oye&&Oye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Nhf=Oye&&Oye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),oQs=Oye&&Oye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let s=i.kind===sQs.SyntaxKind.SingleLineCommentTrivia?aQs.AST_TOKEN_TYPES.Line:aQs.AST_TOKEN_TYPES.Block,a=[i.pos,i.end],u=(0,Rhf.getLocFor)(a,e),l=a[0]+2,f=i.kind===sQs.SyntaxKind.SingleLineCommentTrivia?a[1]:a[1]-2;r.push({type:s,loc:u,range:a,value:t.slice(l,f)})},e),r}});var bmn=j(Cmn=>{"use strict";Object.defineProperty(Cmn,"__esModule",{value:!0});Cmn.simpleTraverse=jhf;var Lhf=wVe();function Mhf(e){return typeof e=="object"&&e!=null&&"type"in e&&typeof e.type=="string"}function Qhf(e,t){return e[t.type]??[]}var vmn=class{allVisitorKeys=Lhf.visitorKeys;selectors;setParentPointers;constructor(t,r=!1){this.selectors=t,this.setParentPointers=r,t.visitorKeys&&(this.allVisitorKeys=t.visitorKeys)}traverse(t,r){if(!Mhf(t))return;this.setParentPointers&&(t.parent=r),"enter"in this.selectors?this.selectors.enter(t,r):t.type in this.selectors.visitors&&this.selectors.visitors[t.type](t,r);let n=Qhf(this.allVisitorKeys,t);if(!(n.length<1))for(let i of n){let s=t[i];if(Array.isArray(s))for(let a of s)this.traverse(a,t);else this.traverse(s,t)}}};function jhf(e,t,r=!1){new vmn(t,r).traverse(e,void 0)}});var cQs=j(Imn=>{"use strict";Object.defineProperty(Imn,"__esModule",{value:!0});Imn.astConverter=Ghf;var lQs=tmn(),Uhf=uQs(),qhf=A5e(),Yhf=bmn();function Ghf(e,t,r){let{parseDiagnostics:n}=e;if(n.length)throw(0,lQs.convertError)(n[0]);let i=new lQs.Converter(e,{allowInvalidAST:t.allowInvalidAST,errorOnUnknownASTType:t.errorOnUnknownASTType,shouldPreserveNodeMaps:r,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings}),s=i.convertProgram();return(!t.range||!t.loc)&&(0,Yhf.simpleTraverse)(s,{enter:u=>{t.range||delete u.range,t.loc||delete u.loc}}),t.tokens&&(s.tokens=(0,qhf.convertTokens)(e)),t.comment&&(s.comments=(0,Uhf.convertComments)(e,t.codeFullText)),{astMaps:i.getASTMaps(),estree:s}}});var ZXt=j(iZ=>{"use strict";var Vhf=iZ&&iZ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),$hf=iZ&&iZ.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Khf=iZ&&iZ.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var Xhf=Sse&&Sse.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Zhf=Sse&&Sse.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),e0f=Sse&&Sse.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var o0f=_1t&&_1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(_1t,"__esModule",{value:!0});_1t.describeFilePath=u0f;var pQs=o0f(require("node:path"));function u0f(e,t){let r=pQs.default.relative(t,e);return r&&!r.startsWith("..")&&!pQs.default.isAbsolute(r)?`/${r}`:/^[(\w+:)\\/~]/.test(e)||/\.\.[/\\]\.\./.test(r)?e:`/${r}`}});var AQs=j(E1t=>{"use strict";var l0f=E1t&&E1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(E1t,"__esModule",{value:!0});E1t.createProjectProgramError=f0f;var c0f=l0f(require("node:path")),gQs=dQs(),mQs=cpe();function f0f(e,t){let r=(0,gQs.describeFilePath)(e.filePath,e.tsconfigRootDir);return[p0f(r,e),...d0f(r,e,t)]}function p0f(e,t){let r=[...t.projects.values()].map(i=>(0,gQs.describeFilePath)(i,t.tsconfigRootDir)),n=r.length===1?` ${r[0]}`:` ${r.map(i=>`- ${i}`).join(` `)}`;return`ESLint was configured to run on \`${e}\` using \`parserOptions.project\`:${n}`}function d0f(e,t,r){if(r.length===1&&r[0].getProjectReferences()?.length)return[`That TSConfig uses project "references" and doesn't include \`${e}\` directly, which is not supported by \`parserOptions.project\`.`,"Either:","- Switch to `parserOptions.projectService`","- Use an ESLint-specific TSConfig","See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#are-typescript-project-references-supported"];let{extraFileExtensions:n}=t,i=[];for(let l of n)l.startsWith(".")||i.push(`Found unexpected extension \`${l}\` specified with the \`parserOptions.extraFileExtensions\` option. Did you mean \`.${l}\`?`),mQs.DEFAULT_EXTRA_FILE_EXTENSIONS.has(l)&&i.push(`You unnecessarily included the extension \`${l}\` with the \`parserOptions.extraFileExtensions\` option. This extension is already handled by the parser by default.`);let s=c0f.default.extname(t.filePath);if(!mQs.DEFAULT_EXTRA_FILE_EXTENSIONS.has(s)){let l=`The extension for the file (\`${s}\`) is non-standard`;if(n.length>0){if(!n.includes(s))return[...i,`${l}. It should be added to your existing \`parserOptions.extraFileExtensions\`.`]}else return[...i,`${l}. You should add \`parserOptions.extraFileExtensions\` to your config.`]}let[a,u]=t.projects.size===1?["that TSConfig does not","that TSConfig"]:["none of those TSConfigs","one of those TSConfigs"];return[...i,`However, ${a} include this file. Either:`,"- Change ESLint's list of included files to not include this file",`- Change ${u} to include this file`,"- Create a new TSConfig that includes this file and include it in your parserOptions.project","See the typescript-eslint docs for more info: https://typescript-eslint.io/troubleshooting/typed-linting#i-get-errors-telling-me-eslint-was-configured-to-run--however-that-tsconfig-does-not--none-of-those-tsconfigs-include-this-file"]}});var Smn=j(x1t=>{"use strict";var m0f=x1t&&x1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(x1t,"__esModule",{value:!0});x1t.createProjectProgram=E0f;var g0f=m0f(B1()),A0f=A5e(),h0f=AQs(),y0f=cpe(),_0f=(0,g0f.default)("typescript-eslint:typescript-estree:create-program:createProjectProgram");function E0f(e,t){_0f("Creating project program for: %s",e.filePath);let r=(0,A0f.firstDefined)(t,n=>(0,y0f.getAstFromProgram)(n,e.filePath));if(!r)throw new Error((0,h0f.createProjectProgramError)(e,t).join(` `));return r}});var Tmn=j(sZ=>{"use strict";var x0f=sZ&&sZ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),v0f=sZ&&sZ.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),C0f=sZ&&sZ.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var B0f=aZ&&aZ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),k0f=aZ&&aZ.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),_Qs=aZ&&aZ.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i0?["project","project(s)"]:["programs","program instance(s)"],a=[`"parserOptions.${i}" has been provided for @typescript-eslint/parser.`,`The file was not found in any of the provided ${s}: ${n}`];throw new Error(a.join(` `))}function Q0f(e,t){let r=(0,N0f.getParsedConfigFile)(Dmn,e,t),n=Dmn.createCompilerHost(r.options,!0);return Dmn.createProgram(r.fileNames,r.options,n)}});var EQs=j(Bmn=>{"use strict";Object.defineProperty(Bmn,"__esModule",{value:!0});Bmn.createParserServices=j0f;function j0f(e,t){if(!t)return{emitDecoratorMetadata:void 0,experimentalDecorators:void 0,isolatedDeclarations:void 0,program:t,...e};let r=t.getTypeChecker(),n=t.getCompilerOptions();return{program:t,emitDecoratorMetadata:n.emitDecoratorMetadata??!1,experimentalDecorators:n.experimentalDecorators??!1,isolatedDeclarations:n.isolatedDeclarations??!1,...e,getSymbolAtLocation:i=>r.getSymbolAtLocation(e.esTreeNodeToTSNodeMap.get(i)),getTypeAtLocation:i=>r.getTypeAtLocation(e.esTreeNodeToTSNodeMap.get(i))}}});var xQs=j(kmn=>{"use strict";Object.defineProperty(kmn,"__esModule",{value:!0});kmn.getParsedConfigFileFromTSServer=q0f;var U0f=qXt();function q0f(e,t,r,n){try{return(0,U0f.getParsedConfigFile)(e,t,n)}catch(i){if(r)throw new Error(`Could not read Project Service default project '${t}': ${i.message}`)}}});var vQs=j((oVA,eZt)=>{if(typeof eZt<"u"&&eZt.exports)eZt.exports=vc();else throw new Error("tsserverlibrary requires CommonJS; use typescript.js instead")});var wQs=j(v1t=>{"use strict";var Y0f=v1t&&v1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(v1t,"__esModule",{value:!0});v1t.createProjectService=$0f;var C1t=Y0f(B1()),G0f=xQs(),V0f=8,CQs=(0,C1t.default)("typescript-eslint:project-service:createProjectService"),bQs=(0,C1t.default)("typescript-eslint:project-service:tsserver:err"),IQs=(0,C1t.default)("typescript-eslint:project-service:tsserver:info"),SQs=(0,C1t.default)("typescript-eslint:project-service:tsserver:perf"),TQs=(0,C1t.default)("typescript-eslint:project-service:tsserver:event"),tZt=()=>{},DQs=()=>({close:tZt});function $0f({jsDocParsingMode:e,options:t={},tsconfigRootDir:r}={}){let n={defaultProject:"tsconfig.json",...t},i=vQs(),s={...i.sys,clearImmediate,clearTimeout,setImmediate,setTimeout,watchDirectory:DQs,watchFile:DQs,...!n.loadTypeScriptPlugins&&{require:()=>({error:{message:"TypeScript plugins are not required when using parserOptions.projectService."},module:void 0})}},a={close:tZt,endGroup:tZt,getLogFileName:()=>{},hasLevel:()=>!0,info(f){this.msg(f,i.server.Msg.Info)},loggingEnabled:()=>IQs.enabled||bQs.enabled||SQs.enabled,msg:(f,p)=>{switch(p){case i.server.Msg.Err:bQs(f);break;case i.server.Msg.Perf:SQs(f);break;default:IQs(f)}},perftrc(f){this.msg(f,i.server.Msg.Perf)},startGroup:tZt};CQs("Creating Project Service with: %o",n);let u=new i.server.ProjectService({cancellationToken:{isCancellationRequested:()=>!1},eventHandler:TQs.enabled?f=>{TQs(f)}:void 0,host:s,jsDocParsingMode:e,logger:a,session:void 0,useInferredProjectPerProjectRoot:!1,useSingleInferredProject:!1});u.setHostConfiguration({preferences:{includePackageJsonAutoImports:"off"}}),CQs("Enabling default project: %s",n.defaultProject);let l=(0,G0f.getParsedConfigFileFromTSServer)(i,n.defaultProject,!!t.defaultProject,r);return l&&u.setCompilerOptionsForInferredProjects(l.options),{allowDefaultProject:n.allowDefaultProject,lastReloadTimestamp:performance.now(),maximumDefaultProjectFileMatchCount:n.maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING??V0f,service:u}}});var BQs=j(h5e=>{"use strict";var K0f=h5e&&h5e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),J0f=h5e&&h5e.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&K0f(t,e,r)};Object.defineProperty(h5e,"__esModule",{value:!0});J0f(wQs(),h5e)});var Pmn=j(y5e=>{"use strict";Object.defineProperty(y5e,"__esModule",{value:!0});y5e.DEFAULT_PROJECT_FILES_ERROR_EXPLANATION=void 0;y5e.validateDefaultProjectForFilesGlob=H0f;y5e.DEFAULT_PROJECT_FILES_ERROR_EXPLANATION=` Having many files run with the default project is known to cause performance issues and slow down linting. See https://typescript-eslint.io/troubleshooting/typed-linting#allowdefaultproject-glob-too-wide `;function H0f(e){if(e?.length)for(let t of e){if(t==="*")throw new Error(`allowDefaultProject contains the overly wide '*'.${y5e.DEFAULT_PROJECT_FILES_ERROR_EXPLANATION}`);if(t.includes("**"))throw new Error(`allowDefaultProject glob '${t}' contains a disallowed '**'.${y5e.DEFAULT_PROJECT_FILES_ERROR_EXPLANATION}`)}}});var rZt=j(b1t=>{"use strict";Object.defineProperty(b1t,"__esModule",{value:!0});b1t.addCandidateTSConfigRootDir=z0f;b1t.clearCandidateTSConfigRootDirs=W0f;b1t.getInferredTSConfigRootDir=X0f;var Nmn=new Set;function z0f(e){Nmn.add(e)}function W0f(){Nmn.clear()}function X0f(){let e=[...Nmn];switch(e.length){case 0:return process.cwd();case 1:return e[0];default:throw new Error(["No tsconfigRootDir was set, and multiple candidate TSConfigRootDirs are present:",...e.map(t=>` - ${t}`),"You'll need to explicitly set tsconfigRootDir in your parser options.","See: https://typescript-eslint.io/packages/parser/#tsconfigrootdir"].join(` `))}}});var Rmn=j(qVe=>{"use strict";Object.defineProperty(qVe,"__esModule",{value:!0});qVe.ExpiringCache=qVe.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS=void 0;qVe.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS=30;var Z0f=[0,0],Omn=class{#e;#t=new Map;constructor(t){this.#e=t}clear(){this.#t.clear()}get(t){let r=this.#t.get(t);if(r?.value!=null){if(this.#e==="Infinity"||process.hrtime(r.lastSeen)[0]{"use strict";var e1f=Tse&&Tse.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),t1f=Tse&&Tse.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),PQs=Tse&&Tse.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i1&&r.length>=e.tsconfigRootDir.length);throw new Error(`project was set to \`true\` but couldn't find any tsconfig.json relative to '${e.filePath}' within '${e.tsconfigRootDir}'.`)}});var OQs=j(I1t=>{"use strict";var a1f=I1t&&I1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(I1t,"__esModule",{value:!0});I1t.inferSingleRun=u1f;var o1f=a1f(require("node:path"));function u1f(e){if(e?.extraFileExtensions?.length&&e.project||e?.project==null&&!e?.projectService||e.programs!=null||process.env.TSESTREE_SINGLE_RUN==="false")return!1;if(process.env.TSESTREE_SINGLE_RUN==="true")return!0;if(!e.disallowAutomaticSingleRunInference){let t=["node_modules/.bin/eslint","node_modules/eslint/bin/eslint.js"];if(process.env.CI==="true"||t.some(r=>process.argv.length>1&&process.argv[1].endsWith(o1f.default.normalize(r))))return!process.argv.includes("--fix")}return!1}});var S1t=j((gVA,QQs)=>{"use strict";var RQs="[^\\\\/]",l1f="(?=.)",FQs="[^/]",Lmn="(?:\\/|$)",LQs="(?:^|\\/)",Mmn=`\\.{1,2}${Lmn}`,c1f="(?!\\.)",f1f=`(?!${LQs}${Mmn})`,p1f=`(?!\\.{0,1}${Lmn})`,d1f=`(?!${Mmn})`,m1f="[^.\\/]",g1f=`${FQs}*?`,A1f="/",MQs={DOT_LITERAL:"\\.",PLUS_LITERAL:"\\+",QMARK_LITERAL:"\\?",SLASH_LITERAL:"\\/",ONE_CHAR:l1f,QMARK:FQs,END_ANCHOR:Lmn,DOTS_SLASH:Mmn,NO_DOT:c1f,NO_DOTS:f1f,NO_DOT_SLASH:p1f,NO_DOTS_SLASH:d1f,QMARK_NO_DOT:m1f,STAR:g1f,START_ANCHOR:LQs,SEP:A1f},h1f={...MQs,SLASH_LITERAL:"[\\\\/]",QMARK:RQs,STAR:`${RQs}*?`,DOTS_SLASH:"\\.{1,2}(?:[\\\\/]|$)",NO_DOT:"(?!\\.)",NO_DOTS:"(?!(?:^|[\\\\/])\\.{1,2}(?:[\\\\/]|$))",NO_DOT_SLASH:"(?!\\.{0,1}(?:[\\\\/]|$))",NO_DOTS_SLASH:"(?!\\.{1,2}(?:[\\\\/]|$))",QMARK_NO_DOT:"[^.\\\\/]",START_ANCHOR:"(?:^|[\\\\/])",END_ANCHOR:"(?:[\\\\/]|$)",SEP:"\\"},y1f={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};QQs.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:y1f,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{__proto__:null,"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,extglobChars(e){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${e.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(e){return e===!0?h1f:MQs}}});var T1t=j(QY=>{"use strict";var{REGEX_BACKSLASH:_1f,REGEX_REMOVE_BACKSLASH:E1f,REGEX_SPECIAL_CHARS:x1f,REGEX_SPECIAL_CHARS_GLOBAL:v1f}=S1t();QY.isObject=e=>e!==null&&typeof e=="object"&&!Array.isArray(e);QY.hasRegexChars=e=>x1f.test(e);QY.isRegexChar=e=>e.length===1&&QY.hasRegexChars(e);QY.escapeRegex=e=>e.replace(v1f,"\\$1");QY.toPosixSlashes=e=>e.replace(_1f,"/");QY.isWindows=()=>{if(typeof navigator<"u"&&navigator.platform){let e=navigator.platform.toLowerCase();return e==="win32"||e==="windows"}return typeof process<"u"&&process.platform?process.platform==="win32":!1};QY.removeBackslashes=e=>e.replace(E1f,t=>t==="\\"?"":t);QY.escapeLast=(e,t,r)=>{let n=e.lastIndexOf(t,r);return n===-1?e:e[n-1]==="\\"?QY.escapeLast(e,t,n-1):`${e.slice(0,n)}\\${e.slice(n)}`};QY.removePrefix=(e,t={})=>{let r=e;return r.startsWith("./")&&(r=r.slice(2),t.prefix="./"),r};QY.wrapOutput=(e,t={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${e})${i}`;return t.negated===!0&&(s=`(?:^(?!${s}).*$)`),s};QY.basename=(e,{windows:t}={})=>{let r=e.split(t?/[\\/]/:"/"),n=r[r.length-1];return n===""?r[r.length-2]:n}});var KQs=j((hVA,$Qs)=>{"use strict";var jQs=T1t(),{CHAR_ASTERISK:Qmn,CHAR_AT:C1f,CHAR_BACKWARD_SLASH:D1t,CHAR_COMMA:b1f,CHAR_DOT:jmn,CHAR_EXCLAMATION_MARK:Umn,CHAR_FORWARD_SLASH:VQs,CHAR_LEFT_CURLY_BRACE:qmn,CHAR_LEFT_PARENTHESES:Ymn,CHAR_LEFT_SQUARE_BRACKET:I1f,CHAR_PLUS:S1f,CHAR_QUESTION_MARK:UQs,CHAR_RIGHT_CURLY_BRACE:T1f,CHAR_RIGHT_PARENTHESES:qQs,CHAR_RIGHT_SQUARE_BRACKET:D1f}=S1t(),YQs=e=>e===VQs||e===D1t,GQs=e=>{e.isPrefix!==!0&&(e.depth=e.isGlobstar?1/0:1)},w1f=(e,t)=>{let r=t||{},n=e.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],a=[],u=[],l=e,f=-1,p=0,g=0,A=!1,h=!1,_=!1,E=!1,b=!1,D=!1,k=!1,M=!1,R=!1,q=!1,G=0,K,Z,oe={value:"",depth:0,isGlob:!1},ue=()=>f>=n,me=()=>l.charCodeAt(f+1),Te=()=>(K=Z,l.charCodeAt(++f));for(;f0&&(ae=l.slice(0,p),l=l.slice(p),g-=p),le&&_===!0&&g>0?(le=l.slice(0,g),Ae=l.slice(g)):_===!0?(le="",Ae=l):le=l,le&&le!==""&&le!=="/"&&le!==l&&YQs(le.charCodeAt(le.length-1))&&(le=le.slice(0,-1)),r.unescape===!0&&(Ae&&(Ae=jQs.removeBackslashes(Ae)),le&&k===!0&&(le=jQs.removeBackslashes(le)));let De={prefix:ae,input:e,start:p,base:le,glob:Ae,isBrace:A,isBracket:h,isGlob:_,isExtglob:E,isGlobstar:b,negated:M,negatedExtglob:R};if(r.tokens===!0&&(De.maxDepth=0,YQs(Z)||a.push(oe),De.tokens=a),r.parts===!0||r.tokens===!0){let _e;for(let Le=0;Le{"use strict";var nZt=S1t(),dpe=T1t(),{MAX_LENGTH:iZt,POSIX_REGEX_SOURCE:B1f,REGEX_NON_SPECIAL_CHARS:k1f,REGEX_SPECIAL_CHARS_BACKREF:P1f,REPLACEMENTS:JQs}=nZt,N1f=(e,t)=>{if(typeof t.expandRange=="function")return t.expandRange(...e,t);e.sort();let r=`[${e.join("-")}]`;try{new RegExp(r)}catch{return e.map(i=>dpe.escapeRegex(i)).join("..")}return r},YVe=(e,t)=>`Missing ${e}: "${t}" - use "\\\\${t}" to match literal characters`,Gmn=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a string");e=JQs[e]||e;let r={...t},n=typeof r.maxLength=="number"?Math.min(iZt,r.maxLength):iZt,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);let s={type:"bos",value:"",output:r.prepend||""},a=[s],u=r.capture?"":"?:",l=nZt.globChars(r.windows),f=nZt.extglobChars(l),{DOT_LITERAL:p,PLUS_LITERAL:g,SLASH_LITERAL:A,ONE_CHAR:h,DOTS_SLASH:_,NO_DOT:E,NO_DOT_SLASH:b,NO_DOTS_SLASH:D,QMARK:k,QMARK_NO_DOT:M,STAR:R,START_ANCHOR:q}=l,G=$t=>`(${u}(?:(?!${q}${$t.dot?_:p}).)*?)`,K=r.dot?"":E,Z=r.dot?k:M,oe=r.bash===!0?G(r):R;r.capture&&(oe=`(${oe})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let ue={input:e,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:a};e=dpe.removePrefix(e,ue),i=e.length;let me=[],Te=[],le=[],ae=s,Ae,De=()=>ue.index===i-1,_e=ue.peek=($t=1)=>e[ue.index+$t],Le=ue.advance=()=>e[++ue.index]||"",qe=()=>e.slice(ue.index+1),at=($t="",Nt=0)=>{ue.consumed+=$t,ue.index+=Nt},st=$t=>{ue.output+=$t.output!=null?$t.output:$t.value,at($t.value)},Ur=()=>{let $t=1;for(;_e()==="!"&&(_e(2)!=="("||_e(3)==="?");)Le(),ue.start++,$t++;return $t%2===0?!1:(ue.negated=!0,ue.start++,!0)},Sr=$t=>{ue[$t]++,le.push($t)},xr=$t=>{ue[$t]--,le.pop()},dt=$t=>{if(ae.type==="globstar"){let Nt=ue.braces>0&&($t.type==="comma"||$t.type==="brace"),sr=$t.extglob===!0||me.length&&($t.type==="pipe"||$t.type==="paren");$t.type!=="slash"&&$t.type!=="paren"&&!Nt&&!sr&&(ue.output=ue.output.slice(0,-ae.output.length),ae.type="star",ae.value="*",ae.output=oe,ue.output+=ae.output)}if(me.length&&$t.type!=="paren"&&(me[me.length-1].inner+=$t.value),($t.value||$t.output)&&st($t),ae&&ae.type==="text"&&$t.type==="text"){ae.output=(ae.output||ae.value)+$t.value,ae.value+=$t.value;return}$t.prev=ae,a.push($t),ae=$t},It=($t,Nt)=>{let sr={...f[Nt],conditions:1,inner:""};sr.prev=ae,sr.parens=ue.parens,sr.output=ue.output;let Nr=(r.capture?"(":"")+sr.open;Sr("parens"),dt({type:$t,value:Nt,output:ue.output?"":h}),dt({type:"paren",extglob:!0,value:Le(),output:Nr}),me.push(sr)},lr=$t=>{let Nt=$t.close+(r.capture?")":""),sr;if($t.type==="negate"){let Nr=oe;if($t.inner&&$t.inner.length>1&&$t.inner.includes("/")&&(Nr=G(r)),(Nr!==oe||De()||/^\)+$/.test(qe()))&&(Nt=$t.close=`)$))${Nr}`),$t.inner.includes("*")&&(sr=qe())&&/^\.[^\\/.]+$/.test(sr)){let Fr=Gmn(sr,{...t,fastpaths:!1}).output;Nt=$t.close=`)${Fr})${Nr})`}$t.prev.type==="bos"&&(ue.negatedExtglob=!0)}dt({type:"paren",extglob:!0,value:Ae,output:Nt}),xr("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(e)){let $t=!1,Nt=e.replace(P1f,(sr,Nr,Fr,Bt,Xt,wr)=>Bt==="\\"?($t=!0,sr):Bt==="?"?Nr?Nr+Bt+(Xt?k.repeat(Xt.length):""):wr===0?Z+(Xt?k.repeat(Xt.length):""):k.repeat(Fr.length):Bt==="."?p.repeat(Fr.length):Bt==="*"?Nr?Nr+Bt+(Xt?oe:""):oe:Nr?sr:`\\${sr}`);return $t===!0&&(r.unescape===!0?Nt=Nt.replace(/\\/g,""):Nt=Nt.replace(/\\+/g,sr=>sr.length%2===0?"\\\\":sr?"\\":"")),Nt===e&&r.contains===!0?(ue.output=e,ue):(ue.output=dpe.wrapOutput(Nt,ue,t),ue)}for(;!De();){if(Ae=Le(),Ae==="\0")continue;if(Ae==="\\"){let sr=_e();if(sr==="/"&&r.bash!==!0||sr==="."||sr===";")continue;if(!sr){Ae+="\\",dt({type:"text",value:Ae});continue}let Nr=/^\\+/.exec(qe()),Fr=0;if(Nr&&Nr[0].length>2&&(Fr=Nr[0].length,ue.index+=Fr,Fr%2!==0&&(Ae+="\\")),r.unescape===!0?Ae=Le():Ae+=Le(),ue.brackets===0){dt({type:"text",value:Ae});continue}}if(ue.brackets>0&&(Ae!=="]"||ae.value==="["||ae.value==="[^")){if(r.posix!==!1&&Ae===":"){let sr=ae.value.slice(1);if(sr.includes("[")&&(ae.posix=!0,sr.includes(":"))){let Nr=ae.value.lastIndexOf("["),Fr=ae.value.slice(0,Nr),Bt=ae.value.slice(Nr+2),Xt=B1f[Bt];if(Xt){ae.value=Fr+Xt,ue.backtrack=!0,Le(),!s.output&&a.indexOf(ae)===1&&(s.output=h);continue}}}(Ae==="["&&_e()!==":"||Ae==="-"&&_e()==="]")&&(Ae=`\\${Ae}`),Ae==="]"&&(ae.value==="["||ae.value==="[^")&&(Ae=`\\${Ae}`),r.posix===!0&&Ae==="!"&&ae.value==="["&&(Ae="^"),ae.value+=Ae,st({value:Ae});continue}if(ue.quotes===1&&Ae!=='"'){Ae=dpe.escapeRegex(Ae),ae.value+=Ae,st({value:Ae});continue}if(Ae==='"'){ue.quotes=ue.quotes===1?0:1,r.keepQuotes===!0&&dt({type:"text",value:Ae});continue}if(Ae==="("){Sr("parens"),dt({type:"paren",value:Ae});continue}if(Ae===")"){if(ue.parens===0&&r.strictBrackets===!0)throw new SyntaxError(YVe("opening","("));let sr=me[me.length-1];if(sr&&ue.parens===sr.parens+1){lr(me.pop());continue}dt({type:"paren",value:Ae,output:ue.parens?")":"\\)"}),xr("parens");continue}if(Ae==="["){if(r.nobracket===!0||!qe().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(YVe("closing","]"));Ae=`\\${Ae}`}else Sr("brackets");dt({type:"bracket",value:Ae});continue}if(Ae==="]"){if(r.nobracket===!0||ae&&ae.type==="bracket"&&ae.value.length===1){dt({type:"text",value:Ae,output:`\\${Ae}`});continue}if(ue.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(YVe("opening","["));dt({type:"text",value:Ae,output:`\\${Ae}`});continue}xr("brackets");let sr=ae.value.slice(1);if(ae.posix!==!0&&sr[0]==="^"&&!sr.includes("/")&&(Ae=`/${Ae}`),ae.value+=Ae,st({value:Ae}),r.literalBrackets===!1||dpe.hasRegexChars(sr))continue;let Nr=dpe.escapeRegex(ae.value);if(ue.output=ue.output.slice(0,-ae.value.length),r.literalBrackets===!0){ue.output+=Nr,ae.value=Nr;continue}ae.value=`(${u}${Nr}|${ae.value})`,ue.output+=ae.value;continue}if(Ae==="{"&&r.nobrace!==!0){Sr("braces");let sr={type:"brace",value:Ae,output:"(",outputIndex:ue.output.length,tokensIndex:ue.tokens.length};Te.push(sr),dt(sr);continue}if(Ae==="}"){let sr=Te[Te.length-1];if(r.nobrace===!0||!sr){dt({type:"text",value:Ae,output:Ae});continue}let Nr=")";if(sr.dots===!0){let Fr=a.slice(),Bt=[];for(let Xt=Fr.length-1;Xt>=0&&(a.pop(),Fr[Xt].type!=="brace");Xt--)Fr[Xt].type!=="dots"&&Bt.unshift(Fr[Xt].value);Nr=N1f(Bt,r),ue.backtrack=!0}if(sr.comma!==!0&&sr.dots!==!0){let Fr=ue.output.slice(0,sr.outputIndex),Bt=ue.tokens.slice(sr.tokensIndex);sr.value=sr.output="\\{",Ae=Nr="\\}",ue.output=Fr;for(let Xt of Bt)ue.output+=Xt.output||Xt.value}dt({type:"brace",value:Ae,output:Nr}),xr("braces"),Te.pop();continue}if(Ae==="|"){me.length>0&&me[me.length-1].conditions++,dt({type:"text",value:Ae});continue}if(Ae===","){let sr=Ae,Nr=Te[Te.length-1];Nr&&le[le.length-1]==="braces"&&(Nr.comma=!0,sr="|"),dt({type:"comma",value:Ae,output:sr});continue}if(Ae==="/"){if(ae.type==="dot"&&ue.index===ue.start+1){ue.start=ue.index+1,ue.consumed="",ue.output="",a.pop(),ae=s;continue}dt({type:"slash",value:Ae,output:A});continue}if(Ae==="."){if(ue.braces>0&&ae.type==="dot"){ae.value==="."&&(ae.output=p);let sr=Te[Te.length-1];ae.type="dots",ae.output+=Ae,ae.value+=Ae,sr.dots=!0;continue}if(ue.braces+ue.parens===0&&ae.type!=="bos"&&ae.type!=="slash"){dt({type:"text",value:Ae,output:p});continue}dt({type:"dot",value:Ae,output:p});continue}if(Ae==="?"){if(!(ae&&ae.value==="(")&&r.noextglob!==!0&&_e()==="("&&_e(2)!=="?"){It("qmark",Ae);continue}if(ae&&ae.type==="paren"){let Nr=_e(),Fr=Ae;(ae.value==="("&&!/[!=<:]/.test(Nr)||Nr==="<"&&!/<([!=]|\w+>)/.test(qe()))&&(Fr=`\\${Ae}`),dt({type:"text",value:Ae,output:Fr});continue}if(r.dot!==!0&&(ae.type==="slash"||ae.type==="bos")){dt({type:"qmark",value:Ae,output:M});continue}dt({type:"qmark",value:Ae,output:k});continue}if(Ae==="!"){if(r.noextglob!==!0&&_e()==="("&&(_e(2)!=="?"||!/[!=<:]/.test(_e(3)))){It("negate",Ae);continue}if(r.nonegate!==!0&&ue.index===0){Ur();continue}}if(Ae==="+"){if(r.noextglob!==!0&&_e()==="("&&_e(2)!=="?"){It("plus",Ae);continue}if(ae&&ae.value==="("||r.regex===!1){dt({type:"plus",value:Ae,output:g});continue}if(ae&&(ae.type==="bracket"||ae.type==="paren"||ae.type==="brace")||ue.parens>0){dt({type:"plus",value:Ae});continue}dt({type:"plus",value:g});continue}if(Ae==="@"){if(r.noextglob!==!0&&_e()==="("&&_e(2)!=="?"){dt({type:"at",extglob:!0,value:Ae,output:""});continue}dt({type:"text",value:Ae});continue}if(Ae!=="*"){(Ae==="$"||Ae==="^")&&(Ae=`\\${Ae}`);let sr=k1f.exec(qe());sr&&(Ae+=sr[0],ue.index+=sr[0].length),dt({type:"text",value:Ae});continue}if(ae&&(ae.type==="globstar"||ae.star===!0)){ae.type="star",ae.star=!0,ae.value+=Ae,ae.output=oe,ue.backtrack=!0,ue.globstar=!0,at(Ae);continue}let $t=qe();if(r.noextglob!==!0&&/^\([^?]/.test($t)){It("star",Ae);continue}if(ae.type==="star"){if(r.noglobstar===!0){at(Ae);continue}let sr=ae.prev,Nr=sr.prev,Fr=sr.type==="slash"||sr.type==="bos",Bt=Nr&&(Nr.type==="star"||Nr.type==="globstar");if(r.bash===!0&&(!Fr||$t[0]&&$t[0]!=="/")){dt({type:"star",value:Ae,output:""});continue}let Xt=ue.braces>0&&(sr.type==="comma"||sr.type==="brace"),wr=me.length&&(sr.type==="pipe"||sr.type==="paren");if(!Fr&&sr.type!=="paren"&&!Xt&&!wr){dt({type:"star",value:Ae,output:""});continue}for(;$t.slice(0,3)==="/**";){let rr=e[ue.index+4];if(rr&&rr!=="/")break;$t=$t.slice(3),at("/**",3)}if(sr.type==="bos"&&De()){ae.type="globstar",ae.value+=Ae,ae.output=G(r),ue.output=ae.output,ue.globstar=!0,at(Ae);continue}if(sr.type==="slash"&&sr.prev.type!=="bos"&&!Bt&&De()){ue.output=ue.output.slice(0,-(sr.output+ae.output).length),sr.output=`(?:${sr.output}`,ae.type="globstar",ae.output=G(r)+(r.strictSlashes?")":"|$)"),ae.value+=Ae,ue.globstar=!0,ue.output+=sr.output+ae.output,at(Ae);continue}if(sr.type==="slash"&&sr.prev.type!=="bos"&&$t[0]==="/"){let rr=$t[1]!==void 0?"|$":"";ue.output=ue.output.slice(0,-(sr.output+ae.output).length),sr.output=`(?:${sr.output}`,ae.type="globstar",ae.output=`${G(r)}${A}|${A}${rr})`,ae.value+=Ae,ue.output+=sr.output+ae.output,ue.globstar=!0,at(Ae+Le()),dt({type:"slash",value:"/",output:""});continue}if(sr.type==="bos"&&$t[0]==="/"){ae.type="globstar",ae.value+=Ae,ae.output=`(?:^|${A}|${G(r)}${A})`,ue.output=ae.output,ue.globstar=!0,at(Ae+Le()),dt({type:"slash",value:"/",output:""});continue}ue.output=ue.output.slice(0,-ae.output.length),ae.type="globstar",ae.output=G(r),ae.value+=Ae,ue.output+=ae.output,ue.globstar=!0,at(Ae);continue}let Nt={type:"star",value:Ae,output:oe};if(r.bash===!0){Nt.output=".*?",(ae.type==="bos"||ae.type==="slash")&&(Nt.output=K+Nt.output),dt(Nt);continue}if(ae&&(ae.type==="bracket"||ae.type==="paren")&&r.regex===!0){Nt.output=Ae,dt(Nt);continue}(ue.index===ue.start||ae.type==="slash"||ae.type==="dot")&&(ae.type==="dot"?(ue.output+=b,ae.output+=b):r.dot===!0?(ue.output+=D,ae.output+=D):(ue.output+=K,ae.output+=K),_e()!=="*"&&(ue.output+=h,ae.output+=h)),dt(Nt)}for(;ue.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(YVe("closing","]"));ue.output=dpe.escapeLast(ue.output,"["),xr("brackets")}for(;ue.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(YVe("closing",")"));ue.output=dpe.escapeLast(ue.output,"("),xr("parens")}for(;ue.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(YVe("closing","}"));ue.output=dpe.escapeLast(ue.output,"{"),xr("braces")}if(r.strictSlashes!==!0&&(ae.type==="star"||ae.type==="bracket")&&dt({type:"maybe_slash",value:"",output:`${A}?`}),ue.backtrack===!0){ue.output="";for(let $t of ue.tokens)ue.output+=$t.output!=null?$t.output:$t.value,$t.suffix&&(ue.output+=$t.suffix)}return ue};Gmn.fastpaths=(e,t)=>{let r={...t},n=typeof r.maxLength=="number"?Math.min(iZt,r.maxLength):iZt,i=e.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);e=JQs[e]||e;let{DOT_LITERAL:s,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:l,NO_DOT:f,NO_DOTS:p,NO_DOTS_SLASH:g,STAR:A,START_ANCHOR:h}=nZt.globChars(r.windows),_=r.dot?p:f,E=r.dot?g:f,b=r.capture?"":"?:",D={negated:!1,prefix:""},k=r.bash===!0?".*?":A;r.capture&&(k=`(${k})`);let M=K=>K.noglobstar===!0?k:`(${b}(?:(?!${h}${K.dot?l:s}).)*?)`,R=K=>{switch(K){case"*":return`${_}${u}${k}`;case".*":return`${s}${u}${k}`;case"*.*":return`${_}${k}${s}${u}${k}`;case"*/*":return`${_}${k}${a}${u}${E}${k}`;case"**":return _+M(r);case"**/*":return`(?:${_}${M(r)}${a})?${E}${u}${k}`;case"**/*.*":return`(?:${_}${M(r)}${a})?${E}${k}${s}${u}${k}`;case"**/.*":return`(?:${_}${M(r)}${a})?${s}${u}${k}`;default:{let Z=/^(.*?)\.(\w+)$/.exec(K);if(!Z)return;let oe=R(Z[1]);return oe?oe+s+Z[2]:void 0}}},q=dpe.removePrefix(e,D),G=R(q);return G&&r.strictSlashes!==!0&&(G+=`${a}?`),G};HQs.exports=Gmn});var ZQs=j((_VA,XQs)=>{"use strict";var O1f=KQs(),Vmn=zQs(),WQs=T1t(),R1f=S1t(),F1f=e=>e&&typeof e=="object"&&!Array.isArray(e),BB=(e,t,r=!1)=>{if(Array.isArray(e)){let p=e.map(A=>BB(A,t,r));return A=>{for(let h of p){let _=h(A);if(_)return _}return!1}}let n=F1f(e)&&e.tokens&&e.input;if(e===""||typeof e!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let i=t||{},s=i.windows,a=n?BB.compileRe(e,t):BB.makeRe(e,t,!1,!0),u=a.state;delete a.state;let l=()=>!1;if(i.ignore){let p={...t,ignore:null,onMatch:null,onResult:null};l=BB(i.ignore,p,r)}let f=(p,g=!1)=>{let{isMatch:A,match:h,output:_}=BB.test(p,a,t,{glob:e,posix:s}),E={glob:e,state:u,regex:a,posix:s,input:p,output:_,match:h,isMatch:A};return typeof i.onResult=="function"&&i.onResult(E),A===!1?(E.isMatch=!1,g?E:!1):l(p)?(typeof i.onIgnore=="function"&&i.onIgnore(E),E.isMatch=!1,g?E:!1):(typeof i.onMatch=="function"&&i.onMatch(E),g?E:!0)};return r&&(f.state=u),f};BB.test=(e,t,r,{glob:n,posix:i}={})=>{if(typeof e!="string")throw new TypeError("Expected input to be a string");if(e==="")return{isMatch:!1,output:""};let s=r||{},a=s.format||(i?WQs.toPosixSlashes:null),u=e===n,l=u&&a?a(e):e;return u===!1&&(l=a?a(e):e,u=l===n),(u===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?u=BB.matchBase(e,t,r,i):u=t.exec(l)),{isMatch:!!u,match:u,output:l}};BB.matchBase=(e,t,r)=>(t instanceof RegExp?t:BB.makeRe(t,r)).test(WQs.basename(e));BB.isMatch=(e,t,r)=>BB(t,r)(e);BB.parse=(e,t)=>Array.isArray(e)?e.map(r=>BB.parse(r,t)):Vmn(e,{...t,fastpaths:!1});BB.scan=(e,t)=>O1f(e,t);BB.compileRe=(e,t,r=!1,n=!1)=>{if(r===!0)return e.output;let i=t||{},s=i.contains?"":"^",a=i.contains?"":"$",u=`${s}(?:${e.output})${a}`;e&&e.negated===!0&&(u=`^(?!${u}).*$`);let l=BB.toRegex(u,t);return n===!0&&(l.state=e),l};BB.makeRe=(e,t={},r=!1,n=!1)=>{if(!e||typeof e!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return t.fastpaths!==!1&&(e[0]==="."||e[0]==="*")&&(i.output=Vmn.fastpaths(e,t)),i.output||(i=Vmn(e,t)),BB.compileRe(i,t,r,n)};BB.toRegex=(e,t)=>{try{let r=t||{};return new RegExp(e,r.flags||(r.nocase?"i":""))}catch(r){if(t&&t.debug===!0)throw r;return/$^/}};BB.constants=R1f;XQs.exports=BB});var $mn=j((EVA,rjs)=>{"use strict";var ejs=ZQs(),L1f=T1t();function tjs(e,t,r=!1){return t&&(t.windows===null||t.windows===void 0)&&(t={...t,windows:L1f.isWindows()}),ejs(e,t,r)}Object.assign(tjs,ejs);rjs.exports=tjs});var mjs=j(djs=>{var M1f=Object.create,ijs=Object.defineProperty,Q1f=Object.getOwnPropertyDescriptor,j1f=Object.getOwnPropertyNames,U1f=Object.getPrototypeOf,q1f=Object.prototype.hasOwnProperty,Y1f=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=j1f(t),s=0,a=i.length,u;st[l]).bind(null,u),enumerable:!(n=Q1f(t,u))||n.enumerable});return e},sjs=(e,t,r)=>(r=e!=null?M1f(U1f(e)):{},Y1f(t||!e||!e.__esModule?ijs(r,"default",{value:e,enumerable:!0}):r,e)),Rye=sjs(require("path")),G1f=sjs(require("fs"));function V1f(e){let t=(0,Rye.normalize)(e);return t.length>1&&t[t.length-1]===Rye.sep&&(t=t.substring(0,t.length-1)),t}var $1f=/[\\/]/g;function ajs(e,t){return e.replace($1f,t)}var K1f=/^[a-z]:[\\/]$/i;function J1f(e){return e==="/"||K1f.test(e)}function Kmn(e,t){let{resolvePaths:r,normalizePath:n,pathSeparator:i}=t,s=process.platform==="win32"&&e.includes("/")||e.startsWith(".");if(r&&(e=(0,Rye.resolve)(e)),(n||s)&&(e=V1f(e)),e===".")return"";let a=e[e.length-1]!==i;return ajs(a?e+i:e,i)}function ojs(e,t){return t+e}function H1f(e,t){return function(r,n){return n.startsWith(e)?n.slice(e.length)+r:ajs((0,Rye.relative)(e,n),t.pathSeparator)+t.pathSeparator+r}}function z1f(e){return e}function W1f(e,t,r){return t+e+r}function X1f(e,t){let{relativePaths:r,includeBasePath:n}=t;return r&&e?H1f(e,t):n?ojs:z1f}function Z1f(e){return function(t,r){r.push(t.substring(e.length)||".")}}function eyf(e){return function(t,r,n){let i=t.substring(e.length)||".";n.every(s=>s(i,!0))&&r.push(i)}}var tyf=(e,t)=>{t.push(e||".")},ryf=(e,t,r)=>{let n=e||".";r.every(i=>i(n,!0))&&t.push(n)},nyf=()=>{};function iyf(e,t){let{includeDirs:r,filters:n,relativePaths:i}=t;return r?i?n&&n.length?eyf(e):Z1f(e):n&&n.length?ryf:tyf:nyf}var syf=(e,t,r,n)=>{n.every(i=>i(e,!1))&&r.files++},ayf=(e,t,r,n)=>{n.every(i=>i(e,!1))&&t.push(e)},oyf=(e,t,r,n)=>{r.files++},uyf=(e,t)=>{t.push(e)},lyf=()=>{};function cyf(e){let{excludeFiles:t,filters:r,onlyCounts:n}=e;return t?lyf:r&&r.length?n?syf:ayf:n?oyf:uyf}var fyf=e=>e,pyf=()=>[""].slice(0,0);function dyf(e){return e.group?pyf:fyf}var myf=(e,t,r)=>{e.push({directory:t,files:r,dir:t})},gyf=()=>{};function Ayf(e){return e.group?myf:gyf}var hyf=function(e,t,r){let{queue:n,fs:i,options:{suppressErrors:s}}=t;n.enqueue(),i.realpath(e,(a,u)=>{if(a)return n.dequeue(s?null:a,t);i.stat(u,(l,f)=>{if(l)return n.dequeue(s?null:l,t);if(f.isDirectory()&&ujs(e,u,t))return n.dequeue(null,t);r(f,u),n.dequeue(null,t)})})},yyf=function(e,t,r){let{queue:n,fs:i,options:{suppressErrors:s}}=t;n.enqueue();try{let a=i.realpathSync(e),u=i.statSync(a);if(u.isDirectory()&&ujs(e,a,t))return;r(u,a)}catch(a){if(!s)throw a}};function _yf(e,t){return!e.resolveSymlinks||e.excludeSymlinks?null:t?yyf:hyf}function ujs(e,t,r){if(r.options.useRealPaths)return Eyf(t,r);let n=(0,Rye.dirname)(e),i=1;for(;n!==r.root&&i<2;){let s=r.symlinks.get(n);!!s&&(s===t||s.startsWith(t)||t.startsWith(s))?i++:n=(0,Rye.dirname)(n)}return r.symlinks.set(e,t),i>1}function Eyf(e,t){return t.visited.includes(e+t.options.pathSeparator)}var xyf=e=>e.counts,vyf=e=>e.groups,Cyf=e=>e.paths,byf=e=>e.paths.slice(0,e.options.maxFiles),Iyf=(e,t,r)=>(sZt(t,r,e.counts,e.options.suppressErrors),null),Syf=(e,t,r)=>(sZt(t,r,e.paths,e.options.suppressErrors),null),Tyf=(e,t,r)=>(sZt(t,r,e.paths.slice(0,e.options.maxFiles),e.options.suppressErrors),null),Dyf=(e,t,r)=>(sZt(t,r,e.groups,e.options.suppressErrors),null);function sZt(e,t,r,n){t(e&&!n?e:null,r)}function wyf(e,t){let{onlyCounts:r,group:n,maxFiles:i}=e;return r?t?xyf:Iyf:n?t?vyf:Dyf:i?t?byf:Tyf:t?Cyf:Syf}var ljs={withFileTypes:!0},Byf=(e,t,r,n,i)=>{if(e.queue.enqueue(),n<0)return e.queue.dequeue(null,e);let{fs:s}=e;e.visited.push(t),e.counts.directories++,s.readdir(t||".",ljs,(a,u=[])=>{i(u,r,n),e.queue.dequeue(e.options.suppressErrors?null:a,e)})},kyf=(e,t,r,n,i)=>{let{fs:s}=e;if(n<0)return;e.visited.push(t),e.counts.directories++;let a=[];try{a=s.readdirSync(t||".",ljs)}catch(u){if(!e.options.suppressErrors)throw u}i(a,r,n)};function Pyf(e){return e?kyf:Byf}var Nyf=class{count=0;constructor(e){this.onQueueEmpty=e}enqueue(){return this.count++,this.count}dequeue(e,t){this.onQueueEmpty&&(--this.count<=0||e)&&(this.onQueueEmpty(e,t),e&&(t.controller.abort(),this.onQueueEmpty=void 0))}},Oyf=class{_files=0;_directories=0;set files(e){this._files=e}get files(){return this._files}set directories(e){this._directories=e}get directories(){return this._directories}get dirs(){return this._directories}},Ryf=class{aborted=!1;abort(){this.aborted=!0}},cjs=class{root;isSynchronous;state;joinPath;pushDirectory;pushFile;getArray;groupFiles;resolveSymlink;walkDirectory;callbackInvoker;constructor(e,t,r){this.isSynchronous=!r,this.callbackInvoker=wyf(t,this.isSynchronous),this.root=Kmn(e,t),this.state={root:J1f(this.root)?this.root:this.root.slice(0,-1),paths:[""].slice(0,0),groups:[],counts:new Oyf,options:t,queue:new Nyf((n,i)=>this.callbackInvoker(i,n,r)),symlinks:new Map,visited:[""].slice(0,0),controller:new Ryf,fs:t.fs||G1f},this.joinPath=X1f(this.root,t),this.pushDirectory=iyf(this.root,t),this.pushFile=cyf(t),this.getArray=dyf(t),this.groupFiles=Ayf(t),this.resolveSymlink=_yf(t,this.isSynchronous),this.walkDirectory=Pyf(this.isSynchronous)}start(){return this.pushDirectory(this.root,this.state.paths,this.state.options.filters),this.walkDirectory(this.state,this.root,this.root,this.state.options.maxDepth,this.walk),this.isSynchronous?this.callbackInvoker(this.state,null):null}walk=(e,t,r)=>{let{paths:n,options:{filters:i,resolveSymlinks:s,excludeSymlinks:a,exclude:u,maxFiles:l,signal:f,useRealPaths:p,pathSeparator:g},controller:A}=this.state;if(A.aborted||f&&f.aborted||l&&n.length>l)return;let h=this.getArray(this.state.paths);for(let _=0;_{if(D.isDirectory()){if(k=Kmn(k,this.state.options),u&&u(E.name,p?k:b+g))return;this.walkDirectory(this.state,k,p?k:b+g,r-1,this.walk)}else{k=p?k:b;let M=(0,Rye.basename)(k),R=Kmn((0,Rye.dirname)(k),this.state.options);k=this.joinPath(M,R),this.pushFile(k,h,this.state.counts,i)}})}}this.groupFiles(this.state.groups,t,h)}};function Fyf(e,t){return new Promise((r,n)=>{fjs(e,t,(i,s)=>{if(i)return n(i);r(s)})})}function fjs(e,t,r){new cjs(e,t,r).start()}function Lyf(e,t){return new cjs(e,t).start()}var njs=class{constructor(e,t){this.root=e,this.options=t}withPromise(){return Fyf(this.root,this.options)}withCallback(e){fjs(this.root,this.options,e)}sync(){return Lyf(this.root,this.options)}},pjs=null;try{require.resolve("picomatch"),pjs=$mn()}catch{}var Myf=class{globCache={};options={maxDepth:1/0,suppressErrors:!0,pathSeparator:Rye.sep,filters:[]};globFunction;constructor(e){this.options={...this.options,...e},this.globFunction=this.options.globFunction}group(){return this.options.group=!0,this}withPathSeparator(e){return this.options.pathSeparator=e,this}withBasePath(){return this.options.includeBasePath=!0,this}withRelativePaths(){return this.options.relativePaths=!0,this}withDirs(){return this.options.includeDirs=!0,this}withMaxDepth(e){return this.options.maxDepth=e,this}withMaxFiles(e){return this.options.maxFiles=e,this}withFullPaths(){return this.options.resolvePaths=!0,this.options.includeBasePath=!0,this}withErrors(){return this.options.suppressErrors=!1,this}withSymlinks({resolvePaths:e=!0}={}){return this.options.resolveSymlinks=!0,this.options.useRealPaths=e,this.withFullPaths()}withAbortSignal(e){return this.options.signal=e,this}normalize(){return this.options.normalizePath=!0,this}filter(e){return this.options.filters.push(e),this}onlyDirs(){return this.options.excludeFiles=!0,this.options.includeDirs=!0,this}exclude(e){return this.options.exclude=e,this}onlyCounts(){return this.options.onlyCounts=!0,this}crawl(e){return new njs(e||".",this.options)}withGlobFunction(e){return this.globFunction=e,this}crawlWithOptions(e,t){return this.options={...this.options,...t},new njs(e||".",this.options)}glob(...e){return this.globFunction?this.globWithOptions(e):this.globWithOptions(e,{dot:!0})}globWithOptions(e,...t){let r=this.globFunction||pjs;if(!r)throw new Error("Please specify a glob function to use glob matching.");var n=this.globCache[e.join("\0")];return n||(n=r(e,...t),this.globCache[e.join("\0")]=n),this.options.filters.push(i=>n(i)),this}};djs.fdir=Myf});var Ijs=j(VVe=>{var Qyf=Object.create,Ajs=Object.defineProperty,jyf=Object.getOwnPropertyDescriptor,Uyf=Object.getOwnPropertyNames,qyf=Object.getPrototypeOf,Yyf=Object.prototype.hasOwnProperty,Gyf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=Uyf(t),s=0,a=i.length,u;st[l]).bind(null,u),enumerable:!(n=jyf(t,u))||n.enumerable});return e},w1t=(e,t,r)=>(r=e!=null?Qyf(qyf(e)):{},Gyf(t||!e||!e.__esModule?Ajs(r,"default",{value:e,enumerable:!0}):r,e)),BTe=require("fs");BTe=w1t(BTe);var Dse=require("path");Dse=w1t(Dse);var Hmn=require("url");Hmn=w1t(Hmn);var zmn=mjs();zmn=w1t(zmn);var _5e=$mn();_5e=w1t(_5e);var hjs=Array.isArray,Wmn=process.platform==="win32",Vyf=/^(\/?\.\.)+$/;function $yf(e,t={}){let r=e.length,n=Array(r),i=Array(r),s=!t.noglobstar;for(let a=0;a{let u=a.split("/");if(u[0]===".."&&Vyf.test(a))return!0;for(let l=0;lKyf.test(e):e=>e==="/";function gjs(e,t,r){if(e===t||t.startsWith(`${e}/`)){if(r){let i=Jyf(e)?e.length:e.length+1;return(s,a)=>s.slice(i,a?-1:void 0)||"."}let n=t.slice(e.length+1);return n?(i,s)=>{if(i===".")return n;let a=`${n}/${i}`;return s?a.slice(0,-1):a}:(i,s)=>s&&i!=="."?i.slice(0,-1):i}return r?n=>Dse.posix.relative(e,n)||".":n=>Dse.posix.relative(e,`${t}/${n}`)||"."}function Hyf(e,t){if(t.startsWith(`${e}/`)){let r=t.slice(e.length+1);return n=>`${r}/${n}`}return r=>{let n=Dse.posix.relative(e,`${t}/${r}`);return r.endsWith("/")&&n!==""?`${n}/`:n||"."}}var zyf={parts:!0};function yjs(e){var t;let r=_5e.default.scan(e,zyf);return!((t=r.parts)===null||t===void 0)&&t.length?r.parts:[e]}var Wyf=/\\(?![()[\]{}!+@])/g;function Xyf(e){return _js(e)}function Zyf(e){return Ejs(e).replace(Wyf,"/")}var e_f=Wmn?Zyf:Xyf,t_f=/(?e.replace(t_f,"\\$&"),Ejs=e=>e.replace(r_f,"\\$&"),xjs=Wmn?Ejs:_js;function vjs(e,t){if(t?.caseSensitiveMatch===!1)return!0;let r=_5e.default.scan(e);return r.isGlob||r.negated}function GVe(...e){console.log(`[tinyglobby ${new Date().toLocaleTimeString("es")}]`,...e)}var n_f=/^(\/?\.\.)+/,i_f=/\\(?=[()[\]{}!*+?@|])/g,aZt=/\\/g;function Jmn(e,t,r,n,i){let s=e;e.endsWith("/")&&(s=e.slice(0,-1)),!s.endsWith("*")&&t&&(s+="/**");let a=xjs(r);Dse.default.isAbsolute(s.replace(i_f,""))?s=Dse.posix.relative(a,s):s=Dse.posix.normalize(s);let u=n_f.exec(s),l=yjs(s);if(u?.[0]){let p=(u[0].length+1)/3,g=0,A=a.split("/");for(;gh.length&&(n.root=h,n.depthOffset=-p+g)}if(!i&&n.depthOffset>=0){var f;(f=n.commonPath)!==null&&f!==void 0||(n.commonPath=l);let p=[],g=Math.min(n.commonPath.length,l.length);for(let A=0;A0?Dse.posix.join(r,...p):r}return s}function s_f({patterns:e=["**/*"],ignore:t=[],expandDirectories:r=!0},n,i){typeof e=="string"&&(e=[e]),typeof t=="string"&&(t=[t]);let s=[],a=[];for(let u of t)u&&(u[0]!=="!"||u[1]==="(")&&a.push(Jmn(u,r,n,i,!0));for(let u of e)u&&(u[0]!=="!"||u[1]==="("?s.push(Jmn(u,r,n,i,!1)):(u[1]!=="!"||u[2]==="(")&&a.push(Jmn(u.slice(1),r,n,i,!0)));return{match:s,ignore:a}}function Cjs(e,t){for(let r=e.length-1;r>=0;r--){let n=e[r];e[r]=t(n)}return e}function a_f(e){return e?e instanceof URL?(0,Hmn.fileURLToPath)(e).replace(aZt,"/"):Dse.default.resolve(e).replace(aZt,"/"):process.cwd().replace(aZt,"/")}function bjs(e,t={}){let r=process.env.TINYGLOBBY_DEBUG?{...t,debug:!0}:t,n=a_f(r.cwd);if(r.debug&&GVe("globbing with:",{patterns:e,options:r,cwd:n}),Array.isArray(e)&&e.length===0)return[{sync:()=>[],withPromise:async()=>[]},!1];let i={root:n,commonPath:null,depthOffset:0},s=s_f({...r,patterns:e},n,i);r.debug&&GVe("internal processing patterns:",s);let a={dot:r.dot,nobrace:r.braceExpansion===!1,nocase:r.caseSensitiveMatch===!1,noextglob:r.extglob===!1,noglobstar:r.globstar===!1,posix:!0},u=(0,_5e.default)(s.match,{...a,ignore:s.ignore}),l=(0,_5e.default)(s.ignore,a),f=$yf(s.match,a),p=gjs(n,i.root,r.absolute),g=r.absolute?p:gjs(n,i.root,!0),A={filters:[r.debug?(E,b)=>{let D=p(E,b),k=u(D);return k&&GVe(`matched ${D}`),k}:(E,b)=>u(p(E,b))],exclude:r.debug?(E,b)=>{let D=g(b,!0),k=D!=="."&&!f(D)||l(D);return GVe(k?`skipped ${b}`:`crawling ${b}`),k}:(E,b)=>{let D=g(b,!0);return D!=="."&&!f(D)||l(D)},fs:r.fs?{readdir:r.fs.readdir||BTe.default.readdir,readdirSync:r.fs.readdirSync||BTe.default.readdirSync,realpath:r.fs.realpath||BTe.default.realpath,realpathSync:r.fs.realpathSync||BTe.default.realpathSync,stat:r.fs.stat||BTe.default.stat,statSync:r.fs.statSync||BTe.default.statSync}:void 0,pathSeparator:"/",relativePaths:!0,resolveSymlinks:!0,signal:r.signal};r.deep!==void 0&&(A.maxDepth=Math.round(r.deep-i.depthOffset)),r.absolute&&(A.relativePaths=!1,A.resolvePaths=!0,A.includeBasePath=!0),r.followSymbolicLinks===!1&&(A.resolveSymlinks=!1,A.excludeSymlinks=!0),r.onlyDirectories?(A.excludeFiles=!0,A.includeDirs=!0):r.onlyFiles===!1&&(A.includeDirs=!0),i.root=i.root.replace(aZt,"");let h=i.root;r.debug&&GVe("internal properties:",i);let _=n!==h&&!r.absolute&&Hyf(n,i.root);return[new zmn.fdir(A).crawl(h),_]}async function o_f(e,t){if(e&&t?.patterns)throw new Error("Cannot pass patterns as both an argument and an option");let r=hjs(e)||typeof e=="string",n=r?t:e,i=r?e:e.patterns,[s,a]=bjs(i,n);return a?Cjs(await s.withPromise(),a):s.withPromise()}function u_f(e,t){if(e&&t?.patterns)throw new Error("Cannot pass patterns as both an argument and an option");let r=hjs(e)||typeof e=="string",n=r?t:e,i=r?e:e.patterns,[s,a]=bjs(i,n);return a?Cjs(s.sync(),a):s.sync()}VVe.convertPathToPattern=e_f;VVe.escapePath=xjs;VVe.glob=o_f;VVe.globSync=u_f;VVe.isDynamicPattern=vjs});var Zmn=j(x5e=>{"use strict";var l_f=x5e&&x5e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(x5e,"__esModule",{value:!0});x5e.clearGlobCache=p_f;x5e.resolveProjectList=d_f;x5e.clearGlobResolutionCache=g_f;var c_f=l_f(B1()),Xmn=Ijs(),oZt=cpe(),Sjs=Rmn(),f_f=(0,c_f.default)("typescript-eslint:typescript-estree:parseSettings:resolveProjectList"),E5e=null;function p_f(){E5e?.clear()}function d_f(e){let t=[];if(e.project!=null)for(let l of e.project)typeof l=="string"&&t.push(l);if(t.length===0)return new Map;let r=(e.projectFolderIgnoreList??["**/node_modules/**"]).filter(l=>typeof l=="string"),n=m_f({project:t,projectFolderIgnoreList:r,tsconfigRootDir:e.tsconfigRootDir});if(E5e==null)E5e=new Sjs.ExpiringCache(e.singleRun?"Infinity":e.cacheLifetime?.glob??Sjs.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS);else{let l=E5e.get(n);if(l)return l}let i=t.filter(l=>!(0,Xmn.isDynamicPattern)(l)),s=t.filter(l=>(0,Xmn.isDynamicPattern)(l)),a=[];s.length>0&&(a=s.flatMap(l=>(0,Xmn.globSync)(l,{cwd:e.tsconfigRootDir,expandDirectories:!1,ignore:r})));let u=new Map([...i,...a].map(l=>[(0,oZt.getCanonicalFileName)((0,oZt.ensureAbsolutePath)(l,e.tsconfigRootDir)),(0,oZt.ensureAbsolutePath)(l,e.tsconfigRootDir)]));return f_f("parserOptions.project (excluding ignored) matched projects: %s",u),E5e.set(n,u),u}function m_f({project:e,projectFolderIgnoreList:t,tsconfigRootDir:r}){let n={tsconfigRootDir:r,project:e,projectFolderIgnoreList:[...t].sort()};return(0,oZt.createHash)(JSON.stringify(n))}function g_f(){E5e?.clear(),E5e=null}});var egn=j(uZt=>{"use strict";Object.defineProperty(uZt,"__esModule",{value:!0});uZt.version=void 0;uZt.version=require("./package-3LRF5VTK.json").version});var wjs=j(HQ=>{"use strict";var A_f=HQ&&HQ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),h_f=HQ&&HQ.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),y_f=HQ&&HQ.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i=4.8.4 <6.0.0";var C_f=[],Djs=x_f.version,b_f=E_f.default.satisfies(Djs,[HQ.SUPPORTED_TYPESCRIPT_VERSIONS,...C_f].join(" || ")),Tjs=!1;function I_f(e,t){if(!(b_f||Tjs)){if(t||!(typeof process>"u")&&process.stdout?.isTTY){let r="=============",n=[r,` `,"WARNING: You are currently running a version of TypeScript which is not officially supported by @typescript-eslint/typescript-estree.",` `,`* @typescript-eslint/typescript-estree version: ${v_f.version}`,`* Supported TypeScript versions: ${HQ.SUPPORTED_TYPESCRIPT_VERSIONS}`,`* Your TypeScript version: ${Djs}`,` `,"Please only submit bug reports when using the officially supported version.",` `,r].join(` `);e.log(n)}Tjs=!0}}});var ngn=j(JK=>{"use strict";var S_f=JK&&JK.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),T_f=JK&&JK.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),D_f=JK&&JK.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{if(t.tsconfigRootDir==null){let p=(0,N_f.getInferredTSConfigRootDir)();if(lZt.default.resolve(p)!==p)throw new Error(`inferred tsconfigRootDir should be a resolved absolute path, but received: ${JSON.stringify(p)}. This is a bug in typescript-eslint! Please report it to us at https://github.com/typescript-eslint/typescript-eslint/issues/new/choose.`);return p}if(typeof t.tsconfigRootDir=="string"){let p=t.tsconfigRootDir;if(!lZt.default.isAbsolute(p)||process.platform==="win32"&&!/^[a-zA-Z]:/.test(p))throw new Error(`parserOptions.tsconfigRootDir must be an absolute path, but received: ${JSON.stringify(p)}. This is a bug in your configuration; please supply an absolute path.`);return lZt.default.resolve(p)}throw new Error(`If provided, parserOptions.tsconfigRootDir must be a string, but received a value of type "${typeof t.tsconfigRootDir}"`)})(),s=typeof t.loggerFn=="function",a=(0,B_f.ensureAbsolutePath)(typeof t.filePath=="string"&&t.filePath!==""?t.filePath:Y_f(t.jsx),i),u=lZt.default.extname(a).toLowerCase(),l=(()=>{switch(t.jsDocParsingMode){case"all":return B1t.ParseAll;case"none":return B1t.ParseNone;case"type-info":return B1t.ParseForTypeInfo;default:return B1t.ParseAll}})(),f={loc:t.loc===!0,range:t.range===!0,allowInvalidAST:t.allowInvalidAST===!0,code:e,codeFullText:r,comment:t.comment===!0,comments:[],debugLevel:t.debugLevel===!0?new Set(["typescript-eslint"]):Array.isArray(t.debugLevel)?new Set(t.debugLevel):new Set,errorOnTypeScriptSyntacticAndSemanticIssues:!1,errorOnUnknownASTType:t.errorOnUnknownASTType===!0,extraFileExtensions:Array.isArray(t.extraFileExtensions)&&t.extraFileExtensions.every(p=>typeof p=="string")?t.extraFileExtensions:[],filePath:a,jsDocParsingMode:l,jsx:t.jsx===!0,log:typeof t.loggerFn=="function"?t.loggerFn:t.loggerFn===!1?()=>{}:console.log,preserveNodeMaps:t.preserveNodeMaps!==!1,programs:Array.isArray(t.programs)?t.programs:null,projects:new Map,projectService:t.projectService||t.project&&t.projectService!==!1&&process.env.TYPESCRIPT_ESLINT_PROJECT_SERVICE==="true"?G_f(t.projectService,{jsDocParsingMode:l,tsconfigRootDir:i}):void 0,setExternalModuleIndicator:t.sourceType==="module"||t.sourceType==null&&u===$Ve.Extension.Mjs||t.sourceType==null&&u===$Ve.Extension.Mts?p=>{p.externalModuleIndicator=!0}:void 0,singleRun:n,suppressDeprecatedPropertyWarnings:t.suppressDeprecatedPropertyWarnings??process.env.NODE_ENV!=="test",tokens:t.tokens===!0?[]:null,tsconfigMatchCache:Pjs??=new Bjs.ExpiringCache(n?"Infinity":t.cacheLifetime?.glob??Bjs.DEFAULT_TSCONFIG_CACHE_DURATION_SECONDS),tsconfigRootDir:i};if(f.projectService&&t.project&&process.env.TYPESCRIPT_ESLINT_IGNORE_PROJECT_AND_PROJECT_SERVICE_ERROR!=="true")throw new Error('Enabling "project" does nothing when "projectService" is enabled. You can remove the "project" setting.');if(f.debugLevel.size>0){let p=[];f.debugLevel.has("typescript-eslint")&&p.push("typescript-eslint:*"),(f.debugLevel.has("eslint")||tgn.default.enabled("eslint:*,-eslint:code-path"))&&p.push("eslint:*,-eslint:code-path"),tgn.default.enable(p.join(","))}if(Array.isArray(t.programs)){if(!t.programs.length)throw new Error("You have set parserOptions.programs to an empty array. This will cause all files to not be found in existing programs. Either provide one or more existing TypeScript Program instances in the array, or remove the parserOptions.programs setting.");M_f("parserOptions.programs was provided, so parserOptions.project will be ignored.")}return!f.programs&&!f.projectService&&(f.projects=(0,F_f.resolveProjectList)({cacheLifetime:t.cacheLifetime,project:(0,O_f.getProjectConfigFiles)(f,t.project),projectFolderIgnoreList:t.projectFolderIgnoreList,singleRun:f.singleRun,tsconfigRootDir:i})),t.jsDocParsingMode==null&&f.projects.size===0&&f.programs==null&&f.projectService==null&&(f.jsDocParsingMode=B1t.ParseNone),(0,L_f.warnAboutTSVersion)(f,s),f}function j_f(){Pjs?.clear()}function U_f(){rgn=null}function q_f(e){return(0,P_f.isSourceFile)(e)?e.getFullText(e):typeof e=="string"?e:String(e)}function Y_f(e){return e?"estree.tsx":"estree.ts"}function G_f(e,t){let r=typeof e=="object"?e:{};return(0,k_f.validateDefaultProjectForFilesGlob)(r.allowDefaultProject),rgn??=(0,w_f.createProjectService)({options:r,...t}),rgn}});var Fjs=j(ign=>{"use strict";Object.defineProperty(ign,"__esModule",{value:!0});ign.getFirstSemanticOrSyntacticError=V_f;var Njs=vc();function V_f(e,t){try{let r=Ojs(e.getSyntacticDiagnostics(t));if(r.length>0)return Rjs(r[0]);let n=Ojs(e.getSemanticDiagnostics(t));return n.length>0?Rjs(n[0]):void 0}catch(r){console.warn(`Warning From TSC: "${r.message}`);return}}function Ojs(e){return e.filter(t=>{switch(t.code){case 1013:case 1014:case 1044:case 1045:case 1048:case 1049:case 1070:case 1071:case 1085:case 1090:case 1096:case 1097:case 1098:case 1099:case 1117:case 1121:case 1123:case 1141:case 1162:case 1164:case 1172:case 1173:case 1175:case 1176:case 1190:case 1196:case 1200:case 1206:case 1211:case 1242:case 1246:case 1255:case 1308:case 2364:case 2369:case 2452:case 2462:case 8017:case 17012:case 17013:return!0}return!1})}function Rjs(e){return{...e,message:(0,Njs.flattenDiagnosticMessageText)(e.messageText,Njs.sys.newLine)}}});var Gjs=j((OVA,Yjs)=>{var Ljs=ZSe();Yjs.exports=J_f;var Mjs="\0SLASH"+Math.random()+"\0",Qjs="\0OPEN"+Math.random()+"\0",agn="\0CLOSE"+Math.random()+"\0",jjs="\0COMMA"+Math.random()+"\0",Ujs="\0PERIOD"+Math.random()+"\0";function sgn(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function $_f(e){return e.split("\\\\").join(Mjs).split("\\{").join(Qjs).split("\\}").join(agn).split("\\,").join(jjs).split("\\.").join(Ujs)}function K_f(e){return e.split(Mjs).join("\\").split(Qjs).join("{").split(agn).join("}").split(jjs).join(",").split(Ujs).join(".")}function qjs(e){if(!e)return[""];var t=[],r=Ljs("{","}",e);if(!r)return e.split(",");var n=r.pre,i=r.body,s=r.post,a=n.split(",");a[a.length-1]+="{"+i+"}";var u=qjs(s);return s.length&&(a[a.length-1]+=u.shift(),a.push.apply(a,u)),t.push.apply(t,a),t}function J_f(e){return e?(e.substr(0,2)==="{}"&&(e="\\{\\}"+e.substr(2)),k1t($_f(e),!0).map(K_f)):[]}function H_f(e){return"{"+e+"}"}function z_f(e){return/^-?0\d/.test(e)}function W_f(e,t){return e<=t}function X_f(e,t){return e>=t}function k1t(e,t){var r=[],n=Ljs("{","}",e);if(!n)return[e];var i=n.pre,s=n.post.length?k1t(n.post,!1):[""];if(/\$$/.test(n.pre))for(var a=0;a=0;if(!p&&!g)return n.post.match(/,(?!,).*\}/)?(e=n.pre+"{"+n.body+agn+n.post,k1t(e)):[e];var A;if(p)A=n.body.split(/\.\./);else if(A=qjs(n.body),A.length===1&&(A=k1t(A[0],!1).map(H_f),A.length===1))return s.map(function(ue){return n.pre+A[0]+ue});var h;if(p){var _=sgn(A[0]),E=sgn(A[1]),b=Math.max(A[0].length,A[1].length),D=A.length==3?Math.abs(sgn(A[2])):1,k=W_f,M=E<_;M&&(D*=-1,k=X_f);var R=A.some(z_f);h=[];for(var q=_;k(q,E);q+=D){var G;if(f)G=String.fromCharCode(q),G==="\\"&&(G="");else if(G=String(q),R){var K=b-G.length;if(K>0){var Z=new Array(K+1).join("0");q<0?G="-"+Z+G.slice(1):G=Z+G}}h.push(G)}}else{h=[];for(var oe=0;oe{"use strict";Object.defineProperty(cZt,"__esModule",{value:!0});cZt.assertValidPattern=void 0;var Z_f=1024*64,eEf=e=>{if(typeof e!="string")throw new TypeError("invalid pattern");if(e.length>Z_f)throw new TypeError("pattern is too long")};cZt.assertValidPattern=eEf});var Kjs=j(fZt=>{"use strict";Object.defineProperty(fZt,"__esModule",{value:!0});fZt.parseClass=void 0;var tEf={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},P1t=e=>e.replace(/[[\]\\-]/g,"\\$&"),rEf=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),$js=e=>e.join(""),nEf=(e,t)=>{let r=t;if(e.charAt(r)!=="[")throw new Error("not in a brace expression");let n=[],i=[],s=r+1,a=!1,u=!1,l=!1,f=!1,p=r,g="";e:for(;sg?n.push(P1t(g)+"-"+P1t(E)):E===g&&n.push(P1t(E)),g="",s++;continue}if(e.startsWith("-]",s+1)){n.push(P1t(E+"-")),s+=2;continue}if(e.startsWith("-",s+1)){g=E,s+=2;continue}n.push(P1t(E)),s++}if(p{"use strict";Object.defineProperty(pZt,"__esModule",{value:!0});pZt.unescape=void 0;var iEf=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/\[([^\/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");pZt.unescape=iEf});var lgn=j(AZt=>{"use strict";Object.defineProperty(AZt,"__esModule",{value:!0});AZt.AST=void 0;var sEf=Kjs(),mZt=dZt(),aEf=new Set(["!","?","+","*","@"]),Jjs=e=>aEf.has(e),oEf="(?!(?:^|/)\\.\\.?(?:$|/))",gZt="(?!\\.)",uEf=new Set(["[","."]),lEf=new Set(["..","."]),cEf=new Set("().*{}+?[]^$\\!"),fEf=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ugn="[^/]",Hjs=ugn+"*?",zjs=ugn+"+?",ogn=class e{type;#e;#t;#r=!1;#n=[];#i;#a;#s;#o=!1;#u;#l;#c=!1;constructor(t,r,n={}){this.type=t,t&&(this.#t=!0),this.#i=r,this.#e=this.#i?this.#i.#e:this,this.#u=this.#e===this?n:this.#e.#u,this.#s=this.#e===this?[]:this.#e.#s,t==="!"&&!this.#e.#o&&this.#s.push(this),this.#a=this.#i?this.#i.#n.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let t of this.#n)if(typeof t!="string"&&(t.type||t.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l!==void 0?this.#l:this.type?this.#l=this.type+"("+this.#n.map(t=>String(t)).join("|")+")":this.#l=this.#n.map(t=>String(t)).join("")}#f(){if(this!==this.#e)throw new Error("should only call on root");if(this.#o)return this;this.toString(),this.#o=!0;let t;for(;t=this.#s.pop();){if(t.type!=="!")continue;let r=t,n=r.#i;for(;n;){for(let i=r.#a+1;!n.type&&itypeof r=="string"?r:r.toJSON()):[this.type,...this.#n.map(r=>r.toJSON())];return this.isStart()&&!this.type&&t.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#o&&this.#i?.type==="!")&&t.push({}),t}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#a===0)return!0;let t=this.#i;for(let r=0;r{let[_,E,b,D]=typeof h=="string"?e.#m(h,this.#t,l):h.toRegExpSource(t);return this.#t=this.#t||b,this.#r=this.#r||D,_}).join(""),p="";if(this.isStart()&&typeof this.#n[0]=="string"&&!(this.#n.length===1&&lEf.has(this.#n[0]))){let _=uEf,E=r&&_.has(f.charAt(0))||f.startsWith("\\.")&&_.has(f.charAt(2))||f.startsWith("\\.\\.")&&_.has(f.charAt(4)),b=!r&&!t&&_.has(f.charAt(0));p=E?oEf:b?gZt:""}let g="";return this.isEnd()&&this.#e.#o&&this.#i?.type==="!"&&(g="(?:$|\\/)"),[p+f+g,(0,mZt.unescape)(f),this.#t=!!this.#t,this.#r]}let n=this.type==="*"||this.type==="+",i=this.type==="!"?"(?:(?!(?:":"(?:",s=this.#d(r);if(this.isStart()&&this.isEnd()&&!s&&this.type!=="!"){let l=this.toString();return this.#n=[l],this.type=null,this.#t=void 0,[l,(0,mZt.unescape)(this.toString()),!1,!1]}let a=!n||t||r||!gZt?"":this.#d(!0);a===s&&(a=""),a&&(s=`(?:${s})(?:${a})*?`);let u="";if(this.type==="!"&&this.#c)u=(this.isStart()&&!r?gZt:"")+zjs;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!t?gZt:"")+Hjs+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;u=i+s+l}return[u,(0,mZt.unescape)(s),this.#t=!!this.#t,this.#r]}#d(t){return this.#n.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[n,i,s,a]=r.toRegExpSource(t);return this.#r=this.#r||a,n}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#m(t,r,n=!1){let i=!1,s="",a=!1;for(let u=0;u{"use strict";Object.defineProperty(hZt,"__esModule",{value:!0});hZt.escape=void 0;var pEf=(e,{windowsPathsNoEscape:t=!1}={})=>t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&");hZt.escape=pEf});var nUs=j(LA=>{"use strict";var dEf=LA&&LA.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(LA,"__esModule",{value:!0});LA.unescape=LA.escape=LA.AST=LA.Minimatch=LA.match=LA.makeRe=LA.braceExpand=LA.defaults=LA.filter=LA.GLOBSTAR=LA.sep=LA.minimatch=void 0;var mEf=dEf(Gjs()),yZt=Vjs(),Zjs=lgn(),gEf=cgn(),AEf=dZt(),hEf=(e,t,r={})=>((0,yZt.assertValidPattern)(t),!r.nocomment&&t.charAt(0)==="#"?!1:new v5e(t,r).match(e));LA.minimatch=hEf;var yEf=/^\*+([^+@!?\*\[\(]*)$/,_Ef=e=>t=>!t.startsWith(".")&&t.endsWith(e),EEf=e=>t=>t.endsWith(e),xEf=e=>(e=e.toLowerCase(),t=>!t.startsWith(".")&&t.toLowerCase().endsWith(e)),vEf=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),CEf=/^\*+\.\*+$/,bEf=e=>!e.startsWith(".")&&e.includes("."),IEf=e=>e!=="."&&e!==".."&&e.includes("."),SEf=/^\.\*+$/,TEf=e=>e!=="."&&e!==".."&&e.startsWith("."),DEf=/^\*+$/,wEf=e=>e.length!==0&&!e.startsWith("."),BEf=e=>e.length!==0&&e!=="."&&e!=="..",kEf=/^\?+([^+@!?\*\[\(]*)?$/,PEf=([e,t=""])=>{let r=eUs([e]);return t?(t=t.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(t)):r},NEf=([e,t=""])=>{let r=tUs([e]);return t?(t=t.toLowerCase(),n=>r(n)&&n.toLowerCase().endsWith(t)):r},OEf=([e,t=""])=>{let r=tUs([e]);return t?n=>r(n)&&n.endsWith(t):r},REf=([e,t=""])=>{let r=eUs([e]);return t?n=>r(n)&&n.endsWith(t):r},eUs=([e])=>{let t=e.length;return r=>r.length===t&&!r.startsWith(".")},tUs=([e])=>{let t=e.length;return r=>r.length===t&&r!=="."&&r!==".."},rUs=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Wjs={win32:{sep:"\\"},posix:{sep:"/"}};LA.sep=rUs==="win32"?Wjs.win32.sep:Wjs.posix.sep;LA.minimatch.sep=LA.sep;LA.GLOBSTAR=Symbol("globstar **");LA.minimatch.GLOBSTAR=LA.GLOBSTAR;var FEf="[^/]",LEf=FEf+"*?",MEf="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",QEf="(?:(?!(?:\\/|^)\\.).)*?",jEf=(e,t={})=>r=>(0,LA.minimatch)(r,e,t);LA.filter=jEf;LA.minimatch.filter=LA.filter;var oZ=(e,t={})=>Object.assign({},e,t),UEf=e=>{if(!e||typeof e!="object"||!Object.keys(e).length)return LA.minimatch;let t=LA.minimatch;return Object.assign((n,i,s={})=>t(n,i,oZ(e,s)),{Minimatch:class extends t.Minimatch{constructor(i,s={}){super(i,oZ(e,s))}static defaults(i){return t.defaults(oZ(e,i)).Minimatch}},AST:class extends t.AST{constructor(i,s,a={}){super(i,s,oZ(e,a))}static fromGlob(i,s={}){return t.AST.fromGlob(i,oZ(e,s))}},unescape:(n,i={})=>t.unescape(n,oZ(e,i)),escape:(n,i={})=>t.escape(n,oZ(e,i)),filter:(n,i={})=>t.filter(n,oZ(e,i)),defaults:n=>t.defaults(oZ(e,n)),makeRe:(n,i={})=>t.makeRe(n,oZ(e,i)),braceExpand:(n,i={})=>t.braceExpand(n,oZ(e,i)),match:(n,i,s={})=>t.match(n,i,oZ(e,s)),sep:t.sep,GLOBSTAR:LA.GLOBSTAR})};LA.defaults=UEf;LA.minimatch.defaults=LA.defaults;var qEf=(e,t={})=>((0,yZt.assertValidPattern)(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:(0,mEf.default)(e));LA.braceExpand=qEf;LA.minimatch.braceExpand=LA.braceExpand;var YEf=(e,t={})=>new v5e(e,t).makeRe();LA.makeRe=YEf;LA.minimatch.makeRe=LA.makeRe;var GEf=(e,t,r={})=>{let n=new v5e(t,r);return e=e.filter(i=>n.match(i)),n.options.nonull&&!e.length&&e.push(t),e};LA.match=GEf;LA.minimatch.match=LA.match;var Xjs=/[?*]|[+@!]\(.*?\)|\[|\]/,VEf=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),v5e=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(t,r={}){(0,yZt.assertValidPattern)(t),r=r||{},this.options=r,this.pattern=t,this.platform=r.platform||rUs,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let t of this.set)for(let r of t)if(typeof r!="string")return!0;return!1}debug(...t){}make(){let t=this.pattern,r=this.options;if(!r.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...s)=>console.error(...s)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(s=>this.slashSplit(s));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let i=this.globParts.map((s,a,u)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=s[0]===""&&s[1]===""&&(s[2]==="?"||!Xjs.test(s[2]))&&!Xjs.test(s[3]),f=/^[a-z]:/i.test(s[0]);if(l)return[...s.slice(0,4),...s.slice(4).map(p=>this.parse(p))];if(f)return[s[0],...s.slice(1).map(p=>this.parse(p))]}return s.map(l=>this.parse(l))});if(this.debug(this.pattern,i),this.set=i.filter(s=>s.indexOf(!1)===-1),this.isWindows)for(let s=0;s=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):r>=1?t=this.levelOneOptimize(t):t=this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(t){return t.map(r=>{let n=-1;for(;(n=r.indexOf("**",n+1))!==-1;){let i=n;for(;r[i+1]==="**";)i++;i!==n&&r.splice(n,i-n)}return r})}levelOneOptimize(t){return t.map(r=>(r=r.reduce((n,i)=>{let s=n[n.length-1];return i==="**"&&s==="**"?n:i===".."&&s&&s!==".."&&s!=="."&&s!=="**"?(n.pop(),n):(n.push(i),n)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(t){Array.isArray(t)||(t=this.slashSplit(t));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let i=1;ii&&n.splice(i+1,a-i);let u=n[i+1],l=n[i+2],f=n[i+3];if(u!==".."||!l||l==="."||l===".."||!f||f==="."||f==="..")continue;r=!0,n.splice(i,1);let p=n.slice(0);p[i]="**",t.push(p),i--}if(!this.preserveMultipleSlashes){for(let a=1;ar.length)}partsMatch(t,r,n=!1){let i=0,s=0,a=[],u="";for(;iM?r=r.slice(R):M>R&&(t=t.slice(M)))}}let{optimizationLevel:s=1}=this.options;s>=2&&(t=this.levelTwoFileOptimize(t)),this.debug("matchOne",this,{file:t,pattern:r}),this.debug("matchOne",t.length,r.length);for(var a=0,u=0,l=t.length,f=r.length;a>> no match, partial?`,t,A,r,h),A===l))}let E;if(typeof p=="string"?(E=g===p,this.debug("string match",p,g,E)):(E=p.test(g),this.debug("pattern match",p,g,E)),!E)return!1}if(a===l&&u===f)return!0;if(a===l)return n;if(u===f)return a===l-1&&t[a]==="";throw new Error("wtf?")}braceExpand(){return(0,LA.braceExpand)(this.pattern,this.options)}parse(t){(0,yZt.assertValidPattern)(t);let r=this.options;if(t==="**")return LA.GLOBSTAR;if(t==="")return"";let n,i=null;(n=t.match(DEf))?i=r.dot?BEf:wEf:(n=t.match(yEf))?i=(r.nocase?r.dot?vEf:xEf:r.dot?EEf:_Ef)(n[1]):(n=t.match(kEf))?i=(r.nocase?r.dot?NEf:PEf:r.dot?OEf:REf)(n):(n=t.match(CEf))?i=r.dot?IEf:bEf:(n=t.match(SEf))&&(i=TEf);let s=Zjs.AST.fromGlob(t,this.options).toMMPattern();return i&&typeof s=="object"&&Reflect.defineProperty(s,"test",{value:i}),s}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let t=this.set;if(!t.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?LEf:r.dot?MEf:QEf,i=new Set(r.nocase?["i"]:[]),s=t.map(l=>{let f=l.map(p=>{if(p instanceof RegExp)for(let g of p.flags.split(""))i.add(g);return typeof p=="string"?VEf(p):p===LA.GLOBSTAR?LA.GLOBSTAR:p._src});return f.forEach((p,g)=>{let A=f[g+1],h=f[g-1];p!==LA.GLOBSTAR||h===LA.GLOBSTAR||(h===void 0?A!==void 0&&A!==LA.GLOBSTAR?f[g+1]="(?:\\/|"+n+"\\/)?"+A:f[g]=n:A===void 0?f[g-1]=h+"(?:\\/|"+n+")?":A!==LA.GLOBSTAR&&(f[g-1]=h+"(?:\\/|\\/"+n+"\\/)"+A,f[g+1]=LA.GLOBSTAR))}),f.filter(p=>p!==LA.GLOBSTAR).join("/")}).join("|"),[a,u]=t.length>1?["(?:",")"]:["",""];s="^"+a+s+u+"$",this.negate&&(s="^(?!"+s+").+$");try{this.regexp=new RegExp(s,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(t){return this.preserveMultipleSlashes?t.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(t)?["",...t.split(/\/+/)]:t.split(/\/+/)}match(t,r=this.partial){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return t==="";if(t==="/"&&r)return!0;let n=this.options;this.isWindows&&(t=t.split("\\").join("/"));let i=this.slashSplit(t);this.debug(this.pattern,"split",i);let s=this.set;this.debug(this.pattern,"set",s);let a=i[i.length-1];if(!a)for(let u=i.length-2;!a&&u>=0;u--)a=i[u];for(let u=0;u{"use strict";var HEf=wse&&wse.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),zEf=wse&&wse.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),WEf=wse&&wse.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let r=iUs.get(e)??[];exf.default.isDeepStrictEqual(r,t)||(HK("Updating extra file extensions: before=%s: after=%s",r,t),e.setHostConfiguration({extraFileExtensions:t.map(n=>({extension:n,isMixedContent:!1,scriptKind:txf.ScriptKind.Deferred}))}),iUs.set(e,t),HK("Extra file extensions updated: %o",t))};function uxf(e,t,r,n,i){let s=u();if(HK("Result from attempting to open client file: %o",s),HK("Default project allowed path: %s, based on config file: %s",t,s.configFileName),s.configFileName){if(t)throw new Error(`${n.filePath} was included by allowDefaultProject but also was found in the project service. Consider removing it from allowDefaultProject.`)}else{let l=`${n.filePath} was not found by the project service`,f=N1t.default.extname(n.filePath),p=n.extraFileExtensions;if(!ixf.DEFAULT_EXTRA_FILE_EXTENSIONS.has(f)&&!p.includes(f)){let g=`${l} because the extension for the file (\`${f}\`) is non-standard`;throw p.length>0?new Error(`${g}. It should be added to your existing \`parserOptions.extraFileExtensions\`.`):new Error(`${g}. You should add \`parserOptions.extraFileExtensions\` to your config.`)}if(!t){let g=`${l}. Consider either including it in the tsconfig.json or including it in allowDefaultProject.`,A=n.projectService?.allowDefaultProject;if(!A)throw new Error(g);let h=N1t.default.relative(n.tsconfigRootDir,r);throw new Error([g,`allowDefaultProject is set to ${JSON.stringify(A)}, which does not match '${h}'.`].join(` `))}}if(!s.configFileName&&(e.add(r),e.size>i.maximumDefaultProjectFileMatchCount)){let f=[...e].slice(0,20),p=e.size-f.length;throw new Error(`Too many files (>${i.maximumDefaultProjectFileMatchCount}) have matched the default project.${sxf.DEFAULT_PROJECT_FILES_ERROR_EXPLANATION} Matching files: ${f.map(g=>`- ${g}`).join(` `)} ${p?`...and ${p} more files `:""} If you absolutely need more files included, set parserOptions.projectService.maximumDefaultProjectFileMatchCount_THIS_WILL_SLOW_DOWN_LINTING to a larger value. `)}return s;function a(){return i.service.openClientFile(r,n.codeFullText,void 0,n.tsconfigRootDir)}function u(){HK("Opening project service client file at path: %s",r);let l=a();return!l.configFileErrors&&!l.configFileName&&!n.singleRun&&!t&&performance.now()-i.lastReloadTimestamp>axf&&(HK("No config file found; reloading project service and retrying."),i.service.reloadProjects(),l=a(),i.lastReloadTimestamp=performance.now()),l}}function lxf(e,t,r){return HK("No project service information available. Creating no program."),r.getScriptInfo(e)&&(HK("Script info available. Opening client file in project service."),r.openClientFile(e,t.codeFullText,void 0,t.tsconfigRootDir)),(0,nxf.createNoProgram)(t)}function cxf(e,t,r){HK("Retrieving script info and then program for: %s",e);let n=r.service.getScriptInfo(e),i=r.service.getDefaultProjectForFile(n.fileName,!0).getLanguageService(!0).getProgram();if(!i){HK("Could not find project service program for: %s",e);return}return HK("Found project service program for: %s",e),(0,rxf.createProjectProgram)(t,[i])}function fxf(e,t,r,n){oxf(e.service,t.extraFileExtensions);let i=pxf(t.filePath,e);HK("Opening project service file for: %s at absolute path %s",t.filePath,i);let s=N1t.default.relative(t.tsconfigRootDir,i),a=dxf(s,e.allowDefaultProject);if(!r&&!a)return lxf(i,t,e.service);let u=r&&uxf(n,a,i,t,e);return HK("Opened project service file: %o",u),cxf(i,t,e)}function pxf(e,t){return N1t.default.isAbsolute(e)?e:N1t.default.join(t.service.host.getCurrentDirectory(),e)}function dxf(e,t){return!!t?.some(r=>(0,ZEf.minimatch)(e,r,{dot:!0}))}});var dgn=j(Fye=>{"use strict";var mxf=Fye&&Fye.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Fye,"__esModule",{value:!0});Fye.clearProgramCache=bxf;Fye.clearDefaultProjectMatchedFiles=Ixf;Fye.parse=Txf;Fye.clearParseAndGenerateServicesCalls=wxf;Fye.parseAndGenerateServices=Bxf;var gxf=mxf(B1()),aUs=cQs(),Axf=tmn(),hxf=fQs(),yxf=Smn(),oUs=Tmn(),_xf=zdn(),uUs=wmn(),Exf=EQs(),lUs=ngn(),xxf=Fjs(),vxf=sUs(),Cxf=(0,gxf.default)("typescript-eslint:typescript-estree:parser"),pgn=new Map;function bxf(){pgn.clear()}var cUs=new Set;function Ixf(){cUs.clear()}function Sxf(e,t){if(e.projectService){let r=(0,vxf.useProgramFromProjectService)(e.projectService,e,t,cUs);if(r)return r}return e.programs?(0,uUs.useProvidedPrograms)(e.programs,e):t?(0,yxf.createProjectProgram)(e,(0,_xf.getWatchProgramsForProjects)(e)):(0,oUs.createNoProgram)(e)}function Txf(e,t){let{ast:r}=Dxf(e,t,!1);return r}function Dxf(e,t,r){let n=(0,lUs.createParseSettings)(e,t);if(t?.errorOnTypeScriptSyntacticAndSemanticIssues)throw new Error('"errorOnTypeScriptSyntacticAndSemanticIssues" is only supported for parseAndGenerateServices()');let i=(0,oUs.createSourceFile)(n),{astMaps:s,estree:a}=(0,aUs.astConverter)(i,n,r);return{ast:a,esTreeNodeToTSNodeMap:s.esTreeNodeToTSNodeMap,tsNodeToESTreeNodeMap:s.tsNodeToESTreeNodeMap}}var _Zt={};function wxf(){_Zt={}}function Bxf(e,t){let r=(0,lUs.createParseSettings)(e,t);r.singleRun&&!r.programs&&r.projects.size>0&&(r.programs={*[Symbol.iterator](){for(let f of r.projects){let p=pgn.get(f[0]);if(p)yield p;else{Cxf("Detected single-run/CLI usage, creating Program once ahead of time for project: %s",f);let g=(0,uUs.createProgramFromConfigFile)(f[1]);pgn.set(f[0],g),yield g}}}});let n=r.programs!=null||r.projects.size>0||!!r.projectService;if(typeof t.errorOnTypeScriptSyntacticAndSemanticIssues=="boolean"&&t.errorOnTypeScriptSyntacticAndSemanticIssues&&(r.errorOnTypeScriptSyntacticAndSemanticIssues=!0),r.errorOnTypeScriptSyntacticAndSemanticIssues&&!n)throw new Error("Cannot calculate TypeScript semantic issues without a valid project.");r.singleRun&&t.filePath&&(_Zt[t.filePath]=(_Zt[t.filePath]||0)+1);let{ast:i,program:s}=r.singleRun&&t.filePath&&_Zt[t.filePath]>1?(0,hxf.createIsolatedProgram)(r):Sxf(r,n),a=typeof r.preserveNodeMaps=="boolean"?r.preserveNodeMaps:!0,{astMaps:u,estree:l}=(0,aUs.astConverter)(i,r,a);if(s&&r.errorOnTypeScriptSyntacticAndSemanticIssues){let f=(0,xxf.getFirstSemanticOrSyntacticError)(s,i);if(f)throw(0,Axf.convertError)(f)}return{ast:l,services:(0,Exf.createParserServices)(u,s)}}});var mUs=j(O1t=>{"use strict";Object.defineProperty(O1t,"__esModule",{value:!0});O1t.clearProgramCache=void 0;O1t.clearCaches=dUs;var kxf=zdn(),fUs=dgn(),Pxf=rZt(),pUs=ngn(),Nxf=Zmn();function dUs(){(0,Pxf.clearCandidateTSConfigRootDirs)(),(0,fUs.clearDefaultProjectMatchedFiles)(),(0,fUs.clearProgramCache)(),(0,kxf.clearWatchCaches)(),(0,pUs.clearTSConfigMatchCache)(),(0,pUs.clearTSServerProjectService)(),(0,Nxf.clearGlobCache)()}O1t.clearProgramCache=dUs});var gUs=j(mgn=>{"use strict";Object.defineProperty(mgn,"__esModule",{value:!0});mgn.withoutProjectParserOptions=Oxf;function Oxf(e){let{EXPERIMENTAL_useProjectService:t,project:r,projectService:n,...i}=e;return i}});var R1t=j(SC=>{"use strict";var Rxf=SC&&SC.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),EZt=SC&&SC.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Rxf(t,e,r)};Object.defineProperty(SC,"__esModule",{value:!0});SC.withoutProjectParserOptions=SC.version=SC.typescriptVersionIsAtLeast=SC.simpleTraverse=SC.clearCandidateTSConfigRootDirs=SC.addCandidateTSConfigRootDir=SC.parseAndGenerateServices=SC.parse=SC.TSError=SC.createProgram=SC.getCanonicalFileName=void 0;EZt(mUs(),SC);EZt(ZXt(),SC);var Fxf=cpe();Object.defineProperty(SC,"getCanonicalFileName",{enumerable:!0,get:function(){return Fxf.getCanonicalFileName}});var Lxf=wmn();Object.defineProperty(SC,"createProgram",{enumerable:!0,get:function(){return Lxf.createProgramFromConfigFile}});EZt(p1t(),SC);var Mxf=A5e();Object.defineProperty(SC,"TSError",{enumerable:!0,get:function(){return Mxf.TSError}});var AUs=dgn();Object.defineProperty(SC,"parse",{enumerable:!0,get:function(){return AUs.parse}});Object.defineProperty(SC,"parseAndGenerateServices",{enumerable:!0,get:function(){return AUs.parseAndGenerateServices}});var hUs=rZt();Object.defineProperty(SC,"addCandidateTSConfigRootDir",{enumerable:!0,get:function(){return hUs.addCandidateTSConfigRootDir}});Object.defineProperty(SC,"clearCandidateTSConfigRootDirs",{enumerable:!0,get:function(){return hUs.clearCandidateTSConfigRootDirs}});var Qxf=bmn();Object.defineProperty(SC,"simpleTraverse",{enumerable:!0,get:function(){return Qxf.simpleTraverse}});EZt(d1t(),SC);var jxf=VXt();Object.defineProperty(SC,"typescriptVersionIsAtLeast",{enumerable:!0,get:function(){return jxf.typescriptVersionIsAtLeast}});var Uxf=egn();Object.defineProperty(SC,"version",{enumerable:!0,get:function(){return Uxf.version}});var qxf=gUs();Object.defineProperty(SC,"withoutProjectParserOptions",{enumerable:!0,get:function(){return qxf.withoutProjectParserOptions}})});var EUs=j(KVe=>{"use strict";var Yxf=KVe&&KVe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(KVe,"__esModule",{value:!0});KVe.parse=zxf;KVe.parseForESLint=_Us;var Gxf=nL(),Vxf=R1t(),$xf=wVe(),Kxf=Yxf(B1()),uZ=vc(),ggn=(0,Kxf.default)("typescript-eslint:parser:parser");function yUs(e,t=!1){return typeof e!="boolean"?t:e}var Jxf=/lib\.(.+)\.d\.[cm]?ts$/;function Hxf(e){if(e.lib)return e.lib.map(r=>Jxf.exec(r.toLowerCase())?.[1]).filter(r=>!!r);switch(e.target??uZ.ScriptTarget.ES5){case uZ.ScriptTarget.ES2015:return["es6"];case uZ.ScriptTarget.ES2016:return["es2016.full"];case uZ.ScriptTarget.ES2017:return["es2017.full"];case uZ.ScriptTarget.ES2018:return["es2018.full"];case uZ.ScriptTarget.ES2019:return["es2019.full"];case uZ.ScriptTarget.ES2020:return["es2020.full"];case uZ.ScriptTarget.ES2021:return["es2021.full"];case uZ.ScriptTarget.ES2022:return["es2022.full"];case uZ.ScriptTarget.ES2023:return["es2023.full"];case uZ.ScriptTarget.ES2024:return["es2024.full"];case uZ.ScriptTarget.ESNext:return["esnext.full"];default:return["lib"]}}function zxf(e,t){return _Us(e,t).ast}function _Us(e,t){!t||typeof t!="object"?t={}:t={...t},t.sourceType!=="module"&&t.sourceType!=="script"&&(t.sourceType="script"),typeof t.ecmaFeatures!="object"&&(t.ecmaFeatures={});let r=yUs(t.warnOnUnsupportedTypeScriptVersion,!0),n={jsx:yUs(t.ecmaFeatures.jsx),...!r&&{loggerFn:!1},...t,errorOnTypeScriptSyntacticAndSemanticIssues:!1,comment:!0,loc:!0,range:!0,tokens:!0},i={globalReturn:t.ecmaFeatures.globalReturn,jsxFragmentName:t.jsxFragmentName,jsxPragma:t.jsxPragma,lib:t.lib,sourceType:t.sourceType},{ast:s,services:a}=(0,Vxf.parseAndGenerateServices)(e,n);if(s.sourceType=t.sourceType,a.program){let l=a.program.getCompilerOptions();if(i.lib==null&&(i.lib=Hxf(l),ggn("Resolved libs from program: %o",i.lib)),i.jsxPragma===void 0&&l.jsxFactory!=null){let f=l.jsxFactory.split(".")[0].trim();i.jsxPragma=f,ggn("Resolved jsxPragma from program: %s",i.jsxPragma)}if(i.jsxFragmentName===void 0&&l.jsxFragmentFactory!=null){let f=l.jsxFragmentFactory.split(".")[0].trim();i.jsxFragmentName=f,ggn("Resolved jsxFragmentName from program: %s",i.jsxFragmentName)}}let u=(0,Gxf.analyze)(s,i);return a.emitDecoratorMetadata??=t.emitDecoratorMetadata===!0,a.experimentalDecorators??=t.experimentalDecorators===!0,a.isolatedDeclarations??=t.isolatedDeclarations===!0,{ast:s,scopeManager:u,services:a,visitorKeys:$xf.visitorKeys}}});var hgn=j(jO=>{"use strict";Object.defineProperty(jO,"__esModule",{value:!0});jO.meta=jO.version=jO.withoutProjectParserOptions=jO.createProgram=jO.clearCaches=jO.parseForESLint=jO.parse=void 0;var xUs=EUs();Object.defineProperty(jO,"parse",{enumerable:!0,get:function(){return xUs.parse}});Object.defineProperty(jO,"parseForESLint",{enumerable:!0,get:function(){return xUs.parseForESLint}});var Agn=R1t();Object.defineProperty(jO,"clearCaches",{enumerable:!0,get:function(){return Agn.clearCaches}});Object.defineProperty(jO,"createProgram",{enumerable:!0,get:function(){return Agn.createProgram}});Object.defineProperty(jO,"withoutProjectParserOptions",{enumerable:!0,get:function(){return Agn.withoutProjectParserOptions}});jO.version=require("./package-5W62FCEN.json").version;jO.meta={name:"typescript-eslint/parser",version:jO.version}});var CUs=j((zVA,vUs)=>{"use strict";vUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","class-methods-use-this":"off","@typescript-eslint/class-methods-use-this":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","consistent-return":"off","@typescript-eslint/consistent-return":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","@typescript-eslint/consistent-type-exports":"error","@typescript-eslint/consistent-type-imports":"error","default-param-last":"off","@typescript-eslint/default-param-last":"error","dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/explicit-function-return-type":"error","@typescript-eslint/explicit-member-accessibility":"error","@typescript-eslint/explicit-module-boundary-types":"error","init-declarations":"off","@typescript-eslint/init-declarations":"error","max-params":"off","@typescript-eslint/max-params":"error","@typescript-eslint/member-ordering":"error","@typescript-eslint/method-signature-style":"error","@typescript-eslint/naming-convention":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","no-dupe-class-members":"off","@typescript-eslint/no-dupe-class-members":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-dynamic-delete":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-inferrable-types":"error","no-invalid-this":"off","@typescript-eslint/no-invalid-this":"error","@typescript-eslint/no-invalid-void-type":"error","no-loop-func":"off","@typescript-eslint/no-loop-func":"error","no-magic-numbers":"off","@typescript-eslint/no-magic-numbers":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","no-redeclare":"off","@typescript-eslint/no-redeclare":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","no-restricted-imports":"off","@typescript-eslint/no-restricted-imports":"error","@typescript-eslint/no-restricted-types":"error","no-shadow":"off","@typescript-eslint/no-shadow":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-parameter-property-assignment":"error","@typescript-eslint/no-unnecessary-qualifier":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unnecessary-type-conversion":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-type-assertion":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-private-class-members":"off","@typescript-eslint/no-unused-private-class-members":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-use-before-define":"off","@typescript-eslint/no-use-before-define":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-useless-empty-export":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/parameter-properties":"error","@typescript-eslint/prefer-as-const":"error","prefer-destructuring":"off","@typescript-eslint/prefer-destructuring":"error","@typescript-eslint/prefer-enum-initializers":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-readonly":"error","@typescript-eslint/prefer-readonly-parameter-types":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/prefer-string-starts-ends-with":"error","@typescript-eslint/promise-function-async":"error","@typescript-eslint/related-getter-setter-pairs":"error","@typescript-eslint/require-array-sort-compare":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","no-return-await":"off","@typescript-eslint/return-await":"error","@typescript-eslint/strict-boolean-expressions":"error","@typescript-eslint/switch-exhaustiveness-check":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error","@typescript-eslint/unified-signatures":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}});var IUs=j((WVA,bUs)=>{"use strict";bUs.exports={parser:"@typescript-eslint/parser",parserOptions:{sourceType:"module"},plugins:["@typescript-eslint"]}});var TUs=j((XVA,SUs)=>{"use strict";SUs.exports={parserOptions:{program:null,project:!1,projectService:!1},rules:{"@typescript-eslint/await-thenable":"off","@typescript-eslint/consistent-return":"off","@typescript-eslint/consistent-type-exports":"off","@typescript-eslint/dot-notation":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-array-delete":"off","@typescript-eslint/no-base-to-string":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-deprecated":"off","@typescript-eslint/no-duplicate-type-constituents":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-for-in-array":"off","@typescript-eslint/no-implied-eval":"off","@typescript-eslint/no-meaningless-void-operator":"off","@typescript-eslint/no-misused-promises":"off","@typescript-eslint/no-misused-spread":"off","@typescript-eslint/no-mixed-enums":"off","@typescript-eslint/no-redundant-type-constituents":"off","@typescript-eslint/no-unnecessary-boolean-literal-compare":"off","@typescript-eslint/no-unnecessary-condition":"off","@typescript-eslint/no-unnecessary-qualifier":"off","@typescript-eslint/no-unnecessary-template-expression":"off","@typescript-eslint/no-unnecessary-type-arguments":"off","@typescript-eslint/no-unnecessary-type-assertion":"off","@typescript-eslint/no-unnecessary-type-conversion":"off","@typescript-eslint/no-unnecessary-type-parameters":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/no-unsafe-call":"off","@typescript-eslint/no-unsafe-enum-comparison":"off","@typescript-eslint/no-unsafe-member-access":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/no-unsafe-type-assertion":"off","@typescript-eslint/no-unsafe-unary-minus":"off","@typescript-eslint/non-nullable-type-assertion-style":"off","@typescript-eslint/only-throw-error":"off","@typescript-eslint/prefer-destructuring":"off","@typescript-eslint/prefer-find":"off","@typescript-eslint/prefer-includes":"off","@typescript-eslint/prefer-nullish-coalescing":"off","@typescript-eslint/prefer-optional-chain":"off","@typescript-eslint/prefer-promise-reject-errors":"off","@typescript-eslint/prefer-readonly":"off","@typescript-eslint/prefer-readonly-parameter-types":"off","@typescript-eslint/prefer-reduce-type-parameter":"off","@typescript-eslint/prefer-regexp-exec":"off","@typescript-eslint/prefer-return-this-type":"off","@typescript-eslint/prefer-string-starts-ends-with":"off","@typescript-eslint/promise-function-async":"off","@typescript-eslint/related-getter-setter-pairs":"off","@typescript-eslint/require-array-sort-compare":"off","@typescript-eslint/require-await":"off","@typescript-eslint/restrict-plus-operands":"off","@typescript-eslint/restrict-template-expressions":"off","@typescript-eslint/return-await":"off","@typescript-eslint/strict-boolean-expressions":"off","@typescript-eslint/switch-exhaustiveness-check":"off","@typescript-eslint/unbound-method":"off","@typescript-eslint/use-unknown-in-catch-callback-variable":"off"}}});var ygn=j((ZVA,DUs)=>{"use strict";var Wxf=e=>({files:e==="glob"?["*.ts","*.tsx","*.mts","*.cts"]:["**/*.ts","**/*.tsx","**/*.mts","**/*.cts"],rules:{"constructor-super":"off","getter-return":"off","no-class-assign":"off","no-const-assign":"off","no-dupe-args":"off","no-dupe-class-members":"off","no-dupe-keys":"off","no-func-assign":"off","no-import-assign":"off","no-new-native-nonconstructor":"off","no-new-symbol":"off","no-obj-calls":"off","no-redeclare":"off","no-setter-return":"off","no-this-before-super":"off","no-undef":"off","no-unreachable":"off","no-unsafe-negation":"off","no-var":"error","no-with":"off","prefer-const":"error","prefer-rest-params":"error","prefer-spread":"error"}});DUs.exports=Wxf});var BUs=j((_gn,wUs)=>{"use strict";var Xxf=_gn&&_gn.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Zxf=Xxf(ygn());wUs.exports={overrides:[(0,Zxf.default)("glob")]}});var PUs=j((e$A,kUs)=>{"use strict";kUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/ban-ts-comment":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error"}}});var OUs=j((t$A,NUs)=>{"use strict";NUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","@typescript-eslint/no-wrapper-object-types":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-namespace-keyword":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error"}}});var FUs=j((r$A,RUs)=>{"use strict";RUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","@typescript-eslint/unbound-method":"error"}}});var MUs=j((n$A,LUs)=>{"use strict";LUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/ban-ts-comment":["error",{minimumDescriptionLength:10}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-invalid-void-type":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unified-signatures":"error"}}});var jUs=j((i$A,QUs)=>{"use strict";QUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":["error",{minimumDescriptionLength:10}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-invalid-void-type":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unnecessary-type-conversion":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/related-getter-setter-pairs":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":["error",{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"@typescript-eslint/restrict-template-expressions":["error",{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"no-return-await":"off","@typescript-eslint/return-await":["error","error-handling-correctness-only"],"@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error","@typescript-eslint/unified-signatures":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}});var qUs=j((s$A,UUs)=>{"use strict";UUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-conversion":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/related-getter-setter-pairs":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":["error",{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"@typescript-eslint/restrict-template-expressions":["error",{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"no-return-await":"off","@typescript-eslint/return-await":["error","error-handling-correctness-only"],"@typescript-eslint/unbound-method":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}});var GUs=j((a$A,YUs)=>{"use strict";YUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error"}}});var $Us=j((o$A,VUs)=>{"use strict";VUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-string-starts-ends-with":"error"}}});var JUs=j((u$A,KUs)=>{"use strict";KUs.exports={extends:["./configs/eslintrc/base","./configs/eslintrc/eslint-recommended"],rules:{"dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-string-starts-ends-with":"error"}}});var lZ=j(Egn=>{"use strict";Object.defineProperty(Egn,"__esModule",{value:!0});Egn.default=(e,t)=>({name:"typescript-eslint/base",languageOptions:{parser:t,sourceType:"module"},plugins:{"@typescript-eslint":e}})});var cZ=j(F1t=>{"use strict";var e2f=F1t&&F1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(F1t,"__esModule",{value:!0});var t2f=e2f(ygn());F1t.default=(e,t)=>({...(0,t2f.default)("minimatch"),name:"typescript-eslint/eslint-recommended"})});var zUs=j(L1t=>{"use strict";var HUs=L1t&&L1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(L1t,"__esModule",{value:!0});var r2f=HUs(lZ()),n2f=HUs(cZ());L1t.default=(e,t)=>[(0,r2f.default)(e,t),(0,n2f.default)(e,t),{name:"typescript-eslint/all",rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","class-methods-use-this":"off","@typescript-eslint/class-methods-use-this":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","consistent-return":"off","@typescript-eslint/consistent-return":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","@typescript-eslint/consistent-type-exports":"error","@typescript-eslint/consistent-type-imports":"error","default-param-last":"off","@typescript-eslint/default-param-last":"error","dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/explicit-function-return-type":"error","@typescript-eslint/explicit-member-accessibility":"error","@typescript-eslint/explicit-module-boundary-types":"error","init-declarations":"off","@typescript-eslint/init-declarations":"error","max-params":"off","@typescript-eslint/max-params":"error","@typescript-eslint/member-ordering":"error","@typescript-eslint/method-signature-style":"error","@typescript-eslint/naming-convention":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","no-dupe-class-members":"off","@typescript-eslint/no-dupe-class-members":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-dynamic-delete":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-import-type-side-effects":"error","@typescript-eslint/no-inferrable-types":"error","no-invalid-this":"off","@typescript-eslint/no-invalid-this":"error","@typescript-eslint/no-invalid-void-type":"error","no-loop-func":"off","@typescript-eslint/no-loop-func":"error","no-magic-numbers":"off","@typescript-eslint/no-magic-numbers":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","no-redeclare":"off","@typescript-eslint/no-redeclare":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","no-restricted-imports":"off","@typescript-eslint/no-restricted-imports":"error","@typescript-eslint/no-restricted-types":"error","no-shadow":"off","@typescript-eslint/no-shadow":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-parameter-property-assignment":"error","@typescript-eslint/no-unnecessary-qualifier":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unnecessary-type-conversion":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-type-assertion":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-private-class-members":"off","@typescript-eslint/no-unused-private-class-members":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-use-before-define":"off","@typescript-eslint/no-use-before-define":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-useless-empty-export":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/parameter-properties":"error","@typescript-eslint/prefer-as-const":"error","prefer-destructuring":"off","@typescript-eslint/prefer-destructuring":"error","@typescript-eslint/prefer-enum-initializers":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-readonly":"error","@typescript-eslint/prefer-readonly-parameter-types":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/prefer-string-starts-ends-with":"error","@typescript-eslint/promise-function-async":"error","@typescript-eslint/related-getter-setter-pairs":"error","@typescript-eslint/require-array-sort-compare":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","no-return-await":"off","@typescript-eslint/return-await":"error","@typescript-eslint/strict-boolean-expressions":"error","@typescript-eslint/switch-exhaustiveness-check":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error","@typescript-eslint/unified-signatures":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}]});var WUs=j(xgn=>{"use strict";Object.defineProperty(xgn,"__esModule",{value:!0});xgn.default=(e,t)=>({name:"typescript-eslint/disable-type-checked",rules:{"@typescript-eslint/await-thenable":"off","@typescript-eslint/consistent-return":"off","@typescript-eslint/consistent-type-exports":"off","@typescript-eslint/dot-notation":"off","@typescript-eslint/naming-convention":"off","@typescript-eslint/no-array-delete":"off","@typescript-eslint/no-base-to-string":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-deprecated":"off","@typescript-eslint/no-duplicate-type-constituents":"off","@typescript-eslint/no-floating-promises":"off","@typescript-eslint/no-for-in-array":"off","@typescript-eslint/no-implied-eval":"off","@typescript-eslint/no-meaningless-void-operator":"off","@typescript-eslint/no-misused-promises":"off","@typescript-eslint/no-misused-spread":"off","@typescript-eslint/no-mixed-enums":"off","@typescript-eslint/no-redundant-type-constituents":"off","@typescript-eslint/no-unnecessary-boolean-literal-compare":"off","@typescript-eslint/no-unnecessary-condition":"off","@typescript-eslint/no-unnecessary-qualifier":"off","@typescript-eslint/no-unnecessary-template-expression":"off","@typescript-eslint/no-unnecessary-type-arguments":"off","@typescript-eslint/no-unnecessary-type-assertion":"off","@typescript-eslint/no-unnecessary-type-conversion":"off","@typescript-eslint/no-unnecessary-type-parameters":"off","@typescript-eslint/no-unsafe-argument":"off","@typescript-eslint/no-unsafe-assignment":"off","@typescript-eslint/no-unsafe-call":"off","@typescript-eslint/no-unsafe-enum-comparison":"off","@typescript-eslint/no-unsafe-member-access":"off","@typescript-eslint/no-unsafe-return":"off","@typescript-eslint/no-unsafe-type-assertion":"off","@typescript-eslint/no-unsafe-unary-minus":"off","@typescript-eslint/non-nullable-type-assertion-style":"off","@typescript-eslint/only-throw-error":"off","@typescript-eslint/prefer-destructuring":"off","@typescript-eslint/prefer-find":"off","@typescript-eslint/prefer-includes":"off","@typescript-eslint/prefer-nullish-coalescing":"off","@typescript-eslint/prefer-optional-chain":"off","@typescript-eslint/prefer-promise-reject-errors":"off","@typescript-eslint/prefer-readonly":"off","@typescript-eslint/prefer-readonly-parameter-types":"off","@typescript-eslint/prefer-reduce-type-parameter":"off","@typescript-eslint/prefer-regexp-exec":"off","@typescript-eslint/prefer-return-this-type":"off","@typescript-eslint/prefer-string-starts-ends-with":"off","@typescript-eslint/promise-function-async":"off","@typescript-eslint/related-getter-setter-pairs":"off","@typescript-eslint/require-array-sort-compare":"off","@typescript-eslint/require-await":"off","@typescript-eslint/restrict-plus-operands":"off","@typescript-eslint/restrict-template-expressions":"off","@typescript-eslint/return-await":"off","@typescript-eslint/strict-boolean-expressions":"off","@typescript-eslint/switch-exhaustiveness-check":"off","@typescript-eslint/unbound-method":"off","@typescript-eslint/use-unknown-in-catch-callback-variable":"off"},languageOptions:{parserOptions:{program:null,project:!1,projectService:!1}}})});var ZUs=j(M1t=>{"use strict";var XUs=M1t&&M1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(M1t,"__esModule",{value:!0});var i2f=XUs(lZ()),s2f=XUs(cZ());M1t.default=(e,t)=>[(0,i2f.default)(e,t),(0,s2f.default)(e,t),{name:"typescript-eslint/recommended",rules:{"@typescript-eslint/ban-ts-comment":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error"}}]});var tqs=j(Q1t=>{"use strict";var eqs=Q1t&&Q1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Q1t,"__esModule",{value:!0});var a2f=eqs(lZ()),o2f=eqs(cZ());Q1t.default=(e,t)=>[(0,a2f.default)(e,t),(0,o2f.default)(e,t),{name:"typescript-eslint/recommended-type-checked",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":"error","no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","@typescript-eslint/no-wrapper-object-types":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-namespace-keyword":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error"}}]});var nqs=j(j1t=>{"use strict";var rqs=j1t&&j1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(j1t,"__esModule",{value:!0});var u2f=rqs(lZ()),l2f=rqs(cZ());j1t.default=(e,t)=>[(0,u2f.default)(e,t),(0,l2f.default)(e,t),{name:"typescript-eslint/recommended-type-checked-only",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":"error","@typescript-eslint/restrict-template-expressions":"error","@typescript-eslint/unbound-method":"error"}}]});var sqs=j(U1t=>{"use strict";var iqs=U1t&&U1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(U1t,"__esModule",{value:!0});var c2f=iqs(lZ()),f2f=iqs(cZ());U1t.default=(e,t)=>[(0,c2f.default)(e,t),(0,f2f.default)(e,t),{name:"typescript-eslint/strict",rules:{"@typescript-eslint/ban-ts-comment":["error",{minimumDescriptionLength:10}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-invalid-void-type":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-function-type":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unified-signatures":"error"}}]});var oqs=j(q1t=>{"use strict";var aqs=q1t&&q1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(q1t,"__esModule",{value:!0});var p2f=aqs(lZ()),d2f=aqs(cZ());q1t.default=(e,t)=>[(0,p2f.default)(e,t),(0,d2f.default)(e,t),{name:"typescript-eslint/strict-type-checked",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/ban-ts-comment":["error",{minimumDescriptionLength:10}],"no-array-constructor":"off","@typescript-eslint/no-array-constructor":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","@typescript-eslint/no-duplicate-enum-values":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-dynamic-delete":"error","@typescript-eslint/no-empty-object-type":"error","@typescript-eslint/no-explicit-any":"error","@typescript-eslint/no-extra-non-null-assertion":"error","@typescript-eslint/no-extraneous-class":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-invalid-void-type":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-new":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-namespace":"error","@typescript-eslint/no-non-null-asserted-nullish-coalescing":"error","@typescript-eslint/no-non-null-asserted-optional-chain":"error","@typescript-eslint/no-non-null-assertion":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-require-imports":"error","@typescript-eslint/no-this-alias":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-constraint":"error","@typescript-eslint/no-unnecessary-type-conversion":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-declaration-merging":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-function-type":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-unused-expressions":"off","@typescript-eslint/no-unused-expressions":"error","no-unused-vars":"off","@typescript-eslint/no-unused-vars":"error","no-useless-constructor":"off","@typescript-eslint/no-useless-constructor":"error","@typescript-eslint/no-wrapper-object-types":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","@typescript-eslint/prefer-as-const":"error","@typescript-eslint/prefer-literal-enum-member":"error","@typescript-eslint/prefer-namespace-keyword":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/related-getter-setter-pairs":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":["error",{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"@typescript-eslint/restrict-template-expressions":["error",{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"no-return-await":"off","@typescript-eslint/return-await":["error","error-handling-correctness-only"],"@typescript-eslint/triple-slash-reference":"error","@typescript-eslint/unbound-method":"error","@typescript-eslint/unified-signatures":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}]});var lqs=j(Y1t=>{"use strict";var uqs=Y1t&&Y1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Y1t,"__esModule",{value:!0});var m2f=uqs(lZ()),g2f=uqs(cZ());Y1t.default=(e,t)=>[(0,m2f.default)(e,t),(0,g2f.default)(e,t),{name:"typescript-eslint/strict-type-checked-only",rules:{"@typescript-eslint/await-thenable":"error","@typescript-eslint/no-array-delete":"error","@typescript-eslint/no-base-to-string":"error","@typescript-eslint/no-confusing-void-expression":"error","@typescript-eslint/no-deprecated":"error","@typescript-eslint/no-duplicate-type-constituents":"error","@typescript-eslint/no-floating-promises":"error","@typescript-eslint/no-for-in-array":"error","no-implied-eval":"off","@typescript-eslint/no-implied-eval":"error","@typescript-eslint/no-meaningless-void-operator":"error","@typescript-eslint/no-misused-promises":"error","@typescript-eslint/no-misused-spread":"error","@typescript-eslint/no-mixed-enums":"error","@typescript-eslint/no-redundant-type-constituents":"error","@typescript-eslint/no-unnecessary-boolean-literal-compare":"error","@typescript-eslint/no-unnecessary-condition":"error","@typescript-eslint/no-unnecessary-template-expression":"error","@typescript-eslint/no-unnecessary-type-arguments":"error","@typescript-eslint/no-unnecessary-type-assertion":"error","@typescript-eslint/no-unnecessary-type-conversion":"error","@typescript-eslint/no-unnecessary-type-parameters":"error","@typescript-eslint/no-unsafe-argument":"error","@typescript-eslint/no-unsafe-assignment":"error","@typescript-eslint/no-unsafe-call":"error","@typescript-eslint/no-unsafe-enum-comparison":"error","@typescript-eslint/no-unsafe-member-access":"error","@typescript-eslint/no-unsafe-return":"error","@typescript-eslint/no-unsafe-unary-minus":"error","no-throw-literal":"off","@typescript-eslint/only-throw-error":"error","prefer-promise-reject-errors":"off","@typescript-eslint/prefer-promise-reject-errors":"error","@typescript-eslint/prefer-reduce-type-parameter":"error","@typescript-eslint/prefer-return-this-type":"error","@typescript-eslint/related-getter-setter-pairs":"error","require-await":"off","@typescript-eslint/require-await":"error","@typescript-eslint/restrict-plus-operands":["error",{allowAny:!1,allowBoolean:!1,allowNullish:!1,allowNumberAndString:!1,allowRegExp:!1}],"@typescript-eslint/restrict-template-expressions":["error",{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}],"no-return-await":"off","@typescript-eslint/return-await":["error","error-handling-correctness-only"],"@typescript-eslint/unbound-method":"error","@typescript-eslint/use-unknown-in-catch-callback-variable":"error"}}]});var fqs=j(G1t=>{"use strict";var cqs=G1t&&G1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(G1t,"__esModule",{value:!0});var A2f=cqs(lZ()),h2f=cqs(cZ());G1t.default=(e,t)=>[(0,A2f.default)(e,t),(0,h2f.default)(e,t),{name:"typescript-eslint/stylistic",rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error"}}]});var dqs=j(V1t=>{"use strict";var pqs=V1t&&V1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(V1t,"__esModule",{value:!0});var y2f=pqs(lZ()),_2f=pqs(cZ());V1t.default=(e,t)=>[(0,y2f.default)(e,t),(0,_2f.default)(e,t),{name:"typescript-eslint/stylistic-type-checked",rules:{"@typescript-eslint/adjacent-overload-signatures":"error","@typescript-eslint/array-type":"error","@typescript-eslint/ban-tslint-comment":"error","@typescript-eslint/class-literal-property-style":"error","@typescript-eslint/consistent-generic-constructors":"error","@typescript-eslint/consistent-indexed-object-style":"error","@typescript-eslint/consistent-type-assertions":"error","@typescript-eslint/consistent-type-definitions":"error","dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/no-confusing-non-null-assertion":"error","no-empty-function":"off","@typescript-eslint/no-empty-function":"error","@typescript-eslint/no-inferrable-types":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-for-of":"error","@typescript-eslint/prefer-function-type":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-string-starts-ends-with":"error"}}]});var gqs=j($1t=>{"use strict";var mqs=$1t&&$1t.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty($1t,"__esModule",{value:!0});var E2f=mqs(lZ()),x2f=mqs(cZ());$1t.default=(e,t)=>[(0,E2f.default)(e,t),(0,x2f.default)(e,t),{name:"typescript-eslint/stylistic-type-checked-only",rules:{"dot-notation":"off","@typescript-eslint/dot-notation":"error","@typescript-eslint/non-nullable-type-assertion-style":"error","@typescript-eslint/prefer-find":"error","@typescript-eslint/prefer-includes":"error","@typescript-eslint/prefer-nullish-coalescing":"error","@typescript-eslint/prefer-optional-chain":"error","@typescript-eslint/prefer-regexp-exec":"error","@typescript-eslint/prefer-string-starts-ends-with":"error"}}]});var Aqs=j(c4=>{"use strict";var v2f=c4&&c4.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),C2f=c4&&c4.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),b2f=c4&&c4.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var I2f=mpe&&mpe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),S2f=mpe&&mpe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),T2f=mpe&&mpe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var w2f=I0&&I0.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),B2f=I0&&I0.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),k2f=I0&&I0.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var P2f=gpe&&gpe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),N2f=gpe&&gpe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),O2f=gpe&&gpe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var R2f=fZ&&fZ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),F2f=fZ&&fZ.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),L2f=fZ&&fZ.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var M2f=Bse&&Bse.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),J1t=Bse&&Bse.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&M2f(t,e,r)};Object.defineProperty(Bse,"__esModule",{value:!0});J1t(Aqs(),Bse);J1t(hqs(),Bse);J1t(yqs(),Bse);J1t(_qs(),Bse);J1t(xqs(),Bse)});var vgn=j(zK=>{"use strict";Object.defineProperty(zK,"__esModule",{value:!0});zK.isNotTokenOfTypeWithConditions=zK.isTokenOfTypeWithConditions=zK.isNodeOfTypeWithConditions=zK.isNodeOfTypes=zK.isNodeOfType=void 0;var Q2f=e=>t=>t?.type===e;zK.isNodeOfType=Q2f;var j2f=e=>t=>!!t&&e.includes(t.type);zK.isNodeOfTypes=j2f;var U2f=(e,t)=>{let r=Object.entries(t);return n=>n?.type===e&&r.every(([i,s])=>n[i]===s)};zK.isNodeOfTypeWithConditions=U2f;var q2f=(e,t)=>{let r=Object.entries(t);return n=>n?.type===e&&r.every(([i,s])=>n[i]===s)};zK.isTokenOfTypeWithConditions=q2f;var Y2f=(e,t)=>r=>!(0,zK.isTokenOfTypeWithConditions)(e,t)(r);zK.isNotTokenOfTypeWithConditions=Y2f});var Cqs=j(H1t=>{"use strict";Object.defineProperty(H1t,"__esModule",{value:!0});H1t.LINEBREAK_MATCHER=void 0;H1t.isTokenOnSameLine=G2f;H1t.LINEBREAK_MATCHER=/\r\n|[\r\n\u2028\u2029]/;function G2f(e,t){return e.loc.end.line===t.loc.start.line}});var bgn=j(kTe=>{"use strict";Object.defineProperty(kTe,"__esModule",{value:!0});kTe.TSESTree=kTe.AST_TOKEN_TYPES=kTe.AST_NODE_TYPES=void 0;var Cgn=FY();Object.defineProperty(kTe,"AST_NODE_TYPES",{enumerable:!0,get:function(){return Cgn.AST_NODE_TYPES}});Object.defineProperty(kTe,"AST_TOKEN_TYPES",{enumerable:!0,get:function(){return Cgn.AST_TOKEN_TYPES}});Object.defineProperty(kTe,"TSESTree",{enumerable:!0,get:function(){return Cgn.TSESTree}})});var Sqs=j(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0});xy.isLoop=xy.isImportKeyword=xy.isTypeKeyword=xy.isAwaitKeyword=xy.isAwaitExpression=xy.isIdentifier=xy.isConstructor=xy.isClassOrTypeElement=xy.isTSConstructorType=xy.isTSFunctionType=xy.isFunctionOrFunctionType=xy.isFunctionType=xy.isFunction=xy.isVariableDeclarator=xy.isTypeAssertion=xy.isLogicalOrOperator=xy.isOptionalCallExpression=xy.isNotNonNullAssertionPunctuator=xy.isNonNullAssertionPunctuator=xy.isNotOptionalChainPunctuator=xy.isOptionalChainPunctuator=void 0;xy.isSetter=V2f;var vy=bgn(),kB=vgn();xy.isOptionalChainPunctuator=(0,kB.isTokenOfTypeWithConditions)(vy.AST_TOKEN_TYPES.Punctuator,{value:"?."});xy.isNotOptionalChainPunctuator=(0,kB.isNotTokenOfTypeWithConditions)(vy.AST_TOKEN_TYPES.Punctuator,{value:"?."});xy.isNonNullAssertionPunctuator=(0,kB.isTokenOfTypeWithConditions)(vy.AST_TOKEN_TYPES.Punctuator,{value:"!"});xy.isNotNonNullAssertionPunctuator=(0,kB.isNotTokenOfTypeWithConditions)(vy.AST_TOKEN_TYPES.Punctuator,{value:"!"});xy.isOptionalCallExpression=(0,kB.isNodeOfTypeWithConditions)(vy.AST_NODE_TYPES.CallExpression,{optional:!0});xy.isLogicalOrOperator=(0,kB.isNodeOfTypeWithConditions)(vy.AST_NODE_TYPES.LogicalExpression,{operator:"||"});xy.isTypeAssertion=(0,kB.isNodeOfTypes)([vy.AST_NODE_TYPES.TSAsExpression,vy.AST_NODE_TYPES.TSTypeAssertion]);xy.isVariableDeclarator=(0,kB.isNodeOfType)(vy.AST_NODE_TYPES.VariableDeclarator);var bqs=[vy.AST_NODE_TYPES.ArrowFunctionExpression,vy.AST_NODE_TYPES.FunctionDeclaration,vy.AST_NODE_TYPES.FunctionExpression];xy.isFunction=(0,kB.isNodeOfTypes)(bqs);var Iqs=[vy.AST_NODE_TYPES.TSCallSignatureDeclaration,vy.AST_NODE_TYPES.TSConstructorType,vy.AST_NODE_TYPES.TSConstructSignatureDeclaration,vy.AST_NODE_TYPES.TSDeclareFunction,vy.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,vy.AST_NODE_TYPES.TSFunctionType,vy.AST_NODE_TYPES.TSMethodSignature];xy.isFunctionType=(0,kB.isNodeOfTypes)(Iqs);xy.isFunctionOrFunctionType=(0,kB.isNodeOfTypes)([...bqs,...Iqs]);xy.isTSFunctionType=(0,kB.isNodeOfType)(vy.AST_NODE_TYPES.TSFunctionType);xy.isTSConstructorType=(0,kB.isNodeOfType)(vy.AST_NODE_TYPES.TSConstructorType);xy.isClassOrTypeElement=(0,kB.isNodeOfTypes)([vy.AST_NODE_TYPES.PropertyDefinition,vy.AST_NODE_TYPES.FunctionExpression,vy.AST_NODE_TYPES.MethodDefinition,vy.AST_NODE_TYPES.TSAbstractPropertyDefinition,vy.AST_NODE_TYPES.TSAbstractMethodDefinition,vy.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,vy.AST_NODE_TYPES.TSIndexSignature,vy.AST_NODE_TYPES.TSCallSignatureDeclaration,vy.AST_NODE_TYPES.TSConstructSignatureDeclaration,vy.AST_NODE_TYPES.TSMethodSignature,vy.AST_NODE_TYPES.TSPropertySignature]);xy.isConstructor=(0,kB.isNodeOfTypeWithConditions)(vy.AST_NODE_TYPES.MethodDefinition,{kind:"constructor"});function V2f(e){return!!e&&(e.type===vy.AST_NODE_TYPES.MethodDefinition||e.type===vy.AST_NODE_TYPES.Property)&&e.kind==="set"}xy.isIdentifier=(0,kB.isNodeOfType)(vy.AST_NODE_TYPES.Identifier);xy.isAwaitExpression=(0,kB.isNodeOfType)(vy.AST_NODE_TYPES.AwaitExpression);xy.isAwaitKeyword=(0,kB.isTokenOfTypeWithConditions)(vy.AST_TOKEN_TYPES.Identifier,{value:"await"});xy.isTypeKeyword=(0,kB.isTokenOfTypeWithConditions)(vy.AST_TOKEN_TYPES.Identifier,{value:"type"});xy.isImportKeyword=(0,kB.isTokenOfTypeWithConditions)(vy.AST_TOKEN_TYPES.Keyword,{value:"import"});xy.isLoop=(0,kB.isNodeOfTypes)([vy.AST_NODE_TYPES.DoWhileStatement,vy.AST_NODE_TYPES.ForStatement,vy.AST_NODE_TYPES.ForInStatement,vy.AST_NODE_TYPES.ForOfStatement,vy.AST_NODE_TYPES.WhileStatement])});var z1t=j(Ape=>{"use strict";var $2f=Ape&&Ape.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),xZt=Ape&&Ape.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&$2f(t,e,r)};Object.defineProperty(Ape,"__esModule",{value:!0});xZt(vqs(),Ape);xZt(vgn(),Ape);xZt(Cqs(),Ape);xZt(Sqs(),Ape)});var Sgn=j(vZt=>{"use strict";Object.defineProperty(vZt,"__esModule",{value:!0});vZt.isObjectNotArray=Ign;vZt.deepMerge=Tqs;function Ign(e){return typeof e=="object"&&e!=null&&!Array.isArray(e)}function Tqs(e={},t={}){let r=new Set([...Object.keys(e),...Object.keys(t)]);return Object.fromEntries([...r].map(n=>{let i=n in e,s=n in t,a=e[n],u=t[n],l;return i&&s?Ign(a)&&Ign(u)?l=Tqs(a,u):l=u:i?l=a:l=u,[n,l]}))}});var wgn=j(Dgn=>{"use strict";Object.defineProperty(Dgn,"__esModule",{value:!0});Dgn.applyDefault=K2f;var Tgn=Sgn();function K2f(e,t){let r=structuredClone(e);return t==null||r.forEach((n,i)=>{if(t[i]!==void 0){let s=t[i];(0,Tgn.isObjectNotArray)(s)&&(0,Tgn.isObjectNotArray)(n)?r[i]=(0,Tgn.deepMerge)(n,s):r[i]=s}}),r}});var Dqs=j(Bgn=>{"use strict";Object.defineProperty(Bgn,"__esModule",{value:!0});Bgn.parserSeemsToBeTSESLint=J2f;function J2f(e){return!!e&&/(?:typescript-eslint|\.\.)[\w/\\]*parser/.test(e)}});var Bqs=j(kgn=>{"use strict";Object.defineProperty(kgn,"__esModule",{value:!0});kgn.getParserServices=X2f;var H2f=Dqs(),z2f="You have used a rule which requires type information, but don't have parserOptions set to generate type information for this file. See https://typescript-eslint.io/getting-started/typed-linting for enabling linting with type information.",W2f='Note: detected a parser other than @typescript-eslint/parser. Make sure the parser is configured to forward "parserOptions.project" to @typescript-eslint/parser.';function X2f(e,t=!1){let r=e.parserPath||e.languageOptions.parser?.meta?.name;return(e.sourceCode.parserServices?.esTreeNodeToTSNodeMap==null||e.sourceCode.parserServices.tsNodeToESTreeNodeMap==null)&&wqs(r),e.sourceCode.parserServices.program==null&&!t&&wqs(r),e.sourceCode.parserServices}function wqs(e){let t=[z2f,`Parser: ${e||"(unknown)"}`,!(0,H2f.parserSeemsToBeTSESLint)(e)&&W2f].filter(Boolean);throw new Error(t.join(` `))}});var Pqs=j(kqs=>{"use strict";Object.defineProperty(kqs,"__esModule",{value:!0})});var Nqs=j(W1t=>{"use strict";Object.defineProperty(W1t,"__esModule",{value:!0});W1t.NullThrowsReasons=void 0;W1t.nullThrows=Z2f;W1t.NullThrowsReasons={MissingParent:"Expected node to have a parent.",MissingToken:(e,t)=>`Expected to find a ${e} for the ${t}.`};function Z2f(e,t){if(e==null)throw new Error(`Non-null Assertion Failed: ${t}`);return e}});var Fqs=j(Pgn=>{"use strict";Object.defineProperty(Pgn,"__esModule",{value:!0});Pgn.RuleCreator=Oqs;var evf=wgn();function Oqs(e){return function({meta:r,name:n,...i}){return Rqs({meta:{...r,docs:{...r.docs,url:e(n)}},...i})}}function Rqs({create:e,defaultOptions:t,meta:r}){return{create(n){let i=(0,evf.applyDefault)(t,n.options);return e(n,i)},defaultOptions:t,meta:r}}Oqs.withoutDocs=function(t){return Rqs(t)}});var HVe=j(pZ=>{"use strict";var tvf=pZ&&pZ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),JVe=pZ&&pZ.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&tvf(t,e,r)};Object.defineProperty(pZ,"__esModule",{value:!0});JVe(wgn(),pZ);JVe(Sgn(),pZ);JVe(Bqs(),pZ);JVe(Pqs(),pZ);JVe(Nqs(),pZ);JVe(Fqs(),pZ)});var Mqs=j(Lqs=>{"use strict";Object.defineProperty(Lqs,"__esModule",{value:!0})});var jqs=j(Qqs=>{"use strict";Object.defineProperty(Qqs,"__esModule",{value:!0})});var qqs=j(Uqs=>{"use strict";Object.defineProperty(Uqs,"__esModule",{value:!0})});var Ogn=j(CZt=>{"use strict";Object.defineProperty(CZt,"__esModule",{value:!0});CZt.FlatESLint=void 0;var rvf=xTe(),Ngn=class extends rvf.FlatESLint{};CZt.FlatESLint=Ngn});var Yqs=j(bZt=>{"use strict";Object.defineProperty(bZt,"__esModule",{value:!0});bZt.LegacyESLint=void 0;var nvf=xTe(),Rgn=class extends nvf.LegacyESLint{};bZt.LegacyESLint=Rgn});var Gqs=j(PTe=>{"use strict";Object.defineProperty(PTe,"__esModule",{value:!0});PTe.LegacyESLint=PTe.ESLint=PTe.FlatESLint=void 0;var ivf=Ogn();Object.defineProperty(PTe,"FlatESLint",{enumerable:!0,get:function(){return ivf.FlatESLint}});var svf=Ogn();Object.defineProperty(PTe,"ESLint",{enumerable:!0,get:function(){return svf.FlatESLint}});var avf=Yqs();Object.defineProperty(PTe,"LegacyESLint",{enumerable:!0,get:function(){return avf.LegacyESLint}})});var Vqs=j(IZt=>{"use strict";Object.defineProperty(IZt,"__esModule",{value:!0});IZt.Linter=void 0;var ovf=tpe(),Fgn=class extends ovf.Linter{};IZt.Linter=Fgn});var Kqs=j($qs=>{"use strict";Object.defineProperty($qs,"__esModule",{value:!0})});var Hqs=j(Jqs=>{"use strict";Object.defineProperty(Jqs,"__esModule",{value:!0})});var Wqs=j(zqs=>{"use strict";Object.defineProperty(zqs,"__esModule",{value:!0})});var Zqs=j(Xqs=>{"use strict";Object.defineProperty(Xqs,"__esModule",{value:!0})});var eYs=j(SZt=>{"use strict";Object.defineProperty(SZt,"__esModule",{value:!0});SZt.RuleTester=void 0;var uvf=tpe(),Lgn=class extends uvf.RuleTester{};SZt.RuleTester=Lgn});var nYs=j(hpe=>{"use strict";var lvf=hpe&&hpe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),cvf=hpe&&hpe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),fvf=hpe&&hpe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";Object.defineProperty(TZt,"__esModule",{value:!0});TZt.SourceCode=void 0;var pvf=tpe(),Mgn=class extends pvf.SourceCode{};TZt.SourceCode=Mgn});var sYs=j(UO=>{"use strict";var dvf=UO&&UO.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),kse=UO&&UO.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&dvf(t,e,r)};Object.defineProperty(UO,"__esModule",{value:!0});kse(jqs(),UO);kse(qqs(),UO);kse(Gqs(),UO);kse(Vqs(),UO);kse(Kqs(),UO);kse(Hqs(),UO);kse(Wqs(),UO);kse(Zqs(),UO);kse(eYs(),UO);kse(nYs(),UO);kse(iYs(),UO)});var aYs=j(Qgn=>{"use strict";Object.defineProperty(Qgn,"__esModule",{value:!0});Qgn.isArray=mvf;function mvf(e){return Array.isArray(e)}});var uYs=j(oYs=>{"use strict";Object.defineProperty(oYs,"__esModule",{value:!0})});var cYs=j(NTe=>{"use strict";var gvf=NTe&&NTe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),lYs=NTe&&NTe.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&gvf(t,e,r)};Object.defineProperty(NTe,"__esModule",{value:!0});lYs(aYs(),NTe);lYs(uYs(),NTe)});var Vo=j(PB=>{"use strict";var fYs=PB&&PB.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Avf=PB&&PB.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),X1t=PB&&PB.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";Object.defineProperty(jgn,"__esModule",{value:!0});jgn.escapeRegExp=_vf;var pYs=/[\\^$.*+?()[\]{}|]/g,yvf=RegExp(pYs.source);function _vf(e=""){return e&&yvf.test(e)?e.replaceAll(pYs,"\\$&"):e}});var Z1t=j(WK=>{"use strict";var mYs=WK&&WK.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Evf=WK&&WK.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),xvf=WK&&WK.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var Svf=ype&&ype.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Tvf=ype&&ype.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),AYs=ype&&ype.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ihYs(e,t,s,n))}});var Ygn=j(qgn=>{"use strict";Object.defineProperty(qgn,"__esModule",{value:!0});qgn.isTypeImport=Pvf;var Bvf=nL(),kvf=Vo();function Pvf(e){return e?.type===Bvf.DefinitionType.ImportBinding&&(e.parent.importKind==="type"||e.node.type===kvf.AST_NODE_TYPES.ImportSpecifier&&e.node.importKind==="type")}});var wZt=j(Vgn=>{"use strict";Object.defineProperty(Vgn,"__esModule",{value:!0});Vgn.referenceContainsTypeQuery=_Ys;var Ggn=Vo();function _Ys(e){switch(e.type){case Ggn.AST_NODE_TYPES.TSTypeQuery:return!0;case Ggn.AST_NODE_TYPES.TSQualifiedName:case Ggn.AST_NODE_TYPES.Identifier:return _Ys(e.parent);default:return!1}}});var EYs=j(Hgn=>{"use strict";Object.defineProperty(Hgn,"__esModule",{value:!0});Hgn.collectVariables=jvf;var $gn=nL(),H_=Vo(),Nvf=Ygn(),Ovf=wZt(),Jgn=class extends $gn.Visitor{static RESULTS_CACHE=new WeakMap;ClassDeclaration=this.visitClass;ClassExpression=this.visitClass;ForInStatement=this.visitForInForOf;ForOfStatement=this.visitForInForOf;FunctionDeclaration=this.visitFunction;FunctionExpression=this.visitFunction;MethodDefinition=this.visitSetter;Property=this.visitSetter;TSCallSignatureDeclaration=this.visitFunctionTypeSignature;TSConstructorType=this.visitFunctionTypeSignature;TSConstructSignatureDeclaration=this.visitFunctionTypeSignature;TSDeclareFunction=this.visitFunctionTypeSignature;TSEmptyBodyFunctionExpression=this.visitFunctionTypeSignature;TSFunctionType=this.visitFunctionTypeSignature;TSMethodSignature=this.visitFunctionTypeSignature;#e;constructor(t){super({visitChildrenEvenIfSelectorExists:!0}),this.#e=t}static collectUnusedVariables(t,r){let n=this.RESULTS_CACHE.get(t);if(n)return n;let i=new this(r);i.visit(t);let s=i.collectUnusedVariables(i.getScope(t));return this.RESULTS_CACHE.set(t,s),s}Identifier(t){let r=this.getScope(t);r.type===H_.TSESLint.Scope.ScopeType.function&&t.name==="this"&&"params"in r.block&&r.block.params.includes(t)&&this.markVariableAsUsed(t)}TSEnumDeclaration(t){let r=this.getScope(t);for(let n of r.variables)this.markVariableAsUsed(n)}TSMappedType(t){this.markVariableAsUsed(t.key)}TSModuleDeclaration(t){t.kind==="global"&&this.markVariableAsUsed("global",t.parent)}TSParameterProperty(t){let r;switch(t.parameter.type){case H_.AST_NODE_TYPES.AssignmentPattern:r=t.parameter.left;break;case H_.AST_NODE_TYPES.Identifier:r=t.parameter;break}this.markVariableAsUsed(r)}collectUnusedVariables(t,r={unusedVariables:new Set,usedVariables:new Set}){if(!t.functionExpressionScope)for(let n of t.variables)n instanceof $gn.ImplicitLibVariable||(n.eslintUsed||Lvf(n)||Fvf(n)||Qvf(n)?r.usedVariables.add(n):r.unusedVariables.add(n));for(let n of t.childScopes)this.collectUnusedVariables(n,r);return r}getScope(t){let r=t.type!==H_.AST_NODE_TYPES.Program,n=t;for(;n;){let i=this.#e.acquire(n,r);if(i)return i.type===$gn.ScopeType.functionExpressionName?i.childScopes[0]:i;n=n.parent}return this.#e.scopes[0]}markVariableAsUsed(t,r){if(typeof t!="string"&&!("type"in t)){t.eslintUsed=!0;return}let n,i;typeof t=="string"?(n=t,i=r):(n=t.name,i=t);let s=this.getScope(i);for(;s;){let a=s.variables.find(u=>u.name===n);if(a){a.eslintUsed=!0;return}s=s.upper}}visitClass(t){let r=this.getScope(t);for(let n of r.variables)if(n.identifiers[0]===r.block.id){this.markVariableAsUsed(n);return}}visitForInForOf(t){let r;if(t.left.type===H_.AST_NODE_TYPES.VariableDeclaration){let i=this.#e.getDeclaredVariables(t.left).at(0);if(!i)return;r=i}if(t.left.type===H_.AST_NODE_TYPES.Identifier&&(r=t.left),r==null)return;let n=t.body;if(t.body.type===H_.AST_NODE_TYPES.BlockStatement){if(t.body.body.length!==1)return;n=t.body.body[0]}n.type===H_.AST_NODE_TYPES.ReturnStatement&&this.markVariableAsUsed(r)}visitFunction(t){let n=this.getScope(t).set.get("arguments");n?.defs.length===0&&this.markVariableAsUsed(n)}visitFunctionTypeSignature(t){for(let r of t.params)this.visitPattern(r,n=>{this.markVariableAsUsed(n)})}visitSetter(t){if(t.kind==="set")for(let r of t.value.params)this.visitPattern(r,n=>{this.markVariableAsUsed(n)})}};function eyt(e,t){return e.range[0]>=t.range[0]&&e.range[1]<=t.range[1]}function Kgn(e,t){let r=e.from;for(;r;){if(t.has(r.block))return!0;r=r.upper}return!1}var Rvf=new Set([H_.AST_NODE_TYPES.ClassDeclaration,H_.AST_NODE_TYPES.FunctionDeclaration,H_.AST_NODE_TYPES.TSInterfaceDeclaration,H_.AST_NODE_TYPES.TSModuleDeclaration,H_.AST_NODE_TYPES.TSTypeAliasDeclaration]);function Fvf(e){for(let t of e.defs)if(t.type!==H_.TSESLint.Scope.DefinitionType.Parameter&&(Rvf.has(t.node.type)&&t.node.parent.type===H_.AST_NODE_TYPES.ExportNamedDeclaration||t.node.parent.type===H_.AST_NODE_TYPES.ExportDefaultDeclaration))return!0;return!1}function Lvf(e){return e.defs.some(t=>{let r=t.node;if(r.type===H_.AST_NODE_TYPES.VariableDeclarator)r=r.parent;else if(t.type===H_.TSESLint.Scope.DefinitionType.Parameter)return!1;return r.parent.type.startsWith("Export")})}var Mvf=new Set(["??=","&&=","||="]);function Qvf(e){function t(M){let R=new Set;return M.defs.forEach(q=>{q.type===H_.TSESLint.Scope.DefinitionType.FunctionName&&R.add(q.node),q.type===H_.TSESLint.Scope.DefinitionType.Variable&&(q.node.init?.type===H_.AST_NODE_TYPES.FunctionExpression||q.node.init?.type===H_.AST_NODE_TYPES.ArrowFunctionExpression)&&R.add(q.node.init)}),R}function r(M){let R=new Set;return M.defs.forEach(q=>{(q.node.type===H_.AST_NODE_TYPES.TSInterfaceDeclaration||q.node.type===H_.AST_NODE_TYPES.TSTypeAliasDeclaration)&&R.add(q.node)}),R}function n(M){let R=new Set;return M.defs.forEach(q=>{q.node.type===H_.AST_NODE_TYPES.TSModuleDeclaration&&R.add(q.node)}),R}function i(M){let R=new Set;return M.defs.forEach(q=>{q.node.type===H_.AST_NODE_TYPES.TSEnumDeclaration&&R.add(q.node)}),R}function s(M,R){for(let q of R)if(eyt(M.identifier,q))return!0;return!1}function a(M){let R=M.parent;return R.type===H_.AST_NODE_TYPES.ExpressionStatement?!0:R.type===H_.AST_NODE_TYPES.SequenceExpression?R.expressions[R.expressions.length-1]===M?a(R):!0:!1}function u(M,R){function q(me){let Te=me;for(;Te&&!H_.ASTUtils.isFunction(Te);){if(H_.ASTUtils.isLoop(Te))return!0;Te=Te.parent}return!1}let G=M.identifier,K=G.parent,Z=M.from.variableScope,oe=M.resolved.scope.variableScope,ue=Z!==oe||q(G);return R&&eyt(G,R)?R:K.type===H_.AST_NODE_TYPES.AssignmentExpression&&a(K)&&G===K.left&&!ue?K.right:null}function l(M,R){function q(Z,oe){function ue(le){let ae=le;for(;ae;){if(H_.ASTUtils.isFunction(ae))return ae;ae=ae.parent}return null}function me(le,ae){let Ae=le,De=le.parent;for(;De&&eyt(De,ae);){switch(De.type){case H_.AST_NODE_TYPES.SequenceExpression:if(De.expressions[De.expressions.length-1]!==Ae)return!1;break;case H_.AST_NODE_TYPES.CallExpression:case H_.AST_NODE_TYPES.NewExpression:return De.callee!==Ae;case H_.AST_NODE_TYPES.AssignmentExpression:case H_.AST_NODE_TYPES.TaggedTemplateExpression:case H_.AST_NODE_TYPES.YieldExpression:return!0;default:if(De.type.endsWith("Statement")||De.type.endsWith("Declaration"))return!0}Ae=De,De=De.parent}return!1}let Te=ue(Z);return!!Te&&eyt(Te,oe)&&me(Te,oe)}let G=M.identifier,K=G.parent;return M.isRead()&&(K.type===H_.AST_NODE_TYPES.AssignmentExpression&&!Mvf.has(K.operator)&&a(K)&&K.left===G||K.type===H_.AST_NODE_TYPES.UpdateExpression&&a(K)||!!R&&eyt(G,R)&&!q(G,R))}let f=t(e),p=f.size>0,g=r(e),A=g.size>0,h=n(e),_=h.size>0,E=i(e),b=E.size>0,D=e.defs.every(Nvf.isTypeImport),k=null;return e.references.some(M=>{let R=l(M,k);return k=u(M,k),M.isRead()&&!R&&!(!D&&(0,Ovf.referenceContainsTypeQuery)(M.identifier))&&!(p&&Kgn(M,f))&&!(A&&s(M,g))&&!(_&&Kgn(M,h))&&!(b&&Kgn(M,E))})}function jvf(e){return Jgn.collectUnusedVariables(e.sourceCode.ast,H_.ESLintUtils.nullThrows(e.sourceCode.scopeManager,"Missing required scope manager"))}});var xYs=j(BZt=>{"use strict";Object.defineProperty(BZt,"__esModule",{value:!0});BZt.createRule=void 0;var Uvf=Vo();BZt.createRule=Uvf.ESLintUtils.RuleCreator(e=>`https://typescript-eslint.io/rules/${e}`)});var vYs=j(zgn=>{"use strict";Object.defineProperty(zgn,"__esModule",{value:!0});zgn.getFixOrSuggest=qvf;function qvf({fixOrSuggest:e,suggestion:t}){switch(e){case"fix":return{fix:t.fix};case"none":return;case"suggest":return{suggest:[t]}}}});var Zgn=j(Xgn=>{"use strict";Object.defineProperty(Xgn,"__esModule",{value:!0});Xgn.getFunctionHeadLoc=Yvf;var zQ=Vo(),kZt=Z1t();function Wgn(e,t){if(e.type===zQ.AST_NODE_TYPES.ArrowFunctionExpression&&e.params.length===1){let r=zQ.ESLintUtils.nullThrows(t.getFirstToken(e.params[0]),zQ.ESLintUtils.NullThrowsReasons.MissingToken("parameter","arrow function")),n=t.getTokenBefore(r);return n&&(0,kZt.isOpeningParenToken)(n)?n:r}return e.id!=null?zQ.ESLintUtils.nullThrows(t.getTokenAfter(e.id,kZt.isOpeningParenToken),zQ.ESLintUtils.NullThrowsReasons.MissingToken("id","function")):zQ.ESLintUtils.nullThrows(t.getFirstToken(e,kZt.isOpeningParenToken),zQ.ESLintUtils.NullThrowsReasons.MissingToken("opening parenthesis","function"))}function Yvf(e,t){let r=e.parent,n,i;if(r.type===zQ.AST_NODE_TYPES.MethodDefinition||r.type===zQ.AST_NODE_TYPES.PropertyDefinition){if(r.decorators.length>0){let s=r.decorators[r.decorators.length-1];n=zQ.ESLintUtils.nullThrows(t.getTokenAfter(s),zQ.ESLintUtils.NullThrowsReasons.MissingToken("modifier or member name","class member")).loc.start}else n=r.loc.start;i=Wgn(e,t).loc.start}else if(r.type===zQ.AST_NODE_TYPES.Property)n=r.loc.start,i=Wgn(e,t).loc.start;else if(e.type===zQ.AST_NODE_TYPES.ArrowFunctionExpression){let s=zQ.ESLintUtils.nullThrows(t.getTokenBefore(e.body,kZt.isArrowToken),zQ.ESLintUtils.NullThrowsReasons.MissingToken("arrow token","arrow function"));n=s.loc.start,i=s.loc.end}else n=e.loc.start,i=Wgn(e,t).loc.start;return{end:{...i},start:{...n}}}});var tAn=j(b5e=>{"use strict";Object.defineProperty(b5e,"__esModule",{value:!0});b5e.OperatorPrecedence=void 0;b5e.getOperatorPrecedenceForNode=CYs;b5e.getOperatorPrecedence=Gvf;b5e.getBinaryOperatorPrecedence=eAn;var Uv=Vo(),ld=vc(),$y;(function(e){e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid"})($y||(b5e.OperatorPrecedence=$y={}));function CYs(e){switch(e.type){case Uv.AST_NODE_TYPES.SpreadElement:case Uv.AST_NODE_TYPES.RestElement:return $y.Spread;case Uv.AST_NODE_TYPES.YieldExpression:case Uv.AST_NODE_TYPES.ArrowFunctionExpression:return $y.Yield;case Uv.AST_NODE_TYPES.ConditionalExpression:return $y.Conditional;case Uv.AST_NODE_TYPES.SequenceExpression:return $y.Comma;case Uv.AST_NODE_TYPES.AssignmentExpression:case Uv.AST_NODE_TYPES.BinaryExpression:case Uv.AST_NODE_TYPES.LogicalExpression:switch(e.operator){case"==":case"+=":case"-=":case"**=":case"*=":case"/=":case"%=":case"<<=":case">>=":case">>>=":case"&=":case"^=":case"|=":case"||=":case"&&=":case"??=":return $y.Assignment;default:return eAn(e.operator)}case Uv.AST_NODE_TYPES.TSTypeAssertion:case Uv.AST_NODE_TYPES.TSNonNullExpression:case Uv.AST_NODE_TYPES.UnaryExpression:case Uv.AST_NODE_TYPES.AwaitExpression:return $y.Unary;case Uv.AST_NODE_TYPES.UpdateExpression:return e.prefix?$y.Unary:$y.Update;case Uv.AST_NODE_TYPES.ChainExpression:return CYs(e.expression);case Uv.AST_NODE_TYPES.CallExpression:return $y.LeftHandSide;case Uv.AST_NODE_TYPES.NewExpression:return e.arguments.length>0?$y.Member:$y.LeftHandSide;case Uv.AST_NODE_TYPES.TaggedTemplateExpression:case Uv.AST_NODE_TYPES.MemberExpression:case Uv.AST_NODE_TYPES.MetaProperty:return $y.Member;case Uv.AST_NODE_TYPES.TSAsExpression:return $y.Relational;case Uv.AST_NODE_TYPES.ThisExpression:case Uv.AST_NODE_TYPES.Super:case Uv.AST_NODE_TYPES.Identifier:case Uv.AST_NODE_TYPES.PrivateIdentifier:case Uv.AST_NODE_TYPES.Literal:case Uv.AST_NODE_TYPES.ArrayExpression:case Uv.AST_NODE_TYPES.ObjectExpression:case Uv.AST_NODE_TYPES.FunctionExpression:case Uv.AST_NODE_TYPES.ClassExpression:case Uv.AST_NODE_TYPES.TemplateLiteral:case Uv.AST_NODE_TYPES.JSXElement:case Uv.AST_NODE_TYPES.JSXFragment:return $y.Primary;default:return $y.Invalid}}function Gvf(e,t,r){switch(e){case ld.SyntaxKind.CommaListExpression:return $y.Comma;case ld.SyntaxKind.SpreadElement:return $y.Spread;case ld.SyntaxKind.YieldExpression:return $y.Yield;case ld.SyntaxKind.ConditionalExpression:return $y.Conditional;case ld.SyntaxKind.BinaryExpression:switch(t){case ld.SyntaxKind.AmpersandAmpersandEqualsToken:case ld.SyntaxKind.AmpersandEqualsToken:case ld.SyntaxKind.AsteriskAsteriskEqualsToken:case ld.SyntaxKind.AsteriskEqualsToken:case ld.SyntaxKind.BarBarEqualsToken:case ld.SyntaxKind.BarEqualsToken:case ld.SyntaxKind.CaretEqualsToken:case ld.SyntaxKind.EqualsToken:case ld.SyntaxKind.GreaterThanGreaterThanEqualsToken:case ld.SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken:case ld.SyntaxKind.LessThanLessThanEqualsToken:case ld.SyntaxKind.MinusEqualsToken:case ld.SyntaxKind.PercentEqualsToken:case ld.SyntaxKind.PlusEqualsToken:case ld.SyntaxKind.QuestionQuestionEqualsToken:case ld.SyntaxKind.SlashEqualsToken:return $y.Assignment;case ld.SyntaxKind.CommaToken:return $y.Comma;default:return eAn(t)}case ld.SyntaxKind.TypeAssertionExpression:case ld.SyntaxKind.NonNullExpression:case ld.SyntaxKind.PrefixUnaryExpression:case ld.SyntaxKind.TypeOfExpression:case ld.SyntaxKind.VoidExpression:case ld.SyntaxKind.DeleteExpression:case ld.SyntaxKind.AwaitExpression:return $y.Unary;case ld.SyntaxKind.PostfixUnaryExpression:return $y.Update;case ld.SyntaxKind.CallExpression:return $y.LeftHandSide;case ld.SyntaxKind.NewExpression:return r?$y.Member:$y.LeftHandSide;case ld.SyntaxKind.TaggedTemplateExpression:case ld.SyntaxKind.PropertyAccessExpression:case ld.SyntaxKind.ElementAccessExpression:case ld.SyntaxKind.MetaProperty:return $y.Member;case ld.SyntaxKind.AsExpression:case ld.SyntaxKind.SatisfiesExpression:return $y.Relational;case ld.SyntaxKind.ThisKeyword:case ld.SyntaxKind.SuperKeyword:case ld.SyntaxKind.Identifier:case ld.SyntaxKind.PrivateIdentifier:case ld.SyntaxKind.NullKeyword:case ld.SyntaxKind.TrueKeyword:case ld.SyntaxKind.FalseKeyword:case ld.SyntaxKind.NumericLiteral:case ld.SyntaxKind.BigIntLiteral:case ld.SyntaxKind.StringLiteral:case ld.SyntaxKind.ArrayLiteralExpression:case ld.SyntaxKind.ObjectLiteralExpression:case ld.SyntaxKind.FunctionExpression:case ld.SyntaxKind.ArrowFunction:case ld.SyntaxKind.ClassExpression:case ld.SyntaxKind.RegularExpressionLiteral:case ld.SyntaxKind.NoSubstitutionTemplateLiteral:case ld.SyntaxKind.TemplateExpression:case ld.SyntaxKind.ParenthesizedExpression:case ld.SyntaxKind.OmittedExpression:case ld.SyntaxKind.JsxElement:case ld.SyntaxKind.JsxSelfClosingElement:case ld.SyntaxKind.JsxFragment:return $y.Primary;default:return $y.Invalid}}function eAn(e){switch(e){case"-":case"+":case ld.SyntaxKind.MinusToken:case ld.SyntaxKind.PlusToken:return $y.Additive;case"!=":case"!==":case"==":case"===":case ld.SyntaxKind.EqualsEqualsEqualsToken:case ld.SyntaxKind.EqualsEqualsToken:case ld.SyntaxKind.ExclamationEqualsEqualsToken:case ld.SyntaxKind.ExclamationEqualsToken:return $y.Equality;case"??":case ld.SyntaxKind.QuestionQuestionToken:return $y.Coalesce;case"*":case"/":case"%":case ld.SyntaxKind.AsteriskToken:case ld.SyntaxKind.PercentToken:case ld.SyntaxKind.SlashToken:return $y.Multiplicative;case"**":case ld.SyntaxKind.AsteriskAsteriskToken:return $y.Exponentiation;case"&":case ld.SyntaxKind.AmpersandToken:return $y.BitwiseAND;case"&&":case ld.SyntaxKind.AmpersandAmpersandToken:return $y.LogicalAND;case"^":case ld.SyntaxKind.CaretToken:return $y.BitwiseXOR;case"<":case"<=":case">":case">=":case"in":case"instanceof":case ld.SyntaxKind.AsKeyword:case ld.SyntaxKind.GreaterThanEqualsToken:case ld.SyntaxKind.GreaterThanToken:case ld.SyntaxKind.InKeyword:case ld.SyntaxKind.InstanceOfKeyword:case ld.SyntaxKind.LessThanEqualsToken:case ld.SyntaxKind.LessThanToken:return $y.Relational;case"<<":case">>":case">>>":case ld.SyntaxKind.GreaterThanGreaterThanGreaterThanToken:case ld.SyntaxKind.GreaterThanGreaterThanToken:case ld.SyntaxKind.LessThanLessThanToken:return $y.Shift;case"|":case ld.SyntaxKind.BarToken:return $y.BitwiseOR;case"||":case ld.SyntaxKind.BarBarToken:return $y.LogicalOR}return-1}});var nAn=j(rAn=>{"use strict";Object.defineProperty(rAn,"__esModule",{value:!0});rAn.isNullLiteral=$vf;var Vvf=Vo();function $vf(e){return e.type===Vvf.AST_NODE_TYPES.Literal&&e.value==null}});var IYs=j(iAn=>{"use strict";Object.defineProperty(iAn,"__esModule",{value:!0});iAn.getStaticStringValue=Jvf;var bYs=Vo(),Kvf=nAn();function Jvf(e){switch(e.type){case bYs.AST_NODE_TYPES.Literal:if(e.value===null){if((0,Kvf.isNullLiteral)(e))return String(e.value);if("regex"in e)return`/${e.regex.pattern}/${e.regex.flags}`;if("bigint"in e)return e.bigint}else return String(e.value);break;case bYs.AST_NODE_TYPES.TemplateLiteral:if(e.expressions.length===0&&e.quasis.length===1)return e.quasis[0].value.cooked;break}return null}});var sAn=j(I5e=>{"use strict";Object.defineProperty(I5e,"__esModule",{value:!0});I5e.EXTENDED_PICTOGRAPHIC=I5e.CLUSTER_BREAK=void 0;var Hvf;(function(e){e[e.CR=0]="CR",e[e.LF=1]="LF",e[e.CONTROL=2]="CONTROL",e[e.EXTEND=3]="EXTEND",e[e.REGIONAL_INDICATOR=4]="REGIONAL_INDICATOR",e[e.SPACINGMARK=5]="SPACINGMARK",e[e.L=6]="L",e[e.V=7]="V",e[e.T=8]="T",e[e.LV=9]="LV",e[e.LVT=10]="LVT",e[e.OTHER=11]="OTHER",e[e.PREPEND=12]="PREPEND",e[e.E_BASE=13]="E_BASE",e[e.E_MODIFIER=14]="E_MODIFIER",e[e.ZWJ=15]="ZWJ",e[e.GLUE_AFTER_ZWJ=16]="GLUE_AFTER_ZWJ",e[e.E_BASE_GAZ=17]="E_BASE_GAZ"})(Hvf=I5e.CLUSTER_BREAK||(I5e.CLUSTER_BREAK={}));I5e.EXTENDED_PICTOGRAPHIC=101});var SYs=j(uAn=>{"use strict";Object.defineProperty(uAn,"__esModule",{value:!0});var Ux=sAn(),Lye=0,aAn=1,zvf=2,Wvf=3,Xvf=4,oAn=class{static isSurrogate(t,r){return 55296<=t.charCodeAt(r)&&t.charCodeAt(r)<=56319&&56320<=t.charCodeAt(r+1)&&t.charCodeAt(r+1)<=57343}static codePointAt(t,r){r===void 0&&(r=0);let n=t.charCodeAt(r);if(55296<=n&&n<=56319&&r=1){let i=t.charCodeAt(r-1),s=n;return 55296<=i&&i<=56319?(i-55296)*1024+(s-56320)+65536:s}return n}static shouldBreak(t,r,n,i,s,a){let u=[t].concat(r).concat([n]),l=[i].concat(s).concat([a]),f=u[u.length-2],p=n,g=a,A=u.lastIndexOf(Ux.CLUSTER_BREAK.REGIONAL_INDICATOR);if(A>0&&u.slice(1,A).every(function(_){return _===Ux.CLUSTER_BREAK.REGIONAL_INDICATOR})&&[Ux.CLUSTER_BREAK.PREPEND,Ux.CLUSTER_BREAK.REGIONAL_INDICATOR].indexOf(f)===-1)return u.filter(function(_){return _===Ux.CLUSTER_BREAK.REGIONAL_INDICATOR}).length%2===1?Wvf:Xvf;if(f===Ux.CLUSTER_BREAK.CR&&p===Ux.CLUSTER_BREAK.LF)return Lye;if(f===Ux.CLUSTER_BREAK.CONTROL||f===Ux.CLUSTER_BREAK.CR||f===Ux.CLUSTER_BREAK.LF)return aAn;if(p===Ux.CLUSTER_BREAK.CONTROL||p===Ux.CLUSTER_BREAK.CR||p===Ux.CLUSTER_BREAK.LF)return aAn;if(f===Ux.CLUSTER_BREAK.L&&(p===Ux.CLUSTER_BREAK.L||p===Ux.CLUSTER_BREAK.V||p===Ux.CLUSTER_BREAK.LV||p===Ux.CLUSTER_BREAK.LVT))return Lye;if((f===Ux.CLUSTER_BREAK.LV||f===Ux.CLUSTER_BREAK.V)&&(p===Ux.CLUSTER_BREAK.V||p===Ux.CLUSTER_BREAK.T))return Lye;if((f===Ux.CLUSTER_BREAK.LVT||f===Ux.CLUSTER_BREAK.T)&&p===Ux.CLUSTER_BREAK.T)return Lye;if(p===Ux.CLUSTER_BREAK.EXTEND||p===Ux.CLUSTER_BREAK.ZWJ)return Lye;if(p===Ux.CLUSTER_BREAK.SPACINGMARK)return Lye;if(f===Ux.CLUSTER_BREAK.PREPEND)return Lye;let h=l.slice(0,-1).lastIndexOf(Ux.EXTENDED_PICTOGRAPHIC);return h!==-1&&l[h]===Ux.EXTENDED_PICTOGRAPHIC&&u.slice(h+1,-2).every(function(_){return _===Ux.CLUSTER_BREAK.EXTEND})&&f===Ux.CLUSTER_BREAK.ZWJ&&g===Ux.EXTENDED_PICTOGRAPHIC?Lye:r.indexOf(Ux.CLUSTER_BREAK.REGIONAL_INDICATOR)!==-1?zvf:f===Ux.CLUSTER_BREAK.REGIONAL_INDICATOR&&p===Ux.CLUSTER_BREAK.REGIONAL_INDICATOR?Lye:aAn}};uAn.default=oAn});var TYs=j(cAn=>{"use strict";Object.defineProperty(cAn,"__esModule",{value:!0});var lAn=class{constructor(t,r){this._index=0,this._str=t,this._nextBreak=r}[Symbol.iterator](){return this}next(){let t;if((t=this._nextBreak(this._str,this._index)){"use strict";var DYs=tyt&&tyt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(tyt,"__esModule",{value:!0});var Fe=sAn(),PZt=DYs(SYs()),Zvf=DYs(TYs()),fAn=class e{static nextBreak(t,r){if(r===void 0&&(r=0),r<0)return 0;if(r>=t.length-1)return t.length;let n=PZt.default.codePointAt(t,r),i=e.getGraphemeBreakProperty(n),s=e.getEmojiProperty(n),a=[],u=[];for(let l=r+1;l{"use strict";var eCf=ryt&&ryt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ryt,"__esModule",{value:!0});var tCf=eCf(wYs());ryt.default=tCf.default});var PYs=j(nyt=>{"use strict";var rCf=nyt&&nyt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(nyt,"__esModule",{value:!0});nyt.getStringLength=sCf;var nCf=rCf(BYs()),kYs;function iCf(e){return/^[\u0020-\u007f]*$/u.test(e)}function sCf(e){return iCf(e)?e.length:(kYs??=new nCf.default,kYs.countGraphemes(e))}});var NYs=j(pAn=>{"use strict";Object.defineProperty(pAn,"__esModule",{value:!0});pAn.getTextWithParentheses=aCf;var S5e=el();function aCf(e,t){let r=0,n=0;if((0,S5e.isParenthesized)(t,e)){let i=(0,S5e.nullThrows)(e.getTokenBefore(t,S5e.isOpeningParenToken),S5e.NullThrowsReasons.MissingToken("(","node")),s=(0,S5e.nullThrows)(e.getTokenAfter(t,S5e.isClosingParenToken),S5e.NullThrowsReasons.MissingToken(")","node"));r=t.range[0]-i.range[0],n=s.range[1]-t.range[1]}return e.getText(t,r,n)}});var OYs=j(dAn=>{"use strict";Object.defineProperty(dAn,"__esModule",{value:!0});dAn.getThisExpression=oCf;var NZt=Vo();function oCf(e){for(;;)if(e.type===NZt.AST_NODE_TYPES.CallExpression)e=e.callee;else{if(e.type===NZt.AST_NODE_TYPES.ThisExpression)return e;if(e.type===NZt.AST_NODE_TYPES.MemberExpression)e=e.object;else if(e.type===NZt.AST_NODE_TYPES.ChainExpression)e=e.expression;else break}}});var FYs=j(iyt=>{"use strict";Object.defineProperty(iyt,"__esModule",{value:!0});iyt.getWrappingFixer=uCf;iyt.getMovedNodeCode=lCf;iyt.isStrongPrecedenceNode=mAn;var w2=Vo();function uCf(e){let{node:t,innerNode:r=t,sourceCode:n,wrap:i}=e,s=Array.isArray(r)?r:[r];return a=>{let u=s.map(f=>{let p=n.getText(f);return(!mAn(f)||pCf(t,f))&&(p=`(${p})`),p});if(!i)return a.replaceText(t,u.join(""));let l=i(...u);return RYs(t)&&!w2.ASTUtils.isParenthesized(t,n)&&(l=`(${l})`),/^[`([]/.test(l)&&cCf(t,n)&&(l=`;${l}`),a.replaceText(t,l)}}function lCf(e){let{destinationNode:t,nodeToMove:r,sourceCode:n}=e,i=n.getText(r);return mAn(r)||!RYs(t)?i:`(${i})`}function mAn(e){return e.type===w2.AST_NODE_TYPES.Literal||e.type===w2.AST_NODE_TYPES.Identifier||e.type===w2.AST_NODE_TYPES.TSTypeReference||e.type===w2.AST_NODE_TYPES.TSTypeOperator||e.type===w2.AST_NODE_TYPES.ArrayExpression||e.type===w2.AST_NODE_TYPES.ObjectExpression||e.type===w2.AST_NODE_TYPES.MemberExpression||e.type===w2.AST_NODE_TYPES.CallExpression||e.type===w2.AST_NODE_TYPES.NewExpression||e.type===w2.AST_NODE_TYPES.TaggedTemplateExpression||e.type===w2.AST_NODE_TYPES.TSInstantiationExpression}function RYs(e){let t=e.parent;return t?t.type===w2.AST_NODE_TYPES.UpdateExpression||t.type===w2.AST_NODE_TYPES.UnaryExpression||t.type===w2.AST_NODE_TYPES.BinaryExpression||t.type===w2.AST_NODE_TYPES.LogicalExpression||t.type===w2.AST_NODE_TYPES.ConditionalExpression||t.type===w2.AST_NODE_TYPES.AwaitExpression||t.type===w2.AST_NODE_TYPES.MemberExpression&&t.object===e||(t.type===w2.AST_NODE_TYPES.CallExpression||t.type===w2.AST_NODE_TYPES.NewExpression)&&t.callee===e||t.type===w2.AST_NODE_TYPES.TaggedTemplateExpression&&t.tag===e:!1}function cCf(e,t){for(;;){let r=e.parent;if(r.type===w2.AST_NODE_TYPES.ExpressionStatement){let n=r.parent;if(n.type===w2.AST_NODE_TYPES.Program||n.type===w2.AST_NODE_TYPES.BlockStatement){let i=n.body.indexOf(r),s=n.body[i-1];if(i>0&&w2.ESLintUtils.nullThrows(t.getLastToken(s),"Mismatched semicolon and block").value!==";")return!0}}if(!fCf(e))return!1;e=r}}function fCf(e){let t=e.parent;return t.type===w2.AST_NODE_TYPES.UpdateExpression||(t.type===w2.AST_NODE_TYPES.BinaryExpression||t.type===w2.AST_NODE_TYPES.LogicalExpression||t.type===w2.AST_NODE_TYPES.AssignmentExpression)&&e===t.left||t.type===w2.AST_NODE_TYPES.ConditionalExpression&&e===t.test||t.type===w2.AST_NODE_TYPES.CallExpression&&e===t.callee||t.type===w2.AST_NODE_TYPES.TaggedTemplateExpression&&e===t.tag}function pCf(e,t){return e.parent?.type===w2.AST_NODE_TYPES.ArrowFunctionExpression&&e.parent.body===e&&t.type===w2.AST_NODE_TYPES.ObjectExpression}});var AAn=j(gAn=>{"use strict";Object.defineProperty(gAn,"__esModule",{value:!0});gAn.isSymbolFromDefaultLibrary=dCf;function dCf(e,t){if(!t)return!1;let r=t.getDeclarations()??[];for(let n of r){let i=n.getSourceFile();if(e.isSourceFileDefaultLibrary(i))return!0}return!1}});var GYs=j(iL=>{"use strict";var mCf=iL&&iL.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),gCf=iL&&iL.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),MYs=iL&&iL.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let[n]=r.aliasTypeArguments;return jYs(e,n)||UYs(e,n)})}function qYs(e,t,r){return YYs(e,t,n=>n.aliasSymbol.getName()==="Readonly"&&!!r?.(n))}function YYs(e,t,r){return T5e(e,t,n=>{let{aliasSymbol:i,aliasTypeArguments:s}=n;return!i||!s?!1:(0,QYs.isSymbolFromDefaultLibrary)(e,i)&&r(n)?!0:null})}function OZt(e,t,r){return T5e(e,t,n=>{let i=n.getSymbol();if(!i)return!1;let s=i.getName();return(Array.isArray(r)?r.some(a=>s===a):s===r)&&(0,QYs.isSymbolFromDefaultLibrary)(e,i)?!0:null})}function T5e(e,t,r){if(t.isIntersection())return t.types.some(s=>T5e(e,s,r));if(t.isUnion())return t.types.every(s=>T5e(e,s,r));if(ACf.isTypeParameter(t)){let s=t.getConstraint();return s?T5e(e,s,r):!1}let n=r(t);if(typeof n=="boolean")return n;let i=t.getSymbol();if(i&&i.flags&(LYs.SymbolFlags.Class|LYs.SymbolFlags.Interface)){let s=e.getTypeChecker();for(let a of s.getBaseTypes(t))if(T5e(e,a,r))return!0}return!1}});var RZt=j(_pe=>{"use strict";var _Cf=_pe&&_pe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),ECf=_pe&&_pe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),$Ys=_pe&&_pe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var bCf=Mye&&Mye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),ICf=Mye&&Mye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),zYs=Mye&&Mye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iWYs(u,t,r,n);if(JYs.isUnionOrIntersectionType(e))return n?e.types.some(s):e.types.every(s);let a=e.getBaseTypes();return a!=null&&(n?a.some(s):a.length>0&&a.every(s))}});var ZYs=j(hAn=>{"use strict";Object.defineProperty(hAn,"__esModule",{value:!0});hAn.getConstrainedTypeAtLocation=TCf;function TCf(e,t){let r=e.getTypeAtLocation(t);return e.program.getTypeChecker().getBaseConstraintOfType(r)??r}});var eGs=j(Qye=>{"use strict";var DCf=Qye&&Qye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),wCf=Qye&&Qye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),BCf=Qye&&Qye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";Object.defineProperty(yAn,"__esModule",{value:!0});yAn.getDeclaration=PCf;function PCf(e,t){let r=e.getSymbolAtLocation(t);return r?r.getDeclarations()?.[0]??null:null}});var rGs=j(jye=>{"use strict";var NCf=jye&&jye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),OCf=jye&&jye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),RCf=jye&&jye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var MCf=Uye&&Uye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),QCf=Uye&&Uye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),jCf=Uye&&Uye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iFZt(e,r)).every(r=>r==="string")||t.isIntersection()&&t.types.map(r=>FZt(e,r)).some(r=>r==="string")?"string":e.typeToString(t)}});var oGs=j(qye=>{"use strict";var UCf=qye&&qye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),qCf=qye&&qye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),sGs=qye&&qye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";Object.defineProperty(MZt,"__esModule",{value:!0});MZt.getTypeOfPropertyOfName=uGs;MZt.getTypeOfPropertyOfType=$Cf;function uGs(e,t,r,n){if(!n||!KCf(n))return e.getTypeOfPropertyOfType(t,r);let i=t.getProperties().find(s=>s.escapedName===n);return i?e.getDeclaredTypeOfSymbol(i):void 0}function $Cf(e,t,r){return uGs(e,t,r.getName(),r.getEscapedName())}function KCf(e){return JCf(e)||HCf(e)}function JCf(e){return e.startsWith("__@")}function HCf(e){return e.startsWith("__#")}});var lGs=j(xAn=>{"use strict";Object.defineProperty(xAn,"__esModule",{value:!0});xAn.specifierNameMatches=zCf;function zCf(e,t){typeof t=="string"&&(t=[t]);let r=e.aliasSymbol??e.getSymbol(),n=r?[r.escapedName,e.intrinsicName]:[e.intrinsicName];return!!t.some(i=>n.includes(i))}});var cGs=j(syt=>{"use strict";var WCf=syt&&syt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(syt,"__esModule",{value:!0});syt.typeDeclaredInFile=ZCf;var QZt=R1t(),XCf=WCf(require("node:path"));function ZCf(e,t,r){if(e==null){let i=(0,QZt.getCanonicalFileName)(r.getCurrentDirectory());return t.some(s=>(0,QZt.getCanonicalFileName)(s.fileName).startsWith(i))}let n=(0,QZt.getCanonicalFileName)(XCf.default.join(r.getCurrentDirectory(),e));return t.some(i=>(0,QZt.getCanonicalFileName)(i.fileName)===n)}});var fGs=j(vAn=>{"use strict";Object.defineProperty(vAn,"__esModule",{value:!0});vAn.typeDeclaredInLib=ebf;function ebf(e,t){return e.length===0?!0:e.some(r=>t.isSourceFileDefaultLibrary(r))}});var dGs=j(Yye=>{"use strict";var tbf=Yye&&Yye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),rbf=Yye&&Yye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),nbf=Yye&&Yye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ipGs(r)?.name.text===e)}function sbf(e,t,r){let n=e.replace(/^@([^/]+)\//,"$1__"),i=new RegExp(`${e}|${n}`);return t.some(s=>{let a=r.sourceFileToPackageName.get(s.path);return a!=null&&i.test(a)&&r.isSourceFileFromExternalLibrary(s)})}function abf(e,t,r,n){return ibf(e,t)||sbf(e,r,n)}});var CAn=j(sL=>{"use strict";var obf=sL&&sL.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),ubf=sL&&sL.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),lbf=sL&&sL.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iYZt(i,t,r)):!!((()=>{if(qZt.isIntrinsicErrorType(e))return!1;if(typeof t=="string")return(0,mGs.specifierNameMatches)(e,t);if(!(0,mGs.specifierNameMatches)(e,t.name))return!1;let s=(e.getSymbol()??e.aliasSymbol)?.getDeclarations()??[],a=s.map(u=>u.getSourceFile());switch(t.from){case"file":return(0,cbf.typeDeclaredInFile)(t.path,a,r);case"lib":return(0,fbf.typeDeclaredInLib)(a,r);case"package":return(0,gGs.typeDeclaredInPackageDeclarationFile)(t.package,s,a,r)}})()||qZt.isIntersectionType(e)&&qZt.intersectionConstituents(e).some(i=>YZt(i,t,r)))}var pbf=(e,t=[],r)=>t.some(n=>YZt(e,n,r));sL.typeMatchesSomeSpecifier=pbf;var dbf=e=>typeof e=="string"?[e]:e,mbf=e=>{if(e.type===UZt.AST_NODE_TYPES.Identifier||e.type===UZt.AST_NODE_TYPES.JSXIdentifier||e.type===UZt.AST_NODE_TYPES.PrivateIdentifier)return e.name;if(e.type===UZt.AST_NODE_TYPES.Literal&&typeof e.value=="string")return e.value};function AGs(e,t,r,n){let i=mbf(e);if(!i)return!1;if(typeof t=="string")return t===i;if(!dbf(t.name).includes(i))return!1;if(t.from==="package"){let a=(n.getSymbol()??n.aliasSymbol)?.getDeclarations()??[],u=a.map(l=>l.getSourceFile());return(0,gGs.typeDeclaredInPackageDeclarationFile)(t.package,a,u,r)}return!0}var gbf=(e,t=[],r,n)=>t.some(i=>AGs(e,i,r,n));sL.valueMatchesSomeSpecifier=gbf});var xGs=j(jY=>{"use strict";var Abf=jY&&jY.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),hbf=jY&&jY.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),_Gs=jY&&jY.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iD5e(e,l,r,n)===fv.Mutable)?fv.Mutable:fv.Readonly}return i.isArrayType(t)?GZt.ESLintUtils.nullThrows(t.getSymbol(),GZt.ESLintUtils.NullThrowsReasons.MissingToken("symbol","array type")).getEscapedName()==="Array"?fv.Mutable:s(t):i.isTupleType(t)?t.target.readonly?s(t):fv.Mutable:fv.UnknownType}function yGs(e,t,r,n){let i=e.getTypeChecker();function s(f){let p=i.getIndexInfoOfType(t,f);return p?p.isReadonly?p.type===t||n.has(p.type)?fv.Readonly:D5e(e,p.type,r,n):fv.Mutable:fv.UnknownType}let a=t.getProperties();if(a.length){for(let f of a){if(r.treatMethodsAsReadonly){if(f.valueDeclaration!=null&&hGs(f.valueDeclaration)&&OTe.isSymbolFlagSet(f.valueDeclaration.symbol,zVe.SymbolFlags.Method))continue;let g=f.getDeclarations(),A=g!=null&&g.length>0?g[g.length-1]:void 0;if(A!=null&&hGs(A)&&OTe.isSymbolFlagSet(A.symbol,zVe.SymbolFlags.Method))continue}if(OTe.isPropertyReadonlyInType(t,f.getEscapedName(),i))continue;let p=zVe.getNameOfDeclaration(f.valueDeclaration);if(!(p&&zVe.isPrivateIdentifier(p)))return fv.Mutable}for(let f of a){let p=GZt.ESLintUtils.nullThrows((0,ybf.getTypeOfPropertyOfType)(i,t,f),GZt.ESLintUtils.NullThrowsReasons.MissingToken(`property "${f.name}"`,"type"));if(!n.has(p)&&D5e(e,p,r,n)===fv.Mutable)return fv.Mutable}}let u=s(zVe.IndexKind.String);if(u===fv.Mutable)return u;let l=s(zVe.IndexKind.Number);return l===fv.Mutable?l:fv.Readonly}function D5e(e,t,r,n){let i=e.getTypeChecker();if(n.add(t),(0,EGs.typeMatchesSomeSpecifier)(t,r.allow,e))return fv.Readonly;if(OTe.isUnionType(t))return OTe.unionConstituents(t).every(f=>n.has(f)||D5e(e,f,r,n)===fv.Readonly)?fv.Readonly:fv.Mutable;if(OTe.isIntersectionType(t)){if(t.types.some(l=>i.isArrayType(l)||i.isTupleType(l)))return t.types.every(f=>n.has(f)||D5e(e,f,r,n)===fv.Readonly)?fv.Readonly:fv.Mutable;let u=yGs(e,t,r,n);if(u!==fv.UnknownType)return u}if(OTe.isConditionalType(t))return[t.root.node.trueType,t.root.node.falseType].map(i.getTypeFromTypeNode).every(f=>n.has(f)||D5e(e,f,r,n)===fv.Readonly)?fv.Readonly:fv.Mutable;if(!OTe.isObjectType(t)||t.getCallSignatures().length>0&&t.getProperties().length===0)return fv.Readonly;let s=_bf(e,t,r,n);if(s!==fv.UnknownType)return s;let a=yGs(e,t,r,n);if(a!==fv.UnknownType)return a;throw new Error("Unhandled type")}function Ebf(e,t,r=jY.readonlynessOptionsDefaults){return D5e(e,t,r,new Set)===fv.Readonly}});var VZt=j(NB=>{"use strict";var xbf=NB&&NB.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),vbf=NB&&NB.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),vGs=NB&&NB.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var Mbf=Gye&&Gye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Qbf=Gye&&Gye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),jbf=Gye&&Gye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var qbf=Vye&&Vye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Ybf=Vye&&Vye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Gbf=Vye&&Vye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var $bf=Pse&&Pse.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Kbf=Pse&&Pse.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Jbf=Pse&&Pse.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var zbf=$I&&$I.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),YO=$I&&$I.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&zbf(t,e,r)};Object.defineProperty($I,"__esModule",{value:!0});$I.typescriptVersionIsAtLeast=$I.getModifiers=$I.getDecorators=void 0;YO(GYs(),$I);YO(XYs(),$I);YO(ZYs(),$I);YO(eGs(),$I);YO(tGs(),$I);YO(rGs(),$I);YO(nGs(),$I);YO(AAn(),$I);YO(oGs(),$I);YO(xGs(),$I);YO(DGs(),$I);YO(VZt(),$I);YO(EAn(),$I);YO(wGs(),$I);YO(RZt(),$I);YO(CAn(),$I);YO(NGs(),$I);var SAn=R1t();Object.defineProperty($I,"getDecorators",{enumerable:!0,get:function(){return SAn.getDecorators}});Object.defineProperty($I,"getModifiers",{enumerable:!0,get:function(){return SAn.getModifiers}});Object.defineProperty($I,"typescriptVersionIsAtLeast",{enumerable:!0,get:function(){return SAn.typescriptVersionIsAtLeast}})});var XVe=j(gD=>{"use strict";var Wbf=gD&&gD.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Xbf=gD&&gD.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Zbf=gD&&gD.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ir(n,t[i]))}function aIf(e,t){for(let r of e){let n=t(r);if(n!==void 0)return n}}function oIf(e){let t=e.parameters.find(r=>r.type===dZ.AST_NODE_TYPES.Identifier);return t?t.name:"(index signature)"}var w5e;(function(e){e[e.Private=1]="Private",e[e.Quoted=2]="Quoted",e[e.Normal=3]="Normal",e[e.Expression=4]="Expression"})(w5e||(gD.MemberNameType=w5e={}));function uIf(e,t){if(e.key.type===dZ.AST_NODE_TYPES.Identifier)return{name:e.key.name,type:w5e.Normal};if(e.key.type===dZ.AST_NODE_TYPES.PrivateIdentifier)return{name:`#${e.key.name}`,type:w5e.Private};if(e.key.type===dZ.AST_NODE_TYPES.Literal){let r=`${e.key.value}`;return(0,eIf.requiresQuoting)(r)?{name:`"${r}"`,type:w5e.Quoted}:{name:r,type:w5e.Normal}}return{name:t.text.slice(...e.key.range),type:w5e.Expression}}function lIf(e){return Object.keys(e).filter(t=>isNaN(Number(t)))}function cIf(e){return e.length?e.length===1?e[0]:[e.slice(0,-1).join(", "),e.slice(-1)[0]].join(" and "):""}function fIf(e,t){let r=e.length-1;for(;r>=0;){if(t(e[r]))return r;r--}return-1}function pIf(e,t){return e.type===dZ.AST_NODE_TYPES.TSFunctionType||e.type===dZ.AST_NODE_TYPES.TSConstructorType||e.type===dZ.AST_NODE_TYPES.TSConditionalType||e.type===dZ.AST_NODE_TYPES.TSUnionType&&t.startsWith("|")||e.type===dZ.AST_NODE_TYPES.TSIntersectionType&&t.startsWith("&")}function dIf(e){return $Zt.isParameter(e)&&e.dotDotDotToken!=null}function mIf(e,t){return e.params.length===1&&!(0,OGs.isParenthesized)(e.params[0],t)}function RGs(e,{sourceCode:t}){let r=e.type===dZ.AST_NODE_TYPES.MemberExpression?e.property:e.key,{type:n}=r;if(!e.computed&&(n===dZ.AST_NODE_TYPES.Identifier||n===dZ.AST_NODE_TYPES.PrivateIdentifier))return r.name;let i=(0,OGs.getStaticValue)(r,t.getScope(e));if(!i)return;let{value:s}=i;return typeof s=="symbol"?s:String(s)}var gIf=(e,t,...r)=>r.includes(RGs(e,t));gD.isStaticMemberAccessOfValue=gIf});var FGs=j(TAn=>{"use strict";Object.defineProperty(TAn,"__esModule",{value:!0});TAn.hasOverloadSignatures=hIf;var Epe=Vo(),AIf=XVe();function hIf(e,t){if(e.parent.type===Epe.AST_NODE_TYPES.ExportDefaultDeclaration)return e.parent.parent.body.some(n=>n.type===Epe.AST_NODE_TYPES.ExportDefaultDeclaration&&n.declaration.type===Epe.AST_NODE_TYPES.TSDeclareFunction);if(e.parent.type===Epe.AST_NODE_TYPES.ExportNamedDeclaration)return e.parent.parent.body.some(n=>n.type===Epe.AST_NODE_TYPES.ExportNamedDeclaration&&n.declaration?.type===Epe.AST_NODE_TYPES.TSDeclareFunction&&KZt(n.declaration,t)===KZt(e,t));let r=KZt(e,t);return e.parent.body.some(n=>(n.type===Epe.AST_NODE_TYPES.TSDeclareFunction||n.type===Epe.AST_NODE_TYPES.MethodDefinition&&n.value.body==null)&&r===KZt(n,t))}function KZt(e,t){return e.type===Epe.AST_NODE_TYPES.FunctionDeclaration||e.type===Epe.AST_NODE_TYPES.TSDeclareFunction?e.id.name:(0,AIf.getStaticMemberAccessValue)(e,t)}});var MGs=j(Kye=>{"use strict";var yIf=Kye&&Kye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),_If=Kye&&Kye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),EIf=Kye&&Kye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iLGs.intersectionConstituents(a)).some(a=>i.isArrayType(a)||i.isTupleType(a))}});var QGs=j(wAn=>{"use strict";Object.defineProperty(wAn,"__esModule",{value:!0});wAn.isAssignee=DAn;var Nse=Vo();function DAn(e){let t=e.parent;return t?!!(t.type===Nse.AST_NODE_TYPES.AssignmentExpression&&t.left===e||t.type===Nse.AST_NODE_TYPES.UnaryExpression&&t.operator==="delete"&&t.argument===e||t.type===Nse.AST_NODE_TYPES.UpdateExpression&&t.argument===e||t.type===Nse.AST_NODE_TYPES.ArrayPattern||t.type===Nse.AST_NODE_TYPES.RestElement||t.type===Nse.AST_NODE_TYPES.Property&&t.value===e&&t.parent.type===Nse.AST_NODE_TYPES.ObjectExpression&&DAn(t.parent)||(t.type===Nse.AST_NODE_TYPES.TSNonNullExpression||t.type===Nse.AST_NODE_TYPES.TSAsExpression||t.type===Nse.AST_NODE_TYPES.TSTypeAssertion||t.type===Nse.AST_NODE_TYPES.TSSatisfiesExpression)&&DAn(t)):!1}});var jGs=j(kAn=>{"use strict";Object.defineProperty(kAn,"__esModule",{value:!0});kAn.isNodeEqual=BAn;var FTe=Vo();function BAn(e,t){return e.type!==t.type?!1:e.type===FTe.AST_NODE_TYPES.ThisExpression&&t.type===FTe.AST_NODE_TYPES.ThisExpression?!0:e.type===FTe.AST_NODE_TYPES.Literal&&t.type===FTe.AST_NODE_TYPES.Literal?e.value===t.value:e.type===FTe.AST_NODE_TYPES.Identifier&&t.type===FTe.AST_NODE_TYPES.Identifier?e.name===t.name:e.type===FTe.AST_NODE_TYPES.MemberExpression&&t.type===FTe.AST_NODE_TYPES.MemberExpression?BAn(e.property,t.property)&&BAn(e.object,t.object):!1}});var UGs=j(PAn=>{"use strict";Object.defineProperty(PAn,"__esModule",{value:!0});PAn.isStartOfExpressionStatement=TIf;var SIf=Vo();function TIf(e){let t=e.range[0],r=e;for(;(r=r.parent)&&r.range[0]===t;)if(r.type===SIf.AST_NODE_TYPES.ExpressionStatement)return!0;return!1}});var qGs=j(NAn=>{"use strict";Object.defineProperty(NAn,"__esModule",{value:!0});NAn.isUndefinedIdentifier=wIf;var DIf=Vo();function wIf(e){return e.type===DIf.AST_NODE_TYPES.Identifier&&e.name==="undefined"}});var GGs=j(OAn=>{"use strict";Object.defineProperty(OAn,"__esModule",{value:!0});OAn.needsPrecedingSemicolon=FIf;var KI=Vo(),YGs=z1t(),BIf=new Set([KI.AST_NODE_TYPES.BreakStatement,KI.AST_NODE_TYPES.ContinueStatement]),kIf=new Set([KI.AST_NODE_TYPES.ExportAllDeclaration,KI.AST_NODE_TYPES.ExportNamedDeclaration,KI.AST_NODE_TYPES.ImportDeclaration]),PIf=new Set([KI.AST_NODE_TYPES.Identifier,KI.AST_TOKEN_TYPES.Keyword]),NIf={__proto__:null,break:KI.AST_NODE_TYPES.BreakStatement,continue:KI.AST_NODE_TYPES.ContinueStatement,debugger:KI.AST_NODE_TYPES.DebuggerStatement,do:KI.AST_NODE_TYPES.DoWhileStatement,else:KI.AST_NODE_TYPES.IfStatement,return:KI.AST_NODE_TYPES.ReturnStatement,yield:KI.AST_NODE_TYPES.YieldExpression},OIf=new Set(["--",";",":","{","++","=>"]),RIf=new Set([KI.AST_NODE_TYPES.DoWhileStatement,KI.AST_NODE_TYPES.ForInStatement,KI.AST_NODE_TYPES.ForOfStatement,KI.AST_NODE_TYPES.ForStatement,KI.AST_NODE_TYPES.IfStatement,KI.AST_NODE_TYPES.WhileStatement,KI.AST_NODE_TYPES.WithStatement]);function FIf(e,t){let r=e.getTokenBefore(t);if(!r||r.type===KI.AST_TOKEN_TYPES.Punctuator&&OIf.has(r.value))return!1;let n=e.getNodeByRangeIndex(r.range[0]);if(!n)return!1;if((0,YGs.isClosingParenToken)(r))return!RIf.has(n.type);if((0,YGs.isClosingBraceToken)(r))return n.type===KI.AST_NODE_TYPES.BlockStatement&&n.parent.type===KI.AST_NODE_TYPES.FunctionExpression&&n.parent.parent.type!==KI.AST_NODE_TYPES.MethodDefinition||n.type===KI.AST_NODE_TYPES.ClassBody&&n.parent.type===KI.AST_NODE_TYPES.ClassExpression||n.type===KI.AST_NODE_TYPES.ObjectExpression;if(!n.parent)return!1;if(PIf.has(r.type)){if(BIf.has(n.parent.type))return!1;let i=r.value,s=NIf[i];return n.type!==s}return r.type===KI.AST_TOKEN_TYPES.String?!kIf.has(n.parent.type):!0}});var VGs=j(ayt=>{"use strict";Object.defineProperty(ayt,"__esModule",{value:!0});ayt.objectForEachKey=RAn;ayt.objectMapKey=LIf;ayt.objectReduceKey=MIf;function RAn(e,t){let r=Object.keys(e);for(let n of r)t(n)}function LIf(e,t){let r=[];return RAn(e,n=>{r.push(t(n))}),r}function MIf(e,t,r){let n=r;return RAn(e,i=>{n=t(n,i)}),n}});var FAn=j(Jye=>{"use strict";var QIf=Jye&&Jye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),jIf=Jye&&Jye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),UIf=Jye&&Jye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var GIf=Ose&&Ose.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),VIf=Ose&&Ose.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),$If=Ose&&Ose.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";Object.defineProperty(LAn,"__esModule",{value:!0});LAn.isReferenceToGlobalFunction=zIf;function zIf(e,t,r){return!r.getScope(t).references.find(i=>i.identifier.name===e)?.resolved?.defs.length}});var zGs=j(HGs=>{"use strict";Object.defineProperty(HGs,"__esModule",{value:!0})});var MAn=j(JZt=>{"use strict";Object.defineProperty(JZt,"__esModule",{value:!0});JZt.getValueOfLiteralType=void 0;var WIf=e=>typeof e=="object",XIf=e=>BigInt((e.negative?"-":"")+e.base10Value),ZIf=e=>WIf(e.value)?XIf(e.value):e.value;JZt.getValueOfLiteralType=ZIf});var XGs=j(Hye=>{"use strict";var eSf=Hye&&Hye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),tSf=Hye&&Hye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),rSf=Hye&&Hye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;in}});var ZGs=j(QAn=>{"use strict";Object.defineProperty(QAn,"__esModule",{value:!0});QAn.skipChainExpression=sSf;var iSf=Vo();function sSf(e){return e.type===iSf.AST_NODE_TYPES.ChainExpression?e.expression:e}});var tVs=j(mZ=>{"use strict";var aSf=mZ&&mZ.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),oSf=mZ&&mZ.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),eVs=mZ&&mZ.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iB5e.isTrueLiteralType(e)||e.isLiteral()&&!!(0,lSf.getValueOfLiteralType)(e),fSf=e=>B5e.unionConstituents(e).flatMap(t=>B5e.intersectionConstituents(t)).filter(t=>!cSf(t)).some(t=>B5e.isTypeFlagSet(t,uSf.TypeFlags.PossiblyFalsy));mZ.isPossiblyFalsy=fSf;var pSf=e=>B5e.unionConstituents(e).map(t=>B5e.intersectionConstituents(t)).some(t=>t.every(r=>!B5e.isFalsyType(r)));mZ.isPossiblyTruthy=pSf});var el=j(u1=>{"use strict";var dSf=u1&&u1.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),nb=u1&&u1.__exportStar||function(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&dSf(t,e,r)};Object.defineProperty(u1,"__esModule",{value:!0});u1.NullThrowsReasons=u1.nullThrows=u1.isObjectNotArray=u1.getParserServices=u1.deepMerge=u1.applyDefault=void 0;var e$e=Vo();nb(Z1t(),u1);nb(yYs(),u1);nb(EYs(),u1);nb(xYs(),u1);nb(vYs(),u1);nb(Zgn(),u1);nb(tAn(),u1);nb(IYs(),u1);nb(PYs(),u1);nb(NYs(),u1);nb(OYs(),u1);nb(FYs(),u1);nb(FGs(),u1);nb(MGs(),u1);nb(QGs(),u1);nb(jGs(),u1);nb(nAn(),u1);nb(UGs(),u1);nb(qGs(),u1);nb(XVe(),u1);nb(GGs(),u1);nb(VGs(),u1);nb(KGs(),u1);nb(JGs(),u1);nb(zGs(),u1);nb(FAn(),u1);nb(MAn(),u1);nb(XGs(),u1);nb(ZGs(),u1);nb(tVs(),u1);nb($ye(),u1);u1.applyDefault=e$e.ESLintUtils.applyDefault,u1.deepMerge=e$e.ESLintUtils.deepMerge,u1.getParserServices=e$e.ESLintUtils.getParserServices,u1.isObjectNotArray=e$e.ESLintUtils.isObjectNotArray,u1.nullThrows=e$e.ESLintUtils.nullThrows,u1.NullThrowsReasons=e$e.ESLintUtils.NullThrowsReasons});var rVs=j(jAn=>{"use strict";Object.defineProperty(jAn,"__esModule",{value:!0});var UY=Vo(),oyt=el();jAn.default=(0,oyt.createRule)({name:"adjacent-overload-signatures",meta:{type:"suggestion",docs:{description:"Require that function overload signatures be consecutive",recommended:"stylistic"},messages:{adjacentSignature:"All {{name}} signatures should be adjacent."},schema:[]},defaultOptions:[],create(e){function t(s){switch(s.type){case UY.AST_NODE_TYPES.ExportDefaultDeclaration:case UY.AST_NODE_TYPES.ExportNamedDeclaration:return s.declaration?t(s.declaration):null;case UY.AST_NODE_TYPES.TSDeclareFunction:case UY.AST_NODE_TYPES.FunctionDeclaration:{let a=s.id?.name??null;return a==null?null:{name:a,type:oyt.MemberNameType.Normal,callSignature:!1}}case UY.AST_NODE_TYPES.TSMethodSignature:case UY.AST_NODE_TYPES.MethodDefinition:return{...(0,oyt.getNameFromMember)(s,e.sourceCode),callSignature:!1,static:s.static};case UY.AST_NODE_TYPES.TSCallSignatureDeclaration:return{name:"call",type:oyt.MemberNameType.Normal,callSignature:!0};case UY.AST_NODE_TYPES.TSConstructSignatureDeclaration:return{name:"new",type:oyt.MemberNameType.Normal,callSignature:!1}}return null}function r(s,a){return!!a&&s.name===a.name&&s.static===a.static&&s.callSignature===a.callSignature&&s.type===a.type}function n(s){switch(s.type){case UY.AST_NODE_TYPES.ClassBody:case UY.AST_NODE_TYPES.Program:case UY.AST_NODE_TYPES.TSModuleBlock:case UY.AST_NODE_TYPES.TSInterfaceBody:case UY.AST_NODE_TYPES.BlockStatement:return s.body;case UY.AST_NODE_TYPES.TSTypeLiteral:return s.members}}function i(s){let a=n(s),u=null,l=[];a.forEach(f=>{let p=t(f);if(p==null){u=null;return}let g=l.findIndex(A=>r(p,A));g>-1&&!r(p,u)?e.report({node:f,messageId:"adjacentSignature",data:{name:`${p.static?"static ":""}${p.name}`}}):g===-1&&l.push(p),u=p})}return{BlockStatement:i,ClassBody:i,Program:i,TSInterfaceBody:i,TSModuleBlock:i,TSTypeLiteral:i}}})});var sVs=j(UAn=>{"use strict";Object.defineProperty(UAn,"__esModule",{value:!0});var TC=Vo(),nVs=el();function uyt(e){switch(e.type){case TC.AST_NODE_TYPES.Identifier:case TC.AST_NODE_TYPES.TSAnyKeyword:case TC.AST_NODE_TYPES.TSBooleanKeyword:case TC.AST_NODE_TYPES.TSNeverKeyword:case TC.AST_NODE_TYPES.TSNumberKeyword:case TC.AST_NODE_TYPES.TSBigIntKeyword:case TC.AST_NODE_TYPES.TSObjectKeyword:case TC.AST_NODE_TYPES.TSStringKeyword:case TC.AST_NODE_TYPES.TSSymbolKeyword:case TC.AST_NODE_TYPES.TSUnknownKeyword:case TC.AST_NODE_TYPES.TSVoidKeyword:case TC.AST_NODE_TYPES.TSNullKeyword:case TC.AST_NODE_TYPES.TSArrayType:case TC.AST_NODE_TYPES.TSUndefinedKeyword:case TC.AST_NODE_TYPES.TSThisType:case TC.AST_NODE_TYPES.TSQualifiedName:return!0;case TC.AST_NODE_TYPES.TSTypeReference:if(e.typeName.type===TC.AST_NODE_TYPES.Identifier&&e.typeName.name==="Array"){if(!e.typeArguments)return!0;if(e.typeArguments.params.length===1)return uyt(e.typeArguments.params[0])}else return e.typeArguments?!1:uyt(e.typeName);return!1;default:return!1}}function iVs(e){switch(e.type){case TC.AST_NODE_TYPES.TSTypeReference:return iVs(e.typeName);case TC.AST_NODE_TYPES.TSUnionType:case TC.AST_NODE_TYPES.TSFunctionType:case TC.AST_NODE_TYPES.TSIntersectionType:case TC.AST_NODE_TYPES.TSTypeOperator:case TC.AST_NODE_TYPES.TSInferType:case TC.AST_NODE_TYPES.TSConstructorType:case TC.AST_NODE_TYPES.TSConditionalType:return!0;case TC.AST_NODE_TYPES.Identifier:return e.name==="ReadonlyArray";default:return!1}}UAn.default=(0,nVs.createRule)({name:"array-type",meta:{type:"suggestion",docs:{description:"Require consistently using either `T[]` or `Array` for arrays",recommended:"stylistic"},fixable:"code",messages:{errorStringArray:"Array type using '{{className}}<{{type}}>' is forbidden. Use '{{readonlyPrefix}}{{type}}[]' instead.",errorStringArrayReadonly:"Array type using '{{className}}<{{type}}>' is forbidden. Use '{{readonlyPrefix}}{{type}}' instead.",errorStringArraySimple:"Array type using '{{className}}<{{type}}>' is forbidden for simple types. Use '{{readonlyPrefix}}{{type}}[]' instead.",errorStringArraySimpleReadonly:"Array type using '{{className}}<{{type}}>' is forbidden for simple types. Use '{{readonlyPrefix}}{{type}}' instead.",errorStringGeneric:"Array type using '{{readonlyPrefix}}{{type}}[]' is forbidden. Use '{{className}}<{{type}}>' instead.",errorStringGenericSimple:"Array type using '{{readonlyPrefix}}{{type}}[]' is forbidden for non-simple types. Use '{{className}}<{{type}}>' instead."},schema:[{type:"object",$defs:{arrayOption:{type:"string",enum:["array","generic","array-simple"]}},additionalProperties:!1,properties:{default:{$ref:"#/items/0/$defs/arrayOption",description:"The array type expected for mutable cases."},readonly:{$ref:"#/items/0/$defs/arrayOption",description:"The array type expected for readonly cases. If omitted, the value for `default` will be used."}}}]},defaultOptions:[{default:"array"}],create(e,[t]){let r=t.default,n=t.readonly??r;function i(s){return uyt(s)?e.sourceCode.getText(s):"T"}return{TSArrayType(s){let a=s.parent.type===TC.AST_NODE_TYPES.TSTypeOperator&&s.parent.operator==="readonly",u=a?n:r;if(u==="array"||u==="array-simple"&&uyt(s.elementType))return;let l=u==="generic"?"errorStringGeneric":"errorStringGenericSimple",f=a?s.parent:s;e.report({node:f,messageId:l,data:{type:i(s.elementType),className:a?"ReadonlyArray":"Array",readonlyPrefix:a?"readonly ":""},fix(p){let g=s.elementType,A=a?"ReadonlyArray":"Array";return[p.replaceTextRange([f.range[0],g.range[0]],`${A}<`),p.replaceTextRange([g.range[1],f.range[1]],">")]}})},TSTypeReference(s){if(s.typeName.type!==TC.AST_NODE_TYPES.Identifier||!(s.typeName.name==="Array"||s.typeName.name==="ReadonlyArray"||s.typeName.name==="Readonly")||s.typeName.name==="Readonly"&&s.typeArguments?.params[0].type!==TC.AST_NODE_TYPES.TSArrayType)return;let a=s.typeName.name==="Readonly"&&s.typeArguments?.params[0].type===TC.AST_NODE_TYPES.TSArrayType,u=s.typeName.name==="ReadonlyArray"||a,l=u?n:r;if(l==="generic")return;let f=u?"readonly ":"",p=s.typeArguments?.params,g=l==="array"?a?"errorStringArrayReadonly":"errorStringArray":u&&s.typeName.name!=="ReadonlyArray"?"errorStringArraySimpleReadonly":"errorStringArraySimple";if(!p){e.report({node:s,messageId:g,data:{type:"any",className:u?"ReadonlyArray":"Array",readonlyPrefix:f},fix(D){return D.replaceText(s,`${f}any[]`)}});return}if(p.length!==1||l==="array-simple"&&!uyt(p[0]))return;let A=p[0],h=iVs(A),_=f&&s.parent.type===TC.AST_NODE_TYPES.TSArrayType&&!(0,nVs.isParenthesized)(s.parent.elementType,e.sourceCode),E=`${_?"(":""}${f}${h?"(":""}`,b=`${h?")":""}${a?"":"[]"}${_?")":""}`;e.report({node:s,messageId:g,data:{type:i(A),className:u?s.typeName.name:"Array",readonlyPrefix:f},fix(D){return[D.replaceTextRange([s.range[0],A.range[0]],E),D.replaceTextRange([A.range[1],s.range[1]],b)]}})}}}})});var YAn=j(qAn=>{"use strict";Object.defineProperty(qAn,"__esModule",{value:!0});qAn.getForStatementHeadLoc=gSf;var mSf=HVe();function gSf(e,t){let r=(0,mSf.nullThrows)(e.getTokenBefore(t.body,n=>n.value===")"),"for statement must have a closing parenthesis.");return{end:structuredClone(r.loc.end),start:structuredClone(t.loc.start)}}});var oVs=j(GAn=>{"use strict";Object.defineProperty(GAn,"__esModule",{value:!0});GAn.isPromiseAggregatorMethod=_Sf;var aVs=$ye(),ASf=Vo(),hSf=XVe(),ySf=new Set(["all","allSettled","race","any"]);function _Sf(e,t,r){if(r.callee.type!==ASf.AST_NODE_TYPES.MemberExpression)return!1;let n=(0,hSf.getStaticMemberAccessValue)(r.callee,e);return ySf.has(n)?(0,aVs.isPromiseConstructorLike)(t.program,(0,aVs.getConstrainedTypeAtLocation)(t,r.callee.object)):!1}});var uVs=j(zye=>{"use strict";var ESf=zye&&zye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),xSf=zye&&zye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),vSf=zye&&zye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ixpe.getWellKnownSymbolPropertyOfType(a,"asyncIterator",r)!=null)||e.report({loc:(0,bSf.getForStatementHeadLoc)(e.sourceCode,n),messageId:"forAwaitOfNonAsyncIterable",suggest:[{messageId:"convertToOrdinaryFor",fix(a){let u=(0,T9.nullThrows)(e.sourceCode.getFirstToken(n,T9.isAwaitKeyword),T9.NullThrowsReasons.MissingToken("await","for await loop"));return a.remove(u)}}]})},'VariableDeclaration[kind="await using"]'(n){for(let i of n.declarations){let s=i.init;if(s==null)continue;let a=t.getTypeAtLocation(s);if((0,T9.isTypeAnyType)(a))continue;xpe.unionConstituents(a).some(l=>xpe.getWellKnownSymbolPropertyOfType(l,"asyncDispose",r)!=null)||e.report({node:s,messageId:"awaitUsingOfNonAsyncDisposable",...(0,T9.getFixOrSuggest)({fixOrSuggest:n.declarations.length===1?"suggest":"none",suggestion:{messageId:"removeAwait",fix(l){let f=(0,T9.nullThrows)(e.sourceCode.getFirstToken(n,T9.isAwaitKeyword),T9.NullThrowsReasons.MissingToken("await","await using"));return l.remove(f)}}})})}}}}});function SSf(e,t,r){if(!BSf(r,e))return!1;for(let n of xpe.unionConstituents(r)){let i=TSf(n,e);if(i!=null){for(let s of i)if(wSf(s,t,e))return!0}}return!1}function TSf(e,t){return t.isTupleType(e)?t.getTypeArguments(e):t.isArrayLikeType(e)?[(0,T9.nullThrows)(e.getNumberIndexType(),"number index type should exist on an array-like")]:xpe.isTypeReference(e)?t.getTypeArguments(e).slice(0,1):null}function DSf(e,t,r){return xpe.unionConstituents(e).every(n=>(0,T9.needsToBeAwaited)(r,t,n)===T9.Awaitable.Never)}function wSf(e,t,r){return xpe.unionConstituents(e).some(n=>(0,T9.needsToBeAwaited)(r,t,n)===T9.Awaitable.Never)}function BSf(e,t){return xpe.unionConstituents(e).every(r=>!!xpe.getWellKnownSymbolPropertyOfType(r,"iterator",t))}});var cVs=j(VAn=>{"use strict";Object.defineProperty(VAn,"__esModule",{value:!0});var lVs=Vo(),t$e=el(),kSf=3;VAn.default=(0,t$e.createRule)({name:"ban-ts-comment",meta:{type:"problem",docs:{description:"Disallow `@ts-` comments or require descriptions after directives",recommended:{recommended:!0,strict:[{minimumDescriptionLength:10}]}},hasSuggestions:!0,messages:{replaceTsIgnoreWithTsExpectError:'Replace "@ts-ignore" with "@ts-expect-error".',tsDirectiveComment:'Do not use "@ts-{{directive}}" because it alters compilation errors.',tsDirectiveCommentDescriptionNotMatchPattern:'The description for the "@ts-{{directive}}" directive must match the {{format}} format.',tsDirectiveCommentRequiresDescription:'Include a description after the "@ts-{{directive}}" directive to explain why the @ts-{{directive}} is necessary. The description must be {{minimumDescriptionLength}} characters or longer.',tsIgnoreInsteadOfExpectError:'Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free.'},schema:[{type:"object",$defs:{directiveConfigSchema:{oneOf:[{type:"boolean",default:!0},{type:"string",enum:["allow-with-description"]},{type:"object",additionalProperties:!1,properties:{descriptionFormat:{type:"string"}}}]}},additionalProperties:!1,properties:{minimumDescriptionLength:{type:"number",description:"A minimum character length for descriptions when `allow-with-description` is enabled."},"ts-check":{$ref:"#/items/0/$defs/directiveConfigSchema",description:"Whether allow ts-check directives, and with which restrictions."},"ts-expect-error":{$ref:"#/items/0/$defs/directiveConfigSchema",description:"Whether and when expect-error directives, and with which restrictions."},"ts-ignore":{$ref:"#/items/0/$defs/directiveConfigSchema",description:"Whether allow ts-ignore directives, and with which restrictions."},"ts-nocheck":{$ref:"#/items/0/$defs/directiveConfigSchema",description:"Whether allow ts-nocheck directives, and with which restrictions."}}}]},defaultOptions:[{minimumDescriptionLength:kSf,"ts-check":!1,"ts-expect-error":"allow-with-description","ts-ignore":!0,"ts-nocheck":!0}],create(e,[t]){let r=/^\/\/\/?\s*@ts-(?check|nocheck)(?.*)$/,n=/^\/*\s*@ts-(?expect-error|ignore)(?.*)/,i=/^\s*(?:\/|\*)*\s*@ts-(?expect-error|ignore)(?.*)/,s=new Map;for(let l of["ts-expect-error","ts-ignore","ts-nocheck","ts-check"]){let f=t[l];typeof f=="object"&&f.descriptionFormat&&s.set(l,new RegExp(f.descriptionFormat))}function a(l,f){let p=l.exec(f);if(!p)return null;let{description:g,directive:A}=(0,t$e.nullThrows)(p.groups,"RegExp should contain groups");return{description:(0,t$e.nullThrows)(g,'RegExp should contain "description" group'),directive:(0,t$e.nullThrows)(A,'RegExp should contain "directive" group')}}function u(l){if(l.type===lVs.AST_TOKEN_TYPES.Line){let p=a(r,`//${l.value}`);return p||a(n,l.value)}let f=l.value.split(` `);return a(i,f[f.length-1])}return{Program(l){let f=l.body.at(0);e.sourceCode.getAllComments().forEach(g=>{let A=u(g);if(!A)return;let{description:h,directive:_}=A;if(_==="nocheck"&&f&&f.loc.start.line<=g.loc.start.line)return;let E=`ts-${_}`,b=t[E];if(b===!0&&(_==="ignore"?e.report({node:g,messageId:"tsIgnoreInsteadOfExpectError",suggest:[{messageId:"replaceTsIgnoreWithTsExpectError",fix(D){let k=g.value.replace(/@ts-ignore/,"@ts-expect-error");return D.replaceText(g,g.type===lVs.AST_TOKEN_TYPES.Line?`//${k}`:`/*${k}*/`)}}]}):e.report({node:g,messageId:"tsDirectiveComment",data:{directive:_}})),b==="allow-with-description"||typeof b=="object"&&b.descriptionFormat){let{minimumDescriptionLength:D}=t,k=s.get(E);(0,t$e.getStringLength)(h.trim())<(0,t$e.nullThrows)(D,"Expected minimumDescriptionLength to be set")?e.report({node:g,messageId:"tsDirectiveCommentRequiresDescription",data:{directive:_,minimumDescriptionLength:D}}):k&&!k.test(h)&&e.report({node:g,messageId:"tsDirectiveCommentDescriptionNotMatchPattern",data:{directive:_,format:k.source}})}})}}}})});var fVs=j($An=>{"use strict";Object.defineProperty($An,"__esModule",{value:!0});var PSf=Vo(),NSf=el(),OSf=/^\s*tslint:(enable|disable)(?:-(line|next-line))?(:|\s|$)/,RSf=(e,t)=>t===PSf.AST_TOKEN_TYPES.Line?["//",e.trim()].join(" "):["/*",e.trim(),"*/"].join(" ");$An.default=(0,NSf.createRule)({name:"ban-tslint-comment",meta:{type:"suggestion",docs:{description:"Disallow `// tslint:` comments",recommended:"stylistic"},fixable:"code",messages:{commentDetected:'tslint comment detected: "{{ text }}"'},schema:[]},defaultOptions:[],create:e=>({Program(){e.sourceCode.getAllComments().forEach(r=>{OSf.test(r.value)&&e.report({node:r,messageId:"commentDetected",data:{text:RSf(r.value,r.type)},fix(n){let i=e.sourceCode.getIndexFromLoc({column:r.loc.start.column>0?r.loc.start.column-1:0,line:r.loc.start.line}),s=e.sourceCode.getIndexFromLoc({column:r.loc.end.column,line:r.loc.end.line});return n.removeRange([i,s+1])}})})}})})});var mVs=j(KAn=>{"use strict";Object.defineProperty(KAn,"__esModule",{value:!0});var k5e=Vo(),LTe=el(),pVs=(e,t)=>`${e.accessibility??""}${e.static?" static":""} ${t} `.trimStart(),dVs=e=>{switch(e.type){case k5e.AST_NODE_TYPES.Literal:return!0;case k5e.AST_NODE_TYPES.TaggedTemplateExpression:return e.quasi.quasis.length===1;case k5e.AST_NODE_TYPES.TemplateLiteral:return e.quasis.length===1;default:return!1}};KAn.default=(0,LTe.createRule)({name:"class-literal-property-style",meta:{type:"problem",docs:{description:"Enforce that literals on classes are exposed in a consistent style",recommended:"stylistic"},hasSuggestions:!0,messages:{preferFieldStyle:"Literals should be exposed using readonly fields.",preferFieldStyleSuggestion:"Replace the literals with readonly fields.",preferGetterStyle:"Literals should be exposed using getters.",preferGetterStyleSuggestion:"Replace the literals with getters."},schema:[{type:"string",description:"Which literal class member syntax to prefer.",enum:["fields","getters"]}]},defaultOptions:["fields"],create(e,[t]){let r=[];function n(){r.push({excludeSet:new Set,properties:[]})}function i(){let{excludeSet:a,properties:u}=(0,LTe.nullThrows)(r.pop(),"Stack should exist on class exit");u.forEach(l=>{let{value:f}=l;if(!f||!dVs(f))return;let p=(0,LTe.getStaticMemberAccessValue)(l,e);p&&a.has(p)||e.report({node:l.key,messageId:"preferGetterStyle",suggest:[{messageId:"preferGetterStyleSuggestion",fix(g){let A=e.sourceCode.getText(l.key),h="";return h+=pVs(l,"get"),h+=l.computed?`[${A}]`:A,h+=`() { return ${e.sourceCode.getText(f)}; }`,g.replaceText(l,h)}}]})})}function s(a){if((0,LTe.isAssignee)(a)){let{excludeSet:u}=r[r.length-1],l=(0,LTe.getStaticMemberAccessValue)(a,e);l&&u.add(l)}}return{...t==="fields"&&{MethodDefinition(a){if(a.kind!=="get"||a.override||!a.value.body||a.value.body.body.length===0)return;let[u]=a.value.body.body;if(u.type!==k5e.AST_NODE_TYPES.ReturnStatement)return;let{argument:l}=u;if(!l||!dVs(l))return;let f=(0,LTe.getStaticMemberAccessValue)(a,e);f&&a.parent.body.some(g=>g.type===k5e.AST_NODE_TYPES.MethodDefinition&&g.kind==="set"&&(0,LTe.isStaticMemberAccessOfValue)(g,e,f))||e.report({node:a.key,messageId:"preferFieldStyle",suggest:[{messageId:"preferFieldStyleSuggestion",fix(g){let A=e.sourceCode.getText(a.key),h="";return h+=pVs(a,"readonly"),h+=a.computed?`[${A}]`:A,h+=` = ${e.sourceCode.getText(l)};`,g.replaceText(a,h)}}]})}},...t==="getters"&&{ClassBody:n,"ClassBody:exit":i,'MethodDefinition[kind="constructor"] ThisExpression'(a){if(a.parent.type===k5e.AST_NODE_TYPES.MemberExpression){let u=a.parent;for(;!(0,LTe.isFunction)(u);)u=u.parent;u.parent.type===k5e.AST_NODE_TYPES.MethodDefinition&&u.parent.kind==="constructor"&&s(a.parent)}},PropertyDefinition(a){if(!a.readonly||a.declare||a.override)return;let{properties:u}=r[r.length-1];u.push(a)}}}}})});var gVs=j(JAn=>{"use strict";Object.defineProperty(JAn,"__esModule",{value:!0});var MTe=Vo(),zZt=el();JAn.default=(0,zZt.createRule)({name:"class-methods-use-this",meta:{type:"suggestion",docs:{description:"Enforce that class methods utilize `this`",extendsBaseRule:!0,requiresTypeChecking:!1},messages:{missingThis:"Expected 'this' to be used by class {{name}}."},schema:[{type:"object",additionalProperties:!1,properties:{enforceForClassFields:{type:"boolean",description:"Enforces that functions used as instance field initializers utilize `this`."},exceptMethods:{type:"array",description:"Allows specified method names to be ignored with this rule.",items:{type:"string"}},ignoreClassesThatImplementAnInterface:{description:"Whether to ignore class members that are defined within a class that `implements` a type.",oneOf:[{type:"boolean",description:"Ignore all classes that implement an interface"},{type:"string",description:"Ignore only the public fields of classes that implement an interface",enum:["public-fields"]}]},ignoreOverrideMethods:{type:"boolean",description:"Whether to ignore members marked with the `override` modifier."}}}]},defaultOptions:[{enforceForClassFields:!0,exceptMethods:[],ignoreClassesThatImplementAnInterface:!1,ignoreOverrideMethods:!1}],create(e,[{enforceForClassFields:t,exceptMethods:r,ignoreClassesThatImplementAnInterface:n,ignoreOverrideMethods:i}]){let s=new Set(r),a;function u(h){h?.parent.type===MTe.AST_NODE_TYPES.ClassBody?a={class:h.parent.parent,member:h,parent:a,usesThis:!1}:a={class:null,member:null,parent:a,usesThis:!1}}function l(h){h.parent.type===MTe.AST_NODE_TYPES.MethodDefinition||h.parent.type===MTe.AST_NODE_TYPES.PropertyDefinition||h.parent.type===MTe.AST_NODE_TYPES.AccessorProperty?u(h.parent):u()}function f(){let h=a;return a=a?.parent,h}function p(h){return!h||h==="public"}function g(h){if(h.static||h.type===MTe.AST_NODE_TYPES.MethodDefinition&&h.kind==="constructor"||(h.type===MTe.AST_NODE_TYPES.PropertyDefinition||h.type===MTe.AST_NODE_TYPES.AccessorProperty)&&!t)return!1;if(h.computed||s.size===0)return!0;let _=h.key.type===MTe.AST_NODE_TYPES.PrivateIdentifier?"#":"",E=(0,zZt.getStaticMemberAccessValue)(h,e);return typeof E!="string"||!s.has(_+E)}function A(h){let _=f();_?.member==null||_.usesThis||i&&_.member.override||n===!0&&_.class.implements.length>0||n==="public-fields"&&_.class.implements.length>0&&p(_.member.accessibility)||g(_.member)&&e.report({loc:(0,zZt.getFunctionHeadLoc)(h,e.sourceCode),node:h,messageId:"missingThis",data:{name:(0,zZt.getFunctionNameWithKind)(h)}})}return{FunctionDeclaration(){u()},"FunctionDeclaration:exit"(){f()},FunctionExpression(h){l(h)},"FunctionExpression:exit"(h){A(h)},...t?{"AccessorProperty > ArrowFunctionExpression.value"(h){l(h)},"AccessorProperty > ArrowFunctionExpression.value:exit"(h){A(h)},"PropertyDefinition > ArrowFunctionExpression.value"(h){l(h)},"PropertyDefinition > ArrowFunctionExpression.value:exit"(h){A(h)}}:{},"AccessorProperty:exit"(){f()},"AccessorProperty > *.key:exit"(){u()},"PropertyDefinition:exit"(){f()},"PropertyDefinition > *.key:exit"(){u()},StaticBlock(){u()},"StaticBlock:exit"(){f()},"ThisExpression, Super"(){a&&(a.usesThis=!0)}}}})});var AVs=j(HAn=>{"use strict";Object.defineProperty(HAn,"__esModule",{value:!0});var vpe=Vo(),WZt=el(),FSf=new Set(["Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"]);HAn.default=(0,WZt.createRule)({name:"consistent-generic-constructors",meta:{type:"suggestion",docs:{description:"Enforce specifying generic type arguments on type annotation or constructor name of a constructor call",recommended:"stylistic"},fixable:"code",messages:{preferConstructor:"The generic type arguments should be specified as part of the constructor type arguments.",preferTypeAnnotation:"The generic type arguments should be specified as part of the type annotation."},schema:[{type:"string",description:"Which constructor call syntax to prefer.",enum:["type-annotation","constructor"]}]},defaultOptions:["constructor"],create(e,[t]){return{"VariableDeclarator,PropertyDefinition,AccessorProperty,:matches(FunctionDeclaration,FunctionExpression) > AssignmentPattern"(r){function n(){switch(r.type){case vpe.AST_NODE_TYPES.VariableDeclarator:return[r.id,r.init];case vpe.AST_NODE_TYPES.PropertyDefinition:case vpe.AST_NODE_TYPES.AccessorProperty:return[r,r.value];case vpe.AST_NODE_TYPES.AssignmentPattern:return[r.left,r.right];default:throw new Error(`Unhandled node type: ${r.type}`)}}function i(f){return FSf.has(f.name)&&(0,WZt.isReferenceToGlobalFunction)(f.name,f,e.sourceCode)}let[s,a]=n(),u=s.typeAnnotation?.typeAnnotation;if(!a||a.type!==vpe.AST_NODE_TYPES.NewExpression||a.callee.type!==vpe.AST_NODE_TYPES.Identifier||u&&(u.type!==vpe.AST_NODE_TYPES.TSTypeReference||u.typeName.type!==vpe.AST_NODE_TYPES.Identifier||u.typeName.name!==a.callee.name||i(u.typeName)))return;if(t==="type-annotation"){if(!u&&a.typeArguments){let{callee:f,typeArguments:p}=a,g=e.sourceCode.getText(f)+e.sourceCode.getText(p);e.report({node:r,messageId:"preferTypeAnnotation",fix(A){function h(){return r.type!==vpe.AST_NODE_TYPES.PropertyDefinition&&r.type!==vpe.AST_NODE_TYPES.AccessorProperty?s:r.computed?(0,WZt.nullThrows)(e.sourceCode.getTokenAfter(r.key),WZt.NullThrowsReasons.MissingToken("]","key")):r.key}return[A.remove(p),A.insertTextAfter(h(),`: ${g}`)]}})}return}if(!e.parserOptions.isolatedDeclarations&&u?.typeArguments&&!a.typeArguments){let f=e.sourceCode.getTokenAfter(a.callee)?.value==="(",p=new Set(e.sourceCode.getCommentsInside(u.parent));e.sourceCode.getCommentsInside(u.typeArguments).forEach(g=>p.delete(g)),e.report({node:r,messageId:"preferConstructor",*fix(g){yield g.remove(u.parent);for(let A of p)yield g.insertTextAfter(a.callee,e.sourceCode.getText(A));yield g.insertTextAfter(a.callee,e.sourceCode.getText(u.typeArguments)),f||(yield g.insertTextAfter(a.callee,"()"))}})}}}}})});var hVs=j(WAn=>{"use strict";Object.defineProperty(WAn,"__esModule",{value:!0});var Ow=Vo(),lyt=el();WAn.default=(0,lyt.createRule)({name:"consistent-indexed-object-style",meta:{type:"suggestion",docs:{description:"Require or disallow the `Record` type",recommended:"stylistic"},fixable:"code",hasSuggestions:!0,messages:{preferIndexSignature:"An index signature is preferred over a record.",preferIndexSignatureSuggestion:"Change into an index signature instead of a record.",preferRecord:"A record is preferred over an index signature."},schema:[{type:"string",description:"Which indexed object syntax to prefer.",enum:["record","index-signature"]}]},defaultOptions:["record"],create(e,[t]){function r(n,i,s,a,u,l=!0){if(n.length!==1)return;let[f]=n;if(f.type!==Ow.AST_NODE_TYPES.TSIndexSignature)return;let p=f.parameters.at(0);if(p?.type!==Ow.AST_NODE_TYPES.Identifier)return;let g=p.typeAnnotation;if(!g)return;let A=f.typeAnnotation;if(A){if(s){let h=e.sourceCode.getScope(s),_=Ow.ASTUtils.findVariable(h,s.name);if(_&&WQ(i,_,new Set([s])))return}e.report({node:i,messageId:"preferRecord",fix:l?h=>{let _=e.sourceCode.getText(g.typeAnnotation),E=e.sourceCode.getText(A.typeAnnotation),b=f.readonly?`Readonly>`:`Record<${_}, ${E}>`;return h.replaceText(i,`${a}${b}${u}`)}:null})}}return{...t==="index-signature"&&{TSTypeReference(n){let i=n.typeName;if(i.type!==Ow.AST_NODE_TYPES.Identifier||i.name!=="Record")return;let s=n.typeArguments?.params;if(s?.length!==2)return;let a=s[0],u=a.type===Ow.AST_NODE_TYPES.TSStringKeyword||a.type===Ow.AST_NODE_TYPES.TSNumberKeyword||a.type===Ow.AST_NODE_TYPES.TSSymbolKeyword;e.report({node:n,messageId:"preferIndexSignature",...(0,lyt.getFixOrSuggest)({fixOrSuggest:u?"fix":"suggest",suggestion:{messageId:"preferIndexSignatureSuggestion",fix:l=>{let f=e.sourceCode.getText(s[0]),p=e.sourceCode.getText(s[1]);return l.replaceText(n,`{ [key: ${f}]: ${p} }`)}}})})}},...t==="record"&&{TSInterfaceDeclaration(n){let i="";n.typeParameters?.params.length&&(i=`<${n.typeParameters.params.map(s=>e.sourceCode.getText(s)).join(", ")}>`),r(n.body.body,n,n.id,`type ${n.id.name}${i} = `,";",!n.extends.length)},TSMappedType(n){let i=n.key,s=e.sourceCode.getScope(i);if((0,lyt.nullThrows)(s.variables.find(p=>p.name===i.name&&p.isTypeVariable),"key type parameter must be a defined type variable in its scope").references.some(p=>p.isTypeReference))return;let u=n.constraint;if(u.type===Ow.AST_NODE_TYPES.TSTypeOperator&&u.operator==="keyof"&&!(0,lyt.isParenthesized)(u,e.sourceCode))return;let l=zAn(n)?.id;if(l){let p=e.sourceCode.getScope(i),g=Ow.ASTUtils.findVariable(p,l.name);if(g&&WQ(n.parent,g,new Set([l])))return}let f=n.readonly!=="-";e.report({node:n,messageId:"preferRecord",...f&&{fix:p=>{let g=e.sourceCode.getText(u),A=n.typeAnnotation?e.sourceCode.getText(n.typeAnnotation):"any",h=`Record<${g}, ${A}>`;return n.optional==="+"||n.optional===!0?h=`Partial<${h}>`:n.optional==="-"&&(h=`Required<${h}>`),(n.readonly==="+"||n.readonly===!0)&&(h=`Readonly<${h}>`),p.replaceText(n,h)}}})},TSTypeLiteral(n){let i=zAn(n);r(n.members,n,i?.id,"","")}}}}});function zAn(e){if(e.parent&&e.parent.type!==Ow.AST_NODE_TYPES.TSTypeAnnotation)return e.parent.type===Ow.AST_NODE_TYPES.TSTypeAliasDeclaration?e.parent:zAn(e.parent)}function WQ(e,t,r){if(r.has(e))return!1;switch(r.add(e),e.type){case Ow.AST_NODE_TYPES.TSTypeLiteral:return e.members.some(n=>WQ(n,t,r));case Ow.AST_NODE_TYPES.TSTypeAliasDeclaration:return WQ(e.typeAnnotation,t,r);case Ow.AST_NODE_TYPES.TSIndexedAccessType:return[e.indexType,e.objectType].some(n=>WQ(n,t,r));case Ow.AST_NODE_TYPES.TSMappedType:if(e.typeAnnotation)return WQ(e.typeAnnotation,t,r);break;case Ow.AST_NODE_TYPES.TSConditionalType:return[e.checkType,e.extendsType,e.falseType,e.trueType].some(n=>WQ(n,t,r));case Ow.AST_NODE_TYPES.TSUnionType:case Ow.AST_NODE_TYPES.TSIntersectionType:return e.types.some(n=>WQ(n,t,r));case Ow.AST_NODE_TYPES.TSInterfaceDeclaration:return e.body.body.some(n=>WQ(n,t,r));case Ow.AST_NODE_TYPES.TSTypeAnnotation:return WQ(e.typeAnnotation,t,r);case Ow.AST_NODE_TYPES.TSIndexSignature:{if(e.typeAnnotation)return WQ(e.typeAnnotation,t,r);break}case Ow.AST_NODE_TYPES.TSTypeParameterInstantiation:return e.params.some(n=>WQ(n,t,r));case Ow.AST_NODE_TYPES.TSTypeReference:{if(WQ(e.typeName,t,r)||e.typeArguments&&WQ(e.typeArguments,t,r))return!0;break}case Ow.AST_NODE_TYPES.Identifier:{if(t.references.some(i=>(0,lyt.isNodeEqual)(i.identifier,e)))return!0;let n=Ow.ASTUtils.findVariable(t.scope,e.name);if(n)return n.defs.some(i=>WQ(i.node,t,r))}}return!1}});var XQ=j(r$e=>{"use strict";Object.defineProperty(r$e,"__esModule",{value:!0});r$e.getESLintCoreRule=void 0;r$e.maybeGetESLintCoreRule=jSf;var LSf=Vo(),MSf=xTe(),QSf=e=>LSf.ESLintUtils.nullThrows(MSf.builtinRules.get(e),`ESLint's core rule '${e}' not found.`);r$e.getESLintCoreRule=QSf;function jSf(e){try{return(0,r$e.getESLintCoreRule)(e)}catch{return null}}});var xVs=j(Wye=>{"use strict";var USf=Wye&&Wye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),qSf=Wye&&Wye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),EVs=Wye&&Wye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let D=b.getReturnType();return A.async?p(_,D):(0,XZt.isTypeFlagSet)(D,XAn.TypeFlags.Void)})}return{...i,ArrowFunctionExpression:u,"ArrowFunctionExpression:exit"(A){l(),i["ArrowFunctionExpression:exit"](A)},FunctionDeclaration:u,"FunctionDeclaration:exit"(A){l(),i["FunctionDeclaration:exit"](A)},FunctionExpression:u,"FunctionExpression:exit"(A){l(),i["FunctionExpression:exit"](A)},ReturnStatement(A){let h=f();if(!(!A.argument&&h&&g(h))){if(a&&A.argument&&r.getTypeAtLocation(A.argument).flags===XAn.TypeFlags.Undefined){i.ReturnStatement({...A,argument:null});return}i.ReturnStatement(A)}}}}})});var ehn=j(ZAn=>{"use strict";Object.defineProperty(ZAn,"__esModule",{value:!0});ZAn.getWrappedCode=GSf;function GSf(e,t,r){return t>r?e:`(${e})`}});var CVs=j(Xye=>{"use strict";var VSf=Xye&&Xye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),$Sf=Xye&&Xye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),KSf=Xye&&Xye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i' instead of 'as {{cast}}'.",as:"Use 'as {{cast}}' instead of '<{{cast}}>'.",never:"Do not use any type assertions.",replaceArrayTypeAssertionWithAnnotation:"Use const x: {{cast}} = [ ... ] instead.",replaceArrayTypeAssertionWithSatisfies:"Use const x = [ ... ] satisfies {{cast}} instead.",replaceObjectTypeAssertionWithAnnotation:"Use const x: {{cast}} = { ... } instead.",replaceObjectTypeAssertionWithSatisfies:"Use const x = { ... } satisfies {{cast}} instead.",unexpectedArrayTypeAssertion:"Always prefer const x: T[] = [ ... ].",unexpectedObjectTypeAssertion:"Always prefer const x: T = { ... }."},schema:[{oneOf:[{type:"object",additionalProperties:!1,properties:{assertionStyle:{type:"string",description:"The expected assertion style to enforce.",enum:["never"]}},required:["assertionStyle"]},{type:"object",additionalProperties:!1,properties:{arrayLiteralTypeAssertions:{type:"string",description:"Whether to always prefer type declarations for array literals used as variable initializers, rather than type assertions.",enum:["allow","allow-as-parameter","never"]},assertionStyle:{type:"string",description:"The expected assertion style to enforce.",enum:["as","angle-bracket"]},objectLiteralTypeAssertions:{type:"string",description:"Whether to always prefer type declarations for object literals used as variable initializers, rather than type assertions.",enum:["allow","allow-as-parameter","never"]}}}]}]},defaultOptions:[{arrayLiteralTypeAssertions:"allow",assertionStyle:"as",objectLiteralTypeAssertions:"allow"}],create(e,[t]){function r(f){return f.type!==aL.AST_NODE_TYPES.TSTypeReference?!1:f.typeName.type===aL.AST_NODE_TYPES.Identifier&&f.typeName.name==="const"}function n(f){let p=t.assertionStyle;r(f.typeAnnotation)&&p==="never"||e.report({node:f,messageId:p,data:p!=="never"?{cast:e.sourceCode.getText(f.typeAnnotation)}:{},fix:p==="as"?g=>{let A=(0,QTe.getParserServices)(e,!0).esTreeNodeToTSNodeMap.get(f),h=e.sourceCode.getText(f.expression),_=e.sourceCode.getText(f.typeAnnotation),E=(0,QTe.getOperatorPrecedence)(cyt.SyntaxKind.AsExpression,cyt.SyntaxKind.Unknown),b=(0,QTe.getOperatorPrecedence)(A.parent.kind,cyt.isBinaryExpression(A.parent)?A.parent.operatorToken.kind:cyt.SyntaxKind.Unknown,cyt.isNewExpression(A.parent)?A.parent.arguments!=null&&A.parent.arguments.length>0:void 0),D=(0,QTe.getOperatorPrecedenceForNode)(f.expression),M=`${(0,vVs.getWrappedCode)(h,D,E)} as ${_}`;return g.replaceText(f,(0,QTe.isParenthesized)(f,e.sourceCode)?M:(0,vVs.getWrappedCode)(M,E,b))}:void 0})}function i(f){switch(f.type){case aL.AST_NODE_TYPES.TSAnyKeyword:case aL.AST_NODE_TYPES.TSUnknownKeyword:return!1;case aL.AST_NODE_TYPES.TSTypeReference:return!r(f)||f.typeName.type===aL.AST_NODE_TYPES.TSQualifiedName;default:return!0}}function s(f,p,g){let A=[];if(f.parent.type===aL.AST_NODE_TYPES.VariableDeclarator&&!f.parent.id.typeAnnotation){let{parent:h}=f;A.push({messageId:p,data:{cast:e.sourceCode.getText(f.typeAnnotation)},fix:_=>[_.insertTextAfter(h.id,`: ${e.sourceCode.getText(f.typeAnnotation)}`),_.replaceText(f,(0,QTe.getTextWithParentheses)(e.sourceCode,f.expression))]})}return A.push({messageId:g,data:{cast:e.sourceCode.getText(f.typeAnnotation)},fix:h=>[h.replaceText(f,(0,QTe.getTextWithParentheses)(e.sourceCode,f.expression)),h.insertTextAfter(f,` satisfies ${e.sourceCode.getText(f.typeAnnotation)}`)]}),A}function a(f){return f.parent.type===aL.AST_NODE_TYPES.NewExpression||f.parent.type===aL.AST_NODE_TYPES.CallExpression||f.parent.type===aL.AST_NODE_TYPES.ThrowStatement||f.parent.type===aL.AST_NODE_TYPES.AssignmentPattern||f.parent.type===aL.AST_NODE_TYPES.JSXExpressionContainer||f.parent.type===aL.AST_NODE_TYPES.TemplateLiteral&&f.parent.parent.type===aL.AST_NODE_TYPES.TaggedTemplateExpression}function u(f){if(!(t.assertionStyle==="never"||t.objectLiteralTypeAssertions==="allow"||f.expression.type!==aL.AST_NODE_TYPES.ObjectExpression)&&!(t.objectLiteralTypeAssertions==="allow-as-parameter"&&a(f))&&i(f.typeAnnotation)){let p=s(f,"replaceObjectTypeAssertionWithAnnotation","replaceObjectTypeAssertionWithSatisfies");e.report({node:f,messageId:"unexpectedObjectTypeAssertion",suggest:p})}}function l(f){if(!(t.assertionStyle==="never"||t.arrayLiteralTypeAssertions==="allow"||f.expression.type!==aL.AST_NODE_TYPES.ArrayExpression)&&!(t.arrayLiteralTypeAssertions==="allow-as-parameter"&&a(f))&&i(f.typeAnnotation)){let p=s(f,"replaceArrayTypeAssertionWithAnnotation","replaceArrayTypeAssertionWithSatisfies");e.report({node:f,messageId:"unexpectedArrayTypeAssertion",suggest:p})}}return{TSAsExpression(f){if(t.assertionStyle!=="as"){n(f);return}u(f),l(f)},TSTypeAssertion(f){if(t.assertionStyle!=="angle-bracket"){n(f);return}u(f),l(f)}}}})});var IVs=j(thn=>{"use strict";Object.defineProperty(thn,"__esModule",{value:!0});var bVs=Vo(),P5e=el();thn.default=(0,P5e.createRule)({name:"consistent-type-definitions",meta:{type:"suggestion",docs:{description:"Enforce type definitions to consistently use either `interface` or `type`",recommended:"stylistic"},fixable:"code",messages:{interfaceOverType:"Use an `interface` instead of a `type`.",typeOverInterface:"Use a `type` instead of an `interface`."},schema:[{type:"string",description:"Which type definition syntax to prefer.",enum:["interface","type"]}]},defaultOptions:["interface"],create(e,[t]){function r(n){return e.sourceCode.getAncestors(n).some(i=>i.type===bVs.AST_NODE_TYPES.TSModuleDeclaration&&i.declare&&i.kind==="global")}return{...t==="interface"&&{"TSTypeAliasDeclaration[typeAnnotation.type='TSTypeLiteral']"(n){e.report({node:n.id,messageId:"interfaceOverType",fix(i){let s=(0,P5e.nullThrows)(e.sourceCode.getTokenBefore(n.id,l=>l.value==="type"),P5e.NullThrowsReasons.MissingToken("type keyword","type alias")),a=(0,P5e.nullThrows)(e.sourceCode.getTokenBefore(n.typeAnnotation,l=>l.value==="="),P5e.NullThrowsReasons.MissingToken("=","type alias")),u=(0,P5e.nullThrows)(e.sourceCode.getTokenBefore(a,{includeComments:!0}),P5e.NullThrowsReasons.MissingToken("before =","type alias"));return[i.replaceText(s,"interface"),i.replaceTextRange([u.range[1],n.typeAnnotation.range[0]]," "),i.removeRange([n.typeAnnotation.range[1],n.range[1]])]}})}},...t==="type"&&{TSInterfaceDeclaration(n){let i=r(n)?null:s=>{let a=n.typeParameters??n.id,u=[],l=e.sourceCode.getTokenBefore(n.id);return l&&(u.push(s.replaceText(l,"type")),u.push(s.replaceTextRange([a.range[1],n.body.range[0]]," = "))),n.extends.forEach(f=>{let p=e.sourceCode.getText(f);u.push(s.insertTextAfter(n.body,` & ${p}`))}),n.parent.type===bVs.AST_NODE_TYPES.ExportDefaultDeclaration&&u.push(s.removeRange([n.parent.range[0],n.range[0]]),s.insertTextAfter(n.body,` export default ${n.id.name}`)),u};e.report({node:n.id,messageId:"typeOverInterface",fix:i})}}}}})});var BVs=j(Zye=>{"use strict";var JSf=Zye&&Zye.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),HSf=Zye&&Zye.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),zSf=Zye&&Zye.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ii.getPropertyOfType(p,A.escapedName.toString())!=null)||e.report({node:a,messageId:"typeOverValue",fix(A){let h=(0,TP.nullThrows)(e.sourceCode.getFirstToken(a,_=>_.type===pyt.AST_TOKEN_TYPES.Punctuator&&_.value==="*"),TP.NullThrowsReasons.MissingToken("asterisk","export all declaration"));return A.insertTextBefore(h,"type ")}})},ExportNamedDeclaration(a){let u=wVs(a)??"undefined",l=r[u]||={reportValueExports:[],source:u,typeOnlyNamedExport:null,valueOnlyNamedExport:null};a.exportKind==="type"?l.typeOnlyNamedExport??=a:l.valueOnlyNamedExport??=a;let f=[],p=[],g=[];if(a.exportKind!=="type")for(let A of a.specifiers){if(A.exportKind==="type"){p.push(A);continue}let h=s(n.getSymbolAtLocation(A.exported));h===!0?f.push(A):h===!1&&g.push(A)}(a.exportKind==="value"&&f.length||a.exportKind==="type"&&g.length)&&l.reportValueExports.push({node:a,inlineTypeSpecifiers:p,typeBasedSpecifiers:f,valueSpecifiers:g})},"Program:exit"(){for(let a of Object.values(r))if(a.reportValueExports.length!==0)for(let u of a.reportValueExports){if(u.valueSpecifiers.length===0){e.report({node:u.node,messageId:"typeOverValue",*fix(f){yield*WSf(f,e.sourceCode,u.node)}});continue}let l=u.typeBasedSpecifiers.map(f=>f.local.type===pyt.AST_NODE_TYPES.Identifier?f.local.name:f.local.value);if(l.length===1){let f=l[0];e.report({node:u.node,messageId:"singleExportIsType",data:{exportNames:f},*fix(p){t?yield*TVs(p,u):yield*SVs(p,e.sourceCode,u)}})}else{let f=(0,TP.formatWordList)(l);e.report({node:u.node,messageId:"multipleExportsAreTypes",data:{exportNames:f},*fix(p){t?yield*TVs(p,u):yield*SVs(p,e.sourceCode,u)}})}}}}}});function*WSf(e,t,r){let n=(0,TP.nullThrows)(t.getFirstToken(r),TP.NullThrowsReasons.MissingToken("export",r.type));yield e.insertTextAfter(n," type");for(let i of r.specifiers)if(i.exportKind==="type"){let s=(0,TP.nullThrows)(t.getFirstToken(i),TP.NullThrowsReasons.MissingToken("export",i.type)),a=(0,TP.nullThrows)(t.getTokenAfter(s,{includeComments:!0}),"Missing token following the export kind.");yield e.removeRange([s.range[0],a.range[0]])}}function*SVs(e,t,r){let{node:n,inlineTypeSpecifiers:i,typeBasedSpecifiers:s,valueSpecifiers:a}=r,u=[...s,...i],l=wVs(n),f=u.map(DVs).join(", "),p=(0,TP.nullThrows)(t.getFirstToken(n),TP.NullThrowsReasons.MissingToken("export",n.type)),g=a.map(DVs).join(", "),A=(0,TP.nullThrows)(t.getFirstToken(n,TP.isOpeningBraceToken),TP.NullThrowsReasons.MissingToken("{",n.type)),h=(0,TP.nullThrows)(t.getLastToken(n,TP.isClosingBraceToken),TP.NullThrowsReasons.MissingToken("}",n.type));yield e.replaceTextRange([A.range[1],h.range[0]],` ${g} `),yield e.insertTextBefore(p,`export type { ${f} }${l?` from '${l}'`:""}; `)}function*TVs(e,t){if(t.node.exportKind!=="type")for(let r of t.typeBasedSpecifiers)yield e.insertTextBefore(r,"type ")}function wVs(e){if(e.source?.type===pyt.AST_NODE_TYPES.Literal&&typeof e.source.value=="string")return e.source.value}function DVs(e){let t=e.exported.type===pyt.AST_NODE_TYPES.Literal?e.exported.raw:e.exported.name,r=e.local.type===pyt.AST_NODE_TYPES.Literal?e.local.raw:e.local.name;return`${r}${t!==r?` as ${t}`:""}`}});var kVs=j(rhn=>{"use strict";Object.defineProperty(rhn,"__esModule",{value:!0});var ZQ=Vo(),MA=el();rhn.default=(0,MA.createRule)({name:"consistent-type-imports",meta:{type:"suggestion",docs:{description:"Enforce consistent usage of type imports"},fixable:"code",messages:{avoidImportType:"Use an `import` instead of an `import type`.",noImportTypeAnnotations:"`import()` type annotations are forbidden.",someImportsAreOnlyTypes:"Imports {{typeImports}} are only used as type.",typeOverValue:"All imports in the declaration are only used as types. Use `import type`."},schema:[{type:"object",additionalProperties:!1,properties:{disallowTypeAnnotations:{type:"boolean",description:"Whether to disallow type imports in type annotations (`import()`)."},fixStyle:{type:"string",description:"The expected type modifier to be added when an import is detected as used only in the type position.",enum:["separate-type-imports","inline-type-imports"]},prefer:{type:"string",description:"The expected import kind for type-only imports.",enum:["type-imports","no-type-imports"]}}}]},defaultOptions:[{disallowTypeAnnotations:!0,fixStyle:"separate-type-imports",prefer:"type-imports"}],create(e,[t]){let r=t.prefer??"type-imports",n=t.disallowTypeAnnotations!==!1,i={};if(n&&(i.TSImportType=R=>{e.report({node:R,messageId:"noImportTypeAnnotations"})}),r==="no-type-imports")return{...i,'ImportDeclaration[importKind = "type"]'(R){e.report({node:R,messageId:"avoidImportType",fix(q){return k(q,R)}})},'ImportSpecifier[importKind = "type"]'(R){e.report({node:R,messageId:"avoidImportType",fix(q){return M(q,R)}})}};let s=t.fixStyle??"separate-type-imports",a=!1,u={},l=(0,MA.getParserServices)(e,!0).emitDecoratorMetadata??!1;return((0,MA.getParserServices)(e,!0).experimentalDecorators??!1)&&l&&(i.Decorator=()=>{a=!0}),{...i,ImportDeclaration(R){let q=R.source.value;u[q]??={reportValueImports:[],source:q,typeOnlyNamedImport:null,valueImport:null,valueOnlyNamedImport:null};let G=u[q];R.importKind==="type"?!G.typeOnlyNamedImport&&R.specifiers.every(me=>me.type===ZQ.AST_NODE_TYPES.ImportSpecifier)&&(G.typeOnlyNamedImport=R):!G.valueOnlyNamedImport&&R.specifiers.length&&R.specifiers.every(me=>me.type===ZQ.AST_NODE_TYPES.ImportSpecifier)?(G.valueOnlyNamedImport=R,G.valueImport=R):!G.valueImport&&R.specifiers.some(me=>me.type===ZQ.AST_NODE_TYPES.ImportDefaultSpecifier)&&(G.valueImport=R);let K=[],Z=[],oe=[],ue=[];for(let me of R.specifiers){if(me.type===ZQ.AST_NODE_TYPES.ImportSpecifier&&me.importKind==="type"){Z.push(me);continue}let[Te]=e.sourceCode.getDeclaredVariables(me);Te.references.length===0?ue.push(me):Te.references.every(ae=>{if((ae.identifier.parent.type===ZQ.AST_NODE_TYPES.ExportSpecifier||ae.identifier.parent.type===ZQ.AST_NODE_TYPES.ExportDefaultDeclaration||ae.identifier.parent.type===ZQ.AST_NODE_TYPES.TSExportAssignment)&&ae.isValueReference&&ae.isTypeReference)return R.importKind==="type";if(ae.isValueReference){let Ae=ae.identifier.parent,De=ae.identifier;for(;Ae;)switch(Ae.type){case ZQ.AST_NODE_TYPES.TSTypeQuery:return!0;case ZQ.AST_NODE_TYPES.TSQualifiedName:if(Ae.left!==De)return!1;De=Ae,Ae=Ae.parent;continue;case ZQ.AST_NODE_TYPES.TSPropertySignature:return Ae.key===De;case ZQ.AST_NODE_TYPES.MemberExpression:if(Ae.object!==De)return!1;De=Ae,Ae=Ae.parent;continue;default:return!1}}return ae.isTypeReference})?K.push(me):oe.push(me)}R.importKind==="value"&&K.length&&G.reportValueImports.push({node:R,inlineTypeSpecifiers:Z,typeSpecifiers:K,unusedSpecifiers:ue,valueSpecifiers:oe})},"Program:exit"(){if(!a){for(let R of Object.values(u))if(R.reportValueImports.length!==0)for(let q of R.reportValueImports)if(q.valueSpecifiers.length===0&&q.unusedSpecifiers.length===0&&q.node.importKind!=="type")q.node.attributes.length===0&&e.report({node:q.node,messageId:"typeOverValue",*fix(G){yield*b(G,q,R)}});else{let G=q.typeSpecifiers.map(Z=>`"${Z.local.name}"`),K=(()=>{let Z=(0,MA.formatWordList)(G);return G.length===1?{messageId:"someImportsAreOnlyTypes",data:{typeImports:Z}}:{messageId:"someImportsAreOnlyTypes",data:{typeImports:Z}}})();e.report({node:q.node,...K,*fix(Z){yield*b(Z,q,R)}})}}}};function p(R){let q=R.specifiers[0].type===ZQ.AST_NODE_TYPES.ImportDefaultSpecifier?R.specifiers[0]:null,G=R.specifiers.find(Z=>Z.type===ZQ.AST_NODE_TYPES.ImportNamespaceSpecifier)??null,K=R.specifiers.filter(Z=>Z.type===ZQ.AST_NODE_TYPES.ImportSpecifier);return{defaultSpecifier:q,namedSpecifiers:K,namespaceSpecifier:G}}function g(R,q,G,K){if(K.length===0)return{removeTypeNamedSpecifiers:[],typeNamedSpecifiersText:""};let Z=[],oe=[];if(G.length===K.length){let ue=(0,MA.nullThrows)(e.sourceCode.getTokenBefore(G[0],MA.isOpeningBraceToken),MA.NullThrowsReasons.MissingToken("{",q.type)),me=(0,MA.nullThrows)(e.sourceCode.getTokenBefore(ue,MA.isCommaToken),MA.NullThrowsReasons.MissingToken(",",q.type)),Te=(0,MA.nullThrows)(e.sourceCode.getFirstTokenBetween(ue,q.source,MA.isClosingBraceToken),MA.NullThrowsReasons.MissingToken("}",q.type));oe.push(R.removeRange([me.range[0],Te.range[1]])),Z.push(e.sourceCode.text.slice(ue.range[1],Te.range[0]))}else{let ue=[],me=[];for(let Te of K)G.includes(Te)?me.push(Te):me.length&&(ue.push(me),me=[]);me.length&&ue.push(me);for(let Te of ue){let{removeRange:le,textRange:ae}=A(Te,K);oe.push(R.removeRange(le)),Z.push(e.sourceCode.text.slice(...ae))}}return{removeTypeNamedSpecifiers:oe,typeNamedSpecifiersText:Z.join(",")}}function A(R,q){let G=R[0],K=R[R.length-1],Z=[G.range[0],K.range[1]],oe=[...Z],ue=(0,MA.nullThrows)(e.sourceCode.getTokenBefore(G),MA.NullThrowsReasons.MissingToken("token","first specifier"));oe[0]=ue.range[1],(0,MA.isCommaToken)(ue)?Z[0]=ue.range[0]:Z[0]=ue.range[1];let me=q[0]===G,Te=q[q.length-1]===K,le=(0,MA.nullThrows)(e.sourceCode.getTokenAfter(K),MA.NullThrowsReasons.MissingToken("token","last specifier"));return oe[1]=le.range[0],(me||Te)&&(0,MA.isCommaToken)(le)&&(Z[1]=le.range[1]),{removeRange:Z,textRange:oe}}function h(R,q,G){let K=(0,MA.nullThrows)(e.sourceCode.getFirstTokenBetween((0,MA.nullThrows)(e.sourceCode.getFirstToken(q),MA.NullThrowsReasons.MissingToken("token before","import")),q.source,MA.isClosingBraceToken),MA.NullThrowsReasons.MissingToken("}",q.type)),Z=(0,MA.nullThrows)(e.sourceCode.getTokenBefore(K),MA.NullThrowsReasons.MissingToken("token before","closing brace"));return!(0,MA.isCommaToken)(Z)&&!(0,MA.isOpeningBraceToken)(Z)&&(G=`,${G}`),R.insertTextBefore(K,G)}function*_(R,q){for(let G of q){let K=e.sourceCode.text.slice(...G.range);yield R.replaceTextRange(G.range,`type ${K}`)}}function*E(R,q,G){let{node:K}=q,{namedSpecifiers:Z}=p(K),oe=Z.filter(ue=>q.typeSpecifiers.includes(ue));if(G.valueImport){let{namedSpecifiers:ue}=p(G.valueImport);(G.valueOnlyNamedImport||ue.length)&&(yield*_(R,oe))}}function*b(R,q,G){let{node:K}=q,{defaultSpecifier:Z,namedSpecifiers:oe,namespaceSpecifier:ue}=p(K);if(ue&&!Z){K.attributes.length===0&&(yield*D(R,K,!1));return}if(Z){if(q.typeSpecifiers.includes(Z)&&oe.length===0&&!ue){yield*D(R,K,!0);return}if(s==="inline-type-imports"&&!q.typeSpecifiers.includes(Z)&&oe.length>0&&!ue){yield*E(R,q,G);return}}else if(!ue){if(s==="inline-type-imports"&&oe.some(Ae=>q.typeSpecifiers.includes(Ae))){yield*E(R,q,G);return}if(oe.every(Ae=>q.typeSpecifiers.includes(Ae))){yield*D(R,K,!1);return}}let me=oe.filter(Ae=>q.typeSpecifiers.includes(Ae)),Te=g(R,K,me,oe),le=[];if(me.length)if(G.typeOnlyNamedImport){let Ae=h(R,G.typeOnlyNamedImport,Te.typeNamedSpecifiersText);G.typeOnlyNamedImport.range[1]<=K.range[0]?yield Ae:le.push(Ae)}else s==="inline-type-imports"?yield R.insertTextBefore(K,`import {${me.map(Ae=>`type ${e.sourceCode.text.slice(...Ae.range)}`).join(", ")}} from ${e.sourceCode.getText(K.source)}; `):yield R.insertTextBefore(K,`import type {${Te.typeNamedSpecifiersText}} from ${e.sourceCode.getText(K.source)}; `);let ae=[];if(ue&&q.typeSpecifiers.includes(ue)){let Ae=(0,MA.nullThrows)(e.sourceCode.getTokenBefore(ue,MA.isCommaToken),MA.NullThrowsReasons.MissingToken(",",K.type));ae.push(R.removeRange([Ae.range[0],ue.range[1]])),yield R.insertTextBefore(K,`import type ${e.sourceCode.getText(ue)} from ${e.sourceCode.getText(K.source)}; `)}if(Z&&q.typeSpecifiers.includes(Z))if(q.typeSpecifiers.length===K.specifiers.length){let Ae=(0,MA.nullThrows)(e.sourceCode.getFirstToken(K,MA.isImportKeyword),MA.NullThrowsReasons.MissingToken("import",K.type));yield R.insertTextAfter(Ae," type")}else{let Ae=(0,MA.nullThrows)(e.sourceCode.getTokenAfter(Z,MA.isCommaToken),MA.NullThrowsReasons.MissingToken(",",Z.type)),De=e.sourceCode.text.slice(Z.range[0],Ae.range[0]).trim();yield R.insertTextBefore(K,`import type ${De} from ${e.sourceCode.getText(K.source)}; `);let _e=(0,MA.nullThrows)(e.sourceCode.getTokenAfter(Ae,{includeComments:!0}),MA.NullThrowsReasons.MissingToken("any token",K.type));yield R.removeRange([Z.range[0],_e.range[0]])}yield*Te.removeTypeNamedSpecifiers,yield*ae,yield*le}function*D(R,q,G){let K=(0,MA.nullThrows)(e.sourceCode.getFirstToken(q,MA.isImportKeyword),MA.NullThrowsReasons.MissingToken("import",q.type));if(yield R.insertTextAfter(K," type"),G){let Z=e.sourceCode.getFirstTokenBetween(K,q.source,MA.isOpeningBraceToken);if(Z){let oe=(0,MA.nullThrows)(e.sourceCode.getTokenBefore(Z,MA.isCommaToken),MA.NullThrowsReasons.MissingToken(",",q.type)),ue=(0,MA.nullThrows)(e.sourceCode.getFirstTokenBetween(Z,q.source,MA.isClosingBraceToken),MA.NullThrowsReasons.MissingToken("}",q.type));yield R.removeRange([oe.range[0],ue.range[1]]);let me=e.sourceCode.text.slice(oe.range[1],ue.range[1]);q.specifiers.length>1&&(yield R.insertTextAfter(q,` import type${me} from ${e.sourceCode.getText(q.source)};`))}}for(let Z of q.specifiers)Z.type===ZQ.AST_NODE_TYPES.ImportSpecifier&&Z.importKind==="type"&&(yield*M(R,Z))}function*k(R,q){let G=(0,MA.nullThrows)(e.sourceCode.getFirstToken(q,MA.isImportKeyword),MA.NullThrowsReasons.MissingToken("import",q.type)),K=(0,MA.nullThrows)(e.sourceCode.getFirstTokenBetween(G,q.specifiers[0]?.local??q.source,MA.isTypeKeyword),MA.NullThrowsReasons.MissingToken("type",q.type)),Z=(0,MA.nullThrows)(e.sourceCode.getTokenAfter(K,{includeComments:!0}),MA.NullThrowsReasons.MissingToken("any token",q.type));yield R.removeRange([K.range[0],Z.range[0]])}function*M(R,q){let G=(0,MA.nullThrows)(e.sourceCode.getFirstToken(q,MA.isTypeKeyword),MA.NullThrowsReasons.MissingToken("type",q.type)),K=(0,MA.nullThrows)(e.sourceCode.getTokenAfter(G,{includeComments:!0}),MA.NullThrowsReasons.MissingToken("any token",q.type));yield R.removeRange([G.range[0],K.range[0]])}}})});var PVs=j(nhn=>{"use strict";Object.defineProperty(nhn,"__esModule",{value:!0});var e_e=Vo(),XSf=el();nhn.default=(0,XSf.createRule)({name:"default-param-last",meta:{type:"suggestion",docs:{description:"Enforce default parameters to be last",extendsBaseRule:!0,frozen:!0},messages:{shouldBeLast:"Default parameters should be last."},schema:[]},defaultOptions:[],create(e){function t(i){return(i.type===e_e.AST_NODE_TYPES.ArrayPattern||i.type===e_e.AST_NODE_TYPES.AssignmentPattern||i.type===e_e.AST_NODE_TYPES.Identifier||i.type===e_e.AST_NODE_TYPES.ObjectPattern||i.type===e_e.AST_NODE_TYPES.RestElement)&&i.optional}function r(i){return!(i.type===e_e.AST_NODE_TYPES.AssignmentPattern||i.type===e_e.AST_NODE_TYPES.RestElement||t(i))}function n(i){let s=!1;for(let a=i.params.length-1;a>=0;a--){let u=i.params[a],l=u.type===e_e.AST_NODE_TYPES.TSParameterProperty?u.parameter:u;if(r(l)){s=!0;continue}s&&(t(l)||l.type===e_e.AST_NODE_TYPES.AssignmentPattern)&&e.report({node:u,messageId:"shouldBeLast"})}}return{ArrowFunctionExpression:n,FunctionDeclaration:n,FunctionExpression:n}}})});var RVs=j(t_e=>{"use strict";var ZSf=t_e&&t_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),eTf=t_e&&t_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),OVs=t_e&&t_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;il.property.type===tTf.AST_NODE_TYPES.Literal&&g.escapedName===l.property.value),p=(0,shn.getModifiers)(f?.getDeclarations()?.[0])?.[0].kind;if(s&&p===ihn.SyntaxKind.PrivateKeyword||a&&p===ihn.SyntaxKind.ProtectedKeyword)return;if(f==null&&u){let g=n.getTypeAtLocation(l.object).getNonNullableType();if(i.getIndexInfosOfType(g).some(h=>h.keyType.flags&ihn.TypeFlags.StringLike))return}}r.MemberExpression(l)}}}})});var ahn=j(jTe=>{"use strict";Object.defineProperty(jTe,"__esModule",{value:!0});jTe.doesImmediatelyReturnFunctionExpression=MVs;jTe.isTypedFunctionExpression=QVs;jTe.isValidFunctionExpressionReturnType=jVs;jTe.checkFunctionReturnType=UVs;jTe.checkFunctionExpressionReturnType=dTf;jTe.ancestorHasReturnType=mTf;var Fb=Vo(),ter=Z1t(),iTf=Zgn();function sTf(e){return e.type===Fb.AST_NODE_TYPES.VariableDeclarator&&!!e.id.typeAnnotation}function aTf(e){return e.type===Fb.AST_NODE_TYPES.PropertyDefinition&&!!e.typeAnnotation}function oTf(e,t){return e.type===Fb.AST_NODE_TYPES.CallExpression&&e.callee!==t}function uTf(e){return e.type===Fb.AST_NODE_TYPES.JSXExpressionContainer||e.type===Fb.AST_NODE_TYPES.JSXSpreadAttribute}function FVs(e,t){return(0,ter.isTypeAssertion)(e)||sTf(e)||lTf(e)||aTf(e)||oTf(e,t)||uTf(e)}function lTf(e){return e.type===Fb.AST_NODE_TYPES.AssignmentPattern&&e.left.typeAnnotation!=null}function cTf(e){return e.type===Fb.AST_NODE_TYPES.NewExpression}function LVs(e){if(!e||e.type!==Fb.AST_NODE_TYPES.Property)return!1;let t=e.parent;if(t.type!==Fb.AST_NODE_TYPES.ObjectExpression)return!1;let r=t.parent;return FVs(r)||LVs(r)}function MVs({node:e,returns:t}){return e.type===Fb.AST_NODE_TYPES.ArrowFunctionExpression&&Fb.ASTUtils.isFunction(e.body)?!0:t.length===0?!1:t.every(r=>r.argument&&Fb.ASTUtils.isFunction(r.argument))}function fTf(e){if((0,ter.isTypeAssertion)(e)){let{typeAnnotation:t}=e;if(t.type===Fb.AST_NODE_TYPES.TSTypeReference){let{typeName:r}=t;if(r.type===Fb.AST_NODE_TYPES.Identifier&&r.name==="const")return!0}}return!1}function QVs(e,t){return t.allowTypedFunctionExpressions?FVs(e.parent,e)||LVs(e.parent)||cTf(e.parent):!1}function jVs(e,t){if(QVs(e,t)||t.allowExpressions&&e.parent.type!==Fb.AST_NODE_TYPES.VariableDeclarator&&e.parent.type!==Fb.AST_NODE_TYPES.MethodDefinition&&e.parent.type!==Fb.AST_NODE_TYPES.ExportDefaultDeclaration&&e.parent.type!==Fb.AST_NODE_TYPES.PropertyDefinition)return!0;if(!t.allowDirectConstAssertionInArrowFunctions||e.type!==Fb.AST_NODE_TYPES.ArrowFunctionExpression)return!1;let r=e.body;for(;r.type===Fb.AST_NODE_TYPES.TSSatisfiesExpression;)r=r.expression;return fTf(r)}function pTf({node:e,returns:t},r){return r.allowHigherOrderFunctions&&MVs({node:e,returns:t})?!0:e.returnType!=null||(0,ter.isConstructor)(e.parent)||(0,ter.isSetter)(e.parent)}function UVs({node:e,returns:t},r,n,i){pTf({node:e,returns:t},r)||i((0,iTf.getFunctionHeadLoc)(e,n))}function dTf(e,t,r,n){jVs(e.node,t)||UVs(e,t,r,n)}function mTf(e){let t=e.parent;t.type===Fb.AST_NODE_TYPES.Property&&(t=t.value);let r=t.type===Fb.AST_NODE_TYPES.ReturnStatement,n=t.type===Fb.AST_NODE_TYPES.ArrowFunctionExpression&&t.body.type!==Fb.AST_NODE_TYPES.BlockStatement;if(!r&&!n)return!1;for(;t;){switch(t.type){case Fb.AST_NODE_TYPES.ArrowFunctionExpression:case Fb.AST_NODE_TYPES.FunctionExpression:case Fb.AST_NODE_TYPES.FunctionDeclaration:if(t.returnType)return!0;break;case Fb.AST_NODE_TYPES.VariableDeclarator:return!!t.id.typeAnnotation;case Fb.AST_NODE_TYPES.PropertyDefinition:return!!t.typeAnnotation;case Fb.AST_NODE_TYPES.ExpressionStatement:return!1}t=t.parent}return!1}});var YVs=j(ohn=>{"use strict";Object.defineProperty(ohn,"__esModule",{value:!0});var gZ=Vo(),qVs=el(),rer=ahn();ohn.default=(0,qVs.createRule)({name:"explicit-function-return-type",meta:{type:"problem",docs:{description:"Require explicit return types on functions and class methods"},messages:{missingReturnType:"Missing return type on function."},schema:[{type:"object",additionalProperties:!1,properties:{allowConciseArrowFunctionExpressionsStartingWithVoid:{type:"boolean",description:"Whether to allow arrow functions that start with the `void` keyword."},allowDirectConstAssertionInArrowFunctions:{type:"boolean",description:"Whether to ignore arrow functions immediately returning a `as const` value."},allowedNames:{type:"array",description:"An array of function/method names that will not have their arguments or return values checked.",items:{type:"string"}},allowExpressions:{type:"boolean",description:"Whether to ignore function expressions (functions which are not part of a declaration)."},allowFunctionsWithoutTypeParameters:{type:"boolean",description:"Whether to ignore functions that don't have generic type parameters."},allowHigherOrderFunctions:{type:"boolean",description:"Whether to ignore functions immediately returning another function expression."},allowIIFEs:{type:"boolean",description:"Whether to ignore immediately invoked function expressions (IIFEs)."},allowTypedFunctionExpressions:{type:"boolean",description:"Whether to ignore type annotations on the variable of function expressions."}}}]},defaultOptions:[{allowConciseArrowFunctionExpressionsStartingWithVoid:!1,allowDirectConstAssertionInArrowFunctions:!0,allowedNames:[],allowExpressions:!1,allowFunctionsWithoutTypeParameters:!1,allowHigherOrderFunctions:!0,allowIIFEs:!1,allowTypedFunctionExpressions:!0}],create(e,[t]){let r=[];function n(l){r.push({node:l,returns:[]})}function i(l){return(0,qVs.nullThrows)(r.pop(),`Stack should exist on ${l} exit`)}function s(l){if(t.allowFunctionsWithoutTypeParameters&&!l.typeParameters||t.allowIIFEs&&a(l))return!0;if(!t.allowedNames?.length)return!1;if(l.type===gZ.AST_NODE_TYPES.ArrowFunctionExpression||l.type===gZ.AST_NODE_TYPES.FunctionExpression){let f=l.parent,p;if(l.id?.name)p=l.id.name;else switch(f.type){case gZ.AST_NODE_TYPES.VariableDeclarator:{f.id.type===gZ.AST_NODE_TYPES.Identifier&&(p=f.id.name);break}case gZ.AST_NODE_TYPES.MethodDefinition:case gZ.AST_NODE_TYPES.PropertyDefinition:case gZ.AST_NODE_TYPES.Property:{f.key.type===gZ.AST_NODE_TYPES.Identifier&&!f.computed&&(p=f.key.name);break}}if(p&&t.allowedNames.includes(p))return!0}return!!(l.type===gZ.AST_NODE_TYPES.FunctionDeclaration&&l.id&&t.allowedNames.includes(l.id.name))}function a(l){return l.parent.type===gZ.AST_NODE_TYPES.CallExpression}function u(l){let f=i("function expression");t.allowConciseArrowFunctionExpressionsStartingWithVoid&&l.type===gZ.AST_NODE_TYPES.ArrowFunctionExpression&&l.expression&&l.body.type===gZ.AST_NODE_TYPES.UnaryExpression&&l.body.operator==="void"||s(l)||t.allowTypedFunctionExpressions&&((0,rer.isValidFunctionExpressionReturnType)(l,t)||(0,rer.ancestorHasReturnType)(l))||(0,rer.checkFunctionReturnType)(f,t,e.sourceCode,p=>e.report({loc:p,node:l,messageId:"missingReturnType"}))}return{"ArrowFunctionExpression, FunctionExpression, FunctionDeclaration":n,"ArrowFunctionExpression:exit":u,"FunctionDeclaration:exit"(l){let f=i("function declaration");s(l)||t.allowTypedFunctionExpressions&&l.returnType||(0,rer.checkFunctionReturnType)(f,t,e.sourceCode,p=>e.report({loc:p,node:l,messageId:"missingReturnType"}))},"FunctionExpression:exit":u,ReturnStatement(l){r.at(-1)?.returns.push(l)}}}})});var uhn=j(ner=>{"use strict";Object.defineProperty(ner,"__esModule",{value:!0});ner.getMemberHeadLoc=gTf;ner.getParameterPropertyHeadLoc=ATf;var n$e=HVe();function gTf(e,t){let r;if(t.decorators.length===0)r=t.loc.start;else{let i=t.decorators[t.decorators.length-1];r=(0,n$e.nullThrows)(e.getTokenAfter(i),n$e.NullThrowsReasons.MissingToken("token","last decorator")).loc.start}let n;return t.computed?n=(0,n$e.nullThrows)(e.getTokenAfter(t.key,s=>s.value==="]"),n$e.NullThrowsReasons.MissingToken("]",t.type)).loc.end:n=t.key.loc.end,{end:structuredClone(n),start:structuredClone(r)}}function ATf(e,t,r){let n;if(t.decorators.length===0)n=structuredClone(t.loc.start);else{let s=t.decorators[t.decorators.length-1],a=(0,n$e.nullThrows)(e.getTokenAfter(s),n$e.NullThrowsReasons.MissingToken("token","last decorator"));n=structuredClone(a.loc.start)}return{end:e.getLocFromIndex(t.parameter.range[0]+r.length),start:n}}});var chn=j(lhn=>{"use strict";Object.defineProperty(lhn,"__esModule",{value:!0});lhn.rangeToLoc=hTf;function hTf(e,t){return{end:e.getLocFromIndex(t[1]),start:e.getLocFromIndex(t[0])}}});var GVs=j(dhn=>{"use strict";Object.defineProperty(dhn,"__esModule",{value:!0});var ier=Vo(),dyt=el(),fhn=uhn(),phn=chn();dhn.default=(0,dyt.createRule)({name:"explicit-member-accessibility",meta:{type:"problem",docs:{description:"Require explicit accessibility modifiers on class properties and methods"},fixable:"code",hasSuggestions:!0,messages:{addExplicitAccessibility:"Add '{{ type }}' accessibility modifier",missingAccessibility:"Missing accessibility modifier on {{type}} {{name}}.",unwantedPublicAccessibility:"Public accessibility modifier on {{type}} {{name}}."},schema:[{type:"object",$defs:{accessibilityLevel:{oneOf:[{type:"string",description:"Always require an accessor.",enum:["explicit"]},{type:"string",description:"Require an accessor except when public.",enum:["no-public"]},{type:"string",description:"Never check whether there is an accessor.",enum:["off"]}]}},additionalProperties:!1,properties:{accessibility:{$ref:"#/items/0/$defs/accessibilityLevel",description:"Which accessibility modifier is required to exist or not exist."},ignoredMethodNames:{type:"array",description:"Specific method names that may be ignored.",items:{type:"string"}},overrides:{type:"object",additionalProperties:!1,description:"Changes to required accessibility modifiers for specific kinds of class members.",properties:{accessors:{$ref:"#/items/0/$defs/accessibilityLevel",description:"Which member accessibility modifier requirements to apply for accessors."},constructors:{$ref:"#/items/0/$defs/accessibilityLevel",description:"Which member accessibility modifier requirements to apply for constructors."},methods:{$ref:"#/items/0/$defs/accessibilityLevel",description:"Which member accessibility modifier requirements to apply for methods."},parameterProperties:{$ref:"#/items/0/$defs/accessibilityLevel",description:"Which member accessibility modifier requirements to apply for parameterProperties."},properties:{$ref:"#/items/0/$defs/accessibilityLevel",description:"Which member accessibility modifier requirements to apply for properties."}}}}}]},defaultOptions:[{accessibility:"explicit"}],create(e,[t]){let r=t.accessibility??"explicit",n=t.overrides??{},i=n.constructors??r,s=n.accessors??r,a=n.methods??r,u=n.properties??r,l=n.parameterProperties??r,f=new Set(t.ignoredMethodNames??[]);function p(E){if(E.key.type===ier.AST_NODE_TYPES.PrivateIdentifier)return;let b="method definition",D=r;switch(E.kind){case"method":D=a;break;case"constructor":D=i;break;case"get":case"set":D=s,b=`${E.kind} property accessor`;break}let{name:k}=(0,dyt.getNameFromMember)(E,e.sourceCode);if(!(D==="off"||f.has(k)))if(D==="no-public"&&E.accessibility==="public"){let M=g(E);e.report({loc:(0,phn.rangeToLoc)(e.sourceCode,M.range),messageId:"unwantedPublicAccessibility",data:{name:k,type:b},fix:R=>R.removeRange(M.rangeToRemove)})}else D==="explicit"&&!E.accessibility&&e.report({loc:(0,fhn.getMemberHeadLoc)(e.sourceCode,E),messageId:"missingAccessibility",data:{name:k,type:b},suggest:A(E)})}function g(E){let b=e.sourceCode.getTokens(E),D,k;for(let M=0;Mb("public",D)},{messageId:"addExplicitAccessibility",data:{type:"private"},fix:D=>b("private",D)},{messageId:"addExplicitAccessibility",data:{type:"protected"},fix:D=>b("protected",D)}]}function h(E){if(E.key.type===ier.AST_NODE_TYPES.PrivateIdentifier)return;let b="class property",{name:D}=(0,dyt.getNameFromMember)(E,e.sourceCode);if(u==="no-public"&&E.accessibility==="public"){let k=g(E);e.report({loc:(0,phn.rangeToLoc)(e.sourceCode,k.range),messageId:"unwantedPublicAccessibility",data:{name:D,type:b},fix:M=>M.removeRange(k.rangeToRemove)})}else u==="explicit"&&!E.accessibility&&e.report({loc:(0,fhn.getMemberHeadLoc)(e.sourceCode,E),messageId:"missingAccessibility",data:{name:D,type:b},suggest:A(E)})}function _(E){let b="parameter property",D=E.parameter.type===ier.AST_NODE_TYPES.Identifier?E.parameter.name:E.parameter.left.name;switch(l){case"explicit":{E.accessibility||e.report({loc:(0,fhn.getParameterPropertyHeadLoc)(e.sourceCode,E,D),messageId:"missingAccessibility",data:{name:D,type:b},suggest:A(E)});break}case"no-public":{if(E.accessibility==="public"&&E.readonly){let k=g(E);e.report({loc:(0,phn.rangeToLoc)(e.sourceCode,k.range),messageId:"unwantedPublicAccessibility",data:{name:D,type:b},fix:M=>M.removeRange(k.rangeToRemove)})}break}}}return{"MethodDefinition, TSAbstractMethodDefinition":p,"PropertyDefinition, TSAbstractPropertyDefinition, AccessorProperty, TSAbstractAccessorProperty":h,TSParameterProperty:_}}})});var VVs=j(mhn=>{"use strict";Object.defineProperty(mhn,"__esModule",{value:!0});var ser=nL(),P_=Vo(),myt=el(),i$e=ahn();mhn.default=(0,myt.createRule)({name:"explicit-module-boundary-types",meta:{type:"problem",docs:{description:"Require explicit return and argument types on exported functions' and classes' public class methods"},messages:{anyTypedArg:"Argument '{{name}}' should be typed with a non-any type.",anyTypedArgUnnamed:"{{type}} argument should be typed with a non-any type.",missingArgType:"Argument '{{name}}' should be typed.",missingArgTypeUnnamed:"{{type}} argument should be typed.",missingReturnType:"Missing return type on function."},schema:[{type:"object",additionalProperties:!1,properties:{allowArgumentsExplicitlyTypedAsAny:{type:"boolean",description:"Whether to ignore arguments that are explicitly typed as `any`."},allowDirectConstAssertionInArrowFunctions:{type:"boolean",description:["Whether to ignore return type annotations on body-less arrow functions that return an `as const` type assertion.","You must still type the parameters of the function."].join(` `)},allowedNames:{type:"array",description:"An array of function/method names that will not have their arguments or return values checked.",items:{type:"string"}},allowHigherOrderFunctions:{type:"boolean",description:["Whether to ignore return type annotations on functions immediately returning another function expression.","You must still type the parameters of the function."].join(` `)},allowOverloadFunctions:{type:"boolean",description:"Whether to ignore return type annotations on functions with overload signatures."},allowTypedFunctionExpressions:{type:"boolean",description:"Whether to ignore type annotations on the variable of a function expression."}}}]},defaultOptions:[{allowArgumentsExplicitlyTypedAsAny:!1,allowDirectConstAssertionInArrowFunctions:!0,allowedNames:[],allowHigherOrderFunctions:!0,allowOverloadFunctions:!1,allowTypedFunctionExpressions:!0}],create(e,[t]){let r=new Set,n=[],i=new Map,s=new Set;function a(D){return i.get(D)??[]}function u(D){n.push(D),i.set(D,[])}function l(){n.pop()}return{"ArrowFunctionExpression, FunctionDeclaration, FunctionExpression":u,"ArrowFunctionExpression:exit":l,"ExportDefaultDeclaration:exit"(D){h(D.declaration)},"ExportNamedDeclaration:not([source]):exit"(D){if(D.declaration)h(D.declaration);else for(let k of D.specifiers)A(k.local)},"FunctionDeclaration:exit":l,"FunctionExpression:exit":l,"Program:exit"(){for(let[D,k]of i)g({node:D,returns:k})&&h(D)},ReturnStatement(D){let k=n[n.length-1];i.get(k)?.push(D)},"TSExportAssignment:exit"(D){h(D.expression)}};function f(D){function k(M){function R(q,G){M.type===P_.AST_NODE_TYPES.Identifier?e.report({node:M,messageId:q,data:{name:M.name}}):M.type===P_.AST_NODE_TYPES.ArrayPattern?e.report({node:M,messageId:G,data:{type:"Array pattern"}}):M.type===P_.AST_NODE_TYPES.ObjectPattern?e.report({node:M,messageId:G,data:{type:"Object pattern"}}):M.type===P_.AST_NODE_TYPES.RestElement&&(M.argument.type===P_.AST_NODE_TYPES.Identifier?e.report({node:M,messageId:q,data:{name:M.argument.name}}):e.report({node:M,messageId:G,data:{type:"Rest"}}))}switch(M.type){case P_.AST_NODE_TYPES.ArrayPattern:case P_.AST_NODE_TYPES.Identifier:case P_.AST_NODE_TYPES.ObjectPattern:case P_.AST_NODE_TYPES.RestElement:M.typeAnnotation?t.allowArgumentsExplicitlyTypedAsAny!==!0&&M.typeAnnotation.typeAnnotation.type===P_.AST_NODE_TYPES.TSAnyKeyword&&R("anyTypedArg","anyTypedArgUnnamed"):R("missingArgType","missingArgTypeUnnamed");return;case P_.AST_NODE_TYPES.TSParameterProperty:return k(M.parameter);case P_.AST_NODE_TYPES.AssignmentPattern:return}}for(let M of D.params)k(M)}function p(D){return!D||!t.allowedNames||t.allowedNames.length===0?!1:D.type===P_.AST_NODE_TYPES.VariableDeclarator||D.type===P_.AST_NODE_TYPES.FunctionDeclaration?D.id?.type===P_.AST_NODE_TYPES.Identifier&&t.allowedNames.includes(D.id.name):D.type===P_.AST_NODE_TYPES.MethodDefinition||D.type===P_.AST_NODE_TYPES.TSAbstractMethodDefinition||D.type===P_.AST_NODE_TYPES.Property&&D.method||D.type===P_.AST_NODE_TYPES.PropertyDefinition||D.type===P_.AST_NODE_TYPES.AccessorProperty?(0,myt.isStaticMemberAccessOfValue)(D,e,...t.allowedNames):!1}function g({node:D}){let k=D.parent;for(;k;){if(k.type===P_.AST_NODE_TYPES.ReturnStatement){k=k.parent.parent;continue}if(!(0,myt.isFunction)(k))return!1;let M=a(k);if(!(0,i$e.doesImmediatelyReturnFunctionExpression)({node:k,returns:M}))return!1;if(r.has(k))return!0;k=k.parent}return!1}function A(D){let M=e.sourceCode.getScope(D).set.get(D.name);if(M){for(let R of M.defs)[ser.DefinitionType.CatchClause,ser.DefinitionType.ImplicitGlobalVariable,ser.DefinitionType.ImportBinding,ser.DefinitionType.Parameter].includes(R.type)||h(R.node);for(let R of M.references)!R.init&&R.writeExpr&&h(R.writeExpr)}}function h(D){if(!(D==null||s.has(D)))switch(s.add(D),D.type){case P_.AST_NODE_TYPES.ArrowFunctionExpression:case P_.AST_NODE_TYPES.FunctionExpression:{let k=a(D);return E({node:D,returns:k})}case P_.AST_NODE_TYPES.ArrayExpression:for(let k of D.elements)h(k);return;case P_.AST_NODE_TYPES.PropertyDefinition:case P_.AST_NODE_TYPES.AccessorProperty:case P_.AST_NODE_TYPES.MethodDefinition:case P_.AST_NODE_TYPES.TSAbstractMethodDefinition:return D.accessibility==="private"||D.key.type===P_.AST_NODE_TYPES.PrivateIdentifier?void 0:h(D.value);case P_.AST_NODE_TYPES.ClassDeclaration:case P_.AST_NODE_TYPES.ClassExpression:for(let k of D.body.body)h(k);return;case P_.AST_NODE_TYPES.FunctionDeclaration:{let k=a(D);return b({node:D,returns:k})}case P_.AST_NODE_TYPES.Identifier:return A(D);case P_.AST_NODE_TYPES.ObjectExpression:for(let k of D.properties)h(k);return;case P_.AST_NODE_TYPES.Property:return h(D.value);case P_.AST_NODE_TYPES.TSEmptyBodyFunctionExpression:return _(D);case P_.AST_NODE_TYPES.VariableDeclaration:for(let k of D.declarations)h(k);return;case P_.AST_NODE_TYPES.VariableDeclarator:return h(D.init)}}function _(D){let k=D.parent.type===P_.AST_NODE_TYPES.MethodDefinition&&D.parent.kind==="constructor",M=(D.parent.type===P_.AST_NODE_TYPES.TSAbstractMethodDefinition||D.parent.type===P_.AST_NODE_TYPES.MethodDefinition)&&D.parent.kind==="set";!k&&!M&&!D.returnType&&e.report({node:D,messageId:"missingReturnType"}),f(D)}function E({node:D,returns:k}){r.has(D)||(r.add(D),!(p(D.parent)||(0,i$e.isTypedFunctionExpression)(D,t)||(0,i$e.ancestorHasReturnType)(D))&&(t.allowOverloadFunctions&&D.parent.type===P_.AST_NODE_TYPES.MethodDefinition&&(0,myt.hasOverloadSignatures)(D.parent,e)||((0,i$e.checkFunctionExpressionReturnType)({node:D,returns:k},t,e.sourceCode,M=>{e.report({loc:M,node:D,messageId:"missingReturnType"})}),f(D))))}function b({node:D,returns:k}){r.has(D)||(r.add(D),!(p(D)||(0,i$e.ancestorHasReturnType)(D))&&(t.allowOverloadFunctions&&(0,myt.hasOverloadSignatures)(D,e)||((0,i$e.checkFunctionReturnType)({node:D,returns:k},t,e.sourceCode,M=>{e.report({loc:M,node:D,messageId:"missingReturnType"})}),f(D))))}}})});var KVs=j(ghn=>{"use strict";Object.defineProperty(ghn,"__esModule",{value:!0});var $Vs=Vo(),yTf=el(),_Tf=XQ(),aer=(0,_Tf.getESLintCoreRule)("init-declarations");ghn.default=(0,yTf.createRule)({name:"init-declarations",meta:{type:"suggestion",docs:{description:"Require or disallow initialization in variable declarations",extendsBaseRule:!0,frozen:!0},hasSuggestions:aer.meta.hasSuggestions,messages:aer.meta.messages,schema:aer.meta.schema},defaultOptions:["always"],create(e,[t]){function r(){let s=a=>{if("node"in a&&a.loc==null){let{node:u,...l}=a;if(u.type===$Vs.AST_NODE_TYPES.VariableDeclarator&&u.init==null){e.report({...l,loc:ETf(u)});return}}e.report(a)};return new Proxy({},{get:(a,u,l)=>u==="report"?s:Reflect.get(e,u,l)})}let n=aer.create(r());return{"VariableDeclaration:exit"(s){t==="always"&&(s.declare||i(s))||n["VariableDeclaration:exit"](s)}};function i(s){let a=s.parent;for(;a;){if(a.type===$Vs.AST_NODE_TYPES.TSModuleDeclaration&&a.declare)return!0;a=a.parent}return!1}}});function ETf(e){let t=structuredClone(e.loc.start),r={line:e.loc.start.line,column:e.loc.start.column+e.id.name.length};return{start:t,end:r}}});var zVs=j(Ahn=>{"use strict";Object.defineProperty(Ahn,"__esModule",{value:!0});var JVs=Vo(),xTf=el(),vTf=XQ(),HVs=(0,vTf.getESLintCoreRule)("max-params");Ahn.default=(0,xTf.createRule)({name:"max-params",meta:{type:"suggestion",docs:{description:"Enforce a maximum number of parameters in function definitions",extendsBaseRule:!0},messages:HVs.meta.messages,schema:[{type:"object",additionalProperties:!1,properties:{countVoidThis:{type:"boolean",description:"Whether to count a `this` declaration when the type is `void`."},max:{type:"integer",description:"A maximum number of parameters in function definitions.",minimum:0},maximum:{type:"integer",description:"(deprecated) A maximum number of parameters in function definitions.",minimum:0}}}]},defaultOptions:[{countVoidThis:!1,max:3}],create(e,[{countVoidThis:t}]){let r=HVs.create(e);if(t===!0)return r;let n=s=>s.params.length===0||s.params[0].type!==JVs.AST_NODE_TYPES.Identifier||s.params[0].name!=="this"||s.params[0].typeAnnotation?.typeAnnotation.type!==JVs.AST_NODE_TYPES.TSVoidKeyword?s:{...s,params:s.params.slice(1)},i=s=>a=>{s(n(a))};return{ArrowFunctionExpression:i(r.ArrowFunctionExpression),FunctionDeclaration:i(r.FunctionDeclaration),FunctionExpression:i(r.FunctionExpression),TSDeclareFunction:i(r.FunctionDeclaration),TSFunctionType:i(r.FunctionDeclaration)}}})});var t$s=j(UTe=>{"use strict";var CTf=UTe&&UTe.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(UTe,"__esModule",{value:!0});UTe.defaultOrder=void 0;var yE=Vo(),WVs=CTf(pnn()),gyt=el(),yhn={type:"string",enum:["never"]},_hn=e=>({type:"array",items:{oneOf:[{$ref:e},{type:"array",items:{$ref:e}}]}}),XVs=e=>({type:"object",additionalProperties:!1,properties:{memberTypes:{oneOf:[_hn(e),yhn]},optionalityOrder:{$ref:"#/items/0/$defs/optionalityOrderOptions"},order:{$ref:"#/items/0/$defs/orderOptions"}}});UTe.defaultOrder=["signature","call-signature","public-static-field","protected-static-field","private-static-field","#private-static-field","public-decorated-field","protected-decorated-field","private-decorated-field","public-instance-field","protected-instance-field","private-instance-field","#private-instance-field","public-abstract-field","protected-abstract-field","public-field","protected-field","private-field","#private-field","static-field","instance-field","abstract-field","decorated-field","field","static-initialization","public-constructor","protected-constructor","private-constructor","constructor","public-static-accessor","protected-static-accessor","private-static-accessor","#private-static-accessor","public-decorated-accessor","protected-decorated-accessor","private-decorated-accessor","public-instance-accessor","protected-instance-accessor","private-instance-accessor","#private-instance-accessor","public-abstract-accessor","protected-abstract-accessor","public-accessor","protected-accessor","private-accessor","#private-accessor","static-accessor","instance-accessor","abstract-accessor","decorated-accessor","accessor","public-static-get","protected-static-get","private-static-get","#private-static-get","public-decorated-get","protected-decorated-get","private-decorated-get","public-instance-get","protected-instance-get","private-instance-get","#private-instance-get","public-abstract-get","protected-abstract-get","public-get","protected-get","private-get","#private-get","static-get","instance-get","abstract-get","decorated-get","get","public-static-set","protected-static-set","private-static-set","#private-static-set","public-decorated-set","protected-decorated-set","private-decorated-set","public-instance-set","protected-instance-set","private-instance-set","#private-instance-set","public-abstract-set","protected-abstract-set","public-set","protected-set","private-set","#private-set","static-set","instance-set","abstract-set","decorated-set","set","public-static-method","protected-static-method","private-static-method","#private-static-method","public-decorated-method","protected-decorated-method","private-decorated-method","public-instance-method","protected-instance-method","private-instance-method","#private-instance-method","public-abstract-method","protected-abstract-method","public-method","protected-method","private-method","#private-method","static-method","instance-method","abstract-method","decorated-method","method"];var bTf=[...new Set(["readonly-signature","signature","readonly-field","field","method","call-signature","constructor","accessor","get","set","static-initialization"].flatMap(e=>[e,...["public","protected","private","#private"].flatMap(t=>[e!=="readonly-signature"&&e!=="signature"&&e!=="static-initialization"&&e!=="call-signature"&&!(e==="constructor"&&t==="#private")?`${t}-${e}`:[],t!=="#private"&&(e==="readonly-field"||e==="field"||e==="method"||e==="accessor"||e==="get"||e==="set")?[`${t}-decorated-${e}`,`decorated-${e}`]:[],e!=="constructor"&&e!=="readonly-signature"&&e!=="signature"&&e!=="call-signature"?["static","instance",...t==="#private"||t==="private"?[]:["abstract"]].flatMap(r=>[`${r}-${e}`,`${t}-${r}-${e}`]):[]]).flat()]))],ITf=[yE.AST_NODE_TYPES.FunctionExpression,yE.AST_NODE_TYPES.ArrowFunctionExpression];function STf(e){switch(e.type){case yE.AST_NODE_TYPES.TSAbstractMethodDefinition:case yE.AST_NODE_TYPES.MethodDefinition:case yE.AST_NODE_TYPES.TSMethodSignature:return e.kind;case yE.AST_NODE_TYPES.TSCallSignatureDeclaration:return"call-signature";case yE.AST_NODE_TYPES.TSConstructSignatureDeclaration:return"constructor";case yE.AST_NODE_TYPES.TSAbstractPropertyDefinition:case yE.AST_NODE_TYPES.TSPropertySignature:return e.readonly?"readonly-field":"field";case yE.AST_NODE_TYPES.TSAbstractAccessorProperty:case yE.AST_NODE_TYPES.AccessorProperty:return"accessor";case yE.AST_NODE_TYPES.PropertyDefinition:return e.value&&ITf.includes(e.value.type)?"method":e.readonly?"readonly-field":"field";case yE.AST_NODE_TYPES.TSIndexSignature:return e.readonly?"readonly-signature":"signature";case yE.AST_NODE_TYPES.StaticBlock:return"static-initialization";default:return null}}function ZVs(e,t){let{name:r,type:n}=(0,gyt.getNameFromMember)(e,t);return n===gyt.MemberNameType.Quoted?r.slice(1,-1):n===gyt.MemberNameType.Private?r.slice(1):r}function hhn(e,t){switch(e.type){case yE.AST_NODE_TYPES.TSPropertySignature:case yE.AST_NODE_TYPES.TSMethodSignature:case yE.AST_NODE_TYPES.TSAbstractAccessorProperty:case yE.AST_NODE_TYPES.TSAbstractPropertyDefinition:case yE.AST_NODE_TYPES.AccessorProperty:case yE.AST_NODE_TYPES.PropertyDefinition:return ZVs(e,t);case yE.AST_NODE_TYPES.TSAbstractMethodDefinition:case yE.AST_NODE_TYPES.MethodDefinition:return e.kind==="constructor"?"constructor":ZVs(e,t);case yE.AST_NODE_TYPES.TSConstructSignatureDeclaration:return"new";case yE.AST_NODE_TYPES.TSCallSignatureDeclaration:return"call";case yE.AST_NODE_TYPES.TSIndexSignature:return(0,gyt.getNameFromIndexSignature)(e);case yE.AST_NODE_TYPES.StaticBlock:return"static block";default:return null}}function N5e(e){switch(e.type){case yE.AST_NODE_TYPES.TSPropertySignature:case yE.AST_NODE_TYPES.TSMethodSignature:case yE.AST_NODE_TYPES.TSAbstractAccessorProperty:case yE.AST_NODE_TYPES.TSAbstractPropertyDefinition:case yE.AST_NODE_TYPES.AccessorProperty:case yE.AST_NODE_TYPES.PropertyDefinition:case yE.AST_NODE_TYPES.TSAbstractMethodDefinition:case yE.AST_NODE_TYPES.MethodDefinition:return e.optional}return!1}function TTf(e,t){let r=-1,n=[...e];for(;n.length>0&&r===-1;){let i=n.shift();r=t.findIndex(s=>Array.isArray(s)?s.includes(i):s===i)}return r}function DTf(e){return"accessibility"in e&&e.accessibility?e.accessibility:"key"in e&&e.key.type===yE.AST_NODE_TYPES.PrivateIdentifier?"#private":"public"}function e$s(e,t,r){let n=STf(e);if(e.type===yE.AST_NODE_TYPES.MethodDefinition&&e.value.type===yE.AST_NODE_TYPES.TSEmptyBodyFunctionExpression)return-1;if(n==null)return t.length-1;let i=e.type===yE.AST_NODE_TYPES.TSAbstractAccessorProperty||e.type===yE.AST_NODE_TYPES.TSAbstractPropertyDefinition||e.type===yE.AST_NODE_TYPES.TSAbstractMethodDefinition,s="static"in e&&e.static?"static":i?"abstract":"instance",a=DTf(e),u=[];return r&&("decorators"in e&&e.decorators.length>0&&(n==="readonly-field"||n==="field"||n==="method"||n==="accessor"||n==="get"||n==="set")&&(u.push(`${a}-decorated-${n}`),u.push(`decorated-${n}`),n==="readonly-field"&&(u.push(`${a}-decorated-field`),u.push("decorated-field"))),n!=="readonly-signature"&&n!=="signature"&&n!=="static-initialization"&&(n!=="constructor"&&(u.push(`${a}-${s}-${n}`),u.push(`${s}-${n}`),n==="readonly-field"&&(u.push(`${a}-${s}-field`),u.push(`${s}-field`))),u.push(`${a}-${n}`),n==="readonly-field"&&u.push(`${a}-field`))),u.push(n),n==="readonly-signature"?u.push("signature"):n==="readonly-field"&&u.push("field"),TTf(u,t)}function wTf(e,t,r){let n=[],i=e.map(a=>e$s(a,t,r)),s;return e.forEach((a,u)=>{if(u===e.length-1)return;let l=i[u],f=i[u+1];l===s?n.at(-1)?.push(a):l===f&&(n.push([a]),s=l)}),n}function BTf(e,t,r){let n=e[e.length-1];e.forEach(a=>{a>t&&(n=Math.min(n,a))});let i=r[n];return(Array.isArray(i)?i:[i]).map(a=>a.replaceAll("-"," ")).join(", ")}UTe.default=(0,gyt.createRule)({name:"member-ordering",meta:{type:"suggestion",docs:{description:"Require a consistent member declaration order",frozen:!0},messages:{incorrectGroupOrder:"Member {{name}} should be declared before all {{rank}} definitions.",incorrectOrder:"Member {{member}} should be declared before member {{beforeMember}}.",incorrectRequiredMembersOrder:"Member {{member}} should be declared after all {{optionalOrRequired}} members."},schema:[{type:"object",$defs:{allItems:{type:"string",enum:bTf},optionalityOrderOptions:{type:"string",enum:["optional-first","required-first"]},orderOptions:{type:"string",enum:["alphabetically","alphabetically-case-insensitive","as-written","natural","natural-case-insensitive"]},typeItems:{type:"string",enum:["readonly-signature","signature","readonly-field","field","method","constructor"]},baseConfig:{oneOf:[yhn,_hn("#/items/0/$defs/allItems"),XVs("#/items/0/$defs/allItems")]},typesConfig:{oneOf:[yhn,_hn("#/items/0/$defs/typeItems"),XVs("#/items/0/$defs/typeItems")]}},additionalProperties:!1,properties:{classes:{$ref:"#/items/0/$defs/baseConfig",description:"Which ordering to enforce for classes."},classExpressions:{$ref:"#/items/0/$defs/baseConfig",description:"Which ordering to enforce for classExpressions."},default:{$ref:"#/items/0/$defs/baseConfig",description:"Which ordering to enforce for default."},interfaces:{$ref:"#/items/0/$defs/typesConfig",description:"Which ordering to enforce for interfaces."},typeLiterals:{$ref:"#/items/0/$defs/typesConfig",description:"Which ordering to enforce for typeLiterals."}}}]},defaultOptions:[{default:{memberTypes:UTe.defaultOrder}}],create(e,[t]){function r(u,l,f){let p=[],g=[],A=!0;for(let h of u){let _=e$s(h,l,f),E=hhn(h,e.sourceCode),b=p[p.length-1];_!==-1&&(_{let A=hhn(g,e.sourceCode);A&&(i(A,f,l)&&(e.report({node:g,messageId:"incorrectOrder",data:{beforeMember:f,member:A}}),p=!1),f=A)}),p}function i(u,l,f){if(u===l)return!1;switch(f){case"alphabetically":return uA&&N5e(g)!==N5e(u[A-1])),p=g=>e.report({loc:g.loc,messageId:"incorrectRequiredMembersOrder",data:{member:hhn(g,e.sourceCode),optionalOrRequired:l==="required-first"?"required":"optional"}});if(N5e(u[0])!==(l==="optional-first"))return p(u[0]),!1;for(let g=f+1;g{p&&p!=="as-written"&&Array.isArray(g)&&wTf(b,g,f).forEach(k=>{n(k,p)})},_=b=>{let D=!!(p&&p!=="as-written");if(Array.isArray(g)){let k=r(b,g,f);if(k==null)return h(u),!1;D&&k.map(M=>n(M,p))}else if(D)return n(b,p);return!1};if(Array.isArray(l)?g=l:(p=l.order,g=l.memberTypes,A=l.optionalityOrder),!A){_(u);return}let E=u.findIndex((b,D)=>D&&N5e(b)!==N5e(u[D-1]));if(E!==-1){if(!s(u,A))return;_(u.slice(0,E)),_(u.slice(E))}else _(u)}return{ClassDeclaration(u){a(u.body.body,t.classes??t.default,!0)},"ClassDeclaration, FunctionDeclaration"(u){"superClass"in u},ClassExpression(u){a(u.body.body,t.classExpressions??t.default,!0)},TSInterfaceDeclaration(u){a(u.body.body,t.interfaces??t.default,!1)},TSTypeLiteral(u){a(u.members,t.typeLiterals??t.default,!1)}}}})});var r$s=j(Ehn=>{"use strict";Object.defineProperty(Ehn,"__esModule",{value:!0});var Ayt=Vo(),O5e=el();Ehn.default=(0,O5e.createRule)({name:"method-signature-style",meta:{type:"suggestion",docs:{description:"Enforce using a particular method signature syntax"},fixable:"code",messages:{errorMethod:"Shorthand method signature is forbidden. Use a function property instead.",errorProperty:"Function property signature is forbidden. Use a method shorthand instead."},schema:[{type:"string",description:"The method signature style to enforce using.",enum:["property","method"]}]},defaultOptions:["property"],create(e,[t]){function r(u){let l=e.sourceCode.getText(u.key);return u.computed&&(l=`[${l}]`),u.optional&&(l=`${l}?`),u.readonly&&(l=`readonly ${l}`),l}function n(u){let l="()";if(u.params.length>0){let f=(0,O5e.nullThrows)(e.sourceCode.getTokenBefore(u.params[0],O5e.isOpeningParenToken),"Missing opening paren before first parameter"),p=(0,O5e.nullThrows)(e.sourceCode.getTokenAfter(u.params[u.params.length-1],O5e.isClosingParenToken),"Missing closing paren after last parameter");l=e.sourceCode.text.substring(f.range[0],p.range[1])}return u.typeParameters!=null&&(l=`${e.sourceCode.getText(u.typeParameters)}${l}`),l}function i(u){return u.returnType==null?"any":e.sourceCode.getText(u.returnType.typeAnnotation)}function s(u){let l=e.sourceCode.getLastToken(u);return l&&((0,O5e.isSemicolonToken)(l)||(0,O5e.isCommaToken)(l))?l.value:""}function a(u){return u.parent?u.parent.type===Ayt.AST_NODE_TYPES.TSModuleDeclaration?!0:u.parent.type===Ayt.AST_NODE_TYPES.Program?!1:a(u.parent):!1}return{...t==="property"&&{TSMethodSignature(u){if(u.kind!=="method")return;let l=u.parent,p=(l.type===Ayt.AST_NODE_TYPES.TSInterfaceBody?l.body:l.members).filter(A=>A.type===Ayt.AST_NODE_TYPES.TSMethodSignature&&A!==u&&r(A)===r(u)),g=a(u);if(p.length>0){g?e.report({node:u,messageId:"errorMethod"}):e.report({node:u,messageId:"errorMethod",*fix(A){let _=[u,...p].sort((D,k)=>D.range[0]{let k=n(D),M=i(D);return`(${k} => ${M})`}).join(" & "),E=r(u),b=s(u);yield A.replaceText(u,`${E}: ${_}${b}`);for(let D of p){let k=e.sourceCode.getLastToken(D);if(k){let M=e.sourceCode.getTokenAfter(k);M&&(yield A.remove(D),yield A.replaceTextRange([k.range[1],M.range[0]],""))}}}});return}g?e.report({node:u,messageId:"errorMethod"}):e.report({node:u,messageId:"errorMethod",fix:A=>{let h=r(u),_=n(u),E=i(u),b=s(u);return A.replaceText(u,`${h}: ${_} => ${E}${b}`)}})}},...t==="method"&&{TSPropertySignature(u){let l=u.typeAnnotation?.typeAnnotation;l?.type===Ayt.AST_NODE_TYPES.TSFunctionType&&e.report({node:u,messageId:"errorProperty",fix:f=>{let p=r(u),g=n(l),A=i(l),h=s(u);return f.replaceText(u,`${p}${g}: ${A}${h}`)}})}}}}})});var R5e=j(qY=>{"use strict";Object.defineProperty(qY,"__esModule",{value:!0});qY.TypeModifiers=qY.Modifiers=qY.MetaSelectors=qY.Selectors=qY.UnderscoreOptions=qY.PredefinedFormats=void 0;var n$s;(function(e){e[e.camelCase=1]="camelCase",e[e.strictCamelCase=2]="strictCamelCase",e[e.PascalCase=3]="PascalCase",e[e.StrictPascalCase=4]="StrictPascalCase",e[e.snake_case=5]="snake_case",e[e.UPPER_CASE=6]="UPPER_CASE"})(n$s||(qY.PredefinedFormats=n$s={}));var i$s;(function(e){e[e.forbid=1]="forbid",e[e.allow=2]="allow",e[e.require=3]="require",e[e.requireDouble=4]="requireDouble",e[e.allowDouble=5]="allowDouble",e[e.allowSingleOrDouble=6]="allowSingleOrDouble"})(i$s||(qY.UnderscoreOptions=i$s={}));var s$s;(function(e){e[e.variable=1]="variable",e[e.function=2]="function",e[e.parameter=4]="parameter",e[e.parameterProperty=8]="parameterProperty",e[e.classicAccessor=16]="classicAccessor",e[e.enumMember=32]="enumMember",e[e.classMethod=64]="classMethod",e[e.objectLiteralMethod=128]="objectLiteralMethod",e[e.typeMethod=256]="typeMethod",e[e.classProperty=512]="classProperty",e[e.objectLiteralProperty=1024]="objectLiteralProperty",e[e.typeProperty=2048]="typeProperty",e[e.autoAccessor=4096]="autoAccessor",e[e.class=8192]="class",e[e.interface=16384]="interface",e[e.typeAlias=32768]="typeAlias",e[e.enum=65536]="enum",e[e.typeParameter=131072]="typeParameter",e[e.import=262144]="import"})(s$s||(qY.Selectors=s$s={}));var a$s;(function(e){e[e.default=-1]="default",e[e.variableLike=7]="variableLike",e[e.memberLike=8184]="memberLike",e[e.typeLike=253952]="typeLike",e[e.method=448]="method",e[e.property=3584]="property",e[e.accessor=4112]="accessor"})(a$s||(qY.MetaSelectors=a$s={}));var o$s;(function(e){e[e.const=1]="const",e[e.readonly=2]="readonly",e[e.static=4]="static",e[e.public=8]="public",e[e.protected=16]="protected",e[e.private=32]="private",e[e["#private"]=64]="#private",e[e.abstract=128]="abstract",e[e.destructured=256]="destructured",e[e.global=512]="global",e[e.exported=1024]="exported",e[e.unused=2048]="unused",e[e.requiresQuotes=4096]="requiresQuotes",e[e.override=8192]="override",e[e.async=16384]="async",e[e.default=32768]="default",e[e.namespace=65536]="namespace"})(o$s||(qY.Modifiers=o$s={}));var u$s;(function(e){e[e.boolean=131072]="boolean",e[e.string=262144]="string",e[e.number=524288]="number",e[e.function=1048576]="function",e[e.array=2097152]="array"})(u$s||(qY.TypeModifiers=u$s={}))});var oer=j(hyt=>{"use strict";Object.defineProperty(hyt,"__esModule",{value:!0});hyt.selectorTypeToMessageString=kTf;hyt.isMetaSelector=PTf;hyt.isMethodOrPropertySelector=NTf;var xhn=R5e();function kTf(e){let t=e.replaceAll(/([A-Z])/g," $1");return t.charAt(0).toUpperCase()+t.slice(1)}function PTf(e){return e in xhn.MetaSelectors}function NTf(e){return e===xhn.MetaSelectors.method||e===xhn.MetaSelectors.property}});var f$s=j(uer=>{"use strict";Object.defineProperty(uer,"__esModule",{value:!0});uer.PredefinedFormatToCheckFunction=void 0;var s$e=R5e();function OTf(e){return e.length===0||e[0]===e[0].toUpperCase()&&!e.includes("_")}function RTf(e){return e.length===0||e[0]===e[0].toUpperCase()&&l$s(e,!0)}function FTf(e){return e.length===0||e[0]===e[0].toLowerCase()&&!e.includes("_")}function LTf(e){return e.length===0||e[0]===e[0].toLowerCase()&&l$s(e,!1)}function l$s(e,t){function r(n){return n===n.toUpperCase()&&n!==n.toLowerCase()}if(e.startsWith("_"))return!1;for(let n=1;n{"use strict";Object.defineProperty(vhn,"__esModule",{value:!0});vhn.createValidator=qTf;var p$s=Vo(),jTf=el(),D9=R5e(),UTf=f$s(),yyt=oer();function qTf(e,t,r){let n=D9.Selectors[e],i=r.filter(p=>(p.selector&n)!==0||p.selector===D9.MetaSelectors.default).sort((p,g)=>{if(p.selector===g.selector)return g.modifierWeight-p.modifierWeight;let A=(0,yyt.isMetaSelector)(p.selector),h=(0,yyt.isMetaSelector)(g.selector);if(A&&!h)return 1;if(!A&&h)return-1;let _=(0,yyt.isMethodOrPropertySelector)(p.selector),E=(0,yyt.isMethodOrPropertySelector)(g.selector);return _&&!E?-1:!_&&E?1:g.selector-p.selector});return(p,g=new Set)=>{let A=p.type===p$s.AST_NODE_TYPES.Identifier||p.type===p$s.AST_NODE_TYPES.PrivateIdentifier?p.name:`${p.value}`;for(let h of i){if(h.filter?.regex.test(A)!==h.filter?.match||h.modifiers?.some(E=>!g.has(E))||!GTf(p,h,t,n))continue;let _=A;return _=a("leading",h,_,p,A),_==null||(_=a("trailing",h,_,p,A),_==null)||(_=u("prefix",h,_,p,A),_==null)||(_=u("suffix",h,_,p,A),_==null)||!l(h,_,p,A)||!f(h,_,p,A,g),void 0}};function s({affixes:p,count:g,custom:A,formats:h,originalName:_,position:E,processedName:b}){return{affixes:p?.join(", "),count:g,formats:h?.map(D=>D9.PredefinedFormats[D]).join(", "),name:_,position:E,processedName:b,regex:A?.regex.toString(),regexMatch:A?.match===!0?"match":A?.match===!1?"not match":null,type:(0,yyt.selectorTypeToMessageString)(e)}}function a(p,g,A,h,_){let E=p==="leading"?g.leadingUnderscore:g.trailingUnderscore;if(!E)return A;let b=p==="leading"?()=>A.startsWith("_"):()=>A.endsWith("_"),D=p==="leading"?()=>A.slice(1):()=>A.slice(0,-1),k=p==="leading"?()=>A.startsWith("__"):()=>A.endsWith("__"),M=p==="leading"?()=>A.slice(2):()=>A.slice(0,-2);switch(E){case D9.UnderscoreOptions.allow:return b()?D():A;case D9.UnderscoreOptions.allowDouble:return k()?M():A;case D9.UnderscoreOptions.allowSingleOrDouble:return k()?M():b()?D():A;case D9.UnderscoreOptions.forbid:return b()?(t.report({data:s({count:"one",originalName:_,position:p}),messageId:"unexpectedUnderscore",node:h}),null):A;case D9.UnderscoreOptions.require:return b()?D():(t.report({data:s({count:"one",originalName:_,position:p}),messageId:"missingUnderscore",node:h}),null);case D9.UnderscoreOptions.requireDouble:return k()?M():(t.report({data:s({count:"two",originalName:_,position:p}),messageId:"missingUnderscore",node:h}),null)}}function u(p,g,A,h,_){let E=g[p];if(!E||E.length===0)return A;for(let b of E){let D=p==="prefix"?A.startsWith(b):A.endsWith(b),k=p==="prefix"?()=>A.slice(b.length):()=>A.slice(0,-b.length);if(D)return k()}return t.report({data:s({affixes:E,originalName:_,position:p}),messageId:"missingAffix",node:h}),null}function l(p,g,A,h){let _=p.custom;if(!_)return!0;let E=_.regex.test(g);return _.match&&E||!_.match&&!E?!0:(t.report({data:s({custom:_,originalName:h}),messageId:"satisfyCustom",node:A}),!1)}function f(p,g,A,h,_){let E=p.format;if(!E?.length)return!0;if(!_.has(D9.Modifiers.requiresQuotes))for(let b of E){let D=UTf.PredefinedFormatToCheckFunction[b];if(D(g))return!0}return t.report({data:s({formats:E,originalName:h,processedName:g}),messageId:h===g?"doesNotMatchFormat":"doesNotMatchFormatTrimmed",node:A}),!1}}var YTf=D9.Selectors.variable|D9.Selectors.parameter|D9.Selectors.classProperty|D9.Selectors.objectLiteralProperty|D9.Selectors.typeProperty|D9.Selectors.parameterProperty|D9.Selectors.classicAccessor;function GTf(e,t,r,n){if(t.types==null||(YTf&n)===0)return!0;let i=(0,jTf.getParserServices)(r),s=i.program.getTypeChecker(),a=i.getTypeAtLocation(e).getNonNullableType();for(let u of t.types)switch(u){case D9.TypeModifiers.array:if(d$s(a,l=>s.isArrayType(l)||s.isTupleType(l)))return!0;break;case D9.TypeModifiers.function:if(d$s(a,l=>l.getCallSignatures().length>0))return!0;break;case D9.TypeModifiers.boolean:case D9.TypeModifiers.number:case D9.TypeModifiers.string:{let l=s.typeToString(s.getWidenedType(s.getBaseTypeOfLiteralType(a))),f=D9.TypeModifiers[u];if(l===f)return!0;break}}return!1}function d$s(e,t){return e.isUnion()?e.types.every(r=>t(r)):t(e)}});var g$s=j(Chn=>{"use strict";Object.defineProperty(Chn,"__esModule",{value:!0});Chn.parseOptions=HTf;var VTf=el(),Cpe=R5e(),$Tf=oer(),KTf=m$s();function JTf(e){let t=0;e.modifiers?.forEach(i=>{t|=Cpe.Modifiers[i]}),e.types?.forEach(i=>{t|=Cpe.TypeModifiers[i]}),e.filter&&(t|=1<<30);let r={custom:e.custom?{match:e.custom.match,regex:new RegExp(e.custom.regex,"u")}:null,filter:e.filter!=null?typeof e.filter=="string"?{match:!0,regex:new RegExp(e.filter,"u")}:{match:e.filter.match,regex:new RegExp(e.filter.regex,"u")}:null,format:e.format?e.format.map(i=>Cpe.PredefinedFormats[i]):null,leadingUnderscore:e.leadingUnderscore!=null?Cpe.UnderscoreOptions[e.leadingUnderscore]:null,modifiers:e.modifiers?.map(i=>Cpe.Modifiers[i])??null,prefix:e.prefix&&e.prefix.length>0?e.prefix:null,suffix:e.suffix&&e.suffix.length>0?e.suffix:null,trailingUnderscore:e.trailingUnderscore!=null?Cpe.UnderscoreOptions[e.trailingUnderscore]:null,types:e.types?.map(i=>Cpe.TypeModifiers[i])??null,modifierWeight:t};return(Array.isArray(e.selector)?e.selector:[e.selector]).map(i=>({selector:(0,$Tf.isMetaSelector)(i)?Cpe.MetaSelectors[i]:Cpe.Selectors[i],...r}))}function HTf(e){let t=e.options.flatMap(JTf);return Object.fromEntries((0,VTf.getEnumNames)(Cpe.Selectors).map(r=>[r,(0,KTf.createValidator)(r,e,t)]))}});var _$s=j(ler=>{"use strict";Object.defineProperty(ler,"__esModule",{value:!0});ler.SCHEMA=void 0;var F5e=el(),L5e=R5e(),zTf={predefinedFormats:{enum:(0,F5e.getEnumNames)(L5e.PredefinedFormats),type:"string"},typeModifiers:{enum:(0,F5e.getEnumNames)(L5e.TypeModifiers),type:"string"},underscoreOptions:{enum:(0,F5e.getEnumNames)(L5e.UnderscoreOptions),type:"string"},formatOptionsConfig:{oneOf:[{additionalItems:!1,items:{$ref:"#/$defs/predefinedFormats"},type:"array"},{type:"null"}]},matchRegexConfig:{additionalProperties:!1,properties:{match:{type:"boolean"},regex:{type:"string"}},required:["match","regex"],type:"object"},prefixSuffixConfig:{additionalItems:!1,items:{minLength:1,type:"string"},type:"array"}},A$s={$ref:"#/$defs/underscoreOptions"},h$s={$ref:"#/$defs/prefixSuffixConfig"},bhn={$ref:"#/$defs/matchRegexConfig"},y$s={custom:bhn,failureMessage:{type:"string"},format:{$ref:"#/$defs/formatOptionsConfig"},leadingUnderscore:A$s,prefix:h$s,suffix:h$s,trailingUnderscore:A$s};function AD(e,t,r){let n={filter:{oneOf:[{minLength:1,type:"string"},bhn]},selector:{enum:[e],type:"string"}};return r&&r.length>0&&(n.modifiers={additionalItems:!1,items:{enum:r,type:"string"},type:"array"}),t&&(n.types={additionalItems:!1,items:{$ref:"#/$defs/typeModifiers"},type:"array"}),[{additionalProperties:!1,description:`Selector '${e}'`,properties:{...y$s,...n},required:["selector","format"],type:"object"}]}function WTf(){return{additionalProperties:!1,description:"Multiple selectors in one config",properties:{...y$s,filter:{oneOf:[{minLength:1,type:"string"},bhn]},modifiers:{additionalItems:!1,items:{enum:(0,F5e.getEnumNames)(L5e.Modifiers),type:"string"},type:"array"},selector:{additionalItems:!1,items:{enum:[...(0,F5e.getEnumNames)(L5e.MetaSelectors),...(0,F5e.getEnumNames)(L5e.Selectors)],type:"string"},type:"array"},types:{additionalItems:!1,items:{$ref:"#/$defs/typeModifiers"},type:"array"}},required:["selector","format"],type:"object"}}ler.SCHEMA={$defs:zTf,additionalItems:!1,items:{oneOf:[WTf(),...AD("default",!1,(0,F5e.getEnumNames)(L5e.Modifiers)),...AD("variableLike",!1,["unused","async"]),...AD("variable",!0,["const","destructured","exported","global","unused","async"]),...AD("function",!1,["exported","global","unused","async"]),...AD("parameter",!0,["destructured","unused"]),...AD("memberLike",!1,["abstract","private","#private","protected","public","readonly","requiresQuotes","static","override","async"]),...AD("classProperty",!0,["abstract","private","#private","protected","public","readonly","requiresQuotes","static","override"]),...AD("objectLiteralProperty",!0,["public","requiresQuotes"]),...AD("typeProperty",!0,["public","readonly","requiresQuotes"]),...AD("parameterProperty",!0,["private","protected","public","readonly"]),...AD("property",!0,["abstract","private","#private","protected","public","readonly","requiresQuotes","static","override","async"]),...AD("classMethod",!1,["abstract","private","#private","protected","public","requiresQuotes","static","override","async"]),...AD("objectLiteralMethod",!1,["public","requiresQuotes","async"]),...AD("typeMethod",!1,["public","requiresQuotes"]),...AD("method",!1,["abstract","private","#private","protected","public","requiresQuotes","static","override","async"]),...AD("classicAccessor",!0,["abstract","private","protected","public","requiresQuotes","static","override"]),...AD("autoAccessor",!0,["abstract","private","protected","public","requiresQuotes","static","override"]),...AD("accessor",!0,["abstract","private","protected","public","requiresQuotes","static","override"]),...AD("enumMember",!1,["requiresQuotes"]),...AD("typeLike",!1,["abstract","exported","unused"]),...AD("class",!1,["abstract","exported","unused"]),...AD("interface",!1,["exported","unused"]),...AD("typeAlias",!1,["exported","unused"]),...AD("enum",!1,["exported","unused"]),...AD("typeParameter",!1,["unused"]),...AD("import",!1,["default","namespace"])]},type:"array"}});var E$s=j(bpe=>{"use strict";Object.defineProperty(bpe,"__esModule",{value:!0});bpe.selectorTypeToMessageString=bpe.SCHEMA=bpe.parseOptions=bpe.Modifiers=void 0;var XTf=R5e();Object.defineProperty(bpe,"Modifiers",{enumerable:!0,get:function(){return XTf.Modifiers}});var ZTf=g$s();Object.defineProperty(bpe,"parseOptions",{enumerable:!0,get:function(){return ZTf.parseOptions}});var eDf=_$s();Object.defineProperty(bpe,"SCHEMA",{enumerable:!0,get:function(){return eDf.SCHEMA}});var tDf=oer();Object.defineProperty(bpe,"selectorTypeToMessageString",{enumerable:!0,get:function(){return tDf.selectorTypeToMessageString}})});var b$s=j(Shn=>{"use strict";Object.defineProperty(Shn,"__esModule",{value:!0});var rDf=nL(),p4=Vo(),cer=el(),Ky=E$s(),x$s=[{format:["camelCase"],leadingUnderscore:"allow",selector:"default",trailingUnderscore:"allow"},{format:["camelCase","PascalCase"],selector:"import"},{format:["camelCase","UPPER_CASE"],leadingUnderscore:"allow",selector:"variable",trailingUnderscore:"allow"},{format:["PascalCase"],selector:"typeLike"}];Shn.default=(0,cer.createRule)({name:"naming-convention",meta:{type:"suggestion",docs:{description:"Enforce naming conventions for everything across a codebase",frozen:!0,requiresTypeChecking:!0},messages:{doesNotMatchFormat:"{{type}} name `{{name}}` must match one of the following formats: {{formats}}",doesNotMatchFormatTrimmed:"{{type}} name `{{name}}` trimmed as `{{processedName}}` must match one of the following formats: {{formats}}",missingAffix:"{{type}} name `{{name}}` must have one of the following {{position}}es: {{affixes}}",missingUnderscore:"{{type}} name `{{name}}` must have {{count}} {{position}} underscore(s).",satisfyCustom:"{{type}} name `{{name}}` must {{regexMatch}} the RegExp: {{regex}}",unexpectedUnderscore:"{{type}} name `{{name}}` must not have a {{position}} underscore."},schema:Ky.SCHEMA},defaultOptions:x$s,create(e){let t=e.options.length>0?e:Object.setPrototypeOf({options:x$s},e),r=(0,Ky.parseOptions)(t),n=(0,cer.getParserServices)(t,!0).program?.getCompilerOptions()??{};function i(A,h,_){let E=h.key;C$s(E,n.target)&&_.add(Ky.Modifiers.requiresQuotes),A(E,_)}function s(A){let h=new Set;return"key"in A&&A.key.type===p4.AST_NODE_TYPES.PrivateIdentifier?h.add(Ky.Modifiers["#private"]):A.accessibility?h.add(Ky.Modifiers[A.accessibility]):h.add(Ky.Modifiers.public),A.static&&h.add(Ky.Modifiers.static),"readonly"in A&&A.readonly&&h.add(Ky.Modifiers.readonly),"override"in A&&A.override&&h.add(Ky.Modifiers.override),(A.type===p4.AST_NODE_TYPES.TSAbstractPropertyDefinition||A.type===p4.AST_NODE_TYPES.TSAbstractMethodDefinition||A.type===p4.AST_NODE_TYPES.TSAbstractAccessorProperty)&&h.add(Ky.Modifiers.abstract),h}let{unusedVariables:a}=(0,cer.collectVariables)(t);function u(A,h){let _=null,E=h;for(;E&&(_=E.set.get(A)??null,!_);)E=E.upper;return _?a.has(_):!1}function l(A){return A.parent.type===p4.AST_NODE_TYPES.Property&&A.parent.shorthand||A.parent.type===p4.AST_NODE_TYPES.AssignmentPattern&&A.parent.parent.type===p4.AST_NODE_TYPES.Property&&A.parent.parent.shorthand}function f(A){return!!("value"in A&&A.value&&"async"in A.value&&A.value.async)}function p(A){return!!("async"in A.parent&&A.parent.async||"init"in A.parent&&A.parent.init&&"async"in A.parent.init&&A.parent.init.async)}let g={"FunctionDeclaration, TSDeclareFunction, FunctionExpression":{handler:(A,h)=>{if(A.id==null)return;let _=new Set,E=t.sourceCode.getScope(A).upper;v$s(E)&&_.add(Ky.Modifiers.global),a$e(A,A.id.name,E)&&_.add(Ky.Modifiers.exported),u(A.id.name,E)&&_.add(Ky.Modifiers.unused),A.async&&_.add(Ky.Modifiers.async),h(A.id,_)},validator:r.function},"ImportDefaultSpecifier, ImportNamespaceSpecifier, ImportSpecifier":{handler:(A,h)=>{let _=new Set;switch(A.type){case p4.AST_NODE_TYPES.ImportDefaultSpecifier:_.add(Ky.Modifiers.default);break;case p4.AST_NODE_TYPES.ImportNamespaceSpecifier:_.add(Ky.Modifiers.namespace);break;case p4.AST_NODE_TYPES.ImportSpecifier:if(A.imported.type===p4.AST_NODE_TYPES.Identifier&&A.imported.name!=="default")return;_.add(Ky.Modifiers.default);break}h(A.local,_)},validator:r.import},VariableDeclarator:{handler:(A,h)=>{let _=Ihn(A.id),E=new Set,b=A.parent;b.kind==="const"&&E.add(Ky.Modifiers.const),v$s(t.sourceCode.getScope(A))&&E.add(Ky.Modifiers.global),_.forEach(D=>{let k=new Set(E);l(D)&&k.add(Ky.Modifiers.destructured);let M=t.sourceCode.getScope(D);a$e(b,D.name,M)&&k.add(Ky.Modifiers.exported),u(D.name,M)&&k.add(Ky.Modifiers.unused),p(D)&&k.add(Ky.Modifiers.async),h(D,k)})},validator:r.variable},':matches(PropertyDefinition, TSAbstractPropertyDefinition)[computed = false][value.type != "ArrowFunctionExpression"][value.type != "FunctionExpression"][value.type != "TSEmptyBodyFunctionExpression"]':{handler:(A,h)=>{let _=s(A);i(h,A,_)},validator:r.classProperty},':not(ObjectPattern) > Property[computed = false][kind = "init"][value.type != "ArrowFunctionExpression"][value.type != "FunctionExpression"][value.type != "TSEmptyBodyFunctionExpression"]':{handler:(A,h)=>{let _=new Set([Ky.Modifiers.public]);i(h,A,_)},validator:r.objectLiteralProperty},[[':matches(PropertyDefinition, TSAbstractPropertyDefinition)[computed = false][value.type = "ArrowFunctionExpression"]',':matches(PropertyDefinition, TSAbstractPropertyDefinition)[computed = false][value.type = "FunctionExpression"]',':matches(PropertyDefinition, TSAbstractPropertyDefinition)[computed = false][value.type = "TSEmptyBodyFunctionExpression"]',':matches(MethodDefinition, TSAbstractMethodDefinition)[computed = false][kind = "method"]'].join(", ")]:{handler:(A,h)=>{let _=s(A);f(A)&&_.add(Ky.Modifiers.async),i(h,A,_)},validator:r.classMethod},[['MethodDefinition[computed = false]:matches([kind = "get"], [kind = "set"])','TSAbstractMethodDefinition[computed = false]:matches([kind="get"], [kind="set"])'].join(", ")]:{handler:(A,h)=>{let _=s(A);i(h,A,_)},validator:r.classicAccessor},[['Property[computed = false][kind = "init"][value.type = "ArrowFunctionExpression"]','Property[computed = false][kind = "init"][value.type = "FunctionExpression"]','Property[computed = false][kind = "init"][value.type = "TSEmptyBodyFunctionExpression"]'].join(", ")]:{handler:(A,h)=>{let _=new Set([Ky.Modifiers.public]);f(A)&&_.add(Ky.Modifiers.async),i(h,A,_)},validator:r.objectLiteralMethod},[["TSMethodSignature[computed = false]",'TSPropertySignature[computed = false][typeAnnotation.typeAnnotation.type = "TSFunctionType"]'].join(", ")]:{handler:(A,h)=>{let _=new Set([Ky.Modifiers.public]);i(h,A,_)},validator:r.typeMethod},[[p4.AST_NODE_TYPES.AccessorProperty,p4.AST_NODE_TYPES.TSAbstractAccessorProperty].join(", ")]:{handler:(A,h)=>{let _=s(A);i(h,A,_)},validator:r.autoAccessor},"FunctionDeclaration, TSDeclareFunction, TSEmptyBodyFunctionExpression, FunctionExpression, ArrowFunctionExpression":{handler:(A,h)=>{A.params.forEach(_=>{if(_.type===p4.AST_NODE_TYPES.TSParameterProperty)return;Ihn(_).forEach(b=>{let D=new Set;l(b)&&D.add(Ky.Modifiers.destructured),u(b.name,t.sourceCode.getScope(b))&&D.add(Ky.Modifiers.unused),h(b,D)})})},validator:r.parameter},'Property[computed = false]:matches([kind = "get"], [kind = "set"])':{handler:(A,h)=>{let _=new Set([Ky.Modifiers.public]);i(h,A,_)},validator:r.classicAccessor},TSParameterProperty:{handler:(A,h)=>{let _=s(A);Ihn(A.parameter).forEach(b=>{h(b,_)})},validator:r.parameterProperty},'TSPropertySignature[computed = false][typeAnnotation.typeAnnotation.type != "TSFunctionType"]':{handler:(A,h)=>{let _=new Set([Ky.Modifiers.public]);A.readonly&&_.add(Ky.Modifiers.readonly),i(h,A,_)},validator:r.typeProperty},"ClassDeclaration, ClassExpression":{handler:(A,h)=>{let _=A.id;if(_==null)return;let E=new Set,b=t.sourceCode.getScope(A).upper;A.abstract&&E.add(Ky.Modifiers.abstract),a$e(A,_.name,b)&&E.add(Ky.Modifiers.exported),u(_.name,b)&&E.add(Ky.Modifiers.unused),h(_,E)},validator:r.class},TSEnumDeclaration:{handler:(A,h)=>{let _=new Set,E=t.sourceCode.getScope(A).upper;a$e(A,A.id.name,E)&&_.add(Ky.Modifiers.exported),u(A.id.name,E)&&_.add(Ky.Modifiers.unused),h(A.id,_)},validator:r.enum},TSEnumMember:{handler:(A,h)=>{let _=A.id,E=new Set;C$s(_,n.target)&&E.add(Ky.Modifiers.requiresQuotes),h(_,E)},validator:r.enumMember},TSInterfaceDeclaration:{handler:(A,h)=>{let _=new Set,E=t.sourceCode.getScope(A);a$e(A,A.id.name,E)&&_.add(Ky.Modifiers.exported),u(A.id.name,E)&&_.add(Ky.Modifiers.unused),h(A.id,_)},validator:r.interface},TSTypeAliasDeclaration:{handler:(A,h)=>{let _=new Set,E=t.sourceCode.getScope(A);a$e(A,A.id.name,E)&&_.add(Ky.Modifiers.exported),u(A.id.name,E)&&_.add(Ky.Modifiers.unused),h(A.id,_)},validator:r.typeAlias},"TSTypeParameterDeclaration > TSTypeParameter":{handler:(A,h)=>{let _=new Set,E=t.sourceCode.getScope(A);u(A.name.name,E)&&_.add(Ky.Modifiers.unused),h(A.name,_)},validator:r.typeParameter}};return Object.fromEntries(Object.entries(g).map(([A,{handler:h,validator:_}])=>[A,E=>{h(E,_)}]))}});function Ihn(e){let t=[];return new rDf.PatternVisitor({},e,n=>t.push(n)).visit(e),t}function a$e(e,t,r){if(e?.parent?.type===p4.AST_NODE_TYPES.ExportDefaultDeclaration||e?.parent?.type===p4.AST_NODE_TYPES.ExportNamedDeclaration)return!0;if(r==null)return!1;let n=r.set.get(t);if(n)for(let i of n.references){let s=i.identifier.parent;if(s.type===p4.AST_NODE_TYPES.ExportDefaultDeclaration||s.type===p4.AST_NODE_TYPES.ExportSpecifier)return!0}return!1}function v$s(e){return e==null?!1:e.type===p4.TSESLint.Scope.ScopeType.global||e.type===p4.TSESLint.Scope.ScopeType.module}function C$s(e,t){let r=e.type===p4.AST_NODE_TYPES.Identifier||e.type===p4.AST_NODE_TYPES.PrivateIdentifier?e.name:`${e.value}`;return(0,cer.requiresQuoting)(r,t)}});var S$s=j(Thn=>{"use strict";Object.defineProperty(Thn,"__esModule",{value:!0});var nDf=Vo(),I$s=z1t(),iDf=el();Thn.default=(0,iDf.createRule)({name:"no-array-constructor",meta:{type:"suggestion",docs:{description:"Disallow generic `Array` constructors",extendsBaseRule:!0,recommended:"recommended"},fixable:"code",messages:{useLiteral:"The array literal notation [] is preferable."},schema:[]},defaultOptions:[],create(e){let t=e.sourceCode;function r(i){let s=t.getLastToken(i);if(s==null||!(0,I$s.isClosingParenToken)(s))return"";let a=i.callee;do if(a=t.getTokenAfter(a),!a||a===s)return"";while(!(0,I$s.isOpeningParenToken)(a));return t.text.slice(a.range[1],s.range[0])}function n(i){i.arguments.length!==1&&i.callee.type===nDf.AST_NODE_TYPES.Identifier&&i.callee.name==="Array"&&!i.typeArguments&&e.report({node:i,messageId:"useLiteral",fix(s){let a=r(i);return s.replaceText(i,`[${a}]`)}})}return{CallExpression:n,NewExpression:n}}})});var T$s=j(Bhn=>{"use strict";Object.defineProperty(Bhn,"__esModule",{value:!0});var Dhn=Vo(),whn=el();Bhn.default=(0,whn.createRule)({name:"no-array-delete",meta:{type:"problem",docs:{description:"Disallow using the `delete` operator on array values",recommended:"recommended",requiresTypeChecking:!0},hasSuggestions:!0,messages:{noArrayDelete:"Using the `delete` operator with an array expression is unsafe.",useSplice:"Use `array.splice()` instead."},schema:[]},defaultOptions:[],create(e){let t=(0,whn.getParserServices)(e),r=t.program.getTypeChecker();function n(i){let s=a=>r.isArrayType(a)||r.isTupleType(a);return i.isUnion()?i.types.every(s):i.isIntersection()?i.types.some(s):s(i)}return{'UnaryExpression[operator="delete"]'(i){let{argument:s}=i;if(s.type!==Dhn.AST_NODE_TYPES.MemberExpression)return;let a=(0,whn.getConstrainedTypeAtLocation)(t,s.object);n(a)&&e.report({node:i,messageId:"noArrayDelete",suggest:[{messageId:"useSplice",fix(u){let{object:l,property:f}=s,p=f.type===Dhn.AST_NODE_TYPES.SequenceExpression,g=t.esTreeNodeToTSNodeMap,A=g.get(l).getText(),h=g.get(f).getText(),_=p?`(${h})`:h,E=`${A}.splice(${_}, 1)`,b=e.sourceCode.getCommentsInside(i);if(b.length>0){let D=i.loc.start.column,k=" ".repeat(D);E=`${b.map(R=>R.type===Dhn.AST_TOKEN_TYPES.Line?`//${R.value}`:`/*${R.value}*/`).join(` ${k}`)} ${k}${E}`}return u.replaceText(i,E)}}]})}}}})});var w$s=j(r_e=>{"use strict";var sDf=r_e&&r_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),aDf=r_e&&r_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),D$s=r_e&&r_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iM5e.isTypeAliasDeclaration(e)||M5e.isInterfaceDeclaration(e)||M5e.isClassDeclaration(e);r_e.default=(0,qTe.createRule)({name:"no-base-to-string",meta:{type:"suggestion",docs:{description:"Require `.toString()` and `.toLocaleString()` to only be called on objects which provide useful information when stringified",recommended:"recommended",requiresTypeChecking:!0},messages:{baseArrayJoin:"Using `join()` for {{name}} {{certainty}} use Object's default stringification format ('[object Object]') when stringified.",baseToString:"'{{name}}' {{certainty}} use Object's default stringification format ('[object Object]') when stringified."},schema:[{type:"object",additionalProperties:!1,properties:{checkUnknown:{type:"boolean",description:"Whether to also check values of type `unknown`"},ignoredTypeNames:{type:"array",description:"Stringified type names to ignore.",items:{type:"string"}}}}]},defaultOptions:[{checkUnknown:!1,ignoredTypeNames:["Error","RegExp","URL","URLSearchParams"]}],create(e,[t]){let r=(0,qTe.getParserServices)(e),{program:n}=r,i=n.getTypeChecker(),s=t.ignoredTypeNames??[];function a(E,b){if(E.type===_yt.AST_NODE_TYPES.Literal)return;let D=h(b??r.getTypeAtLocation(E),new Set);D!==JI.Always&&e.report({node:E,messageId:"baseToString",data:{name:e.sourceCode.getText(E),certainty:D}})}function u(E,b){let D=A(b,new Set);D!==JI.Always&&e.report({node:E,messageId:"baseArrayJoin",data:{name:e.sourceCode.getText(E),certainty:D}})}function l(E,b){let D=E.types.map(k=>b(k));return D.every(k=>k===JI.Never)?JI.Never:D.every(k=>k===JI.Always)?JI.Always:JI.Sometimes}function f(E,b){for(let D of E.types)if(b(D)===JI.Always)return JI.Always;return JI.Never}function p(E,b){let k=i.getTypeArguments(E).map(M=>h(M,b));return k.some(M=>M===JI.Never)?JI.Never:k.some(M=>M===JI.Sometimes)?JI.Sometimes:JI.Always}function g(E,b){let D=(0,qTe.nullThrows)(E.getNumberIndexType(),"array should have number index type");return h(D,b)}function A(E,b){return khn.isUnionType(E)?l(E,D=>A(D,b)):khn.isIntersectionType(E)?f(E,D=>A(D,b)):i.isTupleType(E)?p(E,b):i.isArrayType(E)?g(E,b):JI.Always}function h(E,b){if(b.has(E))return JI.Always;if(khn.isTypeParameter(E)){let K=E.getConstraint();return K?h(K,b):t.checkUnknown?JI.Sometimes:JI.Always}if(E.flags&M5e.TypeFlags.Boolean||E.flags&M5e.TypeFlags.BooleanLiteral)return JI.Always;let D=E.aliasSymbol??E.getSymbol(),k=D?.getDeclarations()?.[0];if(k&&oDf(k)&&k.typeParameters&&s.includes(D.name)||(0,qTe.matchesTypeOrBaseType)(r,K=>s.includes((0,qTe.getTypeName)(i,K)),E))return JI.Always;if(E.isIntersection())return f(E,K=>h(K,b));if(E.isUnion())return l(E,K=>h(K,b));if(i.isTupleType(E))return p(E,new Set([...b,E]));if(i.isArrayType(E))return g(E,new Set([...b,E]));let M=i.getPropertyOfType(E,"toString")??i.getPropertyOfType(E,"toLocaleString");if(!M)return t.checkUnknown&&E.flags===M5e.TypeFlags.Unknown?JI.Sometimes:JI.Always;let R=M.getDeclarations();if(R==null||R.length!==1)return JI.Always;let q=R[0];return M5e.isInterfaceDeclaration(q.parent)&&q.parent.name.text==="Object"?JI.Never:JI.Always}function _(E){return E.callee.type===_yt.AST_NODE_TYPES.Identifier&&E.callee.name==="String"&&E.arguments[0]?!e.sourceCode.getScope(E).set.get("String")?.defs.length:!1}return{'AssignmentExpression[operator = "+="], BinaryExpression[operator = "+"]'(E){let b=r.getTypeAtLocation(E.left),D=r.getTypeAtLocation(E.right);(0,qTe.getTypeName)(i,b)==="string"?a(E.right,D):(0,qTe.getTypeName)(i,D)==="string"&&E.left.type!==_yt.AST_NODE_TYPES.PrivateIdentifier&&a(E.left,b)},CallExpression(E){_(E)&&E.arguments[0].type!==_yt.AST_NODE_TYPES.SpreadElement&&a(E.arguments[0])},'CallExpression > MemberExpression.callee > Identifier[name = "join"].property'(E){let b=E.parent,D=(0,qTe.getConstrainedTypeAtLocation)(r,b.object);u(b.object,D)},"CallExpression > MemberExpression.callee > Identifier[name = /^(toLocaleString|toString)$/].property"(E){let b=E.parent;a(b.object)},TemplateLiteral(E){if(E.parent.type!==_yt.AST_NODE_TYPES.TaggedTemplateExpression)for(let b of E.expressions)a(b)}}}})});var P$s=j(Phn=>{"use strict";Object.defineProperty(Phn,"__esModule",{value:!0});var B$s=Vo(),uDf=el(),lDf=new Set(["=","==","===","in","instanceof"]);function cDf(e){return lDf.has(e)}Phn.default=(0,uDf.createRule)({name:"no-confusing-non-null-assertion",meta:{type:"problem",docs:{description:"Disallow non-null assertion in locations that may be confusing",recommended:"stylistic"},hasSuggestions:!0,messages:{confusingAssign:"Confusing combination of non-null assertion and assignment like `a! = b`, which looks very similar to `a != b`.",confusingEqual:"Confusing combination of non-null assertion and equality test like `a! == b`, which looks very similar to `a !== b`.",confusingOperator:"Confusing combination of non-null assertion and `{{operator}}` operator like `a! {{operator}} b`, which might be misinterpreted as `!(a {{operator}} b)`.",notNeedInAssign:"Remove unnecessary non-null assertion (!) in assignment left-hand side.",notNeedInEqualTest:"Remove unnecessary non-null assertion (!) in equality test.",notNeedInOperator:"Remove possibly unnecessary non-null assertion (!) in the left operand of the `{{operator}}` operator.",wrapUpLeft:'Wrap the left-hand side in parentheses to avoid confusion with "{{operator}}" operator.'},schema:[]},defaultOptions:[],create(e){function t(r){switch(r){case"=":return{messageId:"confusingAssign"};case"==":case"===":return{messageId:"confusingEqual"};case"in":case"instanceof":return{messageId:"confusingOperator",data:{operator:r}};default:throw new Error(`Unexpected operator ${r}`)}}return{"BinaryExpression, AssignmentExpression"(r){let n=r.operator;if(cDf(n)){let i=e.sourceCode.getLastToken(r.left),s=e.sourceCode.getTokenAfter(r.left);if(i?.type===B$s.AST_TOKEN_TYPES.Punctuator&&i.value==="!"&&s?.value!==")")if(r.left.type===B$s.AST_NODE_TYPES.TSNonNullExpression){let a;switch(n){case"=":a=[{messageId:"notNeedInAssign",fix:u=>u.remove(i)}];break;case"==":case"===":a=[{messageId:"notNeedInEqualTest",fix:u=>u.remove(i)}];break;case"in":case"instanceof":a=[{messageId:"notNeedInOperator",data:{operator:n},fix:u=>u.remove(i)},{messageId:"wrapUpLeft",data:{operator:n},fix:k$s(r)}];break;default:return}e.report({node:r,...t(n),suggest:a})}else e.report({node:r,...t(n),suggest:[{messageId:"wrapUpLeft",data:{operator:n},fix:k$s(r)}]})}}}}});function k$s(e){return t=>[t.insertTextBefore(e.left,"("),t.insertTextAfter(e.left,")")]}});var Rhn=j(Ohn=>{"use strict";Object.defineProperty(Ohn,"__esModule",{value:!0});Ohn.getParentFunctionNode=fDf;var Nhn=Vo();function fDf(e){let t=e.parent;for(;t;){if(t.type===Nhn.AST_NODE_TYPES.ArrowFunctionExpression||t.type===Nhn.AST_NODE_TYPES.FunctionDeclaration||t.type===Nhn.AST_NODE_TYPES.FunctionExpression)return t;t=t.parent}return null}});var O$s=j(n_e=>{"use strict";var pDf=n_e&&n_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),dDf=n_e&&n_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),N$s=n_e&&n_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i` arrow functions: those without `{ ... }` braces.'},ignoreVoidOperator:{type:"boolean",description:"Whether to ignore returns that start with the `void` operator."},ignoreVoidReturningFunctions:{type:"boolean",description:"Whether to ignore returns from functions with explicit `void` return types and functions with contextual `void` return types."}}}]},defaultOptions:[{ignoreArrowShorthand:!1,ignoreVoidOperator:!1,ignoreVoidReturningFunctions:!1}],create(e,[t]){let r=(0,ZK.getParserServices)(e),n=r.program.getTypeChecker();return{"AwaitExpression, CallExpression, TaggedTemplateExpression"(p){let g=(0,ZK.getConstrainedTypeAtLocation)(r,p);if(!YTe.isTypeFlagSet(g,Fhn.TypeFlags.VoidLike))return;let A=i(p);if(A==null)return;let h=_=>{let b=`void ${e.sourceCode.getText(p)}`;return _.replaceText(p,b)};if(A.type===ej.AST_NODE_TYPES.ArrowFunctionExpression){if(t.ignoreVoidReturningFunctions&&f(A))return;if(t.ignoreVoidOperator)return e.report({node:p,messageId:"invalidVoidExprArrowWrapVoid",fix:h});let _=A;return e.report({node:p,messageId:"invalidVoidExprArrow",fix(E){if(!u(_))return null;let b=_.body,k=`{ ${e.sourceCode.getText(b)}; }`;if((0,ZK.isParenthesized)(b,e.sourceCode)){let M=(0,ZK.nullThrows)(e.sourceCode.getTokenBefore(b,ZK.isOpeningParenToken),ZK.NullThrowsReasons.MissingToken("opening parenthesis","arrow body")),R=(0,ZK.nullThrows)(e.sourceCode.getTokenAfter(b,ZK.isClosingParenToken),ZK.NullThrowsReasons.MissingToken("closing parenthesis","arrow body"));return E.replaceTextRange([M.range[0],R.range[1]],k)}return E.replaceText(b,k)}})}if(A.type===ej.AST_NODE_TYPES.ReturnStatement){if(t.ignoreVoidReturningFunctions){let _=(0,mDf.getParentFunctionNode)(A);if(_&&f(_))return}return t.ignoreVoidOperator?e.report({node:p,messageId:"invalidVoidExprReturnWrapVoid",fix:h}):s(A)?e.report({node:p,messageId:"invalidVoidExprReturnLast",fix(_){if(!u(A))return null;let E=A.argument,D=`${e.sourceCode.getText(E)};`;return a(E)&&(D=`;${D}`),_.replaceText(A,D)}}):e.report({node:p,messageId:"invalidVoidExprReturn",fix(_){let E=A.argument,D=`${e.sourceCode.getText(E)}; return;`;return a(E)&&(D=`;${D}`),A.parent.type!==ej.AST_NODE_TYPES.BlockStatement&&(D=`{ ${D} }`),_.replaceText(A,D)}})}if(t.ignoreVoidOperator)return e.report({node:p,messageId:"invalidVoidExprWrapVoid",suggest:[{messageId:"voidExprWrapVoid",fix:h}]});e.report({node:p,messageId:"invalidVoidExpr"})}};function i(p){let g=p.parent;return g.type===ej.AST_NODE_TYPES.SequenceExpression&&p!==g.expressions[g.expressions.length-1]||g.type===ej.AST_NODE_TYPES.ExpressionStatement?null:g.type===ej.AST_NODE_TYPES.LogicalExpression&&g.right===p||g.type===ej.AST_NODE_TYPES.ConditionalExpression&&(g.consequent===p||g.alternate===p)?i(g):g.type===ej.AST_NODE_TYPES.ArrowFunctionExpression&&t.ignoreArrowShorthand||g.type===ej.AST_NODE_TYPES.UnaryExpression&&g.operator==="void"&&t.ignoreVoidOperator?null:g.type===ej.AST_NODE_TYPES.ChainExpression?i(g):g}function s(p){let g=p.parent;if(g.type!==ej.AST_NODE_TYPES.BlockStatement)return!1;let A=g.parent;return!(![ej.AST_NODE_TYPES.ArrowFunctionExpression,ej.AST_NODE_TYPES.FunctionDeclaration,ej.AST_NODE_TYPES.FunctionExpression].includes(A.type)||g.body.indexOf(p){let h=A.getReturnType();return YTe.unionConstituents(h).some(YTe.isIntrinsicVoidType)})}function f(p){let g=r.esTreeNodeToTSNodeMap.get(p);if(g.type){let A=n.getTypeFromTypeNode(g.type);return YTe.unionConstituents(A).some(YTe.isIntrinsicVoidType)}if(Fhn.isExpression(g)){let A=n.getContextualType(g);if(A)return YTe.unionConstituents(A).some(l)}return!1}}})});var F$s=j(i_e=>{"use strict";var gDf=i_e&&i_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),ADf=i_e&&i_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),R$s=i_e&&i_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iq.name==="deprecated");if(!M)return;let R=M.text;return R?Q5e.displayPartsToString(R):""}function p(D){switch(D.parent?.type){case e0.AST_NODE_TYPES.NewExpression:case e0.AST_NODE_TYPES.CallExpression:return D.parent.callee===D;case e0.AST_NODE_TYPES.TaggedTemplateExpression:return D.parent.tag===D;case e0.AST_NODE_TYPES.JSXOpeningElement:return D.parent.name===D;default:return!1}}function g(D){let k=D;for(;k.parent?.type===e0.AST_NODE_TYPES.MemberExpression&&k.parent.property===k;)k=k.parent;return p(k)?k:void 0}function A(D){let k=i.esTreeNodeToTSNodeMap.get(D.parent),M=(0,GTe.nullThrows)(s.getResolvedSignature(k),"Expected call like node to have signature"),R=i.getSymbolAtLocation(D),q=R!=null&&Lhn.isSymbolFlagSet(R,Q5e.SymbolFlags.Alias)?s.getAliasedSymbol(R):R,G=q?.declarations?.[0].kind;return G!==Q5e.SyntaxKind.MethodDeclaration&&G!==Q5e.SyntaxKind.FunctionDeclaration&&G!==Q5e.SyntaxKind.MethodSignature?a(R,!0)??f(M)??f(q):a(R,!1)??f(M)}function h(D,k){let M=i.esTreeNodeToTSNodeMap.get(D.name),q=(0,GTe.nullThrows)(s.getContextualType(M),"Expected JSX opening element name to have contextualType").getProperty(k);return f(q)}function _(D){let k=g(D);if(k)return A(k);if(D.parent.type===e0.AST_NODE_TYPES.JSXAttribute&&D.type!==e0.AST_NODE_TYPES.Super)return h(D.parent.parent,D.name);if(D.parent.type===e0.AST_NODE_TYPES.Property&&D.type!==e0.AST_NODE_TYPES.Super){let M=i.getTypeAtLocation(D.parent.parent).getProperty(D.name),R=i.getSymbolAtLocation(D),q=s.getShorthandAssignmentValueSymbol(R?.valueDeclaration);return a(R,!0)??f(M)??f(R)??f(q)}return a(i.getSymbolAtLocation(D),!0)}function E(D){if(u(D)||l(D))return;let k=_(D);if(k==null)return;let M=i.getTypeAtLocation(D);if((0,GTe.typeMatchesSomeSpecifier)(M,n,i.program)||(0,GTe.valueMatchesSomeSpecifier)(D,n,i.program,M))return;let R=hDf(D);e.report({...k?{messageId:"deprecatedWithReason",data:{name:R,reason:k}}:{messageId:"deprecated",data:{name:R}},node:D})}function b(D){if(!D.computed)return;let k=i.getTypeAtLocation(D.property);if(k.isLiteral()){let M=i.getTypeAtLocation(D.object),R=k.isStringLiteral()?k.value:String(k.value),q=M.getProperty(R),G=f(q);if(G==null||(0,GTe.typeMatchesSomeSpecifier)(M,n,i.program))return;e.report({...G?{messageId:"deprecatedWithReason",data:{name:R,reason:G}}:{messageId:"deprecated",data:{name:R}},node:D.property})}}return{Identifier(D){let{parent:k}=D;if(!(k.type===e0.AST_NODE_TYPES.ExportNamedDeclaration||k.type===e0.AST_NODE_TYPES.ExportAllDeclaration)&&!(k.type===e0.AST_NODE_TYPES.MemberExpression&&k.computed&&k.property===D)){if(k.type===e0.AST_NODE_TYPES.ExportSpecifier){if(k.exported!==D)return;let M=i.getSymbolAtLocation(D);if(f(M)!=null)return}E(D)}},JSXIdentifier(D){D.parent.type!==e0.AST_NODE_TYPES.JSXClosingElement&&E(D)},MemberExpression:b,PrivateIdentifier:E,Super:E}}});function hDf(e){return e.type===e0.AST_NODE_TYPES.Super?"super":e.type===e0.AST_NODE_TYPES.PrivateIdentifier?`#${e.name}`:e.name}});var L$s=j(Mhn=>{"use strict";Object.defineProperty(Mhn,"__esModule",{value:!0});var yDf=Vo(),_Df=el(),EDf=XQ(),fer=(0,EDf.getESLintCoreRule)("no-dupe-class-members");Mhn.default=(0,_Df.createRule)({name:"no-dupe-class-members",meta:{type:"problem",docs:{description:"Disallow duplicate class members",extendsBaseRule:!0},hasSuggestions:fer.meta.hasSuggestions,messages:fer.meta.messages,schema:fer.meta.schema},defaultOptions:[],create(e){let t=fer.create(e);function r(n){return i=>{if(!i.computed&&!(i.value&&i.value.type===yDf.AST_NODE_TYPES.TSEmptyBodyFunctionExpression))return n(i)}}return{...t,"MethodDefinition, PropertyDefinition":r(t["MethodDefinition, PropertyDefinition"])}}})});var M$s=j(Qhn=>{"use strict";Object.defineProperty(Qhn,"__esModule",{value:!0});var per=Vo(),xDf=el();Qhn.default=(0,xDf.createRule)({name:"no-duplicate-enum-values",meta:{type:"problem",docs:{description:"Disallow duplicate enum member values",recommended:"recommended"},hasSuggestions:!1,messages:{duplicateValue:"Duplicate enum member value {{value}}."},schema:[]},defaultOptions:[],create(e){function t(a){return a.type===per.AST_NODE_TYPES.Literal&&typeof a.value=="string"}function r(a){return a.type===per.AST_NODE_TYPES.Literal&&typeof a.value=="number"}function n(a){return a.type===per.AST_NODE_TYPES.UnaryExpression&&["-","+"].includes(a.operator)}function i(a){return a.type===per.AST_NODE_TYPES.TemplateLiteral&&a.expressions.length===0&&a.quasis.length===1}function s(a){switch(!0){case t(a):case r(a):return a.value;case n(a):{let u=Number(s(a.argument));return Number.isNaN(u)?void 0:a.operator==="-"?-u:u}case i(a):return a.quasis[0].value.cooked;default:return}}return{TSEnumDeclaration(a){let u=a.body.members,l=[];u.forEach(f=>{if(f.initializer==null)return;let p=s(f.initializer);if(p==null)return;l.some(A=>Object.is(A,p))?e.report({node:f,messageId:"duplicateValue",data:{value:p}}):l.push(p)})}}}})});var q$s=j(s_e=>{"use strict";var vDf=s_e&&s_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),CDf=s_e&&s_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),U$s=s_e&&s_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{if(e===t)return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(Array.isArray(e)&&Array.isArray(t))return e.length!==t.length?!1:!e.some((i,s)=>!jhn(i,t[s]));let r=Object.keys(e).filter(i=>!j$s.has(i)),n=Object.keys(t).filter(i=>!j$s.has(i));return!(r.length!==n.length||r.some(i=>!Object.hasOwn(t,i))||r.some(i=>!jhn(e[i],t[i])))}return!1};s_e.default=(0,Eyt.createRule)({name:"no-duplicate-type-constituents",meta:{type:"suggestion",docs:{description:"Disallow duplicate constituents of union or intersection types",recommended:"recommended",requiresTypeChecking:!0},fixable:"code",messages:{duplicate:"{{type}} type constituent is duplicated with {{previous}}.",unnecessary:"Explicit undefined is unnecessary on an optional parameter."},schema:[{type:"object",additionalProperties:!1,properties:{ignoreIntersections:{type:"boolean",description:"Whether to ignore `&` intersections."},ignoreUnions:{type:"boolean",description:"Whether to ignore `|` unions."}}}]},defaultOptions:[{ignoreIntersections:!1,ignoreUnions:!1}],create(e,[{ignoreIntersections:t,ignoreUnions:r}]){let n=(0,Eyt.getParserServices)(e),{sourceCode:i}=e;function s(l,f,p){let g=(b,D)=>i[`getTokens${b}`](f,{filter:k=>["&","|"].includes(k.value)&&f.parent.range[0]<=k.range[0]&&k.range[1]<=f.parent.range[1]}).at(D),A=g("Before",-1),h,_,E;A?(_=i.getTokensBetween(A,f),E=i.getTokensAfter(f,{count:_.length})):(h=(0,Eyt.nullThrows)(g("After",0),Eyt.NullThrowsReasons.MissingToken("union or intersection token","duplicate type constituent")),E=i.getTokensBetween(f,h),_=i.getTokensBefore(f,{count:E.length})),e.report({loc:{start:f.loc.start,end:(E.at(-1)??f).loc.end},node:f,messageId:l,data:p,fix:b=>[A,..._,f,...E,h].flatMap(D=>D?b.remove(D):[])})}function a(l,f,p,g,A){let h=n.getTypeAtLocation(f);if(Q$s.isIntrinsicErrorType(h))return;let _=p.find(E=>jhn(E,f))??g.get(h);if(_){s("duplicate",f,{type:l,previous:i.getText(_)});return}if(A?.(h,f),g.set(h,f),p.push(f),l==="Union"&&f.type===j5e.AST_NODE_TYPES.TSUnionType||l==="Intersection"&&f.type===j5e.AST_NODE_TYPES.TSIntersectionType)for(let E of f.types)a(l,E,p,g,A)}function u(l,f){let p=new Map,g=[],A=l.type===j5e.AST_NODE_TYPES.TSIntersectionType?"Intersection":"Union";for(let h of l.types)a(A,h,g,p,f)}return{...!t&&{TSIntersectionType(l){l.parent.type!==j5e.AST_NODE_TYPES.TSIntersectionType&&u(l)}},...!r&&{TSUnionType:l=>{l.parent.type!==j5e.AST_NODE_TYPES.TSUnionType&&u(l,(f,p)=>{let g=l.parent;if(g.type===j5e.AST_NODE_TYPES.TSTypeAnnotation){let A=g.parent;if(A.type===j5e.AST_NODE_TYPES.Identifier&&A.optional){let h=A.parent;(0,Eyt.isFunctionOrFunctionType)(h)&&h.params.includes(A)&&Q$s.isTypeFlagSet(f,bDf.TypeFlags.Undefined)&&s("unnecessary",p)}}})}}}}})});var Y$s=j(Uhn=>{"use strict";Object.defineProperty(Uhn,"__esModule",{value:!0});var vyt=Vo(),xyt=el();Uhn.default=(0,xyt.createRule)({name:"no-dynamic-delete",meta:{type:"suggestion",docs:{description:"Disallow using the `delete` operator on computed key expressions",recommended:"strict"},fixable:"code",messages:{dynamicDelete:"Do not delete dynamically computed property keys."},schema:[]},defaultOptions:[],create(e){function t(i){if(i.property.type===vyt.AST_NODE_TYPES.Literal&&typeof i.property.value=="string")return r(i.property,`.${i.property.value}`)}return{"UnaryExpression[operator=delete]"(i){i.argument.type!==vyt.AST_NODE_TYPES.MemberExpression||!i.argument.computed||IDf(i.argument.property)||e.report({node:i.argument.property,messageId:"dynamicDelete",fix:t(i.argument)})}};function r(i,s){return a=>a.replaceTextRange(n(i),s)}function n(i){return[(0,xyt.nullThrows)(e.sourceCode.getTokenBefore(i),xyt.NullThrowsReasons.MissingToken("token before","property")).range[0],(0,xyt.nullThrows)(e.sourceCode.getTokenAfter(i),xyt.NullThrowsReasons.MissingToken("token after","property")).range[1]]}}});function IDf(e){return e.type===vyt.AST_NODE_TYPES.Literal&&["number","string"].includes(typeof e.value)||e.type===vyt.AST_NODE_TYPES.UnaryExpression&&e.operator==="-"&&e.argument.type===vyt.AST_NODE_TYPES.Literal&&typeof e.argument.value=="number"}});var $$s=j(qhn=>{"use strict";Object.defineProperty(qhn,"__esModule",{value:!0});var der=Vo(),V$s=el(),SDf=XQ(),o$e=(0,SDf.getESLintCoreRule)("no-empty-function"),G$s=[{allow:[]}],TDf=(0,V$s.deepMerge)(Array.isArray(o$e.meta.schema)?o$e.meta.schema[0]:o$e.meta.schema,{properties:{allow:{description:"Locations and kinds of functions that are allowed to be empty.",items:{type:"string",enum:["functions","arrowFunctions","generatorFunctions","methods","generatorMethods","getters","setters","constructors","private-constructors","protected-constructors","asyncFunctions","asyncMethods","decoratedFunctions","overrideMethods"]}}}});qhn.default=(0,V$s.createRule)({name:"no-empty-function",meta:{type:"suggestion",defaultOptions:G$s,docs:{description:"Disallow empty functions",extendsBaseRule:!0,recommended:"stylistic"},hasSuggestions:o$e.meta.hasSuggestions,messages:o$e.meta.messages,schema:[TDf]},defaultOptions:G$s,create(e,[{allow:t=[]}]){let r=o$e.create(e),n=t.includes("protected-constructors"),i=t.includes("private-constructors"),s=t.includes("decoratedFunctions"),a=t.includes("overrideMethods");function u(A){return A.body.body.length===0}function l(A){return A.params.some(h=>h.type===der.AST_NODE_TYPES.TSParameterProperty)}function f(A){let h=A.parent;if(u(A)&&h.type===der.AST_NODE_TYPES.MethodDefinition&&h.kind==="constructor"){let{accessibility:_}=h;return _==="protected"&&n||_==="private"&&i||l(A)}return!1}function p(A){if(s&&u(A)){let h=A.parent.type===der.AST_NODE_TYPES.MethodDefinition?A.parent.decorators:void 0;return!!h&&!!h.length}return!1}function g(A){return a&&u(A)&&A.parent.type===der.AST_NODE_TYPES.MethodDefinition&&A.parent.override}return{...r,FunctionExpression(A){f(A)||p(A)||g(A)||r.FunctionExpression(A)}}}})});var J$s=j(Yhn=>{"use strict";Object.defineProperty(Yhn,"__esModule",{value:!0});var DDf=nL(),wDf=Vo(),K$s=el();Yhn.default=(0,K$s.createRule)({name:"no-empty-interface",meta:{type:"suggestion",deprecated:{deprecatedSince:"8.0.0",replacedBy:[{rule:{name:"@typescript-eslint/no-empty-object-type",url:"https://typescript-eslint.io/rules/no-empty-object-type"}}],url:"https://github.com/typescript-eslint/typescript-eslint/pull/8977"},docs:{description:"Disallow the declaration of empty interfaces"},fixable:"code",hasSuggestions:!0,messages:{noEmpty:"An empty interface is equivalent to `{}`.",noEmptyWithSuper:"An interface declaring no members is equivalent to its supertype."},replacedBy:["@typescript-eslint/no-empty-object-type"],schema:[{type:"object",additionalProperties:!1,properties:{allowSingleExtends:{type:"boolean",description:"Whether to allow empty interfaces that extend a single other interface."}}}]},defaultOptions:[{allowSingleExtends:!1}],create(e,[{allowSingleExtends:t}]){return{TSInterfaceDeclaration(r){if(r.body.body.length!==0)return;let n=r.extends;if(n.length===0)e.report({node:r.id,messageId:"noEmpty"});else if(n.length===1&&!t){let i=f=>{let p="";return r.typeParameters&&(p=e.sourceCode.getText(r.typeParameters)),f.replaceText(r,`type ${e.sourceCode.getText(r.id)}${p} = ${e.sourceCode.getText(n[0])}`)},s=e.sourceCode.getScope(r),a=s.set.get(r.id.name)?.defs.some(f=>f.node.type===wDf.AST_NODE_TYPES.ClassDeclaration),l=!((0,K$s.isDefinitionFile)(e.filename)&&s.type===DDf.ScopeType.tsModule&&s.block.declare||a);e.report({node:r.id,messageId:"noEmptyWithSuper",...l?{fix:i}:a?null:{suggest:[{messageId:"noEmptyWithSuper",fix:i}]}})}}}}})});var z$s=j(Vhn=>{"use strict";Object.defineProperty(Vhn,"__esModule",{value:!0});var Ghn=Vo(),BDf=el(),H$s=e=>[`${e} allows any non-nullish value, including literals like \`0\` and \`""\`.`,"- If that's what you want, disable this lint rule with an inline comment or configure the '{{ option }}' rule option.",'- If you want a type meaning "any object", you probably want `object` instead.','- If you want a type meaning "any value", you probably want `unknown` instead.'].join(` `);Vhn.default=(0,BDf.createRule)({name:"no-empty-object-type",meta:{type:"suggestion",docs:{description:'Disallow accidentally using the "empty object" type',recommended:"recommended"},hasSuggestions:!0,messages:{noEmptyInterface:H$s("An empty interface declaration"),noEmptyInterfaceWithSuper:"An interface declaring no members is equivalent to its supertype.",noEmptyObject:H$s('The `{}` ("empty object") type'),replaceEmptyInterface:"Replace empty interface with `{{replacement}}`.",replaceEmptyInterfaceWithSuper:"Replace empty interface with a type alias.",replaceEmptyObjectType:"Replace `{}` with `{{replacement}}`."},schema:[{type:"object",additionalProperties:!1,properties:{allowInterfaces:{type:"string",description:"Whether to allow empty interfaces.",enum:["always","never","with-single-extends"]},allowObjectTypes:{type:"string",description:"Whether to allow empty object type literals.",enum:["always","never"]},allowWithName:{type:"string",description:"A stringified regular expression to allow interfaces and object type aliases with the configured name."}}}]},defaultOptions:[{allowInterfaces:"never",allowObjectTypes:"never"}],create(e,[{allowInterfaces:t,allowObjectTypes:r,allowWithName:n}]){let i=n?new RegExp(n,"u"):void 0;return{...t!=="always"&&{TSInterfaceDeclaration(s){if(i?.test(s.id.name))return;let a=s.extends;if(s.body.body.length!==0||a.length===1&&t==="with-single-extends"||a.length>1)return;let l=e.sourceCode.getScope(s).set.get(s.id.name)?.defs.some(f=>f.node.type===Ghn.AST_NODE_TYPES.ClassDeclaration);if(a.length===0){e.report({node:s.id,messageId:"noEmptyInterface",data:{option:"allowInterfaces"},...!l&&{suggest:["object","unknown"].map(f=>({messageId:"replaceEmptyInterface",data:{replacement:f},fix(p){let g=e.sourceCode.getText(s.id),A=s.typeParameters?e.sourceCode.getText(s.typeParameters):"";return p.replaceText(s,`type ${g}${A} = ${f}`)}}))}});return}e.report({node:s.id,messageId:"noEmptyInterfaceWithSuper",...!l&&{suggest:[{messageId:"replaceEmptyInterfaceWithSuper",fix(f){let p=e.sourceCode.getText(a[0]),g=e.sourceCode.getText(s.id),A=s.typeParameters?e.sourceCode.getText(s.typeParameters):"";return f.replaceText(s,`type ${g}${A} = ${p}`)}}]}})}},...r!=="always"&&{TSTypeLiteral(s){s.members.length||s.parent.type===Ghn.AST_NODE_TYPES.TSIntersectionType||i&&s.parent.type===Ghn.AST_NODE_TYPES.TSTypeAliasDeclaration&&i.test(s.parent.id.name)||e.report({node:s,messageId:"noEmptyObject",data:{option:"allowObjectTypes"},suggest:["object","unknown"].map(a=>({messageId:"replaceEmptyObjectType",data:{replacement:a},fix:u=>u.replaceText(s,a)}))})}}}}})});var W$s=j($hn=>{"use strict";Object.defineProperty($hn,"__esModule",{value:!0});var tj=Vo(),kDf=el();$hn.default=(0,kDf.createRule)({name:"no-explicit-any",meta:{type:"suggestion",docs:{description:"Disallow the `any` type",recommended:"recommended"},fixable:"code",hasSuggestions:!0,messages:{suggestNever:"Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of.",suggestPropertyKey:"Use `PropertyKey` instead, this is more explicit than `keyof any`.",suggestUnknown:"Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct.",unexpectedAny:"Unexpected any. Specify a different type."},schema:[{type:"object",additionalProperties:!1,properties:{fixToUnknown:{type:"boolean",description:"Whether to enable auto-fixing in which the `any` type is converted to the `unknown` type."},ignoreRestArgs:{type:"boolean",description:"Whether to ignore rest parameter arrays."}}}]},defaultOptions:[{fixToUnknown:!1,ignoreRestArgs:!1}],create(e,[{fixToUnknown:t,ignoreRestArgs:r}]){function n(h){return[tj.AST_NODE_TYPES.ArrowFunctionExpression,tj.AST_NODE_TYPES.FunctionDeclaration,tj.AST_NODE_TYPES.FunctionExpression,tj.AST_NODE_TYPES.TSCallSignatureDeclaration,tj.AST_NODE_TYPES.TSConstructorType,tj.AST_NODE_TYPES.TSConstructSignatureDeclaration,tj.AST_NODE_TYPES.TSDeclareFunction,tj.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,tj.AST_NODE_TYPES.TSFunctionType,tj.AST_NODE_TYPES.TSMethodSignature].includes(h.type)}function i(h){return h.type===tj.AST_NODE_TYPES.RestElement&&n(h.parent)}function s(h){return h.type===tj.AST_NODE_TYPES.TSTypeOperator&&h.operator==="readonly"}function a(h){return h.type===tj.AST_NODE_TYPES.TSTypeReference&&h.typeName.type===tj.AST_NODE_TYPES.Identifier&&["Array","ReadonlyArray"].includes(h.typeName.name)}function u(h){return s(h)||a(h)}function l(h){return h.parent?.parent?.parent!=null&&i(h.parent.parent.parent)}function f(h){return h.parent?.parent?.parent?.parent!=null&&u(h.parent.parent)&&i(h.parent.parent.parent.parent)}function p(h){return l(h)||f(h)}function g(h){return h.parent.type===tj.AST_NODE_TYPES.TSTypeOperator&&h.parent.operator==="keyof"}function A(h){return _=>_.replaceText(h.parent,"PropertyKey")}return{TSAnyKeyword(h){let _=g(h);if(r&&p(h))return;let E={fix:null,suggest:_?[{messageId:"suggestPropertyKey",fix:A(h)}]:[{messageId:"suggestUnknown",fix:b=>b.replaceText(h,"unknown")},{messageId:"suggestNever",fix:b=>b.replaceText(h,"never")}]};t&&(E.fix=_?A(h):b=>b.replaceText(h,"unknown")),e.report({node:h,messageId:"unexpectedAny",...E})}}}})});var X$s=j(Khn=>{"use strict";Object.defineProperty(Khn,"__esModule",{value:!0});var PDf=el();Khn.default=(0,PDf.createRule)({name:"no-extra-non-null-assertion",meta:{type:"problem",docs:{description:"Disallow extra non-null assertions",recommended:"recommended"},fixable:"code",messages:{noExtraNonNullAssertion:"Forbidden extra non-null assertion."},schema:[]},defaultOptions:[],create(e){function t(r){e.report({node:r,messageId:"noExtraNonNullAssertion",fix(n){return n.removeRange([r.range[1]-1,r.range[1]])}})}return{"CallExpression[optional = true] > TSNonNullExpression.callee":t,"MemberExpression[optional = true] > TSNonNullExpression.object":t,"TSNonNullExpression > TSNonNullExpression":t}}})});var Z$s=j(Jhn=>{"use strict";Object.defineProperty(Jhn,"__esModule",{value:!0});var a_e=Vo(),NDf=el();Jhn.default=(0,NDf.createRule)({name:"no-extraneous-class",meta:{type:"suggestion",docs:{description:"Disallow classes used as namespaces",recommended:"strict"},messages:{empty:"Unexpected empty class.",onlyConstructor:"Unexpected class with only a constructor.",onlyStatic:"Unexpected class with only static properties."},schema:[{type:"object",additionalProperties:!1,properties:{allowConstructorOnly:{type:"boolean",description:"Whether to allow extraneous classes that contain only a constructor."},allowEmpty:{type:"boolean",description:"Whether to allow extraneous classes that have no body (i.e. are empty)."},allowStaticOnly:{type:"boolean",description:"Whether to allow extraneous classes that only contain static members."},allowWithDecorator:{type:"boolean",description:"Whether to allow extraneous classes that include a decorator."}}}]},defaultOptions:[{allowConstructorOnly:!1,allowEmpty:!1,allowStaticOnly:!1,allowWithDecorator:!1}],create(e,[{allowConstructorOnly:t,allowEmpty:r,allowStaticOnly:n,allowWithDecorator:i}]){let s=a=>!!(i&&a?.decorators&&a.decorators.length!==0);return{ClassBody(a){let u=a.parent;if(u.superClass||s(u))return;let l=u.type===a_e.AST_NODE_TYPES.ClassDeclaration&&u.id?u.id:u;if(a.body.length===0){if(r)return;e.report({node:l,messageId:"empty"});return}let f=!0,p=!0;for(let g of a.body)if(g.type===a_e.AST_NODE_TYPES.MethodDefinition&&g.kind==="constructor"?g.value.params.some(A=>A.type===a_e.AST_NODE_TYPES.TSParameterProperty)&&(p=!1,f=!1):(p=!1,((g.type===a_e.AST_NODE_TYPES.PropertyDefinition||g.type===a_e.AST_NODE_TYPES.MethodDefinition||g.type===a_e.AST_NODE_TYPES.AccessorProperty)&&!g.static||g.type===a_e.AST_NODE_TYPES.TSAbstractPropertyDefinition||g.type===a_e.AST_NODE_TYPES.TSAbstractMethodDefinition||g.type===a_e.AST_NODE_TYPES.TSAbstractAccessorProperty)&&(f=!1)),!(f||p))break;if(p){t||e.report({node:l,messageId:"onlyConstructor"});return}f&&!n&&e.report({node:l,messageId:"onlyStatic"})}}}})});var mer=j(Cyt=>{"use strict";Object.defineProperty(Cyt,"__esModule",{value:!0});Cyt.parseThenCall=ODf;Cyt.parseCatchCall=RDf;Cyt.parseFinallyCall=FDf;var U5e=Vo(),Hhn=XVe();function ODf(e,t){if(e.callee.type===U5e.AST_NODE_TYPES.MemberExpression&&(0,Hhn.getStaticMemberAccessValue)(e.callee,t)==="then")return e.arguments.length>=1?e.arguments[0].type===U5e.AST_NODE_TYPES.SpreadElement?{object:e.callee.object}:e.arguments.length>=2?e.arguments[1].type===U5e.AST_NODE_TYPES.SpreadElement?{object:e.callee.object,onFulfilled:e.arguments[0]}:{object:e.callee.object,onFulfilled:e.arguments[0],onRejected:e.arguments[1]}:{object:e.callee.object,onFulfilled:e.arguments[0]}:{object:e.callee.object}}function RDf(e,t){if(e.callee.type===U5e.AST_NODE_TYPES.MemberExpression&&(0,Hhn.getStaticMemberAccessValue)(e.callee,t)==="catch")return e.arguments.length>=1?e.arguments[0].type===U5e.AST_NODE_TYPES.SpreadElement?{object:e.callee.object}:{object:e.callee.object,onRejected:e.arguments[0]}:{object:e.callee.object}}function FDf(e,t){if(e.callee.type===U5e.AST_NODE_TYPES.MemberExpression&&(0,Hhn.getStaticMemberAccessValue)(e.callee,t)==="finally")return e.arguments.length>=1?e.arguments[0].type===U5e.AST_NODE_TYPES.SpreadElement?{object:e.callee.object}:{object:e.callee.object,onFinally:e.arguments[0]}:{object:e.callee.object}}});var iKs=j(o_e=>{"use strict";var LDf=o_e&&o_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),MDf=o_e&&o_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),QDf=o_e&&o_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iGO.OperatorPrecedence.Unary?M.insertTextBefore(_,"void "):[M.insertTextBefore(_,"void ("),M.insertTextAfterRange([E.range[1],E.range[1]],")")]}},{messageId:"floatingFixAwait",fix:M=>u(M,E,_)}]}):e.report({node:_,messageId:D?"floatingUselessRejectionHandler":"floating",suggest:[{messageId:"floatingFixAwait",fix:M=>u(M,E,_)}]}))}};function u(_,E,b){return E.type===AZ.AST_NODE_TYPES.UnaryExpression&&E.operator==="void"?_.replaceTextRange([E.range[0],E.range[0]+4],"await"):(0,GO.isParenthesized)(E,e.sourceCode)||(0,GO.getOperatorPrecedenceForNode)(E)>GO.OperatorPrecedence.Unary?_.insertTextBefore(b,"await "):[_.insertTextBefore(b,"await ("),_.insertTextAfterRange([E.range[1],E.range[1]],")")]}function l(_){if(_.type!==AZ.AST_NODE_TYPES.CallExpression)return!1;let E=r.getTypeAtLocation(_.callee);return(0,GO.valueMatchesSomeSpecifier)(_.callee,a,r.program,E)?!0:(0,GO.typeMatchesSomeSpecifier)(E,a,r.program)}function f(_){return _.expression.type!==AZ.AST_NODE_TYPES.CallExpression?!1:_.expression.callee.type===AZ.AST_NODE_TYPES.ArrowFunctionExpression||_.expression.callee.type===AZ.AST_NODE_TYPES.FunctionExpression}function p(_){return r.program.getTypeChecker().getTypeAtLocation(r.esTreeNodeToTSNodeMap.get(_)).getCallSignatures().length>0}function g(_,E){if(E.type===AZ.AST_NODE_TYPES.AssignmentExpression)return{isUnhandled:!1};if(E.type===AZ.AST_NODE_TYPES.SequenceExpression)return E.expressions.map(D=>g(_,D)).find(D=>D.isUnhandled)??{isUnhandled:!1};if(!t.ignoreVoid&&E.type===AZ.AST_NODE_TYPES.UnaryExpression&&E.operator==="void")return g(_,E.argument);let b=r.esTreeNodeToTSNodeMap.get(E);if(A(b))return{isUnhandled:!0,promiseArray:!0};if(E.type===AZ.AST_NODE_TYPES.AwaitExpression)return{isUnhandled:!1};if(!h(b))return{isUnhandled:!1};if(E.type===AZ.AST_NODE_TYPES.CallExpression){let D=(0,zhn.parseCatchCall)(E,e)??(0,zhn.parseThenCall)(E,e);if(D!=null){let M=D.onRejected;return M!=null?p(M)?{isUnhandled:!1}:{isUnhandled:!0,nonFunctionHandler:!0}:{isUnhandled:!0}}let k=(0,zhn.parseFinallyCall)(E,e);return k!=null?g(_,k.object):{isUnhandled:!0}}if(E.type===AZ.AST_NODE_TYPES.ConditionalExpression){let D=g(_,E.alternate);return D.isUnhandled?D:g(_,E.consequent)}if(E.type===AZ.AST_NODE_TYPES.LogicalExpression){let D=g(_,E.left);return D.isUnhandled?D:g(_,E.right)}return{isUnhandled:!0}}function A(_){let E=n.getTypeAtLocation(_);for(let b of ger.unionConstituents(E).map(D=>n.getApparentType(D))){if(n.isArrayType(b)){let D=n.getTypeArguments(b)[0];if(h(_,D))return!0}if(n.isTupleType(b)){for(let D of n.getTypeArguments(b))if(h(_,D))return!0}}return!1}function h(_,E){if(E??=n.getTypeAtLocation(_),(0,GO.typeMatchesSomeSpecifier)(E,s,r.program))return!1;let b=ger.unionConstituents(n.getApparentType(E));if(b.some(D=>(0,GO.isBuiltinSymbolLike)(r.program,D,"Promise")))return!0;if(!i)return!1;for(let D of b){let k=D.getProperty("then");if(k==null)continue;let M=n.getTypeOfSymbolAtLocation(k,_);if(qDf(M,R=>R.parameters.length>=2&&nKs(n,R.parameters[0],_)&&nKs(n,R.parameters[1],_)))return!0}return!1}}});function qDf(e,t){for(let r of ger.unionConstituents(e))if(r.getCallSignatures().some(t))return!0;return!1}function nKs(e,t,r){let n=e.getApparentType(e.getTypeOfSymbolAtLocation(t,r));for(let i of ger.unionConstituents(n))if(i.getCallSignatures().length!==0)return!0;return!1}});var oKs=j(u_e=>{"use strict";var YDf=u_e&&u_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),GDf=u_e&&u_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),sKs=u_e&&u_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ir.getNumberIndexType()!=null&&HDf(e,r))}function HDf(e,t){let r=t.getProperty("length");return r==null?!1:VDf.isTypeFlagSet(e.getTypeOfSymbol(r),$Df.TypeFlags.NumberLike)}function aKs(e,t){return e.isUnionOrIntersection()?e.types.some(r=>aKs(r,t)):t(e)}});var cKs=j(l_e=>{"use strict";var zDf=l_e&&l_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),WDf=l_e&&l_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),lKs=l_e&&l_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i0}function s(l){return l.type===eJ.AST_NODE_TYPES.MemberExpression?s(l.property):l.type===eJ.AST_NODE_TYPES.Identifier&&l.name==="bind"}function a(l){switch(l.type){case eJ.AST_NODE_TYPES.ArrowFunctionExpression:case eJ.AST_NODE_TYPES.FunctionDeclaration:case eJ.AST_NODE_TYPES.FunctionExpression:return!0;case eJ.AST_NODE_TYPES.Literal:case eJ.AST_NODE_TYPES.TemplateLiteral:return!1;case eJ.AST_NODE_TYPES.CallExpression:return s(l.callee)||i(l);default:return i(l)}}function u(l){let f=n(l.callee);if(f==null)return;if(f===uKs){let g=t.getTypeAtLocation(l.callee);if(g.getSymbol()){if((0,byt.isBuiltinSymbolLike)(t.program,g,"FunctionConstructor")){e.report({node:l,messageId:"noFunctionConstructor"});return}}else{e.report({node:l,messageId:"noFunctionConstructor"});return}}if(l.arguments.length===0)return;let[p]=l.arguments;ewf.has(f)&&!a(p)&&(0,byt.isReferenceToGlobalFunction)(f,l,e.sourceCode)&&e.report({node:p,messageId:"noImpliedEvalError"})}return{CallExpression:u,NewExpression:u}}})});var fKs=j(Zhn=>{"use strict";Object.defineProperty(Zhn,"__esModule",{value:!0});var twf=Vo(),q5e=el();Zhn.default=(0,q5e.createRule)({name:"no-import-type-side-effects",meta:{type:"problem",docs:{description:"Enforce the use of top-level import type qualifier when an import only has specifiers with inline type qualifiers"},fixable:"code",messages:{useTopLevelQualifier:"TypeScript will only remove the inline type specifiers which will leave behind a side effect import at runtime. Convert this to a top-level type qualifier to properly remove the entire import."},schema:[]},defaultOptions:[],create(e){return{'ImportDeclaration[importKind!="type"]'(t){if(t.specifiers.length===0)return;let r=[];for(let n of t.specifiers){if(n.type!==twf.AST_NODE_TYPES.ImportSpecifier||n.importKind!=="type")return;r.push(n)}e.report({node:t,messageId:"useTopLevelQualifier",fix(n){let i=[];for(let a of r){let u=(0,q5e.nullThrows)(e.sourceCode.getFirstToken(a,q5e.isTypeKeyword),q5e.NullThrowsReasons.MissingToken("type keyword","import specifier"));i.push(n.removeRange([u.range[0],a.imported.range[0]]))}let s=(0,q5e.nullThrows)(e.sourceCode.getFirstToken(t,q5e.isImportKeyword),q5e.NullThrowsReasons.MissingToken("import keyword","import"));return i.push(n.insertTextAfter(s," type")),i}})}}}})});var pKs=j(e0n=>{"use strict";Object.defineProperty(e0n,"__esModule",{value:!0});var DC=Vo(),Aer=el();e0n.default=(0,Aer.createRule)({name:"no-inferrable-types",meta:{type:"suggestion",docs:{description:"Disallow explicit type declarations for variables or parameters initialized to a number, string, or boolean",recommended:"stylistic"},fixable:"code",messages:{noInferrableType:"Type {{type}} trivially inferred from a {{type}} literal, remove type annotation."},schema:[{type:"object",additionalProperties:!1,properties:{ignoreParameters:{type:"boolean",description:"Whether to ignore function parameters."},ignoreProperties:{type:"boolean",description:"Whether to ignore class properties."}}}]},defaultOptions:[{ignoreParameters:!1,ignoreProperties:!1}],create(e,[{ignoreParameters:t,ignoreProperties:r}]){function n(h,_){let E=(0,Aer.skipChainExpression)(h);return E.type===DC.AST_NODE_TYPES.CallExpression&&E.callee.type===DC.AST_NODE_TYPES.Identifier&&E.callee.name===_}function i(h,_){return h.type===DC.AST_NODE_TYPES.Literal&&typeof h.value===_}function s(h,..._){return h.type===DC.AST_NODE_TYPES.Identifier&&_.includes(h.name)}function a(h,..._){return h.type===DC.AST_NODE_TYPES.UnaryExpression&&_.includes(h.operator)}let u={[DC.AST_NODE_TYPES.TSBigIntKeyword]:"bigint",[DC.AST_NODE_TYPES.TSBooleanKeyword]:"boolean",[DC.AST_NODE_TYPES.TSNullKeyword]:"null",[DC.AST_NODE_TYPES.TSNumberKeyword]:"number",[DC.AST_NODE_TYPES.TSStringKeyword]:"string",[DC.AST_NODE_TYPES.TSSymbolKeyword]:"symbol",[DC.AST_NODE_TYPES.TSUndefinedKeyword]:"undefined"};function l(h,_){switch(h.type){case DC.AST_NODE_TYPES.TSBigIntKeyword:{let E=a(_,"-")?_.argument:_;return n(E,"BigInt")||E.type===DC.AST_NODE_TYPES.Literal}case DC.AST_NODE_TYPES.TSBooleanKeyword:return a(_,"!")||n(_,"Boolean")||i(_,"boolean");case DC.AST_NODE_TYPES.TSNumberKeyword:{let E=a(_,"+","-")?_.argument:_;return s(E,"Infinity","NaN")||n(E,"Number")||i(E,"number")}case DC.AST_NODE_TYPES.TSNullKeyword:return _.type===DC.AST_NODE_TYPES.Literal&&_.value==null;case DC.AST_NODE_TYPES.TSStringKeyword:return n(_,"String")||i(_,"string")||_.type===DC.AST_NODE_TYPES.TemplateLiteral;case DC.AST_NODE_TYPES.TSSymbolKeyword:return n(_,"Symbol");case DC.AST_NODE_TYPES.TSTypeReference:{if(h.typeName.type===DC.AST_NODE_TYPES.Identifier&&h.typeName.name==="RegExp"){let E=_.type===DC.AST_NODE_TYPES.Literal&&_.value instanceof RegExp,b=_.type===DC.AST_NODE_TYPES.NewExpression&&_.callee.type===DC.AST_NODE_TYPES.Identifier&&_.callee.name==="RegExp",D=n(_,"RegExp");return E||D||b}return!1}case DC.AST_NODE_TYPES.TSUndefinedKeyword:return a(_,"void")||s(_,"undefined")}return!1}function f(h,_,E){if(!_||!E||!l(_.typeAnnotation,E))return;let b=_.typeAnnotation.type===DC.AST_NODE_TYPES.TSTypeReference?"RegExp":u[_.typeAnnotation.type];e.report({node:h,messageId:"noInferrableType",data:{type:b},*fix(D){(h.type===DC.AST_NODE_TYPES.AssignmentPattern&&h.left.optional||h.type===DC.AST_NODE_TYPES.PropertyDefinition&&h.definite)&&(yield D.remove((0,Aer.nullThrows)(e.sourceCode.getTokenBefore(_),Aer.NullThrowsReasons.MissingToken("token before","type node")))),yield D.remove(_)}})}function p(h){f(h,h.id.typeAnnotation,h.init)}function g(h){t||h.params.forEach(_=>{_.type===DC.AST_NODE_TYPES.TSParameterProperty&&(_=_.parameter),_.type===DC.AST_NODE_TYPES.AssignmentPattern&&f(_,_.left.typeAnnotation,_.right)})}function A(h){r||h.readonly||h.optional||f(h,h.typeAnnotation,h.value)}return{AccessorProperty:A,ArrowFunctionExpression:g,FunctionDeclaration:g,FunctionExpression:g,PropertyDefinition:A,VariableDeclarator:p}}})});var gKs=j(t0n=>{"use strict";Object.defineProperty(t0n,"__esModule",{value:!0});var dKs=Vo(),rwf=el(),nwf=XQ(),her=(0,nwf.getESLintCoreRule)("no-invalid-this"),mKs=[{capIsConstructor:!0}];t0n.default=(0,rwf.createRule)({name:"no-invalid-this",meta:{type:"suggestion",defaultOptions:mKs,docs:{description:"Disallow `this` keywords outside of classes or class-like objects",extendsBaseRule:!0},hasSuggestions:her.meta.hasSuggestions,messages:her.meta.messages,schema:her.meta.schema},defaultOptions:mKs,create(e){let t=her.create(e),r=[];return{...t,AccessorProperty(){r.push(!0)},"AccessorProperty:exit"(){r.pop()},FunctionDeclaration(n){r.push(n.params.some(i=>i.type===dKs.AST_NODE_TYPES.Identifier&&i.name==="this"))},"FunctionDeclaration:exit"(){r.pop()},FunctionExpression(n){r.push(n.params.some(i=>i.type===dKs.AST_NODE_TYPES.Identifier&&i.name==="this"))},"FunctionExpression:exit"(){r.pop()},PropertyDefinition(){r.push(!0)},"PropertyDefinition:exit"(){r.pop()},ThisExpression(n){r[r.length-1]||t.ThisExpression(n)}}}})});var yKs=j(r0n=>{"use strict";Object.defineProperty(r0n,"__esModule",{value:!0});var Rw=Vo(),AKs=el();r0n.default=(0,AKs.createRule)({name:"no-invalid-void-type",meta:{type:"problem",docs:{description:"Disallow `void` type outside of generic or return types",recommended:"strict"},messages:{invalidVoidForGeneric:"{{ generic }} may not have void as a type argument.",invalidVoidNotReturn:"void is only valid as a return type.",invalidVoidNotReturnOrGeneric:"void is only valid as a return type or generic type argument.",invalidVoidNotReturnOrThisParam:"void is only valid as return type or type of `this` parameter.",invalidVoidNotReturnOrThisParamOrGeneric:"void is only valid as a return type or generic type argument or the type of a `this` parameter.",invalidVoidUnionConstituent:"void is not valid as a constituent in a union type"},schema:[{type:"object",additionalProperties:!1,properties:{allowAsThisParameter:{type:"boolean",description:"Whether a `this` parameter of a function may be `void`."},allowInGenericTypeArguments:{description:"Whether `void` can be used as a valid value for generic type parameters.",oneOf:[{type:"boolean",description:"Whether `void` can be used as a valid value for all generic type parameters."},{type:"array",description:"Allowlist of types that may accept `void` as a generic type parameter.",items:{type:"string"},minItems:1}]}}}]},defaultOptions:[{allowAsThisParameter:!1,allowInGenericTypeArguments:!0}],create(e,[{allowAsThisParameter:t,allowInGenericTypeArguments:r}]){let n=[Rw.AST_NODE_TYPES.TSTypeAnnotation],i=[Rw.AST_NODE_TYPES.TSPropertySignature,Rw.AST_NODE_TYPES.CallExpression,Rw.AST_NODE_TYPES.PropertyDefinition,Rw.AST_NODE_TYPES.AccessorProperty,Rw.AST_NODE_TYPES.Identifier],s=[Rw.AST_NODE_TYPES.TSVoidKeyword,Rw.AST_NODE_TYPES.TSNeverKeyword];r===!0&&n.push(Rw.AST_NODE_TYPES.TSTypeParameterInstantiation);function a(f){if(!(f.parent.type!==Rw.AST_NODE_TYPES.TSTypeParameterInstantiation||f.parent.parent.type!==Rw.AST_NODE_TYPES.TSTypeReference)){if(Array.isArray(r)){let p=e.sourceCode.getText(f.parent.parent.typeName).replaceAll(" ","");r.map(g=>g.replaceAll(" ","")).includes(p)||e.report({node:f,messageId:"invalidVoidForGeneric",data:{generic:p}});return}r||e.report({node:f,messageId:t?"invalidVoidNotReturnOrThisParam":"invalidVoidNotReturn"})}}function u(f,p){p.default!==f&&e.report({node:f,messageId:hKs(f)})}function l(f){return f.types.every(p=>s.includes(p.type)||p.type===Rw.AST_NODE_TYPES.TSTypeReference&&p.typeArguments?.type===Rw.AST_NODE_TYPES.TSTypeParameterInstantiation&&p.typeArguments.params.map(g=>g.type).includes(Rw.AST_NODE_TYPES.TSVoidKeyword))}return{TSVoidKeyword(f){if(f.parent.type===Rw.AST_NODE_TYPES.TSTypeParameterInstantiation&&f.parent.parent.type===Rw.AST_NODE_TYPES.TSTypeReference){a(f);return}if(r&&f.parent.type===Rw.AST_NODE_TYPES.TSTypeParameter&&f.parent.default?.type===Rw.AST_NODE_TYPES.TSVoidKeyword){u(f,f.parent);return}if(!(f.parent.type===Rw.AST_NODE_TYPES.TSUnionType&&l(f.parent))){if(f.parent.type===Rw.AST_NODE_TYPES.TSUnionType){let p=iwf(f.parent);if(p&&(0,AKs.hasOverloadSignatures)(p,e))return}t&&f.parent.type===Rw.AST_NODE_TYPES.TSTypeAnnotation&&f.parent.parent.type===Rw.AST_NODE_TYPES.Identifier&&f.parent.parent.name==="this"||n.includes(f.parent.type)&&!i.includes(f.parent.parent.type)||e.report({node:f,messageId:r&&t?"invalidVoidNotReturnOrThisParamOrGeneric":r?hKs(f):t?"invalidVoidNotReturnOrThisParam":"invalidVoidNotReturn"})}}}}});function hKs(e){return e.parent.type===Rw.AST_NODE_TYPES.TSUnionType?"invalidVoidUnionConstituent":"invalidVoidNotReturnOrGeneric"}function iwf(e){let t=e.parent;for(;t;){if(t.type===Rw.AST_NODE_TYPES.FunctionDeclaration||t.type===Rw.AST_NODE_TYPES.MethodDefinition&&t.value.body!=null)return t;t=t.parent}return null}});var EKs=j(n0n=>{"use strict";Object.defineProperty(n0n,"__esModule",{value:!0});var Rse=Vo(),swf=el(),awf=XQ(),_Ks=(0,awf.getESLintCoreRule)("no-loop-func");n0n.default=(0,swf.createRule)({name:"no-loop-func",meta:{type:"suggestion",docs:{description:"Disallow function declarations that contain unsafe references inside loop statements",extendsBaseRule:!0},hasSuggestions:_Ks.meta.hasSuggestions,messages:_Ks.meta.messages,schema:[]},defaultOptions:[],create(e){let t=new Set;function r(a){for(let u=a;u.parent;u=u.parent){let l=u.parent;switch(l.type){case Rse.AST_NODE_TYPES.WhileStatement:case Rse.AST_NODE_TYPES.DoWhileStatement:return l;case Rse.AST_NODE_TYPES.ForStatement:if(l.init!==u)return l;break;case Rse.AST_NODE_TYPES.ForInStatement:case Rse.AST_NODE_TYPES.ForOfStatement:if(l.right!==u)return l;break;case Rse.AST_NODE_TYPES.ArrowFunctionExpression:case Rse.AST_NODE_TYPES.FunctionExpression:case Rse.AST_NODE_TYPES.FunctionDeclaration:if(t.has(l))break;return null;default:break}}return null}function n(a,u){let l=u?u.range[1]:0,f=a,p=a;for(;p&&p.range[0]>=l;)f=p,p=r(p);return f}function i(a,u){let l=u.resolved,p=l?.defs[0]?.parent,g=p?.type===Rse.AST_NODE_TYPES.VariableDeclaration?p.kind:"";if(u.isTypeReference||g==="const"||g==="let"&&p&&p.range[0]>a.range[0]&&p.range[1]A.identifier.name===a.id?.name):!1)){t.add(a);return}let f=l.filter(p=>p.resolved&&!i(u,p)).map(p=>p.identifier.name);f.length>0&&e.report({node:a,messageId:"unsafeRefs",data:{varNames:`'${f.join("', '")}'`}})}return{ArrowFunctionExpression:s,FunctionDeclaration:s,FunctionExpression:s}}});function owf(e){return e.parent.type===Rse.AST_NODE_TYPES.CallExpression&&e.parent.callee===e}});var xKs=j(s0n=>{"use strict";Object.defineProperty(s0n,"__esModule",{value:!0});var uwf=el(),lwf=XQ(),i0n=(0,lwf.getESLintCoreRule)("no-loss-of-precision");s0n.default=(0,uwf.createRule)({name:"no-loss-of-precision",meta:{type:"problem",deprecated:{deprecatedSince:"8.0.0",replacedBy:[{rule:{name:"no-loss-of-precision",url:"https://eslint.org/docs/latest/rules/no-loss-of-precision"}}],url:"https://github.com/typescript-eslint/typescript-eslint/pull/8832"},docs:{description:"Disallow literal numbers that lose precision",extendsBaseRule:!0},hasSuggestions:i0n.meta.hasSuggestions,messages:i0n.meta.messages,schema:[]},defaultOptions:[],create(e){return i0n.create(e)}})});var bKs=j(o0n=>{"use strict";Object.defineProperty(o0n,"__esModule",{value:!0});var hZ=Vo(),vKs=el(),cwf=XQ(),Iyt=(0,cwf.getESLintCoreRule)("no-magic-numbers"),fwf=(0,vKs.deepMerge)(Array.isArray(Iyt.meta.schema)?Iyt.meta.schema[0]:Iyt.meta.schema,{properties:{ignoreEnums:{type:"boolean",description:"Whether enums used in TypeScript are considered okay."},ignoreNumericLiteralTypes:{type:"boolean",description:"Whether numbers used in TypeScript numeric literal types are considered okay."},ignoreReadonlyClassProperties:{type:"boolean",description:"Whether `readonly` class properties are considered okay."},ignoreTypeIndexes:{type:"boolean",description:"Whether numbers used to index types are okay."}}});o0n.default=(0,vKs.createRule)({name:"no-magic-numbers",meta:{type:"suggestion",docs:{description:"Disallow magic numbers",extendsBaseRule:!0,frozen:!0},messages:Iyt.meta.messages,schema:[fwf]},defaultOptions:[{detectObjects:!1,enforceConst:!1,ignore:[],ignoreArrayIndexes:!1,ignoreEnums:!1,ignoreNumericLiteralTypes:!1,ignoreReadonlyClassProperties:!1,ignoreTypeIndexes:!1}],create(e,[t]){let r=Iyt.create(e),n=new Set((t.ignore??[]).map(pwf));return{Literal(i){if(typeof i.value!="number"&&typeof i.value!="bigint")return;let s;if(n.has(dwf(i,i.value))?s=!0:gwf(i)?s=t.ignoreEnums===!0:hwf(i)?s=t.ignoreNumericLiteralTypes===!0:_wf(i)?s=t.ignoreTypeIndexes===!0:ywf(i)&&(s=t.ignoreReadonlyClassProperties===!0),s!==!0){if(s===!1){let a=i,u=i.raw;i.parent.type===hZ.AST_NODE_TYPES.UnaryExpression&&i.parent.operator==="-"&&(a=i.parent,u=`${i.parent.operator}${i.raw}`),e.report({node:a,messageId:"noMagic",data:{raw:u}});return}r.Literal(i)}}}}});function pwf(e){return typeof e=="string"?BigInt(e.slice(0,-1)):e}function dwf(e,t){return e.parent.type===hZ.AST_NODE_TYPES.UnaryExpression&&["-","+"].includes(e.parent.operator)&&e.parent.operator==="-"?-t:t}function a0n(e){return e.parent.type===hZ.AST_NODE_TYPES.UnaryExpression&&["-","+"].includes(e.parent.operator)?e.parent.parent:e.parent}function CKs(e){return e.parent?.parent?.type===hZ.AST_NODE_TYPES.TSTypeAliasDeclaration}function mwf(e){return e.parent?.parent?.type===hZ.AST_NODE_TYPES.TSUnionType?CKs(e.parent):!1}function gwf(e){return a0n(e)?.type===hZ.AST_NODE_TYPES.TSEnumMember}function Awf(e){return e.parent?.type===hZ.AST_NODE_TYPES.TSLiteralType}function hwf(e){return e.parent?.type===hZ.AST_NODE_TYPES.UnaryExpression&&e.parent.operator==="-"&&(e=e.parent),Awf(e)?!!(CKs(e)||mwf(e)):!1}function ywf(e){let t=a0n(e);return!!(t?.type===hZ.AST_NODE_TYPES.PropertyDefinition&&t.readonly)}function _wf(e){let t=a0n(e);for(;t?.parent?.type===hZ.AST_NODE_TYPES.TSUnionType||t?.parent?.type===hZ.AST_NODE_TYPES.TSIntersectionType;)t=t.parent;return t?.parent?.type===hZ.AST_NODE_TYPES.TSIndexedAccessType}});var SKs=j(c_e=>{"use strict";var Ewf=c_e&&c_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),xwf=c_e&&c_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),IKs=c_e&&c_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;il.removeRange([e.sourceCode.getTokens(i)[0].range[0],e.sourceCode.getTokens(i)[1].range[0]]),a=r.getTypeAtLocation(i.argument),u=Cwf.unionConstituents(a);u.every(l=>l.flags&(Syt.TypeFlags.Void|Syt.TypeFlags.Undefined))?e.report({node:i,messageId:"meaninglessVoidOperator",data:{type:n.typeToString(a)},fix:s}):t&&u.every(l=>l.flags&(Syt.TypeFlags.Void|Syt.TypeFlags.Undefined|Syt.TypeFlags.Never))&&e.report({node:i,messageId:"meaninglessVoidOperator",data:{type:n.typeToString(a)},suggest:[{messageId:"removeVoid",fix:s}]})}}}})});var TKs=j(u0n=>{"use strict";Object.defineProperty(u0n,"__esModule",{value:!0});var Y5e=Vo(),Iwf=el();u0n.default=(0,Iwf.createRule)({name:"no-misused-new",meta:{type:"problem",docs:{description:"Enforce valid definition of `new` and `constructor`",recommended:"recommended"},messages:{errorMessageClass:"Class cannot have method named `new`.",errorMessageInterface:"Interfaces cannot be constructed, only classes."},schema:[]},defaultOptions:[],create(e){function t(n){if(n)switch(n.type){case Y5e.AST_NODE_TYPES.TSTypeAnnotation:return t(n.typeAnnotation);case Y5e.AST_NODE_TYPES.TSTypeReference:return t(n.typeName);case Y5e.AST_NODE_TYPES.Identifier:return n.name;default:break}return null}function r(n,i){return n&&(n.type===Y5e.AST_NODE_TYPES.ClassDeclaration||n.type===Y5e.AST_NODE_TYPES.ClassExpression||n.type===Y5e.AST_NODE_TYPES.TSInterfaceDeclaration)&&n.id?t(i)===n.id.name:!1}return{"ClassBody > MethodDefinition[key.name='new']"(n){n.value.type===Y5e.AST_NODE_TYPES.TSEmptyBodyFunctionExpression&&r(n.parent.parent,n.value.returnType)&&e.report({node:n,messageId:"errorMessageClass"})},"TSInterfaceBody > TSConstructSignatureDeclaration"(n){r(n.parent.parent,n.returnType)&&e.report({node:n,messageId:"errorMessageInterface"})},"TSMethodSignature[key.name='constructor']"(n){e.report({node:n,messageId:"errorMessageInterface"})}}}})});var BKs=j(p_e=>{"use strict";var Swf=p_e&&p_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Twf=p_e&&p_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),DKs=p_e&&p_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i MemberExpression":h,ConditionalExpression:g,DoWhileStatement:g,ForStatement:g,IfStatement:g,LogicalExpression:A,'UnaryExpression[operator="!"]'(Z){A(Z.argument,!0)},WhileStatement:g};n=wwf(n);let l=n?{...n.arguments&&{CallExpression:_,NewExpression:_},...n.attributes&&{JSXAttribute:G},...n.inheritedMethods&&{ClassDeclaration:R,ClassExpression:R,TSInterfaceDeclaration:R},...n.properties&&{Property:D},...n.returns&&{ReturnStatement:k},...n.variables&&{AssignmentExpression:E,VariableDeclarator:b}}:{},f={SpreadElement:K};function p(Z){switch(Z.typeAnnotation.type){case t0.AST_NODE_TYPES.TSConditionalType:case t0.AST_NODE_TYPES.TSConstructorType:case t0.AST_NODE_TYPES.TSFunctionType:case t0.AST_NODE_TYPES.TSImportType:case t0.AST_NODE_TYPES.TSIndexedAccessType:case t0.AST_NODE_TYPES.TSInferType:case t0.AST_NODE_TYPES.TSIntersectionType:case t0.AST_NODE_TYPES.TSQualifiedName:case t0.AST_NODE_TYPES.TSThisType:case t0.AST_NODE_TYPES.TSTypeOperator:case t0.AST_NODE_TYPES.TSTypeQuery:case t0.AST_NODE_TYPES.TSTypeReference:case t0.AST_NODE_TYPES.TSUnionType:return!0;case t0.AST_NODE_TYPES.TSTypeLiteral:return Z.typeAnnotation.members.some(oe=>oe.type===t0.AST_NODE_TYPES.TSCallSignatureDeclaration||oe.type===t0.AST_NODE_TYPES.TSConstructSignatureDeclaration);case t0.AST_NODE_TYPES.TSAbstractKeyword:case t0.AST_NODE_TYPES.TSAnyKeyword:case t0.AST_NODE_TYPES.TSArrayType:case t0.AST_NODE_TYPES.TSAsyncKeyword:case t0.AST_NODE_TYPES.TSBigIntKeyword:case t0.AST_NODE_TYPES.TSBooleanKeyword:case t0.AST_NODE_TYPES.TSDeclareKeyword:case t0.AST_NODE_TYPES.TSExportKeyword:case t0.AST_NODE_TYPES.TSIntrinsicKeyword:case t0.AST_NODE_TYPES.TSLiteralType:case t0.AST_NODE_TYPES.TSMappedType:case t0.AST_NODE_TYPES.TSNamedTupleMember:case t0.AST_NODE_TYPES.TSNeverKeyword:case t0.AST_NODE_TYPES.TSNullKeyword:case t0.AST_NODE_TYPES.TSNumberKeyword:case t0.AST_NODE_TYPES.TSObjectKeyword:case t0.AST_NODE_TYPES.TSOptionalType:case t0.AST_NODE_TYPES.TSPrivateKeyword:case t0.AST_NODE_TYPES.TSProtectedKeyword:case t0.AST_NODE_TYPES.TSPublicKeyword:case t0.AST_NODE_TYPES.TSReadonlyKeyword:case t0.AST_NODE_TYPES.TSRestType:case t0.AST_NODE_TYPES.TSStaticKeyword:case t0.AST_NODE_TYPES.TSStringKeyword:case t0.AST_NODE_TYPES.TSSymbolKeyword:case t0.AST_NODE_TYPES.TSTemplateLiteralType:case t0.AST_NODE_TYPES.TSTupleType:case t0.AST_NODE_TYPES.TSTypePredicate:case t0.AST_NODE_TYPES.TSUndefinedKeyword:case t0.AST_NODE_TYPES.TSUnknownKeyword:case t0.AST_NODE_TYPES.TSVoidKeyword:return!1}}function g(Z){Z.test&&A(Z.test,!0)}function A(Z,oe=!1){if(a.has(Z))return;if(a.add(Z),Z.type===t0.AST_NODE_TYPES.LogicalExpression){(Z.operator!=="??"||oe)&&A(Z.left,oe),oe&&A(Z.right,oe);return}let ue=i.esTreeNodeToTSNodeMap.get(Z);kwf(s,ue)&&e.report({node:Z,messageId:"conditional"})}function h(Z){let oe=Z.parent;if(oe.type===t0.AST_NODE_TYPES.CallExpression){let ue=oe.arguments.at(0);if(ue&&(0,yZ.isArrayMethodCallWithPredicate)(e,i,oe)){let me=i.esTreeNodeToTSNodeMap.get(ue);Ipe(s,me)&&e.report({node:ue,messageId:"predicate"})}}}function _(Z){if(Z.type===t0.AST_NODE_TYPES.CallExpression&&M(Z))return;let oe=i.esTreeNodeToTSNodeMap.get(Z),ue=Nwf(s,oe);if(ue.size!==0)for(let[me,Te]of Z.arguments.entries()){if(!ue.has(me))continue;let le=i.esTreeNodeToTSNodeMap.get(Te);Ipe(s,le)&&e.report({node:Te,messageId:"voidReturnArgument"})}}function E(Z){let oe=i.esTreeNodeToTSNodeMap.get(Z),ue=i.getTypeAtLocation(Z.left);f_e(s,oe.left,ue)&&Ipe(s,oe.right)&&e.report({node:Z.right,messageId:"voidReturnVariable"})}function b(Z){let oe=i.esTreeNodeToTSNodeMap.get(Z);if(oe.initializer==null||Z.init==null||Z.id.typeAnnotation==null||!p(Z.id.typeAnnotation))return;let ue=i.getTypeAtLocation(Z.id);f_e(s,oe.initializer,ue)&&Ipe(s,oe.initializer)&&e.report({node:Z.init,messageId:"voidReturnVariable"})}function D(Z){let oe=i.esTreeNodeToTSNodeMap.get(Z);if(VTe.isPropertyAssignment(oe)){let ue=s.getContextualType(oe.initializer);if(ue!=null&&f_e(s,oe.initializer,ue)&&Ipe(s,oe.initializer))if((0,yZ.isFunction)(Z.value)){let me=Z.value;me.returnType?e.report({node:me.returnType.typeAnnotation,messageId:"voidReturnProperty"}):e.report({loc:(0,yZ.getFunctionHeadLoc)(me,e.sourceCode),messageId:"voidReturnProperty"})}else e.report({node:Z.value,messageId:"voidReturnProperty"})}else if(VTe.isShorthandPropertyAssignment(oe)){let ue=s.getContextualType(oe.name);ue!=null&&f_e(s,oe.name,ue)&&Ipe(s,oe.name)&&e.report({node:Z.value,messageId:"voidReturnProperty"})}else if(VTe.isMethodDeclaration(oe)){if(VTe.isComputedPropertyName(oe.name))return;let ue=oe.parent;if(!VTe.isObjectLiteralExpression(ue)||!Ipe(s,oe))return;let me=s.getContextualType(ue);if(me==null)return;let Te=YY.unionConstituents(me).map(ae=>s.getPropertyOfType(ae,oe.name.getText())).find(ae=>ae);if(Te==null)return;let le=s.getTypeOfSymbolAtLocation(Te,oe.name);if(f_e(s,oe.name,le)){let ae=Z.value;ae.returnType?e.report({node:ae.returnType.typeAnnotation,messageId:"voidReturnProperty"}):e.report({loc:(0,yZ.getFunctionHeadLoc)(ae,e.sourceCode),messageId:"voidReturnProperty"})}return}}function k(Z){let oe=i.esTreeNodeToTSNodeMap.get(Z);if(oe.expression==null||Z.argument==null)return;let ue=(()=>{let Te=Z.parent;for(;Te&&!(0,yZ.isFunction)(Te);)Te=Te.parent;return(0,yZ.nullThrows)(Te,yZ.NullThrowsReasons.MissingParent)})();if(ue.returnType&&!p(ue.returnType))return;let me=s.getContextualType(oe.expression);me!=null&&f_e(s,oe.expression,me)&&Ipe(s,oe.expression)&&e.report({node:Z.argument,messageId:"voidReturnReturnValue"})}function M(Z){let oe=(0,Dwf.parseFinallyCall)(Z,e);return oe!=null&&(0,yZ.isPromiseLike)(i.program,(0,yZ.getConstrainedTypeAtLocation)(i,oe.object))}function R(Z){let oe=i.esTreeNodeToTSNodeMap.get(Z),ue=Rwf(s,oe);if(ue?.length)for(let me of oe.members){let Te=me.name?.getText();if(Te==null||!Ipe(s,me))continue;let le=i.tsNodeToESTreeNodeMap.get(me);if(!Lwf(le))for(let ae of ue)q(me,ae,Te)}}function q(Z,oe,ue){let me=Fwf(oe,ue);if(me==null)return;let Te=s.getTypeOfSymbolAtLocation(me,Z);f_e(s,Z,Te)&&e.report({node:i.tsNodeToESTreeNodeMap.get(Z),messageId:"voidReturnInheritedMethod",data:{heritageTypeName:s.typeToString(oe)}})}function G(Z){if(Z.value==null||Z.value.type!==t0.AST_NODE_TYPES.JSXExpressionContainer)return;let oe=i.esTreeNodeToTSNodeMap.get(Z.value),ue=i.esTreeNodeToTSNodeMap.get(Z.value.expression),me=s.getContextualType(oe);me!=null&&f_e(s,oe,me)&&Ipe(s,ue)&&e.report({node:Z.value,messageId:"voidReturnAttribute"})}function K(Z){let oe=i.esTreeNodeToTSNodeMap.get(Z);Bwf(s,oe.expression)&&e.report({node:Z.argument,messageId:"spread"})}return{...t?u:{},...n?l:{},...r?f:{}}}});function Bwf(e,t){let r=e.getTypeAtLocation(t);for(let n of YY.unionConstituents(e.getApparentType(r)))if(YY.isThenableType(e,t,n))return!0;return!1}function kwf(e,t){let r=e.getTypeAtLocation(t);for(let n of YY.unionConstituents(e.getApparentType(r))){let i=n.getProperty("then");if(i==null)return!1;let s=e.getTypeOfSymbolAtLocation(i,t),a=!1;for(let u of YY.unionConstituents(s)){for(let l of u.getCallSignatures())if(l.parameters.length!==0&&Pwf(e,l.parameters[0],t)){a=!0;break}if(a)break}if(!a)return!1}return!0}function Pwf(e,t,r){let n=e.getApparentType(e.getTypeOfSymbolAtLocation(t,r));for(let i of YY.unionConstituents(n))if(i.getCallSignatures().length!==0)return!0;return!1}function yer(e,t,r,n,i,s){Owf(e,t.expression,r)?i.add(n):f_e(e,t.expression,r)&&!i.has(n)&&s.add(n);let a=e.getContextualTypeForArgumentAtIndex(t,n);a!==r&&yer(e,t,a,n,i,s)}function Nwf(e,t){if(!t.arguments)return new Set;let r=new Set,n=new Set,i=e.getTypeAtLocation(t.expression);for(let s of YY.unionConstituents(i)){let a=VTe.isCallExpression(t)?s.getCallSignatures():s.getConstructSignatures();for(let u of a)for(let[l,f]of u.parameters.entries()){let p=f.valueDeclaration,g=e.getTypeOfSymbolAtLocation(f,t.expression);if(p&&(0,yZ.isRestParameterDeclaration)(p)){if(e.isArrayType(g)){g=e.getTypeArguments(g)[0];for(let A=l;AwKs(e,t,n))}function Rwf(e,t){return t.heritageClauses?.flatMap(r=>r.types).map(r=>e.getTypeAtLocation(r))}function Fwf(e,t){let r=VTe.escapeLeadingUnderscores(t);return e.getSymbol()?.members?.get(r)??YY.getPropertyOfType(e,r)}function Lwf(e){return(e.type===t0.AST_NODE_TYPES.MethodDefinition||e.type===t0.AST_NODE_TYPES.PropertyDefinition||e.type===t0.AST_NODE_TYPES.AccessorProperty)&&e.static}});var OKs=j(d_e=>{"use strict";var Mwf=d_e&&d_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Qwf=d_e&&d_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),NKs=d_e&&d_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i!PKs(r.program,g))?null:l.parent.type===jwf.AST_NODE_TYPES.ObjectExpression&&l.parent.properties.length===1?[{messageId:"replaceMapSpreadInObject",fix:(0,tJ.getWrappingFixer)({node:l.parent,innerNode:l.argument,sourceCode:e.sourceCode,wrap:g=>`Object.fromEntries(${g})`})}]:[{messageId:"replaceMapSpreadInObject",fix:(0,tJ.getWrappingFixer)({node:l.argument,sourceCode:e.sourceCode,wrap:g=>`Object.fromEntries(${g})`})}]}function a(l){let f=(0,tJ.isHigherPrecedenceThanAwait)(r.esTreeNodeToTSNodeMap.get(l));return[{messageId:"addAwait",fix:p=>f?p.insertTextBefore(l,"await "):[p.insertTextBefore(l,"await ("),p.insertTextAfter(l,")")]}]}function u(l){let f=(0,tJ.getConstrainedTypeAtLocation)(r,l.argument);if(!(0,tJ.typeMatchesSomeSpecifier)(f,t.allow,r.program)){if(Gwf(r.program,f)){e.report({node:l,messageId:"noPromiseSpreadInObject",suggest:a(l.argument)});return}if(Ywf(f)){e.report({node:l,messageId:"noFunctionSpreadInObject"});return}if(PKs(r.program,f)){e.report({node:l,messageId:"noMapSpreadInObject",suggest:s(l,f)});return}if(qwf(n,f)){e.report({node:l,messageId:"noArraySpreadInObject"});return}if(Uwf(f,n)&&!kKs(f)){e.report({node:l,messageId:"noIterableSpreadInObject"});return}if(Vwf(n,f)){e.report({node:l,messageId:"noClassInstanceSpreadInObject"});return}$wf(f)&&e.report({node:l,messageId:"noClassDeclarationSpreadInObject"})}}return{"ArrayExpression > SpreadElement":i,"CallExpression > SpreadElement":i,JSXSpreadAttribute:u,"ObjectExpression > SpreadElement":u}}});function Uwf(e,t){return Tyt.typeConstituents(e).some(r=>!!Tyt.getWellKnownSymbolPropertyOfType(r,"iterator",t))}function qwf(e,t){return $Te(t,r=>e.isArrayType(r)||e.isTupleType(r))}function kKs(e){return $Te(e,t=>(0,tJ.isTypeFlagSet)(t,_er.TypeFlags.StringLike))}function Ywf(e){return $Te(e,t=>t.getCallSignatures().length>0&&t.getProperties().length===0)}function Gwf(e,t){return $Te(t,r=>(0,tJ.isPromiseLike)(e,r))}function Vwf(e,t){return $Te(t,r=>{if(r.getConstructSignatures().length)return!1;let n=r.getSymbol();return!!n?.getDeclarations()?.some(i=>e.getTypeOfSymbolAtLocation(n,i).getConstructSignatures().length)})}function $wf(e){return $Te(e,t=>{if(Tyt.isObjectType(t)&&Tyt.isObjectFlagSet(t,_er.ObjectFlags.InstantiationExpressionType))return!0;let r=t.getSymbol()?.valueDeclaration?.kind;return r===_er.SyntaxKind.ClassDeclaration||r===_er.SyntaxKind.ClassExpression})}function PKs(e,t){return $Te(t,r=>(0,tJ.isBuiltinSymbolLike)(e,r,["Map","ReadonlyMap","WeakMap"]))}function $Te(e,t){return e.isUnionOrIntersection()?e.types.some(r=>$Te(r,t)):t(e)}});var MKs=j(m_e=>{"use strict";var Kwf=m_e&&m_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Jwf=m_e&&m_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),LKs=m_e&&m_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i0){p.previousSibling=A.node;break}for(;g;)g.set.get(f)?.defs.forEach(A=>{A.type===Hwf.DefinitionType.ImportBinding&&p.imports.push(A.node)}),g=g.upper;return p}function i(l){return RKs.isTypeFlagSet(r.getTypeAtLocation(l),Eer.TypeFlags.StringLike)?rJ.String:rJ.Number}function s(l){let p=r.getTypeAtLocation(t.esTreeNodeToTSNodeMap.get(l)).getSymbol()?.valueDeclaration;if(!(!p||!Eer.isEnumDeclaration(p)||p.members.length===0))return i(p.members[0])}function a(l){if(!l.initializer)return rJ.Number;switch(l.initializer.type){case Dyt.AST_NODE_TYPES.Literal:switch(typeof l.initializer.value){case"number":return rJ.Number;case"string":return rJ.String;default:return rJ.Unknown}case Dyt.AST_NODE_TYPES.TemplateLiteral:return rJ.String;default:return i(t.esTreeNodeToTSNodeMap.get(l.initializer))}}function u(l){let{imports:f,previousSibling:p}=n(l);for(let g of f){let A=s(g);if(A!=null)return A}if(p)return a(p.body.members[0]);if(l.parent.type===Dyt.AST_NODE_TYPES.ExportNamedDeclaration&&l.parent.parent.type===Dyt.AST_NODE_TYPES.TSModuleBlock){let g=t.esTreeNodeToTSNodeMap.get(l.id),A=r.getSymbolAtLocation(g).getDeclarations(),[{initializer:h}]=A[0].members;return h&&RKs.isTypeFlagSet(r.getTypeAtLocation(h),Eer.TypeFlags.StringLike)?rJ.String:rJ.Number}return a(l.body.members[0])}return{TSEnumDeclaration(l){if(!l.body.members.length)return;let f=u(l);if(f!==Eer.TypeFlags.Unknown)for(let p of l.body.members){let g=a(p);if(g===rJ.Unknown)return;if(g===rJ.Number&&(f??=g),g!==f){e.report({node:p.initializer??p,messageId:"mixed"});return}}}}}})});var UKs=j(l0n=>{"use strict";Object.defineProperty(l0n,"__esModule",{value:!0});var QKs=Vo(),jKs=el();l0n.default=(0,jKs.createRule)({name:"no-namespace",meta:{type:"suggestion",docs:{description:"Disallow TypeScript namespaces",recommended:"recommended"},messages:{moduleSyntaxIsPreferred:"ES2015 module syntax is preferred over namespaces."},schema:[{type:"object",additionalProperties:!1,properties:{allowDeclarations:{type:"boolean",description:"Whether to allow `declare` with custom TypeScript namespaces."},allowDefinitionFiles:{type:"boolean",description:"Whether to allow `declare` with custom TypeScript namespaces inside definition files."}}}]},defaultOptions:[{allowDeclarations:!1,allowDefinitionFiles:!0}],create(e,[{allowDeclarations:t,allowDefinitionFiles:r}]){function n(i){return i.type===QKs.AST_NODE_TYPES.TSModuleDeclaration&&i.declare?!0:i.parent!=null&&n(i.parent)}return{"TSModuleDeclaration[global!=true][id.type!='Literal']"(i){i.parent.type===QKs.AST_NODE_TYPES.TSModuleDeclaration||r&&(0,jKs.isDefinitionFile)(e.filename)||t&&n(i)||e.report({node:i,messageId:"moduleSyntaxIsPreferred"})}}}})});var qKs=j(p0n=>{"use strict";Object.defineProperty(p0n,"__esModule",{value:!0});var zwf=nL(),c0n=Vo(),f0n=el();function Wwf(e,t){return e.references.some(r=>r.isWrite()&&r.identifier.range[1]Xwf(r)&&r.node.range[1] TSNonNullExpression.left'(t){if(t.expression.type===c0n.TSESTree.AST_NODE_TYPES.Identifier){let r=e.sourceCode.getScope(t),n=t.expression,i=c0n.ASTUtils.findVariable(r,n.name);if(i&&!Wwf(i,t))return}e.report({node:t,messageId:"noNonNullAssertedNullishCoalescing",suggest:[{messageId:"suggestRemovingNonNull",fix(r){let n=(0,f0n.nullThrows)(e.sourceCode.getLastToken(t,c0n.ASTUtils.isNonNullAssertionPunctuator),f0n.NullThrowsReasons.MissingToken("!","Non-null Assertion"));return r.remove(n)}}]})}}}})});var YKs=j(d0n=>{"use strict";Object.defineProperty(d0n,"__esModule",{value:!0});var Zwf=el();d0n.default=(0,Zwf.createRule)({name:"no-non-null-asserted-optional-chain",meta:{type:"problem",docs:{description:"Disallow non-null assertions after an optional chain expression",recommended:"recommended"},hasSuggestions:!0,messages:{noNonNullOptionalChain:"Optional chain expressions can return undefined by design - using a non-null assertion is unsafe and wrong.",suggestRemovingNonNull:"You should remove the non-null assertion."},schema:[]},defaultOptions:[],create(e){return{"TSNonNullExpression > ChainExpression"(t){let r=t.parent;e.report({node:t,messageId:"noNonNullOptionalChain",suggest:[{messageId:"suggestRemovingNonNull",fix(n){return n.removeRange([r.range[1]-1,r.range[1]])}}]})},"ChainExpression > TSNonNullExpression"(t){e.report({node:t,messageId:"noNonNullOptionalChain",suggest:[{messageId:"suggestRemovingNonNull",fix(r){return r.removeRange([t.range[1]-1,t.range[1]])}}]})}}}})});var VKs=j(m0n=>{"use strict";Object.defineProperty(m0n,"__esModule",{value:!0});var GKs=Vo(),G5e=el();m0n.default=(0,G5e.createRule)({name:"no-non-null-assertion",meta:{type:"problem",docs:{description:"Disallow non-null assertions using the `!` postfix operator",recommended:"strict"},hasSuggestions:!0,messages:{noNonNull:"Forbidden non-null assertion.",suggestOptionalChain:"Consider using the optional chain operator `?.` instead. This operator includes runtime checks, so it is safer than the compile-only non-null assertion operator."},schema:[]},defaultOptions:[],create(e){return{TSNonNullExpression(t){let r=[],n=(0,G5e.nullThrows)(e.sourceCode.getTokenAfter(t.expression,G5e.isNonNullAssertionPunctuator),G5e.NullThrowsReasons.MissingToken("!","expression"));function i(){return a=>a.replaceText(n,"?.")}function s(){return a=>a.remove(n)}t.parent.type===GKs.AST_NODE_TYPES.MemberExpression&&t.parent.object===t&&!(0,G5e.isAssignee)(t.parent)?t.parent.optional?r.push({messageId:"suggestOptionalChain",fix:s()}):t.parent.computed?r.push({messageId:"suggestOptionalChain",fix:i()}):r.push({messageId:"suggestOptionalChain",fix(a){let u=(0,G5e.nullThrows)(e.sourceCode.getTokenAfter(n),G5e.NullThrowsReasons.MissingToken(".","!"));return[a.remove(n),a.insertTextBefore(u,"?")]}}):t.parent.type===GKs.AST_NODE_TYPES.CallExpression&&t.parent.callee===t&&(t.parent.optional?r.push({messageId:"suggestOptionalChain",fix:s()}):r.push({messageId:"suggestOptionalChain",fix:i()})),e.report({node:t,messageId:"noNonNull",suggest:r})}}}})});var KKs=j(g0n=>{"use strict";Object.defineProperty(g0n,"__esModule",{value:!0});var e3f=nL(),nJ=Vo(),$Ks=el();g0n.default=(0,$Ks.createRule)({name:"no-redeclare",meta:{type:"suggestion",docs:{description:"Disallow variable redeclaration",extendsBaseRule:!0},messages:{redeclared:"'{{id}}' is already defined.",redeclaredAsBuiltin:"'{{id}}' is already defined as a built-in global variable.",redeclaredBySyntax:"'{{id}}' is already defined by a variable declaration."},schema:[{type:"object",additionalProperties:!1,properties:{builtinGlobals:{type:"boolean",description:"Whether to report shadowing of built-in global variables."},ignoreDeclarationMerge:{type:"boolean",description:"Whether to ignore declaration merges between certain TypeScript declaration types."}}}]},defaultOptions:[{builtinGlobals:!0,ignoreDeclarationMerge:!0}],create(e,[t]){let r=new Set([nJ.AST_NODE_TYPES.ClassDeclaration,nJ.AST_NODE_TYPES.TSInterfaceDeclaration,nJ.AST_NODE_TYPES.TSModuleDeclaration]),n=new Set([nJ.AST_NODE_TYPES.FunctionDeclaration,nJ.AST_NODE_TYPES.TSModuleDeclaration]),i=new Set([nJ.AST_NODE_TYPES.TSEnumDeclaration,nJ.AST_NODE_TYPES.TSModuleDeclaration]);function*s(l){if(t.builtinGlobals&&"eslintImplicitGlobalSetting"in l&&(l.eslintImplicitGlobalSetting==="readonly"||l.eslintImplicitGlobalSetting==="writable")&&(yield{type:"builtin"}),"eslintExplicitGlobalComments"in l&&l.eslintExplicitGlobalComments)for(let p of l.eslintExplicitGlobalComments)yield{loc:(0,$Ks.getNameLocationInGlobalDirectiveComment)(e.sourceCode,p,l.name),node:p,type:"comment"};let f=l.identifiers.map(p=>({identifier:p,parent:p.parent})).filter(({parent:p})=>p.type!==nJ.AST_NODE_TYPES.TSDeclareFunction);if(t.ignoreDeclarationMerge&&f.length>1){if(f.every(({parent:p})=>p.type===nJ.AST_NODE_TYPES.TSInterfaceDeclaration)||f.every(({parent:p})=>p.type===nJ.AST_NODE_TYPES.TSModuleDeclaration))return;if(f.every(({parent:p})=>r.has(p.type))){let p=f.filter(({parent:g})=>g.type===nJ.AST_NODE_TYPES.ClassDeclaration);if(p.length===1)return;for(let{identifier:g}of p)yield{loc:g.loc,node:g,type:"syntax"};return}if(f.every(({parent:p})=>n.has(p.type))){let p=f.filter(({parent:g})=>g.type===nJ.AST_NODE_TYPES.FunctionDeclaration);if(p.length===1)return;for(let{identifier:g}of p)yield{loc:g.loc,node:g,type:"syntax"};return}if(f.every(({parent:p})=>i.has(p.type))){let p=f.filter(({parent:g})=>g.type===nJ.AST_NODE_TYPES.TSEnumDeclaration);if(p.length===1)return;for(let{identifier:g}of p)yield{loc:g.loc,node:g,type:"syntax"};return}}for(let{identifier:p}of f)yield{loc:p.loc,node:p,type:"syntax"}}function a(l){for(let f of l.variables){let[p,...g]=s(f);if(g.length===0)continue;let A=p.type==="builtin"?"redeclaredAsBuiltin":"redeclaredBySyntax",h={id:f.name};for(let{loc:_,node:E,type:b}of g){let D=b===p.type?"redeclared":A;E?e.report({loc:_,node:E,messageId:D,data:h}):_&&e.report({loc:_,messageId:D,data:h})}}}function u(l){let f=e.sourceCode.getScope(l);f.block===l&&a(f)}return{ArrowFunctionExpression:u,BlockStatement:u,ForInStatement:u,ForOfStatement:u,ForStatement:u,FunctionDeclaration:u,FunctionExpression:u,Program(l){let f=e.sourceCode.getScope(l);a(f),f.type===e3f.ScopeType.global&&f.childScopes[0]&&f.block===f.childScopes[0].block&&a(f.childScopes[0])},SwitchStatement:u}}})});var XKs=j(g_e=>{"use strict";var t3f=g_e&&g_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),r3f=g_e&&g_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),WKs=g_e&&g_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i({typeFlags:f.flags,typeName:s3f(f)}))}function i(s){let a=r.get(s);if(a)return a;let u=n(s);return r.set(s,u),u}return{"TSIntersectionType:exit"(s){let a=new Map,u=new Map,l=new Map;function f({typeFlags:g,typeName:A},h){for(let[_,E]of[["overrides",N_.TypeFlags.Any],["overrides",N_.TypeFlags.Never],["overridden",N_.TypeFlags.Unknown]])if(g===E)return e.report({node:h,messageId:g===N_.TypeFlags.Any&&A!=="any"?"errorTypeOverrides":_,data:{container:"intersection",typeName:A}}),!0;return!1}for(let g of s.types){let A=i(g);for(let h of A)if(!f(h,g)){for(let _ of JKs)if(h.typeFlags===_){ver(a,xer[_],h.typeName);break}for(let _ of HKs)h.typeFlags===_&&ver(u,_,g)}A.length>=2&&l.set(g,A)}let p=()=>{for(let[g,A]of l){let h;for(let{typeFlags:_}of A)if(u.has(xer[_]))h=xer[_];else{h=void 0;break}Number.isInteger(h)&&e.report({node:g,messageId:"primitiveOverridden",data:{literal:A.map(_=>_.typeName).join(" | "),primitive:A0n[h]}})}};if(l.size>0){p();return}for(let[g,A]of u){let h=a.get(g);if(h)for(let _ of A)e.report({node:_,messageId:"primitiveOverridden",data:{literal:h.join(" | "),primitive:A0n[g]}})}},"TSUnionType:exit"(s){let a=new Map,u=new Set;function l({typeFlags:p,typeName:g},A){for(let h of[N_.TypeFlags.Any,N_.TypeFlags.Unknown])if(p===h)return e.report({node:A,messageId:p===N_.TypeFlags.Any&&g!=="any"?"errorTypeOverrides":"overrides",data:{container:"union",typeName:g}}),!0;return p===N_.TypeFlags.Never&&!a3f(s)?(e.report({node:A,messageId:"overridden",data:{container:"union",typeName:"never"}}),!0):!1}for(let p of s.types){let g=i(p);for(let A of g)if(!l(A,p)){for(let h of JKs)if(A.typeFlags===h){ver(a,xer[h],{literalValue:A.typeName,typeNode:p});break}for(let h of HKs)(A.typeFlags&h)!==0&&u.add(h)}}let f=new Map;for(let[p,g]of a)if(u.has(p))for(let{literalValue:A,typeNode:h}of g)ver(f,h,{literalValue:A,primitiveTypeFlag:p});for(let[p,g]of f){let A=(0,Spe.arrayGroupByToMap)(g,h=>h.primitiveTypeFlag);for(let[h,_]of A)e.report({node:p,messageId:"literalOverridden",data:{literal:_.map(E=>E.literalValue).join(" | "),primitive:A0n[h]}})}}}}})});var ZKs=j(A_e=>{"use strict";var u3f=A_e&&A_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),l3f=A_e&&A_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),c3f=A_e&&A_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;inew RegExp(a,"u"));function i(a){return n?.some(u=>a.match(u))}function s(a){return a.type===Cer.AST_NODE_TYPES.Literal&&typeof a.value=="string"||a.type===Cer.AST_NODE_TYPES.TemplateLiteral}return{'CallExpression[callee.name="require"]'(a){if(a.arguments[0]&&s(a.arguments[0])){let l=h0n.getStaticStringValue(a.arguments[0]);if(typeof l=="string"&&i(l))return}Cer.ASTUtils.findVariable(e.sourceCode.getScope(a),"require")?.identifiers.length||e.report({node:a,messageId:"noRequireImports"})},TSExternalModuleReference(a){if(s(a.expression)){let u=h0n.getStaticStringValue(a.expression);if(typeof u=="string"&&i(u))return}r&&a.parent.type===Cer.AST_NODE_TYPES.TSImportEqualsDeclaration||e.report({node:a,messageId:"noRequireImports"})}}}})});var sJs=j(wyt=>{"use strict";var f3f=wyt&&wyt.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(wyt,"__esModule",{value:!0});var ber=Vo(),p3f=f3f(SUt()),d3f=el(),m3f=XQ(),Ier=(0,m3f.getESLintCoreRule)("no-restricted-imports"),Ser=(e,t)=>{try{return e()}catch{return t}},Ter=Ier.meta.schema,tJs={allowTypeImports:{type:"boolean",description:"Whether to allow type-only imports for a path."}},eJs={type:"array",items:{anyOf:[{type:"string"},{type:"object",additionalProperties:!1,properties:{...Ser(()=>Ter.anyOf[1].items[0].properties.paths.items.anyOf[1].properties,void 0),...tJs},required:Ser(()=>Ter.anyOf[1].items[0].properties.paths.items.anyOf[1].required,void 0)}]},uniqueItems:!0},g3f={anyOf:[{type:"array",items:{type:"string"},uniqueItems:!0},{type:"array",items:{type:"object",additionalProperties:!1,properties:{...Ser(()=>Ter.anyOf[1].items[0].properties.patterns.anyOf[1].items.properties,void 0),...tJs},required:Ser(()=>Ter.anyOf[1].items[0].properties.patterns.anyOf[1].items.required,[])},uniqueItems:!0}]},A3f={anyOf:[eJs,{type:"array",additionalItems:!1,items:[{type:"object",additionalProperties:!1,properties:{paths:eJs,patterns:g3f}}]}]};function rJs(e){return!!e&&Object.hasOwn(e,"paths")}function nJs(e){return!!e&&Object.hasOwn(e,"patterns")}function iJs(e){return!(rJs(e[0])||nJs(e[0]))}function h3f(e){return iJs(e)?e:rJs(e[0])?e[0].paths:[]}function y3f(e){return nJs(e[0])?e[0].patterns:[]}function _3f(e,t){return Object.keys(e).length===0||t.length===0?!1:iJs(t)?!0:!!(t[0].paths?.length||t[0].patterns?.length)}wyt.default=(0,d3f.createRule)({name:"no-restricted-imports",meta:{type:"suggestion",docs:{description:"Disallow specified modules when loaded by `import`",extendsBaseRule:!0},fixable:Ier.meta.fixable,messages:Ier.meta.messages,schema:A3f},defaultOptions:[],create(e){let t=Ier.create(e),{options:r}=e;if(!_3f(t,r))return{};let n=h3f(r),i=new Set;for(let g of n)typeof g=="object"&&g.allowTypeImports&&i.add(g.name);function s(g){return i.has(g)}let a=y3f(r),u=[],l=[];for(let g of a)typeof g=="object"&&g.allowTypeImports&&(g.group&&u.push((0,p3f.default)({allowRelativePaths:!0,ignoreCase:!g.caseSensitive}).add(g.group)),g.regex&&l.push(new RegExp(g.regex,g.caseSensitive?"u":"iu")));function f(g){return u.some(A=>A.ignores(g))||l.some(A=>A.test(g))}function p(g){if(g.importKind==="type"||g.specifiers.length>0&&g.specifiers.every(A=>A.type===ber.AST_NODE_TYPES.ImportSpecifier&&A.importKind==="type")){let A=g.source.value.trim();if(!s(A)&&!f(A))return t.ImportDeclaration(g)}else return t.ImportDeclaration(g)}return{ExportAllDeclaration:t.ExportAllDeclaration,"ExportNamedDeclaration[source]"(g){if(g.exportKind==="type"||g.specifiers.length>0&&g.specifiers.every(A=>A.exportKind==="type")){let A=g.source.value.trim();if(!s(A)&&!f(A))return t.ExportNamedDeclaration(g)}else return t.ExportNamedDeclaration(g)},ImportDeclaration:p,TSImportEqualsDeclaration(g){if(g.moduleReference.type===ber.AST_NODE_TYPES.TSExternalModuleReference){let A={...g,type:ber.AST_NODE_TYPES.ImportDeclaration,assertions:[],attributes:[],source:g.moduleReference.expression,specifiers:[{...g.id,type:ber.AST_NODE_TYPES.ImportDefaultSpecifier,local:g.id,parent:g.id.parent}]};return p(A)}}}}})});var lJs=j(y0n=>{"use strict";Object.defineProperty(y0n,"__esModule",{value:!0});var Fse=Vo(),aJs=el();function uJs(e){return e.replaceAll(/\s/g,"")}function E3f(e,t){return uJs(t.getText(e))}function x3f(e){return!e||e===!0?"":typeof e=="string"?` ${e}`:e.message?` ${e.message}`:""}var oJs={bigint:Fse.AST_NODE_TYPES.TSBigIntKeyword,boolean:Fse.AST_NODE_TYPES.TSBooleanKeyword,never:Fse.AST_NODE_TYPES.TSNeverKeyword,null:Fse.AST_NODE_TYPES.TSNullKeyword,number:Fse.AST_NODE_TYPES.TSNumberKeyword,object:Fse.AST_NODE_TYPES.TSObjectKeyword,string:Fse.AST_NODE_TYPES.TSStringKeyword,symbol:Fse.AST_NODE_TYPES.TSSymbolKeyword,undefined:Fse.AST_NODE_TYPES.TSUndefinedKeyword,unknown:Fse.AST_NODE_TYPES.TSUnknownKeyword,void:Fse.AST_NODE_TYPES.TSVoidKeyword};y0n.default=(0,aJs.createRule)({name:"no-restricted-types",meta:{type:"suggestion",docs:{description:"Disallow certain types"},fixable:"code",hasSuggestions:!0,messages:{bannedTypeMessage:"Don't use `{{name}}` as a type.{{customMessage}}",bannedTypeReplacement:"Replace `{{name}}` with `{{replacement}}`."},schema:[{type:"object",$defs:{banConfig:{oneOf:[{type:"boolean",description:"Bans the type with the default message.",enum:[!0]},{type:"string",description:"Bans the type with a custom message."},{type:"object",additionalProperties:!1,description:"Bans a type.",properties:{fixWith:{type:"string",description:"Type to autofix replace with. Note that autofixers can be applied automatically - so you need to be careful with this option."},message:{type:"string",description:"Custom error message."},suggest:{type:"array",description:"Types to suggest replacing with.",items:{type:"string"}}}}]}},additionalProperties:!1,properties:{types:{type:"object",additionalProperties:{$ref:"#/items/0/$defs/banConfig"},description:"An object whose keys are the types you want to ban, and the values are error messages."}}}]},defaultOptions:[{}],create(e,[{types:t={}}]){let r=new Map(Object.entries(t).map(([s,a])=>[uJs(s),a]));function n(s,a=E3f(s,e.sourceCode)){let u=r.get(a);if(u==null||u===!1)return;let l=x3f(u),f=u&&typeof u=="object"&&u.fixWith,p=u&&typeof u=="object"?u.suggest:void 0;e.report({node:s,messageId:"bannedTypeMessage",data:{name:a,customMessage:l},fix:f?g=>g.replaceText(s,f):null,suggest:p?.map(g=>({messageId:"bannedTypeReplacement",data:{name:a,replacement:g},fix:A=>A.replaceText(s,g)}))})}return{...(0,aJs.objectReduceKey)(oJs,(s,a)=>(r.has(a)&&(s[oJs[a]]=u=>n(u,a)),s),{}),TSClassImplements(s){n(s)},TSInterfaceHeritage(s){n(s)},TSTupleType(s){s.elementTypes.length||n(s)},TSTypeLiteral(s){s.members.length||n(s)},TSTypeReference(s){n(s.typeName),s.typeArguments&&n(s)}}}})});var mJs=j(_0n=>{"use strict";Object.defineProperty(_0n,"__esModule",{value:!0});var h_e=nL(),h_=Vo(),cJs=el(),fJs=Ygn(),v3f=new Set([h_.AST_NODE_TYPES.TSCallSignatureDeclaration,h_.AST_NODE_TYPES.TSFunctionType,h_.AST_NODE_TYPES.TSMethodSignature,h_.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,h_.AST_NODE_TYPES.TSDeclareFunction,h_.AST_NODE_TYPES.TSConstructSignatureDeclaration,h_.AST_NODE_TYPES.TSConstructorType]),pJs=new Set([h_.AST_NODE_TYPES.FunctionDeclaration]),dJs=new Set([h_.AST_NODE_TYPES.TSInterfaceDeclaration,h_.AST_NODE_TYPES.TSTypeAliasDeclaration]);_0n.default=(0,cJs.createRule)({name:"no-shadow",meta:{type:"suggestion",docs:{description:"Disallow variable declarations from shadowing variables declared in the outer scope",extendsBaseRule:!0},messages:{noShadow:"'{{name}}' is already declared in the upper scope on line {{shadowedLine}} column {{shadowedColumn}}.",noShadowGlobal:"'{{name}}' is already a global variable."},schema:[{type:"object",additionalProperties:!1,properties:{allow:{type:"array",description:"Identifier names for which shadowing is allowed.",items:{type:"string"}},builtinGlobals:{type:"boolean",description:"Whether to report shadowing of built-in global variables."},hoist:{type:"string",description:"Whether to report shadowing before outer functions or variables are defined.",enum:["all","functions","functions-and-types","never","types"]},ignoreFunctionTypeParameterNameValueShadow:{type:"boolean",description:"Whether to ignore function parameters named the same as a variable."},ignoreOnInitialization:{type:"boolean",description:"Whether to ignore the variable initializers when the shadowed variable is presumably still unitialized."},ignoreTypeValueShadow:{type:"boolean",description:"Whether to ignore types named the same as a variable."}}}]},defaultOptions:[{allow:[],builtinGlobals:!1,hoist:"functions-and-types",ignoreFunctionTypeParameterNameValueShadow:!0,ignoreOnInitialization:!1,ignoreTypeValueShadow:!0}],create(e,[t]){function r(oe){return oe.type===h_e.ScopeType.tsModule&&oe.block.kind==="global"||!!oe.upper&&r(oe.upper)}function n(oe){return oe.defs[0].type===h_e.DefinitionType.Parameter&&oe.name==="this"}function i(oe,ue){if(t.ignoreTypeValueShadow!==!0||!("isValueVariable"in oe))return!1;let me=ue.defs.at(0),Te=!("isValueVariable"in ue)||!me||!(0,fJs.isTypeImport)(me)&&ue.isValueVariable;return oe.isValueVariable!==Te}function s(oe,ue){return t.ignoreFunctionTypeParameterNameValueShadow!==!0||!("isValueVariable"in oe)||!("isValueVariable"in ue?ue.isValueVariable:!0)?!1:oe.defs.every(Te=>v3f.has(Te.node.type))}function a(oe){if(!("isTypeVariable"in oe)||!oe.isTypeVariable||oe.identifiers.length===0)return!1;let ue=oe.identifiers[0].parent;if(ue.type!==h_.AST_NODE_TYPES.TSTypeParameter)return!1;let me=ue.parent;if(me.type!==h_.AST_NODE_TYPES.TSTypeParameterDeclaration)return!1;let Te=me.parent;if(Te.type!==h_.AST_NODE_TYPES.FunctionExpression&&Te.type!==h_.AST_NODE_TYPES.TSEmptyBodyFunctionExpression)return!1;let le=Te.parent;return le.type!==h_.AST_NODE_TYPES.MethodDefinition?!1:le.static}function u(oe){if(!("isTypeVariable"in oe)||!oe.isTypeVariable||oe.identifiers.length===0)return!1;let ue=oe.identifiers[0].parent;if(ue.type!==h_.AST_NODE_TYPES.TSTypeParameter)return!1;let me=ue.parent;if(me.type!==h_.AST_NODE_TYPES.TSTypeParameterDeclaration)return!1;let Te=me.parent;return Te.type===h_.AST_NODE_TYPES.ClassDeclaration||Te.type===h_.AST_NODE_TYPES.ClassExpression}function l(oe,ue){return a(oe)&&u(ue)}function f(oe){return oe.type===h_.AST_NODE_TYPES.ImportDeclaration}function p(oe,ue){return oe.type===h_e.ScopeType.tsModule&&oe.block.id.type===h_.AST_NODE_TYPES.Literal&&oe.block.id.value===ue}function g(oe,ue,me){let[Te]=me.defs,[le]=ue.defs;return(0,fJs.isTypeImport)(Te)&&f(Te.parent)&&p(oe,Te.parent.source.value)&&(le.node.type===h_.AST_NODE_TYPES.TSInterfaceDeclaration||le.node.type===h_.AST_NODE_TYPES.TSTypeAliasDeclaration)}function A(oe){return t.allow.includes(oe.name)}function h(oe){let ue=oe.scope.block;return ue.type===h_.AST_NODE_TYPES.ClassDeclaration&&ue.id===oe.identifiers[0]}function _(oe){let ue=oe.scope.block;return ue.type===h_.AST_NODE_TYPES.TSEnumDeclaration&&ue.id===oe.identifiers[0]}function E(oe,ue){return oe&&oe.range[0]<=ue&&ue<=oe.range[1]}function b(oe,ue){let me=oe;for(;me&&!ue(me);)me=me.parent;return me}function D(oe){let ue=oe.upper;return ue?.type===h_e.ScopeType.functionExpressionName?ue.upper:ue}function k(oe,ue){let me=ue.defs.at(0);if(!me)return!1;let{variableScope:Te}=oe.scope;if(!((Te.block.type===h_.AST_NODE_TYPES.ArrowFunctionExpression||Te.block.type===h_.AST_NODE_TYPES.FunctionExpression)&&D(Te)===ue.scope))return!1;let le=Te.block,{parent:ae}=le,Ae=b(ae,Le=>Le.type===h_.AST_NODE_TYPES.CallExpression);if(!Ae)return!1;let De=me.name,_e=Ae.range[1];for(;De;){if(De.type===h_.AST_NODE_TYPES.VariableDeclarator){if(E(De.init,_e)||(De.parent.parent.type===h_.AST_NODE_TYPES.ForInStatement||De.parent.parent.type===h_.AST_NODE_TYPES.ForOfStatement)&&E(De.parent.parent.right,_e))return!0;break}else if(De.type===h_.AST_NODE_TYPES.AssignmentPattern){if(E(De.right,_e))return!0}else if([h_.AST_NODE_TYPES.ArrowFunctionExpression,h_.AST_NODE_TYPES.CatchClause,h_.AST_NODE_TYPES.ClassDeclaration,h_.AST_NODE_TYPES.ClassExpression,h_.AST_NODE_TYPES.ExportNamedDeclaration,h_.AST_NODE_TYPES.FunctionDeclaration,h_.AST_NODE_TYPES.FunctionExpression,h_.AST_NODE_TYPES.ImportDeclaration].includes(De.type))break;De=De.parent}return!1}function M(oe,ue){let me=ue.scope,le=ue.defs.at(0)?.parent?.range,ae=oe.scope,Ae=oe.defs.at(0),De=Ae?.name.range;return!!(le&&De&&le[0]=le[0]?!1:me?t.hoist==="functions"?!pJs.has(me.node.type):t.hoist==="types"?!dJs.has(me.node.type):t.hoist==="functions-and-types"?!pJs.has(me.node.type)&&!dJs.has(me.node.type):!0:!0}function G(oe){let ue=oe.identifiers.at(0);return ue?{column:ue.loc.start.column+1,global:!1,line:ue.loc.start.line}:{global:!0}}function K(oe){let ue=e.filename;return(0,cJs.isDefinitionFile)(ue)?oe.defs.some(me=>me.type===h_e.DefinitionType.Variable&&me.parent.declare||me.type===h_e.DefinitionType.ClassName&&me.node.declare||me.type===h_e.DefinitionType.TSEnumName&&me.node.declare||me.type===h_e.DefinitionType.TSModuleName&&me.node.declare):!1}function Z(oe){if(r(oe))return;let ue=oe.variables;for(let me of ue){if(me.identifiers.length===0||n(me)||h(me)||_(me)||A(me)||K(me))continue;let Te=oe.upper?h_.ASTUtils.findVariable(oe.upper,me.name):null;if(!Te||i(me,Te)||s(me,Te)||l(me,Te)||g(oe,me,Te))continue;let le="writeable"in Te;if((Te.identifiers.length>0||t.builtinGlobals&&le)&&!M(me,Te)&&!(t.ignoreOnInitialization&&k(me,Te))&&!(t.hoist!=="all"&&q(me,Te))){let ae=G(Te);e.report({node:me.identifiers[0],...ae.global?{messageId:"noShadowGlobal",data:{name:me.name}}:{messageId:"noShadow",data:{name:me.name,shadowedColumn:ae.column,shadowedLine:ae.line}}})}}}return{"Program:exit"(oe){let me=[...e.sourceCode.getScope(oe).childScopes];for(;me.length;){let Te=me.pop();me.push(...Te.childScopes),Z(Te)}}}}})});var gJs=j(E0n=>{"use strict";Object.defineProperty(E0n,"__esModule",{value:!0});var Der=Vo(),C3f=el();E0n.default=(0,C3f.createRule)({name:"no-this-alias",meta:{type:"suggestion",docs:{description:"Disallow aliasing `this`",recommended:"recommended"},messages:{thisAssignment:"Unexpected aliasing of 'this' to local variable.",thisDestructure:"Unexpected aliasing of members of 'this' to local variables."},schema:[{type:"object",additionalProperties:!1,properties:{allowDestructuring:{type:"boolean",description:"Whether to ignore destructurings, such as `const { props, state } = this`."},allowedNames:{type:"array",description:'Names to ignore, such as ["self"] for `const self = this;`.',items:{type:"string"}}}}]},defaultOptions:[{allowDestructuring:!0,allowedNames:[]}],create(e,[{allowDestructuring:t,allowedNames:r}]){return{"VariableDeclarator[init.type='ThisExpression'], AssignmentExpression[right.type='ThisExpression']"(n){let i=n.type===Der.AST_NODE_TYPES.VariableDeclarator?n.id:n.left;if(t&&i.type!==Der.AST_NODE_TYPES.Identifier)return;i.type===Der.AST_NODE_TYPES.Identifier&&r.includes(i.name)||e.report({node:i,messageId:i.type===Der.AST_NODE_TYPES.Identifier?"thisAssignment":"thisDestructure"})}}}})});var AJs=j(x0n=>{"use strict";Object.defineProperty(x0n,"__esModule",{value:!0});var w9=Vo(),b3f=el();x0n.default=(0,b3f.createRule)({name:"no-type-alias",meta:{type:"suggestion",deprecated:{deprecatedSince:"6.0.0",replacedBy:[{rule:{name:"@typescript-eslint/consistent-type-definitions",url:"https://typescript-eslint.io/rules/consistent-type-definitions"}}],url:"https://github.com/typescript-eslint/typescript-eslint/pull/6229"},docs:{description:"Disallow type aliases"},messages:{noCompositionAlias:"{{typeName}} in {{compositionType}} types are not allowed.",noTypeAlias:"Type {{alias}} are not allowed."},schema:[{type:"object",$defs:{expandedOptions:{type:"string",enum:["always","never","in-unions","in-intersections","in-unions-and-intersections"]},simpleOptions:{type:"string",enum:["always","never"]}},additionalProperties:!1,properties:{allowAliases:{$ref:"#/items/0/$defs/expandedOptions",description:"Whether to allow direct one-to-one type aliases."},allowCallbacks:{$ref:"#/items/0/$defs/simpleOptions",description:"Whether to allow type aliases for callbacks."},allowConditionalTypes:{$ref:"#/items/0/$defs/simpleOptions",description:"Whether to allow type aliases for conditional types."},allowConstructors:{$ref:"#/items/0/$defs/simpleOptions",description:"Whether to allow type aliases with constructors."},allowGenerics:{$ref:"#/items/0/$defs/simpleOptions",description:"Whether to allow type aliases with generic types."},allowLiterals:{$ref:"#/items/0/$defs/expandedOptions",description:"Whether to allow type aliases with object literal types."},allowMappedTypes:{$ref:"#/items/0/$defs/expandedOptions",description:"Whether to allow type aliases with mapped types."},allowTupleTypes:{$ref:"#/items/0/$defs/expandedOptions",description:"Whether to allow type aliases with tuple types."}}}]},defaultOptions:[{allowAliases:"never",allowCallbacks:"never",allowConditionalTypes:"never",allowConstructors:"never",allowGenerics:"never",allowLiterals:"never",allowMappedTypes:"never",allowTupleTypes:"never"}],create(e,[{allowAliases:t,allowCallbacks:r,allowConditionalTypes:n,allowConstructors:i,allowGenerics:s,allowLiterals:a,allowMappedTypes:u,allowTupleTypes:l}]){let f=["always","in-unions","in-unions-and-intersections"],p=["always","in-intersections","in-unions-and-intersections"],g=["in-unions","in-intersections","in-unions-and-intersections"],A=new Set([w9.AST_NODE_TYPES.TSArrayType,w9.AST_NODE_TYPES.TSImportType,w9.AST_NODE_TYPES.TSIndexedAccessType,w9.AST_NODE_TYPES.TSLiteralType,w9.AST_NODE_TYPES.TSTemplateLiteralType,w9.AST_NODE_TYPES.TSTypeQuery,w9.AST_NODE_TYPES.TSTypeReference]);function h(R,q,G){return!g.includes(G)||!R&&(q===w9.AST_NODE_TYPES.TSUnionType&&f.includes(G)||q===w9.AST_NODE_TYPES.TSIntersectionType&&p.includes(G))}function _(R,q,G,K){return G?e.report({node:R,messageId:"noTypeAlias",data:{alias:K.toLowerCase()}}):e.report({node:R,messageId:"noCompositionAlias",data:{compositionType:q===w9.AST_NODE_TYPES.TSUnionType?"union":"intersection",typeName:K}})}let E=R=>!!(R.node.type===w9.AST_NODE_TYPES.TSTupleType||R.node.type===w9.AST_NODE_TYPES.TSTypeOperator&&["keyof","readonly"].includes(R.node.operator)&&R.node.typeAnnotation&&R.node.typeAnnotation.type===w9.AST_NODE_TYPES.TSTupleType),b=R=>R.node.type===w9.AST_NODE_TYPES.TSTypeReference&&R.node.typeArguments!=null,D=(R,q,G,K)=>{(R==="never"||!h(q,G.compositionType,R))&&_(G.node,G.compositionType,q,K)};function k(R,q=!1){R.node.type===w9.AST_NODE_TYPES.TSFunctionType?r==="never"&&_(R.node,R.compositionType,q,"Callbacks"):R.node.type===w9.AST_NODE_TYPES.TSConditionalType?n==="never"&&_(R.node,R.compositionType,q,"Conditional types"):R.node.type===w9.AST_NODE_TYPES.TSConstructorType?i==="never"&&_(R.node,R.compositionType,q,"Constructors"):R.node.type===w9.AST_NODE_TYPES.TSTypeLiteral?D(a,q,R,"Literals"):R.node.type===w9.AST_NODE_TYPES.TSMappedType?D(u,q,R,"Mapped types"):E(R)?D(l,q,R,"Tuple Types"):b(R)?s==="never"&&_(R.node,R.compositionType,q,"Generics"):R.node.type.endsWith(w9.AST_TOKEN_TYPES.Keyword)||A.has(R.node.type)||R.node.type===w9.AST_NODE_TYPES.TSTypeOperator&&(R.node.operator==="keyof"||R.node.operator==="readonly"&&R.node.typeAnnotation&&A.has(R.node.typeAnnotation.type))?D(t,q,R,"Aliases"):_(R.node,R.compositionType,q,"Unhandled")}function M(R,q=null){return R.type===w9.AST_NODE_TYPES.TSUnionType||R.type===w9.AST_NODE_TYPES.TSIntersectionType?R.types.flatMap(G=>M(G,R.type)):[{node:R,compositionType:q}]}return{TSTypeAliasDeclaration(R){let q=M(R.typeAnnotation);q.length===1?k(q[0],!0):q.forEach(G=>{k(G)})}}}})});var _Js=j(y_e=>{"use strict";var I3f=y_e&&y_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),S3f=y_e&&y_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),yJs=y_e&&y_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i!v0n.isTypeFlagSet(D,wer.TypeFlags.Undefined|wer.TypeFlags.Null));return!(!(h.length>0)||!(h.length{"use strict";var D3f=Tpe&&Tpe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),w3f=Tpe&&Tpe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),B3f=Tpe&&Tpe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i=r.length))return{argument:r[l],asserts:u===ker.TypePredicateKind.AssertsIdentifier,type:f}}});var IJs=j(__e=>{"use strict";var N3f=__e&&__e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),O3f=__e&&__e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),CJs=__e&&__e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i","<=",">=","==","===","!=","!=="]);function Q3f(e){return M3f.has(e)}function j3f(e,t,r){switch(t){case"!=":return e!=r;case"!==":return e!==r;case"<":return e":return e>r;case">=":return e>=r}}var U3f=new Set([!0,!1,1,0]);__e.default=(0,ry.createRule)({name:"no-unnecessary-condition",meta:{type:"suggestion",docs:{description:"Disallow conditionals where the type is always truthy or always falsy",recommended:"strict",requiresTypeChecking:!0},hasSuggestions:!0,messages:{alwaysFalsy:"Unnecessary conditional, value is always falsy.",alwaysFalsyFunc:"This callback should return a conditional, but return is always falsy.",alwaysNullish:"Unnecessary conditional, left-hand side of `??` operator is always `null` or `undefined`.",alwaysTruthy:"Unnecessary conditional, value is always truthy.",alwaysTruthyFunc:"This callback should return a conditional, but return is always truthy.",comparisonBetweenLiteralTypes:"Unnecessary conditional, comparison is always {{trueOrFalse}}, since `{{left}} {{operator}} {{right}}` is {{trueOrFalse}}.",never:"Unnecessary conditional, value is `never`.",neverNullish:"Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined.",neverOptionalChain:"Unnecessary optional chain on a non-nullish value.",noOverlapBooleanExpression:"Unnecessary conditional, the types have no overlap.",noStrictNullCheck:"This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",suggestRemoveOptionalChain:"Remove unnecessary optional chain",typeGuardAlreadyIsType:"Unnecessary conditional, expression already has the type being checked by the {{typeGuardOrAssertionFunction}}."},schema:[{type:"object",additionalProperties:!1,properties:{allowConstantLoopConditions:{description:"Whether to ignore constant loop conditions, such as `while (true)`.",oneOf:[{type:"boolean",description:"Always ignore or not ignore the loop conditions"},{type:"string",description:"Which situations to ignore constant conditions in.",enum:["always","never","only-allowed-literals"]}]},allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:{type:"boolean",description:"Whether to not error when running with a tsconfig that has strictNullChecks turned."},checkTypePredicates:{type:"boolean",description:"Whether to check the asserted argument of a type predicate function for unnecessary conditions"}}}]},defaultOptions:[{allowConstantLoopConditions:"never",allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:!1,checkTypePredicates:!1}],create(e,[{allowConstantLoopConditions:t,allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:r,checkTypePredicates:n}]){let i=(0,ry.getParserServices)(e),s=i.program.getTypeChecker(),a=i.program.getCompilerOptions(),u=iJ.isStrictCompilerOptionEnabled(a,"strictNullChecks"),l=iJ.isCompilerOptionEnabled(a,"noUncheckedIndexedAccess"),f=q3f(t);!u&&r!==!0&&e.report({loc:{start:{column:0,line:0},end:{column:0,line:0}},messageId:"noStrictNullCheck"});function p(Ae){let De=(0,ry.getConstrainedTypeAtLocation)(i,Ae);return iJ.unionConstituents(De).some(_e=>s.isArrayType(_e))}function g(Ae){let De=(0,ry.getConstrainedTypeAtLocation)(i,Ae);return iJ.unionConstituents(De).some(_e=>s.isTupleType(_e))}function A(Ae){return Ae.type===w7.AST_NODE_TYPES.MemberExpression&&Ae.computed&&(p(Ae.object)||g(Ae.object)&&Ae.property.type!==w7.AST_NODE_TYPES.Literal)}function h(Ae){return iJ.unionConstituents(Ae).some(De=>(0,ry.isTypeAnyType)(De)||(0,ry.isTypeUnknownType)(De)||(0,ry.isTypeFlagSet)(De,B7.TypeFlags.TypeVariable))}function _(Ae){let De=i.getTypeAtLocation(Ae.object);if(Ae.computed){let at=i.getTypeAtLocation(Ae.property);return K(De,at)}let _e=Ae.property,Le=e.sourceCode.getText(_e),qe=De.getProperties().find(at=>at.name===Le);return!!(qe&&iJ.isSymbolFlagSet(qe,B7.SymbolFlags.Optional))}function E(Ae,De=!1,_e=Ae){if(Ae.type===w7.AST_NODE_TYPES.UnaryExpression&&Ae.operator==="!")return E(Ae.argument,!De,_e);if(!l&&A(Ae))return;if(Ae.type===w7.AST_NODE_TYPES.LogicalExpression&&Ae.operator!=="??")return E(Ae.right);let Le=(0,ry.getConstrainedTypeAtLocation)(i,Ae);if(h(Le))return;let qe=null;(0,ry.isTypeFlagSet)(Le,B7.TypeFlags.Never)?qe="never":(0,ry.isPossiblyTruthy)(Le)?(0,ry.isPossiblyFalsy)(Le)||(qe=De?"alwaysFalsy":"alwaysTruthy"):qe=De?"alwaysTruthy":"alwaysFalsy",qe&&e.report({node:_e,messageId:qe})}function b(Ae){let De=(0,ry.getConstrainedTypeAtLocation)(i,Ae);if((0,ry.isTypeFlagSet)(De,B7.TypeFlags.Any|B7.TypeFlags.Unknown|B7.TypeFlags.TypeParameter|B7.TypeFlags.TypeVariable))return;let _e=null;(0,ry.isTypeFlagSet)(De,B7.TypeFlags.Never)?_e="never":!L3f(De)&&!(Ae.type===w7.AST_NODE_TYPES.MemberExpression&&_(Ae))?(l||!A(Ae)&&!(Ae.type===w7.AST_NODE_TYPES.ChainExpression&&Ae.expression.type!==w7.AST_NODE_TYPES.TSNonNullExpression&&G(Ae.expression)))&&(_e="neverNullish"):F3f(De)&&(_e="alwaysNullish"),_e&&e.report({node:Ae,messageId:_e})}function D(Ae,De,_e,Le){let qe=(0,ry.getConstrainedTypeAtLocation)(i,De),at=(0,ry.getConstrainedTypeAtLocation)(i,_e),st=vJs(qe),Ur=vJs(at);if(st!=null&&Ur!=null){let Sr=j3f(st.value,Le,Ur.value);e.report({node:Ae,messageId:"comparisonBetweenLiteralTypes",data:{left:s.typeToString(qe),operator:Le,right:s.typeToString(at),trueOrFalse:Sr?"true":"false"}});return}if(u){let Sr=B7.TypeFlags.Undefined,xr=B7.TypeFlags.Null,dt=B7.TypeFlags.Void,It=(lr,$t)=>($t|=B7.TypeFlags.Any|B7.TypeFlags.Unknown|B7.TypeFlags.TypeParameter|B7.TypeFlags.TypeVariable,(Le==="=="||Le==="!=")&&($t|=xr|Sr|dt),(0,ry.isTypeFlagSet)(lr,$t));if(qe.flags===Sr&&!It(at,Sr|dt)||at.flags===Sr&&!It(qe,Sr|dt)||qe.flags===xr&&!It(at,xr)||at.flags===xr&&!It(qe,xr)){e.report({node:Ae,messageId:"noOverlapBooleanExpression"});return}}}function k(Ae){if(Ae.operator==="??"){b(Ae.left);return}E(Ae.left)}function M(Ae){f==="only-allowed-literals"&&Ae.test.type===w7.AST_NODE_TYPES.Literal&&U3f.has(Ae.test.value)||R(Ae)}function R(Ae){Ae.test!=null&&(f==="always"&&iJ.isTrueLiteralType((0,ry.getConstrainedTypeAtLocation)(i,Ae.test))||E(Ae.test))}function q(Ae){if(n){let De=(0,xJs.findTruthinessAssertedArgument)(i,Ae);De!=null&&E(De);let _e=(0,xJs.findTypeGuardAssertedArgument)(i,Ae);_e!=null&&(0,ry.getConstrainedTypeAtLocation)(i,_e.argument)===_e.type&&e.report({node:_e.argument,messageId:"typeGuardAlreadyIsType",data:{typeGuardOrAssertionFunction:_e.asserts?"assertion function":"type guard"}})}if((0,ry.isArrayMethodCallWithPredicate)(e,i,Ae)&&Ae.arguments.length){let De=Ae.arguments[0];if(De.type===w7.AST_NODE_TYPES.ArrowFunctionExpression||De.type===w7.AST_NODE_TYPES.FunctionExpression){if(De.body.type!==w7.AST_NODE_TYPES.BlockStatement)return E(De.body);let at=De.body.body;if(at.length===1&&at[0].type===w7.AST_NODE_TYPES.ReturnStatement&&at[0].argument)return E(at[0].argument)}let _e=iJ.getCallSignaturesOfType((0,ry.getConstrainedTypeAtLocation)(i,De)).map(at=>at.getReturnType());if(_e.length===0)return;let Le=!1,qe=!1;for(let at of _e){let{constraintType:st}=(0,ry.getConstraintInfo)(s,at);if(!st||(0,ry.isTypeAnyType)(st)||(0,ry.isTypeUnknownType)(st)||((0,ry.isPossiblyFalsy)(st)&&(Le=!0),(0,ry.isPossiblyTruthy)(st)&&(qe=!0),Le&&qe))return}if(!Le)return e.report({node:De,messageId:"alwaysTruthyFunc"});if(!qe)return e.report({node:De,messageId:"alwaysFalsyFunc"})}}function G(Ae){let De=Ae.type===w7.AST_NODE_TYPES.CallExpression?Ae.callee:Ae.object;return Ae.optional&&A(De)?!0:De.type===w7.AST_NODE_TYPES.MemberExpression||De.type===w7.AST_NODE_TYPES.CallExpression?G(De):!1}function K(Ae,De){if(De.isUnion())return De.types.some(Le=>K(Ae,Le));if(De.isNumberLiteral()||De.isStringLiteral()){let Le=(0,ry.getTypeOfPropertyOfName)(s,Ae,De.value.toString());if(Le)return(0,ry.isNullableType)(Le)}let _e=(0,ry.getTypeName)(s,De);return s.getIndexInfosOfType(Ae).some(Le=>(0,ry.getTypeName)(s,Le.keyType)===_e)}function Z(Ae){let De=(0,ry.getConstrainedTypeAtLocation)(i,Ae.object),_e=Ae.property;return De.isUnion()&&(0,ry.isIdentifier)(_e)?!De.types.some(qe=>{if(Ae.computed){let Ur=(0,ry.getConstrainedTypeAtLocation)(i,Ae.property);return K(qe,Ur)}let at=(0,ry.getTypeOfPropertyOfName)(s,qe,_e.name);return at?(0,ry.isNullableType)(at):s.getIndexInfosOfType(qe).some(Ur=>(0,ry.getTypeName)(s,Ur.keyType)==="string"&&(l||(0,ry.isNullableType)(Ur.type)))})&&(0,ry.isNullableType)(De):!1}function oe(Ae){let De=(0,ry.getConstrainedTypeAtLocation)(i,Ae.callee);return De.isUnion()?!De.types.some(Le=>Le.getCallSignatures().some(at=>(0,ry.isNullableType)(at.getReturnType())))&&(0,ry.isNullableType)(De):!1}function ue(Ae){let De=(0,ry.getConstrainedTypeAtLocation)(i,Ae),_e=Ae.type===w7.AST_NODE_TYPES.MemberExpression?!Z(Ae):Ae.type===w7.AST_NODE_TYPES.CallExpression?!oe(Ae):!0;return h(De)||_e&&(0,ry.isNullableType)(De)}function me(Ae,De,_e){if(!Ae.optional||!l&&G(Ae))return;let Le=Ae.type===w7.AST_NODE_TYPES.CallExpression?Ae.callee:Ae.object;if(ue(Le))return;let qe=(0,ry.nullThrows)(e.sourceCode.getTokenAfter(De,at=>at.type===w7.AST_TOKEN_TYPES.Punctuator&&at.value==="?."),ry.NullThrowsReasons.MissingToken("operator",Ae.type));e.report({loc:qe.loc,node:Ae,messageId:"neverOptionalChain",suggest:[{messageId:"suggestRemoveOptionalChain",fix(at){return at.replaceText(qe,_e)}}]})}function Te(Ae){me(Ae,Ae.object,Ae.computed?"":".")}function le(Ae){me(Ae,Ae.callee,"")}function ae(Ae){["&&=","||="].includes(Ae.operator)?E(Ae.left):Ae.operator==="??="&&b(Ae.left)}return{AssignmentExpression:ae,BinaryExpression(Ae){let{operator:De}=Ae;Q3f(De)&&D(Ae,Ae.left,Ae.right,De)},CallExpression:q,"CallExpression[optional = true]":le,ConditionalExpression:Ae=>E(Ae.test),DoWhileStatement:R,ForStatement:R,IfStatement:Ae=>E(Ae.test),LogicalExpression:k,"MemberExpression[optional = true]":Te,SwitchCase({parent:Ae,test:De}){De&&D(De,Ae.discriminant,De,"===")},WhileStatement:M}}});function q3f(e){return e===!0?"always":e===!1?"never":e}});var SJs=j(b0n=>{"use strict";Object.defineProperty(b0n,"__esModule",{value:!0});var Y3f=nL(),VO=Vo(),Byt=el(),G3f=new Set(["??=","&&=","=","||="]);b0n.default=(0,Byt.createRule)({name:"no-unnecessary-parameter-property-assignment",meta:{type:"suggestion",docs:{description:"Disallow unnecessary assignment of constructor property parameter"},messages:{unnecessaryAssign:"This assignment is unnecessary since it is already assigned by a parameter property."},schema:[]},defaultOptions:[],create(e){let t=[];function r(g){return g.type===VO.AST_NODE_TYPES.MemberExpression&&g.object.type===VO.AST_NODE_TYPES.ThisExpression}function n(g){return r(g)?g.property.type===VO.AST_NODE_TYPES.Identifier?g.property.name:g.computed?(0,Byt.getStaticStringValue)(g.property):null:null}function i(g){return!g||g.type===VO.AST_NODE_TYPES.FunctionDeclaration||g.type===VO.AST_NODE_TYPES.FunctionExpression||g.type===VO.AST_NODE_TYPES.ArrowFunctionExpression?g:i(g.parent)}function s(g){return!g||g.type===VO.AST_NODE_TYPES.PropertyDefinition?g:s(g.parent)}function a(g){return g?.type===VO.AST_NODE_TYPES.FunctionExpression&&VO.ASTUtils.isConstructor(g.parent)}function u(g){return e.sourceCode.getScope(g).references.find(_=>_.identifier.name===g.name)?.resolved?.defs.at(0)?.type===Y3f.DefinitionType.Parameter}function l(g,A){return g.type===VO.AST_NODE_TYPES.TSParameterProperty&&(g.parameter.type===VO.AST_NODE_TYPES.Identifier&&g.parameter.name===A||g.parameter.type===VO.AST_NODE_TYPES.AssignmentPattern&&g.parameter.left.name===A)}function f(g){return g.type===VO.AST_NODE_TYPES.Identifier?g:g.type===VO.AST_NODE_TYPES.TSAsExpression||g.type===VO.AST_NODE_TYPES.TSNonNullExpression?f(g.expression):null}function p(g){return g.type===VO.AST_NODE_TYPES.ArrowFunctionExpression&&g.parent.type===VO.AST_NODE_TYPES.CallExpression}return{ClassBody(){t.push({assignedBeforeConstructor:new Set,assignedBeforeUnnecessary:new Set,unnecessaryAssignments:[]})},"ClassBody:exit"(){let{assignedBeforeConstructor:g,unnecessaryAssignments:A}=(0,Byt.nullThrows)(t.pop(),"The top stack should exist");A.forEach(({name:h,node:_})=>{g.has(h)||e.report({node:_,messageId:"unnecessaryAssign"})})},"MethodDefinition[kind='constructor'] > FunctionExpression AssignmentExpression"(g){let A=n(g.left);if(!A)return;let h=i(g);if(h&&p(h)&&(h=i(h.parent)),!a(h))return;let{assignedBeforeUnnecessary:_,unnecessaryAssignments:E}=(0,Byt.nullThrows)(t.at(t.length-1),"The top of stack should exist");if(!G3f.has(g.operator)){_.add(A);return}let b=f(g.right);if(A!==b?.name||!u(b))return;h.params.some(k=>l(k,b.name))&&!_.has(A)&&E.push({name:A,node:g})},"PropertyDefinition AssignmentExpression"(g){let A=n(g.left);if(!A)return;let h=i(g);if(h&&!(p(h)&&s(g)?.value===h.parent))return;let{assignedBeforeConstructor:_}=(0,Byt.nullThrows)(t.at(-1),"The top stack should exist");_.add(A)}}}})});var BJs=j(E_e=>{"use strict";var V3f=E_e&&E_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),$3f=E_e&&E_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),wJs=E_e&&E_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;it.some(q=>q===R)))return!0;let M=a(D,s);return M!=null&&u(M)}function l(D,k,M){return s.getSymbolsInScope(D,k).find(q=>q.name===M)}function f(D,k){return D===s.getExportSymbolOfSymbol(k)}function p(D,k){let M=n.getSymbolAtLocation(D);if(M==null||!u(M))return!1;let R=n.getSymbolAtLocation(k);if(R==null)return!1;let q=i.get(D),G=l(q,R.flags,e.sourceCode.getText(k));return!!G&&f(R,G)}function g(D,k,M){!r&&p(k,M)&&(r=D,e.report({node:k,messageId:"unnecessaryQualifier",data:{name:e.sourceCode.getText(M)},fix(R){return R.removeRange([k.range[0],M.range[0]])}}))}function A(D){t.push(i.get(D))}function h(){t.pop()}function _(D){D===r&&(r=null)}function E(D){return D.type===TJs.AST_NODE_TYPES.MemberExpression&&!D.computed}function b(D){return D.type===TJs.AST_NODE_TYPES.Identifier||E(D)&&b(D.object)}return{'ExportNamedDeclaration[declaration.type="TSEnumDeclaration"]':A,'ExportNamedDeclaration[declaration.type="TSEnumDeclaration"]:exit':h,'ExportNamedDeclaration[declaration.type="TSModuleDeclaration"]':A,'ExportNamedDeclaration[declaration.type="TSModuleDeclaration"]:exit':h,"MemberExpression:exit":_,"MemberExpression[computed=false]"(D){let k=D.property;b(D.object)&&g(D,D.object,k)},TSEnumDeclaration:A,"TSEnumDeclaration:exit":h,"TSModuleDeclaration:exit":h,"TSModuleDeclaration > TSModuleBlock"(D){A(D.parent)},TSQualifiedName(D){g(D,D.left,D.right)},"TSQualifiedName:exit":_}}})});var RJs=j(x_e=>{"use strict";var H3f=x_e&&x_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),z3f=x_e&&x_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),NJs=x_e&&x_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let K=G.getSymbol();return!!(K?.valueDeclaration&&kJs.isEnumMember(K.valueDeclaration))})}let a=(0,_Z.isNodeOfType)(Dpe.TSESTree.AST_NODE_TYPES.Literal);function u(q){return q.type===Dpe.AST_NODE_TYPES.TemplateLiteral}function l(q){return q.type===Dpe.AST_NODE_TYPES.Identifier&&q.name==="Infinity"}function f(q){return q.type===Dpe.AST_NODE_TYPES.Identifier&&q.name==="NaN"}function p(q){return(0,_Z.isUndefinedIdentifier)(q)||l(q)||f(q)}function g(q,G){let K=(0,_Z.nullThrows)(e.sourceCode.getTokenByRangeStart(q.range[0]),_Z.NullThrowsReasons.MissingToken("`${","opening template literal")),Z=(0,_Z.nullThrows)(e.sourceCode.getTokenByRangeStart(G.range[0]),_Z.NullThrowsReasons.MissingToken("}","closing template literal"));return e.sourceCode.commentsExistBetween(K,Z)}function A(q){return q.quasis.length===2&&q.quasis[0].value.raw===""&&q.quasis[1].value.raw===""}function h(q){return q.type===Dpe.AST_NODE_TYPES.TemplateLiteral?q.expressions:q.types}function _(q){return h(q).map((G,K)=>({interpolation:G,nextQuasi:q.quasis[K+1],prevQuasi:q.quasis[K]}))}function E(q){let G=q.type===Dpe.AST_NODE_TYPES.TSLiteralType?q.literal:q;return a(G)?G:null}function b(q){let G=q.type===Dpe.AST_NODE_TYPES.TSLiteralType?q.literal:q;return u(G)?G:null}function D(q){let G=h(q);e.report({loc:(0,PJs.rangeToLoc)(e.sourceCode,[G[0].range[0]-2,G[0].range[1]+1]),messageId:"noUnnecessaryTemplateExpression",fix(K){let Z=(0,_Z.getMovedNodeCode)({destinationNode:q,nodeToMove:G[0],sourceCode:e.sourceCode});return K.replaceText(q,Z)}})}function k({interpolation:q,nextQuasi:G,prevQuasi:K}){return g(K,G)?!1:p(q)?!0:a(q)?Ner(G.value.raw)?!(typeof q.value=="string"&&Per(q.value)):!0:u(q)?Ner(G.value.raw)?!(q.quasis.length===1&&Per(q.quasis[0].value.raw)):!0:!1}function M({interpolation:q,nextQuasi:G,prevQuasi:K}){if(g(K,G))return!1;let Z=E(q);if(Z)return Ner(G.value.raw)?!(typeof Z.value=="string"&&Per(Z.value)):!0;if(q.type===Dpe.AST_NODE_TYPES.TSNullKeyword||q.type===Dpe.AST_NODE_TYPES.TSUndefinedKeyword)return!0;let oe=b(q);return oe?Ner(G.value.raw)?!(oe.quasis.length===1&&Per(oe.quasis[0].value.raw)):!0:!1}function R(q){let G=!1,K=[],Z=[...q].reverse();for(let{interpolation:oe,nextQuasi:ue,prevQuasi:me}of Z){let Te=[];ue.value.raw!==""&&(G=ue.value.raw.startsWith("{"));let le=E(oe),ae=b(oe);if(le){let _e=(typeof le.value=="string"?le.raw.slice(1,-1):String(le.value).replaceAll("\\","\\\\")).replaceAll(new RegExp(`${OJs.source}(\`|\\\${)`,"g"),"\\$1");G&&I0n(_e)&&(_e=_e.replaceAll(/\$$/g,"\\$")),_e.length!==0&&(G=_e.startsWith("{")),Te.push(Le=>[Le.replaceText(le,_e)])}else ae?(G&&I0n(ae.quasis[ae.quasis.length-1].value.raw)&&Te.push(_e=>[_e.replaceTextRange([ae.range[1]-2,ae.range[1]-2],"\\")]),ae.quasis.length===1&&ae.quasis[0].value.raw.length!==0&&(G=ae.quasis[0].value.raw.startsWith("{")),Te.push(_e=>[_e.removeRange([ae.range[0],ae.range[0]+1]),_e.removeRange([ae.range[1]-1,ae.range[1]])])):G=!1;G&&I0n(me.value.raw)&&Te.push(_e=>[_e.replaceTextRange([me.range[1]-3,me.range[1]-2],"\\$")]);let Ae=me.range[1]-2,De=ue.range[0]+1;K.push({loc:(0,PJs.rangeToLoc)(e.sourceCode,[Ae,De]),messageId:"noUnnecessaryTemplateExpression",fix(_e){return[_e.removeRange([Ae,oe.range[0]]),_e.removeRange([oe.range[1],De]),...Te.flatMap(Le=>Le(_e))]}})}return K}return{TemplateLiteral(q){if(q.parent.type===Dpe.AST_NODE_TYPES.TaggedTemplateExpression)return;if(A(q)&&!g(q.quasis[0],q.quasis[1])){let{constraintType:K}=(0,_Z.getConstraintInfo)(r,t.getTypeAtLocation(q.expressions[0]));if(K&&i(K)){D(q);return}}let G=_(q).filter(k);for(let K of R(G))e.report(K)},TSTemplateLiteralType(q){if(A(q)&&!g(q.quasis[0],q.quasis[1])){let{constraintType:K,isTypeParameter:Z}=(0,_Z.getConstraintInfo)(r,t.getTypeAtLocation(q.types[0]));if(K&&!Z&&i(K)&&!s(K)){D(q);return}}let G=_(q).filter(M);for(let K of R(G))e.report(K)}}}});function Per(e){return/^\s*$/.test(e)}function Ner(e){return e.startsWith(` `)||e.startsWith(`\r `)}});var MJs=j(v_e=>{"use strict";var X3f=v_e&&v_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),Z3f=v_e&&v_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),LJs=v_e&&v_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i_!==h.typeArguments[E]))return}e.report({node:l,messageId:"unnecessaryTypeParameter",fix:A=>A.removeRange(u===0?s.range:[s.params[u-1].range[1],l.range[1]])})}return{TSTypeParameterInstantiation(s){let a=t.esTreeNodeToTSNodeMap.get(s),u=t9f(s,a,r);u&&i(s,u)}}}});function t9f(e,t,r){if(rj.isExpressionWithTypeArguments(t))return T0n(e,t.expression,r);if(rj.isTypeReferenceNode(t))return T0n(e,t.typeName,r);if(rj.isCallExpression(t)||rj.isNewExpression(t)||rj.isTaggedTemplateExpression(t)||rj.isJsxOpeningElement(t)||rj.isJsxSelfClosingElement(t))return r9f(e,t,r)}function T0n(e,t,r){let n=r.getSymbolAtLocation(t);if(!n)return;let s=n9f(n,r).getDeclarations();if(!s)return;let a=a9f(e,s);return(0,Oer.findFirstResult)(a,u=>{if(rj.isTypeAliasDeclaration(u)||rj.isInterfaceDeclaration(u)||rj.isClassLike(u))return u.typeParameters;if(rj.isVariableDeclaration(u))return o9f(n,r)?.typeParameters})}function r9f(e,t,r){let i=r.getResolvedSignature(t)?.getDeclaration();return i?i.typeParameters:rj.isNewExpression(t)?T0n(e,t.expression,r):void 0}function n9f(e,t){return e9f.isSymbolFlagSet(e,rj.SymbolFlags.Alias)?t.getAliasedSymbol(e):e}function i9f(e){return e.parent.type===S0n.AST_NODE_TYPES.TSInterfaceHeritage||e.parent.type===S0n.AST_NODE_TYPES.TSTypeReference||e.parent.type===S0n.AST_NODE_TYPES.TSClassImplements}function FJs(e){return rj.isTypeAliasDeclaration(e)||rj.isInterfaceDeclaration(e)}function s9f(e,t){let r=FJs(e),n=FJs(t);return Number(n)-Number(r)}function a9f(e,t){let r=[...t].sort(s9f);return i9f(e)?r:r.reverse()}function o9f(e,t){return t.getTypeOfSymbol(e).getConstructSignatures().at(0)?.getDeclaration()}});var jJs=j(C_e=>{"use strict";var u9f=C_e&&C_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),l9f=C_e&&C_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),QJs=C_e&&C_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i!(0,Lb.isTypeFlagSet)(b,DP.TypeFlags.Undefined)),_=l$e.unionConstituents(A).filter(b=>!(0,Lb.isTypeFlagSet)(b,DP.TypeFlags.Undefined));if(h.length!==_.length)return!1;let E=new Set(h);return _.every(b=>E.has(b))}return!1}function p(g){return g.isLiteral()||l$e.isBooleanLiteralType(g)}return{"TSAsExpression, TSTypeAssertion"(g){if(t.typesToIgnore?.includes(e.sourceCode.getText(g.typeAnnotation)))return;let A=r.getTypeAtLocation(g),h=p(A),_=a(g.typeAnnotation);if(!t.checkLiteralConstAssertions&&h&&_)return;let E=r.getTypeAtLocation(g.expression),b=f(E,A),D=h?l(g):!_;b&&D&&e.report({node:g,messageId:"unnecessaryAssertion",fix(k){if(g.type===Lse.AST_NODE_TYPES.TSTypeAssertion){let q=(0,Lb.nullThrows)(e.sourceCode.getTokenBefore(g.typeAnnotation,K=>K.type===Lse.AST_TOKEN_TYPES.Punctuator&&K.value==="<"),Lb.NullThrowsReasons.MissingToken("<","type annotation")),G=(0,Lb.nullThrows)(e.sourceCode.getTokenAfter(g.typeAnnotation,K=>K.type===Lse.AST_TOKEN_TYPES.Punctuator&&K.value===">"),Lb.NullThrowsReasons.MissingToken(">","type annotation"));return k.removeRange([q.range[0],G.range[1]])}let M=(0,Lb.nullThrows)(e.sourceCode.getTokenAfter(g.expression,q=>q.type===Lse.AST_TOKEN_TYPES.Identifier&&q.value==="as"),Lb.NullThrowsReasons.MissingToken(">","type annotation")),R=(0,Lb.nullThrows)(e.sourceCode.getTokenBefore(M,{includeComments:!0}),Lb.NullThrowsReasons.MissingToken("comment","as"));return k.removeRange([R.range[1],g.range[1]])}})},TSNonNullExpression(g){let A=E=>{let b=(0,Lb.nullThrows)(e.sourceCode.getLastToken(g,D=>D.value==="!"),Lb.NullThrowsReasons.MissingToken("exclamation mark","non-null assertion"));return E.removeRange(b.range)};if(g.parent.type===Lse.AST_NODE_TYPES.AssignmentExpression&&g.parent.operator==="="){g.parent.left===g&&e.report({node:g,messageId:"contextuallyUnnecessary",fix:A});return}let h=r.esTreeNodeToTSNodeMap.get(g),_=(0,Lb.getConstrainedTypeAtLocation)(r,g.expression);if((0,Lb.isNullableType)(_)){let E=(0,Lb.getContextualType)(n,h);if(E){if((0,Lb.isTypeFlagSet)(_,DP.TypeFlags.Unknown)&&!(0,Lb.isTypeFlagSet)(E,DP.TypeFlags.Unknown))return;let b=(0,Lb.isTypeFlagSet)(_,DP.TypeFlags.Undefined),D=(0,Lb.isTypeFlagSet)(_,DP.TypeFlags.Null),k=(0,Lb.isTypeFlagSet)(_,DP.TypeFlags.Void),M=(0,Lb.isTypeFlagSet)(E,DP.TypeFlags.Undefined),R=(0,Lb.isTypeFlagSet)(E,DP.TypeFlags.Null),q=(0,Lb.isTypeFlagSet)(E,DP.TypeFlags.Void);(!b||M)&&(!D||R)&&(!k||q)&&e.report({node:g,messageId:"contextuallyUnnecessary",fix:A})}}else{if(g.expression.type===Lse.AST_NODE_TYPES.Identifier&&s(g.expression))return;e.report({node:g,messageId:"unnecessaryAssertion",fix:A})}}}}})});var qJs=j(b_e=>{"use strict";var c9f=b_e&&b_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),f9f=b_e&&b_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),p9f=b_e&&b_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let u=t.get(s.constraint.type);function l(){return!a||!n?!1:s.parent.params.length===1&&e.sourceCode.getTokensAfter(s)[0].value!==","&&!s.default}u&&e.report({node:s,messageId:"unnecessaryConstraint",data:{name:s.name.name,constraint:u},suggest:[{messageId:"removeUnnecessaryConstraint",data:{constraint:u},fix(f){return f.replaceTextRange([s.name.range[1],s.constraint.range[1]],l()?",":"")}}]})};return{":not(ArrowFunctionExpression) > TSTypeParameterDeclaration > TSTypeParameter[constraint]"(s){i(s,!1)},"ArrowFunctionExpression > TSTypeParameterDeclaration > TSTypeParameter[constraint]"(s){i(s,!0)}}}})});var VJs=j(I_e=>{"use strict";var g9f=I_e&&I_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),A9f=I_e&&I_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),GJs=I_e&&I_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i(0,ek.isTypeFlagSet)(a,s))}let r=(0,ek.getParserServices)(e);function n(i,s,a,u,l){let f=l?i.parent:i,p=r.getTypeAtLocation(i.argument);if(t(p,s)){let g={node:f,innerNode:[i.argument],sourceCode:e.sourceCode};e.report({loc:{start:f.loc.start,end:{column:i.loc.start.column+1,line:i.loc.start.line}},messageId:"unnecessaryTypeConversion",data:{type:a,violation:u},suggest:[{messageId:"suggestRemove",fix:(0,ek.getWrappingFixer)(g)},{messageId:"suggestSatisfies",data:{type:a},fix:(0,ek.getWrappingFixer)({...g,wrap:A=>`${A} satisfies ${a}`})}]})}}return{'AssignmentExpression[operator = "+="]'(i){if(i.right.type===kyt.AST_NODE_TYPES.Literal&&i.right.value===""&&t(r.getTypeAtLocation(i.left),sJ.TypeFlags.StringLike)){let s={node:i,innerNode:[i.left],sourceCode:e.sourceCode};e.report({node:i,messageId:"unnecessaryTypeConversion",data:{type:"string",violation:"Concatenating a string with ''"},suggest:[{messageId:"suggestRemove",fix:i.parent.type===kyt.AST_NODE_TYPES.ExpressionStatement?a=>[a.removeRange([i.parent.range[0],i.parent.range[1]])]:(0,ek.getWrappingFixer)(s)},{messageId:"suggestSatisfies",data:{type:"string"},fix:(0,ek.getWrappingFixer)({...s,wrap:a=>`${a} satisfies string`})}]})}},'BinaryExpression[operator = "+"]'(i){if(i.right.type===kyt.AST_NODE_TYPES.Literal&&i.right.value===""&&t(r.getTypeAtLocation(i.left),sJ.TypeFlags.StringLike)){let s={node:i,innerNode:[i.left],sourceCode:e.sourceCode};e.report({loc:{start:i.left.loc.end,end:i.loc.end},messageId:"unnecessaryTypeConversion",data:{type:"string",violation:"Concatenating a string with ''"},suggest:[{messageId:"suggestRemove",fix:(0,ek.getWrappingFixer)(s)},{messageId:"suggestSatisfies",data:{type:"string"},fix:(0,ek.getWrappingFixer)({...s,wrap:a=>`${a} satisfies string`})}]})}else if(i.left.type===kyt.AST_NODE_TYPES.Literal&&i.left.value===""&&t(r.getTypeAtLocation(i.right),sJ.TypeFlags.StringLike)){let s={node:i,innerNode:[i.right],sourceCode:e.sourceCode};e.report({loc:{start:i.loc.start,end:i.right.loc.start},messageId:"unnecessaryTypeConversion",data:{type:"string",violation:"Concatenating '' with a string"},suggest:[{messageId:"suggestRemove",fix:(0,ek.getWrappingFixer)(s)},{messageId:"suggestSatisfies",data:{type:"string"},fix:(0,ek.getWrappingFixer)({...s,wrap:a=>`${a} satisfies string`})}]})}},CallExpression(i){let s=i.callee,a={BigInt:sJ.TypeFlags.BigIntLike,Boolean:sJ.TypeFlags.BooleanLike,Number:sJ.TypeFlags.NumberLike,String:sJ.TypeFlags.StringLike};if(s.type!==kyt.AST_NODE_TYPES.Identifier||!(s.name in a))return;let u=a[s.name];if(e.sourceCode.getScope(i).set.get(s.name)?.defs.length||!t((0,ek.getConstrainedTypeAtLocation)(r,i.arguments[0]),u))return;let p={node:i,innerNode:[i.arguments[0]],sourceCode:e.sourceCode},g=s.name.toLowerCase();e.report({node:s,messageId:"unnecessaryTypeConversion",data:{type:s.name.toLowerCase(),violation:`Passing a ${g} to ${s.name}()`},suggest:[{messageId:"suggestRemove",fix:(0,ek.getWrappingFixer)(p)},{messageId:"suggestSatisfies",data:{type:g},fix:(0,ek.getWrappingFixer)({...p,wrap:A=>`${A} satisfies ${g}`})}]})},'CallExpression > MemberExpression.callee > Identifier[name = "toString"].property'(i){let s=i.parent,a=(0,ek.getConstrainedTypeAtLocation)(r,s.object);if(!(h9f(a)||y9f(a))&&t(a,sJ.TypeFlags.StringLike)){let u={node:s.parent,innerNode:[s.object],sourceCode:e.sourceCode};e.report({loc:{start:s.property.loc.start,end:s.parent.loc.end},messageId:"unnecessaryTypeConversion",data:{type:"string",violation:"Calling a string's .toString() method"},suggest:[{messageId:"suggestRemove",fix:(0,ek.getWrappingFixer)(u)},{messageId:"suggestSatisfies",data:{type:"string"},fix:(0,ek.getWrappingFixer)({...u,wrap:l=>`${l} satisfies string`})}]})}},'UnaryExpression[operator = "!"] > UnaryExpression[operator = "!"]'(i){n(i,sJ.TypeFlags.BooleanLike,"boolean","Using !! on a boolean",!0)},'UnaryExpression[operator = "+"]'(i){n(i,sJ.TypeFlags.NumberLike,"number","Using the unary + operator on a number",!1)},'UnaryExpression[operator = "~"] > UnaryExpression[operator = "~"]'(i){let s=i.parent,a=r.getTypeAtLocation(i.argument);if(YJs.unionConstituents(a).every(u=>(0,ek.isTypeFlagSet)(u,sJ.TypeFlags.NumberLiteral)&&Number.isInteger(u.value))){let u={node:s,innerNode:[i.argument],sourceCode:e.sourceCode};e.report({loc:{start:s.loc.start,end:{column:i.loc.start.column+1,line:i.loc.start.line}},messageId:"unnecessaryTypeConversion",data:{type:"number",violation:"Using ~~ on an integer"},suggest:[{messageId:"suggestRemove",fix:(0,ek.getWrappingFixer)(u)},{messageId:"suggestSatisfies",data:{type:"number"},fix:(0,ek.getWrappingFixer)({...u,wrap:l=>`${l} satisfies number`})}]})}}}}})});var JJs=j(S_e=>{"use strict";var _9f=S_e&&S_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),E9f=S_e&&S_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),$Js=S_e&&S_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let h=l.set.get(p.name.name);return h?.isTypeVariable?h:void 0})(),"Type parameter should be present in scope's variables.");if(x9f(p,g.references,n.body?.range[0]??n.returnType?.range[1]))continue;u??=v9f(a,s);let A=u.get(f.name);!A||A>2||e.report({node:p,messageId:"sole",data:{name:f.name.text,descriptor:i,uses:A===1?"never used":"used only once"},suggest:[{messageId:"replaceUsagesWithConstraint",*fix(h){let _=p.constraint,E=_!=null&&_.type!==GY.AST_NODE_TYPES.TSAnyKeyword?e.sourceCode.getText(_):"unknown";for(let D of g.references)if(D.isTypeReference){let k=D.identifier,M=_?.type===GY.AST_NODE_TYPES.TSUnionType||_?.type===GY.AST_NODE_TYPES.TSIntersectionType||_?.type===GY.AST_NODE_TYPES.TSConditionalType,R=[GY.AST_NODE_TYPES.TSArrayType,GY.AST_NODE_TYPES.TSIndexedAccessType,GY.AST_NODE_TYPES.TSIntersectionType,GY.AST_NODE_TYPES.TSUnionType].some(q=>k.parent.parent.type===q);M&&R?yield(0,Mse.getWrappingFixer)({node:k,innerNode:_,sourceCode:e.sourceCode,wrap:G=>G})(h):yield h.replaceText(k,E)}let b=(0,Mse.nullThrows)(n.typeParameters,"node should have type parameters");if(b.params.length===1)yield h.remove(b);else if(b.params.indexOf(p)===0){let k=(0,Mse.nullThrows)(e.sourceCode.getTokenAfter(p,R=>R.value===","),Mse.NullThrowsReasons.MissingToken("comma","type parameter list")),M=(0,Mse.nullThrows)(e.sourceCode.getTokenAfter(k,{includeComments:!0}),Mse.NullThrowsReasons.MissingToken("token","type parameter list"));yield h.removeRange([p.range[0],M.range[0]])}else{let k=(0,Mse.nullThrows)(e.sourceCode.getTokenBefore(p,M=>M.value===","),Mse.NullThrowsReasons.MissingToken("comma","type parameter list"));yield h.removeRange([k.range[0],p.range[1]])}}}]})}}return{[["ArrowFunctionExpression[typeParameters]","FunctionDeclaration[typeParameters]","FunctionExpression[typeParameters]","TSCallSignatureDeclaration[typeParameters]","TSConstructorType[typeParameters]","TSDeclareFunction[typeParameters]","TSEmptyBodyFunctionExpression[typeParameters]","TSFunctionType[typeParameters]","TSMethodSignature[typeParameters]"].join(", ")](n){r(n,"function")},[["ClassDeclaration[typeParameters]","ClassExpression[typeParameters]"].join(", ")](n){r(n,"class")}}}});function x9f(e,t,r=1/0){let n=0;for(let i of t)if(!(i.identifier.range[0]e.range[0])&&!(i.identifier.range[0]>r)&&!(!i.isTypeReference||i.identifier.name!==e.name.name)){if(i.identifier.parent.type===GY.AST_NODE_TYPES.TSTypeReference){let s=KJs(i.identifier.parent.parent);if(s.type===GY.AST_NODE_TYPES.TSTypeParameterInstantiation&&s.params.includes(i.identifier.parent)&&!(s.parent.type===GY.AST_NODE_TYPES.TSTypeReference&&s.parent.typeName.type===GY.AST_NODE_TYPES.Identifier&&["Array","ReadonlyArray"].includes(s.parent.typeName.name)))return!0}if(n+=1,n>=2)return!0}return!1}function KJs(e){switch(e.type){case GY.AST_NODE_TYPES.TSIntersectionType:case GY.AST_NODE_TYPES.TSUnionType:return KJs(e.parent);default:return e}}function v9f(e,t){let r=new Map;if(B0n.isClassLike(t)){for(let n of t.typeParameters)w0n(e,n,r,!0);for(let n of t.members)w0n(e,n,r,!0)}else w0n(e,t,r,!1);return r}function w0n(e,t,r,n){let i=new Set,s=e.getTypeAtLocation(t),a=new Map,u=new Set,l=!1,f=!1;(B0n.isCallSignatureDeclaration(t)||B0n.isConstructorDeclaration(t))&&(l=!0,h(e.getSignatureFromDeclaration(t))),l||p(s,!1);function p(b,D,k=!1){if(!(!b||A(b)>9))if(KTe.isTypeParameter(b)){let M=b.getSymbol()?.getDeclarations()?.[0];M&&(g(M.name,D),M.constraint&&!u.has(M.constraint)&&(u.add(M.constraint),p(e.getTypeAtLocation(M.constraint),!1)),M.default&&!f&&(f=!0,p(e.getTypeAtLocation(M.default),!1)))}else if(b.aliasTypeArguments)E(b.aliasTypeArguments,!0);else if(KTe.isUnionOrIntersectionType(b))E(b.types,D);else if(KTe.isIndexedAccessType(b))p(b.objectType,D),p(b.indexType,D);else if(KTe.isTypeReference(b))for(let M of b.typeArguments??[]){let R=n||D;R||=KTe.isTupleType(b.target)?k&&!b.target.readonly:e.isArrayType(b.target)?k&&b.symbol?.getName()==="Array":!0,p(M,R,k)}else if(KTe.isTemplateLiteralType(b))for(let M of b.types)p(M,D);else if(KTe.isConditionalType(b))p(b.checkType,D),p(b.extendsType,D);else if(KTe.isObjectType(b)){let M=b.getProperties();_(M,!1),C9f(b)&&(p(b.typeParameter,!1),M.length===0&&p(b.templateType??b.constraintType,!1)),p(b.getNumberIndexType(),!0),p(b.getStringIndexType(),!0),b.getCallSignatures().forEach(R=>{l=!0,h(R)}),b.getConstructSignatures().forEach(R=>{l=!0,h(R)})}else b9f(b)&&p(b.type,D)}function g(b,D){let k=r.get(b)??0,M=D?2:1;r.set(b,k+M)}function A(b){let D=(a.get(b)??0)+1;return a.set(b,D),D}function h(b){if(b){b.thisParameter&&p(e.getTypeOfSymbol(b.thisParameter),!1);for(let D of b.parameters)p(e.getTypeOfSymbol(D),!1);for(let D of b.getTypeParameters()??[])p(D,!1);p(e.getTypePredicateOfSignature(b)?.type??b.getReturnType(),!1,!0)}}function _(b,D){if(!i.has(b)){i.add(b);for(let k of b)p(e.getTypeOfSymbol(k),D)}}function E(b,D){for(let k of b)p(k,D)}}function C9f(e){return"typeParameter"in e}function b9f(e){return"type"in e&&!!e.type}});var WJs=j(D_e=>{"use strict";var I9f=D_e&&D_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),S9f=D_e&&D_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),zJs=D_e&&D_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i=this.paramTypes.length||this.hasConsumedArguments){if(this.restType==null)return null;switch(this.restType.kind){case JTe.Tuple:{let r=this.restType.typeArguments;if(this.hasConsumedArguments)return r[r.length-1];let n=t-this.restType.index;return n>=r.length?r[r.length-1]:r[n]}case JTe.Array:case JTe.Other:return this.restType.type}}return this.paramTypes[t]}};D_e.default=(0,T_e.createRule)({name:"no-unsafe-argument",meta:{type:"problem",docs:{description:"Disallow calling a function with a value with type `any`",recommended:"recommended",requiresTypeChecking:!0},messages:{unsafeArgument:"Unsafe argument of type {{sender}} assigned to a parameter of type {{receiver}}.",unsafeArraySpread:"Unsafe spread of an {{sender}} array type.",unsafeSpread:"Unsafe spread of an {{sender}} type.",unsafeTupleSpread:"Unsafe spread of a tuple type. The argument is {{sender}} and is assigned to a parameter of type {{receiver}}."},schema:[]},defaultOptions:[],create(e){let t=(0,T_e.getParserServices)(e),r=t.program.getTypeChecker();function n(u){return k0n.isIntrinsicErrorType(u)?"error typed":`\`${r.typeToString(u)}\``}function i(u){return r.isArrayType(u)&&k0n.isIntrinsicErrorType(r.getTypeArguments(u)[0])?"error":n(u)}function s(u){return k0n.isIntrinsicErrorType(u)?"error typed":`of type \`${r.typeToString(u)}\``}function a(u,l,f){if(u.length===0||(0,T_e.isTypeAnyType)(t.getTypeAtLocation(l)))return;let p=t.esTreeNodeToTSNodeMap.get(f),g=(0,T_e.nullThrows)(P0n.create(r,p),"Expected to a signature resolved");f.type===HJs.AST_NODE_TYPES.TaggedTemplateExpression&&g.getNextParameterType();for(let A of u)switch(A.type){case HJs.AST_NODE_TYPES.SpreadElement:{let h=t.getTypeAtLocation(A.argument);if((0,T_e.isTypeAnyType)(h))e.report({node:A,messageId:"unsafeSpread",data:{sender:n(h)}});else if((0,T_e.isTypeAnyArrayType)(h,r))e.report({node:A,messageId:"unsafeArraySpread",data:{sender:i(h)}});else if(r.isTupleType(h)){let _=r.getTypeArguments(h);for(let E of _){let b=g.getNextParameterType();if(b==null)continue;(0,T_e.isUnsafeAssignment)(E,b,r,null)&&e.report({node:A,messageId:"unsafeTupleSpread",data:{receiver:n(b),sender:s(E)}})}h.target.combinedFlags&T9f.ElementFlags.Variable&&g.consumeRemainingArguments()}break}default:{let h=g.getNextParameterType();if(h==null)continue;let _=t.getTypeAtLocation(A);(0,T_e.isUnsafeAssignment)(_,h,r,A)&&e.report({node:A,messageId:"unsafeArgument",data:{receiver:n(h),sender:n(_)}})}}}return{"CallExpression, NewExpression"(u){a(u.arguments,u.callee,u)},TaggedTemplateExpression(u){a(u.quasi.expressions,u.tag,u)}}}})});var ZJs=j(B_e=>{"use strict";var D9f=B_e&&B_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),w9f=B_e&&B_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),B9f=B_e&&B_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i[D.getName(),r.getTypeOfSymbolAtLocation(D,_)])),b=!1;for(let D of A.properties){if(D.type===nj.AST_NODE_TYPES.RestElement)continue;let k;if(!D.computed)k=D.key.type===nj.AST_NODE_TYPES.Identifier?D.key.name:String(D.key.value);else if(D.key.type===nj.AST_NODE_TYPES.Literal)k=String(D.key.value);else if(D.key.type===nj.AST_NODE_TYPES.TemplateLiteral&&D.key.quasis.length===1)k=D.key.quasis[0].value.cooked;else continue;let M=E.get(k);M&&((0,wP.isTypeAnyType)(M)?(e.report({node:D.value,messageId:"unsafeObjectPattern",data:g(M)}),b=!0):D.value.type===nj.AST_NODE_TYPES.ArrayPattern?b=a(D.value,M,_):D.value.type===nj.AST_NODE_TYPES.ObjectPattern&&(b=l(D.value,M,_)))}return b}function f(A,h,_,E){let b=t.esTreeNodeToTSNodeMap.get(A),D=E===w_e.Contextual?(0,wP.getContextualType)(r,b)??t.getTypeAtLocation(A):t.getTypeAtLocation(A),k=t.getTypeAtLocation(h);if((0,wP.isTypeAnyType)(k)){if((0,wP.isTypeUnknownType)(D))return!1;let G="anyAssignment";if(!i){let K=(0,wP.getThisExpression)(h);K&&(0,wP.isTypeAnyType)((0,wP.getConstrainedTypeAtLocation)(t,K))&&(G="anyAssignmentThis")}return e.report({node:_,messageId:G,data:g(k)}),!0}if(E===w_e.None)return!1;let M=(0,wP.isUnsafeAssignment)(k,D,r,h);if(!M)return!1;let{receiver:R,sender:q}=M;return e.report({node:_,messageId:"unsafeAssignment",data:g(q,R)}),!0}function p(A){return A?w_e.Basic:w_e.None}function g(A,h){return h?{receiver:`\`${r.typeToString(h)}\``,sender:`\`${r.typeToString(A)}\``}:{sender:XJs.isIntrinsicErrorType(A)?"error typed":"`any`"}}return{"AccessorProperty[value != null]"(A){f(A.key,A.value,A,p(A.typeAnnotation))},'AssignmentExpression[operator = "="], AssignmentPattern'(A){let h=f(A.left,A.right,A,w_e.Basic);h||(h=s(A.left,A.right)),h||u(A.left,A.right)},"PropertyDefinition[value != null]"(A){f(A.key,A.value,A,p(A.typeAnnotation))},"VariableDeclarator[init != null]"(A){let h=(0,wP.nullThrows)(A.init,wP.NullThrowsReasons.MissingToken(A.type,"init")),_=f(A.id,h,A,p(A.id.typeAnnotation));_||(_=s(A.id,h)),_||u(A.id,h)},":not(ObjectPattern) > Property"(A){A.value.type===nj.AST_NODE_TYPES.AssignmentPattern||A.value.type===nj.AST_NODE_TYPES.TSEmptyBodyFunctionExpression||f(A.key,A.value,A,w_e.Contextual)},"ArrayExpression > SpreadElement"(A){let h=t.getTypeAtLocation(A.argument);((0,wP.isTypeAnyType)(h)||(0,wP.isTypeAnyArrayType)(h,r))&&e.report({node:A,messageId:"unsafeArraySpread",data:g(h)})},"JSXAttribute[value != null]"(A){let h=(0,wP.nullThrows)(A.value,wP.NullThrowsReasons.MissingToken(A.type,"value"));h.type!==nj.AST_NODE_TYPES.JSXExpressionContainer||h.expression.type===nj.AST_NODE_TYPES.JSXEmptyExpression||f(A.name,h.expression,h.expression,w_e.Contextual)}}}})});var eHs=j(k_e=>{"use strict";var k9f=k_e&&k_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),P9f=k_e&&k_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),N9f=k_e&&k_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i0)return;let p=l.getCallSignatures();if(u==="unsafeNew"){if(p.some(g=>!N0n.isIntrinsicVoidType(g.getReturnType())))return}else if(p.length>0)return;e.report({node:a,messageId:u,data:{type:"`Function`"}});return}}return{"CallExpression > *.callee"(s){i(s,s,"unsafeCall")},NewExpression(s){i(s.callee,s,"unsafeNew")},"TaggedTemplateExpression > *.tag"(s){i(s,s,"unsafeTemplateTag")}}}})});var rHs=j(O0n=>{"use strict";Object.defineProperty(O0n,"__esModule",{value:!0});var tHs=Vo(),O9f=el();O0n.default=(0,O9f.createRule)({name:"no-unsafe-declaration-merging",meta:{type:"problem",docs:{description:"Disallow unsafe declaration merging",recommended:"recommended",requiresTypeChecking:!1},messages:{unsafeMerging:"Unsafe declaration merging between classes and interfaces."},schema:[]},defaultOptions:[],create(e){function t(r,n,i){let s=r.set.get(n.name);if(!s)return;let a=s.defs;a.length<=1||a.some(u=>u.node.type===i)&&e.report({node:n,messageId:"unsafeMerging"})}return{ClassDeclaration(r){if(r.id){let n=e.sourceCode.getScope(r).upper;if(n==null)return;t(n,r.id,tHs.AST_NODE_TYPES.TSInterfaceDeclaration)}},TSInterfaceDeclaration(r){t(e.sourceCode.getScope(r),r.id,tHs.AST_NODE_TYPES.ClassDeclaration)}}}})});var aHs=j(Qse=>{"use strict";var R9f=Qse&&Qse.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),F9f=Qse&&Qse.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),nHs=Qse&&Qse.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i(0,L9f.isTypeFlagSet)(t,Pyt.TypeFlags.EnumLiteral))}function Q9f(e,t){return sHs(t).map(r=>M9f(e,r))}function j9f(e,t){for(let r of e)if(r.value===t){let{symbol:n}=r,i=n.valueDeclaration,s=i.parent,a=i.name,u=s.name.text;switch(a.kind){case Pyt.SyntaxKind.Identifier:return`${u}.${a.text}`;case Pyt.SyntaxKind.StringLiteral:{let l=a.text.replaceAll("'","\\'");return`${u}['${l}']`}case Pyt.SyntaxKind.ComputedPropertyName:return`${u}[${a.expression.getText()}]`;default:break}}return null}});var lHs=j(P_e=>{"use strict";var U9f=P_e&&P_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),q9f=P_e&&P_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),uHs=P_e&&P_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iBpe.intersectionConstituents(t).some(r=>Bpe.isTypeFlagSet(r,wpe.TypeFlags.Number|wpe.TypeFlags.NumberLike)))}function G9f(e){return Bpe.unionConstituents(e).every(t=>Bpe.intersectionConstituents(t).some(r=>Bpe.isTypeFlagSet(r,wpe.TypeFlags.String|wpe.TypeFlags.StringLike)))}function V9f(e){return Bpe.isTypeFlagSet(e,wpe.TypeFlags.EnumLike)?Bpe.isTypeFlagSet(e,wpe.TypeFlags.NumberLiteral)?wpe.TypeFlags.Number:wpe.TypeFlags.String:void 0}P_e.default=(0,Rer.createRule)({name:"no-unsafe-enum-comparison",meta:{type:"suggestion",docs:{description:"Disallow comparing an enum value with a non-enum value",recommended:"recommended",requiresTypeChecking:!0},hasSuggestions:!0,messages:{mismatchedCase:"The case statement does not have a shared enum type with the switch predicate.",mismatchedCondition:"The two values in this comparison do not have a shared enum type.",replaceValueWithEnum:"Replace with an enum value comparison."},schema:[]},defaultOptions:[],create(e){let t=(0,Rer.getParserServices)(e),r=t.program.getTypeChecker();function n(i,s){let a=(0,c$e.getEnumTypes)(r,i),u=new Set((0,c$e.getEnumTypes)(r,s));if(a.length===0&&u.size===0)return!1;for(let p of a)if(u.has(p))return!1;let l=Bpe.unionConstituents(i),f=Bpe.unionConstituents(s);for(let p of l)if(f.includes(p))return!1;return oHs(l,s)||oHs(f,i)}return{"BinaryExpression[operator=/^[<>!=]?={0,2}$/]"(i){let s=t.getTypeAtLocation(i.left),a=t.getTypeAtLocation(i.right);n(s,a)&&e.report({node:i,messageId:"mismatchedCondition",suggest:[{messageId:"replaceValueWithEnum",fix(u){let l=(0,c$e.getEnumKeyForLiteral)((0,c$e.getEnumLiterals)(s),(0,Rer.getStaticValue)(i.right)?.value);if(l)return u.replaceText(i.right,l);let f=(0,c$e.getEnumKeyForLiteral)((0,c$e.getEnumLiterals)(a),(0,Rer.getStaticValue)(i.left)?.value);return f?u.replaceText(i.left,f):null}}]})},SwitchCase(i){if(i.test==null)return;let{parent:s}=i,a=t.getTypeAtLocation(s.discriminant),u=t.getTypeAtLocation(i.test);n(a,u)&&e.report({node:i,messageId:"mismatchedCase"})}}}})});var fHs=j(R0n=>{"use strict";Object.defineProperty(R0n,"__esModule",{value:!0});var $9f=Vo(),cHs=el();R0n.default=(0,cHs.createRule)({name:"no-unsafe-function-type",meta:{type:"problem",docs:{description:"Disallow using the unsafe built-in Function type",recommended:"recommended"},messages:{bannedFunctionType:["The `Function` type accepts any function-like value.","Prefer explicitly defining any function parameters and return type."].join(` `)},schema:[]},defaultOptions:[],create(e){function t(r){r.type===$9f.AST_NODE_TYPES.Identifier&&r.name==="Function"&&(0,cHs.isReferenceToGlobalFunction)("Function",r,e.sourceCode)&&e.report({node:r,messageId:"bannedFunctionType"})}return{TSClassImplements(r){t(r.expression)},TSInterfaceHeritage(r){t(r.expression)},TSTypeReference(r){t(r.typeName)}}}})});var mHs=j(N_e=>{"use strict";var K9f=N_e&&N_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),J9f=N_e&&N_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),H9f=N_e&&N_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i *.property"(u){if(t&&u.parent.optional||u.type===F0n.AST_NODE_TYPES.Literal||u.type===F0n.AST_NODE_TYPES.UpdateExpression)return;let l=r.getTypeAtLocation(u);if((0,V5e.isTypeAnyType)(l)){let f=e.sourceCode.getText(u);e.report({node:u,messageId:"unsafeComputedMemberAccess",data:{type:pHs(l),property:`[${f}]`}})}}}}})});var AHs=j(O_e=>{"use strict";var z9f=O_e&&O_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),W9f=O_e&&O_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),gHs=O_e&&O_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i`":"`any[]`"}})}let b=_.getCallSignatures().at(0);if(b){let D=b.getReturnType(),k=(0,OB.isUnsafeAssignment)(A,D,r,a);if(!k)return;let{receiver:M,sender:R}=k;return e.report({node:u,messageId:"unsafeReturnAssignment",data:{receiver:r.typeToString(M),sender:r.typeToString(R)}})}}return{"ArrowFunctionExpression > :not(BlockStatement).body":s,ReturnStatement(a){let u=a.argument;u&&s(u,a)}}}})});var yHs=j(R_e=>{"use strict";var Z9f=R_e&&R_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),e8f=R_e&&R_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),hHs=R_e&&R_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var r8f=F_e&&F_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),n8f=F_e&&F_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Q0n=F_e&&F_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i!_Hs.isTypeFlagSet(s,Ler.TypeFlags.Any|Ler.TypeFlags.Never|Ler.TypeFlags.BigIntLike|Ler.TypeFlags.NumberLike))&&e.report({node:t,messageId:"unaryMinus",data:{type:i.typeToString(n)}})}}}})});var vHs=j(j0n=>{"use strict";Object.defineProperty(j0n,"__esModule",{value:!0});var L_e=Vo(),i8f=el(),s8f=XQ(),Mer=(0,s8f.getESLintCoreRule)("no-unused-expressions"),xHs=[{allowShortCircuit:!1,allowTaggedTemplates:!1,allowTernary:!1}];j0n.default=(0,i8f.createRule)({name:"no-unused-expressions",meta:{type:"suggestion",defaultOptions:xHs,docs:{description:"Disallow unused expressions",extendsBaseRule:!0,recommended:"recommended"},hasSuggestions:Mer.meta.hasSuggestions,messages:Mer.meta.messages,schema:Mer.meta.schema},defaultOptions:xHs,create(e,[{allowShortCircuit:t=!1,allowTernary:r=!1}]){let n=Mer.create(e);function i(s){return t&&s.type===L_e.AST_NODE_TYPES.LogicalExpression?i(s.right):r&&s.type===L_e.AST_NODE_TYPES.ConditionalExpression?i(s.alternate)&&i(s.consequent):s.type===L_e.AST_NODE_TYPES.ChainExpression&&s.expression.type===L_e.AST_NODE_TYPES.CallExpression||s.type===L_e.AST_NODE_TYPES.ImportExpression}return{ExpressionStatement(s){if(s.directive||i(s.expression))return;let a=s.expression.type;if(a===L_e.TSESTree.AST_NODE_TYPES.TSInstantiationExpression||a===L_e.TSESTree.AST_NODE_TYPES.TSAsExpression||a===L_e.TSESTree.AST_NODE_TYPES.TSNonNullExpression||a===L_e.TSESTree.AST_NODE_TYPES.TSTypeAssertion){n.ExpressionStatement({...s,expression:s.expression.expression});return}n.ExpressionStatement(s)}}}})});var U0n=j(Qer=>{"use strict";Object.defineProperty(Qer,"__esModule",{value:!0});Qer.publicKey=a8f;Qer.privateKey=o8f;function a8f(e){return e}function o8f(e){return`#private@@${e.name}`}});var CHs=j(Uer=>{"use strict";Object.defineProperty(Uer,"__esModule",{value:!0});Uer.extractNameForMember=u8f;Uer.extractNameForMemberExpression=l8f;var d$e=Vo(),jer=U0n();function q0n(e){if(e.type===d$e.AST_NODE_TYPES.Literal){let t=e.value?.toString()??"null";return{codeName:t,key:(0,jer.publicKey)(t),nameNode:e}}if(e.type===d$e.AST_NODE_TYPES.TemplateLiteral&&e.expressions.length===0){let t=e.quasis[0].value.raw;return{codeName:t,key:(0,jer.publicKey)(t),nameNode:e}}return null}function Y0n(e){let t=e.name;return e.type===d$e.AST_NODE_TYPES.PrivateIdentifier?{codeName:`#${t}`,key:(0,jer.privateKey)(e),nameNode:e}:{codeName:t,key:(0,jer.publicKey)(t),nameNode:e}}function u8f(e){if(e.type===d$e.AST_NODE_TYPES.TSParameterProperty){let t=e.parameter.type===d$e.AST_NODE_TYPES.Identifier?e.parameter:e.parameter.left;return Y0n(t)}return e.computed||e.key.type===d$e.AST_NODE_TYPES.Literal?q0n(e.key):Y0n(e.key)}function l8f(e){return e.computed?q0n(e.property):Y0n(e.property)}});var DHs=j(Oyt=>{"use strict";Object.defineProperty(Oyt,"__esModule",{value:!0});Oyt.Member=void 0;Oyt.analyzeClassMemberUsage=d8f;var c8f=nL(),Cy=Vo(),bHs=el(),SHs=CHs(),f8f=U0n(),Nyt=class e{node;key;name;nameNode;writeCount=0;readCount=0;constructor(t,r,n,i){this.node=t,this.key=r,this.name=n,this.nameNode=i}static create(t){let r=(0,SHs.extractNameForMember)(t);return r==null?null:new e(t,r.key,r.codeName,r.nameNode)}isAccessor(){return this.node.type===Cy.AST_NODE_TYPES.MethodDefinition||this.node.type===Cy.AST_NODE_TYPES.TSAbstractMethodDefinition?this.node.kind==="set"||this.node.kind==="get":this.node.type===Cy.AST_NODE_TYPES.AccessorProperty||this.node.type===Cy.AST_NODE_TYPES.TSAbstractAccessorProperty}isHashPrivate(){return"key"in this.node&&this.node.key.type===Cy.AST_NODE_TYPES.PrivateIdentifier}isPrivate(){return this.node.accessibility==="private"}isStatic(){return this.node.static}isUsed(){return this.readCount>0||this.writeCount>0&&this.isAccessor()}};Oyt.Member=Nyt;function p8f(e,t){return t.type!==Cy.AST_NODE_TYPES.AssignmentExpression&&t.type!==Cy.AST_NODE_TYPES.ForInStatement&&t.type!==Cy.AST_NODE_TYPES.ForOfStatement&&t.type!==Cy.AST_NODE_TYPES.AssignmentPattern||t.left!==e?!1:t.type===Cy.AST_NODE_TYPES.AssignmentExpression&&t.operator!=="="?t.parent.type===Cy.AST_NODE_TYPES.ExpressionStatement:!0}function IHs(e,t){let r=(0,bHs.nullThrows)(e.parent,bHs.NullThrowsReasons.MissingParent);if(p8f(e,r)){t.writeCount+=1;return}let n=r.parent;if(r.type===Cy.AST_NODE_TYPES.UpdateExpression&&n?.type===Cy.AST_NODE_TYPES.ExpressionStatement){t.writeCount+=1;return}if(r.type===Cy.AST_NODE_TYPES.Property&&n?.type===Cy.AST_NODE_TYPES.ObjectPattern&&r.value===e){t.writeCount+=1;return}if(r.type===Cy.AST_NODE_TYPES.RestElement){t.writeCount+=1;return}if(r.type===Cy.AST_NODE_TYPES.ArrayPattern){t.writeCount+=1;return}t.readCount+=1}var qer=class extends c8f.Visitor{isStaticThisContext;childScopes=[];scopeManager;upper;thisContext;constructor(t,r,n,i){if(super({}),this.scopeManager=t,this.upper=r,this.isStaticThisContext=i,n==="self"){if(!(this instanceof WTe))throw new Error("Cannot use `self` unless it is in a ClassScope");this.thisContext=this}else n==="none"?this.thisContext=null:this.thisContext=n}findNearestScope(t){let r,n=t;do{if(r=this.scopeManager.acquire(n),n.parent==null)break;n=n.parent}while(r==null);return r}findVariableInScope(t,r){let n=this.findNearestScope(t),i=null;for(;n!=null&&(i=n.set.get(r)??null,i==null);)n=n.upper;return i}getObjectClass(t){switch(t.object.type){case Cy.AST_NODE_TYPES.ThisExpression:return this.thisContext==null?null:{thisContext:this.thisContext,type:this.isStaticThisContext?"static":"instance"};case Cy.AST_NODE_TYPES.Identifier:{let r=this.findClassScopeWithName(t.object.name);if(r!=null)return{thisContext:r,type:"static"};let n=this.findVariableInScope(t,t.object.name);if(n==null||n.defs.length===0)return null;let i=n.defs[0];switch(i.node.type){case Cy.AST_NODE_TYPES.VariableDeclarator:{let s=i.node.init;return s==null||s.type!==Cy.AST_NODE_TYPES.ThisExpression||n.references.some(a=>a.isWrite()&&a.init!==!0)?null:{thisContext:this.thisContext,type:this.isStaticThisContext?"static":"instance"}}default:{let s="typeAnnotation"in i.name&&i.name.typeAnnotation!=null?i.name.typeAnnotation.typeAnnotation:null;if(s==null)return null;if(s.type===Cy.AST_NODE_TYPES.TSTypeReference&&s.typeName.type===Cy.AST_NODE_TYPES.Identifier){let a=s.typeName.name,u=this.findClassScopeWithName(a);if(u!=null)return{thisContext:u,type:"instance"}}if(s.type===Cy.AST_NODE_TYPES.TSTypeQuery&&s.exprName.type===Cy.AST_NODE_TYPES.Identifier){let a=s.exprName.name,u=this.findClassScopeWithName(a);if(u!=null)return{thisContext:u,type:"static"}}}}return null}case Cy.AST_NODE_TYPES.MemberExpression:return null;default:return null}}visitClass(t){let r=new WTe(t,this,this.scopeManager);this.childScopes.push(r),r.visitChildren(t)}visitIntermediate(t){let r=new Yer(this.scopeManager,this,t);this.childScopes.push(r),r.visitChildren(t)}findClassScopeWithName(t){let r=this;for(;r!=null;){if(r instanceof WTe&&r.className===t)return r;r=r.upper}return null}ClassDeclaration(t){this.visitClass(t)}ClassExpression(t){this.visitClass(t)}FunctionDeclaration(t){this.visitIntermediate(t)}FunctionExpression(t){this.visitIntermediate(t)}MemberExpression(t){if(this.visitChildren(t),t.property.type===Cy.AST_NODE_TYPES.PrivateIdentifier)return;let r=(0,SHs.extractNameForMemberExpression)(t);if(r==null)return;let n=this.getObjectClass(t);if(n==null||n.thisContext==null)return;let s=(n.type==="instance"?n.thisContext.members.instance:n.thisContext.members.static).get(r.key);s!=null&&IHs(t,s)}PrivateIdentifier(t){if(this.visitChildren(t),(t.parent.type===Cy.AST_NODE_TYPES.MethodDefinition||t.parent.type===Cy.AST_NODE_TYPES.PropertyDefinition)&&t.parent.key===t)return;let r=this,n=(0,f8f.privateKey)(t);for(;r!=null;){if(r.thisContext!=null){let i=r.thisContext.members.instance.get(n)??r.thisContext.members.static.get(n);if(i!=null){IHs(t.parent,i);return}}r=r.upper}}StaticBlock(t){this.visitIntermediate(t)}},Yer=class extends qer{constructor(t,r,n){if(n.type===Cy.AST_NODE_TYPES.Program){super(t,r,"none",!1);return}if(n.type===Cy.AST_NODE_TYPES.StaticBlock){if(r==null||!(r instanceof WTe))throw new Error("Cannot have a static block without an upper ClassScope");super(t,r,r,!0);return}if((n.parent.type===Cy.AST_NODE_TYPES.MethodDefinition||n.parent.type===Cy.AST_NODE_TYPES.PropertyDefinition)&&n.parent.value===n){if(r==null||!(r instanceof WTe))throw new Error("Cannot have a class method/property without an upper ClassScope");super(t,r,r,n.parent.static);return}if(r!=null&&n.params.length>0&&n.params[0].type===Cy.AST_NODE_TYPES.Identifier&&n.params[0].name==="this"){let i=n.params[0].typeAnnotation?.typeAnnotation;if(i?.type===Cy.AST_NODE_TYPES.TSTypeReference&&i.typeName.type===Cy.AST_NODE_TYPES.Identifier){let s=r.findClassScopeWithName(i.typeName.name);if(s!=null){super(t,r,s,!1);return}}}super(t,r,"none",!1)}},WTe=class extends qer{className;members={instance:new Map,static:new Map};theClass;constructor(t,r,n){super(n,r,"self",!1),this.theClass=t,this.className=t.id?.name??null;for(let i of t.body.body)switch(i.type){case Cy.AST_NODE_TYPES.MethodDefinition:if(i.kind==="constructor"){for(let s of i.value.params){if(s.type!==Cy.AST_NODE_TYPES.TSParameterProperty)continue;let a=Nyt.create(s);a!=null&&this.members.instance.set(a.key,a)}break}case Cy.AST_NODE_TYPES.AccessorProperty:case Cy.AST_NODE_TYPES.PropertyDefinition:case Cy.AST_NODE_TYPES.TSAbstractAccessorProperty:case Cy.AST_NODE_TYPES.TSAbstractMethodDefinition:case Cy.AST_NODE_TYPES.TSAbstractPropertyDefinition:{let s=Nyt.create(i);if(s==null)continue;s.isStatic()?this.members.static.set(s.key,s):this.members.instance.set(s.key,s);break}case Cy.AST_NODE_TYPES.StaticBlock:continue;case Cy.AST_NODE_TYPES.TSIndexSignature:continue}}};function d8f(e,t){let r=new Yer(t,null,e);return r.visit(e),THs(r)}function THs(e,t=new Map){e instanceof WTe&&t.set(e.theClass,e);for(let r of e.childScopes)THs(r,t);return t}});var wHs=j(G0n=>{"use strict";Object.defineProperty(G0n,"__esModule",{value:!0});var m8f=Vo(),g8f=el(),A8f=DHs();G0n.default=(0,g8f.createRule)({name:"no-unused-private-class-members",meta:{type:"problem",docs:{description:"Disallow unused private class members",extendsBaseRule:!0,requiresTypeChecking:!1},messages:{unusedPrivateClassMember:"Private class member '{{classMemberName}}' is defined but never used."},schema:[]},defaultOptions:[],create(e){return{"Program:exit"(t){let r=(0,A8f.analyzeClassMemberUsage)(t,m8f.ESLintUtils.nullThrows(e.sourceCode.scopeManager,"Missing required scope manager"));for(let n of r.values())for(let i of[...n.members.instance.values(),...n.members.static.values()])!i.isPrivate()&&!i.isHashPrivate()||i.isUsed()||e.report({node:i.nameNode,messageId:"unusedPrivateClassMember",data:{classMemberName:i.name}})}}}})});var BHs=j(V0n=>{"use strict";Object.defineProperty(V0n,"__esModule",{value:!0});var Ger=nL(),O_=Vo(),VY=el(),h8f=wZt();V0n.default=(0,VY.createRule)({name:"no-unused-vars",meta:{type:"problem",docs:{description:"Disallow unused variables",extendsBaseRule:!0,recommended:"recommended"},messages:{unusedVar:"'{{varName}}' is {{action}} but never used{{additional}}.",usedIgnoredVar:"'{{varName}}' is marked as ignored but is used{{additional}}.",usedOnlyAsType:"'{{varName}}' is {{action}} but only used as a type{{additional}}."},schema:[{oneOf:[{type:"string",description:"Broad setting for unused variables to target.",enum:["all","local"]},{type:"object",additionalProperties:!1,properties:{args:{type:"string",description:"Whether to check all, some, or no arguments.",enum:["all","after-used","none"]},argsIgnorePattern:{type:"string",description:"Regular expressions of argument names to not check for usage."},caughtErrors:{type:"string",description:"Whether to check catch block arguments.",enum:["all","none"]},caughtErrorsIgnorePattern:{type:"string",description:"Regular expressions of catch block argument names to not check for usage."},destructuredArrayIgnorePattern:{type:"string",description:"Regular expressions of destructured array variable names to not check for usage."},ignoreClassWithStaticInitBlock:{type:"boolean",description:"Whether to ignore classes with at least one static initialization block."},ignoreRestSiblings:{type:"boolean",description:"Whether to ignore sibling properties in `...` destructurings."},ignoreUsingDeclarations:{type:"boolean",description:"Whether to ignore using or await using declarations."},reportUsedIgnorePattern:{type:"boolean",description:"Whether to report variables that match any of the valid ignore pattern options if they have been used."},vars:{type:"string",description:"Whether to check all variables or only locally-declared variables.",enum:["all","local"]},varsIgnorePattern:{type:"string",description:"Regular expressions of variable names to not check for usage."}}}]}]},defaultOptions:[{}],create(e,[t]){let r=new Map,n=(()=>{let _={args:"after-used",caughtErrors:"all",ignoreClassWithStaticInitBlock:!1,ignoreRestSiblings:!1,ignoreUsingDeclarations:!1,reportUsedIgnorePattern:!1,vars:"all"};return typeof t=="string"?_.vars=t:(_.vars=t.vars??_.vars,_.args=t.args??_.args,_.ignoreRestSiblings=t.ignoreRestSiblings??_.ignoreRestSiblings,_.ignoreUsingDeclarations=t.ignoreUsingDeclarations??_.ignoreUsingDeclarations,_.caughtErrors=t.caughtErrors??_.caughtErrors,_.ignoreClassWithStaticInitBlock=t.ignoreClassWithStaticInitBlock??_.ignoreClassWithStaticInitBlock,_.reportUsedIgnorePattern=t.reportUsedIgnorePattern??_.reportUsedIgnorePattern,t.varsIgnorePattern&&(_.varsIgnorePattern=new RegExp(t.varsIgnorePattern,"u")),t.argsIgnorePattern&&(_.argsIgnorePattern=new RegExp(t.argsIgnorePattern,"u")),t.caughtErrorsIgnorePattern&&(_.caughtErrorsIgnorePattern=new RegExp(t.caughtErrorsIgnorePattern,"u")),t.destructuredArrayIgnorePattern&&(_.destructuredArrayIgnorePattern=new RegExp(t.destructuredArrayIgnorePattern,"u"))),_})();function i(_){if(n.destructuredArrayIgnorePattern&&_.name.parent.type===O_.AST_NODE_TYPES.ArrayPattern)return"array-destructure";switch(_.type){case Ger.DefinitionType.CatchClause:return"catch-clause";case Ger.DefinitionType.Parameter:return"parameter";default:return"variable"}}function s(_){switch(_){case"array-destructure":return{pattern:n.destructuredArrayIgnorePattern?.toString(),variableDescription:"elements of array destructuring"};case"catch-clause":return{pattern:n.caughtErrorsIgnorePattern?.toString(),variableDescription:"caught errors"};case"parameter":return{pattern:n.argsIgnorePattern?.toString(),variableDescription:"args"};case"variable":return{pattern:n.varsIgnorePattern?.toString(),variableDescription:"vars"}}}function a(_){let E=_.defs.at(0),b="";if(E){let{pattern:D,variableDescription:k}=s(i(E));D&&k&&(b=`. Allowed unused ${k} must match ${D}`)}return{action:"defined",additional:b,varName:_.name}}function u(_){let E=_.defs.at(0),b="";if(E){let{pattern:D,variableDescription:k}=s(i(E));D&&k&&(b=`. Allowed unused ${k} must match ${D}`)}return{action:"assigned a value",additional:b,varName:_.name}}function l(_,E){let{pattern:b,variableDescription:D}=s(E),k="";return b&&D&&(k=`. Used ${D} must not match ${b}`),{additional:k,varName:_.name}}function f(){function _(R){return R.type===O_.AST_NODE_TYPES.Property&&R.parent.type===O_.AST_NODE_TYPES.ObjectPattern&&R.parent.properties[R.parent.properties.length-1].type===O_.AST_NODE_TYPES.RestElement}function E(R){if(n.ignoreRestSiblings){let q=R.defs.some(K=>_(K.name.parent)),G=R.references.some(K=>_(K.identifier.parent));return q||G}return!1}function b(R){let q=R.defs[0],G=e.sourceCode.getDeclaredVariables(q.node);return!G.slice(G.indexOf(R)+1).some(Z=>Z.references.length>0||Z.eslintUsed)}let D=(0,VY.collectVariables)(e),k=[...Array.from(D.unusedVariables,R=>({used:!1,variable:R})),...Array.from(D.usedVariables,R=>({used:!0,variable:R}))],M=[];for(let{used:R,variable:q}of k){if(q.defs.length===0){R||M.push(q);continue}let G=q.defs[0];if(q.scope.type===O_.TSESLint.Scope.ScopeType.global&&n.vars==="local")continue;let K=q.references.some(Z=>Z.identifier.parent.type===O_.AST_NODE_TYPES.ArrayPattern);if((G.name.parent.type===O_.AST_NODE_TYPES.ArrayPattern||K)&&G.name.type===O_.AST_NODE_TYPES.Identifier&&n.destructuredArrayIgnorePattern?.test(G.name.name)){n.reportUsedIgnorePattern&&R&&e.report({node:G.name,messageId:"usedIgnoredVar",data:l(q,"array-destructure")});continue}if(G.type===O_.TSESLint.Scope.DefinitionType.ClassName){let Z=G.node.body.body.some(oe=>oe.type===O_.AST_NODE_TYPES.StaticBlock);if(n.ignoreClassWithStaticInitBlock&&Z)continue}if(G.type===O_.TSESLint.Scope.DefinitionType.CatchClause){if(n.caughtErrors==="none")continue;if(G.name.type===O_.AST_NODE_TYPES.Identifier&&n.caughtErrorsIgnorePattern?.test(G.name.name)){n.reportUsedIgnorePattern&&R&&e.report({node:G.name,messageId:"usedIgnoredVar",data:l(q,"catch-clause")});continue}}else if(G.type===O_.TSESLint.Scope.DefinitionType.Parameter){if(n.args==="none")continue;if(G.name.type===O_.AST_NODE_TYPES.Identifier&&n.argsIgnorePattern?.test(G.name.name)){n.reportUsedIgnorePattern&&R&&e.report({node:G.name,messageId:"usedIgnoredVar",data:l(q,"parameter")});continue}if(n.args==="after-used"&&(0,VY.isFunction)(G.name.parent)&&!b(q))continue}else if(G.name.type===O_.AST_NODE_TYPES.Identifier&&n.varsIgnorePattern?.test(G.name.name)){n.reportUsedIgnorePattern&&R&&G.type!==O_.TSESLint.Scope.DefinitionType.TSEnumMember&&e.report({node:G.name,messageId:"usedIgnoredVar",data:l(q,"variable")});continue}G.type===O_.TSESLint.Scope.DefinitionType.Variable&&n.ignoreUsingDeclarations&&(G.parent.kind==="await using"||G.parent.kind==="using")||E(q)||q.eslintUsed||R||M.push(q)}return M}return{[g(O_.AST_NODE_TYPES.Program)](_){if(!(0,VY.isDefinitionFile)(e.filename))return;let E=(0,VY.nullThrows)(_.parent,VY.NullThrowsReasons.MissingParent);p(E)||A(_)},[g("TSModuleDeclaration[declare = true] > TSModuleBlock TSModuleDeclaration > TSModuleBlock")](_){let E=(0,VY.nullThrows)(_.parent.parent,VY.NullThrowsReasons.MissingParent);p(E)||A(_)},[g("TSModuleDeclaration[declare = true] > TSModuleBlock")](_){let E=(0,VY.nullThrows)(_.parent.parent,VY.NullThrowsReasons.MissingParent);p(E)||A(_)},[g("TSModuleDeclaration > TSModuleBlock")](_){if(!(0,VY.isDefinitionFile)(e.filename))return;let E=(0,VY.nullThrows)(_.parent.parent,VY.NullThrowsReasons.MissingParent);p(E)||A(_)},"Program:exit"(_){let E=f();for(let b of E)if(b.defs.length>0){let D=b.references.some(oe=>(0,h8f.referenceContainsTypeQuery)(oe.identifier));if(D&&b.defs.some(oe=>oe.type===Ger.DefinitionType.ImportBinding))continue;let M=b.references.filter(oe=>oe.isWrite()&&oe.from.variableScope===b.scope.variableScope),R=M.length?M[M.length-1].identifier:b.identifiers[0],q=D?"usedOnlyAsType":"unusedVar",{start:G}=R.loc,K=R.name.length,Z={start:G,end:{column:G.column+K,line:G.line}};e.report({loc:Z,messageId:q,data:b.references.some(oe=>oe.isWrite())?u(b):a(b)})}else if("eslintExplicitGlobalComments"in b&&b.eslintExplicitGlobalComments){let D=b.eslintExplicitGlobalComments[0];e.report({loc:(0,VY.getNameLocationInGlobalDirectiveComment)(e.sourceCode,D,b.name),node:_,messageId:"unusedVar",data:a(b)})}}};function p(_){let E=r.get(_);if(E!=null)return E;let b=_8f(_);return y8f(b)?(r.set(_,!0),!0):(r.set(_,!1),!1)}function g(_){return[`${_} > :matches(${[O_.AST_NODE_TYPES.TSInterfaceDeclaration,O_.AST_NODE_TYPES.TSTypeAliasDeclaration].join(", ")})`,`${_} > :matches(${[O_.AST_NODE_TYPES.ClassDeclaration,O_.AST_NODE_TYPES.TSDeclareFunction,O_.AST_NODE_TYPES.TSEnumDeclaration,O_.AST_NODE_TYPES.TSModuleDeclaration,O_.AST_NODE_TYPES.VariableDeclaration].join(", ")})`].join(", ")}function A(_){let E=[];switch(_.type){case O_.AST_NODE_TYPES.TSInterfaceDeclaration:case O_.AST_NODE_TYPES.TSTypeAliasDeclaration:case O_.AST_NODE_TYPES.ClassDeclaration:case O_.AST_NODE_TYPES.FunctionDeclaration:case O_.AST_NODE_TYPES.TSDeclareFunction:case O_.AST_NODE_TYPES.TSEnumDeclaration:case O_.AST_NODE_TYPES.TSModuleDeclaration:_.id?.type===O_.AST_NODE_TYPES.Identifier&&E.push(_.id);break;case O_.AST_NODE_TYPES.VariableDeclaration:for(let k of _.declarations)h(k,M=>{E.push(M)});break}let b=e.sourceCode.getScope(_),D=[O_.AST_NODE_TYPES.TSDeclareFunction,O_.AST_NODE_TYPES.TSModuleDeclaration].includes(_.type);b.variableScope!==b?b=b.variableScope:D&&b.upper&&(b=b.upper);for(let k of E){let M=b.set.get(k.name);M&&(M.eslintUsed=!0)}}function h(_,E){new Ger.PatternVisitor({},_,E).visit(_)}}});function y8f(e){for(let t of e)if(t.type===O_.AST_NODE_TYPES.ExportNamedDeclaration&&t.declaration==null||t.type===O_.AST_NODE_TYPES.ExportAllDeclaration||t.type===O_.AST_NODE_TYPES.TSExportAssignment||t.type===O_.AST_NODE_TYPES.ExportDefaultDeclaration&&t.declaration.type===O_.AST_NODE_TYPES.Identifier)return!0;return!1}function _8f(e){return e.type===O_.AST_NODE_TYPES.Program?e.body:e.body.body}});var kHs=j(K0n=>{"use strict";Object.defineProperty(K0n,"__esModule",{value:!0});var g$e=nL(),m$e=Vo(),E8f=el(),x8f=wZt(),v8f=/^(?:(?:Function|Class)(?:Declaration|Expression)|ArrowFunctionExpression|CatchClause|ImportDeclaration|ExportNamedDeclaration)$/;function C8f(e){let t=!0,r=!0,n=!0,i=!0,s=!0,a=!0,u=!1;return typeof e=="string"?t=e!=="nofunc":typeof e=="object"&&e!=null&&(t=e.functions!==!1,r=e.classes!==!1,n=e.enums!==!1,i=e.variables!==!1,s=e.typedefs!==!1,a=e.ignoreTypeReferences!==!1,u=e.allowNamedExports!==!1),{allowNamedExports:u,classes:r,enums:n,functions:t,ignoreTypeReferences:a,typedefs:s,variables:i}}function b8f(e){return e.defs[0].type===g$e.DefinitionType.FunctionName}function I8f(e){return e.defs[0].type===g$e.DefinitionType.Type}function S8f(e,t){return e.defs[0].type===g$e.DefinitionType.TSEnumName&&e.scope.variableScope!==t.from.variableScope}function T8f(e,t){return e.defs[0].type===g$e.DefinitionType.ClassName&&e.scope.variableScope!==t.from.variableScope}function D8f(e,t){return e.defs[0].type===g$e.DefinitionType.Variable&&e.scope.variableScope!==t.from.variableScope}function w8f(e){let{identifier:t}=e;return t.parent.type===m$e.AST_NODE_TYPES.ExportSpecifier&&t.parent.local===t}function B8f(e){return e.isTypeReference||(0,x8f.referenceContainsTypeQuery)(e.identifier)}function $0n(e,t){return!!e&&e.range[0]<=t&&t<=e.range[1]}function k8f(e,t){if(e.defs[0].type!==g$e.DefinitionType.ClassName||e.defs[0].node.decorators.length===0)return!1;for(let r of e.defs[0].node.decorators)if(t.identifier.range[0]>=r.range[0]&&t.identifier.range[1]<=r.range[1])return!0;return!1}function P8f(e,t){if(e.scope!==t.from)return!1;let r=e.identifiers[0].parent,n=t.identifier.range[1];for(;r;){if(r.type===m$e.AST_NODE_TYPES.VariableDeclarator){if($0n(r.init,n)||(r.parent.parent.type===m$e.AST_NODE_TYPES.ForInStatement||r.parent.parent.type===m$e.AST_NODE_TYPES.ForOfStatement)&&$0n(r.parent.parent.right,n))return!0;break}else if(r.type===m$e.AST_NODE_TYPES.AssignmentPattern){if($0n(r.right,n))return!0}else if(v8f.test(r.type))break;r=r.parent}return!1}K0n.default=(0,E8f.createRule)({name:"no-use-before-define",meta:{type:"problem",docs:{description:"Disallow the use of variables before they are defined",extendsBaseRule:!0},messages:{noUseBeforeDefine:"'{{name}}' was used before it was defined."},schema:[{oneOf:[{type:"string",description:"Broadly set functions and allowNamedExports to false.",enum:["nofunc"]},{type:"object",additionalProperties:!1,properties:{allowNamedExports:{type:"boolean",description:"Whether to ignore named exports."},classes:{type:"boolean",description:"Whether to ignore references to class declarations."},enums:{type:"boolean",description:"Whether to check references to enums."},functions:{type:"boolean",description:"Whether to ignore references to function declarations."},ignoreTypeReferences:{type:"boolean",description:"Whether to ignore type references, such as in type annotations and assertions."},typedefs:{type:"boolean",description:"Whether to check references to types."},variables:{type:"boolean",description:"Whether to ignore references to variables."}}}]}]},defaultOptions:[{allowNamedExports:!1,classes:!0,enums:!0,functions:!0,ignoreTypeReferences:!0,typedefs:!0,variables:!0}],create(e,t){let r=C8f(t[0]);function n(a,u){return r.ignoreTypeReferences&&B8f(u)?!1:b8f(a)?r.functions:T8f(a,u)?r.classes:D8f(a,u)?r.variables:S8f(a,u)?r.enums:I8f(a)?r.typedefs:!0}function i(a,u){return a.identifiers[0].range[1]<=u.identifier.range[1]&&!(u.isValueReference&&P8f(a,u))}function s(a){a.references.forEach(u=>{let l=u.resolved;function f(){e.report({node:u.identifier,messageId:"noUseBeforeDefine",data:{name:u.identifier.name}})}if(!u.init){if(!r.allowNamedExports&&w8f(u)){(!l||!i(l,u))&&f();return}l&&(l.identifiers.length===0||i(l,u)||!n(l,u)||k8f(l,u)||u.from.type===m$e.TSESLint.Scope.ScopeType.functionType||f())}}),a.childScopes.forEach(s)}return{Program(a){s(e.sourceCode.getScope(a))}}}})});var NHs=j(J0n=>{"use strict";Object.defineProperty(J0n,"__esModule",{value:!0});var PHs=Vo(),N8f=el(),O8f=XQ(),Ver=(0,O8f.getESLintCoreRule)("no-useless-constructor");function R8f(e){switch(e.accessibility){case"protected":case"private":return!1;case"public":if(e.parent.parent.superClass)return!1;break}return!0}function F8f(e){return!e.value.params.some(t=>t.type===PHs.AST_NODE_TYPES.TSParameterProperty||t.decorators.length)}J0n.default=(0,N8f.createRule)({name:"no-useless-constructor",meta:{type:"problem",docs:{description:"Disallow unnecessary constructors",extendsBaseRule:!0,recommended:"strict"},hasSuggestions:Ver.meta.hasSuggestions,messages:Ver.meta.messages,schema:Ver.meta.schema},defaultOptions:[],create(e){let t=Ver.create(e);return{MethodDefinition(r){r.value.type===PHs.AST_NODE_TYPES.FunctionExpression&&R8f(r)&&F8f(r)&&t.MethodDefinition(r)}}}})});var RHs=j(H0n=>{"use strict";Object.defineProperty(H0n,"__esModule",{value:!0});var XTe=Vo(),OHs=el();function L8f(e){return e.type===XTe.AST_NODE_TYPES.ExportNamedDeclaration&&e.specifiers.length===0&&!e.declaration}var M8f=new Set([XTe.AST_NODE_TYPES.ExportAllDeclaration,XTe.AST_NODE_TYPES.ExportDefaultDeclaration,XTe.AST_NODE_TYPES.ExportNamedDeclaration,XTe.AST_NODE_TYPES.ExportSpecifier,XTe.AST_NODE_TYPES.ImportDeclaration,XTe.AST_NODE_TYPES.TSExportAssignment,XTe.AST_NODE_TYPES.TSImportEqualsDeclaration]);H0n.default=(0,OHs.createRule)({name:"no-useless-empty-export",meta:{type:"suggestion",docs:{description:"Disallow empty exports that don't change anything in a module file"},fixable:"code",hasSuggestions:!1,messages:{uselessExport:"Empty export does nothing and can be removed."},schema:[]},defaultOptions:[],create(e){if((0,OHs.isDefinitionFile)(e.filename))return{};function t(r){if(!Array.isArray(r.body))return;let n=[],i=!1;for(let s of r.body)L8f(s)?n.push(s):M8f.has(s.type)&&(i=!0);if(i)for(let s of n)e.report({node:s,messageId:"uselessExport",fix:a=>a.remove(s)})}return{Program:t,TSModuleDeclaration:t}}})});var LHs=j(z0n=>{"use strict";Object.defineProperty(z0n,"__esModule",{value:!0});var kpe=Vo(),FHs=el();z0n.default=(0,FHs.createRule)({name:"no-var-requires",meta:{type:"problem",deprecated:{deprecatedSince:"8.0.0",replacedBy:[{rule:{name:"@typescript-eslint/no-require-imports",url:"https://typescript-eslint.io/rules/no-require-imports"}}],url:"https://github.com/typescript-eslint/typescript-eslint/pull/8334"},docs:{description:"Disallow `require` statements except in import statements"},messages:{noVarReqs:"Require statement not part of import statement."},replacedBy:["@typescript-eslint/no-require-imports"],schema:[{type:"object",additionalProperties:!1,properties:{allow:{type:"array",description:"Patterns of import paths to allow requiring from.",items:{type:"string"}}}}]},defaultOptions:[{allow:[]}],create(e,t){let r=t[0].allow.map(s=>new RegExp(s,"u"));function n(s){return r.some(a=>s.match(a))}function i(s){return s.type===kpe.AST_NODE_TYPES.Literal&&typeof s.value=="string"||s.type===kpe.AST_NODE_TYPES.TemplateLiteral}return{'CallExpression[callee.name="require"]'(s){if(s.arguments[0]&&i(s.arguments[0])){let u=(0,FHs.getStaticStringValue)(s.arguments[0]);if(typeof u=="string"&&n(u))return}let a=s.parent.type===kpe.AST_NODE_TYPES.ChainExpression?s.parent.parent:s.parent;[kpe.AST_NODE_TYPES.CallExpression,kpe.AST_NODE_TYPES.MemberExpression,kpe.AST_NODE_TYPES.NewExpression,kpe.AST_NODE_TYPES.TSAsExpression,kpe.AST_NODE_TYPES.TSTypeAssertion,kpe.AST_NODE_TYPES.VariableDeclarator].includes(a.type)&&(kpe.ASTUtils.findVariable(e.sourceCode.getScope(s),"require")?.identifiers.length||e.report({node:s,messageId:"noVarReqs"}))}}}})});var QHs=j(W0n=>{"use strict";Object.defineProperty(W0n,"__esModule",{value:!0});var Q8f=Vo(),MHs=el(),j8f=new Set(["BigInt","Boolean","Number","Object","String","Symbol"]);W0n.default=(0,MHs.createRule)({name:"no-wrapper-object-types",meta:{type:"problem",docs:{description:"Disallow using confusing built-in primitive class wrappers",recommended:"recommended"},fixable:"code",messages:{bannedClassType:"Prefer using the primitive `{{preferred}}` as a type name, rather than the upper-cased `{{typeName}}`."},schema:[]},defaultOptions:[],create(e){function t(r,n){let i=r.type===Q8f.AST_NODE_TYPES.Identifier&&r.name;if(!i||!j8f.has(i)||!(0,MHs.isReferenceToGlobalFunction)(i,r,e.sourceCode))return;let s=i.toLowerCase();e.report({node:r,messageId:"bannedClassType",data:{preferred:s,typeName:i},fix:n?a=>a.replaceText(r,s):void 0})}return{TSClassImplements(r){t(r.expression,!1)},TSInterfaceHeritage(r){t(r.expression,!1)},TSTypeReference(r){t(r.typeName,!0)}}}})});var qHs=j(M_e=>{"use strict";var U8f=M_e&&M_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),q8f=M_e&&M_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),UHs=M_e&&M_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let u=t.getTypeAtLocation(a);if(!X0n.isTypeFlagSet(u,ZTe.TypeFlags.Any|ZTe.TypeFlags.Unknown))return X0n.unionConstituents(u)},n=a=>{if(a.flags&ZTe.TypeFlags.TypeParameter){let u=a.getConstraint();return u==null||n(u)}if(X0n.isUnionType(a)){for(let u of a.types)if(n(u))return!0;return!1}return(a.flags&(ZTe.TypeFlags.Null|ZTe.TypeFlags.Undefined))!==0},i=(a,u)=>{let l=u.filter(f=>(f.flags&(ZTe.TypeFlags.Null|ZTe.TypeFlags.Undefined))===0);if(l.length===u.length)return!1;for(let f of a)if(n(f)||!l.includes(f))return!1;for(let f of l)if(!a.includes(f))return!1;return!0},s=a=>a.typeAnnotation.type===jHs.AST_NODE_TYPES.TSTypeReference&&a.typeAnnotation.typeName.type===jHs.AST_NODE_TYPES.Identifier&&a.typeAnnotation.typeName.name==="const";return{"TSAsExpression, TSTypeAssertion"(a){if(s(a))return;let u=r(a.expression);if(!u)return;let l=r(a.typeAnnotation);if(l&&i(l,u)){let f=e.sourceCode.getText(a.expression),p=(0,$er.getOperatorPrecedence)(t.esTreeNodeToTSNodeMap.get(a.expression).kind,ZTe.SyntaxKind.Unknown)>$er.OperatorPrecedence.Unary;e.report({node:a,messageId:"preferNonNullAssertion",fix(g){return g.replaceText(a,p?`${f}!`:`(${f})!`)}})}}}}})});var GHs=j(j_e=>{"use strict";var Y8f=j_e&&j_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),G8f=j_e&&j_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),V8f=j_e&&j_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ig.isVariableDefinition).length!==1)return!1;let p=l.defs[0];if(p.node.type===Ker.AST_NODE_TYPES.CatchClause)return!0;if(p.node.type===Ker.AST_NODE_TYPES.ArrowFunctionExpression&&p.node.params.length>=1&&p.node.params[0]===p.name&&p.node.parent.type===Ker.AST_NODE_TYPES.CallExpression){let g=p.node.parent,A=(0,YHs.parseCatchCall)(g,e)??(0,YHs.parseThenCall)(g,e);if(A!=null){let{object:h,onRejected:_}=A;if(_===p.node){let E=r.esTreeNodeToTSNodeMap.get(h);if((0,$8f.isThenableType)(r.program.getTypeChecker(),E))return!0}}}return!1}function s(a){if(t.allowRethrowing&&i(a))return;let u=r.getTypeAtLocation(a);if(!(0,Q_e.typeMatchesSomeSpecifier)(u,n,r.program)){if(u.flags&K8f.TypeFlags.Undefined){e.report({node:a,messageId:"undef"});return}t.allowThrowingAny&&(0,Q_e.isTypeAnyType)(u)||t.allowThrowingUnknown&&(0,Q_e.isTypeUnknownType)(u)||(0,Q_e.isErrorLike)(r.program,u)||e.report({node:a,messageId:"object"})}}return{ThrowStatement(a){s(a.argument)}}}})});var $Hs=j(Z0n=>{"use strict";Object.defineProperty(Z0n,"__esModule",{value:!0});var Ppe=Vo(),VHs=el();Z0n.default=(0,VHs.createRule)({name:"parameter-properties",meta:{type:"problem",docs:{description:"Require or disallow parameter properties in class constructors"},messages:{preferClassProperty:"Property {{parameter}} should be declared as a class property.",preferParameterProperty:"Property {{parameter}} should be declared as a parameter property."},schema:[{type:"object",$defs:{modifier:{type:"string",enum:["readonly","private","protected","public","private readonly","protected readonly","public readonly"]}},additionalProperties:!1,properties:{allow:{type:"array",description:"Whether to allow certain kinds of properties to be ignored.",items:{$ref:"#/items/0/$defs/modifier"}},prefer:{type:"string",description:"Whether to prefer class properties or parameter properties.",enum:["class-property","parameter-property"]}}}]},defaultOptions:[{allow:[],prefer:"class-property"}],create(e,[{allow:t=[],prefer:r="class-property"}]){function n(u){let l=[];return u.accessibility&&l.push(u.accessibility),u.readonly&&l.push("readonly"),l.filter(Boolean).join(" ")}if(r==="class-property")return{TSParameterProperty(u){let l=n(u);if(!t.includes(l)){let f=u.parameter.type===Ppe.AST_NODE_TYPES.Identifier?u.parameter.name:u.parameter.left.name;e.report({node:u,messageId:"preferClassProperty",data:{parameter:f}})}}};let i=[];function s(u){let l=i[i.length-1],f=l.get(u);if(f)return f;let p={};return l.set(u,p),p}function a(u,l){return!u.typeAnnotation||!l.typeAnnotation?u.typeAnnotation===l.typeAnnotation:e.sourceCode.getText(u.typeAnnotation)===e.sourceCode.getText(l.typeAnnotation)}return{":matches(ClassDeclaration, ClassExpression):exit"(){let u=(0,VHs.nullThrows)(i.pop(),"Stack should exist on class exit");for(let[l,f]of u)f.classProperty&&f.constructorAssignment&&f.constructorParameter&&a(f.classProperty,f.constructorParameter)&&e.report({node:f.classProperty,messageId:"preferParameterProperty",data:{parameter:l}})},ClassBody(u){for(let l of u.body)l.type===Ppe.AST_NODE_TYPES.PropertyDefinition&&l.key.type===Ppe.AST_NODE_TYPES.Identifier&&!l.value&&!t.includes(n(l))&&(s(l.key.name).classProperty=l)},"ClassDeclaration, ClassExpression"(){i.push(new Map)},'MethodDefinition[kind="constructor"]'(u){for(let l of u.value.params)l.type===Ppe.AST_NODE_TYPES.Identifier&&(s(l.name).constructorParameter=l);for(let l of u.value.body?.body??[]){if(l.type!==Ppe.AST_NODE_TYPES.ExpressionStatement||l.expression.type!==Ppe.AST_NODE_TYPES.AssignmentExpression||l.expression.left.type!==Ppe.AST_NODE_TYPES.MemberExpression||l.expression.left.object.type!==Ppe.AST_NODE_TYPES.ThisExpression||l.expression.left.property.type!==Ppe.AST_NODE_TYPES.Identifier||l.expression.right.type!==Ppe.AST_NODE_TYPES.Identifier)break;s(l.expression.right.name).constructorAssignment=l.expression}}}}})});var KHs=j(t1n=>{"use strict";Object.defineProperty(t1n,"__esModule",{value:!0});var e1n=Vo(),J8f=el();t1n.default=(0,J8f.createRule)({name:"prefer-as-const",meta:{type:"suggestion",docs:{description:"Enforce the use of `as const` over literal type",recommended:"recommended"},fixable:"code",hasSuggestions:!0,messages:{preferConstAssertion:"Expected a `const` instead of a literal type assertion.",variableConstAssertion:"Expected a `const` assertion instead of a literal type annotation.",variableSuggest:"You should use `as const` instead of type annotation."},schema:[]},defaultOptions:[],create(e){function t(r,n,i){r.type===e1n.AST_NODE_TYPES.Literal&&n.type===e1n.AST_NODE_TYPES.TSLiteralType&&n.literal.type===e1n.AST_NODE_TYPES.Literal&&r.raw===n.literal.raw&&(i?e.report({node:n,messageId:"preferConstAssertion",fix:s=>s.replaceText(n,"const")}):e.report({node:n,messageId:"variableConstAssertion",suggest:[{messageId:"variableSuggest",fix:s=>[s.remove(n.parent),s.insertTextAfter(r," as const")]}]}))}return{PropertyDefinition(r){r.value&&r.typeAnnotation&&t(r.value,r.typeAnnotation.typeAnnotation,!1)},TSAsExpression(r){t(r.expression,r.typeAnnotation,!0)},TSTypeAssertion(r){t(r.expression,r.typeAnnotation,!0)},VariableDeclarator(r){r.init&&r.id.typeAnnotation&&t(r.init,r.id.typeAnnotation.typeAnnotation,!1)}}}})});var HHs=j(U_e=>{"use strict";var H8f=U_e&&U_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),z8f=U_e&&U_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),W8f=U_e&&U_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{e.report({...r,fix:void 0})}};return new Proxy(t,{get(r,n,i){return Reflect.get(n!=="report"?e:r,n,i)}})}function JHs(e,t){return(0,n1n.isTypeAnyType)(e)?!0:e.isUnion()?e.types.every(r=>JHs(r,t)):X8f.getWellKnownSymbolPropertyOfType(e,"iterator",t)!=null}function r4f(e){return e.type!==eDe.AST_NODE_TYPES.MemberExpression||e.property.type!==eDe.AST_NODE_TYPES.Literal?!1:Number.isInteger(e.property.value)}});var zHs=j(i1n=>{"use strict";Object.defineProperty(i1n,"__esModule",{value:!0});var n4f=el();i1n.default=(0,n4f.createRule)({name:"prefer-enum-initializers",meta:{type:"suggestion",docs:{description:"Require each enum member value to be explicitly initialized"},hasSuggestions:!0,messages:{defineInitializer:"The value of the member '{{ name }}' should be explicitly defined.",defineInitializerSuggestion:"Can be fixed to {{ name }} = {{ suggested }}"},schema:[]},defaultOptions:[],create(e){function t(r){let{members:n}=r.body;n.forEach((i,s)=>{if(i.initializer==null){let a=e.sourceCode.getText(i);e.report({node:i,messageId:"defineInitializer",data:{name:a},suggest:[{messageId:"defineInitializerSuggestion",data:{name:a,suggested:s},fix:u=>u.replaceText(i,`${a} = ${s}`)},{messageId:"defineInitializerSuggestion",data:{name:a,suggested:s+1},fix:u=>u.replaceText(i,`${a} = ${s+1}`)},{messageId:"defineInitializerSuggestion",data:{name:a,suggested:`'${a}'`},fix:u=>u.replaceText(i,`${a} = '${a}'`)}]})}})}return{TSEnumDeclaration:t}}})});var WHs=j(q_e=>{"use strict";var i4f=q_e&&q_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),s4f=q_e&&q_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),a4f=q_e&&q_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;in.isArrayType(b)||n.isTupleType(b)))return!1;h=!0}return h}function a(A){if(A.arguments.length!==1)return;let h=A.callee;if(h.type===Fyt.AST_NODE_TYPES.MemberExpression&&!h.optional&&(0,Npe.isStaticMemberAccessOfValue)(h,e,"at")){let _=(0,Npe.getStaticValue)(A.arguments[0],t);if(_!=null&&u(_.value))return h.object}}function u(A){if(typeof A=="symbol")return!1;let h=Number(A);return isNaN(h)?!0:Math.trunc(h)===0}function l(A){let h=(0,Npe.getStaticValue)(A.property,t);return!A.optional&&h!=null&&f(h.value)}function f(A){return String(A)==="0"}function p(A,h,_){let E=(0,Npe.nullThrows)(e.sourceCode.getTokenAfter(h,b=>b.value==="."||b.value==="["),"Expected to find a member access token!");return A.removeRange([E.range[0],_.range[1]])}function g(A,h){return A.replaceText(h.filterNode,h.isBracketSyntaxForFilter?'"find"':"find")}return{CallExpression(A){let h=a(A);if(h){let _=i(h);_.length!==0&&e.report({node:A,messageId:"preferFind",suggest:[{messageId:"preferFindSuggestion",fix:E=>[..._.map(b=>g(E,b)),p(E,h,A)]}]})}},"MemberExpression[computed=true]"(A){if(l(A)){let h=A.object,_=i(h);_.length!==0&&e.report({node:A,messageId:"preferFind",suggest:[{messageId:"preferFindSuggestion",fix:E=>[..._.map(b=>g(E,b)),p(E,h,A)]}]})}}}}})});var ZHs=j(s1n=>{"use strict";Object.defineProperty(s1n,"__esModule",{value:!0});var jse=Vo(),XHs=el();s1n.default=(0,XHs.createRule)({name:"prefer-for-of",meta:{type:"suggestion",docs:{description:"Enforce the use of `for-of` loop over the standard `for` loop where possible",recommended:"stylistic"},messages:{preferForOf:"Expected a `for-of` loop instead of a `for` loop with this simple iteration."},schema:[]},defaultOptions:[],create(e){function t(f){return f?.type===jse.AST_NODE_TYPES.VariableDeclaration&&f.kind!=="const"&&f.declarations.length===1}function r(f,p){return f.type===jse.AST_NODE_TYPES.Literal&&f.value===p}function n(f){return f.init!=null&&r(f.init,0)}function i(f,p){return f.type===jse.AST_NODE_TYPES.Identifier&&f.name===p}function s(f,p){return f?.type===jse.AST_NODE_TYPES.BinaryExpression&&f.operator==="<"&&i(f.left,p)&&f.right.type===jse.AST_NODE_TYPES.MemberExpression&&i(f.right.property,"length")?f.right.object:null}function a(f,p){if(!f)return!1;switch(f.type){case jse.AST_NODE_TYPES.UpdateExpression:return f.operator==="++"&&i(f.argument,p);case jse.AST_NODE_TYPES.AssignmentExpression:if(i(f.left,p)){if(f.operator==="+=")return r(f.right,1);if(f.operator==="="){let g=f.right;return g.type===jse.AST_NODE_TYPES.BinaryExpression&&g.operator==="+"&&(i(g.left,p)&&r(g.right,1)||r(g.left,1)&&i(g.right,p))}}}return!1}function u(f,p){return f.range[0]<=p.range[0]&&f.range[1]>=p.range[1]}function l(f,p,g){let A=e.sourceCode.getText(g);return p.references.every(h=>{let _=h.identifier,E=_.parent;return!u(f,_)||E.type===jse.AST_NODE_TYPES.MemberExpression&&E.object.type!==jse.AST_NODE_TYPES.ThisExpression&&E.property===_&&e.sourceCode.getText(E.object)===A&&!(0,XHs.isAssignee)(E)})}return{"ForStatement:exit"(f){if(!t(f.init))return;let p=f.init.declarations[0];if(!p||!n(p)||p.id.type!==jse.AST_NODE_TYPES.Identifier)return;let g=p.id.name,A=s(f.test,g);if(!A)return;let[h]=e.sourceCode.getDeclaredVariables(f.init);a(f.update,g)&&l(f.body,h,A)&&e.report({node:f,messageId:"preferForOf"})}}}})});var ezs=j(A$e=>{"use strict";Object.defineProperty(A$e,"__esModule",{value:!0});A$e.phrases=void 0;var ij=Vo(),o4f=el();A$e.phrases={[ij.AST_NODE_TYPES.TSInterfaceDeclaration]:"Interface",[ij.AST_NODE_TYPES.TSTypeLiteral]:"Type literal"};A$e.default=(0,o4f.createRule)({name:"prefer-function-type",meta:{type:"suggestion",docs:{description:"Enforce using function types instead of interfaces with call signatures",recommended:"stylistic"},fixable:"code",messages:{functionTypeOverCallableType:"{{ literalOrInterface }} only has a call signature, you should use a function type instead.",unexpectedThisOnFunctionOnlyInterface:"`this` refers to the function type '{{ interfaceName }}', did you intend to use a generic `this` parameter like `(this: Self, ...) => Self` instead?"},schema:[]},defaultOptions:[],create(e){function t(a){if(a.extends.length===0)return!1;if(a.extends.length!==1)return!0;let u=a.extends[0].expression;return u.type!==ij.AST_NODE_TYPES.Identifier||u.name!=="Function"}function r(a){if(!a)return!1;switch(a.type){case ij.AST_NODE_TYPES.TSUnionType:case ij.AST_NODE_TYPES.TSIntersectionType:case ij.AST_NODE_TYPES.TSArrayType:return!0;default:return!1}}function n(a,u,l=null){if((a.type===ij.AST_NODE_TYPES.TSCallSignatureDeclaration||a.type===ij.AST_NODE_TYPES.TSConstructSignatureDeclaration)&&a.returnType!=null){if(l?.length&&u.type===ij.AST_NODE_TYPES.TSInterfaceDeclaration){e.report({node:l[0],messageId:"unexpectedThisOnFunctionOnlyInterface",data:{interfaceName:u.id.name}});return}let p=u.parent.type===ij.AST_NODE_TYPES.ExportDefaultDeclaration?null:g=>{let A=[],h=a.range[0],_=a.returnType.range[0]-h,E=e.sourceCode.getText().slice(h,a.range[1]),b=[...e.sourceCode.getCommentsBefore(a),...e.sourceCode.getCommentsAfter(a)],D=`${E.slice(0,_)} =>${E.slice(_+1)}`,k=D.endsWith(";")?";":"";k&&(D=D.slice(0,-1)),r(u.parent)&&(D=`(${D})`),u.type===ij.AST_NODE_TYPES.TSInterfaceDeclaration&&(u.typeParameters!=null?D=`type ${e.sourceCode.getText().slice(u.id.range[0],u.typeParameters.range[1])} = ${D}${k}`:D=`type ${u.id.name} = ${D}${k}`);let M=u.parent.type===ij.AST_NODE_TYPES.ExportNamedDeclaration;if(u.type===ij.AST_NODE_TYPES.TSInterfaceDeclaration&&M){let q=b.map(({type:G,value:K})=>G===ij.AST_TOKEN_TYPES.Line?`//${K} `:`/*${K}*/ `).join("");A.push(g.insertTextBefore(u.parent,q))}else b.forEach(q=>{let G=q.type===ij.AST_TOKEN_TYPES.Line?`//${q.value}`:`/*${q.value}*/`;q.loc.start.line===a.loc.start.line?G+=" ":G+=` `,D=G+D});let R=u.range[0];return A.push(g.replaceTextRange([R,u.range[1]],D)),A};e.report({node:a,messageId:"functionTypeOverCallableType",data:{literalOrInterface:A$e.phrases[u.type]},fix:p})}}let i=null,s=0;return{TSInterfaceDeclaration(){i=[]},"TSInterfaceDeclaration:exit"(a){!t(a)&&a.body.body.length===1&&n(a.body.body[0],a,i),i=null},"TSInterfaceDeclaration TSThisType"(a){s===0&&i!=null&&i.push(a)},"TSInterfaceDeclaration TSTypeLiteral"(){s+=1},"TSInterfaceDeclaration TSTypeLiteral:exit"(){s-=1},"TSTypeLiteral[members.length = 1]"(a){n(a.members[0],a)}}}})});var rzs=j(Y_e=>{"use strict";var u4f=Y_e&&Y_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),l4f=Y_e&&Y_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),c4f=Y_e&&Y_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i":return i(g.right,-1);case">=":return i(g.right,0);default:return!1}}function a(g){switch(g.operator){case"===":case"==":case"<=":return i(g.right,-1);case"<":return i(g.right,0);default:return!1}}function u(g,A){if(!tzs.isFunctionLike(g)||!tzs.isFunctionLike(A))return!1;let h=g.parameters,_=A.parameters;if(h.length!==_.length)return!1;for(let E=0;Eb.type==="Character")?String.fromCodePoint(...E.map(b=>b.value)):null}function f(g){let A={"\0":"\\0"," ":"\\t","\n":"\\n","\v":"\\v","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},h=new RegExp(Object.values(A).join("|"),"g");return g.replaceAll(h,_=>A[_])}function p(g,A){if(!(0,y$e.isStaticMemberAccessOfValue)(g,e,"indexOf"))return;let h=g.parent,_=h.parent.type===h$e.AST_NODE_TYPES.ChainExpression?h.parent.parent:h.parent,E=a(_);if(!E&&!s(_))return;let b=r.getSymbolAtLocation(g.property)?.getDeclarations();if(!(b==null||b.length===0)){for(let D of b){let k=D.parent;if(!n.getTypeAtLocation(k).getProperty("includes")?.getDeclarations()?.some(q=>u(q,D)))return}e.report({node:_,messageId:"preferIncludes",...A&&{*fix(D){E&&(yield D.insertTextBefore(h,"!")),yield D.replaceText(g.property,"includes"),yield D.removeRange([h.range[1],_.range[1]])}}})}}return{"BinaryExpression > CallExpression.left > MemberExpression"(g){p(g,!0)},"BinaryExpression > ChainExpression.left > CallExpression > MemberExpression"(g){p(g,!1)},'CallExpression[arguments.length=1] > MemberExpression.callee[property.name="test"][computed=false]'(g){let A=g.parent,h=l(g.object);if(h==null)return;let _=A.arguments[0];(0,y$e.getConstrainedTypeAtLocation)(r,_).getProperty("includes")?.getDeclarations()!=null&&e.report({node:A,messageId:"preferStringIncludes",*fix(D){let k=A.arguments[0],M=k.type!==h$e.AST_NODE_TYPES.Literal&&k.type!==h$e.AST_NODE_TYPES.TemplateLiteral&&k.type!==h$e.AST_NODE_TYPES.Identifier&&k.type!==h$e.AST_NODE_TYPES.MemberExpression&&k.type!==h$e.AST_NODE_TYPES.CallExpression;yield D.removeRange([A.range[0],k.range[0]]),yield D.removeRange([k.range[1],A.range[1]]),M&&(yield D.insertTextBefore(k,"("),yield D.insertTextAfter(k,")")),yield D.insertTextAfter(k,`${g.optional?"?.":"."}includes('${f(h)}')`)}})}}}})});var nzs=j(o1n=>{"use strict";Object.defineProperty(o1n,"__esModule",{value:!0});var G_e=Vo(),a1n=el();o1n.default=(0,a1n.createRule)({name:"prefer-literal-enum-member",meta:{type:"suggestion",docs:{description:"Require all enum members to be literal values",recommended:"strict",requiresTypeChecking:!1},messages:{notLiteral:"Explicit enum value must only be a literal value (string or number).",notLiteralOrBitwiseExpression:"Explicit enum value must only be a literal value (string or number) or a bitwise expression."},schema:[{type:"object",additionalProperties:!1,properties:{allowBitwiseExpressions:{type:"boolean",description:"Whether to allow using bitwise expressions in enum initializers."}}}]},defaultOptions:[{allowBitwiseExpressions:!1}],create(e,[{allowBitwiseExpressions:t}]){function r(s,a){return s.type===G_e.AST_NODE_TYPES.Identifier&&s.name===a}function n(s,a){return s.body.members.some(u=>r(u.id,a)||u.id.type===G_e.AST_NODE_TYPES.Literal&&(0,a1n.getStaticStringValue)(u.id)===a)}function i(s,a){if(a.type===G_e.AST_NODE_TYPES.Identifier)return n(s,a.name);if(a.type===G_e.AST_NODE_TYPES.MemberExpression&&r(a.object,s.id.name)){if(a.property.type===G_e.AST_NODE_TYPES.Identifier)return n(s,a.property.name);if(a.computed){let u=(0,a1n.getStaticStringValue)(a.property);if(u)return n(s,u)}}return!1}return{TSEnumMember(s){if(s.initializer==null)return;let a=s.parent.parent;function u(l,f){if(f&&i(a,l))return!0;switch(l.type){case G_e.AST_NODE_TYPES.Literal:return!0;case G_e.AST_NODE_TYPES.TemplateLiteral:return l.expressions.length===0;case G_e.AST_NODE_TYPES.UnaryExpression:return["-","+"].includes(l.operator)?u(l.argument,f):t?l.operator==="~"&&u(l.argument,!0):!1;case G_e.AST_NODE_TYPES.BinaryExpression:return t?["&","^","<<",">>",">>>","|"].includes(l.operator)&&u(l.left,!0)&&u(l.right,!0):!1;default:return!1}}u(s.initializer,!1)||e.report({node:s.id,messageId:t?"notLiteralOrBitwiseExpression":"notLiteral"})}}}})});var szs=j(u1n=>{"use strict";Object.defineProperty(u1n,"__esModule",{value:!0});var izs=Vo(),p4f=el();u1n.default=(0,p4f.createRule)({name:"prefer-namespace-keyword",meta:{type:"suggestion",docs:{description:"Require using `namespace` keyword over `module` keyword to declare custom TypeScript modules",recommended:"recommended"},fixable:"code",messages:{useNamespace:"Use 'namespace' instead of 'module' to declare custom TypeScript modules."},schema:[]},defaultOptions:[],create(e){return{TSModuleDeclaration(t){if(t.id.type===izs.AST_NODE_TYPES.Literal)return;let r=e.sourceCode.getTokenBefore(t.id);r&&r.type===izs.AST_TOKEN_TYPES.Identifier&&r.value==="module"&&e.report({node:t,messageId:"useNamespace",fix(n){return n.replaceText(r,"namespace")}})}}}})});var fzs=j(V_e=>{"use strict";var d4f=V_e&&V_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),m4f=V_e&&V_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),czs=V_e&&V_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i(0,I3.isNullLiteral)(e)||(0,I3.isUndefinedIdentifier)(e),ozs=e=>azs(e.left)&&azs(e.right);V_e.default=(0,I3.createRule)({name:"prefer-nullish-coalescing",meta:{type:"suggestion",docs:{description:"Enforce using the nullish coalescing operator instead of logical assignments or chaining",recommended:"stylistic",requiresTypeChecking:!0},hasSuggestions:!0,messages:{noStrictNullCheck:"This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",preferNullishOverAssignment:"Prefer using nullish coalescing operator (`??{{ equals }}`) instead of an assignment expression, as it is simpler to read.",preferNullishOverOr:"Prefer using nullish coalescing operator (`??{{ equals }}`) instead of a logical {{ description }} (`||{{ equals }}`), as it is a safer operator.",preferNullishOverTernary:"Prefer using nullish coalescing operator (`??{{ equals }}`) instead of a ternary expression, as it is simpler to read.",suggestNullish:"Fix to nullish coalescing operator (`??{{ equals }}`)."},schema:[{type:"object",additionalProperties:!1,properties:{allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:{type:"boolean",description:"Unless this is set to `true`, the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`."},ignoreBooleanCoercion:{type:"boolean",description:"Whether to ignore arguments to the `Boolean` constructor"},ignoreConditionalTests:{type:"boolean",description:"Whether to ignore cases that are located within a conditional test."},ignoreIfStatements:{type:"boolean",description:"Whether to ignore any if statements that could be simplified by using the nullish coalescing operator."},ignoreMixedLogicalExpressions:{type:"boolean",description:"Whether to ignore any logical or expressions that are part of a mixed logical expression (with `&&`)."},ignorePrimitives:{description:"Whether to ignore all (`true`) or some (an object with properties) primitive types.",oneOf:[{type:"object",additionalProperties:!1,description:"Which primitives types may be ignored.",properties:{bigint:{type:"boolean",description:"Ignore bigint primitive types."},boolean:{type:"boolean",description:"Ignore boolean primitive types."},number:{type:"boolean",description:"Ignore number primitive types."},string:{type:"boolean",description:"Ignore string primitive types."}}},{type:"boolean",description:"Ignore all primitive types.",enum:[!0]}]},ignoreTernaryTests:{type:"boolean",description:"Whether to ignore any ternary expressions that could be simplified by using the nullish coalescing operator."}}}]},defaultOptions:[{allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:!1,ignoreBooleanCoercion:!1,ignoreConditionalTests:!0,ignoreIfStatements:!1,ignoreMixedLogicalExpressions:!1,ignorePrimitives:{bigint:!1,boolean:!1,number:!1,string:!1},ignoreTernaryTests:!1}],create(e,[{allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:t,ignoreBooleanCoercion:r,ignoreConditionalTests:n,ignoreIfStatements:i,ignoreMixedLogicalExpressions:s,ignorePrimitives:a,ignoreTernaryTests:u}]){let l=(0,I3.getParserServices)(e),f=l.program.getCompilerOptions();!Lyt.isStrictCompilerOptionEnabled(f,"strictNullChecks")&&t!==!0&&e.report({loc:{start:{column:0,line:0},end:{column:0,line:0}},messageId:"noStrictNullCheck"});function g(E){if(!(0,I3.isNullableType)(E))return!1;let b=[(a===!0||a.bigint)&&Ope.TypeFlags.BigIntLike,(a===!0||a.boolean)&&Ope.TypeFlags.BooleanLike,(a===!0||a.number)&&Ope.TypeFlags.NumberLike,(a===!0||a.string)&&Ope.TypeFlags.StringLike].filter(D=>typeof D=="number").reduce((D,k)=>D|k,0);return b===0?!0:!(Lyt.isTypeFlagSet(E,Ope.TypeFlags.Any|Ope.TypeFlags.Unknown)||Lyt.typeConstituents(E).some(D=>Lyt.intersectionConstituents(D).some(k=>Lyt.isTypeFlagSet(k,b))))}function A({node:E,testNode:b}){let D=l.getTypeAtLocation(b);return!(!g(D)||n===!0&&Myt(E)||r===!0&&Her(E,e)&&!(E.type===Jy.AST_NODE_TYPES.ConditionalExpression&&E.parent.type===Jy.AST_NODE_TYPES.CallExpression))}function h(E,b,D){if(!A({node:E,testNode:E.left})||s===!0&&h4f(E))return;let k=(0,I3.nullThrows)(e.sourceCode.getTokenAfter(E.left,R=>R.type===Jy.AST_TOKEN_TYPES.Punctuator&&R.value===E.operator),I3.NullThrowsReasons.MissingToken("operator",E.type));function*M(R){(0,I3.isLogicalOrOperator)(E.parent)&&(E.left.type===Jy.AST_NODE_TYPES.LogicalExpression&&!(0,I3.isLogicalOrOperator)(E.left.left)?yield R.insertTextBefore(E.left.right,"("):yield R.insertTextBefore(E.left,"("),yield R.insertTextAfter(E.right,")")),yield R.replaceText(k,E.operator.replace("||","??"))}e.report({node:k,messageId:"preferNullishOverOr",data:{description:b,equals:D},suggest:[{messageId:"suggestNullish",data:{equals:D},fix:M}]})}function _(E,b,D,k){let M,R=!1,q=!1,G=!1;if(D.length)for(let Z of D)if((0,I3.isNullLiteral)(Z))q=!0;else if((0,I3.isUndefinedIdentifier)(Z))G=!0;else if(zer(Z,b))M??=Z;else return{isFixable:!1};else if(R=!0,M=E.test.type===Jy.AST_NODE_TYPES.UnaryExpression?E.test.argument:E.test,!zer(M,b))return{isFixable:!1};return M?(()=>{if(R)return A({node:E,testNode:M});if(G===q)return G;if(["==","!="].includes(k))return!0;let Z=l.getTypeAtLocation(M),oe=(0,I3.getTypeFlags)(Z);if(oe&(Ope.TypeFlags.Any|Ope.TypeFlags.Unknown))return!1;let ue=(oe&Ope.TypeFlags.Null)!==0;if(G&&!ue)return!0;let me=(oe&Ope.TypeFlags.Undefined)!==0;return q&&!me})()?{isFixable:!0,nullishCoalescingLeftNode:M}:{isFixable:!1}:{isFixable:!1}}return{'AssignmentExpression[operator = "||="]'(E){h(E,"assignment","=")},ConditionalExpression(E){if(u)return;let{nodesInsideTestExpression:b,operator:D}=uzs(E);if(D==null)return;let{nonNullishBranch:k,nullishBranch:M}=y4f(E,D),R=_(E,k,b,D);R.isFixable&&e.report({node:E,messageId:"preferNullishOverTernary",data:{equals:""},suggest:[{messageId:"suggestNullish",data:{equals:""},fix(q){let G=(0,I3.getTextWithParentheses)(e.sourceCode,M),K=(0,I3.isParenthesized)(M,e.sourceCode)?G:(0,g4f.getWrappedCode)(G,(0,I3.getOperatorPrecedenceForNode)(M),I3.OperatorPrecedence.Coalesce);return q.replaceText(E,`${(0,I3.getTextWithParentheses)(e.sourceCode,R.nullishCoalescingLeftNode)} ?? ${K}`)}}]})},IfStatement(E){if(i||E.alternate!=null)return;let b;if(E.consequent.type===Jy.AST_NODE_TYPES.BlockStatement&&E.consequent.body.length===1&&E.consequent.body[0].type===Jy.AST_NODE_TYPES.ExpressionStatement?b=E.consequent.body[0].expression:E.consequent.type===Jy.AST_NODE_TYPES.ExpressionStatement&&(b=E.consequent.expression),!b||b.type!==Jy.AST_NODE_TYPES.AssignmentExpression||!l1n(b.left))return;let D=b.left,k=b.right,{nodesInsideTestExpression:M,operator:R}=uzs(E);if(R==null||!["!","==","==="].includes(R))return;if(_(E,D,M,R).isFixable){let G=E.consequent.type===Jy.AST_NODE_TYPES.BlockStatement,K=lzs(e.sourceCode.getCommentsBefore(b),G?` `:" "),Z=G?lzs(e.sourceCode.getCommentsAfter(b.parent),` `):"";e.report({node:E,messageId:"preferNullishOverAssignment",data:{equals:"="},suggest:[{messageId:"suggestNullish",data:{equals:"="},fix(oe){let ue=[];return K&&ue.push(oe.insertTextBefore(E,K)),ue.push(oe.replaceText(E,`${(0,I3.getTextWithParentheses)(e.sourceCode,D)} ??= ${(0,I3.getTextWithParentheses)(e.sourceCode,k)};`)),Z&&ue.push(oe.insertTextAfter(E,` ${Z.slice(0,-1)}`)),ue}}]})}},'LogicalExpression[operator = "||"]'(E){h(E,"or","")}}}});function Myt(e){let t=e.parent;return t==null?!1:t.type===Jy.AST_NODE_TYPES.LogicalExpression||t.type===Jy.AST_NODE_TYPES.ConditionalExpression&&(t.consequent===e||t.alternate===e)||t.type===Jy.AST_NODE_TYPES.SequenceExpression&&t.expressions.at(-1)===e||t.type===Jy.AST_NODE_TYPES.UnaryExpression&&t.operator==="!"?Myt(t):(t.type===Jy.AST_NODE_TYPES.ConditionalExpression||t.type===Jy.AST_NODE_TYPES.DoWhileStatement||t.type===Jy.AST_NODE_TYPES.IfStatement||t.type===Jy.AST_NODE_TYPES.ForStatement||t.type===Jy.AST_NODE_TYPES.WhileStatement)&&t.test===e}function Her(e,t){let r=e.parent;return r==null?!1:r.type===Jy.AST_NODE_TYPES.LogicalExpression||r.type===Jy.AST_NODE_TYPES.ConditionalExpression&&(r.consequent===e||r.alternate===e)||r.type===Jy.AST_NODE_TYPES.SequenceExpression&&r.expressions.at(-1)===e?Her(r,t):A4f(r,t)}function A4f(e,t){if(e.type===Jy.AST_NODE_TYPES.CallExpression&&e.callee.type===Jy.AST_NODE_TYPES.Identifier&&e.callee.name==="Boolean"&&e.arguments[0]){let n=t.sourceCode.getScope(e).set.get(Jy.AST_TOKEN_TYPES.Boolean);return n==null||n.defs.length===0}return!1}function h4f(e){let t=new Set,r=[e.parent,e.left,e.right];for(let n of r)if(!t.has(n)&&(t.add(n),n.type===Jy.AST_NODE_TYPES.LogicalExpression)){if(n.operator==="&&")return!0;["||","||="].includes(n.operator)&&r.push(n.parent,n.left,n.right)}return!1}function zer(e,t){return e.type===Jy.AST_NODE_TYPES.MemberExpression&&t.type===Jy.AST_NODE_TYPES.MemberExpression?zer(e.object,t.object)?e.computed===t.computed?(0,I3.isNodeEqual)(e.property,t.property):e.property.type===Jy.AST_NODE_TYPES.Literal&&t.property.type===Jy.AST_NODE_TYPES.Identifier?e.property.value===t.property.name:e.property.type===Jy.AST_NODE_TYPES.Identifier&&t.property.type===Jy.AST_NODE_TYPES.Literal?e.property.name===t.property.value:!1:!1:e.type===Jy.AST_NODE_TYPES.ChainExpression||t.type===Jy.AST_NODE_TYPES.ChainExpression?zer((0,I3.skipChainExpression)(e),(0,I3.skipChainExpression)(t)):(0,I3.isNodeEqual)(e,t)}function y4f(e,t){return["","!=","!=="].includes(t)?{nonNullishBranch:e.consequent,nullishBranch:e.alternate}:{nonNullishBranch:e.alternate,nullishBranch:e.consequent}}function uzs(e){let t=null,r=[];if(l1n(e.test)||e.test.type===Jy.AST_NODE_TYPES.UnaryExpression)t=_4f(e.test);else if(e.test.type===Jy.AST_NODE_TYPES.BinaryExpression)r=[e.test.left,e.test.right],(e.test.operator==="=="||e.test.operator==="!="||e.test.operator==="==="||e.test.operator==="!==")&&(t=e.test.operator);else if(e.test.type===Jy.AST_NODE_TYPES.LogicalExpression&&e.test.left.type===Jy.AST_NODE_TYPES.BinaryExpression&&e.test.right.type===Jy.AST_NODE_TYPES.BinaryExpression){if(ozs(e.test.left)||ozs(e.test.right))return{nodesInsideTestExpression:r,operator:t};r=[e.test.left.left,e.test.left.right,e.test.right.left,e.test.right.right],["||","||="].includes(e.test.operator)?e.test.left.operator==="==="&&e.test.right.operator==="==="?t="===":((e.test.left.operator==="==="||e.test.right.operator==="===")&&(e.test.left.operator==="=="||e.test.right.operator==="==")||e.test.left.operator==="=="&&e.test.right.operator==="==")&&(t="=="):e.test.operator==="&&"&&(e.test.left.operator==="!=="&&e.test.right.operator==="!=="?t="!==":((e.test.left.operator==="!=="||e.test.right.operator==="!==")&&(e.test.left.operator==="!="||e.test.right.operator==="!=")||e.test.left.operator==="!="&&e.test.right.operator==="!=")&&(t="!="))}return{nodesInsideTestExpression:r,operator:t}}function _4f(e){return e.type!==Jy.AST_NODE_TYPES.UnaryExpression?"":l1n(e.argument)&&e.operator==="!"?"!":null}function lzs(e,t){return e.map(({type:r,value:n})=>r===Jy.AST_TOKEN_TYPES.Line?`//${n}${t}`:`/*${n}*/${t}`).join("")}});var c1n=j($_e=>{"use strict";var E4f=$_e&&$_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),x4f=$_e&&$_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),v4f=$_e&&$_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i(0,b4f.unionConstituents)(t.getTypeAtLocation(s)).some(a=>(0,C4f.isTypeFlagSet)(a,pzs.TypeFlags.Null|pzs.TypeFlags.Undefined))))&&e.report(i)}});var hzs=j(Qyt=>{"use strict";Object.defineProperty(Qyt,"__esModule",{value:!0});Qyt.NodeComparisonResult=void 0;Qyt.compareNodes=sj;var B2=Vo(),S4f=wVe(),Uh;(function(e){e.Equal="Equal",e.Subset="Subset",e.Invalid="Invalid"})(Uh||(Qyt.NodeComparisonResult=Uh={}));function gzs(e,t){return e.length!==t.length?Uh.Invalid:e.every((n,i)=>{let s=t[i];return n==null||s==null?n===s:Azs(n,s)===Uh.Equal})?Uh.Equal:Uh.Invalid}function dzs(e){return typeof e=="object"&&e!=null&&"type"in e&&typeof e.type=="string"}function mzs(e){return!(e.parent?.type===B2.AST_NODE_TYPES.MemberExpression&&e.parent.object===e)&&!(e.parent?.type===B2.AST_NODE_TYPES.CallExpression&&e.parent.callee===e)&&e.type===B2.AST_NODE_TYPES.ChainExpression}function Azs(e,t){return e==null||t==null?e!==t?Uh.Invalid:Uh.Equal:!dzs(e)||!dzs(t)?Uh.Invalid:sj(e,t)}function T4f(e,t){let r=S4f.visitorKeys[e.type];if(r==null)return Uh.Invalid;if(r.length===0)return Uh.Equal;for(let n of r){let i=e[n],s=t[n];if(Array.isArray(i)){if(gzs(i,s)!==Uh.Equal)return Uh.Invalid}else if(Azs(i,s)!==Uh.Equal)return Uh.Invalid}return Uh.Equal}function D4f(e,t){if(e.type!==t.type){if(mzs(e))return sj(e.expression,t);if(mzs(t))return sj(e,t.expression);if(e.type===B2.AST_NODE_TYPES.TSNonNullExpression)return sj(e.expression,t);if(t.type===B2.AST_NODE_TYPES.TSNonNullExpression)return sj(e,t.expression);if(e.type===B2.AST_NODE_TYPES.CallExpression||e.type===B2.AST_NODE_TYPES.Identifier||e.type===B2.AST_NODE_TYPES.MemberExpression||e.type===B2.AST_NODE_TYPES.MetaProperty)switch(t.type){case B2.AST_NODE_TYPES.MemberExpression:return t.property.type===B2.AST_NODE_TYPES.PrivateIdentifier?Uh.Invalid:sj(e,t.object)!==Uh.Invalid?Uh.Subset:Uh.Invalid;case B2.AST_NODE_TYPES.CallExpression:return sj(e,t.callee)!==Uh.Invalid?Uh.Subset:Uh.Invalid;default:return Uh.Invalid}return Uh.Invalid}switch(e.type){case B2.AST_NODE_TYPES.ArrayExpression:case B2.AST_NODE_TYPES.ArrowFunctionExpression:case B2.AST_NODE_TYPES.ClassExpression:case B2.AST_NODE_TYPES.FunctionExpression:case B2.AST_NODE_TYPES.JSXElement:case B2.AST_NODE_TYPES.JSXFragment:case B2.AST_NODE_TYPES.NewExpression:case B2.AST_NODE_TYPES.ObjectExpression:return Uh.Invalid;case B2.AST_NODE_TYPES.AssignmentExpression:return Uh.Invalid;case B2.AST_NODE_TYPES.CallExpression:{let r=t;return sj(e,r.callee)!==Uh.Invalid?Uh.Subset:sj(e.callee,r.callee)!==Uh.Equal||gzs(e.arguments,r.arguments)!==Uh.Equal?Uh.Invalid:sj(e.typeArguments,r.typeArguments)===Uh.Equal?Uh.Equal:Uh.Invalid}case B2.AST_NODE_TYPES.ChainExpression:return sj(e,t.expression);case B2.AST_NODE_TYPES.Identifier:case B2.AST_NODE_TYPES.PrivateIdentifier:return e.name===t.name?Uh.Equal:Uh.Invalid;case B2.AST_NODE_TYPES.Literal:{let r=t;return e.raw===r.raw&&e.value===r.value?Uh.Equal:Uh.Invalid}case B2.AST_NODE_TYPES.MemberExpression:{let r=t;return r.property.type===B2.AST_NODE_TYPES.PrivateIdentifier?Uh.Invalid:sj(e,r.object)!==Uh.Invalid?Uh.Subset:e.computed!==r.computed||sj(e.object,r.object)!==Uh.Equal?Uh.Invalid:sj(e.property,r.property)}case B2.AST_NODE_TYPES.TSTemplateLiteralType:case B2.AST_NODE_TYPES.TemplateLiteral:{let r=t;return e.quasis.length===r.quasis.length&&e.quasis.every((i,s)=>{let a=r.quasis[s];return i.value.cooked===a.value.cooked})?Uh.Equal:Uh.Invalid}case B2.AST_NODE_TYPES.TemplateElement:{let r=t;return e.value.cooked===r.value.cooked?Uh.Equal:Uh.Invalid}case B2.AST_NODE_TYPES.ArrayPattern:case B2.AST_NODE_TYPES.ObjectPattern:return Uh.Invalid;case B2.AST_NODE_TYPES.UpdateExpression:return Uh.Invalid;case B2.AST_NODE_TYPES.YieldExpression:return Uh.Invalid;default:return T4f(e,t)}}var f1n=new WeakMap;function sj(e,t){if(e==null||t==null)return e!==t?Uh.Invalid:Uh.Equal;let r=f1n.get(e)?.get(t);if(r)return r;let n=D4f(e,t),i=f1n.get(e);return i==null&&(i=new WeakMap,f1n.set(e,i)),i.set(t,n),n}});var p1n=j(aj=>{"use strict";var w4f=aj&&aj.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),B4f=aj&&aj.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),k4f=aj&&aj.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i(0,jyt.isBooleanLiteralType)(u)&&u.intrinsicName==="false")||s.some(u=>(0,jyt.isStringLiteralType)(u)&&u.value==="")||s.some(u=>(0,jyt.isNumberLiteralType)(u)&&u.value===0)||s.some(u=>(0,jyt.isBigIntLiteralType)(u)&&u.value.base10Value==="0")))return!1;let a=P4f|K_e.TypeFlags.Object;return n.checkAny===!0&&(a|=K_e.TypeFlags.Any),n.checkUnknown===!0&&(a|=K_e.TypeFlags.Unknown),n.checkString===!0&&(a|=K_e.TypeFlags.StringLike),n.checkNumber===!0&&(a|=K_e.TypeFlags.NumberLike),n.checkBoolean===!0&&(a|=K_e.TypeFlags.BooleanLike),n.checkBigInt===!0&&(a|=K_e.TypeFlags.BigIntLike),s.every(u=>(0,_zs.isTypeFlagSet)(u,a))}function N4f(e,t,r,n){let i=[],{newlySeenLogicals:s,operands:a}=u(e);for(let p of a){let g=p!==a.at(-1);switch(p.type){case Rpe.AST_NODE_TYPES.BinaryExpression:{let{comparedExpression:A,comparedValue:h,isYoda:_}=(()=>{let b=l(p.right);return b?{comparedExpression:p.left,comparedValue:b,isYoda:!1}:{comparedExpression:p.right,comparedValue:l(p.left),isYoda:!0}})();if(h===Fpe.UndefinedStringLiteral){if(A.type===Rpe.AST_NODE_TYPES.UnaryExpression&&A.operator==="typeof"){let b=A.argument;if(b.type===Rpe.AST_NODE_TYPES.Identifier&&(0,_zs.isReferenceToGlobalFunction)(b.name,b,r)){i.push({type:oL.Invalid});continue}i.push({comparedName:A.argument,comparisonType:p.operator.startsWith("!")?EZ.NotStrictEqualUndefined:EZ.StrictEqualUndefined,isYoda:_,node:p,type:oL.Valid});continue}i.push({type:oL.Invalid});continue}if(p.operator.startsWith("!")!==(e.operator==="||"))switch(p.operator){case"!=":case"==":if(h===Fpe.Null||h===Fpe.Undefined){i.push({comparedName:A,comparisonType:p.operator.startsWith("!")?EZ.NotEqualNullOrUndefined:EZ.EqualNullOrUndefined,isYoda:_,node:p,type:oL.Valid});continue}break;case"!==":case"===":{let b=A;switch(h){case Fpe.Null:i.push({comparedName:b,comparisonType:p.operator.startsWith("!")?EZ.NotStrictEqualNull:EZ.StrictEqualNull,isYoda:_,node:p,type:oL.Valid});continue;case Fpe.Undefined:i.push({comparedName:b,comparisonType:p.operator.startsWith("!")?EZ.NotStrictEqualUndefined:EZ.StrictEqualUndefined,isYoda:_,node:p,type:oL.Valid});continue}}}let E=f(p);if(E){let{comparedName:b,comparedValue:D,isYoda:k}=E;switch(p.operator){case"==":case"===":{let M=p.operator==="=="?_$e.Equal:_$e.StrictEqual;i.push({comparedName:b,comparisonType:M,comparisonValue:D,isYoda:k,node:p,type:oL.Last});continue}case"!=":case"!==":{let M=p.operator==="!="?_$e.NotEqual:_$e.NotStrictEqual;i.push({comparedName:b,comparisonType:M,comparisonValue:D,isYoda:k,node:p,type:oL.Last});continue}}}i.push({type:oL.Invalid});continue}case Rpe.AST_NODE_TYPES.UnaryExpression:if(p.operator==="!"&&(!g||yzs(p.argument,e.operator==="||",t,n))){i.push({comparedName:p.argument,comparisonType:EZ.NotBoolean,isYoda:!1,node:p,type:oL.Valid});continue}i.push({type:oL.Invalid});continue;case Rpe.AST_NODE_TYPES.LogicalExpression:i.push({type:oL.Invalid});continue;default:!g||yzs(p,e.operator==="&&",t,n)?i.push({comparedName:p,comparisonType:EZ.Boolean,isYoda:!1,node:p,type:oL.Valid}):i.push({type:oL.Invalid});continue}}return{newlySeenLogicals:s,operands:i};function u(p){let g=[],A=new Set([p]),h=[p.right,p.left],_;for(;_=h.pop();)_.type===Rpe.AST_NODE_TYPES.LogicalExpression&&_.operator===p.operator?(A.add(_),h.push(_.right),h.push(_.left)):g.push(_);return{newlySeenLogicals:A,operands:g}}function l(p){switch(p.type){case Rpe.AST_NODE_TYPES.Literal:return p.value===null&&p.raw==="null"?Fpe.Null:p.value==="undefined"?Fpe.UndefinedStringLiteral:null;case Rpe.AST_NODE_TYPES.Identifier:return p.name==="undefined"?Fpe.Undefined:null}return null}function f(p){let{left:g,right:A}=p,h=!1,_=g.type===Rpe.AST_NODE_TYPES.MemberExpression,E=A.type===Rpe.AST_NODE_TYPES.MemberExpression;if(_&&!E){let[b,D]=[g,A];return{comparedName:b,comparedValue:D,isYoda:h}}if(!_&&E){let[b,D]=[A,g];return h=!0,{comparedName:b,comparedValue:D,isYoda:h}}return null}}});var Ezs=j(J_e=>{"use strict";var O4f=J_e&&J_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),R4f=J_e&&J_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),F4f=J_e&&J_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i(0,CT.isTypeFlagSet)(u,i|B9.TypeFlags.Null|B9.TypeFlags.Undefined));case RS.ComparisonType.StrictEqual:return!s.some(u=>(0,CT.isTypeFlagSet)(u,i|B9.TypeFlags.Undefined));case RS.ComparisonType.NotStrictEqual:return s.every(a=>(0,CT.isTypeFlagSet)(a,B9.TypeFlags.Undefined));case RS.ComparisonType.NotEqual:return s.every(a=>(0,CT.isTypeFlagSet)(a,B9.TypeFlags.Undefined|B9.TypeFlags.Null))}}function Q4f(e,t,r){let n=r.getTypeAtLocation(e),i=B9.TypeFlags.Any|B9.TypeFlags.Unknown,s=(0,d1n.unionConstituents)(n);switch(t){case RS.ComparisonType.NotEqual:return!s.some(u=>(0,CT.isTypeFlagSet)(u,i|B9.TypeFlags.Null|B9.TypeFlags.Undefined));case RS.ComparisonType.NotStrictEqual:return!s.some(u=>(0,CT.isTypeFlagSet)(u,i|B9.TypeFlags.Undefined));case RS.ComparisonType.Equal:return s.every(a=>(0,CT.isTypeFlagSet)(a,B9.TypeFlags.Undefined|B9.TypeFlags.Null));case RS.ComparisonType.StrictEqual:return s.every(a=>(0,CT.isTypeFlagSet)(a,B9.TypeFlags.Undefined))}}var j4f=(e,t,r,n)=>{switch(t.comparisonType){case RS.NullishComparisonType.Boolean:case RS.NullishComparisonType.NotEqualNullOrUndefined:return[t];case RS.NullishComparisonType.NotStrictEqualNull:{let i=n.at(r+1);return i?.comparisonType===RS.NullishComparisonType.NotStrictEqualUndefined&&(0,oj.compareNodes)(t.comparedName,i.comparedName)===oj.NodeComparisonResult.Equal?[t,i]:i&&!Uyt(e,t.comparedName,B9.TypeFlags.Undefined)?[t]:null}case RS.NullishComparisonType.NotStrictEqualUndefined:{let i=n.at(r+1);return i?.comparisonType===RS.NullishComparisonType.NotStrictEqualNull&&(0,oj.compareNodes)(t.comparedName,i.comparedName)===oj.NodeComparisonResult.Equal?[t,i]:Uyt(e,t.comparedName,B9.TypeFlags.Null)?null:[t]}default:return null}},U4f=(e,t,r,n)=>{switch(t.comparisonType){case RS.NullishComparisonType.NotBoolean:case RS.NullishComparisonType.EqualNullOrUndefined:return[t];case RS.NullishComparisonType.StrictEqualNull:{let i=n.at(r+1);return i?.comparisonType===RS.NullishComparisonType.StrictEqualUndefined&&(0,oj.compareNodes)(t.comparedName,i.comparedName)===oj.NodeComparisonResult.Equal?[t,i]:Uyt(e,t.comparedName,B9.TypeFlags.Undefined)?null:[t]}case RS.NullishComparisonType.StrictEqualUndefined:{let i=n.at(r+1);return i?.comparisonType===RS.NullishComparisonType.StrictEqualNull&&(0,oj.compareNodes)(t.comparedName,i.comparedName)===oj.NodeComparisonResult.Equal?[t,i]:Uyt(e,t.comparedName,B9.TypeFlags.Null)?null:[t]}default:return null}};function q4f(e,t,r){let n=e[0].node,i=e[e.length-1].node,s=(0,CT.nullThrows)(r.getFirstToken(n),CT.NullThrowsReasons.MissingToken("any token",n.type)),a=(0,CT.nullThrows)(r.getLastToken(i),CT.NullThrowsReasons.MissingToken("any token",i.type));for(;s.range[0]>t[0];){let u=r.getTokenBefore(s);if(!u||!(0,CT.isOpeningParenToken)(u)||u.range[0]t[1])break;a=u}return[s.range[0],a.range[1]]}function Y4f(e,t,r,n,i,s,a){let u=a?[...s,a]:s,l=u[u.length-1],f;if(i.allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing===!0)f=!1;else if(a||l.comparisonType===RS.NullishComparisonType.EqualNullOrUndefined||l.comparisonType===RS.NullishComparisonType.NotEqualNullOrUndefined||l.comparisonType===RS.NullishComparisonType.StrictEqualUndefined||l.comparisonType===RS.NullishComparisonType.NotStrictEqualUndefined||n==="||"&&l.comparisonType===RS.NullishComparisonType.NotBoolean)f=!1;else{f=!0;for(let E of u)if(Uyt(t,E.node,B9.TypeFlags.Undefined)){f=!1;break}}let p=[];for(let E of u){let D=_(e,E.comparedName).slice(p.length);D.length>0&&(p.length>0&&(D[0].optional=!0),p.push(...D))}let g=p.map(E=>{let b="";return E.optional?b+="?.":(E.nonNull&&(b+="!"),E.requiresDot&&(b+=".")),E.precedence!==CT.OperatorPrecedence.Invalid&&E.precedence{if(l.isYoda){let M=l.node.right.type===tDe.AST_NODE_TYPES.UnaryExpression?`${l.node.right.operator} `:"";return{left:e.getText(l.node.left),right:M+g}}return{left:(l.node.left.type===tDe.AST_NODE_TYPES.UnaryExpression?`${l.node.left.operator} `:"")+g,right:e.getText(l.node.right)}})();g=`${b} ${E} ${D}`}else l.comparisonType===RS.NullishComparisonType.NotBoolean&&(g=`!${g}`);let A=q4f(u,r.range,e),h=E=>E.replaceTextRange(A,g);return{loc:{end:e.getLocFromIndex(A[1]),start:e.getLocFromIndex(A[0])},messageId:"preferOptionalChain",...(0,CT.getFixOrSuggest)({fixOrSuggest:f?"suggest":"fix",suggestion:{fix:h,messageId:"optionalChainSuggest"}})};function _(E,b){switch(b.type){case tDe.AST_NODE_TYPES.ChainExpression:return _(E,b.expression);case tDe.AST_NODE_TYPES.CallExpression:{let D=(()=>{let M=(0,CT.nullThrows)(E.getLastToken(b),CT.NullThrowsReasons.MissingToken("closing parenthesis",b.type)),R=(0,CT.nullThrows)(E.getFirstTokenBetween(b.typeArguments??b.callee,M,CT.isOpeningParenToken),CT.NullThrowsReasons.MissingToken("opening parenthesis",b.type));return E.text.substring(R.range[0],M.range[1])})(),k=b.typeArguments==null?"":E.getText(b.typeArguments);return[..._(E,b.callee),{nonNull:!1,optional:b.optional,precedence:CT.OperatorPrecedence.Invalid,requiresDot:!1,text:k+D}]}case tDe.AST_NODE_TYPES.MemberExpression:{let D=E.getText(b.property);return[..._(E,b.object),{nonNull:b.object.type===tDe.AST_NODE_TYPES.TSNonNullExpression,optional:b.optional,precedence:b.computed?CT.OperatorPrecedence.Invalid:(0,CT.getOperatorPrecedenceForNode)(b.property),requiresDot:!b.computed,text:b.computed?`[${D}]`:D}]}case tDe.AST_NODE_TYPES.TSNonNullExpression:return _(E,b.expression);default:return[{nonNull:!1,optional:!1,precedence:(0,CT.getOperatorPrecedenceForNode)(b),requiresDot:!1,text:E.getText(b)}]}}}function G4f(e,t,r,n,i,s,a){if(s.length+(a?1:0)<=1||i==="??")return;let u=(()=>{switch(i){case"&&":return j4f;case"||":return U4f}})(),l=[],f,p=A=>{if(l.length+(f?1:0)>1){let h=l.flat(),_=f?h.map(({node:E})=>E):h.slice(0,-1).map(({node:E})=>E);(0,L4f.checkNullishAndReport)(e,t,r,_,Y4f(e.sourceCode,t,n,i,r,h,f))}l=A?[A]:[],f=void 0};for(let A=0;A{"use strict";Object.defineProperty(A1n,"__esModule",{value:!0});var xzs=Vo(),Wer=el(),m1n=Ezs(),V4f=c1n(),g1n=p1n();A1n.default=(0,Wer.createRule)({name:"prefer-optional-chain",meta:{type:"suggestion",docs:{description:"Enforce using concise optional chain expressions instead of chained logical ands, negated logical ors, or empty objects",recommended:"stylistic",requiresTypeChecking:!0},fixable:"code",hasSuggestions:!0,messages:{optionalChainSuggest:"Change to an optional chain.",preferOptionalChain:"Prefer using an optional chain expression instead, as it's more concise and easier to read."},schema:[{type:"object",additionalProperties:!1,properties:{allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing:{type:"boolean",description:"Allow autofixers that will change the return type of the expression. This option is considered unsafe as it may break the build."},checkAny:{type:"boolean",description:'Check operands that are typed as `any` when inspecting "loose boolean" operands.'},checkBigInt:{type:"boolean",description:'Check operands that are typed as `bigint` when inspecting "loose boolean" operands.'},checkBoolean:{type:"boolean",description:'Check operands that are typed as `boolean` when inspecting "loose boolean" operands.'},checkNumber:{type:"boolean",description:'Check operands that are typed as `number` when inspecting "loose boolean" operands.'},checkString:{type:"boolean",description:'Check operands that are typed as `string` when inspecting "loose boolean" operands.'},checkUnknown:{type:"boolean",description:'Check operands that are typed as `unknown` when inspecting "loose boolean" operands.'},requireNullish:{type:"boolean",description:'Skip operands that are not typed with `null` and/or `undefined` when inspecting "loose boolean" operands.'}}}]},defaultOptions:[{allowPotentiallyUnsafeFixesThatModifyTheReturnTypeIKnowWhatImDoing:!1,checkAny:!0,checkBigInt:!0,checkBoolean:!0,checkNumber:!0,checkString:!0,checkUnknown:!0,requireNullish:!1}],create(e,[t]){let r=(0,Wer.getParserServices)(e),n=new Set;return{'LogicalExpression[operator!="??"]'(i){if(n.has(i))return;let{newlySeenLogicals:s,operands:a}=(0,g1n.gatherLogicalOperands)(i,r,e.sourceCode,t);for(let l of s)n.add(l);let u=[];for(let l of a)l.type===g1n.OperandValidity.Invalid?((0,m1n.analyzeChain)(e,r,t,i,i.operator,u),u=[]):l.type===g1n.OperandValidity.Last?((0,m1n.analyzeChain)(e,r,t,i,i.operator,u,l),u=[]):u.push(l);u.length>0&&(0,m1n.analyzeChain)(e,r,t,i,i.operator,u)},'LogicalExpression[operator="||"], LogicalExpression[operator="??"]'(i){let s=i.left,a=i.right,u=i.parent;if(!(a.type===xzs.AST_NODE_TYPES.ObjectExpression&&a.properties.length===0)||u.type!==xzs.AST_NODE_TYPES.MemberExpression||u.optional)return;n.add(i);function f(){let p=r.esTreeNodeToTSNodeMap.get(i),g=r.esTreeNodeToTSNodeMap.get(s);return(0,Wer.getOperatorPrecedence)(g.kind,p.operatorToken.kind){let g=e.sourceCode.getText(s),A=f()?`(${g})`:g,h=e.sourceCode.getText(u.property),_=u.computed?`[${h}]`:h;return p.replaceTextRange(u.range,`${A}?.${_}`)}}]})}}}})});var bzs=j(h1n=>{"use strict";Object.defineProperty(h1n,"__esModule",{value:!0});var Czs=Vo(),$Y=el();h1n.default=(0,$Y.createRule)({name:"prefer-promise-reject-errors",meta:{type:"suggestion",docs:{description:"Require using Error objects as Promise rejection reasons",extendsBaseRule:!0,recommended:"recommended",requiresTypeChecking:!0},messages:{rejectAnError:"Expected the Promise rejection reason to be an Error."},schema:[{type:"object",additionalProperties:!1,properties:{allowEmptyReject:{type:"boolean",description:"Whether to allow calls to `Promise.reject()` with no arguments."},allowThrowingAny:{type:"boolean",description:"Whether to always allow throwing values typed as `any`."},allowThrowingUnknown:{type:"boolean",description:"Whether to always allow throwing values typed as `unknown`."}}}]},defaultOptions:[{allowEmptyReject:!1,allowThrowingAny:!1,allowThrowingUnknown:!1}],create(e,[t]){let r=(0,$Y.getParserServices)(e);function n(s){let a=s.arguments.at(0);if(a){let u=r.getTypeAtLocation(a);if(t.allowThrowingAny&&(0,$Y.isTypeAnyType)(u)||t.allowThrowingUnknown&&(0,$Y.isTypeUnknownType)(u)||(0,$Y.isErrorLike)(r.program,u)||(0,$Y.isReadonlyErrorLike)(r.program,u))return}else if(t.allowEmptyReject)return;e.report({node:s,messageId:"rejectAnError"})}function i(s){let a=r.getTypeAtLocation(s);return(0,$Y.isPromiseConstructorLike)(r.program,a)||(0,$Y.isPromiseLike)(r.program,a)}return{CallExpression(s){let a=(0,$Y.skipChainExpression)(s.callee);a.type===Czs.AST_NODE_TYPES.MemberExpression&&(!(0,$Y.isStaticMemberAccessOfValue)(a,e,"reject")||!i(a.object)||n(s))},NewExpression(s){let a=(0,$Y.skipChainExpression)(s.callee);if(!(0,$Y.isPromiseConstructorLike)(r.program,r.getTypeAtLocation(a)))return;let u=s.arguments.at(0);if(!u||!(0,$Y.isFunction)(u))return;let l=u.params.at(1);if(!l||!(0,$Y.isIdentifier)(l))return;e.sourceCode.getDeclaredVariables(u).find(p=>p.identifiers.includes(l)).references.forEach(p=>{p.identifier.parent.type!==Czs.AST_NODE_TYPES.CallExpression||p.identifier!==p.identifier.parent.callee||n(p.identifier.parent)})}}}})});var wzs=j(H_e=>{"use strict";var $4f=H_e&&H_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),K4f=H_e&&H_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Dzs=H_e&&H_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iR.isTypeDefinition);if(k==null||r.getTypeAtLocation(k.node)!==h)return null}return E}return{[`${Szs}:exit`](A){aJ.ASTUtils.isConstructor(A)?i[i.length-1].exitConstructor():f(A)&&i[i.length-1].exitNonConstructor()},"ClassDeclaration, ClassExpression"(A){i.push(new y1n(n,r.esTreeNodeToTSNodeMap.get(A),t))},"ClassDeclaration, ClassExpression:exit"(){let A=(0,Zer.nullThrows)(i.pop(),"Stack should exist on class exit");for(let h of A.finalizeUnmodifiedPrivateNonReadonlys()){let{esNode:_,nameNode:E}=p(h),b=(()=>{switch(_.type){case aJ.AST_NODE_TYPES.MethodDefinition:case aJ.AST_NODE_TYPES.PropertyDefinition:case aJ.AST_NODE_TYPES.TSAbstractMethodDefinition:return{loc:(0,Izs.getMemberHeadLoc)(e.sourceCode,_)};case aJ.AST_NODE_TYPES.TSParameterProperty:return{loc:(0,Izs.getParameterPropertyHeadLoc)(e.sourceCode,_,E.name)};default:return{node:_}}})(),D=(()=>{if(_.type!==aJ.AST_NODE_TYPES.PropertyDefinition||_.typeAnnotation||!_.value||E.type!==aJ.AST_NODE_TYPES.Identifier||!A.memberHasConstructorModifications(E.name))return null;let M=r.getTypeAtLocation(_),R=r.getTypeAtLocation(_.value);return R===M||!Use.isLiteralType(R)?null:g(_,M,R)})();e.report({...b,messageId:"preferReadonly",data:{name:e.sourceCode.getText(E)},*fix(k){yield k.insertTextBefore(E,"readonly "),D&&(yield k.insertTextAfter(E,`: ${D}`))}})}},[Szs](A){aJ.ASTUtils.isConstructor(A)?i[i.length-1].enterConstructor(r.esTreeNodeToTSNodeMap.get(A)):f(A)&&i[i.length-1].enterNonConstructor()},MemberExpression(A){if(i.length!==0&&!A.computed){let h=r.esTreeNodeToTSNodeMap.get(A);s(h,h.parent,i[i.length-1])}}}}});var Xer=-1,Tzs=0,k7;(function(e){e[e.ClassAndInstance=0]="ClassAndInstance",e[e.Class=1]="Class",e[e.Instance=2]="Instance",e[e.None=3]="None"})(k7||(k7={}));var y1n=class{checker;onlyInlineLambdas;classType;constructorScopeDepth=Xer;memberVariableModifications=new Set;memberVariableWithConstructorModifications=new Set;privateModifiableMembers=new Map;privateModifiableStatics=new Map;staticVariableModifications=new Set;constructor(t,r,n){this.checker=t,this.onlyInlineLambdas=n;let i=t.getTypeAtLocation(r);Use.isIntersectionType(i)?this.classType=i.types[0]:this.classType=i;for(let s of r.members)hD.isPropertyDeclaration(s)&&this.addDeclaredVariable(s)}addDeclaredVariable(t){!(Use.isModifierFlagSet(t,hD.ModifierFlags.Private)||t.name.kind===hD.SyntaxKind.PrivateIdentifier)||Use.isModifierFlagSet(t,hD.ModifierFlags.Accessor|hD.ModifierFlags.Readonly)||hD.isComputedPropertyName(t.name)||this.onlyInlineLambdas&&t.initializer!=null&&!hD.isArrowFunction(t.initializer)||(Use.isModifierFlagSet(t,hD.ModifierFlags.Static)?this.privateModifiableStatics:this.privateModifiableMembers).set(t.name.getText(),t)}addVariableModification(t){let r=this.checker.getTypeAtLocation(t.expression),n=this.getTypeToClassRelation(r);if(n===k7.Instance&&this.constructorScopeDepth===Tzs){this.memberVariableWithConstructorModifications.add(t.name.text);return}(n===k7.Instance||n===k7.ClassAndInstance)&&this.memberVariableModifications.add(t.name.text),(n===k7.Class||n===k7.ClassAndInstance)&&this.staticVariableModifications.add(t.name.text)}enterConstructor(t){this.constructorScopeDepth=Tzs;for(let r of t.parameters)Use.isModifierFlagSet(r,hD.ModifierFlags.Private)&&this.addDeclaredVariable(r)}enterNonConstructor(){this.constructorScopeDepth!==Xer&&(this.constructorScopeDepth+=1)}exitConstructor(){this.constructorScopeDepth=Xer}exitNonConstructor(){this.constructorScopeDepth!==Xer&&(this.constructorScopeDepth-=1)}finalizeUnmodifiedPrivateNonReadonlys(){return this.memberVariableModifications.forEach(t=>{this.privateModifiableMembers.delete(t)}),this.staticVariableModifications.forEach(t=>{this.privateModifiableStatics.delete(t)}),[...this.privateModifiableMembers.values(),...this.privateModifiableStatics.values()]}getTypeToClassRelation(t){if(t.isIntersection()){let n=k7.None;for(let i of t.types)switch(this.getTypeToClassRelation(i)){case k7.Class:if(n===k7.Instance)return k7.ClassAndInstance;n=k7.Class;break;case k7.Instance:if(n===k7.Class)return k7.ClassAndInstance;n=k7.Instance;break}return n}return t.isUnion()?this.getTypeToClassRelation(t.types[0]):!t.getSymbol()||!(0,Zer.typeIsOrHasBaseType)(t,this.classType)?k7.None:Use.isObjectType(t)&&Use.isObjectFlagSet(t,hD.ObjectFlags.Anonymous)?k7.Class:k7.Instance}memberHasConstructorModifications(t){return this.memberVariableWithConstructorModifications.has(t)}}});var Bzs=j(_1n=>{"use strict";Object.defineProperty(_1n,"__esModule",{value:!0});var qse=Vo(),rDe=el();_1n.default=(0,rDe.createRule)({name:"prefer-readonly-parameter-types",meta:{type:"suggestion",docs:{description:"Require function parameters to be typed as `readonly` to prevent accidental mutation of inputs",requiresTypeChecking:!0},messages:{shouldBeReadonly:"Parameter should be a read only type."},schema:[{type:"object",additionalProperties:!1,properties:{allow:{...rDe.readonlynessOptionsSchema.properties.allow,description:"An array of type specifiers to ignore."},checkParameterProperties:{type:"boolean",description:"Whether to check class parameter properties."},ignoreInferredTypes:{type:"boolean",description:"Whether to ignore parameters which don't explicitly specify a type."},treatMethodsAsReadonly:{...rDe.readonlynessOptionsSchema.properties.treatMethodsAsReadonly,description:"Whether to treat all mutable methods as though they are readonly."}}}]},defaultOptions:[{allow:rDe.readonlynessOptionsDefaults.allow,checkParameterProperties:!0,ignoreInferredTypes:!1,treatMethodsAsReadonly:rDe.readonlynessOptionsDefaults.treatMethodsAsReadonly}],create(e,[{allow:t,checkParameterProperties:r,ignoreInferredTypes:n,treatMethodsAsReadonly:i}]){let s=(0,rDe.getParserServices)(e);return{[[qse.AST_NODE_TYPES.ArrowFunctionExpression,qse.AST_NODE_TYPES.FunctionDeclaration,qse.AST_NODE_TYPES.FunctionExpression,qse.AST_NODE_TYPES.TSCallSignatureDeclaration,qse.AST_NODE_TYPES.TSConstructSignatureDeclaration,qse.AST_NODE_TYPES.TSDeclareFunction,qse.AST_NODE_TYPES.TSEmptyBodyFunctionExpression,qse.AST_NODE_TYPES.TSFunctionType,qse.AST_NODE_TYPES.TSMethodSignature].join(", ")](a){for(let u of a.params){if(!r&&u.type===qse.AST_NODE_TYPES.TSParameterProperty)continue;let l=u.type===qse.AST_NODE_TYPES.TSParameterProperty?u.parameter:u;if(n&&l.typeAnnotation==null)continue;let f=s.getTypeAtLocation(l);!(0,rDe.isTypeReadonly)(s.program,f,{allow:t,treatMethodsAsReadonly:!!i})&&!(0,rDe.isTypeBrandedLiteralLike)(f)&&e.report({node:l,messageId:"shouldBeReadonly"})}}}}})});var Pzs=j(z_e=>{"use strict";var J4f=z_e&&z_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),H4f=z_e&&z_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),z4f=z_e&&z_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ikzs.intersectionConstituents(s).every(a=>r.isArrayType(a)||r.isTupleType(a)))}return{"CallExpression > MemberExpression.callee"(i){if(!(0,qyt.isStaticMemberAccessOfValue)(i,e,"reduce"))return;let[,s]=i.parent.arguments;if(i.parent.arguments.length<2)return;if((0,qyt.isTypeAssertion)(s)){let u=t.getTypeAtLocation(s.expression),l=t.getTypeAtLocation(s.typeAnnotation);if(!r.isTypeAssignableTo(u,l))return}else return;let a=(0,qyt.getConstrainedTypeAtLocation)(t,i.object);if(n(a)){e.report({node:s,messageId:"preferTypeParameter",fix:u=>{let l=[u.removeRange([s.range[0],s.expression.range[0]]),u.removeRange([s.expression.range[1],s.range[1]])];return i.parent.typeArguments||l.push(u.insertTextAfter(i,`<${e.sourceCode.getText(s.typeAnnotation)}>`)),l}});return}}}}})});var Nzs=j(X_e=>{"use strict";var W4f=X_e&&X_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),X4f=X_e&&X_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Z4f=X_e&&X_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i MemberExpression"(l){if(!(0,W_e.isStaticMemberAccessOfValue)(l,e,"match"))return;let f=l.object,p=l.parent,[g]=p.arguments,A=(0,W_e.getStaticValue)(g,t);if(!i(r.getTypeAtLocation(f))||!A&&!u(g)||A&&A.value instanceof RegExp&&A.value.flags.includes("g"))return;if(g.type===Yyt.AST_NODE_TYPES.Literal&&typeof g.value=="string"){let E;try{E=RegExp(g.value)}catch{return}return e.report({node:l.property,messageId:"regExpExecOverStringMatch",fix:(0,W_e.getWrappingFixer)({node:p,innerNode:[f],sourceCode:e.sourceCode,wrap:b=>`${E.toString()}.exec(${b})`})})}let h=r.getTypeAtLocation(g);switch(a(eBf.unionConstituents(h))){case $5e.RegExp:return e.report({node:l.property,messageId:"regExpExecOverStringMatch",fix:(0,W_e.getWrappingFixer)({node:p,innerNode:[f,g],sourceCode:e.sourceCode,wrap:(E,b)=>`${b}.exec(${E})`})});case $5e.String:return e.report({node:l.property,messageId:"regExpExecOverStringMatch",fix:(0,W_e.getWrappingFixer)({node:p,innerNode:[f,g],sourceCode:e.sourceCode,wrap:(E,b)=>`RegExp(${b}).exec(${E})`})})}}}}})});var Rzs=j(Z_e=>{"use strict";var tBf=Z_e&&Z_e.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),rBf=Z_e&&Z_e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),nBf=Z_e&&Z_e.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{let E=_.expression;if(!E)return;if(E.kind===Ozs.SyntaxKind.ThisKeyword){A=!0;return}let b=r.getTypeAtLocation(E);if(g===b)return h=!0,!0;if(g.thisType===b){A=!0;return}if((0,iBf.isUnionType)(b)&&b.types.some(D=>D===g))return h=!0,!0}),!h&&A}function a(l,f){let p=f.id?.name;if(!p||!l.returnType)return;let g=n(p,l.returnType.typeAnnotation);g&&s(l,f)&&e.report({node:g,messageId:"useThisType",fix:A=>A.replaceText(g,"this")})}function u(l){(l.value?.type===E$e.AST_NODE_TYPES.FunctionExpression||l.value?.type===E$e.AST_NODE_TYPES.ArrowFunctionExpression)&&a(l.value,l.parent.parent)}return{"ClassBody > AccessorProperty":u,"ClassBody > MethodDefinition"(l){a(l.value,l.parent.parent)},"ClassBody > PropertyDefinition":u}}})});var Fzs=j(x1n=>{"use strict";Object.defineProperty(x1n,"__esModule",{value:!0});var sBf=VQ(),BP=Vo(),uj=el(),aBf=/^[=!]=/,oBf=new sBf.RegExpParser;x1n.default=(0,uj.createRule)({name:"prefer-string-starts-ends-with",meta:{type:"suggestion",docs:{description:"Enforce using `String#startsWith` and `String#endsWith` over other equivalent methods of checking substrings",recommended:"stylistic",requiresTypeChecking:!0},fixable:"code",messages:{preferEndsWith:"Use the 'String#endsWith' method instead.",preferStartsWith:"Use 'String#startsWith' method instead."},schema:[{type:"object",additionalProperties:!1,properties:{allowSingleElementEquality:{type:"string",description:"Whether to allow equality checks against the first or last element of a string.",enum:["always","never"]}}}]},defaultOptions:[{allowSingleElementEquality:"never"}],create(e,[{allowSingleElementEquality:t}]){let r=e.sourceCode.getScope(e.sourceCode.ast),n=(0,uj.getParserServices)(e),i=n.program.getTypeChecker();function s(q){let G=n.getTypeAtLocation(q);return(0,uj.getTypeName)(i,G)==="string"}function a(q){let G=(0,uj.getStaticValue)(q,r);return G!=null&&G.value==null}function u(q,G){return(0,uj.getStaticValue)(q,r)?.value===G}function l(q){let G=(0,uj.getStaticValue)(q,r);return G!=null&&typeof G.value=="string"&&G.value[0]===G.value}function f(q){return q.type===BP.AST_NODE_TYPES.BinaryExpression&&aBf.test(q.operator)}function p(q,G){let K=e.sourceCode.getTokens(q),Z=e.sourceCode.getTokens(G);if(K.length!==Z.length)return!1;for(let oe=0;oeue.type==="Character")?String.fromCodePoint(...Z.map(ue=>ue.value)):null}function b(q){let G=(0,uj.getStaticValue)(q,r);if(G==null||!(G.value instanceof RegExp))return null;let{flags:K,source:Z}=G.value,oe=Z.startsWith("^"),ue=Z.endsWith("$");if(oe===ue||K.includes("i")||K.includes("m"))return null;let me=E(Z,K.includes("u"));return me==null?null:{isEndsWith:ue,isStartsWith:oe,text:me}}function D(q){let G=(0,uj.skipChainExpression)(q),K=G.type===BP.AST_NODE_TYPES.CallExpression?G.callee:G;if(K.type!==BP.AST_NODE_TYPES.MemberExpression)throw new Error(`Expected a MemberExpression, got ${K.type}`);return K}function*k(q,G,K,Z,oe){let ue=D(G.left),me=_(ue);Z&&(yield q.insertTextBefore(G,"!")),yield q.replaceTextRange([me[0],G.right.range[0]],`${oe?"?.":"."}${K}sWith(`),yield q.replaceTextRange([G.right.range[1],G.range[1]],")")}function*M(q,G,K,Z,oe,ue,me){ue&&(yield q.insertTextBefore(G,"!")),yield q.replaceTextRange(_(Z),`${me?"?.":"."}${oe}sWith`),yield q.removeRange([K.range[1],G.range[1]])}function R(q){return q.parent.type===BP.AST_NODE_TYPES.ChainExpression?q.parent.parent:q.parent}return{[["BinaryExpression > MemberExpression.left[computed=true]",'BinaryExpression > CallExpression.left > MemberExpression.callee[property.name="charAt"][computed=false]',"BinaryExpression > ChainExpression.left > MemberExpression[computed=true]",'BinaryExpression > ChainExpression.left > CallExpression > MemberExpression.callee[property.name="charAt"][computed=false]'].join(", ")](q){let G=R(q),K=null;if(G.type===BP.AST_NODE_TYPES.CallExpression?(G.arguments.length===1&&(K=G.arguments[0]),G=R(G)):K=q.property,K==null||!f(G)||!s(q.object))return;let Z=h(K,q.object);if(t==="always"&&Z)return;let oe=!Z&&u(K,0);if(t==="always"&&oe||!oe&&!Z)return;let ue=G;e.report({node:G,messageId:oe?"preferStartsWith":"preferEndsWith",fix(me){return l(ue.right)?k(me,ue,oe?"start":"end",ue.operator.startsWith("!"),q.optional):null}})},[['BinaryExpression > CallExpression.left > MemberExpression.callee[property.name="indexOf"][computed=false]','BinaryExpression > ChainExpression.left > CallExpression > MemberExpression.callee[property.name="indexOf"][computed=false]'].join(", ")](q){let G=R(q),K=R(G);G.arguments.length!==1||!f(K)||!u(K.right,0)||!s(q.object)||e.report({node:K,messageId:"preferStartsWith",fix(Z){return M(Z,K,G,q,"start",K.operator.startsWith("!"),q.optional)}})},[['BinaryExpression > CallExpression.left > MemberExpression.callee[property.name="lastIndexOf"][computed=false]','BinaryExpression > ChainExpression.left > CallExpression > MemberExpression.callee[property.name="lastIndexOf"][computed=false]'].join(", ")](q){let G=R(q),K=R(G);G.arguments.length!==1||!f(K)||K.right.type!==BP.AST_NODE_TYPES.BinaryExpression||K.right.operator!=="-"||!g(K.right.left,q.object)||!g(K.right.right,G.arguments[0])||!s(q.object)||e.report({node:K,messageId:"preferEndsWith",fix(Z){return M(Z,K,G,q,"end",K.operator.startsWith("!"),q.optional)}})},[['BinaryExpression > CallExpression.left > MemberExpression.callee[property.name="match"][computed=false]','BinaryExpression > ChainExpression.left > CallExpression > MemberExpression.callee[property.name="match"][computed=false]'].join(", ")](q){let G=R(q),K=R(G);if(!a(K.right)||!s(q.object))return;let Z=G.arguments.length===1?b(G.arguments[0]):null;if(Z==null)return;let{isStartsWith:oe,text:ue}=Z;e.report({node:G,messageId:oe?"preferStartsWith":"preferEndsWith",*fix(me){K.operator.startsWith("!")||(yield me.insertTextBefore(K,"!")),yield me.replaceTextRange(_(q),`${q.optional?"?.":"."}${oe?"start":"end"}sWith`),yield me.replaceText(G.arguments[0],JSON.stringify(ue)),yield me.removeRange([G.range[1],K.range[1]])}})},[["BinaryExpression > CallExpression.left > MemberExpression","BinaryExpression > ChainExpression.left > CallExpression > MemberExpression"].join(", ")](q){if(!(0,uj.isStaticMemberAccessOfValue)(q,e,"slice","substring"))return;let G=R(q),K=R(G);if(!f(K)||!s(q.object))return;let Z=!1,oe=!1;if(G.arguments.length===1?A(G.arguments[0],K.right,q.object)&&(Z=!0):G.arguments.length===2&&(u(G.arguments[0],0)&&g(G.arguments[1],K.right)?oe=!0:(g(G.arguments[1],q.object)||u(G.arguments[1],0))&&A(G.arguments[0],K.right,q.object)&&(Z=!0)),!oe&&!Z)return;let ue=K,me=q.property.name==="slice";e.report({node:K,messageId:oe?"preferStartsWith":"preferEndsWith",fix(Te){if(ue.operator.length===2&&(ue.right.type!==BP.AST_NODE_TYPES.Literal||typeof ue.right.value!="string"))return null;if(oe){if(!g(G.arguments[1],ue.right))return null}else{let le=G.arguments[0];if(!(le.type===BP.AST_NODE_TYPES.BinaryExpression&&le.operator==="-"&&g(le.left,q.object)&&g(le.right,ue.right)||me&&le.type===BP.AST_NODE_TYPES.UnaryExpression&&le.operator==="-"&&g(le.argument,ue.right)))return null}return k(Te,K,oe?"start":"end",K.operator.startsWith("!"),q.optional)}})},'CallExpression > MemberExpression.callee[property.name="test"][computed=false]'(q){let G=R(q),K=G.arguments.length===1?b(q.object):null;if(K==null)return;let{isStartsWith:Z,text:oe}=K,ue=Z?"preferStartsWith":"preferEndsWith",me=Z?"startsWith":"endsWith";e.report({node:G,messageId:ue,*fix(Te){let le=G.arguments[0],ae=le.type!==BP.AST_NODE_TYPES.Literal&&le.type!==BP.AST_NODE_TYPES.TemplateLiteral&&le.type!==BP.AST_NODE_TYPES.Identifier&&le.type!==BP.AST_NODE_TYPES.MemberExpression&&le.type!==BP.AST_NODE_TYPES.CallExpression;yield Te.removeRange([G.range[0],le.range[0]]),ae&&(yield Te.insertTextBefore(le,"("),yield Te.insertTextAfter(le,")")),yield Te.insertTextAfter(le,`${q.optional?"?.":"."}${me}(${JSON.stringify(oe)}`)}})}}}})});var Lzs=j(v1n=>{"use strict";Object.defineProperty(v1n,"__esModule",{value:!0});var uBf=Vo(),lBf=el();v1n.default=(0,lBf.createRule)({name:"prefer-ts-expect-error",meta:{type:"problem",deprecated:{deprecatedSince:"7.11.0",replacedBy:[{rule:{name:"@typescript-eslint/ban-ts-comment",url:"https://typescript-eslint.io/rules/ban-ts-comment"}}],url:"https://github.com/typescript-eslint/typescript-eslint/pull/9081"},docs:{description:"Enforce using `@ts-expect-error` over `@ts-ignore`"},fixable:"code",messages:{preferExpectErrorComment:'Use "@ts-expect-error" to ensure an error is actually being suppressed.'},replacedBy:["@typescript-eslint/ban-ts-comment"],schema:[]},defaultOptions:[],create(e){let t=/^\s*\/?\s*@ts-ignore/,r=/^\s*(?:\/|\*)*\s*@ts-ignore/;function n(a){return a.type===uBf.AST_TOKEN_TYPES.Line}function i(a){if(n(a))return a.value;let u=a.value.split(` `);return u[u.length-1]}function s(a){let u=i(a);return n(a)?t.test(u):r.test(u)}return{Program(){e.sourceCode.getAllComments().forEach(u=>{if(s(u)){let l=p=>p.replaceText(u,`//${u.value.replace("@ts-ignore","@ts-expect-error")}`),f=p=>p.replaceText(u,`/*${u.value.replace("@ts-ignore","@ts-expect-error")}*/`);e.report({node:u,messageId:"preferExpectErrorComment",fix:n(u)?l:f})}})}}}})});var Qzs=j(tEe=>{"use strict";var cBf=tEe&&tEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),fBf=tEe&&tEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),pBf=tEe&&tEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;if.getReturnTypeOfSignature(_));if(!t&&h.some(_=>(0,lj.isTypeFlagSet)(_,Mzs.TypeFlags.Any|Mzs.TypeFlags.Unknown)))return e.report({loc:(0,lj.getFunctionHeadLoc)(g,e.sourceCode),node:g,messageId:"missingAsync"});if(h.every(_=>(0,lj.containsAllTypesByName)(_,!0,u,g.returnType==null))){let _=h.some(E=>E.isUnion()&&!E.types.every(b=>(0,lj.containsAllTypesByName)(b,!0,u)));e.report({loc:(0,lj.getFunctionHeadLoc)(g,e.sourceCode),node:g,messageId:_?"missingAsyncHybridReturn":"missingAsync",fix:E=>{if(g.parent.type===eEe.AST_NODE_TYPES.MethodDefinition||g.parent.type===eEe.AST_NODE_TYPES.Property&&g.parent.method){let b=g.parent,D=(0,lj.nullThrows)(e.sourceCode.getFirstToken(b),lj.NullThrowsReasons.MissingToken("key token","method"));if(b.type===eEe.AST_NODE_TYPES.MethodDefinition&&b.decorators.length){let R=b.decorators[b.decorators.length-1];D=(0,lj.nullThrows)(e.sourceCode.getTokenAfter(R),lj.NullThrowsReasons.MissingToken("key token","last decorator"))}for(;(D.type===eEe.AST_TOKEN_TYPES.Keyword||D.type===eEe.AST_TOKEN_TYPES.Identifier&&D.value==="override")&&D.range[0]{"use strict";Object.defineProperty(b1n,"__esModule",{value:!0});var dBf=Vo(),C1n=el();b1n.default=(0,C1n.createRule)({name:"related-getter-setter-pairs",meta:{type:"problem",docs:{description:"Enforce that `get()` types should be assignable to their equivalent `set()` type",recommended:"strict",requiresTypeChecking:!0},messages:{mismatch:"`get()` type should be assignable to its equivalent `set()` type."},schema:[]},defaultOptions:[],create(e){let t=(0,C1n.getParserServices)(e),r=t.program.getTypeChecker(),n=[];function i(s,a,u){let l=n[n.length-1],{name:f}=(0,C1n.getNameFromMember)(s,e.sourceCode);l.set(f,{...l.get(f),[u]:a})}return{":matches(ClassBody, TSInterfaceBody, TSTypeLiteral):exit"(){let s=n[n.length-1];for(let a of s.values()){if(!a.get||!a.set)continue;let u=a.get,l=t.getTypeAtLocation(u),f=t.getTypeAtLocation(a.set.params[0]);r.isTypeAssignableTo(l,f)||e.report({node:u.returnType.typeAnnotation,messageId:"mismatch"})}n.pop()},":matches(MethodDefinition, TSMethodSignature)[kind=get]"(s){let a=jzs(s);a.returnType&&i(s,a,"get")},":matches(MethodDefinition, TSMethodSignature)[kind=set]"(s){let a=jzs(s);a.params.length===1&&i(s,a,"set")},"ClassBody, TSInterfaceBody, TSTypeLiteral"(){n.push(new Map)}}}});function jzs(e){return e.type===dBf.AST_NODE_TYPES.TSMethodSignature?e:e.value}});var qzs=j(I1n=>{"use strict";Object.defineProperty(I1n,"__esModule",{value:!0});var x$e=el();I1n.default=(0,x$e.createRule)({name:"require-array-sort-compare",meta:{type:"problem",docs:{description:"Require `Array#sort` and `Array#toSorted` calls to always provide a `compareFunction`",requiresTypeChecking:!0},messages:{requireCompare:"Require 'compare' argument."},schema:[{type:"object",additionalProperties:!1,properties:{ignoreStringArrays:{type:"boolean",description:"Whether to ignore arrays in which all elements are strings."}}}]},defaultOptions:[{ignoreStringArrays:!0}],create(e,[t]){let r=(0,x$e.getParserServices)(e),n=r.program.getTypeChecker();function i(a){let u=r.getTypeAtLocation(a);return n.isArrayType(u)||n.isTupleType(u)?n.getTypeArguments(u).every(f=>(0,x$e.getTypeName)(n,f)==="string"):!1}function s(a){if(!(0,x$e.isStaticMemberAccessOfValue)(a,e,"sort","toSorted"))return;let u=(0,x$e.getConstrainedTypeAtLocation)(r,a.object);t.ignoreStringArrays&&i(a.object)||(0,x$e.isTypeArrayTypeOrUnionOfArrayTypes)(u,n)&&e.report({node:a.parent,messageId:"requireCompare"})}return{"CallExpression[arguments.length=0] > MemberExpression":s}}})});var $zs=j(rEe=>{"use strict";var mBf=rEe&&rEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),gBf=rEe&&rEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),ABf=rEe&&rEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ib.value==="async"),'The node is an async function, so it must have an "async" token.'),A=[g.range[0],(0,xZ.nullThrows)(e.sourceCode.getTokenAfter(g,{includeComments:!0}),'There will always be a token after the "async" keyword.').range[0]],h=(0,xZ.nullThrows)(e.sourceCode.getTokenAfter(g),'There will always be a token after the "async" keyword.'),_=h.type===Lpe.AST_TOKEN_TYPES.Punctuator&&(h.value==="["||h.value==="(")&&(p.type===Lpe.AST_NODE_TYPES.MethodDefinition||(0,xZ.isStartOfExpressionStatement)(p))&&(0,xZ.needsPrecedingSemicolon)(e.sourceCode,p),E=[{range:A,replacement:_?";":void 0}];if(f.returnType?.typeAnnotation.type===Lpe.AST_NODE_TYPES.TSTypeReference){if(n.isGen)Gzs(f.returnType.typeAnnotation,"AsyncGenerator")&&E.push({range:f.returnType.typeAnnotation.typeName.range,replacement:"Generator"});else if(Gzs(f.returnType.typeAnnotation,"Promise")&&f.returnType.typeAnnotation.typeArguments!=null){let b=(0,xZ.nullThrows)(e.sourceCode.getFirstToken(f.returnType.typeAnnotation,k=>k.type===Lpe.AST_TOKEN_TYPES.Punctuator&&k.value==="<"),"There are type arguments, so the angle bracket will exist."),D=(0,xZ.nullThrows)(e.sourceCode.getLastToken(f.returnType.typeAnnotation,k=>k.type===Lpe.AST_TOKEN_TYPES.Punctuator&&k.value===">"),"There are type arguments, so the angle bracket will exist.");E.push({range:D.range,replacement:void 0},{range:[f.returnType.typeAnnotation.typeName.range[0],b.range[1]],replacement:void 0})}}e.report({loc:(0,xZ.getFunctionHeadLoc)(f,e.sourceCode),node:f,messageId:"missingAwait",data:{name:(0,xZ.upperCaseFirst)((0,xZ.getFunctionNameWithKind)(f))},suggest:[{messageId:"removeAsync",fix:b=>E.map(D=>D.replacement!=null?b.replaceTextRange(D.range,D.replacement):b.removeRange(D.range))}]})}n=n.upper}}function a(f){let p=r.getTypeAtLocation(f);return Yzs.isThenableType(r,f,p)}function u(){n&&(n.hasAwait=!0)}function l(f){if(!n?.isGen||!f.argument||f.argument.type===Lpe.AST_NODE_TYPES.Literal)return;if(!f.delegate){a(t.esTreeNodeToTSNodeMap.get(f.argument))&&(n.isAsyncYield=!0);return}let p=t.getTypeAtLocation(f.argument),g=Vzs(p);for(let A of g)if(Yzs.getWellKnownSymbolPropertyOfType(A,"asyncIterator",r)!=null){n.isAsyncYield=!0;break}}return{ArrowFunctionExpression:i,"ArrowFunctionExpression:exit":s,AwaitExpression:u,"ForOfStatement[await = true]":u,FunctionDeclaration:i,"FunctionDeclaration:exit":s,FunctionExpression:i,"FunctionExpression:exit":s,'VariableDeclaration[kind = "await using"]':u,YieldExpression:l,"ArrowFunctionExpression[async = true] > :not(BlockStatement, AwaitExpression)"(f){let p=t.esTreeNodeToTSNodeMap.get(f);a(p)&&u()},ReturnStatement(f){if(!n||n.hasAwait||!n.hasAsync)return;let{expression:p}=t.esTreeNodeToTSNodeMap.get(f);p&&a(p)&&u()}}}});function hBf(e){return e.body.type===Lpe.AST_NODE_TYPES.BlockStatement&&e.body.body.length===0}function Vzs(e){return e.isUnionOrIntersection()?e.types.flatMap(Vzs):[e]}function Gzs(e,t){return e.typeName.type===Lpe.AST_NODE_TYPES.Identifier&&e.typeName.name===t}});var Jzs=j(iEe=>{"use strict";var yBf=iEe&&iEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),_Bf=iEe&&iEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),Kzs=iEe&&iEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;itypeof h=="string"),p=f.length?f.length===1?`string, allowing a string + ${f[0]}`:`string, allowing a string + any of: ${f.join(", ")}`:"string";function g(h){return l.getBaseTypeOfLiteralType((0,v$e.getConstrainedTypeAtLocation)(u,h))}function A(h){let _=g(h.left),E=g(h.right);if(_===E&&nEe.isTypeFlagSet(_,uL.TypeFlags.BigIntLike|uL.TypeFlags.NumberLike|uL.TypeFlags.StringLike))return;let b=!1;for(let[D,k,M]of[[h.left,_,E],[h.right,E,_]]){if(K5e(k,uL.TypeFlags.ESSymbolLike|uL.TypeFlags.Never|uL.TypeFlags.Unknown)||!t&&K5e(k,uL.TypeFlags.Any)||!r&&K5e(k,uL.TypeFlags.BooleanLike)||!n&&(0,v$e.isTypeFlagSet)(k,uL.TypeFlags.Null|uL.TypeFlags.Undefined)){e.report({node:D,messageId:"invalid",data:{type:l.typeToString(k),stringLike:p}}),b=!0;continue}for(let R of nEe.unionConstituents(k))if((0,v$e.getTypeName)(l,R)==="RegExp"?!s||nEe.isTypeFlagSet(M,uL.TypeFlags.NumberLike):!t&&(0,v$e.isTypeAnyType)(R)||EBf(R)){e.report({node:D,messageId:"invalid",data:{type:l.typeToString(R),stringLike:p}}),b=!0;continue}}if(!b)for(let[D,k]of[[_,E],[E,_]]){if(!i&&K5e(D,uL.TypeFlags.StringLike)&&K5e(k,uL.TypeFlags.NumberLike|uL.TypeFlags.BigIntLike))return e.report({node:h,messageId:"mismatched",data:{left:l.typeToString(_),right:l.typeToString(E),stringLike:p}});if(K5e(D,uL.TypeFlags.NumberLike)&&K5e(k,uL.TypeFlags.BigIntLike))return e.report({node:h,messageId:"bigintAndNumber",data:{left:l.typeToString(_),right:l.typeToString(E)}})}}return{"BinaryExpression[operator='+']":A,...!a&&{"AssignmentExpression[operator='+=']"(h){A(h)}}}}});function EBf(e){return e.isIntersection()?nEe.intersectionConstituents(e).every(nEe.isObjectType):nEe.unionConstituents(e).every(nEe.isObjectType)}function K5e(e,t){return nEe.unionConstituents(e).some(r=>nEe.isTypeFlagSet(r,t))}});var Wzs=j(T1n=>{"use strict";Object.defineProperty(T1n,"__esModule",{value:!0});var Hzs=$ye(),xBf=Vo(),C$e=vc(),sEe=el(),S1n=e=>t=>(0,sEe.isTypeFlagSet)(t,e),zzs=[["Any",sEe.isTypeAnyType],["Array",(e,t,r)=>(t.isArrayType(e)||t.isTupleType(e))&&r(e.getNumberIndexType())],["Boolean",S1n(C$e.TypeFlags.BooleanLike)],["Nullish",S1n(C$e.TypeFlags.Null|C$e.TypeFlags.Undefined)],["Number",S1n(C$e.TypeFlags.NumberLike|C$e.TypeFlags.BigIntLike)],["RegExp",(e,t)=>(0,sEe.getTypeName)(t,e)==="RegExp"],["Never",sEe.isTypeNeverType]].map(([e,t])=>({type:e,option:`allow${e}`,tester:t}));T1n.default=(0,sEe.createRule)({name:"restrict-template-expressions",meta:{type:"problem",docs:{description:"Enforce template literal expressions to be of `string` type",recommended:{recommended:!0,strict:[{allowAny:!1,allowBoolean:!1,allowNever:!1,allowNullish:!1,allowNumber:!1,allowRegExp:!1}]},requiresTypeChecking:!0},messages:{invalidType:'Invalid type "{{type}}" of template literal expression.'},schema:[{type:"object",additionalProperties:!1,properties:{...Object.fromEntries(zzs.map(({type:e,option:t})=>[t,{type:"boolean",description:`Whether to allow \`${e.toLowerCase()}\` typed values in template expressions.`}])),allow:{description:"Types to allow in template expressions.",...Hzs.typeOrValueSpecifiersSchema}}}]},defaultOptions:[{allow:[{name:["Error","URL","URLSearchParams"],from:"lib"}],allowAny:!0,allowBoolean:!0,allowNullish:!0,allowNumber:!0,allowRegExp:!0}],create(e,[{allow:t,...r}]){let n=(0,sEe.getParserServices)(e),{program:i}=n,s=i.getTypeChecker(),a=zzs.filter(({option:l})=>r[l]);return{TemplateLiteral(l){if(l.parent.type!==xBf.AST_NODE_TYPES.TaggedTemplateExpression)for(let f of l.expressions){let p=(0,sEe.getConstrainedTypeAtLocation)(n,f);u(p)||e.report({node:f,messageId:"invalidType",data:{type:s.typeToString(p)}})}}};function u(l){return l.isUnion()?l.types.every(u):l.isIntersection()?l.types.some(u):(0,sEe.isTypeFlagSet)(l,C$e.TypeFlags.StringLike)||(0,sEe.matchesTypeOrBaseType)(n,f=>(0,Hzs.typeMatchesSomeSpecifier)(f,t,i),l)||a.some(({tester:f})=>f(l,s,u))}}})});var Zzs=j(aEe=>{"use strict";var vBf=aEe&&aEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),CBf=aEe&&aEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),bBf=aEe&&aEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;ip(Z,_)})}return}let R=l(E)||u(_),q=!R,G=IBf(t);switch(R?G.errorHandlingContext:G.ordinaryContext){case"await":D||e.report({node:_,messageId:"requiredPromiseAwait",...(0,vZ.getFixOrSuggest)({fixOrSuggest:q?"fix":"suggest",suggestion:{messageId:"requiredPromiseAwaitSuggestion",fix:Z=>g(Z,_,(0,vZ.isHigherPrecedenceThanAwait)(E))}})});break;case"don't-care":break;case"no-await":D&&e.report({node:_,messageId:"disallowedPromiseAwait",...(0,vZ.getFixOrSuggest)({fixOrSuggest:q?"fix":"suggest",suggestion:{messageId:"disallowedPromiseAwaitSuggestion",fix:Z=>p(Z,_)}})});break}}function h(_){return _.type===Xzs.AST_NODE_TYPES.ConditionalExpression?[...h(_.alternate),...h(_.consequent)]:[_]}return{ArrowFunctionExpression:s,"ArrowFunctionExpression:exit":a,FunctionDeclaration:s,"FunctionDeclaration:exit":a,FunctionExpression:s,"FunctionExpression:exit":a,"ArrowFunctionExpression[async = true]:exit"(_){_.body.type!==Xzs.AST_NODE_TYPES.BlockStatement&&h(_.body).forEach(E=>{let b=r.esTreeNodeToTSNodeMap.get(E);A(E,b)})},ReturnStatement(_){!i.at(-1)?.hasAsync||!_.argument||h(_.argument).forEach(b=>{let D=r.esTreeNodeToTSNodeMap.get(b);A(b,D)})}}}});function IBf(e){switch(e){case"always":return{errorHandlingContext:"await",ordinaryContext:"await"};case"error-handling-correctness-only":return{errorHandlingContext:"await",ordinaryContext:"don't-care"};case"in-try-catch":return{errorHandlingContext:"await",ordinaryContext:"no-await"};case"never":return{errorHandlingContext:"no-await",ordinaryContext:"no-await"}}}});var eWs=j(B1n=>{"use strict";Object.defineProperty(B1n,"__esModule",{value:!0});var J0=Vo(),w1n=el(),bT;(function(e){e.conditional="conditional",e.function="function",e.import="import",e.intersection="intersection",e.keyword="keyword",e.nullish="nullish",e.literal="literal",e.named="named",e.object="object",e.operator="operator",e.tuple="tuple",e.union="union"})(bT||(bT={}));function SBf(e){switch(e.type){case J0.AST_NODE_TYPES.TSConditionalType:return bT.conditional;case J0.AST_NODE_TYPES.TSConstructorType:case J0.AST_NODE_TYPES.TSFunctionType:return bT.function;case J0.AST_NODE_TYPES.TSImportType:return bT.import;case J0.AST_NODE_TYPES.TSIntersectionType:return bT.intersection;case J0.AST_NODE_TYPES.TSAnyKeyword:case J0.AST_NODE_TYPES.TSBigIntKeyword:case J0.AST_NODE_TYPES.TSBooleanKeyword:case J0.AST_NODE_TYPES.TSNeverKeyword:case J0.AST_NODE_TYPES.TSNumberKeyword:case J0.AST_NODE_TYPES.TSObjectKeyword:case J0.AST_NODE_TYPES.TSStringKeyword:case J0.AST_NODE_TYPES.TSSymbolKeyword:case J0.AST_NODE_TYPES.TSThisType:case J0.AST_NODE_TYPES.TSUnknownKeyword:case J0.AST_NODE_TYPES.TSIntrinsicKeyword:return bT.keyword;case J0.AST_NODE_TYPES.TSNullKeyword:case J0.AST_NODE_TYPES.TSUndefinedKeyword:case J0.AST_NODE_TYPES.TSVoidKeyword:return bT.nullish;case J0.AST_NODE_TYPES.TSLiteralType:case J0.AST_NODE_TYPES.TSTemplateLiteralType:return bT.literal;case J0.AST_NODE_TYPES.TSArrayType:case J0.AST_NODE_TYPES.TSIndexedAccessType:case J0.AST_NODE_TYPES.TSInferType:case J0.AST_NODE_TYPES.TSTypeReference:case J0.AST_NODE_TYPES.TSQualifiedName:return bT.named;case J0.AST_NODE_TYPES.TSMappedType:case J0.AST_NODE_TYPES.TSTypeLiteral:return bT.object;case J0.AST_NODE_TYPES.TSTypeOperator:case J0.AST_NODE_TYPES.TSTypeQuery:return bT.operator;case J0.AST_NODE_TYPES.TSTupleType:return bT.tuple;case J0.AST_NODE_TYPES.TSUnionType:return bT.union;case J0.AST_NODE_TYPES.TSAbstractKeyword:case J0.AST_NODE_TYPES.TSAsyncKeyword:case J0.AST_NODE_TYPES.TSDeclareKeyword:case J0.AST_NODE_TYPES.TSExportKeyword:case J0.AST_NODE_TYPES.TSNamedTupleMember:case J0.AST_NODE_TYPES.TSOptionalType:case J0.AST_NODE_TYPES.TSPrivateKeyword:case J0.AST_NODE_TYPES.TSProtectedKeyword:case J0.AST_NODE_TYPES.TSPublicKeyword:case J0.AST_NODE_TYPES.TSReadonlyKeyword:case J0.AST_NODE_TYPES.TSRestType:case J0.AST_NODE_TYPES.TSStaticKeyword:case J0.AST_NODE_TYPES.TSTypePredicate:throw new Error(`Unexpected Type ${e.type}`)}}function TBf(e,t){return et?1:0}B1n.default=(0,w1n.createRule)({name:"sort-type-constituents",meta:{type:"suggestion",deprecated:{deprecatedSince:"7.13.0",replacedBy:[{plugin:{name:"eslint-plugin-perfectionist",url:"https://perfectionist.dev"},rule:{name:"perfectionist/sort-intersection-types",url:"https://perfectionist.dev/rules/sort-intersection-types"}},{plugin:{name:"eslint-plugin-perfectionist",url:"https://perfectionist.dev"},rule:{name:"perfectionist/sort-union-types",url:"https://perfectionist.dev/rules/sort-union-types"}}],url:"https://github.com/typescript-eslint/typescript-eslint/pull/9253"},docs:{description:"Enforce constituents of a type union/intersection to be sorted alphabetically"},fixable:"code",hasSuggestions:!0,messages:{notSorted:"{{type}} type constituents must be sorted.",notSortedNamed:"{{type}} type {{name}} constituents must be sorted.",suggestFix:"Sort constituents of type (removes all comments)."},replacedBy:["perfectionist/sort-intersection-types","perfectionist/sort-union-types"],schema:[{type:"object",additionalProperties:!1,properties:{caseSensitive:{type:"boolean",description:"Whether to sort using case sensitive string comparisons."},checkIntersections:{type:"boolean",description:"Whether to check intersection types (`&`)."},checkUnions:{type:"boolean",description:"Whether to check union types (`|`)."},groupOrder:{type:"array",description:"Ordering of the groups.",items:{type:"string",enum:(0,w1n.getEnumNames)(bT)}}}}]},defaultOptions:[{caseSensitive:!1,checkIntersections:!0,checkUnions:!0,groupOrder:[bT.named,bT.keyword,bT.operator,bT.literal,bT.function,bT.import,bT.conditional,bT.object,bT.tuple,bT.intersection,bT.union,bT.nullish]}],create(e,[{caseSensitive:t,checkIntersections:r,checkUnions:n,groupOrder:i}]){let s=new Intl.Collator("en",{numeric:!0,sensitivity:"base"});function a(u){let l=u.types.map(g=>{let A=i?.indexOf(SBf(g))??-1;return{node:g,group:A===-1?Number.MAX_SAFE_INTEGER:A,text:e.sourceCode.getText(g)}}),f=[...l].sort((g,A)=>g.group!==A.group?g.group-A.group:t?TBf(g.text,A.text):s.compare(g.text,A.text)||(g.textA.text?1:0)),p=u.types.some(g=>e.sourceCode.getCommentsBefore(g).length+e.sourceCode.getCommentsAfter(g).length>0);for(let g=0;g{let b=f.map(D=>(0,w1n.typeNodeRequiresParentheses)(D.node,D.text)||u.type===J0.AST_NODE_TYPES.TSIntersectionType&&D.node.type===J0.AST_NODE_TYPES.TSUnionType?`(${D.text})`:D.text).join(u.type===J0.AST_NODE_TYPES.TSIntersectionType?" & ":" | ");return E.replaceText(u,b)};return e.report({node:u,messageId:A,data:h,...p?{suggest:[{messageId:"suggestFix",fix:_}]}:{fix:_}})}}return{...r&&{TSIntersectionType(u){a(u)}},...n&&{TSUnionType(u){a(u)}}}}})});var rWs=j(oEe=>{"use strict";var DBf=oEe&&oEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),wBf=oEe&&oEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),tWs=oEe&&oEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i 0`)",conditionFixCompareArrayLengthZero:"Change condition to check array's length (`value.length === 0`)",conditionFixCompareEmptyString:'Change condition to check for empty string (`value !== ""`)',conditionFixCompareFalse:"Change condition to check if false (`value === false`)",conditionFixCompareNaN:"Change condition to check for NaN (`!Number.isNaN(value)`)",conditionFixCompareNullish:"Change condition to check for null/undefined (`value != null`)",conditionFixCompareStringLength:"Change condition to check string's length (`value.length !== 0`)",conditionFixCompareTrue:"Change condition to check if true (`value === true`)",conditionFixCompareZero:"Change condition to check for 0 (`value !== 0`)",conditionFixDefaultEmptyString:'Explicitly treat nullish value the same as an empty string (`value ?? ""`)',conditionFixDefaultFalse:"Explicitly treat nullish value the same as false (`value ?? false`)",conditionFixDefaultZero:"Explicitly treat nullish value the same as 0 (`value ?? 0`)",explicitBooleanReturnType:"Add an explicit `boolean` return type annotation.",noStrictNullCheck:"This rule requires the `strictNullChecks` compiler option to be turned on to function correctly.",predicateCannotBeAsync:"Predicate function should not be 'async'; expected a boolean return type."},schema:[{type:"object",additionalProperties:!1,properties:{allowAny:{type:"boolean",description:"Whether to allow `any`s in a boolean context."},allowNullableBoolean:{type:"boolean",description:"Whether to allow nullable `boolean`s in a boolean context."},allowNullableEnum:{type:"boolean",description:"Whether to allow nullable `enum`s in a boolean context."},allowNullableNumber:{type:"boolean",description:"Whether to allow nullable `number`s in a boolean context."},allowNullableObject:{type:"boolean",description:"Whether to allow nullable `object`s, `symbol`s, and functions in a boolean context."},allowNullableString:{type:"boolean",description:"Whether to allow nullable `string`s in a boolean context."},allowNumber:{type:"boolean",description:"Whether to allow `number`s in a boolean context."},allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:{type:"boolean",description:"Unless this is set to `true`, the rule will error on every file whose `tsconfig.json` does _not_ have the `strictNullChecks` compiler option (or `strict`) set to `true`."},allowString:{type:"boolean",description:"Whether to allow `string`s in a boolean context."}}}]},defaultOptions:[{allowAny:!1,allowNullableBoolean:!1,allowNullableEnum:!1,allowNullableNumber:!1,allowNullableObject:!0,allowNullableString:!1,allowNumber:!0,allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing:!1,allowString:!0}],create(e,[t]){let r=(0,Hy.getParserServices)(e),n=r.program.getTypeChecker(),i=r.program.getCompilerOptions();!KY.isStrictCompilerOptionEnabled(i,"strictNullChecks")&&t.allowRuleToRunWithoutStrictNullChecksIKnowWhatIAmDoing!==!0&&e.report({loc:{start:{column:0,line:0},end:{column:0,line:0}},messageId:"noStrictNullCheck"});let a=new Set;return{CallExpression:p,ConditionalExpression:u,DoWhileStatement:u,ForStatement:u,IfStatement:u,'LogicalExpression[operator!="??"]':f,'UnaryExpression[operator="!"]':l,WhileStatement:u};function u(D){D.test!=null&&A(D.test,!0)}function l(D){A(D.argument,!0)}function f(D,k=!1){A(D.left,!0),A(D.right,k)}function p(D){let k=(0,BBf.findTruthinessAssertedArgument)(r,D);if(k!=null&&A(k,!0),(0,Hy.isArrayMethodCallWithPredicate)(e,r,D)){let M=D.arguments.at(0);M&&g(M)}}function g(D){let k=b$e.ASTUtils.isFunction(D);if(k&&D.async)return e.report({node:D,messageId:"predicateCannotBeAsync"});let M=r.getTypeAtLocation(D).getCallSignatures().map(Z=>{let oe=Z.getReturnType();return KY.isTypeParameter(oe)?n.getBaseConstraintOfType(oe)??oe:oe}),R=[...new Set(M.flatMap(Z=>KY.unionConstituents(Z)))],q=b(R),G=h(q);if(G==null)return;let K=[];return k&&D.body.type!==b$e.AST_NODE_TYPES.BlockStatement&&K.push(..._(D.body,G)),k&&!D.returnType&&K.push({messageId:"explicitBooleanReturnType",fix:Z=>{if(D.type===b$e.AST_NODE_TYPES.ArrowFunctionExpression&&(0,Hy.isParenlessArrowFunction)(D,e.sourceCode))return[Z.insertTextBefore(D.params[0],"("),Z.insertTextAfter(D.params[0],"): boolean")];if(D.params.length===0){let ue=(0,Hy.nullThrows)(e.sourceCode.getFirstToken(D,me=>me.value===")"),"function expression has to have a closing parenthesis.");return Z.insertTextAfter(ue,": boolean")}let oe=(0,Hy.nullThrows)(e.sourceCode.getTokenAfter(D.params[D.params.length-1],ue=>ue.value===")"),"function expression has to have a closing parenthesis.");return Z.insertTextAfter(oe,": boolean")}}),e.report({node:D,messageId:G,data:{context:"array predicate return type"},suggest:K})}function A(D,k){if(!a.has(D)){if(a.add(D),D.type===b$e.AST_NODE_TYPES.LogicalExpression&&D.operator!=="??"){f(D,k);return}k&&E(D)}}function h(D){let k=(...M)=>D.size===M.length&&M.every(R=>D.has(R));if(!(k("boolean")||k("truthy boolean"))&&!k("never")){if(k("nullish"))return"conditionErrorNullish";if(!k("nullish","truthy boolean")){if(k("nullish","boolean"))return t.allowNullableBoolean?void 0:"conditionErrorNullableBoolean";if(!(t.allowNumber&&k("nullish","truthy number")||t.allowString&&k("nullish","truthy string")))return k("string")||k("truthy string")?t.allowString?void 0:"conditionErrorString":k("nullish","string")?t.allowNullableString?void 0:"conditionErrorNullableString":k("number")||k("truthy number")?t.allowNumber?void 0:"conditionErrorNumber":k("nullish","number")?t.allowNullableNumber?void 0:"conditionErrorNullableNumber":k("object")?"conditionErrorObject":k("nullish","object")?t.allowNullableObject?void 0:"conditionErrorNullableObject":k("nullish","number","enum")||k("nullish","string","enum")||k("nullish","truthy number","enum")||k("nullish","truthy string","enum")||k("nullish","truthy number","truthy string","enum")||k("nullish","truthy number","string","enum")||k("nullish","truthy string","number","enum")||k("nullish","number","string","enum")?t.allowNullableEnum?void 0:"conditionErrorNullableEnum":k("any")?t.allowAny?void 0:"conditionErrorAny":"conditionErrorOther"}}}function _(D,k){switch(k){case"conditionErrorAny":return[{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`Boolean(${M})`})}];case"conditionErrorNullableBoolean":return nDe(D.parent)?[{messageId:"conditionFixDefaultFalse",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} ?? false`})},{messageId:"conditionFixCompareFalse",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} === false`})}]:[{messageId:"conditionFixDefaultFalse",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} ?? false`})},{messageId:"conditionFixCompareTrue",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} === true`})}];case"conditionErrorNullableEnum":return nDe(D.parent)?[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} == null`})}]:[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} != null`})}];case"conditionErrorNullableNumber":return nDe(D.parent)?[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} == null`})},{messageId:"conditionFixDefaultZero",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} ?? 0`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`!Boolean(${M})`})}]:[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} != null`})},{messageId:"conditionFixDefaultZero",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} ?? 0`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`Boolean(${M})`})}];case"conditionErrorNullableObject":return nDe(D.parent)?[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} == null`})}]:[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} != null`})}];case"conditionErrorNullableString":return nDe(D.parent)?[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} == null`})},{messageId:"conditionFixDefaultEmptyString",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} ?? ""`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`!Boolean(${M})`})}]:[{messageId:"conditionFixCompareNullish",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} != null`})},{messageId:"conditionFixDefaultEmptyString",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} ?? ""`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`Boolean(${M})`})}];case"conditionErrorNumber":return kBf(D,n,r)?nDe(D.parent)?[{messageId:"conditionFixCompareArrayLengthZero",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} === 0`})}]:[{messageId:"conditionFixCompareArrayLengthNonzero",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} > 0`})}]:nDe(D.parent)?[{messageId:"conditionFixCompareZero",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} === 0`})},{messageId:"conditionFixCompareNaN",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`Number.isNaN(${M})`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`!Boolean(${M})`})}]:[{messageId:"conditionFixCompareZero",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} !== 0`})},{messageId:"conditionFixCompareNaN",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`!Number.isNaN(${M})`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`Boolean(${M})`})}];case"conditionErrorString":return nDe(D.parent)?[{messageId:"conditionFixCompareStringLength",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M}.length === 0`})},{messageId:"conditionFixCompareEmptyString",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`${M} === ""`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D.parent,innerNode:D,sourceCode:e.sourceCode,wrap:M=>`!Boolean(${M})`})}]:[{messageId:"conditionFixCompareStringLength",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M}.length > 0`})},{messageId:"conditionFixCompareEmptyString",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`${M} !== ""`})},{messageId:"conditionFixCastBoolean",fix:(0,Hy.getWrappingFixer)({node:D,sourceCode:e.sourceCode,wrap:M=>`Boolean(${M})`})}];case"conditionErrorObject":case"conditionErrorNullish":case"conditionErrorOther":return[];default:throw new Error("Unreachable")}}function E(D){let k=(0,Hy.getConstrainedTypeAtLocation)(r,D),M=b(KY.unionConstituents(k)),R=h(M);R!=null&&e.report({node:D,messageId:R,data:{context:"conditional"},suggest:_(D,R)})}function b(D){let k=new Set;D.some(G=>KY.isTypeFlagSet(G,Fw.TypeFlags.Null|Fw.TypeFlags.Undefined|Fw.TypeFlags.VoidLike))&&k.add("nullish");let M=D.filter(G=>KY.isTypeFlagSet(G,Fw.TypeFlags.BooleanLike));M.length===1?k.add(KY.isTrueLiteralType(M[0])?"truthy boolean":"boolean"):M.length===2&&k.add("boolean");let R=D.filter(G=>KY.isTypeFlagSet(G,Fw.TypeFlags.StringLike));R.length&&(R.every(G=>G.isStringLiteral()&&G.value!=="")?k.add("truthy string"):k.add("string"));let q=D.filter(G=>KY.isTypeFlagSet(G,Fw.TypeFlags.NumberLike|Fw.TypeFlags.BigIntLike));return q.length&&(q.every(G=>G.isNumberLiteral()&&G.value!==0)?k.add("truthy number"):k.add("number")),D.some(G=>KY.isTypeFlagSet(G,Fw.TypeFlags.EnumLike))&&k.add("enum"),D.some(G=>!KY.isTypeFlagSet(G,Fw.TypeFlags.Null|Fw.TypeFlags.Undefined|Fw.TypeFlags.VoidLike|Fw.TypeFlags.BooleanLike|Fw.TypeFlags.StringLike|Fw.TypeFlags.NumberLike|Fw.TypeFlags.BigIntLike|Fw.TypeFlags.TypeParameter|Fw.TypeFlags.Any|Fw.TypeFlags.Unknown|Fw.TypeFlags.Never))&&k.add(D.some(PBf)?"boolean":"object"),D.some(G=>KY.isTypeFlagSet(G,Fw.TypeFlags.TypeParameter|Fw.TypeFlags.Any|Fw.TypeFlags.Unknown))&&k.add("any"),D.some(G=>KY.isTypeFlagSet(G,Fw.TypeFlags.Never))&&k.add("never"),k}}});function nDe(e){return e.type===b$e.AST_NODE_TYPES.UnaryExpression&&e.operator==="!"}function kBf(e,t,r){if(e.type!==b$e.AST_NODE_TYPES.MemberExpression||e.computed||e.property.name!=="length")return!1;let n=(0,Hy.getConstrainedTypeAtLocation)(r,e.object);return(0,Hy.isTypeArrayTypeOrUnionOfArrayTypes)(n,t)}function PBf(e){return e.isIntersection()&&e.types.some(t=>NBf(t))}function NBf(e){return KY.isTypeFlagSet(e,Fw.TypeFlags.Boolean|Fw.TypeFlags.BooleanLiteral)}});var sWs=j(cEe=>{"use strict";var OBf=cEe&&cEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),RBf=cEe&&cEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),nWs=cEe&&cEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iK.test==null),k=(0,Yse.getConstrainedTypeAtLocation)(s,b.discriminant),M=k.getSymbol()?.escapedName,R=LBf(k),q=new Set;for(let K of b.cases){if(K.test==null)continue;let Z=(0,Yse.getConstrainedTypeAtLocation)(s,K.test);q.add(Z)}let G=[];for(let K of uEe.unionConstituents(k))for(let Z of uEe.intersectionConstituents(K))q.has(Z)||!iWs(Z)||[...q].some(uEe.isIntrinsicUndefinedType)&&uEe.isIntrinsicUndefinedType(Z)||G.push(Z);return{containsNonLiteralType:R,defaultCase:D??f(b),missingLiteralBranchTypes:G,symbolName:M}}function A(b,D){let{defaultCase:k,missingLiteralBranchTypes:M,symbolName:R}=D;r&&k!=null||M.length>0&&e.report({node:b.discriminant,messageId:"switchIsNotExhaustive",data:{missingBranches:M.map(q=>uEe.isTypeFlagSet(q,lEe.TypeFlags.ESSymbolLike)?`typeof ${q.getSymbol()?.escapedName}`:p(q)).join(" | ")},suggest:[{messageId:"addMissingCases",fix(q){return h(q,b,M,k,R?.toString())}}]})}function h(b,D,k,M,R){let q=D.cases.length>0?D.cases[D.cases.length-1]:null,G=q?" ".repeat(q.loc.start.column):" ".repeat(D.loc.start.column),K=[];for(let me of k){if(me==null){K.push("default: { throw new Error('default case') }");continue}let Te=me.getSymbol()?.escapedName,le=uEe.isTypeFlagSet(me,lEe.TypeFlags.ESSymbolLike)?Te:p(me);if(R&&(Te||Te==="")&&(0,Yse.requiresQuoting)(Te.toString(),u.target)){let ae=Te.replaceAll("'","\\'").replaceAll(` `,"\\n").replaceAll("\r","\\r");le=`${R}['${ae}']`}K.push(`case ${le}: { throw new Error('Not implemented yet: ${le.replaceAll("\\","\\\\").replaceAll("'","\\'")} case') }`)}let Z=K.map(me=>`${G}${me}`).join(` `);if(q){if(M){let me=K.map(Te=>`${Te} ${G}`).join("");return b.insertTextBefore(M,me)}return b.insertTextAfter(q,` ${Z}`)}let oe=(0,Yse.nullThrows)(e.sourceCode.getTokenAfter(D.discriminant,Yse.isOpeningBraceToken),Yse.NullThrowsReasons.MissingToken("{","discriminant")),ue=(0,Yse.nullThrows)(e.sourceCode.getTokenAfter(D.discriminant,Yse.isClosingBraceToken),Yse.NullThrowsReasons.MissingToken("}","discriminant"));return b.replaceTextRange([oe.range[0],ue.range[1]],["{",Z,`${G}}`].join(` `))}function _(b){if(t)return;let{containsNonLiteralType:D,defaultCase:k,missingLiteralBranchTypes:M}=b;M.length===0&&k!=null&&!D&&e.report({node:k,messageId:"dangerousDefaultCase"})}function E(b,D){if(!i)return;let{containsNonLiteralType:k,defaultCase:M}=D;k&&M==null&&e.report({node:b.discriminant,messageId:"switchIsNotExhaustive",data:{missingBranches:"default"},suggest:[{messageId:"addMissingCases",fix(R){return h(R,b,[null],M)}}]})}return{SwitchStatement(b){let D=g(b);A(b,D),_(D),E(b,D)}}}});function iWs(e){return uEe.isTypeFlagSet(e,lEe.TypeFlags.Literal|lEe.TypeFlags.Undefined|lEe.TypeFlags.Null|lEe.TypeFlags.UniqueESSymbol)}function LBf(e){return uEe.unionConstituents(e).some(t=>uEe.intersectionConstituents(t).every(r=>!iWs(r)))}});var oWs=j(k1n=>{"use strict";Object.defineProperty(k1n,"__esModule",{value:!0});var aWs=Vo(),MBf=el();k1n.default=(0,MBf.createRule)({name:"triple-slash-reference",meta:{type:"suggestion",docs:{description:"Disallow certain triple slash directives in favor of ES6-style import declarations",recommended:"recommended"},messages:{tripleSlashReference:"Do not use a triple slash reference for {{module}}, use `import` style instead."},schema:[{type:"object",additionalProperties:!1,properties:{lib:{type:"string",description:'What to enforce for `/// ` references.',enum:["always","never"]},path:{type:"string",description:'What to enforce for `/// ` references.',enum:["always","never"]},types:{type:"string",description:'What to enforce for `/// ` references.',enum:["always","never","prefer-import"]}}}]},defaultOptions:[{lib:"always",path:"never",types:"prefer-import"}],create(e,[{lib:t,path:r,types:n}]){let i,s=[];function a(u){s.forEach(l=>{l.importName===u.value&&e.report({node:l.comment,messageId:"tripleSlashReference",data:{module:l.importName}})})}return{ImportDeclaration(u){i&&a(u.source)},Program(u){if(t==="always"&&r==="always"&&n==="always")return;i=u;let l=/^\/\s*{if(p.type!==aWs.AST_TOKEN_TYPES.Line)return;let g=l.exec(p.value);if(g){if(g[1]==="types"&&n==="never"||g[1]==="path"&&r==="never"||g[1]==="lib"&&t==="never"){e.report({node:p,messageId:"tripleSlashReference",data:{module:g[2]}});return}g[1]==="types"&&n==="prefer-import"&&s.push({comment:p,importName:g[2]})}})},TSImportEqualsDeclaration(u){if(i){let l=u.moduleReference;l.type===aWs.AST_NODE_TYPES.TSExternalModuleReference&&a(l.expression)}}}}})});var uWs=j(Gyt=>{"use strict";Object.defineProperty(Gyt,"__esModule",{value:!0});Gyt.OptionKeys=void 0;var k9=Vo(),QBf=el(),kP;(function(e){e.ArrayDestructuring="arrayDestructuring",e.ArrowParameter="arrowParameter",e.MemberVariableDeclaration="memberVariableDeclaration",e.ObjectDestructuring="objectDestructuring",e.Parameter="parameter",e.PropertyDeclaration="propertyDeclaration",e.VariableDeclaration="variableDeclaration",e.VariableDeclarationIgnoreFunction="variableDeclarationIgnoreFunction"})(kP||(Gyt.OptionKeys=kP={}));Gyt.default=(0,QBf.createRule)({name:"typedef",meta:{type:"suggestion",deprecated:{deprecatedSince:"8.33.0",message:"This is an old rule that is no longer recommended for use."},docs:{description:"Require type annotations in certain places"},messages:{expectedTypedef:"Expected a type annotation.",expectedTypedefNamed:"Expected {{name}} to have a type annotation."},schema:[{type:"object",additionalProperties:!1,properties:{[kP.ArrayDestructuring]:{type:"boolean",description:"Whether to enforce type annotations on variables declared using array destructuring."},[kP.ArrowParameter]:{type:"boolean",description:"Whether to enforce type annotations for parameters of arrow functions."},[kP.MemberVariableDeclaration]:{type:"boolean",description:"Whether to enforce type annotations on member variables of classes."},[kP.ObjectDestructuring]:{type:"boolean",description:"Whether to enforce type annotations on variables declared using object destructuring."},[kP.Parameter]:{type:"boolean",description:"Whether to enforce type annotations for parameters of functions and methods."},[kP.PropertyDeclaration]:{type:"boolean",description:"Whether to enforce type annotations for properties of interfaces and types."},[kP.VariableDeclaration]:{type:"boolean",description:"Whether to enforce type annotations for variable declarations, excluding array and object destructuring."},[kP.VariableDeclarationIgnoreFunction]:{type:"boolean",description:"Whether to ignore variable declarations for non-arrow and arrow functions."}}}]},defaultOptions:[{[kP.ArrayDestructuring]:!1,[kP.ArrowParameter]:!1,[kP.MemberVariableDeclaration]:!1,[kP.ObjectDestructuring]:!1,[kP.Parameter]:!1,[kP.PropertyDeclaration]:!1,[kP.VariableDeclaration]:!1,[kP.VariableDeclarationIgnoreFunction]:!1}],create(e,[{arrayDestructuring:t,arrowParameter:r,memberVariableDeclaration:n,objectDestructuring:i,parameter:s,propertyDeclaration:a,variableDeclaration:u,variableDeclarationIgnoreFunction:l}]){function f(E,b){e.report({node:E,messageId:b?"expectedTypedefNamed":"expectedTypedef",data:{name:b}})}function p(E){return E.type===k9.AST_NODE_TYPES.Identifier?E.name:void 0}function g(E){let b=E.parent;for(;b;)switch(b.type){case k9.AST_NODE_TYPES.VariableDeclarator:case k9.AST_NODE_TYPES.VariableDeclaration:case k9.AST_NODE_TYPES.ObjectPattern:case k9.AST_NODE_TYPES.ArrayPattern:case k9.AST_NODE_TYPES.Property:b=b.parent;break;case k9.AST_NODE_TYPES.ForOfStatement:return!0;default:b=void 0}return!1}function A(E){for(let b of E){let D;switch(b.type){case k9.AST_NODE_TYPES.AssignmentPattern:D=b.left;break;case k9.AST_NODE_TYPES.TSParameterProperty:D=b.parameter,D.type===k9.AST_NODE_TYPES.AssignmentPattern&&(D=D.left);break;default:D=b;break}D.typeAnnotation||f(b,p(b))}}function h(E){return l===!0&&(E.type===k9.AST_NODE_TYPES.ArrowFunctionExpression||E.type===k9.AST_NODE_TYPES.FunctionExpression)}function _(E){let b=E.parent;for(;b;){if((b.type===k9.AST_NODE_TYPES.ObjectPattern||b.type===k9.AST_NODE_TYPES.ArrayPattern)&&b.typeAnnotation)return!0;b=b.parent}return!1}return{...t&&{ArrayPattern(E){E.parent.type===k9.AST_NODE_TYPES.RestElement&&E.parent.typeAnnotation||!E.typeAnnotation&&!g(E)&&!_(E)&&E.parent.type!==k9.AST_NODE_TYPES.AssignmentExpression&&f(E)}},...r&&{ArrowFunctionExpression(E){A(E.params)}},...n&&{PropertyDefinition(E){!(E.value&&h(E.value))&&!E.typeAnnotation&&f(E,E.key.type===k9.AST_NODE_TYPES.Identifier?E.key.name:void 0)}},...s&&{"FunctionDeclaration, FunctionExpression"(E){A(E.params)}},...i&&{ObjectPattern(E){!E.typeAnnotation&&!g(E)&&!_(E)&&f(E)}},...a&&{"TSIndexSignature, TSPropertySignature"(E){E.typeAnnotation||f(E,E.type===k9.AST_NODE_TYPES.TSPropertySignature?p(E.key):void 0)}},VariableDeclarator(E){if(!u||E.id.typeAnnotation||E.id.type===k9.AST_NODE_TYPES.ArrayPattern&&!t||E.id.type===k9.AST_NODE_TYPES.ObjectPattern&&!i||E.init&&h(E.init))return;let b=E.parent;for(;b;)switch(b.type){case k9.AST_NODE_TYPES.VariableDeclaration:b=b.parent;break;case k9.AST_NODE_TYPES.ForOfStatement:case k9.AST_NODE_TYPES.ForInStatement:return;default:b=void 0;break}f(E,p(E.id))}}}})});var pWs=j(pEe=>{"use strict";var jBf=pEe&&pEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),UBf=pEe&&pEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),fWs=pEe&&pEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{if(!(e in global))return[];let t=global[e];return Object.getOwnPropertyNames(t).filter(r=>!r.startsWith("_")&&typeof t[r]=="function").map(r=>`${e}.${r}`)})),GBf=["NumberConstructor","ObjectConstructor","StringConstructor","SymbolConstructor","ArrayConstructor","Array","ProxyConstructor","Console","DateConstructor","Atomics","Math","JSON"],VBf=(e,t)=>{let{valueDeclaration:r}=e;return r?!!t&&t!==r.getSourceFile():!1},lWs=["A method that is not declared with `this: void` may cause unintentional scoping of `this` when separated from its object.","Consider using an arrow function or explicitly `.bind()`ing the method to avoid calling the method with an unintended `this` value. "].join(` `);pEe.default=(0,Vyt.createRule)({name:"unbound-method",meta:{type:"problem",docs:{description:"Enforce unbound methods are called with their expected scope",recommended:"recommended",requiresTypeChecking:!0},messages:{unbound:lWs,unboundWithoutThisAnnotation:`${lWs} If a function does not access \`this\`, it can be annotated with \`this: void\`.`},schema:[{type:"object",additionalProperties:!1,properties:{ignoreStatic:{type:"boolean",description:"Whether to skip checking whether `static` methods are correctly bound."}}}]},defaultOptions:[{ignoreStatic:!1}],create(e,[{ignoreStatic:t}]){let r=(0,Vyt.getParserServices)(e),n=r.program.getSourceFile(e.filename);function i(a,u){if(!u)return!1;let{dangerous:l,firstParamIsThis:f}=KBf(u,t);return l?(e.report({node:a,messageId:f===!1?"unboundWithoutThisAnnotation":"unbound"}),!0):!1}function s(a,u){if(a.type===a2.AST_NODE_TYPES.Identifier&&u.type===a2.AST_NODE_TYPES.Identifier){let l=r.getSymbolAtLocation(a);if(l!=null&&VBf(l,n)&&YBf.has(`${a.name}.${u.name}`))return!0}return(0,Vyt.isBuiltinSymbolLike)(r.program,r.getTypeAtLocation(a),GBf)&&(0,Vyt.isSymbolFromDefaultLibrary)(r.program,r.getTypeAtLocation(u).getSymbol())}return{MemberExpression(a){N1n(a)||s(a.object,a.property)||i(a,r.getSymbolAtLocation(a))},ObjectPattern(a){if($Bf(a))return;let u=null;a.parent.type===a2.AST_NODE_TYPES.VariableDeclarator?u=a.parent.init:(a.parent.type===a2.AST_NODE_TYPES.AssignmentPattern||a.parent.type===a2.AST_NODE_TYPES.AssignmentExpression)&&(u=a.parent.right);for(let l of a.properties)if(!(l.type!==a2.AST_NODE_TYPES.Property||l.key.type!==a2.AST_NODE_TYPES.Identifier)){if(u){if(s(u,l.key)){if(a.parent.type!==a2.AST_NODE_TYPES.AssignmentPattern)continue}else if(i(l.key,r.getTypeAtLocation(u).getProperty(l.key.name)))continue}for(let f of P1n.unionConstituents(r.getTypeAtLocation(a)).flatMap(p=>P1n.intersectionConstituents(p)))if(i(l.key,f.getProperty(l.key.name)))break}}}}});function $Bf(e){let t=e;for(;t=t.parent;)if(t.type===a2.AST_NODE_TYPES.ClassDeclaration&&t.declare||t.type===a2.AST_NODE_TYPES.TSAbstractMethodDefinition||t.type===a2.AST_NODE_TYPES.TSDeclareFunction||t.type===a2.AST_NODE_TYPES.TSFunctionType||t.type===a2.AST_NODE_TYPES.TSInterfaceDeclaration||t.type===a2.AST_NODE_TYPES.TSTypeAliasDeclaration||t.type===a2.AST_NODE_TYPES.VariableDeclaration&&t.declare)return!0;return!1}function KBf(e,t){let{valueDeclaration:r}=e;if(!r)return{dangerous:!1};switch(r.kind){case fEe.SyntaxKind.PropertyDeclaration:return{dangerous:r.initializer?.kind===fEe.SyntaxKind.FunctionExpression};case fEe.SyntaxKind.PropertyAssignment:{let n=r.initializer;return n.kind!==fEe.SyntaxKind.FunctionExpression?{dangerous:!1}:cWs(n,t)}case fEe.SyntaxKind.MethodDeclaration:case fEe.SyntaxKind.MethodSignature:return cWs(r,t)}return{dangerous:!1}}function cWs(e,t){let r=e.parameters.at(0),n=r?.name.kind===fEe.SyntaxKind.Identifier&&r.name.escapedText==="this";return{dangerous:!(n&&r.type?.kind===fEe.SyntaxKind.VoidKeyword)&&!(t&&P1n.includesModifier((0,Vyt.getModifiers)(e),fEe.SyntaxKind.StaticKeyword)),firstParamIsThis:n}}function N1n(e){let t=e.parent;switch(t?.type){case a2.AST_NODE_TYPES.IfStatement:case a2.AST_NODE_TYPES.ForStatement:case a2.AST_NODE_TYPES.MemberExpression:case a2.AST_NODE_TYPES.SwitchStatement:case a2.AST_NODE_TYPES.UpdateExpression:case a2.AST_NODE_TYPES.WhileStatement:return!0;case a2.AST_NODE_TYPES.CallExpression:return t.callee===e;case a2.AST_NODE_TYPES.ConditionalExpression:return t.test===e;case a2.AST_NODE_TYPES.TaggedTemplateExpression:return t.tag===e;case a2.AST_NODE_TYPES.UnaryExpression:return["!","delete","typeof","void"].includes(t.operator);case a2.AST_NODE_TYPES.BinaryExpression:return["!=","!==","==","===","instanceof"].includes(t.operator);case a2.AST_NODE_TYPES.AssignmentExpression:return t.operator==="="&&(e===t.left||e.type===a2.AST_NODE_TYPES.MemberExpression&&e.object.type===a2.AST_NODE_TYPES.Super&&t.left.type===a2.AST_NODE_TYPES.MemberExpression&&t.left.object.type===a2.AST_NODE_TYPES.ThisExpression);case a2.AST_NODE_TYPES.ChainExpression:case a2.AST_NODE_TYPES.TSNonNullExpression:case a2.AST_NODE_TYPES.TSAsExpression:case a2.AST_NODE_TYPES.TSTypeAssertion:return N1n(t);case a2.AST_NODE_TYPES.LogicalExpression:return t.operator==="&&"&&t.left===e?!0:N1n(t)}return!1}});var AWs=j(F1n=>{"use strict";Object.defineProperty(F1n,"__esModule",{value:!0});var tk=Vo(),etr=el();F1n.default=(0,etr.createRule)({name:"unified-signatures",meta:{type:"suggestion",docs:{description:"Disallow two overloads that could be unified into one with a union or an optional/rest parameter",recommended:"strict"},messages:{omittingRestParameter:"{{failureStringStart}} with a rest parameter.",omittingSingleParameter:"{{failureStringStart}} with an optional parameter.",singleParameterDifference:"{{failureStringStart}} taking `{{type1}} | {{type2}}`."},schema:[{type:"object",additionalProperties:!1,properties:{ignoreDifferentlyNamedParameters:{type:"boolean",description:"Whether two parameters with different names at the same index should be considered different even if their types are the same."},ignoreOverloadsWithDifferentJSDoc:{type:"boolean",description:"Whether two overloads with different JSDoc comments should be considered different even if their parameter and return types are the same."}}}]},defaultOptions:[{ignoreDifferentlyNamedParameters:!1,ignoreOverloadsWithDifferentJSDoc:!1}],create(e,[{ignoreDifferentlyNamedParameters:t,ignoreOverloadsWithDifferentJSDoc:r}]){function n(le){return`${le==null?"These overloads":`This overload and the one on line ${le}`} can be combined into one signature`}function i(le){for(let ae of le){let{only2:Ae,unify:De}=ae;switch(De.kind){case"single-parameter-difference":{let{p0:_e,p1:Le}=De,qe=Ae?void 0:_e.loc.start.line,at=_(_e)?_e.parameter.typeAnnotation:_e.typeAnnotation,st=_(Le)?Le.parameter.typeAnnotation:Le.typeAnnotation;e.report({loc:Le.loc,node:Le,messageId:"singleParameterDifference",data:{failureStringStart:n(qe),type1:e.sourceCode.getText(at?.typeAnnotation),type2:e.sourceCode.getText(st?.typeAnnotation)}});break}case"extra-parameter":{let{extraParameter:_e,otherSignature:Le}=De,qe=Ae?void 0:Le.loc.start.line;e.report({loc:_e.loc,node:_e,messageId:_e.type===tk.AST_NODE_TYPES.RestElement?"omittingRestParameter":"omittingSingleParameter",data:{failureStringStart:n(qe)}})}}}}function s(le,ae){let Ae=[],De=A(ae);for(let _e of le)G(_e,(Le,qe)=>{let at=Le.value??Le,st=qe.value??qe,Ur=a(at,st,De);Ur!=null&&Ae.push({only2:_e.length===2,unify:Ur})});return Ae}function a(le,ae,Ae){if(u(le,ae,Ae))return le.params.length===ae.params.length?l(le.params,ae.params):g(le,ae)}function u(le,ae,Ae){let De=le.typeParameters!=null?le.typeParameters.params:void 0,_e=ae.typeParameters!=null?ae.typeParameters.params:void 0;if(t){let Le=Math.min(le.params.length,ae.params.length);for(let qe=0;qe0&&qe[_e-1].type===tk.AST_NODE_TYPES.RestElement))return{extraParameter:Le[Le.length-1],kind:"extra-parameter",otherSignature:at}}}function A(le){if(le==null)return(()=>!1);let ae=new Set;for(let Ae of le.params)ae.add(Ae.name.name);return(Ae=>ae.has(Ae))}function h(le,ae){return le.params.some(De=>Ae(_(De)?De.parameter.typeAnnotation:De.typeAnnotation));function Ae(De){if(!De)return!1;if(De.type===tk.AST_NODE_TYPES.TSTypeReference){let _e=De.typeName;if(gWs(_e)&&ae(_e.name))return!0}return Ae(De.typeAnnotation??De.elementType)}}function _(le){return le.type===tk.AST_NODE_TYPES.TSParameterProperty}function E(le,ae){let Ae=_(le)?le.parameter.typeAnnotation:le.typeAnnotation,De=_(ae)?ae.parameter.typeAnnotation:ae.typeAnnotation;return D(le,ae)&&M(Ae,De)}function b(le){let ae=_(le)?le.parameter.optional:le.optional;return le.type===tk.AST_NODE_TYPES.RestElement||ae}function D(le,ae){let Ae=_(le)?le.parameter.optional:le.optional,De=_(ae)?ae.parameter.optional:ae.optional;return le.type===tk.AST_NODE_TYPES.RestElement==(ae.type===tk.AST_NODE_TYPES.RestElement)&&Ae===De}function k(le,ae){return le.name.name===ae.name.name&&R(le.constraint,ae.constraint)}function M(le,ae){return le===ae||le!=null&&ae!=null&&e.sourceCode.getText(le.typeAnnotation)===e.sourceCode.getText(ae.typeAnnotation)}function R(le,ae){return le===ae||le!=null&&ae!=null&&le.type===ae.type}function q(le,ae,Ae){for(let De=0;Deae.type===tk.AST_TOKEN_TYPES.Block)}function Te(le,ae,Ae){if(ae??=JBf(le),Z&&(Ae??le).parent===Z.parent){let De=Z.overloads.get(ae);De!=null?De.push(le):Z.overloads.set(ae,[le])}}return{ClassDeclaration(le){oe(le.body,le.typeParameters)},Program:oe,TSInterfaceDeclaration(le){oe(le.body,le.typeParameters)},TSModuleBlock:oe,TSTypeLiteral:oe,MethodDefinition(le){!le.value.body&&!O1n(le)&&Te(le)},TSAbstractMethodDefinition(le){!le.value.body&&!O1n(le)&&Te(le)},TSCallSignatureDeclaration:Te,TSConstructSignatureDeclaration:Te,TSDeclareFunction(le){let ae=mWs(le);Te(le,le.id?.name??ae?.type,ae)},TSMethodSignature(le){O1n(le)||Te(le)},"ClassDeclaration:exit":ue,"Program:exit":ue,"TSInterfaceDeclaration:exit":ue,"TSModuleBlock:exit":ue,"TSTypeLiteral:exit":ue}}});function dWs(e){return e.type===tk.AST_NODE_TYPES.TSEmptyBodyFunctionExpression?e.parent:mWs(e)??e}function mWs(e){return e.parent.type===tk.AST_NODE_TYPES.ExportNamedDeclaration||e.parent.type===tk.AST_NODE_TYPES.ExportDefaultDeclaration?e.parent:void 0}function JBf(e){let t=HBf(e);return(e.computed?"0":"1")+(e.static?"0":"1")+t}function HBf(e){switch(e.type){case tk.AST_NODE_TYPES.TSConstructSignatureDeclaration:return"constructor";case tk.AST_NODE_TYPES.TSCallSignatureDeclaration:return"()";default:{let{key:t}=e;return zBf(t)?`private_identifier_${t.name}`:gWs(t)?`identifier_${t.name}`:t.raw}}}function R1n(e){switch(e.type){case tk.AST_NODE_TYPES.Identifier:return e.name;case tk.AST_NODE_TYPES.RestElement:return R1n(e.argument);default:return}}function gWs(e){return e.type===tk.AST_NODE_TYPES.Identifier}function zBf(e){return e.type===tk.AST_NODE_TYPES.PrivateIdentifier}function O1n(e){return e.kind==="get"||e.kind==="set"}});var hWs=j(dEe=>{"use strict";var WBf=dEe&&dEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),XBf=dEe&&dEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),ZBf=dEe&&dEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;iu.type===oJ.AST_NODE_TYPES.ArrowFunctionExpression&&(0,J5e.isParenlessArrowFunction)(u,e.sourceCode)?[A.insertTextBefore(p,"("),A.insertTextAfter(p,": unknown)")]:[A.insertTextAfter(p,": unknown")]}]}:{node:f,suggest:[{messageId:"wrongTypeAnnotationSuggestion",fix:A=>A.replaceText(g,": unknown")}]}}case oJ.AST_NODE_TYPES.ArrayPattern:return{node:f,messageId:"useUnknownArrayDestructuringPattern"};case oJ.AST_NODE_TYPES.ObjectPattern:return{node:f,messageId:"useUnknownObjectDestructuringPattern"};case oJ.AST_NODE_TYPES.RestElement:{let g=p.typeAnnotation;return g==null?{node:f,suggest:[{messageId:"addUnknownRestTypeAnnotationSuggestion",fix:A=>A.insertTextAfter(p,": [unknown]")}]}:{node:f,suggest:[{messageId:"wrongRestTypeAnnotationSuggestion",fix:A=>A.replaceText(g,": [unknown]")}]}}}}return{CallExpression({arguments:u,callee:l}){if(l.type!==oJ.AST_NODE_TYPES.MemberExpression)return;let f=(0,J5e.getStaticMemberAccessValue)(l,e);if(!f)return;let p=[{append:"",argIndexToCheck:0,method:"catch"},{append:" rejection",argIndexToCheck:1,method:"then"}].find(({method:E})=>f===E);if(!p)return;let{argIndexToCheck:g,...A}=p;if(u.lengthE===oJ.AST_NODE_TYPES.SpreadElement)||!ttr.isThenableType(n,t.get(l),n.getTypeAtLocation(t.get(l.object))))return;let _=h[g];for(let E of s(_)){let b=a(E);e.report({node:E,messageId:"useUnknown",data:A,...b})}}}}})});var _Ws=j((M1n,yWs)=>{"use strict";var Dl=M1n&&M1n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},e6f=Dl(rVs()),t6f=Dl(sVs()),r6f=Dl(uVs()),n6f=Dl(cVs()),i6f=Dl(fVs()),s6f=Dl(mVs()),a6f=Dl(gVs()),o6f=Dl(AVs()),u6f=Dl(hVs()),l6f=Dl(xVs()),c6f=Dl(CVs()),f6f=Dl(IVs()),p6f=Dl(BVs()),d6f=Dl(kVs()),m6f=Dl(PVs()),g6f=Dl(RVs()),A6f=Dl(YVs()),h6f=Dl(GVs()),y6f=Dl(VVs()),_6f=Dl(KVs()),E6f=Dl(zVs()),x6f=Dl(t$s()),v6f=Dl(r$s()),C6f=Dl(b$s()),b6f=Dl(S$s()),I6f=Dl(T$s()),S6f=Dl(w$s()),T6f=Dl(P$s()),D6f=Dl(O$s()),w6f=Dl(F$s()),B6f=Dl(L$s()),k6f=Dl(M$s()),P6f=Dl(q$s()),N6f=Dl(Y$s()),O6f=Dl($$s()),R6f=Dl(J$s()),F6f=Dl(z$s()),L6f=Dl(W$s()),M6f=Dl(X$s()),Q6f=Dl(Z$s()),j6f=Dl(iKs()),U6f=Dl(oKs()),q6f=Dl(cKs()),Y6f=Dl(fKs()),G6f=Dl(pKs()),V6f=Dl(gKs()),$6f=Dl(yKs()),K6f=Dl(EKs()),J6f=Dl(xKs()),H6f=Dl(bKs()),z6f=Dl(SKs()),W6f=Dl(TKs()),X6f=Dl(BKs()),Z6f=Dl(OKs()),ekf=Dl(MKs()),tkf=Dl(UKs()),rkf=Dl(qKs()),nkf=Dl(YKs()),ikf=Dl(VKs()),skf=Dl(KKs()),akf=Dl(XKs()),okf=Dl(ZKs()),ukf=Dl(sJs()),lkf=Dl(lJs()),ckf=Dl(mJs()),fkf=Dl(gJs()),pkf=Dl(AJs()),dkf=Dl(_Js()),mkf=Dl(IJs()),gkf=Dl(SJs()),Akf=Dl(BJs()),hkf=Dl(RJs()),ykf=Dl(MJs()),_kf=Dl(jJs()),Ekf=Dl(qJs()),xkf=Dl(VJs()),vkf=Dl(JJs()),Ckf=Dl(WJs()),bkf=Dl(ZJs()),Ikf=Dl(eHs()),Skf=Dl(rHs()),Tkf=Dl(lHs()),Dkf=Dl(fHs()),wkf=Dl(mHs()),Bkf=Dl(AHs()),kkf=Dl(yHs()),Pkf=Dl(EHs()),Nkf=Dl(vHs()),Okf=Dl(wHs()),Rkf=Dl(BHs()),Fkf=Dl(kHs()),Lkf=Dl(NHs()),Mkf=Dl(RHs()),Qkf=Dl(LHs()),jkf=Dl(QHs()),Ukf=Dl(qHs()),qkf=Dl(GHs()),Ykf=Dl($Hs()),Gkf=Dl(KHs()),Vkf=Dl(HHs()),$kf=Dl(zHs()),Kkf=Dl(WHs()),Jkf=Dl(ZHs()),Hkf=Dl(ezs()),zkf=Dl(rzs()),Wkf=Dl(nzs()),Xkf=Dl(szs()),Zkf=Dl(fzs()),e7f=Dl(vzs()),t7f=Dl(bzs()),r7f=Dl(wzs()),n7f=Dl(Bzs()),i7f=Dl(Pzs()),s7f=Dl(Nzs()),a7f=Dl(Rzs()),o7f=Dl(Fzs()),u7f=Dl(Lzs()),l7f=Dl(Qzs()),c7f=Dl(Uzs()),f7f=Dl(qzs()),p7f=Dl($zs()),d7f=Dl(Jzs()),m7f=Dl(Wzs()),g7f=Dl(Zzs()),A7f=Dl(eWs()),h7f=Dl(rWs()),y7f=Dl(sWs()),_7f=Dl(oWs()),E7f=Dl(uWs()),x7f=Dl(pWs()),v7f=Dl(AWs()),C7f=Dl(hWs()),b7f={"adjacent-overload-signatures":e6f.default,"array-type":t6f.default,"await-thenable":r6f.default,"ban-ts-comment":n6f.default,"ban-tslint-comment":i6f.default,"class-literal-property-style":s6f.default,"class-methods-use-this":a6f.default,"consistent-generic-constructors":o6f.default,"consistent-indexed-object-style":u6f.default,"consistent-return":l6f.default,"consistent-type-assertions":c6f.default,"consistent-type-definitions":f6f.default,"consistent-type-exports":p6f.default,"consistent-type-imports":d6f.default,"default-param-last":m6f.default,"dot-notation":g6f.default,"explicit-function-return-type":A6f.default,"explicit-member-accessibility":h6f.default,"explicit-module-boundary-types":y6f.default,"init-declarations":_6f.default,"max-params":E6f.default,"member-ordering":x6f.default,"method-signature-style":v6f.default,"naming-convention":C6f.default,"no-array-constructor":b6f.default,"no-array-delete":I6f.default,"no-base-to-string":S6f.default,"no-confusing-non-null-assertion":T6f.default,"no-confusing-void-expression":D6f.default,"no-deprecated":w6f.default,"no-dupe-class-members":B6f.default,"no-duplicate-enum-values":k6f.default,"no-duplicate-type-constituents":P6f.default,"no-dynamic-delete":N6f.default,"no-empty-function":O6f.default,"no-empty-interface":R6f.default,"no-empty-object-type":F6f.default,"no-explicit-any":L6f.default,"no-extra-non-null-assertion":M6f.default,"no-extraneous-class":Q6f.default,"no-floating-promises":j6f.default,"no-for-in-array":U6f.default,"no-implied-eval":q6f.default,"no-import-type-side-effects":Y6f.default,"no-inferrable-types":G6f.default,"no-invalid-this":V6f.default,"no-invalid-void-type":$6f.default,"no-loop-func":K6f.default,"no-loss-of-precision":J6f.default,"no-magic-numbers":H6f.default,"no-meaningless-void-operator":z6f.default,"no-misused-new":W6f.default,"no-misused-promises":X6f.default,"no-misused-spread":Z6f.default,"no-mixed-enums":ekf.default,"no-namespace":tkf.default,"no-non-null-asserted-nullish-coalescing":rkf.default,"no-non-null-asserted-optional-chain":nkf.default,"no-non-null-assertion":ikf.default,"no-redeclare":skf.default,"no-redundant-type-constituents":akf.default,"no-require-imports":okf.default,"no-restricted-imports":ukf.default,"no-restricted-types":lkf.default,"no-shadow":ckf.default,"no-this-alias":fkf.default,"no-type-alias":pkf.default,"no-unnecessary-boolean-literal-compare":dkf.default,"no-unnecessary-condition":mkf.default,"no-unnecessary-parameter-property-assignment":gkf.default,"no-unnecessary-qualifier":Akf.default,"no-unnecessary-template-expression":hkf.default,"no-unnecessary-type-arguments":ykf.default,"no-unnecessary-type-assertion":_kf.default,"no-unnecessary-type-constraint":Ekf.default,"no-unnecessary-type-conversion":xkf.default,"no-unnecessary-type-parameters":vkf.default,"no-unsafe-argument":Ckf.default,"no-unsafe-assignment":bkf.default,"no-unsafe-call":Ikf.default,"no-unsafe-declaration-merging":Skf.default,"no-unsafe-enum-comparison":Tkf.default,"no-unsafe-function-type":Dkf.default,"no-unsafe-member-access":wkf.default,"no-unsafe-return":Bkf.default,"no-unsafe-type-assertion":kkf.default,"no-unsafe-unary-minus":Pkf.default,"no-unused-expressions":Nkf.default,"no-unused-private-class-members":Okf.default,"no-unused-vars":Rkf.default,"no-use-before-define":Fkf.default,"no-useless-constructor":Lkf.default,"no-useless-empty-export":Mkf.default,"no-var-requires":Qkf.default,"no-wrapper-object-types":jkf.default,"non-nullable-type-assertion-style":Ukf.default,"only-throw-error":qkf.default,"parameter-properties":Ykf.default,"prefer-as-const":Gkf.default,"prefer-destructuring":Vkf.default,"prefer-enum-initializers":$kf.default,"prefer-find":Kkf.default,"prefer-for-of":Jkf.default,"prefer-function-type":Hkf.default,"prefer-includes":zkf.default,"prefer-literal-enum-member":Wkf.default,"prefer-namespace-keyword":Xkf.default,"prefer-nullish-coalescing":Zkf.default,"prefer-optional-chain":e7f.default,"prefer-promise-reject-errors":t7f.default,"prefer-readonly":r7f.default,"prefer-readonly-parameter-types":n7f.default,"prefer-reduce-type-parameter":i7f.default,"prefer-regexp-exec":s7f.default,"prefer-return-this-type":a7f.default,"prefer-string-starts-ends-with":o7f.default,"prefer-ts-expect-error":u7f.default,"promise-function-async":l7f.default,"related-getter-setter-pairs":c7f.default,"require-array-sort-compare":f7f.default,"require-await":p7f.default,"restrict-plus-operands":d7f.default,"restrict-template-expressions":m7f.default,"return-await":g7f.default,"sort-type-constituents":A7f.default,"strict-boolean-expressions":h7f.default,"switch-exhaustiveness-check":y7f.default,"triple-slash-reference":_7f.default,typedef:E7f.default,"unbound-method":x7f.default,"unified-signatures":v7f.default,"use-unknown-in-catch-callback-variable":C7f.default};yWs.exports=b7f});var bWs=j((mEe,CWs)=>{"use strict";var I7f=mEe&&mEe.__createBinding||(Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]})),S7f=mEe&&mEe.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t}),T7f=mEe&&mEe.__importStar||(function(){var e=function(t){return e=Object.getOwnPropertyNames||function(r){var n=[];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(n[n.length]=i);return n},e(t)};return function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var n=e(t),i=0;i{"use strict";var r5f=j1n&&j1n.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},n5f=r5f(bWs());IWs.exports=n5f.default.plugin});var aXs=j((lZA,sXs)=>{"use strict";sXs.exports={languageOptions:{parserOptions:{ecmaFeatures:{jsx:!0}}}}});var uXs=j((cZA,oXs)=>{"use strict";oXs.exports={parserOptions:{ecmaFeatures:{jsx:!0}}}});var cXs=j((fZA,lXs)=>{"use strict";lXs.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|(?:\uD83E\uDDD1\uD83C\uDFFF\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFC-\uDFFF])|\uD83D\uDC68(?:\uD83C\uDFFB(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|[\u2695\u2696\u2708]\uFE0F|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))?|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFF]))|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])\uFE0F|\u200D(?:(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D[\uDC66\uDC67])|\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC)?|(?:\uD83D\uDC69(?:\uD83C\uDFFB\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|(?:\uD83C[\uDFFC-\uDFFF])\u200D\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC69(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83E\uDDD1(?:\u200D(?:\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|\uD83D\uDE36\u200D\uD83C\uDF2B|\uD83C\uDFF3\uFE0F\u200D\u26A7|\uD83D\uDC3B\u200D\u2744|(?:(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\uD83C\uDFF4\u200D\u2620|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])\u200D[\u2640\u2642]|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u2600-\u2604\u260E\u2611\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26B0\u26B1\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0\u26F1\u26F4\u26F7\u26F8\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u3030\u303D\u3297\u3299]|\uD83C[\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]|\uD83D[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3])\uFE0F|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDE35\u200D\uD83D\uDCAB|\uD83D\uDE2E\u200D\uD83D\uDCA8|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83E\uDDD1(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83D\uDC69(?:\uD83C\uDFFF|\uD83C\uDFFE|\uD83C\uDFFD|\uD83C\uDFFC|\uD83C\uDFFB)?|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83D\uDC08\u200D\u2B1B|\u2764\uFE0F\u200D(?:\uD83D\uDD25|\uD83E\uDE79)|\uD83D\uDC41\uFE0F|\uD83C\uDFF3\uFE0F|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|[#\*0-9]\uFE0F\u20E3|\u2764\uFE0F|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|\uD83C\uDFF4|(?:[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270C\u270D]|\uD83D[\uDD74\uDD90])(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])|[\u270A\u270B]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC08\uDC15\uDC3B\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE2E\uDE35\uDE36\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5]|\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD]|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF]|[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0D\uDD0E\uDD10-\uDD17\uDD1D\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78\uDD7A-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCB\uDDD0\uDDE0-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6]|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5-\uDED7\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26A7\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5-\uDED7\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFC\uDFE0-\uDFEB]|\uD83E[\uDD0C-\uDD3A\uDD3C-\uDD45\uDD47-\uDD78\uDD7A-\uDDCB\uDDCD-\uDDFF\uDE70-\uDE74\uDE78-\uDE7A\uDE80-\uDE86\uDE90-\uDEA8\uDEB0-\uDEB6\uDEC0-\uDEC2\uDED0-\uDED6])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0C\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDD77\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var otr=j(syn=>{"use strict";Object.defineProperty(syn,"__esModule",{value:!0});syn.default=sPf;function sPf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!e.type||e.type!=="JSXAttribute")throw new Error("The prop must be a JSXAttribute collected by the AST parser.");return e.name.type==="JSXNamespacedName"?e.name.namespace.name+":"+e.name.name.name:e.name.name}});var pXs=j(Hyt=>{"use strict";Object.defineProperty(Hyt,"__esModule",{value:!0});Hyt.default=oyn;Hyt.hasAnyProp=uPf;Hyt.hasEveryProp=lPf;var aPf=otr(),fXs=oPf(aPf);function oPf(e){return e&&e.__esModule?e:{default:e}}var ayn={spreadStrict:!0,ignoreCase:!0};function oyn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ayn,n=r.ignoreCase?t.toUpperCase():t;return e.some(function(i){if(i.type==="JSXSpreadAttribute")return!r.spreadStrict;var s=r.ignoreCase?(0,fXs.default)(i).toUpperCase():(0,fXs.default)(i);return n===s})}function uPf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ayn,n=typeof t=="string"?t.split(" "):t;return n.some(function(i){return oyn(e,i,r)})}function lPf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:ayn,n=typeof t=="string"?t.split(" "):t;return n.every(function(i){return oyn(e,i,r)})}});var mXs=j(uyn=>{"use strict";Object.defineProperty(uyn,"__esModule",{value:!0});uyn.default=cPf;function dXs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return e.type==="JSXMemberExpression"?dXs(e.object,e.property)+"."+t.name:e.name+"."+t.name}function cPf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.name;if(e.type==="JSXOpeningFragment")return"<>";if(!t)throw new Error("The argument provided is not a JSXElement node.");if(t.type==="JSXMemberExpression"){var r=t.object,n=r===void 0?{}:r,i=t.property,s=i===void 0?{}:i;return dXs(n,s)}return t.type==="JSXNamespacedName"?t.namespace.name+":"+t.name.name:e.name.name}});var lyn=j((gZA,AXs)=>{"use strict";var gXs=Object.prototype.toString;AXs.exports=function(t){var r=gXs.call(t),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&t!==null&&typeof t=="object"&&typeof t.length=="number"&&t.length>=0&&gXs.call(t.callee)==="[object Function]"),n}});var IXs=j((AZA,bXs)=>{"use strict";var CXs;Object.keys||(zyt=Object.prototype.hasOwnProperty,cyn=Object.prototype.toString,hXs=lyn(),fyn=Object.prototype.propertyIsEnumerable,yXs=!fyn.call({toString:null},"toString"),_Xs=fyn.call(function(){},"prototype"),Wyt=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],utr=function(e){var t=e.constructor;return t&&t.prototype===e},EXs={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},xXs=(function(){if(typeof window>"u")return!1;for(var e in window)try{if(!EXs["$"+e]&&zyt.call(window,e)&&window[e]!==null&&typeof window[e]=="object")try{utr(window[e])}catch{return!0}}catch{return!0}return!1})(),vXs=function(e){if(typeof window>"u"||!xXs)return utr(e);try{return utr(e)}catch{return!1}},CXs=function(t){var r=t!==null&&typeof t=="object",n=cyn.call(t)==="[object Function]",i=hXs(t),s=r&&cyn.call(t)==="[object String]",a=[];if(!r&&!n&&!i)throw new TypeError("Object.keys called on a non-object");var u=_Xs&&n;if(s&&t.length>0&&!zyt.call(t,0))for(var l=0;l0)for(var f=0;f{"use strict";var fPf=Array.prototype.slice,pPf=lyn(),SXs=Object.keys,ltr=SXs?function(t){return SXs(t)}:IXs(),TXs=Object.keys;ltr.shim=function(){if(Object.keys){var t=(function(){var r=Object.keys(arguments);return r&&r.length===arguments.length})(1,2);t||(Object.keys=function(n){return pPf(n)?TXs(fPf.call(n)):TXs(n)})}else Object.keys=ltr;return Object.keys||ltr};DXs.exports=ltr});var T$e=j((yZA,kXs)=>{"use strict";var wXs=Oje(),dPf=xie(),S$e=Zf(),BXs=vie();kXs.exports=function(t,r,n){if(!t||typeof t!="object"&&typeof t!="function")throw new S$e("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new S$e("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new S$e("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new S$e("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new S$e("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new S$e("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,s=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,l=!!BXs&&BXs(t,r);if(wXs)wXs(t,r,{configurable:a===null&&l?l.configurable:!a,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:s===null&&l?l.writable:!s});else if(u||!i&&!s&&!a)t[r]=n;else throw new dPf("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var H5e=j((_ZA,NXs)=>{"use strict";var dyn=Oje(),PXs=function(){return!!dyn};PXs.hasArrayLengthDefineBug=function(){if(!dyn)return null;try{return dyn([],"length",{value:1}).length!==1}catch{return!0}};NXs.exports=PXs});var qh=j((EZA,LXs)=>{"use strict";var mPf=pyn(),gPf=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",APf=Object.prototype.toString,hPf=Array.prototype.concat,OXs=T$e(),yPf=function(e){return typeof e=="function"&&APf.call(e)==="[object Function]"},RXs=H5e()(),_Pf=function(e,t,r,n){if(t in e){if(n===!0){if(e[t]===r)return}else if(!yPf(n)||!n())return}RXs?OXs(e,t,r,!0):OXs(e,t,r)},FXs=function(e,t){var r=arguments.length>2?arguments[2]:{},n=mPf(t);gPf&&(n=hPf.call(n,Object.getOwnPropertySymbols(t)));for(var i=0;i{"use strict";var EPf=gE(),MXs=T$e(),xPf=H5e()(),QXs=vie(),jXs=Zf(),vPf=EPf("%Math.floor%");UXs.exports=function(t,r){if(typeof t!="function")throw new jXs("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||vPf(r)!==r)throw new jXs("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,s=!0;if("length"in t&&QXs){var a=QXs(t,"length");a&&!a.configurable&&(i=!1),a&&!a.writable&&(s=!1)}return(i||s||!n)&&(xPf?MXs(t,"length",r,!0,!0):MXs(t,"length",r)),t}});var GXs=j((vZA,YXs)=>{"use strict";var CPf=Rje(),bPf=J5t(),IPf=uRr();YXs.exports=function(){return IPf(CPf,bPf,arguments)}});var Mb=j((CZA,ctr)=>{"use strict";var SPf=qXs(),VXs=Oje(),TPf=tst(),$Xs=GXs();ctr.exports=function(t){var r=TPf(arguments),n=t.length-(arguments.length-1);return SPf(r,1+(n>0?n:0),!0)};VXs?VXs(ctr.exports,"apply",{value:$Xs}):ctr.exports.apply=$Xs});var D$e=j((bZA,KXs)=>{"use strict";var DPf=lX();KXs.exports=function(t){return(typeof t=="number"||typeof t=="bigint")&&!DPf(t)&&t!==1/0&&t!==-1/0}});var Xyt=j((IZA,JXs)=>{"use strict";var wPf=G5t(),BPf=Nje(),kPf=lX(),PPf=D$e();JXs.exports=function(t){if(typeof t!="number"||kPf(t)||!PPf(t))return!1;var r=wPf(t);return BPf(r)===r}});var HI=j((SZA,HXs)=>{"use strict";HXs.exports=function(t){return!!t&&(typeof t=="function"||typeof t=="object")}});var WXs=j((TZA,zXs)=>{"use strict";zXs.exports=4294967295});var ZXs=j((DZA,XXs)=>{"use strict";XXs.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var tZs=j((wZA,eZs)=>{"use strict";var NPf=j6e();eZs.exports=NPf.setPrototypeOf||null});var sZs=j((BZA,iZs)=>{"use strict";var OPf=tst(),rZs=vie(),RPf=Zf(),nZs={};try{nZs.__proto__=null}catch(e){if(!e||typeof e!="object"||!("code"in e)||e.code!=="ERR_PROTO_ACCESS")throw e}var FPf=!("toString"in nZs),myn=rZs&&rZs(Object.prototype,"__proto__");iZs.exports=FPf&&(!!myn&&typeof myn.set=="function"&&OPf([myn.set])||function(t,r){if(t==null)throw new RPf("set Object.prototype.__proto__ called on null or undefined");return t.__proto__=r,r})});var lZs=j((kZA,uZs)=>{"use strict";var aZs=ZXs(),LPf=tZs(),oZs=sZs(),MPf=Zf();uZs.exports=aZs?function(t,r){if(aZs(t,r))return t;throw new MPf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:LPf||(oZs?function(t,r){return oZs(t,r),t}:null)});var gyn=j((PZA,pZs)=>{"use strict";var QPf=gE(),cZs=QPf("%Array.prototype%"),jPf=nRr(),UPf=xie(),qPf=Zf(),YPf=Xyt(),GPf=WXs(),fZs=lZs();pZs.exports=function(t){if(!YPf(t)||t<0)throw new qPf("Assertion failed: `length` must be an integer Number >= 0");if(t>GPf)throw new jPf("length is greater than (2**32 - 1)");var r=arguments.length>1?arguments[1]:cZs,n=[];if(r!==cZs){if(!fZs)throw new UPf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");fZs(n,r)}return t!==0&&(n.length=t),n}});var CZ=j((NZA,dZs)=>{"use strict";dZs.exports=function(t){return typeof t=="string"||typeof t=="symbol"}});var RB=j((OZA,gZs)=>{"use strict";var mZs=Zf(),VPf=Vce(),$Pf=CZ(),KPf=HI();gZs.exports=function(t,r){if(!KPf(t))throw new mZs("Assertion failed: Type(O) is not Object");if(!$Pf(r))throw new mZs("Assertion failed: P is not a Property Key, got "+VPf(r));return t[r]}});var w$e=j((RZA,hZs)=>{"use strict";var JPf=gE(),AZs=JPf("%Array%"),HPf=!AZs.isArray&&av()("Object.prototype.toString");hZs.exports=AZs.isArray||function(t){return HPf(t)==="[object Array]"}});var z5e=j((FZA,yZs)=>{"use strict";yZs.exports=w$e()});var EZs=j((LZA,_Zs)=>{"use strict";_Zs.exports=gE()});var gEe=j((MZA,xZs)=>{"use strict";var zPf=Zf(),Zyt=_C(),WPf={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};xZs.exports=function(t){if(!t||typeof t!="object")return!1;for(var r in t)if(Zyt(t,r)&&!WPf[r])return!1;var n=Zyt(t,"[[Value]]")||Zyt(t,"[[Writable]]"),i=Zyt(t,"[[Get]]")||Zyt(t,"[[Set]]");if(n&&i)throw new zPf("Property Descriptors may not be both accessor and data descriptors");return!0}});var Ayn=j((QZA,bZs)=>{"use strict";var XPf=H5e(),vZs=Oje(),CZs=XPf.hasArrayLengthDefineBug(),ZPf=CZs&&w$e(),eNf=av(),tNf=eNf("Object.prototype.propertyIsEnumerable");bZs.exports=function(t,r,n,i,s,a){if(!vZs){if(!t(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||s in i&&tNf(i,s)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return i[s]=u,r(i[s],u)}return CZs&&s==="length"&&"[[Value]]"in a&&ZPf(i)&&i.length!==a["[[Value]]"]?(i.length=a["[[Value]]"],i.length===a["[[Value]]"]):(vZs(i,s,n(a)),!0)}});var SZs=j((jZA,IZs)=>{"use strict";IZs.exports=function(t){if(typeof t>"u")return t;var r={};return"[[Value]]"in t&&(r.value=t["[[Value]]"]),"[[Writable]]"in t&&(r.writable=!!t["[[Writable]]"]),"[[Get]]"in t&&(r.get=t["[[Get]]"]),"[[Set]]"in t&&(r.set=t["[[Set]]"]),"[[Enumerable]]"in t&&(r.enumerable=!!t["[[Enumerable]]"]),"[[Configurable]]"in t&&(r.configurable=!!t["[[Configurable]]"]),r}});var hyn=j((UZA,TZs)=>{"use strict";var rNf=Zf(),nNf=gEe(),iNf=SZs();TZs.exports=function(t){if(typeof t<"u"&&!nNf(t))throw new rNf("Assertion failed: `Desc` must be a Property Descriptor");return iNf(t)}});var ftr=j((qZA,wZs)=>{"use strict";var sNf=Zf(),DZs=_C(),aNf=gEe();wZs.exports=function(t){if(typeof t>"u")return!1;if(!aNf(t))throw new sNf("Assertion failed: `Desc` must be a Property Descriptor");return!(!DZs(t,"[[Value]]")&&!DZs(t,"[[Writable]]"))}});var B$e=j((YZA,kZs)=>{"use strict";var BZs=lX();kZs.exports=function(t,r){return t===r?t===0?1/t===1/r:!0:BZs(t)&&BZs(r)}});var e_t=j((GZA,OZs)=>{"use strict";var NZs=Function.prototype.toString,k$e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,_yn,ptr;if(typeof k$e=="function"&&typeof Object.defineProperty=="function")try{_yn=Object.defineProperty({},"length",{get:function(){throw ptr}}),ptr={},k$e(function(){throw 42},null,_yn)}catch(e){e!==ptr&&(k$e=null)}else k$e=null;var oNf=/^\s*class\b/,Eyn=function(t){try{var r=NZs.call(t);return oNf.test(r)}catch{return!1}},yyn=function(t){try{return Eyn(t)?!1:(NZs.call(t),!0)}catch{return!1}},dtr=Object.prototype.toString,uNf="[object Object]",lNf="[object Function]",cNf="[object GeneratorFunction]",fNf="[object HTMLAllCollection]",pNf="[object HTML document.all class]",dNf="[object HTMLCollection]",mNf=typeof Symbol=="function"&&!!Symbol.toStringTag,gNf=!(0 in[,]),xyn=function(){return!1};typeof document=="object"&&(PZs=document.all,dtr.call(PZs)===dtr.call(document.all)&&(xyn=function(t){if((gNf||!t)&&(typeof t>"u"||typeof t=="object"))try{var r=dtr.call(t);return(r===fNf||r===pNf||r===dNf||r===uNf)&&t("")==null}catch{}return!1}));var PZs;OZs.exports=k$e?function(t){if(xyn(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;try{k$e(t,null,_yn)}catch(r){if(r!==ptr)return!1}return!Eyn(t)&&yyn(t)}:function(t){if(xyn(t))return!0;if(!t||typeof t!="function"&&typeof t!="object")return!1;if(mNf)return yyn(t);if(Eyn(t))return!1;var r=dtr.call(t);return r!==lNf&&r!==cNf&&!/^\[object HTML/.test(r)?!1:yyn(t)}});var FB=j((VZA,RZs)=>{"use strict";RZs.exports=e_t()});var AEe=j(($ZA,FZs)=>{"use strict";FZs.exports=function(t){return!!t}});var Cyn=j((KZA,MZs)=>{"use strict";var Mpe=_C(),mtr=Zf(),ANf=HI(),LZs=FB(),vyn=AEe();MZs.exports=function(t){if(!ANf(t))throw new mtr("ToPropertyDescriptor requires an object");var r={};if(Mpe(t,"enumerable")&&(r["[[Enumerable]]"]=vyn(t.enumerable)),Mpe(t,"configurable")&&(r["[[Configurable]]"]=vyn(t.configurable)),Mpe(t,"value")&&(r["[[Value]]"]=t.value),Mpe(t,"writable")&&(r["[[Writable]]"]=vyn(t.writable)),Mpe(t,"get")){var n=t.get;if(typeof n<"u"&&!LZs(n))throw new mtr("getter must be a function");r["[[Get]]"]=n}if(Mpe(t,"set")){var i=t.set;if(typeof i<"u"&&!LZs(i))throw new mtr("setter must be a function");r["[[Set]]"]=i}if((Mpe(r,"[[Get]]")||Mpe(r,"[[Set]]"))&&(Mpe(r,"[[Value]]")||Mpe(r,"[[Writable]]")))throw new mtr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return r}});var Iyn=j((JZA,jZs)=>{"use strict";var byn=Zf(),hNf=HI(),QZs=gEe(),yNf=Ayn(),_Nf=hyn(),ENf=ftr(),xNf=CZ(),vNf=B$e(),CNf=Cyn();jZs.exports=function(t,r,n){if(!hNf(t))throw new byn("Assertion failed: Type(O) is not Object");if(!xNf(r))throw new byn("Assertion failed: P is not a Property Key");var i=QZs(n)?n:CNf(n);if(!QZs(i))throw new byn("Assertion failed: Desc is not a valid Property Descriptor");return yNf(ENf,vNf,_Nf,t,r,i)}});var wyn=j((HZA,Dyn)=>{"use strict";var bNf=EZs(),UZs=bNf("%Reflect.construct%",!0),gtr=Iyn();try{gtr({},"",{"[[Get]]":function(){}})}catch{gtr=null}gtr&&UZs?(Syn={},Tyn={},gtr(Tyn,"length",{"[[Get]]":function(){throw Syn},"[[Enumerable]]":!0}),Dyn.exports=function(t){try{UZs(t,Tyn)}catch(r){return r===Syn}}):Dyn.exports=function(t){return typeof t=="function"&&!!t.prototype};var Syn,Tyn});var Byn=j((zZA,$Zs)=>{"use strict";var INf=gE(),qZs=INf("%Symbol.species%",!0),YZs=Zf(),SNf=Xyt(),TNf=HI(),GZs=gyn(),VZs=RB(),DNf=z5e(),wNf=wyn();$Zs.exports=function(t,r){if(!SNf(r)||r<0)throw new YZs("Assertion failed: length must be an integer >= 0");var n=DNf(t);if(!n)return GZs(r);var i=VZs(t,"constructor");if(qZs&&TNf(i)&&(i=VZs(i,qZs),i===null&&(i=void 0)),typeof i>"u")return GZs(r);if(!wNf(i))throw new YZs("C must be a constructor");return new i(r)}});var P$e=j((WZA,KZs)=>{"use strict";KZs.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var LB=j((XZA,JZs)=>{"use strict";var BNf=gE(),kNf=av(),PNf=Zf(),NNf=z5e(),ONf=BNf("%Reflect.apply%",!0)||kNf("Function.prototype.apply");JZs.exports=function(t,r){var n=arguments.length>2?arguments[2]:[];if(!NNf(n))throw new PNf("Assertion failed: optional `argumentsList`, if provided, must be a List");return ONf(t,r,n)}});var Atr=j((ZZA,zZs)=>{"use strict";var RNf=Zf(),HZs=_C(),FNf=gEe();zZs.exports=function(t){if(typeof t>"u")return!1;if(!FNf(t))throw new RNf("Assertion failed: `Desc` must be a Property Descriptor");return!(!HZs(t,"[[Get]]")&&!HZs(t,"[[Set]]"))}});var N$e=j((eeh,WZs)=>{"use strict";WZs.exports=function(t){return t===null||typeof t!="function"&&typeof t!="object"}});var kyn=j((teh,eea)=>{"use strict";var ZZs=gE(),LNf=ZZs("%Object.preventExtensions%",!0),MNf=ZZs("%Object.isExtensible%",!0),XZs=N$e();eea.exports=LNf?function(t){return!XZs(t)&&MNf(t)}:function(t){return!XZs(t)}});var rea=j((reh,tea)=>{"use strict";var QNf=gEe();tea.exports=function(t,r){return QNf(r)&&"[[Enumerable]]"in r&&"[[Configurable]]"in r&&(t.IsAccessorDescriptor(r)||t.IsDataDescriptor(r))}});var iea=j((neh,nea)=>{"use strict";var jNf=Zf(),UNf=Atr(),qNf=ftr(),YNf=gEe();nea.exports=function(t){if(typeof t>"u")return!1;if(!YNf(t))throw new jNf("Assertion failed: `Desc` must be a Property Descriptor");return!UNf(t)&&!qNf(t)}});var oea=j((ieh,aea)=>{"use strict";var O$e=Zf(),GNf=HI(),t_t=Ayn(),VNf=rea(),sea=gEe(),r_t=hyn(),W5e=Atr(),iDe=ftr(),$Nf=iea(),KNf=CZ(),Qpe=B$e();aea.exports=function(t,r,n,i,s){if(typeof t<"u"&&!GNf(t))throw new O$e("Assertion failed: O must be undefined or an Object");if(!KNf(r))throw new O$e("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new O$e("Assertion failed: extensible must be a Boolean");if(!sea(i))throw new O$e("Assertion failed: Desc must be a Property Descriptor");if(typeof s<"u"&&!sea(s))throw new O$e("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof s>"u")return n?typeof t>"u"?!0:W5e(i)?t_t(iDe,Qpe,r_t,t,r,i):t_t(iDe,Qpe,r_t,t,r,{"[[Configurable]]":!!i["[[Configurable]]"],"[[Enumerable]]":!!i["[[Enumerable]]"],"[[Value]]":i["[[Value]]"],"[[Writable]]":!!i["[[Writable]]"]}):!1;if(!VNf({IsAccessorDescriptor:W5e,IsDataDescriptor:iDe},s))throw new O$e("`current`, when present, must be a fully populated and valid Property Descriptor");if(!s["[[Configurable]]"]){if("[[Configurable]]"in i&&i["[[Configurable]]"]||"[[Enumerable]]"in i&&!Qpe(i["[[Enumerable]]"],s["[[Enumerable]]"])||!$Nf(i)&&!Qpe(W5e(i),W5e(s)))return!1;if(W5e(s)){if("[[Get]]"in i&&!Qpe(i["[[Get]]"],s["[[Get]]"])||"[[Set]]"in i&&!Qpe(i["[[Set]]"],s["[[Set]]"]))return!1}else if(!s["[[Writable]]"]&&("[[Writable]]"in i&&i["[[Writable]]"]||"[[Value]]"in i&&!Qpe(i["[[Value]]"],s["[[Value]]"])))return!1}if(typeof t<"u"){var a,u;return iDe(s)&&W5e(i)?(a=("[[Configurable]]"in i?i:s)["[[Configurable]]"],u=("[[Enumerable]]"in i?i:s)["[[Enumerable]]"],t_t(iDe,Qpe,r_t,t,r,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in i?i:s)["[[Get]]"],"[[Set]]":("[[Set]]"in i?i:s)["[[Set]]"]})):W5e(s)&&iDe(i)?(a=("[[Configurable]]"in i?i:s)["[[Configurable]]"],u=("[[Enumerable]]"in i?i:s)["[[Enumerable]]"],t_t(iDe,Qpe,r_t,t,r,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in i?i:s)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in i?i:s)["[[Writable]]"]})):t_t(iDe,Qpe,r_t,t,r,i)}return!0}});var fea=j((seh,cea)=>{"use strict";var uea=vie(),lea=xie(),Pyn=Zf(),JNf=HI(),HNf=gEe(),zNf=Atr(),WNf=kyn(),XNf=CZ(),ZNf=Cyn(),eOf=B$e(),tOf=oea();cea.exports=function(t,r,n){if(!JNf(t))throw new Pyn("Assertion failed: O must be an Object");if(!XNf(r))throw new Pyn("Assertion failed: P must be a Property Key");if(!HNf(n))throw new Pyn("Assertion failed: Desc must be a Property Descriptor");if(!uea){if(zNf(n))throw new lea("This environment does not support accessor property descriptors.");var i=!(r in t)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,s=r in t&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(i||s)return t[r]=n["[[Value]]"],eOf(t[r],n["[[Value]]"]);throw new lea("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=uea(t,r),u=a&&ZNf(a),l=WNf(t);return tOf(t,r,l,n,u)}});var mea=j((aeh,dea)=>{"use strict";var pea=Zf(),rOf=HI(),nOf=CZ(),iOf=fea();dea.exports=function(t,r,n){if(!rOf(t))throw new pea("Assertion failed: Type(O) is not Object");if(!nOf(r))throw new pea("Assertion failed: P is not a Property Key");var i={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return iOf(t,r,i)}});var n_t=j((oeh,gea)=>{"use strict";var Nyn=Zf(),sOf=HI(),aOf=mea(),oOf=CZ();gea.exports=function(t,r,n){if(!sOf(t))throw new Nyn("Assertion failed: Type(O) is not Object");if(!oOf(r))throw new Nyn("Assertion failed: P is not a Property Key");var i=aOf(t,r,n);if(!i)throw new Nyn("unable to create data property")}});var Oyn=j((ueh,hea)=>{"use strict";var Aea=Zf(),uOf=HI(),lOf=CZ();hea.exports=function(t,r){if(!uOf(t))throw new Aea("Assertion failed: `O` must be an Object");if(!lOf(r))throw new Aea("Assertion failed: `P` must be a Property Key");return r in t}});var Ryn=j((leh,yea)=>{"use strict";yea.exports=function(t){return t===null||typeof t!="function"&&typeof t!="object"}});var i_t=j((ceh,_ea)=>{"use strict";var cOf=est();_ea.exports=function(){return cOf()&&!!Symbol.toStringTag}});var vea=j((feh,xea)=>{"use strict";var Eea=av(),fOf=Eea("Date.prototype.getDay"),pOf=function(t){try{return fOf(t),!0}catch{return!1}},dOf=Eea("Object.prototype.toString"),mOf="[object Date]",gOf=i_t()();xea.exports=function(t){return typeof t!="object"||t===null?!1:gOf?pOf(t):dOf(t)===mOf}});var Qyn=j((peh,Tea)=>{"use strict";var Cea=av(),AOf=i_t()(),hOf=_C(),yOf=vie(),Myn;AOf?(bea=Cea("RegExp.prototype.exec"),Fyn={},htr=function(){throw Fyn},Lyn={toString:htr,valueOf:htr},typeof Symbol.toPrimitive=="symbol"&&(Lyn[Symbol.toPrimitive]=htr),Myn=function(t){if(!t||typeof t!="object")return!1;var r=yOf(t,"lastIndex"),n=r&&hOf(r,"value");if(!n)return!1;try{bea(t,Lyn)}catch(i){return i===Fyn}}):(Iea=Cea("Object.prototype.toString"),Sea="[object RegExp]",Myn=function(t){return!t||typeof t!="object"&&typeof t!="function"?!1:Iea(t)===Sea});var bea,Fyn,htr,Lyn,Iea,Sea;Tea.exports=Myn});var hEe=j((deh,Dea)=>{"use strict";var _Of=av(),EOf=Qyn(),xOf=_Of("RegExp.prototype.exec"),vOf=Zf();Dea.exports=function(t){if(!EOf(t))throw new vOf("`regex` must be a RegExp");return function(n){return xOf(t,n)!==null}}});var Nea=j((meh,jyn)=>{"use strict";var Pea=av(),COf=Pea("Object.prototype.toString"),bOf=$ce()(),IOf=hEe();bOf?(wea=Pea("Symbol.prototype.toString"),Bea=IOf(/^Symbol\(.*\)$/),kea=function(t){return typeof t.valueOf()!="symbol"?!1:Bea(wea(t))},jyn.exports=function(t){if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||COf(t)!=="[object Symbol]")return!1;try{return kea(t)}catch{return!1}}):jyn.exports=function(t){return!1};var wea,Bea,kea});var ytr=j((geh,Fea)=>{"use strict";var SOf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",Uyn=Ryn(),Rea=e_t(),TOf=vea(),Oea=Nea(),DOf=function(t,r){if(typeof t>"u"||t===null)throw new TypeError("Cannot call method on "+t);if(typeof r!="string"||r!=="number"&&r!=="string")throw new TypeError('hint must be "string" or "number"');var n=r==="string"?["toString","valueOf"]:["valueOf","toString"],i,s,a;for(a=0;a1&&(arguments[1]===String?r="string":arguments[1]===Number&&(r="number"));var n;if(SOf&&(Symbol.toPrimitive?n=wOf(t,Symbol.toPrimitive):Oea(t)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var i=n.call(t,r);if(Uyn(i))return i;throw new TypeError("unable to convert exotic object to primitive")}return r==="default"&&(TOf(t)||Oea(t))&&(r="string"),DOf(t,r==="default"?"number":r)}});var s_t=j((Aeh,Mea)=>{"use strict";var Lea=ytr();Mea.exports=function(t){return arguments.length>1?Lea(t,arguments[1]):Lea(t)}});var HY=j((heh,Qea)=>{"use strict";var BOf=Zf();Qea.exports=function(t){if(t==null)throw new BOf(arguments.length>0&&arguments[1]||"Cannot call method on "+t);return t}});var lJ=j((yeh,jea)=>{"use strict";var kOf=gE(),POf=kOf("%String%"),NOf=Zf();jea.exports=function(t){if(typeof t=="symbol")throw new NOf("Cannot convert a Symbol value to a string");return POf(t)}});var qyn=j((_eh,Yea)=>{"use strict";var OOf=HY(),ROf=lJ(),FOf=av(),Uea=FOf("String.prototype.replace"),qea=/^\s$/.test("\u180E"),LOf=qea?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,MOf=qea?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;Yea.exports=function(){var t=ROf(OOf(this));return Uea(Uea(t,LOf,""),MOf,"")}});var Yyn=j((Eeh,Vea)=>{"use strict";var QOf=qyn(),Gea="\u200B",R$e="\u180E";Vea.exports=function(){return String.prototype.trim&&Gea.trim()===Gea&&R$e.trim()===R$e&&("_"+R$e).trim()==="_"+R$e&&(R$e+"_").trim()===R$e+"_"?String.prototype.trim:QOf}});var Jea=j((xeh,Kea)=>{"use strict";var jOf=H5e()(),$ea=T$e(),UOf=Yyn();Kea.exports=function(){var t=UOf();return String.prototype.trim!==t&&(jOf?$ea(String.prototype,"trim",t,!0):$ea(String.prototype,"trim",t)),t}});var _tr=j((veh,Wea)=>{"use strict";var qOf=Mb(),YOf=qh(),GOf=HY(),VOf=qyn(),Hea=Yyn(),$Of=Jea(),KOf=qOf(Hea()),zea=function(t){return GOf(t),KOf(t)};YOf(zea,{getPolyfill:Hea,implementation:VOf,shim:$Of});Wea.exports=zea});var rta=j((Ceh,tta)=>{"use strict";var eta=gE(),JOf=eta("%RegExp%"),HOf=Zf(),Xea=eta("%parseInt%"),zOf=av(),Etr=hEe(),Zea=zOf("String.prototype.slice"),WOf=Etr(/^0b[01]+$/i),XOf=Etr(/^0o[0-7]+$/i),ZOf=Etr(/^[-+]0x[0-9a-f]+$/i),eRf=["\x85","\u200B","\uFFFE"].join(""),tRf=new JOf("["+eRf+"]","g"),rRf=Etr(tRf),nRf=_tr();tta.exports=function e(t){if(typeof t!="string")throw new HOf("Assertion failed: `argument` is not a String");if(WOf(t))return+Xea(Zea(t,2),2);if(XOf(t))return+Xea(Zea(t,2),8);if(rRf(t)||ZOf(t))return NaN;var r=nRf(t);return r!==t?e(r):+t}});var xtr=j((beh,ita)=>{"use strict";var iRf=gE(),nta=Zf(),sRf=iRf("%Number%"),aRf=N$e(),oRf=s_t(),uRf=rta();ita.exports=function(t){var r=aRf(t)?t:oRf(t,sRf);if(typeof r=="symbol")throw new nta("Cannot convert a Symbol value to a number");if(typeof r=="bigint")throw new nta("Conversion from 'BigInt' to 'number' is not allowed.");return typeof r=="string"?uRf(r):+r}});var ata=j((Ieh,sta)=>{"use strict";var lRf=Nje();sta.exports=function(t){return typeof t=="bigint"?t:lRf(t)}});var lta=j((Seh,uta)=>{"use strict";var ota=ata(),cRf=Zf();uta.exports=function(t){if(typeof t!="number"&&typeof t!="bigint")throw new cRf("argument must be a Number or a BigInt");var r=t<0?-ota(-t):ota(t);return r===0?0:r}});var vtr=j((Teh,cta)=>{"use strict";var fRf=xtr(),pRf=lta(),dRf=lX(),mRf=D$e();cta.exports=function(t){var r=fRf(t);return dRf(r)||r===0?0:mRf(r)?pRf(r):r}});var F$e=j((Deh,pta)=>{"use strict";var fta=P$e(),gRf=vtr();pta.exports=function(t){var r=gRf(t);return r<=0?0:r>fta?fta:r}});var a_t=j((weh,dta)=>{"use strict";var ARf=Zf(),hRf=HI(),yRf=RB(),_Rf=F$e();dta.exports=function(t){if(!hRf(t))throw new ARf("Assertion failed: `obj` must be an Object");return _Rf(yRf(t,"length"))}});var Gyn=j((Beh,Ata)=>{"use strict";var mta=Zf(),ERf=P$e(),xRf=LB(),vRf=n_t(),CRf=RB(),bRf=Oyn(),IRf=z5e(),SRf=a_t(),gta=lJ();Ata.exports=function e(t,r,n,i,s){var a;arguments.length>5&&(a=arguments[5]);for(var u=i,l=0;l0&&(A=IRf(g)),A){var h=SRf(g);u=e(t,g,h,u,s-1)}else{if(u>=ERf)throw new mta("index too large");vRf(t,gta(u),g),u+=1}}l+=1}return u}});var o_t=j((keh,hta)=>{"use strict";var TRf=j6e(),DRf=HY();hta.exports=function(t){return DRf(t),TRf(t)}});var Ctr=j((Peh,yta)=>{"use strict";yta.exports=o_t()});var Vyn=j((Neh,_ta)=>{"use strict";var wRf=Byn(),BRf=Gyn(),kRf=RB(),PRf=vtr(),NRf=F$e(),ORf=Ctr();_ta.exports=function(){var t=ORf(this),r=NRf(kRf(t,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=PRf(arguments[0]));var i=wRf(t,0);return BRf(i,t,r,0,n),i}});var $yn=j((Oeh,Eta)=>{"use strict";var RRf=Vyn();Eta.exports=function(){return Array.prototype.flat||RRf}});var L$e=j((Reh,bta)=>{"use strict";var FRf=_C(),Cta=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",xta=Cta&&Array.prototype[Symbol.unscopables],vta=TypeError;bta.exports=function(t){if(typeof t!="string"||!t)throw new vta("method must be a non-empty string");if(!FRf(Array.prototype,t))throw new vta("method must be on Array.prototype");Cta&&xta&&(xta[t]=!0)}});var Sta=j((Feh,Ita)=>{"use strict";var LRf=qh(),MRf=L$e(),QRf=$yn();Ita.exports=function(){var t=QRf();return LRf(Array.prototype,{flat:t},{flat:function(){return Array.prototype.flat!==t}}),MRf("flat"),t}});var Kyn=j((Leh,wta)=>{"use strict";var jRf=qh(),URf=Mb(),qRf=Vyn(),Tta=$yn(),YRf=Tta(),GRf=Sta(),Dta=URf(YRf);jRf(Dta,{getPolyfill:Tta,implementation:qRf,shim:GRf});wta.exports=Dta});var Jyn=j((Meh,Bta)=>{"use strict";var VRf=HY(),$Rf=av(),KRf=$Rf("Object.prototype.propertyIsEnumerable");Bta.exports=function(t){var r=VRf(t),n=[];for(var i in r)KRf(r,i)&&(n[n.length]=r[i]);return n}});var Hyn=j((Qeh,kta)=>{"use strict";var JRf=Jyn();kta.exports=function(){return typeof Object.values=="function"?Object.values:JRf}});var Nta=j((jeh,Pta)=>{"use strict";var HRf=Hyn(),zRf=qh();Pta.exports=function(){var t=HRf();return zRf(Object,{values:t},{values:function(){return Object.values!==t}}),t}});var S3=j((Ueh,Fta)=>{"use strict";var WRf=qh(),XRf=Mb(),ZRf=Jyn(),Ota=Hyn(),eFf=Nta(),Rta=XRf(Ota(),Object);WRf(Rta,{getPolyfill:Ota,implementation:ZRf,shim:eFf});Fta.exports=Rta});var Qta=j(u_t=>{"use strict";Object.defineProperty(u_t,"__esModule",{value:!0});u_t.eventHandlersByType=void 0;var tFf=Kyn(),rFf=Lta(tFf),nFf=S3(),iFf=Lta(nFf);function Lta(e){return e&&e.__esModule?e:{default:e}}var Mta={clipboard:["onCopy","onCut","onPaste"],composition:["onCompositionEnd","onCompositionStart","onCompositionUpdate"],keyboard:["onKeyDown","onKeyPress","onKeyUp"],focus:["onFocus","onBlur"],form:["onChange","onInput","onSubmit"],mouse:["onClick","onContextMenu","onDblClick","onDoubleClick","onDrag","onDragEnd","onDragEnter","onDragExit","onDragLeave","onDragOver","onDragStart","onDrop","onMouseDown","onMouseEnter","onMouseLeave","onMouseMove","onMouseOut","onMouseOver","onMouseUp"],selection:["onSelect"],touch:["onTouchCancel","onTouchEnd","onTouchMove","onTouchStart"],ui:["onScroll"],wheel:["onWheel"],media:["onAbort","onCanPlay","onCanPlayThrough","onDurationChange","onEmptied","onEncrypted","onEnded","onError","onLoadedData","onLoadedMetadata","onLoadStart","onPause","onPlay","onPlaying","onProgress","onRateChange","onSeeked","onSeeking","onStalled","onSuspend","onTimeUpdate","onVolumeChange","onWaiting"],image:["onLoad","onError"],animation:["onAnimationStart","onAnimationEnd","onAnimationIteration"],transition:["onTransitionEnd"]};u_t.default=(0,rFf.default)((0,iFf.default)(Mta));u_t.eventHandlersByType=Mta});var Uta=j(Wyn=>{"use strict";Object.defineProperty(Wyn,"__esModule",{value:!0});var sFf=(function(){function e(t,r){var n=[],i=!0,s=!1,a=void 0;try{for(var u=t[Symbol.iterator](),l;!(i=(l=u.next()).done)&&(n.push(l.value),!(r&&n.length===r));i=!0);}catch(f){s=!0,a=f}finally{try{!i&&u.return&&u.return()}finally{if(s)throw a}}return n}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),M$e=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var lFf={ignoreCase:!0};function cFf(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:lFf;function n(u){return r.ignoreCase?u.toUpperCase():u}var i=n(t);function s(u){return u.type==="Property"&&u.key.type==="Identifier"&&i===n(u.key.name)}var a=e.find(function(u){return u.type==="JSXSpreadAttribute"?u.argument.type==="ObjectExpression"&&i!==n("key")&&u.argument.properties.some(s):i===n((0,oFf.default)(u))});return a&&a.type==="JSXSpreadAttribute"?fFf(a.argument.properties.find(s)):a}function fFf(e){var t=e.key,r=e.value;return M$e({type:"JSXAttribute",name:M$e({type:"JSXIdentifier",name:t.name},zyn(t)),value:r.type==="Literal"?l_t(r):M$e({type:"JSXExpressionContainer",expression:pFf(r)},zyn(r))},zyn(e))}function l_t(e){var t=e.range||[e.start,e.end],r=sFf(t,2),n=r[0],i=r[1];return M$e({},e,{end:void 0,range:[n,i],start:void 0})}function pFf(e){var t=e.expressions,r=e.quasis,n=jta(e,["expressions","quasis"]);return M$e({},l_t(n),t?{expressions:t.map(l_t)}:{},r?{quasis:r.map(l_t)}:{})}function zyn(e){var t=e.loc,r=jta(e,["loc"]),n=l_t(r),i=n.range;return{loc:dFf(t),range:i}}function dFf(e){var t=e.start,r=e.end,n=e.source,i=e.filename;return M$e({start:t,end:r},n!==void 0?{source:n}:{},i!==void 0?{filename:i}:{})}});var Zyn=j(Xyn=>{"use strict";Object.defineProperty(Xyn,"__esModule",{value:!0});Xyn.default=mFf;function mFf(e){var t=e.value,r=typeof t=="string"&&t.toLowerCase();return r==="true"?!0:r==="false"?!1:t}});var t_n=j(e_n=>{"use strict";Object.defineProperty(e_n,"__esModule",{value:!0});e_n.default=gFf;function gFf(e){var t=btr().default,r=e.openingElement.name.name;return e.openingElement.selfClosing?"<"+r+" />":"<"+r+">"+[].concat(e.children).map(function(n){return t(n)}).join("")+""}});var n_n=j(r_n=>{"use strict";Object.defineProperty(r_n,"__esModule",{value:!0});r_n.default=AFf;function AFf(e){return e.raw}});var s_n=j(i_n=>{"use strict";Object.defineProperty(i_n,"__esModule",{value:!0});i_n.default=hFf;function hFf(e){var t=btr().default;return e.children.length===0?"<>":"<>"+[].concat(e.children).map(function(r){return t(r)}).join("")+""}});var Yta=j(a_n=>{"use strict";Object.defineProperty(a_n,"__esModule",{value:!0});a_n.default=yFf;var qta={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function yFf(e){var t=e.name;return Object.hasOwnProperty.call(qta,t)?qta[t]:t}});var u_n=j(o_n=>{"use strict";Object.defineProperty(o_n,"__esModule",{value:!0});o_n.default=EFf;function _Ff(e,t){return(e.range?e.range[0]:e.start)-(t.range?t.range[0]:t.start)}function EFf(e){var t=e.quasis,r=e.expressions,n=t.concat(r);return n.sort(_Ff).map(function(i){var s=i.type,a=i.value;a=a===void 0?{}:a;var u=a.raw,l=i.name;return s==="TemplateElement"?u:s==="Identifier"?l==="undefined"?l:"{"+l+"}":s.indexOf("Expression")>-1?"{"+s+"}":""}).join("")}});var Gta=j(l_n=>{"use strict";Object.defineProperty(l_n,"__esModule",{value:!0});l_n.default=bFf;var xFf=u_n(),vFf=CFf(xFf);function CFf(e){return e&&e.__esModule?e:{default:e}}function bFf(e){return(0,vFf.default)(e.quasi)}});var Vta=j(c_n=>{"use strict";Object.defineProperty(c_n,"__esModule",{value:!0});c_n.default=IFf;function IFf(e){return function(){return e}}});var $ta=j(f_n=>{"use strict";Object.defineProperty(f_n,"__esModule",{value:!0});f_n.default=SFf;function SFf(e){var t=PP().default,r=e.operator,n=e.left,i=e.right,s=t(n),a=t(i);return r==="&&"?s&&a:r==="??"?s===null||typeof s>"u"?a:s:s||a}});var Kta=j(p_n=>{"use strict";Object.defineProperty(p_n,"__esModule",{value:!0});p_n.default=TFf;function TFf(e){var t=PP().default;return""+t(e.object)+(e.optional?"?.":".")+t(e.property)}});var Jta=j(d_n=>{"use strict";Object.defineProperty(d_n,"__esModule",{value:!0});d_n.default=DFf;function DFf(e){var t=PP().default;return t(e.expression||e)}});var Hta=j(m_n=>{"use strict";Object.defineProperty(m_n,"__esModule",{value:!0});m_n.default=wFf;function wFf(e){var t=PP().default;return t(e.callee)+"?.("+e.arguments.map(function(r){return t(r)}).join(", ")+")"}});var zta=j(g_n=>{"use strict";Object.defineProperty(g_n,"__esModule",{value:!0});g_n.default=BFf;function BFf(e){var t=PP().default;return t(e.object)+"?."+t(e.property)}});var h_n=j(A_n=>{"use strict";Object.defineProperty(A_n,"__esModule",{value:!0});A_n.default=kFf;function kFf(e){var t=PP().default,r=Array.isArray(e.arguments)?e.arguments.map(function(n){return t(n)}).join(", "):"";return""+t(e.callee)+(e.optional?"?.":"")+"("+r+")"}});var Wta=j(y_n=>{"use strict";Object.defineProperty(y_n,"__esModule",{value:!0});y_n.default=PFf;function PFf(e){var t=PP().default,r=e.operator,n=e.argument;switch(r){case"-":return-t(n);case"+":return+t(n);case"!":return!t(n);case"~":return~t(n);case"delete":return!0;case"typeof":case"void":default:return}}});var E_n=j(__n=>{"use strict";Object.defineProperty(__n,"__esModule",{value:!0});__n.default=NFf;function NFf(){return"this"}});var Xta=j(x_n=>{"use strict";Object.defineProperty(x_n,"__esModule",{value:!0});x_n.default=OFf;function OFf(e){var t=PP().default,r=e.test,n=e.alternate,i=e.consequent;return t(r)?t(i):t(n)}});var Zta=j(v_n=>{"use strict";Object.defineProperty(v_n,"__esModule",{value:!0});v_n.default=RFf;function RFf(e){var t=PP().default,r=e.operator,n=e.left,i=e.right,s=t(n),a=t(i);switch(r){case"==":return s==a;case"!=":return s!=a;case"===":return s===a;case"!==":return s!==a;case"<":return s":return s>a;case">=":return s>=a;case"<<":return s<>":return s>>a;case">>>":return s>>>a;case"+":return s+a;case"-":return s-a;case"*":return s*a;case"/":return s/a;case"%":return s%a;case"|":return s|a;case"^":return s^a;case"&":return s&a;case"in":try{return s in a}catch{return!1}case"instanceof":return typeof a!="function"?!1:s instanceof a;default:return}}});var C_n=j((uth,nra)=>{"use strict";var FFf=pyn(),tra=est()(),rra=av(),Itr=j6e(),LFf=rra("Array.prototype.push"),era=rra("Object.prototype.propertyIsEnumerable"),MFf=tra?Itr.getOwnPropertySymbols:null;nra.exports=function(t,r){if(t==null)throw new TypeError("target must be an object");var n=Itr(t);if(arguments.length===1)return n;for(var i=1;i{"use strict";var b_n=C_n(),QFf=function(){if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),r={},n=0;n{"use strict";var UFf=qh(),qFf=I_n();sra.exports=function(){var t=qFf();return UFf(Object,{assign:t},{assign:function(){return Object.assign!==t}}),t}});var cra=j((fth,lra)=>{"use strict";var YFf=qh(),GFf=Mb(),VFf=C_n(),ora=I_n(),$Ff=ara(),KFf=GFf.apply(ora()),ura=function(t,r){return KFf(Object,arguments)};YFf(ura,{getPolyfill:ora,implementation:VFf,shim:$Ff});lra.exports=ura});var dra=j(S_n=>{"use strict";Object.defineProperty(S_n,"__esModule",{value:!0});S_n.default=pra;var JFf=cra(),fra=HFf(JFf);function HFf(e){return e&&e.__esModule?e:{default:e}}function zFf(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function pra(e){var t=PP().default;return e.properties.reduce(function(r,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,fra.default)({},r,pra(n.argument))}else return(0,fra.default)({},r,zFf({},t(n.key),t(n.value)));return r},{})}});var mra=j(T_n=>{"use strict";Object.defineProperty(T_n,"__esModule",{value:!0});T_n.default=WFf;function WFf(){return new Object}});var gra=j(D_n=>{"use strict";Object.defineProperty(D_n,"__esModule",{value:!0});D_n.default=XFf;function XFf(e){var t=PP().default,r=e.operator,n=e.argument,i=e.prefix,s=t(n);switch(r){case"++":return i?++s:s++;case"--":return i?--s:s--;default:return}}});var Ara=j(w_n=>{"use strict";Object.defineProperty(w_n,"__esModule",{value:!0});w_n.default=ZFf;function ZFf(e){var t=PP().default;return e.elements.map(function(r){if(r!==null)return t(r)})}});var hra=j(B_n=>{"use strict";Object.defineProperty(B_n,"__esModule",{value:!0});B_n.default=eLf;function eLf(e){var t=PP().default,r=t(e.callee),n=e.object===null?t(e.callee.object):t(e.object);return e.object&&e.object.property?n+"."+r+".bind("+n+")":r+".bind("+n+")"}});var yra=j(k_n=>{"use strict";Object.defineProperty(k_n,"__esModule",{value:!0});k_n.default=tLf;function tLf(){}});var _ra=j(P_n=>{"use strict";Object.defineProperty(P_n,"__esModule",{value:!0});P_n.default=rLf;function rLf(e){var t=PP().default;return t(e.expression)}});var Era=j(N_n=>{"use strict";Object.defineProperty(N_n,"__esModule",{value:!0});N_n.default=nLf;function nLf(e){var t=PP().default;return e.expressions.map(function(r){return t(r)})}});var vra=j(O_n=>{"use strict";Object.defineProperty(O_n,"__esModule",{value:!0});O_n.default=sDe;var iLf=E_n().default,sLf=h_n().default;function xra(e,t,r){return r.computed?r.optional?e+"?.["+t+"]":e+"["+t+"]":r.optional?e+"?."+t:e+"."+t}function sDe(e){var t="The prop value with an expression type of TSNonNullExpression could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately.";if(e.type==="Identifier"){var r=e.name;return r}if(e.type==="Literal")return e.value;if(e.type==="TSAsExpression")return sDe(e.expression);if(e.type==="CallExpression")return sLf(e);if(e.type==="ThisExpression")return iLf();if(e.type==="TSNonNullExpression"&&(!e.extra||e.extra.parenthesized===!1)){var n=e.expression;return sDe(n)+"!"}if(e.type==="TSNonNullExpression"&&e.extra&&e.extra.parenthesized===!0){var i=e.expression;return"("+sDe(i)+"!)"}if(e.type==="MemberExpression"){if(!e.extra||e.extra.parenthesized===!1)return xra(sDe(e.object),sDe(e.property),e);if(e.extra&&e.extra.parenthesized===!0){var s=xra(sDe(e.object),sDe(e.property),e);return"("+s+")"}}if(e.expression)for(var a=e.expression;a;){if(a.type==="Identifier")return console.error(t),a.name;var u=a;a=u.expression}return console.error(t),""}});var Cra=j(R_n=>{"use strict";Object.defineProperty(R_n,"__esModule",{value:!0});R_n.default=aLf;function aLf(e){var t=PP().default;return t(e.left)+" "+e.operator+" "+t(e.right)}});var PP=j(Str=>{"use strict";Object.defineProperty(Str,"__esModule",{value:!0});var oLf=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(Ttr,"__esModule",{value:!0});var fMf=Object.assign||function(e){for(var t=1;t{"use strict";Object.defineProperty(Dtr,"__esModule",{value:!0});Dtr.default=SMf;Dtr.getLiteralPropValue=TMf;var Dra=btr(),bMf=IMf(Dra);function IMf(e){return e&&e.__esModule?e:{default:e}}var wra=function(t,r){if(t&&t.type==="JSXAttribute")return t.value===null?!0:r(t.value)};function SMf(e){return wra(e,bMf.default)}function TMf(e){return wra(e,Dra.getLiteralValue)}});var Kg=j((Ith,Nra)=>{"use strict";var L_n=pXs(),DMf=Q$e(L_n),wMf=mXs(),BMf=Q$e(wMf),kra=Qta(),kMf=Q$e(kra),PMf=Uta(),NMf=Q$e(PMf),Pra=Bra(),OMf=Q$e(Pra),RMf=otr(),FMf=Q$e(RMf);function Q$e(e){return e&&e.__esModule?e:{default:e}}Nra.exports={hasProp:DMf.default,hasAnyProp:L_n.hasAnyProp,hasEveryProp:L_n.hasEveryProp,elementType:BMf.default,eventHandlers:kMf.default,eventHandlersByType:kra.eventHandlersByType,getProp:NMf.default,getPropValue:OMf.default,getLiteralPropValue:Pra.getLiteralPropValue,propName:FMf.default}});var qx=j(oDe=>{"use strict";Object.defineProperty(oDe,"__esModule",{value:!0});oDe.generateObjSchema=oDe.enumArraySchema=oDe.arraySchema=void 0;function Ora(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Rra(e){for(var t=1;t0&&arguments[0]!==void 0?arguments[0]:[],r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return Rra(Rra({},jMf),{},{items:{type:"string",enum:t},minItems:r})},Tth=oDe.generateObjSchema=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0;return{type:"object",properties:t,required:r}}});var Mra=j((wth,Lra)=>{"use strict";var Fra=ytr();Lra.exports=function(t){return arguments.length>1?Fra(t,arguments[1]):Fra(t)}});var Yra=j((Bth,qra)=>{"use strict";var Ura=gE(),UMf=Ura("%RegExp%"),qMf=Zf(),Qra=Ura("%parseInt%"),YMf=av(),wtr=hEe(),jra=YMf("String.prototype.slice"),GMf=wtr(/^0b[01]+$/i),VMf=wtr(/^0o[0-7]+$/i),$Mf=wtr(/^[-+]0x[0-9a-f]+$/i),KMf=["\x85","\u200B","\uFFFE"].join(""),JMf=new UMf("["+KMf+"]","g"),HMf=wtr(JMf),zMf=_tr();qra.exports=function e(t){if(typeof t!="string")throw new qMf("Assertion failed: `argument` is not a String");if(GMf(t))return+Qra(jra(t,2),2);if(VMf(t))return+Qra(jra(t,2),8);if(HMf(t)||$Mf(t))return NaN;var r=zMf(t);return r!==t?e(r):+t}});var $ra=j((kth,Vra)=>{"use strict";var WMf=gE(),Gra=Zf(),XMf=WMf("%Number%"),ZMf=N$e(),eQf=Mra(),tQf=Yra();Vra.exports=function(t){var r=ZMf(t)?t:eQf(t,XMf);if(typeof r=="symbol")throw new Gra("Cannot convert a Symbol value to a number");if(typeof r=="bigint")throw new Gra("Conversion from 'BigInt' to 'number' is not allowed.");return typeof r=="string"?tQf(r):+r}});var Jra=j((Pth,Kra)=>{"use strict";var rQf=Nje();Kra.exports=function(t){return typeof t=="bigint"?t:rQf(t)}});var Wra=j((Nth,zra)=>{"use strict";var Hra=Jra(),nQf=Zf();zra.exports=function(t){if(typeof t!="number"&&typeof t!="bigint")throw new nQf("argument must be a Number or a BigInt");var r=t<0?-Hra(-t):Hra(t);return r===0?0:r}});var M_n=j((Oth,Xra)=>{"use strict";var iQf=$ra(),sQf=Wra(),aQf=lX(),oQf=D$e();Xra.exports=function(t){var r=iQf(t);return aQf(r)||r===0?0:oQf(r)?sQf(r):r}});var tna=j((Rth,ena)=>{"use strict";var Zra=P$e(),uQf=M_n();ena.exports=function(t){var r=uQf(t);return r<=0?0:r>Zra?Zra:r}});var ina=j((Fth,nna)=>{"use strict";var rna=lX();nna.exports=function(t,r){return t===r||rna(t)&&rna(r)}});var Q_n=j((Lth,ana)=>{"use strict";var sna=av(),lQf=sna("String.prototype.valueOf"),cQf=function(t){try{return lQf(t),!0}catch{return!1}},fQf=sna("Object.prototype.toString"),pQf="[object String]",dQf=i_t()();ana.exports=function(t){return typeof t=="string"?!0:!t||typeof t!="object"?!1:dQf?cQf(t):fQf(t)===pQf}});var j_n=j((Mth,lna)=>{"use strict";var mQf=M_n(),gQf=tna(),AQf=o_t(),hQf=ina(),yQf=lX(),_Qf=D$e(),una=gE(),EQf=av(),xQf=Q_n(),vQf=EQf("String.prototype.charAt"),ona=una("%Array.prototype.indexOf%"),CQf=una("%Math.max%");lna.exports=function(t){var r=arguments.length>1?mQf(arguments[1]):0;if(ona&&!yQf(t)&&_Qf(r)&&typeof t<"u")return ona.apply(this,arguments)>-1;var n=AQf(this),i=gQf(n.length);if(i===0)return!1;for(var s=r>=0?r:CQf(0,i+r);s{"use strict";var bQf=j_n();cna.exports=function(){return Array.prototype.includes&&Array(1).includes(void 0)?Array.prototype.includes:bQf}});var pna=j((jth,fna)=>{"use strict";var IQf=qh(),SQf=U_n();fna.exports=function(){var t=SQf();return IQf(Array.prototype,{includes:t},{includes:function(){return Array.prototype.includes!==t}}),t}});var LS=j((Uth,gna)=>{"use strict";var TQf=qh(),DQf=HY(),wQf=Mb(),BQf=av(),kQf=j_n(),dna=U_n(),PQf=wQf.apply(dna()),NQf=pna(),OQf=BQf("Array.prototype.slice"),mna=function(t,r){return DQf(t),PQf(t,OQf(arguments,1))};TQf(mna,{getPolyfill:dna,implementation:kQf,shim:NQf});gna.exports=mna});var k2=j((f_t,hna)=>{"use strict";Object.defineProperty(f_t,"__esModule",{value:!0});f_t.default=void 0;var RQf=Ana(_C()),FQf=Ana(LS()),q_n=Kg();function Ana(e){return e&&e.__esModule?e:{default:e}}var LQf=function(t){var r,n,i,s=t.settings,a=(r=s["jsx-a11y"])===null||r===void 0?void 0:r.polymorphicPropName,u=(n=s["jsx-a11y"])===null||n===void 0?void 0:n.polymorphicAllowList,l=(i=s["jsx-a11y"])===null||i===void 0?void 0:i.components;return function(f){var p=a?(0,q_n.getLiteralPropValue)((0,q_n.getProp)(f.attributes,a)):void 0,g=(0,q_n.elementType)(f);return p&&(!u||(0,FQf.default)(u,g))&&(g=p),l&&(0,RQf.default)(l,g)?l[g]:g}},qth=f_t.default=LQf;hna.exports=f_t.default});var Vse=j((p_t,yna)=>{"use strict";Object.defineProperty(p_t,"__esModule",{value:!0});p_t.default=void 0;var Btr=Kg(),MQf=function(t,r){if(t.toUpperCase()==="INPUT"){var n=(0,Btr.getLiteralPropValue)((0,Btr.getProp)(r,"type"));if(n&&n.toUpperCase()==="HIDDEN")return!0}var i=(0,Btr.getPropValue)((0,Btr.getProp)(r,"aria-hidden"));return i===!0},Yth=p_t.default=MQf;yna.exports=p_t.default});var Ena=j((d_t,_na)=>{"use strict";Object.defineProperty(d_t,"__esModule",{value:!0});d_t.default=void 0;var QQf=Ptr(cXs()),ktr=Kg(),jQf=Ptr(hEe()),UQf=qx(),qQf=Ptr(k2()),YQf=Ptr(Vse());function Ptr(e){return e&&e.__esModule?e:{default:e}}var GQf='Emojis should be wrapped in , have role="img", and have an accessible description with aria-label or aria-labelledby.',VQf=(0,UQf.generateObjSchema)(),Gth=d_t.default={meta:{docs:{description:"Enforce emojis are wrapped in `` and provide screen reader access.",url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/accessible-emoji.md"},deprecated:!0,schema:[VQf]},create:function(t){var r=(0,qQf.default)(t),n=(0,jQf.default)((0,QQf.default)());return{JSXOpeningElement:function(s){var a=s.parent.children.find(function(h){return h.type==="Literal"||h.type==="JSXText"});if(a&&n(a.value)){var u=(0,YQf.default)(r(s),s.attributes);if(u)return;var l=(0,ktr.getLiteralPropValue)((0,ktr.getProp)(s.attributes,"role")),f=(0,ktr.getProp)(s.attributes,"aria-label"),p=(0,ktr.getProp)(s.attributes,"aria-labelledby"),g=f!==void 0||p!==void 0,A=r(s)==="span";(g===!1||l!=="img"||A===!1)&&t.report({node:s,message:GQf})}}}}};_na.exports=d_t.default});var Y_n=j((Vth,xna)=>{"use strict";var $Qf=Byn(),KQf=Gyn(),JQf=RB(),HQf=FB(),zQf=F$e(),WQf=Ctr();xna.exports=function(t){var r=WQf(this),n=zQf(JQf(r,"length"));if(!HQf(t))throw new TypeError("mapperFunction must be a function");var i;arguments.length>1&&(i=arguments[1]);var s=$Qf(r,0);return KQf(s,r,n,0,1,t,i),s}});var G_n=j(($th,vna)=>{"use strict";var XQf=Y_n();vna.exports=function(){return Array.prototype.flatMap||XQf}});var bna=j((Kth,Cna)=>{"use strict";var ZQf=qh(),ejf=L$e(),tjf=G_n();Cna.exports=function(){var t=tjf();return ZQf(Array.prototype,{flatMap:t},{flatMap:function(){return Array.prototype.flatMap!==t}}),ejf("flatMap"),t}});var cJ=j((Jth,Tna)=>{"use strict";var rjf=qh(),njf=Mb(),ijf=Y_n(),Ina=G_n(),sjf=Ina(),ajf=bna(),Sna=njf(sjf);rjf(Sna,{getPolyfill:Ina,implementation:ijf,shim:ajf});Tna.exports=Sna});var m_t=j((Ntr,Dna)=>{"use strict";Object.defineProperty(Ntr,"__esModule",{value:!0});Ntr.default=cjf;var ojf=Kg(),ujf=ljf(Vse());function ljf(e){return e&&e.__esModule?e:{default:e}}function cjf(e,t){return e.children.some(function(r){switch(r.type){case"Literal":return!!r.value;case"JSXText":return!!r.value;case"JSXElement":return!(0,ujf.default)(t(r.openingElement),r.openingElement.attributes);case"JSXExpressionContainer":return r.expression.type==="Identifier"?r.expression.name!=="undefined":!0;default:return!1}})||(0,ojf.hasAnyProp)(e.openingElement.attributes,["dangerouslySetInnerHTML","children"])}Dna.exports=Ntr.default});var X5e=j((g_t,Bna)=>{"use strict";Object.defineProperty(g_t,"__esModule",{value:!0});g_t.default=void 0;var wna=Kg(),fjf=new Set(["presentation","none"]),pjf=function(t,r){return fjf.has((0,wna.getLiteralPropValue)((0,wna.getProp)(r,"role")))},Hth=g_t.default=pjf;Bna.exports=g_t.default});var Pna=j((A_t,kna)=>{"use strict";Object.defineProperty(A_t,"__esModule",{value:!0});A_t.default=void 0;var P7=Kg(),djf=Otr(cJ()),j$e=qx(),mjf=Otr(k2()),gjf=Otr(m_t()),Ajf=Otr(X5e());function Otr(e){return e&&e.__esModule?e:{default:e}}var hjf=["img","object","area",'input[type="image"]'],yjf=(0,j$e.generateObjSchema)({elements:j$e.arraySchema,img:j$e.arraySchema,object:j$e.arraySchema,area:j$e.arraySchema,'input[type="image"]':j$e.arraySchema}),uDe=function(t){var r=(0,P7.getPropValue)(t);return!(r===void 0||typeof r=="string"&&r.length===0)},_jf={img(e,t,r){var n=(0,P7.getProp)(t.attributes,"alt");if(n===void 0){if((0,Ajf.default)(r,t.attributes)){e.report({node:t,message:'Prefer alt="" over a presentational role. First rule of aria is to not use aria if it can be achieved via native HTML.'});return}var i=(0,P7.getProp)(t.attributes,"aria-label");if(i!==void 0){uDe(i)||e.report({node:t,message:"The aria-label attribute must have a value. The alt attribute is preferred over aria-label for images."});return}var s=(0,P7.getProp)(t.attributes,"aria-labelledby");if(s!==void 0){uDe(s)||e.report({node:t,message:"The aria-labelledby attribute must have a value. The alt attribute is preferred over aria-labelledby for images."});return}e.report({node:t,message:"".concat(r," elements must have an alt prop, either with meaningful text, or an empty string for decorative images.")});return}var a=(0,P7.getPropValue)(n),u=n.value===null;a&&!u||a===""||e.report({node:t,message:"Invalid alt value for ".concat(r,'. Use alt="" for presentational images.')})},object(e,t,r,n){var i=(0,P7.getProp)(t.attributes,"aria-label"),s=(0,P7.getProp)(t.attributes,"aria-labelledby"),a=uDe(i)||uDe(s),u=(0,P7.getLiteralPropValue)((0,P7.getProp)(t.attributes,"title")),l=!!u;a||l||(0,gjf.default)(t.parent,n)||e.report({node:t,message:"Embedded elements must have alternative text by providing inner text, aria-label or aria-labelledby props."})},area(e,t){var r=(0,P7.getProp)(t.attributes,"aria-label"),n=(0,P7.getProp)(t.attributes,"aria-labelledby"),i=uDe(r)||uDe(n);if(!i){var s=(0,P7.getProp)(t.attributes,"alt");if(s===void 0){e.report({node:t,message:"Each area of an image map must have a text alternative through the `alt`, `aria-label`, or `aria-labelledby` prop."});return}var a=(0,P7.getPropValue)(s),u=s.value===null;a&&!u||a===""||e.report({node:t,message:"Each area of an image map must have a text alternative through the `alt`, `aria-label`, or `aria-labelledby` prop."})}},'input[type="image"]':function(t,r,n){if(n==="input"){var i=(0,P7.getPropValue)((0,P7.getProp)(r.attributes,"type"));if(i!=="image")return}var s=(0,P7.getProp)(r.attributes,"aria-label"),a=(0,P7.getProp)(r.attributes,"aria-labelledby"),u=uDe(s)||uDe(a);if(!u){var l=(0,P7.getProp)(r.attributes,"alt");if(l===void 0){t.report({node:r,message:' elements with type="image" must have a text alternative through the `alt`, `aria-label`, or `aria-labelledby` prop.'});return}var f=(0,P7.getPropValue)(l),p=l.value===null;f&&!p||f===""||t.report({node:r,message:' elements with type="image" must have a text alternative through the `alt`, `aria-label`, or `aria-labelledby` prop.'})}}},zth=A_t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/alt-text.md",description:"Enforce all elements that require alternative text have meaningful information to relay back to end user."},schema:[yjf]},create:function(t){var r=t.options[0]||{},n=r.elements||hjf,i=(0,djf.default)(n,function(u){return r[u]}),s=new Set([].concat(i,n).map(function(u){return u==='input[type="image"]'?"input":u})),a=(0,mjf.default)(t);return{JSXOpeningElement(u){var l=a(u);if(s.has(l)){var f=l;f==="input"&&(f='input[type="image"]'),n.indexOf(f)===-1&&(f=n.find(function(p){var g=r[p]||[];return g.indexOf(l)>-1})),_jf[f](t,u,l,a)}}}}};kna.exports=A_t.default});var Rna=j((Ftr,Ona)=>{"use strict";Object.defineProperty(Ftr,"__esModule",{value:!0});Ftr.default=Nna;var Rtr=Kg(),Ejf=xjf(Vse());function xjf(e){return e&&e.__esModule?e:{default:e}}function V_n(e){return e.trim().replace(/[,.?¿!‽¡;:]/g,"").replace(/\s\s+/g," ").toLowerCase()}function Nna(e,t){var r=(0,Rtr.getLiteralPropValue)((0,Rtr.getProp)(e.openingElement.attributes,"aria-label"));if(r)return V_n(r);var n=(0,Rtr.getLiteralPropValue)((0,Rtr.getProp)(e.openingElement.attributes,"alt"));if(t(e.openingElement)==="img"&&n)return V_n(n);if((0,Ejf.default)(t(e.openingElement),e.openingElement.attributes))return"";var i=e.children.map(function(s){return s.type==="Literal"||s.type==="JSXText"?String(s.value):s.type==="JSXElement"?Nna(s,t):""}).join(" ");return V_n(i)}Ona.exports=Ftr.default});var Qna=j((h_t,Mna)=>{"use strict";Object.defineProperty(h_t,"__esModule",{value:!0});h_t.default=void 0;var Fna=qx(),vjf=Lna(Rna()),Cjf=Lna(k2());function Lna(e){return e&&e.__esModule?e:{default:e}}var bjf=["click here","here","link","a link","learn more"],Ijf=(0,Fna.generateObjSchema)({words:Fna.arraySchema}),Wth=h_t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-ambiguous-text.md",description:'Enforce `` text to not exactly match "click here", "here", "link", or "a link".'},schema:[Ijf]},create:function(t){var r=(0,Cjf.default)(t),n=["a"],i=t.options[0]||{},s=i.words,a=s===void 0?bjf:s,u=new Set(a);return{JSXOpeningElement:function(f){var p=r(f);if(n.indexOf(p)!==-1){var g=(0,vjf.default)(f.parent,r);u.has(g)&&t.report({node:f,message:'Ambiguous text within anchor. Screen reader users rely on link text for context; the words "{{wordsList}}" are ambiguous and do not provide enough context.',data:{wordsList:a.join('", "')}})}}}}};Mna.exports=h_t.default});var Yna=j((y_t,qna)=>{"use strict";Object.defineProperty(y_t,"__esModule",{value:!0});y_t.default=void 0;var Sjf=Kg(),Tjf=Una(k2()),jna=qx(),Djf=Una(m_t());function Una(e){return e&&e.__esModule?e:{default:e}}var wjf="Anchors must have content and the content must be accessible by a screen reader.",Bjf=(0,jna.generateObjSchema)({components:jna.arraySchema}),Xth=y_t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-has-content.md",description:"Enforce all anchors to contain accessible content."},schema:[Bjf]},create:function(t){var r=(0,Tjf.default)(t);return{JSXOpeningElement:function(i){var s=t.options[0]||{},a=s.components||[],u=["a"].concat(a),l=r(i);u.indexOf(l)!==-1&&((0,Djf.default)(i.parent,r)||(0,Sjf.hasAnyProp)(i.attributes,["title","aria-label"])||t.report({node:i,message:wjf}))}}}};qna.exports=y_t.default});var Kna=j((__t,$na)=>{"use strict";Object.defineProperty(__t,"__esModule",{value:!0});__t.default=void 0;var $_n=Kg(),kjf=Vna(hEe()),Ltr=qx(),Pjf=Vna(k2());function Vna(e){return e&&e.__esModule?e:{default:e}}var K_n=["noHref","invalidHref","preferButton"],Gna="Anchor used as a button. Anchors are primarily expected to navigate. Use the button element instead. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md",Njf="The href attribute is required for an anchor to be keyboard accessible. Provide a valid, navigable address as the href value. If you cannot provide an href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md",Ojf="The href attribute requires a valid value to be accessible. Provide a valid, navigable address as the href value. If you cannot provide a valid href, but still need the element to resemble a link, use a button and change it with appropriate styles. Learn more: https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/HEAD/docs/rules/anchor-is-valid.md",Rjf=(0,Ltr.generateObjSchema)({components:Ltr.arraySchema,specialLink:Ltr.arraySchema,aspects:(0,Ltr.enumArraySchema)(K_n,1)}),Zth=__t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/anchor-is-valid.md",description:"Enforce all anchors are valid, navigable elements."},schema:[Rjf]},create:function(t){var r=(0,Pjf.default)(t),n=(0,kjf.default)(/^\W*?javascript:/);return{JSXOpeningElement:function(s){var a=s.attributes,u=t.options[0]||{},l=u.components||[],f=["a"].concat(l),p=r(s);if(f.indexOf(p)!==-1){var g=u.aspects||K_n,A={};K_n.forEach(function(R){A[R]=g.indexOf(R)!==-1});var h=u.specialLink||[],_=["href"].concat(h),E=_.map(function(R){return(0,$_n.getPropValue)((0,$_n.getProp)(s.attributes,R))}),b=E.some(function(R){return R!=null}),D=a.some(function(R){return R.type==="JSXSpreadAttribute"}),k=(0,$_n.getProp)(a,"onClick");if(!b){!D&&A.noHref&&(!k||k&&!A.preferButton)&&t.report({node:s,message:Njf}),!D&&k&&A.preferButton&&t.report({node:s,message:Gna});return}var M=E.filter(function(R){return R!=null&&typeof R=="string"&&(!R.length||R==="#"||n(R))});M.length!==0&&(k&&A.preferButton?t.report({node:s,message:Gna}):A.invalidHref&&t.report({node:s,message:Ojf}))}}}}};$na.exports=__t.default});var Jna=j(Mtr=>{"use strict";Object.defineProperty(Mtr,"__esModule",{value:!0});Mtr.default=void 0;function Fjf(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t{"use strict";Object.defineProperty(H_n,"__esModule",{value:!0});H_n.default=Qjf;var Ljf=Mjf(Jna());function Mjf(e){return e&&e.__esModule?e:{default:e}}function J_n(e){"@babel/helpers - typeof";return J_n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},J_n(e)}function Qjf(e,t){return typeof Symbol=="function"&&J_n(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Ljf.default.bind(t)}),e}});var zna=j(Qtr=>{"use strict";Object.defineProperty(Qtr,"__esModule",{value:!0});Qtr.default=void 0;var jjf=Ujf(U$e());function Ujf(e){return e&&e.__esModule?e:{default:e}}function z_n(e,t){return Vjf(e)||Gjf(e,t)||Yjf(e,t)||qjf()}function qjf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Yjf(e,t){if(e){if(typeof e=="string")return Hna(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Hna(e,t):void 0}}function Hna(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=q$e;n{"use strict";Object.defineProperty(jtr,"__esModule",{value:!0});jtr.default=void 0;var $jf=Kjf(U$e());function Kjf(e){return e&&e.__esModule?e:{default:e}}function X_n(e,t){return Wjf(e)||zjf(e,t)||Hjf(e,t)||Jjf()}function Jjf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Hjf(e,t){if(e){if(typeof e=="string")return Wna(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wna(e,t):void 0}}function Wna(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=Y$e;n{"use strict";Object.defineProperty(Utr,"__esModule",{value:!0});Utr.default=void 0;var Xjf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},orh=Utr.default=Xjf});var eia=j(qtr=>{"use strict";Object.defineProperty(qtr,"__esModule",{value:!0});qtr.default=void 0;var Zjf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},lrh=qtr.default=Zjf});var tia=j(Ytr=>{"use strict";Object.defineProperty(Ytr,"__esModule",{value:!0});Ytr.default=void 0;var eUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},frh=Ytr.default=eUf});var ria=j(Gtr=>{"use strict";Object.defineProperty(Gtr,"__esModule",{value:!0});Gtr.default=void 0;var tUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},drh=Gtr.default=tUf});var nia=j(Vtr=>{"use strict";Object.defineProperty(Vtr,"__esModule",{value:!0});Vtr.default=void 0;var rUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},grh=Vtr.default=rUf});var iia=j($tr=>{"use strict";Object.defineProperty($tr,"__esModule",{value:!0});$tr.default=void 0;var nUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},hrh=$tr.default=nUf});var sia=j(Ktr=>{"use strict";Object.defineProperty(Ktr,"__esModule",{value:!0});Ktr.default=void 0;var iUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},_rh=Ktr.default=iUf});var aia=j(Jtr=>{"use strict";Object.defineProperty(Jtr,"__esModule",{value:!0});Jtr.default=void 0;var sUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},xrh=Jtr.default=sUf});var oia=j(Htr=>{"use strict";Object.defineProperty(Htr,"__esModule",{value:!0});Htr.default=void 0;var aUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},Crh=Htr.default=aUf});var uia=j(ztr=>{"use strict";Object.defineProperty(ztr,"__esModule",{value:!0});ztr.default=void 0;var oUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Irh=ztr.default=oUf});var lia=j(Wtr=>{"use strict";Object.defineProperty(Wtr,"__esModule",{value:!0});Wtr.default=void 0;var uUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Trh=Wtr.default=uUf});var cia=j(Xtr=>{"use strict";Object.defineProperty(Xtr,"__esModule",{value:!0});Xtr.default=void 0;var lUf={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},wrh=Xtr.default=lUf});var fia=j(Ztr=>{"use strict";Object.defineProperty(Ztr,"__esModule",{value:!0});Ztr.default=void 0;var cUf=bZ(Zna()),fUf=bZ(eia()),pUf=bZ(tia()),dUf=bZ(ria()),mUf=bZ(nia()),gUf=bZ(iia()),AUf=bZ(sia()),hUf=bZ(aia()),yUf=bZ(oia()),_Uf=bZ(uia()),EUf=bZ(lia()),xUf=bZ(cia());function bZ(e){return e&&e.__esModule?e:{default:e}}var vUf=[["command",cUf.default],["composite",fUf.default],["input",pUf.default],["landmark",dUf.default],["range",mUf.default],["roletype",gUf.default],["section",AUf.default],["sectionhead",hUf.default],["select",yUf.default],["structure",_Uf.default],["widget",EUf.default],["window",xUf.default]],krh=Ztr.default=vUf});var pia=j(err=>{"use strict";Object.defineProperty(err,"__esModule",{value:!0});err.default=void 0;var CUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Nrh=err.default=CUf});var dia=j(trr=>{"use strict";Object.defineProperty(trr,"__esModule",{value:!0});trr.default=void 0;var bUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},Rrh=trr.default=bUf});var mia=j(rrr=>{"use strict";Object.defineProperty(rrr,"__esModule",{value:!0});rrr.default=void 0;var IUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Lrh=rrr.default=IUf});var gia=j(nrr=>{"use strict";Object.defineProperty(nrr,"__esModule",{value:!0});nrr.default=void 0;var SUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},Qrh=nrr.default=SUf});var Aia=j(irr=>{"use strict";Object.defineProperty(irr,"__esModule",{value:!0});irr.default=void 0;var TUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Urh=irr.default=TUf});var hia=j(srr=>{"use strict";Object.defineProperty(srr,"__esModule",{value:!0});srr.default=void 0;var DUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Yrh=srr.default=DUf});var yia=j(arr=>{"use strict";Object.defineProperty(arr,"__esModule",{value:!0});arr.default=void 0;var wUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},Vrh=arr.default=wUf});var _ia=j(orr=>{"use strict";Object.defineProperty(orr,"__esModule",{value:!0});orr.default=void 0;var BUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Krh=orr.default=BUf});var Eia=j(urr=>{"use strict";Object.defineProperty(urr,"__esModule",{value:!0});urr.default=void 0;var kUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Hrh=urr.default=kUf});var xia=j(lrr=>{"use strict";Object.defineProperty(lrr,"__esModule",{value:!0});lrr.default=void 0;var PUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},Wrh=lrr.default=PUf});var via=j(crr=>{"use strict";Object.defineProperty(crr,"__esModule",{value:!0});crr.default=void 0;var NUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Zrh=crr.default=NUf});var Cia=j(frr=>{"use strict";Object.defineProperty(frr,"__esModule",{value:!0});frr.default=void 0;var OUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},tnh=frr.default=OUf});var bia=j(prr=>{"use strict";Object.defineProperty(prr,"__esModule",{value:!0});prr.default=void 0;var RUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},nnh=prr.default=RUf});var Iia=j(drr=>{"use strict";Object.defineProperty(drr,"__esModule",{value:!0});drr.default=void 0;var FUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},snh=drr.default=FUf});var Sia=j(mrr=>{"use strict";Object.defineProperty(mrr,"__esModule",{value:!0});mrr.default=void 0;var LUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},onh=mrr.default=LUf});var Tia=j(grr=>{"use strict";Object.defineProperty(grr,"__esModule",{value:!0});grr.default=void 0;var MUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lnh=grr.default=MUf});var Dia=j(Arr=>{"use strict";Object.defineProperty(Arr,"__esModule",{value:!0});Arr.default=void 0;var QUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},fnh=Arr.default=QUf});var wia=j(hrr=>{"use strict";Object.defineProperty(hrr,"__esModule",{value:!0});hrr.default=void 0;var jUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},dnh=hrr.default=jUf});var Bia=j(yrr=>{"use strict";Object.defineProperty(yrr,"__esModule",{value:!0});yrr.default=void 0;var UUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},gnh=yrr.default=UUf});var kia=j(_rr=>{"use strict";Object.defineProperty(_rr,"__esModule",{value:!0});_rr.default=void 0;var qUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},hnh=_rr.default=qUf});var Pia=j(Err=>{"use strict";Object.defineProperty(Err,"__esModule",{value:!0});Err.default=void 0;var YUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_nh=Err.default=YUf});var Nia=j(xrr=>{"use strict";Object.defineProperty(xrr,"__esModule",{value:!0});xrr.default=void 0;var GUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},xnh=xrr.default=GUf});var Oia=j(vrr=>{"use strict";Object.defineProperty(vrr,"__esModule",{value:!0});vrr.default=void 0;var VUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Cnh=vrr.default=VUf});var Ria=j(Crr=>{"use strict";Object.defineProperty(Crr,"__esModule",{value:!0});Crr.default=void 0;var $Uf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Inh=Crr.default=$Uf});var Fia=j(brr=>{"use strict";Object.defineProperty(brr,"__esModule",{value:!0});brr.default=void 0;var KUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Tnh=brr.default=KUf});var Lia=j(Irr=>{"use strict";Object.defineProperty(Irr,"__esModule",{value:!0});Irr.default=void 0;var JUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},wnh=Irr.default=JUf});var Mia=j(Srr=>{"use strict";Object.defineProperty(Srr,"__esModule",{value:!0});Srr.default=void 0;var HUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},knh=Srr.default=HUf});var Qia=j(Trr=>{"use strict";Object.defineProperty(Trr,"__esModule",{value:!0});Trr.default=void 0;var zUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Nnh=Trr.default=zUf});var jia=j(Drr=>{"use strict";Object.defineProperty(Drr,"__esModule",{value:!0});Drr.default=void 0;var WUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},Rnh=Drr.default=WUf});var Uia=j(wrr=>{"use strict";Object.defineProperty(wrr,"__esModule",{value:!0});wrr.default=void 0;var XUf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Lnh=wrr.default=XUf});var qia=j(Brr=>{"use strict";Object.defineProperty(Brr,"__esModule",{value:!0});Brr.default=void 0;var ZUf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Qnh=Brr.default=ZUf});var Yia=j(krr=>{"use strict";Object.defineProperty(krr,"__esModule",{value:!0});krr.default=void 0;var eqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},Unh=krr.default=eqf});var Gia=j(Prr=>{"use strict";Object.defineProperty(Prr,"__esModule",{value:!0});Prr.default=void 0;var tqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},Ynh=Prr.default=tqf});var Via=j(Nrr=>{"use strict";Object.defineProperty(Nrr,"__esModule",{value:!0});Nrr.default=void 0;var rqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},Vnh=Nrr.default=rqf});var $ia=j(Orr=>{"use strict";Object.defineProperty(Orr,"__esModule",{value:!0});Orr.default=void 0;var nqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Knh=Orr.default=nqf});var Kia=j(Rrr=>{"use strict";Object.defineProperty(Rrr,"__esModule",{value:!0});Rrr.default=void 0;var iqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Hnh=Rrr.default=iqf});var Jia=j(Frr=>{"use strict";Object.defineProperty(Frr,"__esModule",{value:!0});Frr.default=void 0;var sqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Wnh=Frr.default=sqf});var Hia=j(Lrr=>{"use strict";Object.defineProperty(Lrr,"__esModule",{value:!0});Lrr.default=void 0;var aqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Znh=Lrr.default=aqf});var zia=j(Mrr=>{"use strict";Object.defineProperty(Mrr,"__esModule",{value:!0});Mrr.default=void 0;var oqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tih=Mrr.default=oqf});var Wia=j(Qrr=>{"use strict";Object.defineProperty(Qrr,"__esModule",{value:!0});Qrr.default=void 0;var uqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nih=Qrr.default=uqf});var Xia=j(jrr=>{"use strict";Object.defineProperty(jrr,"__esModule",{value:!0});jrr.default=void 0;var lqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},sih=jrr.default=lqf});var Zia=j(Urr=>{"use strict";Object.defineProperty(Urr,"__esModule",{value:!0});Urr.default=void 0;var cqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},oih=Urr.default=cqf});var esa=j(qrr=>{"use strict";Object.defineProperty(qrr,"__esModule",{value:!0});qrr.default=void 0;var fqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},lih=qrr.default=fqf});var tsa=j(Yrr=>{"use strict";Object.defineProperty(Yrr,"__esModule",{value:!0});Yrr.default=void 0;var pqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},fih=Yrr.default=pqf});var rsa=j(Grr=>{"use strict";Object.defineProperty(Grr,"__esModule",{value:!0});Grr.default=void 0;var dqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},dih=Grr.default=dqf});var nsa=j(Vrr=>{"use strict";Object.defineProperty(Vrr,"__esModule",{value:!0});Vrr.default=void 0;var mqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},gih=Vrr.default=mqf});var isa=j($rr=>{"use strict";Object.defineProperty($rr,"__esModule",{value:!0});$rr.default=void 0;var gqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hih=$rr.default=gqf});var ssa=j(Krr=>{"use strict";Object.defineProperty(Krr,"__esModule",{value:!0});Krr.default=void 0;var Aqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_ih=Krr.default=Aqf});var asa=j(Jrr=>{"use strict";Object.defineProperty(Jrr,"__esModule",{value:!0});Jrr.default=void 0;var hqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xih=Jrr.default=hqf});var osa=j(Hrr=>{"use strict";Object.defineProperty(Hrr,"__esModule",{value:!0});Hrr.default=void 0;var yqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},Cih=Hrr.default=yqf});var usa=j(zrr=>{"use strict";Object.defineProperty(zrr,"__esModule",{value:!0});zrr.default=void 0;var _qf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Iih=zrr.default=_qf});var lsa=j(Wrr=>{"use strict";Object.defineProperty(Wrr,"__esModule",{value:!0});Wrr.default=void 0;var Eqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Tih=Wrr.default=Eqf});var csa=j(Xrr=>{"use strict";Object.defineProperty(Xrr,"__esModule",{value:!0});Xrr.default=void 0;var xqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},wih=Xrr.default=xqf});var fsa=j(Zrr=>{"use strict";Object.defineProperty(Zrr,"__esModule",{value:!0});Zrr.default=void 0;var vqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},kih=Zrr.default=vqf});var psa=j(enr=>{"use strict";Object.defineProperty(enr,"__esModule",{value:!0});enr.default=void 0;var Cqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},Nih=enr.default=Cqf});var dsa=j(tnr=>{"use strict";Object.defineProperty(tnr,"__esModule",{value:!0});tnr.default=void 0;var bqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Rih=tnr.default=bqf});var msa=j(rnr=>{"use strict";Object.defineProperty(rnr,"__esModule",{value:!0});rnr.default=void 0;var Iqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},Lih=rnr.default=Iqf});var gsa=j(nnr=>{"use strict";Object.defineProperty(nnr,"__esModule",{value:!0});nnr.default=void 0;var Sqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},Qih=nnr.default=Sqf});var Asa=j(inr=>{"use strict";Object.defineProperty(inr,"__esModule",{value:!0});inr.default=void 0;var Tqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},Uih=inr.default=Tqf});var hsa=j(snr=>{"use strict";Object.defineProperty(snr,"__esModule",{value:!0});snr.default=void 0;var Dqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},Yih=snr.default=Dqf});var ysa=j(anr=>{"use strict";Object.defineProperty(anr,"__esModule",{value:!0});anr.default=void 0;var wqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Vih=anr.default=wqf});var _sa=j(onr=>{"use strict";Object.defineProperty(onr,"__esModule",{value:!0});onr.default=void 0;var Bqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},Kih=onr.default=Bqf});var Esa=j(unr=>{"use strict";Object.defineProperty(unr,"__esModule",{value:!0});unr.default=void 0;var kqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Hih=unr.default=kqf});var xsa=j(lnr=>{"use strict";Object.defineProperty(lnr,"__esModule",{value:!0});lnr.default=void 0;var Pqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},Wih=lnr.default=Pqf});var vsa=j(cnr=>{"use strict";Object.defineProperty(cnr,"__esModule",{value:!0});cnr.default=void 0;var Nqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},Zih=cnr.default=Nqf});var Csa=j(fnr=>{"use strict";Object.defineProperty(fnr,"__esModule",{value:!0});fnr.default=void 0;var Oqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},tsh=fnr.default=Oqf});var bsa=j(pnr=>{"use strict";Object.defineProperty(pnr,"__esModule",{value:!0});pnr.default=void 0;var Rqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nsh=pnr.default=Rqf});var Isa=j(dnr=>{"use strict";Object.defineProperty(dnr,"__esModule",{value:!0});dnr.default=void 0;var Fqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ssh=dnr.default=Fqf});var Ssa=j(mnr=>{"use strict";Object.defineProperty(mnr,"__esModule",{value:!0});mnr.default=void 0;var Lqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},osh=mnr.default=Lqf});var Tsa=j(gnr=>{"use strict";Object.defineProperty(gnr,"__esModule",{value:!0});gnr.default=void 0;var Mqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},lsh=gnr.default=Mqf});var Dsa=j(Anr=>{"use strict";Object.defineProperty(Anr,"__esModule",{value:!0});Anr.default=void 0;var Qqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},fsh=Anr.default=Qqf});var wsa=j(hnr=>{"use strict";Object.defineProperty(hnr,"__esModule",{value:!0});hnr.default=void 0;var jqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},dsh=hnr.default=jqf});var Bsa=j(ynr=>{"use strict";Object.defineProperty(ynr,"__esModule",{value:!0});ynr.default=void 0;var Uqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},gsh=ynr.default=Uqf});var ksa=j(_nr=>{"use strict";Object.defineProperty(_nr,"__esModule",{value:!0});_nr.default=void 0;var qqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hsh=_nr.default=qqf});var Psa=j(Enr=>{"use strict";Object.defineProperty(Enr,"__esModule",{value:!0});Enr.default=void 0;var Yqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_sh=Enr.default=Yqf});var Nsa=j(xnr=>{"use strict";Object.defineProperty(xnr,"__esModule",{value:!0});xnr.default=void 0;var Gqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},xsh=xnr.default=Gqf});var Osa=j(vnr=>{"use strict";Object.defineProperty(vnr,"__esModule",{value:!0});vnr.default=void 0;var Vqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Csh=vnr.default=Vqf});var Rsa=j(Cnr=>{"use strict";Object.defineProperty(Cnr,"__esModule",{value:!0});Cnr.default=void 0;var $qf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},Ish=Cnr.default=$qf});var Fsa=j(bnr=>{"use strict";Object.defineProperty(bnr,"__esModule",{value:!0});bnr.default=void 0;var Kqf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},Tsh=bnr.default=Kqf});var Lsa=j(Inr=>{"use strict";Object.defineProperty(Inr,"__esModule",{value:!0});Inr.default=void 0;var Jqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wsh=Inr.default=Jqf});var Msa=j(Snr=>{"use strict";Object.defineProperty(Snr,"__esModule",{value:!0});Snr.default=void 0;var Hqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},ksh=Snr.default=Hqf});var Qsa=j(Tnr=>{"use strict";Object.defineProperty(Tnr,"__esModule",{value:!0});Tnr.default=void 0;var zqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},Nsh=Tnr.default=zqf});var jsa=j(Dnr=>{"use strict";Object.defineProperty(Dnr,"__esModule",{value:!0});Dnr.default=void 0;var Wqf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},Rsh=Dnr.default=Wqf});var Usa=j(wnr=>{"use strict";Object.defineProperty(wnr,"__esModule",{value:!0});wnr.default=void 0;var Xqf=Bd(pia()),Zqf=Bd(dia()),eYf=Bd(mia()),tYf=Bd(gia()),rYf=Bd(Aia()),nYf=Bd(hia()),iYf=Bd(yia()),sYf=Bd(_ia()),aYf=Bd(Eia()),oYf=Bd(xia()),uYf=Bd(via()),lYf=Bd(Cia()),cYf=Bd(bia()),fYf=Bd(Iia()),pYf=Bd(Sia()),dYf=Bd(Tia()),mYf=Bd(Dia()),gYf=Bd(wia()),AYf=Bd(Bia()),hYf=Bd(kia()),yYf=Bd(Pia()),_Yf=Bd(Nia()),EYf=Bd(Oia()),xYf=Bd(Ria()),vYf=Bd(Fia()),CYf=Bd(Lia()),bYf=Bd(Mia()),IYf=Bd(Qia()),SYf=Bd(jia()),TYf=Bd(Uia()),DYf=Bd(qia()),wYf=Bd(Yia()),BYf=Bd(Gia()),kYf=Bd(Via()),PYf=Bd($ia()),NYf=Bd(Kia()),OYf=Bd(Jia()),RYf=Bd(Hia()),FYf=Bd(zia()),LYf=Bd(Wia()),MYf=Bd(Xia()),QYf=Bd(Zia()),jYf=Bd(esa()),UYf=Bd(tsa()),qYf=Bd(rsa()),YYf=Bd(nsa()),GYf=Bd(isa()),VYf=Bd(ssa()),$Yf=Bd(asa()),KYf=Bd(osa()),JYf=Bd(usa()),HYf=Bd(lsa()),zYf=Bd(csa()),WYf=Bd(fsa()),XYf=Bd(psa()),ZYf=Bd(dsa()),eGf=Bd(msa()),tGf=Bd(gsa()),rGf=Bd(Asa()),nGf=Bd(hsa()),iGf=Bd(ysa()),sGf=Bd(_sa()),aGf=Bd(Esa()),oGf=Bd(xsa()),uGf=Bd(vsa()),lGf=Bd(Csa()),cGf=Bd(bsa()),fGf=Bd(Isa()),pGf=Bd(Ssa()),dGf=Bd(Tsa()),mGf=Bd(Dsa()),gGf=Bd(wsa()),AGf=Bd(Bsa()),hGf=Bd(ksa()),yGf=Bd(Psa()),_Gf=Bd(Nsa()),EGf=Bd(Osa()),xGf=Bd(Rsa()),vGf=Bd(Fsa()),CGf=Bd(Lsa()),bGf=Bd(Msa()),IGf=Bd(Qsa()),SGf=Bd(jsa());function Bd(e){return e&&e.__esModule?e:{default:e}}var TGf=[["alert",Xqf.default],["alertdialog",Zqf.default],["application",eYf.default],["article",tYf.default],["banner",rYf.default],["blockquote",nYf.default],["button",iYf.default],["caption",sYf.default],["cell",aYf.default],["checkbox",oYf.default],["code",uYf.default],["columnheader",lYf.default],["combobox",cYf.default],["complementary",fYf.default],["contentinfo",pYf.default],["definition",dYf.default],["deletion",mYf.default],["dialog",gYf.default],["directory",AYf.default],["document",hYf.default],["emphasis",yYf.default],["feed",_Yf.default],["figure",EYf.default],["form",xYf.default],["generic",vYf.default],["grid",CYf.default],["gridcell",bYf.default],["group",IYf.default],["heading",SYf.default],["img",TYf.default],["insertion",DYf.default],["link",wYf.default],["list",BYf.default],["listbox",kYf.default],["listitem",PYf.default],["log",NYf.default],["main",OYf.default],["mark",RYf.default],["marquee",FYf.default],["math",LYf.default],["menu",MYf.default],["menubar",QYf.default],["menuitem",jYf.default],["menuitemcheckbox",UYf.default],["menuitemradio",qYf.default],["meter",YYf.default],["navigation",GYf.default],["none",VYf.default],["note",$Yf.default],["option",KYf.default],["paragraph",JYf.default],["presentation",HYf.default],["progressbar",zYf.default],["radio",WYf.default],["radiogroup",XYf.default],["region",ZYf.default],["row",eGf.default],["rowgroup",tGf.default],["rowheader",rGf.default],["scrollbar",nGf.default],["search",iGf.default],["searchbox",sGf.default],["separator",aGf.default],["slider",oGf.default],["spinbutton",uGf.default],["status",lGf.default],["strong",cGf.default],["subscript",fGf.default],["superscript",pGf.default],["switch",dGf.default],["tab",mGf.default],["table",gGf.default],["tablist",AGf.default],["tabpanel",hGf.default],["term",yGf.default],["textbox",_Gf.default],["time",EGf.default],["timer",xGf.default],["toolbar",vGf.default],["tooltip",CGf.default],["tree",bGf.default],["treegrid",IGf.default],["treeitem",SGf.default]],Lsh=wnr.default=TGf});var qsa=j(Bnr=>{"use strict";Object.defineProperty(Bnr,"__esModule",{value:!0});Bnr.default=void 0;var DGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Qsh=Bnr.default=DGf});var Ysa=j(knr=>{"use strict";Object.defineProperty(knr,"__esModule",{value:!0});knr.default=void 0;var wGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ush=knr.default=wGf});var Gsa=j(Pnr=>{"use strict";Object.defineProperty(Pnr,"__esModule",{value:!0});Pnr.default=void 0;var BGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ysh=Pnr.default=BGf});var Vsa=j(Nnr=>{"use strict";Object.defineProperty(Nnr,"__esModule",{value:!0});Nnr.default=void 0;var kGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Vsh=Nnr.default=kGf});var $sa=j(Onr=>{"use strict";Object.defineProperty(Onr,"__esModule",{value:!0});Onr.default=void 0;var PGf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Ksh=Onr.default=PGf});var Ksa=j(Rnr=>{"use strict";Object.defineProperty(Rnr,"__esModule",{value:!0});Rnr.default=void 0;var NGf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},Hsh=Rnr.default=NGf});var Jsa=j(Fnr=>{"use strict";Object.defineProperty(Fnr,"__esModule",{value:!0});Fnr.default=void 0;var OGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Wsh=Fnr.default=OGf});var Hsa=j(Lnr=>{"use strict";Object.defineProperty(Lnr,"__esModule",{value:!0});Lnr.default=void 0;var RGf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Zsh=Lnr.default=RGf});var zsa=j(Mnr=>{"use strict";Object.defineProperty(Mnr,"__esModule",{value:!0});Mnr.default=void 0;var FGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},tah=Mnr.default=FGf});var Wsa=j(Qnr=>{"use strict";Object.defineProperty(Qnr,"__esModule",{value:!0});Qnr.default=void 0;var LGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},nah=Qnr.default=LGf});var Xsa=j(jnr=>{"use strict";Object.defineProperty(jnr,"__esModule",{value:!0});jnr.default=void 0;var MGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sah=jnr.default=MGf});var Zsa=j(Unr=>{"use strict";Object.defineProperty(Unr,"__esModule",{value:!0});Unr.default=void 0;var QGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},oah=Unr.default=QGf});var eaa=j(qnr=>{"use strict";Object.defineProperty(qnr,"__esModule",{value:!0});qnr.default=void 0;var jGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},lah=qnr.default=jGf});var taa=j(Ynr=>{"use strict";Object.defineProperty(Ynr,"__esModule",{value:!0});Ynr.default=void 0;var UGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fah=Ynr.default=UGf});var raa=j(Gnr=>{"use strict";Object.defineProperty(Gnr,"__esModule",{value:!0});Gnr.default=void 0;var qGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},dah=Gnr.default=qGf});var naa=j(Vnr=>{"use strict";Object.defineProperty(Vnr,"__esModule",{value:!0});Vnr.default=void 0;var YGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},gah=Vnr.default=YGf});var iaa=j($nr=>{"use strict";Object.defineProperty($nr,"__esModule",{value:!0});$nr.default=void 0;var GGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},hah=$nr.default=GGf});var saa=j(Knr=>{"use strict";Object.defineProperty(Knr,"__esModule",{value:!0});Knr.default=void 0;var VGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_ah=Knr.default=VGf});var aaa=j(Jnr=>{"use strict";Object.defineProperty(Jnr,"__esModule",{value:!0});Jnr.default=void 0;var $Gf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},xah=Jnr.default=$Gf});var oaa=j(Hnr=>{"use strict";Object.defineProperty(Hnr,"__esModule",{value:!0});Hnr.default=void 0;var KGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Cah=Hnr.default=KGf});var uaa=j(znr=>{"use strict";Object.defineProperty(znr,"__esModule",{value:!0});znr.default=void 0;var JGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Iah=znr.default=JGf});var laa=j(Wnr=>{"use strict";Object.defineProperty(Wnr,"__esModule",{value:!0});Wnr.default=void 0;var HGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Tah=Wnr.default=HGf});var caa=j(Xnr=>{"use strict";Object.defineProperty(Xnr,"__esModule",{value:!0});Xnr.default=void 0;var zGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},wah=Xnr.default=zGf});var faa=j(Znr=>{"use strict";Object.defineProperty(Znr,"__esModule",{value:!0});Znr.default=void 0;var WGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},kah=Znr.default=WGf});var paa=j(eir=>{"use strict";Object.defineProperty(eir,"__esModule",{value:!0});eir.default=void 0;var XGf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Nah=eir.default=XGf});var daa=j(tir=>{"use strict";Object.defineProperty(tir,"__esModule",{value:!0});tir.default=void 0;var ZGf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},Rah=tir.default=ZGf});var maa=j(rir=>{"use strict";Object.defineProperty(rir,"__esModule",{value:!0});rir.default=void 0;var eVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Lah=rir.default=eVf});var gaa=j(nir=>{"use strict";Object.defineProperty(nir,"__esModule",{value:!0});nir.default=void 0;var tVf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Qah=nir.default=tVf});var Aaa=j(iir=>{"use strict";Object.defineProperty(iir,"__esModule",{value:!0});iir.default=void 0;var rVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},Uah=iir.default=rVf});var haa=j(sir=>{"use strict";Object.defineProperty(sir,"__esModule",{value:!0});sir.default=void 0;var nVf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},Yah=sir.default=nVf});var yaa=j(air=>{"use strict";Object.defineProperty(air,"__esModule",{value:!0});air.default=void 0;var iVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Vah=air.default=iVf});var _aa=j(oir=>{"use strict";Object.defineProperty(oir,"__esModule",{value:!0});oir.default=void 0;var sVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Kah=oir.default=sVf});var Eaa=j(uir=>{"use strict";Object.defineProperty(uir,"__esModule",{value:!0});uir.default=void 0;var aVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},Hah=uir.default=aVf});var xaa=j(lir=>{"use strict";Object.defineProperty(lir,"__esModule",{value:!0});lir.default=void 0;var oVf={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Wah=lir.default=oVf});var vaa=j(cir=>{"use strict";Object.defineProperty(cir,"__esModule",{value:!0});cir.default=void 0;var uVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Zah=cir.default=uVf});var Caa=j(fir=>{"use strict";Object.defineProperty(fir,"__esModule",{value:!0});fir.default=void 0;var lVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},toh=fir.default=lVf});var baa=j(pir=>{"use strict";Object.defineProperty(pir,"__esModule",{value:!0});pir.default=void 0;var cVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},noh=pir.default=cVf});var Iaa=j(dir=>{"use strict";Object.defineProperty(dir,"__esModule",{value:!0});dir.default=void 0;var fVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},soh=dir.default=fVf});var Saa=j(mir=>{"use strict";Object.defineProperty(mir,"__esModule",{value:!0});mir.default=void 0;var pVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},ooh=mir.default=pVf});var Taa=j(gir=>{"use strict";Object.defineProperty(gir,"__esModule",{value:!0});gir.default=void 0;var dVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},loh=gir.default=dVf});var Daa=j(Air=>{"use strict";Object.defineProperty(Air,"__esModule",{value:!0});Air.default=void 0;var mVf={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},foh=Air.default=mVf});var waa=j(hir=>{"use strict";Object.defineProperty(hir,"__esModule",{value:!0});hir.default=void 0;var gVf=z_(qsa()),AVf=z_(Ysa()),hVf=z_(Gsa()),yVf=z_(Vsa()),_Vf=z_($sa()),EVf=z_(Ksa()),xVf=z_(Jsa()),vVf=z_(Hsa()),CVf=z_(zsa()),bVf=z_(Wsa()),IVf=z_(Xsa()),SVf=z_(Zsa()),TVf=z_(eaa()),DVf=z_(taa()),wVf=z_(raa()),BVf=z_(naa()),kVf=z_(iaa()),PVf=z_(saa()),NVf=z_(aaa()),OVf=z_(oaa()),RVf=z_(uaa()),FVf=z_(laa()),LVf=z_(caa()),MVf=z_(faa()),QVf=z_(paa()),jVf=z_(daa()),UVf=z_(maa()),qVf=z_(gaa()),YVf=z_(Aaa()),GVf=z_(haa()),VVf=z_(yaa()),$Vf=z_(_aa()),KVf=z_(Eaa()),JVf=z_(xaa()),HVf=z_(vaa()),zVf=z_(Caa()),WVf=z_(baa()),XVf=z_(Iaa()),ZVf=z_(Saa()),e$f=z_(Taa()),t$f=z_(Daa());function z_(e){return e&&e.__esModule?e:{default:e}}var r$f=[["doc-abstract",gVf.default],["doc-acknowledgments",AVf.default],["doc-afterword",hVf.default],["doc-appendix",yVf.default],["doc-backlink",_Vf.default],["doc-biblioentry",EVf.default],["doc-bibliography",xVf.default],["doc-biblioref",vVf.default],["doc-chapter",CVf.default],["doc-colophon",bVf.default],["doc-conclusion",IVf.default],["doc-cover",SVf.default],["doc-credit",TVf.default],["doc-credits",DVf.default],["doc-dedication",wVf.default],["doc-endnote",BVf.default],["doc-endnotes",kVf.default],["doc-epigraph",PVf.default],["doc-epilogue",NVf.default],["doc-errata",OVf.default],["doc-example",RVf.default],["doc-footnote",FVf.default],["doc-foreword",LVf.default],["doc-glossary",MVf.default],["doc-glossref",QVf.default],["doc-index",jVf.default],["doc-introduction",UVf.default],["doc-noteref",qVf.default],["doc-notice",YVf.default],["doc-pagebreak",GVf.default],["doc-pagefooter",VVf.default],["doc-pageheader",$Vf.default],["doc-pagelist",KVf.default],["doc-part",JVf.default],["doc-preface",HVf.default],["doc-prologue",zVf.default],["doc-pullquote",WVf.default],["doc-qna",XVf.default],["doc-subtitle",ZVf.default],["doc-tip",e$f.default],["doc-toc",t$f.default]],doh=hir.default=r$f});var Baa=j(yir=>{"use strict";Object.defineProperty(yir,"__esModule",{value:!0});yir.default=void 0;var n$f={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},goh=yir.default=n$f});var kaa=j(_ir=>{"use strict";Object.defineProperty(_ir,"__esModule",{value:!0});_ir.default=void 0;var i$f={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},hoh=_ir.default=i$f});var Paa=j(Eir=>{"use strict";Object.defineProperty(Eir,"__esModule",{value:!0});Eir.default=void 0;var s$f={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},_oh=Eir.default=s$f});var Naa=j(xir=>{"use strict";Object.defineProperty(xir,"__esModule",{value:!0});xir.default=void 0;var a$f=eEn(Baa()),o$f=eEn(kaa()),u$f=eEn(Paa());function eEn(e){return e&&e.__esModule?e:{default:e}}var l$f=[["graphics-document",a$f.default],["graphics-object",o$f.default],["graphics-symbol",u$f.default]],xoh=xir.default=l$f});var Cir=j(vir=>{"use strict";Object.defineProperty(vir,"__esModule",{value:!0});vir.default=void 0;var c$f=x_t(fia()),f$f=x_t(Usa()),p$f=x_t(waa()),d$f=x_t(Naa()),m$f=x_t(U$e());function x_t(e){return e&&e.__esModule?e:{default:e}}function tEn(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Raa(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(f){throw f},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s,a=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var f=r.next();return a=f.done,f},e:function(f){u=!0,s=f},f:function(){try{a||r.return==null||r.return()}finally{if(u)throw s}}}}function E_t(e,t){return h$f(e)||A$f(e,t)||Raa(e,t)||g$f()}function g$f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Raa(e,t){if(e){if(typeof e=="string")return Oaa(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Oaa(e,t):void 0}}function Oaa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=tEn(lDe),i;try{for(n.s();!(i=n.n()).done;){var s=E_t(i.value,2),a=s[0],u=s[1];t.call(r,u,a,lDe)}}catch(l){n.e(l)}finally{n.f()}},get:function(t){var r=lDe.filter(function(n){return n[0]===t})[0];return r&&r[1]},has:function(t){return!!rEn.get(t)},keys:function(){return lDe.map(function(t){var r=E_t(t,1),n=r[0];return n})},values:function(){return lDe.map(function(t){var r=E_t(t,2),n=r[1];return n})}},Coh=vir.default=(0,m$f.default)(rEn,rEn.entries())});var qaa=j(Dir=>{"use strict";Object.defineProperty(Dir,"__esModule",{value:!0});Dir.default=void 0;var y$f=jaa(U$e()),Qaa=jaa(Cir());function jaa(e){return e&&e.__esModule?e:{default:e}}function nEn(e,t){return v$f(e)||x$f(e,t)||E$f(e,t)||_$f()}function _$f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E$f(e,t){if(e){if(typeof e=="string")return Faa(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Faa(e,t):void 0}}function Faa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=cDe;n{"use strict";Object.defineProperty(Nir,"__esModule",{value:!0});Nir.default=void 0;var I$f=$aa(U$e()),Vaa=$aa(Cir());function $aa(e){return e&&e.__esModule?e:{default:e}}function aEn(e,t){return w$f(e)||D$f(e,t)||T$f(e,t)||S$f()}function S$f(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T$f(e,t){if(e){if(typeof e=="string")return Yaa(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yaa(e,t):void 0}}function Yaa(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&Z5e.push([oEn,kir])}var oEn,Bir,kir,uEn,lEn,cEn,Pir,wir,fEn={entries:function(){return Z5e},forEach:function(t){for(var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=Z5e;n{"use strict";Object.defineProperty(IZ,"__esModule",{value:!0});IZ.roles=IZ.roleElements=IZ.elementRoles=IZ.dom=IZ.aria=void 0;var B$f=v_t(zna()),k$f=v_t(Xna()),P$f=v_t(Cir()),N$f=v_t(qaa()),O$f=v_t(Kaa());function v_t(e){return e&&e.__esModule?e:{default:e}}var woh=IZ.aria=B$f.default,Boh=IZ.dom=k$f.default,koh=IZ.roles=P$f.default,Poh=IZ.elementRoles=N$f.default,Noh=IZ.roleElements=O$f.default});var C_t=j((Oir,Haa)=>{"use strict";Object.defineProperty(Oir,"__esModule",{value:!0});Oir.default=R$f;var Jaa=Kg();function R$f(e){var t=(0,Jaa.getLiteralPropValue)(e);if(["string","number"].indexOf(typeof t)>-1){if(typeof t=="string"&&t.length===0)return;var r=Number(t);return Number.isNaN(r)?void 0:Number.isInteger(r)?r:void 0}if(!(t===!0||t===!1))return(0,Jaa.getPropValue)(e)}Haa.exports=Oir.default});var zaa=j(Rir=>{"use strict";Object.defineProperty(Rir,"__esModule",{value:!0});Rir.default=void 0;function F$f(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t{"use strict";Object.defineProperty(dEn,"__esModule",{value:!0});dEn.default=j$f;var M$f=Q$f(zaa());function Q$f(e){return e&&e.__esModule?e:{default:e}}function pEn(e){"@babel/helpers - typeof";return pEn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},pEn(e)}function j$f(e,t){return typeof Symbol=="function"&&pEn(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:M$f.default.bind(t)}),e}});var Waa=j(Fir=>{"use strict";Object.defineProperty(Fir,"__esModule",{value:!0});Fir.default=void 0;var U$f={relatedConcepts:[{module:"HTML",concept:{name:"abbr"}}],type:"structure"},q$f=U$f;Fir.default=q$f});var Xaa=j(Lir=>{"use strict";Object.defineProperty(Lir,"__esModule",{value:!0});Lir.default=void 0;var Y$f={relatedConcepts:[{module:"ARIA",concept:{name:"alertdialog"}}],type:"window"},G$f=Y$f;Lir.default=G$f});var Zaa=j(Mir=>{"use strict";Object.defineProperty(Mir,"__esModule",{value:!0});Mir.default=void 0;var V$f={relatedConcepts:[{module:"ARIA",concept:{name:"alert"}}],type:"structure"},$$f=V$f;Mir.default=$$f});var eoa=j(Qir=>{"use strict";Object.defineProperty(Qir,"__esModule",{value:!0});Qir.default=void 0;var K$f={relatedConcepts:[],type:"structure"},J$f=K$f;Qir.default=J$f});var toa=j(jir=>{"use strict";Object.defineProperty(jir,"__esModule",{value:!0});jir.default=void 0;var H$f={relatedConcepts:[{module:"ARIA",concept:{name:"application"}}],type:"window"},z$f=H$f;jir.default=z$f});var roa=j(Uir=>{"use strict";Object.defineProperty(Uir,"__esModule",{value:!0});Uir.default=void 0;var W$f={relatedConcepts:[{module:"ARIA",concept:{name:"article"}},{module:"HTML",concept:{name:"article"}}],type:"structure"},X$f=W$f;Uir.default=X$f});var noa=j(qir=>{"use strict";Object.defineProperty(qir,"__esModule",{value:!0});qir.default=void 0;var Z$f={relatedConcepts:[{module:"HTML",concept:{name:"audio"}}],type:"widget"},eKf=Z$f;qir.default=eKf});var ioa=j(Yir=>{"use strict";Object.defineProperty(Yir,"__esModule",{value:!0});Yir.default=void 0;var tKf={relatedConcepts:[{module:"ARIA",concept:{name:"banner"}}],type:"structure"},rKf=tKf;Yir.default=rKf});var soa=j(Gir=>{"use strict";Object.defineProperty(Gir,"__esModule",{value:!0});Gir.default=void 0;var nKf={relatedConcepts:[{module:"HTML",concept:{name:"blockquote"}}],type:"structure"},iKf=nKf;Gir.default=iKf});var aoa=j(Vir=>{"use strict";Object.defineProperty(Vir,"__esModule",{value:!0});Vir.default=void 0;var sKf={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-busy",value:"true"}]}}],type:"widget"},aKf=sKf;Vir.default=aKf});var ooa=j($ir=>{"use strict";Object.defineProperty($ir,"__esModule",{value:!0});$ir.default=void 0;var oKf={relatedConcepts:[{module:"ARIA",concept:{name:"button"}},{module:"HTML",concept:{name:"button"}}],type:"widget"},uKf=oKf;$ir.default=uKf});var uoa=j(Kir=>{"use strict";Object.defineProperty(Kir,"__esModule",{value:!0});Kir.default=void 0;var lKf={relatedConcepts:[{module:"HTML",concept:{name:"canvas"}}],type:"widget"},cKf=lKf;Kir.default=cKf});var loa=j(Jir=>{"use strict";Object.defineProperty(Jir,"__esModule",{value:!0});Jir.default=void 0;var fKf={relatedConcepts:[{module:"HTML",concept:{name:"caption"}}],type:"structure"},pKf=fKf;Jir.default=pKf});var coa=j(Hir=>{"use strict";Object.defineProperty(Hir,"__esModule",{value:!0});Hir.default=void 0;var dKf={relatedConcepts:[{module:"ARIA",concept:{name:"cell"}},{module:"ARIA",concept:{name:"gridcell"}},{module:"HTML",concept:{name:"td"}}],type:"widget"},mKf=dKf;Hir.default=mKf});var foa=j(zir=>{"use strict";Object.defineProperty(zir,"__esModule",{value:!0});zir.default=void 0;var gKf={relatedConcepts:[{module:"ARIA",concept:{name:"checkbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},AKf=gKf;zir.default=AKf});var poa=j(Wir=>{"use strict";Object.defineProperty(Wir,"__esModule",{value:!0});Wir.default=void 0;var hKf={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"color"}]}}],type:"widget"},yKf=hKf;Wir.default=yKf});var doa=j(Xir=>{"use strict";Object.defineProperty(Xir,"__esModule",{value:!0});Xir.default=void 0;var _Kf={relatedConcepts:[{module:"ARIA",concept:{name:"columnheader"}},{module:"HTML",concept:{name:"th"}}],type:"widget"},EKf=_Kf;Xir.default=EKf});var moa=j(Zir=>{"use strict";Object.defineProperty(Zir,"__esModule",{value:!0});Zir.default=void 0;var xKf={relatedConcepts:[],type:"structure"},vKf=xKf;Zir.default=vKf});var goa=j(esr=>{"use strict";Object.defineProperty(esr,"__esModule",{value:!0});esr.default=void 0;var CKf={relatedConcepts:[{module:"ARIA",concept:{name:"combobox"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},bKf=CKf;esr.default=bKf});var Aoa=j(tsr=>{"use strict";Object.defineProperty(tsr,"__esModule",{value:!0});tsr.default=void 0;var IKf={relatedConcepts:[{module:"ARIA",concept:{name:"complementary"}}],type:"structure"},SKf=IKf;tsr.default=SKf});var hoa=j(rsr=>{"use strict";Object.defineProperty(rsr,"__esModule",{value:!0});rsr.default=void 0;var TKf={relatedConcepts:[{module:"ARIA",concept:{name:"structureinfo"}}],type:"structure"},DKf=TKf;rsr.default=DKf});var yoa=j(nsr=>{"use strict";Object.defineProperty(nsr,"__esModule",{value:!0});nsr.default=void 0;var wKf={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"date"}]}}],type:"widget"},BKf=wKf;nsr.default=BKf});var _oa=j(isr=>{"use strict";Object.defineProperty(isr,"__esModule",{value:!0});isr.default=void 0;var kKf={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"datetime"}]}}],type:"widget"},PKf=kKf;isr.default=PKf});var Eoa=j(ssr=>{"use strict";Object.defineProperty(ssr,"__esModule",{value:!0});ssr.default=void 0;var NKf={relatedConcepts:[{module:"HTML",concept:{name:"dfn"}}],type:"structure"},OKf=NKf;ssr.default=OKf});var xoa=j(asr=>{"use strict";Object.defineProperty(asr,"__esModule",{value:!0});asr.default=void 0;var RKf={relatedConcepts:[{module:"HTML",concept:{name:"dd"}}],type:"structure"},FKf=RKf;asr.default=FKf});var voa=j(osr=>{"use strict";Object.defineProperty(osr,"__esModule",{value:!0});osr.default=void 0;var LKf={relatedConcepts:[{module:"HTML",concept:{name:"dl"}}],type:"structure"},MKf=LKf;osr.default=MKf});var Coa=j(usr=>{"use strict";Object.defineProperty(usr,"__esModule",{value:!0});usr.default=void 0;var QKf={relatedConcepts:[{module:"HTML",concept:{name:"dt"}}],type:"structure"},jKf=QKf;usr.default=jKf});var boa=j(lsr=>{"use strict";Object.defineProperty(lsr,"__esModule",{value:!0});lsr.default=void 0;var UKf={relatedConcepts:[{module:"HTML",concept:{name:"details"}}],type:"structure"},qKf=UKf;lsr.default=qKf});var Ioa=j(csr=>{"use strict";Object.defineProperty(csr,"__esModule",{value:!0});csr.default=void 0;var YKf={relatedConcepts:[{module:"ARIA",concept:{name:"dialog"}},{module:"HTML",concept:{name:"dialog"}}],type:"window"},GKf=YKf;csr.default=GKf});var Soa=j(fsr=>{"use strict";Object.defineProperty(fsr,"__esModule",{value:!0});fsr.default=void 0;var VKf={relatedConcepts:[{module:"ARIA",concept:{name:"directory"}},{module:"HTML",concept:{name:"dir"}}],type:"structure"},$Kf=VKf;fsr.default=$Kf});var Toa=j(psr=>{"use strict";Object.defineProperty(psr,"__esModule",{value:!0});psr.default=void 0;var KKf={relatedConcepts:[{module:"HTML",concept:{constraints:["scoped to a details element"],name:"summary"}}],type:"widget"},JKf=KKf;psr.default=JKf});var Doa=j(dsr=>{"use strict";Object.defineProperty(dsr,"__esModule",{value:!0});dsr.default=void 0;var HKf={relatedConcepts:[{module:"HTML",concept:{name:"div"}}],type:"generic"},zKf=HKf;dsr.default=zKf});var woa=j(msr=>{"use strict";Object.defineProperty(msr,"__esModule",{value:!0});msr.default=void 0;var WKf={relatedConcepts:[{module:"ARIA",concept:{name:"document"}}],type:"structure"},XKf=WKf;msr.default=XKf});var Boa=j(gsr=>{"use strict";Object.defineProperty(gsr,"__esModule",{value:!0});gsr.default=void 0;var ZKf={relatedConcepts:[{module:"HTML",concept:{name:"embed"}}],type:"widget"},eJf=ZKf;gsr.default=eJf});var koa=j(Asr=>{"use strict";Object.defineProperty(Asr,"__esModule",{value:!0});Asr.default=void 0;var tJf={relatedConcepts:[{module:"ARIA",concept:{name:"feed"}}],type:"structure"},rJf=tJf;Asr.default=rJf});var Poa=j(hsr=>{"use strict";Object.defineProperty(hsr,"__esModule",{value:!0});hsr.default=void 0;var nJf={relatedConcepts:[{module:"HTML",concept:{name:"figcaption"}}],type:"structure"},iJf=nJf;hsr.default=iJf});var Noa=j(ysr=>{"use strict";Object.defineProperty(ysr,"__esModule",{value:!0});ysr.default=void 0;var sJf={relatedConcepts:[{module:"ARIA",concept:{name:"figure"}},{module:"HTML",concept:{name:"figure"}}],type:"structure"},aJf=sJf;ysr.default=aJf});var Ooa=j(_sr=>{"use strict";Object.defineProperty(_sr,"__esModule",{value:!0});_sr.default=void 0;var oJf={relatedConcepts:[{module:"HTML",concept:{name:"footer"}}],type:"structure"},uJf=oJf;_sr.default=uJf});var Roa=j(Esr=>{"use strict";Object.defineProperty(Esr,"__esModule",{value:!0});Esr.default=void 0;var lJf={relatedConcepts:[{module:"ARIA",concept:{name:"form"}},{module:"HTML",concept:{name:"form"}}],type:"structure"},cJf=lJf;Esr.default=cJf});var Foa=j(xsr=>{"use strict";Object.defineProperty(xsr,"__esModule",{value:!0});xsr.default=void 0;var fJf={relatedConcepts:[{module:"ARIA",concept:{name:"grid"}}],type:"widget"},pJf=fJf;xsr.default=pJf});var Loa=j(vsr=>{"use strict";Object.defineProperty(vsr,"__esModule",{value:!0});vsr.default=void 0;var dJf={relatedConcepts:[{module:"ARIA",concept:{name:"group"}}],type:"structure"},mJf=dJf;vsr.default=mJf});var Moa=j(Csr=>{"use strict";Object.defineProperty(Csr,"__esModule",{value:!0});Csr.default=void 0;var gJf={relatedConcepts:[{module:"ARIA",concept:{name:"heading"}},{module:"HTML",concept:{name:"h1"}},{module:"HTML",concept:{name:"h2"}},{module:"HTML",concept:{name:"h3"}},{module:"HTML",concept:{name:"h4"}},{module:"HTML",concept:{name:"h5"}},{module:"HTML",concept:{name:"h6"}}],type:"structure"},AJf=gJf;Csr.default=AJf});var Qoa=j(bsr=>{"use strict";Object.defineProperty(bsr,"__esModule",{value:!0});bsr.default=void 0;var hJf={relatedConcepts:[],type:"window"},yJf=hJf;bsr.default=yJf});var joa=j(Isr=>{"use strict";Object.defineProperty(Isr,"__esModule",{value:!0});Isr.default=void 0;var _Jf={relatedConcepts:[{module:"HTML",concept:{name:"iframe"}}],type:"window"},EJf=_Jf;Isr.default=EJf});var Uoa=j(Ssr=>{"use strict";Object.defineProperty(Ssr,"__esModule",{value:!0});Ssr.default=void 0;var xJf={relatedConcepts:[],type:"structure"},vJf=xJf;Ssr.default=vJf});var qoa=j(Tsr=>{"use strict";Object.defineProperty(Tsr,"__esModule",{value:!0});Tsr.default=void 0;var CJf={relatedConcepts:[],type:"widget"},bJf=CJf;Tsr.default=bJf});var Yoa=j(Dsr=>{"use strict";Object.defineProperty(Dsr,"__esModule",{value:!0});Dsr.default=void 0;var IJf={relatedConcepts:[{module:"HTML",concept:{name:"img",attributes:[{name:"usemap"}]}}],type:"structure"},SJf=IJf;Dsr.default=SJf});var Goa=j(wsr=>{"use strict";Object.defineProperty(wsr,"__esModule",{value:!0});wsr.default=void 0;var TJf={relatedConcepts:[{module:"ARIA",concept:{name:"img"}},{module:"HTML",concept:{name:"img"}}],type:"structure"},DJf=TJf;wsr.default=DJf});var Voa=j(Bsr=>{"use strict";Object.defineProperty(Bsr,"__esModule",{value:!0});Bsr.default=void 0;var wJf={relatedConcepts:[{module:"HTML",concept:{name:"input"}}],type:"widget"},BJf=wJf;Bsr.default=BJf});var $oa=j(ksr=>{"use strict";Object.defineProperty(ksr,"__esModule",{value:!0});ksr.default=void 0;var kJf={relatedConcepts:[{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"time"}]}}],type:"widget"},PJf=kJf;ksr.default=PJf});var Koa=j(Psr=>{"use strict";Object.defineProperty(Psr,"__esModule",{value:!0});Psr.default=void 0;var NJf={relatedConcepts:[{module:"HTML",concept:{name:"label"}}],type:"structure"},OJf=NJf;Psr.default=OJf});var Joa=j(Nsr=>{"use strict";Object.defineProperty(Nsr,"__esModule",{value:!0});Nsr.default=void 0;var RJf={relatedConcepts:[{module:"HTML",concept:{name:"legend"}}],type:"structure"},FJf=RJf;Nsr.default=FJf});var Hoa=j(Osr=>{"use strict";Object.defineProperty(Osr,"__esModule",{value:!0});Osr.default=void 0;var LJf={relatedConcepts:[{module:"HTML",concept:{name:"br"}}],type:"structure"},MJf=LJf;Osr.default=MJf});var zoa=j(Rsr=>{"use strict";Object.defineProperty(Rsr,"__esModule",{value:!0});Rsr.default=void 0;var QJf={relatedConcepts:[{module:"ARIA",concept:{name:"link"}},{module:"HTML",concept:{name:"a",attributes:[{name:"href"}]}}],type:"widget"},jJf=QJf;Rsr.default=jJf});var Woa=j(Fsr=>{"use strict";Object.defineProperty(Fsr,"__esModule",{value:!0});Fsr.default=void 0;var UJf={relatedConcepts:[{module:"ARIA",concept:{name:"option"}},{module:"HTML",concept:{name:"option"}}],type:"widget"},qJf=UJf;Fsr.default=qJf});var Xoa=j(Lsr=>{"use strict";Object.defineProperty(Lsr,"__esModule",{value:!0});Lsr.default=void 0;var YJf={relatedConcepts:[{module:"ARIA",concept:{name:"listbox"}},{module:"HTML",concept:{name:"datalist"}},{module:"HTML",concept:{name:"select"}}],type:"widget"},GJf=YJf;Lsr.default=GJf});var Zoa=j(Msr=>{"use strict";Object.defineProperty(Msr,"__esModule",{value:!0});Msr.default=void 0;var VJf={relatedConcepts:[{module:"ARIA",concept:{name:"listitem"}},{module:"HTML",concept:{name:"li"}}],type:"structure"},$Jf=VJf;Msr.default=$Jf});var eua=j(Qsr=>{"use strict";Object.defineProperty(Qsr,"__esModule",{value:!0});Qsr.default=void 0;var KJf={relatedConcepts:[],type:"structure"},JJf=KJf;Qsr.default=JJf});var tua=j(jsr=>{"use strict";Object.defineProperty(jsr,"__esModule",{value:!0});jsr.default=void 0;var HJf={relatedConcepts:[{module:"ARIA",concept:{name:"list"}},{module:"HTML",concept:{name:"ul"}},{module:"HTML",concept:{name:"ol"}}],type:"structure"},zJf=HJf;jsr.default=zJf});var rua=j(Usr=>{"use strict";Object.defineProperty(Usr,"__esModule",{value:!0});Usr.default=void 0;var WJf={relatedConcepts:[{module:"ARIA",concept:{name:"log"}}],type:"structure"},XJf=WJf;Usr.default=XJf});var nua=j(qsr=>{"use strict";Object.defineProperty(qsr,"__esModule",{value:!0});qsr.default=void 0;var ZJf={relatedConcepts:[{module:"ARIA",concept:{name:"main"}},{module:"HTML",concept:{name:"main"}}],type:"structure"},eHf=ZJf;qsr.default=eHf});var iua=j(Ysr=>{"use strict";Object.defineProperty(Ysr,"__esModule",{value:!0});Ysr.default=void 0;var tHf={relatedConcepts:[{module:"HTML",concept:{name:"mark"}}],type:"structure"},rHf=tHf;Ysr.default=rHf});var sua=j(Gsr=>{"use strict";Object.defineProperty(Gsr,"__esModule",{value:!0});Gsr.default=void 0;var nHf={relatedConcepts:[{module:"ARIA",concept:{name:"marquee"}},{module:"HTML",concept:{name:"marquee"}}],type:"structure"},iHf=nHf;Gsr.default=iHf});var aua=j(Vsr=>{"use strict";Object.defineProperty(Vsr,"__esModule",{value:!0});Vsr.default=void 0;var sHf={relatedConcepts:[{module:"ARIA",concept:{name:"math"}}],type:"structure"},aHf=sHf;Vsr.default=aHf});var oua=j($sr=>{"use strict";Object.defineProperty($sr,"__esModule",{value:!0});$sr.default=void 0;var oHf={relatedConcepts:[{module:"ARIA",concept:{name:"menubar"}}],type:"structure"},uHf=oHf;$sr.default=uHf});var uua=j(Ksr=>{"use strict";Object.defineProperty(Ksr,"__esModule",{value:!0});Ksr.default=void 0;var lHf={relatedConcepts:[],type:"widget"},cHf=lHf;Ksr.default=cHf});var lua=j(Jsr=>{"use strict";Object.defineProperty(Jsr,"__esModule",{value:!0});Jsr.default=void 0;var fHf={relatedConcepts:[{module:"ARIA",concept:{name:"menuitem"}},{module:"HTML",concept:{name:"menuitem"}}],type:"widget"},pHf=fHf;Jsr.default=pHf});var cua=j(Hsr=>{"use strict";Object.defineProperty(Hsr,"__esModule",{value:!0});Hsr.default=void 0;var dHf={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemcheckbox"}}],type:"widget"},mHf=dHf;Hsr.default=mHf});var fua=j(zsr=>{"use strict";Object.defineProperty(zsr,"__esModule",{value:!0});zsr.default=void 0;var gHf={relatedConcepts:[{module:"ARIA",concept:{name:"menuitemradio"}}],type:"widget"},AHf=gHf;zsr.default=AHf});var pua=j(Wsr=>{"use strict";Object.defineProperty(Wsr,"__esModule",{value:!0});Wsr.default=void 0;var hHf={relatedConcepts:[],type:"widget"},yHf=hHf;Wsr.default=yHf});var dua=j(Xsr=>{"use strict";Object.defineProperty(Xsr,"__esModule",{value:!0});Xsr.default=void 0;var _Hf={relatedConcepts:[],type:"widget"},EHf=_Hf;Xsr.default=EHf});var mua=j(Zsr=>{"use strict";Object.defineProperty(Zsr,"__esModule",{value:!0});Zsr.default=void 0;var xHf={relatedConcepts:[{module:"ARIA",concept:{name:"menu"}},{module:"HTML",concept:{name:"menu"}}],type:"structure"},vHf=xHf;Zsr.default=vHf});var gua=j(ear=>{"use strict";Object.defineProperty(ear,"__esModule",{value:!0});ear.default=void 0;var CHf={relatedConcepts:[{module:"HTML",concept:{name:"meter"}}],type:"structure"},bHf=CHf;ear.default=bHf});var Aua=j(tar=>{"use strict";Object.defineProperty(tar,"__esModule",{value:!0});tar.default=void 0;var IHf={relatedConcepts:[{module:"ARIA",concept:{name:"navigation"}},{module:"HTML",concept:{name:"nav"}}],type:"structure"},SHf=IHf;tar.default=SHf});var hua=j(rar=>{"use strict";Object.defineProperty(rar,"__esModule",{value:!0});rar.default=void 0;var THf={relatedConcepts:[{module:"ARIA",concept:{name:"none"}}],type:"structure"},DHf=THf;rar.default=DHf});var yua=j(nar=>{"use strict";Object.defineProperty(nar,"__esModule",{value:!0});nar.default=void 0;var wHf={relatedConcepts:[{module:"ARIA",concept:{name:"note"}}],type:"structure"},BHf=wHf;nar.default=BHf});var _ua=j(iar=>{"use strict";Object.defineProperty(iar,"__esModule",{value:!0});iar.default=void 0;var kHf={relatedConcepts:[],type:"structure"},PHf=kHf;iar.default=PHf});var Eua=j(sar=>{"use strict";Object.defineProperty(sar,"__esModule",{value:!0});sar.default=void 0;var NHf={relatedConcepts:[{module:"HTML",concept:{name:"p"}}],type:"structure"},OHf=NHf;sar.default=OHf});var xua=j(aar=>{"use strict";Object.defineProperty(aar,"__esModule",{value:!0});aar.default=void 0;var RHf={relatedConcepts:[],type:"widget"},FHf=RHf;aar.default=FHf});var vua=j(oar=>{"use strict";Object.defineProperty(oar,"__esModule",{value:!0});oar.default=void 0;var LHf={relatedConcepts:[{module:"HTML",concept:{name:"pre"}}],type:"structure"},MHf=LHf;oar.default=MHf});var Cua=j(uar=>{"use strict";Object.defineProperty(uar,"__esModule",{value:!0});uar.default=void 0;var QHf={relatedConcepts:[{module:"ARIA",concept:{name:"presentation"}}],type:"structure"},jHf=QHf;uar.default=jHf});var bua=j(lar=>{"use strict";Object.defineProperty(lar,"__esModule",{value:!0});lar.default=void 0;var UHf={relatedConcepts:[{module:"ARIA",concept:{name:"progressbar"}},{module:"HTML",concept:{name:"progress"}}],type:"structure"},qHf=UHf;lar.default=qHf});var Iua=j(car=>{"use strict";Object.defineProperty(car,"__esModule",{value:!0});car.default=void 0;var YHf={relatedConcepts:[{module:"ARIA",concept:{name:"radio"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"radio"}]}}],type:"widget"},GHf=YHf;car.default=GHf});var Sua=j(far=>{"use strict";Object.defineProperty(far,"__esModule",{value:!0});far.default=void 0;var VHf={relatedConcepts:[{module:"ARIA",concept:{name:"radiogroup"}}],type:"structure"},$Hf=VHf;far.default=$Hf});var Tua=j(par=>{"use strict";Object.defineProperty(par,"__esModule",{value:!0});par.default=void 0;var KHf={relatedConcepts:[{module:"ARIA",concept:{name:"region"}}],type:"structure"},JHf=KHf;par.default=JHf});var Dua=j(dar=>{"use strict";Object.defineProperty(dar,"__esModule",{value:!0});dar.default=void 0;var HHf={relatedConcepts:[],type:"structure"},zHf=HHf;dar.default=zHf});var wua=j(mar=>{"use strict";Object.defineProperty(mar,"__esModule",{value:!0});mar.default=void 0;var WHf={relatedConcepts:[{module:"ARIA",concept:{name:"rowheader"}},{module:"HTML",concept:{name:"th",attributes:[{name:"scope",value:"row"}]}}],type:"widget"},XHf=WHf;mar.default=XHf});var Bua=j(gar=>{"use strict";Object.defineProperty(gar,"__esModule",{value:!0});gar.default=void 0;var ZHf={relatedConcepts:[{module:"ARIA",concept:{name:"row"}},{module:"HTML",concept:{name:"tr"}}],type:"structure"},ezf=ZHf;gar.default=ezf});var kua=j(Aar=>{"use strict";Object.defineProperty(Aar,"__esModule",{value:!0});Aar.default=void 0;var tzf={relatedConcepts:[{module:"HTML",concept:{name:"ruby"}}],type:"structure"},rzf=tzf;Aar.default=rzf});var Pua=j(har=>{"use strict";Object.defineProperty(har,"__esModule",{value:!0});har.default=void 0;var nzf={relatedConcepts:[],type:"structure"},izf=nzf;har.default=izf});var Nua=j(yar=>{"use strict";Object.defineProperty(yar,"__esModule",{value:!0});yar.default=void 0;var szf={relatedConcepts:[],type:"structure"},azf=szf;yar.default=azf});var Oua=j(_ar=>{"use strict";Object.defineProperty(_ar,"__esModule",{value:!0});_ar.default=void 0;var ozf={relatedConcepts:[{module:"ARIA",concept:{name:"scrollbar"}}],type:"widget"},uzf=ozf;_ar.default=uzf});var Rua=j(Ear=>{"use strict";Object.defineProperty(Ear,"__esModule",{value:!0});Ear.default=void 0;var lzf={relatedConcepts:[],type:"structure"},czf=lzf;Ear.default=czf});var Fua=j(xar=>{"use strict";Object.defineProperty(xar,"__esModule",{value:!0});xar.default=void 0;var fzf={relatedConcepts:[{module:"ARIA",concept:{name:"search"}}],type:"structure"},pzf=fzf;xar.default=pzf});var Lua=j(Car=>{"use strict";Object.defineProperty(Car,"__esModule",{value:!0});Car.default=void 0;var dzf={relatedConcepts:[{module:"ARIA",concept:{name:"searchbox"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"search"}]}}],type:"widget"},mzf=dzf;Car.default=mzf});var Mua=j(bar=>{"use strict";Object.defineProperty(bar,"__esModule",{value:!0});bar.default=void 0;var gzf={relatedConcepts:[{module:"ARIA",concept:{name:"slider"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"range"}]}}],type:"widget"},Azf=gzf;bar.default=Azf});var Qua=j(Iar=>{"use strict";Object.defineProperty(Iar,"__esModule",{value:!0});Iar.default=void 0;var hzf={relatedConcepts:[],type:"structure"},yzf=hzf;Iar.default=yzf});var jua=j(Sar=>{"use strict";Object.defineProperty(Sar,"__esModule",{value:!0});Sar.default=void 0;var _zf={relatedConcepts:[{module:"ARIA",concept:{name:"spinbutton"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"number"}]}}],type:"widget"},Ezf=_zf;Sar.default=Ezf});var Uua=j(Tar=>{"use strict";Object.defineProperty(Tar,"__esModule",{value:!0});Tar.default=void 0;var xzf={relatedConcepts:[],type:"structure"},vzf=xzf;Tar.default=vzf});var qua=j(Dar=>{"use strict";Object.defineProperty(Dar,"__esModule",{value:!0});Dar.default=void 0;var Czf={relatedConcepts:[{module:"ARIA",concept:{name:"separator"}}],type:"widget"},bzf=Czf;Dar.default=bzf});var Yua=j(war=>{"use strict";Object.defineProperty(war,"__esModule",{value:!0});war.default=void 0;var Izf={relatedConcepts:[],type:"structure"},Szf=Izf;war.default=Szf});var Gua=j(Bar=>{"use strict";Object.defineProperty(Bar,"__esModule",{value:!0});Bar.default=void 0;var Tzf={relatedConcepts:[{module:"ARIA",concept:{name:"status"}}],type:"structure"},Dzf=Tzf;Bar.default=Dzf});var Vua=j(kar=>{"use strict";Object.defineProperty(kar,"__esModule",{value:!0});kar.default=void 0;var wzf={relatedConcepts:[],type:"structure"},Bzf=wzf;kar.default=Bzf});var $ua=j(Par=>{"use strict";Object.defineProperty(Par,"__esModule",{value:!0});Par.default=void 0;var kzf={relatedConcepts:[{module:"ARIA",concept:{name:"switch"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"checkbox"}]}}],type:"widget"},Pzf=kzf;Par.default=Pzf});var Kua=j(Nar=>{"use strict";Object.defineProperty(Nar,"__esModule",{value:!0});Nar.default=void 0;var Nzf={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},Ozf=Nzf;Nar.default=Ozf});var Jua=j(Oar=>{"use strict";Object.defineProperty(Oar,"__esModule",{value:!0});Oar.default=void 0;var Rzf={relatedConcepts:[{module:"ARIA",concept:{name:"tab"}}],type:"widget"},Fzf=Rzf;Oar.default=Fzf});var Hua=j(Rar=>{"use strict";Object.defineProperty(Rar,"__esModule",{value:!0});Rar.default=void 0;var Lzf={relatedConcepts:[],type:"structure"},Mzf=Lzf;Rar.default=Mzf});var zua=j(Far=>{"use strict";Object.defineProperty(Far,"__esModule",{value:!0});Far.default=void 0;var Qzf={relatedConcepts:[{module:"ARIA",concept:{name:"table"}},{module:"HTML",concept:{name:"table"}}],type:"structure"},jzf=Qzf;Far.default=jzf});var Wua=j(Lar=>{"use strict";Object.defineProperty(Lar,"__esModule",{value:!0});Lar.default=void 0;var Uzf={relatedConcepts:[{module:"ARIA",concept:{name:"tablist"}}],type:"structure"},qzf=Uzf;Lar.default=qzf});var Xua=j(Mar=>{"use strict";Object.defineProperty(Mar,"__esModule",{value:!0});Mar.default=void 0;var Yzf={relatedConcepts:[{module:"ARIA",concept:{name:"tabpanel"}}],type:"structure"},Gzf=Yzf;Mar.default=Gzf});var Zua=j(Qar=>{"use strict";Object.defineProperty(Qar,"__esModule",{value:!0});Qar.default=void 0;var Vzf={relatedConcepts:[{module:"ARIA",concept:{name:"term"}}],type:"structure"},$zf=Vzf;Qar.default=$zf});var ela=j(jar=>{"use strict";Object.defineProperty(jar,"__esModule",{value:!0});jar.default=void 0;var Kzf={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-multiline",value:"true"}],name:"textbox"}},{module:"HTML",concept:{name:"textarea"}}],type:"widget"},Jzf=Kzf;jar.default=Jzf});var tla=j(Uar=>{"use strict";Object.defineProperty(Uar,"__esModule",{value:!0});Uar.default=void 0;var Hzf={relatedConcepts:[{module:"ARIA",concept:{name:"textbox"}},{module:"HTML",concept:{name:"input"}},{module:"HTML",concept:{name:"input",attributes:[{name:"type",value:"text"}]}}],type:"widget"},zzf=Hzf;Uar.default=zzf});var rla=j(qar=>{"use strict";Object.defineProperty(qar,"__esModule",{value:!0});qar.default=void 0;var Wzf={relatedConcepts:[{module:"HTML",concept:{name:"time"}}],type:"structure"},Xzf=Wzf;qar.default=Xzf});var nla=j(Yar=>{"use strict";Object.defineProperty(Yar,"__esModule",{value:!0});Yar.default=void 0;var Zzf={relatedConcepts:[{module:"ARIA",concept:{name:"timer"}}],type:"structure"},eWf=Zzf;Yar.default=eWf});var ila=j(Gar=>{"use strict";Object.defineProperty(Gar,"__esModule",{value:!0});Gar.default=void 0;var tWf={relatedConcepts:[{module:"ARIA",concept:{attributes:[{name:"aria-pressed"}]}}],type:"widget"},rWf=tWf;Gar.default=rWf});var sla=j(Var=>{"use strict";Object.defineProperty(Var,"__esModule",{value:!0});Var.default=void 0;var nWf={relatedConcepts:[{module:"ARIA",concept:{name:"toolbar"}}],type:"structure"},iWf=nWf;Var.default=iWf});var ala=j($ar=>{"use strict";Object.defineProperty($ar,"__esModule",{value:!0});$ar.default=void 0;var sWf={relatedConcepts:[{module:"ARIA",concept:{name:"tree"}}],type:"widget"},aWf=sWf;$ar.default=aWf});var ola=j(Kar=>{"use strict";Object.defineProperty(Kar,"__esModule",{value:!0});Kar.default=void 0;var oWf={relatedConcepts:[{module:"ARIA",concept:{name:"treegrid"}}],type:"widget"},uWf=oWf;Kar.default=uWf});var ula=j(Jar=>{"use strict";Object.defineProperty(Jar,"__esModule",{value:!0});Jar.default=void 0;var lWf={relatedConcepts:[{module:"ARIA",concept:{name:"treeitem"}}],type:"widget"},cWf=lWf;Jar.default=cWf});var lla=j(Har=>{"use strict";Object.defineProperty(Har,"__esModule",{value:!0});Har.default=void 0;var fWf={relatedConcepts:[{module:"ARIA",concept:{name:"tooltip"}}],type:"structure"},pWf=fWf;Har.default=pWf});var cla=j(zar=>{"use strict";Object.defineProperty(zar,"__esModule",{value:!0});zar.default=void 0;var dWf={relatedConcepts:[{module:"HTML",concept:{name:"video"}}],type:"widget"},mWf=dWf;zar.default=mWf});var fla=j(War=>{"use strict";Object.defineProperty(War,"__esModule",{value:!0});War.default=void 0;var gWf={relatedConcepts:[],type:"structure"},AWf=gWf;War.default=AWf});var pla=j(Xar=>{"use strict";Object.defineProperty(Xar,"__esModule",{value:!0});Xar.default=void 0;var hWf={relatedConcepts:[],type:"window"},yWf=hWf;Xar.default=yWf});var I_t=j(Zar=>{"use strict";Object.defineProperty(Zar,"__esModule",{value:!0});Zar.default=void 0;var _Wf=zl(b_t()),EWf=zl(Waa()),xWf=zl(Xaa()),vWf=zl(Zaa()),CWf=zl(eoa()),bWf=zl(toa()),IWf=zl(roa()),SWf=zl(noa()),TWf=zl(ioa()),DWf=zl(soa()),wWf=zl(aoa()),BWf=zl(ooa()),kWf=zl(uoa()),PWf=zl(loa()),NWf=zl(coa()),OWf=zl(foa()),RWf=zl(poa()),FWf=zl(doa()),LWf=zl(moa()),MWf=zl(goa()),QWf=zl(Aoa()),jWf=zl(hoa()),UWf=zl(yoa()),qWf=zl(_oa()),YWf=zl(Eoa()),GWf=zl(xoa()),VWf=zl(voa()),$Wf=zl(Coa()),KWf=zl(boa()),JWf=zl(Ioa()),HWf=zl(Soa()),zWf=zl(Toa()),WWf=zl(Doa()),XWf=zl(woa()),ZWf=zl(Boa()),eXf=zl(koa()),tXf=zl(Poa()),rXf=zl(Noa()),nXf=zl(Ooa()),iXf=zl(Roa()),sXf=zl(Foa()),aXf=zl(Loa()),oXf=zl(Moa()),uXf=zl(Qoa()),lXf=zl(joa()),cXf=zl(Uoa()),fXf=zl(qoa()),pXf=zl(Yoa()),dXf=zl(Goa()),mXf=zl(Voa()),gXf=zl($oa()),AXf=zl(Koa()),hXf=zl(Joa()),yXf=zl(Hoa()),_Xf=zl(zoa()),EXf=zl(Woa()),xXf=zl(Xoa()),vXf=zl(Zoa()),CXf=zl(eua()),bXf=zl(tua()),IXf=zl(rua()),SXf=zl(nua()),TXf=zl(iua()),DXf=zl(sua()),wXf=zl(aua()),BXf=zl(oua()),kXf=zl(uua()),PXf=zl(lua()),NXf=zl(cua()),OXf=zl(fua()),RXf=zl(pua()),FXf=zl(dua()),LXf=zl(mua()),MXf=zl(gua()),QXf=zl(Aua()),jXf=zl(hua()),UXf=zl(yua()),qXf=zl(_ua()),YXf=zl(Eua()),GXf=zl(xua()),VXf=zl(vua()),$Xf=zl(Cua()),KXf=zl(bua()),JXf=zl(Iua()),HXf=zl(Sua()),zXf=zl(Tua()),WXf=zl(Dua()),XXf=zl(wua()),ZXf=zl(Bua()),eZf=zl(kua()),tZf=zl(Pua()),rZf=zl(Nua()),nZf=zl(Oua()),iZf=zl(Rua()),sZf=zl(Fua()),aZf=zl(Lua()),oZf=zl(Mua()),uZf=zl(Qua()),lZf=zl(jua()),cZf=zl(Uua()),fZf=zl(qua()),pZf=zl(Yua()),dZf=zl(Gua()),mZf=zl(Vua()),gZf=zl($ua()),AZf=zl(Kua()),hZf=zl(Jua()),yZf=zl(Hua()),_Zf=zl(zua()),EZf=zl(Wua()),xZf=zl(Xua()),vZf=zl(Zua()),CZf=zl(ela()),bZf=zl(tla()),IZf=zl(rla()),SZf=zl(nla()),TZf=zl(ila()),DZf=zl(sla()),wZf=zl(ala()),BZf=zl(ola()),kZf=zl(ula()),PZf=zl(lla()),NZf=zl(cla()),OZf=zl(fla()),RZf=zl(pla());function zl(e){return e&&e.__esModule?e:{default:e}}function mEn(e,t){return QZf(e)||MZf(e,t)||LZf(e,t)||FZf()}function FZf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function LZf(e,t){if(e){if(typeof e=="string")return dla(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dla(e,t)}}function dla(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=G$e;n{"use strict";Object.defineProperty(tor,"__esModule",{value:!0});tor.default=void 0;var UZf=hla(b_t()),qZf=hla(I_t());function hla(e){return e&&e.__esModule?e:{default:e}}function S_t(e,t){return VZf(e)||GZf(e,t)||yla(e,t)||YZf()}function YZf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function GZf(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(l){s=!0,u=l}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function VZf(e){if(Array.isArray(e))return e}function $Zf(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=yla(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(f){throw f},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var f=r.next();return s=f.done,f},e:function(f){a=!0,u=f},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function yla(e,t){if(e){if(typeof e=="string")return mla(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mla(e,t)}}function mla(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=jpe;n{"use strict";Object.defineProperty(nor,"__esModule",{value:!0});nor.default=void 0;var JZf=Cla(b_t()),HZf=Cla(I_t());function Cla(e){return e&&e.__esModule?e:{default:e}}function T_t(e,t){return XZf(e)||WZf(e,t)||bla(e,t)||zZf()}function zZf(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function WZf(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(l){s=!0,u=l}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function XZf(e){if(Array.isArray(e))return e}function ZZf(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=bla(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(f){throw f},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var f=r.next();return s=f.done,f},e:function(f){a=!0,u=f},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function bla(e,t){if(e){if(typeof e=="string")return Ela(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Ela(e,t)}}function Ela(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=Upe;n{"use strict";Object.defineProperty(aor,"__esModule",{value:!0});aor.default=void 0;var tep=wla(I_t()),rep=wla(b_t());function wla(e){return e&&e.__esModule?e:{default:e}}function sor(e,t){return sep(e)||iep(e,t)||Bla(e,t)||nep()}function nep(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function iep(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],i=!0,s=!1,a,u;try{for(r=r.call(e);!(i=(a=r.next()).done)&&(n.push(a.value),!(t&&n.length===t));i=!0);}catch(l){s=!0,u=l}finally{try{!i&&r.return!=null&&r.return()}finally{if(s)throw u}}return n}}function sep(e){if(Array.isArray(e))return e}function aep(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Bla(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(f){throw f},f:i}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var s=!0,a=!1,u;return{s:function(){r=r.call(e)},n:function(){var f=r.next();return s=f.done,f},e:function(f){a=!0,u=f},f:function(){try{!s&&r.return!=null&&r.return()}finally{if(a)throw u}}}}function Bla(e,t){if(e){if(typeof e=="string")return Sla(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Sla(e,t)}}function Sla(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&arguments[1]!==void 0?arguments[1]:null,n=0,i=SZ;n{"use strict";Object.defineProperty(qpe,"__esModule",{value:!0});qpe.elementAXObjects=qpe.AXObjects=qpe.AXObjectRoles=qpe.AXObjectElements=void 0;var lep=oor(_la()),cep=oor(Ila()),fep=oor(I_t()),pep=oor(kla());function oor(e){return e&&e.__esModule?e:{default:e}}var dep=lep.default;qpe.AXObjectElements=dep;var mep=cep.default;qpe.AXObjectRoles=mep;var gep=fep.default;qpe.AXObjects=gep;var Aep=pep.default;qpe.elementAXObjects=Aep});var _En=j((D_t,Nla)=>{"use strict";Object.defineProperty(D_t,"__esModule",{value:!0});D_t.default=void 0;var Pla=Kg();function hep(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.every(function(r){return t.some(function(n){return!(n.type!=="JSXAttribute"||r.name!==(0,Pla.propName)(n)||r.value&&r.value!==(0,Pla.getLiteralPropValue)(n))})})}var ich=D_t.default=hep;Nla.exports=D_t.default});var Ype=j((B_t,Qla)=>{"use strict";Object.defineProperty(B_t,"__esModule",{value:!0});B_t.default=void 0;var w_t=ST(),EEn=uor(),Ola=CEn(LS()),vEn=CEn(cJ()),yep=CEn(_En());function CEn(e){return e&&e.__esModule?e:{default:e}}function bEn(e,t){return xep(e)||Eep(e,t)||Fla(e,t)||_ep()}function _ep(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Eep(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,i,s,a,u=[],l=!0,f=!1;try{if(s=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=s.call(r)).done)&&(u.push(n.value),u.length!==t);l=!0);}catch(p){f=!0,i=p}finally{try{if(!l&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(f)throw i}}return u}}function xep(e){if(Array.isArray(e))return e}function Rla(e){return bep(e)||Cep(e)||Fla(e)||vep()}function vep(){throw new TypeError(`Invalid attempt to spread non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Fla(e,t){if(e){if(typeof e=="string")return xEn(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xEn(e,t):void 0}}function Cep(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function bep(e){if(Array.isArray(e))return xEn(e)}function xEn(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{"use strict";Object.defineProperty(k_t,"__esModule",{value:!0});k_t.default=void 0;var Nep=ST(),jla=Kg(),Oep=qx(),Rep=IEn(k2()),Fep=IEn(C_t()),Lep=IEn(Ype());function IEn(e){return e&&e.__esModule?e:{default:e}}var Mep="An element that manages focus with `aria-activedescendant` must have a tabindex",Qep=(0,Oep.generateObjSchema)(),ach=k_t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-activedescendant-has-tabindex.md",description:"Enforce elements with aria-activedescendant are tabbable."},schema:[Qep]},create:function(t){var r=(0,Rep.default)(t);return{JSXOpeningElement:function(i){var s=i.attributes;if((0,jla.getProp)(s,"aria-activedescendant")!==void 0){var a=r(i);if(Nep.dom.has(a)){var u=(0,Fep.default)((0,jla.getProp)(s,"tabIndex"));(0,Lep.default)(a,s)&&u===void 0||u>=-1||t.report({node:i,message:Mep})}}}}}};Ula.exports=k_t.default});var Gla=j((och,Yla)=>{Yla.exports=function(e,t,r){var n=e.length,i=t.length,s=[];r=(r||(i>n?i:n))+1;for(var a=0;a(r||100))return h(r||100);if(n===0)return h(i);if(i===0)return h(n);var u,l,f,p,g,A;for(a=1;a<=n;++a)for(l=e[a-1],u=1;u<=i;++u){if(a===u&&s[a][u]>4)return h(n);f=t[u-1],p=l===f?0:1,g=s[a-1][u]+1,(A=s[a][u-1]+1)1&&u>1&&l===t[u-2]&&e[a-2]===f&&(A=s[a-2][u-2]+p){"use strict";Vla.exports=function(t){return typeof t=="number"&&t>=55296&&t<=56319}});var TEn=j((lch,$la)=>{"use strict";$la.exports=function(t){return typeof t=="number"&&t>=56320&&t<=57343}});var Hla=j((cch,Jla)=>{"use strict";var jep=gE(),Uep=Zf(),Kla=jep("%String.fromCharCode%"),qep=SEn(),Yep=TEn();Jla.exports=function(t,r){if(!qep(t)||!Yep(r))throw new Uep("Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code");return Kla(t)+Kla(r)}});var tca=j((fch,eca)=>{"use strict";var zla=Zf(),Zla=av(),Gep=SEn(),Wla=TEn(),Vep=Hla(),$ep=Zla("String.prototype.charAt"),Xla=Zla("String.prototype.charCodeAt");eca.exports=function(t,r){if(typeof t!="string")throw new zla("Assertion failed: `string` must be a String");var n=t.length;if(r<0||r>=n)throw new zla("Assertion failed: `position` must be >= 0, and < the length of `string`");var i=Xla(t,r),s=$ep(t,r),a=Gep(i),u=Wla(i);if(!a&&!u)return{"[[CodePoint]]":s,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!1};if(u||r+1===n)return{"[[CodePoint]]":s,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0};var l=Xla(t,r+1);return Wla(l)?{"[[CodePoint]]":Vep(i,l),"[[CodeUnitCount]]":2,"[[IsUnpairedSurrogate]]":!1}:{"[[CodePoint]]":s,"[[CodeUnitCount]]":1,"[[IsUnpairedSurrogate]]":!0}}});var lor=j((pch,rca)=>{"use strict";var Kep=tca(),DEn=Zf(),Jep=Xyt(),Hep=P$e();rca.exports=function(t,r,n){if(typeof t!="string")throw new DEn("Assertion failed: `S` must be a String");if(!Jep(r)||r<0||r>Hep)throw new DEn("Assertion failed: `length` must be an integer >= 0 and <= 2**53");if(typeof n!="boolean")throw new DEn("Assertion failed: `unicode` must be a Boolean");if(!n)return r+1;var i=t.length;if(r+1>=i)return r+1;var s=Kep(t,r);return r+s["[[CodeUnitCount]]"]}});var yEe=j((dch,nca)=>{"use strict";var zep=Zf();nca.exports=function(t,r){if(typeof r!="boolean")throw new zep("Assertion failed: Type(done) is not Boolean");return{value:t,done:r}}});var cor=j((mch,ica)=>{"use strict";var Wep=Zf(),Xep=HI(),Zep=RB(),etp=AEe();ica.exports=function(t){if(!Xep(t))throw new Wep("Assertion failed: Type(iterResult) is not Object");return etp(Zep(t,"done"))}});var por=j((gch,sca)=>{"use strict";var ttp=Zf(),rtp=HI(),ntp=RB();sca.exports=function(t){if(!rtp(t))throw new ttp("Assertion failed: Type(iterResult) is not Object");return ntp(t,"value")}});var lca=j((Ach,uca)=>{"use strict";var itp=gE(),stp=Mb(),atp=xie(),aca=itp("%Promise.resolve%",!0),oca=aca&&stp(aca);uca.exports=function(t,r){if(!oca)throw new atp("This environment does not support Promises.");return oca(t,r)}});var pca=j((hch,fca)=>{"use strict";var otp=gE(),cca=xie(),utp=Zf(),ltp=HI(),wEn=otp("%Promise%",!0),ctp=av(),ftp=yEe(),ptp=cor(),dtp=por(),mtp=lca(),gtp=ctp("Promise.prototype.then",!0);fca.exports=function(t){if(!ltp(t))throw new utp("Assertion failed: Type(O) is not Object");if(arguments.length>1)throw new cca("although AsyncFromSyncIteratorContinuation should take a second argument, it is not used in this implementation");if(!wEn)throw new cca("This environment does not support Promises.");return new wEn(function(r){var n=ptp(t),i=dtp(t),s=mtp(wEn,i),a=function(u){return ftp(u,n)};r(gtp(s,a))})}});var mca=j((ych,dca)=>{"use strict";var Atp=Zf(),htp=Vce(),ytp=CZ();dca.exports=function(t,r){if(!ytp(r))throw new Atp("Assertion failed: P is not a Property Key, got "+htp(r));return t[r]}});var ePe=j((_ch,hca)=>{"use strict";var gca=Zf(),_tp=mca(),Etp=FB(),xtp=CZ(),Aca=Vce();hca.exports=function(t,r){if(!xtp(r))throw new gca("Assertion failed: P is not a Property Key");var n=_tp(t,r);if(n!=null){if(!Etp(n))throw new gca(Aca(r)+" is not a function: "+Aca(n));return n}}});var tPe=j((Ech,yca)=>{"use strict";var BEn=_C();yca.exports=function(t){return!!t&&typeof t=="object"&&BEn(t,"[[Iterator]]")&&BEn(t,"[[NextMethod]]")&&BEn(t,"[[Done]]")&&typeof t["[[Done]]"]=="boolean"}});var dor=j((xch,xca)=>{"use strict";var _ca=Zf(),vtp=HI(),Eca=LB(),Ctp=tPe();xca.exports=function(t){if(!Ctp(t))throw new _ca("Assertion failed: `iteratorRecord` must be an Iterator Record");var r;if(arguments.length<2?r=Eca(t["[[NextMethod]]"],t["[[Iterator]]"]):r=Eca(t["[[NextMethod]]"],t["[[Iterator]]"],[arguments[1]]),!vtp(r))throw new _ca("iterator next must return an object");return r}});var mor=j((vch,vca)=>{"use strict";vca.exports=function(t,r){for(var n=0;n{"use strict";var btp=_C(),P_t=dRr()(),_Ee=Zf(),kEn={assert:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new _Ee("`O` is not an object");if(typeof t!="string")throw new _Ee("`slot` must be a string");if(P_t.assert(e),!kEn.has(e,t))throw new _Ee("`"+t+"` is not present on `O`")},get:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new _Ee("`O` is not an object");if(typeof t!="string")throw new _Ee("`slot` must be a string");var r=P_t.get(e);return r&&r["$"+t]},has:function(e,t){if(!e||typeof e!="object"&&typeof e!="function")throw new _Ee("`O` is not an object");if(typeof t!="string")throw new _Ee("`slot` must be a string");var r=P_t.get(e);return!!r&&btp(r,"$"+t)},set:function(e,t,r){if(!e||typeof e!="object"&&typeof e!="function")throw new _Ee("`O` is not an object");if(typeof t!="string")throw new _Ee("`slot` must be a string");var n=P_t.get(e);n||(n={},P_t.set(e,n)),n["$"+t]=r}};Object.freeze&&Object.freeze(kEn);Cca.exports=kEn});var NEn=j((bch,bca)=>{"use strict";var PEn={__proto__:null,foo:{}},Itp={__proto__:PEn}.foo===PEn.foo&&!(PEn instanceof Object);bca.exports=function(){return Itp}});var V$e=j((Ich,Tca)=>{"use strict";var Stp=gE(),Ica=Stp("%Object.create%",!0),Sca=Zf(),Ttp=xie(),Dtp=HI(),wtp=z5e(),Btp=mor(),ktp=lL(),Ptp=NEn()();Tca.exports=function(t){if(t!==null&&!Dtp(t))throw new Sca("Assertion failed: `proto` must be null or an object");var r=arguments.length<2?[]:arguments[1];if(!wtp(r))throw new Sca("Assertion failed: `additionalInternalSlotsList` must be an Array");var n;if(Ptp)n={__proto__:t};else if(Ica)n=Ica(t);else{if(t===null)throw new Ttp("native Object.create support is required to create null objects");var i=function(){};i.prototype=t,n=new i}return r.length>0&&Btp(r,function(s){ktp.set(n,s,void 0)}),n}});var Nca=j((Sch,Pca)=>{"use strict";var kca=gE(),OEn=xie(),FEn=Zf(),Dca=HI(),$$e=kca("%Promise%",!0),REn=pca(),fDe=LB(),Ntp=yEe(),Otp=RB(),wca=ePe(),Bca=dor(),Rtp=V$e(),Ftp=tPe(),rPe=lL(),Ltp=kca("%AsyncFromSyncIteratorPrototype%",!0)||{next:function(t){if(!$$e)throw new OEn("This environment does not support Promises.");var r=this;rPe.assert(r,"[[SyncIteratorRecord]]");var n=arguments.length;return new $$e(function(i){var s=rPe.get(r,"[[SyncIteratorRecord]]"),a;n>0?a=Bca(s,t):a=Bca(s),i(REn(a))})},return:function(){if(!$$e)throw new OEn("This environment does not support Promises.");var e=this;rPe.assert(e,"[[SyncIteratorRecord]]");var t=arguments.length>0,r=t?arguments[0]:void 0;return new $$e(function(n,i){var s=rPe.get(e,"[[SyncIteratorRecord]]")["[[Iterator]]"],a=wca(s,"return");if(typeof a>"u"){var u=Ntp(r,!0);fDe(n,void 0,[u]);return}var l;if(t?l=fDe(a,s,[r]):l=fDe(a,s),!Dca(l)){fDe(i,void 0,[new FEn("Iterator `return` method returned a non-object value.")]);return}n(REn(l))})},throw:function(){if(!$$e)throw new OEn("This environment does not support Promises.");var e=this;rPe.assert(e,"[[SyncIteratorRecord]]");var t=arguments.length>0,r=t?arguments[0]:void 0;return new $$e(function(n,i){var s=rPe.get(e,"[[SyncIteratorRecord]]")["[[Iterator]]"],a=wca(s,"throw");if(typeof a>"u"){fDe(i,void 0,[r]);return}var u;if(t?u=fDe(a,s,[r]):u=fDe(a,s),!Dca(u)){fDe(i,void 0,[new FEn("Iterator `throw` method returned a non-object value.")]);return}n(REn(u))})}};Pca.exports=function(t){if(!Ftp(t))throw new FEn("Assertion failed: `syncIteratorRecord` must be an Iterator Record");var r=Rtp(Ltp);rPe.set(r,"[[SyncIteratorRecord]]",t);var n=Otp(r,"next");return{"[[Iterator]]":r,"[[NextMethod]]":n,"[[Done]]":!1}}});var Fca=j((Tch,Rca)=>{"use strict";var Oca=Zf(),Mtp=HI(),Qtp=LB(),jtp=RB(),Utp=FB();Rca.exports=function(t,r){if(!Utp(r))throw new Oca("method must be a function");var n=Qtp(r,t);if(!Mtp(n))throw new Oca("iterator must return an object");var i=jtp(n,"next");return{"[[Iterator]]":n,"[[NextMethod]]":i,"[[Done]]":!1}}});var LEn=j((Dch,Mca)=>{"use strict";var qtp=$ce()(),Lca=gE(),Ytp=av(),Gtp=Q_n(),Vtp=Lca("%Symbol.iterator%",!0),$tp=Ytp("String.prototype.slice"),Ktp=Lca("%String%"),Jtp=w$e();Mca.exports=function(t,r){var n;return qtp?n=t.GetMethod(r,Vtp):Jtp(r)?n=function(){var i=-1,s=this;return{next:function(){return i+=1,{done:i>=s.length,value:s[i]}}}}:Gtp(r)&&(n=function(){var i=0;return{next:function(){var s=t.AdvanceStringIndex(Ktp(r),i,!0),a=$tp(r,i,s);i=s;var u=s>r.length;return{done:u,value:u?void 0:a}}}}),n}});var QEn=j((wch,qca)=>{"use strict";var Htp=gE(),MEn=Zf(),Qca=Htp("%Symbol.asyncIterator%",!0),ztp=Vce(),Wtp=$ce()(),Xtp=lor(),Ztp=Nca(),jca=Fca(),Uca=ePe(),erp={AdvanceStringIndex:Xtp,GetMethod:Uca},trp=LEn();qca.exports=function(t,r){if(r!=="SYNC"&&r!=="ASYNC")throw new MEn("Assertion failed: `kind` must be one of 'sync' or 'async', got "+ztp(r));var n;if(r==="ASYNC"&&Wtp&&Qca&&(n=Uca(t,Qca)),typeof n>"u"){var i=trp(erp,t);if(r==="ASYNC"){if(typeof i>"u")throw new MEn("iterator method is `undefined`");var s=jca(t,i);return Ztp(s)}n=i}if(typeof n>"u")throw new MEn("iterator method is `undefined`");return jca(t,n)}});var Gpe=j((Bch,Gca)=>{"use strict";var Yca=xie(),pDe=lL(),N_t=function e(t,r){if(!(this instanceof e))return new e(t,r);if(t!=="normal"&&t!=="break"&&t!=="continue"&&t!=="return"&&t!=="throw")throw new Yca('Assertion failed: `type` must be one of "normal", "break", "continue", "return", or "throw"');pDe.set(this,"[[Type]]",t),pDe.set(this,"[[Value]]",r)};N_t.prototype.type=function(){return pDe.get(this,"[[Type]]")};N_t.prototype.value=function(){return pDe.get(this,"[[Value]]")};N_t.prototype["?"]=function(){var t=pDe.get(this,"[[Type]]"),r=pDe.get(this,"[[Value]]");if(t==="throw")throw r;return r};N_t.prototype["!"]=function(){var t=pDe.get(this,"[[Type]]");if(t!=="normal")throw new Yca('Assertion failed: Completion Record is not of type "normal"');return pDe.get(this,"[[Value]]")};Gca.exports=N_t});var Vpe=j((kch,Kca)=>{"use strict";var gor=Zf(),Vca=HI(),rrp=LB(),$ca=Gpe(),nrp=ePe(),irp=FB(),srp=tPe();Kca.exports=function(t,r){if(!srp(t))throw new gor("Assertion failed: `iteratorRecord` must be an Iterator Record");if(!Vca(t["[[Iterator]]"]))throw new gor("Assertion failed: iteratorRecord.[[Iterator]] must be an Object");if(!irp(r)&&!(r instanceof $ca))throw new gor("Assertion failed: completion is not a thunk representing a Completion Record, nor a Completion Record instance");var n=r instanceof $ca?function(){return r["?"]()}:r,i=t["[[Iterator]]"],s;try{s=nrp(i,"return")}catch(l){throw n(),n=null,l}if(typeof s>"u")return n();var a;try{a=rrp(s,i,[])}catch(l){throw n(),n=null,l}var u=n();if(n=null,!Vca(a))throw new gor("iterator .return must return an object");return u}});var jEn=j((Pch,Jca)=>{"use strict";var arp=Zf(),orp=cor(),urp=dor(),lrp=tPe();Jca.exports=function(t){if(!lrp(t))throw new arp("Assertion failed: `iteratorRecord` must be an Iterator Record");var r=urp(t),n=orp(r);return n===!0?!1:r}});var $pe=j((Nch,Hca)=>{"use strict";var crp=Gpe();Hca.exports=function(t){return new crp("throw",t)}});var efa=j((Och,Zca)=>{"use strict";var UEn=Zf(),frp=HI(),prp=Vce(),drp=LB(),zca=RB(),mrp=QEn(),grp=FB(),Wca=Vpe(),Arp=jEn(),hrp=por(),Xca=$pe();Zca.exports=function(t,r,n){if(!grp(n))throw new UEn("Assertion failed: `adder` is not callable");if(r==null)throw new UEn("Assertion failed: `iterable` is present, and not nullish");for(var i=mrp(r,"SYNC");;){var s=Arp(i);if(!s)return t;var a=hrp(s);if(!frp(a)){var u=Xca(new UEn("iterator next must return an Object, got "+prp(a)));return Wca(i,u)}try{var l=zca(a,"0"),f=zca(a,"1");drp(n,t,[l,f])}catch(p){return Wca(i,Xca(p))}}}});var qEn=j((Rch,tfa)=>{"use strict";var yrp=gE(),_rp=yrp("%String%"),Erp=s_t(),xrp=lJ();tfa.exports=function(t){var r=Erp(t,_rp);return typeof r=="symbol"?r:xrp(r)}});var YEn=j((Fch,rfa)=>{"use strict";var vrp=efa(),Crp=n_t(),brp=HY(),Irp=qEn(),Srp=function(t,r){var n=this,i=Irp(t);Crp(n,i,r)};rfa.exports=function(t){return brp(t),vrp({},t,Srp)}});var Aor=j((Lch,nfa)=>{"use strict";var Trp=YEn();nfa.exports=function(){return typeof Object.fromEntries=="function"?Object.fromEntries:Trp}});var sfa=j((Mch,ifa)=>{"use strict";var Drp=Aor(),wrp=qh();ifa.exports=function(){var t=Drp();return wrp(Object,{fromEntries:t},{fromEntries:function(){return Object.fromEntries!==t}}),t}});var dDe=j((Qch,ufa)=>{"use strict";var Brp=qh(),krp=Mb(),Prp=YEn(),afa=Aor(),Nrp=sfa(),ofa=krp(afa(),Object);Brp(ofa,{getPolyfill:afa,implementation:Prp,shim:Nrp});ufa.exports=ofa});var ffa=j((hor,cfa)=>{"use strict";Object.defineProperty(hor,"__esModule",{value:!0});hor.default=Lrp;var Orp=lfa(Gla()),Rrp=lfa(dDe());function lfa(e){return e&&e.__esModule?e:{default:e}}var Frp=2;function Lrp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:2,n=(0,Rrp.default)(t.map(function(i){var s=(0,Orp.default)(e.toUpperCase(),i.toUpperCase()),a=s.steps;return[i,a]}));return Object.keys(n).filter(function(i){return n[i]<=Frp}).sort(function(i,s){return n[i]-n[s]}).slice(0,r)}cfa.exports=hor.default});var mfa=j((O_t,dfa)=>{"use strict";Object.defineProperty(O_t,"__esModule",{value:!0});O_t.default=void 0;var pfa=ST(),Mrp=Kg(),Qrp=qx(),jrp=Urp(ffa());function Urp(e){return e&&e.__esModule?e:{default:e}}var qrp=pfa.aria.keys(),Yrp=function(t){var r=(0,jrp.default)(t,qrp),n="".concat(t,": This attribute is an invalid ARIA attribute.");return r.length>0?"".concat(n," Did you mean to use ").concat(r,"?"):n},Grp=(0,Qrp.generateObjSchema)(),jch=O_t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-props.md",description:"Enforce all `aria-*` props are valid."},schema:[Grp]},create:function(t){return{JSXAttribute:function(n){var i=(0,Mrp.propName)(n);if(i.indexOf("aria-")===0){var s=pfa.aria.has(i);s===!1&&t.report({node:n,message:Yrp(i)})}}}}};dfa.exports=O_t.default});var hfa=j((R_t,Afa)=>{"use strict";Object.defineProperty(R_t,"__esModule",{value:!0});R_t.default=void 0;var gfa=ST(),GEn=Kg(),Vrp=qx(),$rp=function(t,r,n){switch(r){case"tristate":return"The value for ".concat(t,' must be a boolean or the string "mixed".');case"token":return"The value for ".concat(t," must be a single token from the following: ").concat(n,".");case"tokenlist":return"The value for ".concat(t," must be a list of one or more tokens from the following: ").concat(n,".");case"idlist":return"The value for ".concat(t," must be a list of strings that represent DOM element IDs (idlist)");case"id":return"The value for ".concat(t," must be a string that represents a DOM element ID");case"boolean":case"string":case"integer":case"number":default:return"The value for ".concat(t," must be a ").concat(r,".")}},VEn=function(t,r,n){switch(r){case"boolean":return typeof t=="boolean";case"string":case"id":return typeof t=="string";case"tristate":return typeof t=="boolean"||t==="mixed";case"integer":case"number":return typeof t!="boolean"&&isNaN(Number(t))===!1;case"token":return n.indexOf(typeof t=="string"?t.toLowerCase():t)>-1;case"idlist":return typeof t=="string"&&t.split(" ").every(function(i){return VEn(i,"id",[])});case"tokenlist":return typeof t=="string"&&t.split(" ").every(function(i){return n.indexOf(i.toLowerCase())>-1});default:return!1}},Krp=(0,Vrp.generateObjSchema)(),Uch=R_t.default={validityCheck:VEn,meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-proptypes.md",description:"Enforce ARIA state and property values are valid."},schema:[Krp]},create:function(t){return{JSXAttribute:function(n){var i=(0,GEn.propName)(n),s=i.toLowerCase();if(!(s.indexOf("aria-")!==0||gfa.aria.get(s)===void 0)&&(0,GEn.getPropValue)(n)!=null){var a=(0,GEn.getLiteralPropValue)(n);if(a!==null){var u=gfa.aria.get(s),l=u.type,f=u.allowUndefined||!1,p=u.values||[],g=VEn(a,l,p)||f&&a===void 0;g||t.report({node:n,message:$rp(i,l,p)})}}}}}};Afa.exports=R_t.default});var Efa=j((F_t,_fa)=>{"use strict";Object.defineProperty(F_t,"__esModule",{value:!0});F_t.default=void 0;var $En=ST(),yfa=Kg(),Jrp=zrp(k2()),Hrp=qx();function zrp(e){return e&&e.__esModule?e:{default:e}}var Wrp="Elements with ARIA roles must use a valid, non-abstract ARIA role.",Xrp=(0,Hrp.generateObjSchema)({allowedInvalidRoles:{items:{type:"string"},type:"array",uniqueItems:!0},ignoreNonDOM:{type:"boolean",default:!1}}),Zrp=new Set($En.roles.keys().filter(function(e){return $En.roles.get(e).abstract===!1})),qch=F_t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-role.md",description:"Enforce that elements with ARIA roles must use a valid, non-abstract ARIA role."},schema:[Xrp]},create:function(t){var r=t.options[0]||{},n=!!r.ignoreNonDOM,i=new Set(r.allowedInvalidRoles||[]),s=(0,Jrp.default)(t);return{JSXAttribute:function(u){if(n){var l=s(u.parent);if(!$En.dom.get(l))return}var f=(0,yfa.propName)(u).toUpperCase();if(f==="ROLE"){var p=(0,yfa.getLiteralPropValue)(u);if(p!=null){var g=String(p).split(" "),A=g.every(function(h){return i.has(h)||Zrp.has(h)});A!==!0&&t.report({node:u,message:Wrp})}}}}}};_fa.exports=F_t.default});var Cfa=j((L_t,vfa)=>{"use strict";Object.defineProperty(L_t,"__esModule",{value:!0});L_t.default=void 0;var xfa=ST(),enp=Kg(),tnp=qx(),rnp=nnp(k2());function nnp(e){return e&&e.__esModule?e:{default:e}}var inp=function(t){return"This element does not support ARIA roles, states and properties. Try removing the prop '".concat(t,"'.")},snp=new Set(xfa.aria.keys().concat("role")),anp=(0,tnp.generateObjSchema)(),Ych=L_t.default={meta:{docs:{url:"https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/tree/HEAD/docs/rules/aria-unsupported-elements.md",description:"Enforce that elements that do not support ARIA roles, states, and properties do not have those attributes."},schema:[anp]},create:function(t){var r=(0,rnp.default)(t);return{JSXOpeningElement:function(i){var s=r(i),a=xfa.dom.get(s)||{},u=a.reserved,l=u===void 0?!1:u;l!==!1&&i.attributes.forEach(function(f){if(f.type!=="JSXSpreadAttribute"){var p=(0,enp.propName)(f).toLowerCase();snp.has(p)&&t.report({node:i,message:inp(p)})}})}}}};vfa.exports=L_t.default});var Ifa=j((bfa,M_t)=>{(function e(t){var r=t,n=t.document,i=i||{};i.version="4.10.3",typeof define=="function"&&define.amd&&define("axe-core",[],function(){return i}),(typeof M_t>"u"?"undefined":Di(M_t))==="object"&&M_t.exports&&typeof e.toString=="function"&&(i.source="("+e.toString()+')(typeof window === "object" ? window : this);',M_t.exports=i),typeof t.getComputedStyle=="function"&&(t.axe=i);var s;function a(ki){this.name="SupportError",this.cause=ki.cause,this.message="`".concat(ki.cause,"` - feature unsupported in your environment."),ki.ruleId&&(this.ruleId=ki.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=new Error().stack}a.prototype=Object.create(Error.prototype),a.prototype.constructor=a;var u=["node"],l=["relatedNodes"],f=["node"],p=["variant"],g=["matches"],A=["chromium"],h=["noImplicit"],_=["noPresentational"],E=["precision","format","inGamut"],b=["space"],D=["algorithm"],k=["method"],M=["maxDeltaE","deltaEMethod","steps","maxSteps"],R=["node"],q=["environmentData"],G=["environmentData"],K=["environmentData"],Z=["environmentData"],oe=["environmentData"];function ue(ki){return rr(ki)||sr(ki)||na(ki)||Xt()}function me(ki,cr,jr){return(cr=wn(cr))in ki?Object.defineProperty(ki,cr,{value:jr,enumerable:!0,configurable:!0,writable:!0}):ki[cr]=jr,ki}function Te(ki,cr,jr){if(De())return Reflect.construct.apply(null,arguments);var Rn=[null];Rn.push.apply(Rn,cr);var es=new(ki.bind.apply(ki,Rn));return jr&&qe(es,jr.prototype),es}function le(ki,cr,jr){return cr=_e(cr),ae(ki,De()?Reflect.construct(cr,jr||[],_e(ki).constructor):cr.apply(ki,jr))}function ae(ki,cr){if(cr&&(Di(cr)=="object"||typeof cr=="function"))return cr;if(cr!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Ae(ki)}function Ae(ki){if(ki===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return ki}function De(){try{var ki=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(De=function(){return!!ki})()}function _e(ki){return _e=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(cr){return cr.__proto__||Object.getPrototypeOf(cr)},_e(ki)}function Le(ki,cr){if(typeof cr!="function"&&cr!==null)throw new TypeError("Super expression must either be null or a function");ki.prototype=Object.create(cr&&cr.prototype,{constructor:{value:ki,writable:!0,configurable:!0}}),Object.defineProperty(ki,"prototype",{writable:!1}),cr&&qe(ki,cr)}function qe(ki,cr){return qe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(jr,Rn){return jr.__proto__=Rn,jr},qe(ki,cr)}function at(ki,cr,jr){Ur(ki,cr),cr.set(ki,jr)}function st(ki,cr){Ur(ki,cr),cr.add(ki)}function Ur(ki,cr){if(cr.has(ki))throw new TypeError("Cannot initialize the same private elements twice on an object")}function Sr(ki,cr){return ki.get(dt(ki,cr))}function xr(ki,cr,jr){return ki.set(dt(ki,cr),jr),jr}function dt(ki,cr,jr){if(typeof ki=="function"?ki===cr:ki.has(cr))return arguments.length<3?cr:jr;throw new TypeError("Private element is not present on this object")}function It(ki,cr){if(ki==null)return{};var jr,Rn,es=lr(ki,cr);if(Object.getOwnPropertySymbols){var li=Object.getOwnPropertySymbols(ki);for(Rn=0;Rn=ki.length?{done:!0}:{done:!1,value:ki[Rn++]}},e:function(oi){throw oi},f:es}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var li,mo=!0,yu=!1;return{s:function(){jr=jr.call(ki)},n:function(){var oi=jr.next();return mo=oi.done,oi},e:function(oi){yu=!0,li=oi},f:function(){try{mo||jr.return==null||jr.return()}finally{if(yu)throw li}}}}function na(ki,cr){if(ki){if(typeof ki=="string")return Na(ki,cr);var jr={}.toString.call(ki).slice(8,-1);return jr==="Object"&&ki.constructor&&(jr=ki.constructor.name),jr==="Map"||jr==="Set"?Array.from(ki):jr==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(jr)?Na(ki,cr):void 0}}function Na(ki,cr){(cr==null||cr>ki.length)&&(cr=ki.length);for(var jr=0,Rn=Array(cr);jr0?1:-1}}),ui=Jt(function(P,L){"use strict";L.exports=Ui()()?Math.sign:ei()}),_o=Jt(function(P,L){"use strict";var U=ui(),W=Math.abs,te=Math.floor;L.exports=function(ge){return isNaN(ge)?0:(ge=Number(ge),ge===0||!isFinite(ge)?ge:U(ge)*te(W(ge)))}}),ua=Jt(function(P,L){"use strict";var U=_o(),W=Math.max;L.exports=function(te){return W(0,U(te))}}),rc=Jt(function(P,L){"use strict";var U=ua();L.exports=function(W,te,ge){var Pe;return isNaN(W)?(Pe=te,Pe>=0?ge&&Pe?Pe-1:Pe:1):W===!1?!1:U(W)}}),Eo=Jt(function(P,L){"use strict";L.exports=function(U){if(typeof U!="function")throw new TypeError(U+" is not a function");return U}}),cp=Jt(function(P,L){"use strict";var U=wl();L.exports=function(W){if(!U(W))throw new TypeError("Cannot use null or undefined");return W}}),Sd=Jt(function(P,L){"use strict";var U=Eo(),W=cp(),te=Function.prototype.bind,ge=Function.prototype.call,Pe=Object.keys,Ke=Object.prototype.propertyIsEnumerable;L.exports=function(lt,Ct){return function(wt,Cr){var pn,Tn=arguments[2],Gn=arguments[3];return wt=Object(W(wt)),U(Cr),pn=Pe(wt),Gn&&pn.sort(typeof Gn=="function"?te.call(Gn,wt):void 0),typeof lt!="function"&&(lt=pn[lt]),ge.call(lt,pn,function(rs,ss){return Ke.call(wt,rs)?ge.call(Cr,Tn,wt[rs],rs,wt,ss):Ct})}}}),_m=Jt(function(P,L){"use strict";L.exports=Sd()("forEach")}),fd=Jt(function(){"use strict"}),_f=Jt(function(P,L){"use strict";L.exports=function(){var U=Object.assign,W;return typeof U!="function"?!1:(W={foo:"raz"},U(W,{bar:"dwa"},{trzy:"trzy"}),W.foo+W.bar+W.trzy==="razdwatrzy")}}),tp=Jt(function(P,L){"use strict";L.exports=function(){try{return Object.keys("primitive"),!0}catch{return!1}}}),Dg=Jt(function(P,L){"use strict";var U=wl(),W=Object.keys;L.exports=function(te){return W(U(te)?Object(te):te)}}),pg=Jt(function(P,L){"use strict";L.exports=tp()()?Object.keys:Dg()}),oo=Jt(function(P,L){"use strict";var U=pg(),W=cp(),te=Math.max;L.exports=function(ge,Pe){var Ke,lt,Ct=te(arguments.length,2),wt;for(ge=Object(W(ge)),wt=function(pn){try{ge[pn]=Pe[pn]}catch(Tn){Ke||(Ke=Tn)}},lt=1;lt-1}}),Rl=Jt(function(P,L){"use strict";L.exports=Rm()()?String.prototype.contains:_a()}),Pc=Jt(function(P,L){"use strict";var U=Zo(),W=su(),te=Qu(),ge=Wc(),Pe=Rl(),Ke=L.exports=function(lt,Ct){var wt,Cr,pn,Tn,Gn;return arguments.length<2||typeof lt!="string"?(Tn=Ct,Ct=lt,lt=null):Tn=arguments[2],U(lt)?(wt=Pe.call(lt,"c"),Cr=Pe.call(lt,"e"),pn=Pe.call(lt,"w")):(wt=pn=!0,Cr=!1),Gn={value:Ct,configurable:wt,enumerable:Cr,writable:pn},Tn?te(ge(Tn),Gn):Gn};Ke.gs=function(lt,Ct,wt){var Cr,pn,Tn,Gn;return typeof lt!="string"?(Tn=wt,wt=Ct,Ct=lt,lt=null):Tn=arguments[3],U(Ct)?W(Ct)?U(wt)?W(wt)||(Tn=wt,wt=void 0):wt=void 0:(Tn=Ct,Ct=wt=void 0):Ct=void 0,U(lt)?(Cr=Pe.call(lt,"c"),pn=Pe.call(lt,"e")):(Cr=!0,pn=!1),Gn={get:Ct,set:wt,configurable:Cr,enumerable:pn},Tn?te(ge(Tn),Gn):Gn}}),iu=Jt(function(P,L){"use strict";var U=Pc(),W=Eo(),te=Function.prototype.apply,ge=Function.prototype.call,Pe=Object.create,Ke=Object.defineProperty,lt=Object.defineProperties,Ct=Object.prototype.hasOwnProperty,wt={configurable:!0,enumerable:!1,writable:!0},Cr,pn,Tn,Gn,rs,ss,Es;Cr=function(ka,Hi){var co;return W(Hi),Ct.call(this,"__ee__")?co=this.__ee__:(co=wt.value=Pe(null),Ke(this,"__ee__",wt),wt.value=null),co[ka]?Di(co[ka])==="object"?co[ka].push(Hi):co[ka]=[co[ka],Hi]:co[ka]=Hi,this},pn=function(ka,Hi){var co,Mu;return W(Hi),Mu=this,Cr.call(this,ka,co=function(){Tn.call(Mu,ka,co),te.call(Hi,this,arguments)}),co.__eeOnceListener__=Hi,this},Tn=function(ka,Hi){var co,Mu,Vl,Of;if(W(Hi),!Ct.call(this,"__ee__"))return this;if(co=this.__ee__,!co[ka])return this;if(Mu=co[ka],Di(Mu)==="object")for(Of=0;Vl=Mu[Of];++Of)(Vl===Hi||Vl.__eeOnceListener__===Hi)&&(Mu.length===2?co[ka]=Mu[Of?0:1]:Mu.splice(Of,1));else(Mu===Hi||Mu.__eeOnceListener__===Hi)&&delete co[ka];return this},Gn=function(ka){var Hi,co,Mu,Vl,Of;if(Ct.call(this,"__ee__")&&(Vl=this.__ee__[ka],!!Vl))if(Di(Vl)==="object"){for(co=arguments.length,Of=new Array(co-1),Hi=1;Hi"u"?"undefined":Di(globalThis))!=="object"||!globalThis?!1:globalThis.Array===Array}}),uo=Jt(function(P,L){var U=function(){if((typeof self>"u"?"undefined":Di(self))==="object"&&self)return self;if((typeof t>"u"?"undefined":Di(t))==="object"&&t)return t;throw new Error("Unable to resolve global `this`")};L.exports=(function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch{return U()}try{return __global__||U()}finally{delete Object.prototype.__global__}})()}),Rp=Jt(function(P,L){"use strict";L.exports=Kf()()?globalThis:uo()}),Fm=Jt(function(P,L){"use strict";var U=Rp(),W={object:!0,symbol:!0};L.exports=function(){var te=U.Symbol,ge;if(typeof te!="function")return!1;ge=te("test symbol");try{String(ge)}catch{return!1}return!(!W[Di(te.iterator)]||!W[Di(te.toPrimitive)]||!W[Di(te.toStringTag)])}}),Dh=Jt(function(P,L){"use strict";L.exports=function(U){return U?Di(U)==="symbol"?!0:!U.constructor||U.constructor.name!=="Symbol"?!1:U[U.constructor.toStringTag]==="Symbol":!1}}),bc=Jt(function(P,L){"use strict";var U=Dh();L.exports=function(W){if(!U(W))throw new TypeError(W+" is not a symbol");return W}}),wg=Jt(function(P,L){"use strict";var U=Pc(),W=Object.create,te=Object.defineProperty,ge=Object.prototype,Pe=W(null);L.exports=function(Ke){for(var lt=0,Ct,wt;Pe[Ke+(lt||"")];)++lt;return Ke+=lt||"",Pe[Ke]=!0,Ct="@@"+Ke,te(ge,Ct,U.gs(null,function(Cr){wt||(wt=!0,te(this,Ct,U(Cr)),wt=!1)})),Ct}}),uh=Jt(function(P,L){"use strict";var U=Pc(),W=Rp().Symbol;L.exports=function(te){return Object.defineProperties(te,{hasInstance:U("",W&&W.hasInstance||te("hasInstance")),isConcatSpreadable:U("",W&&W.isConcatSpreadable||te("isConcatSpreadable")),iterator:U("",W&&W.iterator||te("iterator")),match:U("",W&&W.match||te("match")),replace:U("",W&&W.replace||te("replace")),search:U("",W&&W.search||te("search")),species:U("",W&&W.species||te("species")),split:U("",W&&W.split||te("split")),toPrimitive:U("",W&&W.toPrimitive||te("toPrimitive")),toStringTag:U("",W&&W.toStringTag||te("toStringTag")),unscopables:U("",W&&W.unscopables||te("unscopables"))})}}),L2=Jt(function(P,L){"use strict";var U=Pc(),W=bc(),te=Object.create(null);L.exports=function(ge){return Object.defineProperties(ge,{for:U(function(Pe){return te[Pe]?te[Pe]:te[Pe]=ge(String(Pe))}),keyFor:U(function(Pe){var Ke;W(Pe);for(Ke in te)if(te[Ke]===Pe)return Ke})})}}),ii=Jt(function(P,L){"use strict";var U=Pc(),W=bc(),te=Rp().Symbol,ge=wg(),Pe=uh(),Ke=L2(),lt=Object.create,Ct=Object.defineProperties,wt=Object.defineProperty,Cr,pn,Tn;if(typeof te=="function")try{String(te()),Tn=!0}catch{}else te=null;pn=function(rs){if(this instanceof pn)throw new TypeError("Symbol is not a constructor");return Cr(rs)},L.exports=Cr=function Gn(rs){var ss;if(this instanceof Gn)throw new TypeError("Symbol is not a constructor");return Tn?te(rs):(ss=lt(pn.prototype),rs=rs===void 0?"":String(rs),Ct(ss,{__description__:U("",rs),__name__:U("",ge(rs))}))},Pe(Cr),Ke(Cr),Ct(pn.prototype,{constructor:U(Cr),toString:U("",function(){return this.__name__})}),Ct(Cr.prototype,{toString:U(function(){return"Symbol ("+W(this).__description__+")"}),valueOf:U(function(){return W(this)})}),wt(Cr.prototype,Cr.toPrimitive,U("",function(){var Gn=W(this);return Di(Gn)==="symbol"?Gn:Gn.toString()})),wt(Cr.prototype,Cr.toStringTag,U("c","Symbol")),wt(pn.prototype,Cr.toStringTag,U("c",Cr.prototype[Cr.toStringTag])),wt(pn.prototype,Cr.toPrimitive,U("c",Cr.prototype[Cr.toPrimitive]))}),Ty=Jt(function(P,L){"use strict";L.exports=Fm()()?Rp().Symbol:ii()}),Ix=Jt(function(P,L){"use strict";var U=Object.prototype.toString,W=U.call((function(){return arguments})());L.exports=function(te){return U.call(te)===W}}),M2=Jt(function(P,L){"use strict";var U=Object.prototype.toString,W=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);L.exports=function(te){return typeof te=="function"&&W(U.call(te))}}),Zc=Jt(function(P,L){"use strict";var U=Object.prototype.toString,W=U.call("");L.exports=function(te){return typeof te=="string"||te&&Di(te)==="object"&&(te instanceof String||U.call(te)===W)||!1}}),Wy=Jt(function(P,L){"use strict";var U=Ty().iterator,W=Ix(),te=M2(),ge=ua(),Pe=Eo(),Ke=cp(),lt=wl(),Ct=Zc(),wt=Array.isArray,Cr=Function.prototype.call,pn={configurable:!0,enumerable:!0,writable:!0,value:null},Tn=Object.defineProperty;L.exports=function(Gn){var rs=arguments[1],ss=arguments[2],Es,Fs,ka,Hi,co,Mu,Vl,Of,km,Ec;if(Gn=Object(Ke(Gn)),lt(rs)&&Pe(rs),!this||this===Array||!te(this)){if(!rs){if(W(Gn))return co=Gn.length,co!==1?Array.apply(null,Gn):(Hi=new Array(1),Hi[0]=Gn[0],Hi);if(wt(Gn)){for(Hi=new Array(co=Gn.length),Fs=0;Fs=55296&&Mu<=56319&&(Ec+=Gn[++Fs])),Ec=rs?Cr.call(rs,ss,Ec,ka):Ec,Es?(pn.value=Ec,Tn(Hi,ka,pn)):Hi[ka]=Ec,++ka;co=ka}}if(co===void 0)for(co=ge(Gn.length),Es&&(Hi=new Es(co)),Fs=0;Fs=0?pn=lt(pn):pn=W(this.length)-lt(Ke(pn)),wt=pn;wt"u"?"undefined":Di(process))==="object"&&process&&typeof process.nextTick=="function")return process.nextTick;if(typeof queueMicrotask=="function")return function(te){queueMicrotask(U(te))};if((typeof n>"u"?"undefined":Di(n))==="object"&&n){if(typeof MutationObserver=="function")return W(MutationObserver);if(typeof WebKitMutationObserver=="function")return W(WebKitMutationObserver)}return typeof setImmediate=="function"?function(te){setImmediate(U(te))}:typeof setTimeout=="function"||(typeof setTimeout>"u"?"undefined":Di(setTimeout))==="object"?function(te){setTimeout(U(te),0)}:null})()}),Ud=Jt(function(){"use strict";var P=Ml(),L=yl(),U=fu(),W=bl(),te=Ho(),ge=Array.prototype.slice,Pe=Function.prototype.apply,Ke=Object.create;fd().async=function(lt,Ct){var wt=Ke(null),Cr=Ke(null),pn=Ct.memoized,Tn=Ct.original,Gn,rs,ss;Ct.memoized=W(function(Es){var Fs=arguments,ka=Fs[Fs.length-1];return typeof ka=="function"&&(Gn=ka,Fs=ge.call(Fs,0,-1)),pn.apply(rs=this,ss=Fs)},pn);try{U(Ct.memoized,pn)}catch{}Ct.on("get",function(Es){var Fs,ka,Hi;if(Gn){if(wt[Es]){typeof wt[Es]=="function"?wt[Es]=[wt[Es],Gn]:wt[Es].push(Gn),Gn=null;return}Fs=Gn,ka=rs,Hi=ss,Gn=rs=ss=null,te(function(){var co;hasOwnProperty.call(Cr,Es)?(co=Cr[Es],Ct.emit("getasync",Es,Hi,ka),Pe.call(Fs,co.context,co.args)):(Gn=Fs,rs=ka,ss=Hi,pn.apply(ka,Hi))})}}),Ct.original=function(){var Es,Fs,ka,Hi;return Gn?(Es=P(arguments),Fs=function co(Mu){var Vl,Of,km=co.id;if(km==null){te(Pe.bind(co,this,arguments));return}if(delete co.id,Vl=wt[km],delete wt[km],!!Vl)return Of=P(arguments),Ct.has(km)&&(Mu?Ct.delete(km):(Cr[km]={context:this,args:Of},Ct.emit("setasync",km,typeof Vl=="function"?1:Vl.length))),typeof Vl=="function"?Hi=Pe.call(Vl,this,Of):Vl.forEach(function(Ec){Hi=Pe.call(Ec,this,Of)},this),Hi},ka=Gn,Gn=rs=ss=null,Es.push(Fs),Hi=Pe.call(Tn,this,Es),Fs.cb=ka,Gn=Fs,Hi):Pe.call(Tn,this,arguments)},Ct.on("set",function(Es){if(!Gn){Ct.delete(Es);return}wt[Es]?typeof wt[Es]=="function"?wt[Es]=[wt[Es],Gn.cb]:wt[Es].push(Gn.cb):wt[Es]=Gn.cb,delete Gn.cb,Gn.id=Es,Gn=null}),Ct.on("delete",function(Es){var Fs;hasOwnProperty.call(wt,Es)||Cr[Es]&&(Fs=Cr[Es],delete Cr[Es],Ct.emit("deleteasync",Es,ge.call(Fs.args,1)))}),Ct.on("clear",function(){var Es=Cr;Cr=Ke(null),Ct.emit("clearasync",L(Es,function(Fs){return ge.call(Fs.args,1)}))})}}),Em=Jt(function(P,L){"use strict";var U=Array.prototype.forEach,W=Object.create;L.exports=function(te){var ge=W(null);return U.call(arguments,function(Pe){ge[Pe]=!0}),ge}}),wh=Jt(function(P,L){"use strict";L.exports=function(U){return typeof U=="function"}}),D0=Jt(function(P,L){"use strict";var U=wh();L.exports=function(W){try{return W&&U(W.toString)?W.toString():String(W)}catch{throw new TypeError("Passed argument cannot be stringifed")}}}),z1=Jt(function(P,L){"use strict";var U=cp(),W=D0();L.exports=function(te){return W(U(te))}}),yv=Jt(function(P,L){"use strict";var U=wh();L.exports=function(W){try{return W&&U(W.toString)?W.toString():String(W)}catch{return""}}}),$x=Jt(function(P,L){"use strict";var U=yv(),W=/[\n\r\u2028\u2029]/g;L.exports=function(te){var ge=U(te);return ge.length>100&&(ge=ge.slice(0,99)+"\u2026"),ge=ge.replace(W,function(Pe){return JSON.stringify(Pe).slice(1,-1)}),ge}}),W1=Jt(function(P,L){L.exports=U,L.exports.default=U;function U(W){return!!W&&(Di(W)==="object"||typeof W=="function")&&typeof W.then=="function"}}),yg=Jt(function(){"use strict";var P=yl(),L=Em(),U=z1(),W=$x(),te=W1(),ge=Ho(),Pe=Object.create,Ke=L("then","then:finally","done","done:finally");fd().promise=function(lt,Ct){var wt=Pe(null),Cr=Pe(null),pn=Pe(null);if(lt===!0)lt=null;else if(lt=U(lt),!Ke[lt])throw new TypeError("'"+W(lt)+"' is not valid promise mode");Ct.on("set",function(Tn,Gn,rs){var ss=!1;if(!te(rs)){Cr[Tn]=rs,Ct.emit("setasync",Tn,1);return}wt[Tn]=1,pn[Tn]=rs;var Es=function(Mu){var Vl=wt[Tn];if(ss)throw new Error(`Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode) Consider to rely on 'then' or 'done' mode instead.`);Vl&&(delete wt[Tn],Cr[Tn]=Mu,Ct.emit("setasync",Tn,Vl))},Fs=function(){ss=!0,wt[Tn]&&(delete wt[Tn],delete pn[Tn],Ct.delete(Tn))},ka=lt;if(ka||(ka="then"),ka==="then"){var Hi=function(){ge(Fs)};rs=rs.then(function(co){ge(Es.bind(this,co))},Hi),typeof rs.finally=="function"&&rs.finally(Hi)}else if(ka==="done"){if(typeof rs.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");rs.done(Es,Fs)}else if(ka==="done:finally"){if(typeof rs.done!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if(typeof rs.finally!="function")throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");rs.done(Es),rs.finally(Fs)}}),Ct.on("get",function(Tn,Gn,rs){var ss;if(wt[Tn]){++wt[Tn];return}ss=pn[Tn];var Es=function(){Ct.emit("getasync",Tn,Gn,rs)};te(ss)?typeof ss.done=="function"?ss.done(Es):ss.then(function(){ge(Es)}):Es()}),Ct.on("delete",function(Tn){if(delete pn[Tn],wt[Tn]){delete wt[Tn];return}if(hasOwnProperty.call(Cr,Tn)){var Gn=Cr[Tn];delete Cr[Tn],Ct.emit("deleteasync",Tn,[Gn])}}),Ct.on("clear",function(){var Tn=Cr;Cr=Pe(null),wt=Pe(null),pn=Pe(null),Ct.emit("clearasync",P(Tn,function(Gn){return[Gn]}))})}}),FC=Jt(function(){"use strict";var P=Eo(),L=_m(),U=fd(),W=Function.prototype.apply;U.dispose=function(te,ge,Pe){var Ke;if(P(te),Pe.async&&U.async||Pe.promise&&U.promise){ge.on("deleteasync",Ke=function(Ct,wt){W.call(te,null,wt)}),ge.on("clearasync",function(lt){L(lt,function(Ct,wt){Ke(wt,Ct)})});return}ge.on("delete",Ke=function(Ct,wt){te(wt)}),ge.on("clear",function(lt){L(lt,function(Ct,wt){Ke(wt,Ct)})})}}),Xy=Jt(function(P,L){"use strict";L.exports=2147483647}),_v=Jt(function(P,L){"use strict";var U=ua(),W=Xy();L.exports=function(te){if(te=U(te),te>W)throw new TypeError(te+" exceeds maximum possible timeout");return te}}),Xl=Jt(function(){"use strict";var P=Ml(),L=_m(),U=Ho(),W=W1(),te=_v(),ge=fd(),Pe=Function.prototype,Ke=Math.max,lt=Math.min,Ct=Object.create;ge.maxAge=function(wt,Cr,pn){var Tn,Gn,rs,ss;wt=te(wt),wt&&(Tn=Ct(null),Gn=pn.async&&ge.async||pn.promise&&ge.promise?"async":"",Cr.on("set"+Gn,function(Es){Tn[Es]=setTimeout(function(){Cr.delete(Es)},wt),typeof Tn[Es].unref=="function"&&Tn[Es].unref(),ss&&(ss[Es]&&ss[Es]!=="nextTick"&&clearTimeout(ss[Es]),ss[Es]=setTimeout(function(){delete ss[Es]},rs),typeof ss[Es].unref=="function"&&ss[Es].unref())}),Cr.on("delete"+Gn,function(Es){clearTimeout(Tn[Es]),delete Tn[Es],ss&&(ss[Es]!=="nextTick"&&clearTimeout(ss[Es]),delete ss[Es])}),pn.preFetch&&(pn.preFetch===!0||isNaN(pn.preFetch)?rs=.333:rs=Ke(lt(Number(pn.preFetch),1),0),rs&&(ss={},rs=(1-rs)*wt,Cr.on("get"+Gn,function(Es,Fs,ka){ss[Es]||(ss[Es]="nextTick",U(function(){var Hi;ss[Es]==="nextTick"&&(delete ss[Es],Cr.delete(Es),pn.async&&(Fs=P(Fs),Fs.push(Pe)),Hi=Cr.memoized.apply(ka,Fs),pn.promise&&W(Hi)&&(typeof Hi.done=="function"?Hi.done(Pe,Pe):Hi.then(Pe,Pe)))}))}))),Cr.on("clear"+Gn,function(){L(Tn,function(Es){clearTimeout(Es)}),Tn={},ss&&(L(ss,function(Es){Es!=="nextTick"&&clearTimeout(Es)}),ss={})}))}}),Sx=Jt(function(P,L){"use strict";var U=ua(),W=Object.create,te=Object.prototype.hasOwnProperty;L.exports=function(ge){var Pe=0,Ke=1,lt=W(null),Ct=W(null),wt=0,Cr;return ge=U(ge),{hit:function(Tn){var Gn=Ct[Tn],rs=++wt;if(lt[rs]=Tn,Ct[Tn]=rs,!Gn)return++Pe,Pe<=ge?void 0:(Tn=lt[Ke],Cr(Tn),Tn);if(delete lt[Gn],Ke===Gn)for(;!te.call(lt,++Ke););},delete:Cr=function(Tn){var Gn=Ct[Tn];if(Gn&&(delete lt[Gn],delete Ct[Tn],--Pe,Ke===Gn)){if(!Pe){wt=0,Ke=1;return}for(;!te.call(lt,++Ke););}},clear:function(){Pe=0,Ke=1,lt=W(null),Ct=W(null),wt=0}}}}),Mf=Jt(function(){"use strict";var P=ua(),L=Sx(),U=fd();U.max=function(W,te,ge){var Pe,Ke,lt;W=P(W),W&&(Ke=L(W),Pe=ge.async&&U.async||ge.promise&&U.promise?"async":"",te.on("set"+Pe,lt=function(wt){wt=Ke.hit(wt),wt!==void 0&&te.delete(wt)}),te.on("get"+Pe,lt),te.on("delete"+Pe,Ke.delete),te.on("clear"+Pe,Ke.clear))}}),wi=Jt(function(){"use strict";var P=Pc(),L=fd(),U=Object.create,W=Object.defineProperties;L.refCounter=function(te,ge,Pe){var Ke,lt;Ke=U(null),lt=Pe.async&&L.async||Pe.promise&&L.promise?"async":"",ge.on("set"+lt,function(Ct,wt){Ke[Ct]=wt||1}),ge.on("get"+lt,function(Ct){++Ke[Ct]}),ge.on("delete"+lt,function(Ct){delete Ke[Ct]}),ge.on("clear"+lt,function(){Ke={}}),W(ge.memoized,{deleteRef:P(function(){var Ct=ge.get(arguments);return Ct===null||!Ke[Ct]?null:--Ke[Ct]?!1:(ge.delete(Ct),!0)}),getRefCount:P(function(){var Ct=ge.get(arguments);return Ct===null||!Ke[Ct]?0:Ke[Ct]})})}}),Ys=Jt(function(P,L){"use strict";var U=Wc(),W=rc(),te=f1();L.exports=function(ge){var Pe=U(arguments[1]),Ke;return Pe.normalizer||(Ke=Pe.length=W(Pe.length,ge.length,Pe.async),Ke!==0&&(Pe.primitive?Ke===!1?Pe.normalizer=Q2():Ke>1&&(Pe.normalizer=zE()(Ke)):Ke===!1?Pe.normalizer=Oi()():Ke===1?Pe.normalizer=xa()():Pe.normalizer=$a()(Ke))),Pe.async&&Ud(),Pe.promise&&yg(),Pe.dispose&&FC(),Pe.maxAge&&Xl(),Pe.max&&Mf(),Pe.refCounter&&wi(),te(ge,Pe)}}),La=Jt(function(P){"use strict";Object.defineProperty(P,"__esModule",{value:!0});function L(Pe){return Pe>="a"&&Pe<="z"||Pe>="A"&&Pe<="Z"||Pe==="-"||Pe==="_"}P.isIdentStart=L;function U(Pe){return Pe>="a"&&Pe<="z"||Pe>="A"&&Pe<="Z"||Pe>="0"&&Pe<="9"||Pe==="-"||Pe==="_"}P.isIdent=U;function W(Pe){return Pe>="a"&&Pe<="f"||Pe>="A"&&Pe<="F"||Pe>="0"&&Pe<="9"}P.isHex=W;function te(Pe){for(var Ke=Pe.length,lt="",Ct=0;Ct="A"&&wt<="Z"||wt>="a"&&wt<="z"||Ct!==0&&wt>="0"&&wt<="9")lt+=wt;else{var Cr=wt.charCodeAt(0);if((Cr&63488)===55296){var pn=Pe.charCodeAt(Ct++);if((Cr&64512)!==55296||(pn&64512)!==56320)throw Error("UCS-2(decode): illegal sequence");Cr=((Cr&1023)<<10)+(pn&1023)+65536}lt+="\\"+Cr.toString(16)+" "}Ct++}return lt}P.escapeIdentifier=te;function ge(Pe){for(var Ke=Pe.length,lt="",Ct=0,wt;Ct":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},P.strReplacementsRev={"\n":"\\n","\r":"\\r"," ":"\\t","\f":"\\f","\v":"\\v"},P.singleQuoteEscapeChars={n:` `,r:"\r",t:" ",f:"\f","\\":"\\","'":"'"},P.doubleQuotesEscapeChars={n:` `,r:"\r",t:" ",f:"\f","\\":"\\",'"':'"'}}),Bl=Jt(function(P){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var L=La();function U(W,te,ge,Pe,Ke,lt){var Ct=W.length,wt="";function Cr(Fs,ka){var Hi="";for(te++,wt=W.charAt(te);te=Ct)throw Error("Expected symbol but end of file reached.");if(wt=W.charAt(te),L.identSpecialChars[wt])Fs+=wt;else if(L.isHex(wt)){var ka=wt;for(te++,wt=W.charAt(te);L.isHex(wt);)ka+=wt,te++,wt=W.charAt(te);wt===" "&&(te++,wt=W.charAt(te)),Fs+=String.fromCharCode(parseInt(ka,16));continue}else Fs+=wt}else return Fs;te++,wt=W.charAt(te)}return Fs}function Tn(){wt=W.charAt(te);for(var Fs=!1;wt===" "||wt===" "||wt===` `||wt==="\r"||wt==="\f";)Fs=!0,te++,wt=W.charAt(te);return Fs}function Gn(){var Fs=rs();if(te=Ct||wt===","||wt===")"));)if(Ke[wt]){var co=wt;if(te++,Tn(),ka=Es(),!ka)throw Error('Rule expected after "'+co+'".');ka.nestingOperator=co}else ka=Es(),ka&&(ka.nestingOperator=null);return Fs}function Es(){for(var Fs=null;te=Ct)throw Error('Expected "=" but end of file reached.');if(wt!=="=")throw Error('Expected "=" but "'+wt+'" found.');ka.operator=Hi+"=",te++,Tn();var co="";if(ka.valueType="string",wt==='"')co=Cr('"',L.doubleQuotesEscapeChars);else if(wt==="'")co=Cr("'",L.singleQuoteEscapeChars);else if(lt&&wt==="$")te++,co=pn(),ka.valueType="substitute";else{for(;te=Ct)throw Error('Expected "]" but end of file reached.');if(wt!=="]")throw Error('Expected "]" but "'+wt+'" found.');te++,ka.value=co}Fs=Fs||{},(Fs.attrs=Fs.attrs||[]).push(ka)}else if(wt===":"){te++;var Mu=pn(),Vl={name:Mu};if(wt==="("){te++;var Of="";if(Tn(),ge[Mu]==="selector")Vl.valueType="selector",Of=rs();else{if(Vl.valueType=ge[Mu]||"string",wt==='"')Of=Cr('"',L.doubleQuotesEscapeChars);else if(wt==="'")Of=Cr("'",L.singleQuoteEscapeChars);else if(lt&&wt==="$")te++,Of=pn(),Vl.valueType="substitute";else{for(;te=Ct)throw Error('Expected ")" but end of file reached.');if(wt!==")")throw Error('Expected ")" but "'+wt+'" found.');te++,Vl.value=Of}Fs=Fs||{},(Fs.pseudos=Fs.pseudos||[]).push(Vl)}else break;return Fs}return Gn()}P.parseCssSelector=U}),Uc=Jt(function(P){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var L=La();function U(W){var te="";switch(W.type){case"ruleSet":for(var ge=W.rule,Pe=[];ge;)ge.nestingOperator&&Pe.push(ge.nestingOperator),Pe.push(U(ge)),ge=ge.rule;te=Pe.join(" ");break;case"selectors":te=W.selectors.map(U).join(", ");break;case"rule":W.tagName&&(W.tagName==="*"?te="*":te=L.escapeIdentifier(W.tagName)),W.id&&(te+="#"+L.escapeIdentifier(W.id)),W.classNames&&(te+=W.classNames.map(function(Ke){return"."+L.escapeIdentifier(Ke)}).join("")),W.attrs&&(te+=W.attrs.map(function(Ke){return"operator"in Ke?Ke.valueType==="substitute"?"["+L.escapeIdentifier(Ke.name)+Ke.operator+"$"+Ke.value+"]":"["+L.escapeIdentifier(Ke.name)+Ke.operator+L.escapeStr(Ke.value)+"]":"["+L.escapeIdentifier(Ke.name)+"]"}).join("")),W.pseudos&&(te+=W.pseudos.map(function(Ke){return Ke.valueType?Ke.valueType==="selector"?":"+L.escapeIdentifier(Ke.name)+"("+U(Ke.value)+")":Ke.valueType==="substitute"?":"+L.escapeIdentifier(Ke.name)+"($"+Ke.value+")":Ke.valueType==="numeric"?":"+L.escapeIdentifier(Ke.name)+"("+Ke.value+")":":"+L.escapeIdentifier(Ke.name)+"("+L.escapeIdentifier(Ke.value)+")":":"+L.escapeIdentifier(Ke.name)}).join(""));break;default:throw Error('Unknown entity type: "'+W.type+'".')}return te}P.renderEntity=U}),Bf=Jt(function(P){"use strict";Object.defineProperty(P,"__esModule",{value:!0});var L=Bl(),U=Uc(),W=(function(){function te(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return te.prototype.registerSelectorPseudos=function(){for(var ge=[],Pe=0;Pe"u"&&typeof process<"u"&&{}.toString.call(process)==="[object process]",ss=typeof Uint8ClampedArray<"u"&&typeof importScripts<"u"&&typeof MessageChannel<"u";function Es(){return function(){return process.nextTick(Vl)}}function Fs(){return typeof Ke<"u"?function(){Ke(Vl)}:co()}function ka(){var gl=0,ip=new Gn(Vl),ed=n.createTextNode("");return ip.observe(ed,{characterData:!0}),function(){ed.data=gl=++gl%2}}function Hi(){var gl=new MessageChannel;return gl.port1.onmessage=Vl,function(){return gl.port2.postMessage(0)}}function co(){var gl=setTimeout;return function(){return gl(Vl,1)}}var Mu=new Array(1e3);function Vl(){for(var gl=0;gl>0},ToUint32:function(qm){return qm>>>0}}})(),W=Math.LN2,te=Math.abs,ge=Math.floor,Pe=Math.log,Ke=Math.min,lt=Math.pow,Ct=Math.round;function wt(qo,gm,If){return qoIf?If:qo}var Cr=Object.getOwnPropertyNames||function(qo){if(qo!==Object(qo))throw new TypeError("Object.getOwnPropertyNames called on non-object");var gm=[],If;for(If in qo)U.HasOwnProperty(qo,If)&&gm.push(If);return gm},pn;Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return!1}})()?pn=Object.defineProperty:pn=function(gm,If,qm){if(!gm===Object(gm))throw new TypeError("Object.defineProperty called on non-object");return U.HasProperty(qm,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(gm,If,qm.get),U.HasProperty(qm,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(gm,If,qm.set),U.HasProperty(qm,"value")&&(gm[If]=qm.value),gm};function Tn(qo){if(Cr&&pn){var gm=Cr(qo),If;for(If=0;IfL)throw new RangeError("Array too large for polyfill");function gm(qm){pn(qo,qm,{get:function(){return qo._getter(qm)},set:function(Zg){qo._setter(qm,Zg)},enumerable:!0,configurable:!1})}var If;for(If=0;If>If}function ss(qo,gm){var If=32-gm;return qo<>>If}function Es(qo){return[qo&255]}function Fs(qo){return rs(qo[0],8)}function ka(qo){return[qo&255]}function Hi(qo){return ss(qo[0],8)}function co(qo){return qo=Ct(Number(qo)),[qo<0?0:qo>255?255:qo&255]}function Mu(qo){return[qo>>8&255,qo&255]}function Vl(qo){return rs(qo[0]<<8|qo[1],16)}function Of(qo){return[qo>>8&255,qo&255]}function km(qo){return ss(qo[0]<<8|qo[1],16)}function Ec(qo){return[qo>>24&255,qo>>16&255,qo>>8&255,qo&255]}function Kp(qo){return rs(qo[0]<<24|qo[1]<<16|qo[2]<<8|qo[3],32)}function Wd(qo){return[qo>>24&255,qo>>16&255,qo>>8&255,qo&255]}function Um(qo){return ss(qo[0]<<24|qo[1]<<16|qo[2]<<8|qo[3],32)}function _A(qo,gm,If){var qm=(1<.5||PI%2?PI+1:PI}for(qo!==qo?(Zg=(1<=lt(2,1-qm)?(Zg=Ke(ge(Pe(qo)/W),1023),EA=nw(qo/lt(2,Zg)*lt(2,If)),EA/lt(2,If)>=2&&(Zg=Zg+1,EA=1),Zg>qm?(Zg=(1<>1;return qm.reverse(),lE=qm.join(""),H2=(1<0?yb*lt(2,JT-H2)*(1+nw/lt(2,If)):nw!==0?yb*lt(2,-(H2-1))*(nw/lt(2,If)):yb<0?-0:0}function Xg(qo){return N0(qo,11,52)}function vh(qo){return _A(qo,11,52)}function Zp(qo){return N0(qo,8,23)}function fh(qo){return _A(qo,8,23)}(function(){function qo(kI){if(kI=U.ToInt32(kI),kI<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");this.byteLength=kI,this._bytes=[],this._bytes.length=kI;var PI;for(PI=0;PIthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=U.ToUint32(f3),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw new TypeError("Unexpected argument type(s)");this.constructor=c3,Tn(this),Gn(this)},c3.prototype=new gm,c3.prototype.BYTES_PER_ELEMENT=kI,c3.prototype._pack=PI,c3.prototype._unpack=Mhe,c3.BYTES_PER_ELEMENT=kI,c3.prototype._getter=function(y1){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(y1=U.ToUint32(y1),!(y1>=this.length)){for(var iw=[],HT=0,f3=this.byteOffset+y1*this.BYTES_PER_ELEMENT;HTthis.length)throw new RangeError("Offset plus length of array is out of range");if(ed=this.byteOffset+tx*this.BYTES_PER_ELEMENT,RA=HT.length*this.BYTES_PER_ELEMENT,HT.buffer===this.buffer){for(xA=[],fC=0,gl=HT.byteOffset;fCthis.length)throw new RangeError("Offset plus length of array is out of range");for(fC=0;fCthis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=U.ToUint32(lE),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");Tn(this)}function qm(Zg){return function(EA,lE){if(EA=U.ToUint32(EA),EA+Zg.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");EA+=this.byteOffset;var H2=new P.Uint8Array(this.buffer,EA,Zg.BYTES_PER_ELEMENT),yb=[],JT;for(JT=0;JTthis.byteLength)throw new RangeError("Array index out of range");var yb=new Zg([lE]),JT=new P.Uint8Array(yb.buffer),nw=[],kI,PI;for(kI=0;kI0)throw new TypeError("WeakMap iterable is not supported")}te(Pe.prototype,"delete",function(wt){if(Ke(this,"delete"),!ge(wt))return!1;var Cr=wt[this._id];return Cr&&Cr[0]===wt?(delete wt[this._id],!0):!1}),te(Pe.prototype,"get",function(wt){if(Ke(this,"get"),!!ge(wt)){var Cr=wt[this._id];if(Cr&&Cr[0]===wt)return Cr[1]}}),te(Pe.prototype,"has",function(wt){if(Ke(this,"has"),!ge(wt))return!1;var Cr=wt[this._id];return!!(Cr&&Cr[0]===wt)}),te(Pe.prototype,"set",function(wt,Cr){if(Ke(this,"set"),!ge(wt))throw new TypeError("Invalid value used as weak map key");var pn=wt[this._id];return pn&&pn[0]===wt?(pn[1]=Cr,this):(te(wt,this._id,[wt,Cr]),this)});function Ke(wt,Cr){if(!ge(wt)||!U.call(wt,"_id"))throw new TypeError(Cr+" method called on incompatible receiver "+Di(wt))}function lt(wt){return wt+"_"+Ct()+"."+Ct()}function Ct(){return Math.random().toString().substring(2)}return te(Pe,"_polyfill",!0),Pe})();function ge(Pe){return Object(Pe)===Pe}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof t<"u"?t:typeof r<"u"?r:P)}),fA=Jt(function(P,L){"use strict";var U=function(te){return te&&te.Math===Math&&te};L.exports=U((typeof globalThis>"u"?"undefined":Di(globalThis))=="object"&&globalThis)||U((typeof t>"u"?"undefined":Di(t))=="object"&&t)||U((typeof self>"u"?"undefined":Di(self))=="object"&&self)||U((typeof r>"u"?"undefined":Di(r))=="object"&&r)||(function(){return this})()||P||Function("return this")()}),Hg=Jt(function(P,L){"use strict";L.exports=function(U){try{return!!U()}catch{return!0}}}),X0=Jt(function(P,L){"use strict";var U=Hg();L.exports=!U(function(){var W=function(){}.bind();return typeof W!="function"||W.hasOwnProperty("prototype")})}),Kx=Jt(function(P,L){"use strict";var U=X0(),W=Function.prototype,te=W.apply,ge=W.call;L.exports=(typeof Reflect>"u"?"undefined":Di(Reflect))=="object"&&Reflect.apply||(U?ge.bind(te):function(){return ge.apply(te,arguments)})}),Ee=Jt(function(P,L){"use strict";var U=X0(),W=Function.prototype,te=W.call,ge=U&&W.bind.bind(te,te);L.exports=U?ge:function(Pe){return function(){return te.apply(Pe,arguments)}}}),tE=Jt(function(P,L){"use strict";var U=Ee(),W=U({}.toString),te=U("".slice);L.exports=function(ge){return te(W(ge),8,-1)}}),j2=Jt(function(P,L){"use strict";var U=tE(),W=Ee();L.exports=function(te){if(U(te)==="Function")return W(te)}}),PD=Jt(function(P,L){"use strict";var U=(typeof n>"u"?"undefined":Di(n))=="object"&&n.all,W=typeof U>"u"&&U!==void 0;L.exports={all:U,IS_HTMLDDA:W}}),OE=Jt(function(P,L){"use strict";var U=PD(),W=U.all;L.exports=U.IS_HTMLDDA?function(te){return typeof te=="function"||te===W}:function(te){return typeof te=="function"}}),sS=Jt(function(P,L){"use strict";var U=Hg();L.exports=!U(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})}),JS=Jt(function(P,L){"use strict";var U=X0(),W=Function.prototype.call;L.exports=U?W.bind(W):function(){return W.apply(W,arguments)}}),ND=Jt(function(P){"use strict";var L={}.propertyIsEnumerable,U=Object.getOwnPropertyDescriptor,W=U&&!L.call({1:2},1);P.f=W?function(ge){var Pe=U(this,ge);return!!Pe&&Pe.enumerable}:L}),Dy=Jt(function(P,L){"use strict";L.exports=function(U,W){return{enumerable:!(U&1),configurable:!(U&2),writable:!(U&4),value:W}}}),OD=Jt(function(P,L){"use strict";var U=Ee(),W=Hg(),te=tE(),ge=Object,Pe=U("".split);L.exports=W(function(){return!ge("z").propertyIsEnumerable(0)})?function(Ke){return te(Ke)==="String"?Pe(Ke,""):ge(Ke)}:ge}),$w=Jt(function(P,L){"use strict";L.exports=function(U){return U==null}}),Ev=Jt(function(P,L){"use strict";var U=$w(),W=TypeError;L.exports=function(te){if(U(te))throw new W("Can't call method on "+te);return te}}),Il=Jt(function(P,L){"use strict";var U=OD(),W=Ev();L.exports=function(te){return U(W(te))}}),fI=Jt(function(P,L){"use strict";var U=OE(),W=PD(),te=W.all;L.exports=W.IS_HTMLDDA?function(ge){return Di(ge)=="object"?ge!==null:U(ge)||ge===te}:function(ge){return Di(ge)=="object"?ge!==null:U(ge)}}),U2=Jt(function(P,L){"use strict";L.exports={}}),Fl=Jt(function(P,L){"use strict";var U=U2(),W=fA(),te=OE(),ge=function(Ke){return te(Ke)?Ke:void 0};L.exports=function(Pe,Ke){return arguments.length<2?ge(U[Pe])||ge(W[Pe]):U[Pe]&&U[Pe][Ke]||W[Pe]&&W[Pe][Ke]}}),Gf=Jt(function(P,L){"use strict";var U=Ee();L.exports=U({}.isPrototypeOf)}),HS=Jt(function(P,L){"use strict";L.exports=typeof navigator<"u"&&String(navigator.userAgent)||""}),aS=Jt(function(P,L){"use strict";var U=fA(),W=HS(),te=U.process,ge=U.Deno,Pe=te&&te.versions||ge&&ge.version,Ke=Pe&&Pe.v8,lt,Ct;Ke&&(lt=Ke.split("."),Ct=lt[0]>0&<[0]<4?1:+(lt[0]+lt[1])),!Ct&&W&&(lt=W.match(/Edge\/(\d+)/),(!lt||lt[1]>=74)&&(lt=W.match(/Chrome\/(\d+)/),lt&&(Ct=+lt[1]))),L.exports=Ct}),xv=Jt(function(P,L){"use strict";var U=aS(),W=Hg(),te=fA(),ge=te.String;L.exports=!!Object.getOwnPropertySymbols&&!W(function(){var Pe=Symbol("symbol detection");return!ge(Pe)||!(Object(Pe)instanceof Symbol)||!Symbol.sham&&U&&U<41})}),zv=Jt(function(P,L){"use strict";var U=xv();L.exports=U&&!Symbol.sham&&Di(Symbol.iterator)=="symbol"}),w0=Jt(function(P,L){"use strict";var U=Fl(),W=OE(),te=Gf(),ge=zv(),Pe=Object;L.exports=ge?function(Ke){return Di(Ke)=="symbol"}:function(Ke){var lt=U("Symbol");return W(lt)&&te(lt.prototype,Pe(Ke))}}),Zy=Jt(function(P,L){"use strict";var U=String;L.exports=function(W){try{return U(W)}catch{return"Object"}}}),RD=Jt(function(P,L){"use strict";var U=OE(),W=Zy(),te=TypeError;L.exports=function(ge){if(U(ge))return ge;throw new te(W(ge)+" is not a function")}}),K9=Jt(function(P,L){"use strict";var U=RD(),W=$w();L.exports=function(te,ge){var Pe=te[ge];return W(Pe)?void 0:U(Pe)}}),Kw=Jt(function(P,L){"use strict";var U=JS(),W=OE(),te=fI(),ge=TypeError;L.exports=function(Pe,Ke){var lt,Ct;if(Ke==="string"&&W(lt=Pe.toString)&&!te(Ct=U(lt,Pe))||W(lt=Pe.valueOf)&&!te(Ct=U(lt,Pe))||Ke!=="string"&&W(lt=Pe.toString)&&!te(Ct=U(lt,Pe)))return Ct;throw new ge("Can't convert object to primitive value")}}),FD=Jt(function(P,L){"use strict";L.exports=!0}),q2=Jt(function(P,L){"use strict";var U=fA(),W=Object.defineProperty;L.exports=function(te,ge){try{W(U,te,{value:ge,configurable:!0,writable:!0})}catch{U[te]=ge}return ge}}),Y2=Jt(function(P,L){"use strict";var U=fA(),W=q2(),te="__core-js_shared__",ge=U[te]||W(te,{});L.exports=ge}),Jw=Jt(function(P,L){"use strict";var U=FD(),W=Y2();(L.exports=function(te,ge){return W[te]||(W[te]=ge!==void 0?ge:{})})("versions",[]).push({version:"3.33.0",mode:U?"pure":"global",copyright:"\xA9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.33.0/LICENSE",source:"https://github.com/zloirock/core-js"})}),Ye=Jt(function(P,L){"use strict";var U=Ev(),W=Object;L.exports=function(te){return W(U(te))}}),$r=Jt(function(P,L){"use strict";var U=Ee(),W=Ye(),te=U({}.hasOwnProperty);L.exports=Object.hasOwn||function(Pe,Ke){return te(W(Pe),Ke)}}),Kr=Jt(function(P,L){"use strict";var U=Ee(),W=0,te=Math.random(),ge=U(1 .toString);L.exports=function(Pe){return"Symbol("+(Pe===void 0?"":Pe)+")_"+ge(++W+te,36)}}),Rs=Jt(function(P,L){"use strict";var U=fA(),W=Jw(),te=$r(),ge=Kr(),Pe=xv(),Ke=zv(),lt=U.Symbol,Ct=W("wks"),wt=Ke?lt.for||lt:lt&<.withoutSetter||ge;L.exports=function(Cr){return te(Ct,Cr)||(Ct[Cr]=Pe&&te(lt,Cr)?lt[Cr]:wt("Symbol."+Cr)),Ct[Cr]}}),vi=Jt(function(P,L){"use strict";var U=JS(),W=fI(),te=w0(),ge=K9(),Pe=Kw(),Ke=Rs(),lt=TypeError,Ct=Ke("toPrimitive");L.exports=function(wt,Cr){if(!W(wt)||te(wt))return wt;var pn=ge(wt,Ct),Tn;if(pn){if(Cr===void 0&&(Cr="default"),Tn=U(pn,wt,Cr),!W(Tn)||te(Tn))return Tn;throw new lt("Can't convert object to primitive value")}return Cr===void 0&&(Cr="number"),Pe(wt,Cr)}}),Pu=Jt(function(P,L){"use strict";var U=vi(),W=w0();L.exports=function(te){var ge=U(te,"string");return W(ge)?ge:ge+""}}),gp=Jt(function(P,L){"use strict";var U=fA(),W=fI(),te=U.document,ge=W(te)&&W(te.createElement);L.exports=function(Pe){return ge?te.createElement(Pe):{}}}),Cf=Jt(function(P,L){"use strict";var U=sS(),W=Hg(),te=gp();L.exports=!U&&!W(function(){return Object.defineProperty(te("div"),"a",{get:function(){return 7}}).a!==7})}),yA=Jt(function(P){"use strict";var L=sS(),U=JS(),W=ND(),te=Dy(),ge=Il(),Pe=Pu(),Ke=$r(),lt=Cf(),Ct=Object.getOwnPropertyDescriptor;P.f=L?Ct:function(Cr,pn){if(Cr=ge(Cr),pn=Pe(pn),lt)try{return Ct(Cr,pn)}catch{}if(Ke(Cr,pn))return te(!U(W.f,Cr,pn),Cr[pn])}}),wy=Jt(function(P,L){"use strict";var U=Hg(),W=OE(),te=/#|\.prototype\./,ge=function(Cr,pn){var Tn=Ke[Pe(Cr)];return Tn===Ct?!0:Tn===lt?!1:W(pn)?U(pn):!!pn},Pe=ge.normalize=function(wt){return String(wt).replace(te,".").toLowerCase()},Ke=ge.data={},lt=ge.NATIVE="N",Ct=ge.POLYFILL="P";L.exports=ge}),vv=Jt(function(P,L){"use strict";var U=j2(),W=RD(),te=X0(),ge=U(U.bind);L.exports=function(Pe,Ke){return W(Pe),Ke===void 0?Pe:te?ge(Pe,Ke):function(){return Pe.apply(Ke,arguments)}}}),kl=Jt(function(P,L){"use strict";var U=sS(),W=Hg();L.exports=U&&W(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})}),Qf=Jt(function(P,L){"use strict";var U=fI(),W=String,te=TypeError;L.exports=function(ge){if(U(ge))return ge;throw new te(W(ge)+" is not an object")}}),Cv=Jt(function(P){"use strict";var L=sS(),U=Cf(),W=kl(),te=Qf(),ge=Pu(),Pe=TypeError,Ke=Object.defineProperty,lt=Object.getOwnPropertyDescriptor,Ct="enumerable",wt="configurable",Cr="writable";P.f=L?W?function(Tn,Gn,rs){if(te(Tn),Gn=ge(Gn),te(rs),typeof Tn=="function"&&Gn==="prototype"&&"value"in rs&&Cr in rs&&!rs[Cr]){var ss=lt(Tn,Gn);ss&&ss[Cr]&&(Tn[Gn]=rs.value,rs={configurable:wt in rs?rs[wt]:ss[wt],enumerable:Ct in rs?rs[Ct]:ss[Ct],writable:!1})}return Ke(Tn,Gn,rs)}:Ke:function(Tn,Gn,rs){if(te(Tn),Gn=ge(Gn),te(rs),U)try{return Ke(Tn,Gn,rs)}catch{}if("get"in rs||"set"in rs)throw new Pe("Accessors not supported");return"value"in rs&&(Tn[Gn]=rs.value),Tn}}),pI=Jt(function(P,L){"use strict";var U=sS(),W=Cv(),te=Dy();L.exports=U?function(ge,Pe,Ke){return W.f(ge,Pe,te(1,Ke))}:function(ge,Pe,Ke){return ge[Pe]=Ke,ge}}),F_=Jt(function(P,L){"use strict";var U=fA(),W=Kx(),te=j2(),ge=OE(),Pe=yA().f,Ke=wy(),lt=U2(),Ct=vv(),wt=pI(),Cr=$r(),pn=function(Gn){var rs=function(Es,Fs,ka){if(this instanceof rs){switch(arguments.length){case 0:return new Gn;case 1:return new Gn(Es);case 2:return new Gn(Es,Fs)}return new Gn(Es,Fs,ka)}return W(Gn,this,arguments)};return rs.prototype=Gn.prototype,rs};L.exports=function(Tn,Gn){var rs=Tn.target,ss=Tn.global,Es=Tn.stat,Fs=Tn.proto,ka=ss?U:Es?U[rs]:(U[rs]||{}).prototype,Hi=ss?lt:lt[rs]||wt(lt,rs,{})[rs],co=Hi.prototype,Mu,Vl,Of,km,Ec,Kp,Wd,Um,_A;for(km in Gn)Mu=Ke(ss?km:rs+(Es?".":"#")+km,Tn.forced),Vl=!Mu&&ka&&Cr(ka,km),Kp=Hi[km],Vl&&(Tn.dontCallGetSet?(_A=Pe(ka,km),Wd=_A&&_A.value):Wd=ka[km]),Ec=Vl&&Wd?Wd:Gn[km],!(Vl&&Di(Kp)==Di(Ec))&&(Tn.bind&&Vl?Um=Ct(Ec,U):Tn.wrap&&Vl?Um=pn(Ec):Fs&&ge(Ec)?Um=te(Ec):Um=Ec,(Tn.sham||Ec&&Ec.sham||Kp&&Kp.sham)&&wt(Um,"sham",!0),wt(Hi,km,Um),Fs&&(Of=rs+"Prototype",Cr(lt,Of)||wt(lt,Of,{}),wt(lt[Of],km,Ec),Tn.real&&co&&(Mu||!co[km])&&wt(co,km,Ec)))}}),Bg=Jt(function(){"use strict";var P=F_(),L=$r();P({target:"Object",stat:!0},{hasOwn:L})}),v_=Jt(function(P,L){"use strict";Bg();var U=U2();L.exports=U.Object.hasOwn}),Hw=Jt(function(P,L){"use strict";var U=v_();L.exports=U}),zw=Jt(function(P,L){"use strict";var U=Hw();L.exports=U}),J9=Jt(function(P,L){"use strict";var U=Jw(),W=Kr(),te=U("keys");L.exports=function(ge){return te[ge]||(te[ge]=W(ge))}}),Tx=Jt(function(P,L){"use strict";var U=Hg();L.exports=!U(function(){function W(){}return W.prototype.constructor=null,Object.getPrototypeOf(new W)!==W.prototype})}),Wv=Jt(function(P,L){"use strict";var U=$r(),W=OE(),te=Ye(),ge=J9(),Pe=Tx(),Ke=ge("IE_PROTO"),lt=Object,Ct=lt.prototype;L.exports=Pe?lt.getPrototypeOf:function(wt){var Cr=te(wt);if(U(Cr,Ke))return Cr[Ke];var pn=Cr.constructor;return W(pn)&&Cr instanceof pn?pn.prototype:Cr instanceof lt?Ct:null}}),Xv=Jt(function(P,L){"use strict";var U=Math.ceil,W=Math.floor;L.exports=Math.trunc||function(ge){var Pe=+ge;return(Pe>0?W:U)(Pe)}}),G2=Jt(function(P,L){"use strict";var U=Xv();L.exports=function(W){var te=+W;return te!==te||te===0?0:U(te)}}),LD=Jt(function(P,L){"use strict";var U=G2(),W=Math.max,te=Math.min;L.exports=function(ge,Pe){var Ke=U(ge);return Ke<0?W(Ke+Pe,0):te(Ke,Pe)}}),oS=Jt(function(P,L){"use strict";var U=G2(),W=Math.min;L.exports=function(te){return te>0?W(U(te),9007199254740991):0}}),za=Jt(function(P,L){"use strict";var U=oS();L.exports=function(W){return U(W.length)}}),zS=Jt(function(P,L){"use strict";var U=Il(),W=LD(),te=za(),ge=function(Ke){return function(lt,Ct,wt){var Cr=U(lt),pn=te(Cr),Tn=W(wt,pn),Gn;if(Ke&&Ct!==Ct){for(;pn>Tn;)if(Gn=Cr[Tn++],Gn!==Gn)return!0}else for(;pn>Tn;Tn++)if((Ke||Tn in Cr)&&Cr[Tn]===Ct)return Ke||Tn||0;return!Ke&&-1}};L.exports={includes:ge(!0),indexOf:ge(!1)}}),PT=Jt(function(P,L){"use strict";L.exports={}}),MD=Jt(function(P,L){"use strict";var U=Ee(),W=$r(),te=Il(),ge=zS().indexOf,Pe=PT(),Ke=U([].push);L.exports=function(lt,Ct){var wt=te(lt),Cr=0,pn=[],Tn;for(Tn in wt)!W(Pe,Tn)&&W(wt,Tn)&&Ke(pn,Tn);for(;Ct.length>Cr;)W(wt,Tn=Ct[Cr++])&&(~ge(pn,Tn)||Ke(pn,Tn));return pn}}),H9=Jt(function(P,L){"use strict";L.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),Q3=Jt(function(P,L){"use strict";var U=MD(),W=H9();L.exports=Object.keys||function(ge){return U(ge,W)}}),QD=Jt(function(P,L){"use strict";var U=sS(),W=Hg(),te=Ee(),ge=Wv(),Pe=Q3(),Ke=Il(),lt=ND().f,Ct=te(lt),wt=te([].push),Cr=U&&W(function(){var Tn=Object.create(null);return Tn[2]=2,!Ct(Tn,2)}),pn=function(Gn){return function(rs){for(var ss=Ke(rs),Es=Pe(ss),Fs=Cr&&ge(ss)===null,ka=Es.length,Hi=0,co=[],Mu;ka>Hi;)Mu=Es[Hi++],(!U||(Fs?Mu in ss:Ct(ss,Mu)))&&wt(co,Gn?[Mu,ss[Mu]]:ss[Mu]);return co}};L.exports={entries:pn(!0),values:pn(!1)}}),z9=Jt(function(){"use strict";var P=F_(),L=QD().values;P({target:"Object",stat:!0},{values:function(W){return L(W)}})}),dI=Jt(function(P,L){"use strict";z9();var U=U2();L.exports=U.Object.values}),ve=Jt(function(P,L){"use strict";var U=dI();L.exports=U}),mr=Jt(function(P,L){"use strict";var U=ve();L.exports=U}),yr=Jt(function(P,L){"use strict";var U=Rs(),W=U("toStringTag"),te={};te[W]="z",L.exports=String(te)==="[object z]"}),ys=Jt(function(P,L){"use strict";var U=yr(),W=OE(),te=tE(),ge=Rs(),Pe=ge("toStringTag"),Ke=Object,lt=te((function(){return arguments})())==="Arguments",Ct=function(Cr,pn){try{return Cr[pn]}catch{}};L.exports=U?te:function(wt){var Cr,pn,Tn;return wt===void 0?"Undefined":wt===null?"Null":typeof(pn=Ct(Cr=Ke(wt),Pe))=="string"?pn:lt?te(Cr):(Tn=te(Cr))==="Object"&&W(Cr.callee)?"Arguments":Tn}}),Hn=Jt(function(P,L){"use strict";var U=ys(),W=String;L.exports=function(te){if(U(te)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return W(te)}}),Wo=Jt(function(P,L){"use strict";var U=Ee(),W=G2(),te=Hn(),ge=Ev(),Pe=U("".charAt),Ke=U("".charCodeAt),lt=U("".slice),Ct=function(Cr){return function(pn,Tn){var Gn=te(ge(pn)),rs=W(Tn),ss=Gn.length,Es,Fs;return rs<0||rs>=ss?Cr?"":void 0:(Es=Ke(Gn,rs),Es<55296||Es>56319||rs+1===ss||(Fs=Ke(Gn,rs+1))<56320||Fs>57343?Cr?Pe(Gn,rs):Es:Cr?lt(Gn,rs,rs+2):(Es-55296<<10)+(Fs-56320)+65536)}};L.exports={codeAt:Ct(!1),charAt:Ct(!0)}}),om=Jt(function(P,L){"use strict";var U=fA(),W=OE(),te=U.WeakMap;L.exports=W(te)&&/native code/.test(String(te))}),Hd=Jt(function(P,L){"use strict";var U=om(),W=fA(),te=fI(),ge=pI(),Pe=$r(),Ke=Y2(),lt=J9(),Ct=PT(),wt="Object already initialized",Cr=W.TypeError,pn=W.WeakMap,Tn,Gn,rs,ss=function(co){return rs(co)?Gn(co):Tn(co,{})},Es=function(co){return function(Mu){var Vl;if(!te(Mu)||(Vl=Gn(Mu)).type!==co)throw new Cr("Incompatible receiver, "+co+" required");return Vl}};U||Ke.state?(Fs=Ke.state||(Ke.state=new pn),Fs.get=Fs.get,Fs.has=Fs.has,Fs.set=Fs.set,Tn=function(co,Mu){if(Fs.has(co))throw new Cr(wt);return Mu.facade=co,Fs.set(co,Mu),Mu},Gn=function(co){return Fs.get(co)||{}},rs=function(co){return Fs.has(co)}):(ka=lt("state"),Ct[ka]=!0,Tn=function(co,Mu){if(Pe(co,ka))throw new Cr(wt);return Mu.facade=co,ge(co,ka,Mu),Mu},Gn=function(co){return Pe(co,ka)?co[ka]:{}},rs=function(co){return Pe(co,ka)});var Fs,ka;L.exports={set:Tn,get:Gn,has:rs,enforce:ss,getterFor:Es}}),e_=Jt(function(P,L){"use strict";var U=sS(),W=$r(),te=Function.prototype,ge=U&&Object.getOwnPropertyDescriptor,Pe=W(te,"name"),Ke=Pe&&function(){}.name==="something",lt=Pe&&(!U||U&&ge(te,"name").configurable);L.exports={EXISTS:Pe,PROPER:Ke,CONFIGURABLE:lt}}),L_=Jt(function(P){"use strict";var L=sS(),U=kl(),W=Cv(),te=Qf(),ge=Il(),Pe=Q3();P.f=L&&!U?Object.defineProperties:function(lt,Ct){te(lt);for(var wt=ge(Ct),Cr=Pe(Ct),pn=Cr.length,Tn=0,Gn;pn>Tn;)W.f(lt,Gn=Cr[Tn++],wt[Gn]);return lt}}),Zv=Jt(function(P,L){"use strict";var U=Fl();L.exports=U("document","documentElement")}),Jx=Jt(function(P,L){"use strict";var U=Qf(),W=L_(),te=H9(),ge=PT(),Pe=Zv(),Ke=gp(),lt=J9(),Ct=">",wt="<",Cr="prototype",pn="script",Tn=lt("IE_PROTO"),Gn=function(){},rs=function(co){return wt+pn+Ct+co+wt+"/"+pn+Ct},ss=function(co){co.write(rs("")),co.close();var Mu=co.parentWindow.Object;return co=null,Mu},Es=function(){var co=Ke("iframe"),Mu="java"+pn+":",Vl;return co.style.display="none",Pe.appendChild(co),co.src=String(Mu),Vl=co.contentWindow.document,Vl.open(),Vl.write(rs("document.F=Object")),Vl.close(),Vl.F},Fs,ka=function(){try{Fs=new ActiveXObject("htmlfile")}catch{}ka=typeof n<"u"?n.domain&&Fs?ss(Fs):Es():ss(Fs);for(var co=te.length;co--;)delete ka[Cr][te[co]];return ka()};ge[Tn]=!0,L.exports=Object.create||function(co,Mu){var Vl;return co!==null?(Gn[Cr]=U(co),Vl=new Gn,Gn[Cr]=null,Vl[Tn]=co):Vl=ka(),Mu===void 0?Vl:W.f(Vl,Mu)}}),ar=Jt(function(P,L){"use strict";var U=pI();L.exports=function(W,te,ge,Pe){return Pe&&Pe.enumerable?W[te]=ge:U(W,te,ge),W}}),pr=Jt(function(P,L){"use strict";var U=Hg(),W=OE(),te=fI(),ge=Jx(),Pe=Wv(),Ke=ar(),lt=Rs(),Ct=FD(),wt=lt("iterator"),Cr=!1,pn,Tn,Gn;[].keys&&(Gn=[].keys(),"next"in Gn?(Tn=Pe(Pe(Gn)),Tn!==Object.prototype&&(pn=Tn)):Cr=!0);var rs=!te(pn)||U(function(){var ss={};return pn[wt].call(ss)!==ss});rs?pn={}:Ct&&(pn=ge(pn)),W(pn[wt])||Ke(pn,wt,function(){return this}),L.exports={IteratorPrototype:pn,BUGGY_SAFARI_ITERATORS:Cr}}),Ir=Jt(function(P,L){"use strict";var U=yr(),W=ys();L.exports=U?{}.toString:function(){return"[object "+W(this)+"]"}}),_n=Jt(function(P,L){"use strict";var U=yr(),W=Cv().f,te=pI(),ge=$r(),Pe=Ir(),Ke=Rs(),lt=Ke("toStringTag");L.exports=function(Ct,wt,Cr,pn){if(Ct){var Tn=Cr?Ct:Ct.prototype;ge(Tn,lt)||W(Tn,lt,{configurable:!0,value:wt}),pn&&!U&&te(Tn,"toString",Pe)}}}),Wi=Jt(function(P,L){"use strict";L.exports={}}),So=Jt(function(P,L){"use strict";var U=pr().IteratorPrototype,W=Jx(),te=Dy(),ge=_n(),Pe=Wi(),Ke=function(){return this};L.exports=function(lt,Ct,wt,Cr){var pn=Ct+" Iterator";return lt.prototype=W(U,{next:te(+!Cr,wt)}),ge(lt,pn,!1,!0),Pe[pn]=Ke,lt}}),dd=Jt(function(P,L){"use strict";var U=Ee(),W=RD();L.exports=function(te,ge,Pe){try{return U(W(Object.getOwnPropertyDescriptor(te,ge)[Pe]))}catch{}}}),By=Jt(function(P,L){"use strict";var U=OE(),W=String,te=TypeError;L.exports=function(ge){if(Di(ge)=="object"||U(ge))return ge;throw new te("Can't set "+W(ge)+" as a prototype")}}),h2=Jt(function(P,L){"use strict";var U=dd(),W=Qf(),te=By();L.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var ge=!1,Pe={},Ke;try{Ke=U(Object.prototype,"__proto__","set"),Ke(Pe,[]),ge=Pe instanceof Array}catch{}return function(Ct,wt){return W(Ct),te(wt),ge?Ke(Ct,wt):Ct.__proto__=wt,Ct}})():void 0)}),WS=Jt(function(P,L){"use strict";var U=F_(),W=JS(),te=FD(),ge=e_(),Pe=OE(),Ke=So(),lt=Wv(),Ct=h2(),wt=_n(),Cr=pI(),pn=ar(),Tn=Rs(),Gn=Wi(),rs=pr(),ss=ge.PROPER,Es=ge.CONFIGURABLE,Fs=rs.IteratorPrototype,ka=rs.BUGGY_SAFARI_ITERATORS,Hi=Tn("iterator"),co="keys",Mu="values",Vl="entries",Of=function(){return this};L.exports=function(km,Ec,Kp,Wd,Um,_A,N0){Ke(Kp,Ec,Wd);var Xg=function(lE){if(lE===Um&&gm)return gm;if(!ka&&lE&&lE in fh)return fh[lE];switch(lE){case co:return function(){return new Kp(this,lE)};case Mu:return function(){return new Kp(this,lE)};case Vl:return function(){return new Kp(this,lE)}}return function(){return new Kp(this)}},vh=Ec+" Iterator",Zp=!1,fh=km.prototype,qo=fh[Hi]||fh["@@iterator"]||Um&&fh[Um],gm=!ka&&qo||Xg(Um),If=Ec==="Array"&&fh.entries||qo,qm,U0,Zg;if(If&&(qm=lt(If.call(new km)),qm!==Object.prototype&&qm.next&&(!te&<(qm)!==Fs&&(Ct?Ct(qm,Fs):Pe(qm[Hi])||pn(qm,Hi,Of)),wt(qm,vh,!0,!0),te&&(Gn[vh]=Of))),ss&&Um===Mu&&qo&&qo.name!==Mu&&(!te&&Es?Cr(fh,"name",Mu):(Zp=!0,gm=function(){return W(qo,this)})),Um)if(U0={values:Xg(Mu),keys:_A?gm:Xg(co),entries:Xg(Vl)},N0)for(Zg in U0)(ka||Zp||!(Zg in fh))&&pn(fh,Zg,U0[Zg]);else U({target:Ec,proto:!0,forced:ka||Zp},U0);return(!te||N0)&&fh[Hi]!==gm&&pn(fh,Hi,gm,{name:Um}),Gn[Ec]=gm,U0}}),wR=Jt(function(P,L){"use strict";L.exports=function(U,W){return{value:U,done:W}}}),BR=Jt(function(){"use strict";var P=Wo().charAt,L=Hn(),U=Hd(),W=WS(),te=wR(),ge="String Iterator",Pe=U.set,Ke=U.getterFor(ge);W(String,"String",function(lt){Pe(this,{type:ge,string:L(lt),index:0})},function(){var Ct=Ke(this),wt=Ct.string,Cr=Ct.index,pn;return Cr>=wt.length?te(void 0,!0):(pn=P(wt,Cr),Ct.index+=pn.length,te(pn,!1))})}),W7=Jt(function(P,L){"use strict";var U=JS(),W=Qf(),te=K9();L.exports=function(ge,Pe,Ke){var lt,Ct;W(ge);try{if(lt=te(ge,"return"),!lt){if(Pe==="throw")throw Ke;return Ke}lt=U(lt,ge)}catch(wt){Ct=!0,lt=wt}if(Pe==="throw")throw Ke;if(Ct)throw lt;return W(lt),Ke}}),P4=Jt(function(P,L){"use strict";var U=Qf(),W=W7();L.exports=function(te,ge,Pe,Ke){try{return Ke?ge(U(Pe)[0],Pe[1]):ge(Pe)}catch(lt){W(te,"throw",lt)}}}),X7=Jt(function(P,L){"use strict";var U=Rs(),W=Wi(),te=U("iterator"),ge=Array.prototype;L.exports=function(Pe){return Pe!==void 0&&(W.Array===Pe||ge[te]===Pe)}}),Ww=Jt(function(P,L){"use strict";var U=Ee(),W=OE(),te=Y2(),ge=U(Function.toString);W(te.inspectSource)||(te.inspectSource=function(Pe){return ge(Pe)}),L.exports=te.inspectSource}),Ek=Jt(function(P,L){"use strict";var U=Ee(),W=Hg(),te=OE(),ge=ys(),Pe=Fl(),Ke=Ww(),lt=function(){},Ct=[],wt=Pe("Reflect","construct"),Cr=/^\s*(?:class|function)\b/,pn=U(Cr.exec),Tn=!Cr.test(lt),Gn=function(Es){if(!te(Es))return!1;try{return wt(lt,Ct,Es),!0}catch{return!1}},rs=function(Es){if(!te(Es))return!1;switch(ge(Es)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return Tn||!!pn(Cr,Ke(Es))}catch{return!0}};rs.sham=!0,L.exports=!wt||W(function(){var ss;return Gn(Gn.call)||!Gn(Object)||!Gn(function(){ss=!0})||ss})?rs:Gn}),VL=Jt(function(P,L){"use strict";var U=Pu(),W=Cv(),te=Dy();L.exports=function(ge,Pe,Ke){var lt=U(Pe);lt in ge?W.f(ge,lt,te(0,Ke)):ge[lt]=Ke}}),xk=Jt(function(P,L){"use strict";var U=ys(),W=K9(),te=$w(),ge=Wi(),Pe=Rs(),Ke=Pe("iterator");L.exports=function(lt){if(!te(lt))return W(lt,Ke)||W(lt,"@@iterator")||ge[U(lt)]}}),Z7=Jt(function(P,L){"use strict";var U=JS(),W=RD(),te=Qf(),ge=Zy(),Pe=xk(),Ke=TypeError;L.exports=function(lt,Ct){var wt=arguments.length<2?Pe(lt):Ct;if(W(wt))return te(U(wt,lt));throw new Ke(ge(lt)+" is not iterable")}}),kR=Jt(function(P,L){"use strict";var U=vv(),W=JS(),te=Ye(),ge=P4(),Pe=X7(),Ke=Ek(),lt=za(),Ct=VL(),wt=Z7(),Cr=xk(),pn=Array;L.exports=function(Gn){var rs=te(Gn),ss=Ke(this),Es=arguments.length,Fs=Es>1?arguments[1]:void 0,ka=Fs!==void 0;ka&&(Fs=U(Fs,Es>2?arguments[2]:void 0));var Hi=Cr(rs),co=0,Mu,Vl,Of,km,Ec,Kp;if(Hi&&!(this===pn&&Pe(Hi)))for(km=wt(rs,Hi),Ec=km.next,Vl=ss?new this:[];!(Of=W(Ec,km)).done;co++)Kp=ka?ge(km,Fs,[Of.value,co],!0):Of.value,Ct(Vl,co,Kp);else for(Mu=lt(rs),Vl=ss?new this(Mu):pn(Mu);Mu>co;co++)Kp=ka?Fs(rs[co],co):rs[co],Ct(Vl,co,Kp);return Vl.length=co,Vl}}),XB=Jt(function(P,L){"use strict";var U=Rs(),W=U("iterator"),te=!1;try{ge=0,Pe={next:function(){return{done:!!ge++}},return:function(){te=!0}},Pe[W]=function(){return this},Array.from(Pe,function(){throw 2})}catch{}var ge,Pe;L.exports=function(Ke,lt){try{if(!lt&&!te)return!1}catch{return!1}var Ct=!1;try{var wt={};wt[W]=function(){return{next:function(){return{done:Ct=!0}}}},Ke(wt)}catch{}return Ct}}),oN=Jt(function(){"use strict";var P=F_(),L=kR(),U=XB(),W=!U(function(te){Array.from(te)});P({target:"Array",stat:!0,forced:W},{from:L})}),N4=Jt(function(P,L){"use strict";BR(),oN();var U=U2();L.exports=U.Array.from}),W9=Jt(function(P,L){"use strict";var U=N4();L.exports=U}),fe=Jt(function(P,L){"use strict";var U=W9();L.exports=U}),jt=Jt(function(P,L){(function(){"use strict";var U={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};(function(){if((typeof globalThis>"u"?"undefined":Di(globalThis))!=="object")try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch{t.globalThis=(function(){if(typeof self<"u")return self;if(typeof t<"u")return t;if(typeof r<"u")return r;if(typeof this<"u")return this;throw new Error("Unable to locate global `this`")})()}})(),U.encodeHTMLSource=function(Ke){var lt={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},Ct=Ke?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(wt){return wt?wt.toString().replace(Ct,function(Cr){return lt[Cr]||Cr}):""}},typeof L<"u"&&L.exports?L.exports=U:typeof define=="function"&&define.amd?define(function(){return U}):globalThis.doT=U;var W={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},te=/$^/;function ge(Ke,lt,Ct){return(typeof lt=="string"?lt:lt.toString()).replace(Ke.define||te,function(wt,Cr,pn,Tn){return Cr.indexOf("def.")===0&&(Cr=Cr.substring(4)),Cr in Ct||(pn===":"?(Ke.defineParams&&Tn.replace(Ke.defineParams,function(Gn,rs,ss){Ct[Cr]={arg:rs,text:ss}}),Cr in Ct||(Ct[Cr]=Tn)):new Function("def","def['"+Cr+"']="+Tn)(Ct)),""}).replace(Ke.use||te,function(wt,Cr){Ke.useParams&&(Cr=Cr.replace(Ke.useParams,function(Tn,Gn,rs,ss){if(Ct[rs]&&Ct[rs].arg&&ss){var Es=(rs+":"+ss).replace(/'|\\/g,"_");return Ct.__exp=Ct.__exp||{},Ct.__exp[Es]=Ct[rs].text.replace(new RegExp("(^|[^\\w$])"+Ct[rs].arg+"([^\\w$])","g"),"$1"+ss+"$2"),Gn+"def.__exp['"+Es+"']"}}));var pn=new Function("def","return "+Cr)(Ct);return pn&&ge(Ke,pn,Ct)})}function Pe(Ke){return Ke.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}U.template=function(Ke,lt,Ct){lt=lt||U.templateSettings;var wt=lt.append?W.append:W.split,Cr,pn=0,Tn,Gn=lt.use||lt.define?ge(lt,Ke,Ct||{}):Ke;Gn=("var out='"+(lt.strip?Gn.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):Gn).replace(/'|\\/g,"\\$&").replace(lt.interpolate||te,function(rs,ss){return wt.start+Pe(ss)+wt.end}).replace(lt.encode||te,function(rs,ss){return Cr=!0,wt.startencode+Pe(ss)+wt.end}).replace(lt.conditional||te,function(rs,ss,Es){return ss?Es?"';}else if("+Pe(Es)+"){out+='":"';}else{out+='":Es?"';if("+Pe(Es)+"){out+='":"';}out+='"}).replace(lt.iterate||te,function(rs,ss,Es,Fs){return ss?(pn+=1,Tn=Fs||"i"+pn,ss=Pe(ss),"';var arr"+pn+"="+ss+";if(arr"+pn+"){var "+Es+","+Tn+"=-1,l"+pn+"=arr"+pn+".length-1;while("+Tn+"",sameOrigin:""};Ot.forEach(function(P){var L=P.name,U=P.value,W=P.priority,te=P.group;Ci[L]=U,Ci[L+"_PRIO"]=W,Ci[L+"_GROUP"]=te,Ci.results[W]=U,Ci.resultGroups[W]=te,Ci.resultGroupMap[U]=te}),Object.freeze(Ci.results),Object.freeze(Ci.resultGroups),Object.freeze(Ci.resultGroupMap),Object.freeze(Ci);var En=Ci;function Xa(){(typeof console>"u"?"undefined":Di(console))==="object"&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}var jf=Xa,Nd=/[\t\r\n\f]/g,M_=(function(){function P(){gt(this,P),this.parent=void 0}return Sn(P,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(U){var W=this.attr("class");if(!W)return!1;var te=" "+U+" ";return(" "+W+" ").replace(Nd," ").indexOf(te)>=0}}])})(),p1=M_,jn={};Qt(jn,{DqElement:function(){return Lu},aggregate:function(){return XS},aggregateChecks:function(){return KL},aggregateNodeResults:function(){return Ie},aggregateResult:function(){return jD},areStylesSet:function(){return Rt},assert:function(){return Kn},checkHelper:function(){return Oge},clone:function(){return e5},closest:function(){return X9},collectResultsFromFrames:function(){return Tte},contains:function(){return s0},convertSelector:function(){return vk},cssParser:function(){return t5},deepMerge:function(){return E2},escapeSelector:function(){return Cp},extendMetaData:function(){return NR},filterHtmlAttrs:function(){return Yue},finalizeRuleResult:function(){return cN},findBy:function(){return WG},getAllChecks:function(){return qge},getAncestry:function(){return X2e},getBaseLang:function(){return b5},getCheckMessage:function(){return tLe},getCheckOption:function(){return Jve},getEnvironmentData:function(){return uz},getFlattenedTree:function(){return IV},getFrameContexts:function(){return $Ae},getFriendlyUriEnd:function(){return Hx},getNodeAttributes:function(){return fN},getNodeFromTree:function(){return yh},getPreloadConfig:function(){return dz},getRootNode:function(){return Dte},getRule:function(){return NN},getScroll:function(){return I5},getScrollState:function(){return uq},getSelector:function(){return hh},getSelectorData:function(){return Toe},getShadowSelector:function(){return i0},getStandards:function(){return W8e},getStyleSheetFactory:function(){return lz},getXpath:function(){return Nge},injectStyle:function(){return DV},isArrayLike:function(){return C8},isContextObject:function(){return RN},isContextProp:function(){return A6},isContextSpec:function(){return X4},isHidden:function(){return zve},isHtmlElement:function(){return Ny},isLabelledFramesSelector:function(){return Mk},isLabelledShadowDomSelector:function(){return zR},isNodeInContext:function(){return JAe},isShadowRoot:function(){return uve},isValidLang:function(){return Jue},isXHTML:function(){return pN},matchAncestry:function(){return cz},matches:function(){return ef},matchesExpression:function(){return Wa},matchesSelector:function(){return AU},memoize:function(){return mI},mergeResults:function(){return ZS},nodeLookup:function(){return aC},nodeSerializer:function(){return e3},nodeSorter:function(){return Mue},objectHasOwn:function(){return g6},parseCrossOriginStylesheet:function(){return Xve},parseSameOriginStylesheet:function(){return Wve},parseStylesheet:function(){return lq},parseTabindex:function(){return FN},performanceTimer:function(){return eu},pollyfillElementsFromPoint:function(){return jd},preload:function(){return xM},preloadCssom:function(){return S5},preloadMedia:function(){return zAe},processMessage:function(){return $8e},publishMetaData:function(){return vre},querySelectorAll:function(){return h6},querySelectorAllFilter:function(){return H3},queue:function(){return y2},respondable:function(){return n_},ruleShouldRun:function(){return jk},select:function(){return mz},sendCommandToFrame:function(){return HG},setScrollState:function(){return Z8e},shadowSelect:function(){return ehe},shadowSelectAll:function(){return $ue},shouldPreload:function(){return rCe},toArray:function(){return Ya},tokenList:function(){return j0},uniqueArray:function(){return wV},uuid:function(){return RFe},validInputTypes:function(){return iCe},validLangs:function(){return cq}});function Xw(P,L,U){L=L.slice(),U&&L.push(U);var W=L.map(function(te){return P.indexOf(te)}).sort();return P[W.pop()]}var XS=Xw,$L=En.CANTTELL_PRIO,uN=En.FAIL_PRIO,PR=[];PR[En.PASS_PRIO]=!0,PR[En.CANTTELL_PRIO]=null,PR[En.FAIL_PRIO]=!1;var Zw=["any","all","none"];function lN(P,L){return Zw.reduce(function(U,W){return U[W]=(P[W]||[]).map(function(te){return L(te,W)}),U},{})}function VG(P){var L=Object.assign({},P);lN(L,function(te,ge){var Pe=typeof te.result>"u"?-1:PR.indexOf(te.result);te.priority=Pe!==-1?Pe:En.CANTTELL_PRIO,ge==="none"&&(te.priority===En.PASS_PRIO?te.priority=En.FAIL_PRIO:te.priority===En.FAIL_PRIO&&(te.priority=En.PASS_PRIO))});var U={all:L.all.reduce(function(te,ge){return Math.max(te,ge.priority)},0),none:L.none.reduce(function(te,ge){return Math.max(te,ge.priority)},0),any:L.any.reduce(function(te,ge){return Math.min(te,ge.priority)},4)%4};L.priority=Math.max(U.all,U.none,U.any);var W=[];return Zw.forEach(function(te){L[te]=L[te].filter(function(ge){return ge.priority===L.priority&&ge.priority===U[te]}),L[te].forEach(function(ge){return W.push(ge.impact)})}),[$L,uN].includes(L.priority)?L.impact=XS(En.impact,W):L.impact=null,lN(L,function(te){delete te.result,delete te.priority}),L.result=En.results[L.priority],delete L.priority,L}var KL=VG;function cN(P){var L=i._audit.rules.find(function(U){var W=U.id;return W===P.id});return L&&L.impact&&P.nodes.forEach(function(U){["any","all","none"].forEach(function(W){(U[W]||[]).forEach(function(te){te.impact=L.impact})})}),Object.assign(P,Ie(P.nodes)),delete P.nodes,P}function $G(P){var L={};if(P=P.map(function(ge){if(ge.any&&ge.all&&ge.none)return KL(ge);if(Array.isArray(ge.node))return cN(ge);throw new TypeError("Invalid Result type")}),P&&P.length){var U=P.map(function(ge){return ge.result});L.result=XS(En.results,U,L.result)}else L.result="inapplicable";En.resultGroups.forEach(function(ge){return L[ge]=[]}),P.forEach(function(ge){var Pe=En.resultGroupMap[ge.result];L[Pe].push(ge)});var W=En.FAIL_GROUP;if(L[W].length===0&&(W=En.CANTTELL_GROUP),L[W].length>0){var te=L[W].map(function(ge){return ge.impact});L.impact=XS(En.impact,te)||null}else L.impact=null;return L}var Ie=$G;function be(P,L,U){var W=Object.assign({},L);W.nodes=(W[U]||[]).concat(),En.resultGroups.forEach(function(te){delete W[te]}),P[U].push(W)}function hr(P){var L={};return En.resultGroups.forEach(function(U){return L[U]=[]}),P.forEach(function(U){U.error?be(L,U,En.CANTTELL_GROUP):U.result===En.NA?be(L,U,En.NA_GROUP):En.resultGroups.forEach(function(W){Array.isArray(U[W])&&U[W].length>0&&be(L,U,W)})}),L}var jD=hr;function re(P,L,U){var W=t.getComputedStyle(P,null);if(!W)return!1;for(var te=0;te=1&&te<=31||te==127||W==0&&te>=48&&te<=57||W==1&&te>=48&&te<=57&&Pe==45){ge+="\\"+te.toString(16)+" ";continue}if(W==0&&U==1&&te==45){ge+="\\"+L.charAt(W);continue}if(te>=128||te==45||te==95||te>=48&&te<=57||te>=65&&te<=90||te>=97&&te<=122){ge+=L.charAt(W);continue}ge+="\\"+L.charAt(W)}return ge}var Cp=dg;function t_(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return P.length!==0&&(P.match(/[0-9]/g)||"").length>=P.length/2}function eC(P,L){return[P.substring(0,L),P.substring(L)]}function O4(P){return P.replace(/\s+$/,"")}function KG(P){var L=P,U="",W="",te="",ge="",Pe="",Ke="";if(P.includes("#")){var lt=eC(P,P.indexOf("#")),Ct=Bt(lt,2);P=Ct[0],Ke=Ct[1]}if(P.includes("?")){var wt=eC(P,P.indexOf("?")),Cr=Bt(wt,2);P=Cr[0],Pe=Cr[1]}if(P.includes("://")){var pn=P.split("://"),Tn=Bt(pn,2);U=Tn[0],P=Tn[1];var Gn=eC(P,P.indexOf("/")),rs=Bt(Gn,2);W=rs[0],P=rs[1]}else if(P.substr(0,2)==="//"){P=P.substr(2);var ss=eC(P,P.indexOf("/")),Es=Bt(ss,2);W=Es[0],P=Es[1]}if(W.substr(0,4)==="www."&&(W=W.substr(4)),W&&W.includes(":")){var Fs=eC(W,W.indexOf(":")),ka=Bt(Fs,2);W=ka[0],te=ka[1]}return ge=P,{original:L,protocol:U,domain:W,port:te,path:ge,query:Pe,hash:Ke}}function boe(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!(P.length<=1||P.substr(0,5)==="data:"||P.substr(0,11)==="javascript:"||P.includes("?"))){var U=L.currentDomain,W=L.maxLength,te=W===void 0?25:W,ge=KG(P),Pe=ge.path,Ke=ge.domain,lt=ge.hash,Ct=Pe.substr(Pe.substr(0,Pe.length-2).lastIndexOf("/")+1);if(lt)return Ct&&(Ct+lt).length<=te?O4(Ct+lt):Ct.length<2&<.length>2&<.length<=te?O4(lt):void 0;if(Ke&&Ke.length1)&&(wt!==-1||Ct.length>2)&&Ct.length<=te&&!Ct.match(/index(\.[a-zA-Z]{2-4})?/)&&!t_(Ct))return O4(Ct)}}var Hx=boe;function JL(P){return P.attributes instanceof t.NamedNodeMap?P.attributes:P.cloneNode(!1).attributes}var fN=JL,Bge=(function(){var P;function L(U){var W=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],te=W.length,ge,Pe;for(ge=0;ge2&&arguments[2]!==void 0?arguments[2]:{};if(!L)return"";var W=L.getRootNode&&L.getRootNode()||n;if(W.nodeType!==11)return P(L,U,W);for(var te=[];W.nodeType===11;){if(!W.host)return"";te.unshift({elm:L,doc:W}),L=W.host,W=L.getRootNode()}return te.unshift({elm:L,doc:W}),te.map(function(ge){return P(ge.elm,U,ge.doc)})}var dN=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],_i=31,kge=/([\\"])/g,yH=/(\r\n|\r|\n)/g;function Sa(P){return P.replace(kge,"\\$1").replace(yH,"\\a ")}function r_(P,L){var U=L.name,W;if(U.indexOf("href")!==-1||U.indexOf("src")!==-1){var te=Hx(P.getAttribute(U));te?W=Cp(L.name)+'$="'+Sa(te)+'"':W=Cp(L.name)+'="'+Sa(P.getAttribute(U))+'"'}else W=Cp(U)+'="'+Sa(L.value)+'"';return W}function Soe(P,L){return P.count "+ge:ge=Ke,!Pe||Pe.length>En.selectorSimilarFilterLimit?Pe=xte(U,ge):Pe=Pe.filter(function(lt){return AU(lt,ge)}),P=P.parentElement}while((Pe.length>1||te)&&P&&P.nodeType!==11);return Pe.length===1?ge:ge.indexOf(" > ")!==-1?":root"+ge.substring(ge.indexOf(" > ")):":root"}function Doe(P,L){return i0(E0,P,L)}var hh=mI(Doe),xte=mI(function(P,L){return Array.from(P.querySelectorAll(L))});function A8e(P){var L=P.nodeName.toLowerCase(),U=P.parentElement,W=P.parentNode,te="";if(L!=="head"&&L!=="body"&&W?.children.length>1){var ge=Array.prototype.indexOf.call(W.children,P)+1;te=":nth-child(".concat(ge,")")}return U?A8e(U)+" > "+L+te:L+te}function X2e(P,L){return i0(A8e,P,L)}function Pge(P,L){var U,W;if(!P)return[];if(!L&&P.nodeType===9)return L=[{str:"html"}],L;if(L=L||[],P.parentNode&&P.parentNode!==P&&(L=Pge(P.parentNode,L)),P.previousSibling){W=1,U=P.previousSibling;do U.nodeType===1&&U.nodeName===P.nodeName&&W++,U=U.previousSibling;while(U);W===1&&(W=null)}else if(P.nextSibling){U=P.nextSibling;do U.nodeType===1&&U.nodeName===P.nodeName?(W=1,U=null):(W=null,U=U.previousSibling);while(U)}if(P.nodeType===1){var te={};te.str=P.nodeName.toLowerCase();var ge=P.getAttribute&&Cp(P.getAttribute("id"));ge&&P.ownerDocument.querySelectorAll("#"+ge).length===1&&(te.id=P.getAttribute("id")),W>1&&(te.count=W),L.push(te)}return L}function h8e(P){return P.reduce(function(L,U){return U.id?"/".concat(U.str,"[@id='").concat(U.id,"']"):L+"/".concat(U.str)+(U.count>0?"[".concat(U.count,"]"):"")},"")}function gI(P){var L=Pge(P);return h8e(L)}var Nge=gI,HL={},uS={set:function(L,U){Z2e(L),HL[L]=U},get:function(L,U){if(_H(U),L in HL)return HL[L];if(typeof U=="function"){var W=U();return Kn(W!==void 0,"Cache creator function should not return undefined"),this.set(L,W),HL[L]}},clear:function(){HL={}}};function Z2e(P){Kn(typeof P=="string","key must be a string, "+Di(P)+" given"),Kn(P!=="","key must not be empty")}function _H(P){Kn(typeof P=="function"||typeof P>"u","creator must be a function or undefined, "+Di(P)+" given")}var Mp=uS;function Ji(P,L){var U=L||P;return Mp.get("nodeMap")?Mp.get("nodeMap").get(U):null}var yh=Ji,y8e="DqElm.RunOptions";function B0(P,L){if(L=L||300,P.length>L){var U=P.indexOf(">");P=P.substring(0,U+1)}return P}function fl(P){if(!(P!=null&&P.outerHTML))return"";var L=P.outerHTML;return!L&&typeof t.XMLSerializer=="function"&&(L=new t.XMLSerializer().serializeToString(P)),B0(L||"")}var ob=mI(function(L,U,W){var te,ge,Pe,Ke;if((te=U)!==null&&te!==void 0||(U=null),(ge=W)!==null&&ge!==void 0||(W={}),!U){var lt;U=(lt=Mp.get(y8e))!==null&<!==void 0?lt:{}}if(this.spec=W,L instanceof p1?(this._virtualNode=L,this._element=L.actualNode):(this._element=L,this._virtualNode=yh(L)),this.fromFrame=((Pe=this.spec.selector)===null||Pe===void 0?void 0:Pe.length)>1,this._includeElementInJson=U.elementRef,U.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:typeof((Ke=this._virtualNode)===null||Ke===void 0?void 0:Ke.nodeIndex)=="number"&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,!i._audit.noHtml){var Ct;this.source=(Ct=this.spec.source)!==null&&Ct!==void 0?Ct:fl(this._element)}return this});ob.prototype={get selector(){return this.spec.selector||[hh(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[X2e(this.element)]},get xpath(){return this.spec.xpath||[Nge(this.element)]},get element(){return this._element},toJSON:function(){var L={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(L.element=this._element),L}},ob.fromFrame=function(L,U,W){var te=ob.mergeSpecs(L,W);return new ob(W.element,U,te)},ob.mergeSpecs=function(L,U){return Fr({},L,{selector:[].concat($t(U.selector),$t(L.selector)),ancestry:[].concat($t(U.ancestry),$t(L.ancestry)),xpath:[].concat($t(U.xpath),$t(L.xpath)),nodeIndexes:[].concat($t(U.nodeIndexes),$t(L.nodeIndexes)),fromFrame:!0})},ob.setRunOptions=function(L){var U=L.elementRef,W=L.absolutePaths;Mp.set(y8e,{elementRef:U,absolutePaths:W})};var Lu=ob;function ky(P,L,U,W){return{isAsync:!1,async:function(){return this.isAsync=!0,function(ge){ge instanceof Error?W(ge):(P.result=ge,U(P))}},data:function(ge){P.data=ge},relatedNodes:function(ge){t.Node&&(ge instanceof t.Node||ge instanceof p1?ge=[ge]:ge=Ya(ge),P.relatedNodes=[],ge.forEach(function(Pe){if(Pe instanceof p1&&(Pe=Pe.actualNode),Pe instanceof t.Node){var Ke=new Lu(Pe);P.relatedNodes.push(Ke)}}))}}}var Oge=ky;function e5(P){return AI(P,new Map)}function AI(P,L){var U,W;if(P===null||Di(P)!=="object"||(U=t)!==null&&U!==void 0&&U.Node&&P instanceof t.Node||(W=t)!==null&&W!==void 0&&W.HTMLCollection&&P instanceof t.HTMLCollection||"nodeName"in P&&"nodeType"in P&&"ownerDocument"in P)return P;if(L.has(P))return L.get(P);if(Array.isArray(P)){var te=[];return L.set(P,te),P.forEach(function(Ke){te.push(AI(Ke,L))}),te}var ge={};L.set(P,ge);for(var Pe in P)ge[Pe]=AI(P[Pe],L);return ge}var OFe=ks(Bf()),rE=new OFe.CssSelectorParser;rE.registerSelectorPseudos("not"),rE.registerSelectorPseudos("is"),rE.registerNestingOperators(">"),rE.registerAttrEqualityMods("^","$","*","~");var t5=rE;function ef(P,L){var U=vk(L);return U.some(function(W){return Wa(P,W)})}function Ms(P,L){return P.props.nodeType===1&&(L.tag==="*"||P.props.nodeName===L.tag)}function Uu(P,L){return!L.classes||L.classes.every(function(U){return P.hasClass(U.value)})}function r5(P,L){return!L.attributes||L.attributes.every(function(U){var W=P.attr(U.key);return W!==null&&U.test(W)})}function kn(P,L){return!L.id||P.props.id===L.id}function kf(P,L){return!!(!L.pseudos||L.pseudos.every(function(U){if(U.name==="not")return!U.expressions.some(function(W){return Wa(P,W)});if(U.name==="is")return U.expressions.some(function(W){return Wa(P,W)});throw new Error("the pseudo selector "+U.name+" has not yet been implemented")}))}function Od(P,L){return Ms(P,L)&&Uu(P,L)&&r5(P,L)&&kn(P,L)&&kf(P,L)}var Rge=(function(){var P=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,L="\\";return function(U){return U.replace(P,L)}})(),eve=/\\/g;function vte(P){if(P)return P.map(function(L){var U=L.name.replace(eve,""),W=(L.value||"").replace(eve,""),te,ge;switch(L.operator){case"^=":ge=new RegExp("^"+Rge(W));break;case"$=":ge=new RegExp(Rge(W)+"$");break;case"~=":ge=new RegExp("(^|\\s)"+Rge(W)+"(\\s|$)");break;case"|=":ge=new RegExp("^"+Rge(W)+"(-|$)");break;case"=":te=function(Ke){return W===Ke};break;case"*=":te=function(Ke){return Ke&&Ke.includes(W)};break;case"!=":te=function(Ke){return W!==Ke};break;default:te=function(Ke){return Ke!==null}}return W===""&&/^[*$^]=$/.test(L.operator)&&(te=function(){return!1}),te||(te=function(Ke){return Ke&&ge.test(Ke)}),{key:U,value:W,type:typeof L.value>"u"?"attrExist":"attrValue",test:te}})}function _h(P){if(P)return P.map(function(L){return L=L.replace(eve,""),{value:L,regexp:new RegExp("(^|\\s)"+Rge(L)+"(\\s|$)")}})}function NT(P){if(P)return P.map(function(L){var U;return["is","not"].includes(L.name)&&(U=L.value,U=U.selectors?U.selectors:[U],U=C_(U)),{name:L.name,expressions:U,value:L.value}})}function C_(P){return P.map(function(L){for(var U=[],W=L.rule;W;)U.push({tag:W.tagName?W.tagName.toLowerCase():"*",combinator:W.nestingOperator?W.nestingOperator:" ",id:W.id,attributes:vte(W.attrs),classes:_h(W.classNames),pseudos:NT(W.pseudos)}),W=W.rule;return U})}function vk(P){var L=t5.parse(P);return L=L.selectors?L.selectors:[L],C_(L)}function JG(P,L,U,W){if(!P)return!1;for(var te=Array.isArray(L),ge=te?L[U]:L,Pe=Od(P,ge);!Pe&&W&&P.parent;)P=P.parent,Pe=Od(P,ge);if(U>0){if([" ",">"].includes(ge.combinator)===!1)throw new Error("axe.utils.matchesExpression does not support the combinator: "+ge.combinator);Pe=Pe&&JG(P.parent,L,U-1,ge.combinator===" ")}return Pe}function Wa(P,L,U){return JG(P,L,L.length-1,U)}function tve(P,L){for(;P;){if(ef(P,L))return P;if(typeof P.parent>"u")throw new TypeError("Cannot resolve parent for non-DOM nodes");P=P.parent}return null}var X9=tve;function woe(){}function Fge(P){if(typeof P!="function")throw new TypeError("Queue methods require functions as arguments")}function ZB(){var P=[],L=0,U=0,W=woe,te=!1,ge,Pe=function(Tn){ge=Tn,setTimeout(function(){ge!=null&&jf("Uncaught error (of queue)",ge)},1)},Ke=Pe;function lt(pn){return function(Tn){P[pn]=Tn,U-=1,!U&&W!==woe&&(te=!0,W(P))}}function Ct(pn){return W=woe,Ke(pn),P}function wt(){for(var pn=P.length;L>>((L&3)<<3)&255;return zL}}for(var yU=typeof t.Buffer=="function"?t.Buffer:Array,U3=[],Boe={},ne=0;ne<256;ne++)U3[ne]=(ne+256).toString(16).substr(1),Boe[U3[ne]]=ne;function Y(P,L,U){var W=L&&U||0,te=0;for(L=L||[],P.toLowerCase().replace(/[0-9a-f]{2}/g,function(ge){te<16&&(L[W+te++]=Boe[ge])});te<16;)L[W+te++]=0;return L}function bv(P,L){var U=L||0,W=U3;return W[P[U++]]+W[P[U++]]+W[P[U++]]+W[P[U++]]+"-"+W[P[U++]]+W[P[U++]]+"-"+W[P[U++]]+W[P[U++]]+"-"+W[P[U++]]+W[P[U++]]+"-"+W[P[U++]]+W[P[U++]]+W[P[U++]]+W[P[U++]]+W[P[U++]]+W[P[U++]]}var _U=j3(),Lge=[_U[0]|1,_U[1],_U[2],_U[3],_U[4],_U[5]],Mge=(_U[6]<<8|_U[7])&16383,rve=0,nve=0;function koe(P,L,U){var W=L&&U||0,te=L||[];P=P||{};var ge=P.clockseq!=null?P.clockseq:Mge,Pe=P.msecs!=null?P.msecs:new Date().getTime(),Ke=P.nsecs!=null?P.nsecs:nve+1,lt=Pe-rve+(Ke-nve)/1e4;if(lt<0&&P.clockseq==null&&(ge=ge+1&16383),(lt<0||Pe>rve)&&P.nsecs==null&&(Ke=0),Ke>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");rve=Pe,nve=Ke,Mge=ge,Pe+=122192928e5;var Ct=((Pe&268435455)*1e4+Ke)%4294967296;te[W++]=Ct>>>24&255,te[W++]=Ct>>>16&255,te[W++]=Ct>>>8&255,te[W++]=Ct&255;var wt=Pe/4294967296*1e4&268435455;te[W++]=wt>>>8&255,te[W++]=wt&255,te[W++]=wt>>>24&15|16,te[W++]=wt>>>16&255,te[W++]=ge>>>8|128,te[W++]=ge&255;for(var Cr=P.node||Lge,pn=0;pn<6;pn++)te[W+pn]=Cr[pn];return L||bv(te)}function EH(P,L,U){var W=L&&U||0;typeof P=="string"&&(L=P=="binary"?new yU(16):null,P=null),P=P||{};var te=P.random||(P.rng||j3)();if(te[6]=te[6]&15|64,te[8]=te[8]&63|128,L)for(var ge=0;ge<16;ge++)L[W+ge]=te[ge];return L||bv(te)}n5=EH,n5.v1=koe,n5.v4=EH,n5.parse=Y,n5.unparse=bv,n5.BufferClass=yU,i._uuid=koe();var RFe=EH,FFe=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function mN(P){var L=P.topic,U=P.channelId,W=P.message,te=P.messageId,ge=P.keepalive,Pe={channelId:U,topic:L,messageId:te,keepalive:!!ge,source:Uge()};return W instanceof Error?Pe.error={name:W.name,message:W.message,stack:W.stack}:Pe.payload=W,JSON.stringify(Pe)}function _8e(P){var L;try{L=JSON.parse(P)}catch{return}if(Qge(L)){var U=L,W=U.topic,te=U.channelId,ge=U.messageId,Pe=U.keepalive,Ke=Di(L.error)==="object"?jge(L.error):L.payload;return{topic:W,message:Ke,messageId:ge,channelId:te,keepalive:!!Pe}}}function Qge(P){return P!==null&&Di(P)==="object"&&typeof P.channelId=="string"&&P.source===Uge()}function jge(P){var L=P.message||"Unknown error occurred",U=FFe.includes(P.name)?P.name:"Error",W=t[U]||Error;return P.stack&&(L+=` `+P.stack.replace(P.message,"")),new W(L)}function Uge(){var P="axeAPI",L="";return typeof i<"u"&&i._audit&&i._audit.application&&(P=i._audit.application),typeof i<"u"&&(L=i.version),P+"."+L}function Cte(P){Poe(P),Kn(t.parent===P,"Source of the response must be the parent window.")}function LFe(P){Poe(P),Kn(P.parent===t,"Respondable target must be a frame in the current window")}function Poe(P){Kn(t!==P,"Messages can not be sent to the same window.")}var ive={};function qd(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;Kn(!ive[P],"A replyHandler already exists for this message channel."),ive[P]={replyHandler:L,sendToParent:U}}function EU(P){return ive[P]}function MFe(P){delete ive[P]}var i5=[];function Noe(){var P="".concat(EH(),":").concat(EH());return i5.includes(P)?Noe():(i5.push(P),P)}function xU(P){return i5.includes(P)?!1:(i5.push(P),!0)}function s5(P,L,U,W){if(U?Cte(P):LFe(P),L.message instanceof Error&&!U)return i.log(L.message),!1;var te=mN(Fr({messageId:Noe()},L)),ge=i._audit.allowedOrigins;return!ge||!ge.length?!1:(typeof W=="function"&&qd(L.channelId,W,U),ge.forEach(function(Pe){try{P.postMessage(te,Pe)}catch(Ke){throw Ke instanceof P.DOMException?new Error('allowedOrigins value "'.concat(Pe,'" is not a valid origin')):Ke}}),!0)}function rp(P,L,U){if(!P.parent!==t)return i.log(L);try{s5(P,{topic:null,channelId:U,message:L,messageId:Noe(),keepalive:!0},!0)}catch(W){return i.log(W)}}function nE(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return function(te,ge,Pe){var Ke={channelId:L,message:te,keepalive:ge};s5(P,Ke,U,Pe)}}function xH(P){var L=i._audit.allowedOrigins;return L&&L.includes("*")||L.includes(P)}function bte(P,L){var U=P.origin,W=P.data,te=P.source;try{var ge=_8e(W)||{},Pe=ge.channelId,Ke=ge.message,lt=ge.messageId;if(!xH(U)||!xU(lt))return;if(Ke instanceof Error&&te.parent!==t)return i.log(Ke),!1;try{if(ge.topic){var Ct=nE(te,Pe);Cte(te),L(ge,Ct)}else vH(te,ge)}catch(wt){rp(te,wt,Pe)}}catch(wt){return i.log(wt),!1}}function vH(P,L){var U=L.channelId,W=L.message,te=L.keepalive,ge=EU(U)||{},Pe=ge.replyHandler,Ke=ge.sendToParent;if(Pe){Ke?Cte(P):LFe(P);var lt=nE(P,U,Ke);!te&&U&&MFe(U);try{Pe(W,te,lt)}catch(Ct){i.log(Ct),lt(Ct,te)}}}var vd={open:function(L){if(typeof t.addEventListener=="function"){var U=function(te){bte(te,L)};return t.addEventListener("message",U,!1),function(){t.removeEventListener("message",U,!1)}}},post:function(L,U,W){return typeof t.addEventListener!="function"?!1:s5(L,U,!1,W)}};function R4(P){P.updateMessenger(vd)}var UD,_2,q3={};function n_(P,L,U,W,te){var ge={topic:L,message:U,channelId:"".concat(EH(),":").concat(EH()),keepalive:W};return _2(P,ge,te)}function E8e(P,L){var U=P.topic,W=P.message,te=P.keepalive,ge=q3[U];if(ge)try{ge(W,te,L)}catch(Pe){i.log(Pe),L(Pe,te)}}n_.updateMessenger=function(L){var U=L.open,W=L.post;Kn(typeof U=="function","open callback must be a function"),Kn(typeof W=="function","post callback must be a function"),UD&&UD();var te=U(E8e);te?(Kn(typeof te=="function","open callback must return a cleanup function"),UD=te):UD=null,_2=W},n_.subscribe=function(L,U){Kn(typeof U=="function","Subscriber callback must be a function"),Kn(!q3[L],"Topic ".concat(L," is already registered to.")),q3[L]=U},n_.isInFrame=function(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t;return!!L.frameElement},R4(n_);function HG(P,L,U,W){var te,ge,Pe=P.contentWindow,Ke=(te=(ge=L.options)===null||ge===void 0?void 0:ge.pingWaitTime)!==null&&te!==void 0?te:500;if(!Pe){jf("Frame does not have a content window",P),U(null);return}if(Ke===0){hI(P,L,U,W);return}var lt=setTimeout(function(){lt=setTimeout(function(){L.debug?W(zG("No response from frame",P)):U(null)},0)},Ke);n_(Pe,"axe.ping",null,void 0,function(){clearTimeout(lt),hI(P,L,U,W)})}function hI(P,L,U,W){var te,ge,Pe=(te=(ge=L.options)===null||ge===void 0?void 0:ge.frameWaitTime)!==null&&te!==void 0?te:6e4,Ke=P.contentWindow,lt=setTimeout(function(){W(zG("Axe in frame timed out",P))},Pe);n_(Ke,"axe.start",L,void 0,function(Ct){clearTimeout(lt),Ct instanceof Error?W(Ct):U(Ct)})}function zG(P,L){var U;return i._tree&&(U=hh(L)),new Error(P+": "+(U||L))}var Wf=null,Z0={update:function(L){Kn(Di(L)==="object","serializer must be an object"),Wf=L},toSpec:function(L){return Z0.dqElmToSpec(new Lu(L))},dqElmToSpec:function(L,U){var W;return L instanceof Lu?(U&&(L=Ooe(L,U)),typeof((W=Wf)===null||W===void 0?void 0:W.toSpec)=="function"?Wf.toSpec(L):L.toJSON()):L},mergeSpecs:function(L,U){var W;return typeof((W=Wf)===null||W===void 0?void 0:W.mergeSpecs)=="function"?Wf.mergeSpecs(L,U):Lu.mergeSpecs(L,U)},mapRawResults:function(L){return L.map(function(U){return Fr({},U,{nodes:Z0.mapRawNodeResults(U.nodes)})})},mapRawNodeResults:function(L){return L?.map(function(U){var W=U.node,te=It(U,u);te.node=Z0.dqElmToSpec(W);for(var ge=0,Pe=["any","all","none"];ge0||ge===0&&U.selector.length0&&arguments[0]!==void 0?arguments[0]:[],L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],U=Math.max(P?.length,L?.length),W=0;W(L.left|0)&&(P.top|0)<(L.bottom|0)&&(P.bottom|0)>(L.top|0)}var CH=mI(function(L){var U=[];if(!L)return U;var W=L.getComputedStylePropertyValue("overflow");return W==="hidden"&&U.push(L),U.concat(CH(L.parent))}),Ck=CH,AN=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,XG=/(\w+)\((\d+)/;function Roe(P){return["style","script","noscript","template"].includes(P.props.nodeName)}function Yge(P){return P.props.nodeName==="area"?!1:P.getComputedStylePropertyValue("display")==="none"}function Gge(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.isAncestor;return!U&&["hidden","collapse"].includes(P.getComputedStylePropertyValue("visibility"))}function Foe(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.isAncestor;return!!U&&P.getComputedStylePropertyValue("content-visibility")==="hidden"}function ZG(P){return P.attr("aria-hidden")==="true"}function hN(P){return P.getComputedStylePropertyValue("opacity")==="0"}function Vge(P){var L=I5(P.actualNode),U=parseInt(P.getComputedStylePropertyValue("height")),W=parseInt(P.getComputedStylePropertyValue("width"));return!!L&&(U===0||W===0)}function bk(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.isAncestor;if(U)return!1;var W=P.getComputedStylePropertyValue("position");if(W==="fixed")return!1;var te=Ck(P);if(!te.length)return!1;var ge=P.boundingClientRect;return te.some(function(Pe){if(W==="absolute"&&!fy(P,Pe)&&Pe.getComputedStylePropertyValue("position")==="static")return!1;var Ke=Pe.boundingClientRect;return Ke.width<2||Ke.height<2?!0:!e6(ge,Ke)})}function bU(P){var L=P.getComputedStylePropertyValue("clip").match(AN),U=P.getComputedStylePropertyValue("clip-path").match(XG);if(L&&L.length===5){var W=P.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(W))return L[3]-L[1]<=0&&L[2]-L[4]<=0}if(U){var te=U[1],ge=parseInt(U[2],10);switch(te){case"inset":return ge>=50;case"circle":return ge===0;default:}}return!1}function bH(P,L){var U=X9(P,"map");if(!U)return!0;var W=U.attr("name");if(!W)return!0;var te=Dte(P.actualNode);if(!te||te.nodeType!==9)return!0;var ge=h6(i._tree,'img[usemap="#'.concat(Cp(W),'"]'));return!ge||!ge.length?!0:ge.some(function(Pe){return!L(Pe)})}function Td(P){var L;if(((L=P.parent)===null||L===void 0?void 0:L.props.nodeName)!=="details")return!1;if(P.props.nodeName==="summary"){var U=P.parent.children.find(function(W){return W.props.nodeName==="summary"});if(U===P)return!1}return!P.parent.hasAttr("open")}function fy(P,L){for(var U=P.parent;U&&U!==L;){if(["relative","sticky"].includes(U.getComputedStylePropertyValue("position")))return!0;U=U.parent}return!1}var eV=[Yge,Gge,Foe,Td];function RE(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.skipAncestors,W=L.isAncestor,te=W===void 0?!1:W;return P=aC(P).vNode,U?wte(P,te):IH(P,te)}var wte=mI(function(L,U){return Roe(L)?!0:L.actualNode?!!(eV.some(function(W){return W(L,{isAncestor:U})})||!L.actualNode.isConnected):!1}),IH=mI(function(L,U){return wte(L,U)?!0:L.parent?IH(L.parent,!0):!1});function hc(P){if(P.assignedSlot)return hc(P.assignedSlot);if(P.parentNode){var L=P.parentNode;if(L.nodeType===1)return L;if(L.host)return L.host}return null}var iE=hc;function ub(P){if(!P.nodeType&&P.document&&(P=P.document),P.nodeType===9){var L=P.documentElement,U=P.body;return{left:L&&L.scrollLeft||U&&U.scrollLeft||0,top:L&&L.scrollTop||U&&U.scrollTop||0}}return{left:P.scrollLeft,top:P.scrollTop}}var zx=ub;function $ge(P){var L=zx(n),U=L.left,W=L.top,te=P.getBoundingClientRect();return{top:te.top+W,right:te.right+U,bottom:te.bottom+W,left:te.left+U,width:te.right-te.left,height:te.bottom-te.top}}var yN=$ge;function MC(P){var L=P.document,U=L.documentElement;if(P.innerWidth)return{width:P.innerWidth,height:P.innerHeight};if(U)return{width:U.clientWidth,height:U.clientHeight};var W=L.body;return{width:W.clientWidth,height:W.clientHeight}}var r3=MC;function Loe(P,L){for(P=iE(P);P&&P.nodeName.toLowerCase()!=="html";){if(P.scrollTop&&(L+=P.scrollTop,L>=0))return!1;P=iE(P)}return!0}function M4(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.isAncestor;if(U)return!1;var W=aC(P),te=W.domNode;if(te){var ge,Pe=n.documentElement,Ke=t.getComputedStyle(te),lt=t.getComputedStyle(n.body||Pe).getPropertyValue("direction"),Ct=yN(te);if(Ct.bottom<0&&(Loe(te,Ct.bottom)||Ke.position==="absolute"))return!0;if(Ct.left===0&&Ct.right===0)return!1;if(lt==="ltr"){if(Ct.right<=0)return!0}else if(ge=Math.max(Pe.scrollWidth,r3(t).width),Ct.left>=ge)return!0;return!1}}var Moe=M4,Kge=[hN,Vge,bk,bU,Moe];function t8(P){return P=aC(P).vNode,Bh(P)}var Bh=mI(function(L,U){return L.actualNode&&L.props.nodeName==="area"?!bH(L,Bh):RE(L,{skipAncestors:!0,isAncestor:U})||L.actualNode&&Kge.some(function(W){return W(L,{isAncestor:U})})?!1:L.parent?Bh(L.parent,!0):!0});function sa(P,L){var U=Math.min(P.top,L.top),W=Math.max(P.right,L.right),te=Math.max(P.bottom,L.bottom),ge=Math.min(P.left,L.left);return new t.DOMRect(ge,U,W-ge,te-U)}function XL(P,L){var U=P.x,W=P.y,te=L.top,ge=L.right,Pe=L.bottom,Ke=L.left;return W>=te&&U<=ge&&W<=Pe&&U>=Ke}var bp={};Qt(bp,{getBoundingRect:function(){return sa},getIntersectionRect:function(){return x0},getOffset:function(){return e1},getRectCenter:function(){return Gl},hasVisualOverlap:function(){return SH},isPointInRect:function(){return XL},rectHasMinimumSize:function(){return yI},rectsOverlap:function(){return e6},splitRects:function(){return Qoe}});function x0(P,L){var U=Math.max(P.left,L.left),W=Math.min(P.right,L.right),te=Math.max(P.top,L.top),ge=Math.min(P.bottom,L.bottom);return U>=W||te>=ge?null:new t.DOMRect(U,te,W-U,ge-te)}function Gl(P){var L=P.left,U=P.top,W=P.width,te=P.height;return new t.DOMPoint(L+W/2,U+te/2)}var Du=.05;function yI(P,L){var U=L.width,W=L.height;return U+Du>=P&&W+Du>=P}function e1(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:12,W=sE(P),te=sE(L);if(!W.length||!te.length)return null;var ge=W.reduce(sa),Pe=Gl(ge),Ke=1/0,lt=us(te),Ct;try{for(lt.s();!(Ct=lt.n()).done;){var wt=Ct.value;if(XL(Pe,wt))return 0;var Cr=jFe(Pe,wt),pn=Jge(Pe,Cr);Ke=Math.min(Ke,pn)}}catch(Es){lt.e(Es)}finally{lt.f()}var Tn=nV(L);if(yI(U*2,Tn))return Ke;var Gn=te.reduce(sa),rs=Gl(Gn),ss=Jge(Pe,rs)-U;return Math.max(0,Math.min(Ke,ss))}function jFe(P,L){var U,W;return P.xL.right?U=L.right:U=P.x,P.yL.bottom?W=L.bottom:W=P.y,{x:U,y:W}}function Jge(P,L){return Math.hypot(P.x-L.x,P.y-L.y)}function SH(P,L){var U=P.boundingClientRect,W=L.boundingClientRect;return U.left>=W.right||U.right<=W.left||U.top>=W.bottom||U.bottom<=W.top?!1:tC(P,L)>0}function Qoe(P,L){var U=[P],W=us(L),te;try{var ge=function(){var Ke=te.value;if(U=U.reduce(function(lt,Ct){return lt.concat(FE(Ct,Ke))},[]),U.length>4e3)throw new Error("splitRects: Too many rects")};for(W.s();!(te=W.n()).done;)ge()}catch(Pe){W.e(Pe)}finally{W.f()}return U}function FE(P,L){var U=P.top,W=P.left,te=P.bottom,ge=P.right,Pe=UL.top,Ke=WL.left,lt=[];if(TH(L.top,U,te)&&Ke&<.push({top:U,left:W,bottom:L.top,right:ge}),TH(L.right,W,ge)&&Pe&<.push({top:U,left:L.right,bottom:te,right:ge}),TH(L.bottom,U,te)&&Ke&<.push({top:L.bottom,right:ge,bottom:te,left:W}),TH(L.left,W,ge)&&Pe&<.push({top:U,left:W,bottom:te,right:L.left}),lt.length===0){if(Hge(P,L))return[];lt.push(P)}return lt.map(fp)}var TH=function(L,U,W){return L>U&&L=L.top&&P.left>=L.left&&P.bottom<=L.bottom&&P.right<=L.right}var t6=0,OR=.1,C8e=.2,IU=.3,joe=0;function tV(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:n.body,L=arguments.length>1?arguments[1]:void 0,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(Mp.get("gridCreated")&&!U)return En.gridSize;if(Mp.set("gridCreated",!0),!U){var W,te=yh(n.documentElement);if(te||(te=new az(n.documentElement)),joe=0,te._stackingOrder=[fve(t6,joe++,null)],(W=L)!==null&&W!==void 0||(L=new zge),Uoe(L,te),I5(te.actualNode)){var ge=new zge(te);te._subGrid=ge}}for(var Pe=n.createTreeWalker(P,t.NodeFilter.SHOW_ELEMENT,null,!1),Ke=U?Pe.nextNode():Pe.currentNode;Ke;){var lt=yh(Ke);lt&<.parent?U=lt.parent:Ke.assignedSlot?U=yh(Ke.assignedSlot):Ke.parentElement?U=yh(Ke.parentElement):Ke.parentNode&&yh(Ke.parentNode)&&(U=yh(Ke.parentNode)),lt||(lt=new i.VirtualNode(Ke,U)),lt._stackingOrder=cve(lt,U,joe++);var Ct=UFe(lt,U),wt=Ct?Ct._subGrid:L;if(I5(lt.actualNode)){var Cr=new zge(lt);lt._subGrid=Cr}var pn=lt.boundingClientRect;pn.width!==0&&pn.height!==0&&t8(Ke)&&Uoe(wt,lt),uve(Ke)&&tV(Ke.shadowRoot,wt,lt),Ke=Pe.nextNode()}return En.gridSize}function Qp(P,L){var U=P.getComputedStylePropertyValue("position"),W=P.getComputedStylePropertyValue("z-index");if(U==="fixed"||U==="sticky"||W!=="auto"&&U!=="static"||P.getComputedStylePropertyValue("opacity")!=="1")return!0;var te=P.getComputedStylePropertyValue("-webkit-transform")||P.getComputedStylePropertyValue("-ms-transform")||P.getComputedStylePropertyValue("transform")||"none";if(te!=="none")return!0;var ge=P.getComputedStylePropertyValue("mix-blend-mode");if(ge&&ge!=="normal")return!0;var Pe=P.getComputedStylePropertyValue("filter");if(Pe&&Pe!=="none")return!0;var Ke=P.getComputedStylePropertyValue("perspective");if(Ke&&Ke!=="none")return!0;var lt=P.getComputedStylePropertyValue("clip-path");if(lt&<!=="none")return!0;var Ct=P.getComputedStylePropertyValue("-webkit-mask")||P.getComputedStylePropertyValue("mask")||"none";if(Ct!=="none")return!0;var wt=P.getComputedStylePropertyValue("-webkit-mask-image")||P.getComputedStylePropertyValue("mask-image")||"none";if(wt!=="none")return!0;var Cr=P.getComputedStylePropertyValue("-webkit-mask-border")||P.getComputedStylePropertyValue("mask-border")||"none";if(Cr!=="none"||P.getComputedStylePropertyValue("isolation")==="isolate")return!0;var pn=P.getComputedStylePropertyValue("will-change");if(pn==="transform"||pn==="opacity"||P.getComputedStylePropertyValue("-webkit-overflow-scrolling")==="touch")return!0;var Tn=P.getComputedStylePropertyValue("contain");return!!(["layout","paint","strict","content"].includes(Tn)||W!=="auto"&&lve(L))}function lve(P){if(!P)return!1;var L=P.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(L)}function cve(P,L,U){var W=L._stackingOrder.slice();if(Qp(P,L)){var te=W.findIndex(function(Pe){var Ke=Pe.stackLevel;return[t6,C8e,IU].includes(Ke)});te!==-1&&W.splice(te,W.length-te)}var ge=pve(P,L);return ge!==null&&W.push(fve(ge,U,P)),W}function fve(P,L,U){return{stackLevel:P,treeOrder:L,vNode:U}}function pve(P,L){var U=r8(P,L);return["auto","0"].includes(U)?P.getComputedStylePropertyValue("position")!=="static"?IU:P.getComputedStylePropertyValue("float")!=="none"?C8e:Qp(P,L)?OR:null:parseInt(U)}function r8(P,L){var U=P.getComputedStylePropertyValue("position");return U==="static"&&!lve(L)?"auto":P.getComputedStylePropertyValue("z-index")}function UFe(P,L){for(var U=null,W=[P];L;){if(I5(L.actualNode)){U=L;break}if(L._scrollRegionParent){U=L._scrollRegionParent;break}W.push(L),L=yh(L.actualNode.parentElement||L.actualNode.parentNode)}return W.forEach(function(te){return te._scrollRegionParent=U}),U}function Uoe(P,L){var U=Ck(L);L.clientRects.forEach(function(W){var te,ge=U.reduce(function(Ke,lt){return Ke&&x0(Ke,lt.boundingClientRect)},W);if(ge){(te=L._grid)!==null&&te!==void 0||(L._grid=P);var Pe=P.getGridPositionOfRect(ge);P.loopGridPosition(Pe,function(Ke){Ke.includes(L)||Ke.push(L)})}})}var zge=(function(){function P(){var L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;gt(this,P),this.container=L,this.cells=[]}return Sn(P,[{key:"toGridIndex",value:function(U){return Math.floor(U/En.gridSize)}},{key:"getCellFromPoint",value:function(U){var W,te,ge=U.x,Pe=U.y;Kn(this.boundaries,"Grid does not have cells added");var Ke=this.toGridIndex(Pe),lt=this.toGridIndex(ge);Kn(XL({y:Ke,x:lt},this.boundaries),"Element midpoint exceeds the grid bounds");var Ct=(W=this.cells[Ke-this.cells._negativeIndex])!==null&&W!==void 0?W:[];return(te=Ct[lt-Ct._negativeIndex])!==null&&te!==void 0?te:[]}},{key:"loopGridPosition",value:function(U,W){var te=U,ge=te.left,Pe=te.right,Ke=te.top,lt=te.bottom;this.boundaries&&(U=sa(this.boundaries,U)),this.boundaries=U,qoe(this.cells,Ke,lt,function(Ct,wt){qoe(Ct,ge,Pe,function(Cr,pn){W(Cr,{row:wt,col:pn})})})}},{key:"getGridPositionOfRect",value:function(U){var W=U.top,te=U.right,ge=U.bottom,Pe=U.left,Ke=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;return W=this.toGridIndex(W-Ke),te=this.toGridIndex(te+Ke-1),ge=this.toGridIndex(ge+Ke-1),Pe=this.toGridIndex(Pe-Ke),new t.DOMRect(Pe,W,te-Pe,ge-W)}}])})();function qoe(P,L,U,W){var te;if((te=P._negativeIndex)!==null&&te!==void 0||(P._negativeIndex=0),L1&&arguments[1]!==void 0?arguments[1]:0;if(tV(),!((L=P._grid)!==null&&L!==void 0&&(L=L.cells)!==null&&L!==void 0&&L.length))return[];var W=P.boundingClientRect,te=P._grid,ge=Yoe(P),Pe=te.getGridPositionOfRect(W,U),Ke=[];return te.loopGridPosition(Pe,function(lt){var Ct=us(lt),wt;try{for(Ct.s();!(wt=Ct.n()).done;){var Cr=wt.value;Cr&&Cr!==P&&!Ke.includes(Cr)&&ge===Yoe(Cr)&&Ke.push(Cr)}}catch(pn){Ct.e(pn)}finally{Ct.f()}}),Ke}var Yoe=mI(function(P){return P?P.getComputedStylePropertyValue("position")==="fixed"?!0:Yoe(P.parent):!1}),Ik=mI(function(){var L;if(!i._tree)return null;var U=H3(i._tree[0],"dialog[open]",function(te){var ge=te.boundingClientRect,Pe=n.elementsFromPoint(ge.left+1,ge.top+1);return Pe.includes(te.actualNode)&&t8(te)});if(!U.length)return null;var W=U.find(function(te){var ge=te.boundingClientRect,Pe=n.elementsFromPoint(ge.left-10,ge.top-10);return Pe.includes(te.actualNode)});return W||((L=U.find(function(te){var ge,Pe=(ge=rV(te))!==null&&ge!==void 0?ge:{},Ke=Pe.vNode,lt=Pe.rect;if(!Ke)return!1;var Ct=n.elementsFromPoint(lt.left+1,lt.top+1);return!Ct.includes(Ke.actualNode)}))!==null&&L!==void 0?L:null)}),kte=Ik;function rV(P){tV();var L=i._tree[0]._grid,U=new t.DOMRect(0,0,t.innerWidth,t.innerHeight);if(L)for(var W=0;W1&&arguments[1]!==void 0?arguments[1]:{},U=L.skipAncestors,W=L.isAncestor;return U?Wge(P,W):Goe(P,W)}var Wge=mI(function(L,U){if(L.hasAttr("inert"))return!0;if(!U&&L.actualNode){var W=kte();if(W&&!s0(W,L))return!0}return!1}),Goe=mI(function(L,U){return Wge(L,U)?!0:L.parent?Goe(L.parent,!0):!1}),Xge=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];function dve(P){return Xge.includes(P)}function b8e(P){var L=aC(P),U=L.vNode;if(dve(U.props.nodeName)&&U.hasAttr("disabled")||Pte(U))return!0;for(var W=U.parent,te=[],ge=!1;W&&W.shadowId===U.shadowId&&!ge&&(te.push(W),W.props.nodeName!=="legend");){if(W._inDisabledFieldset!==void 0){ge=W._inDisabledFieldset;break}W.props.nodeName==="fieldset"&&W.hasAttr("disabled")&&(ge=!0),W=W.parent}return te.forEach(function(Pe){return Pe._inDisabledFieldset=ge}),ge?!0:U.props.nodeName!=="area"&&U.actualNode?RE(U):!1}var PA=b8e,Vp=/^\/\#/,n8=/^#[!/]/;function qD(P){var L,U=P.getAttribute("href");if(!U||U==="#")return!1;if(Vp.test(U))return!0;var W=P.hash,te=P.protocol,ge=P.hostname,Pe=P.port,Ke=P.pathname;if(n8.test(W))return!1;if(U.charAt(0)==="#")return!0;if(typeof((L=t.location)===null||L===void 0?void 0:L.origin)!="string"||t.location.origin.indexOf("://")===-1)return null;var lt=t.location.origin+t.location.pathname,Ct;return ge?Ct="".concat(te,"//").concat(ge).concat(Pe?":".concat(Pe):""):Ct=t.location.origin,Ke?Ct+=(Ke[0]!=="/"?"/":"")+Ke:Ct+=t.location.pathname,Ct===lt}function SU(P,L){var U=P.getAttribute(L);if(!U||L==="href"&&!qD(P))return null;U.indexOf("#")!==-1&&(U=decodeURIComponent(U.substr(U.indexOf("#")+1)));var W=n.getElementById(U);return W||(W=n.getElementsByName(U),W.length?W[0]:null)}var r6=SU;function tC(P,L){tV();for(var U=Math.max(P._stackingOrder.length,L._stackingOrder.length),W=0;W"u")return-1;if(typeof P._stackingOrder[W]>"u"||L._stackingOrder[W].stackLevel>P._stackingOrder[W].stackLevel)return 1;if(L._stackingOrder[W].stackLevel2&&arguments[2]!==void 0?arguments[2]:!1,W=Gl(L),te=P.getCellFromPoint(W)||[],ge=Math.floor(W.x),Pe=Math.floor(W.y),Ke=te.filter(function(Ct){return Ct.clientRects.some(function(wt){var Cr=wt.left,pn=wt.top;return ge=Math.floor(Cr)&&Pe=Math.floor(pn)})}),lt=P.container;return lt&&(Ke=DH(lt._grid,lt.boundingClientRect,!0).concat(Ke)),U||(Ke=Ke.sort(tC).map(function(Ct){return Ct.actualNode}).concat(n.documentElement).filter(function(Ct,wt,Cr){return Cr.indexOf(Ct)===wt})),Ke}function qFe(P){tV();var L=yh(P),U=L._grid;return U?DH(U,L.boundingClientRect):[]}var Q4=qFe;function wH(P){var L=h6(P,"*"),U=L.filter(function(W){var te=W.isFocusable,ge=FN(W.actualNode.getAttribute("tabindex"));return ge!==null?te&&ge>=0:te});return U}var j4=wH;function Voe(P){var L=aC(P),U=L.vNode;if(!U||PA(U))return!1;switch(U.props.nodeName){case"a":case"area":if(U.hasAttr("href"))return!0;break;case"input":return U.props.type!=="hidden";case"textarea":case"select":case"summary":case"button":return!0;case"details":return!h6(U,"summary").length}return!1}var Nte=Voe;function lb(P){var L=aC(P),U=L.vNode;if(U.props.nodeType!==1||PA(U))return!1;if(Nte(U))return!0;var W=FN(U.attr("tabindex"));return W!==null}function YD(P){var L=aC(P),U=L.vNode;if(U.props.nodeType!==1)return!1;var W=FN(U.attr("tabindex"));return W<=-1?!1:lb(U)}var sE=mI(Ote);function Ote(P){var L=P.boundingClientRect,U=Bte(P).filter(function(te){return SH(P,te)&&te.getComputedStylePropertyValue("pointer-events")!=="none"&&!Rte(P,te)});if(!U.length)return[L];var W=U.map(function(te){var ge=te.boundingClientRect;return ge});return Qoe(L,W)}function Rte(P,L){return s0(P,L)&&!YD(L)}var nV=mI(mve);function mve(P,L){var U=sE(P);return GD(U,L)}function GD(P,L){return P.reduce(function(U,W){var te=yI(L,U),ge=yI(L,W);if(te!==ge)return te?U:W;var Pe=U.width*U.height,Ke=W.width*W.height;return Pe>Ke?U:W})}var _I={};Qt(_I,{accessibleText:function(){return Sk},accessibleTextVirtual:function(){return EI},autocomplete:function(){return FH},formControlValue:function(){return uAe},formControlValueMethods:function(){return eT},hasUnicode:function(){return Kte},isHumanInterpretable:function(){return tue},isIconLigature:function(){return Zoe},isValidAutocomplete:function(){return vN},label:function(){return Jte},labelText:function(){return lAe},labelVirtual:function(){return wk},nativeElementType:function(){return mAe},nativeTextAlternative:function(){return Fh},nativeTextMethods:function(){return tT},removeUnicode:function(){return MU},sanitize:function(){return o0},subtreeText:function(){return nM},titleText:function(){return NH},unsupported:function(){return aAe},visible:function(){return xve},visibleTextNodes:function(){return gAe},visibleVirtual:function(){return rM}});function Fte(P,L){P=P.actualNode||P;try{var U=L4(P),W=[],te=P.getAttribute(L);if(te){te=j0(te);for(var ge=0;ge1&&arguments[1]!==void 0?arguments[1]:{},U=aC(P),W=U.vNode;if(W?.props.nodeType!==1||W.props.nodeType!==1||L.inLabelledByContext||L.inControlContext||!W.attr("aria-labelledby"))return"";var te=U4(W,"aria-labelledby").filter(function(ge){return ge});return te.reduce(function(ge,Pe){var Ke=Sk(Pe,Fr({inLabelledByContext:!0,startNode:L.startNode||W},L));return ge?"".concat(ge," ").concat(Ke):Ke},"")}var BH=$oe;function o5(P){var L=aC(P),U=L.vNode;return U?.props.nodeType!==1?"":U.attr("aria-label")||""}var RR={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},u5=RR,ZL={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},kH=ZL,VD={"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},Ave=VD,Zge={"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}},$D=Zge,TU={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},hve=TU,l5={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},yve=l5,eAe={ariaAttrs:u5,ariaRoles:Fr({},kH,Ave,$D),htmlElms:hve,cssColors:yve},n6=Fr({},eAe);function a0(P){Object.keys(n6).forEach(function(L){P[L]&&(n6[L]=E2(n6[L],P[L]))})}function DU(){Object.keys(n6).forEach(function(P){n6[P]=eAe[P]})}var d1=n6;function m1(P){var L=d1.ariaRoles[P];return L?!!L.unsupported:!1}var _N=m1;function c5(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.allowAbstract,W=L.flagUnsupported,te=W===void 0?!1:W,ge=d1.ariaRoles[P],Pe=_N(P);return!ge||te&&Pe?!1:U?!0:ge.type!=="abstract"}var FR=c5;function tAe(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.fallback,W=L.abstracts,te=L.dpub;if(P=P instanceof p1?P:yh(P),P.props.nodeType!==1)return null;var ge=(P.attr("role")||"").trim().toLowerCase(),Pe=U?j0(ge):[ge],Ke=Pe.find(function(lt){return!te&<.substr(0,4)==="doc-"?!1:FR(lt,{allowAbstract:W})});return Ke||null}var Pf=tAe;function Iv(P){return Object.keys(d1.htmlElms).filter(function(L){var U=d1.htmlElms[L];return U.contentTypes?U.contentTypes.includes(P):U.variant&&U.variant.default&&U.variant.default.contentTypes?U.variant.default.contentTypes.includes(P):!1})}var py=Iv;function s8(){return Mp.get("globalAriaAttrs",function(){return Object.keys(d1.ariaAttrs).filter(function(P){return d1.ariaAttrs[P].global})})}var Ap=s8;function PH(P){for(var L=[],U=P.rows,W=0,te=U.length;W1&&arguments[1]!==void 0?arguments[1]:{},U=L.checkTitle,W=U===void 0?!1:U;return!!(o0(BH(P))||o0(o5(P))||W&&P?.props.nodeType===1&&o0(P.attr("title")))}var Lte={a:function(L){return L.hasAttr("href")?"link":null},area:function(L){return L.hasAttr("href")?"link":null},article:"article",aside:function(L){return X9(L.parent,o8())&&!EN(L,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(L){var U=X9(L,Hh());return U?null:"contentinfo"},form:function(L){return EN(L)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(L){var U=X9(L,Hh());return U?null:"banner"},hr:"separator",img:function(L){var U=L.hasAttr("alt")&&!L.attr("alt"),W=Ap().find(function(te){return L.hasAttr(te)});return U&&!W&&!lb(L)?"presentation":"img"},input:function(L){var U;if(L.hasAttr("list")){var W=U4(L.actualNode,"list").filter(function(te){return!!te})[0];U=W&&W.nodeName.toLowerCase()==="datalist"}switch(L.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return U?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return U?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(L){return EN(L)?"region":null},select:function(L){return L.hasAttr("multiple")||parseInt(L.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(L){var U=X9(L,"table"),W=Pf(U);return["grid","treegrid"].includes(W)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(L){if(g1(L))return"columnheader";if(a8(L))return"rowheader"},thead:"rowgroup",tr:"row",ul:"list"},u8=Lte;function ec(P,L){var U=Di(L);if(Array.isArray(L)&&typeof P<"u")return L.includes(P);if(U==="function")return!!L(P);if(P!=null){if(L instanceof RegExp)return L.test(P);if(/^\/.*\/$/.test(L)){var W=L.substring(1,L.length-1);return new RegExp(W).test(P)}}return L===P}var iV=ec;function md(P,L){return iV(!!EI(P),L)}var eM=md;function sV(P,L){var U=Di(L);if(U!=="object"||Array.isArray(L)||L instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(L).every(function(W){return iV(P(W),L[W])})}var aV=sV;function S8e(P,L){return P=aC(P).vNode,aV(function(U){return P.attr(U)},L)}var Mte=S8e;function iAe(P,L){return!!L(P)}function Koe(P,L){return iV(Pf(P),L)}var pm=Koe;function Joe(P,L){return iV(kU(P),L)}var Qte=Joe;function jte(P,L){return P=aC(P).vNode,iV(P.props.nodeName,L)}var BU=jte;function f5(P,L){return P=aC(P).vNode,aV(function(U){return P.props[U]},L)}var G3=f5;function oV(P,L){return iV(oA(P),L)}var nC=oV,QC={hasAccessibleName:eM,attributes:Mte,condition:iAe,explicitRole:pm,implicitRole:Qte,nodeName:BU,properties:G3,semanticRole:nC};function sAe(P,L){return P=aC(P).vNode,Array.isArray(L)?L.some(function(U){return sAe(P,U)}):typeof L=="string"?ef(P,L):Object.keys(L).every(function(U){if(!QC[U])throw new Error('Unknown matcher type "'.concat(U,'"'));var W=QC[U],te=L[U];return W(P,te)})}var T8e=sAe;function D8e(P,L){return T8e(P,L)}var Tk=D8e;Tk.hasAccessibleName=eM,Tk.attributes=Mte,Tk.condition=iAe,Tk.explicitRole=pm,Tk.fromDefinition=T8e,Tk.fromFunction=aV,Tk.fromPrimative=iV,Tk.implicitRole=Qte,Tk.nodeName=BU,Tk.properties=G3,Tk.semanticRole=nC;var Vn=Tk;function IZe(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.noMatchAccessibleName,W=U===void 0?!1:U,te=d1.htmlElms[P.props.nodeName];if(!te)return{};if(!te.variant)return te;var ge=te.variant,Pe=It(te,p);for(var Ke in ge)if(!(!ge.hasOwnProperty(Ke)||Ke==="default")){for(var lt=ge[Ke],Ct=lt.matches,wt=It(lt,g),Cr=Array.isArray(Ct)?Ct:[Ct],pn=0;pn"u"&&(Pe[Gn]=ge.default[Gn]);return Pe}var q4=IZe;function xN(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.chromium,W=P instanceof p1?P:yh(P);if(P=W.actualNode,!W)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var te=W.props.nodeName,ge=u8[te];if(!ge&&U){var Pe=q4(W),Ke=Pe.chromiumRole;return Ke||null}return typeof ge=="function"?ge(W):ge||null}var kU=xN,w8e={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Hoe(P,L){var U=w8e[P.props.nodeName];if(!U)return null;if(!P.parent){if(!P.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!U.includes(P.parent.props.nodeName))return null;var W=Pf(P.parent,L);return["none","presentation"].includes(W)&&!tM(P.parent)?W:W?null:Hoe(P.parent,L)}function Ute(P,L){var U=L.chromium,W=It(L,A),te=kU(P,{chromium:U});if(!te)return null;var ge=Hoe(P,W);return ge||te}function tM(P){var L=Ap().some(function(U){return P.hasAttr(U)});return L||lb(P)}function zoe(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.noImplicit,W=It(L,h),te=aC(P),ge=te.vNode;if(ge.props.nodeType!==1)return null;var Pe=Pf(ge,W);return Pe?["presentation","none"].includes(Pe)&&tM(ge)?U?null:Ute(ge,W):Pe:U?null:Ute(ge,W)}function _ve(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.noPresentational,W=It(L,_),te=zoe(P,W);return U&&["presentation","none"].includes(te)?null:te}var oA=_ve,B8e=["iframe"];function YFe(P){var L=aC(P),U=L.vNode;return U.props.nodeType!==1||!P.hasAttr("title")||!Tk(U,B8e)&&["none","presentation"].includes(oA(U))?"":U.attr("title")}var NH=YFe;function qte(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.strict;if(P=P instanceof p1?P:yh(P),P.props.nodeType!==1)return!1;var W=oA(P),te=d1.ariaRoles[W];return te&&te.nameFromContent?!0:U?!1:!te||["presentation","none"].includes(W)}var PU=qte;function OT(P){var L=P.actualNode,U=P.children;if(!U)throw new Error("getOwnedVirtual requires a virtual node");if(P.hasAttr("aria-owns")){var W=U4(L,"aria-owns").filter(function(te){return!!te}).map(function(te){return i.utils.getNodeFromTree(te)});return[].concat($t(U),$t(W))}return $t(U)}var lS=OT,aAe={accessibleNameFromFieldValue:["progressbar"]};function V2(P){return P=aC(P).vNode,NU(P)}var NU=mI(function(L,U){return ZG(L)||Pte(L,{skipAncestors:!0,isAncestor:U})?!1:L.actualNode&&L.props.nodeName==="area"?!bH(L,NU):RE(L,{skipAncestors:!0,isAncestor:U})?!1:L.parent?NU(L.parent,!0):!0});function j_(P,L,U){var W=aC(P),te=W.vNode,ge=L?V2:t8,Pe=!P.actualNode||P.actualNode&&ge(P),Ke=te.children.map(function(lt){var Ct=lt.props,wt=Ct.nodeType,Cr=Ct.nodeValue;if(wt===3){if(Cr&&Pe)return Cr}else if(!U)return j_(lt,L)}).join("");return o0(Ke)}var rM=j_,Yte=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];function wc(P){P=P instanceof p1?P:yh(P);var L=P.props.nodeName;return L==="textarea"||L==="input"&&!Yte.includes((P.attr("type")||"").toLowerCase())}var Woe=wc;function k8e(P){P=P instanceof p1?P:yh(P);var L=P.props.nodeName;return L==="select"}var oAe=k8e;function uV(P){var L=Pf(P);return L==="textbox"}var Gte=uV;function Xoe(P){var L=Pf(P);return L==="listbox"}var jC=Xoe;function $2(P){var L=Pf(P);return L==="combobox"}var l8=$2,p5=["progressbar","scrollbar","slider","spinbutton"];function i6(P){var L=Pf(P);return p5.includes(L)}var OU=i6,LR=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],eT={nativeTextboxValue:iC,nativeSelectValue:OH,ariaTextboxValue:c8,ariaListboxValue:Dk,ariaComboboxValue:RU,ariaRangeValue:Vte};function V3(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=P.actualNode,W=aAe.accessibleNameFromFieldValue||[],te=oA(P);if(L.startNode===P||!LR.includes(te)||W.includes(te))return"";var ge=Object.keys(eT).map(function(Ke){return eT[Ke]}),Pe=ge.reduce(function(Ke,lt){return Ke||lt(P,L)},"");return L.debug&&jf(Pe||"{empty-value}",U,L),Pe}function iC(P){var L=aC(P),U=L.vNode;return Woe(U)&&U.props.value||""}function OH(P){var L=aC(P),U=L.vNode;if(!oAe(U))return"";var W=h6(U,"option"),te=W.filter(function(ge){return ge.props.selected});return te.length||te.push(W[0]),te.map(function(ge){return rM(ge)}).join(" ")||""}function c8(P){var L=aC(P),U=L.vNode,W=L.domNode;return Gte(U)?!W||W&&!RE(W)?rM(U,!0):W.textContent:""}function Dk(P,L){var U=aC(P),W=U.vNode;if(!jC(W))return"";var te=lS(W).filter(function(ge){return oA(ge)==="option"&&ge.attr("aria-selected")==="true"});return te.length===0?"":EI(te[0],L)}function RU(P,L){var U=aC(P),W=U.vNode;if(!l8(W))return"";var te=lS(W).filter(function(ge){return oA(ge)==="listbox"})[0];return te?Dk(te,L):""}function Vte(P){var L=aC(P),U=L.vNode;if(!OU(U)||!U.hasAttr("aria-valuenow"))return"";var W=+U.attr("aria-valuenow");return isNaN(W)?"0":String(W)}var uAe=V3;function MR(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=EI.alreadyProcessed;L.startNode=L.startNode||P;var W=L,te=W.strict,ge=W.inControlContext,Pe=W.inLabelledByContext,Ke=oA(P),lt=q4(P,{noMatchAccessibleName:!0}),Ct=lt.contentTypes;if(U(P,L)||P.props.nodeType!==1||Ct!=null&&Ct.includes("embedded")||LR.includes(Ke)||!L.subtreeDescendant&&!L.inLabelledByContext&&!PU(P,{strict:te}))return"";if(!te){var wt=!ge&&!Pe;L=Fr({subtreeDescendant:wt},L)}return lS(P).reduce(function(Cr,pn){return s6(Cr,pn,L)},"")}var zg=py("phrasing").concat(["#text"]);function s6(P,L,U){var W=L.props.nodeName,te=EI(L,U);return te?(zg.includes(W)||(te[0]!==" "&&(te+=" "),P&&P[P.length-1]!==" "&&(te=" "+te)),P+te):P}var nM=MR;function Y4(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=EI.alreadyProcessed;if(L.inControlContext||L.inLabelledByContext||U(P,L))return"";L.startNode||(L.startNode=P);var W=Fr({inControlContext:!0},L),te=P8e(P),ge=X9(P,"label"),Pe;return ge?(Pe=[].concat($t(te),[ge.actualNode]),Pe.sort(Mue)):Pe=te,Pe.map(function(Ke){return Sk(Ke,W)}).filter(function(Ke){return Ke!==""}).join(" ")}function P8e(P){if(!P.attr("id"))return[];if(!P.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return Q_({elm:"label",attr:"for",value:P.attr("id"),context:P.actualNode})}var lAe=Y4,Eve={submit:"Submit",image:"Submit",reset:"Reset",button:""},d5={valueText:function(L){return L.props.value||""},buttonDefaultText:function(L){return Eve[L.props.type]||""},tableCaptionText:$te.bind(null,"caption"),figureText:$te.bind(null,"figcaption"),svgTitleText:$te.bind(null,"title"),fieldsetLegendText:$te.bind(null,"legend"),altText:iM.bind(null,"alt"),tableSummaryText:iM.bind(null,"summary"),titleText:NH,subtreeText:nM,labelText:lAe,singleSpace:function(){return" "},placeholderText:iM.bind(null,"placeholder")};function iM(P,L){return L.attr(P)||""}function $te(P,L,U){var W=L.actualNode;P=P.toLowerCase();var te=[P,W.nodeName.toLowerCase()].join(","),ge=W.querySelector(te);return!ge||ge.nodeName.toLowerCase()!==P?"":Sk(ge,U)}var tT=d5;function Fh(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=P.actualNode;if(P.props.nodeType!==1||["presentation","none"].includes(oA(P)))return"";var W=N8e(P),te=W.reduce(function(ge,Pe){return ge||Pe(P,L)},"");return L.debug&&i.log(te||"{empty-value}",U,L),te}function N8e(P){var L=q4(P,{noMatchAccessibleName:!0}),U=L.namingMethods||[];return U.map(function(W){return tT[W]})}function Qd(){return/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g}function f8(){return/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g}function m5(){return/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g}function FU(){return/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g}var O8e=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};function p8(P,L){var U=L.emoji,W=L.nonBmp,te=L.punctuations,ge=!1;return U&&(ge||(ge=O8e().test(P))),W&&(ge||(ge=Qd().test(P)||m5().test(P)||FU().test(P))),te&&(ge||(ge=f8().test(P))),ge}var Kte=p8;function Zoe(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.15,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:3,W=P.actualNode.nodeValue.trim();if(!o0(W)||Kte(W,{emoji:!0,nonBmp:!0}))return!1;var te=Mp.get("canvasContext",function(){return n.createElement("canvas").getContext("2d",{willReadFrequently:!0})}),ge=te.canvas,Pe=Mp.get("fonts",function(){return{}}),Ke=t.getComputedStyle(P.parent.actualNode),lt=Ke.getPropertyValue("font-family");Pe[lt]||(Pe[lt]={occurrences:0,numLigatures:0});var Ct=Pe[lt];if(Ct.occurrences>=U){if(Ct.numLigatures/Ct.occurrences===1)return!0;if(Ct.numLigatures===0)return!1}Ct.occurrences++;var wt=30,Cr="".concat(wt,"px ").concat(lt);te.font=Cr;var pn=W.charAt(0),Tn=te.measureText(pn).width;if(Tn===0)return Ct.numLigatures++,!0;if(Tn<30){var Gn=30/Tn;Tn*=Gn,wt*=Gn,Cr="".concat(wt,"px ").concat(lt)}ge.width=Tn,ge.height=wt,te.font=Cr,te.textAlign="left",te.textBaseline="top",te.fillText(pn,0,0);var rs=new Uint32Array(te.getImageData(0,0,Tn,wt).data.buffer);if(!rs.some(function(Mu){return Mu}))return Ct.numLigatures++,!0;te.clearRect(0,0,Tn,wt),te.fillText(W,0,0);var ss=new Uint32Array(te.getImageData(0,0,Tn,wt).data.buffer),Es=rs.reduce(function(Mu,Vl,Of){return Vl===0&&ss[Of]===0||Vl!==0&&ss[Of]!==0?Mu:++Mu},0),Fs=W.split("").reduce(function(Mu,Vl){return Mu+te.measureText(Vl).width},0),ka=te.measureText(W).width,Hi=Es/rs.length,co=1-ka/Fs;return Hi>=L&&co>=L?(Ct.numLigatures++,!0):!1}function EI(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(L=eue(P,L),U_(P,L)||a6(P,L))return"";var U=[BH,o5,Fh,uAe,nM,LU,NH],W=U.reduce(function(te,ge){return L.startNode===P&&(te=o0(te)),te!==""?te:ge(P,L)},"");return L.debug&&i.log(W||"{empty-value}",P.actualNode,L),W}function LU(P){return P.props.nodeType!==3?"":P.props.nodeValue}function U_(P,L){return!P||P.props.nodeType!==1||L.includeHidden?!1:!V2(P)}function a6(P,L){var U,W=L.ignoreIconLigature,te=L.pixelThreshold,ge=(U=L.occurrenceThreshold)!==null&&U!==void 0?U:L.occuranceThreshold;return P.props.nodeType!==3||!W?!1:Zoe(P,te,ge)}function eue(P,L){return L.startNode||(L=Fr({startNode:P},L)),P.props.nodeType===1&&L.inLabelledByContext&&L.includeHidden===void 0&&(L=Fr({includeHidden:!V2(P)},L)),L}EI.alreadyProcessed=function(L,U){return U.processed=U.processed||[],U.processed.includes(L)?!0:(U.processed.push(L),!1)};function RH(P,L){var U=L.emoji,W=L.nonBmp,te=L.punctuations;return U&&(P=P.replace(O8e(),"")),W&&(P=P.replace(Qd(),"").replace(m5(),"").replace(FU(),"")),te&&(P=P.replace(f8(),"")),P}var MU=RH;function cAe(P){return fAe(P)||lV(P)||pAe(P)||dAe(P)?0:1}function fAe(P){return o0(P).length===0}function lV(P){return P.length===1&&P.match(/\D/)}function pAe(P){var L=["aa","abc"];return L.includes(P.toLowerCase())}function dAe(P){var L=MU(P,{emoji:!0,nonBmp:!0,punctuations:!0});return!o0(L)}var tue=cAe,FH={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};function LH(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.looseTyped,W=U===void 0?!1:U,te=L.stateTerms,ge=te===void 0?[]:te,Pe=L.locations,Ke=Pe===void 0?[]:Pe,lt=L.qualifiers,Ct=lt===void 0?[]:lt,wt=L.standaloneTerms,Cr=wt===void 0?[]:wt,pn=L.qualifiedTerms,Tn=pn===void 0?[]:pn,Gn=L.ignoredValues,rs=Gn===void 0?[]:Gn;if(P=P.toLowerCase().trim(),ge=ge.concat(FH.stateTerms),ge.includes(P)||P==="")return!0;Ct=Ct.concat(FH.qualifiers),Ke=Ke.concat(FH.locations),Cr=Cr.concat(FH.standaloneTerms),Tn=Tn.concat(FH.qualifiedTerms);var ss=P.split(/\s+/g);if(ss[ss.length-1]==="webauthn"&&(ss.pop(),ss.length===0)||!W&&(ss[0].length>8&&ss[0].substr(0,8)==="section-"&&ss.shift(),Ke.includes(ss[0])&&ss.shift(),Ct.includes(ss[0])&&(ss.shift(),Cr=[]),ss.length!==1))return!1;var Es=ss[ss.length-1];if(!rs.includes(Es))return Cr.includes(Es)||Tn.includes(Es)}var vN=LH;function R8e(P){var L,U;return P.attr("aria-labelledby")&&(L=U4(P.actualNode,"aria-labelledby"),U=L.map(function(W){var te=yh(W);return te?rM(te):""}).join(" ").trim(),U)||(U=P.attr("aria-label"),U&&(U=o0(U),U))?U:null}var CN=R8e;function cV(P,L,U){return P=yh(P),rM(P,L,U)}var xve=cV;function va(P){var L,U,W;if(U=CN(P),U)return U;if(P.attr("id")){if(!P.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var te=Cp(P.attr("id"));if(W=L4(P.actualNode),L=W.querySelector('label[for="'+te+'"]'),U=L&&xve(L,!0),U)return U}return L=X9(P,"label"),U=L&&rM(L,!0),U||null}var wk=va;function Bk(P){return P=yh(P),wk(P)}var Jte=Bk,o6=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}],mAe=o6;function QU(P){var L=t8(P),U=[];return P.children.forEach(function(W){W.actualNode.nodeType===3?L&&U.push(W):U=U.concat(QU(W))}),U}var gAe=QU,t1=mI(function(L){var U=yh(L),W=U.boundingClientRect,te=[],ge=Ck(U);return L.childNodes.forEach(function(Pe){if(!(Pe.nodeType!==3||o0(Pe.nodeValue)==="")){var Ke=vve(Pe);rue(Ke,W)||te.push.apply(te,$t(Cve(Ke,ge)))}}),te.length?te:Cve([W],ge)}),cS=t1;function vve(P){var L=n.createRange();return L.selectNodeContents(P),Array.from(L.getClientRects())}function rue(P,L){return P.some(function(U){var W=Gl(U);return!XL(W,L)})}function Cve(P,L){var U=[];return P.forEach(function(W){if(!(W.width<1||W.height<1)){var te=L.reduce(function(ge,Pe){return ge&&x0(ge,Pe.boundingClientRect)},W);te&&U.push(te)}}),U}function GFe(P){tV();var L=yh(P),U=L._grid;if(!U)return[];var W=cS(P);return W.map(function(te){return DH(U,te)})}var bve=GFe,u6=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];function l6(P){var L=aC(P),U=L.vNode,W=i.commons.aria.getExplicitRole(U);if(W)return u6.indexOf(W)!==-1;switch(U.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return U.props.type!=="hidden";default:return!1}}var Hte=l6,jU=["head","title","template","script","style","iframe","object","video","audio","noscript"];function nue(P){return jU.includes(P.props.nodeName)?!1:P.children.some(function(L){var U=L.props;return U.nodeType===3&&U.nodeValue.trim()})}function iue(P,L,U){return nue(P)||Hte(P.actualNode)||!U&&!!CN(P)||!L&&P.children.some(function(W){return W.actualNode.nodeType===1&&iue(W)})}var zte=iue;function bN(P,L,U){return P=yh(P),zte(P,L,U)}var Wte=bN;function sue(P){return typeof P.children>"u"||nue(P)?!0:P.props.nodeType===1&&Hte(P)?!!i.commons.text.accessibleTextVirtual(P):P.children.some(function(L){return!L.attr("lang")&&sue(L)&&!RE(L)})}function sM(P){var L=FN(P.getAttribute("tabindex"));return L>-1&&lb(P)&&!Nte(P)}var VFe=sM;function Xte(P,L){var U=aC(P),W=U.vNode,te=U.domNode;return W?(W._isHiddenWithCSS===void 0&&(W._isHiddenWithCSS=kk(te,L)),W._isHiddenWithCSS):kk(te,L)}function kk(P,L){if(P.nodeType===9||(P.nodeType===11&&(P=P.host),["STYLE","SCRIPT"].includes(P.nodeName.toUpperCase())))return!1;var U=t.getComputedStyle(P,null);if(!U)throw new Error("Style does not exist for the given element.");var W=U.getPropertyValue("display");if(W==="none")return!0;var te=["hidden","collapse"],ge=U.getPropertyValue("visibility");if(te.includes(ge)&&!L||te.includes(ge)&&L&&te.includes(L))return!0;var Pe=iE(P);return Pe&&!te.includes(ge)?Xte(Pe,ge):!1}var aM=Xte;function G4(P){var L=P.doctype;return L===null?!1:L.name==="html"&&!L.publicId&&!L.systemId}var UU=G4;function Q0(P){var L;(P instanceof p1||(L=t)!==null&&L!==void 0&&L.Node&&P instanceof t.Node)&&(P=i.commons.aria.getRole(P));var U=d1.ariaRoles[P];return U?.type||null}var QR=Q0;function fV(P,L){L(P.actualNode)!==!1&&P.children.forEach(function(U){return fV(U,L)})}var tg=["block","list-item","table","flex","grid","inline-block"];function Eh(P){var L=t.getComputedStyle(P).getPropertyValue("display");return tg.includes(L)||L.substr(0,6)==="table-"}function xI(P){for(var L=iE(P);L&&!Eh(L);)L=iE(L);return yh(L)}function qU(P,L){if(Eh(P))return!1;var U=xI(P),W="",te="",ge=0;return fV(U,function(Pe){if(ge===2)return!1;if(Pe.nodeType===3&&(W+=Pe.nodeValue),Pe.nodeType===1){var Ke=(Pe.nodeName||"").toUpperCase();if(Pe===P&&(ge=1),["BR","HR"].includes(Ke))ge===0?(W="",te=""):ge=2;else{if(Pe.style.display==="none"||Pe.style.overflow==="hidden"||!["",null,"none"].includes(Pe.style.float)||!["",null,"relative"].includes(Pe.style.position))return!1;if(QR(Pe)==="widget")return te+=Pe.textContent,!1}}}),W=o0(W),L!=null&&L.noLengthCompare?W.length!==0:(te=o0(te),W.length>te.length)}var V4=qU;function SZe(P){P=P||{};var L=P.modalPercent||.75;if(Mp.get("isModalOpen"))return Mp.get("isModalOpen");var U=H3(i._tree[0],"dialog, [role=dialog], [aria-modal=true]",t8);if(U.length)return Mp.set("isModalOpen",!0),!0;for(var W=r3(t),te=W.width*L,ge=W.height*L,Pe=(W.width-te)/2,Ke=(W.height-ge)/2,lt=[{x:Pe,y:Ke},{x:W.width-Pe,y:Ke},{x:W.width/2,y:W.height/2},{x:Pe,y:W.height-Ke},{x:W.width-Pe,y:W.height-Ke}],Ct=lt.map(function(Tn){return Array.from(n.elementsFromPoint(Tn.x,Tn.y))}),wt=function(){var Gn=Ct[pn].find(function(rs){var ss=t.getComputedStyle(rs);return parseInt(ss.width,10)>=te&&parseInt(ss.height,10)>=ge&&ss.getPropertyValue("pointer-events")!=="none"&&(ss.position==="absolute"||ss.position==="fixed")});if(Gn&&Ct.every(function(rs){return rs.includes(Gn)}))return Mp.set("isModalOpen",!0),{v:!0}},Cr,pn=0;pn1&&arguments[1]!==void 0?arguments[1]:2,U=P.ownerDocument.createRange();U.setStart(P,0),U.setEnd(P,P.childNodes.length);var W=0,te=0,ge=us(U.getClientRects()),Pe;try{for(ge.s();!(Pe=ge.n()).done;){var Ke=Pe.value;if(!(Ke.height<=L))if(W>Ke.top+L)W=Math.max(W,Ke.bottom);else if(te===0)W=Ke.bottom,te++;else return!0}}catch(lt){ge.e(lt)}finally{ge.f()}return!1}function Sve(P){return P instanceof t.Node}var Tve=Sve,aE="color.incompleteData",d8={set:function(L,U){if(typeof L!="string")throw new Error("Incomplete data: key must be a string");var W=Mp.get(aE,function(){return{}});return U&&(W[L]=U),W[L]},get:function(L){var U=Mp.get(aE);return U?.[L]},clear:function(){Mp.set(aE,{})}},rT=d8;function jR(P,L){var U=["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"],W=P.nodeName.toUpperCase();if(U.includes(W))return rT.set("bgColor","imgNode"),!0;L=L||t.getComputedStyle(P);var te=L.getPropertyValue("background-image"),ge=te!=="none";if(ge){var Pe=/gradient/.test(te);rT.set("bgColor",Pe?"bgGradient":"bgImage")}return ge}var UR=jR,$Fe={};Qt($Fe,{ArrayFrom:function(){return jT.default},Colorjs:function(){return oE},CssSelectorParser:function(){return QH.CssSelectorParser},doT:function(){return AAe.default},emojiRegexText:function(){return O8e},memoize:function(){return wve.default}});var F8e=ks(pd()),RT=ks(Jd()),c6=ks(YA()),MH=ks(zw()),Dve=ks(mr()),aue=ks(fe());"hasOwn"in Object||(Object.hasOwn=MH.default),"values"in Object||(Object.values=Dve.default),"Promise"in t||F8e.default.polyfill(),"Uint32Array"in t||(t.Uint32Array=RT.Uint32Array),t.Uint32Array&&("some"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in t.Uint32Array.prototype||Object.defineProperty(t.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),typeof Object.assign!="function"&&(function(){Object.assign=function(P){if(P==null)throw new TypeError("Cannot convert undefined or null to object");for(var L=Object(P),U=1;U>>0,te=arguments[1],ge,Pe=0;Pe>>0,ge,Pe=0;Pe=0?ge=te:(ge=W+te,ge<0&&(ge=0));for(var Pe;ge>>0,te=arguments.length>=2?arguments[1]:void 0,ge=0;gethis.length?!1:this.indexOf(P,L)!==-1}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function P(){var L=isNaN(arguments[0])?1:Number(arguments[0]);return L?Array.prototype.reduce.call(this,function(U,W){return Array.isArray(W)?U.push.apply(U,P.call(W,L-1)):U.push(W),U},[]):Array.prototype.slice.call(this)},writable:!0}),t.Node&&!("isConnected"in t.Node.prototype)&&Object.defineProperty(t.Node.prototype,"isConnected",{get:function(){return!this.ownerDocument||!(this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var QH=ks(Bf()),AAe=ks(jt()),wve=ks(Ys());function nT(P,L){var U=P.length;Array.isArray(P[0])||(P=[P]),Array.isArray(L[0])||(L=L.map(function(Pe){return[Pe]}));var W=L[0].length,te=L[0].map(function(Pe,Ke){return L.map(function(lt){return lt[Ke]})}),ge=P.map(function(Pe){return te.map(function(Ke){var lt=0;if(!Array.isArray(Pe)){var Ct=us(Ke),wt;try{for(Ct.s();!(wt=Ct.n()).done;){var Cr=wt.value;lt+=Pe*Cr}}catch(Tn){Ct.e(Tn)}finally{Ct.f()}return lt}for(var pn=0;pnU)return+P.toFixed(L-U);var W=Math.pow(10,U-L);return Math.round(P/W)*W}function ere(P){if(P){P=P.trim();var L=/^([a-z]+)\((.+?)\)$/i,U=/^-?[\d.]+$/,W=P.match(L);if(W){var te=[];return W[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,function(ge,Pe){/%$/.test(Pe)?(Pe=new Number(Pe.slice(0,-1)/100),Pe.type=""):/deg$/.test(Pe)?(Pe=new Number(+Pe.slice(0,-3)),Pe.type="",Pe.unit="deg"):U.test(Pe)&&(Pe=new Number(Pe),Pe.type=""),ge.startsWith("/")&&(Pe=Pe instanceof Number?Pe:new Number(Pe),Pe.alpha=!0),te.push(Pe)}),{name:W[1].toLowerCase(),rawName:W[1],rawArgs:W[2],args:te}}}}function tre(P){return P[P.length-1]}function pV(P,L,U){return isNaN(P)?L:isNaN(L)?P:P+(L-P)*U}function hAe(P,L,U){return(U-P)/(L-P)}function UH(P,L,U){return pV(L[0],L[1],hAe(P[0],P[1],U))}function dV(P){return P.map(function(L){return L.split("|").map(function(U){U=U.trim();var W=U.match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(W){var te=new String(W[1]);return te.range=[+W[2],+W[3]],te}return U})})}var $3=Object.freeze({__proto__:null,isString:jH,type:qR,toPrecision:g5,parseFunction:ere,last:tre,interpolate:pV,interpolateInv:hAe,mapRange:UH,parseCoordGrammar:dV,multiplyMatrices:nT}),L8e=(function(){function P(){gt(this,P)}return Sn(P,[{key:"add",value:function(U,W,te){if(typeof arguments[0]!="string"){for(var U in arguments[0])this.add(U,arguments[0][U],arguments[1]);return}(Array.isArray(U)?U:[U]).forEach(function(ge){this[ge]=this[ge]||[],W&&this[ge][te?"unshift":"push"](W)},this)}},{key:"run",value:function(U,W){this[U]=this[U]||[],this[U].forEach(function(te){te.call(W&&W.context?W.context:W,W)})}}])})(),Ug=new L8e,vI={gamut_mapping:"lch.c",precision:5,deltaE:"76"},m8={D50:[.3457/.3585,1,(1-.3457-.3585)/.3585],D65:[.3127/.329,1,(1-.3127-.329)/.329]};function YU(P){return Array.isArray(P)?P:m8[P]}function YR(P,L,U){var W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};if(P=YU(P),L=YU(L),!P||!L)throw new TypeError("Missing white point to convert ".concat(P?"":"from").concat(!P&&!L?"/":"").concat(L?"":"to"));if(P===L)return U;var te={W1:P,W2:L,XYZ:U,options:W};if(Ug.run("chromatic-adaptation-start",te),te.M||(te.W1===m8.D65&&te.W2===m8.D50?te.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:te.W1===m8.D50&&te.W2===m8.D65&&(te.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Ug.run("chromatic-adaptation-end",te),te.M)return nT(te.M,te.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var CI=75e-6,xo=(ki=new WeakSet,cr=new WeakMap,(function(){function P(L){var U,W,te,ge,Pe,Ke,lt;gt(this,P),st(this,ki),at(this,cr,void 0),this.id=L.id,this.name=L.name,this.base=L.base?xo.get(L.base):null,this.aliases=L.aliases,this.base&&(this.fromBase=L.fromBase,this.toBase=L.toBase);var Ct=(U=L.coords)!==null&&U!==void 0?U:this.base.coords;this.coords=Ct;var wt=(W=(te=L.white)!==null&&te!==void 0?te:this.base.white)!==null&&W!==void 0?W:"D65";this.white=YU(wt),this.formats=(ge=L.formats)!==null&&ge!==void 0?ge:{};for(var Cr in this.formats){var pn=this.formats[Cr];pn.type||(pn.type="function"),pn.name||(pn.name=Cr)}L.cssId&&!((Pe=this.formats.functions)!==null&&Pe!==void 0&&Pe.color)?(this.formats.color={id:L.cssId},Object.defineProperty(this,"cssId",{value:L.cssId})):(Ke=this.formats)!==null&&Ke!==void 0&&Ke.color&&!((lt=this.formats)!==null&<!==void 0&<.color.id)&&(this.formats.color.id=this.id),this.referred=L.referred,xr(cr,this,dt(ki,this,FT).call(this).reverse()),Ug.run("colorspace-init-end",this)}return Sn(P,[{key:"inGamut",value:function(U){var W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=W.epsilon,ge=te===void 0?CI:te;if(this.isPolar)return U=this.toBase(U),this.base.inGamut(U,{epsilon:ge});var Pe=Object.values(this.coords);return U.every(function(Ke,lt){var Ct=Pe[lt];if(Ct.type!=="angle"&&Ct.range){if(Number.isNaN(Ke))return!0;var wt=Bt(Ct.range,2),Cr=wt[0],pn=wt[1];return(Cr===void 0||Ke>=Cr-ge)&&(pn===void 0||Ke<=pn+ge)}return!0})}},{key:"cssId",get:function(){var U;return((U=this.formats.functions)===null||U===void 0||(U=U.color)===null||U===void 0?void 0:U.id)||this.id}},{key:"isPolar",get:function(){for(var U in this.coords)if(this.coords[U].type==="angle")return!0;return!1}},{key:"getFormat",value:function(U){if(Di(U)==="object")return U=dt(ki,this,mV).call(this,U),U;var W;return U==="default"?W=Object.values(this.formats)[0]:W=this.formats[U],W?(W=dt(ki,this,mV).call(this,W),W):null}},{key:"to",value:function(U,W){if(arguments.length===1){var te=[U.space,U.coords];U=te[0],W=te[1]}if(U=xo.get(U),this===U)return W;W=W.map(function(pn){return Number.isNaN(pn)?0:pn});for(var ge=Sr(cr,this),Pe=Sr(cr,U),Ke,lt,Ct=0;Ctlt;wt--)W=ge[wt].toBase(W);for(var Cr=lt+1;Cr1?ge-1:0),Ke=1;Ke=0){var wt=Object.entries(ge.coords)[Pe];if(wt)return Fr({space:ge,id:wt[0],index:Pe},wt[1])}ge=xo.get(ge);var Cr=Pe.toLowerCase(),pn=0;for(var Tn in ge.coords){var Gn,rs=ge.coords[Tn];if(Tn.toLowerCase()===Cr||((Gn=rs.name)===null||Gn===void 0?void 0:Gn.toLowerCase())===Cr)return Fr({space:ge,id:Tn,index:pn},rs);pn++}throw new TypeError('No "'.concat(Pe,'" coordinate found in ').concat(ge.name,". Its coordinates are: ").concat(Object.keys(ge.coords).join(", ")))}}])})());function mV(P){if(P.coords&&!P.coordGrammar){P.type||(P.type="function"),P.name||(P.name="color"),P.coordGrammar=dV(P.coords);var L=Object.entries(this.coords).map(function(U,W){var te=Bt(U,2),ge=te[0],Pe=te[1],Ke=P.coordGrammar[W][0],lt=Pe.range||Pe.refRange,Ct=Ke.range,wt="";return Ke==""?(Ct=[0,100],wt="%"):Ke==""&&(wt="deg"),{fromRange:lt,toRange:Ct,suffix:wt}});P.serializeCoords=function(U,W){return U.map(function(te,ge){var Pe=L[ge],Ke=Pe.fromRange,lt=Pe.toRange,Ct=Pe.suffix;return Ke&<&&(te=UH(Ke,lt,te)),te=g5(te,W),Ct&&(te+=Ct),te})}}return P}function FT(){for(var P=[this],L=this;L=L.base;)P.push(L);return P}var _g=xo;lo(_g,"registry",{}),lo(_g,"DEFAULT_FORMAT",{type:"functions",name:"color"});var g8=new _g({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),A1=(function(P){function L(U){var W,te;if(gt(this,L),U.coords||(U.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),U.base||(U.base=g8),U.toXYZ_M&&U.fromXYZ_M){var ge,Pe;(ge=U.toBase)!==null&&ge!==void 0||(U.toBase=function(Ke){var lt=nT(U.toXYZ_M,Ke);return te.white!==te.base.white&&(lt=YR(te.white,te.base.white,lt)),lt}),(Pe=U.fromBase)!==null&&Pe!==void 0||(U.fromBase=function(Ke){return Ke=YR(te.base.white,te.white,Ke),nT(U.fromXYZ_M,Ke)})}return(W=U.referred)!==null&&W!==void 0||(U.referred="display"),te=le(this,L,[U])}return Le(L,P),Sn(L)})(_g);function oue(P){var L,U={str:(L=String(P))===null||L===void 0?void 0:L.trim()};if(Ug.run("parse-start",U),U.color)return U.color;if(U.parsed=ere(U.str),U.parsed){var W=U.parsed.name;if(W==="color"){var te=U.parsed.args.shift(),ge=U.parsed.rawArgs.indexOf("/")>0?U.parsed.args.pop():1,Pe=us(_g.all),Ke;try{var lt=function(){var km=Ke.value,Ec=km.getFormat("color");if(Ec){var Kp;if(te===Ec.id||(Kp=Ec.ids)!==null&&Kp!==void 0&&Kp.includes(te)){var Wd=Object.keys(km.coords).length,Um=Array(Wd).fill(0);return Um.forEach(function(_A,N0){return Um[N0]=U.parsed.args[N0]||0}),{v:{spaceId:km.id,coords:Um,alpha:ge}}}}},Ct;for(Pe.s();!(Ke=Pe.n()).done;)if(Ct=lt(),Ct)return Ct.v}catch(Of){Pe.e(Of)}finally{Pe.f()}var wt="";if(te in _g.registry){var Cr,pn=(Cr=_g.registry[te].formats)===null||Cr===void 0||(Cr=Cr.functions)===null||Cr===void 0||(Cr=Cr.color)===null||Cr===void 0?void 0:Cr.id;pn&&(wt="Did you mean color(".concat(pn,")?"))}throw new TypeError("Cannot parse color(".concat(te,"). ")+(wt||"Missing a plugin?"))}else{var Tn=us(_g.all),Gn;try{var rs=function(){var km=Gn.value,Ec=km.getFormat(W);if(Ec&&Ec.type==="function"){var Kp=1;(Ec.lastAlpha||tre(U.parsed.args).alpha)&&(Kp=U.parsed.args.pop());var Wd=U.parsed.args;return Ec.coordGrammar&&Object.entries(km.coords).forEach(function(Um,_A){var N0,Xg=Bt(Um,2),vh=Xg[0],Zp=Xg[1],fh=Ec.coordGrammar[_A],qo=(N0=Wd[_A])===null||N0===void 0?void 0:N0.type;if(fh=fh.find(function(U0){return U0==qo}),!fh){var gm=Zp.name||vh;throw new TypeError("".concat(qo," not allowed for ").concat(gm," in ").concat(W,"()"))}var If=fh.range;qo===""&&(If||(If=[0,1]));var qm=Zp.range||Zp.refRange;If&&qm&&(Wd[_A]=UH(If,qm,Wd[_A]))}),{v:{spaceId:km.id,coords:Wd,alpha:Kp}}}},ss;for(Tn.s();!(Gn=Tn.n()).done;)if(ss=rs(),ss)return ss.v}catch(Of){Tn.e(Of)}finally{Tn.f()}}}else{var Es=us(_g.all),Fs;try{for(Es.s();!(Fs=Es.n()).done;){var ka=Fs.value;for(var Hi in ka.formats){var co=ka.formats[Hi];if(co.type==="custom"&&!(co.test&&!co.test(U.str))){var Mu=co.parse(U.str);if(Mu){var Vl;return(Vl=Mu.alpha)!==null&&Vl!==void 0||(Mu.alpha=1),Mu}}}}}catch(Of){Es.e(Of)}finally{Es.f()}}throw new TypeError("Could not parse ".concat(P," as a color. Missing a plugin?"))}function Dx(P){if(!P)throw new TypeError("Empty color reference");jH(P)&&(P=oue(P));var L=P.space||P.spaceId;return L instanceof _g||(P.space=_g.get(L)),P.alpha===void 0&&(P.alpha=1),P}function oM(P,L){return L=_g.get(L),L.from(P)}function A5(P,L){var U=_g.resolveCoord(L,P.space),W=U.space,te=U.index,ge=oM(P,W);return ge[te]}function Bve(P,L,U){return L=_g.get(L),P.coords=L.to(P.space,U),P}function bI(P,L,U){if(P=Dx(P),arguments.length===2&&qR(arguments[1])==="object"){var W=arguments[1];for(var te in W)bI(P,te,W[te])}else{typeof U=="function"&&(U=U(A5(P,L)));var ge=_g.resolveCoord(L,P.space),Pe=ge.space,Ke=ge.index,lt=oM(P,Pe);lt[Ke]=U,Bve(P,Pe,lt)}return P}var yAe=new _g({id:"xyz-d50",name:"XYZ D50",white:"D50",base:g8,fromBase:function(L){return YR(g8.white,"D50",L)},toBase:function(L){return YR("D50",g8.white,L)},formats:{color:{}}}),TZe=216/24389,uM=24/116,$4=24389/27,UC=m8.D50,WE=new _g({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:UC,base:yAe,fromBase:function(L){var U=L.map(function(te,ge){return te/UC[ge]}),W=U.map(function(te){return te>TZe?Math.cbrt(te):($4*te+16)/116});return[116*W[1]-16,500*(W[0]-W[1]),200*(W[1]-W[2])]},toBase:function(L){var U=[];U[1]=(L[0]+16)/116,U[0]=L[1]/500+U[1],U[2]=U[1]-L[2]/200;var W=[U[0]>uM?Math.pow(U[0],3):(116*U[0]-16)/$4,L[0]>8?Math.pow((L[0]+16)/116,3):L[0]/$4,U[2]>uM?Math.pow(U[2],3):(116*U[2]-16)/$4];return W.map(function(te,ge){return te*UC[ge]})},formats:{lab:{coords:[" | ","",""]}}});function Pk(P){return(P%360+360)%360}function uue(P,L){if(P==="raw")return L;var U=L.map(Pk),W=Bt(U,2),te=W[0],ge=W[1],Pe=ge-te;return P==="increasing"?Pe<0&&(ge+=360):P==="decreasing"?Pe>0&&(te+=360):P==="longer"?-1800?ge+=360:te+=360):P==="shorter"&&(Pe>180?te+=360:Pe<-180&&(ge+=360)),[te,ge]}var GU=new _g({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:WE,fromBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2],Pe,Ke=.02;return Math.abs(te) | ",""," | "]}}}),rre=Math.pow(25,7),GR=Math.PI,kve=180/GR,VU=GR/180;function A8(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=U.kL,te=W===void 0?1:W,ge=U.kC,Pe=ge===void 0?1:ge,Ke=U.kH,lt=Ke===void 0?1:Ke,Ct=WE.from(P),wt=Bt(Ct,3),Cr=wt[0],pn=wt[1],Tn=wt[2],Gn=GU.from(WE,[Cr,pn,Tn])[1],rs=WE.from(L),ss=Bt(rs,3),Es=ss[0],Fs=ss[1],ka=ss[2],Hi=GU.from(WE,[Es,Fs,ka])[1];Gn<0&&(Gn=0),Hi<0&&(Hi=0);var co=(Gn+Hi)/2,Mu=Math.pow(co,7),Vl=.5*(1-Math.sqrt(Mu/(Mu+rre))),Of=(1+Vl)*pn,km=(1+Vl)*Fs,Ec=Math.sqrt(Math.pow(Of,2)+Math.pow(Tn,2)),Kp=Math.sqrt(Math.pow(km,2)+Math.pow(ka,2)),Wd=Of===0&&Tn===0?0:Math.atan2(Tn,Of),Um=km===0&&ka===0?0:Math.atan2(ka,km);Wd<0&&(Wd+=2*GR),Um<0&&(Um+=2*GR),Wd*=kve,Um*=kve;var _A=Es-Cr,N0=Kp-Ec,Xg=Um-Wd,vh=Wd+Um,Zp=Math.abs(Xg),fh;Ec*Kp===0?fh=0:Zp<=180?fh=Xg:Xg>180?fh=Xg-360:Xg<-180?fh=Xg+360:console.log("the unthinkable has happened");var qo=2*Math.sqrt(Kp*Ec)*Math.sin(fh*VU/2),gm=(Cr+Es)/2,If=(Ec+Kp)/2,qm=Math.pow(If,7),U0;Ec*Kp===0?U0=vh:Zp<=180?U0=vh/2:vh<360?U0=(vh+360)/2:U0=(vh-360)/2;var Zg=Math.pow(gm-50,2),EA=1+.015*Zg/Math.sqrt(20+Zg),lE=1+.045*If,H2=1;H2-=.17*Math.cos((U0-30)*VU),H2+=.24*Math.cos(2*U0*VU),H2+=.32*Math.cos((3*U0+6)*VU),H2-=.2*Math.cos((4*U0-63)*VU);var yb=1+.015*If*H2,JT=30*Math.exp(-1*Math.pow((U0-275)/25,2)),nw=2*Math.sqrt(qm/(qm+rre)),kI=-1*Math.sin(2*JT*VU)*nw,PI=Math.pow(_A/(te*EA),2);return PI+=Math.pow(N0/(Pe*lE),2),PI+=Math.pow(qo/(lt*yb),2),PI+=kI*(N0/(Pe*lE))*(qo/(lt*yb)),Math.sqrt(PI)}var x2=75e-6;function IN(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:P.space,U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=U.epsilon,te=W===void 0?x2:W;P=Dx(P),L=_g.get(L);var ge=P.coords;return L!==P.space&&(ge=L.from(P)),L.inGamut(ge,{epsilon:te})}function K3(P){return{space:P.space,coords:P.coords.slice(),alpha:P.alpha}}function II(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.method,W=U===void 0?vI.gamut_mapping:U,te=L.space,ge=te===void 0?P.space:te;if(jH(arguments[1])&&(ge=arguments[1]),ge=_g.get(ge),IN(P,ge,{epsilon:0}))return P;var Pe=J3(P,ge);if(W!=="clip"&&!IN(P,ge)){var Ke=II(K3(Pe),{method:"clip",space:ge});if(A8(P,Ke)>2){for(var lt=_g.resolveCoord(W),Ct=lt.space,wt=lt.id,Cr=J3(Pe,Ct),pn=lt.range||lt.refRange,Tn=pn[0],Gn=.01,rs=Tn,ss=A5(Cr,wt);ss-rs>Gn;){var Es=K3(Cr);Es=II(Es,{space:ge,method:"clip"});var Fs=A8(Cr,Es);Fs-22&&arguments[2]!==void 0?arguments[2]:{},W=U.inGamut;P=Dx(P),L=_g.get(L);var te=L.from(P),ge={space:L,coords:te,alpha:P.alpha};return W&&(ge=II(ge)),ge}J3.returns="color";function qH(P){var L,U,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=W.precision,ge=te===void 0?vI.precision:te,Pe=W.format,Ke=Pe===void 0?"default":Pe,lt=W.inGamut,Ct=lt===void 0?!0:lt,wt=It(W,E),Cr;P=Dx(P);var pn=Ke;Ke=(L=(U=P.space.getFormat(Ke))!==null&&U!==void 0?U:P.space.getFormat("default"))!==null&&L!==void 0?L:_g.DEFAULT_FORMAT,Ct||(Ct=Ke.toGamut);var Tn=P.coords;if(Tn=Tn.map(function(Hi){return Hi||0}),Ct&&!IN(P)&&(Tn=II(K3(P),Ct===!0?void 0:Ct).coords),Ke.type==="custom")if(wt.precision=ge,Ke.serialize)Cr=Ke.serialize(Tn,P.alpha,wt);else throw new TypeError("format ".concat(pn," can only be used to parse colors, not for serialization"));else{var Gn=Ke.name||"color";Ke.serializeCoords?Tn=Ke.serializeCoords(Tn,ge):ge!==null&&(Tn=Tn.map(function(Hi){return g5(Hi,ge)}));var rs=$t(Tn);if(Gn==="color"){var ss,Es=Ke.id||((ss=Ke.ids)===null||ss===void 0?void 0:ss[0])||P.space.id;rs.unshift(Es)}var Fs=P.alpha;ge!==null&&(Fs=g5(Fs,ge));var ka=P.alpha<1&&!Ke.noAlpha?"".concat(Ke.commas?",":" /"," ").concat(Fs):"";Cr="".concat(Gn,"(").concat(rs.join(Ke.commas?", ":" ")).concat(ka,")")}return Cr}var DZe=[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],_Ae=[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],nre=new A1({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:DZe,fromXYZ_M:_Ae,formats:{color:{}}}),YH=1.09929682680944,M8e=.018053968510807,Pve=new A1({id:"rec2020",name:"REC.2020",base:nre,toBase:function(L){return L.map(function(U){return U=M8e?YH*Math.pow(U,.45)-(YH-1):4.5*U})},formats:{color:{}}}),KFe=[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],Nve=[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]],f6=new A1({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:KFe,fromXYZ_M:Nve}),JFe=[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],h8=[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],Q8e=new A1({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:JFe,fromXYZ_M:h8,formats:{color:{}}}),h5={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[153/255,50/255,204/255],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,153/255],lightslategrey:[119/255,136/255,153/255],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[102/255,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,204/255],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[102/255,51/255,153/255],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},EAe=Array(3).fill(" | [0, 255]"),xAe=Array(3).fill("[0, 255]"),GH=new A1({id:"srgb",name:"sRGB",base:Q8e,fromBase:function(L){return L.map(function(U){var W=U<0?-1:1,te=U*W;return te>.0031308?W*(1.055*Math.pow(te,1/2.4)-.055):12.92*U})},toBase:function(L){return L.map(function(U){var W=U<0?-1:1,te=U*W;return te<.04045?U/12.92:W*Math.pow((te+.055)/1.055,2.4)})},formats:{rgb:{coords:EAe},rgb_number:{name:"rgb",commas:!0,coords:xAe,noAlpha:!0},color:{},rgba:{coords:EAe,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:xAe},hex:{type:"custom",toGamut:!0,test:function(L){return/^#([a-f0-9]{3,4}){1,2}$/i.test(L)},parse:function(L){L.length<=5&&(L=L.replace(/[a-f0-9]/gi,"$&$&"));var U=[];return L.replace(/[a-f0-9]{2}/gi,function(W){U.push(parseInt(W,16)/255)}),{spaceId:"srgb",coords:U.slice(0,3),alpha:U.slice(3)[0]}},serialize:function(L,U){var W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},te=W.collapse,ge=te===void 0?!0:te;U<1&&L.push(U),L=L.map(function(lt){return Math.round(lt*255)});var Pe=ge&&L.every(function(lt){return lt%17===0}),Ke=L.map(function(lt){return Pe?(lt/17).toString(16):lt.toString(16).padStart(2,"0")}).join("");return"#"+Ke}},keyword:{type:"custom",test:function(L){return/^[a-z]+$/i.test(L)},parse:function(L){L=L.toLowerCase();var U={spaceId:"srgb",coords:null,alpha:1};if(L==="transparent"?(U.coords=h5.black,U.alpha=0):U.coords=h5[L],U.coords)return U}}}}),gV=new A1({id:"p3",name:"P3",base:f6,fromBase:GH.fromBase,toBase:GH.toBase,formats:{color:{id:"display-p3"}}});if(vI.display_space=GH,typeof CSS<"u"&&(jr=CSS)!==null&&jr!==void 0&&jr.supports)for(var AV=0,K4=[WE,Pve,gV];AV1&&arguments[1]!==void 0?arguments[1]:{},W=U.space,te=W===void 0?vI.display_space:W,ge=It(U,b),Pe=qH(P,ge);if(typeof CSS>"u"||(L=CSS)!==null&&L!==void 0&&L.supports("color",Pe)||!vI.display_space)Pe=new String(Pe),Pe.color=P;else{var Ke=J3(P,te);Pe=new String(qH(Ke,ge)),Pe.color=Ke}return Pe}function LT(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"lab";U=_g.get(U);var W=U.from(P),te=U.from(L);return Math.sqrt(W.reduce(function(ge,Pe,Ke){var lt=te[Ke];return isNaN(Pe)||isNaN(lt)?ge:ge+Math.pow(lt-Pe,2)},0))}function vAe(P,L){return P=Dx(P),L=Dx(L),P.space===L.space&&P.alpha===L.alpha&&P.coords.every(function(U,W){return U===L.coords[W]})}function $U(P){return A5(P,[g8,"y"])}function Ove(P,L){bI(P,[g8,"y"],L)}function VH(P){Object.defineProperty(P.prototype,"luminance",{get:function(){return $U(this)},set:function(U){Ove(this,U)}})}var are=Object.freeze({__proto__:null,getLuminance:$U,setLuminance:Ove,register:VH});function CAe(P,L){P=Dx(P),L=Dx(L);var U=Math.max($U(P),0),W=Math.max($U(L),0);if(W>U){var te=[W,U];U=te[0],W=te[1]}return(U+.05)/(W+.05)}var bAe=.56,iT=.57,j8e=.62,wx=.65,Rve=.022,IAe=1.414,cue=.1,v2=5e-4,Fve=1.14,hV=.027,y5=1.14;function lM(P){return P>=Rve?P:P+Math.pow(Rve-P,IAe)}function J4(P){var L=P<0?-1:1,U=Math.abs(P);return L*Math.pow(U,2.4)}function cb(P,L){L=Dx(L),P=Dx(P);var U,W,te,ge,Pe,Ke;L=J3(L,"srgb");var lt=Bt(L.coords,3);ge=lt[0],Pe=lt[1],Ke=lt[2];var Ct=J4(ge)*.2126729+J4(Pe)*.7151522+J4(Ke)*.072175;P=J3(P,"srgb");var wt=Bt(P.coords,3);ge=wt[0],Pe=wt[1],Ke=wt[2];var Cr=J4(ge)*.2126729+J4(Pe)*.7151522+J4(Ke)*.072175,pn=lM(Ct),Tn=lM(Cr),Gn=Tn>pn;return Math.abs(Tn-pn)0?te=W-hV:te=W+hV,te*100}function fue(P,L){P=Dx(P),L=Dx(L);var U=Math.max($U(P),0),W=Math.max($U(L),0);if(W>U){var te=[W,U];U=te[0],W=te[1]}var ge=U+W;return ge===0?0:(U-W)/ge}var SAe=5e4;function U8e(P,L){P=Dx(P),L=Dx(L);var U=Math.max($U(P),0),W=Math.max($U(L),0);if(W>U){var te=[W,U];U=te[0],W=te[1]}return W===0?SAe:(U-W)/W}function p6(P,L){P=Dx(P),L=Dx(L);var U=A5(P,[WE,"l"]),W=A5(L,[WE,"l"]);return Math.abs(U-W)}var TAe=216/24389,ore=24/116,y8=24389/27,d6=m8.D65,_5=new _g({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:d6,base:g8,fromBase:function(L){var U=L.map(function(te,ge){return te/d6[ge]}),W=U.map(function(te){return te>TAe?Math.cbrt(te):(y8*te+16)/116});return[116*W[1]-16,500*(W[0]-W[1]),200*(W[1]-W[2])]},toBase:function(L){var U=[];U[1]=(L[0]+16)/116,U[0]=L[1]/500+U[1],U[2]=U[1]-L[2]/200;var W=[U[0]>ore?Math.pow(U[0],3):(116*U[0]-16)/y8,L[0]>8?Math.pow((L[0]+16)/116,3):L[0]/y8,U[2]>ore?Math.pow(U[2],3):(116*U[2]-16)/y8];return W.map(function(te,ge){return te*d6[ge]})},formats:{"lab-d65":{coords:[" | ","",""]}}}),_8=Math.pow(5,.5)*.5+.5;function Lve(P,L){P=Dx(P),L=Dx(L);var U=A5(P,[_5,"l"]),W=A5(L,[_5,"l"]),te=Math.abs(Math.pow(U,_8)-Math.pow(W,_8)),ge=Math.pow(te,1/_8)*Math.SQRT2-40;return ge<7.5?0:ge}var $H=Object.freeze({__proto__:null,contrastWCAG21:CAe,contrastAPCA:cb,contrastMichelson:fue,contrastWeber:U8e,contrastLstar:p6,contrastDeltaPhi:Lve});function KU(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};jH(U)&&(U={algorithm:U});var W=U,te=W.algorithm,ge=It(W,D);if(!te){var Pe=Object.keys($H).map(function(lt){return lt.replace(/^contrast/,"")}).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(Pe))}P=Dx(P),L=Dx(L);for(var Ke in $H)if("contrast"+te.toLowerCase()===Ke.toLowerCase())return $H[Ke](P,L,ge);throw new TypeError("Unknown contrast algorithm: ".concat(te))}function E8(P){var L=oM(P,g8),U=Bt(L,3),W=U[0],te=U[1],ge=U[2],Pe=W+15*te+3*ge;return[4*W/Pe,9*te/Pe]}function pue(P){var L=oM(P,g8),U=Bt(L,3),W=U[0],te=U[1],ge=U[2],Pe=W+te+ge;return[W/Pe,te/Pe]}function JU(P){Object.defineProperty(P.prototype,"uv",{get:function(){return E8(this)}}),Object.defineProperty(P.prototype,"xy",{get:function(){return pue(this)}})}var x8=Object.freeze({__proto__:null,uv:E8,xy:pue,register:JU});function Bx(P,L){return LT(P,L,"lab")}var KH=Math.PI,DAe=KH/180;function HU(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W=U.l,te=W===void 0?2:W,ge=U.c,Pe=ge===void 0?1:ge,Ke=WE.from(P),lt=Bt(Ke,3),Ct=lt[0],wt=lt[1],Cr=lt[2],pn=GU.from(WE,[Ct,wt,Cr]),Tn=Bt(pn,3),Gn=Tn[1],rs=Tn[2],ss=WE.from(L),Es=Bt(ss,3),Fs=Es[0],ka=Es[1],Hi=Es[2],co=GU.from(WE,[Fs,ka,Hi])[1];Gn<0&&(Gn=0),co<0&&(co=0);var Mu=Ct-Fs,Vl=Gn-co,Of=wt-ka,km=Cr-Hi,Ec=Math.pow(Of,2)+Math.pow(km,2)-Math.pow(Vl,2),Kp=.511;Ct>=16&&(Kp=.040975*Ct/(1+.01765*Ct));var Wd=.0638*Gn/(1+.0131*Gn)+.638,Um;Number.isNaN(rs)&&(rs=0),rs>=164&&rs<=345?Um=.56+Math.abs(.2*Math.cos((rs+168)*DAe)):Um=.36+Math.abs(.4*Math.cos((rs+35)*DAe));var _A=Math.pow(Gn,4),N0=Math.sqrt(_A/(_A+1900)),Xg=Wd*(N0*Um+1-N0),vh=Math.pow(Mu/(te*Kp),2);return vh+=Math.pow(Vl/(Pe*Wd),2),vh+=Ec/Math.pow(Xg,2),Math.sqrt(vh)}var H4=203,C2=new _g({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:g8,fromBase:function(L){return L.map(function(U){return Math.max(U*H4,0)})},toBase:function(L){return L.map(function(U){return Math.max(U/H4,0)})}}),Fo=1.15,JH=.66,MT=2610/Math.pow(2,14),cM=Math.pow(2,14)/2610,ure=3424/Math.pow(2,12),b2=2413/Math.pow(2,7),lre=2392/Math.pow(2,7),fM=1.7*2523/Math.pow(2,5),Mve=Math.pow(2,5)/(1.7*2523),due=-.56,HH=16295499532821565e-27,cre=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],wAe=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Nk=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],fre=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],zH=new _g({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:C2,fromBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2],Pe=Fo*W-(Fo-1)*ge,Ke=JH*te-(JH-1)*W,lt=nT(cre,[Pe,Ke,ge]),Ct=lt.map(function(ss){var Es=ure+b2*Math.pow(ss/1e4,MT),Fs=1+lre*Math.pow(ss/1e4,MT);return Math.pow(Es/Fs,fM)}),wt=nT(Nk,Ct),Cr=Bt(wt,3),pn=Cr[0],Tn=Cr[1],Gn=Cr[2],rs=(1+due)*pn/(1+due*pn)-HH;return[rs,Tn,Gn]},toBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2],Pe=(W+HH)/(1+due-due*(W+HH)),Ke=nT(fre,[Pe,te,ge]),lt=Ke.map(function(ss){var Es=ure-Math.pow(ss,Mve),Fs=lre*Math.pow(ss,Mve)-b2,ka=1e4*Math.pow(Es/Fs,cM);return ka}),Ct=nT(wAe,lt),wt=Bt(Ct,3),Cr=wt[0],pn=wt[1],Tn=wt[2],Gn=(Cr+(Fo-1)*Tn)/Fo,rs=(pn+(JH-1)*Gn)/JH;return[Gn,rs,Tn]},formats:{color:{}}}),q8e=new _g({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:zH,fromBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2],Pe,Ke=2e-4;return Math.abs(te) | ","",""]}}});function z4(P,L){var U=ZH.from(P),W=Bt(U,3),te=W[0],ge=W[1],Pe=W[2],Ke=ZH.from(L),lt=Bt(Ke,3),Ct=lt[0],wt=lt[1],Cr=lt[2],pn=te-Ct,Tn=ge-wt,Gn=Pe-Cr;return Math.sqrt(Math.pow(pn,2)+Math.pow(Tn,2)+Math.pow(Gn,2))}var dM=Object.freeze({__proto__:null,deltaE76:Bx,deltaECMC:HU,deltaE2000:A8,deltaEJz:Hm,deltaEITP:kAe,deltaEOK:z4});function x5(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};jH(U)&&(U={method:U});var W=U,te=W.method,ge=te===void 0?vI.deltaE:te,Pe=It(W,k);P=Dx(P),L=Dx(L);for(var Ke in dM)if("deltae"+ge.toLowerCase()===Ke.toLowerCase())return dM[Ke](P,L,Pe);throw new TypeError("Unknown deltaE method: ".concat(ge))}function yV(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,U=_g.get("oklch","lch"),W=[U,"l"];return bI(P,W,function(te){return te*(1+L)})}function Aue(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.25,U=_g.get("oklch","lch"),W=[U,"l"];return bI(P,W,function(te){return te*(1-L)})}var ez=Object.freeze({__proto__:null,lighten:yV,darken:Aue});function PAe(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},te=[Dx(P),Dx(L)];if(P=te[0],L=te[1],qR(U)==="object"){var ge=[.5,U];U=ge[0],W=ge[1]}var Pe=W,Ke=Pe.space,lt=Pe.outputSpace,Ct=Pe.premultiplied,wt=TN(P,L,{space:Ke,outputSpace:lt,premultiplied:Ct});return wt(U)}function NAe(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},W;if(_V(P)){W=P,U=L;var te=Bt(W.rangeArgs.colors,2);P=te[0],L=te[1]}var ge=U,Pe=ge.maxDeltaE,Ke=ge.deltaEMethod,lt=ge.steps,Ct=lt===void 0?2:lt,wt=ge.maxSteps,Cr=wt===void 0?1e3:wt,pn=It(ge,M);if(!W){var Tn=[Dx(P),Dx(L)];P=Tn[0],L=Tn[1],W=TN(P,L,pn)}var Gn=x5(P,L),rs=Pe>0?Math.max(Ct,Math.ceil(Gn/Pe)+1):Ct,ss=[];if(Cr!==void 0&&(rs=Math.min(rs,Cr)),rs===1)ss=[{p:.5,color:W(.5)}];else{var Es=1/(rs-1);ss=Array.from({length:rs},function(Of,km){var Ec=km*Es;return{p:Ec,color:W(Ec)}})}if(Pe>0)for(var Fs=ss.reduce(function(Of,km,Ec){if(Ec===0)return 0;var Kp=x5(km.color,ss[Ec-1].color,Ke);return Math.max(Of,Kp)},0);Fs>Pe;){Fs=0;for(var ka=1;ka2&&arguments[2]!==void 0?arguments[2]:{};if(_V(P)){var W=P,te=L;return TN.apply(void 0,$t(W.rangeArgs.colors).concat([Fr({},W.rangeArgs.options,te)]))}var ge=U.space,Pe=U.outputSpace,Ke=U.progression,lt=U.premultiplied;P=Dx(P),L=Dx(L),P=K3(P),L=K3(L);var Ct={colors:[P,L],options:U};if(ge?ge=_g.get(ge):ge=_g.registry[vI.interpolationSpace]||P.space,Pe=Pe?_g.get(Pe):ge,P=J3(P,ge),L=J3(L,ge),P=II(P),L=II(L),ge.coords.h&&ge.coords.h.type==="angle"){var wt=U.hue=U.hue||"shorter",Cr=[ge,"h"],pn=[A5(P,Cr),A5(L,Cr)],Tn=pn[0],Gn=pn[1],rs=uue(wt,[Tn,Gn]),ss=Bt(rs,2);Tn=ss[0],Gn=ss[1],bI(P,Cr,Tn),bI(L,Cr,Gn)}return lt&&(P.coords=P.coords.map(function(Es){return Es*P.alpha}),L.coords=L.coords.map(function(Es){return Es*L.alpha})),Object.assign(function(Es){Es=Ke?Ke(Es):Es;var Fs=P.coords.map(function(co,Mu){var Vl=L.coords[Mu];return pV(co,Vl,Es)}),ka=pV(P.alpha,L.alpha,Es),Hi={space:ge,coords:Fs,alpha:ka};return lt&&(Hi.coords=Hi.coords.map(function(co){return co/ka})),Pe!==ge&&(Hi=J3(Hi,Pe)),Hi},{rangeArgs:Ct})}function _V(P){return qR(P)==="function"&&!!P.rangeArgs}vI.interpolationSpace="lab";function hue(P){P.defineFunction("mix",PAe,{returns:"color"}),P.defineFunction("range",TN,{returns:"function"}),P.defineFunction("steps",NAe,{returns:"array"})}var yue=Object.freeze({__proto__:null,mix:PAe,steps:NAe,range:TN,isRange:_V,register:hue}),XU=new _g({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:GH,fromBase:function(L){var U=Math.max.apply(Math,$t(L)),W=Math.min.apply(Math,$t(L)),te=Bt(L,3),ge=te[0],Pe=te[1],Ke=te[2],lt=NaN,Ct=0,wt=(W+U)/2,Cr=U-W;if(Cr!==0){switch(Ct=wt===0||wt===1?0:(U-wt)/Math.min(wt,1-wt),U){case ge:lt=(Pe-Ke)/Cr+(Pe | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),ZU=new _g({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:XU,fromBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2];te/=100,ge/=100;var Pe=ge+te*Math.min(ge,1-ge);return[W,Pe===0?0:200*(1-ge/Pe),100*Pe]},toBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2];te/=100,ge/=100;var Pe=ge*(1-te/2);return[W,Pe===0||Pe===1?0:(ge-Pe)/Math.min(Pe,1-Pe)*100,Pe*100]},formats:{color:{toGamut:!0}}}),mM=new _g({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:ZU,fromBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2];return[W,ge*(100-te)/100,100-ge]},toBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2];te/=100,ge/=100;var Pe=te+ge;if(Pe>=1){var Ke=te/Pe;return[W,0,Ke*100]}var lt=1-ge,Ct=lt===0?0:1-te/lt;return[W,Ct*100,lt*100]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),Ok=[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],EV=[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]],gM=new A1({id:"a98rgb-linear",name:"Linear Adobe\xAE 98 RGB compatible",white:"D65",toXYZ_M:Ok,fromXYZ_M:EV}),JD=new A1({id:"a98rgb",name:"Adobe\xAE 98 RGB compatible",base:gM,toBase:function(L){return L.map(function(U){return Math.pow(Math.abs(U),563/256)*Math.sign(U)})},fromBase:function(L){return L.map(function(U){return Math.pow(Math.abs(U),256/563)*Math.sign(U)})},formats:{color:{id:"a98-rgb"}}}),pre=[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],kZe=[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]],Y8e=new A1({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:yAe,toXYZ_M:pre,fromXYZ_M:kZe}),zFe=1/512,xV=16/512,WFe=new A1({id:"prophoto",name:"ProPhoto",base:Y8e,toBase:function(L){return L.map(function(U){return U=zFe?Math.pow(U,1/1.8):16*U})},formats:{color:{id:"prophoto-rgb"}}}),tz=new _g({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:ZH,fromBase:function(L){var U=Bt(L,3),W=U[0],te=U[1],ge=U[2],Pe,Ke=2e-4;return Math.abs(te) | ",""," | "]}}}),dre=203,OAe=2610/Math.pow(2,14),XFe=Math.pow(2,14)/2610,PZe=2523/Math.pow(2,5),RAe=Math.pow(2,5)/2523,mre=3424/Math.pow(2,12),_ue=2413/Math.pow(2,7),FAe=2392/Math.pow(2,7),VR=new A1({id:"rec2100pq",name:"REC.2100-PQ",base:nre,toBase:function(L){return L.map(function(U){var W=Math.pow(Math.max(Math.pow(U,RAe)-mre,0)/(_ue-FAe*Math.pow(U,RAe)),XFe);return W*1e4/dre})},fromBase:function(L){return L.map(function(U){var W=Math.max(U*dre/1e4,0),te=mre+_ue*Math.pow(W,OAe),ge=1+FAe*Math.pow(W,OAe);return Math.pow(te/ge,PZe)})},formats:{color:{id:"rec2100-pq"}}}),DN=.17883277,$R=.28466892,AM=.55991073,LAe=3.7743,gre=new A1({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:nre,toBase:function(L){return L.map(function(U){return U<=.5?Math.pow(U,2)/3*LAe:Math.exp((U-AM)/DN+$R)/12*LAe})},fromBase:function(L){return L.map(function(U){return U/=LAe,U<=1/12?Math.sqrt(3*U):DN*Math.log(12*U-$R)+AM})},formats:{color:{id:"rec2100-hlg"}}}),qve={};Ug.add("chromatic-adaptation-start",function(P){P.options.method&&(P.M=v5(P.W1,P.W2,P.options.method))}),Ug.add("chromatic-adaptation-end",function(P){P.M||(P.M=v5(P.W1,P.W2,P.options.method))});function vV(P){var L=P.id,U=P.toCone_M,W=P.fromCone_M;qve[L]=arguments[0]}function v5(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Bradford",W=qve[U],te=nT(W.toCone_M,P),ge=Bt(te,3),Pe=ge[0],Ke=ge[1],lt=ge[2],Ct=nT(W.toCone_M,L),wt=Bt(Ct,3),Cr=wt[0],pn=wt[1],Tn=wt[2],Gn=[[Cr/Pe,0,0],[0,pn/Ke,0],[0,0,Tn/lt]],rs=nT(Gn,W.toCone_M),ss=nT(W.fromCone_M,rs);return ss}vV({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),vV({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),vV({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),vV({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(m8,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),m8.ACES=[.32168/.33767,1,(1-.32168-.33767)/.33767];var wN=[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],rz=[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],MAe=new A1({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:m8.ACES,toXYZ_M:wN,fromXYZ_M:rz,formats:{color:{}}}),nz=Math.pow(2,-16),BN=-.35828683,Eue=(Math.log2(65504)+9.72)/17.52,xue=new A1({id:"acescc",name:"ACEScc",coords:{r:{range:[BN,Eue],name:"Red"},g:{range:[BN,Eue],name:"Green"},b:{range:[BN,Eue],name:"Blue"}},referred:"scene",base:MAe,toBase:function(L){var U=-.3013698630136986;return L.map(function(W){return W<=U?(Math.pow(2,W*17.52-9.72)-nz)*2:W1?W-1:0),ge=1;ge2&&arguments[2]!==void 0?arguments[2]:W,ge=te.instance,Pe=ge===void 0?!0:ge,Ke=te.returns,lt=function(){var wt=W.apply(void 0,arguments);if(Ke==="color")wt=oE.get(wt);else if(Ke==="function"){var Cr=wt;wt=function(){var Tn=Cr.apply(void 0,arguments);return oE.get(Tn)},Object.assign(wt,Cr)}else Ke==="array"&&(wt=wt.map(function(pn){return oE.get(pn)}));return wt};U in oE||(oE[U]=lt),Pe&&(oE.prototype[U]=function(){for(var Ct=arguments.length,wt=new Array(Ct),Cr=0;Cr"u"?ge:new Proxy(ge,{has:function(Ke,lt){try{return _g.resolveCoord([L,lt]),!0}catch{}return Reflect.has(Ke,lt)},get:function(Ke,lt,Ct){if(lt&&Di(lt)!=="symbol"&&!(lt in Ke)){var wt=_g.resolveCoord([L,lt]),Cr=wt.index;if(Cr>=0)return Ke[Cr]}return Reflect.get(Ke,lt,Ct)},set:function(Ke,lt,Ct,wt){if(lt&&Di(lt)!=="symbol"&&!(lt in Ke)||lt>=0){var Cr=_g.resolveCoord([L,lt]),pn=Cr.index;if(pn>=0)return Ke[pn]=Ct,te.setAll(P,Ke),!0}return Reflect.set(Ke,lt,Ct,wt)}})},set:function(te){this.setAll(P,te)},configurable:!0,enumerable:!0})}oE.extend(dM),oE.extend({deltaE:x5}),oE.extend(ez),oE.extend({contrast:KU}),oE.extend(x8),oE.extend(are),oE.extend(yue),oE.extend($H);var jT=ks(fe());AAe.default.templateSettings.strip=!1;var iz=/^#[0-9a-f]{3,8}$/i,Cue=/hsl\(\s*([-\d.]+)(rad|turn)/,CV=(es=new WeakMap,li=new WeakMap,mo=new WeakMap,yu=new WeakMap,Va=new WeakMap,oi=new WeakMap,oa=new WeakSet,(function(){function P(L,U,W){var te=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;if(gt(this,P),st(this,oa),at(this,es,void 0),at(this,li,void 0),at(this,mo,void 0),at(this,yu,void 0),at(this,Va,void 0),at(this,oi,void 0),L instanceof CV){var ge=L.r,Pe=L.g,Ke=L.b;this.r=ge,this.g=Pe,this.b=Ke,this.alpha=L.alpha;return}this.red=L,this.green=U,this.blue=W,this.alpha=te}return Sn(P,[{key:"r",get:function(){return Sr(es,this)},set:function(U){xr(es,this,U),xr(yu,this,Math.round(eq(U,0,1)*255))}},{key:"g",get:function(){return Sr(li,this)},set:function(U){xr(li,this,U),xr(Va,this,Math.round(eq(U,0,1)*255))}},{key:"b",get:function(){return Sr(mo,this)},set:function(U){xr(mo,this,U),xr(oi,this,Math.round(eq(U,0,1)*255))}},{key:"red",get:function(){return Sr(yu,this)},set:function(U){xr(es,this,U/255),xr(yu,this,eq(U,0,255))}},{key:"green",get:function(){return Sr(Va,this)},set:function(U){xr(li,this,U/255),xr(Va,this,eq(U,0,255))}},{key:"blue",get:function(){return Sr(oi,this)},set:function(U){xr(mo,this,U/255),xr(oi,this,eq(U,0,255))}},{key:"toHexString",value:function(){var U=Math.round(this.red).toString(16),W=Math.round(this.green).toString(16),te=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?U:"0"+U)+(this.green>15.5?W:"0"+W)+(this.blue>15.5?te:"0"+te)}},{key:"toJSON",value:function(){var U=this.red,W=this.green,te=this.blue,ge=this.alpha;return{red:U,green:W,blue:te,alpha:ge}}},{key:"parseString",value:function(U){U=U.replace(Cue,function(ge,Pe,Ke){var lt=Pe+Ke;switch(Ke){case"rad":return ge.replace(lt,sz(Pe));case"turn":return ge.replace(lt,SI(Pe))}});try{var W;"Prototype"in t&&"Version"in t.Prototype&&(W=Array.from,Array.from=jT.default);var te=new oE(U).to("srgb");W&&(Array.from=W,W=null),this.r=te.r,this.g=te.g,this.b=te.b,this.alpha=+te.alpha}catch{throw new Error('Unable to parse color "'.concat(U,'"'))}return this}},{key:"parseRgbString",value:function(U){this.parseString(U)}},{key:"parseHexString",value:function(U){!U.match(iz)||[6,8].includes(U.length)||this.parseString(U)}},{key:"parseColorFnString",value:function(U){this.parseString(U)}},{key:"getRelativeLuminance",value:function(){var U=this.r,W=this.g,te=this.b,ge=U<=.03928?U/12.92:Math.pow((U+.055)/1.055,2.4),Pe=W<=.03928?W/12.92:Math.pow((W+.055)/1.055,2.4),Ke=te<=.03928?te/12.92:Math.pow((te+.055)/1.055,2.4);return .2126*ge+.7152*Pe+.0722*Ke}},{key:"getLuminosity",value:function(){return .3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(U){var W=U-this.getLuminosity();return dt(oa,this,bue).call(this,W).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(U){var W=new CV(this),te=[{name:"r",value:W.r},{name:"g",value:W.g},{name:"b",value:W.b}],ge=te.sort(function(wt,Cr){return wt.value-Cr.value}),Pe=Bt(ge,3),Ke=Pe[0],lt=Pe[1],Ct=Pe[2];return Ct.value>Ke.value?(lt.value=(lt.value-Ke.value)*U/(Ct.value-Ke.value),Ct.value=U):lt.value=Ct.value=0,Ke.value=0,W[Ct.name]=Ct.value,W[Ke.name]=Ke.value,W[lt.name]=lt.value,W}},{key:"clip",value:function(){var U=new CV(this),W=U.getLuminosity(),te=Math.min(U.r,U.g,U.b),ge=Math.max(U.r,U.g,U.b);return te<0&&(U.r=W+(U.r-W)*W/(W-te),U.g=W+(U.g-W)*W/(W-te),U.b=W+(U.b-W)*W/(W-te)),ge>1&&(U.r=W+(U.r-W)*(1-W)/(ge-W),U.g=W+(U.g-W)*(1-W)/(ge-W),U.b=W+(U.b-W)*(1-W)/(ge-W)),U}}])})());function bue(P){var L=new CV(this);return L.r+=P,L.g+=P,L.b+=P,L}var sC=CV;function eq(P,L,U){return Math.min(Math.max(L,P),U)}function sz(P){return P*180/Math.PI}function SI(P){return P*360}function C5(P){var L=new sC;if(L.parseString(P.getPropertyValue("background-color")),L.alpha!==0){var U=P.getPropertyValue("opacity");L.alpha=L.alpha*U}return L}var UT=C5;function Rk(P){var L=t.getComputedStyle(P);return UR(P,L)||UT(L).alpha===1}var JR=Rk;function hM(P){if(!P.href)return!1;var L=Mp.get("firstPageLink",Fk);return L?P.compareDocumentPosition(L.actualNode)===P.DOCUMENT_POSITION_FOLLOWING:!0}function Fk(){var P;return t.location.origin?P=h6(i._tree,'a[href]:not([href^="javascript:"])').find(function(L){return!qD(L.actualNode)}):P=h6(i._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0],P||null}var kx=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Are=/(\w+)\((\d+)/;function Iue(P){var L=P.getPropertyValue("clip").match(kx),U=P.getPropertyValue("clip-path").match(Are);if(L&&L.length===5){var W=P.getPropertyValue("position");if(["fixed","absolute"].includes(W))return L[3]-L[1]<=0&&L[2]-L[4]<=0}if(U){var te=U[1],ge=parseInt(U[2],10);switch(te){case"inset":return ge>=50;case"circle":return ge===0;default:}}return!1}function QAe(P,L,U){var W=lh(P,"map");if(!W)return!1;var te=W.getAttribute("name");if(!te)return!1;var ge=L4(P);if(!ge||ge.nodeType!==9)return!1;var Pe=h6(i._tree,'img[usemap="#'.concat(Cp(te),'"]'));return!Pe||!Pe.length?!1:Pe.some(function(Ke){var lt=Ke.actualNode;return hre(lt,L,U)})}function hre(P,L,U){var W;if(!P)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var te=P instanceof p1?P:yh(P);P=te?te.actualNode:P;var ge="_isVisible"+(L?"ScreenReader":""),Pe=(W=t.Node)!==null&&W!==void 0?W:{},Ke=Pe.DOCUMENT_NODE,lt=Pe.DOCUMENT_FRAGMENT_NODE,Ct=te?te.props.nodeType:P.nodeType,wt=te?te.props.nodeName:P.nodeName.toLowerCase();if(te&&typeof te[ge]<"u")return te[ge];if(Ct===Ke)return!0;if(["style","script","noscript","template"].includes(wt))return!1;if(P&&Ct===lt&&(P=P.host),L){var Cr=te?te.attr("aria-hidden"):P.getAttribute("aria-hidden");if(Cr==="true")return!1}if(!P){var pn=te.parent,Tn=!0;return pn&&(Tn=hre(pn,L,!0)),te&&(te[ge]=Tn),Tn}var Gn=t.getComputedStyle(P,null);if(Gn===null)return!1;if(wt==="area")return QAe(P,L,U);if(Gn.getPropertyValue("display")==="none")return!1;var rs=parseInt(Gn.getPropertyValue("height")),ss=parseInt(Gn.getPropertyValue("width")),Es=I5(P),Fs=Es&&rs===0,ka=Es&&ss===0,Hi=Gn.getPropertyValue("position")==="absolute"&&(rs<2||ss<2)&&Gn.getPropertyValue("overflow")==="hidden";if(!L&&(Iue(Gn)||Gn.getPropertyValue("opacity")==="0"||Fs||ka||Hi)||!U&&(Gn.getPropertyValue("visibility")==="hidden"||!L&&Moe(P)))return!1;var co=P.assignedSlot?P.assignedSlot:P.parentNode,Mu=!1;return co&&(Mu=hre(co,L,!0)),te&&(te[ge]=Mu),Mu}var tq=hre;function Yve(P,L){for(var U=["fixed","sticky"],W=[],te=!1,ge=0;geMath.ceil(Pe.left+Pe.width)||Math.floor(Ke.top+Ke.height)>Math.ceil(Pe.top+Pe.height))})}function TI(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:n,W=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0;if(W>999)throw new Error("Infinite loop detected");return Array.from(U.elementsFromPoint(P,L)||[]).filter(function(te){return L4(te)===U}).reduce(function(te,ge){if(uve(ge)){var Pe=TI(P,L,ge.shadowRoot,W+1);te=te.concat(Pe),te.length&&jAe(te[0],ge)&&te.push(ge)}else te.push(ge);return te},[])}var UAe=TI;function Lk(P,L){if(P.hasAttribute(L)){var U=P.nodeName.toUpperCase(),W=P;(!["A","AREA"].includes(U)||P.ownerSVGElement)&&(W=n.createElement("a"),W.href=P.getAttribute(L));var te=["https:","ftps:"].includes(W.protocol)?W.protocol.replace(/s:$/,":"):W.protocol,ge=/^\//.test(W.pathname)?W.pathname:"/".concat(W.pathname),Pe=_M(ge),Ke=Pe.pathname,lt=Pe.filename;return{protocol:te,hostname:W.hostname,port:Sue(W.port),pathname:/\/$/.test(Ke)?Ke:"".concat(Ke,"/"),search:v8(W.search),hash:qT(W.hash),filename:lt}}}function Sue(P){var L=["443","80"];return L.includes(P)?"":P}function _M(P){var L=P.split("/").pop();return!L||L.indexOf(".")===-1?{pathname:P,filename:""}:{pathname:P.replace(L,""),filename:/index./.test(L)?"":L}}function v8(P){var L={};if(!P||!P.length)return L;var U=P.substring(1).split("&");if(!U||!U.length)return L;for(var W=0;Wge.right&&P.left>U.right||P.top>ge.bottom&&P.top>U.bottom||P.rightU.right||P.top>U.bottom?Pe.overflow==="scroll"||Pe.overflow==="auto"||L instanceof t.HTMLBodyElement||L instanceof t.HTMLHtmlElement:!0}var bV=Tue,Gve=0,NZe=(function(P){function L(U,W,te){var ge;if(gt(this,L),ge=le(this,L),ge.shadowId=te,ge.children=[],ge.actualNode=U,ge.parent=W,W||(Gve=0),ge.nodeIndex=Gve++,ge._isHidden=null,ge._cache={},ge._isXHTML=pN(U.ownerDocument),U.nodeName.toLowerCase()==="input"){var Pe=U.getAttribute("type");Pe=ge._isXHTML?Pe:(Pe||"").toLowerCase(),iCe().includes(Pe)||(Pe="text"),ge._type=Pe}return Mp.get("nodeMap")&&Mp.get("nodeMap").set(U,ge),ge}return Le(L,P),Sn(L,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var W=this.actualNode,te=W.nodeType,ge=W.nodeName,Pe=W.id,Ke=W.nodeValue;this._cache.props={nodeType:te,nodeName:this._isXHTML?ge:ge.toLowerCase(),id:Pe,type:this._type,nodeValue:Ke},te===1&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(W){return typeof this.actualNode.getAttribute!="function"?null:this.actualNode.getAttribute(W)}},{key:"hasAttr",value:function(W){return typeof this.actualNode.hasAttribute!="function"?!1:this.actualNode.hasAttribute(W)}},{key:"attrNames",get:function(){if(!this._cache.hasOwnProperty("attrNames")){var W;this.actualNode.attributes instanceof t.NamedNodeMap?W=this.actualNode.attributes:W=this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(W).map(function(te){return te.name})}return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(W){var te="computedStyle_"+W;return this._cache.hasOwnProperty(te)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=t.getComputedStyle(this.actualNode)),this._cache[te]=this._cache.computedStyle.getPropertyValue(W)),this._cache[te]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=lb(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=j4(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter(function(W){return W.width>0})),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])})(p1),az=NZe;function Vve(P){return(P||"").trim().replace(/\s{2,}/g," ").split(" ")}var j0=Vve,nq=" [idsMap]";function PN(P,L,U){var W=P[0]._selectorMap;if(W){for(var te=P[0].shadowId,ge=0;ge1&&L[ge].some(function(lt){return iq(lt)}))return;var Pe=new Set;L.forEach(function(lt){var Ct,wt=n3(lt,W,te);wt==null||(Ct=wt.nodes)===null||Ct===void 0||Ct.forEach(function(Cr){wt.isComplexSelector&&!Wa(Cr,lt)||Pe.add(Cr)})});var Ke=[];return Pe.forEach(function(lt){return Ke.push(lt)}),U&&(Ke=Ke.filter(U)),Ke.sort(function(lt,Ct){return lt.nodeIndex-Ct.nodeIndex})}}function n3(P,L,U){var W=P[P.length-1],te=null,ge=P.length>1||!!W.pseudos||!!W.classes;if(iq(W))te=L["*"];else{if(W.id){var Pe;if(!L[nq]||!Object.hasOwn(L[nq],W.id)||!((Pe=L[nq][W.id])!==null&&Pe!==void 0&&Pe.length))return;te=L[nq][W.id].filter(function(rs){return rs.shadowId===U})}if(W.tag&&W.tag!=="*"){var Ke;if(!((Ke=L[W.tag])!==null&&Ke!==void 0&&Ke.length))return;var lt=L[W.tag];te=te?kg(lt,te):lt}if(W.classes){var Ct;if(!((Ct=L["[class]"])!==null&&Ct!==void 0&&Ct.length))return;var wt=L["[class]"];te=te?kg(wt,te):wt}if(W.attributes)for(var Cr=0;Cr0&&arguments[0]!==void 0?arguments[0]:n.documentElement,L=arguments.length>1?arguments[1]:void 0;Bue=!1;var U={};Mp.set("nodeMap",new WeakMap),Mp.set("selectorMap",U);var W=_re(P,L,null);return W[0]._selectorMap=U,W[0]._hasShadowRoot=Bue,W}function ZFe(P){var L=[];for(P=P.firstChild;P;)L.push(P),P=P.nextSibling;return L}function qAe(P,L,U){var W=new az(P,L,U);return wue(W,Mp.get("selectorMap")),W}function _re(P,L,U){var W,te;function ge(lt,Ct,wt){var Cr=_re(Ct,L,wt);return Cr&&(lt=lt.concat(Cr)),lt}P.documentElement&&(P=P.documentElement);var Pe=P.nodeName.toLowerCase();if(uve(P))return Bue=!0,W=qAe(P,U,L),L="a"+Math.random().toString().substring(2),te=Array.from(P.shadowRoot.childNodes),W.children=te.reduce(function(lt,Ct){return ge(lt,Ct,W)},[]),[W];if(Pe==="content"&&typeof P.getDistributedNodes=="function")return te=Array.from(P.getDistributedNodes()),te.reduce(function(lt,Ct){return ge(lt,Ct,U)},[]);if(Pe==="slot"&&typeof P.assignedNodes=="function"){te=Array.from(P.assignedNodes()),te.length||(te=ZFe(P));var Ke=t.getComputedStyle(P);return te.reduce(function(lt,Ct){return ge(lt,Ct,U)},[])}else return P.nodeType===1?(W=qAe(P,U,L),te=Array.from(P.childNodes),W.children=te.reduce(function(lt,Ct){return ge(lt,Ct,W)},[]),[W]):P.nodeType===3?[qAe(P,U)]:void 0}function kue(P){return P?P.trim().split("-")[0].toLowerCase():""}var b5=kue;function SV(P){var L={};return L.none=P.none.concat(P.all),L.any=P.any,Object.keys(L).map(function(U){if(L[U].length){var W=i._audit.data.failureSummaries[U];if(W&&typeof W.failureMessage=="function")return W.failureMessage(L[U].map(function(te){return te.message||""}))}}).filter(function(U){return U!==void 0}).join(` `)}var G8e=SV;function Pue(){var P=i._audit.data.incompleteFallbackMessage;return typeof P=="function"&&(P=P()),typeof P!="string"?"":P}var $ve=En.resultGroups;function sq(P,L){var U=i.utils.aggregateResult(P);return $ve.forEach(function(W){L.resultTypes&&!L.resultTypes.includes(W)&&(U[W]||[]).forEach(function(te){Array.isArray(te.nodes)&&te.nodes.length>0&&(te.nodes=[te.nodes[0]])}),U[W]=(U[W]||[]).map(function(te){return te=Object.assign({},te),Array.isArray(te.nodes)&&te.nodes.length>0&&(te.nodes=te.nodes.map(function(ge){if(Di(ge.node)==="object"){var Pe=u0(ge.node,L);Object.assign(ge,Pe)}return delete ge.result,delete ge.node,eLe(ge,L),ge})),$ve.forEach(function(ge){return delete te[ge]}),delete te.pageLevel,delete te.result,te})}),U}function eLe(P,L){["any","all","none"].forEach(function(U){Array.isArray(P[U])&&P[U].filter(function(W){return Array.isArray(W.relatedNodes)}).forEach(function(W){W.relatedNodes=W.relatedNodes.map(function(te){return u0(te,L)})})})}function u0(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=arguments.length>1?arguments[1]:void 0;P=e3.dqElmToSpec(P,L);var U={};if(i._audit.noHtml)U.html=null;else{var W;U.html=(W=P.source)!==null&&W!==void 0?W:"Undefined"}if(L.elementRef&&!P.fromFrame){var te;U.element=(te=P.element)!==null&&te!==void 0?te:null}if(L.selectors!==!1||P.fromFrame){var ge;U.target=(ge=P.selector)!==null&&ge!==void 0?ge:[":root"]}if(L.ancestry){var Pe;U.ancestry=(Pe=P.ancestry)!==null&&Pe!==void 0?Pe:[":root"]}if(L.xpath){var Ke;U.xpath=(Ke=P.xpath)!==null&&Ke!==void 0?Ke:["/"]}return U}var V8e=/\$\{\s?data\s?\}/g;function Kve(P,L){if(typeof L=="string")return P.replace(V8e,L);for(var U in L)if(L.hasOwnProperty(U)){var W=new RegExp("\\${\\s?data\\."+U+"\\s?}","g"),te=typeof L[U]>"u"?"":String(L[U]);P=P.replace(W,te)}return P}function oz(P,L){if(P){if(Array.isArray(L)){if(L.values=L.join(", "),typeof P.singular=="string"&&typeof P.plural=="string"){var U=L.length===1?P.singular:P.plural;return Kve(U,L)}return Kve(P,L)}if(typeof P=="string")return Kve(P,L);if(typeof L=="string"){var W=P[L];return Kve(W,L)}var te=P.default||Pue();return L&&L.messageKey&&P[L.messageKey]&&(te=P[L.messageKey]),oz(te,L)}}var $8e=oz;function W4(P,L,U){var W=i._audit.data.checks[P];if(!W)throw new Error("Cannot get message for unknown check: ".concat(P,"."));if(!W.messages[L])throw new Error('Check "'.concat(P,'"" does not have a "').concat(L,'" message.'));return $8e(W.messages[L],U)}var tLe=W4;function YAe(P,L,U){var W=((U.rules&&U.rules[L]||{}).checks||{})[P.id],te=(U.checks||{})[P.id],ge=P.enabled,Pe=P.options;return te&&(te.hasOwnProperty("enabled")&&(ge=te.enabled),te.hasOwnProperty("options")&&(Pe=te.options)),W&&(W.hasOwnProperty("enabled")&&(ge=W.enabled),W.hasOwnProperty("options")&&(Pe=W.options)),{enabled:ge,options:Pe,absolutePaths:U.absolutePaths}}var Jve=YAe;function uz(){var P,L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:t;return L&&Di(L)==="object"?L:Di(U)!=="object"?{}:{testEngine:{name:"axe-core",version:i.version},testRunner:{name:i._audit.brand},testEnvironment:rLe(U),timestamp:new Date().toISOString(),url:(P=U.location)===null||P===void 0?void 0:P.href}}function rLe(P){if(!P.navigator||Di(P.navigator)!=="object")return{};var L=P.navigator,U=P.innerHeight,W=P.innerWidth,te=Nue(P)||{},ge=te.angle,Pe=te.type;return{userAgent:L.userAgent,windowWidth:W,windowHeight:U,orientationAngle:ge,orientationType:Pe}}function Nue(P){var L=P.screen;return L.orientation||L.msOrientation||L.mozOrientation}function K8e(P,L){var U=L.focusable,W=L.page;return{node:P,include:[],exclude:[],initiator:!1,focusable:U&&NA(P),size:fS(P),page:W}}function NA(P){var L=FN(P.getAttribute("tabindex"));return L===null||L>=0}function fS(P){var L=parseInt(P.getAttribute("width"),10),U=parseInt(P.getAttribute("height"),10);if(isNaN(L)||isNaN(U)){var W=P.getBoundingClientRect();L=isNaN(L)?W.width:L,U=isNaN(U)?W.height:U}return{width:L,height:U}}function OZe(P){if(RN(P)){var L=" must be used inside include or exclude. It should not be on the same object.";zD(!g6(P,"fromFrames"),"fromFrames"+L),zD(!g6(P,"fromShadowDom"),"fromShadowDom"+L)}else if(A6(P))P={include:P,exclude:[]};else return{include:[n],exclude:[]};var U=aq(P.include);U.length===0&&U.push(n);var W=aq(P.exclude);return{include:U,exclude:W}}function aq(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],L=[];C8(P)||(P=[P]);for(var U=0;U1)TV(P,L,ge);else{var Pe=$ue(ge[0]);U.push.apply(U,$t(Pe.map(function(Ke){return yh(Ke)})))}}return U.filter(function(Ke){return Ke})}function TV(P,L,U){P.frames=P.frames||[];var W=U.shift(),te=$ue(W);te.forEach(function(ge){var Pe=P.frames.find(function(Ke){return Ke.node===ge});Pe||(Pe=K8e(ge,P),P.frames.push(Pe)),Pe[L].push(U)})}function VAe(P,L){var U,W,te,ge,Pe=this;P=e5(P),this.frames=[],this.page=typeof((U=P)===null||U===void 0?void 0:U.page)=="boolean"?P.page:void 0,this.initiator=typeof((W=P)===null||W===void 0?void 0:W.initiator)=="boolean"?P.initiator:!0,this.focusable=typeof((te=P)===null||te===void 0?void 0:te.focusable)=="boolean"?P.focusable:!0,this.size=Di((ge=P)===null||ge===void 0?void 0:ge.size)==="object"?P.size:{},P=OZe(P),this.flatTree=L??IV(z8e(P)),this.exclude=P.exclude,this.include=P.include,this.include=i3(this,"include"),this.exclude=i3(this,"exclude"),mz("frame, iframe",this).forEach(function(Ke){JAe(Ke,Pe)&&J8e(Pe,Ke.actualNode)}),typeof this.page>"u"&&(this.page=Fue(this),this.frames.forEach(function(Ke){Ke.page=Pe.page})),H8e(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Mue)}function J8e(P,L){!V2(L)||WG(P.frames,"node",L)||P.frames.push(K8e(L,P))}function Fue(P){var L=P.include;return L.length===1&&L[0].actualNode===n.documentElement}function H8e(P){if(P.include.length===0&&P.frames.length===0){var L=n_.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+L+" Context")}}function z8e(P){for(var L=P.include,U=P.exclude,W=Array.from(L).concat(Array.from(U)),te=0;te1&&arguments[1]!==void 0?arguments[1]:{};if(L.iframes===!1)return[];var U=new VAe(P),W=U.frames;return W.map(function(te){var ge=te.node,Pe=It(te,R);Pe.initiator=!1;var Ke=X2e(ge);return{frameSelector:Ke,frameContext:Pe}})}function NN(P){var L=i._audit.rules.find(function(U){var W=U.id;return W===P});if(!L)throw new Error("Cannot find rule by id: ".concat(P));return L}function Lue(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,U=P.scrollWidth>P.clientWidth+L,W=P.scrollHeight>P.clientHeight+L;if(U||W){var te=t.getComputedStyle(P),ge=HR(te,"overflow-x"),Pe=HR(te,"overflow-y");if(U&&ge||W&&Pe)return{elm:P,top:P.scrollTop,left:P.scrollLeft}}}function HR(P,L){var U=P.getPropertyValue(L);return["scroll","auto"].includes(U)}var I5=mI(Lue);function oq(P){return Array.from(P.children||P.childNodes||[]).reduce(function(L,U){var W=I5(U);return W&&L.push(W),L.concat(oq(U))},[])}function ON(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:t,L=P.document.documentElement,U=[P.pageXOffset!==void 0?{elm:P,top:P.pageYOffset,left:P.pageXOffset}:{elm:L,top:L.scrollTop,left:L.scrollLeft}];return U.concat(oq(n.body))}var uq=ON;function W8e(){return e5(d1)}function KAe(P){if(!P)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(L){var U=L.data,W=L.isCrossOrigin,te=W===void 0?!1:W,ge=L.shadowId,Pe=L.root,Ke=L.priority,lt=L.isLink,Ct=lt===void 0?!1:lt,wt=P.createElement("style");if(Ct){var Cr=P.createTextNode('@import "'.concat(U.href,'"'));wt.appendChild(Cr)}else wt.appendChild(P.createTextNode(U));return P.head.appendChild(wt),{sheet:wt.sheet,isCrossOrigin:te,shadowId:ge,root:Pe,priority:Ke}}}var lz=KAe,YT;function xre(P){if(YT&&YT.parentNode)return YT.styleSheet===void 0?YT.appendChild(n.createTextNode(P)):YT.styleSheet.cssText+=P,YT;if(P){var L=n.head||n.getElementsByTagName("head")[0];return YT=n.createElement("style"),YT.type="text/css",YT.styleSheet===void 0?YT.appendChild(n.createTextNode(P)):YT.styleSheet.cssText=P,L.appendChild(YT),YT}}var DV=xre;function C8(P){return!!P&&Di(P)==="object"&&typeof P.length=="number"&&!(P instanceof t.Node)}function g6(P,L){return!P||Di(P)!=="object"?!1:Object.prototype.hasOwnProperty.call(P,L)}function X4(P){return RN(P)||A6(P)}function RN(P){return["include","exclude"].some(function(L){return g6(P,L)&&A6(P[L])})}function A6(P){return typeof P=="string"||P instanceof t.Node||Mk(P)||zR(P)||C8(P)}function Mk(P){return g6(P,"fromFrames")}function zR(P){return g6(P,"fromShadowDom")}function WR(P,L){var U=yh(P);if(P.nodeType===9)return!1;if(P.nodeType===11&&(P=P.host),U&&U._isHidden!==null)return U._isHidden;var W=t.getComputedStyle(P,null);if(!W||!P.parentNode||W.getPropertyValue("display")==="none"||!L&&W.getPropertyValue("visibility")==="hidden"||P.getAttribute("aria-hidden")==="true")return!0;var te=P.assignedSlot?P.assignedSlot:P.parentNode,ge=WR(te,!0);return U&&(U._isHidden=ge),ge}var zve=WR;function EM(P){var L,U,W=(L=(U=P.props)===null||U===void 0?void 0:U.nodeName)!==null&&L!==void 0?L:P.nodeName.toLowerCase();return P.namespaceURI==="http://www.w3.org/2000/svg"?!1:!!d1.htmlElms[W]}var Ny=EM;function JAe(P,L){var U=L.include,W=U===void 0?[]:U,te=L.exclude,ge=te===void 0?[]:te,Pe=W.filter(function(wt){return s0(wt,P)});if(Pe.length===0)return!1;var Ke=ge.filter(function(wt){return s0(wt,P)});if(Ke.length===0)return!0;var lt=fb(Pe),Ct=fb(Ke);return s0(Ct,lt)}function fb(P){var L,U=us(P),W;try{for(U.s();!(W=U.n()).done;){var te=W.value;(!L||!s0(te,L))&&(L=te)}}catch(ge){U.e(ge)}finally{U.f()}return L}function cz(P,L){return P.length!==L.length?!1:P.every(function(U,W){var te=L[W];return Array.isArray(U)?U.length!==te.length?!1:U.every(function(ge,Pe){return te[Pe]===ge}):U===te})}function nLe(P,L){return P=P.actualNode||P,L=L.actualNode||L,P===L?0:P.compareDocumentPosition(L)&4?-1:1}var Mue=nLe;function aC(P){return P instanceof p1?{vNode:P,domNode:P.actualNode}:{vNode:yh(P),domNode:P}}function RZe(P,L,U,W){var te=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,ge=Array.from(P.cssRules);if(!ge)return Promise.resolve();var Pe=ge.filter(function(wt){return wt.type===3});if(!Pe.length)return Promise.resolve({isCrossOrigin:te,priority:U,root:L.rootNode,shadowId:L.shadowId,sheet:P});var Ke=Pe.filter(function(wt){return wt.href}).map(function(wt){return wt.href}).filter(function(wt){return!W.includes(wt)}),lt=Ke.map(function(wt,Cr){var pn=[].concat($t(U),[Cr]),Tn=/^https?:\/\/|^\/\//i.test(wt);return Xve(wt,L,pn,W,Tn)}),Ct=ge.filter(function(wt){return wt.type!==3});return Ct.length&<.push(Promise.resolve(L.convertDataToStylesheet({data:Ct.map(function(wt){return wt.cssText}).join(),isCrossOrigin:te,priority:U,root:L.rootNode,shadowId:L.shadowId}))),Promise.all(lt)}var Wve=RZe;function FZe(P,L,U,W){var te=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,ge=X8e(P);return ge?Wve(P,L,U,W,te):Xve(P.href,L,U,W,!0)}function X8e(P){try{var L=P.cssRules;return!(!L&&P.href)}catch{return!1}}var lq=FZe;function LZe(P,L,U,W,te){return W.push(P),new Promise(function(ge,Pe){var Ke=new t.XMLHttpRequest;Ke.open("GET",P),Ke.timeout=En.preload.timeout,Ke.addEventListener("error",Pe),Ke.addEventListener("timeout",Pe),Ke.addEventListener("loadend",function(lt){if(lt.loaded&&Ke.responseText)return ge(Ke.responseText);Pe(Ke.responseText)}),Ke.send()}).then(function(ge){var Pe=L.convertDataToStylesheet({data:ge,isCrossOrigin:te,priority:U,root:L.rootNode,shadowId:L.shadowId});return lq(Pe.sheet,L,U,W,Pe.isCrossOrigin)})}var Xve=LZe;function Zve(P){if(typeof P!="string")return null;var L=P.trim().match(/^([-+]?\d+)/);return L?Number(L[1]):null}var FN=Zve,DI=(function(){function P(){if(t.performance&&t.performance)return t.performance.now()}var L=null,U=P();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(te){t.performance&&t.performance.mark!==void 0&&t.performance.mark(te)},measure:function(te,ge,Pe){t.performance&&t.performance.measure!==void 0&&t.performance.measure(te,ge,Pe)},logMeasures:function(te){function ge(wt){jf("Measure "+wt.name+" took "+wt.duration+"ms")}if(t.performance&&t.performance.getEntriesByType!==void 0)for(var Pe=t.performance.getEntriesByName("mark_axe_start")[0],Ke=t.performance.getEntriesByType("measure").filter(function(wt){return wt.startTime>=Pe.startTime}),lt=0;lt"].includes(Hi[0].combinator)===!1)throw new Error("axe.utils.querySelectorAll does not support the combinator: "+ka[1].combinator);Hi[0].combinator===">"?(Cr=Cr||[]).push(Hi):(pn=pn||[]).push(Hi)}(!ka[0].id||wt.shadowId===Pe.parentShadowId)&&(Fs=Pe.anyLevel)!==null&&Fs!==void 0&&Fs.includes(ka)&&(pn=pn||[]).push(ka)}for(wt.children&&wt.children.length&&(te.push(Pe),Pe=XR(wt.children,pn,Cr,wt.shadowId,W.pop()));Pe.vNodesIndex===Pe.vNodes.length&&te.length;)W.push(Pe),Pe=te.pop()}return Ke}function b8(P,L,U){P=Array.isArray(P)?P:[P];var W=vk(L),te=PN(P,W,U);return te||eCe(P,W,U)}var H3=b8;function pb(P){var L=P.treeRoot,U=L===void 0?i._tree[0]:L,W=Que(U);if(!W.length)return Promise.resolve();var te=n.implementation.createHTMLDocument("Dynamic document for loading cssom"),ge=lz(te);return jue(W,ge).then(function(Pe){return LE(Pe)})}var S5=pb;function Que(P){var L=[],U=H3(P,"*",function(W){return L.includes(W.shadowId)?!1:(L.push(W.shadowId),!0)}).map(function(W){return{shadowId:W.shadowId,rootNode:Dte(W.actualNode)}});return wV(U,[])}function jue(P,L){var U=[];return P.forEach(function(W,te){var ge=W.rootNode,Pe=W.shadowId,Ke=HAe(ge,Pe,L);if(!Ke)return Promise.all(U);var lt=te+1,Ct={rootNode:ge,shadowId:Pe,convertDataToStylesheet:L,rootIndex:lt},wt=[],Cr=Promise.all(Ke.map(function(pn,Tn){var Gn=[lt,Tn];return lq(pn,Ct,Gn,wt)}));U.push(Cr)}),Promise.all(U)}function LE(P){return P.reduce(function(L,U){return Array.isArray(U)?L.concat(LE(U)):L.concat(U)},[])}function HAe(P,L,U){var W;return P.nodeType===11&&L?W=Z4(P,U):W=BV(P),tCe(W)}function Z4(P,L){return Array.from(P.children).filter(Uue).reduce(function(U,W){var te=W.nodeName.toUpperCase(),ge=te==="STYLE"?W.textContent:W,Pe=te==="LINK",Ke=L({data:ge,isLink:Pe,root:P});return Ke.sheet&&U.push(Ke.sheet),U},[])}function BV(P){return Array.from(P.styleSheets).filter(function(L){return L.media?que(L.media.mediaText):!1})}function Uue(P){var L=P.nodeName.toUpperCase(),U=P.getAttribute("href"),W=P.getAttribute("rel"),te=L==="LINK"&&U&&W&&P.rel.toUpperCase().includes("STYLESHEET"),ge=L==="STYLE";return ge||te&&que(P.media)}function que(P){return P?!P.toUpperCase().includes("PRINT"):!0}function tCe(P){var L=[];return P.filter(function(U){return U.href?L.includes(U.href)?!1:(L.push(U.href),!0):!0})}function fz(P){var L=P.treeRoot,U=L===void 0?i._tree[0]:L,W=H3(U,"video[autoplay], audio[autoplay]",function(te){var ge=te.actualNode;if(ge.preload==="none"&&ge.readyState===0&&ge.networkState!==ge.NETWORK_LOADING||ge.hasAttribute("paused")||ge.hasAttribute("muted"))return!1;if(ge.hasAttribute("src"))return!!ge.getAttribute("src");var Pe=Array.from(ge.getElementsByTagName("source")).filter(function(Ke){return!!Ke.getAttribute("src")});return!(Pe.length<=0)});return Promise.all(W.map(function(te){var ge=te.actualNode;return z3(ge)}))}var zAe=fz;function z3(P){return new Promise(function(L){P.readyState>0&&L(P);function U(){P.removeEventListener("loadedmetadata",U),L(P)}P.addEventListener("loadedmetadata",U)})}function xM(P){var L={cssom:S5,media:zAe};return rCe(P)?new Promise(function(U,W){var te=dz(P),ge=te.assets,Pe=te.timeout,Ke=setTimeout(function(){return W(new Error("Preload assets timed out."))},Pe);Promise.all(ge.map(function(lt){return L[lt](P).then(function(Ct){return me({},lt,Ct)})})).then(function(lt){var Ct=lt.reduce(function(wt,Cr){return Fr({},wt,Cr)},{});clearTimeout(Ke),U(Ct)}).catch(function(lt){clearTimeout(Ke),W(lt)})}):Promise.resolve()}function pz(P){return Di(P)==="object"&&Array.isArray(P.assets)}function rCe(P){return!P||P.preload===void 0||P.preload===null?!0:typeof P.preload=="boolean"?P.preload:pz(P.preload)}function dz(P){var L=En.preload,U=L.assets,W=L.timeout,te={assets:U,timeout:W};if(!P.preload||typeof P.preload=="boolean")return te;var ge=P.preload.assets.every(function(Pe){return U.includes(Pe.toLowerCase())});if(!ge)throw new Error("Requested assets, not supported. Supported assets are: ".concat(U.join(", "),"."));return te.assets=wV(P.preload.assets.map(function(Pe){return Pe.toLowerCase()}),[]),P.preload.timeout&&typeof P.preload.timeout=="number"&&!isNaN(P.preload.timeout)&&(te.timeout=P.preload.timeout),te}function vre(P){var L=i._audit.data.checks||{},U=i._audit.data.rules||{},W=WG(i._audit.rules,"id",P.id)||{};P.tags=e5(W.tags||[]);var te=Cre(L,!0,W),ge=Cre(L,!1,W);P.nodes.forEach(function(Pe){Pe.any.forEach(te),Pe.all.forEach(te),Pe.none.forEach(ge)}),NR(P,e5(U[P.id]||{}))}function WAe(P,L){function U(te){return te.incomplete&&te.incomplete.default?te.incomplete.default:Pue()}if(P&&P.missingData)try{var W=L.incomplete[P.missingData[0].reason];if(!W)throw new Error;return W}catch{return typeof P.missingData=="string"?L.incomplete[P.missingData]:U(L)}else return P&&P.messageKey?L.incomplete[P.messageKey]:U(L)}function Cre(P,L,U){return function(W){var te=P[W.id]||{},ge=te.messages||{},Pe=Object.assign({},te);delete Pe.messages,!U.reviewOnFail&&W.result===void 0?(Di(ge.incomplete)==="object"&&!Array.isArray(W.data)&&(Pe.message=WAe(W.data,ge)),Pe.message||(Pe.message=ge.incomplete)):Pe.message=W.result===L?ge.pass:ge.fail,typeof Pe.message!="function"&&(Pe.message=$8e(Pe.message,W.data)),NR(W,Pe)}}function Qk(P,L){return H3(P,L)}var h6=Qk;function XAe(P,L){var U,W,te=i._audit&&i._audit.tagExclude?i._audit.tagExclude:[];L.hasOwnProperty("include")||L.hasOwnProperty("exclude")?(U=L.include||[],U=Array.isArray(U)?U:[U],W=L.exclude||[],W=Array.isArray(W)?W:[W],W=W.concat(te.filter(function(Pe){return U.indexOf(Pe)===-1}))):(U=Array.isArray(L)?L:[L],W=te.filter(function(Pe){return U.indexOf(Pe)===-1}));var ge=U.some(function(Pe){return P.tags.indexOf(Pe)!==-1});return ge||U.length===0&&P.enabled!==!1?W.every(function(Pe){return P.tags.indexOf(Pe)===-1}):!1}function XE(P,L,U){var W=U.runOnly||{},te=(U.rules||{})[P.id];return P.pageLevel&&!L.page?!1:W.type==="rule"?W.values.indexOf(P.id)!==-1:te&&typeof te.enabled=="boolean"?te.enabled:W.type==="tag"&&W.values?XAe(P,W.values):XAe(P,[])}var jk=XE;function Yue(P,L){if(!L)return P;var U=P.cloneNode(!1),W=fN(U);if(U.nodeType===1){var te=U.outerHTML;U=Mp.get(te,function(){return HA(U,W,P,L)})}else U=HA(U,W,P,L);return Array.from(P.childNodes).forEach(function(ge){U.appendChild(Yue(ge,L))}),U}function HA(P,L,U,W){return L&&(P=n.createElement(P.nodeName),Array.from(L).forEach(function(te){oC(U,te.name,W)||P.setAttribute(te.name,te.value)})),P}function oC(P,L,U){return typeof U[L]>"u"?!1:U[L]===!0?!0:AU(P,U[L])}function mz(P,L){var U=[],W;if(i._selectCache)for(var te=0,ge=i._selectCache.length;te1&&arguments[1]!==void 0?arguments[1]:n,U=Array.isArray(P)?$t(P):[P];return P.length===0?[]:nCe(U,L)}function nCe(P,L){var U=ue(P),W=U[0],te=U.slice(1),ge=L.querySelectorAll(W);if(te.length===0)return Array.from(ge);var Pe=[],Ke=us(ge),lt;try{for(Ke.s();!(lt=Ke.n()).done;){var Ct=lt.value;Ct!=null&&Ct.shadowRoot&&Pe.push.apply(Pe,$t(nCe(te,Ct.shadowRoot)))}}catch(wt){Ke.e(wt)}finally{Ke.f()}return Pe}function gz(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}var iCe=gz,Kue=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function MZe(P){for(var L=Kue;P.length<3;)P+="`";for(var U=0;U<=P.length-1;U++){var W=P.charCodeAt(U)-96;if(L=L[W],!L)return!1}return!0}function cq(P){P=Array.isArray(P)?P:Kue;var L=[];return P.forEach(function(U,W){var te=String.fromCharCode(W+96).replace("`","");Array.isArray(U)?L=L.concat(cq(U).map(function(ge){return te+ge})):L.push(te)}),L}var Jue=MZe,QZe=(function(P){function L(U){var W;return gt(this,L),W=le(this,L),W._props=Az(U),W._attrs=zue(U),W}return Le(L,P),Sn(L,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(W){var te;return(te=this._attrs[W])!==null&&te!==void 0?te:null}},{key:"hasAttr",value:function(W){return this._attrs[W]!==void 0}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])})(p1),Hue={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},rhe={},nhe=Object.keys(Hue);nhe.forEach(function(P){rhe[Hue[P]]=P});function Az(P){var L,U,W,te=(L=P.nodeName)!==null&&L!==void 0?L:rhe[P.nodeType],ge=(U=(W=P.nodeType)!==null&&W!==void 0?W:Hue[P.nodeName])!==null&&U!==void 0?U:1;Kn(typeof ge=="number","nodeType has to be a number, got '".concat(ge,"'")),Kn(typeof te=="string","nodeName has to be a string, got '".concat(te,"'")),te=te.toLowerCase();var Pe=null;te==="input"&&(Pe=(P.type||P.attributes&&P.attributes.type||"").toLowerCase(),iCe().includes(Pe)||(Pe="text"));var Ke=Fr({},P,{nodeType:ge,nodeName:te});return Pe&&(Ke.type=Pe),delete Ke.attributes,Object.freeze(Ke)}function zue(P){var L=P.attributes,U=L===void 0?{}:L,W={htmlFor:"for",className:"class"};return Object.keys(U).reduce(function(te,ge){var Pe=U[ge];if(Kn(Di(Pe)!=="object"||Pe===null,"expects attributes not to be an object, '".concat(ge,"' was")),Pe!==void 0){var Ke=W[ge]||ge;te[Ke]=Pe!==null?String(Pe):null}return te},{})}var WD=QZe;function ihe(P,L){if(P=P||function(){},L=L||i.log,!i._audit)throw new Error("No audit configured");var U=i.utils.queue(),W=[];Object.keys(i.plugins).forEach(function(ge){U.defer(function(Pe){var Ke=function(Ct){W.push(Ct),Pe()};try{i.plugins[ge].cleanup(Pe,Ke)}catch(lt){Ke(lt)}})});var te=i.utils.getFlattenedTree(n.body);i.utils.querySelectorAll(te,"iframe, frame").forEach(function(ge){U.defer(function(Pe,Ke){return i.utils.sendCommandToFrame(ge.actualNode,{command:"cleanup-plugin"},Pe,Ke)})}),U.then(function(ge){W.length===0?P(ge):L(W)}).catch(L)}var e4e=ihe,I8={},sT;function Wue(P){return I8.hasOwnProperty(P)}function T5(P){return typeof P=="string"&&I8[P]?I8[P]:typeof P=="function"?P:sT}function Uk(P,L,U){I8[P]=L,U&&(sT=L)}function S8(P){var L=i._audit;if(!L)throw new Error("No audit configured");if(P.axeVersion||P.ver){var U=P.axeVersion||P.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(U))throw new Error("Invalid configured version ".concat(U));var W=U.split("-"),te=Bt(W,2),ge=te[0],Pe=te[1],Ke=ge.split(".").map(Number),lt=Bt(Ke,3),Ct=lt[0],wt=lt[1],Cr=lt[2],pn=i.version.split("-"),Tn=Bt(pn,2),Gn=Tn[0],rs=Tn[1],ss=Gn.split(".").map(Number),Es=Bt(ss,3),Fs=Es[0],ka=Es[1],Hi=Es[2];if(Ct!==Fs||ka=pn&&!Gn;ss--)for(var Es=Cr;Es>=Tn;Es--){var Fs=U[ss]?U[ss][Es]:void 0;if(Fs){var ka=i.utils.getNodeFromTree(Fs);if(ka[W]){Gn=ka[W];break}rs.push(Fs)}}return Gn=(Gn||[]).concat(rs.filter(te)),rs.forEach(function(Hi){var co=i.utils.getNodeFromTree(Hi);co[W]=Gn}),Gn}function hz(P,L){if(P.getAttribute("headers")){var U=U4(P,"headers");if(U.filter(function(Pe){return Pe}).length)return U}L||(L=wm(lh(P,"table")));var W=rAe(P,L),te=aT("row",W,L),ge=aT("col",W,L);return[].concat(te,ge).reverse()}var Xue=hz;function n4e(P){if(!P.children.length&&!P.textContent.trim())return!1;var L=P.getAttribute("role");return FR(L)?["cell","gridcell"].includes(L):P.nodeName.toUpperCase()==="TD"}var uC=n4e;function aCe(P){var L=(P.getAttribute("role")||"").toLowerCase();if((L==="presentation"||L==="none")&&!lb(P))return!1;if(P.getAttribute("contenteditable")==="true"||lh(P,'[contenteditable="true"]')||L==="grid"||L==="treegrid"||L==="table"||QR(L)==="landmark")return!0;if(P.getAttribute("datatable")==="0")return!1;if(P.getAttribute("summary")||P.tHead||P.tFoot||P.caption)return!0;for(var U=0,W=P.children.length;U=5||lt)return!0;for(var Tn,Gn,rs=0;rs=20?!0:!(yN(P).width>r3(t).width*.95||te<10||P.querySelector("object, embed, iframe, applet"))}var Zue=aCe;function PV(P){if(g1(P)||a8(P))return!0;if(P.getAttribute("id")){var L=Cp(P.getAttribute("id"));return!!n.querySelector('[headers~="'.concat(L,'"]'))}return!1}var NV=PV;function yz(P,L,U,W){var te,ge=U[L.y]?U[L.y][L.x]:void 0;return ge?typeof W=="function"&&(te=W(ge,L,U),te===!0)?[ge]:(te=yz(P,{x:L.x+P.x,y:L.y+P.y},U,W),te.unshift(ge),te):[]}function oCe(P,L,U,W){if(Array.isArray(L)&&(W=U,U=L,L={x:0,y:0}),typeof P=="string")switch(P){case"left":P={x:-1,y:0};break;case"up":P={x:0,y:-1};break;case"right":P={x:1,y:0};break;case"down":P={x:0,y:1};break}return yz(P,{x:L.x+P.x,y:L.y+P.y},U,W)}var wI=oCe;function h1(P){var L=Ire(P),U=this,W=[];L.forEach(function(Ke){var lt=Ke.getAttribute("headers");lt&&(W=W.concat(lt.split(/\s+/)));var Ct=Ke.getAttribute("aria-labelledby");Ct&&(W=W.concat(Ct.split(/\s+/)))});var te=L.filter(function(Ke){return o0(Ke.textContent)===""?!1:Ke.nodeName.toUpperCase()==="TH"||["rowheader","columnheader"].indexOf(Ke.getAttribute("role"))!==-1}),ge=wm(P),Pe=!0;return te.forEach(function(Ke){if(!(Ke.getAttribute("id")&&W.includes(Ke.getAttribute("id")))){var lt=rAe(Ke,ge),Ct=!1;g1(Ke)&&(Ct=wI("down",lt,ge).find(function(wt){return!g1(wt)&&Xue(wt,ge).includes(Ke)})),!Ct&&a8(Ke)&&(Ct=wI("right",lt,ge).find(function(wt){return!a8(wt)&&Xue(wt,ge).includes(Ke)})),Ct||U.relatedNodes(Ke),Pe=Pe&&Ct}}),Pe?!0:void 0}var oT=h1;function Wx(P){for(var L=[],U=[],W=[],te=0;te0)return this.relatedNodes(W),!1;if(U.length){this.relatedNodes(U);return}return!0}var OV={};Qt(OV,{allowedAttr:function(){return pq},arialabelText:function(){return o5},arialabelledbyText:function(){return BH},getAccessibleRefs:function(){return lC},getElementUnallowedRoles:function(){return ele},getExplicitRole:function(){return Pf},getImplicitRole:function(){return kU},getOwnedVirtual:function(){return lS},getRole:function(){return oA},getRoleType:function(){return QR},getRolesByType:function(){return Mh},getRolesWithNameFromContents:function(){return fCe},implicitNodes:function(){return jZe},implicitRole:function(){return kU},isAccessibleRef:function(){return dCe},isAriaRoleAllowedOnElement:function(){return RV},isComboboxPopup:function(){return ZE},isUnsupportedRole:function(){return _N},isValidRole:function(){return FR},label:function(){return D8},labelVirtual:function(){return CN},lookupTable:function(){return CM},namedFromContents:function(){return PU},requiredAttr:function(){return mCe},requiredContext:function(){return Ip},requiredOwned:function(){return c4e},validateAttr:function(){return MN},validateAttrValue:function(){return bM}});function ohe(P){var L=d1.ariaRoles[P],U=$t(Ap());return L&&(L.allowedAttrs&&U.push.apply(U,$t(L.allowedAttrs)),L.requiredAttrs&&U.push.apply(U,$t(L.requiredAttrs))),U}var pq=ohe,Sre=/^idrefs?$/;function sLe(P,L,U){if(P.hasAttribute){if(P.nodeName.toUpperCase()==="LABEL"&&P.hasAttribute("for")){var W=P.getAttribute("for");L.has(W)?L.get(W).push(P):L.set(W,[P])}for(var te=0;te1&&arguments[1]!==void 0?arguments[1]:!0,U=aC(P),W=U.vNode;if(!Ny(W))return[];var te=W.props.nodeName,ge=kU(W)||qk[te],Pe=Ou(W);return Pe.filter(function(Ke){return!s4e(Ke,W,L,ge)})}function s4e(P,L,U,W){return U&&P===W?!0:i4e.includes(P)&&QR(P)!==W?!1:RV(L,P)}var ele=uhe;function XD(P){return Object.keys(d1.ariaRoles).filter(function(L){return d1.ariaRoles[L].type===P})}var D5=XD;function lCe(P){return D5(P)}var Mh=lCe;function cCe(){return Mp.get("ariaRolesNameFromContent",function(){return Object.keys(d1.ariaRoles).filter(function(P){return d1.ariaRoles[P].nameFromContent})})}var Tre=cCe;function _z(){return Tre()}var fCe=_z,vM=function(L){return L===null},y6=function(L){return L!==null},ZD={};ZD.attributes={"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},ZD.globalAttributes=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"],ZD.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:y6}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:y6}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:y6}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:y6}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:y6}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:y6}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:y6}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:y6}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:y6}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:y6}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:y6}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:y6}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:y6}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:y6}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},ZD.implicitHtmlRole=u8,ZD.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:y6}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:y6}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(L){return L instanceof i.AbstractVirtualNode||(L=i.utils.getNodeFromTree(L)),Number(L.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],ZD.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:vM}},{nodeName:"img",attributes:{alt:vM}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],ZD.evaluateRoleForElement={A:function(L){var U=L.node,W=L.out;return U.namespaceURI==="http://www.w3.org/2000/svg"?!0:U.href.length?W:!0},AREA:function(L){var U=L.node;return!U.href},BUTTON:function(L){var U=L.node,W=L.role,te=L.out;return U.getAttribute("type")==="menu"?W==="menuitem":te},IMG:function(L){var U=L.node,W=L.role,te=L.out;switch(U.alt){case null:return te;case"":return W==="presentation"||W==="none";default:return W!=="presentation"&&W!=="none"}},INPUT:function(L){var U=L.node,W=L.role,te=L.out;switch(U.type){case"button":case"image":return te;case"checkbox":return W==="button"&&U.hasAttribute("aria-pressed")?!0:te;case"radio":return W==="menuitemradio";case"text":return W==="combobox"||W==="searchbox"||W==="spinbutton";case"tel":return W==="combobox"||W==="spinbutton";case"url":case"search":case"email":return W==="combobox";default:return!1}},LI:function(L){var U=L.node,W=L.out,te=i.utils.matchesSelector(U,"ol li, ul li");return te?W:!0},MENU:function(L){var U=L.node;return U.getAttribute("type")!=="context"},OPTION:function(L){var U=L.node,W=i.utils.matchesSelector(U,"select > option, datalist > option, optgroup > option");return!W},SELECT:function(L){var U=L.node,W=L.role;return!U.multiple&&U.size<=1&&W==="menu"},SVG:function(L){var U=L.node,W=L.out;return U.parentNode&&U.parentNode.namespaceURI==="http://www.w3.org/2000/svg"?!0:W}},ZD.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var CM=ZD;function pCe(P){var L=null,U=CM.role[P];return U&&U.implicit&&(L=e5(U.implicit)),L}var jZe=pCe;function UZe(P){return!!lC(P).length}var dCe=UZe;function ZE(P){var L,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=U.popupRoles,te=oA(P);if((L=W)!==null&&L!==void 0||(W=u5["aria-haspopup"].values),!W.includes(te))return!1;var ge=o4e(P);if(a4e(ge))return!0;var Pe=P.props.id;if(!Pe)return!1;if(!P.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var Ke=Dte(P.actualNode),lt=Ke.querySelectorAll('[aria-owns~="'.concat(Pe,`"][role~="combobox"]:not(select), [aria-controls~="`).concat(Pe,'"][role~="combobox"]:not(select)'));return Array.from(lt).some(a4e)}var a4e=function(L){return L&&oA(L)==="combobox"};function o4e(P){for(;P=P.parent;)if(oA(P,{noPresentational:!0})!==null)return P;return null}function u4e(P){return P=yh(P),CN(P)}var D8=u4e;function lhe(P){var L=d1.ariaRoles[P];return!L||!Array.isArray(L.requiredAttrs)?[]:$t(L.requiredAttrs)}var mCe=lhe;function l4e(P){var L=d1.ariaRoles[P];return!L||!Array.isArray(L.requiredContext)?null:$t(L.requiredContext)}var Ip=l4e;function FV(P){var L=d1.ariaRoles[P];return!L||!Array.isArray(L.requiredOwned)?null:$t(L.requiredOwned)}var c4e=FV;function aLe(P,L){P=P instanceof p1?P:yh(P);var U,W,te=P.attr(L),ge=d1.ariaAttrs[L];if(!ge||ge.allowEmpty&&(!te||te.trim()===""))return!0;switch(ge.type){case"boolean":return["true","false"].includes(te.toLowerCase());case"nmtoken":return typeof te=="string"&&ge.values.includes(te.toLowerCase());case"nmtokens":return W=j0(te),W.reduce(function(lt,Ct){return lt&&ge.values.includes(Ct)},W.length!==0);case"idref":try{var Pe=L4(P.actualNode);return!!(te&&Pe.getElementById(te))}catch{throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return U4(P,L).some(function(lt){return!!lt});case"string":return te.trim()!=="";case"decimal":return U=te.match(/^[-+]?([0-9]*)\.?([0-9]*)$/),!!(U&&(U[1]||U[2]));case"int":var Ke=typeof ge.minValue<"u"?ge.minValue:-1/0;return/^[-+]?[0-9]+$/.test(te)&&parseInt(te)>=Ke}}var bM=aLe;function i_(P){var L=d1.ariaAttrs[P];return!!L}var MN=i_;function k0(P){var L=[],U=Ire(P),W=wm(P);return U.forEach(function(te){if(Wte(te)&&uC(te)&&!D8(te)){var ge=Xue(te,W).some(function(Pe){return Pe!==null&&!!Wte(Pe)});ge||L.push(te)}}),L.length?(this.relatedNodes(L),!1):!0}var Dre=k0;function $p(P,L){var U=P.getAttribute("scope").toLowerCase();return L.values.indexOf(U)!==-1}var che=$p,tle=Ez;function Ez(P,L,U){if(U.children!==void 0){var W=U.attr("summary"),te=U.children.find(f4e),ge=te?o0(nM(te)):!1;return!ge||!W?!1:o0(W).toLowerCase()===o0(ge).toLowerCase()}}function f4e(P){return P.props.nodeName==="caption"}function p4e(P){return UU(n)?P.nodeName.toUpperCase()==="TH":!0}var oLe=p4e;function qZe(P){var L=wm(P),U=L[0];return L.length<=1||U.length<=1||P.rows.length<=1?!0:U.reduce(function(W,te,ge){return W||te!==U[ge+1]&&U[ge+1]!==void 0},!1)}var gCe=qZe;function d4e(P,L,U){if(U.children){var W=U.children.find(function(ge){var Pe=ge.props;return Pe.nodeName==="title"});if(!W)return this.data({messageKey:"noTitle"}),!1;try{var te=nM(W,{includeHidden:!0}).trim();if(te==="")return this.data({messageKey:"emptyTitle"}),!1}catch{return}return!0}}var rle=d4e,wre={};Qt(wre,{getAriaRolesByType:function(){return D5},getAriaRolesSupportingNameFromContent:function(){return Tre},getElementSpec:function(){return q4},getElementsByContentType:function(){return py},getGlobalAriaAttrs:function(){return Ap},implicitHtmlRoles:function(){return u8}});function fhe(P,L,U){var W=Pf(U);if(["presentation","none"].includes(W)&&["iframe","frame"].includes(U.props.nodeName)&&U.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:U.props.nodeName}),!1;var te=oA(U);if(["presentation","none"].includes(te))return this.data({role:te}),!0;if(!["presentation","none"].includes(W))return!1;var ge=Ap().some(function(lt){return U.hasAttr(lt)}),Pe=lb(U),Ke;return ge&&!Pe?Ke="globalAria":!ge&&Pe?Ke="focusable":Ke="both",this.data({messageKey:Ke,role:te}),!1}function YZe(P,L,U){var W=U.props.nodeName,te=(U.attr("type")||"").toLowerCase(),ge=U.attr("value");return ge&&this.data({messageKey:"has-label"}),W==="input"&&["submit","reset"].includes(te)?ge===null:!1}var xz=YZe;function m4e(P){return t8(P)}var GZe=m4e;function VZe(P,L){var U=L.cssProperty,W=L.absoluteValues,te=L.minValue,ge=L.maxValue,Pe=L.normalValue,Ke=Pe===void 0?0:Pe,lt=L.noImportant,Ct=L.multiLineOnly;if(!lt&&P.style.getPropertyPriority(U)!=="important"||Ct&&!Ive(P))return!0;var wt={};typeof te=="number"&&(wt.minValue=te),typeof ge=="number"&&(wt.maxValue=ge);var Cr=P.style.getPropertyValue(U);if(["inherit","unset","revert","revert-layer"].includes(Cr))return this.data(Fr({value:Cr},wt)),!0;var pn=nle(P,{absoluteValues:W,cssProperty:U,normalValue:Ke});if(this.data(Fr({value:pn},wt)),typeof pn=="number")return(typeof te!="number"||pn>=te)&&(typeof ge!="number"||pn<=ge)}function nle(P,L){var U=L.cssProperty,W=L.absoluteValues,te=L.normalValue,ge=t.getComputedStyle(P),Pe=ge.getPropertyValue(U);if(Pe==="normal")return te;var Ke=parseFloat(Pe);if(W)return Ke;var lt=parseFloat(ge.getPropertyValue("font-size")),Ct=Math.round(Ke/lt*100)/100;return isNaN(Ct)?Pe:Ct}function ACe(P,L,U){var W=U.props.nodeName;return["img","input","area"].includes(W)?U.hasAttr("alt"):!1}var g4e=ACe;function Px(){}var LV=Px;function hCe(){var P=n.title;return!!o0(P)}var Lm=hCe;function I2(P,L){var U=L.cssProperties.filter(function(W){if(P.style.getPropertyPriority(W)==="important")return W});return U.length>0?(this.data(U),!1):!0}var S2=I2;function A4e(P,L,U){try{return!!o0(BH(U))}catch{return}}var ew=A4e;function w8(P,L,U){return!!o0(o5(U))}var IM=w8;function Bre(P){var L=P.getAttribute("id").trim();if(!L)return!0;var U=L4(P),W=Array.from(U.querySelectorAll('[id="'.concat(Cp(L),'"]'))).filter(function(te){return te!==P});return W.length&&this.relatedNodes(W),this.data(L),W.length===0}var MV=Bre;function SM(P){var L=[];return P.filter(function(U){return L.indexOf(U.data)===-1?(L.push(U.data),!0):!1})}var qC=SM;function w5(P,L,U){var W=o0(U.attr("title")).toLowerCase();return this.data(W),!0}var TM=w5;function ile(P){var L={};return P.forEach(function(U){L[U.data]=L[U.data]!==void 0?++L[U.data]:0}),P.forEach(function(U){U.result=!!L[U.data]}),P}var QN=ile;function sle(P){var L=r6(P,"href");return L?V2(L)||void 0:!1}var ale=sle,phe=["alert","log","status"];function yCe(P,L,U){this.data({isIframe:["iframe","frame"].includes(U.props.nodeName)});var W=Mp.get("regionlessNodes",function(){return ole(L)});return!W.includes(U)}function ole(P){var L=DM(i._tree[0],P).map(function(U){for(;U.parent&&!U.parent._hasRegionDescendant&&U.parent.actualNode!==n.body;)U=U.parent;return U}).filter(function(U,W,te){return te.indexOf(U)===W});return L}function DM(P,L){var U=P.actualNode;if(oA(P)==="button"||S(P,L)||["iframe","frame"].includes(P.props.nodeName)||hM(P.actualNode)&&r6(P.actualNode,"href")||!V2(U)){for(var W=P;W;)W._hasRegionDescendant=!0,W=W.parent;return["iframe","frame"].includes(P.props.nodeName)?[P]:[]}else return U!==n.body&&Wte(U,!0)&&!I(P)?[P]:P.children.filter(function(te){var ge=te.actualNode;return ge.nodeType===1}).map(function(te){return DM(te,L)}).reduce(function(te,ge){return te.concat(ge)},[])}function I(P){return["none","presentation"].includes(oA(P))&&!nue(P)}function S(P,L){var U=P.actualNode,W=oA(P),te=(U.getAttribute("aria-live")||"").toLowerCase().trim(),ge=D5("landmark");return!!(["assertive","polite"].includes(te)||phe.includes(W)||ge.includes(W)||L.regionMatcher&&Vn(P,L.regionMatcher))}function O(P){var L=P.filter(function(U){return U.data.isIframe});return P.forEach(function(U){if(!(U.result||U.node.ancestry.length===1)){var W=U.node.ancestry.slice(0,-1),te=us(L),ge;try{for(te.s();!(ge=te.n()).done;){var Pe=ge.value;if(cz(W,Pe.node.ancestry)){U.result=Pe.result;break}}}catch(Ke){te.e(Ke)}finally{te.f()}}}),L.forEach(function(U){U.result||(U.result=!0)}),P}var Q=O;function J(P){switch(P){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return P=parseInt(P),isNaN(P)?400:P}function ee(P){for(var L=P,U=P.textContent.trim(),W=U;W===U&&L!==void 0;){var te=-1;if(P=L,P.children.length===0)return P;do te++,W=P.children[te].textContent.trim();while(W===""&&te+1L.fontSize)&&(!te.weight||P.fontWeight-te.weight>L.fontWeight)&&(!te.italic||P.isItalic&&!L.isItalic)},!1)}function ke(P,L,U){var W=Array.from(P.parentNode.children),te=W.indexOf(P);L=L||{};var ge=L.margins||[],Pe=W.slice(te+1).find(function(ss){return ss.nodeName.toUpperCase()==="P"}),Ke=W.slice(0,te).reverse().find(function(ss){return ss.nodeName.toUpperCase()==="P"}),lt=pe(P),Ct=Pe?pe(Pe):null,wt=Ke?pe(Ke):null,Cr=L.passLength,pn=L.failLength,Tn=P.textContent.trim().length,Gn=Pe?.textContent.trim().length;if(Tn>Gn*Cr||!Ct||!Se(lt,Ct,ge))return!0;var rs=a5(U,"blockquote");if(!(rs&&rs.nodeName.toUpperCase()==="BLOCKQUOTE")&&!(wt&&!Se(lt,wt,ge))&&!(Tn>Gn*pn))return!1}var Ge=ke,Qe=/[;,\s]/,ot=/^[0-9.]+$/;function Et(P,L,U){var W=L||{},te=W.minDelay,ge=W.maxDelay,Pe=(U.attr("content")||"").trim(),Ke=Pe.split(Qe),lt=Bt(Ke,1),Ct=lt[0];if(!Ct.match(ot))return!0;var wt=parseFloat(Ct);return this.data({redirectDelay:wt}),typeof te=="number"&&wt<=L.minDelay||typeof ge=="number"&&wt>L.maxDelay}function pt(P,L,U){var W=h6(U,"a[href]");return W.some(function(te){return/^#[^/!]/.test(te.attr("href"))})}var Dt=pt,Mr={};Qt(Mr,{aria:function(){return OV},color:function(){return sn},dom:function(){return vU},forms:function(){return Dd},matches:function(){return Vn},math:function(){return bp},standards:function(){return wre},table:function(){return ahe},text:function(){return _I},utils:function(){return jn}});var sn={};Qt(sn,{Color:function(){return sC},centerPointOfRect:function(){return Nn},elementHasImage:function(){return UR},elementIsDistinct:function(){return mi},filteredRectStack:function(){return Ql},flattenColors:function(){return Ic},flattenShadowColors:function(){return Sp},getBackgroundColor:function(){return hp},getBackgroundStack:function(){return np},getContrast:function(){return Tp},getForegroundColor:function(){return Fc},getOwnBackgroundColor:function(){return UT},getRectStack:function(){return Ii},getStackingContext:function(){return qg},getStrokeColorsFromShadows:function(){return Pg},getTextShadowColors:function(){return Nx},hasValidContrastRatio:function(){return Zd},incompleteData:function(){return rT},parseTextShadows:function(){return rh},stackingContextToColor:function(){return _c}});function Wn(P){if(!(P.left>t.innerWidth)&&!(P.top>t.innerHeight)){var L=Math.min(Math.ceil(P.left+P.width/2),t.innerWidth-1),U=Math.min(Math.ceil(P.top+P.height/2),t.innerHeight-1);return{x:L,y:U}}}var Nn=Wn;function Zi(P){return P.getPropertyValue("font-family").split(/[,;]/g).map(function(L){return L.trim().toLowerCase()})}function $n(P,L){var U=t.getComputedStyle(P);if(U.getPropertyValue("background-image")!=="none")return!0;var W=["border-bottom","border-top","outline"].reduce(function(Ke,lt){var Ct=new sC;return Ct.parseString(U.getPropertyValue(lt+"-color")),Ke||U.getPropertyValue(lt+"-style")!=="none"&&parseFloat(U.getPropertyValue(lt+"-width"))>0&&Ct.alpha!==0},!1);if(W)return!0;var te=t.getComputedStyle(L);if(Zi(U)[0]!==Zi(te)[0])return!0;var ge=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce(function(Ke,lt){return Ke||U.getPropertyValue(lt)!==te.getPropertyValue(lt)},!1),Pe=U.getPropertyValue("text-decoration");return Pe.split(" ").length<3&&(ge=ge||Pe!==te.getPropertyValue("text-decoration")),ge}var mi=$n;function Xs(P){var L=Q4(P),U=bve(P);return!U||U.length<=1?[L]:U.some(function(W){return W===void 0})?null:(U.splice(0,0,L),U)}var Ii=Xs;function Ta(P){var L=Ii(P);if(L&&L.length===1)return L[0];if(L&&L.length>1){var U=L.shift(),W;return L.forEach(function(te,ge){if(ge!==0){var Pe=L[ge-1],Ke=L[ge];W=Pe.every(function(lt,Ct){return lt===Ke[Ct]})||U.includes(P)}}),W?L[0]:(rT.set("bgColor","elmPartiallyObscuring"),null)}return rT.set("bgColor","outsideViewport"),null}var Ql=Ta,nc=["hue","saturation","color","luminosity"],Ru={normal:function(L,U){return U},multiply:function(L,U){return U*L},screen:function(L,U){return L+U-L*U},overlay:function(L,U){return this["hard-light"](U,L)},darken:function(L,U){return Math.min(L,U)},lighten:function(L,U){return Math.max(L,U)},"color-dodge":function(L,U){return L===0?0:U===1?1:Math.min(1,L/(1-U))},"color-burn":function(L,U){return L===1?1:U===0?0:1-Math.min(1,(1-L)/U)},"hard-light":function(L,U){return U<=.5?this.multiply(L,2*U):this.screen(L,2*U-1)},"soft-light":function(L,U){if(U<=.5)return L-(1-2*U)*L*(1-L);var W=L<=.25?((16*L-12)*L+4)*L:Math.sqrt(L);return L+(2*U-1)*(W-L)},difference:function(L,U){return Math.abs(L-U)},exclusion:function(L,U){return L+U-2*L*U},hue:function(L,U){return U.setSaturation(L.getSaturation()).setLuminosity(L.getLuminosity())},saturation:function(L,U){return L.setSaturation(U.getSaturation()).setLuminosity(L.getLuminosity())},color:function(L,U){return U.setLuminosity(L.getLuminosity())},luminosity:function(L,U){return L.setLuminosity(U.getLuminosity())}};function Ic(P,L){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"normal",W=Ef(L,P,U),te=yc(P.red,P.alpha,L.red,L.alpha,W.r*255),ge=yc(P.green,P.alpha,L.green,L.alpha,W.g*255),Pe=yc(P.blue,P.alpha,L.blue,L.alpha,W.b*255),Ke=Zl(P.alpha+L.alpha*(1-P.alpha),0,1);if(Ke===0)return new sC(te,ge,Pe,Ke);var lt=Math.round(te/Ke),Ct=Math.round(ge/Ke),wt=Math.round(Pe/Ke);return new sC(lt,Ct,wt,Ke)}function yc(P,L,U,W,te){return L*(1-W)*P+L*W*te+(1-L)*W*U}function Zl(P,L,U){return Math.min(Math.max(L,P),U)}function Ef(P,L,U){if(nc.includes(U))return Ru[U](P,L);var W=new sC;return["r","g","b"].forEach(function(te){W[te]=Ru[U](P[te],L[te])}),W}function Sp(P,L){var U=P.alpha,W=(1-U)*L.red+U*P.red,te=(1-U)*L.green+U*P.green,ge=(1-U)*L.blue+U*P.blue,Pe=P.alpha+L.alpha*(1-P.alpha);return new sC(W,te,ge,Pe)}function np(P){for(var L=bve(P).map(function(te){return te=rq(te,P),te=xf(te),te}),U=0;U1&&W.alpha===0&&!UR(n.documentElement)){L>1&&(U.splice(L,1),U.push(n.body));var te=U.indexOf(n.documentElement);te>0&&(U.splice(te,1),U.push(n.documentElement))}return U}function Uf(P,L){if(P===L)return!0;if(P===null||L===null||P.length!==L.length)return!1;for(var U=0;U1&&arguments[1]!==void 0?arguments[1]:{},U=L.ignoreEdgeCount,W=U===void 0?!1:U,te=mg(P),ge=Object.entries(te).map(function(Pe){var Ke=Bt(Pe,2),lt=Ke[0],Ct=Ke[1],wt=ch.filter(function(Cr){return Ct[Cr].length!==0}).length;return{colorStr:lt,sides:Ct,edgeCount:wt}});return!W&&ge.some(function(Pe){var Ke=Pe.edgeCount;return Ke>1&&Ke<4})?null:ge.map(kh).filter(function(Pe){return Pe!==null})}function mg(P){var L={},U=us(P),W;try{for(U.s();!(W=U.n()).done;){var te,ge=W.value,Pe=ge.colorStr,Ke=ge.pixels;(te=L[Pe])!==null&&te!==void 0||(L[Pe]={top:[],right:[],bottom:[],left:[]});var lt=L[Pe],Ct=Bt(Ke,2),wt=Ct[0],Cr=Ct[1];wt>gd?lt.right.push(wt):-wt>gd&<.left.push(-wt),Cr>gd?lt.bottom.push(Cr):-Cr>gd&<.top.push(-Cr)}}catch(pn){U.e(pn)}finally{U.f()}return L}function kh(P){var L=P.colorStr,U=P.sides,W=P.edgeCount;if(W!==4)return null;var te=new sC;te.parseString(L);var ge=0,Pe=!0;return ch.forEach(function(Ke){ge+=U[Ke].length/4,Pe&&(Pe=U[Ke].every(function(lt){return lt>Mm}))}),Pe||(te.alpha=1-Math.pow(Wp,ge)),te}function rh(P){var L={pixels:[]},U=P.trim(),W=[L];if(!U)return[];for(;U;){var te=U.match(/^[a-z]+(\([^)]+\))?/i)||U.match(/^#[0-9a-f]+/i),ge=U.match(/^([0-9.-]+)px/i)||U.match(/^(0)/);if(te)Kn(!L.colorStr,"Multiple colors identified in text-shadow: ".concat(P)),U=U.replace(te[0],"").trim(),L.colorStr=te[0];else if(ge){Kn(L.pixels.length<3,"Too many pixel units in text-shadow: ".concat(P)),U=U.replace(ge[0],"").trim();var Pe=parseFloat((ge[1][0]==="."?"0":"")+ge[1]);L.pixels.push(Pe)}else if(U[0]===",")Kn(L.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(P)),L={pixels:[]},W.push(L),U=U.substr(1).trim();else throw new Error("Unable to process text-shadows: ".concat(U))}return W.forEach(function(Ke){var lt=Ke.pixels;lt.length===2&<.push(0)}),W}function Nx(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=L.minRatio,W=L.maxRatio,te=L.ignoreEdgeCount,ge=[],Pe=t.getComputedStyle(P),Ke=Pe.getPropertyValue("text-shadow");if(Ke==="none")return ge;var lt=Pe.getPropertyValue("font-size"),Ct=parseInt(lt);Kn(isNaN(Ct)===!1,"Unable to determine font-size value ".concat(lt));var wt=[],Cr=rh(Ke),pn=us(Cr),Tn;try{for(pn.s();!(Tn=pn.n()).done;){var Gn=Tn.value,rs=Gn.colorStr||Pe.getPropertyValue("color"),ss=Bt(Gn.pixels,3),Es=ss[0],Fs=ss[1],ka=ss[2],Hi=ka===void 0?0:ka;if(!(W&&Hi>=Ct*W)){if(U&&Hi0){var co=Pg(wt,{ignoreEdgeCount:te});if(co===null)return null;ge.push.apply(ge,$t(co)),wt.splice(0,wt.length)}var Mu=ho({colorStr:rs,offsetX:Es,offsetY:Fs,blurRadius:Hi,fontSize:Ct});ge.push(Mu)}}}catch(Of){pn.e(Of)}finally{pn.f()}if(wt.length>0){var Vl=Pg(wt,{ignoreEdgeCount:te});if(Vl===null)return null;ge.push.apply(ge,$t(Vl))}return ge}function ho(P){var L=P.colorStr,U=P.offsetX,W=P.offsetY,te=P.blurRadius,ge=P.fontSize;if(U>te||W>te)return new sC(0,0,0,0);var Pe=new sC;return Pe.parseString(L),Pe.alpha*=Qm(te,ge),Pe}function Qm(P,L){if(P===0)return 1;var U=P/L;return .185/(U+.4)}function qg(P,L){var U,W=yh(P);if(W._stackingContext)return W._stackingContext;var te=[],ge=new Map;return L=(U=L)!==null&&U!==void 0?U:np(P),L.forEach(function(Pe){var Ke,lt=yh(Pe),Ct=Sc(lt),wt=lt._stackingOrder.filter(function(Tn){var Gn=Tn.vNode;return!!Gn});wt.forEach(function(Tn,Gn){var rs,ss=Tn.vNode,Es=(rs=wt[Gn-1])===null||rs===void 0?void 0:rs.vNode,Fs=$u(ge,ss,Es);Gn===0&&!ge.get(ss)&&te.unshift(Fs),ge.set(ss,Fs)});var Cr=(Ke=wt[wt.length-1])===null||Ke===void 0?void 0:Ke.vNode,pn=$u(ge,lt,Cr);wt.length||te.unshift(pn),pn.bgColor=Ct}),W._stackingContext=te,te}function _c(P){var L;if(!((L=P.descendants)!==null&&L!==void 0&&L.length)){var U=P.bgColor;return U.alpha*=P.opacity,{color:U,blendMode:P.blendMode}}var W=P.descendants.reduce(nh,Wg()),te=Ic(W,P.bgColor,P.descendants[0].blendMode);return te.alpha*=P.opacity,{color:te,blendMode:P.blendMode}}function nh(P,L){var U;P instanceof sC?U=P:U=_c(P).color;var W=_c(L).color;return Ic(W,U,L.blendMode)}function Wg(P,L){var U;return{vNode:P,ancestor:L,opacity:parseFloat((U=P?.getComputedStylePropertyValue("opacity"))!==null&&U!==void 0?U:1),bgColor:new sC(0,0,0,0),blendMode:jp(P?.getComputedStylePropertyValue("mix-blend-mode")),descendants:[]}}function jp(P){return P||void 0}function $u(P,L,U){var W,te=P.get(U),ge=(W=P.get(L))!==null&&W!==void 0?W:Wg(L,te);return te&&U!==L&&!te.descendants.includes(ge)&&te.descendants.unshift(ge),ge}function Sc(P){var L=new sC;return L.parseString(P.getComputedStylePropertyValue("background-color")),L}function hp(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,W=yh(P),te=W._cache.getBackgroundColor;if(te)return L.push.apply(L,$t(te.bgElms)),rT.set("bgColor",te.incompleteData),te.bgColor;var ge=Xp(P,L,U);return W._cache.getBackgroundColor={bgColor:ge,bgElms:L,incompleteData:rT.get("bgColor")},ge}function Xp(P,L,U){var W,te,ge=np(P);if(!ge)return null;var Pe=cS(P),Ke=(W=Nx(P,{minRatio:U,ignoreEdgeCount:!0}))!==null&&W!==void 0?W:[];Ke.length&&(Ke=[{color:Ke.reduce(Sp)}]);for(var lt=0;lt=U.top&&Ke.bottom<=te&&Ke.left>=U.left&&Ke.right<=W})}function dl(P){return P||void 0}function bf(P,L){var U=[];if(!L){var W=n.documentElement,te=n.body,ge=t.getComputedStyle(W),Pe=t.getComputedStyle(te),Ke=UT(ge),lt=UT(Pe),Ct=lt.alpha!==0&&Ku(te,P.getBoundingClientRect());(lt.alpha!==0&&Ke.alpha===0||Ct&<.alpha!==1)&&U.unshift({color:lt,blendMode:dl(Pe.getPropertyValue("mix-blend-mode"))}),Ke.alpha!==0&&(!Ct||Ct&<.alpha!==1)&&U.unshift({color:Ke,blendMode:dl(ge.getPropertyValue("mix-blend-mode"))})}return U}function Rc(P,L){if(!L||!P)return null;L.alpha<1&&(L=Ic(L,P));var U=P.getRelativeLuminance(),W=L.getRelativeLuminance();return(Math.max(W,U)+.05)/(Math.min(W,U)+.05)}var Tp=Rc;function Fc(P,L,U){for(var W,te=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},ge=t.getComputedStyle(P),Pe=[function(){return sd(ge,te)},function(){return zd(ge)},function(){return Nx(P,{minRatio:0})}],Ke=[],lt=0,Ct=Pe;ltPe,contrastRatio:te,expectedContrastRatio:Pe}}var Zd=Nf,Dd={};Qt(Dd,{isAriaCombobox:function(){return l8},isAriaListbox:function(){return jC},isAriaRange:function(){return OU},isAriaTextbox:function(){return Gte},isDisabled:function(){return xh},isNativeSelect:function(){return oAe},isNativeTextbox:function(){return Woe}});var xm=["fieldset","button","select","input","textarea"];function ac(P){var L=P._isDisabled;if(typeof L=="boolean")return L;var U=P.props.nodeName,W=P.attr("aria-disabled");return xm.includes(U)&&P.hasAttr("disabled")?L=!0:W?L=W.toLowerCase()==="true":P.parent?L=ac(P.parent):L=!1,P._isDisabled=L,L}var xh=ac;function Bm(P,L,U){var W=_I.accessibleTextVirtual(U),te=_I.sanitize(_I.removeUnicode(W,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(te){var ge={name:te,urlProps:vU.urlPropsFromAttribute(P,"href")};return this.data(ge),this.relatedNodes([P]),!0}}var um=Bm;function jm(P,L){if(!P||!L)return!1;var U=Object.getOwnPropertyNames(P),W=Object.getOwnPropertyNames(L);if(U.length!==W.length)return!1;var te=U.every(function(ge){var Pe=P[ge],Ke=L[ge];return Di(Pe)!==Di(Ke)?!1:Di(Pe)==="object"||Di(Ke)==="object"?jm(Pe,Ke):Pe===Ke});return te}function Z1(P){if(P.length<2)return P;for(var L=P.filter(function(Pe){var Ke=Pe.result;return Ke!==void 0}),U=[],W={},te=function(Ke){var lt,Ct=L[Ke],wt=Ct.data,Cr=wt.name,pn=wt.urlProps;if(W[Cr])return 1;var Tn=L.filter(function(rs,ss){var Es=rs.data;return Es.name===Cr&&ss!==Ke}),Gn=Tn.every(function(rs){var ss=rs.data;return jm(ss.urlProps,pn)});Tn.length&&!Gn&&(Ct.result=void 0),Ct.relatedNodes=[],(lt=Ct.relatedNodes).push.apply(lt,$t(Tn.map(function(rs){return rs.relatedNodes[0]}))),W[Cr]=Tn,U.push(Ct)},ge=0;geKe?U:W})}function Pre(P){return P.filter(function(L){return QR(L)==="widget"&&lb(L)})}function UV(P,L){var U=P.boundingClientRect,W=L.boundingClientRect;return U.top>=W.top&&U.left>=W.left&&U.bottom<=W.bottom&&U.right<=W.right}function qV(P){return P.getComputedStylePropertyValue("pointer-events")}function W3(P){return{width:Math.round(P.width*10)/10,height:Math.round(P.height*10)/10}}function lle(P,L){return s0(P,L)&&!YD(L)}function YV(P){return P.map(function(L){var U=L.actualNode;return U})}var dhe=.05;function Nre(P,L,U){var W=L?.minOffset||24;if(yI(W*10,U.boundingClientRect))return this.data({messageKey:"large",minOffset:W}),!0;var te=[],ge=W,Pe=us(Bte(U,W)),Ke;try{for(Pe.s();!(Ke=Pe.n()).done;){var lt=Ke.value;if(!(QR(lt)!=="widget"||!lb(lt))){var Ct=null;try{Ct=e1(U,lt,W/2)}catch(wt){if(wt.message.startsWith("splitRects")){this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:W});return}throw wt}Ct!==null&&(Ct=Ore(Ct)*2,!(Ct+dhe>=W)&&(ge=Math.min(ge,Ct),te.push(lt)))}}}catch(wt){Pe.e(wt)}finally{Pe.f()}if(te.length===0)return this.data({closestOffset:ge,minOffset:W}),!0;if(this.relatedNodes(te.map(function(wt){var Cr=wt.actualNode;return Cr})),!te.some(YD)){this.data({messageKey:"nonTabbableNeighbor",closestOffset:ge,minOffset:W});return}return this.data({closestOffset:ge,minOffset:W}),YD(U)?!1:void 0}function Ore(P){return Math.round(P*10)/10}function kM(P,L,U){var W=L||{},te=W.scaleMinimum,ge=te===void 0?2:te,Pe=W.lowerBound,Ke=Pe===void 0?!1:Pe,lt=U.attr("content")||"";if(!lt)return!0;var Ct=lt.split(/[;,]/).reduce(function(Cr,pn){var Tn=pn.trim();if(!Tn)return Cr;var Gn=Tn.split("="),rs=Bt(Gn,2),ss=rs[0],Es=rs[1];if(!ss||!Es)return Cr;var Fs=ss.toLowerCase().trim(),ka=Es.toLowerCase().trim();return Fs==="maximum-scale"&&ka==="yes"&&(ka=1),Fs==="maximum-scale"&&parseFloat(ka)<0||(Cr[Fs]=ka),Cr},{});if(Ke&&Ct["maximum-scale"]&&parseFloat(Ct["maximum-scale"])-1&&wt<1?(this.data("user-scalable"),!1):Ct["maximum-scale"]&&parseFloat(Ct["maximum-scale"])0;)Cr+=pn*parseInt(wt.pop(),10),pn*=60;return parseFloat(Cr)}}var Eg=Rre;function _6(P,L){return L.isViolation?!1:void 0}var mhe=_6,GV=" > ";function Fre(P){var L={};return P.filter(function(U){var W=U.node.ancestry[U.node.ancestry.length-1]!=="html";if(W){var te=U.node.ancestry.flat(1/0).join(GV);return L[te]=U,!0}var ge=U.node.ancestry.slice(0,U.node.ancestry.length-1).flat(1/0).join(GV);return L[ge]&&(L[ge].result=!0),!1})}var PM=Fre;function Lre(P,L,U){var W=h6(U,"track"),te=W.some(function(ge){return(ge.attr("kind")||"").toLowerCase()==="captions"});return te?!1:void 0}var VV=Lre;function NM(P,L,U){var W=U.children;if(!W||!W.length)return!1;for(var te=!1,ge=!1,Pe,Ke=0;Ke1&&arguments[1]!==void 0?arguments[1]:{},U=arguments.length>2?arguments[2]:void 0,W=[],te=[];if(U.children){for(var ge=RM(U.children);ge.length;){var Pe,Ke=ge.shift(),lt=Ke.vChild,Ct=Ke.nested;if(L.divGroups&&!Ct&&UN(lt)){if(!lt.children)return;var wt=RM(lt.children,!0);ge.push.apply(ge,$t(wt));continue}var Cr=$V(lt,Ct,L);Cr&&(te.includes(Cr)||te.push(Cr),(lt==null||(Pe=lt.actualNode)===null||Pe===void 0?void 0:Pe.nodeType)===1&&W.push(lt.actualNode))}return te.length===0?!1:(this.data({values:te.join(", ")}),this.relatedNodes(W),!0)}}function $V(P,L,U){var W=U.validRoles,te=W===void 0?[]:W,ge=U.validNodeNames,Pe=ge===void 0?[]:ge,Ke=P.props,lt=Ke.nodeName,Ct=Ke.nodeType,wt=Ke.nodeValue,Cr=L?"div > ":"";if(Ct===3&&wt.trim()!=="")return Cr+"#text";if(Ct!==1||!V2(P))return!1;var pn=Pf(P);return pn?te.includes(pn)?!1:Cr+"[role=".concat(pn,"]"):Pe.includes(lt)?!1:Cr+lt}function UN(P){return P.props.nodeName==="div"&&Pf(P)===null}function RM(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return P.map(function(U){return{vChild:U,nested:L}})}function mq(P){var L=iE(P),U=L.nodeName.toUpperCase(),W=Pf(L);return U==="DIV"&&["presentation","none",null].includes(W)&&(L=iE(L),U=L.nodeName.toUpperCase(),W=Pf(L)),U!=="DL"?!1:!!(!W||["presentation","none","list"].includes(W))}var Tz=mq;function Qre(P,L,U){var W=b5(U.attr("lang")),te=b5(U.attr("xml:lang"));return W===te}var KV=Qre;function qN(P,L,U){var W=[];return L.attributes.forEach(function(te){var ge=U.attr(te);if(typeof ge=="string"){var Pe=b5(ge),Ke=L.value?!L.value.map(b5).includes(Pe):!Jue(Pe);(Pe!==""&&Ke||ge!==""&&!o0(ge))&&W.push(te+'="'+U.attr(te)+'"')}}),!W.length||U.props.nodeName!=="html"&&!sue(U)?!1:(this.data(W),!0)}var jre=qN;function gq(P){return(P||"").trim()!==""}function Dz(P,L,U){var W=typeof n<"u"?pN(n):!1;if(L.attributes.includes("xml:lang")&&L.attributes.includes("lang")&&gq(U.attr("xml:lang"))&&!gq(U.attr("lang"))&&!W)return this.data({messageKey:"noXHTML"}),!1;var te=L.attributes.some(function(ge){return gq(U.attr(ge))});return te?!0:(this.data({messageKey:"noLang"}),!1)}var JV=Dz;function FM(P,L,U){var W=oA(P),te=EI(U);return te=te?te.toLowerCase():null,this.data({role:W,accessibleText:te}),this.relatedNodes([P]),!0}var Aq=FM;function Ure(P){var L=[];return P.filter(function(U){var W=function(Pe){return U.data.role===Pe.data.role&&U.data.accessibleText===Pe.data.accessibleText},te=L.find(W);return te?(te.result=!1,te.relatedNodes.push(U.relatedNodes[0]),!1):(L.push(U),U.relatedNodes=[],!0)})}var YN=Ure;function LM(P,L,U){var W=wk(U),te=NH(U),ge=U.attr("aria-describedby");return!W&&!!(te||ge)}var wz=LM;function db(P){var L=Cp(P.getAttribute("id")),U=P.parentNode,W=L4(P);W=W.documentElement||W;var te=Array.from(W.querySelectorAll('label[for="'.concat(L,'"]')));for(te.length&&(te=te.filter(function(Ke){return!RE(Ke)}));U;)U.nodeName.toUpperCase()==="LABEL"&&te.indexOf(U)===-1&&te.push(U),U=U.parentNode;if(this.relatedNodes(te),te.length>1){var ge=te.filter(function(Ke){return V2(Ke)});if(ge.length>1)return;var Pe=U4(P,"aria-labelledby");return Pe.includes(ge[0])?!1:void 0}return!1}var mb=db;function GN(P,L){var U=Bz(L),W=Bz(P);return!U||!W?!1:U.includes(W)}function Bz(P){var L=MU(P,{emoji:!0,nonBmp:!0,punctuations:!0});return o0(L)}function ghe(P,L,U){var W,te=L?.pixelThreshold,ge=(W=L?.occurrenceThreshold)!==null&&W!==void 0?W:L?.occuranceThreshold,Pe=Sk(P).toLowerCase(),Ke=o0(nM(U,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:te,occurrenceThreshold:ge})).toLowerCase();if(!Ke)return!0;if(!(tue(Pe)<1||tue(Ke)<1))return GN(Ke,Pe)}var B5=ghe;function HV(P,L,U){try{var W=X9(U,"label");if(W){var te=o0(EI(W,{inControlContext:!0,startNode:U}));return W.actualNode&&this.relatedNodes([W.actualNode]),this.data({implicitLabel:te}),!!te}return!1}catch{return}}var qre=HV;function Ry(P,L,U){if(U.hasAttr("id")){if(!U.actualNode)return;var W=L4(P),te=Cp(P.getAttribute("id")),ge=W.querySelector('label[for="'.concat(te,'"]'));if(ge&&!V2(ge)){var Pe;try{Pe=EI(U).trim()}catch{return}var Ke=Pe==="";return Ke}}return!1}var Yre=Ry;function kz(P,L,U){var W=wk(U),te=P.getAttribute("title");if(!W)return!1;if(!te&&(te="",P.getAttribute("aria-describedby"))){var ge=U4(P,"aria-describedby");te=ge.map(function(Pe){return Pe?Sk(Pe):""}).join("")}return o0(te)===o0(W)}var hq=kz;function Pz(P,L,U){var W=this;if(!U.attr("id"))return!1;if(U.actualNode){var te=L4(U.actualNode),ge=Cp(U.attr("id")),Pe=Array.from(te.querySelectorAll('label[for="'.concat(ge,'"]')));if(this.relatedNodes(Pe),!Pe.length)return!1;try{return Pe.some(function(Ke){if(t8(Ke)){var lt=o0(Sk(Ke,{inControlContext:!0,startNode:U}));return W.data({explicitLabel:lt}),!!lt}else return!0})}catch{return}}}var zV=Pz;function Gre(P,L,U){if(["none","presentation"].includes(oA(U)))return!1;var W=X9(U,L.parentSelector);if(!W)return!1;var te=rM(W,!0).toLowerCase();return te===""?!1:te===EI(U).toLowerCase()}var WV=Gre;function Nz(P,L,U){var W=U.attr("alt"),te=/^\s+$/;return typeof W=="string"&&te.test(W)}var Vre=Nz;function $re(P,L,U){var W=FN(U.attr("tabindex"));return W===null||W<=0}var XV=$re;function tF(P,L,U){if(U.children)try{var W=yq(U);if(!W.length)return!0;var te=W.filter(Ahe);return te.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(te)):this.relatedNodes(W),!1}catch{return}}function yq(P){if(!P.children){if(P.props.nodeType===1)throw new Error("Cannot determine children");return[]}var L=[];return P.children.forEach(function(U){QR(U)==="widget"&&lb(U)?L.push(U):L.push.apply(L,$t(yq(U)))}),L}function Ahe(P){var L=FN(P.attr("tabindex"));return L!==null&&L<0}function Kre(P){var L=D5("landmark"),U=iE(P),W=oA(P);for(this.data({role:W});U;){var te=U.getAttribute("role");if(!te&&U.nodeName.toUpperCase()!=="FORM"&&(te=kU(U)),te&&L.includes(te)&&!(te==="main"&&W==="complementary"))return!1;U=iE(U)}return!0}var Oz=Kre;function Rz(P,L,U){if(U.children)try{return!U.children.some(function(W){return ZV(W)})}catch{return}}function ZV(P){if(YD(P))return!0;if(!P.children){if(P.props.nodeType===1)throw new Error("Cannot determine children");return!1}return P.children.some(function(L){return ZV(L)})}function MM(P,L,U){var W=["button","fieldset","input","select","textarea"],te=U.tabbableElements;if(!te||!te.length)return!0;var ge=te.filter(function(Pe){return!W.includes(Pe.props.nodeName)});return this.relatedNodes(ge.map(function(Pe){return Pe.actualNode})),ge.length===0||Zte()?!0:ge.every(function(Pe){var Ke=Pe.getComputedStylePropertyValue("pointer-events"),lt=parseInt(Pe.getComputedStylePropertyValue("width")),Ct=parseInt(Pe.getComputedStylePropertyValue("height"));return Pe.actualNode.onfocus||(lt===0||Ct===0)&&Ke==="none"})?void 0:!1}var Fz=MM;function hhe(P,L,U){if(!YD(U))return!1;try{return!EI(U)}catch{return}}var Jre=hhe;function Lz(P,L,U){var W=U.tabbableElements.map(function(te){var ge=te.actualNode;return ge});if(!W||!W.length)return!0;if(Zte()){this.relatedNodes(W);return}return!0}var Ng=Lz;function _q(P,L,U){if(U.hasAttr("contenteditable")&&W(U))return!0;return YD(U);function W(te){var ge=te.attr("contenteditable");if(ge==="true"||ge==="")return!0;if(ge==="false")return!1;var Pe=X9(U.parent,"[contenteditable]");return Pe?W(Pe):!1}}var cle=_q;function Vk(P,L,U){var W=["button","fieldset","input","select","textarea"],te=U.tabbableElements;if(!te||!te.length)return!0;var ge=te.filter(function(Pe){return W.includes(Pe.props.nodeName)});return this.relatedNodes(ge.map(function(Pe){return Pe.actualNode})),ge.length===0||Zte()?!0:ge.every(function(Pe){var Ke=Pe.getComputedStylePropertyValue("pointer-events"),lt=parseInt(Pe.getComputedStylePropertyValue("width")),Ct=parseInt(Pe.getComputedStylePropertyValue("height"));return Pe.actualNode.onfocus||(lt===0||Ct===0)&&Ke==="none"})?void 0:!1}var Mz=Vk;function Sv(P,L,U){var W=U.tabbableElements;if(!W)return!1;var te=W.filter(function(ge){return ge!==U});return te.length>0}var Qz=Sv;function Hre(P,L,U){return RE(U)||(this.data(U.attr("accesskey")),this.relatedNodes([P])),!0}var zre=Hre;function yhe(P){var L={};return P.filter(function(U){if(!U.data)return!1;var W=U.data.toUpperCase();return L[W]?(L[W].relatedNodes.push(U.relatedNodes[0]),!1):(L[W]=U,U.relatedNodes=[],!0)}).map(function(U){return U.result=!!U.relatedNodes.length,U})}var Wre=yhe;function Xre(P,L,U){if(!L||!L.selector||typeof L.selector!="string")throw new TypeError("page-no-duplicate requires options.selector to be a string");var W="page-no-duplicate;"+L.selector;if(Mp.get(W)){this.data("ignored");return}Mp.set(W,!0);var te=H3(i._tree[0],L.selector,function(ge){return V2(ge)});return typeof L.nativeScopeFilter=="string"&&(te=te.filter(function(ge){return ge.actualNode.hasAttribute("role")||!a5(ge,L.nativeScopeFilter)})),typeof L.role=="string"&&(te=te.filter(function(ge){return oA(ge)===L.role})),this.relatedNodes(te.filter(function(ge){return ge!==U}).map(function(ge){return ge.actualNode})),te.length<=1}var Zre=Xre;function ene(P){return P.filter(function(L){return L.data!=="ignored"})}var tne=ene;function jz(P,L,U){return Vn(U,L.matcher)}var rne=jz;function fle(P,L,U){try{return o0(nM(U))!==""}catch{return}}function ple(P,L,U){if(!L||!L.selector||typeof L.selector!="string")throw new TypeError("has-descendant requires options.selector to be a string");if(L.passForModal&&Zte())return!0;var W=H3(U,L.selector,function(te){return V2(te)});return this.relatedNodes(W.map(function(te){return te.actualNode})),W.length>0}var Eq=ple;function Uz(P){var L=P.some(function(U){return U.result===!0});return L&&P.forEach(function(U){U.result=!0}),P}var B8=Uz;function dle(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=arguments.length>2?arguments[2]:void 0;if(!L.attribute||typeof L.attribute!="string")throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!U.hasAttr(L.attribute))return this.data({messageKey:"noAttr"}),!1;var W=U.attr(L.attribute),te=!o0(W);return te?(this.data({messageKey:"emptyAttr"}),!1):!0}var _he=dle;function tB(P,L,U){var W=U.attr("autocomplete")||"";return vN(W,L)}var xq=tB;function Ehe(P,L,U){if(U.props.nodeName!=="input")return!0;var W=["text","search","number","tel"],te=["text","search","url"],ge={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":W,"cc-exp":["text","search","month","tel"],"cc-exp-month":W,"cc-exp-year":W,"cc-csc":W,"transaction-amount":W,"bday-day":W,"bday-month":W,"bday-year":W,"new-password":["text","search","password"],"current-password":["text","search","password"],url:te,photo:te,impp:te};Di(L)==="object"&&Object.keys(L).forEach(function(Cr){ge[Cr]||(ge[Cr]=[]),ge[Cr]=ge[Cr].concat(L[Cr])});var Pe=U.attr("autocomplete"),Ke=Pe.split(/\s+/g).map(function(Cr){return Cr.toLowerCase()}),lt=Ke[Ke.length-1];if(FH.stateTerms.includes(lt))return!0;var Ct=ge[lt],wt=U.hasAttr("type")?o0(U.attr("type")).toLowerCase():"text";return wt=iCe().includes(wt)?wt:"text",typeof Ct>"u"?wt==="text":Ct.includes(wt)}var uu=Ehe,zm=["block","list-item","table","flex","grid","inline-block"];function mle(P){if(gle(P))return!1;for(var L=iE(P);L&&L.nodeType===1&&!gle(L);)L=iE(L);if(L){if(this.relatedNodes([L]),mi(P,L))return!0;if(e$(P)){this.data({messageKey:"pseudoContent"});return}return!1}}function gle(P){var L=t.getComputedStyle(P).getPropertyValue("display");return zm.indexOf(L)!==-1||L.substr(0,6)==="table-"}function e$(P){for(var L=0,U=["before","after"];L=U)return!0;var wt=Ke&<?vq(Ke,lt):void 0;if(wt&&(wt=Math.floor(wt*100)/100),wt&&wt>=U)return!0;if(!wt){var Cr,pn=(Cr=rT.get("bgColor"))!==null&&Cr!==void 0?Cr:"bgContrast";this.data({messageKey:pn}),rT.clear();return}if(Ct)return W&&Ct===1&&wt===1?!0:Ct===1&&wt>1?(this.data({messageKey:"bgContrast",contrastRatio:wt,requiredContrastRatio:U,nodeBackgroundColor:Ke?Ke.toHexString():void 0,parentBackgroundColor:lt?lt.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:Ct,requiredContrastRatio:U,nodeColor:ge?ge.toHexString():void 0,parentColor:Pe?Pe.toHexString():void 0}),!1)}}var hle=Ale;function Iu(P,L,U){var W=L.ignoreUnicode,te=L.ignoreLength,ge=L.ignorePseudo,Pe=L.boldValue,Ke=L.boldTextPt,lt=L.largeTextPt,Ct=L.contrastRatio,wt=L.shadowOutlineEmMax,Cr=L.pseudoSizeThreshold;if(!t8(P))return this.data({messageKey:"hidden"}),!0;var pn=rM(U,!1,!0);if(W&&ME(pn)){this.data({messageKey:"nonBmp"});return}var Tn=t.getComputedStyle(P),Gn=parseFloat(Tn.getPropertyValue("font-size")),rs=Tn.getPropertyValue("font-weight"),ss=parseFloat(rs)>=Pe||rs==="bold",Es=Math.ceil(Gn*72)/96,Fs=ss&&Esvh?"shadowOnBgColor":"fgOnShadowColor")}var Zp=Wd>Hi;if(typeof co=="number"&&(typeof Wd!="number"||WdMu))return this.data({contrastRatio:Wd}),!0;var fh=Math.floor(Wd*100)/100,qo;Ec===null?qo=rT.get("bgColor"):Zp||(qo=Um);var gm=fh===1,If=pn.length===1;if(gm?qo=rT.set("bgColor","equalRatio"):!Zp&&If&&!te&&(qo="shortTextContent"),this.data({fgColor:Kp?Kp.toHexString():void 0,bgColor:Ec?Ec.toHexString():void 0,contrastRatio:fh,fontSize:"".concat((Gn*72/96).toFixed(1),"pt (").concat(Gn,"px)"),fontWeight:ss?"bold":"normal",messageKey:qo,expectedContrastRatio:Hi+":1",shadowColor:_A?_A.toHexString():void 0}),Kp===null||Ec===null||gm||If&&!te&&!Zp){qo=null,rT.clear(),this.relatedNodes(km);return}return Zp||this.relatedNodes(km),Zp}function vhe(P,L){var U=L.pseudoSizeThreshold,W=U===void 0?.25:U,te=L.ignorePseudo,ge=te===void 0?!1:te;if(!ge){var Pe=P.boundingClientRect,Ke=Pe.width*Pe.height*W;do{var lt=yle(P.actualNode,":before"),Ct=yle(P.actualNode,":after");if(lt+Ct>Ke)return P}while(P=P.parent)}}var yle=mI(function(L,U){var W=t.getComputedStyle(L,U),te=function(lt,Ct){return W.getPropertyValue(lt)===Ct};if(te("content","none")||te("display","none")||te("visibility","hidden")||te("position","absolute")===!1||UT(W).alpha===0&&te("background-image","none"))return 0;var ge=t$(W.getPropertyValue("width")),Pe=t$(W.getPropertyValue("height"));return ge.unit!=="px"||Pe.unit!=="px"?ge.value===0||Pe.value===0?0:1/0:ge.value*Pe.value});function ME(P){var L={nonBmp:!0},U=Kte(P,L),W=o0(MU(P,L))==="";return U&&W}function t$(P){var L=/^([0-9.]+)([a-z]+)$/i,U=P.match(L)||[],W=Bt(U,3),te=W[1],ge=te===void 0?"":te,Pe=W[2],Ke=Pe===void 0?"":Pe;return{value:parseFloat(ge),unit:Ke.toLowerCase()}}var Cq={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Mo={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};function VT(P){var L=P.nodeName.toUpperCase();return Cq[L]||!1}function bq(P,L){var U=Pf(P);return U&&(Mo[U]||L.roles.includes(U))||!1}function k5(P,L){return bq(P,L)||VT(P)}var k8=k5;function vm(P,L,U){var W=oA(U,{dpub:!0,fallback:!0}),te=_N(W);return te&&this.data(W),te}var _le=vm;function nne(P,L,U){var W=oA(U,{noImplicit:!0});this.data(W);var te,ge;try{te=o0(lAe(U)).toLowerCase(),ge=o0(EI(U)).toLowerCase()}catch{return}if(!ge&&!te)return!1;if(!(!ge&&te)&&ge.includes(te))return!1}var QM=nne;function r$(P,L,U){return lb(U)}var $T=r$;function ey(P,L,U){var W=j0(U.attr("role")),te=W.every(function(ge){return!FR(ge.toLowerCase(),{allowAbstract:!0})});return te?(this.data(W),!0):!1}var rF=ey;function E6(P){var L=P.getAttribute("role");if(L===null)return!1;var U=QR(L);return U==="widget"||U==="composite"}var rB=E6;function Iq(P,L,U){var W=Ap().filter(function(te){return U.hasAttr(te)});return this.data(W),W.length>0}var VN=Iq;function jM(P,L){var U=kU(P);return!U&&L.length===2&&L.includes("none")&&L.includes("presentation")}function ine(P,L,U){var W=j0(U.attr("role"));return W.length<=1?!1:jM(U,W)?void 0:!0}var sne=ine;function ane(P,L,U){var W=oA(U,{dpub:!0,fallback:!0}),te=d1.ariaRoles[W];return te!=null&&te.deprecated?(this.data(W),!0):!1}function $N(P,L,U){var W,te=(W=U.attr("aria-brailleroledescription"))!==null&&W!==void 0?W:"";if(o0(te)==="")return!0;var ge=U.attr("aria-roledescription");return typeof ge!="string"?(this.data({messageKey:"noRoleDescription"}),!1):o0(ge)===""?(this.data({messageKey:"emptyRoleDescription"}),!1):!0}function a3(P,L,U){var W,te=(W=U.attr("aria-braillelabel"))!==null&&W!==void 0?W:"";if(!te.trim())return!0;try{return o0(EI(U))!==""}catch{return}}function Ele(P,L,U){L=Array.isArray(L.value)?L.value:[];var W="",te="",ge=[],Pe=/^aria-/,Ke=["aria-errormessage"],lt={"aria-controls":function(){var wt=["false",null].includes(U.attr("aria-haspopup"))===!1;return wt&&(W='aria-controls="'.concat(U.attr("aria-controls"),'"'),te="controlsWithinPopup"),U.attr("aria-expanded")!=="false"&&U.attr("aria-selected")!=="false"&&wt===!1},"aria-current":function(wt){wt||(W='aria-current="'.concat(U.attr("aria-current"),'"'),te="ariaCurrent")},"aria-owns":function(){return U.attr("aria-expanded")!=="false"},"aria-describedby":function(wt){wt||(W='aria-describedby="'.concat(U.attr("aria-describedby"),'"'),te=i._tree&&i._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(wt){wt||(W='aria-labelledby="'.concat(U.attr("aria-labelledby"),'"'),te=i._tree&&i._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};if(U.attrNames.forEach(function(Ct){if(!(Ke.includes(Ct)||L.includes(Ct)||!Pe.test(Ct))){var wt,Cr=U.attr(Ct);try{wt=bM(U,Ct)}catch{W="".concat(Ct,'="').concat(Cr,'"'),te="idrefs";return}(!lt[Ct]||lt[Ct](wt))&&!wt&&(Cr===""&&!qz(Ct)?(W=Ct,te="empty"):ge.push("".concat(Ct,'="').concat(Cr,'"')))}}),ge.length)return this.data(ge),!1;if(W){this.data({messageKey:te,needsReview:W});return}return!0}function qz(P){var L;return((L=d1.ariaAttrs[P])===null||L===void 0?void 0:L.type)==="string"}function one(P,L,U){L=Array.isArray(L.value)?L.value:[];var W=[],te=/^aria-/;return U.attrNames.forEach(function(ge){L.indexOf(ge)===-1&&te.test(ge)&&!MN(ge)&&W.push(ge)}),W.length?(this.data(W),!1):!0}var Yz=one;function Gz(P,L,U){var W=U.attrNames.filter(function(te){var ge=d1.ariaAttrs[te];if(!MN(te))return!1;var Pe=ge.unsupported;return Di(Pe)!=="object"?!!Pe:!Vn(P,Pe.exceptions)});return W.length?(this.data(W),!0):!1}var Vz=Gz;function une(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=arguments.length>2?arguments[2]:void 0,W=oA(U),te=L.supportedRoles||[];if(te.includes(W))return!0;if(!(W&&W!=="presentation"&&W!=="none"))return!1}var lne=une;function X3(P,L,U,W){var te=Pf(P);if(U||(U=Ip(te)),!U)return null;for(var ge=U.includes("group"),Pe=W?P:P.parent;Pe;){var Ke=oA(Pe,{noPresentational:!0});if(!Ke)Pe=Pe.parent;else if(Ke==="group"&&ge)L.includes(te)&&U.push(te),U=U.filter(function(lt){return lt!=="group"}),Pe=Pe.parent;else return U.includes(Ke)?null:U}return U}function P5(P){for(var L=[],U=null;P;){if(P.getAttribute("id")){var W=Cp(P.getAttribute("id")),te=L4(P);U=te.querySelector("[aria-owns~=".concat(W,"]")),U&&L.push(U)}P=P.parentElement}return L.length?L:null}function Sq(P,L,U){var W=L&&Array.isArray(L.ownGroupRoles)?L.ownGroupRoles:[],te=X3(U,W);if(!te)return!0;var ge=P5(P);if(ge){for(var Pe=0,Ke=ge.length;Pe0:zte(L,!1,!0)}function Che(P){var L,U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W=arguments.length>2?arguments[2]:void 0,te=Pf(W),ge=W.attrNames,Pe=mCe(te);if(Array.isArray(U[te])&&(Pe=wV(U[te],Pe)),!te||!ge.length||!Pe.length||bhe(W,te)||dr(W,te)||te==="slider"&&(L=W.attr("aria-valuetext"))!==null&&L!==void 0&&L.trim())return!0;var Ke=q4(W),lt=Pe.filter(function(Ct){return!W.attr(Ct)&&!Ihe(Ke,Ct)});return lt.length?(this.data(lt),!1):!0}function bhe(P,L){return L==="separator"&&!lb(P)}function Ihe(P,L){var U;return((U=P.implicitAttrs)===null||U===void 0?void 0:U[L])!==void 0}function dr(P,L){return L==="combobox"&&P.attr("aria-expanded")==="false"}function gr(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=arguments.length>2?arguments[2]:void 0,W=L?.elementsAllowedAriaLabel||[],te=U.props.nodeName,ge=oA(U,{chromium:!0}),Pe=Br(U,ge,te,W),Ke=Pe.filter(function(wt){return U.attrNames.includes(wt)?o0(U.attr(wt))!=="":!1});if(Ke.length===0)return!1;var lt=U.hasAttr("role")?"hasRole":"noRole";lt+=Ke.length>1?"Plural":"Singular",this.data({role:ge,nodeName:te,messageKey:lt,prohibited:Ke});var Ct=nM(U,{subtreeDescendant:!0});if(o0(Ct)==="")return!0}function Br(P,L,U,W){var te=d1.ariaRoles[L];return te?te.prohibitedAttrs||[]:L||W.includes(U)||xn(P)==="widget"?[]:["aria-label","aria-labelledby"]}var xn=mI(function(L){if(L){var U=oA(L,{noPresentational:!0,chromium:!0});return U?QR(U):xn(L.parent)}});function hs(P,L,U){var W=U.attr("aria-level"),te=parseInt(W,10);if(!(te>6))return!0}var zo=hs;function ng(P,L,U){return U.attr("aria-hidden")!=="true"}var Tv=ng;function tw(P,L,U){L=Array.isArray(L)?L:[];var W=U.attr("aria-errormessage"),te=U.hasAttr("aria-errormessage"),ge=U.attr("aria-invalid"),Pe=U.hasAttr("aria-invalid");if(!Pe||ge==="false")return!0;function Ke(lt){if(lt.trim()==="")return d1.ariaAttrs["aria-errormessage"].allowEmpty;var Ct;try{Ct=lt&&U4(U,"aria-errormessage")[0]}catch{this.data({messageKey:"idrefs",values:j0(lt)});return}if(Ct)return V2(Ct)?Ct.getAttribute("role")==="alert"||Ct.getAttribute("aria-live")==="assertive"||Ct.getAttribute("aria-live")==="polite"||j0(U.attr("aria-describedby")).indexOf(lt)>-1:(this.data({messageKey:"hidden",values:j0(lt)}),!1)}return L.indexOf(W)===-1&&te?(this.data(j0(W)),Ke.call(this,W)):!0}function KN(P){var L,U,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=W.invalidTableRowAttrs,ge=arguments.length>2?arguments[2]:void 0,Pe=(L=te==null||(U=te.filter)===null||U===void 0?void 0:U.call(te,function(wt){return ge.hasAttr(wt)}))!==null&&L!==void 0?L:[];if(Pe.length===0)return!0;var Ke=h4e(ge),lt=Ke&&oA(Ke);if(!lt||lt==="treegrid")return!0;var Ct="row".concat(Pe.length>1?"Plural":"Singular");return this.data({messageKey:Ct,invalidAttrs:Pe,ownerRole:lt}),!1}function h4e(P){if(P.parent){var L='table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]';return X9(P,L)}}function _Ce(P,L,U){var W=U.props,te=W.nodeName,ge=W.type,Pe=_4e(U.attr("aria-checked"));if(te!=="input"||ge!=="checkbox"||!Pe)return!0;var Ke=y4e(U);return Pe===Ke?!0:(this.data({messageKey:"checkbox",checkState:Ke}),!1)}function y4e(P){return P.props.indeterminate?"mixed":P.props.checked?"true":"false"}function _4e(P){return P?(P=P.toLowerCase(),["mixed","true"].includes(P)?P:"false"):""}var ECe={row:KN,checkbox:_Ce};function E4e(P,L,U){var W=oA(U);return ECe[W]?ECe[W].call(this,P,L,U):!0}function x4e(P,L,U){return U.attr("aria-busy")==="true"}function She(P){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U=arguments.length>2?arguments[2]:void 0,W=L.allowImplicit,te=W===void 0?!0:W,ge=L.ignoredTags,Pe=ge===void 0?[]:ge,Ke=U.props.nodeName;if(Pe.map(function(Ct){return Ct.toLowerCase()}).includes(Ke))return!0;var lt=ele(U,te);return lt.length?(this.data(lt),V2(U)?!1:void 0):!0}var v4e=She;function xCe(P,L,U){var W=[],te=oA(U),ge=pq(te);Array.isArray(L[te])&&(ge=wV(L[te].concat(ge)));var Pe=us(U.attrNames),Ke;try{for(Pe.s();!(Ke=Pe.n()).done;){var lt=Ke.value;MN(lt)&&!ge.includes(lt)&&!C4e(lt,U.attr(lt),U)&&W.push(lt)}}catch(Ct){Pe.e(Ct)}finally{Pe.f()}if(!W.length)return!0;if(this.data(W.map(function(Ct){return Ct+'="'+U.attr(Ct)+'"'})),!(!te&&!Ny(U)&&!lb(U)))return!1}function C4e(P,L,U){return!!(P==="aria-required"&&L==="false"||P==="aria-multiline"&&L==="false"&&U.hasAttr("contenteditable"))}function b4e(P,L,U){var W=j0(U.attr("role")).filter(function(te){return QR(te)==="abstract"});return W.length>0?(this.data(W),!0):!1}var I4e=b4e;function S4e(P){var L=b5(P.getAttribute("lang")),U=b5(P.getAttribute("xml:lang"));return Jue(L)&&Jue(U)}var vCe=S4e;function T4e(P){return P.ownerDocument.defaultView.self===P.ownerDocument.defaultView.top}var D4e=T4e;function w4e(P,L){try{var U=L.props.nodeName;return U==="svg"?!0:!!X9(L,"svg")}catch{return!1}}var n$=w4e;function gne(P,L){return i$.every(function(U){return U(P,L)})}var i$=[function(P,L){return K2(L)},function(P,L){return Tq(L)},function(P,L){return!n$(P,L)},function(P,L){return lb(L)},function(P,L){return YD(L)||!dm(L)},function(P){return!V4(P,{noLengthCompare:!0})}];function K2(P){return QR(P)==="widget"}function Tq(P){return P.props.nodeName!=="area"}var dm=mI(function P(L){return L!=null&&L.parent?K2(L.parent)&&YD(L.parent)?!0:P(L.parent):!1});function UM(P,L){var U=oA(L);return["treegrid","grid","table"].includes(U)}function Cle(P,L){var U=L.parent;if(U.props.nodeName!=="details"||nF(L))return!1;var W=U.children.find(function(te){return te.props.nodeName==="summary"});return W===L}function nF(P){var L,U=(L=P.actualNode)===null||L===void 0?void 0:L.parentElement;return U&&U!==P.parent.actualNode}function qM(P){return hM(P)&&Moe(P)}var ble=qM;function Ane(P,L){return I5(P,13)!==void 0&&ZE(L)===!1&&hne(L)}function hne(P){return h6(P,"*").some(function(L){return zte(L,!0,!0)})}function The(P,L){return kU(L,{chromiumRoles:!0})!==null}var Ile=The;function Sle(P){var L=Array.from(P.parentNode.childNodes),U=P.textContent.trim(),W=/[.!?:;](?![.!?:;])/g;if(U.length===0||(U.match(W)||[]).length>=2)return!1;var te=L.slice(L.indexOf(P)+1).filter(function(ge){return ge.nodeName.toUpperCase()==="P"&&ge.textContent.trim()!==""});return te.length!==0}var $z=Sle;function Kz(P,L){var U=Pf(L);if(!U||["none","presentation"].includes(U))return!0;var W=kH[U]||{},te=W.accessibleNameRequired;return!!(te||lb(L))}var x6=Kz,$e=function(L,U){return[x6,Be].every(function(W){return W(L,U)})};function Be(P){var L;if(!(P!=null&&(L=P.ownerDocument)!==null&&L!==void 0&&L.createRange))return!0;var U=P.ownerDocument.createRange();return U.setStart(P,0),U.setEnd(P,P.childNodes.length),U.getClientRects().length===0}function Tr(P,L){return L.props.nodeName!=="html"}var zr=Tr;function mf(P,L){return!L.attr("role")}var yne=mf;function B4e(P,L){var U=FN(L.attr("tabindex"));return U===null||U>=0}var Dhe=B4e;function $Ze(P,L){var U=q4(L),W=U.namingMethods;return!(W&&W.length!==0||Pf(L)==="combobox"&&h6(L,'input:not([type="hidden"])').length||ZE(L,{popupRoles:["listbox"]}))}var uLe=$Ze;function KZe(P,L){return!(!L.hasAttr("role")||!L.attr("role").trim())}var _ne=KZe;function JZe(P){return!(!P.currentSrc||P.hasAttribute("paused")||P.hasAttribute("muted"))}var HZe=JZe;function lLe(P,L){var U=oA(L);return U?!!d1.ariaRoles[U].childrenPresentational:!1}var whe=lLe;function Bhe(P){var L=o0(P.innerText),U=P.getAttribute("role");return U&&U!=="link"||!L||!t8(P)?!1:V4(P)}var zZe=Bhe;function gb(P){return!Zue(P)&&!lb(P)}var mm=gb;function P0(P,L){return gf(L)&&V2(L)}function gf(P){var L=D5("landmark"),U=oA(P);if(!U)return!1;var W=P.props.nodeName;if(W==="section"||W==="form"){var te=EI(P);return!!te}return L.indexOf(U)>=0||U==="region"}function QE(P,L){var U="article, aside, main, nav, section";return P.hasAttribute("role")||!a5(L,U)}var YC=QE;function Dp(P,L){if(L.props.nodeName!=="input"||L.hasAttr("type")===!1)return!0;var U=L.attr("type").toLowerCase();return["hidden","image","button","submit","reset"].includes(U)===!1}var P8=Dp;function b1(P,L){var U=oA(P);if(!U)return!1;var W=D5("widget"),te=W.includes(U);if(!te)return!1;var ge=Tre();return!(!ge.includes(U)||!o0(o5(L))&&!o0(BH(P))||!o0(rM(L)))}var Fy=b1;function I1(P,L){return t8(L)}function o3(P){return t8(P)}function dS(P,L,U){return U.initiator}var Jz=dS;function khe(P){return VFe(P)}var YM=khe;function Ene(P,L){var U=!!EI(L);if(!U)return!1;var W=oA(P);return!(W&&W!=="link")}var lT=Ene;function $k(P,L){return!n$(P,L)}var Tle=$k;function s$(P,L){return oA(L)==="heading"}function Ab(P,L){return kU(L,{chromium:!0})!==null}var CCe=Ab;function xne(P){var L=P.getAttribute("title");return!!o0(L)}var Dle=xne;function k4e(P,L,U){var W,te;return!U.initiator&&!U.focusable&&((W=U.size)===null||W===void 0?void 0:W.width)*((te=U.size)===null||te===void 0?void 0:te.height)>1}var P4e=k4e;function iF(P){var L=P.getAttribute("id").trim(),U='*[id="'.concat(Cp(L),'"]'),W=Array.from(L4(P).querySelectorAll(U));return!dCe(P)&&W.every(function(te){return!lb(te)})}var vne=iF;function a$(P){return dCe(P)}var Hz=a$;function zz(P){var L=P.getAttribute("id").trim(),U='*[id="'.concat(Cp(L),'"]'),W=Array.from(L4(P).querySelectorAll(U));return!dCe(P)&&W.some(lb)}var Phe=zz;function Dq(P){return Zue(P)}var o$=Dq;function Wz(P){if(Zue(P)){var L=wm(P);return L.length>=3&&L[0].length>=3&&L[1].length>=3&&L[2].length>=3}return!1}var sF=Wz;function v6(P,L){var U=L.props,W=U.nodeName,te=U.type;if(W==="option"||W==="select"&&!P.options.length)return!1;var ge=["hidden","range","color","checkbox","radio","image"];if(W==="input"&&ge.includes(te)||xh(L)||Pte(L))return!1;var Pe=["input","select","textarea"];if(Pe.includes(W)){var Ke=t.getComputedStyle(P),lt=parseInt(Ke.getPropertyValue("text-indent"),10);if(lt){var Ct=P.getBoundingClientRect();if(Ct={top:Ct.top,bottom:Ct.bottom,left:Ct.left+lt,right:Ct.right+lt},!bV(Ct,P))return!1}return!0}var wt=a5(L,"label");if(W==="label"||wt){var Cr=wt||P,pn=wt?yh(wt):L;if(Cr.htmlFor){var Tn=L4(Cr),Gn=Tn.getElementById(Cr.htmlFor),rs=Gn&&yh(Gn);if(rs&&xh(rs))return!1}var ss='input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea',Es=h6(pn,ss)[0];if(Es&&xh(Es))return!1}for(var Fs=[],ka=L;ka;){if(ka.props.id){var Hi=lC(ka).filter(function(Kp){return j0(Kp.getAttribute("aria-labelledby")||"").includes(ka.props.id)}).map(function(Kp){return yh(Kp)});Fs.push.apply(Fs,$t(Hi))}ka=ka.parent}if(Fs.length>0&&Fs.every(xh)||!rw(L))return!1;for(var co=n.createRange(),Mu=L.children,Vl=0;Vl0&&arguments[0]!==void 0?arguments[0]:{};return(Array.isArray(P)||Di(P)!=="object")&&(P={value:P}),P}function BI(P){P&&(this.id=P.id,this.configure(P))}BI.prototype.enabled=!0,BI.prototype.run=function(L,U,W,te,ge){U=U||{};var Pe=U.hasOwnProperty("enabled")?U.enabled:this.enabled,Ke=this.getOptions(U.options);if(Pe){var lt=new Bq(this),Ct=Oge(lt,U,te,ge),wt;try{wt=this.evaluate.call(Ct,L.actualNode,Ke,L,W)}catch(Cr){L&&L.actualNode&&(Cr.errorNode=e3.toSpec(L)),ge(Cr);return}Ct.isAsync||(lt.result=wt,te(lt))}else te(null)},BI.prototype.runSync=function(L,U,W){U=U||{};var te=U,ge=te.enabled,Pe=ge===void 0?this.enabled:ge;if(!Pe)return null;var Ke=this.getOptions(U.options),lt=new Bq(this),Ct=Oge(lt,U);Ct.async=function(){throw new Error("Cannot run async check while in a synchronous run")};var wt;try{wt=this.evaluate.call(Ct,L.actualNode,Ke,L,W)}catch(Cr){throw L&&L.actualNode&&(Cr.errorNode=e3.toSpec(L)),Cr}return lt.result=wt,lt},BI.prototype.configure=function(L){var U=this;(!L.evaluate||Nhe[L.evaluate])&&(this._internalCheck=!0),L.hasOwnProperty("enabled")&&(this.enabled=L.enabled),L.hasOwnProperty("options")&&(this._internalCheck?this.options=Rhe(L.options):this.options=L.options),["evaluate","after"].filter(function(W){return L.hasOwnProperty(W)}).forEach(function(W){return U[W]=Ohe(L[W])})},BI.prototype.getOptions=function(L){return this._internalCheck?E2(this.options,Rhe(L||{})):L||this.options};var s_=BI;function ex(P){this.id=P.id,this.result=En.NA,this.pageLevel=P.pageLevel,this.impact=null,this.nodes=[]}var C6=ex;function Z3(P,L){this._audit=L,this.id=P.id,this.selector=P.selector||"*",P.impact&&(Kn(En.impact.includes(P.impact),"Impact ".concat(P.impact," is not a valid impact")),this.impact=P.impact),this.excludeHidden=typeof P.excludeHidden=="boolean"?P.excludeHidden:!0,this.enabled=typeof P.enabled=="boolean"?P.enabled:!0,this.pageLevel=typeof P.pageLevel=="boolean"?P.pageLevel:!1,this.reviewOnFail=typeof P.reviewOnFail=="boolean"?P.reviewOnFail:!1,this.any=P.any||[],this.all=P.all||[],this.none=P.none||[],this.tags=P.tags||[],this.preload=!!P.preload,this.actIds=P.actIds,P.matches&&(this.matches=Ohe(P.matches))}Z3.prototype.matches=function(){return!0},Z3.prototype.gather=function(L){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},W="mark_gather_start_"+this.id,te="mark_gather_end_"+this.id,ge="mark_isVisibleToScreenReaders_start_"+this.id,Pe="mark_isVisibleToScreenReaders_end_"+this.id;U.performanceTimer&&eu.mark(W);var Ke=mz(this.selector,L);return this.excludeHidden&&(U.performanceTimer&&eu.mark(ge),Ke=Ke.filter(function(lt){return V2(lt)}),U.performanceTimer&&(eu.mark(Pe),eu.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",ge,Pe))),U.performanceTimer&&(eu.mark(te),eu.measure("rule_"+this.id+"#gather",W,te)),Ke},Z3.prototype.runChecks=function(L,U,W,te,ge,Pe){var Ke=this,lt=y2();this[L].forEach(function(Ct){var wt=Ke._audit.checks[Ct.id||Ct],Cr=Jve(wt,Ke.id,W);lt.defer(function(pn,Tn){wt.run(U,Cr,te,pn,Tn)})}),lt.then(function(Ct){Ct=Ct.filter(function(wt){return wt}),ge({type:L,results:Ct})}).catch(Pe)},Z3.prototype.runChecksSync=function(L,U,W,te){var ge=this,Pe=[];return this[L].forEach(function(Ke){var lt=ge._audit.checks[Ke.id||Ke],Ct=Jve(lt,ge.id,W);Pe.push(lt.runSync(U,Ct,te))}),Pe=Pe.filter(function(Ke){return Ke}),{type:L,results:Pe}},Z3.prototype.run=function(L){var U=this,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},te=arguments.length>2?arguments[2]:void 0,ge=arguments.length>3?arguments[3]:void 0;W.performanceTimer&&this._trackPerformance();var Pe=y2(),Ke=new C6(this),lt;try{lt=this.gatherAndMatchNodes(L,W)}catch(Ct){ge(new a({cause:Ct,ruleId:this.id}));return}W.performanceTimer&&this._logGatherPerformance(lt),lt.forEach(function(Ct){Pe.defer(function(wt,Cr){var pn=y2();["any","all","none"].forEach(function(Tn){pn.defer(function(Gn,rs){U.runChecks(Tn,Ct,W,L,Gn,rs)})}),pn.then(function(Tn){var Gn=bne(Tn);Gn&&(Gn.node=new Lu(Ct),Ke.nodes.push(Gn),U.reviewOnFail&&(["any","all"].forEach(function(rs){Gn[rs].forEach(function(ss){ss.result===!1&&(ss.result=void 0)})}),Gn.none.forEach(function(rs){rs.result===!0&&(rs.result=void 0)}))),wt()}).catch(function(Tn){return Cr(Tn)})})}),Pe.then(function(){W.performanceTimer&&U._logRulePerformance(),setTimeout(function(){te(Ke)},0)}).catch(function(Ct){W.performanceTimer&&U._logRulePerformance(),ge(Ct)})},Z3.prototype.runSync=function(L){var U=this,W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};W.performanceTimer&&this._trackPerformance();var te=new C6(this),ge;try{ge=this.gatherAndMatchNodes(L,W)}catch(Pe){throw new a({cause:Pe,ruleId:this.id})}return W.performanceTimer&&this._logGatherPerformance(ge),ge.forEach(function(Pe){var Ke=[];["any","all","none"].forEach(function(Ct){Ke.push(U.runChecksSync(Ct,Pe,W,L))});var lt=bne(Ke);lt&&(lt.node=Pe.actualNode?new Lu(Pe):null,te.nodes.push(lt),U.reviewOnFail&&(["any","all"].forEach(function(Ct){lt[Ct].forEach(function(wt){wt.result===!1&&(wt.result=void 0)})}),lt.none.forEach(function(Ct){Ct.result===!0&&(Ct.result=void 0)})))}),W.performanceTimer&&this._logRulePerformance(),te},Z3.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},Z3.prototype._logGatherPerformance=function(L){jf("gather (",L.length,"):",eu.timeElapsed()+"ms"),eu.mark(this._markChecksStart)},Z3.prototype._logRulePerformance=function(){eu.mark(this._markChecksEnd),eu.mark(this._markEnd),eu.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),eu.measure("rule_"+this.id,this._markStart,this._markEnd)};function bne(P){if(P.length){var L=!1,U={};return P.forEach(function(W){var te=W.results.filter(function(ge){return ge});U[W.type]=te,te.length&&(L=!0)}),L?U:null}}Z3.prototype.gatherAndMatchNodes=function(L,U){var W=this,te="mark_matches_start_"+this.id,ge="mark_matches_end_"+this.id,Pe=this.gather(L,U);return U.performanceTimer&&eu.mark(te),Pe=Pe.filter(function(Ke){return W.matches(Ke.actualNode,Ke,L)}),U.performanceTimer&&(eu.mark(ge),eu.measure("rule_"+this.id+"#matches",te,ge)),Pe};function Ine(P){return qge(P).map(function(L){var U=P._audit.checks[L.id||L];return U&&typeof U.after=="function"?U:null}).filter(Boolean)}function Xz(P,L){var U=[];return P.forEach(function(W){var te=qge(W);te.forEach(function(ge){ge.id===L&&(ge.node=W.node,U.push(ge))})}),U}function Kwt(P){return P.filter(function(L){return L.filtered!==!0})}function ZZe(P){var L=["any","all","none"],U=P.nodes.filter(function(W){var te=0;return L.forEach(function(ge){W[ge]=Kwt(W[ge]),te+=W[ge].length}),te>0});return P.pageLevel&&U.length&&(U=[U.reduce(function(W,te){if(W)return L.forEach(function(ge){W[ge].push.apply(W[ge],te[ge])}),W})]),U}Z3.prototype.after=function(L,U){var W=this,te=Ine(this),ge=this.id;return te.forEach(function(Pe){var Ke=Xz(L.nodes,Pe.id),lt=Jve(Pe,ge,U),Ct=Pe.after(Ke,lt.options);W.reviewOnFail&&Ct.forEach(function(wt){var Cr=(W.any.includes(wt.id)||W.all.includes(wt.id))&&wt.result===!1,pn=W.none.includes(wt.id)&&wt.result===!0;(Cr||pn)&&(wt.result=void 0)}),Ke.forEach(function(wt){delete wt.node,Ct.indexOf(wt)===-1&&(wt.filtered=!0)})}),L.nodes=ZZe(L),L},Z3.prototype.configure=function(L){L.hasOwnProperty("selector")&&(this.selector=L.selector),L.hasOwnProperty("excludeHidden")&&(this.excludeHidden=typeof L.excludeHidden=="boolean"?L.excludeHidden:!0),L.hasOwnProperty("enabled")&&(this.enabled=typeof L.enabled=="boolean"?L.enabled:!0),L.hasOwnProperty("pageLevel")&&(this.pageLevel=typeof L.pageLevel=="boolean"?L.pageLevel:!1),L.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail=typeof L.reviewOnFail=="boolean"?L.reviewOnFail:!1),L.hasOwnProperty("any")&&(this.any=L.any),L.hasOwnProperty("all")&&(this.all=L.all),L.hasOwnProperty("none")&&(this.none=L.none),L.hasOwnProperty("tags")&&(this.tags=L.tags),L.hasOwnProperty("actIds")&&(this.actIds=L.actIds),L.hasOwnProperty("matches")&&(this.matches=Ohe(L.matches)),L.impact&&(Kn(En.impact.includes(L.impact),"Impact ".concat(L.impact," is not a valid impact")),this.impact=L.impact)};var kq=ks(jt()),$M=/\{\{.+?\}\}/g,eet=(function(){function P(L){gt(this,P),this.lang="en",this.defaultConfig=L,this.standards=d1,this._init(),this._defaultLocale=null}return Sn(P,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var U={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},W=Object.keys(this.data.checks),te=0;te0&&arguments[0]!==void 0?arguments[0]:null,te=(i.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach(function(ge){U.data.rules[ge.id]||(U.data.rules[ge.id]={});var Pe=U.data.rules[ge.id];(typeof Pe.helpUrl!="string"||W&&Pe.helpUrl===tet(W,ge.id,te))&&(Pe.helpUrl=tet(U,ge.id,te))})}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}])})(),wd=eet;function Ly(){if(t.origin&&t.origin!=="null")return t.origin;if(t.location&&t.location.origin&&t.location.origin!=="null")return t.location.origin}function fLe(P){var L;if(P?(L=e5(P),L.commons=P.commons):L={},L.reporter=L.reporter||null,L.noHtml=L.noHtml||!1,!L.allowedOrigins){var U=Ly();L.allowedOrigins=U?[U]:[]}return L.rules=L.rules||[],L.checks=L.checks||[],L.data=Fr({checks:{},rules:{}},L.data),L}function Ox(P,L,U){var W,te;for(W=0,te=P.length;W2&&arguments[2]!==void 0?arguments[2]:{};U.reporter=U.reporter||i._audit.reporter||"v1",i._selectorData={},L instanceof p1||(L=new WD(L));var W=NN(P);if(!W)throw new Error("unknown rule `"+P+"`");W=Object.create(W,{excludeHidden:{value:!1}});var te={initiator:!0,include:[L],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},ge=W.runSync(te,U);vre(ge),cN(ge);var Pe=jD([ge]);return Pe.violations.forEach(function(Ke){return Ke.nodes.forEach(function(lt){lt.failureSummary=G8e(lt)})}),Fr({},uz(),Pe,{toolOptions:U})}function u3(P){var L,U,W,te=Bt(P,3),ge=te[0],Pe=te[1],Ke=te[2],lt=new TypeError("axe.run arguments are invalid");if(!X4(ge)){if(Ke!==void 0)throw lt;Ke=Pe,Pe=ge,ge=n}if(Di(Pe)!=="object"){if(Ke!==void 0)throw lt;Ke=Pe,Pe={}}if(typeof Ke!="function"&&Ke!==void 0)throw lt;return Pe=e5(Pe),Pe.reporter=(L=(U=Pe.reporter)!==null&&U!==void 0?U:(W=i._audit)===null||W===void 0?void 0:W.reporter)!==null&&L!==void 0?L:"v1",{context:ge,options:Pe,callback:Ke}}var lF=function(){};function b_(){for(var P=arguments.length,L=new Array(P),U=0;U1&&arguments[1]!==void 0?arguments[1]:{};te=e5(te);var ge=P.find(function(lt){return lt.environmentData})||{},Pe=ge.environmentData;i._audit.normalizeOptions(te),te.reporter=(L=(U=te.reporter)!==null&&U!==void 0?U:(W=i._audit)===null||W===void 0?void 0:W.reporter)!==null&&L!==void 0?L:"v1",N8(P);var Ke=ZS(P);return Ke=i._audit.after(Ke,te),Ke.forEach(vre),Ke=Ke.map(cN),iet(Ke,Fr({environmentData:Pe},te))}function N8(P){var L=[],U=us(P),W;try{for(U.s();!(W=U.n()).done;){var te=W.value,ge=L.shift();if(te){te.frameSpec=ge??null;var Pe=Hwt(te);L.unshift.apply(L,$t(Pe))}}}catch(Ke){U.e(Ke)}finally{U.f()}}function Hwt(P){var L=P.frames,U=P.frameSpec;return U?L.map(function(W){return e3.mergeSpecs(W,U)}):L}function iet(P,L){return new Promise(function(U,W){var te=T5(L.reporter);te(P,L,U,W)})}function zwt(P){if(i._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return P&&Di(P.documentElement)==="object"&&Di(P.defaultView)==="object"&&(P=P.documentElement),ret(P),i._tree=IV(P),i._selectorData=Toe(i._tree),i._tree[0]}var eW=zwt,set=function(L,U,W){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),typeof U=="function"&&(W=U,U={});var te=U,ge=te.environmentData,Pe=It(te,q);W(Fr({},uz(ge),{toolOptions:Pe},sq(L,U)))},N5=set,Kk=function(L,U,W){typeof U=="function"&&(W=U,U={});var te=U,ge=te.environmentData,Pe=It(te,G);U.resultTypes=["violations"];var Ke=sq(L,U),lt=Ke.violations;W(Fr({},uz(ge),{toolOptions:Pe,violations:lt}))},I6=Kk,GC=function(L,U,W){if(typeof U=="function"&&(W=U,U={}),!L||!Array.isArray(L))return W(L);var te=L.map(function(ge){for(var Pe=Fr({},ge),Ke=["passes","violations","incomplete","inapplicable"],lt=0,Ct=Ke;lt elements of image maps have alternative text",help:"Active elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure