eslint-plugin-qwik 2.0.0-beta.40 → 2.0.0-beta.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +46 -46
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- "use strict";var ac=Object.create;var Je=Object.defineProperty;var sc=Object.getOwnPropertyDescriptor;var uc=Object.getOwnPropertyNames;var lc=Object.getPrototypeOf,pc=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>{try{return e||r((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},cc=(r,e)=>{for(var t in e)Je(r,t,{get:e[t],enumerable:!0})},Hn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of uc(e))!pc.call(r,o)&&o!==t&&Je(r,o,{get:()=>e[o],enumerable:!(n=sc(e,o))||n.enumerable});return r};var re=(r,e,t)=>(t=r!=null?ac(lc(r)):{},Hn(e||!r||!r.__esModule?Je(t,"default",{value:r,enumerable:!0}):t,r)),fc=r=>Hn(Je({},"__esModule",{value:!0}),r);var He=s(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.default=hc;function hc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!r.type||r.type!=="JSXAttribute")throw new Error("The prop must be a JSXAttribute collected by the AST parser.");return r.name.type==="JSXNamespacedName"?r.name.namespace.name+":"+r.name.name.name:r.name.name}});var oo=s(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.default=Rr;be.hasAnyProp=xc;be.hasEveryProp=wc;var bc=He(),no=Ec(bc);function Ec(r){return r&&r.__esModule?r:{default:r}}var Nr={spreadStrict:!0,ignoreCase:!0};function Rr(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nr,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,no.default)(o).toUpperCase():(0,no.default)(o);return n===i})}function xc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nr,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Rr(r,o,t)})}function wc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nr,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Rr(r,o,t)})}});var ao=s(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.default=Tc;function io(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.type==="JSXMemberExpression"?io(r.object,r.property)+"."+e.name:r.name+"."+e.name}function Tc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.name;if(r.type==="JSXOpeningFragment")return"<>";if(!e)throw new Error("The argument provided is not a JSXElement node.");if(e.type==="JSXMemberExpression"){var t=e.object,n=t===void 0?{}:t,o=e.property,i=o===void 0?{}:o;return io(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var jr=s((hb,uo)=>{"use strict";var so=Object.prototype.toString;uo.exports=function(e){var t=so.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&so.call(e.callee)==="[object Function]"),n}});var So=s((bb,vo)=>{"use strict";var go;Object.keys||(Ee=Object.prototype.hasOwnProperty,Mr=Object.prototype.toString,lo=jr(),Dr=Object.prototype.propertyIsEnumerable,po=!Dr.call({toString:null},"toString"),co=Dr.call(function(){},"prototype"),xe=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ze=function(r){var e=r.constructor;return e&&e.prototype===r},fo={$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},mo=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!fo["$"+r]&&Ee.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{ze(window[r])}catch{return!0}}catch{return!0}return!1})(),yo=function(r){if(typeof window>"u"||!mo)return ze(r);try{return ze(r)}catch{return!1}},go=function(e){var t=e!==null&&typeof e=="object",n=Mr.call(e)==="[object Function]",o=lo(e),i=t&&Mr.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=co&&n;if(i&&e.length>0&&!Ee.call(e,0))for(var c=0;c<e.length;++c)a.push(String(c));if(o&&e.length>0)for(var l=0;l<e.length;++l)a.push(String(l));else for(var m in e)!(u&&m==="prototype")&&Ee.call(e,m)&&a.push(String(m));if(po)for(var p=yo(e),f=0;f<xe.length;++f)!(p&&xe[f]==="constructor")&&Ee.call(e,xe[f])&&a.push(xe[f]);return a});var Ee,Mr,lo,Dr,po,co,xe,ze,fo,mo,yo;vo.exports=go});var Vr=s((Eb,Eo)=>{"use strict";var qc=Array.prototype.slice,Ac=jr(),ho=Object.keys,Ke=ho?function(e){return ho(e)}:So(),bo=Object.keys;Ke.shim=function(){if(Object.keys){var e=(function(){var t=Object.keys(arguments);return t&&t.length===arguments.length})(1,2);e||(Object.keys=function(n){return Ac(n)?bo(qc.call(n)):bo(n)})}else Object.keys=Ke;return Object.keys||Ke};Eo.exports=Ke});var ne=s((xb,xo)=>{"use strict";var Qe=Object.defineProperty||!1;if(Qe)try{Qe({},"a",{value:1})}catch{Qe=!1}xo.exports=Qe});var we=s((wb,wo)=>{"use strict";wo.exports=SyntaxError});var S=s((Tb,To)=>{"use strict";To.exports=TypeError});var Ao=s((qb,qo)=>{"use strict";qo.exports=Object.getOwnPropertyDescriptor});var V=s((Ab,Po)=>{"use strict";var Ye=Ao();if(Ye)try{Ye([],"length")}catch{Ye=null}Po.exports=Ye});var Ze=s((Pb,Oo)=>{"use strict";var ko=ne(),Pc=we(),oe=S(),Io=V();Oo.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new oe("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new oe("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new oe("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new oe("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new oe("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new oe("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,c=!!Io&&Io(e,t);if(ko)ko(e,t,{configurable:a===null&&c?c.configurable:!a,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:i===null&&c?c.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new Pc("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Te=s((kb,$o)=>{"use strict";var Ur=ne(),Co=function(){return!!Ur};Co.hasArrayLengthDefineBug=function(){if(!Ur)return null;try{return Ur([],"length",{value:1}).length!==1}catch{return!0}};$o.exports=Co});var U=s((Ib,Ro)=>{"use strict";var kc=Vr(),Ic=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Oc=Object.prototype.toString,Cc=Array.prototype.concat,Fo=Ze(),$c=function(r){return typeof r=="function"&&Oc.call(r)==="[object Function]"},_o=Te()(),Fc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!$c(n)||!n())return}_o?Fo(r,e,t,!0):Fo(r,e,t)},No=function(r,e){var t=arguments.length>2?arguments[2]:{},n=kc(e);Ic&&(n=Cc.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)Fc(r,n[o],e[n[o]],t[n[o]])};No.supportsDescriptors=!!_o;Ro.exports=No});var ie=s((Ob,Lo)=>{"use strict";Lo.exports=Object});var Mo=s((Cb,jo)=>{"use strict";jo.exports=Error});var Vo=s(($b,Do)=>{"use strict";Do.exports=EvalError});var Br=s((Fb,Uo)=>{"use strict";Uo.exports=RangeError});var Jo=s((_b,Bo)=>{"use strict";Bo.exports=ReferenceError});var Xo=s((Nb,Wo)=>{"use strict";Wo.exports=URIError});var Jr=s((Rb,Go)=>{"use strict";Go.exports=Math.abs});var er=s((Lb,Ho)=>{"use strict";Ho.exports=Math.floor});var Ko=s((jb,zo)=>{"use strict";zo.exports=Math.max});var Yo=s((Mb,Qo)=>{"use strict";Qo.exports=Math.min});var ei=s((Db,Zo)=>{"use strict";Zo.exports=Math.pow});var ti=s((Vb,ri)=>{"use strict";ri.exports=Math.round});var ae=s((Ub,ni)=>{"use strict";ni.exports=Number.isNaN||function(e){return e!==e}});var ii=s((Bb,oi)=>{"use strict";var _c=ae();oi.exports=function(e){return _c(e)||e===0?e:e<0?-1:1}});var rr=s((Jb,ai)=>{"use strict";ai.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==o||u.enumerable!==!0)return!1}return!0}});var Wr=s((Wb,ui)=>{"use strict";var si=typeof Symbol<"u"&&Symbol,Nc=rr();ui.exports=function(){return typeof si!="function"||typeof Symbol!="function"||typeof si("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Nc()}});var Xr=s((Xb,li)=>{"use strict";li.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Gr=s((Gb,pi)=>{"use strict";var Rc=ie();pi.exports=Rc.getPrototypeOf||null});var di=s((Hb,fi)=>{"use strict";var Lc="Function.prototype.bind called on incompatible ",jc=Object.prototype.toString,Mc=Math.max,Dc="[object Function]",ci=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},Vc=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},Uc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};fi.exports=function(e){var t=this;if(typeof t!="function"||jc.apply(t)!==Dc)throw new TypeError(Lc+t);for(var n=Vc(arguments,1),o,i=function(){if(this instanceof o){var m=t.apply(this,ci(n,arguments));return Object(m)===m?m:this}return t.apply(e,ci(n,arguments))},a=Mc(0,t.length-n.length),u=[],c=0;c<a;c++)u[c]="$"+c;if(o=Function("binder","return function ("+Uc(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var l=function(){};l.prototype=t.prototype,o.prototype=new l,l.prototype=null}return o}});var se=s((zb,mi)=>{"use strict";var Bc=di();mi.exports=Function.prototype.bind||Bc});var tr=s((Kb,yi)=>{"use strict";yi.exports=Function.prototype.call});var nr=s((Qb,gi)=>{"use strict";gi.exports=Function.prototype.apply});var Si=s((Yb,vi)=>{"use strict";vi.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Hr=s((Zb,hi)=>{"use strict";var Jc=se(),Wc=nr(),Xc=tr(),Gc=Si();hi.exports=Gc||Jc.call(Xc,Wc)});var qe=s((eE,bi)=>{"use strict";var Hc=se(),zc=S(),Kc=tr(),Qc=Hr();bi.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new zc("a function is required");return Qc(Hc,Kc,e)}});var Ai=s((rE,qi)=>{"use strict";var Yc=qe(),Ei=V(),wi;try{wi=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var zr=!!wi&&Ei&&Ei(Object.prototype,"__proto__"),Ti=Object,xi=Ti.getPrototypeOf;qi.exports=zr&&typeof zr.get=="function"?Yc([zr.get]):typeof xi=="function"?function(e){return xi(e==null?e:Ti(e))}:!1});var Ci=s((tE,Oi)=>{"use strict";var Pi=Xr(),ki=Gr(),Ii=Ai();Oi.exports=Pi?function(e){return Pi(e)}:ki?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return ki(e)}:Ii?function(e){return Ii(e)}:null});var B=s((nE,$i)=>{"use strict";var Zc=Function.prototype.call,ef=Object.prototype.hasOwnProperty,rf=se();$i.exports=rf.call(Zc,ef)});var I=s((oE,ji)=>{"use strict";var g,tf=ie(),nf=Mo(),of=Vo(),af=Br(),sf=Jo(),ce=we(),pe=S(),uf=Xo(),lf=Jr(),pf=er(),cf=Ko(),ff=Yo(),df=ei(),mf=ti(),yf=ii(),Ri=Function,Kr=function(r){try{return Ri('"use strict"; return ('+r+").constructor;")()}catch{}},Ae=V(),gf=ne(),Qr=function(){throw new pe},vf=Ae?(function(){try{return arguments.callee,Qr}catch{try{return Ae(arguments,"callee").get}catch{return Qr}}})():Qr,ue=Wr()(),T=Ci(),Sf=Gr(),hf=Xr(),Li=nr(),Pe=tr(),le={},bf=typeof Uint8Array>"u"||!T?g:T(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?g:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?g:ArrayBuffer,"%ArrayIteratorPrototype%":ue&&T?T([][Symbol.iterator]()):g,"%AsyncFromSyncIteratorPrototype%":g,"%AsyncFunction%":le,"%AsyncGenerator%":le,"%AsyncGeneratorFunction%":le,"%AsyncIteratorPrototype%":le,"%Atomics%":typeof Atomics>"u"?g:Atomics,"%BigInt%":typeof BigInt>"u"?g:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?g:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?g:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?g:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":nf,"%eval%":eval,"%EvalError%":of,"%Float16Array%":typeof Float16Array>"u"?g:Float16Array,"%Float32Array%":typeof Float32Array>"u"?g:Float32Array,"%Float64Array%":typeof Float64Array>"u"?g:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?g:FinalizationRegistry,"%Function%":Ri,"%GeneratorFunction%":le,"%Int8Array%":typeof Int8Array>"u"?g:Int8Array,"%Int16Array%":typeof Int16Array>"u"?g:Int16Array,"%Int32Array%":typeof Int32Array>"u"?g:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ue&&T?T(T([][Symbol.iterator]())):g,"%JSON%":typeof JSON=="object"?JSON:g,"%Map%":typeof Map>"u"?g:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ue||!T?g:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":tf,"%Object.getOwnPropertyDescriptor%":Ae,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?g:Promise,"%Proxy%":typeof Proxy>"u"?g:Proxy,"%RangeError%":af,"%ReferenceError%":sf,"%Reflect%":typeof Reflect>"u"?g:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?g:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ue||!T?g:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?g:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ue&&T?T(""[Symbol.iterator]()):g,"%Symbol%":ue?Symbol:g,"%SyntaxError%":ce,"%ThrowTypeError%":vf,"%TypedArray%":bf,"%TypeError%":pe,"%Uint8Array%":typeof Uint8Array>"u"?g:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?g:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?g:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?g:Uint32Array,"%URIError%":uf,"%WeakMap%":typeof WeakMap>"u"?g:WeakMap,"%WeakRef%":typeof WeakRef>"u"?g:WeakRef,"%WeakSet%":typeof WeakSet>"u"?g:WeakSet,"%Function.prototype.call%":Pe,"%Function.prototype.apply%":Li,"%Object.defineProperty%":gf,"%Object.getPrototypeOf%":Sf,"%Math.abs%":lf,"%Math.floor%":pf,"%Math.max%":cf,"%Math.min%":ff,"%Math.pow%":df,"%Math.round%":mf,"%Math.sign%":yf,"%Reflect.getPrototypeOf%":hf};if(T)try{null.error}catch(r){Fi=T(T(r)),Q["%Error.prototype%"]=Fi}var Fi,Ef=function r(e){var t;if(e==="%AsyncFunction%")t=Kr("async function () {}");else if(e==="%GeneratorFunction%")t=Kr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Kr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&T&&(t=T(o.prototype))}return Q[e]=t,t},_i={__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"]},ke=se(),or=B(),xf=ke.call(Pe,Array.prototype.concat),wf=ke.call(Li,Array.prototype.splice),Ni=ke.call(Pe,String.prototype.replace),ir=ke.call(Pe,String.prototype.slice),Tf=ke.call(Pe,RegExp.prototype.exec),qf=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Af=/\\(\\)?/g,Pf=function(e){var t=ir(e,0,1),n=ir(e,-1);if(t==="%"&&n!=="%")throw new ce("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ce("invalid intrinsic syntax, expected opening `%`");var o=[];return Ni(e,qf,function(i,a,u,c){o[o.length]=u?Ni(c,Af,"$1"):a||i}),o},kf=function(e,t){var n=e,o;if(or(_i,n)&&(o=_i[n],n="%"+o[0]+"%"),or(Q,n)){var i=Q[n];if(i===le&&(i=Ef(n)),typeof i>"u"&&!t)throw new pe("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ce("intrinsic "+e+" does not exist!")};ji.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new pe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new pe('"allowMissing" argument must be a boolean');if(Tf(/^%?[^%]*%?$/,e)===null)throw new ce("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Pf(e),o=n.length>0?n[0]:"",i=kf("%"+o+"%",t),a=i.name,u=i.value,c=!1,l=i.alias;l&&(o=l[0],wf(n,xf([0,1],l)));for(var m=1,p=!0;m<n.length;m+=1){var f=n[m],d=ir(f,0,1),y=ir(f,-1);if((d==='"'||d==="'"||d==="`"||y==='"'||y==="'"||y==="`")&&d!==y)throw new ce("property names with quotes must have matching quotes");if((f==="constructor"||!p)&&(c=!0),o+="."+f,a="%"+o+"%",or(Q,a))u=Q[a];else if(u!=null){if(!(f in u)){if(!t)throw new pe("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ae&&m+1>=n.length){var v=Ae(u,f);p=!!v,p&&"get"in v&&!("originalValue"in v.get)?u=v.get:u=u[f]}else p=or(u,f),u=u[f];p&&!c&&(Q[a]=u)}}return u}});var Bi=s((iE,Ui)=>{"use strict";var If=I(),Mi=Ze(),Of=Te()(),Di=V(),Vi=S(),Cf=If("%Math.floor%");Ui.exports=function(e,t){if(typeof e!="function")throw new Vi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Cf(t)!==t)throw new Vi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Di){var a=Di(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(Of?Mi(e,"length",t,!0,!0):Mi(e,"length",t)),e}});var Wi=s((aE,Ji)=>{"use strict";var $f=se(),Ff=nr(),_f=Hr();Ji.exports=function(){return _f($f,Ff,arguments)}});var Ie=s((sE,ar)=>{"use strict";var Nf=Bi(),Xi=ne(),Rf=qe(),Gi=Wi();ar.exports=function(e){var t=Rf(arguments),n=1+e.length-(arguments.length-1);return Nf(t,n>0?n:0,!0)};Xi?Xi(ar.exports,"apply",{value:Gi}):ar.exports.apply=Gi});var Yr=s((uE,Hi)=>{"use strict";var Lf=ae();Hi.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!Lf(e)&&e!==1/0&&e!==-1/0}});var Zr=s((lE,zi)=>{"use strict";var jf=Jr(),Mf=er(),Df=ae(),Vf=Yr();zi.exports=function(e){if(typeof e!="number"||Df(e)||!Vf(e))return!1;var t=jf(e);return Mf(t)===t}});var C=s((pE,Ki)=>{"use strict";Ki.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Yi=s((cE,Qi)=>{"use strict";Qi.exports=4294967295});var ea=s((fE,Zi)=>{"use strict";Zi.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var ta=s((dE,ra)=>{"use strict";var Uf=ie();ra.exports=Uf.setPrototypeOf||null});var aa=s((mE,ia)=>{"use strict";var Bf=qe(),na=V(),Jf=S(),oa={};try{oa.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Wf=!("toString"in oa),et=na&&na(Object.prototype,"__proto__");ia.exports=Wf&&(!!et&&typeof et.set=="function"&&Bf([et.set])||function(e,t){if(e==null)throw new Jf("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var pa=s((yE,la)=>{"use strict";var sa=ea(),Xf=ta(),ua=aa(),Gf=S();la.exports=sa?function(e,t){if(sa(e,t))return e;throw new Gf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:Xf||(ua?function(e,t){return ua(e,t),e}:null)});var ma=s((gE,da)=>{"use strict";var Hf=I(),ca=Hf("%Array.prototype%"),zf=Br(),Kf=we(),Qf=S(),Yf=Zr(),Zf=Yi(),fa=pa();da.exports=function(e){if(!Yf(e)||e<0)throw new Qf("Assertion failed: `length` must be an integer Number >= 0");if(e>Zf)throw new zf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:ca,n=[];if(t!==ca){if(!fa)throw new Kf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");fa(n,t)}return e!==0&&(n.length=e),n}});var ga=s((vE,ya)=>{ya.exports=require("util").inspect});var La=s((SE,Ra)=>{var pt=typeof Map=="function"&&Map.prototype,rt=Object.getOwnPropertyDescriptor&&pt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ur=pt&&rt&&typeof rt.get=="function"?rt.get:null,va=pt&&Map.prototype.forEach,ct=typeof Set=="function"&&Set.prototype,tt=Object.getOwnPropertyDescriptor&&ct?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,lr=ct&&tt&&typeof tt.get=="function"?tt.get:null,Sa=ct&&Set.prototype.forEach,ed=typeof WeakMap=="function"&&WeakMap.prototype,Ce=ed?WeakMap.prototype.has:null,rd=typeof WeakSet=="function"&&WeakSet.prototype,$e=rd?WeakSet.prototype.has:null,td=typeof WeakRef=="function"&&WeakRef.prototype,ha=td?WeakRef.prototype.deref:null,nd=Boolean.prototype.valueOf,od=Object.prototype.toString,id=Function.prototype.toString,ad=String.prototype.match,ft=String.prototype.slice,J=String.prototype.replace,sd=String.prototype.toUpperCase,ba=String.prototype.toLowerCase,Ia=RegExp.prototype.test,Ea=Array.prototype.concat,$=Array.prototype.join,ud=Array.prototype.slice,xa=Math.floor,it=typeof BigInt=="function"?BigInt.prototype.valueOf:null,nt=Object.getOwnPropertySymbols,at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fe||!0)?Symbol.toStringTag:null,Oa=Object.prototype.propertyIsEnumerable,wa=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Ta(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Ia.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-xa(-r):xa(r);if(n!==r){var o=String(n),i=ft.call(e,o.length+1);return J.call(o,t,"$&_")+"."+J.call(J.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return J.call(e,t,"$&_")}var st=ga(),qa=st.custom,Aa=Fa(qa)?qa:null,Ca={__proto__:null,double:'"',single:"'"},ld={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Ra.exports=function r(e,t,n,o){var i=t||{};if(N(i,"quoteStyle")&&!N(Ca,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(N(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=N(i,"customInspect")?i.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(N(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(N(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Na(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return u?Ta(e,c):c}if(typeof e=="bigint"){var l=String(e)+"n";return u?Ta(e,l):l}var m=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof e=="object")return ut(e)?"[Array]":"[Object]";var p=Pd(i,n);if(typeof o>"u")o=[];else if(_a(o,e)>=0)return"[Circular]";function f(ee,Be,ic){if(Be&&(o=ud.call(o),o.push(Be)),ic){var Gn={depth:i.depth};return N(i,"quoteStyle")&&(Gn.quoteStyle=i.quoteStyle),r(ee,Gn,n+1,o)}return r(ee,i,n+1,o)}if(typeof e=="function"&&!Pa(e)){var d=Sd(e),y=sr(e,f);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(y.length>0?" { "+$.call(y,", ")+" }":"")}if(Fa(e)){var v=fe?J.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):at.call(e);return typeof e=="object"&&!fe?Oe(v):v}if(Td(e)){for(var A="<"+ba.call(String(e.nodeName)),P=e.attributes||[],j=0;j<P.length;j++)A+=" "+P[j].name+"="+$a(pd(P[j].value),"double",i);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+ba.call(String(e.nodeName))+">",A}if(ut(e)){if(e.length===0)return"[]";var w=sr(e,f);return p&&!Ad(w)?"["+lt(w,p)+"]":"[ "+$.call(w,", ")+" ]"}if(fd(e)){var k=sr(e,f);return!("cause"in Error.prototype)&&"cause"in e&&!Oa.call(e,"cause")?"{ ["+String(e)+"] "+$.call(Ea.call("[cause]: "+f(e.cause),k),", ")+" }":k.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+$.call(k,", ")+" }"}if(typeof e=="object"&&a){if(Aa&&typeof e[Aa]=="function"&&st)return st(e,{depth:m-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(hd(e)){var Se=[];return va&&va.call(e,function(ee,Be){Se.push(f(Be,e,!0)+" => "+f(ee,e))}),ka("Map",ur.call(e),Se,p)}if(xd(e)){var Jn=[];return Sa&&Sa.call(e,function(ee){Jn.push(f(ee,e))}),ka("Set",lr.call(e),Jn,p)}if(bd(e))return ot("WeakMap");if(wd(e))return ot("WeakSet");if(Ed(e))return ot("WeakRef");if(md(e))return Oe(f(Number(e)));if(gd(e))return Oe(f(it.call(e)));if(yd(e))return Oe(nd.call(e));if(dd(e))return Oe(f(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!cd(e)&&!Pa(e)){var kr=sr(e,f),Wn=wa?wa(e)===Object.prototype:e instanceof Object||e.constructor===Object,Ir=e instanceof Object?"":"null prototype",Xn=!Wn&&Fe&&Object(e)===e&&Fe in e?ft.call(W(e),8,-1):Ir?"Object":"",oc=Wn||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Or=oc+(Xn||Ir?"["+$.call(Ea.call([],Xn||[],Ir||[]),": ")+"] ":"");return kr.length===0?Or+"{}":p?Or+"{"+lt(kr,p)+"}":Or+"{ "+$.call(kr,", ")+" }"}return String(e)};function $a(r,e,t){var n=t.quoteStyle||e,o=Ca[n];return o+r+o}function pd(r){return J.call(String(r),/"/g,"&quot;")}function Y(r){return!Fe||!(typeof r=="object"&&(Fe in r||typeof r[Fe]<"u"))}function ut(r){return W(r)==="[object Array]"&&Y(r)}function cd(r){return W(r)==="[object Date]"&&Y(r)}function Pa(r){return W(r)==="[object RegExp]"&&Y(r)}function fd(r){return W(r)==="[object Error]"&&Y(r)}function dd(r){return W(r)==="[object String]"&&Y(r)}function md(r){return W(r)==="[object Number]"&&Y(r)}function yd(r){return W(r)==="[object Boolean]"&&Y(r)}function Fa(r){if(fe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!at)return!1;try{return at.call(r),!0}catch{}return!1}function gd(r){if(!r||typeof r!="object"||!it)return!1;try{return it.call(r),!0}catch{}return!1}var vd=Object.prototype.hasOwnProperty||function(r){return r in this};function N(r,e){return vd.call(r,e)}function W(r){return od.call(r)}function Sd(r){if(r.name)return r.name;var e=ad.call(id.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function _a(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function hd(r){if(!ur||!r||typeof r!="object")return!1;try{ur.call(r);try{lr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function bd(r){if(!Ce||!r||typeof r!="object")return!1;try{Ce.call(r,Ce);try{$e.call(r,$e)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Ed(r){if(!ha||!r||typeof r!="object")return!1;try{return ha.call(r),!0}catch{}return!1}function xd(r){if(!lr||!r||typeof r!="object")return!1;try{lr.call(r);try{ur.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function wd(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r,$e);try{Ce.call(r,Ce)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function Td(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Na(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Na(ft.call(r,0,e.maxStringLength),e)+n}var o=ld[e.quoteStyle||"single"];o.lastIndex=0;var i=J.call(J.call(r,o,"\\$1"),/[\x00-\x1f]/g,qd);return $a(i,"single",e)}function qd(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+sd.call(e.toString(16))}function Oe(r){return"Object("+r+")"}function ot(r){return r+" { ? }"}function ka(r,e,t,n){var o=n?lt(t,n):$.call(t,", ");return r+" ("+e+") {"+o+"}"}function Ad(r){for(var e=0;e<r.length;e++)if(_a(r[e],`
2
- `)>=0)return!1;return!0}function Pd(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=$.call(Array(r.indent+1)," ");else return null;return{base:t,prev:$.call(Array(e+1),t)}}function lt(r,e){if(r.length===0)return"";var t=`
3
- `+e.prev+e.base;return t+$.call(r,","+t)+`
4
- `+e.prev}function sr(r,e){var t=ut(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=N(r,o)?e(r[o],r):""}var i=typeof nt=="function"?nt(r):[],a;if(fe){a={};for(var u=0;u<i.length;u++)a["$"+i[u]]=i[u]}for(var c in r)N(r,c)&&(t&&String(Number(c))===c&&c<r.length||fe&&a["$"+c]instanceof Symbol||(Ia.call(/[^\w$]/,c)?n.push(e(c,r)+": "+e(r[c],r)):n.push(c+": "+e(r[c],r))));if(typeof nt=="function")for(var l=0;l<i.length;l++)Oa.call(r,i[l])&&n.push("["+e(i[l])+"]: "+e(r[i[l]],r));return n}});var X=s((hE,ja)=>{"use strict";ja.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var _e=s((bE,Da)=>{"use strict";var Ma=S(),kd=La(),Id=X(),Od=C();Da.exports=function(e,t){if(!Od(e))throw new Ma("Assertion failed: Type(O) is not Object");if(!Id(t))throw new Ma("Assertion failed: P is not a Property Key, got "+kd(t));return e[t]}});var O=s((EE,Ba)=>{"use strict";var Va=I(),Ua=qe(),Cd=Ua([Va("%String.prototype.indexOf%")]);Ba.exports=function(e,t){var n=Va(e,!!t);return typeof n=="function"&&Cd(e,".prototype.")>-1?Ua([n]):n}});var dt=s((xE,Wa)=>{"use strict";var $d=I(),Ja=$d("%Array%"),Fd=!Ja.isArray&&O()("Object.prototype.toString");Wa.exports=Ja.isArray||function(e){return Fd(e)==="[object Array]"}});var pr=s((wE,Xa)=>{"use strict";Xa.exports=dt()});var Ha=s((TE,Ga)=>{"use strict";Ga.exports=I()});var R=s((qE,za)=>{"use strict";var _d=S(),Ne=B(),Nd={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};za.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(Ne(e,t)&&!Nd[t])return!1;var n=Ne(e,"[[Value]]")||Ne(e,"[[Writable]]"),o=Ne(e,"[[Get]]")||Ne(e,"[[Set]]");if(n&&o)throw new _d("Property Descriptors may not be both accessor and data descriptors");return!0}});var mt=s((AE,Ya)=>{"use strict";var Rd=Te(),Ka=ne(),Qa=Rd.hasArrayLengthDefineBug(),Ld=Qa&&dt(),jd=O(),Md=jd("Object.prototype.propertyIsEnumerable");Ya.exports=function(e,t,n,o,i,a){if(!Ka){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&Md(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return Qa&&i==="length"&&"[[Value]]"in a&&Ld(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Ka(o,i,n(a)),!0)}});var es=s((PE,Za)=>{"use strict";Za.exports=function(e){if(typeof e>"u")return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}});var yt=s((kE,rs)=>{"use strict";var Dd=S(),Vd=R(),Ud=es();rs.exports=function(e){if(typeof e<"u"&&!Vd(e))throw new Dd("Assertion failed: `Desc` must be a Property Descriptor");return Ud(e)}});var cr=s((IE,ns)=>{"use strict";var Bd=S(),ts=B(),Jd=R();ns.exports=function(e){if(typeof e>"u")return!1;if(!Jd(e))throw new Bd("Assertion failed: `Desc` must be a Property Descriptor");return!(!ts(e,"[[Value]]")&&!ts(e,"[[Writable]]"))}});var fr=s((OE,is)=>{"use strict";var os=ae();is.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:os(e)&&os(t)}});var bt=s((CE,us)=>{"use strict";var ss=Function.prototype.toString,de=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,vt,dr;if(typeof de=="function"&&typeof Object.defineProperty=="function")try{vt=Object.defineProperty({},"length",{get:function(){throw dr}}),dr={},de(function(){throw 42},null,vt)}catch(r){r!==dr&&(de=null)}else de=null;var Wd=/^\s*class\b/,St=function(e){try{var t=ss.call(e);return Wd.test(t)}catch{return!1}},gt=function(e){try{return St(e)?!1:(ss.call(e),!0)}catch{return!1}},mr=Object.prototype.toString,Xd="[object Object]",Gd="[object Function]",Hd="[object GeneratorFunction]",zd="[object HTMLAllCollection]",Kd="[object HTML document.all class]",Qd="[object HTMLCollection]",Yd=typeof Symbol=="function"&&!!Symbol.toStringTag,Zd=!(0 in[,]),ht=function(){return!1};typeof document=="object"&&(as=document.all,mr.call(as)===mr.call(document.all)&&(ht=function(e){if((Zd||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=mr.call(e);return(t===zd||t===Kd||t===Qd||t===Xd)&&e("")==null}catch{}return!1}));var as;us.exports=de?function(e){if(ht(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{de(e,null,vt)}catch(t){if(t!==dr)return!1}return!St(e)&&gt(e)}:function(e){if(ht(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Yd)return gt(e);if(St(e))return!1;var t=mr.call(e);return t!==Gd&&t!==Hd&&!/^\[object HTML/.test(t)?!1:gt(e)}});var ps=s(($E,ls)=>{"use strict";ls.exports=bt()});var fs=s((FE,cs)=>{"use strict";cs.exports=function(e){return!!e}});var xt=s((_E,ms)=>{"use strict";var F=B(),yr=S(),em=C(),ds=ps(),Et=fs();ms.exports=function(e){if(!em(e))throw new yr("ToPropertyDescriptor requires an object");var t={};if(F(e,"enumerable")&&(t["[[Enumerable]]"]=Et(e.enumerable)),F(e,"configurable")&&(t["[[Configurable]]"]=Et(e.configurable)),F(e,"value")&&(t["[[Value]]"]=e.value),F(e,"writable")&&(t["[[Writable]]"]=Et(e.writable)),F(e,"get")){var n=e.get;if(typeof n<"u"&&!ds(n))throw new yr("getter must be a function");t["[[Get]]"]=n}if(F(e,"set")){var o=e.set;if(typeof o<"u"&&!ds(o))throw new yr("setter must be a function");t["[[Set]]"]=o}if((F(t,"[[Get]]")||F(t,"[[Set]]"))&&(F(t,"[[Value]]")||F(t,"[[Writable]]")))throw new yr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var vs=s((NE,gs)=>{"use strict";var wt=S(),rm=C(),ys=R(),tm=mt(),nm=yt(),om=cr(),im=X(),am=fr(),sm=xt();gs.exports=function(e,t,n){if(!rm(e))throw new wt("Assertion failed: Type(O) is not Object");if(!im(t))throw new wt("Assertion failed: P is not a Property Key");var o=ys(n)?n:sm(n);if(!ys(o))throw new wt("Assertion failed: Desc is not a valid Property Descriptor");return tm(om,am,nm,e,t,o)}});var hs=s((RE,At)=>{"use strict";var um=Ha(),Ss=um("%Reflect.construct%",!0),gr=vs();try{gr({},"",{"[[Get]]":function(){}})}catch{gr=null}gr&&Ss?(Tt={},qt={},gr(qt,"length",{"[[Get]]":function(){throw Tt},"[[Enumerable]]":!0}),At.exports=function(e){try{Ss(e,qt)}catch(t){return t===Tt}}):At.exports=function(e){return typeof e=="function"&&!!e.prototype};var Tt,qt});var qs=s((LE,Ts)=>{"use strict";var lm=I(),bs=lm("%Symbol.species%",!0),Es=S(),pm=Zr(),cm=C(),xs=ma(),ws=_e(),fm=pr(),dm=hs();Ts.exports=function(e,t){if(!pm(t)||t<0)throw new Es("Assertion failed: length must be an integer >= 0");var n=fm(e);if(!n)return xs(t);var o=ws(e,"constructor");if(bs&&cm(o)&&(o=ws(o,bs),o===null&&(o=void 0)),typeof o>"u")return xs(t);if(!dm(o))throw new Es("C must be a constructor");return new o(t)}});var Pt=s((jE,As)=>{"use strict";As.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var ks=s((ME,Ps)=>{"use strict";var mm=I(),ym=O(),gm=S(),vm=pr(),Sm=mm("%Reflect.apply%",!0)||ym("Function.prototype.apply");Ps.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!vm(n))throw new gm("Assertion failed: optional `argumentsList`, if provided, must be a List");return Sm(e,t,n)}});var vr=s((DE,Os)=>{"use strict";var hm=S(),Is=B(),bm=R();Os.exports=function(e){if(typeof e>"u")return!1;if(!bm(e))throw new hm("Assertion failed: `Desc` must be a Property Descriptor");return!(!Is(e,"[[Get]]")&&!Is(e,"[[Set]]"))}});var kt=s((VE,Cs)=>{"use strict";Cs.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Ns=s((UE,_s)=>{"use strict";var Fs=I(),Em=Fs("%Object.preventExtensions%",!0),xm=Fs("%Object.isExtensible%",!0),$s=kt();_s.exports=Em?function(e){return!$s(e)&&xm(e)}:function(e){return!$s(e)}});var Ls=s((BE,Rs)=>{"use strict";var wm=R();Rs.exports=function(e,t){return wm(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Ms=s((JE,js)=>{"use strict";var Tm=S(),qm=vr(),Am=cr(),Pm=R();js.exports=function(e){if(typeof e>"u")return!1;if(!Pm(e))throw new Tm("Assertion failed: `Desc` must be a Property Descriptor");return!qm(e)&&!Am(e)}});var Us=s((WE,Vs)=>{"use strict";var me=S(),km=C(),Re=mt(),Im=Ls(),Ds=R(),Le=yt(),Z=vr(),G=cr(),Om=Ms(),Cm=X(),_=fr();Vs.exports=function(e,t,n,o,i){if(typeof e<"u"&&!km(e))throw new me("Assertion failed: O must be undefined or an Object");if(!Cm(t))throw new me("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new me("Assertion failed: extensible must be a Boolean");if(!Ds(o))throw new me("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Ds(i))throw new me("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:Z(o)?Re(G,_,Le,e,t,o):Re(G,_,Le,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Im({IsAccessorDescriptor:Z,IsDataDescriptor:G},i))throw new me("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!_(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Om(o)&&!_(Z(o),Z(i)))return!1;if(Z(i)){if("[[Get]]"in o&&!_(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!_(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!_(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,u;return G(i)&&Z(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Re(G,_,Le,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):Z(i)&&G(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Re(G,_,Le,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Re(G,_,Le,e,t,o)}return!0}});var Xs=s((XE,Ws)=>{"use strict";var Bs=V(),Js=we(),It=S(),$m=C(),Fm=R(),_m=vr(),Nm=Ns(),Rm=X(),Lm=xt(),jm=fr(),Mm=Us();Ws.exports=function(e,t,n){if(!$m(e))throw new It("Assertion failed: O must be an Object");if(!Rm(t))throw new It("Assertion failed: P must be a Property Key");if(!Fm(n))throw new It("Assertion failed: Desc must be a Property Descriptor");if(!Bs){if(_m(n))throw new Js("This environment does not support accessor property descriptors.");var o=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,i=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(o||i)return e[t]=n["[[Value]]"],jm(e[t],n["[[Value]]"]);throw new Js("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Bs(e,t),u=a&&Lm(a),c=Nm(e);return Mm(e,t,c,n,u)}});var zs=s((GE,Hs)=>{"use strict";var Gs=S(),Dm=C(),Vm=X(),Um=Xs();Hs.exports=function(e,t,n){if(!Dm(e))throw new Gs("Assertion failed: Type(O) is not Object");if(!Vm(t))throw new Gs("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return Um(e,t,o)}});var Qs=s((HE,Ks)=>{"use strict";var Ot=S(),Bm=C(),Jm=zs(),Wm=X();Ks.exports=function(e,t,n){if(!Bm(e))throw new Ot("Assertion failed: Type(O) is not Object");if(!Wm(t))throw new Ot("Assertion failed: P is not a Property Key");var o=Jm(e,t,n);if(!o)throw new Ot("unable to create data property")}});var eu=s((zE,Zs)=>{"use strict";var Ys=S(),Xm=C(),Gm=X();Zs.exports=function(e,t){if(!Xm(e))throw new Ys("Assertion failed: `O` must be an Object");if(!Gm(t))throw new Ys("Assertion failed: `P` must be a Property Key");return t in e}});var tu=s((KE,ru)=>{"use strict";ru.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Ct=s((QE,nu)=>{"use strict";var Hm=rr();nu.exports=function(){return Hm()&&!!Symbol.toStringTag}});var au=s((YE,iu)=>{"use strict";var ou=O(),zm=ou("Date.prototype.getDay"),Km=function(e){try{return zm(e),!0}catch{return!1}},Qm=ou("Object.prototype.toString"),Ym="[object Date]",Zm=Ct()();iu.exports=function(e){return typeof e!="object"||e===null?!1:Zm?Km(e):Qm(e)===Ym}});var fu=s((ZE,cu)=>{"use strict";var su=O(),ey=Ct()(),ry=B(),ty=V(),_t;ey?(uu=su("RegExp.prototype.exec"),$t={},Sr=function(){throw $t},Ft={toString:Sr,valueOf:Sr},typeof Symbol.toPrimitive=="symbol"&&(Ft[Symbol.toPrimitive]=Sr),_t=function(e){if(!e||typeof e!="object")return!1;var t=ty(e,"lastIndex"),n=t&&ry(t,"value");if(!n)return!1;try{uu(e,Ft)}catch(o){return o===$t}}):(lu=su("Object.prototype.toString"),pu="[object RegExp]",_t=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:lu(e)===pu});var uu,$t,Sr,Ft,lu,pu;cu.exports=_t});var Nt=s((ex,du)=>{"use strict";var ny=O(),oy=fu(),iy=ny("RegExp.prototype.exec"),ay=S();du.exports=function(e){if(!oy(e))throw new ay("`regex` must be a RegExp");return function(n){return iy(e,n)!==null}}});var Su=s((rx,Rt)=>{"use strict";var vu=O(),sy=vu("Object.prototype.toString"),uy=Wr()(),ly=Nt();uy?(mu=vu("Symbol.prototype.toString"),yu=ly(/^Symbol\(.*\)$/),gu=function(e){return typeof e.valueOf()!="symbol"?!1:yu(mu(e))},Rt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||sy(e)!=="[object Symbol]")return!1;try{return gu(e)}catch{return!1}}):Rt.exports=function(e){return!1};var mu,yu,gu});var xu=s((tx,Eu)=>{"use strict";var py=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",Lt=tu(),bu=bt(),cy=au(),hu=Su(),fy=function(e,t){if(typeof e>"u"||e===null)throw new TypeError("Cannot call method on "+e);if(typeof t!="string"||t!=="number"&&t!=="string")throw new TypeError('hint must be "string" or "number"');var n=t==="string"?["toString","valueOf"]:["valueOf","toString"],o,i,a;for(a=0;a<n.length;++a)if(o=e[n[a]],bu(o)&&(i=o.call(e),Lt(i)))return i;throw new TypeError("No default value")},dy=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!bu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};Eu.exports=function(e){if(Lt(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(py&&(Symbol.toPrimitive?n=dy(e,Symbol.toPrimitive):hu(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(Lt(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(cy(e)||hu(e))&&(t="string"),fy(e,t==="default"?"number":t)}});var qu=s((nx,Tu)=>{"use strict";var wu=xu();Tu.exports=function(e){return arguments.length>1?wu(e,arguments[1]):wu(e)}});var je=s((ox,Au)=>{"use strict";var my=S();Au.exports=function(e){if(e==null)throw new my(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var jt=s((ix,Pu)=>{"use strict";var yy=I(),gy=yy("%String%"),vy=S();Pu.exports=function(e){if(typeof e=="symbol")throw new vy("Cannot convert a Symbol value to a string");return gy(e)}});var Mt=s((ax,Ou)=>{"use strict";var Sy=je(),hy=jt(),by=O(),ku=by("String.prototype.replace"),Iu=/^\s$/.test("\u180E"),Ey=Iu?/^[\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]+/,xy=Iu?/[\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]+$/;Ou.exports=function(){var e=hy(Sy(this));return ku(ku(e,Ey,""),xy,"")}});var Dt=s((sx,$u)=>{"use strict";var wy=Mt(),Cu="\u200B",ye="\u180E";$u.exports=function(){return String.prototype.trim&&Cu.trim()===Cu&&ye.trim()===ye&&("_"+ye).trim()==="_"+ye&&(ye+"_").trim()===ye+"_"?String.prototype.trim:wy}});var Nu=s((ux,_u)=>{"use strict";var Ty=Te()(),Fu=Ze(),qy=Dt();_u.exports=function(){var e=qy();return String.prototype.trim!==e&&(Ty?Fu(String.prototype,"trim",e,!0):Fu(String.prototype,"trim",e)),e}});var Mu=s((lx,ju)=>{"use strict";var Ay=Ie(),Py=U(),ky=je(),Iy=Mt(),Ru=Dt(),Oy=Nu(),Cy=Ay(Ru()),Lu=function(e){return ky(e),Cy(e)};Py(Lu,{getPolyfill:Ru,implementation:Iy,shim:Oy});ju.exports=Lu});var Ju=s((px,Bu)=>{"use strict";var Uu=I(),$y=Uu("%RegExp%"),Fy=S(),Du=Uu("%parseInt%"),_y=O(),hr=Nt(),Vu=_y("String.prototype.slice"),Ny=hr(/^0b[01]+$/i),Ry=hr(/^0o[0-7]+$/i),Ly=hr(/^[-+]0x[0-9a-f]+$/i),jy=["\x85","\u200B","\uFFFE"].join(""),My=new $y("["+jy+"]","g"),Dy=hr(My),Vy=Mu();Bu.exports=function r(e){if(typeof e!="string")throw new Fy("Assertion failed: `argument` is not a String");if(Ny(e))return+Du(Vu(e,2),2);if(Ry(e))return+Du(Vu(e,2),8);if(Dy(e)||Ly(e))return NaN;var t=Vy(e);return t!==e?r(t):+e}});var Gu=s((cx,Xu)=>{"use strict";var Uy=I(),Wu=S(),By=Uy("%Number%"),Jy=kt(),Wy=qu(),Xy=Ju();Xu.exports=function(e){var t=Jy(e)?e:Wy(e,By);if(typeof t=="symbol")throw new Wu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Wu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?Xy(t):+t}});var zu=s((fx,Hu)=>{"use strict";var Gy=er();Hu.exports=function(e){return typeof e=="bigint"?e:Gy(e)}});var Yu=s((dx,Qu)=>{"use strict";var Ku=zu(),Hy=S();Qu.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new Hy("argument must be a Number or a BigInt");var t=e<0?-Ku(-e):Ku(e);return t===0?0:t}});var Vt=s((mx,Zu)=>{"use strict";var zy=Gu(),Ky=Yu(),Qy=ae(),Yy=Yr();Zu.exports=function(e){var t=zy(e);return Qy(t)||t===0?0:Yy(t)?Ky(t):t}});var Ut=s((yx,rl)=>{"use strict";var el=Pt(),Zy=Vt();rl.exports=function(e){var t=Zy(e);return t<=0?0:t>el?el:t}});var nl=s((gx,tl)=>{"use strict";var eg=S(),rg=C(),tg=_e(),ng=Ut();tl.exports=function(e){if(!rg(e))throw new eg("Assertion failed: `obj` must be an Object");return ng(tg(e,"length"))}});var sl=s((vx,al)=>{"use strict";var ol=S(),og=Pt(),ig=ks(),ag=Qs(),sg=_e(),ug=eu(),lg=pr(),pg=nl(),il=jt();al.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var u=o,c=0;c<n;){var l=il(c),m=ug(t,l);if(m===!0){var p=sg(t,l);if(typeof a<"u"){if(arguments.length<=6)throw new ol("Assertion failed: thisArg is required when mapperFunction is provided");p=ig(a,arguments[6],[p,c,t])}var f=!1;if(i>0&&(f=lg(p)),f){var d=pg(p);u=r(e,p,d,u,i-1)}else{if(u>=og)throw new ol("index too large");ag(e,il(u),p),u+=1}}c+=1}return u}});var ll=s((Sx,ul)=>{"use strict";var cg=ie(),fg=je();ul.exports=function(e){return fg(e),cg(e)}});var cl=s((hx,pl)=>{"use strict";pl.exports=ll()});var Bt=s((bx,fl)=>{"use strict";var dg=qs(),mg=sl(),yg=_e(),gg=Vt(),vg=Ut(),Sg=cl();fl.exports=function(){var e=Sg(this),t=vg(yg(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=gg(arguments[0]));var o=dg(e,0);return mg(o,e,t,0,n),o}});var Jt=s((Ex,dl)=>{"use strict";var hg=Bt();dl.exports=function(){return Array.prototype.flat||hg}});var Sl=s((xx,vl)=>{"use strict";var bg=B(),gl=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",ml=gl&&Array.prototype[Symbol.unscopables],yl=TypeError;vl.exports=function(e){if(typeof e!="string"||!e)throw new yl("method must be a non-empty string");if(!bg(Array.prototype,e))throw new yl("method must be on Array.prototype");gl&&ml&&(ml[e]=!0)}});var bl=s((wx,hl)=>{"use strict";var Eg=U(),xg=Sl(),wg=Jt();hl.exports=function(){var e=wg();return Eg(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),xg("flat"),e}});var Tl=s((Tx,wl)=>{"use strict";var Tg=U(),qg=Ie(),Ag=Bt(),El=Jt(),Pg=El(),kg=bl(),xl=qg(Pg);Tg(xl,{getPolyfill:El,implementation:Ag,shim:kg});wl.exports=xl});var Wt=s((qx,ql)=>{"use strict";var Ig=je(),Og=O(),Cg=Og("Object.prototype.propertyIsEnumerable");ql.exports=function(e){var t=Ig(e),n=[];for(var o in t)Cg(t,o)&&(n[n.length]=t[o]);return n}});var Xt=s((Ax,Al)=>{"use strict";var $g=Wt();Al.exports=function(){return typeof Object.values=="function"?Object.values:$g}});var kl=s((Px,Pl)=>{"use strict";var Fg=Xt(),_g=U();Pl.exports=function(){var e=Fg();return _g(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var $l=s((kx,Cl)=>{"use strict";var Ng=U(),Rg=Ie(),Lg=Wt(),Il=Xt(),jg=kl(),Ol=Rg(Il(),Object);Ng(Ol,{getPolyfill:Il,implementation:Lg,shim:jg});Cl.exports=Ol});var Nl=s(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.eventHandlersByType=void 0;var Mg=Tl(),Dg=Fl(Mg),Vg=$l(),Ug=Fl(Vg);function Fl(r){return r&&r.__esModule?r:{default:r}}var _l={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"]};Me.default=(0,Dg.default)((0,Ug.default)(_l));Me.eventHandlersByType=_l});var Ll=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});var Bg=(function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var u=e[Symbol.iterator](),c;!(o=(c=u.next()).done)&&(n.push(c.value),!(t&&n.length===t));o=!0);}catch(l){i=!0,a=l}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),ge=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};Ht.default=Hg;var Jg=He(),Wg=Xg(Jg);function Xg(r){return r&&r.__esModule?r:{default:r}}function Rl(r,e){var t={};for(var n in r)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}var Gg={ignoreCase:!0};function Hg(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Gg;function n(u){return t.ignoreCase?u.toUpperCase():u}var o=n(e);function i(u){return u.type==="Property"&&u.key.type==="Identifier"&&o===n(u.key.name)}var a=r.find(function(u){return u.type==="JSXSpreadAttribute"?u.argument.type==="ObjectExpression"&&o!==n("key")&&u.argument.properties.some(i):o===n((0,Wg.default)(u))});return a&&a.type==="JSXSpreadAttribute"?zg(a.argument.properties.find(i)):a}function zg(r){var e=r.key,t=r.value;return ge({type:"JSXAttribute",name:ge({type:"JSXIdentifier",name:e.name},Gt(e)),value:t.type==="Literal"?De(t):ge({type:"JSXExpressionContainer",expression:Kg(t)},Gt(t))},Gt(r))}function De(r){var e=r.range||[r.start,r.end],t=Bg(e,2),n=t[0],o=t[1];return ge({},r,{end:void 0,range:[n,o],start:void 0})}function Kg(r){var e=r.expressions,t=r.quasis,n=Rl(r,["expressions","quasis"]);return ge({},De(n),e?{expressions:e.map(De)}:{},t?{quasis:t.map(De)}:{})}function Gt(r){var e=r.loc,t=Rl(r,["loc"]),n=De(t),o=n.range;return{loc:Qg(e),range:o}}function Qg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return ge({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Kt=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=Yg;function Yg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Yt=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Zg;function Zg(r){var e=br().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var en=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=ev;function ev(r){return r.raw}});var tn=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=rv;function rv(r){var e=br().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Ml=s(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=tv;var jl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function tv(r){var e=r.name;return Object.hasOwnProperty.call(jl,e)?jl[e]:e}});var an=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=ov;function nv(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function ov(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(nv).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var u=a.raw,c=o.name;return i==="TemplateElement"?u:i==="Identifier"?c==="undefined"?c:"{"+c+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var Dl=s(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=uv;var iv=an(),av=sv(iv);function sv(r){return r&&r.__esModule?r:{default:r}}function uv(r){return(0,av.default)(r.quasi)}});var Vl=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=lv;function lv(r){return function(){return r}}});var Ul=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=pv;function pv(r){var e=q().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);return t==="&&"?i&&a:t==="??"?i===null||typeof i>"u"?a:i:i||a}});var Bl=s(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=cv;function cv(r){var e=q().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Jl=s(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=fv;function fv(r){var e=q().default;return e(r.expression||r)}});var Wl=s(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=dv;function dv(r){var e=q().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Xl=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=mv;function mv(r){var e=q().default;return e(r.object)+"?."+e(r.property)}});var yn=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=yv;function yv(r){var e=q().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var Gl=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=gv;function gv(r){var e=q().default,t=r.operator,n=r.argument;switch(t){case"-":return-e(n);case"+":return+e(n);case"!":return!e(n);case"~":return~e(n);case"delete":return!0;default:return}}});var Sn=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=vv;function vv(){return"this"}});var Hl=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=Sv;function Sv(r){var e=q().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var zl=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=hv;function hv(r){var e=q().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);switch(t){case"==":return i==a;case"!=":return i!=a;case"===":return i===a;case"!==":return i!==a;case"<":return i<a;case"<=":return i<=a;case">":return i>a;case">=":return i>=a;case"<<":return i<<a;case">>":return i>>a;case">>>":return i>>>a;case"+":return i+a;case"-":return i-a;case"*":return i*a;case"/":return i/a;case"%":return i%a;case"|":return i|a;case"^":return i^a;case"&":return i&a;case"in":try{return i in a}catch{return!1}case"instanceof":return typeof a!="function"?!1:i instanceof a;default:return}}});var En=s((zx,Zl)=>{"use strict";var bv=Vr(),Ql=rr()(),Yl=O(),Er=ie(),Ev=Yl("Array.prototype.push"),Kl=Yl("Object.prototype.propertyIsEnumerable"),xv=Ql?Er.getOwnPropertySymbols:null;Zl.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=Er(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=Er(arguments[o]),a=bv(i),u=Ql&&(Er.getOwnPropertySymbols||xv);if(u)for(var c=u(i),l=0;l<c.length;++l){var m=c[l];Kl(i,m)&&Ev(a,m)}for(var p=0;p<a.length;++p){var f=a[p];if(Kl(i,f)){var d=i[f];n[f]=d}}}return n}});var wn=s((Kx,ep)=>{"use strict";var xn=En(),wv=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",e=r.split(""),t={},n=0;n<e.length;++n)t[e[n]]=e[n];var o=Object.assign({},t),i="";for(var a in o)i+=a;return r!==i},Tv=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch{return r[1]==="y"}return!1};ep.exports=function(){return!Object.assign||wv()||Tv()?xn:Object.assign}});var tp=s((Qx,rp)=>{"use strict";var qv=U(),Av=wn();rp.exports=function(){var e=Av();return qv(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var ap=s((Yx,ip)=>{"use strict";var Pv=U(),kv=Ie(),Iv=En(),np=wn(),Ov=tp(),Cv=kv.apply(np()),op=function(e,t){return Cv(Object,arguments)};Pv(op,{getPolyfill:np,implementation:Iv,shim:Ov});ip.exports=op});var lp=s(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=up;var $v=ap(),sp=Fv($v);function Fv(r){return r&&r.__esModule?r:{default:r}}function _v(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function up(r){var e=q().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,sp.default)({},t,up(n.argument))}else return(0,sp.default)({},t,_v({},e(n.key),e(n.value)));return t},{})}});var pp=s(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=Nv;function Nv(){return new Object}});var cp=s(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=Rv;function Rv(r){var e=q().default,t=r.operator,n=r.argument,o=r.prefix,i=e(n);switch(t){case"++":return o?++i:i++;case"--":return o?--i:i--;default:return}}});var fp=s(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=Lv;function Lv(r){var e=q().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var dp=s(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=jv;function jv(r){var e=q().default,t=e(r.callee),n=r.object===null?e(r.callee.object):e(r.object);return r.object&&r.object.property?n+"."+t+".bind("+n+")":t+".bind("+n+")"}});var mp=s(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=Mv;function Mv(){}});var yp=s(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=Dv;function Dv(r){var e=q().default;return e(r.expression)}});var gp=s(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=Vv;function Vv(r){var e=q().default;return r.expressions.map(function(t){return e(t)})}});var Sp=s($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=H;var Uv=Sn().default,Bv=yn().default;function vp(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function H(r){var e="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(r.type==="Identifier"){var t=r.name;return t}if(r.type==="Literal")return r.value;if(r.type==="TSAsExpression")return H(r.expression);if(r.type==="CallExpression")return Bv(r);if(r.type==="ThisExpression")return Uv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return H(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+H(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return vp(H(r.object),H(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=vp(H(r.object),H(r.property),r);return"("+i+")"}}if(r.expression)for(var a=r.expression;a;){if(a.type==="Identifier")return console.error(e),a.name;var u=a;a=u.expression}return console.error(e),""}});var hp=s(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=Jv;function Jv(r){var e=q().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var q=s(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});var Wv=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};xr.default=GS;xr.extractLiteral=HS;var Xv=Kt(),Gv=b(Xv),Hv=Yt(),zv=b(Hv),Kv=tn(),Qv=b(Kv),Yv=en(),Zv=b(Yv),eS=Ml(),rS=b(eS),tS=Dl(),nS=b(tS),oS=an(),iS=b(oS),aS=Vl(),bp=b(aS),sS=Ul(),uS=b(sS),lS=Bl(),pS=b(lS),cS=Jl(),fS=b(cS),dS=Wl(),mS=b(dS),yS=Xl(),gS=b(yS),vS=yn(),SS=b(vS),hS=Gl(),bS=b(hS),ES=Sn(),xS=b(ES),wS=Hl(),TS=b(wS),qS=zl(),AS=b(qS),PS=lp(),kS=b(PS),IS=pp(),OS=b(IS),CS=cp(),$S=b(CS),FS=fp(),_S=b(FS),NS=dp(),RS=b(NS),LS=mp(),jS=b(LS),MS=yp(),DS=b(MS),VS=gp(),US=b(VS),BS=Sp(),JS=b(BS),WS=hp(),XS=b(WS);function b(r){return r&&r.__esModule?r:{default:r}}var z={Identifier:rS.default,Literal:Gv.default,JSXElement:zv.default,JSXFragment:Qv.default,JSXText:Zv.default,TaggedTemplateExpression:nS.default,TemplateLiteral:iS.default,ArrowFunctionExpression:bp.default,FunctionExpression:bp.default,LogicalExpression:uS.default,MemberExpression:pS.default,ChainExpression:fS.default,OptionalCallExpression:mS.default,OptionalMemberExpression:gS.default,CallExpression:SS.default,UnaryExpression:bS.default,ThisExpression:xS.default,ConditionalExpression:TS.default,BinaryExpression:AS.default,ObjectExpression:kS.default,NewExpression:OS.default,UpdateExpression:$S.default,ArrayExpression:_S.default,BindExpression:RS.default,SpreadElement:jS.default,TypeCastExpression:DS.default,SequenceExpression:US.default,TSNonNullExpression:JS.default,AssignmentExpression:XS.default},E=function(){return null},xp=function(e){return"The prop value with an expression type of "+e+" could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately."};function GS(r){var e=void 0;typeof r.expression!="boolean"&&r.expression?e=r.expression:e=r;var t=e,n=t.type;for(e.object&&e.object.type==="TSNonNullExpression"&&(n="TSNonNullExpression");n==="TSAsExpression";){var o=e;if(n=o.type,e.expression){var i=e;e=i.expression}}return z[n]===void 0?(console.error(xp(n)),null):z[n](e)}var Ep=Wv({},z,{Literal:function(e){var t=z.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=z.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:E,JSXFragment:E,JSXText:E,ArrowFunctionExpression:E,FunctionExpression:E,LogicalExpression:E,MemberExpression:E,OptionalCallExpression:E,OptionalMemberExpression:E,CallExpression:E,UnaryExpression:function(e){var t=z.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=z.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:E,ConditionalExpression:E,BinaryExpression:E,ObjectExpression:E,NewExpression:E,ArrayExpression:function(e){var t=z.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:E,SpreadElement:E,TSNonNullExpression:E,TSAsExpression:E,TypeCastExpression:E,SequenceExpression:E,ChainExpression:E});function HS(r){var e=r.expression||r,t=e.type;return Ep[t]===void 0?(console.error(xp(t)),null):Ep[t](e)}});var br=s(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});var zS=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};wr.default=ah;wr.getLiteralValue=sh;var KS=Kt(),QS=Ve(KS),YS=Yt(),ZS=Ve(YS),eh=en(),rh=Ve(eh),th=tn(),nh=Ve(th),wp=q(),oh=Ve(wp);function Ve(r){return r&&r.__esModule?r:{default:r}}var _n={Literal:QS.default,JSXElement:ZS.default,JSXExpressionContainer:oh.default,JSXText:rh.default,JSXFragment:nh.default},ih=zS({},_n,{JSXElement:function(){return null},JSXExpressionContainer:wp.extractLiteral});function ah(r){return _n[r.type]||console.log(r.type),_n[r.type](r)}function sh(r){return ih[r.type](r)}});var Ap=s(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.default=ph;Tr.getLiteralPropValue=ch;var Tp=br(),uh=lh(Tp);function lh(r){return r&&r.__esModule?r:{default:r}}var qp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function ph(r){return qp(r,uh.default)}function ch(r){return qp(r,Tp.getLiteralValue)}});var qr=s((fw,Ip)=>{"use strict";var Nn=oo(),fh=ve(Nn),dh=ao(),mh=ve(dh),Pp=Nl(),yh=ve(Pp),gh=Ll(),vh=ve(gh),kp=Ap(),Sh=ve(kp),hh=He(),bh=ve(hh);function ve(r){return r&&r.__esModule?r:{default:r}}Ip.exports={hasProp:fh.default,hasAnyProp:Nn.hasAnyProp,hasEveryProp:Nn.hasEveryProp,elementType:mh.default,eventHandlers:yh.default,eventHandlersByType:Pp.eventHandlersByType,getProp:vh.default,getPropValue:Sh.default,getLiteralPropValue:kp.getLiteralPropValue,propName:bh.default}});var nb={};cc(nb,{configs:()=>eb,qwikEslint9Plugin:()=>tc,rules:()=>Zp});module.exports=fc(nb);var Zn=require("@typescript-eslint/utils");var dc=["@qwik.dev/core","@qwik.dev/router","@builder.io/qwik","@builder.io/qwik-city"];function M(r){return r.sourceCode.getAllComments().some(e=>e.value.includes("@jsxImportSource"))}function zn(r){return!!r&&typeof r=="object"&&typeof r.type=="string"}function Kn(r,e){for(let[t,n]of Object.entries(r))if(!(t==="parent"||t==="range"||t==="loc")){if(Array.isArray(n)){for(let o of n)if(zn(o)&&e(o))return!0;continue}if(zn(n)&&e(n))return!0}return!1}function te(r,e){return e(r)?!0:Kn(r,t=>te(t,e))}function Cr(r,e,t=null){return e(r,t)?!0:Kn(r,n=>Cr(n,e,r))}function We(r,e){let t=r.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}function D(r,e){let t=r.sourceCode.getScope(e),n=t.references.find(i=>i.identifier===e);if(n?.resolved)return n.resolved;let o=t;for(;o;){let i=o.variables.find(a=>a.name===e.name);if(i)return i;o=o.upper}return null}function Xe(r){return!!r?.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return typeof t=="string"&&dc.some(n=>t.startsWith(n))})}function Qn(r,e){return e?.type==="Identifier"&&e.name.endsWith("$")&&Xe(D(r,e))}function mc(r){let e=r.type==="JSXAttribute"?r.name:r.key;return e.type==="Identifier"||e.type==="JSXIdentifier"?e.name:e.type==="Literal"?String(e.value):null}function $r(r,e){return r.properties.find(t=>t.type==="Property"&&!t.computed&&mc(t)===e)}function Ge(r){return r?.type==="ArrowFunctionExpression"||r?.type==="FunctionExpression"}function Fr(r,e){return r.find(t=>t.type==="JSXAttribute"&&t.name.type==="JSXIdentifier"&&t.name.name===e)}function he(r,e){return!!Fr(r,e)}function Yn(r){let e=r;for(;e;){if(e.type==="ArrowFunctionExpression"||e.type==="FunctionDeclaration"||e.type==="FunctionExpression")return e;e=e.parent}return null}var yc=Zn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),eo=yc({defaultOptions:[],name:"jsx-a-tag",meta:{type:"problem",docs:{description:"For a perfect SEO score, always provide href attribute for <a> elements."},fixable:"code",schema:[],messages:{noHref:"For a perfect SEO score, always provide href attribute for <a> elements."}},create(r){return{JSXElement(e){e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="a"&&(e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")||he(e.openingElement.attributes,"href")||r.report({node:e,messageId:"noHref"}))}}}});var ro=require("@typescript-eslint/utils");var gc=ro.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),to=gc({defaultOptions:[],name:"jsx-img",meta:{type:"problem",docs:{description:"For performance reasons, always provide width and height attributes for <img> elements, it will help to prevent layout shifts.",recommended:"warn"},fixable:"code",schema:[],messages:{noLocalSrc:`Local images can be optimized by importing using ESM, like this:
1
+ "use strict";var sc=Object.create;var Je=Object.defineProperty;var uc=Object.getOwnPropertyDescriptor;var lc=Object.getOwnPropertyNames;var pc=Object.getPrototypeOf,cc=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>{try{return e||r((e={exports:{}}).exports,e),e.exports}catch(t){throw e=0,t}},fc=(r,e)=>{for(var t in e)Je(r,t,{get:e[t],enumerable:!0})},Hn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of lc(e))!cc.call(r,o)&&o!==t&&Je(r,o,{get:()=>e[o],enumerable:!(n=uc(e,o))||n.enumerable});return r};var re=(r,e,t)=>(t=r!=null?sc(pc(r)):{},Hn(e||!r||!r.__esModule?Je(t,"default",{value:r,enumerable:!0}):t,r)),dc=r=>Hn(Je({},"__esModule",{value:!0}),r);var He=s(_r=>{"use strict";Object.defineProperty(_r,"__esModule",{value:!0});_r.default=bc;function bc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!r.type||r.type!=="JSXAttribute")throw new Error("The prop must be a JSXAttribute collected by the AST parser.");return r.name.type==="JSXNamespacedName"?r.name.namespace.name+":"+r.name.name.name:r.name.name}});var oo=s(be=>{"use strict";Object.defineProperty(be,"__esModule",{value:!0});be.default=Rr;be.hasAnyProp=wc;be.hasEveryProp=Tc;var Ec=He(),no=xc(Ec);function xc(r){return r&&r.__esModule?r:{default:r}}var Nr={spreadStrict:!0,ignoreCase:!0};function Rr(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nr,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,no.default)(o).toUpperCase():(0,no.default)(o);return n===i})}function wc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nr,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Rr(r,o,t)})}function Tc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Nr,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Rr(r,o,t)})}});var ao=s(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.default=qc;function io(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return r.type==="JSXMemberExpression"?io(r.object,r.property)+"."+e.name:r.name+"."+e.name}function qc(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=r.name;if(r.type==="JSXOpeningFragment")return"<>";if(!e)throw new Error("The argument provided is not a JSXElement node.");if(e.type==="JSXMemberExpression"){var t=e.object,n=t===void 0?{}:t,o=e.property,i=o===void 0?{}:o;return io(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var jr=s((xb,uo)=>{"use strict";var so=Object.prototype.toString;uo.exports=function(e){var t=so.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&so.call(e.callee)==="[object Function]"),n}});var So=s((wb,vo)=>{"use strict";var go;Object.keys||(Ee=Object.prototype.hasOwnProperty,Mr=Object.prototype.toString,lo=jr(),Dr=Object.prototype.propertyIsEnumerable,po=!Dr.call({toString:null},"toString"),co=Dr.call(function(){},"prototype"),xe=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],ze=function(r){var e=r.constructor;return e&&e.prototype===r},fo={$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},mo=(function(){if(typeof window>"u")return!1;for(var r in window)try{if(!fo["$"+r]&&Ee.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{ze(window[r])}catch{return!0}}catch{return!0}return!1})(),yo=function(r){if(typeof window>"u"||!mo)return ze(r);try{return ze(r)}catch{return!1}},go=function(e){var t=e!==null&&typeof e=="object",n=Mr.call(e)==="[object Function]",o=lo(e),i=t&&Mr.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=co&&n;if(i&&e.length>0&&!Ee.call(e,0))for(var c=0;c<e.length;++c)a.push(String(c));if(o&&e.length>0)for(var p=0;p<e.length;++p)a.push(String(p));else for(var m in e)!(u&&m==="prototype")&&Ee.call(e,m)&&a.push(String(m));if(po)for(var l=yo(e),f=0;f<xe.length;++f)!(l&&xe[f]==="constructor")&&Ee.call(e,xe[f])&&a.push(xe[f]);return a});var Ee,Mr,lo,Dr,po,co,xe,ze,fo,mo,yo;vo.exports=go});var Vr=s((Tb,Eo)=>{"use strict";var Ac=Array.prototype.slice,Pc=jr(),ho=Object.keys,Ke=ho?function(e){return ho(e)}:So(),bo=Object.keys;Ke.shim=function(){if(Object.keys){var e=(function(){var t=Object.keys(arguments);return t&&t.length===arguments.length})(1,2);e||(Object.keys=function(n){return Pc(n)?bo(Ac.call(n)):bo(n)})}else Object.keys=Ke;return Object.keys||Ke};Eo.exports=Ke});var ne=s((qb,xo)=>{"use strict";var Qe=Object.defineProperty||!1;if(Qe)try{Qe({},"a",{value:1})}catch{Qe=!1}xo.exports=Qe});var we=s((Ab,wo)=>{"use strict";wo.exports=SyntaxError});var h=s((Pb,To)=>{"use strict";To.exports=TypeError});var Ao=s((kb,qo)=>{"use strict";qo.exports=Object.getOwnPropertyDescriptor});var U=s((Ib,Po)=>{"use strict";var Ye=Ao();if(Ye)try{Ye([],"length")}catch{Ye=null}Po.exports=Ye});var Ze=s((Cb,Co)=>{"use strict";var ko=ne(),kc=we(),oe=h(),Io=U();Co.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new oe("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new oe("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new oe("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new oe("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new oe("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new oe("`loose`, if provided, must be a boolean");var o=arguments.length>3?arguments[3]:null,i=arguments.length>4?arguments[4]:null,a=arguments.length>5?arguments[5]:null,u=arguments.length>6?arguments[6]:!1,c=!!Io&&Io(e,t);if(ko)ko(e,t,{configurable:a===null&&c?c.configurable:!a,enumerable:o===null&&c?c.enumerable:!o,value:n,writable:i===null&&c?c.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new kc("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Te=s((Ob,$o)=>{"use strict";var Ur=ne(),Oo=function(){return!!Ur};Oo.hasArrayLengthDefineBug=function(){if(!Ur)return null;try{return Ur([],"length",{value:1}).length!==1}catch{return!0}};$o.exports=Oo});var B=s(($b,Ro)=>{"use strict";var Ic=Vr(),Cc=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Oc=Object.prototype.toString,$c=Array.prototype.concat,Fo=Ze(),Fc=function(r){return typeof r=="function"&&Oc.call(r)==="[object Function]"},_o=Te()(),_c=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!Fc(n)||!n())return}_o?Fo(r,e,t,!0):Fo(r,e,t)},No=function(r,e){var t=arguments.length>2?arguments[2]:{},n=Ic(e);Cc&&(n=$c.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)_c(r,n[o],e[n[o]],t[n[o]])};No.supportsDescriptors=!!_o;Ro.exports=No});var ie=s((Fb,Lo)=>{"use strict";Lo.exports=Object});var Mo=s((_b,jo)=>{"use strict";jo.exports=Error});var Vo=s((Nb,Do)=>{"use strict";Do.exports=EvalError});var Br=s((Rb,Uo)=>{"use strict";Uo.exports=RangeError});var Jo=s((Lb,Bo)=>{"use strict";Bo.exports=ReferenceError});var Xo=s((jb,Wo)=>{"use strict";Wo.exports=URIError});var Jr=s((Mb,Go)=>{"use strict";Go.exports=Math.abs});var er=s((Db,Ho)=>{"use strict";Ho.exports=Math.floor});var Ko=s((Vb,zo)=>{"use strict";zo.exports=Math.max});var Yo=s((Ub,Qo)=>{"use strict";Qo.exports=Math.min});var ei=s((Bb,Zo)=>{"use strict";Zo.exports=Math.pow});var ti=s((Jb,ri)=>{"use strict";ri.exports=Math.round});var ae=s((Wb,ni)=>{"use strict";ni.exports=Number.isNaN||function(e){return e!==e}});var ii=s((Xb,oi)=>{"use strict";var Nc=ae();oi.exports=function(e){return Nc(e)||e===0?e:e<0?-1:1}});var rr=s((Gb,ai)=>{"use strict";ai.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},t=Symbol("test"),n=Object(t);if(typeof t=="string"||Object.prototype.toString.call(t)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var o=42;e[t]=o;for(var i in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(e,t);if(u.value!==o||u.enumerable!==!0)return!1}return!0}});var Wr=s((Hb,ui)=>{"use strict";var si=typeof Symbol<"u"&&Symbol,Rc=rr();ui.exports=function(){return typeof si!="function"||typeof Symbol!="function"||typeof si("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Rc()}});var Xr=s((zb,li)=>{"use strict";li.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Gr=s((Kb,pi)=>{"use strict";var Lc=ie();pi.exports=Lc.getPrototypeOf||null});var di=s((Qb,fi)=>{"use strict";var jc="Function.prototype.bind called on incompatible ",Mc=Object.prototype.toString,Dc=Math.max,Vc="[object Function]",ci=function(e,t){for(var n=[],o=0;o<e.length;o+=1)n[o]=e[o];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},Uc=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},Bc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};fi.exports=function(e){var t=this;if(typeof t!="function"||Mc.apply(t)!==Vc)throw new TypeError(jc+t);for(var n=Uc(arguments,1),o,i=function(){if(this instanceof o){var m=t.apply(this,ci(n,arguments));return Object(m)===m?m:this}return t.apply(e,ci(n,arguments))},a=Dc(0,t.length-n.length),u=[],c=0;c<a;c++)u[c]="$"+c;if(o=Function("binder","return function ("+Bc(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var p=function(){};p.prototype=t.prototype,o.prototype=new p,p.prototype=null}return o}});var se=s((Yb,mi)=>{"use strict";var Jc=di();mi.exports=Function.prototype.bind||Jc});var tr=s((Zb,yi)=>{"use strict";yi.exports=Function.prototype.call});var nr=s((eE,gi)=>{"use strict";gi.exports=Function.prototype.apply});var Si=s((rE,vi)=>{"use strict";vi.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var Hr=s((tE,hi)=>{"use strict";var Wc=se(),Xc=nr(),Gc=tr(),Hc=Si();hi.exports=Hc||Wc.call(Gc,Xc)});var qe=s((nE,bi)=>{"use strict";var zc=se(),Kc=h(),Qc=tr(),Yc=Hr();bi.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new Kc("a function is required");return Yc(zc,Qc,e)}});var Ai=s((oE,qi)=>{"use strict";var Zc=qe(),Ei=U(),wi;try{wi=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var zr=!!wi&&Ei&&Ei(Object.prototype,"__proto__"),Ti=Object,xi=Ti.getPrototypeOf;qi.exports=zr&&typeof zr.get=="function"?Zc([zr.get]):typeof xi=="function"?function(e){return xi(e==null?e:Ti(e))}:!1});var Oi=s((iE,Ci)=>{"use strict";var Pi=Xr(),ki=Gr(),Ii=Ai();Ci.exports=Pi?function(e){return Pi(e)}:ki?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return ki(e)}:Ii?function(e){return Ii(e)}:null});var J=s((aE,$i)=>{"use strict";var ef=Function.prototype.call,rf=Object.prototype.hasOwnProperty,tf=se();$i.exports=tf.call(ef,rf)});var I=s((sE,ji)=>{"use strict";var g,nf=ie(),of=Mo(),af=Vo(),sf=Br(),uf=Jo(),ce=we(),pe=h(),lf=Xo(),pf=Jr(),cf=er(),ff=Ko(),df=Yo(),mf=ei(),yf=ti(),gf=ii(),Ri=Function,Kr=function(r){try{return Ri('"use strict"; return ('+r+").constructor;")()}catch{}},Ae=U(),vf=ne(),Qr=function(){throw new pe},Sf=Ae?(function(){try{return arguments.callee,Qr}catch{try{return Ae(arguments,"callee").get}catch{return Qr}}})():Qr,ue=Wr()(),T=Oi(),hf=Gr(),bf=Xr(),Li=nr(),Pe=tr(),le={},Ef=typeof Uint8Array>"u"||!T?g:T(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?g:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?g:ArrayBuffer,"%ArrayIteratorPrototype%":ue&&T?T([][Symbol.iterator]()):g,"%AsyncFromSyncIteratorPrototype%":g,"%AsyncFunction%":le,"%AsyncGenerator%":le,"%AsyncGeneratorFunction%":le,"%AsyncIteratorPrototype%":le,"%Atomics%":typeof Atomics>"u"?g:Atomics,"%BigInt%":typeof BigInt>"u"?g:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?g:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?g:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?g:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":of,"%eval%":eval,"%EvalError%":af,"%Float16Array%":typeof Float16Array>"u"?g:Float16Array,"%Float32Array%":typeof Float32Array>"u"?g:Float32Array,"%Float64Array%":typeof Float64Array>"u"?g:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?g:FinalizationRegistry,"%Function%":Ri,"%GeneratorFunction%":le,"%Int8Array%":typeof Int8Array>"u"?g:Int8Array,"%Int16Array%":typeof Int16Array>"u"?g:Int16Array,"%Int32Array%":typeof Int32Array>"u"?g:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ue&&T?T(T([][Symbol.iterator]())):g,"%JSON%":typeof JSON=="object"?JSON:g,"%Map%":typeof Map>"u"?g:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ue||!T?g:T(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":nf,"%Object.getOwnPropertyDescriptor%":Ae,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?g:Promise,"%Proxy%":typeof Proxy>"u"?g:Proxy,"%RangeError%":sf,"%ReferenceError%":uf,"%Reflect%":typeof Reflect>"u"?g:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?g:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ue||!T?g:T(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?g:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ue&&T?T(""[Symbol.iterator]()):g,"%Symbol%":ue?Symbol:g,"%SyntaxError%":ce,"%ThrowTypeError%":Sf,"%TypedArray%":Ef,"%TypeError%":pe,"%Uint8Array%":typeof Uint8Array>"u"?g:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?g:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?g:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?g:Uint32Array,"%URIError%":lf,"%WeakMap%":typeof WeakMap>"u"?g:WeakMap,"%WeakRef%":typeof WeakRef>"u"?g:WeakRef,"%WeakSet%":typeof WeakSet>"u"?g:WeakSet,"%Function.prototype.call%":Pe,"%Function.prototype.apply%":Li,"%Object.defineProperty%":vf,"%Object.getPrototypeOf%":hf,"%Math.abs%":pf,"%Math.floor%":cf,"%Math.max%":ff,"%Math.min%":df,"%Math.pow%":mf,"%Math.round%":yf,"%Math.sign%":gf,"%Reflect.getPrototypeOf%":bf};if(T)try{null.error}catch(r){Fi=T(T(r)),Q["%Error.prototype%"]=Fi}var Fi,xf=function r(e){var t;if(e==="%AsyncFunction%")t=Kr("async function () {}");else if(e==="%GeneratorFunction%")t=Kr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Kr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&T&&(t=T(o.prototype))}return Q[e]=t,t},_i={__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"]},ke=se(),or=J(),wf=ke.call(Pe,Array.prototype.concat),Tf=ke.call(Li,Array.prototype.splice),Ni=ke.call(Pe,String.prototype.replace),ir=ke.call(Pe,String.prototype.slice),qf=ke.call(Pe,RegExp.prototype.exec),Af=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Pf=/\\(\\)?/g,kf=function(e){var t=ir(e,0,1),n=ir(e,-1);if(t==="%"&&n!=="%")throw new ce("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ce("invalid intrinsic syntax, expected opening `%`");var o=[];return Ni(e,Af,function(i,a,u,c){o[o.length]=u?Ni(c,Pf,"$1"):a||i}),o},If=function(e,t){var n=e,o;if(or(_i,n)&&(o=_i[n],n="%"+o[0]+"%"),or(Q,n)){var i=Q[n];if(i===le&&(i=xf(n)),typeof i>"u"&&!t)throw new pe("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ce("intrinsic "+e+" does not exist!")};ji.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new pe("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new pe('"allowMissing" argument must be a boolean');if(qf(/^%?[^%]*%?$/,e)===null)throw new ce("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=kf(e),o=n.length>0?n[0]:"",i=If("%"+o+"%",t),a=i.name,u=i.value,c=!1,p=i.alias;p&&(o=p[0],Tf(n,wf([0,1],p)));for(var m=1,l=!0;m<n.length;m+=1){var f=n[m],d=ir(f,0,1),y=ir(f,-1);if((d==='"'||d==="'"||d==="`"||y==='"'||y==="'"||y==="`")&&d!==y)throw new ce("property names with quotes must have matching quotes");if((f==="constructor"||!l)&&(c=!0),o+="."+f,a="%"+o+"%",or(Q,a))u=Q[a];else if(u!=null){if(!(f in u)){if(!t)throw new pe("base intrinsic for "+e+" exists, but the property is not available.");return}if(Ae&&m+1>=n.length){var v=Ae(u,f);l=!!v,l&&"get"in v&&!("originalValue"in v.get)?u=v.get:u=u[f]}else l=or(u,f),u=u[f];l&&!c&&(Q[a]=u)}}return u}});var Bi=s((uE,Ui)=>{"use strict";var Cf=I(),Mi=Ze(),Of=Te()(),Di=U(),Vi=h(),$f=Cf("%Math.floor%");Ui.exports=function(e,t){if(typeof e!="function")throw new Vi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||$f(t)!==t)throw new Vi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Di){var a=Di(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(Of?Mi(e,"length",t,!0,!0):Mi(e,"length",t)),e}});var Wi=s((lE,Ji)=>{"use strict";var Ff=se(),_f=nr(),Nf=Hr();Ji.exports=function(){return Nf(Ff,_f,arguments)}});var Ie=s((pE,ar)=>{"use strict";var Rf=Bi(),Xi=ne(),Lf=qe(),Gi=Wi();ar.exports=function(e){var t=Lf(arguments),n=1+e.length-(arguments.length-1);return Rf(t,n>0?n:0,!0)};Xi?Xi(ar.exports,"apply",{value:Gi}):ar.exports.apply=Gi});var Yr=s((cE,Hi)=>{"use strict";var jf=ae();Hi.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!jf(e)&&e!==1/0&&e!==-1/0}});var Zr=s((fE,zi)=>{"use strict";var Mf=Jr(),Df=er(),Vf=ae(),Uf=Yr();zi.exports=function(e){if(typeof e!="number"||Vf(e)||!Uf(e))return!1;var t=Mf(e);return Df(t)===t}});var O=s((dE,Ki)=>{"use strict";Ki.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Yi=s((mE,Qi)=>{"use strict";Qi.exports=4294967295});var ea=s((yE,Zi)=>{"use strict";Zi.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var ta=s((gE,ra)=>{"use strict";var Bf=ie();ra.exports=Bf.setPrototypeOf||null});var aa=s((vE,ia)=>{"use strict";var Jf=qe(),na=U(),Wf=h(),oa={};try{oa.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Xf=!("toString"in oa),et=na&&na(Object.prototype,"__proto__");ia.exports=Xf&&(!!et&&typeof et.set=="function"&&Jf([et.set])||function(e,t){if(e==null)throw new Wf("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var pa=s((SE,la)=>{"use strict";var sa=ea(),Gf=ta(),ua=aa(),Hf=h();la.exports=sa?function(e,t){if(sa(e,t))return e;throw new Hf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:Gf||(ua?function(e,t){return ua(e,t),e}:null)});var ma=s((hE,da)=>{"use strict";var zf=I(),ca=zf("%Array.prototype%"),Kf=Br(),Qf=we(),Yf=h(),Zf=Zr(),ed=Yi(),fa=pa();da.exports=function(e){if(!Zf(e)||e<0)throw new Yf("Assertion failed: `length` must be an integer Number >= 0");if(e>ed)throw new Kf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:ca,n=[];if(t!==ca){if(!fa)throw new Qf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");fa(n,t)}return e!==0&&(n.length=e),n}});var ga=s((bE,ya)=>{ya.exports=require("util").inspect});var La=s((EE,Ra)=>{var pt=typeof Map=="function"&&Map.prototype,rt=Object.getOwnPropertyDescriptor&&pt?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ur=pt&&rt&&typeof rt.get=="function"?rt.get:null,va=pt&&Map.prototype.forEach,ct=typeof Set=="function"&&Set.prototype,tt=Object.getOwnPropertyDescriptor&&ct?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,lr=ct&&tt&&typeof tt.get=="function"?tt.get:null,Sa=ct&&Set.prototype.forEach,rd=typeof WeakMap=="function"&&WeakMap.prototype,Oe=rd?WeakMap.prototype.has:null,td=typeof WeakSet=="function"&&WeakSet.prototype,$e=td?WeakSet.prototype.has:null,nd=typeof WeakRef=="function"&&WeakRef.prototype,ha=nd?WeakRef.prototype.deref:null,od=Boolean.prototype.valueOf,id=Object.prototype.toString,ad=Function.prototype.toString,sd=String.prototype.match,ft=String.prototype.slice,W=String.prototype.replace,ud=String.prototype.toUpperCase,ba=String.prototype.toLowerCase,Ia=RegExp.prototype.test,Ea=Array.prototype.concat,F=Array.prototype.join,ld=Array.prototype.slice,xa=Math.floor,it=typeof BigInt=="function"?BigInt.prototype.valueOf:null,nt=Object.getOwnPropertySymbols,at=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,fe=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Fe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===fe||!0)?Symbol.toStringTag:null,Ca=Object.prototype.propertyIsEnumerable,wa=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function Ta(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||Ia.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-xa(-r):xa(r);if(n!==r){var o=String(n),i=ft.call(e,o.length+1);return W.call(o,t,"$&_")+"."+W.call(W.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return W.call(e,t,"$&_")}var st=ga(),qa=st.custom,Aa=Fa(qa)?qa:null,Oa={__proto__:null,double:'"',single:"'"},pd={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};Ra.exports=function r(e,t,n,o){var i=t||{};if(R(i,"quoteStyle")&&!R(Oa,i.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if(R(i,"maxStringLength")&&(typeof i.maxStringLength=="number"?i.maxStringLength<0&&i.maxStringLength!==1/0:i.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var a=R(i,"customInspect")?i.customInspect:!0;if(typeof a!="boolean"&&a!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(R(i,"indent")&&i.indent!==null&&i.indent!==" "&&!(parseInt(i.indent,10)===i.indent&&i.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(R(i,"numericSeparator")&&typeof i.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var u=i.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return Na(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var c=String(e);return u?Ta(e,c):c}if(typeof e=="bigint"){var p=String(e)+"n";return u?Ta(e,p):p}var m=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof e=="object")return ut(e)?"[Array]":"[Object]";var l=kd(i,n);if(typeof o>"u")o=[];else if(_a(o,e)>=0)return"[Circular]";function f(ee,Be,ac){if(Be&&(o=ld.call(o),o.push(Be)),ac){var Gn={depth:i.depth};return R(i,"quoteStyle")&&(Gn.quoteStyle=i.quoteStyle),r(ee,Gn,n+1,o)}return r(ee,i,n+1,o)}if(typeof e=="function"&&!Pa(e)){var d=hd(e),y=sr(e,f);return"[Function"+(d?": "+d:" (anonymous)")+"]"+(y.length>0?" { "+F.call(y,", ")+" }":"")}if(Fa(e)){var v=fe?W.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):at.call(e);return typeof e=="object"&&!fe?Ce(v):v}if(qd(e)){for(var A="<"+ba.call(String(e.nodeName)),P=e.attributes||[],M=0;M<P.length;M++)A+=" "+P[M].name+"="+$a(cd(P[M].value),"double",i);return A+=">",e.childNodes&&e.childNodes.length&&(A+="..."),A+="</"+ba.call(String(e.nodeName))+">",A}if(ut(e)){if(e.length===0)return"[]";var w=sr(e,f);return l&&!Pd(w)?"["+lt(w,l)+"]":"[ "+F.call(w,", ")+" ]"}if(dd(e)){var k=sr(e,f);return!("cause"in Error.prototype)&&"cause"in e&&!Ca.call(e,"cause")?"{ ["+String(e)+"] "+F.call(Ea.call("[cause]: "+f(e.cause),k),", ")+" }":k.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+F.call(k,", ")+" }"}if(typeof e=="object"&&a){if(Aa&&typeof e[Aa]=="function"&&st)return st(e,{depth:m-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(bd(e)){var Se=[];return va&&va.call(e,function(ee,Be){Se.push(f(Be,e,!0)+" => "+f(ee,e))}),ka("Map",ur.call(e),Se,l)}if(wd(e)){var Jn=[];return Sa&&Sa.call(e,function(ee){Jn.push(f(ee,e))}),ka("Set",lr.call(e),Jn,l)}if(Ed(e))return ot("WeakMap");if(Td(e))return ot("WeakSet");if(xd(e))return ot("WeakRef");if(yd(e))return Ce(f(Number(e)));if(vd(e))return Ce(f(it.call(e)));if(gd(e))return Ce(od.call(e));if(md(e))return Ce(f(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof global<"u"&&e===global)return"{ [object globalThis] }";if(!fd(e)&&!Pa(e)){var kr=sr(e,f),Wn=wa?wa(e)===Object.prototype:e instanceof Object||e.constructor===Object,Ir=e instanceof Object?"":"null prototype",Xn=!Wn&&Fe&&Object(e)===e&&Fe in e?ft.call(X(e),8,-1):Ir?"Object":"",ic=Wn||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Cr=ic+(Xn||Ir?"["+F.call(Ea.call([],Xn||[],Ir||[]),": ")+"] ":"");return kr.length===0?Cr+"{}":l?Cr+"{"+lt(kr,l)+"}":Cr+"{ "+F.call(kr,", ")+" }"}return String(e)};function $a(r,e,t){var n=t.quoteStyle||e,o=Oa[n];return o+r+o}function cd(r){return W.call(String(r),/"/g,"&quot;")}function Y(r){return!Fe||!(typeof r=="object"&&(Fe in r||typeof r[Fe]<"u"))}function ut(r){return X(r)==="[object Array]"&&Y(r)}function fd(r){return X(r)==="[object Date]"&&Y(r)}function Pa(r){return X(r)==="[object RegExp]"&&Y(r)}function dd(r){return X(r)==="[object Error]"&&Y(r)}function md(r){return X(r)==="[object String]"&&Y(r)}function yd(r){return X(r)==="[object Number]"&&Y(r)}function gd(r){return X(r)==="[object Boolean]"&&Y(r)}function Fa(r){if(fe)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!at)return!1;try{return at.call(r),!0}catch{}return!1}function vd(r){if(!r||typeof r!="object"||!it)return!1;try{return it.call(r),!0}catch{}return!1}var Sd=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return Sd.call(r,e)}function X(r){return id.call(r)}function hd(r){if(r.name)return r.name;var e=sd.call(ad.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function _a(r,e){if(r.indexOf)return r.indexOf(e);for(var t=0,n=r.length;t<n;t++)if(r[t]===e)return t;return-1}function bd(r){if(!ur||!r||typeof r!="object")return!1;try{ur.call(r);try{lr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function Ed(r){if(!Oe||!r||typeof r!="object")return!1;try{Oe.call(r,Oe);try{$e.call(r,$e)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function xd(r){if(!ha||!r||typeof r!="object")return!1;try{return ha.call(r),!0}catch{}return!1}function wd(r){if(!lr||!r||typeof r!="object")return!1;try{lr.call(r);try{ur.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function Td(r){if(!$e||!r||typeof r!="object")return!1;try{$e.call(r,$e);try{Oe.call(r,Oe)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function qd(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function Na(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return Na(ft.call(r,0,e.maxStringLength),e)+n}var o=pd[e.quoteStyle||"single"];o.lastIndex=0;var i=W.call(W.call(r,o,"\\$1"),/[\x00-\x1f]/g,Ad);return $a(i,"single",e)}function Ad(r){var e=r.charCodeAt(0),t={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return t?"\\"+t:"\\x"+(e<16?"0":"")+ud.call(e.toString(16))}function Ce(r){return"Object("+r+")"}function ot(r){return r+" { ? }"}function ka(r,e,t,n){var o=n?lt(t,n):F.call(t,", ");return r+" ("+e+") {"+o+"}"}function Pd(r){for(var e=0;e<r.length;e++)if(_a(r[e],`
2
+ `)>=0)return!1;return!0}function kd(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=F.call(Array(r.indent+1)," ");else return null;return{base:t,prev:F.call(Array(e+1),t)}}function lt(r,e){if(r.length===0)return"";var t=`
3
+ `+e.prev+e.base;return t+F.call(r,","+t)+`
4
+ `+e.prev}function sr(r,e){var t=ut(r),n=[];if(t){n.length=r.length;for(var o=0;o<r.length;o++)n[o]=R(r,o)?e(r[o],r):""}var i=typeof nt=="function"?nt(r):[],a;if(fe){a={};for(var u=0;u<i.length;u++)a["$"+i[u]]=i[u]}for(var c in r)R(r,c)&&(t&&String(Number(c))===c&&c<r.length||fe&&a["$"+c]instanceof Symbol||(Ia.call(/[^\w$]/,c)?n.push(e(c,r)+": "+e(r[c],r)):n.push(c+": "+e(r[c],r))));if(typeof nt=="function")for(var p=0;p<i.length;p++)Ca.call(r,i[p])&&n.push("["+e(i[p])+"]: "+e(r[i[p]],r));return n}});var G=s((xE,ja)=>{"use strict";ja.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var _e=s((wE,Da)=>{"use strict";var Ma=h(),Id=La(),Cd=G(),Od=O();Da.exports=function(e,t){if(!Od(e))throw new Ma("Assertion failed: Type(O) is not Object");if(!Cd(t))throw new Ma("Assertion failed: P is not a Property Key, got "+Id(t));return e[t]}});var C=s((TE,Ba)=>{"use strict";var Va=I(),Ua=qe(),$d=Ua([Va("%String.prototype.indexOf%")]);Ba.exports=function(e,t){var n=Va(e,!!t);return typeof n=="function"&&$d(e,".prototype.")>-1?Ua([n]):n}});var dt=s((qE,Wa)=>{"use strict";var Fd=I(),Ja=Fd("%Array%"),_d=!Ja.isArray&&C()("Object.prototype.toString");Wa.exports=Ja.isArray||function(e){return _d(e)==="[object Array]"}});var pr=s((AE,Xa)=>{"use strict";Xa.exports=dt()});var Ha=s((PE,Ga)=>{"use strict";Ga.exports=I()});var L=s((kE,za)=>{"use strict";var Nd=h(),Ne=J(),Rd={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};za.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(Ne(e,t)&&!Rd[t])return!1;var n=Ne(e,"[[Value]]")||Ne(e,"[[Writable]]"),o=Ne(e,"[[Get]]")||Ne(e,"[[Set]]");if(n&&o)throw new Nd("Property Descriptors may not be both accessor and data descriptors");return!0}});var mt=s((IE,Ya)=>{"use strict";var Ld=Te(),Ka=ne(),Qa=Ld.hasArrayLengthDefineBug(),jd=Qa&&dt(),Md=C(),Dd=Md("Object.prototype.propertyIsEnumerable");Ya.exports=function(e,t,n,o,i,a){if(!Ka){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&Dd(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return Qa&&i==="length"&&"[[Value]]"in a&&jd(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Ka(o,i,n(a)),!0)}});var es=s((CE,Za)=>{"use strict";Za.exports=function(e){if(typeof e>"u")return e;var t={};return"[[Value]]"in e&&(t.value=e["[[Value]]"]),"[[Writable]]"in e&&(t.writable=!!e["[[Writable]]"]),"[[Get]]"in e&&(t.get=e["[[Get]]"]),"[[Set]]"in e&&(t.set=e["[[Set]]"]),"[[Enumerable]]"in e&&(t.enumerable=!!e["[[Enumerable]]"]),"[[Configurable]]"in e&&(t.configurable=!!e["[[Configurable]]"]),t}});var yt=s((OE,rs)=>{"use strict";var Vd=h(),Ud=L(),Bd=es();rs.exports=function(e){if(typeof e<"u"&&!Ud(e))throw new Vd("Assertion failed: `Desc` must be a Property Descriptor");return Bd(e)}});var cr=s(($E,ns)=>{"use strict";var Jd=h(),ts=J(),Wd=L();ns.exports=function(e){if(typeof e>"u")return!1;if(!Wd(e))throw new Jd("Assertion failed: `Desc` must be a Property Descriptor");return!(!ts(e,"[[Value]]")&&!ts(e,"[[Writable]]"))}});var fr=s((FE,is)=>{"use strict";var os=ae();is.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:os(e)&&os(t)}});var bt=s((_E,us)=>{"use strict";var ss=Function.prototype.toString,de=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,vt,dr;if(typeof de=="function"&&typeof Object.defineProperty=="function")try{vt=Object.defineProperty({},"length",{get:function(){throw dr}}),dr={},de(function(){throw 42},null,vt)}catch(r){r!==dr&&(de=null)}else de=null;var Xd=/^\s*class\b/,St=function(e){try{var t=ss.call(e);return Xd.test(t)}catch{return!1}},gt=function(e){try{return St(e)?!1:(ss.call(e),!0)}catch{return!1}},mr=Object.prototype.toString,Gd="[object Object]",Hd="[object Function]",zd="[object GeneratorFunction]",Kd="[object HTMLAllCollection]",Qd="[object HTML document.all class]",Yd="[object HTMLCollection]",Zd=typeof Symbol=="function"&&!!Symbol.toStringTag,em=!(0 in[,]),ht=function(){return!1};typeof document=="object"&&(as=document.all,mr.call(as)===mr.call(document.all)&&(ht=function(e){if((em||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=mr.call(e);return(t===Kd||t===Qd||t===Yd||t===Gd)&&e("")==null}catch{}return!1}));var as;us.exports=de?function(e){if(ht(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{de(e,null,vt)}catch(t){if(t!==dr)return!1}return!St(e)&&gt(e)}:function(e){if(ht(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Zd)return gt(e);if(St(e))return!1;var t=mr.call(e);return t!==Hd&&t!==zd&&!/^\[object HTML/.test(t)?!1:gt(e)}});var ps=s((NE,ls)=>{"use strict";ls.exports=bt()});var fs=s((RE,cs)=>{"use strict";cs.exports=function(e){return!!e}});var xt=s((LE,ms)=>{"use strict";var _=J(),yr=h(),rm=O(),ds=ps(),Et=fs();ms.exports=function(e){if(!rm(e))throw new yr("ToPropertyDescriptor requires an object");var t={};if(_(e,"enumerable")&&(t["[[Enumerable]]"]=Et(e.enumerable)),_(e,"configurable")&&(t["[[Configurable]]"]=Et(e.configurable)),_(e,"value")&&(t["[[Value]]"]=e.value),_(e,"writable")&&(t["[[Writable]]"]=Et(e.writable)),_(e,"get")){var n=e.get;if(typeof n<"u"&&!ds(n))throw new yr("getter must be a function");t["[[Get]]"]=n}if(_(e,"set")){var o=e.set;if(typeof o<"u"&&!ds(o))throw new yr("setter must be a function");t["[[Set]]"]=o}if((_(t,"[[Get]]")||_(t,"[[Set]]"))&&(_(t,"[[Value]]")||_(t,"[[Writable]]")))throw new yr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var vs=s((jE,gs)=>{"use strict";var wt=h(),tm=O(),ys=L(),nm=mt(),om=yt(),im=cr(),am=G(),sm=fr(),um=xt();gs.exports=function(e,t,n){if(!tm(e))throw new wt("Assertion failed: Type(O) is not Object");if(!am(t))throw new wt("Assertion failed: P is not a Property Key");var o=ys(n)?n:um(n);if(!ys(o))throw new wt("Assertion failed: Desc is not a valid Property Descriptor");return nm(im,sm,om,e,t,o)}});var hs=s((ME,At)=>{"use strict";var lm=Ha(),Ss=lm("%Reflect.construct%",!0),gr=vs();try{gr({},"",{"[[Get]]":function(){}})}catch{gr=null}gr&&Ss?(Tt={},qt={},gr(qt,"length",{"[[Get]]":function(){throw Tt},"[[Enumerable]]":!0}),At.exports=function(e){try{Ss(e,qt)}catch(t){return t===Tt}}):At.exports=function(e){return typeof e=="function"&&!!e.prototype};var Tt,qt});var qs=s((DE,Ts)=>{"use strict";var pm=I(),bs=pm("%Symbol.species%",!0),Es=h(),cm=Zr(),fm=O(),xs=ma(),ws=_e(),dm=pr(),mm=hs();Ts.exports=function(e,t){if(!cm(t)||t<0)throw new Es("Assertion failed: length must be an integer >= 0");var n=dm(e);if(!n)return xs(t);var o=ws(e,"constructor");if(bs&&fm(o)&&(o=ws(o,bs),o===null&&(o=void 0)),typeof o>"u")return xs(t);if(!mm(o))throw new Es("C must be a constructor");return new o(t)}});var Pt=s((VE,As)=>{"use strict";As.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var ks=s((UE,Ps)=>{"use strict";var ym=I(),gm=C(),vm=h(),Sm=pr(),hm=ym("%Reflect.apply%",!0)||gm("Function.prototype.apply");Ps.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!Sm(n))throw new vm("Assertion failed: optional `argumentsList`, if provided, must be a List");return hm(e,t,n)}});var vr=s((BE,Cs)=>{"use strict";var bm=h(),Is=J(),Em=L();Cs.exports=function(e){if(typeof e>"u")return!1;if(!Em(e))throw new bm("Assertion failed: `Desc` must be a Property Descriptor");return!(!Is(e,"[[Get]]")&&!Is(e,"[[Set]]"))}});var kt=s((JE,Os)=>{"use strict";Os.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Ns=s((WE,_s)=>{"use strict";var Fs=I(),xm=Fs("%Object.preventExtensions%",!0),wm=Fs("%Object.isExtensible%",!0),$s=kt();_s.exports=xm?function(e){return!$s(e)&&wm(e)}:function(e){return!$s(e)}});var Ls=s((XE,Rs)=>{"use strict";var Tm=L();Rs.exports=function(e,t){return Tm(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Ms=s((GE,js)=>{"use strict";var qm=h(),Am=vr(),Pm=cr(),km=L();js.exports=function(e){if(typeof e>"u")return!1;if(!km(e))throw new qm("Assertion failed: `Desc` must be a Property Descriptor");return!Am(e)&&!Pm(e)}});var Us=s((HE,Vs)=>{"use strict";var me=h(),Im=O(),Re=mt(),Cm=Ls(),Ds=L(),Le=yt(),Z=vr(),H=cr(),Om=Ms(),$m=G(),N=fr();Vs.exports=function(e,t,n,o,i){if(typeof e<"u"&&!Im(e))throw new me("Assertion failed: O must be undefined or an Object");if(!$m(t))throw new me("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new me("Assertion failed: extensible must be a Boolean");if(!Ds(o))throw new me("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Ds(i))throw new me("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:Z(o)?Re(H,N,Le,e,t,o):Re(H,N,Le,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Cm({IsAccessorDescriptor:Z,IsDataDescriptor:H},i))throw new me("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!N(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Om(o)&&!N(Z(o),Z(i)))return!1;if(Z(i)){if("[[Get]]"in o&&!N(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!N(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!N(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,u;return H(i)&&Z(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Re(H,N,Le,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):Z(i)&&H(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Re(H,N,Le,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Re(H,N,Le,e,t,o)}return!0}});var Xs=s((zE,Ws)=>{"use strict";var Bs=U(),Js=we(),It=h(),Fm=O(),_m=L(),Nm=vr(),Rm=Ns(),Lm=G(),jm=xt(),Mm=fr(),Dm=Us();Ws.exports=function(e,t,n){if(!Fm(e))throw new It("Assertion failed: O must be an Object");if(!Lm(t))throw new It("Assertion failed: P must be a Property Key");if(!_m(n))throw new It("Assertion failed: Desc must be a Property Descriptor");if(!Bs){if(Nm(n))throw new Js("This environment does not support accessor property descriptors.");var o=!(t in e)&&n["[[Writable]]"]&&n["[[Enumerable]]"]&&n["[[Configurable]]"]&&"[[Value]]"in n,i=t in e&&(!("[[Configurable]]"in n)||n["[[Configurable]]"])&&(!("[[Enumerable]]"in n)||n["[[Enumerable]]"])&&(!("[[Writable]]"in n)||n["[[Writable]]"])&&"[[Value]]"in n;if(o||i)return e[t]=n["[[Value]]"],Mm(e[t],n["[[Value]]"]);throw new Js("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Bs(e,t),u=a&&jm(a),c=Rm(e);return Dm(e,t,c,n,u)}});var zs=s((KE,Hs)=>{"use strict";var Gs=h(),Vm=O(),Um=G(),Bm=Xs();Hs.exports=function(e,t,n){if(!Vm(e))throw new Gs("Assertion failed: Type(O) is not Object");if(!Um(t))throw new Gs("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return Bm(e,t,o)}});var Qs=s((QE,Ks)=>{"use strict";var Ct=h(),Jm=O(),Wm=zs(),Xm=G();Ks.exports=function(e,t,n){if(!Jm(e))throw new Ct("Assertion failed: Type(O) is not Object");if(!Xm(t))throw new Ct("Assertion failed: P is not a Property Key");var o=Wm(e,t,n);if(!o)throw new Ct("unable to create data property")}});var eu=s((YE,Zs)=>{"use strict";var Ys=h(),Gm=O(),Hm=G();Zs.exports=function(e,t){if(!Gm(e))throw new Ys("Assertion failed: `O` must be an Object");if(!Hm(t))throw new Ys("Assertion failed: `P` must be a Property Key");return t in e}});var tu=s((ZE,ru)=>{"use strict";ru.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var Ot=s((ex,nu)=>{"use strict";var zm=rr();nu.exports=function(){return zm()&&!!Symbol.toStringTag}});var au=s((rx,iu)=>{"use strict";var ou=C(),Km=ou("Date.prototype.getDay"),Qm=function(e){try{return Km(e),!0}catch{return!1}},Ym=ou("Object.prototype.toString"),Zm="[object Date]",ey=Ot()();iu.exports=function(e){return typeof e!="object"||e===null?!1:ey?Qm(e):Ym(e)===Zm}});var fu=s((tx,cu)=>{"use strict";var su=C(),ry=Ot()(),ty=J(),ny=U(),_t;ry?(uu=su("RegExp.prototype.exec"),$t={},Sr=function(){throw $t},Ft={toString:Sr,valueOf:Sr},typeof Symbol.toPrimitive=="symbol"&&(Ft[Symbol.toPrimitive]=Sr),_t=function(e){if(!e||typeof e!="object")return!1;var t=ny(e,"lastIndex"),n=t&&ty(t,"value");if(!n)return!1;try{uu(e,Ft)}catch(o){return o===$t}}):(lu=su("Object.prototype.toString"),pu="[object RegExp]",_t=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:lu(e)===pu});var uu,$t,Sr,Ft,lu,pu;cu.exports=_t});var Nt=s((nx,du)=>{"use strict";var oy=C(),iy=fu(),ay=oy("RegExp.prototype.exec"),sy=h();du.exports=function(e){if(!iy(e))throw new sy("`regex` must be a RegExp");return function(n){return ay(e,n)!==null}}});var Su=s((ox,Rt)=>{"use strict";var vu=C(),uy=vu("Object.prototype.toString"),ly=Wr()(),py=Nt();ly?(mu=vu("Symbol.prototype.toString"),yu=py(/^Symbol\(.*\)$/),gu=function(e){return typeof e.valueOf()!="symbol"?!1:yu(mu(e))},Rt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||uy(e)!=="[object Symbol]")return!1;try{return gu(e)}catch{return!1}}):Rt.exports=function(e){return!1};var mu,yu,gu});var xu=s((ix,Eu)=>{"use strict";var cy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",Lt=tu(),bu=bt(),fy=au(),hu=Su(),dy=function(e,t){if(typeof e>"u"||e===null)throw new TypeError("Cannot call method on "+e);if(typeof t!="string"||t!=="number"&&t!=="string")throw new TypeError('hint must be "string" or "number"');var n=t==="string"?["toString","valueOf"]:["valueOf","toString"],o,i,a;for(a=0;a<n.length;++a)if(o=e[n[a]],bu(o)&&(i=o.call(e),Lt(i)))return i;throw new TypeError("No default value")},my=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!bu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};Eu.exports=function(e){if(Lt(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(cy&&(Symbol.toPrimitive?n=my(e,Symbol.toPrimitive):hu(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(Lt(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(fy(e)||hu(e))&&(t="string"),dy(e,t==="default"?"number":t)}});var qu=s((ax,Tu)=>{"use strict";var wu=xu();Tu.exports=function(e){return arguments.length>1?wu(e,arguments[1]):wu(e)}});var je=s((sx,Au)=>{"use strict";var yy=h();Au.exports=function(e){if(e==null)throw new yy(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var jt=s((ux,Pu)=>{"use strict";var gy=I(),vy=gy("%String%"),Sy=h();Pu.exports=function(e){if(typeof e=="symbol")throw new Sy("Cannot convert a Symbol value to a string");return vy(e)}});var Mt=s((lx,Cu)=>{"use strict";var hy=je(),by=jt(),Ey=C(),ku=Ey("String.prototype.replace"),Iu=/^\s$/.test("\u180E"),xy=Iu?/^[\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]+/,wy=Iu?/[\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]+$/;Cu.exports=function(){var e=by(hy(this));return ku(ku(e,xy,""),wy,"")}});var Dt=s((px,$u)=>{"use strict";var Ty=Mt(),Ou="\u200B",ye="\u180E";$u.exports=function(){return String.prototype.trim&&Ou.trim()===Ou&&ye.trim()===ye&&("_"+ye).trim()==="_"+ye&&(ye+"_").trim()===ye+"_"?String.prototype.trim:Ty}});var Nu=s((cx,_u)=>{"use strict";var qy=Te()(),Fu=Ze(),Ay=Dt();_u.exports=function(){var e=Ay();return String.prototype.trim!==e&&(qy?Fu(String.prototype,"trim",e,!0):Fu(String.prototype,"trim",e)),e}});var Mu=s((fx,ju)=>{"use strict";var Py=Ie(),ky=B(),Iy=je(),Cy=Mt(),Ru=Dt(),Oy=Nu(),$y=Py(Ru()),Lu=function(e){return Iy(e),$y(e)};ky(Lu,{getPolyfill:Ru,implementation:Cy,shim:Oy});ju.exports=Lu});var Ju=s((dx,Bu)=>{"use strict";var Uu=I(),Fy=Uu("%RegExp%"),_y=h(),Du=Uu("%parseInt%"),Ny=C(),hr=Nt(),Vu=Ny("String.prototype.slice"),Ry=hr(/^0b[01]+$/i),Ly=hr(/^0o[0-7]+$/i),jy=hr(/^[-+]0x[0-9a-f]+$/i),My=["\x85","\u200B","\uFFFE"].join(""),Dy=new Fy("["+My+"]","g"),Vy=hr(Dy),Uy=Mu();Bu.exports=function r(e){if(typeof e!="string")throw new _y("Assertion failed: `argument` is not a String");if(Ry(e))return+Du(Vu(e,2),2);if(Ly(e))return+Du(Vu(e,2),8);if(Vy(e)||jy(e))return NaN;var t=Uy(e);return t!==e?r(t):+e}});var Gu=s((mx,Xu)=>{"use strict";var By=I(),Wu=h(),Jy=By("%Number%"),Wy=kt(),Xy=qu(),Gy=Ju();Xu.exports=function(e){var t=Wy(e)?e:Xy(e,Jy);if(typeof t=="symbol")throw new Wu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Wu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?Gy(t):+t}});var zu=s((yx,Hu)=>{"use strict";var Hy=er();Hu.exports=function(e){return typeof e=="bigint"?e:Hy(e)}});var Yu=s((gx,Qu)=>{"use strict";var Ku=zu(),zy=h();Qu.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new zy("argument must be a Number or a BigInt");var t=e<0?-Ku(-e):Ku(e);return t===0?0:t}});var Vt=s((vx,Zu)=>{"use strict";var Ky=Gu(),Qy=Yu(),Yy=ae(),Zy=Yr();Zu.exports=function(e){var t=Ky(e);return Yy(t)||t===0?0:Zy(t)?Qy(t):t}});var Ut=s((Sx,rl)=>{"use strict";var el=Pt(),eg=Vt();rl.exports=function(e){var t=eg(e);return t<=0?0:t>el?el:t}});var nl=s((hx,tl)=>{"use strict";var rg=h(),tg=O(),ng=_e(),og=Ut();tl.exports=function(e){if(!tg(e))throw new rg("Assertion failed: `obj` must be an Object");return og(ng(e,"length"))}});var sl=s((bx,al)=>{"use strict";var ol=h(),ig=Pt(),ag=ks(),sg=Qs(),ug=_e(),lg=eu(),pg=pr(),cg=nl(),il=jt();al.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var u=o,c=0;c<n;){var p=il(c),m=lg(t,p);if(m===!0){var l=ug(t,p);if(typeof a<"u"){if(arguments.length<=6)throw new ol("Assertion failed: thisArg is required when mapperFunction is provided");l=ag(a,arguments[6],[l,c,t])}var f=!1;if(i>0&&(f=pg(l)),f){var d=cg(l);u=r(e,l,d,u,i-1)}else{if(u>=ig)throw new ol("index too large");sg(e,il(u),l),u+=1}}c+=1}return u}});var ll=s((Ex,ul)=>{"use strict";var fg=ie(),dg=je();ul.exports=function(e){return dg(e),fg(e)}});var cl=s((xx,pl)=>{"use strict";pl.exports=ll()});var Bt=s((wx,fl)=>{"use strict";var mg=qs(),yg=sl(),gg=_e(),vg=Vt(),Sg=Ut(),hg=cl();fl.exports=function(){var e=hg(this),t=Sg(gg(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=vg(arguments[0]));var o=mg(e,0);return yg(o,e,t,0,n),o}});var Jt=s((Tx,dl)=>{"use strict";var bg=Bt();dl.exports=function(){return Array.prototype.flat||bg}});var Sl=s((qx,vl)=>{"use strict";var Eg=J(),gl=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",ml=gl&&Array.prototype[Symbol.unscopables],yl=TypeError;vl.exports=function(e){if(typeof e!="string"||!e)throw new yl("method must be a non-empty string");if(!Eg(Array.prototype,e))throw new yl("method must be on Array.prototype");gl&&ml&&(ml[e]=!0)}});var bl=s((Ax,hl)=>{"use strict";var xg=B(),wg=Sl(),Tg=Jt();hl.exports=function(){var e=Tg();return xg(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),wg("flat"),e}});var Tl=s((Px,wl)=>{"use strict";var qg=B(),Ag=Ie(),Pg=Bt(),El=Jt(),kg=El(),Ig=bl(),xl=Ag(kg);qg(xl,{getPolyfill:El,implementation:Pg,shim:Ig});wl.exports=xl});var Wt=s((kx,ql)=>{"use strict";var Cg=je(),Og=C(),$g=Og("Object.prototype.propertyIsEnumerable");ql.exports=function(e){var t=Cg(e),n=[];for(var o in t)$g(t,o)&&(n[n.length]=t[o]);return n}});var Xt=s((Ix,Al)=>{"use strict";var Fg=Wt();Al.exports=function(){return typeof Object.values=="function"?Object.values:Fg}});var kl=s((Cx,Pl)=>{"use strict";var _g=Xt(),Ng=B();Pl.exports=function(){var e=_g();return Ng(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var $l=s((Ox,Ol)=>{"use strict";var Rg=B(),Lg=Ie(),jg=Wt(),Il=Xt(),Mg=kl(),Cl=Lg(Il(),Object);Rg(Cl,{getPolyfill:Il,implementation:jg,shim:Mg});Ol.exports=Cl});var Nl=s(Me=>{"use strict";Object.defineProperty(Me,"__esModule",{value:!0});Me.eventHandlersByType=void 0;var Dg=Tl(),Vg=Fl(Dg),Ug=$l(),Bg=Fl(Ug);function Fl(r){return r&&r.__esModule?r:{default:r}}var _l={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"]};Me.default=(0,Vg.default)((0,Bg.default)(_l));Me.eventHandlersByType=_l});var Ll=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});var Jg=(function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var u=e[Symbol.iterator](),c;!(o=(c=u.next()).done)&&(n.push(c.value),!(t&&n.length===t));o=!0);}catch(p){i=!0,a=p}finally{try{!o&&u.return&&u.return()}finally{if(i)throw a}}return n}return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return r(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})(),ge=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};Ht.default=zg;var Wg=He(),Xg=Gg(Wg);function Gg(r){return r&&r.__esModule?r:{default:r}}function Rl(r,e){var t={};for(var n in r)e.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n]);return t}var Hg={ignoreCase:!0};function zg(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Hg;function n(u){return t.ignoreCase?u.toUpperCase():u}var o=n(e);function i(u){return u.type==="Property"&&u.key.type==="Identifier"&&o===n(u.key.name)}var a=r.find(function(u){return u.type==="JSXSpreadAttribute"?u.argument.type==="ObjectExpression"&&o!==n("key")&&u.argument.properties.some(i):o===n((0,Xg.default)(u))});return a&&a.type==="JSXSpreadAttribute"?Kg(a.argument.properties.find(i)):a}function Kg(r){var e=r.key,t=r.value;return ge({type:"JSXAttribute",name:ge({type:"JSXIdentifier",name:e.name},Gt(e)),value:t.type==="Literal"?De(t):ge({type:"JSXExpressionContainer",expression:Qg(t)},Gt(t))},Gt(r))}function De(r){var e=r.range||[r.start,r.end],t=Jg(e,2),n=t[0],o=t[1];return ge({},r,{end:void 0,range:[n,o],start:void 0})}function Qg(r){var e=r.expressions,t=r.quasis,n=Rl(r,["expressions","quasis"]);return ge({},De(n),e?{expressions:e.map(De)}:{},t?{quasis:t.map(De)}:{})}function Gt(r){var e=r.loc,t=Rl(r,["loc"]),n=De(t),o=n.range;return{loc:Yg(e),range:o}}function Yg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return ge({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Kt=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=Zg;function Zg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Yt=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=ev;function ev(r){var e=br().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var en=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=rv;function rv(r){return r.raw}});var tn=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=tv;function tv(r){var e=br().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Ml=s(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=nv;var jl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function nv(r){var e=r.name;return Object.hasOwnProperty.call(jl,e)?jl[e]:e}});var an=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=iv;function ov(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function iv(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(ov).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var u=a.raw,c=o.name;return i==="TemplateElement"?u:i==="Identifier"?c==="undefined"?c:"{"+c+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var Dl=s(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=lv;var av=an(),sv=uv(av);function uv(r){return r&&r.__esModule?r:{default:r}}function lv(r){return(0,sv.default)(r.quasi)}});var Vl=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=pv;function pv(r){return function(){return r}}});var Ul=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=cv;function cv(r){var e=q().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);return t==="&&"?i&&a:t==="??"?i===null||typeof i>"u"?a:i:i||a}});var Bl=s(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=fv;function fv(r){var e=q().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Jl=s(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=dv;function dv(r){var e=q().default;return e(r.expression||r)}});var Wl=s(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=mv;function mv(r){var e=q().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Xl=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=yv;function yv(r){var e=q().default;return e(r.object)+"?."+e(r.property)}});var yn=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=gv;function gv(r){var e=q().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var Gl=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=vv;function vv(r){var e=q().default,t=r.operator,n=r.argument;switch(t){case"-":return-e(n);case"+":return+e(n);case"!":return!e(n);case"~":return~e(n);case"delete":return!0;default:return}}});var Sn=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=Sv;function Sv(){return"this"}});var Hl=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=hv;function hv(r){var e=q().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var zl=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=bv;function bv(r){var e=q().default,t=r.operator,n=r.left,o=r.right,i=e(n),a=e(o);switch(t){case"==":return i==a;case"!=":return i!=a;case"===":return i===a;case"!==":return i!==a;case"<":return i<a;case"<=":return i<=a;case">":return i>a;case">=":return i>=a;case"<<":return i<<a;case">>":return i>>a;case">>>":return i>>>a;case"+":return i+a;case"-":return i-a;case"*":return i*a;case"/":return i/a;case"%":return i%a;case"|":return i|a;case"^":return i^a;case"&":return i&a;case"in":try{return i in a}catch{return!1}case"instanceof":return typeof a!="function"?!1:i instanceof a;default:return}}});var En=s((Yx,Zl)=>{"use strict";var Ev=Vr(),Ql=rr()(),Yl=C(),Er=ie(),xv=Yl("Array.prototype.push"),Kl=Yl("Object.prototype.propertyIsEnumerable"),wv=Ql?Er.getOwnPropertySymbols:null;Zl.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=Er(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=Er(arguments[o]),a=Ev(i),u=Ql&&(Er.getOwnPropertySymbols||wv);if(u)for(var c=u(i),p=0;p<c.length;++p){var m=c[p];Kl(i,m)&&xv(a,m)}for(var l=0;l<a.length;++l){var f=a[l];if(Kl(i,f)){var d=i[f];n[f]=d}}}return n}});var wn=s((Zx,ep)=>{"use strict";var xn=En(),Tv=function(){if(!Object.assign)return!1;for(var r="abcdefghijklmnopqrst",e=r.split(""),t={},n=0;n<e.length;++n)t[e[n]]=e[n];var o=Object.assign({},t),i="";for(var a in o)i+=a;return r!==i},qv=function(){if(!Object.assign||!Object.preventExtensions)return!1;var r=Object.preventExtensions({1:2});try{Object.assign(r,"xy")}catch{return r[1]==="y"}return!1};ep.exports=function(){return!Object.assign||Tv()||qv()?xn:Object.assign}});var tp=s((ew,rp)=>{"use strict";var Av=B(),Pv=wn();rp.exports=function(){var e=Pv();return Av(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var ap=s((rw,ip)=>{"use strict";var kv=B(),Iv=Ie(),Cv=En(),np=wn(),Ov=tp(),$v=Iv.apply(np()),op=function(e,t){return $v(Object,arguments)};kv(op,{getPolyfill:np,implementation:Cv,shim:Ov});ip.exports=op});var lp=s(Tn=>{"use strict";Object.defineProperty(Tn,"__esModule",{value:!0});Tn.default=up;var Fv=ap(),sp=_v(Fv);function _v(r){return r&&r.__esModule?r:{default:r}}function Nv(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function up(r){var e=q().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,sp.default)({},t,up(n.argument))}else return(0,sp.default)({},t,Nv({},e(n.key),e(n.value)));return t},{})}});var pp=s(qn=>{"use strict";Object.defineProperty(qn,"__esModule",{value:!0});qn.default=Rv;function Rv(){return new Object}});var cp=s(An=>{"use strict";Object.defineProperty(An,"__esModule",{value:!0});An.default=Lv;function Lv(r){var e=q().default,t=r.operator,n=r.argument,o=r.prefix,i=e(n);switch(t){case"++":return o?++i:i++;case"--":return o?--i:i--;default:return}}});var fp=s(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});Pn.default=jv;function jv(r){var e=q().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var dp=s(kn=>{"use strict";Object.defineProperty(kn,"__esModule",{value:!0});kn.default=Mv;function Mv(r){var e=q().default,t=e(r.callee),n=r.object===null?e(r.callee.object):e(r.object);return r.object&&r.object.property?n+"."+t+".bind("+n+")":t+".bind("+n+")"}});var mp=s(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});In.default=Dv;function Dv(){}});var yp=s(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=Vv;function Vv(r){var e=q().default;return e(r.expression)}});var gp=s(On=>{"use strict";Object.defineProperty(On,"__esModule",{value:!0});On.default=Uv;function Uv(r){var e=q().default;return r.expressions.map(function(t){return e(t)})}});var Sp=s($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.default=z;var Bv=Sn().default,Jv=yn().default;function vp(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function z(r){var e="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(r.type==="Identifier"){var t=r.name;return t}if(r.type==="Literal")return r.value;if(r.type==="TSAsExpression")return z(r.expression);if(r.type==="CallExpression")return Jv(r);if(r.type==="ThisExpression")return Bv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return z(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+z(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return vp(z(r.object),z(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=vp(z(r.object),z(r.property),r);return"("+i+")"}}if(r.expression)for(var a=r.expression;a;){if(a.type==="Identifier")return console.error(e),a.name;var u=a;a=u.expression}return console.error(e),""}});var hp=s(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.default=Wv;function Wv(r){var e=q().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var q=s(xr=>{"use strict";Object.defineProperty(xr,"__esModule",{value:!0});var Xv=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};xr.default=HS;xr.extractLiteral=zS;var Gv=Kt(),Hv=b(Gv),zv=Yt(),Kv=b(zv),Qv=tn(),Yv=b(Qv),Zv=en(),eS=b(Zv),rS=Ml(),tS=b(rS),nS=Dl(),oS=b(nS),iS=an(),aS=b(iS),sS=Vl(),bp=b(sS),uS=Ul(),lS=b(uS),pS=Bl(),cS=b(pS),fS=Jl(),dS=b(fS),mS=Wl(),yS=b(mS),gS=Xl(),vS=b(gS),SS=yn(),hS=b(SS),bS=Gl(),ES=b(bS),xS=Sn(),wS=b(xS),TS=Hl(),qS=b(TS),AS=zl(),PS=b(AS),kS=lp(),IS=b(kS),CS=pp(),OS=b(CS),$S=cp(),FS=b($S),_S=fp(),NS=b(_S),RS=dp(),LS=b(RS),jS=mp(),MS=b(jS),DS=yp(),VS=b(DS),US=gp(),BS=b(US),JS=Sp(),WS=b(JS),XS=hp(),GS=b(XS);function b(r){return r&&r.__esModule?r:{default:r}}var K={Identifier:tS.default,Literal:Hv.default,JSXElement:Kv.default,JSXFragment:Yv.default,JSXText:eS.default,TaggedTemplateExpression:oS.default,TemplateLiteral:aS.default,ArrowFunctionExpression:bp.default,FunctionExpression:bp.default,LogicalExpression:lS.default,MemberExpression:cS.default,ChainExpression:dS.default,OptionalCallExpression:yS.default,OptionalMemberExpression:vS.default,CallExpression:hS.default,UnaryExpression:ES.default,ThisExpression:wS.default,ConditionalExpression:qS.default,BinaryExpression:PS.default,ObjectExpression:IS.default,NewExpression:OS.default,UpdateExpression:FS.default,ArrayExpression:NS.default,BindExpression:LS.default,SpreadElement:MS.default,TypeCastExpression:VS.default,SequenceExpression:BS.default,TSNonNullExpression:WS.default,AssignmentExpression:GS.default},E=function(){return null},xp=function(e){return"The prop value with an expression type of "+e+" could not be resolved. Please file an issue ( https://github.com/jsx-eslint/jsx-ast-utils/issues/new ) to get this fixed immediately."};function HS(r){var e=void 0;typeof r.expression!="boolean"&&r.expression?e=r.expression:e=r;var t=e,n=t.type;for(e.object&&e.object.type==="TSNonNullExpression"&&(n="TSNonNullExpression");n==="TSAsExpression";){var o=e;if(n=o.type,e.expression){var i=e;e=i.expression}}return K[n]===void 0?(console.error(xp(n)),null):K[n](e)}var Ep=Xv({},K,{Literal:function(e){var t=K.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=K.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:E,JSXFragment:E,JSXText:E,ArrowFunctionExpression:E,FunctionExpression:E,LogicalExpression:E,MemberExpression:E,OptionalCallExpression:E,OptionalMemberExpression:E,CallExpression:E,UnaryExpression:function(e){var t=K.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=K.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:E,ConditionalExpression:E,BinaryExpression:E,ObjectExpression:E,NewExpression:E,ArrayExpression:function(e){var t=K.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:E,SpreadElement:E,TSNonNullExpression:E,TSAsExpression:E,TypeCastExpression:E,SequenceExpression:E,ChainExpression:E});function zS(r){var e=r.expression||r,t=e.type;return Ep[t]===void 0?(console.error(xp(t)),null):Ep[t](e)}});var br=s(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});var KS=Object.assign||function(r){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[n]=t[n])}return r};wr.default=sh;wr.getLiteralValue=uh;var QS=Kt(),YS=Ve(QS),ZS=Yt(),eh=Ve(ZS),rh=en(),th=Ve(rh),nh=tn(),oh=Ve(nh),wp=q(),ih=Ve(wp);function Ve(r){return r&&r.__esModule?r:{default:r}}var _n={Literal:YS.default,JSXElement:eh.default,JSXExpressionContainer:ih.default,JSXText:th.default,JSXFragment:oh.default},ah=KS({},_n,{JSXElement:function(){return null},JSXExpressionContainer:wp.extractLiteral});function sh(r){return _n[r.type]||console.log(r.type),_n[r.type](r)}function uh(r){return ah[r.type](r)}});var Ap=s(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.default=ch;Tr.getLiteralPropValue=fh;var Tp=br(),lh=ph(Tp);function ph(r){return r&&r.__esModule?r:{default:r}}var qp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function ch(r){return qp(r,lh.default)}function fh(r){return qp(r,Tp.getLiteralValue)}});var qr=s((yw,Ip)=>{"use strict";var Nn=oo(),dh=ve(Nn),mh=ao(),yh=ve(mh),Pp=Nl(),gh=ve(Pp),vh=Ll(),Sh=ve(vh),kp=Ap(),hh=ve(kp),bh=He(),Eh=ve(bh);function ve(r){return r&&r.__esModule?r:{default:r}}Ip.exports={hasProp:dh.default,hasAnyProp:Nn.hasAnyProp,hasEveryProp:Nn.hasEveryProp,elementType:yh.default,eventHandlers:gh.default,eventHandlersByType:Pp.eventHandlersByType,getProp:Sh.default,getPropValue:hh.default,getLiteralPropValue:kp.getLiteralPropValue,propName:Eh.default}});var ab={};fc(ab,{configs:()=>nb,qwikEslint9Plugin:()=>nc,rules:()=>ec});module.exports=dc(ab);var Zn=require("@typescript-eslint/utils");var mc=["@qwik.dev/core","@qwik.dev/router","@builder.io/qwik","@builder.io/qwik-city"];function D(r){return r.sourceCode.getAllComments().some(e=>e.value.includes("@jsxImportSource"))}function zn(r){return!!r&&typeof r=="object"&&typeof r.type=="string"}function Kn(r,e){for(let[t,n]of Object.entries(r))if(!(t==="parent"||t==="range"||t==="loc")){if(Array.isArray(n)){for(let o of n)if(zn(o)&&e(o))return!0;continue}if(zn(n)&&e(n))return!0}return!1}function te(r,e){return e(r)?!0:Kn(r,t=>te(t,e))}function Or(r,e,t=null){return e(r,t)?!0:Kn(r,n=>Or(n,e,r))}function We(r,e){let t=r.parent;for(;t;){if(t===e)return!0;t=t.parent}return!1}function V(r,e){let t=r.sourceCode.getScope(e),n=t.references.find(i=>i.identifier===e);if(n?.resolved)return n.resolved;let o=t;for(;o;){let i=o.variables.find(a=>a.name===e.name);if(i)return i;o=o.upper}return null}function Xe(r){return!!r?.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return typeof t=="string"&&mc.some(n=>t.startsWith(n))})}function Qn(r,e){return e?.type==="Identifier"&&e.name.endsWith("$")&&Xe(V(r,e))}function yc(r){let e=r.type==="JSXAttribute"?r.name:r.key;return e.type==="Identifier"||e.type==="JSXIdentifier"?e.name:e.type==="Literal"?String(e.value):null}function $r(r,e){return r.properties.find(t=>t.type==="Property"&&!t.computed&&yc(t)===e)}function Ge(r){return r?.type==="ArrowFunctionExpression"||r?.type==="FunctionExpression"}function Fr(r,e){return r.find(t=>t.type==="JSXAttribute"&&t.name.type==="JSXIdentifier"&&t.name.name===e)}function he(r,e){return!!Fr(r,e)}function Yn(r){let e=r;for(;e;){if(e.type==="ArrowFunctionExpression"||e.type==="FunctionDeclaration"||e.type==="FunctionExpression")return e;e=e.parent}return null}var gc=Zn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),eo=gc({defaultOptions:[],name:"jsx-a-tag",meta:{type:"problem",docs:{description:"For a perfect SEO score, always provide href attribute for <a> elements."},fixable:"code",schema:[],messages:{noHref:"For a perfect SEO score, always provide href attribute for <a> elements."}},create(r){return{JSXElement(e){e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="a"&&(e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")||he(e.openingElement.attributes,"href")||r.report({node:e,messageId:"noHref"}))}}}});var ro=require("@typescript-eslint/utils");var vc=ro.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),to=vc({defaultOptions:[],name:"jsx-img",meta:{type:"problem",docs:{description:"For performance reasons, always provide width and height attributes for <img> elements, it will help to prevent layout shifts.",recommended:"warn"},fixable:"code",schema:[],messages:{noLocalSrc:`Local images can be optimized by importing using ESM, like this:
5
5
 
6
6
  import {{importName}} from '{{importSrc}}';
7
7
  <{{importName}} />
8
8
 
9
9
  See https://qwik.dev/docs/integrations/image-optimization/#responsive-images`,noWidthHeight:`Missing "width" or "height" attribute.
10
- For performance reasons, always provide width and height attributes for <img> elements, it will prevent layout shifts, boosting performance and UX.`}},create(r){return{JSXElement(e){if(e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="img"&&!e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")){let n=Fr(e.openingElement.attributes,"src");if(n&&n.value){let a=n.value.type==="Literal"?n.value:n.value.type==="JSXExpressionContainer"&&n.value.expression.type==="Literal"?n.value.expression:void 0;if(a&&typeof a.value=="string"&&a.value.startsWith("/")){let c=`~/media${a.value}?jsx`,l=vc(a.value);r.report({node:n,messageId:"noLocalSrc",data:{importSrc:c,importName:l}});return}}let o=he(e.openingElement.attributes,"width"),i=he(e.openingElement.attributes,"height");(!o||!i)&&r.report({node:e,messageId:"noWidthHeight"})}}}}}),cb=`
10
+ For performance reasons, always provide width and height attributes for <img> elements, it will prevent layout shifts, boosting performance and UX.`}},create(r){return{JSXElement(e){if(e.openingElement.name.type==="JSXIdentifier"&&e.openingElement.name.name==="img"&&!e.openingElement.attributes.some(n=>n.type==="JSXSpreadAttribute")){let n=Fr(e.openingElement.attributes,"src");if(n&&n.value){let a=n.value.type==="Literal"?n.value:n.value.type==="JSXExpressionContainer"&&n.value.expression.type==="Literal"?n.value.expression:void 0;if(a&&typeof a.value=="string"&&a.value.startsWith("/")){let c=`~/media${a.value}?jsx`,p=Sc(a.value);r.report({node:n,messageId:"noLocalSrc",data:{importSrc:c,importName:p}});return}}let o=he(e.openingElement.attributes,"width"),i=he(e.openingElement.attributes,"height");(!o||!i)&&r.report({node:e,messageId:"noWidthHeight"})}}}}}),mb=`
11
11
  import Image from '~/media/image.png';
12
- <Image />`.trim(),fb=`
13
- <img src="/image.png">`.trim(),db=`
14
- <img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),mb=`
15
- <img src="/static/images/portrait-01.webp">`.trim();function vc(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${Sc(r)}`}function Sc(r){return`${r}`.toLowerCase().replace(new RegExp(/[-_]+/,"g")," ").replace(new RegExp(/[^\w\s]/,"g"),"").replace(new RegExp(/\s+(.)(\w*)/,"g"),(e,t,n)=>`${t.toUpperCase()+n}`).replace(new RegExp(/\w/),e=>e.toUpperCase())}var Op=re(qr());function Rn(r){return r?.type==="FunctionExpression"||r?.type==="ArrowFunctionExpression"}var Ar={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},Eh={missingIterKey:'Missing "key" prop for element in iterator.',missingIterKeyUsePrag:'Missing "key" prop for element in iterator. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',missingArrayKey:'Missing "key" prop for element in array. The key prop allows for improved rendering performance.',missingArrayKeyUsePrag:'Missing "key" prop for element in array. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',nonUniqueKeys:"`key` prop must be unique"},Cp={meta:{docs:{description:"Disallow missing `key` props in iterators/collection literals",category:"Possible Errors",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#jsx-key"},messages:Eh,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:Ar.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:Ar.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:Ar.warnOnDuplicates}},additionalProperties:!1}]},create(r){if(M(r))return{};let e=Object.assign({},Ar,r.options[0]),t=e.checkFragmentShorthand,n=e.warnOnDuplicates;function o(p){p.type==="JSXElement"&&!Op.default.hasProp(p.openingElement.attributes,"key")?r.report({node:p,messageId:"missingIterKey"}):t&&p.type==="JSXFragment"&&r.report({node:p,messageId:"missingIterKeyUsePrag"})}function i(p,f=[]){return p.type==="IfStatement"?(p.consequent&&i(p.consequent,f),p.alternate&&i(p.alternate,f)):p.type==="BlockStatement"&&p.body.forEach(d=>{d.type==="IfStatement"&&i(d,f),d.type==="ReturnStatement"&&f.push(d)}),f}function a(p){Rn(p)&&p.body.type==="BlockStatement"&&i(p.body).filter(f=>f&&f.argument).forEach(f=>{o(f.argument)})}function u(p){let f=p.type==="ArrowFunctionExpression",d=y=>!!y&&(y.type==="JSXElement"||y.type==="JSXFragment");f&&d(p.body)&&o(p.body),p.body.type==="ConditionalExpression"?(d(p.body.consequent)&&o(p.body.consequent),d(p.body.alternate)&&o(p.body.alternate)):p.body.type==="LogicalExpression"&&d(p.body.right)&&o(p.body.right)}let c=`:matches(
12
+ <Image />`.trim(),yb=`
13
+ <img src="/image.png">`.trim(),gb=`
14
+ <img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),vb=`
15
+ <img src="/static/images/portrait-01.webp">`.trim();function Sc(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${hc(r)}`}function hc(r){return`${r}`.toLowerCase().replace(new RegExp(/[-_]+/,"g")," ").replace(new RegExp(/[^\w\s]/,"g"),"").replace(new RegExp(/\s+(.)(\w*)/,"g"),(e,t,n)=>`${t.toUpperCase()+n}`).replace(new RegExp(/\w/),e=>e.toUpperCase())}var Cp=re(qr());function Rn(r){return r?.type==="FunctionExpression"||r?.type==="ArrowFunctionExpression"}var Ar={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},xh={missingIterKey:'Missing "key" prop for element in iterator.',missingIterKeyUsePrag:'Missing "key" prop for element in iterator. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',missingArrayKey:'Missing "key" prop for element in array. The key prop allows for improved rendering performance.',missingArrayKeyUsePrag:'Missing "key" prop for element in array. The key prop allows for improved rendering performance. Shorthand fragment syntax does not support providing keys. Use <Fragment> instead',nonUniqueKeys:"`key` prop must be unique"},Op={meta:{docs:{description:"Disallow missing `key` props in iterators/collection literals",category:"Possible Errors",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#jsx-key"},messages:xh,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:Ar.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:Ar.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:Ar.warnOnDuplicates}},additionalProperties:!1}]},create(r){if(D(r))return{};let e=Object.assign({},Ar,r.options[0]),t=e.checkFragmentShorthand,n=e.warnOnDuplicates;function o(l){l.type==="JSXElement"&&!Cp.default.hasProp(l.openingElement.attributes,"key")?r.report({node:l,messageId:"missingIterKey"}):t&&l.type==="JSXFragment"&&r.report({node:l,messageId:"missingIterKeyUsePrag"})}function i(l,f=[]){return l.type==="IfStatement"?(l.consequent&&i(l.consequent,f),l.alternate&&i(l.alternate,f)):l.type==="BlockStatement"&&l.body.forEach(d=>{d.type==="IfStatement"&&i(d,f),d.type==="ReturnStatement"&&f.push(d)}),f}function a(l){Rn(l)&&l.body.type==="BlockStatement"&&i(l.body).filter(f=>f&&f.argument).forEach(f=>{o(f.argument)})}function u(l){let f=l.type==="ArrowFunctionExpression",d=y=>!!y&&(y.type==="JSXElement"||y.type==="JSXFragment");f&&d(l.body)&&o(l.body),l.body.type==="ConditionalExpression"?(d(l.body.consequent)&&o(l.body.consequent),d(l.body.alternate)&&o(l.body.alternate)):l.body.type==="LogicalExpression"&&d(l.body.right)&&o(l.body.right)}let c=`:matches(
16
16
  CallExpression
17
17
  [callee.object.object.name=Fragment]
18
18
  [callee.object.property.name=Children]
@@ -20,7 +20,7 @@ import Image from '~/media/image.png';
20
20
  CallExpression
21
21
  [callee.object.name=Children]
22
22
  [callee.property.name=toArray]
23
- )`.replace(/\s/g,""),l=!1,m=new WeakSet;return{[c](){l=!0},[`${c}:exit`](){l=!1},"ArrayExpression, JSXElement > JSXElement"(p){if(l)return;let f=(p.type==="ArrayExpression"?p.elements:p.parent.children).filter(y=>!!y&&y.type==="JSXElement");if(f.length===0)return;let d=new Map;if(f.forEach(y=>{y.openingElement.attributes.filter(P=>P.type==="JSXAttribute"&&P.name.type==="JSXIdentifier"&&P.name.name==="key").length===0&&p.type==="ArrayExpression"&&r.report({node:y,messageId:"missingArrayKey"})}),n)for(let y of d.values())y.length>1&&y.forEach(v=>{m.has(v)||(m.add(v),r.report({node:v,messageId:"nonUniqueKeys"}))})},JSXFragment(p){!t||l||p.parent.type==="ArrayExpression"&&r.report({node:p,messageId:"missingArrayKeyUsePrag"})},'CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"]'(p){if(l)return;let f=p.arguments.length>0&&p.arguments[0];!f||!Rn(f)||(u(f),a(f))},'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(p){if(l)return;let f=p.arguments.length>1&&p.arguments[1];Rn(f)&&(u(f),a(f))}}}},mw=`
23
+ )`.replace(/\s/g,""),p=!1,m=new WeakSet;return{[c](){p=!0},[`${c}:exit`](){p=!1},"ArrayExpression, JSXElement > JSXElement"(l){if(p)return;let f=(l.type==="ArrayExpression"?l.elements:l.parent.children).filter(y=>!!y&&y.type==="JSXElement");if(f.length===0)return;let d=new Map;if(f.forEach(y=>{y.openingElement.attributes.filter(P=>P.type==="JSXAttribute"&&P.name.type==="JSXIdentifier"&&P.name.name==="key").length===0&&l.type==="ArrayExpression"&&r.report({node:y,messageId:"missingArrayKey"})}),n)for(let y of d.values())y.length>1&&y.forEach(v=>{m.has(v)||(m.add(v),r.report({node:v,messageId:"nonUniqueKeys"}))})},JSXFragment(l){!t||p||l.parent.type==="ArrayExpression"&&r.report({node:l,messageId:"missingArrayKeyUsePrag"})},'CallExpression[callee.type="MemberExpression"][callee.property.name="map"], CallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="MemberExpression"][callee.property.name="map"], OptionalCallExpression[callee.type="OptionalMemberExpression"][callee.property.name="map"]'(l){if(p)return;let f=l.arguments.length>0&&l.arguments[0];!f||!Rn(f)||(u(f),a(f))},'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(l){if(p)return;let f=l.arguments.length>1&&l.arguments[1];Rn(f)&&(u(f),a(f))}}}},vw=`
24
24
  import { component$ } from '@qwik.dev/core';
25
25
 
26
26
  export const Person = component$(() => {
@@ -37,7 +37,7 @@ export const Person = component$(() => {
37
37
  ))}
38
38
  </ul>
39
39
  );
40
- });`.trim(),yw=`
40
+ });`.trim(),Sw=`
41
41
  import { component$ } from '@qwik.dev/core';
42
42
 
43
43
  export const Person = component$(() => {
@@ -54,7 +54,7 @@ export const Person = component$(() => {
54
54
  ))}
55
55
  </ul>
56
56
  );
57
- });`.trim(),gw=`
57
+ });`.trim(),hw=`
58
58
  import { component$ } from '@qwik.dev/core';
59
59
  import Card from './Card';
60
60
  import Summary from './Summary';
@@ -74,7 +74,7 @@ export const Person = component$(() => {
74
74
  </Fragment>
75
75
  ))}
76
76
  );
77
- });`.trim(),vw=`
77
+ });`.trim(),bw=`
78
78
  import { component$ } from '@qwik.dev/core';
79
79
  import Card from './Card';
80
80
  import Summary from './Summary';
@@ -94,7 +94,7 @@ export const Person = component$(() => {
94
94
  </>
95
95
  ))}
96
96
  );
97
- });`.trim(),Sw=`
97
+ });`.trim(),Ew=`
98
98
  import { component$ } from '@qwik.dev/core';
99
99
 
100
100
  export const ColorList = component$(() => {
@@ -107,7 +107,7 @@ export const ColorList = component$(() => {
107
107
  ))}
108
108
  </ul>
109
109
  );
110
- });`.trim(),hw=`
110
+ });`.trim(),xw=`
111
111
  import { component$ } from '@qwik.dev/core';
112
112
 
113
113
  export const ColorList = component$(() => {
@@ -120,7 +120,7 @@ export const ColorList = component$(() => {
120
120
  ))}
121
121
  </ul>
122
122
  );
123
- });`.trim(),bw=`
123
+ });`.trim(),ww=`
124
124
  import { component$, Fragment } from '@qwik.dev/core';
125
125
 
126
126
  export const ColorList = component$(() => {
@@ -134,7 +134,7 @@ export const ColorList = component$(() => {
134
134
  </Fragment>
135
135
  ))}
136
136
  );
137
- });`.trim(),Ew=`
137
+ });`.trim(),Tw=`
138
138
  import { component$ } from '@qwik.dev/core';
139
139
 
140
140
  export const ColorList = component$(() => {
@@ -148,7 +148,7 @@ export const ColorList = component$(() => {
148
148
  </>
149
149
  ))}
150
150
  );
151
- });`.trim();var xw=`
151
+ });`.trim();var qw=`
152
152
  import { component$ } from '@qwik.dev/core';
153
153
 
154
154
  export const ColorList = component$(() => {
@@ -161,9 +161,9 @@ export const ColorList = component$(() => {
161
161
  ))}
162
162
  </ul>
163
163
  );
164
- });`.trim();var $p=require("@typescript-eslint/utils"),{getStaticValue:xh}=$p.ASTUtils,wh=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Fp={meta:{type:"problem",docs:{recommended:"error",description:"Disallow javascript: URLs.",url:"https://qwik.dev/docs/advanced/eslint/#jsx-no-script-url"},schema:[],messages:{noJSURL:"For security, don't use javascript: URLs. Use event handlers instead if you can."}},create(r){let e=r.sourceCode??r.getSourceCode();return{JSXAttribute(t){if(t.name.type==="JSXIdentifier"&&t.value){let n=xh(t.value.type==="JSXExpressionContainer"?t.value.expression:t.value,e.getScope?e.getScope(t):r.getScope());n&&typeof n.value=="string"&&wh.test(n.value)&&r.report({node:t.value,messageId:"noJSURL"})}}}}},Tw=`
165
- <button onClick$={() => alert('open the door please')}>ring</button>`.trim(),qw=`
166
- <button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var _p={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},Th={..._p,action$:!0,globalAction$:!0},Np={meta:{type:"problem",docs:{description:"Detect declaration location of loader$.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#loader-location"},schema:[{type:"object",properties:{routesDir:{type:"string",default:"src/routes"}},additionalProperties:!1}],messages:{invalidLoaderLocation:`'{{fnName}}() are typically declared in route boundary files such as layout.tsx, index.tsx and plugin.tsx inside the {{routesDir}} directory
164
+ });`.trim();var $p=require("@typescript-eslint/utils"),{getStaticValue:wh}=$p.ASTUtils,Th=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i,Fp={meta:{type:"problem",docs:{recommended:"error",description:"Disallow javascript: URLs.",url:"https://qwik.dev/docs/advanced/eslint/#jsx-no-script-url"},schema:[],messages:{noJSURL:"For security, don't use javascript: URLs. Use event handlers instead if you can."}},create(r){let e=r.sourceCode??r.getSourceCode();return{JSXAttribute(t){if(t.name.type==="JSXIdentifier"&&t.value){let n=wh(t.value.type==="JSXExpressionContainer"?t.value.expression:t.value,e.getScope?e.getScope(t):r.getScope());n&&typeof n.value=="string"&&Th.test(n.value)&&r.report({node:t.value,messageId:"noJSURL"})}}}}},Pw=`
165
+ <button onClick$={() => alert('open the door please')}>ring</button>`.trim(),kw=`
166
+ <button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var _p={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},qh={..._p,action$:!0,globalAction$:!0},Np={meta:{type:"problem",docs:{description:"Detect declaration location of loader$.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#loader-location"},schema:[{type:"object",properties:{routesDir:{type:"string",default:"src/routes"}},additionalProperties:!1}],messages:{invalidLoaderLocation:`'{{fnName}}() are typically declared in route boundary files such as layout.tsx, index.tsx and plugin.tsx inside the {{routesDir}} directory
167
167
  (docs: https://qwik.dev/docs/route-loader/).
168
168
 
169
169
  This {{fnName}}() is declared outside of the route boundaries. This may be useful when you want to create reusable logic or a library. In such a case, it is essential that this function is re-exported from within the router boundary otherwise it will not run.
@@ -171,28 +171,28 @@ This {{fnName}}() is declared outside of the route boundaries. This may be usefu
171
171
 
172
172
  If you understand this, you can disable this warning with:
173
173
  // eslint-disable-next-line qwik/loader-location
174
- `,missingExport:"The return of `{{fnName}}()` needs to be exported in the same module, like this\n```\nexport const {{id}} = {{fnName}}(() => { ... });\n```",wrongName:"The named export of `{{fnName}}()` needs to follow the `use*` naming convention. It must start with `use`, like this:\n```\nexport const {{fixed}} = {{fnName}}(() => { ... });\n```\nInstead it was named:\n```\nexport const {{id}} = ...\n```",recommendedValue:"For `{{fnName}}()` it is recommended to inline the arrow function. Instead of:\n```\nexport const {{id}} = {{fnName}}({{arg}});\n```\nDo this:\n```\nexport const {{id}} = {{fnName}}(() => { ...logic here... });\n```\nThis will help the optimizer make sure that no server code is leaked to the client build."}},create(r){let e=r.options?.[0]?.routesDir??"src/routes",t=qh(r.filename),n=/\/layout(|!|-[^/]+)\.(j|t)sx?$/.test(t),o=/\/index(|!|@[^/]+)\.(j|t)sx?$/.test(t),i=/\/plugin(|@[^/]+)\.(j|t)sx?$/.test(t),u=new RegExp(`/${e}/`).test(t)&&(o||n||i);return{CallExpression(c){if(c.callee.type!=="Identifier")return;let l=c.callee.name;if(!Th[l])return;if(!u&&_p[l]){r.report({node:c.callee,messageId:"invalidLoaderLocation",data:{routesDir:e,fnName:l,path:t}});return}let m=c.parent;if(m.type!=="VariableDeclarator"){r.report({node:c.callee,messageId:"missingExport",data:{fnName:l,id:"useStuff"}});return}if(m.id.type!=="Identifier"){r.report({node:c.callee,messageId:"missingExport",data:{fnName:l,id:"useStuff"}});return}if(!/^use/.test(m.id.name)){let p="use"+m.id.name[0].toUpperCase()+m.id.name.slice(1);r.report({node:m.id,messageId:"wrongName",data:{fnName:l,id:m.id.name,fixed:p}});return}if(!Ah(m)){r.report({node:m.id,messageId:"missingExport",data:{fnName:l,id:m.id.name}});return}if(c.arguments.length>0&&c.arguments[0].type==="Identifier"){r.report({node:c.arguments[0],messageId:"recommendedValue",data:{fnName:l,id:m.id.name,arg:c.arguments[0].name}});return}}}}};function qh(r){let e=/^\\\\\?\\/.test(r),t=/[^\u0000-\u0080]+/.test(r);return e||t||(r=r.replace(/\\/g,"/"),r.endsWith("/")&&(r=r.slice(0,r.length-1))),r}var Pw=`
174
+ `,missingExport:"The return of `{{fnName}}()` needs to be exported in the same module, like this\n```\nexport const {{id}} = {{fnName}}(() => { ... });\n```",wrongName:"The named export of `{{fnName}}()` needs to follow the `use*` naming convention. It must start with `use`, like this:\n```\nexport const {{fixed}} = {{fnName}}(() => { ... });\n```\nInstead it was named:\n```\nexport const {{id}} = ...\n```",recommendedValue:"For `{{fnName}}()` it is recommended to inline the arrow function. Instead of:\n```\nexport const {{id}} = {{fnName}}({{arg}});\n```\nDo this:\n```\nexport const {{id}} = {{fnName}}(() => { ...logic here... });\n```\nThis will help the optimizer make sure that no server code is leaked to the client build."}},create(r){let e=r.options?.[0]?.routesDir??"src/routes",t=Ah(r.filename),n=/\/layout(|!|-[^/]+)\.(j|t)sx?$/.test(t),o=/\/index(|!|@[^/]+)\.(j|t)sx?$/.test(t),i=/\/plugin(|@[^/]+)\.(j|t)sx?$/.test(t),u=new RegExp(`/${e}/`).test(t)&&(o||n||i);return{CallExpression(c){if(c.callee.type!=="Identifier")return;let p=c.callee.name;if(!qh[p])return;if(!u&&_p[p]){r.report({node:c.callee,messageId:"invalidLoaderLocation",data:{routesDir:e,fnName:p,path:t}});return}let m=c.parent;if(m.type!=="VariableDeclarator"){r.report({node:c.callee,messageId:"missingExport",data:{fnName:p,id:"useStuff"}});return}if(m.id.type!=="Identifier"){r.report({node:c.callee,messageId:"missingExport",data:{fnName:p,id:"useStuff"}});return}if(!/^use/.test(m.id.name)){let l="use"+m.id.name[0].toUpperCase()+m.id.name.slice(1);r.report({node:m.id,messageId:"wrongName",data:{fnName:p,id:m.id.name,fixed:l}});return}if(!Ph(m)){r.report({node:m.id,messageId:"missingExport",data:{fnName:p,id:m.id.name}});return}if(c.arguments.length>0&&c.arguments[0].type==="Identifier"){r.report({node:c.arguments[0],messageId:"recommendedValue",data:{fnName:p,id:m.id.name,arg:c.arguments[0].name}});return}}}}};function Ah(r){let e=/^\\\\\?\\/.test(r),t=/[^\u0000-\u0080]+/.test(r);return e||t||(r=r.replace(/\\/g,"/"),r.endsWith("/")&&(r=r.slice(0,r.length-1))),r}var Cw=`
175
175
  import { routeLoader$ } from '@qwik.dev/router';
176
176
 
177
177
  export const useProductDetails = routeLoader$(async (requestEvent) => {
178
178
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
179
179
  const product = await res.json();
180
180
  return product as Product;
181
- });`.trim();var kw=`
181
+ });`.trim();var Ow=`
182
182
  import { routeLoader$ } from '@qwik.dev/router';
183
183
 
184
184
  const useProductDetails = routeLoader$(async (requestEvent) => {
185
185
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
186
186
  const product = await res.json();
187
187
  return product as Product;
188
- });`.trim();var Iw=`
188
+ });`.trim();var $w=`
189
189
  import { routeLoader$ } from '@qwik.dev/router';
190
190
 
191
191
  export const getProductDetails = routeLoader$(async (requestEvent) => {
192
192
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
193
193
  const product = await res.json();
194
194
  return product as Product;
195
- });`.trim();var Ow=`
195
+ });`.trim();var Fw=`
196
196
  import { routeLoader$ } from '@qwik.dev/router';
197
197
 
198
198
  async function fetcher() {
@@ -202,9 +202,9 @@ async function fetcher() {
202
202
  }
203
203
 
204
204
  export const useProductDetails = routeLoader$(fetcher);
205
- `.trim();function Ah(r){if(r.parent.parent.type==="ExportNamedDeclaration")return!0;if(r.type==="VariableDeclarator"){let e=r.id;if("name"in e){let t=e.name,n=Ph(r);for(let o=0;o<n.length;o++){let i=n[o];if(i.type=="ExportNamedDeclaration"){let a=i.specifiers;for(let u=0;u<a.length;u++){let c=a[u];if(c.type=="ExportSpecifier"&&c.exported.type=="Identifier"&&c.exported.name===t)return!0}}}}}return!1}function Ph(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var Ln=re(qr());var kh=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var Rp={meta:{type:"problem",docs:{recommended:"warn",description:"Disallow usage of React-specific `className`/`htmlFor` props.",url:"https://qwik.dev/docs/advanced/eslint/#no-react-props"},fixable:"code",schema:[],messages:{prefer:"Prefer the `{{ to }}` prop over the deprecated `{{ from }}` prop."}},create(r){return M(r)?{}:{JSXOpeningElement(e){for(let{from:t,to:n}of kh){let o=Ln.default.getProp(e.attributes,t);if(o){let i=Ln.default.hasProp(e.attributes,n,{ignoreCase:!1})?void 0:a=>a.replaceText(o.name,n);r.report({node:o,messageId:"prefer",data:{from:t,to:n},fix:i})}}}}}},Fw=`
206
- <MyReactComponent class="foo" for="#password" />;`.trim(),_w=`
207
- <MyReactComponent className="foo" htmlFor="#password" />;`.trim();var Lp={meta:{type:"suggestion",docs:{description:"Detect useVisibleTask$() functions.",recommended:!0,url:"https://qwik.dev/docs/guides/best-practices/#use-usevisibletask-as-a-last-resort"},messages:{noUseVisibleTask:"useVisibleTask$() runs eagerly and blocks the main thread, preventing user interaction until the task is finished. Consider using useTask$(), useOn(), useOnDocument(), or useOnWindow() instead. If you have to use a useVisibleTask$(), you can disable the warning with a '// eslint-disable-next-line qwik/no-use-visible-task' comment."}},create(r){return{CallExpression(e){if(e.callee.type!=="Identifier")return;e.callee.name==="useVisibleTask$"&&r.report({node:e.callee,messageId:"noUseVisibleTask"})}}}};var jn=re(qr());var jp={meta:{type:"problem",docs:{recommended:!1,description:"Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.",url:"https://qwik.dev/docs/advanced/eslint/#prefer-classlist"},fixable:"code",schema:[{type:"object",properties:{classnames:{type:"array",description:"An array of names to treat as `classnames` functions",default:["cn","clsx","classnames"],items:{type:"string",minItems:1,uniqueItems:!0}}},additionalProperties:!1}],messages:{preferClasslist:"The classlist prop should be used instead of {{ classnames }} to efficiently set classes based on an object."}},create(r){if(M(r))return{};let e=r.options[0]?.classnames??["cn","clsx","classnames"];return{JSXAttribute(t){if(!(["class","className"].indexOf(jn.default.propName(t))===-1||jn.default.hasProp(t.parent?.attributes,"classlist",{ignoreCase:!1}))&&t.value?.type==="JSXExpressionContainer"){let n=t.value.expression;n.type==="CallExpression"&&n.callee.type==="Identifier"&&e.indexOf(n.callee.name)!==-1&&n.arguments.length===1&&n.arguments[0].type==="ObjectExpression"&&r.report({node:t,messageId:"preferClasslist",data:{classnames:n.callee.name},fix:o=>{let i=t.range,a=n.arguments[0].range;return[o.replaceTextRange([i[0],a[0]],"classlist={"),o.replaceTextRange([a[1],i[1]],"}")]}})}}}}},jw=`
205
+ `.trim();function Ph(r){if(r.parent.parent.type==="ExportNamedDeclaration")return!0;if(r.type==="VariableDeclarator"){let e=r.id;if("name"in e){let t=e.name,n=kh(r);for(let o=0;o<n.length;o++){let i=n[o];if(i.type=="ExportNamedDeclaration"){let a=i.specifiers;for(let u=0;u<a.length;u++){let c=a[u];if(c.type=="ExportSpecifier"&&c.exported.type=="Identifier"&&c.exported.name===t)return!0}}}}}return!1}function kh(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var Ln=re(qr());var Ih=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var Rp={meta:{type:"problem",docs:{recommended:"warn",description:"Disallow usage of React-specific `className`/`htmlFor` props.",url:"https://qwik.dev/docs/advanced/eslint/#no-react-props"},fixable:"code",schema:[],messages:{prefer:"Prefer the `{{ to }}` prop over the deprecated `{{ from }}` prop."}},create(r){return D(r)?{}:{JSXOpeningElement(e){for(let{from:t,to:n}of Ih){let o=Ln.default.getProp(e.attributes,t);if(o){let i=Ln.default.hasProp(e.attributes,n,{ignoreCase:!1})?void 0:a=>a.replaceText(o.name,n);r.report({node:o,messageId:"prefer",data:{from:t,to:n},fix:i})}}}}}},Rw=`
206
+ <MyReactComponent class="foo" for="#password" />;`.trim(),Lw=`
207
+ <MyReactComponent className="foo" htmlFor="#password" />;`.trim();var Lp={meta:{type:"suggestion",docs:{description:"Detect useVisibleTask$() functions.",recommended:!0,url:"https://qwik.dev/docs/guides/best-practices/#use-usevisibletask-as-a-last-resort"},messages:{noUseVisibleTask:"useVisibleTask$() runs eagerly and blocks the main thread, preventing user interaction until the task is finished. Consider using useTask$(), useOn(), useOnDocument(), or useOnWindow() instead. If you have to use a useVisibleTask$(), you can disable the warning with a '// eslint-disable-next-line qwik/no-use-visible-task' comment."}},create(r){return{CallExpression(e){if(e.callee.type!=="Identifier")return;e.callee.name==="useVisibleTask$"&&r.report({node:e.callee,messageId:"noUseVisibleTask"})}}}};var jn=re(qr());var jp={meta:{type:"problem",docs:{recommended:!1,description:"Enforce using the classlist prop over importing a classnames helper. The classlist prop accepts an object `{ [class: string]: boolean }` just like classnames.",url:"https://qwik.dev/docs/advanced/eslint/#prefer-classlist"},fixable:"code",schema:[{type:"object",properties:{classnames:{type:"array",description:"An array of names to treat as `classnames` functions",default:["cn","clsx","classnames"],items:{type:"string",minItems:1,uniqueItems:!0}}},additionalProperties:!1}],messages:{preferClasslist:"The classlist prop should be used instead of {{ classnames }} to efficiently set classes based on an object."}},create(r){if(D(r))return{};let e=r.options[0]?.classnames??["cn","clsx","classnames"];return{JSXAttribute(t){if(!(["class","className"].indexOf(jn.default.propName(t))===-1||jn.default.hasProp(t.parent?.attributes,"classlist",{ignoreCase:!1}))&&t.value?.type==="JSXExpressionContainer"){let n=t.value.expression;n.type==="CallExpression"&&n.callee.type==="Identifier"&&e.indexOf(n.callee.name)!==-1&&n.arguments.length===1&&n.arguments[0].type==="ObjectExpression"&&r.report({node:t,messageId:"preferClasslist",data:{classnames:n.callee.name},fix:o=>{let i=t.range,a=n.arguments[0].range;return[o.replaceTextRange([i[0],a[0]],"classlist={"),o.replaceTextRange([a[1],i[1]],"}")]}})}}}}},Vw=`
208
208
  import { component$ } from '@qwik.dev/core';
209
209
  import styles from './MyComponent.module.css';
210
210
 
@@ -222,7 +222,7 @@ export default component$((props) => {
222
222
  'text-green-500': props.isHighAttention,
223
223
  'p-4': true
224
224
  }}>Hello world</div>;
225
- });`.trim(),Mw=`
225
+ });`.trim(),Uw=`
226
226
  import { component$ } from '@qwik.dev/core';
227
227
  import classnames from 'classnames';
228
228
  import styles from './MyComponent.module.css';
@@ -240,7 +240,7 @@ export default component$((props) => {
240
240
  });`.trim();var Mp={meta:{type:"problem",docs:{description:"Detect unused server$() functions.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#unused-server"},messages:{unusedServer:`Unused server$(). Seems like you are declaring a new server$ function, but you are never calling it. You might want to do:
241
241
 
242
242
  {{ suggestion }}`}},create(r){return{CallExpression(e){if(e.callee.type!=="Identifier")return;if(e.callee.name==="server$"){let n=!1;(e.parent.type==="ExpressionStatement"||e.parent.type==="AwaitExpression"&&e.parent.parent.type==="ExpressionStatement")&&(n=!0),n&&r.report({node:e.callee,messageId:"unusedServer",data:{suggestion:`const serverFn = server$(...);
243
- await serverFn(...);`}})}}}}},Vw=`
243
+ await serverFn(...);`}})}}}}},Jw=`
244
244
  import { component$ } from '@qwik.dev/core';
245
245
  import { server$ } from '@qwik.dev/router';
246
246
 
@@ -258,7 +258,7 @@ export default component$(() => (
258
258
  >
259
259
  greet
260
260
  </button>
261
- ));`.trim(),Uw=`
261
+ ));`.trim(),Ww=`
262
262
  import { component$ } from '@qwik.dev/core';
263
263
  import { server$ } from '@qwik.dev/router';
264
264
 
@@ -276,35 +276,35 @@ export default component$(() => (
276
276
  >
277
277
  greet
278
278
  </button>
279
- ));`.trim();var Dp={meta:{type:"problem",docs:{description:"Detect invalid use of use hooks.",category:"Variables",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#use-method-usage"},messages:{useWrongFunction:"Calling use* methods in wrong function."}},create(r){return M(r)?{}:{"CallExpression[callee.name=/^use[A-Z]/]"(e){let t=e;for(;t=t.parent;)switch(t.type){case"VariableDeclarator":case"VariableDeclaration":case"ExpressionStatement":case"MemberExpression":case"BinaryExpression":case"UnaryExpression":case"ReturnStatement":case"BlockStatement":case"ChainExpression":case"Property":case"ObjectExpression":case"CallExpression":case"TSAsExpression":break;case"ArrowFunctionExpression":case"FunctionExpression":if(t.parent.type==="VariableDeclarator"&&t.parent.id?.type==="Identifier"&&t.parent.id.name.startsWith("use")||t.parent.type==="CallExpression"&&t.parent.callee.type==="Identifier"&&(t.parent.callee.name==="component$"||t.parent.callee.name==="renderHook"))return;r.report({node:e,messageId:"useWrongFunction"});return;case"FunctionDeclaration":t.id?.name.startsWith("use")||r.report({node:e,messageId:"useWrongFunction"});return;default:r.report({node:e,messageId:"useWrongFunction"});return}}}}},Ww=`
279
+ ));`.trim();var Dp={meta:{type:"problem",docs:{description:"Detect invalid use of use hooks.",category:"Variables",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/#use-method-usage"},messages:{useWrongFunction:"Calling use* methods in wrong function."}},create(r){return D(r)?{}:{"CallExpression[callee.name=/^use[A-Z]/]"(e){let t=e;for(;t=t.parent;)switch(t.type){case"VariableDeclarator":case"VariableDeclaration":case"ExpressionStatement":case"MemberExpression":case"BinaryExpression":case"UnaryExpression":case"ReturnStatement":case"BlockStatement":case"ChainExpression":case"Property":case"ObjectExpression":case"CallExpression":case"TSAsExpression":break;case"ArrowFunctionExpression":case"FunctionExpression":if(t.parent.type==="VariableDeclarator"&&t.parent.id?.type==="Identifier"&&t.parent.id.name.startsWith("use")||t.parent.type==="CallExpression"&&t.parent.callee.type==="Identifier"&&(t.parent.callee.name==="component$"||t.parent.callee.name==="renderHook"))return;r.report({node:e,messageId:"useWrongFunction"});return;case"FunctionDeclaration":t.id?.name.startsWith("use")||r.report({node:e,messageId:"useWrongFunction"});return;default:r.report({node:e,messageId:"useWrongFunction"});return}}}}},Hw=`
280
280
  export const Counter = component$(() => {
281
281
  const count = useSignal(0);
282
282
  });
283
- `.trim(),Xw=`
283
+ `.trim(),zw=`
284
284
  export const useCounter = () => {
285
285
  const count = useSignal(0);
286
286
  return count;
287
287
  };
288
- `.trim(),Gw=`
288
+ `.trim(),Kw=`
289
289
  export const Counter = (() => {
290
290
  const count = useSignal(0);
291
291
  });
292
- `.trim();var Pr=re(require("@typescript-eslint/utils/eslint-utils")),L=re(require("typescript"));function Mn(r){let e=r.match(/^[ \t]*(?=\S)/gm);if(!e)return r;let t=Number.POSITIVE_INFINITY;for(let n of e)t=Math.min(t,n.length);return t===0||t===Number.POSITIVE_INFINITY?r:r.replace(new RegExp(`^[ \\t]{${t}}`,"gm"),"")}function Dn(r,e=1,t={}){let{indent:n=" ",includeEmptyLines:o=!1}=t;if(typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof e!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof e}\``);if(e<0)throw new RangeError(`Expected \`count\` to be at least 0, got \`${e}\``);if(typeof n!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n}\``);if(e===0)return r;let i=o?/^/gm:/^(?!\s*$)/gm;return r.replace(i,n.repeat(e))}function Vn(r,e=0,t={}){return Dn(Mn(r),e,t)}var Ih=Pr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Vp=Ih({name:"valid-lexical-scope",defaultOptions:[{allowAny:!0}],meta:{type:"problem",docs:{description:"Used the tsc typechecker to detect the capture of unserializable data in dollar ($) scopes.",recommended:"recommended"},schema:[{type:"object",properties:{allowAny:{type:"boolean"}},additionalProperties:!1,default:{allowAny:!0}}],messages:{referencesOutside:`When referencing "{{varName}}" inside a different scope ({{dollarName}}), Qwik needs to serialize the value, however {{reason}}.
292
+ `.trim();var Pr=re(require("@typescript-eslint/utils/eslint-utils")),j=re(require("typescript"));function Mn(r){let e=r.match(/^[ \t]*(?=\S)/gm);if(!e)return r;let t=Number.POSITIVE_INFINITY;for(let n of e)t=Math.min(t,n.length);return t===0||t===Number.POSITIVE_INFINITY?r:r.replace(new RegExp(`^[ \\t]{${t}}`,"gm"),"")}function Dn(r,e=1,t={}){let{indent:n=" ",includeEmptyLines:o=!1}=t;if(typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof e!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof e}\``);if(e<0)throw new RangeError(`Expected \`count\` to be at least 0, got \`${e}\``);if(typeof n!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof n}\``);if(e===0)return r;let i=o?/^/gm:/^(?!\s*$)/gm;return r.replace(i,n.repeat(e))}function Vn(r,e=0,t={}){return Dn(Mn(r),e,t)}var Ch=Pr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Vp=Ch({name:"valid-lexical-scope",defaultOptions:[{allowAny:!0}],meta:{type:"problem",docs:{description:"Used the tsc typechecker to detect the capture of unserializable data in dollar ($) scopes.",recommended:"recommended"},schema:[{type:"object",properties:{allowAny:{type:"boolean"}},additionalProperties:!1,default:{allowAny:!0}}],messages:{referencesOutside:`When referencing "{{varName}}" inside a different scope ({{dollarName}}), Qwik needs to serialize the value, however {{reason}}.
293
293
  Check out https://qwik.dev/docs/advanced/dollar/ for more details.`,invalidJsxDollar:`Using "{{varName}}" as an event handler, however functions are not serializable.
294
294
  Did you mean to wrap it in \`$()\`?
295
295
 
296
296
  {{solution}}
297
297
  Check out https://qwik.dev/docs/advanced/dollar/ for more details.`,mutableIdentifier:`Mutating let "{{varName}}" within the ({{dollarName}}) closure is not allowed, instead create an object/store/signal and mutate one of its properties.
298
- Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){let t={allowAny:r.options[0]?.allowAny??!0},n=r.sourceCode.scopeManager,o=Pr.getParserServices(r),i=o.esTreeNodeToTSNodeMap,a=o.program.getTypeChecker(),u=new Map;function c(l){l.references.forEach(m=>{let p=m.resolved,f=m.resolved?.scope;if(p&&f){let d=p.defs.at(0)?.type;if(d==="Type"||d==="ImportBinding"||Lh(p,r))return;let y=m.from,v;for(;y&&(v=u.get(y),!v);)y=y.upper;if(y&&v){let A=f.type;if(A==="global"||A==="module")return;let P=m.identifier,j=i.get(P),w=f;for(;w&&!u.has(w);)w=w.upper;if(w!==y){P.parent&&P.parent.type==="AssignmentExpression"&&P.parent.left===P&&r.report({messageId:"mutableIdentifier",node:m.identifier,data:{varName:m.identifier.name,dollarName:v}});let k=Oh(r,a,j,m.identifier,t);k&&r.report({messageId:"referencesOutside",node:m.identifier,data:{varName:m.identifier.name,dollarName:v,reason:Ch(k)}})}}}}),l.childScopes.forEach(c)}return{CallExpression(l){if(l.callee.type==="Identifier"&&l.callee.name.endsWith("$")){let m=l.arguments.at(0);if(m&&m.type==="ArrowFunctionExpression"){let p=n.acquire(m);p&&u.set(p,l.callee.name)}}},JSXAttribute(l){let m=l.name,p=m.type==="JSXIdentifier"?m.name:m.name.name;if(p.endsWith("$")){let f=l.value;if(f&&f.type==="JSXExpressionContainer"){let d=n.acquire(f.expression);if(d)u.set(d,p);else if(f.expression.type==="Identifier"){let y=i.get(f.expression),v=a.getTypeAtLocation(y).getNonNullableType();if(!Up(v))if(v.isUnionOrIntersection())v.types.every(A=>A.symbol?A.symbol.name==="Component"||A.symbol.name==="PropFnInterface":!1)||r.report({messageId:"invalidJsxDollar",node:f.expression,data:{varName:f.expression.name,solution:`Fix the type of ${f.expression.name} to be QRL`}});else{if(v.symbol?.name==="PropFnInterface")return;r.report({messageId:"invalidJsxDollar",node:f.expression,data:{varName:f.expression.name,solution:`const ${f.expression.name} = $(
298
+ Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){let t={allowAny:r.options[0]?.allowAny??!0},n=r.sourceCode.scopeManager,o=Pr.getParserServices(r),i=o.esTreeNodeToTSNodeMap,a=o.program.getTypeChecker(),u=new Map;function c(p){p.references.forEach(m=>{let l=m.resolved,f=m.resolved?.scope;if(l&&f){let d=l.defs.at(0)?.type;if(d==="Type"||d==="ImportBinding"||jh(l,r))return;let y=m.from,v;for(;y&&(v=u.get(y),!v);)y=y.upper;if(y&&v){let A=f.type;if(A==="global"||A==="module")return;let P=m.identifier,M=i.get(P),w=f;for(;w&&!u.has(w);)w=w.upper;if(w!==y){P.parent&&P.parent.type==="AssignmentExpression"&&P.parent.left===P&&r.report({messageId:"mutableIdentifier",node:m.identifier,data:{varName:m.identifier.name,dollarName:v}});let k=Oh(r,a,M,m.identifier,t);k&&r.report({messageId:"referencesOutside",node:m.identifier,data:{varName:m.identifier.name,dollarName:v,reason:$h(k)}})}}}}),p.childScopes.forEach(c)}return{CallExpression(p){if(p.callee.type==="Identifier"&&p.callee.name.endsWith("$")){let m=p.arguments.at(0);if(m&&m.type==="ArrowFunctionExpression"){let l=n.acquire(m);l&&u.set(l,p.callee.name)}}},JSXAttribute(p){let m=p.name,l=m.type==="JSXIdentifier"?m.name:m.name.name;if(l.endsWith("$")){let f=p.value;if(f&&f.type==="JSXExpressionContainer"){let d=n.acquire(f.expression);if(d)u.set(d,l);else if(f.expression.type==="Identifier"){let y=i.get(f.expression),v=a.getTypeAtLocation(y).getNonNullableType();if(!Up(v))if(v.isUnionOrIntersection())v.types.every(A=>A.symbol?A.symbol.name==="Component"||A.symbol.name==="PropFnInterface":!1)||r.report({messageId:"invalidJsxDollar",node:f.expression,data:{varName:f.expression.name,solution:`Fix the type of ${f.expression.name} to be QRL`}});else{if(v.symbol?.name==="PropFnInterface")return;r.report({messageId:"invalidJsxDollar",node:f.expression,data:{varName:f.expression.name,solution:`const ${f.expression.name} = $(
299
299
  ${Bp(v.symbol,r.sourceCode.text)}
300
300
  );
301
- `}})}}}}},Program(l){let m=i.get(l),p=a.getSymbolAtLocation(m);p&&(exports=a.getExportsOfModule(p))},"Program:exit"(){c(n.globalScope)}}}});function Oh(r,e,t,n,o){let i=e.getTypeAtLocation(t);return $h(r,e,i,t,n,o,new Set)}function Ch(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function $h(r,e,t,n,o,i,a){let u=Ue(r,e,t,n,i,0,a);if(u){let c=u.location;return c&&(u.location=`${o.name}.${c}`),u}return u}function Ue(r,e,t,n,o,i,a){if(a.has(t)||(a.add(t),t.getProperties().some(d=>/(__no_serialize__|__qwik_serializable__|NoSerializeSymbol|SerializerSymbol)/i.test(d.escapedName))))return;if(t.flags&L.default.TypeFlags.Unknown)return{type:t,typeStr:e.typeToString(t),reason:"is unknown, which could be serializable or not, please make the type more specific"};let c=t.flags&L.default.TypeFlags.Any;if(!o.allowAny&&c)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&L.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&L.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if(Up(t)||t.symbol?.name==="JSXNode")return;if(t.getCallSignatures().length>0){let d=t.symbol.name;if(d==="PropFnInterface"||d==="RefFnInterface"||d==="bivarianceHack"||d==="FunctionComponent")return;let y="is a function, which is not serializable";if(i===0&&L.default.isIdentifier(n)){let v=`const ${n.text} = $(
301
+ `}})}}}}},Program(p){let m=i.get(p),l=a.getSymbolAtLocation(m);l&&(exports=a.getExportsOfModule(l))},"Program:exit"(){c(n.globalScope)}}}});function Oh(r,e,t,n,o){let i=e.getTypeAtLocation(t);return Fh(r,e,i,t,n,o,new Set)}function $h(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function Fh(r,e,t,n,o,i,a){let u=Ue(r,e,t,n,i,0,a);if(u){let c=u.location;return c&&(u.location=`${o.name}.${c}`),u}return u}function Ue(r,e,t,n,o,i,a){if(a.has(t)||(a.add(t),t.getProperties().some(d=>/(__no_serialize__|__qwik_serializable__|NoSerializeSymbol|SerializerSymbol)/i.test(d.escapedName))))return;if(t.flags&j.default.TypeFlags.Unknown)return{type:t,typeStr:e.typeToString(t),reason:"is unknown, which could be serializable or not, please make the type more specific"};let c=t.flags&j.default.TypeFlags.Any;if(!o.allowAny&&c)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&j.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&j.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if(Up(t)||t.symbol?.name==="JSXNode")return;if(t.getCallSignatures().length>0){let d=t.symbol.name;if(d==="PropFnInterface"||d==="RefFnInterface"||d==="bivarianceHack"||d==="FunctionComponent")return;let y="is a function, which is not serializable";if(i===0&&j.default.isIdentifier(n)){let v=`const ${n.text} = $(
302
302
  ${Bp(t.symbol,r.sourceCode.text)}
303
303
  );`;y+=`.
304
304
  Did you mean to wrap it in \`$()\`?
305
305
 
306
306
  ${v}
307
- `}return{type:t,typeStr:e.typeToString(t),reason:y}}if(t.isUnion()){for(let d of t.types){let y=Ue(r,e,d,n,o,i+1,a);if(y)return y}return}if((t.flags&L.default.TypeFlags.Object)!==0){let d=Nh(t,e);if(d)return Ue(r,e,d,n,o,i+1,a);let y=Rh(t,e);if(y){for(let w of y){let k=Ue(r,e,w,n,o,i+1,a);if(k)return k}return}let v=t.symbol.name;if(t.getProperty("nextElementSibling")||t.getProperty("activeElement")||v in Mh)return;if(t.isClass())return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable. Use a simple object literal instead`};let A=t.getProperty("prototype");if(A){let w=e.getTypeOfSymbolAtLocation(A,n);if(w.isClass())return{type:w,typeStr:e.typeToString(w),reason:"is a class constructor, which is not serializable"}}if(!v.startsWith("__")&&t.symbol.valueDeclaration)return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable`};let P=_h(t),j=P?[P]:t.getProperties();for(let w of j){let k=Fh(r,e,w,n,o,i+1,a);if(k){let Se=k.location;return k.location=`${w.name}${Se?`.${Se}`:""}`,k}}}}function Fh(r,e,t,n,o,i,a){let u=e.getTypeOfSymbolAtLocation(t,n);return Ue(r,e,u,n,o,i,a)}function _h(r){let e=r.getProperty("value");if(e){if(r.symbol?.escapedName?.endsWith("Signal"))return e;for(let t of e.declarations??[]){let n=t.parent;if(n&&L.default.isInterfaceDeclaration(n)&&n.name.text.endsWith("Signal"))return e}}}function Nh(r,e){return e.getElementTypeOfArrayType(r)}function Rh(r,e){return e.isTupleType(r)?e.getTypeArguments(r):void 0}function Up(r){return!!(r.flags&L.default.TypeFlags.Any)||!!r.getNonNullableType().getProperty("__brand__QRL__")}function Bp(r,e){if(r&&r.declarations&&r.declarations.length>0){let t=r.declarations[0],n=e.slice(t.pos,t.end).replace(/^\s*$/gm,"");return Vn(n,2)}return""}function Lh(r,e){let t=r.defs[0];if(!t||t.type!=="Variable")return!1;let n=t.node.init;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&/^use[A-Z]/.test(n.callee.name)){let o=n.callee.name,a=e.sourceCode.getScope(t.node).references.find(u=>u.identifier.name===o);return a?.resolved&&jh(a.resolved)}return!1}function jh(r){return r.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return t.startsWith("@qwik.dev/core")||t.startsWith("@qwik.dev/router")||t.startsWith("@builder.io/qwik")||t.startsWith("@builder.io/qwik-city")})}var Mh={Promise:!0,URL:!0,RegExp:!0,Date:!0,FormData:!0,URLSearchParams:!0,Error:!0,Set:!0,Map:!0,Uint8Array:!0,Duration:!0,Instant:!0,PlainDate:!0,PlainDateTime:!0,PlainMonthDay:!0,PlainTime:!0,PlainYearMonth:!0,ZonedDateTime:!0},rT=`
307
+ `}return{type:t,typeStr:e.typeToString(t),reason:y}}if(t.isUnion()){for(let d of t.types){let y=Ue(r,e,d,n,o,i+1,a);if(y)return y}return}if((t.flags&j.default.TypeFlags.Object)!==0){let d=Rh(t,e);if(d)return Ue(r,e,d,n,o,i+1,a);let y=Lh(t,e);if(y){for(let w of y){let k=Ue(r,e,w,n,o,i+1,a);if(k)return k}return}let v=t.symbol.name;if(t.getProperty("nextElementSibling")||t.getProperty("activeElement")||v in Dh)return;if(t.isClass())return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable. Use a simple object literal instead`};let A=t.getProperty("prototype");if(A){let w=e.getTypeOfSymbolAtLocation(A,n);if(w.isClass())return{type:w,typeStr:e.typeToString(w),reason:"is a class constructor, which is not serializable"}}if(!v.startsWith("__")&&t.symbol.valueDeclaration)return{type:t,typeStr:e.typeToString(t),reason:`is an instance of the "${t.symbol.name}" class, which is not serializable`};let P=Nh(t),M=P?[P]:t.getProperties();for(let w of M){let k=_h(r,e,w,n,o,i+1,a);if(k){let Se=k.location;return k.location=`${w.name}${Se?`.${Se}`:""}`,k}}}}function _h(r,e,t,n,o,i,a){let u=e.getTypeOfSymbolAtLocation(t,n);return Ue(r,e,u,n,o,i,a)}function Nh(r){let e=r.getProperty("value");if(e){if(r.symbol?.escapedName?.endsWith("Signal"))return e;for(let t of e.declarations??[]){let n=t.parent;if(n&&j.default.isInterfaceDeclaration(n)&&n.name.text.endsWith("Signal"))return e}}}function Rh(r,e){return e.getElementTypeOfArrayType(r)}function Lh(r,e){return e.isTupleType(r)?e.getTypeArguments(r):void 0}function Up(r){return!!(r.flags&j.default.TypeFlags.Any)||!!r.getNonNullableType().getProperty("__brand__QRL__")}function Bp(r,e){if(r&&r.declarations&&r.declarations.length>0){let t=r.declarations[0],n=e.slice(t.pos,t.end).replace(/^\s*$/gm,"");return Vn(n,2)}return""}function jh(r,e){let t=r.defs[0];if(!t||t.type!=="Variable")return!1;let n=t.node.init;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&/^use[A-Z]/.test(n.callee.name)){let o=n.callee.name,a=e.sourceCode.getScope(t.node).references.find(u=>u.identifier.name===o);return a?.resolved&&Mh(a.resolved)}return!1}function Mh(r){return r.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return t.startsWith("@qwik.dev/core")||t.startsWith("@qwik.dev/router")||t.startsWith("@builder.io/qwik")||t.startsWith("@builder.io/qwik-city")})}var Dh={Promise:!0,URL:!0,RegExp:!0,Date:!0,FormData:!0,URLSearchParams:!0,Error:!0,Set:!0,Map:!0,Uint8Array:!0,Duration:!0,Instant:!0,PlainDate:!0,PlainDateTime:!0,PlainMonthDay:!0,PlainTime:!0,PlainYearMonth:!0,ZonedDateTime:!0},oT=`
308
308
  import { component$, useTask$, $ } from '@qwik.dev/core';
309
309
 
310
310
  export const HelloWorld = component$(() => {
@@ -317,7 +317,7 @@ export const HelloWorld = component$(() => {
317
317
  });
318
318
 
319
319
  return <h1>Hello</h1>;
320
- });`.trim(),tT=`
320
+ });`.trim(),iT=`
321
321
  import { component$, useTask$ } from '@qwik.dev/core';
322
322
 
323
323
  export const HelloWorld = component$(() => {
@@ -330,7 +330,7 @@ export const HelloWorld = component$(() => {
330
330
  });
331
331
 
332
332
  return <h1>Hello</h1>;
333
- });`.trim(),nT=`
333
+ });`.trim(),aT=`
334
334
  import { component$, $ } from '@qwik.dev/core';
335
335
 
336
336
  export const HelloWorld = component$(() => {
@@ -338,7 +338,7 @@ export const HelloWorld = component$(() => {
338
338
  return (
339
339
  <button onClick$={click}>log it</button>
340
340
  );
341
- });`.trim(),oT=`
341
+ });`.trim(),sT=`
342
342
  import { component$ } from '@qwik.dev/core';
343
343
 
344
344
  export const HelloWorld = component$(() => {
@@ -346,7 +346,7 @@ export const HelloWorld = component$(() => {
346
346
  return (
347
347
  <button onClick$={click}>log it</button>
348
348
  );
349
- });`.trim(),iT=`
349
+ });`.trim(),uT=`
350
350
  import { component$ } from '@qwik.dev/core';
351
351
 
352
352
  export const HelloWorld = component$(() => {
@@ -359,7 +359,7 @@ export const HelloWorld = component$(() => {
359
359
  {person.name}
360
360
  </button>
361
361
  );
362
- });`.trim(),aT=`
362
+ });`.trim(),lT=`
363
363
  import { component$ } from '@qwik.dev/core';
364
364
 
365
365
  export const HelloWorld = component$(() => {
@@ -372,7 +372,7 @@ export const HelloWorld = component$(() => {
372
372
  {personName}
373
373
  </button>
374
374
  );
375
- });`.trim();var Jp=require("@typescript-eslint/utils");var Dh=Jp.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Wp=Dh({name:"serializer-signal-usage",meta:{type:"problem",docs:{description:"Ensure signals used in update() are also used in deserialize()"},schema:[],messages:{serializerSignalMismatch:"Signals/Stores used in update() must also be used in deserialize(). Missing: {{signals}}"}},defaultOptions:[],create(r){function e(i){return i.endsWith("Signal")||i.endsWith("Store")||i==="signal"||i==="store"}function t(i,a){return a?a.type==="AssignmentExpression"&&a.left===i||a.type==="UpdateExpression"&&a.argument===i:!1}function n(i){let a=new Set,u=new Set;return Cr(i.body,(c,l)=>{c.type==="MemberExpression"&&!t(c,l)&&c.object.type==="Identifier"&&!u.has(c.object.name)&&(c.property.type==="Identifier"&&c.property.name==="value"?a.add(c.object.name):c.property.type==="Identifier"&&e(c.object.name)&&a.add(`${c.object.name}.${c.property.name}`)),c.type==="Identifier"&&!u.has(c.name)&&e(c.name)&&a.add(c.name)}),a}function o(i){if(i.body.type==="ObjectExpression")return i.body;if(i.body.type!=="BlockStatement")return;let a=i.body.body.find(u=>u.type==="ReturnStatement");return a?.argument?.type==="ObjectExpression"?a.argument:void 0}return{CallExpression(i){if(i.callee.type!=="Identifier"||i.callee.name!=="useSerializer$"&&i.callee.name!=="createSerializer$")return;let a=i.arguments[0];if(!Ge(a))return;let u=o(a);if(!u)return;let c=$r(u,"update"),l=$r(u,"deserialize"),m=c?.value,p=l?.value;if(!c||!Ge(m)||!Ge(p))return;let f=n(m),d=n(p),y=[...Array.from(f).filter(v=>!d.has(v)),...Array.from(d).filter(v=>!f.has(v))];y.length>0&&r.report({node:c,messageId:"serializerSignalMismatch",data:{signals:y.join(", ")}})}}}}),pT=`
375
+ });`.trim();var Jp=require("@typescript-eslint/utils");var Vh=Jp.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Wp=Vh({name:"serializer-signal-usage",meta:{type:"problem",docs:{description:"Ensure signals used in update() are also used in deserialize()"},schema:[],messages:{serializerSignalMismatch:"Signals/Stores used in update() must also be used in deserialize(). Missing: {{signals}}"}},defaultOptions:[],create(r){function e(i){return i.endsWith("Signal")||i.endsWith("Store")||i==="signal"||i==="store"}function t(i,a){return a?a.type==="AssignmentExpression"&&a.left===i||a.type==="UpdateExpression"&&a.argument===i:!1}function n(i){let a=new Set,u=new Set;return Or(i.body,(c,p)=>{c.type==="MemberExpression"&&!t(c,p)&&c.object.type==="Identifier"&&!u.has(c.object.name)&&(c.property.type==="Identifier"&&c.property.name==="value"?a.add(c.object.name):c.property.type==="Identifier"&&e(c.object.name)&&a.add(`${c.object.name}.${c.property.name}`)),c.type==="Identifier"&&!u.has(c.name)&&e(c.name)&&a.add(c.name)}),a}function o(i){if(i.body.type==="ObjectExpression")return i.body;if(i.body.type!=="BlockStatement")return;let a=i.body.body.find(u=>u.type==="ReturnStatement");return a?.argument?.type==="ObjectExpression"?a.argument:void 0}return{CallExpression(i){if(i.callee.type!=="Identifier"||i.callee.name!=="useSerializer$"&&i.callee.name!=="createSerializer$")return;let a=i.arguments[0];if(!Ge(a))return;let u=o(a);if(!u)return;let c=$r(u,"update"),p=$r(u,"deserialize"),m=c?.value,l=p?.value;if(!c||!Ge(m)||!Ge(l))return;let f=n(m),d=n(l),y=[...Array.from(f).filter(v=>!d.has(v)),...Array.from(d).filter(v=>!f.has(v))];y.length>0&&r.report({node:c,messageId:"serializerSignalMismatch",data:{signals:y.join(", ")}})}}}}),dT=`
376
376
  import { useSignal, useSerializer$ } from '@qwik.dev/core';
377
377
  import MyClass from './my-class';
378
378
 
@@ -388,7 +388,7 @@ export default component$(() => {
388
388
  }));
389
389
 
390
390
  return <div>{myClass.count}</div>;
391
- });`.trim(),cT=`
391
+ });`.trim(),mT=`
392
392
  import { useSignal, useSerializer$ } from '@qwik.dev/core';
393
393
  import MyClass from './my-class';
394
394
 
@@ -406,4 +406,4 @@ export default component$(() => {
406
406
 
407
407
  return <div>{myClass.count}</div>;
408
408
  });`.trim();var Xp={meta:{type:"suggestion",docs:{description:"Detect preventDefault in $(()=>{}) Async Functions.",recommended:!0,url:"https://qwik.dev/docs/components/events/#preventdefault--stoppropagation"},messages:{noAsyncPreventDefault:`This is an asynchronous function and does not support preventDefault.
409
- Use preventDefault attributes instead`}},create(r){return{"CallExpression[callee.property.name='preventDefault']"(e){let t=e.parent;for(;t;){if(t.type==="CallExpression"&&t.callee&&t.callee.type==="Identifier"&&t.callee.name==="$"){r.report({node:e,messageId:"noAsyncPreventDefault"});break}t=t.parent}}}}};var Vh=new Set(["useTask$","useTaskQrl"]);function Uh(r){return r.callee.type==="Identifier"&&Vh.has(r.callee.name)}function Bh(r){let e=r.arguments[0];return e?.type==="ArrowFunctionExpression"||e?.type==="FunctionExpression"?e:null}function Un(r){return r?r.type==="AssignmentPattern"?Un(r.right):r.type==="Literal"&&r.value===!1?!0:r.type==="TSAsExpression"?Un(r.expression):!1:!1}function Jh(r){let e=r.arguments[1];if(!e||e.type!=="ObjectExpression")return!1;for(let t of e.properties){if(t.type!=="Property"||t.computed)continue;let n=t.key;if((n.type==="Identifier"?n.name:n.type==="Literal"?String(n.value):null)==="deferUpdates"&&Un(t.value))return!0}return!1}function Gp(r){let e=new Set;return te(r,t=>{t.type==="VariableDeclarator"&&t.id.type==="Identifier"&&t.init&&t.init.type==="CallExpression"&&t.init.callee.type==="Identifier"&&t.init.callee.name==="useNavigate"&&e.add(t.id.name)}),e}function Wh(r){let e=new Set,t=r.parent;for(;t;){if(t.type==="ArrowFunctionExpression"||t.type==="FunctionExpression"){let n=t.parent;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&n.callee.name==="component$")for(let o of Gp(t))e.add(o)}if(t.type==="Program"){for(let n of Gp(t))e.add(n);break}t=t.parent??null}return e}function Xh(r,e,t){te(e,n=>{if(n.type==="AwaitExpression"){let o=n.argument;o.type==="CallExpression"&&o.callee.type==="Identifier"&&t.has(o.callee.name)&&r.report({node:n,messageId:"noAwaitBlocking",data:{name:o.callee.name}})}})}var Hp={meta:{type:"problem",docs:{description:"Disallow awaiting the function returned by `useNavigate()` inside blocking `useTask$` callbacks.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/"},messages:{noAwaitBlocking:"Awaiting `{{name}}()` from `useNavigate()` inside a blocking `useTask$` can deadlock. Remove `await`, or pass `{ deferUpdates: false }` as the second argument to `useTask$`."}},create(r){return{CallExpression(e){if(!Uh(e)||Jh(e))return;let t=Bh(e);if(!t)return;let n=Wh(e);n.size&&Xh(r,t.body,n)}}}};var Bn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"2.0.0-beta.40",author:"Qwik Team",bugs:"https://github.com/QwikDev/qwik/issues",dependencies:{"@typescript-eslint/utils":"^8.59.2","jsx-ast-utils":"^3.3.5"},devDependencies:{"@qwik.dev/core":"workspace:*","@qwik.dev/router":"workspace:*","@types/estree":"1.0.8","@typescript-eslint/rule-tester":"8.59.2",redent:"4.0.0"},engines:{node:"^18.17.0 || ^20.3.0 || >=21.0.0"},files:["README.md","dist"],homepage:"https://github.com/QwikDev/qwik#readme",keywords:["eslint","qwik"],license:"MIT",main:"dist/index.js",peerDependencies:{eslint:"^8.57.0 || ^9.0.0 || ^10.0.0"},repository:{type:"git",url:"https://github.com/QwikDev/qwik.git",directory:"packages/eslint-rules"},scripts:{test:"cd ../..; ./node_modules/.bin/vitest packages/eslint-plugin-qwik/qwik.unit.ts"}};var x=require("@typescript-eslint/utils");var Hh="isServer",zp=["process","__dirname","__filename","module"],Kp=["fs","os","path","child_process","http","https","Buffer"],Qp={meta:{type:"problem",docs:{description:"Disallow direct or indirect (via one-level function call) Node.js API usage in useTask$ without a server guard (e.g., isServer).",url:""},fixable:void 0,schema:[{type:"object",properties:{forbiddenApis:{type:"array",items:{type:"string"},default:Kp}},additionalProperties:!1}],messages:{unsafeApiUsage:"Node.js API '{{apiName}}' should only be used inside an '{{guardName}}' block within useTask$. Example: if ({{guardName}}) { {{apiName}}.call(); }",unsafeApiUsageInCalledFunction:"Node.js API '{{apiName}}' used in function '{{calledFunctionName}}' (called from useTask$) needs '{{guardName}}' protection. Either guard the call site or protect the API usage within '{{calledFunctionName}}'."}},create(r){let e=r.options[0]||{},t=new Set(e.forbiddenApis||Kp.concat(zp)),n=Hh,o=r.sourceCode,i=null;function a(l,m){let p=l.parent;for(;p&&p!==m.body&&p!==m;){if(p.type===x.AST_NODE_TYPES.IfStatement){let f=p;if(We(l,f.consequent)||l===f.consequent){let d=f.test;if(d.type===x.AST_NODE_TYPES.Identifier&&d.name===n||d.type===x.AST_NODE_TYPES.BinaryExpression&&d.operator==="==="&&(d.left.type===x.AST_NODE_TYPES.Identifier&&d.left.name===n&&d.right.type===x.AST_NODE_TYPES.Literal&&d.right.value===!0||d.right.type===x.AST_NODE_TYPES.Identifier&&d.right.name===n&&d.left.type===x.AST_NODE_TYPES.Literal&&d.left.value===!0)||d.type===x.AST_NODE_TYPES.UnaryExpression&&d.operator==="!"&&d.argument.type===x.AST_NODE_TYPES.UnaryExpression&&d.argument.operator==="!"&&d.argument.argument.type===x.AST_NODE_TYPES.Identifier&&d.argument.argument.name===n)return!0}}p=p.parent}return!1}function u(l){let m=o.getScope(l),p=null,f=m;if(!zp.includes(l.name))return!0;for(;f;){let d=f.variables.find(y=>y.name===l.name);if(d){p=d;break}if(f.type==="global"){p=f.variables.find(y=>y.name===l.name);break}f=f.upper}return!p||p.defs.length===0?!1:p.defs.some(d=>d.type==="Variable"||d.type==="Parameter"||d.type==="FunctionName"||d.type==="ClassName"||d.type==="ImportBinding")}function c(l,m,p){te(l,f=>f.type===x.AST_NODE_TYPES.Identifier&&t.has(f.name)&&!u(f)&&!a(f,m)?(r.report({node:p,messageId:"unsafeApiUsageInCalledFunction",data:{apiName:f.name,calledFunctionName:m.id?.name||(p.type===x.AST_NODE_TYPES.Identifier?p.name:"[anonymous]"),guardName:n}}),!0):!1)}return{":function"(l){let m=l.parent;m&&m.type===x.AST_NODE_TYPES.CallExpression&&m.callee.type===x.AST_NODE_TYPES.Identifier&&m.callee.name==="useTask$"&&m.arguments.length>0&&m.arguments[0]===l&&(i=l)},":function:exit"(l){i===l&&(i=null)},Identifier(l){if(i&&!(i.body!==l&&!We(l,i.body))&&!(l.parent&&l.parent.type===x.AST_NODE_TYPES.CallExpression&&l.parent.callee===l)&&t.has(l.name)){if(u(l))return;a(l,i)||r.report({node:l,messageId:"unsafeApiUsage",data:{apiName:l.name,guardName:n}})}},CallExpression(l){if(i&&We(l,i.body)&&!a(l,i)&&l.callee.type===x.AST_NODE_TYPES.Identifier){let m=l.callee,p=D(r,m);if(p&&p.defs.length>0){let f=p.defs[0],d=null;if(f.node.type===x.AST_NODE_TYPES.FunctionDeclaration?d=f.node:f.node.type===x.AST_NODE_TYPES.VariableDeclarator&&f.node.init&&(f.node.init.type===x.AST_NODE_TYPES.FunctionExpression||f.node.init.type===x.AST_NODE_TYPES.ArrowFunctionExpression)&&(d=f.node.init),d){let y=(d.body.type===x.AST_NODE_TYPES.BlockStatement,d.body);c(y,d,l)}}}}}}};var h=require("@typescript-eslint/utils"),K=re(require("typescript"));function zh(r,e){return Qn(r,e)}function Kh(r){let e=r.body[0];if(!e||e.type!==h.AST_NODE_TYPES.ExpressionStatement)return null;let t=e.expression;return t.type===h.AST_NODE_TYPES.MemberExpression&&!t.computed&&t.property.type===h.AST_NODE_TYPES.Identifier&&t.property.name==="value"?e:null}function Qh(r,e){let t=D(r,e);if(!t||t.defs&&t.defs.length===0)return!1;let n=h.ESLintUtils.getParserServices(r),o=n?.program?.getTypeChecker(),i=n?.esTreeNodeToTSNodeMap;function a(u){if(!u)return!1;if(K.default.isVariableDeclaration(u)&&u.initializer&&K.default.isCallExpression(u.initializer)){let c=u.initializer.expression;if(K.default.isIdentifier(c)){let l=c.text;return l==="createAsync$"||l==="useAsync$"||l==="routeLoader$"}}return K.default.isExportSpecifier(u)||K.default.isImportSpecifier(u),!1}for(let u of t.defs){if(u.type==="Variable"&&u.node.type===h.AST_NODE_TYPES.VariableDeclarator){let c=u.node.init;if(c&&c.type===h.AST_NODE_TYPES.CallExpression){let l=c.callee;if(l.type===h.AST_NODE_TYPES.Identifier){let m=l.name;if((m==="useAsync$"||m==="createAsync$"||m==="routeLoader$")&&Xe(D(r,l)))return!0;let p=D(r,l);if(p&&p.defs){for(let f of p.defs)if(f.type==="Variable"&&f.node.type===h.AST_NODE_TYPES.VariableDeclarator){let d=f.node.init;if(d&&d.type===h.AST_NODE_TYPES.CallExpression){let y=d.callee;if(y.type===h.AST_NODE_TYPES.Identifier&&y.name==="routeLoader$"&&Xe(D(r,y)))return!0}}}}}}if(u.type==="ImportBinding"&&o&&i)try{let c=i.get(e);if(c){let l=o.getSymbolAtLocation(c);if(l&&l.flags&K.default.SymbolFlags.Alias&&(l=o.getAliasedSymbol(l)),l){for(let f of l.declarations??[]){if(a(f))return!0;if(K.default.isVariableStatement(f)){for(let d of f.declarationList.declarations)if(a(d))return!0}}let m=o.getTypeOfSymbolAtLocation(l,c),p=o.typeToString(m.getNonNullableType());if(/Async/i.test(p))return!0}}}catch{}}if(o&&i)try{let u=i.get(e),c=o.getTypeAtLocation(u),l=o.typeToString(c.getNonNullableType());if(/Async|LoaderSignal/i.test(l))return!0}catch{}return!1}function Yh(r,e,t){for(let n of r.body){if(n===e)break;if(n.type!==h.AST_NODE_TYPES.ExpressionStatement)continue;let o=n.expression;if(o.type!==h.AST_NODE_TYPES.AwaitExpression)continue;let i=o.argument;if(i.type===h.AST_NODE_TYPES.CallExpression&&(i=i.callee),i.type===h.AST_NODE_TYPES.MemberExpression&&!i.computed&&i.object.type===h.AST_NODE_TYPES.Identifier&&i.object.name===t&&i.property.type===h.AST_NODE_TYPES.Identifier&&i.property.name==="promise")return!0}return!1}function Zh(r,e,t){let n=e.parent;if(n&&n.type===h.AST_NODE_TYPES.CallExpression&&n.callee.type===h.AST_NODE_TYPES.Identifier&&zh(r,n.callee)){for(let o of n.arguments)if(o===e)return!0}if(e.async){for(let o of e.params)if(o.type===h.AST_NODE_TYPES.Identifier&&o.name===t.name)return!0}return!1}var Yp={meta:{type:"problem",docs:{description:"Warn when an async computed signal '.value' is read not at the top of a QRL callback.",recommended:!1,url:""},schema:[],messages:{asyncComputedNotTop:"Async computed '{{name}}.value' must be first, or use 'await {{name}}.promise()' beforehand."}},create(r){return{MemberExpression(e){if(e.computed||e.property.type!==h.AST_NODE_TYPES.Identifier||e.property.name!=="value")return;let t=e.object;if(t.type!==h.AST_NODE_TYPES.Identifier||!Qh(r,t))return;let n=Yn(e);if(!n||!Zh(r,n,t))return;let o=e.parent;if(!o||o.type!==h.AST_NODE_TYPES.ExpressionStatement&&o.type!==h.AST_NODE_TYPES.ReturnStatement)return;let i=n.body&&n.body.type===h.AST_NODE_TYPES.BlockStatement?n.body:null;if(!i)return n.body.type===h.AST_NODE_TYPES.MemberExpression&&n.body===e,void 0;o.parent!==i||i.body[0]===o||Kh(i)===o||(o.type===h.AST_NODE_TYPES.ExpressionStatement||o.type===h.AST_NODE_TYPES.ReturnStatement)&&Yh(i,o,t.name)||r.report({node:e,messageId:"asyncComputedNotTop",data:{name:t.name}})}}}};var Zp={"valid-lexical-scope":Vp,"use-method-usage":Dp,"no-react-props":Rp,"loader-location":Np,"prefer-classlist":jp,"jsx-no-script-url":Fp,"jsx-key":Cp,"unused-server":Mp,"jsx-img":to,"jsx-a":eo,"no-use-visible-task":Lp,"serializer-signal-usage":Wp,"scope-use-task":Qp,"use-async-top":Yp,"no-async-prevent-default":Xp,"no-await-navigate-in-use-task":Hp},ec={"qwik/valid-lexical-scope":"error","qwik/use-method-usage":"error","qwik/no-react-props":"error","qwik/loader-location":"warn","qwik/prefer-classlist":"warn","qwik/jsx-no-script-url":"warn","qwik/jsx-key":"warn","qwik/unused-server":"error","qwik/jsx-img":"warn","qwik/jsx-a":"warn","qwik/no-use-visible-task":"warn","qwik/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},rc={"qwik/valid-lexical-scope":"error","qwik/use-method-usage":"error","qwik/no-react-props":"error","qwik/loader-location":"error","qwik/prefer-classlist":"error","qwik/jsx-no-script-url":"error","qwik/jsx-key":"error","qwik/unused-server":"error","qwik/jsx-img":"error","qwik/jsx-a":"error","qwik/no-use-visible-task":"warn","qwik/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},eb={recommended:{plugins:["qwik"],rules:ec},strict:{plugins:["qwik"],rules:rc}},tc={configs:{get recommended(){return rb},get strict(){return tb}},meta:{name:Bn.name,version:Bn.version},rules:Zp},nc=r=>[{plugins:{qwik:tc},rules:r}],rb=nc(ec),tb=nc(rc);0&&(module.exports={configs,qwikEslint9Plugin,rules});
409
+ Use preventDefault attributes instead`}},create(r){return{"CallExpression[callee.property.name='preventDefault']"(e){let t=e.parent;for(;t;){if(t.type==="CallExpression"&&t.callee&&t.callee.type==="Identifier"&&t.callee.name==="$"){r.report({node:e,messageId:"noAsyncPreventDefault"});break}t=t.parent}}}}};var Uh=new Set(["useTask$","useTaskQrl"]);function Bh(r){return r.callee.type==="Identifier"&&Uh.has(r.callee.name)}function Jh(r){let e=r.arguments[0];return e?.type==="ArrowFunctionExpression"||e?.type==="FunctionExpression"?e:null}function Un(r){return r?r.type==="AssignmentPattern"?Un(r.right):r.type==="Literal"&&r.value===!1?!0:r.type==="TSAsExpression"?Un(r.expression):!1:!1}function Wh(r){let e=r.arguments[1];if(!e||e.type!=="ObjectExpression")return!1;for(let t of e.properties){if(t.type!=="Property"||t.computed)continue;let n=t.key;if((n.type==="Identifier"?n.name:n.type==="Literal"?String(n.value):null)==="deferUpdates"&&Un(t.value))return!0}return!1}function Gp(r){let e=new Set;return te(r,t=>{t.type==="VariableDeclarator"&&t.id.type==="Identifier"&&t.init&&t.init.type==="CallExpression"&&t.init.callee.type==="Identifier"&&t.init.callee.name==="useNavigate"&&e.add(t.id.name)}),e}function Xh(r){let e=new Set,t=r.parent;for(;t;){if(t.type==="ArrowFunctionExpression"||t.type==="FunctionExpression"){let n=t.parent;if(n?.type==="CallExpression"&&n.callee.type==="Identifier"&&n.callee.name==="component$")for(let o of Gp(t))e.add(o)}if(t.type==="Program"){for(let n of Gp(t))e.add(n);break}t=t.parent??null}return e}function Gh(r,e,t){te(e,n=>{if(n.type==="AwaitExpression"){let o=n.argument;o.type==="CallExpression"&&o.callee.type==="Identifier"&&t.has(o.callee.name)&&r.report({node:n,messageId:"noAwaitBlocking",data:{name:o.callee.name}})}})}var Hp={meta:{type:"problem",docs:{description:"Disallow awaiting the function returned by `useNavigate()` inside blocking `useTask$` callbacks.",recommended:!0,url:"https://qwik.dev/docs/advanced/eslint/"},messages:{noAwaitBlocking:"Awaiting `{{name}}()` from `useNavigate()` inside a blocking `useTask$` can deadlock. Remove `await`, or pass `{ deferUpdates: false }` as the second argument to `useTask$`."}},create(r){return{CallExpression(e){if(!Bh(e)||Wh(e))return;let t=Jh(e);if(!t)return;let n=Xh(e);n.size&&Gh(r,t.body,n)}}}};var Bn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"2.0.0-beta.43",author:"Qwik Team",bugs:"https://github.com/QwikDev/qwik/issues",dependencies:{"@typescript-eslint/utils":"^8.59.2","jsx-ast-utils":"^3.3.5"},devDependencies:{"@qwik.dev/core":"workspace:*","@qwik.dev/router":"workspace:*","@types/estree":"1.0.8","@typescript-eslint/rule-tester":"8.59.2",redent:"4.0.0"},engines:{node:"^18.17.0 || ^20.3.0 || >=21.0.0"},files:["README.md","dist"],homepage:"https://github.com/QwikDev/qwik#readme",keywords:["eslint","qwik"],license:"MIT",main:"dist/index.js",peerDependencies:{eslint:"^8.57.0 || ^9.0.0 || ^10.0.0"},repository:{type:"git",url:"https://github.com/QwikDev/qwik.git",directory:"packages/eslint-rules"},scripts:{test:"cd ../..; ./node_modules/.bin/vitest packages/eslint-plugin-qwik/qwik.unit.ts"}};var x=require("@typescript-eslint/utils");var zh="isServer",zp=["process","__dirname","__filename","module"],Kp=["fs","os","path","child_process","http","https","Buffer"],Qp={meta:{type:"problem",docs:{description:"Disallow direct or indirect (via one-level function call) Node.js API usage in useTask$ without a server guard (e.g., isServer).",url:""},fixable:void 0,schema:[{type:"object",properties:{forbiddenApis:{type:"array",items:{type:"string"},default:Kp}},additionalProperties:!1}],messages:{unsafeApiUsage:"Node.js API '{{apiName}}' should only be used inside an '{{guardName}}' block within useTask$. Example: if ({{guardName}}) { {{apiName}}.call(); }",unsafeApiUsageInCalledFunction:"Node.js API '{{apiName}}' used in function '{{calledFunctionName}}' (called from useTask$) needs '{{guardName}}' protection. Either guard the call site or protect the API usage within '{{calledFunctionName}}'."}},create(r){let e=r.options[0]||{},t=new Set(e.forbiddenApis||Kp.concat(zp)),n=zh,o=r.sourceCode,i=null;function a(p,m){let l=p.parent;for(;l&&l!==m.body&&l!==m;){if(l.type===x.AST_NODE_TYPES.IfStatement){let f=l;if(We(p,f.consequent)||p===f.consequent){let d=f.test;if(d.type===x.AST_NODE_TYPES.Identifier&&d.name===n||d.type===x.AST_NODE_TYPES.BinaryExpression&&d.operator==="==="&&(d.left.type===x.AST_NODE_TYPES.Identifier&&d.left.name===n&&d.right.type===x.AST_NODE_TYPES.Literal&&d.right.value===!0||d.right.type===x.AST_NODE_TYPES.Identifier&&d.right.name===n&&d.left.type===x.AST_NODE_TYPES.Literal&&d.left.value===!0)||d.type===x.AST_NODE_TYPES.UnaryExpression&&d.operator==="!"&&d.argument.type===x.AST_NODE_TYPES.UnaryExpression&&d.argument.operator==="!"&&d.argument.argument.type===x.AST_NODE_TYPES.Identifier&&d.argument.argument.name===n)return!0}}l=l.parent}return!1}function u(p){let m=o.getScope(p),l=null,f=m;if(!zp.includes(p.name))return!0;for(;f;){let d=f.variables.find(y=>y.name===p.name);if(d){l=d;break}if(f.type==="global"){l=f.variables.find(y=>y.name===p.name);break}f=f.upper}return!l||l.defs.length===0?!1:l.defs.some(d=>d.type==="Variable"||d.type==="Parameter"||d.type==="FunctionName"||d.type==="ClassName"||d.type==="ImportBinding")}function c(p,m,l){te(p,f=>f.type===x.AST_NODE_TYPES.Identifier&&t.has(f.name)&&!u(f)&&!a(f,m)?(r.report({node:l,messageId:"unsafeApiUsageInCalledFunction",data:{apiName:f.name,calledFunctionName:m.id?.name||(l.type===x.AST_NODE_TYPES.Identifier?l.name:"[anonymous]"),guardName:n}}),!0):!1)}return{":function"(p){let m=p.parent;m&&m.type===x.AST_NODE_TYPES.CallExpression&&m.callee.type===x.AST_NODE_TYPES.Identifier&&m.callee.name==="useTask$"&&m.arguments.length>0&&m.arguments[0]===p&&(i=p)},":function:exit"(p){i===p&&(i=null)},Identifier(p){if(i&&!(i.body!==p&&!We(p,i.body))&&!(p.parent&&p.parent.type===x.AST_NODE_TYPES.CallExpression&&p.parent.callee===p)&&t.has(p.name)){if(u(p))return;a(p,i)||r.report({node:p,messageId:"unsafeApiUsage",data:{apiName:p.name,guardName:n}})}},CallExpression(p){if(i&&We(p,i.body)&&!a(p,i)&&p.callee.type===x.AST_NODE_TYPES.Identifier){let m=p.callee,l=V(r,m);if(l&&l.defs.length>0){let f=l.defs[0],d=null;if(f.node.type===x.AST_NODE_TYPES.FunctionDeclaration?d=f.node:f.node.type===x.AST_NODE_TYPES.VariableDeclarator&&f.node.init&&(f.node.init.type===x.AST_NODE_TYPES.FunctionExpression||f.node.init.type===x.AST_NODE_TYPES.ArrowFunctionExpression)&&(d=f.node.init),d){let y=(d.body.type===x.AST_NODE_TYPES.BlockStatement,d.body);c(y,d,p)}}}}}}};var S=require("@typescript-eslint/utils"),$=re(require("typescript"));function Kh(r,e){return Qn(r,e)}function Yp(r,e){return r==="routeLoader$"||(r==="useComputed$"||r==="createComputed$")&&e}function Qh(r){if(r.callee.type!==S.AST_NODE_TYPES.Identifier)return!1;let e=r.arguments[0],t=!!e&&(e.type===S.AST_NODE_TYPES.ArrowFunctionExpression||e.type===S.AST_NODE_TYPES.FunctionExpression)&&e.async;return Yp(r.callee.name,t)}function Yh(r){if(!$.default.isIdentifier(r.expression))return!1;let e=r.arguments[0],t=!!e&&($.default.isArrowFunction(e)||$.default.isFunctionExpression(e))&&!!e.modifiers?.some(n=>n.kind===$.default.SyntaxKind.AsyncKeyword);return Yp(r.expression.text,t)}function Zh(r){let e=r.body[0];if(!e||e.type!==S.AST_NODE_TYPES.ExpressionStatement)return null;let t=e.expression;return t.type===S.AST_NODE_TYPES.MemberExpression&&!t.computed&&t.property.type===S.AST_NODE_TYPES.Identifier&&t.property.name==="value"?e:null}function eb(r,e){let t=V(r,e);if(!t||t.defs&&t.defs.length===0)return!1;let n=S.ESLintUtils.getParserServices(r),o=n?.program?.getTypeChecker(),i=n?.esTreeNodeToTSNodeMap;function a(u){return u?$.default.isVariableDeclaration(u)&&u.initializer&&$.default.isCallExpression(u.initializer)?Yh(u.initializer):($.default.isExportSpecifier(u)||$.default.isImportSpecifier(u),!1):!1}for(let u of t.defs){if(u.type==="Variable"&&u.node.type===S.AST_NODE_TYPES.VariableDeclarator){let c=u.node.init;if(c&&c.type===S.AST_NODE_TYPES.CallExpression){let p=c.callee;if(p.type===S.AST_NODE_TYPES.Identifier){if(Qh(c)&&Xe(V(r,p)))return!0;let m=V(r,p);if(m&&m.defs){for(let l of m.defs)if(l.type==="Variable"&&l.node.type===S.AST_NODE_TYPES.VariableDeclarator){let f=l.node.init;if(f&&f.type===S.AST_NODE_TYPES.CallExpression){let d=f.callee;if(d.type===S.AST_NODE_TYPES.Identifier&&d.name==="routeLoader$"&&Xe(V(r,d)))return!0}}}}}}if(u.type==="ImportBinding"&&o&&i)try{let c=i.get(e);if(c){let p=o.getSymbolAtLocation(c);if(p&&p.flags&$.default.SymbolFlags.Alias&&(p=o.getAliasedSymbol(p)),p){for(let f of p.declarations??[]){if(a(f))return!0;if($.default.isVariableStatement(f)){for(let d of f.declarationList.declarations)if(a(d))return!0}}let m=o.getTypeOfSymbolAtLocation(p,c),l=o.typeToString(m.getNonNullableType());if(/Async/i.test(l))return!0}}}catch{}}if(o&&i)try{let u=i.get(e),c=o.getTypeAtLocation(u),p=o.typeToString(c.getNonNullableType());if(/Async|LoaderSignal/i.test(p))return!0}catch{}return!1}function rb(r,e,t){for(let n of r.body){if(n===e)break;if(n.type!==S.AST_NODE_TYPES.ExpressionStatement)continue;let o=n.expression;if(o.type!==S.AST_NODE_TYPES.AwaitExpression)continue;let i=o.argument;if(i.type===S.AST_NODE_TYPES.CallExpression&&(i=i.callee),i.type===S.AST_NODE_TYPES.MemberExpression&&!i.computed&&i.object.type===S.AST_NODE_TYPES.Identifier&&i.object.name===t&&i.property.type===S.AST_NODE_TYPES.Identifier&&i.property.name==="promise")return!0}return!1}function tb(r,e,t){let n=e.parent;if(n&&n.type===S.AST_NODE_TYPES.CallExpression&&n.callee.type===S.AST_NODE_TYPES.Identifier&&Kh(r,n.callee)){for(let o of n.arguments)if(o===e)return!0}if(e.async){for(let o of e.params)if(o.type===S.AST_NODE_TYPES.Identifier&&o.name===t.name)return!0}return!1}var Zp={meta:{type:"problem",docs:{description:"Warn when an async computed signal '.value' is read not at the top of a QRL callback.",recommended:!1,url:""},schema:[],messages:{asyncComputedNotTop:"Async computed '{{name}}.value' must be first, or use 'await {{name}}.promise()' beforehand."}},create(r){return{MemberExpression(e){if(e.computed||e.property.type!==S.AST_NODE_TYPES.Identifier||e.property.name!=="value")return;let t=e.object;if(t.type!==S.AST_NODE_TYPES.Identifier||!eb(r,t))return;let n=Yn(e);if(!n||!tb(r,n,t))return;let o=e.parent;if(!o||o.type!==S.AST_NODE_TYPES.ExpressionStatement&&o.type!==S.AST_NODE_TYPES.ReturnStatement)return;let i=n.body&&n.body.type===S.AST_NODE_TYPES.BlockStatement?n.body:null;if(!i)return n.body.type===S.AST_NODE_TYPES.MemberExpression&&n.body===e,void 0;o.parent!==i||i.body[0]===o||Zh(i)===o||(o.type===S.AST_NODE_TYPES.ExpressionStatement||o.type===S.AST_NODE_TYPES.ReturnStatement)&&rb(i,o,t.name)||r.report({node:e,messageId:"asyncComputedNotTop",data:{name:t.name}})}}}};var ec={"valid-lexical-scope":Vp,"use-method-usage":Dp,"no-react-props":Rp,"loader-location":Np,"prefer-classlist":jp,"jsx-no-script-url":Fp,"jsx-key":Op,"unused-server":Mp,"jsx-img":to,"jsx-a":eo,"no-use-visible-task":Lp,"serializer-signal-usage":Wp,"scope-use-task":Qp,"use-async-top":Zp,"no-async-prevent-default":Xp,"no-await-navigate-in-use-task":Hp},rc={"qwik/valid-lexical-scope":"error","qwik/use-method-usage":"error","qwik/no-react-props":"error","qwik/loader-location":"warn","qwik/prefer-classlist":"warn","qwik/jsx-no-script-url":"warn","qwik/jsx-key":"warn","qwik/unused-server":"error","qwik/jsx-img":"warn","qwik/jsx-a":"warn","qwik/no-use-visible-task":"warn","qwik/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},tc={"qwik/valid-lexical-scope":"error","qwik/use-method-usage":"error","qwik/no-react-props":"error","qwik/loader-location":"error","qwik/prefer-classlist":"error","qwik/jsx-no-script-url":"error","qwik/jsx-key":"error","qwik/unused-server":"error","qwik/jsx-img":"error","qwik/jsx-a":"error","qwik/no-use-visible-task":"warn","qwik/serializer-signal-usage":"error","qwik/scope-use-task":"error","qwik/use-async-top":"warn","qwik/no-async-prevent-default":"warn","qwik/no-await-navigate-in-use-task":"warn"},nb={recommended:{plugins:["qwik"],rules:rc},strict:{plugins:["qwik"],rules:tc}},nc={configs:{get recommended(){return ob},get strict(){return ib}},meta:{name:Bn.name,version:Bn.version},rules:ec},oc=r=>[{plugins:{qwik:nc},rules:r}],ob=oc(rc),ib=oc(tc);0&&(module.exports={configs,qwikEslint9Plugin,rules});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "eslint-plugin-qwik",
3
3
  "description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
4
- "version": "2.0.0-beta.40",
4
+ "version": "2.0.0-beta.43",
5
5
  "author": "Qwik Team",
6
6
  "bugs": "https://github.com/QwikDev/qwik/issues",
7
7
  "dependencies": {
@@ -12,8 +12,8 @@
12
12
  "@types/estree": "1.0.8",
13
13
  "@typescript-eslint/rule-tester": "8.59.2",
14
14
  "redent": "4.0.0",
15
- "@qwik.dev/router": "2.0.0-beta.40",
16
- "@qwik.dev/core": "2.0.0-beta.40"
15
+ "@qwik.dev/core": "2.0.0-beta.43",
16
+ "@qwik.dev/router": "2.0.0-beta.43"
17
17
  },
18
18
  "engines": {
19
19
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"