eslint-plugin-qwik 1.16.0 → 1.17.0

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,7 +1,7 @@
1
- "use strict";var Np=Object.create;var Ve=Object.defineProperty;var Rp=Object.getOwnPropertyDescriptor;var jp=Object.getOwnPropertyNames;var Lp=Object.getPrototypeOf,Mp=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Vp=(r,e)=>{for(var t in e)Ve(r,t,{get:e[t],enumerable:!0})},Rn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of jp(e))!Mp.call(r,o)&&o!==t&&Ve(r,o,{get:()=>e[o],enumerable:!(n=Rp(e,o))||n.enumerable});return r};var Y=(r,e,t)=>(t=r!=null?Np(Lp(r)):{},Rn(e||!r||!r.__esModule?Ve(t,"default",{value:r,enumerable:!0}):t,r)),Dp=r=>Rn(Ve({},"__esModule",{value:!0}),r);var De=s(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.default=Bp;function Bp(){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 Vn=s(me=>{"use strict";Object.defineProperty(me,"__esModule",{value:!0});me.default=Pr;me.hasAnyProp=Hp;me.hasEveryProp=Xp;var Jp=De(),Mn=Wp(Jp);function Wp(r){return r&&r.__esModule?r:{default:r}}var qr={spreadStrict:!0,ignoreCase:!0};function Pr(){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]:qr,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,Mn.default)(o).toUpperCase():(0,Mn.default)(o);return n===i})}function Hp(){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]:qr,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Pr(r,o,t)})}function Xp(){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]:qr,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Pr(r,o,t)})}});var Un=s(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.default=Gp;function Dn(){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"?Dn(r.object,r.property)+"."+e.name:r.name+"."+e.name}function Gp(){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 Dn(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var Tr=s((wb,Jn)=>{"use strict";var Bn=Object.prototype.toString;Jn.exports=function(e){var t=Bn.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Bn.call(e.callee)==="[object Function]"),n}});var Zn=s((qb,Yn)=>{"use strict";var Qn;Object.keys||(ge=Object.prototype.hasOwnProperty,Or=Object.prototype.toString,Wn=Tr(),$r=Object.prototype.propertyIsEnumerable,Hn=!$r.call({toString:null},"toString"),Xn=$r.call(function(){},"prototype"),ve=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ue=function(r){var e=r.constructor;return e&&e.prototype===r},Gn={$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},Kn=function(){if(typeof window>"u")return!1;for(var r in window)try{if(!Gn["$"+r]&&ge.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Ue(window[r])}catch{return!0}}catch{return!0}return!1}(),zn=function(r){if(typeof window>"u"||!Kn)return Ue(r);try{return Ue(r)}catch{return!1}},Qn=function(e){var t=e!==null&&typeof e=="object",n=Or.call(e)==="[object Function]",o=Wn(e),i=t&&Or.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=Xn&&n;if(i&&e.length>0&&!ge.call(e,0))for(var p=0;p<e.length;++p)a.push(String(p));if(o&&e.length>0)for(var m=0;m<e.length;++m)a.push(String(m));else for(var y in e)!(u&&y==="prototype")&&ge.call(e,y)&&a.push(String(y));if(Hn)for(var f=zn(e),c=0;c<ve.length;++c)!(f&&ve[c]==="constructor")&&ge.call(e,ve[c])&&a.push(ve[c]);return a});var ge,Or,Wn,$r,Hn,Xn,ve,Ue,Gn,Kn,zn;Yn.exports=Qn});var _r=s((Pb,to)=>{"use strict";var Kp=Array.prototype.slice,zp=Tr(),eo=Object.keys,Be=eo?function(e){return eo(e)}:Zn(),ro=Object.keys;Be.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 zp(n)?ro(Kp.call(n)):ro(n)})}else Object.keys=Be;return Object.keys||Be};to.exports=Be});var Z=s((Ab,no)=>{"use strict";var Je=Object.defineProperty||!1;if(Je)try{Je({},"a",{value:1})}catch{Je=!1}no.exports=Je});var he=s((Tb,oo)=>{"use strict";oo.exports=SyntaxError});var b=s((Ob,io)=>{"use strict";io.exports=TypeError});var so=s(($b,ao)=>{"use strict";ao.exports=Object.getOwnPropertyDescriptor});var L=s((_b,uo)=>{"use strict";var We=so();if(We)try{We([],"length")}catch{We=null}uo.exports=We});var He=s((Cb,co)=>{"use strict";var lo=Z(),Qp=he(),ee=b(),po=L();co.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new ee("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new ee("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new ee("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new ee("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new ee("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new ee("`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,p=!!po&&po(e,t);if(lo)lo(e,t,{configurable:a===null&&p?p.configurable:!a,enumerable:o===null&&p?p.enumerable:!o,value:n,writable:i===null&&p?p.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new Qp("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var be=s((kb,yo)=>{"use strict";var Cr=Z(),fo=function(){return!!Cr};fo.hasArrayLengthDefineBug=function(){if(!Cr)return null;try{return Cr([],"length",{value:1}).length!==1}catch{return!0}};yo.exports=fo});var M=s((Ib,ho)=>{"use strict";var Yp=_r(),Zp=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",ec=Object.prototype.toString,rc=Array.prototype.concat,mo=He(),tc=function(r){return typeof r=="function"&&ec.call(r)==="[object Function]"},go=be()(),nc=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!tc(n)||!n())return}go?mo(r,e,t,!0):mo(r,e,t)},vo=function(r,e){var t=arguments.length>2?arguments[2]:{},n=Yp(e);Zp&&(n=rc.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)nc(r,n[o],e[n[o]],t[n[o]])};vo.supportsDescriptors=!!go;ho.exports=vo});var re=s((Fb,bo)=>{"use strict";bo.exports=Object});var So=s((Nb,xo)=>{"use strict";xo.exports=Error});var wo=s((Rb,Eo)=>{"use strict";Eo.exports=EvalError});var kr=s((jb,qo)=>{"use strict";qo.exports=RangeError});var Ao=s((Lb,Po)=>{"use strict";Po.exports=ReferenceError});var Oo=s((Mb,To)=>{"use strict";To.exports=URIError});var Ir=s((Vb,$o)=>{"use strict";$o.exports=Math.abs});var Xe=s((Db,_o)=>{"use strict";_o.exports=Math.floor});var ko=s((Ub,Co)=>{"use strict";Co.exports=Math.max});var Fo=s((Bb,Io)=>{"use strict";Io.exports=Math.min});var Ro=s((Jb,No)=>{"use strict";No.exports=Math.pow});var Lo=s((Wb,jo)=>{"use strict";jo.exports=Math.round});var te=s((Hb,Mo)=>{"use strict";Mo.exports=Number.isNaN||function(e){return e!==e}});var Do=s((Xb,Vo)=>{"use strict";var oc=te();Vo.exports=function(e){return oc(e)||e===0?e:e<0?-1:1}});var Ge=s((Gb,Uo)=>{"use strict";Uo.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 Fr=s((Kb,Jo)=>{"use strict";var Bo=typeof Symbol<"u"&&Symbol,ic=Ge();Jo.exports=function(){return typeof Bo!="function"||typeof Symbol!="function"||typeof Bo("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:ic()}});var Nr=s((zb,Wo)=>{"use strict";Wo.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Rr=s((Qb,Ho)=>{"use strict";var ac=re();Ho.exports=ac.getPrototypeOf||null});var Ko=s((Yb,Go)=>{"use strict";var sc="Function.prototype.bind called on incompatible ",uc=Object.prototype.toString,lc=Math.max,pc="[object Function]",Xo=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},cc=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},fc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};Go.exports=function(e){var t=this;if(typeof t!="function"||uc.apply(t)!==pc)throw new TypeError(sc+t);for(var n=cc(arguments,1),o,i=function(){if(this instanceof o){var y=t.apply(this,Xo(n,arguments));return Object(y)===y?y:this}return t.apply(e,Xo(n,arguments))},a=lc(0,t.length-n.length),u=[],p=0;p<a;p++)u[p]="$"+p;if(o=Function("binder","return function ("+fc(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var m=function(){};m.prototype=t.prototype,o.prototype=new m,m.prototype=null}return o}});var ne=s((Zb,zo)=>{"use strict";var dc=Ko();zo.exports=Function.prototype.bind||dc});var Ke=s((ex,Qo)=>{"use strict";Qo.exports=Function.prototype.call});var ze=s((rx,Yo)=>{"use strict";Yo.exports=Function.prototype.apply});var ei=s((tx,Zo)=>{"use strict";Zo.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var jr=s((nx,ri)=>{"use strict";var yc=ne(),mc=ze(),gc=Ke(),vc=ei();ri.exports=vc||yc.call(gc,mc)});var xe=s((ox,ti)=>{"use strict";var hc=ne(),bc=b(),xc=Ke(),Sc=jr();ti.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new bc("a function is required");return Sc(hc,xc,e)}});var ui=s((ix,si)=>{"use strict";var Ec=xe(),ni=L(),ii;try{ii=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Lr=!!ii&&ni&&ni(Object.prototype,"__proto__"),ai=Object,oi=ai.getPrototypeOf;si.exports=Lr&&typeof Lr.get=="function"?Ec([Lr.get]):typeof oi=="function"?function(e){return oi(e==null?e:ai(e))}:!1});var di=s((ax,fi)=>{"use strict";var li=Nr(),pi=Rr(),ci=ui();fi.exports=li?function(e){return li(e)}:pi?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return pi(e)}:ci?function(e){return ci(e)}:null});var V=s((sx,yi)=>{"use strict";var wc=Function.prototype.call,qc=Object.prototype.hasOwnProperty,Pc=ne();yi.exports=Pc.call(wc,qc)});var T=s((ux,xi)=>{"use strict";var v,Ac=re(),Tc=So(),Oc=wo(),$c=kr(),_c=Ao(),se=he(),ae=b(),Cc=Oo(),kc=Ir(),Ic=Xe(),Fc=ko(),Nc=Fo(),Rc=Ro(),jc=Lo(),Lc=Do(),hi=Function,Mr=function(r){try{return hi('"use strict"; return ('+r+").constructor;")()}catch{}},Se=L(),Mc=Z(),Vr=function(){throw new ae},Vc=Se?function(){try{return arguments.callee,Vr}catch{try{return Se(arguments,"callee").get}catch{return Vr}}}():Vr,oe=Fr()(),P=di(),Dc=Rr(),Uc=Nr(),bi=ze(),Ee=Ke(),ie={},Bc=typeof Uint8Array>"u"||!P?v:P(Uint8Array),G={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":oe&&P?P([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":ie,"%AsyncGenerator%":ie,"%AsyncGeneratorFunction%":ie,"%AsyncIteratorPrototype%":ie,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Tc,"%eval%":eval,"%EvalError%":Oc,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":hi,"%GeneratorFunction%":ie,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":oe&&P?P(P([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!oe||!P?v:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Ac,"%Object.getOwnPropertyDescriptor%":Se,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":$c,"%ReferenceError%":_c,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!oe||!P?v:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":oe&&P?P(""[Symbol.iterator]()):v,"%Symbol%":oe?Symbol:v,"%SyntaxError%":se,"%ThrowTypeError%":Vc,"%TypedArray%":Bc,"%TypeError%":ae,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":Cc,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":Ee,"%Function.prototype.apply%":bi,"%Object.defineProperty%":Mc,"%Object.getPrototypeOf%":Dc,"%Math.abs%":kc,"%Math.floor%":Ic,"%Math.max%":Fc,"%Math.min%":Nc,"%Math.pow%":Rc,"%Math.round%":jc,"%Math.sign%":Lc,"%Reflect.getPrototypeOf%":Uc};if(P)try{null.error}catch(r){mi=P(P(r)),G["%Error.prototype%"]=mi}var mi,Jc=function r(e){var t;if(e==="%AsyncFunction%")t=Mr("async function () {}");else if(e==="%GeneratorFunction%")t=Mr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Mr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&P&&(t=P(o.prototype))}return G[e]=t,t},gi={__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"]},we=ne(),Qe=V(),Wc=we.call(Ee,Array.prototype.concat),Hc=we.call(bi,Array.prototype.splice),vi=we.call(Ee,String.prototype.replace),Ye=we.call(Ee,String.prototype.slice),Xc=we.call(Ee,RegExp.prototype.exec),Gc=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Kc=/\\(\\)?/g,zc=function(e){var t=Ye(e,0,1),n=Ye(e,-1);if(t==="%"&&n!=="%")throw new se("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new se("invalid intrinsic syntax, expected opening `%`");var o=[];return vi(e,Gc,function(i,a,u,p){o[o.length]=u?vi(p,Kc,"$1"):a||i}),o},Qc=function(e,t){var n=e,o;if(Qe(gi,n)&&(o=gi[n],n="%"+o[0]+"%"),Qe(G,n)){var i=G[n];if(i===ie&&(i=Jc(n)),typeof i>"u"&&!t)throw new ae("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new se("intrinsic "+e+" does not exist!")};xi.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new ae("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ae('"allowMissing" argument must be a boolean');if(Xc(/^%?[^%]*%?$/,e)===null)throw new se("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=zc(e),o=n.length>0?n[0]:"",i=Qc("%"+o+"%",t),a=i.name,u=i.value,p=!1,m=i.alias;m&&(o=m[0],Hc(n,Wc([0,1],m)));for(var y=1,f=!0;y<n.length;y+=1){var c=n[y],h=Ye(c,0,1),S=Ye(c,-1);if((h==='"'||h==="'"||h==="`"||S==='"'||S==="'"||S==="`")&&h!==S)throw new se("property names with quotes must have matching quotes");if((c==="constructor"||!f)&&(p=!0),o+="."+c,a="%"+o+"%",Qe(G,a))u=G[a];else if(u!=null){if(!(c in u)){if(!t)throw new ae("base intrinsic for "+e+" exists, but the property is not available.");return}if(Se&&y+1>=n.length){var l=Se(u,c);f=!!l,f&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[c]}else f=Qe(u,c),u=u[c];f&&!p&&(G[a]=u)}}return u}});var Pi=s((lx,qi)=>{"use strict";var Yc=T(),Si=He(),Zc=be()(),Ei=L(),wi=b(),ef=Yc("%Math.floor%");qi.exports=function(e,t){if(typeof e!="function")throw new wi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||ef(t)!==t)throw new wi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Ei){var a=Ei(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(Zc?Si(e,"length",t,!0,!0):Si(e,"length",t)),e}});var Ti=s((px,Ai)=>{"use strict";var rf=ne(),tf=ze(),nf=jr();Ai.exports=function(){return nf(rf,tf,arguments)}});var qe=s((cx,Ze)=>{"use strict";var of=Pi(),Oi=Z(),af=xe(),$i=Ti();Ze.exports=function(e){var t=af(arguments),n=e.length-(arguments.length-1);return of(t,1+(n>0?n:0),!0)};Oi?Oi(Ze.exports,"apply",{value:$i}):Ze.exports.apply=$i});var Dr=s((fx,_i)=>{"use strict";var sf=te();_i.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!sf(e)&&e!==1/0&&e!==-1/0}});var Ur=s((dx,Ci)=>{"use strict";var uf=Ir(),lf=Xe(),pf=te(),cf=Dr();Ci.exports=function(e){if(typeof e!="number"||pf(e)||!cf(e))return!1;var t=uf(e);return lf(t)===t}});var _=s((yx,ki)=>{"use strict";ki.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Fi=s((mx,Ii)=>{"use strict";Ii.exports=4294967295});var Ri=s((gx,Ni)=>{"use strict";Ni.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Li=s((vx,ji)=>{"use strict";var ff=re();ji.exports=ff.setPrototypeOf||null});var Ui=s((hx,Di)=>{"use strict";var df=xe(),Mi=L(),yf=b(),Vi={};try{Vi.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var mf=!("toString"in Vi),Br=Mi&&Mi(Object.prototype,"__proto__");Di.exports=mf&&(!!Br&&typeof Br.set=="function"&&df([Br.set])||function(e,t){if(e==null)throw new yf("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var Hi=s((bx,Wi)=>{"use strict";var Bi=Ri(),gf=Li(),Ji=Ui(),vf=b();Wi.exports=Bi?function(e,t){if(Bi(e,t))return e;throw new vf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:gf||(Ji?function(e,t){return Ji(e,t),e}:null)});var zi=s((xx,Ki)=>{"use strict";var hf=T(),Xi=hf("%Array.prototype%"),bf=kr(),xf=he(),Sf=b(),Ef=Ur(),wf=Fi(),Gi=Hi();Ki.exports=function(e){if(!Ef(e)||e<0)throw new Sf("Assertion failed: `length` must be an integer Number >= 0");if(e>wf)throw new bf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:Xi,n=[];if(t!==Xi){if(!Gi)throw new xf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");Gi(n,t)}return e!==0&&(n.length=e),n}});var Yi=s((Sx,Qi)=>{Qi.exports=require("util").inspect});var ba=s((Ex,ha)=>{var Zr=typeof Map=="function"&&Map.prototype,Jr=Object.getOwnPropertyDescriptor&&Zr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rr=Zr&&Jr&&typeof Jr.get=="function"?Jr.get:null,Zi=Zr&&Map.prototype.forEach,et=typeof Set=="function"&&Set.prototype,Wr=Object.getOwnPropertyDescriptor&&et?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,tr=et&&Wr&&typeof Wr.get=="function"?Wr.get:null,ea=et&&Set.prototype.forEach,qf=typeof WeakMap=="function"&&WeakMap.prototype,Ae=qf?WeakMap.prototype.has:null,Pf=typeof WeakSet=="function"&&WeakSet.prototype,Te=Pf?WeakSet.prototype.has:null,Af=typeof WeakRef=="function"&&WeakRef.prototype,ra=Af?WeakRef.prototype.deref:null,Tf=Boolean.prototype.valueOf,Of=Object.prototype.toString,$f=Function.prototype.toString,_f=String.prototype.match,rt=String.prototype.slice,D=String.prototype.replace,Cf=String.prototype.toUpperCase,ta=String.prototype.toLowerCase,ca=RegExp.prototype.test,na=Array.prototype.concat,k=Array.prototype.join,kf=Array.prototype.slice,oa=Math.floor,Gr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Hr=Object.getOwnPropertySymbols,Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,ue=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===ue||!0)?Symbol.toStringTag:null,fa=Object.prototype.propertyIsEnumerable,ia=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function aa(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ca.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-oa(-r):oa(r);if(n!==r){var o=String(n),i=rt.call(e,o.length+1);return D.call(o,t,"$&_")+"."+D.call(D.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(e,t,"$&_")}var zr=Yi(),sa=zr.custom,ua=ma(sa)?sa:null,da={__proto__:null,double:'"',single:"'"},If={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ha.exports=function r(e,t,n,o){var i=t||{};if(R(i,"quoteStyle")&&!R(da,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 va(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var p=String(e);return u?aa(e,p):p}if(typeof e=="bigint"){var m=String(e)+"n";return u?aa(e,m):m}var y=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=y&&y>0&&typeof e=="object")return Qr(e)?"[Array]":"[Object]";var f=Qf(i,n);if(typeof o>"u")o=[];else if(ga(o,e)>=0)return"[Circular]";function c(Q,Me,Fp){if(Me&&(o=kf.call(o),o.push(Me)),Fp){var Nn={depth:i.depth};return R(i,"quoteStyle")&&(Nn.quoteStyle=i.quoteStyle),r(Q,Nn,n+1,o)}return r(Q,i,n+1,o)}if(typeof e=="function"&&!la(e)){var h=Uf(e),S=er(e,c);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(S.length>0?" { "+k.call(S,", ")+" }":"")}if(ma(e)){var l=ue?D.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kr.call(e);return typeof e=="object"&&!ue?Pe(l):l}if(Gf(e)){for(var d="<"+ta.call(String(e.nodeName)),E=e.attributes||[],g=0;g<E.length;g++)d+=" "+E[g].name+"="+ya(Ff(E[g].value),"double",i);return d+=">",e.childNodes&&e.childNodes.length&&(d+="..."),d+="</"+ta.call(String(e.nodeName))+">",d}if(Qr(e)){if(e.length===0)return"[]";var w=er(e,c);return f&&!zf(w)?"["+Yr(w,f)+"]":"[ "+k.call(w,", ")+" ]"}if(Rf(e)){var C=er(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!fa.call(e,"cause")?"{ ["+String(e)+"] "+k.call(na.call("[cause]: "+c(e.cause),C),", ")+" }":C.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+k.call(C,", ")+" }"}if(typeof e=="object"&&a){if(ua&&typeof e[ua]=="function"&&zr)return zr(e,{depth:y-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Bf(e)){var $=[];return Zi&&Zi.call(e,function(Q,Me){$.push(c(Me,e,!0)+" => "+c(Q,e))}),pa("Map",rr.call(e),$,f)}if(Hf(e)){var Le=[];return ea&&ea.call(e,function(Q){Le.push(c(Q,e))}),pa("Set",tr.call(e),Le,f)}if(Jf(e))return Xr("WeakMap");if(Xf(e))return Xr("WeakSet");if(Wf(e))return Xr("WeakRef");if(Lf(e))return Pe(c(Number(e)));if(Vf(e))return Pe(c(Gr.call(e)));if(Mf(e))return Pe(Tf.call(e));if(jf(e))return Pe(c(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(!Nf(e)&&!la(e)){var N=er(e,c),ye=ia?ia(e)===Object.prototype:e instanceof Object||e.constructor===Object,Sr=e instanceof Object?"":"null prototype",Fn=!ye&&Oe&&Object(e)===e&&Oe in e?rt.call(U(e),8,-1):Sr?"Object":"",Ip=ye||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Er=Ip+(Fn||Sr?"["+k.call(na.call([],Fn||[],Sr||[]),": ")+"] ":"");return N.length===0?Er+"{}":f?Er+"{"+Yr(N,f)+"}":Er+"{ "+k.call(N,", ")+" }"}return String(e)};function ya(r,e,t){var n=t.quoteStyle||e,o=da[n];return o+r+o}function Ff(r){return D.call(String(r),/"/g,"&quot;")}function K(r){return!Oe||!(typeof r=="object"&&(Oe in r||typeof r[Oe]<"u"))}function Qr(r){return U(r)==="[object Array]"&&K(r)}function Nf(r){return U(r)==="[object Date]"&&K(r)}function la(r){return U(r)==="[object RegExp]"&&K(r)}function Rf(r){return U(r)==="[object Error]"&&K(r)}function jf(r){return U(r)==="[object String]"&&K(r)}function Lf(r){return U(r)==="[object Number]"&&K(r)}function Mf(r){return U(r)==="[object Boolean]"&&K(r)}function ma(r){if(ue)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Kr)return!1;try{return Kr.call(r),!0}catch{}return!1}function Vf(r){if(!r||typeof r!="object"||!Gr)return!1;try{return Gr.call(r),!0}catch{}return!1}var Df=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return Df.call(r,e)}function U(r){return Of.call(r)}function Uf(r){if(r.name)return r.name;var e=_f.call($f.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function ga(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 Bf(r){if(!rr||!r||typeof r!="object")return!1;try{rr.call(r);try{tr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function Jf(r){if(!Ae||!r||typeof r!="object")return!1;try{Ae.call(r,Ae);try{Te.call(r,Te)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Wf(r){if(!ra||!r||typeof r!="object")return!1;try{return ra.call(r),!0}catch{}return!1}function Hf(r){if(!tr||!r||typeof r!="object")return!1;try{tr.call(r);try{rr.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function Xf(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r,Te);try{Ae.call(r,Ae)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function Gf(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function va(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return va(rt.call(r,0,e.maxStringLength),e)+n}var o=If[e.quoteStyle||"single"];o.lastIndex=0;var i=D.call(D.call(r,o,"\\$1"),/[\x00-\x1f]/g,Kf);return ya(i,"single",e)}function Kf(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":"")+Cf.call(e.toString(16))}function Pe(r){return"Object("+r+")"}function Xr(r){return r+" { ? }"}function pa(r,e,t,n){var o=n?Yr(t,n):k.call(t,", ");return r+" ("+e+") {"+o+"}"}function zf(r){for(var e=0;e<r.length;e++)if(ga(r[e],`
2
- `)>=0)return!1;return!0}function Qf(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=k.call(Array(r.indent+1)," ");else return null;return{base:t,prev:k.call(Array(e+1),t)}}function Yr(r,e){if(r.length===0)return"";var t=`
3
- `+e.prev+e.base;return t+k.call(r,","+t)+`
4
- `+e.prev}function er(r,e){var t=Qr(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 Hr=="function"?Hr(r):[],a;if(ue){a={};for(var u=0;u<i.length;u++)a["$"+i[u]]=i[u]}for(var p in r)R(r,p)&&(t&&String(Number(p))===p&&p<r.length||ue&&a["$"+p]instanceof Symbol||(ca.call(/[^\w$]/,p)?n.push(e(p,r)+": "+e(r[p],r)):n.push(p+": "+e(r[p],r))));if(typeof Hr=="function")for(var m=0;m<i.length;m++)fa.call(r,i[m])&&n.push("["+e(i[m])+"]: "+e(r[i[m]],r));return n}});var B=s((wx,xa)=>{"use strict";xa.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var $e=s((qx,Ea)=>{"use strict";var Sa=b(),Yf=ba(),Zf=B(),ed=_();Ea.exports=function(e,t){if(!ed(e))throw new Sa("Assertion failed: Type(O) is not Object");if(!Zf(t))throw new Sa("Assertion failed: P is not a Property Key, got "+Yf(t));return e[t]}});var O=s((Px,Pa)=>{"use strict";var wa=T(),qa=xe(),rd=qa([wa("%String.prototype.indexOf%")]);Pa.exports=function(e,t){var n=wa(e,!!t);return typeof n=="function"&&rd(e,".prototype.")>-1?qa([n]):n}});var tt=s((Ax,Ta)=>{"use strict";var td=T(),Aa=td("%Array%"),nd=!Aa.isArray&&O()("Object.prototype.toString");Ta.exports=Aa.isArray||function(e){return nd(e)==="[object Array]"}});var nr=s((Tx,Oa)=>{"use strict";Oa.exports=tt()});var _a=s((Ox,$a)=>{"use strict";$a.exports=T()});var j=s(($x,Ca)=>{"use strict";var od=b(),_e=V(),id={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};Ca.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(_e(e,t)&&!id[t])return!1;var n=_e(e,"[[Value]]")||_e(e,"[[Writable]]"),o=_e(e,"[[Get]]")||_e(e,"[[Set]]");if(n&&o)throw new od("Property Descriptors may not be both accessor and data descriptors");return!0}});var nt=s((_x,Fa)=>{"use strict";var ad=be(),ka=Z(),Ia=ad.hasArrayLengthDefineBug(),sd=Ia&&tt(),ud=O(),ld=ud("Object.prototype.propertyIsEnumerable");Fa.exports=function(e,t,n,o,i,a){if(!ka){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&ld(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return Ia&&i==="length"&&"[[Value]]"in a&&sd(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(ka(o,i,n(a)),!0)}});var Ra=s((Cx,Na)=>{"use strict";Na.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 ot=s((kx,ja)=>{"use strict";var pd=b(),cd=j(),fd=Ra();ja.exports=function(e){if(typeof e<"u"&&!cd(e))throw new pd("Assertion failed: `Desc` must be a Property Descriptor");return fd(e)}});var or=s((Ix,Ma)=>{"use strict";var dd=b(),La=V(),yd=j();Ma.exports=function(e){if(typeof e>"u")return!1;if(!yd(e))throw new dd("Assertion failed: `Desc` must be a Property Descriptor");return!(!La(e,"[[Value]]")&&!La(e,"[[Writable]]"))}});var ir=s((Fx,Da)=>{"use strict";var Va=te();Da.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Va(e)&&Va(t)}});var lt=s((Nx,Ja)=>{"use strict";var Ba=Function.prototype.toString,le=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,at,ar;if(typeof le=="function"&&typeof Object.defineProperty=="function")try{at=Object.defineProperty({},"length",{get:function(){throw ar}}),ar={},le(function(){throw 42},null,at)}catch(r){r!==ar&&(le=null)}else le=null;var md=/^\s*class\b/,st=function(e){try{var t=Ba.call(e);return md.test(t)}catch{return!1}},it=function(e){try{return st(e)?!1:(Ba.call(e),!0)}catch{return!1}},sr=Object.prototype.toString,gd="[object Object]",vd="[object Function]",hd="[object GeneratorFunction]",bd="[object HTMLAllCollection]",xd="[object HTML document.all class]",Sd="[object HTMLCollection]",Ed=typeof Symbol=="function"&&!!Symbol.toStringTag,wd=!(0 in[,]),ut=function(){return!1};typeof document=="object"&&(Ua=document.all,sr.call(Ua)===sr.call(document.all)&&(ut=function(e){if((wd||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=sr.call(e);return(t===bd||t===xd||t===Sd||t===gd)&&e("")==null}catch{}return!1}));var Ua;Ja.exports=le?function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{le(e,null,at)}catch(t){if(t!==ar)return!1}return!st(e)&&it(e)}:function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Ed)return it(e);if(st(e))return!1;var t=sr.call(e);return t!==vd&&t!==hd&&!/^\[object HTML/.test(t)?!1:it(e)}});var Ha=s((Rx,Wa)=>{"use strict";Wa.exports=lt()});var Ga=s((jx,Xa)=>{"use strict";Xa.exports=function(e){return!!e}});var ct=s((Lx,za)=>{"use strict";var I=V(),ur=b(),qd=_(),Ka=Ha(),pt=Ga();za.exports=function(e){if(!qd(e))throw new ur("ToPropertyDescriptor requires an object");var t={};if(I(e,"enumerable")&&(t["[[Enumerable]]"]=pt(e.enumerable)),I(e,"configurable")&&(t["[[Configurable]]"]=pt(e.configurable)),I(e,"value")&&(t["[[Value]]"]=e.value),I(e,"writable")&&(t["[[Writable]]"]=pt(e.writable)),I(e,"get")){var n=e.get;if(typeof n<"u"&&!Ka(n))throw new ur("getter must be a function");t["[[Get]]"]=n}if(I(e,"set")){var o=e.set;if(typeof o<"u"&&!Ka(o))throw new ur("setter must be a function");t["[[Set]]"]=o}if((I(t,"[[Get]]")||I(t,"[[Set]]"))&&(I(t,"[[Value]]")||I(t,"[[Writable]]")))throw new ur("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Za=s((Mx,Ya)=>{"use strict";var ft=b(),Pd=_(),Qa=j(),Ad=nt(),Td=ot(),Od=or(),$d=B(),_d=ir(),Cd=ct();Ya.exports=function(e,t,n){if(!Pd(e))throw new ft("Assertion failed: Type(O) is not Object");if(!$d(t))throw new ft("Assertion failed: P is not a Property Key");var o=Qa(n)?n:Cd(n);if(!Qa(o))throw new ft("Assertion failed: Desc is not a valid Property Descriptor");return Ad(Od,_d,Td,e,t,o)}});var rs=s((Vx,mt)=>{"use strict";var kd=_a(),es=kd("%Reflect.construct%",!0),lr=Za();try{lr({},"",{"[[Get]]":function(){}})}catch{lr=null}lr&&es?(dt={},yt={},lr(yt,"length",{"[[Get]]":function(){throw dt},"[[Enumerable]]":!0}),mt.exports=function(e){try{es(e,yt)}catch(t){return t===dt}}):mt.exports=function(e){return typeof e=="function"&&!!e.prototype};var dt,yt});var ss=s((Dx,as)=>{"use strict";var Id=T(),ts=Id("%Symbol.species%",!0),ns=b(),Fd=Ur(),Nd=_(),os=zi(),is=$e(),Rd=nr(),jd=rs();as.exports=function(e,t){if(!Fd(t)||t<0)throw new ns("Assertion failed: length must be an integer >= 0");var n=Rd(e);if(!n)return os(t);var o=is(e,"constructor");if(ts&&Nd(o)&&(o=is(o,ts),o===null&&(o=void 0)),typeof o>"u")return os(t);if(!jd(o))throw new ns("C must be a constructor");return new o(t)}});var gt=s((Ux,us)=>{"use strict";us.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var ps=s((Bx,ls)=>{"use strict";var Ld=T(),Md=O(),Vd=b(),Dd=nr(),Ud=Ld("%Reflect.apply%",!0)||Md("Function.prototype.apply");ls.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!Dd(n))throw new Vd("Assertion failed: optional `argumentsList`, if provided, must be a List");return Ud(e,t,n)}});var pr=s((Jx,fs)=>{"use strict";var Bd=b(),cs=V(),Jd=j();fs.exports=function(e){if(typeof e>"u")return!1;if(!Jd(e))throw new Bd("Assertion failed: `Desc` must be a Property Descriptor");return!(!cs(e,"[[Get]]")&&!cs(e,"[[Set]]"))}});var vt=s((Wx,ds)=>{"use strict";ds.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var vs=s((Hx,gs)=>{"use strict";var ms=T(),Wd=ms("%Object.preventExtensions%",!0),Hd=ms("%Object.isExtensible%",!0),ys=vt();gs.exports=Wd?function(e){return!ys(e)&&Hd(e)}:function(e){return!ys(e)}});var bs=s((Xx,hs)=>{"use strict";var Xd=j();hs.exports=function(e,t){return Xd(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Ss=s((Gx,xs)=>{"use strict";var Gd=b(),Kd=pr(),zd=or(),Qd=j();xs.exports=function(e){if(typeof e>"u")return!1;if(!Qd(e))throw new Gd("Assertion failed: `Desc` must be a Property Descriptor");return!Kd(e)&&!zd(e)}});var qs=s((Kx,ws)=>{"use strict";var pe=b(),Yd=_(),Ce=nt(),Zd=bs(),Es=j(),ke=ot(),z=pr(),J=or(),ey=Ss(),ry=B(),F=ir();ws.exports=function(e,t,n,o,i){if(typeof e<"u"&&!Yd(e))throw new pe("Assertion failed: O must be undefined or an Object");if(!ry(t))throw new pe("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new pe("Assertion failed: extensible must be a Boolean");if(!Es(o))throw new pe("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Es(i))throw new pe("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:z(o)?Ce(J,F,ke,e,t,o):Ce(J,F,ke,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!Zd({IsAccessorDescriptor:z,IsDataDescriptor:J},i))throw new pe("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!F(o["[[Enumerable]]"],i["[[Enumerable]]"])||!ey(o)&&!F(z(o),z(i)))return!1;if(z(i)){if("[[Get]]"in o&&!F(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!F(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!F(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,u;return J(i)&&z(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ce(J,F,ke,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):z(i)&&J(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ce(J,F,ke,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Ce(J,F,ke,e,t,o)}return!0}});var Os=s((zx,Ts)=>{"use strict";var Ps=L(),As=he(),ht=b(),ty=_(),ny=j(),oy=pr(),iy=vs(),ay=B(),sy=ct(),uy=ir(),ly=qs();Ts.exports=function(e,t,n){if(!ty(e))throw new ht("Assertion failed: O must be an Object");if(!ay(t))throw new ht("Assertion failed: P must be a Property Key");if(!ny(n))throw new ht("Assertion failed: Desc must be a Property Descriptor");if(!Ps){if(oy(n))throw new As("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]]"],uy(e[t],n["[[Value]]"]);throw new As("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Ps(e,t),u=a&&sy(a),p=iy(e);return ly(e,t,p,n,u)}});var Cs=s((Qx,_s)=>{"use strict";var $s=b(),py=_(),cy=B(),fy=Os();_s.exports=function(e,t,n){if(!py(e))throw new $s("Assertion failed: Type(O) is not Object");if(!cy(t))throw new $s("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return fy(e,t,o)}});var Is=s((Yx,ks)=>{"use strict";var bt=b(),dy=_(),yy=Cs(),my=B();ks.exports=function(e,t,n){if(!dy(e))throw new bt("Assertion failed: Type(O) is not Object");if(!my(t))throw new bt("Assertion failed: P is not a Property Key");var o=yy(e,t,n);if(!o)throw new bt("unable to create data property")}});var Rs=s((Zx,Ns)=>{"use strict";var Fs=b(),gy=_(),vy=B();Ns.exports=function(e,t){if(!gy(e))throw new Fs("Assertion failed: `O` must be an Object");if(!vy(t))throw new Fs("Assertion failed: `P` must be a Property Key");return t in e}});var Ls=s((eS,js)=>{"use strict";js.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var xt=s((rS,Ms)=>{"use strict";var hy=Ge();Ms.exports=function(){return hy()&&!!Symbol.toStringTag}});var Us=s((tS,Ds)=>{"use strict";var Vs=O(),by=Vs("Date.prototype.getDay"),xy=function(e){try{return by(e),!0}catch{return!1}},Sy=Vs("Object.prototype.toString"),Ey="[object Date]",wy=xt()();Ds.exports=function(e){return typeof e!="object"||e===null?!1:wy?xy(e):Sy(e)===Ey}});var Gs=s((nS,Xs)=>{"use strict";var Bs=O(),qy=xt()(),Py=V(),Ay=L(),wt;qy?(Js=Bs("RegExp.prototype.exec"),St={},cr=function(){throw St},Et={toString:cr,valueOf:cr},typeof Symbol.toPrimitive=="symbol"&&(Et[Symbol.toPrimitive]=cr),wt=function(e){if(!e||typeof e!="object")return!1;var t=Ay(e,"lastIndex"),n=t&&Py(t,"value");if(!n)return!1;try{Js(e,Et)}catch(o){return o===St}}):(Ws=Bs("Object.prototype.toString"),Hs="[object RegExp]",wt=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Ws(e)===Hs});var Js,St,cr,Et,Ws,Hs;Xs.exports=wt});var qt=s((oS,Ks)=>{"use strict";var Ty=O(),Oy=Gs(),$y=Ty("RegExp.prototype.exec"),_y=b();Ks.exports=function(e){if(!Oy(e))throw new _y("`regex` must be a RegExp");return function(n){return $y(e,n)!==null}}});var eu=s((iS,Pt)=>{"use strict";var Zs=O(),Cy=Zs("Object.prototype.toString"),ky=Fr()(),Iy=qt();ky?(zs=Zs("Symbol.prototype.toString"),Qs=Iy(/^Symbol\(.*\)$/),Ys=function(e){return typeof e.valueOf()!="symbol"?!1:Qs(zs(e))},Pt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||Cy(e)!=="[object Symbol]")return!1;try{return Ys(e)}catch{return!1}}):Pt.exports=function(e){return!1};var zs,Qs,Ys});var ou=s((aS,nu)=>{"use strict";var Fy=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",At=Ls(),tu=lt(),Ny=Us(),ru=eu(),Ry=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]],tu(o)&&(i=o.call(e),At(i)))return i;throw new TypeError("No default value")},jy=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!tu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};nu.exports=function(e){if(At(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(Fy&&(Symbol.toPrimitive?n=jy(e,Symbol.toPrimitive):ru(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(At(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(Ny(e)||ru(e))&&(t="string"),Ry(e,t==="default"?"number":t)}});var su=s((sS,au)=>{"use strict";var iu=ou();au.exports=function(e){return arguments.length>1?iu(e,arguments[1]):iu(e)}});var Ie=s((uS,uu)=>{"use strict";var Ly=b();uu.exports=function(e){if(e==null)throw new Ly(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var Tt=s((lS,lu)=>{"use strict";var My=T(),Vy=My("%String%"),Dy=b();lu.exports=function(e){if(typeof e=="symbol")throw new Dy("Cannot convert a Symbol value to a string");return Vy(e)}});var Ot=s((pS,fu)=>{"use strict";var Uy=Ie(),By=Tt(),Jy=O(),pu=Jy("String.prototype.replace"),cu=/^\s$/.test("\u180E"),Wy=cu?/^[\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]+/,Hy=cu?/[\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]+$/;fu.exports=function(){var e=By(Uy(this));return pu(pu(e,Wy,""),Hy,"")}});var $t=s((cS,yu)=>{"use strict";var Xy=Ot(),du="\u200B",ce="\u180E";yu.exports=function(){return String.prototype.trim&&du.trim()===du&&ce.trim()===ce&&("_"+ce).trim()==="_"+ce&&(ce+"_").trim()===ce+"_"?String.prototype.trim:Xy}});var vu=s((fS,gu)=>{"use strict";var Gy=be()(),mu=He(),Ky=$t();gu.exports=function(){var e=Ky();return String.prototype.trim!==e&&(Gy?mu(String.prototype,"trim",e,!0):mu(String.prototype,"trim",e)),e}});var Su=s((dS,xu)=>{"use strict";var zy=qe(),Qy=M(),Yy=Ie(),Zy=Ot(),hu=$t(),em=vu(),rm=zy(hu()),bu=function(e){return Yy(e),rm(e)};Qy(bu,{getPolyfill:hu,implementation:Zy,shim:em});xu.exports=bu});var Au=s((yS,Pu)=>{"use strict";var qu=T(),tm=qu("%RegExp%"),nm=b(),Eu=qu("%parseInt%"),om=O(),fr=qt(),wu=om("String.prototype.slice"),im=fr(/^0b[01]+$/i),am=fr(/^0o[0-7]+$/i),sm=fr(/^[-+]0x[0-9a-f]+$/i),um=["\x85","\u200B","\uFFFE"].join(""),lm=new tm("["+um+"]","g"),pm=fr(lm),cm=Su();Pu.exports=function r(e){if(typeof e!="string")throw new nm("Assertion failed: `argument` is not a String");if(im(e))return+Eu(wu(e,2),2);if(am(e))return+Eu(wu(e,2),8);if(pm(e)||sm(e))return NaN;var t=cm(e);return t!==e?r(t):+e}});var $u=s((mS,Ou)=>{"use strict";var fm=T(),Tu=b(),dm=fm("%Number%"),ym=vt(),mm=su(),gm=Au();Ou.exports=function(e){var t=ym(e)?e:mm(e,dm);if(typeof t=="symbol")throw new Tu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Tu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?gm(t):+t}});var Cu=s((gS,_u)=>{"use strict";var vm=Xe();_u.exports=function(e){return typeof e=="bigint"?e:vm(e)}});var Fu=s((vS,Iu)=>{"use strict";var ku=Cu(),hm=b();Iu.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new hm("argument must be a Number or a BigInt");var t=e<0?-ku(-e):ku(e);return t===0?0:t}});var _t=s((hS,Nu)=>{"use strict";var bm=$u(),xm=Fu(),Sm=te(),Em=Dr();Nu.exports=function(e){var t=bm(e);return Sm(t)||t===0?0:Em(t)?xm(t):t}});var Ct=s((bS,ju)=>{"use strict";var Ru=gt(),wm=_t();ju.exports=function(e){var t=wm(e);return t<=0?0:t>Ru?Ru:t}});var Mu=s((xS,Lu)=>{"use strict";var qm=b(),Pm=_(),Am=$e(),Tm=Ct();Lu.exports=function(e){if(!Pm(e))throw new qm("Assertion failed: `obj` must be an Object");return Tm(Am(e,"length"))}});var Bu=s((SS,Uu)=>{"use strict";var Vu=b(),Om=gt(),$m=ps(),_m=Is(),Cm=$e(),km=Rs(),Im=nr(),Fm=Mu(),Du=Tt();Uu.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var u=o,p=0;p<n;){var m=Du(p),y=km(t,m);if(y===!0){var f=Cm(t,m);if(typeof a<"u"){if(arguments.length<=6)throw new Vu("Assertion failed: thisArg is required when mapperFunction is provided");f=$m(a,arguments[6],[f,p,t])}var c=!1;if(i>0&&(c=Im(f)),c){var h=Fm(f);u=r(e,f,h,u,i-1)}else{if(u>=Om)throw new Vu("index too large");_m(e,Du(u),f),u+=1}}p+=1}return u}});var Wu=s((ES,Ju)=>{"use strict";var Nm=re(),Rm=Ie();Ju.exports=function(e){return Rm(e),Nm(e)}});var Xu=s((wS,Hu)=>{"use strict";Hu.exports=Wu()});var kt=s((qS,Gu)=>{"use strict";var jm=ss(),Lm=Bu(),Mm=$e(),Vm=_t(),Dm=Ct(),Um=Xu();Gu.exports=function(){var e=Um(this),t=Dm(Mm(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=Vm(arguments[0]));var o=jm(e,0);return Lm(o,e,t,0,n),o}});var It=s((PS,Ku)=>{"use strict";var Bm=kt();Ku.exports=function(){return Array.prototype.flat||Bm}});var el=s((AS,Zu)=>{"use strict";var Jm=V(),Yu=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",zu=Yu&&Array.prototype[Symbol.unscopables],Qu=TypeError;Zu.exports=function(e){if(typeof e!="string"||!e)throw new Qu("method must be a non-empty string");if(!Jm(Array.prototype,e))throw new Qu("method must be on Array.prototype");Yu&&zu&&(zu[e]=!0)}});var tl=s((TS,rl)=>{"use strict";var Wm=M(),Hm=el(),Xm=It();rl.exports=function(){var e=Xm();return Wm(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),Hm("flat"),e}});var al=s((OS,il)=>{"use strict";var Gm=M(),Km=qe(),zm=kt(),nl=It(),Qm=nl(),Ym=tl(),ol=Km(Qm);Gm(ol,{getPolyfill:nl,implementation:zm,shim:Ym});il.exports=ol});var Ft=s(($S,sl)=>{"use strict";var Zm=Ie(),eg=O(),rg=eg("Object.prototype.propertyIsEnumerable");sl.exports=function(e){var t=Zm(e),n=[];for(var o in t)rg(t,o)&&(n[n.length]=t[o]);return n}});var Nt=s((_S,ul)=>{"use strict";var tg=Ft();ul.exports=function(){return typeof Object.values=="function"?Object.values:tg}});var pl=s((CS,ll)=>{"use strict";var ng=Nt(),og=M();ll.exports=function(){var e=ng();return og(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var yl=s((kS,dl)=>{"use strict";var ig=M(),ag=qe(),sg=Ft(),cl=Nt(),ug=pl(),fl=ag(cl(),Object);ig(fl,{getPolyfill:cl,implementation:sg,shim:ug});dl.exports=fl});var vl=s(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.eventHandlersByType=void 0;var lg=al(),pg=ml(lg),cg=yl(),fg=ml(cg);function ml(r){return r&&r.__esModule?r:{default:r}}var gl={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"]};Fe.default=(0,pg.default)((0,fg.default)(gl));Fe.eventHandlersByType=gl});var bl=s(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});var dg=function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var u=e[Symbol.iterator](),p;!(o=(p=u.next()).done)&&(n.push(p.value),!(t&&n.length===t));o=!0);}catch(m){i=!0,a=m}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")}}(),fe=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};jt.default=hg;var yg=De(),mg=gg(yg);function gg(r){return r&&r.__esModule?r:{default:r}}function hl(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 vg={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]:vg;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,mg.default)(u))});return a&&a.type==="JSXSpreadAttribute"?bg(a.argument.properties.find(i)):a}function bg(r){var e=r.key,t=r.value;return fe({type:"JSXAttribute",name:fe({type:"JSXIdentifier",name:e.name},Rt(e)),value:t.type==="Literal"?Ne(t):fe({type:"JSXExpressionContainer",expression:xg(t)},Rt(t))},Rt(r))}function Ne(r){var e=r.range||[r.start,r.end],t=dg(e,2),n=t[0],o=t[1];return fe({},r,{end:void 0,range:[n,o],start:void 0})}function xg(r){var e=r.expressions,t=r.quasis,n=hl(r,["expressions","quasis"]);return fe({},Ne(n),e?{expressions:e.map(Ne)}:{},t?{quasis:t.map(Ne)}:{})}function Rt(r){var e=r.loc,t=hl(r,["loc"]),n=Ne(t),o=n.range;return{loc:Sg(e),range:o}}function Sg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return fe({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Mt=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.default=Eg;function Eg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Dt=s(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.default=wg;function wg(r){var e=dr().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var Bt=s(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.default=qg;function qg(r){return r.raw}});var Wt=s(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.default=Pg;function Pg(r){var e=dr().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Sl=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.default=Ag;var xl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function Ag(r){var e=r.name;return Object.hasOwnProperty.call(xl,e)?xl[e]:e}});var Gt=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=Og;function Tg(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function Og(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(Tg).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var u=a.raw,p=o.name;return i==="TemplateElement"?u:i==="Identifier"?p==="undefined"?p:"{"+p+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var El=s(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.default=kg;var $g=Gt(),_g=Cg($g);function Cg(r){return r&&r.__esModule?r:{default:r}}function kg(r){return(0,_g.default)(r.quasi)}});var wl=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=Ig;function Ig(r){return function(){return r}}});var ql=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Fg;function Fg(r){var e=A().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 Pl=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=Ng;function Ng(r){var e=A().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Al=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=Rg;function Rg(r){var e=A().default;return e(r.expression||r)}});var Tl=s(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=jg;function jg(r){var e=A().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Ol=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=Lg;function Lg(r){var e=A().default;return e(r.object)+"?."+e(r.property)}});var nn=s(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=Mg;function Mg(r){var e=A().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var $l=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=Vg;function Vg(r){var e=A().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;case"typeof":case"void":default:return}}});var sn=s(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=Dg;function Dg(){return"this"}});var _l=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=Ug;function Ug(r){var e=A().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Cl=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=Bg;function Bg(r){var e=A().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 pn=s((ZS,Nl)=>{"use strict";var Jg=_r(),Il=Ge()(),Fl=O(),yr=re(),Wg=Fl("Array.prototype.push"),kl=Fl("Object.prototype.propertyIsEnumerable"),Hg=Il?yr.getOwnPropertySymbols:null;Nl.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=yr(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=yr(arguments[o]),a=Jg(i),u=Il&&(yr.getOwnPropertySymbols||Hg);if(u)for(var p=u(i),m=0;m<p.length;++m){var y=p[m];kl(i,y)&&Wg(a,y)}for(var f=0;f<a.length;++f){var c=a[f];if(kl(i,c)){var h=i[c];n[c]=h}}}return n}});var fn=s((eE,Rl)=>{"use strict";var cn=pn(),Xg=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},Gg=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};Rl.exports=function(){return!Object.assign||Xg()||Gg()?cn:Object.assign}});var Ll=s((rE,jl)=>{"use strict";var Kg=M(),zg=fn();jl.exports=function(){var e=zg();return Kg(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var Ul=s((tE,Dl)=>{"use strict";var Qg=M(),Yg=qe(),Zg=pn(),Ml=fn(),ev=Ll(),rv=Yg.apply(Ml()),Vl=function(e,t){return rv(Object,arguments)};Qg(Vl,{getPolyfill:Ml,implementation:Zg,shim:ev});Dl.exports=Vl});var Wl=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=Jl;var tv=Ul(),Bl=nv(tv);function nv(r){return r&&r.__esModule?r:{default:r}}function ov(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Jl(r){var e=A().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,Bl.default)({},t,Jl(n.argument))}else return(0,Bl.default)({},t,ov({},e(n.key),e(n.value)));return t},{})}});var Hl=s(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=iv;function iv(){return new Object}});var Xl=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=av;function av(r){var e=A().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 Gl=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=sv;function sv(r){var e=A().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var Kl=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=uv;function uv(r){var e=A().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 zl=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=lv;function lv(){}});var Ql=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=pv;function pv(r){var e=A().default;return e(r.expression)}});var Yl=s(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=cv;function cv(r){var e=A().default;return r.expressions.map(function(t){return e(t)})}});var ep=s(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=W;var fv=sn().default,dv=nn().default;function Zl(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function W(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 W(r.expression);if(r.type==="CallExpression")return dv(r);if(r.type==="ThisExpression")return fv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return W(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+W(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return Zl(W(r.object),W(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=Zl(W(r.object),W(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 rp=s(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=yv;function yv(r){var e=A().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var A=s(mr=>{"use strict";Object.defineProperty(mr,"__esModule",{value:!0});var mv=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};mr.default=vh;mr.extractLiteral=hh;var gv=Mt(),vv=x(gv),hv=Dt(),bv=x(hv),xv=Wt(),Sv=x(xv),Ev=Bt(),wv=x(Ev),qv=Sl(),Pv=x(qv),Av=El(),Tv=x(Av),Ov=Gt(),$v=x(Ov),_v=wl(),tp=x(_v),Cv=ql(),kv=x(Cv),Iv=Pl(),Fv=x(Iv),Nv=Al(),Rv=x(Nv),jv=Tl(),Lv=x(jv),Mv=Ol(),Vv=x(Mv),Dv=nn(),Uv=x(Dv),Bv=$l(),Jv=x(Bv),Wv=sn(),Hv=x(Wv),Xv=_l(),Gv=x(Xv),Kv=Cl(),zv=x(Kv),Qv=Wl(),Yv=x(Qv),Zv=Hl(),eh=x(Zv),rh=Xl(),th=x(rh),nh=Gl(),oh=x(nh),ih=Kl(),ah=x(ih),sh=zl(),uh=x(sh),lh=Ql(),ph=x(lh),ch=Yl(),fh=x(ch),dh=ep(),yh=x(dh),mh=rp(),gh=x(mh);function x(r){return r&&r.__esModule?r:{default:r}}var H={Identifier:Pv.default,Literal:vv.default,JSXElement:bv.default,JSXFragment:Sv.default,JSXText:wv.default,TaggedTemplateExpression:Tv.default,TemplateLiteral:$v.default,ArrowFunctionExpression:tp.default,FunctionExpression:tp.default,LogicalExpression:kv.default,MemberExpression:Fv.default,ChainExpression:Rv.default,OptionalCallExpression:Lv.default,OptionalMemberExpression:Vv.default,CallExpression:Uv.default,UnaryExpression:Jv.default,ThisExpression:Hv.default,ConditionalExpression:Gv.default,BinaryExpression:zv.default,ObjectExpression:Yv.default,NewExpression:eh.default,UpdateExpression:th.default,ArrayExpression:oh.default,BindExpression:ah.default,SpreadElement:uh.default,TypeCastExpression:ph.default,SequenceExpression:fh.default,TSNonNullExpression:yh.default,AssignmentExpression:gh.default},q=function(){return null},op=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 vh(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 H[n]===void 0?(console.error(op(n)),null):H[n](e)}var np=mv({},H,{Literal:function(e){var t=H.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=H.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:q,JSXFragment:q,JSXText:q,ArrowFunctionExpression:q,FunctionExpression:q,LogicalExpression:q,MemberExpression:q,OptionalCallExpression:q,OptionalMemberExpression:q,CallExpression:q,UnaryExpression:function(e){var t=H.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=H.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:q,ConditionalExpression:q,BinaryExpression:q,ObjectExpression:q,NewExpression:q,ArrayExpression:function(e){var t=H.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:q,SpreadElement:q,TSNonNullExpression:q,TSAsExpression:q,TypeCastExpression:q,SequenceExpression:q,ChainExpression:q});function hh(r){var e=r.expression||r,t=e.type;return np[t]===void 0?(console.error(op(t)),null):np[t](e)}});var dr=s(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var bh=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};gr.default=_h;gr.getLiteralValue=Ch;var xh=Mt(),Sh=Re(xh),Eh=Dt(),wh=Re(Eh),qh=Bt(),Ph=Re(qh),Ah=Wt(),Th=Re(Ah),ip=A(),Oh=Re(ip);function Re(r){return r&&r.__esModule?r:{default:r}}var wn={Literal:Sh.default,JSXElement:wh.default,JSXExpressionContainer:Oh.default,JSXText:Ph.default,JSXFragment:Th.default},$h=bh({},wn,{JSXElement:function(){return null},JSXExpressionContainer:ip.extractLiteral});function _h(r){return wn[r.type]||console.log(r.type),wn[r.type](r)}function Ch(r){return $h[r.type](r)}});var up=s(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.default=Fh;vr.getLiteralPropValue=Nh;var ap=dr(),kh=Ih(ap);function Ih(r){return r&&r.__esModule?r:{default:r}}var sp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function Fh(r){return sp(r,kh.default)}function Nh(r){return sp(r,ap.getLiteralValue)}});var hr=s((gE,cp)=>{"use strict";var qn=Vn(),Rh=de(qn),jh=Un(),Lh=de(jh),lp=vl(),Mh=de(lp),Vh=bl(),Dh=de(Vh),pp=up(),Uh=de(pp),Bh=De(),Jh=de(Bh);function de(r){return r&&r.__esModule?r:{default:r}}cp.exports={hasProp:Rh.default,hasAnyProp:qn.hasAnyProp,hasEveryProp:qn.hasEveryProp,elementType:Lh.default,eventHandlers:Mh.default,eventHandlersByType:lp.eventHandlersByType,getProp:Dh.default,getPropValue:Uh.default,getLiteralPropValue:pp.getLiteralPropValue,propName:Jh.default}});var Ep=s((aw,Sp)=>{"use strict";Sp.exports=r=>{let e=r.match(/^[ \t]*(?=\S)/gm);return e?e.reduce((t,n)=>Math.min(t,n.length),1/0):0}});var gb={};Vp(gb,{configs:()=>db,qwikEslint9Plugin:()=>In,rules:()=>_p});module.exports=Dp(gb);var jn=require("@typescript-eslint/utils"),Up=jn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),Ln=Up({defaultOptions:[],name:"jsx-a-tag",meta:{type:"problem",docs:{description:"For a perfect SEO score, always provide href attribute for <a> elements.",recommended:"warn"},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")||e.openingElement.attributes.some(o=>o.type==="JSXAttribute"&&o.name.type==="JSXIdentifier"&&o.name.name==="href")||r.report({node:e,messageId:"noHref"}))}}}});var Tp=require("@typescript-eslint/utils");var An=Y(hr());function Pn(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var br={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},Wh={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"},fp={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:Wh,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:br.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:br.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:br.warnOnDuplicates}},additionalProperties:!1}]},create(r){if((r.sourceCode??r.getSourceCode()).getAllComments().some(l=>l.value.includes("@jsxImportSource")))return{};let n=Object.assign({},br,r.options[0]),o=n.checkFragmentShorthand,i=n.checkKeyMustBeforeSpread,a=n.warnOnDuplicates;function u(l){l.type==="JSXElement"&&!An.default.hasProp(l.openingElement.attributes,"key")?r.report({node:l,messageId:"missingIterKey"}):o&&l.type==="JSXFragment"&&r.report({node:l,messageId:"missingIterKeyUsePrag"})}function p(l,d=[]){return l.type==="IfStatement"?(l.consequent&&p(l.consequent,d),l.alternate&&p(l.alternate,d)):Array.isArray(l.body)&&l.body.forEach(E=>{E.type==="IfStatement"&&p(E,d),E.type==="ReturnStatement"&&d.push(E)}),d}function m(l){let d=!1;return l.some(E=>E.type==="JSXSpreadAttribute"?(d=!0,!1):E.type!=="JSXAttribute"?!1:d&&An.default.propName(E)==="key")}function y(l){Pn(l)&&l.body.type==="BlockStatement"&&p(l.body).filter(d=>d&&d.argument).forEach(d=>{u(d.argument)})}function f(l){let d=l&&l.type==="ArrowFunctionExpression",E=g=>g&&(g.type==="JSXElement"||g.type==="JSXFragment");d&&E(l.body)&&u(l.body),l.body.type==="ConditionalExpression"?(E(l.body.consequent)&&u(l.body.consequent),E(l.body.alternate)&&u(l.body.alternate)):l.body.type==="LogicalExpression"&&E(l.body.right)&&u(l.body.right)}let c=`:matches(
1
+ "use strict";var Cp=Object.create;var Ve=Object.defineProperty;var kp=Object.getOwnPropertyDescriptor;var Fp=Object.getOwnPropertyNames;var Np=Object.getPrototypeOf,Rp=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),jp=(r,e)=>{for(var t in e)Ve(r,t,{get:e[t],enumerable:!0})},Rn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of Fp(e))!Rp.call(r,o)&&o!==t&&Ve(r,o,{get:()=>e[o],enumerable:!(n=kp(e,o))||n.enumerable});return r};var me=(r,e,t)=>(t=r!=null?Cp(Np(r)):{},Rn(e||!r||!r.__esModule?Ve(t,"default",{value:r,enumerable:!0}):t,r)),Lp=r=>Rn(Ve({},"__esModule",{value:!0}),r);var De=s(wr=>{"use strict";Object.defineProperty(wr,"__esModule",{value:!0});wr.default=Vp;function Vp(){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 Vn=s(ye=>{"use strict";Object.defineProperty(ye,"__esModule",{value:!0});ye.default=Pr;ye.hasAnyProp=Bp;ye.hasEveryProp=Jp;var Dp=De(),Mn=Up(Dp);function Up(r){return r&&r.__esModule?r:{default:r}}var qr={spreadStrict:!0,ignoreCase:!0};function Pr(){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]:qr,n=t.ignoreCase?e.toUpperCase():e;return r.some(function(o){if(o.type==="JSXSpreadAttribute")return!t.spreadStrict;var i=t.ignoreCase?(0,Mn.default)(o).toUpperCase():(0,Mn.default)(o);return n===i})}function Bp(){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]:qr,n=typeof e=="string"?e.split(" "):e;return n.some(function(o){return Pr(r,o,t)})}function Jp(){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]:qr,n=typeof e=="string"?e.split(" "):e;return n.every(function(o){return Pr(r,o,t)})}});var Un=s(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.default=Wp;function Dn(){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"?Dn(r.object,r.property)+"."+e.name:r.name+"."+e.name}function Wp(){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 Dn(n,i)}return e.type==="JSXNamespacedName"?e.namespace.name+":"+e.name.name:r.name.name}});var Tr=s((xb,Jn)=>{"use strict";var Bn=Object.prototype.toString;Jn.exports=function(e){var t=Bn.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Bn.call(e.callee)==="[object Function]"),n}});var Zn=s((Sb,Yn)=>{"use strict";var Qn;Object.keys||(ge=Object.prototype.hasOwnProperty,Or=Object.prototype.toString,Wn=Tr(),$r=Object.prototype.propertyIsEnumerable,Hn=!$r.call({toString:null},"toString"),Xn=$r.call(function(){},"prototype"),ve=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],Ue=function(r){var e=r.constructor;return e&&e.prototype===r},Gn={$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},Kn=function(){if(typeof window>"u")return!1;for(var r in window)try{if(!Gn["$"+r]&&ge.call(window,r)&&window[r]!==null&&typeof window[r]=="object")try{Ue(window[r])}catch{return!0}}catch{return!0}return!1}(),zn=function(r){if(typeof window>"u"||!Kn)return Ue(r);try{return Ue(r)}catch{return!1}},Qn=function(e){var t=e!==null&&typeof e=="object",n=Or.call(e)==="[object Function]",o=Wn(e),i=t&&Or.call(e)==="[object String]",a=[];if(!t&&!n&&!o)throw new TypeError("Object.keys called on a non-object");var u=Xn&&n;if(i&&e.length>0&&!ge.call(e,0))for(var p=0;p<e.length;++p)a.push(String(p));if(o&&e.length>0)for(var y=0;y<e.length;++y)a.push(String(y));else for(var m in e)!(u&&m==="prototype")&&ge.call(e,m)&&a.push(String(m));if(Hn)for(var f=zn(e),c=0;c<ve.length;++c)!(f&&ve[c]==="constructor")&&ge.call(e,ve[c])&&a.push(ve[c]);return a});var ge,Or,Wn,$r,Hn,Xn,ve,Ue,Gn,Kn,zn;Yn.exports=Qn});var _r=s((Eb,to)=>{"use strict";var Hp=Array.prototype.slice,Xp=Tr(),eo=Object.keys,Be=eo?function(e){return eo(e)}:Zn(),ro=Object.keys;Be.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 Xp(n)?ro(Hp.call(n)):ro(n)})}else Object.keys=Be;return Object.keys||Be};to.exports=Be});var Y=s((wb,no)=>{"use strict";var Je=Object.defineProperty||!1;if(Je)try{Je({},"a",{value:1})}catch{Je=!1}no.exports=Je});var he=s((qb,oo)=>{"use strict";oo.exports=SyntaxError});var b=s((Pb,io)=>{"use strict";io.exports=TypeError});var so=s((Ab,ao)=>{"use strict";ao.exports=Object.getOwnPropertyDescriptor});var L=s((Tb,uo)=>{"use strict";var We=so();if(We)try{We([],"length")}catch{We=null}uo.exports=We});var He=s((Ob,co)=>{"use strict";var lo=Y(),Gp=he(),Z=b(),po=L();co.exports=function(e,t,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Z("`obj` must be an object or a function`");if(typeof t!="string"&&typeof t!="symbol")throw new Z("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Z("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Z("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Z("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Z("`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,p=!!po&&po(e,t);if(lo)lo(e,t,{configurable:a===null&&p?p.configurable:!a,enumerable:o===null&&p?p.enumerable:!o,value:n,writable:i===null&&p?p.writable:!i});else if(u||!o&&!i&&!a)e[t]=n;else throw new Gp("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var be=s(($b,mo)=>{"use strict";var Ir=Y(),fo=function(){return!!Ir};fo.hasArrayLengthDefineBug=function(){if(!Ir)return null;try{return Ir([],"length",{value:1}).length!==1}catch{return!0}};mo.exports=fo});var M=s((_b,ho)=>{"use strict";var Kp=_r(),zp=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",Qp=Object.prototype.toString,Yp=Array.prototype.concat,yo=He(),Zp=function(r){return typeof r=="function"&&Qp.call(r)==="[object Function]"},go=be()(),ec=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!Zp(n)||!n())return}go?yo(r,e,t,!0):yo(r,e,t)},vo=function(r,e){var t=arguments.length>2?arguments[2]:{},n=Kp(e);zp&&(n=Yp.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)ec(r,n[o],e[n[o]],t[n[o]])};vo.supportsDescriptors=!!go;ho.exports=vo});var ee=s((Ib,bo)=>{"use strict";bo.exports=Object});var So=s((Cb,xo)=>{"use strict";xo.exports=Error});var wo=s((kb,Eo)=>{"use strict";Eo.exports=EvalError});var Cr=s((Fb,qo)=>{"use strict";qo.exports=RangeError});var Ao=s((Nb,Po)=>{"use strict";Po.exports=ReferenceError});var Oo=s((Rb,To)=>{"use strict";To.exports=URIError});var kr=s((jb,$o)=>{"use strict";$o.exports=Math.abs});var Xe=s((Lb,_o)=>{"use strict";_o.exports=Math.floor});var Co=s((Mb,Io)=>{"use strict";Io.exports=Math.max});var Fo=s((Vb,ko)=>{"use strict";ko.exports=Math.min});var Ro=s((Db,No)=>{"use strict";No.exports=Math.pow});var Lo=s((Ub,jo)=>{"use strict";jo.exports=Math.round});var re=s((Bb,Mo)=>{"use strict";Mo.exports=Number.isNaN||function(e){return e!==e}});var Do=s((Jb,Vo)=>{"use strict";var rc=re();Vo.exports=function(e){return rc(e)||e===0?e:e<0?-1:1}});var Ge=s((Wb,Uo)=>{"use strict";Uo.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 Fr=s((Hb,Jo)=>{"use strict";var Bo=typeof Symbol<"u"&&Symbol,tc=Ge();Jo.exports=function(){return typeof Bo!="function"||typeof Symbol!="function"||typeof Bo("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:tc()}});var Nr=s((Xb,Wo)=>{"use strict";Wo.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null});var Rr=s((Gb,Ho)=>{"use strict";var nc=ee();Ho.exports=nc.getPrototypeOf||null});var Ko=s((Kb,Go)=>{"use strict";var oc="Function.prototype.bind called on incompatible ",ic=Object.prototype.toString,ac=Math.max,sc="[object Function]",Xo=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},lc=function(r,e){for(var t="",n=0;n<r.length;n+=1)t+=r[n],n+1<r.length&&(t+=e);return t};Go.exports=function(e){var t=this;if(typeof t!="function"||ic.apply(t)!==sc)throw new TypeError(oc+t);for(var n=uc(arguments,1),o,i=function(){if(this instanceof o){var m=t.apply(this,Xo(n,arguments));return Object(m)===m?m:this}return t.apply(e,Xo(n,arguments))},a=ac(0,t.length-n.length),u=[],p=0;p<a;p++)u[p]="$"+p;if(o=Function("binder","return function ("+lc(u,",")+"){ return binder.apply(this,arguments); }")(i),t.prototype){var y=function(){};y.prototype=t.prototype,o.prototype=new y,y.prototype=null}return o}});var te=s((zb,zo)=>{"use strict";var pc=Ko();zo.exports=Function.prototype.bind||pc});var Ke=s((Qb,Qo)=>{"use strict";Qo.exports=Function.prototype.call});var ze=s((Yb,Yo)=>{"use strict";Yo.exports=Function.prototype.apply});var ei=s((Zb,Zo)=>{"use strict";Zo.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply});var jr=s((ex,ri)=>{"use strict";var cc=te(),fc=ze(),dc=Ke(),mc=ei();ri.exports=mc||cc.call(dc,fc)});var xe=s((rx,ti)=>{"use strict";var yc=te(),gc=b(),vc=Ke(),hc=jr();ti.exports=function(e){if(e.length<1||typeof e[0]!="function")throw new gc("a function is required");return hc(yc,vc,e)}});var ui=s((tx,si)=>{"use strict";var bc=xe(),ni=L(),ii;try{ii=[].__proto__===Array.prototype}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var Lr=!!ii&&ni&&ni(Object.prototype,"__proto__"),ai=Object,oi=ai.getPrototypeOf;si.exports=Lr&&typeof Lr.get=="function"?bc([Lr.get]):typeof oi=="function"?function(e){return oi(e==null?e:ai(e))}:!1});var di=s((nx,fi)=>{"use strict";var li=Nr(),pi=Rr(),ci=ui();fi.exports=li?function(e){return li(e)}:pi?function(e){if(!e||typeof e!="object"&&typeof e!="function")throw new TypeError("getProto: not an object");return pi(e)}:ci?function(e){return ci(e)}:null});var V=s((ox,mi)=>{"use strict";var xc=Function.prototype.call,Sc=Object.prototype.hasOwnProperty,Ec=te();mi.exports=Ec.call(xc,Sc)});var T=s((ix,xi)=>{"use strict";var v,wc=ee(),qc=So(),Pc=wo(),Ac=Cr(),Tc=Ao(),ae=he(),ie=b(),Oc=Oo(),$c=kr(),_c=Xe(),Ic=Co(),Cc=Fo(),kc=Ro(),Fc=Lo(),Nc=Do(),hi=Function,Mr=function(r){try{return hi('"use strict"; return ('+r+").constructor;")()}catch{}},Se=L(),Rc=Y(),Vr=function(){throw new ie},jc=Se?function(){try{return arguments.callee,Vr}catch{try{return Se(arguments,"callee").get}catch{return Vr}}}():Vr,ne=Fr()(),P=di(),Lc=Rr(),Mc=Nr(),bi=ze(),Ee=Ke(),oe={},Vc=typeof Uint8Array>"u"||!P?v:P(Uint8Array),G={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":ne&&P?P([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":oe,"%AsyncGenerator%":oe,"%AsyncGeneratorFunction%":oe,"%AsyncIteratorPrototype%":oe,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":qc,"%eval%":eval,"%EvalError%":Pc,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":hi,"%GeneratorFunction%":oe,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ne&&P?P(P([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!ne||!P?v:P(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":wc,"%Object.getOwnPropertyDescriptor%":Se,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":Ac,"%ReferenceError%":Tc,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!ne||!P?v:P(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ne&&P?P(""[Symbol.iterator]()):v,"%Symbol%":ne?Symbol:v,"%SyntaxError%":ae,"%ThrowTypeError%":jc,"%TypedArray%":Vc,"%TypeError%":ie,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":Oc,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":Ee,"%Function.prototype.apply%":bi,"%Object.defineProperty%":Rc,"%Object.getPrototypeOf%":Lc,"%Math.abs%":$c,"%Math.floor%":_c,"%Math.max%":Ic,"%Math.min%":Cc,"%Math.pow%":kc,"%Math.round%":Fc,"%Math.sign%":Nc,"%Reflect.getPrototypeOf%":Mc};if(P)try{null.error}catch(r){yi=P(P(r)),G["%Error.prototype%"]=yi}var yi,Dc=function r(e){var t;if(e==="%AsyncFunction%")t=Mr("async function () {}");else if(e==="%GeneratorFunction%")t=Mr("function* () {}");else if(e==="%AsyncGeneratorFunction%")t=Mr("async function* () {}");else if(e==="%AsyncGenerator%"){var n=r("%AsyncGeneratorFunction%");n&&(t=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var o=r("%AsyncGenerator%");o&&P&&(t=P(o.prototype))}return G[e]=t,t},gi={__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"]},we=te(),Qe=V(),Uc=we.call(Ee,Array.prototype.concat),Bc=we.call(bi,Array.prototype.splice),vi=we.call(Ee,String.prototype.replace),Ye=we.call(Ee,String.prototype.slice),Jc=we.call(Ee,RegExp.prototype.exec),Wc=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Hc=/\\(\\)?/g,Xc=function(e){var t=Ye(e,0,1),n=Ye(e,-1);if(t==="%"&&n!=="%")throw new ae("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&t!=="%")throw new ae("invalid intrinsic syntax, expected opening `%`");var o=[];return vi(e,Wc,function(i,a,u,p){o[o.length]=u?vi(p,Hc,"$1"):a||i}),o},Gc=function(e,t){var n=e,o;if(Qe(gi,n)&&(o=gi[n],n="%"+o[0]+"%"),Qe(G,n)){var i=G[n];if(i===oe&&(i=Dc(n)),typeof i>"u"&&!t)throw new ie("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:o,name:n,value:i}}throw new ae("intrinsic "+e+" does not exist!")};xi.exports=function(e,t){if(typeof e!="string"||e.length===0)throw new ie("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof t!="boolean")throw new ie('"allowMissing" argument must be a boolean');if(Jc(/^%?[^%]*%?$/,e)===null)throw new ae("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Xc(e),o=n.length>0?n[0]:"",i=Gc("%"+o+"%",t),a=i.name,u=i.value,p=!1,y=i.alias;y&&(o=y[0],Bc(n,Uc([0,1],y)));for(var m=1,f=!0;m<n.length;m+=1){var c=n[m],h=Ye(c,0,1),S=Ye(c,-1);if((h==='"'||h==="'"||h==="`"||S==='"'||S==="'"||S==="`")&&h!==S)throw new ae("property names with quotes must have matching quotes");if((c==="constructor"||!f)&&(p=!0),o+="."+c,a="%"+o+"%",Qe(G,a))u=G[a];else if(u!=null){if(!(c in u)){if(!t)throw new ie("base intrinsic for "+e+" exists, but the property is not available.");return}if(Se&&m+1>=n.length){var l=Se(u,c);f=!!l,f&&"get"in l&&!("originalValue"in l.get)?u=l.get:u=u[c]}else f=Qe(u,c),u=u[c];f&&!p&&(G[a]=u)}}return u}});var Pi=s((ax,qi)=>{"use strict";var Kc=T(),Si=He(),zc=be()(),Ei=L(),wi=b(),Qc=Kc("%Math.floor%");qi.exports=function(e,t){if(typeof e!="function")throw new wi("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Qc(t)!==t)throw new wi("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],o=!0,i=!0;if("length"in e&&Ei){var a=Ei(e,"length");a&&!a.configurable&&(o=!1),a&&!a.writable&&(i=!1)}return(o||i||!n)&&(zc?Si(e,"length",t,!0,!0):Si(e,"length",t)),e}});var Ti=s((sx,Ai)=>{"use strict";var Yc=te(),Zc=ze(),ef=jr();Ai.exports=function(){return ef(Yc,Zc,arguments)}});var qe=s((ux,Ze)=>{"use strict";var rf=Pi(),Oi=Y(),tf=xe(),$i=Ti();Ze.exports=function(e){var t=tf(arguments),n=e.length-(arguments.length-1);return rf(t,1+(n>0?n:0),!0)};Oi?Oi(Ze.exports,"apply",{value:$i}):Ze.exports.apply=$i});var Dr=s((lx,_i)=>{"use strict";var nf=re();_i.exports=function(e){return(typeof e=="number"||typeof e=="bigint")&&!nf(e)&&e!==1/0&&e!==-1/0}});var Ur=s((px,Ii)=>{"use strict";var of=kr(),af=Xe(),sf=re(),uf=Dr();Ii.exports=function(e){if(typeof e!="number"||sf(e)||!uf(e))return!1;var t=of(e);return af(t)===t}});var _=s((cx,Ci)=>{"use strict";Ci.exports=function(e){return!!e&&(typeof e=="function"||typeof e=="object")}});var Fi=s((fx,ki)=>{"use strict";ki.exports=4294967295});var Ri=s((dx,Ni)=>{"use strict";Ni.exports=typeof Reflect<"u"&&Reflect.setPrototypeOf||null});var Li=s((mx,ji)=>{"use strict";var lf=ee();ji.exports=lf.setPrototypeOf||null});var Ui=s((yx,Di)=>{"use strict";var pf=xe(),Mi=L(),cf=b(),Vi={};try{Vi.__proto__=null}catch(r){if(!r||typeof r!="object"||!("code"in r)||r.code!=="ERR_PROTO_ACCESS")throw r}var ff=!("toString"in Vi),Br=Mi&&Mi(Object.prototype,"__proto__");Di.exports=ff&&(!!Br&&typeof Br.set=="function"&&pf([Br.set])||function(e,t){if(e==null)throw new cf("set Object.prototype.__proto__ called on null or undefined");return e.__proto__=t,t})});var Hi=s((gx,Wi)=>{"use strict";var Bi=Ri(),df=Li(),Ji=Ui(),mf=b();Wi.exports=Bi?function(e,t){if(Bi(e,t))return e;throw new mf("Reflect.setPrototypeOf: failed to set [[Prototype]]")}:df||(Ji?function(e,t){return Ji(e,t),e}:null)});var zi=s((vx,Ki)=>{"use strict";var yf=T(),Xi=yf("%Array.prototype%"),gf=Cr(),vf=he(),hf=b(),bf=Ur(),xf=Fi(),Gi=Hi();Ki.exports=function(e){if(!bf(e)||e<0)throw new hf("Assertion failed: `length` must be an integer Number >= 0");if(e>xf)throw new gf("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:Xi,n=[];if(t!==Xi){if(!Gi)throw new vf("ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]");Gi(n,t)}return e!==0&&(n.length=e),n}});var Yi=s((hx,Qi)=>{Qi.exports=require("util").inspect});var ba=s((bx,ha)=>{var Zr=typeof Map=="function"&&Map.prototype,Jr=Object.getOwnPropertyDescriptor&&Zr?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,rr=Zr&&Jr&&typeof Jr.get=="function"?Jr.get:null,Zi=Zr&&Map.prototype.forEach,et=typeof Set=="function"&&Set.prototype,Wr=Object.getOwnPropertyDescriptor&&et?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,tr=et&&Wr&&typeof Wr.get=="function"?Wr.get:null,ea=et&&Set.prototype.forEach,Sf=typeof WeakMap=="function"&&WeakMap.prototype,Ae=Sf?WeakMap.prototype.has:null,Ef=typeof WeakSet=="function"&&WeakSet.prototype,Te=Ef?WeakSet.prototype.has:null,wf=typeof WeakRef=="function"&&WeakRef.prototype,ra=wf?WeakRef.prototype.deref:null,qf=Boolean.prototype.valueOf,Pf=Object.prototype.toString,Af=Function.prototype.toString,Tf=String.prototype.match,rt=String.prototype.slice,D=String.prototype.replace,Of=String.prototype.toUpperCase,ta=String.prototype.toLowerCase,ca=RegExp.prototype.test,na=Array.prototype.concat,C=Array.prototype.join,$f=Array.prototype.slice,oa=Math.floor,Gr=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Hr=Object.getOwnPropertySymbols,Kr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,se=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Oe=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===se||!0)?Symbol.toStringTag:null,fa=Object.prototype.propertyIsEnumerable,ia=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(r){return r.__proto__}:null);function aa(r,e){if(r===1/0||r===-1/0||r!==r||r&&r>-1e3&&r<1e3||ca.call(/e/,e))return e;var t=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof r=="number"){var n=r<0?-oa(-r):oa(r);if(n!==r){var o=String(n),i=rt.call(e,o.length+1);return D.call(o,t,"$&_")+"."+D.call(D.call(i,/([0-9]{3})/g,"$&_"),/_$/,"")}}return D.call(e,t,"$&_")}var zr=Yi(),sa=zr.custom,ua=ya(sa)?sa:null,da={__proto__:null,double:'"',single:"'"},_f={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};ha.exports=function r(e,t,n,o){var i=t||{};if(R(i,"quoteStyle")&&!R(da,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 va(e,i);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var p=String(e);return u?aa(e,p):p}if(typeof e=="bigint"){var y=String(e)+"n";return u?aa(e,y):y}var m=typeof i.depth>"u"?5:i.depth;if(typeof n>"u"&&(n=0),n>=m&&m>0&&typeof e=="object")return Qr(e)?"[Array]":"[Object]";var f=Gf(i,n);if(typeof o>"u")o=[];else if(ga(o,e)>=0)return"[Circular]";function c(Q,Me,Ip){if(Me&&(o=$f.call(o),o.push(Me)),Ip){var Nn={depth:i.depth};return R(i,"quoteStyle")&&(Nn.quoteStyle=i.quoteStyle),r(Q,Nn,n+1,o)}return r(Q,i,n+1,o)}if(typeof e=="function"&&!la(e)){var h=Mf(e),S=er(e,c);return"[Function"+(h?": "+h:" (anonymous)")+"]"+(S.length>0?" { "+C.call(S,", ")+" }":"")}if(ya(e)){var l=se?D.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Kr.call(e);return typeof e=="object"&&!se?Pe(l):l}if(Wf(e)){for(var d="<"+ta.call(String(e.nodeName)),E=e.attributes||[],g=0;g<E.length;g++)d+=" "+E[g].name+"="+ma(If(E[g].value),"double",i);return d+=">",e.childNodes&&e.childNodes.length&&(d+="..."),d+="</"+ta.call(String(e.nodeName))+">",d}if(Qr(e)){if(e.length===0)return"[]";var w=er(e,c);return f&&!Xf(w)?"["+Yr(w,f)+"]":"[ "+C.call(w,", ")+" ]"}if(kf(e)){var I=er(e,c);return!("cause"in Error.prototype)&&"cause"in e&&!fa.call(e,"cause")?"{ ["+String(e)+"] "+C.call(na.call("[cause]: "+c(e.cause),I),", ")+" }":I.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+C.call(I,", ")+" }"}if(typeof e=="object"&&a){if(ua&&typeof e[ua]=="function"&&zr)return zr(e,{depth:m-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Vf(e)){var $=[];return Zi&&Zi.call(e,function(Q,Me){$.push(c(Me,e,!0)+" => "+c(Q,e))}),pa("Map",rr.call(e),$,f)}if(Bf(e)){var Le=[];return ea&&ea.call(e,function(Q){Le.push(c(Q,e))}),pa("Set",tr.call(e),Le,f)}if(Df(e))return Xr("WeakMap");if(Jf(e))return Xr("WeakSet");if(Uf(e))return Xr("WeakRef");if(Nf(e))return Pe(c(Number(e)));if(jf(e))return Pe(c(Gr.call(e)));if(Rf(e))return Pe(qf.call(e));if(Ff(e))return Pe(c(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(!Cf(e)&&!la(e)){var N=er(e,c),de=ia?ia(e)===Object.prototype:e instanceof Object||e.constructor===Object,Sr=e instanceof Object?"":"null prototype",Fn=!de&&Oe&&Object(e)===e&&Oe in e?rt.call(U(e),8,-1):Sr?"Object":"",_p=de||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Er=_p+(Fn||Sr?"["+C.call(na.call([],Fn||[],Sr||[]),": ")+"] ":"");return N.length===0?Er+"{}":f?Er+"{"+Yr(N,f)+"}":Er+"{ "+C.call(N,", ")+" }"}return String(e)};function ma(r,e,t){var n=t.quoteStyle||e,o=da[n];return o+r+o}function If(r){return D.call(String(r),/"/g,"&quot;")}function K(r){return!Oe||!(typeof r=="object"&&(Oe in r||typeof r[Oe]<"u"))}function Qr(r){return U(r)==="[object Array]"&&K(r)}function Cf(r){return U(r)==="[object Date]"&&K(r)}function la(r){return U(r)==="[object RegExp]"&&K(r)}function kf(r){return U(r)==="[object Error]"&&K(r)}function Ff(r){return U(r)==="[object String]"&&K(r)}function Nf(r){return U(r)==="[object Number]"&&K(r)}function Rf(r){return U(r)==="[object Boolean]"&&K(r)}function ya(r){if(se)return r&&typeof r=="object"&&r instanceof Symbol;if(typeof r=="symbol")return!0;if(!r||typeof r!="object"||!Kr)return!1;try{return Kr.call(r),!0}catch{}return!1}function jf(r){if(!r||typeof r!="object"||!Gr)return!1;try{return Gr.call(r),!0}catch{}return!1}var Lf=Object.prototype.hasOwnProperty||function(r){return r in this};function R(r,e){return Lf.call(r,e)}function U(r){return Pf.call(r)}function Mf(r){if(r.name)return r.name;var e=Tf.call(Af.call(r),/^function\s*([\w$]+)/);return e?e[1]:null}function ga(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 Vf(r){if(!rr||!r||typeof r!="object")return!1;try{rr.call(r);try{tr.call(r)}catch{return!0}return r instanceof Map}catch{}return!1}function Df(r){if(!Ae||!r||typeof r!="object")return!1;try{Ae.call(r,Ae);try{Te.call(r,Te)}catch{return!0}return r instanceof WeakMap}catch{}return!1}function Uf(r){if(!ra||!r||typeof r!="object")return!1;try{return ra.call(r),!0}catch{}return!1}function Bf(r){if(!tr||!r||typeof r!="object")return!1;try{tr.call(r);try{rr.call(r)}catch{return!0}return r instanceof Set}catch{}return!1}function Jf(r){if(!Te||!r||typeof r!="object")return!1;try{Te.call(r,Te);try{Ae.call(r,Ae)}catch{return!0}return r instanceof WeakSet}catch{}return!1}function Wf(r){return!r||typeof r!="object"?!1:typeof HTMLElement<"u"&&r instanceof HTMLElement?!0:typeof r.nodeName=="string"&&typeof r.getAttribute=="function"}function va(r,e){if(r.length>e.maxStringLength){var t=r.length-e.maxStringLength,n="... "+t+" more character"+(t>1?"s":"");return va(rt.call(r,0,e.maxStringLength),e)+n}var o=_f[e.quoteStyle||"single"];o.lastIndex=0;var i=D.call(D.call(r,o,"\\$1"),/[\x00-\x1f]/g,Hf);return ma(i,"single",e)}function Hf(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":"")+Of.call(e.toString(16))}function Pe(r){return"Object("+r+")"}function Xr(r){return r+" { ? }"}function pa(r,e,t,n){var o=n?Yr(t,n):C.call(t,", ");return r+" ("+e+") {"+o+"}"}function Xf(r){for(var e=0;e<r.length;e++)if(ga(r[e],`
2
+ `)>=0)return!1;return!0}function Gf(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=C.call(Array(r.indent+1)," ");else return null;return{base:t,prev:C.call(Array(e+1),t)}}function Yr(r,e){if(r.length===0)return"";var t=`
3
+ `+e.prev+e.base;return t+C.call(r,","+t)+`
4
+ `+e.prev}function er(r,e){var t=Qr(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 Hr=="function"?Hr(r):[],a;if(se){a={};for(var u=0;u<i.length;u++)a["$"+i[u]]=i[u]}for(var p in r)R(r,p)&&(t&&String(Number(p))===p&&p<r.length||se&&a["$"+p]instanceof Symbol||(ca.call(/[^\w$]/,p)?n.push(e(p,r)+": "+e(r[p],r)):n.push(p+": "+e(r[p],r))));if(typeof Hr=="function")for(var y=0;y<i.length;y++)fa.call(r,i[y])&&n.push("["+e(i[y])+"]: "+e(r[i[y]],r));return n}});var B=s((xx,xa)=>{"use strict";xa.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var $e=s((Sx,Ea)=>{"use strict";var Sa=b(),Kf=ba(),zf=B(),Qf=_();Ea.exports=function(e,t){if(!Qf(e))throw new Sa("Assertion failed: Type(O) is not Object");if(!zf(t))throw new Sa("Assertion failed: P is not a Property Key, got "+Kf(t));return e[t]}});var O=s((Ex,Pa)=>{"use strict";var wa=T(),qa=xe(),Yf=qa([wa("%String.prototype.indexOf%")]);Pa.exports=function(e,t){var n=wa(e,!!t);return typeof n=="function"&&Yf(e,".prototype.")>-1?qa([n]):n}});var tt=s((wx,Ta)=>{"use strict";var Zf=T(),Aa=Zf("%Array%"),ed=!Aa.isArray&&O()("Object.prototype.toString");Ta.exports=Aa.isArray||function(e){return ed(e)==="[object Array]"}});var nr=s((qx,Oa)=>{"use strict";Oa.exports=tt()});var _a=s((Px,$a)=>{"use strict";$a.exports=T()});var j=s((Ax,Ia)=>{"use strict";var rd=b(),_e=V(),td={__proto__:null,"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Get]]":!0,"[[Set]]":!0,"[[Value]]":!0,"[[Writable]]":!0};Ia.exports=function(e){if(!e||typeof e!="object")return!1;for(var t in e)if(_e(e,t)&&!td[t])return!1;var n=_e(e,"[[Value]]")||_e(e,"[[Writable]]"),o=_e(e,"[[Get]]")||_e(e,"[[Set]]");if(n&&o)throw new rd("Property Descriptors may not be both accessor and data descriptors");return!0}});var nt=s((Tx,Fa)=>{"use strict";var nd=be(),Ca=Y(),ka=nd.hasArrayLengthDefineBug(),od=ka&&tt(),id=O(),ad=id("Object.prototype.propertyIsEnumerable");Fa.exports=function(e,t,n,o,i,a){if(!Ca){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&ad(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return ka&&i==="length"&&"[[Value]]"in a&&od(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(Ca(o,i,n(a)),!0)}});var Ra=s((Ox,Na)=>{"use strict";Na.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 ot=s(($x,ja)=>{"use strict";var sd=b(),ud=j(),ld=Ra();ja.exports=function(e){if(typeof e<"u"&&!ud(e))throw new sd("Assertion failed: `Desc` must be a Property Descriptor");return ld(e)}});var or=s((_x,Ma)=>{"use strict";var pd=b(),La=V(),cd=j();Ma.exports=function(e){if(typeof e>"u")return!1;if(!cd(e))throw new pd("Assertion failed: `Desc` must be a Property Descriptor");return!(!La(e,"[[Value]]")&&!La(e,"[[Writable]]"))}});var ir=s((Ix,Da)=>{"use strict";var Va=re();Da.exports=function(e,t){return e===t?e===0?1/e===1/t:!0:Va(e)&&Va(t)}});var lt=s((Cx,Ja)=>{"use strict";var Ba=Function.prototype.toString,ue=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,at,ar;if(typeof ue=="function"&&typeof Object.defineProperty=="function")try{at=Object.defineProperty({},"length",{get:function(){throw ar}}),ar={},ue(function(){throw 42},null,at)}catch(r){r!==ar&&(ue=null)}else ue=null;var fd=/^\s*class\b/,st=function(e){try{var t=Ba.call(e);return fd.test(t)}catch{return!1}},it=function(e){try{return st(e)?!1:(Ba.call(e),!0)}catch{return!1}},sr=Object.prototype.toString,dd="[object Object]",md="[object Function]",yd="[object GeneratorFunction]",gd="[object HTMLAllCollection]",vd="[object HTML document.all class]",hd="[object HTMLCollection]",bd=typeof Symbol=="function"&&!!Symbol.toStringTag,xd=!(0 in[,]),ut=function(){return!1};typeof document=="object"&&(Ua=document.all,sr.call(Ua)===sr.call(document.all)&&(ut=function(e){if((xd||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=sr.call(e);return(t===gd||t===vd||t===hd||t===dd)&&e("")==null}catch{}return!1}));var Ua;Ja.exports=ue?function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{ue(e,null,at)}catch(t){if(t!==ar)return!1}return!st(e)&&it(e)}:function(e){if(ut(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(bd)return it(e);if(st(e))return!1;var t=sr.call(e);return t!==md&&t!==yd&&!/^\[object HTML/.test(t)?!1:it(e)}});var Ha=s((kx,Wa)=>{"use strict";Wa.exports=lt()});var Ga=s((Fx,Xa)=>{"use strict";Xa.exports=function(e){return!!e}});var ct=s((Nx,za)=>{"use strict";var k=V(),ur=b(),Sd=_(),Ka=Ha(),pt=Ga();za.exports=function(e){if(!Sd(e))throw new ur("ToPropertyDescriptor requires an object");var t={};if(k(e,"enumerable")&&(t["[[Enumerable]]"]=pt(e.enumerable)),k(e,"configurable")&&(t["[[Configurable]]"]=pt(e.configurable)),k(e,"value")&&(t["[[Value]]"]=e.value),k(e,"writable")&&(t["[[Writable]]"]=pt(e.writable)),k(e,"get")){var n=e.get;if(typeof n<"u"&&!Ka(n))throw new ur("getter must be a function");t["[[Get]]"]=n}if(k(e,"set")){var o=e.set;if(typeof o<"u"&&!Ka(o))throw new ur("setter must be a function");t["[[Set]]"]=o}if((k(t,"[[Get]]")||k(t,"[[Set]]"))&&(k(t,"[[Value]]")||k(t,"[[Writable]]")))throw new ur("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Za=s((Rx,Ya)=>{"use strict";var ft=b(),Ed=_(),Qa=j(),wd=nt(),qd=ot(),Pd=or(),Ad=B(),Td=ir(),Od=ct();Ya.exports=function(e,t,n){if(!Ed(e))throw new ft("Assertion failed: Type(O) is not Object");if(!Ad(t))throw new ft("Assertion failed: P is not a Property Key");var o=Qa(n)?n:Od(n);if(!Qa(o))throw new ft("Assertion failed: Desc is not a valid Property Descriptor");return wd(Pd,Td,qd,e,t,o)}});var rs=s((jx,yt)=>{"use strict";var $d=_a(),es=$d("%Reflect.construct%",!0),lr=Za();try{lr({},"",{"[[Get]]":function(){}})}catch{lr=null}lr&&es?(dt={},mt={},lr(mt,"length",{"[[Get]]":function(){throw dt},"[[Enumerable]]":!0}),yt.exports=function(e){try{es(e,mt)}catch(t){return t===dt}}):yt.exports=function(e){return typeof e=="function"&&!!e.prototype};var dt,mt});var ss=s((Lx,as)=>{"use strict";var _d=T(),ts=_d("%Symbol.species%",!0),ns=b(),Id=Ur(),Cd=_(),os=zi(),is=$e(),kd=nr(),Fd=rs();as.exports=function(e,t){if(!Id(t)||t<0)throw new ns("Assertion failed: length must be an integer >= 0");var n=kd(e);if(!n)return os(t);var o=is(e,"constructor");if(ts&&Cd(o)&&(o=is(o,ts),o===null&&(o=void 0)),typeof o>"u")return os(t);if(!Fd(o))throw new ns("C must be a constructor");return new o(t)}});var gt=s((Mx,us)=>{"use strict";us.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var ps=s((Vx,ls)=>{"use strict";var Nd=T(),Rd=O(),jd=b(),Ld=nr(),Md=Nd("%Reflect.apply%",!0)||Rd("Function.prototype.apply");ls.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!Ld(n))throw new jd("Assertion failed: optional `argumentsList`, if provided, must be a List");return Md(e,t,n)}});var pr=s((Dx,fs)=>{"use strict";var Vd=b(),cs=V(),Dd=j();fs.exports=function(e){if(typeof e>"u")return!1;if(!Dd(e))throw new Vd("Assertion failed: `Desc` must be a Property Descriptor");return!(!cs(e,"[[Get]]")&&!cs(e,"[[Set]]"))}});var vt=s((Ux,ds)=>{"use strict";ds.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var vs=s((Bx,gs)=>{"use strict";var ys=T(),Ud=ys("%Object.preventExtensions%",!0),Bd=ys("%Object.isExtensible%",!0),ms=vt();gs.exports=Ud?function(e){return!ms(e)&&Bd(e)}:function(e){return!ms(e)}});var bs=s((Jx,hs)=>{"use strict";var Jd=j();hs.exports=function(e,t){return Jd(t)&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var Ss=s((Wx,xs)=>{"use strict";var Wd=b(),Hd=pr(),Xd=or(),Gd=j();xs.exports=function(e){if(typeof e>"u")return!1;if(!Gd(e))throw new Wd("Assertion failed: `Desc` must be a Property Descriptor");return!Hd(e)&&!Xd(e)}});var qs=s((Hx,ws)=>{"use strict";var le=b(),Kd=_(),Ie=nt(),zd=bs(),Es=j(),Ce=ot(),z=pr(),J=or(),Qd=Ss(),Yd=B(),F=ir();ws.exports=function(e,t,n,o,i){if(typeof e<"u"&&!Kd(e))throw new le("Assertion failed: O must be undefined or an Object");if(!Yd(t))throw new le("Assertion failed: P must be a Property Key");if(typeof n!="boolean")throw new le("Assertion failed: extensible must be a Boolean");if(!Es(o))throw new le("Assertion failed: Desc must be a Property Descriptor");if(typeof i<"u"&&!Es(i))throw new le("Assertion failed: current must be a Property Descriptor, or undefined");if(typeof i>"u")return n?typeof e>"u"?!0:z(o)?Ie(J,F,Ce,e,t,o):Ie(J,F,Ce,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!zd({IsAccessorDescriptor:z,IsDataDescriptor:J},i))throw new le("`current`, when present, must be a fully populated and valid Property Descriptor");if(!i["[[Configurable]]"]){if("[[Configurable]]"in o&&o["[[Configurable]]"]||"[[Enumerable]]"in o&&!F(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Qd(o)&&!F(z(o),z(i)))return!1;if(z(i)){if("[[Get]]"in o&&!F(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!F(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!F(o["[[Value]]"],i["[[Value]]"])))return!1}if(typeof e<"u"){var a,u;return J(i)&&z(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ie(J,F,Ce,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Get]]":("[[Get]]"in o?o:i)["[[Get]]"],"[[Set]]":("[[Set]]"in o?o:i)["[[Set]]"]})):z(i)&&J(o)?(a=("[[Configurable]]"in o?o:i)["[[Configurable]]"],u=("[[Enumerable]]"in o?o:i)["[[Enumerable]]"],Ie(J,F,Ce,e,t,{"[[Configurable]]":!!a,"[[Enumerable]]":!!u,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):Ie(J,F,Ce,e,t,o)}return!0}});var Os=s((Xx,Ts)=>{"use strict";var Ps=L(),As=he(),ht=b(),Zd=_(),em=j(),rm=pr(),tm=vs(),nm=B(),om=ct(),im=ir(),am=qs();Ts.exports=function(e,t,n){if(!Zd(e))throw new ht("Assertion failed: O must be an Object");if(!nm(t))throw new ht("Assertion failed: P must be a Property Key");if(!em(n))throw new ht("Assertion failed: Desc must be a Property Descriptor");if(!Ps){if(rm(n))throw new As("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]]"],im(e[t],n["[[Value]]"]);throw new As("This environment does not support defining non-writable, non-enumerable, or non-configurable properties")}var a=Ps(e,t),u=a&&om(a),p=tm(e);return am(e,t,p,n,u)}});var Is=s((Gx,_s)=>{"use strict";var $s=b(),sm=_(),um=B(),lm=Os();_s.exports=function(e,t,n){if(!sm(e))throw new $s("Assertion failed: Type(O) is not Object");if(!um(t))throw new $s("Assertion failed: P is not a Property Key");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return lm(e,t,o)}});var ks=s((Kx,Cs)=>{"use strict";var bt=b(),pm=_(),cm=Is(),fm=B();Cs.exports=function(e,t,n){if(!pm(e))throw new bt("Assertion failed: Type(O) is not Object");if(!fm(t))throw new bt("Assertion failed: P is not a Property Key");var o=cm(e,t,n);if(!o)throw new bt("unable to create data property")}});var Rs=s((zx,Ns)=>{"use strict";var Fs=b(),dm=_(),mm=B();Ns.exports=function(e,t){if(!dm(e))throw new Fs("Assertion failed: `O` must be an Object");if(!mm(t))throw new Fs("Assertion failed: `P` must be a Property Key");return t in e}});var Ls=s((Qx,js)=>{"use strict";js.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var xt=s((Yx,Ms)=>{"use strict";var ym=Ge();Ms.exports=function(){return ym()&&!!Symbol.toStringTag}});var Us=s((Zx,Ds)=>{"use strict";var Vs=O(),gm=Vs("Date.prototype.getDay"),vm=function(e){try{return gm(e),!0}catch{return!1}},hm=Vs("Object.prototype.toString"),bm="[object Date]",xm=xt()();Ds.exports=function(e){return typeof e!="object"||e===null?!1:xm?vm(e):hm(e)===bm}});var Gs=s((eS,Xs)=>{"use strict";var Bs=O(),Sm=xt()(),Em=V(),wm=L(),wt;Sm?(Js=Bs("RegExp.prototype.exec"),St={},cr=function(){throw St},Et={toString:cr,valueOf:cr},typeof Symbol.toPrimitive=="symbol"&&(Et[Symbol.toPrimitive]=cr),wt=function(e){if(!e||typeof e!="object")return!1;var t=wm(e,"lastIndex"),n=t&&Em(t,"value");if(!n)return!1;try{Js(e,Et)}catch(o){return o===St}}):(Ws=Bs("Object.prototype.toString"),Hs="[object RegExp]",wt=function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Ws(e)===Hs});var Js,St,cr,Et,Ws,Hs;Xs.exports=wt});var qt=s((rS,Ks)=>{"use strict";var qm=O(),Pm=Gs(),Am=qm("RegExp.prototype.exec"),Tm=b();Ks.exports=function(e){if(!Pm(e))throw new Tm("`regex` must be a RegExp");return function(n){return Am(e,n)!==null}}});var eu=s((tS,Pt)=>{"use strict";var Zs=O(),Om=Zs("Object.prototype.toString"),$m=Fr()(),_m=qt();$m?(zs=Zs("Symbol.prototype.toString"),Qs=_m(/^Symbol\(.*\)$/),Ys=function(e){return typeof e.valueOf()!="symbol"?!1:Qs(zs(e))},Pt.exports=function(e){if(typeof e=="symbol")return!0;if(!e||typeof e!="object"||Om(e)!=="[object Symbol]")return!1;try{return Ys(e)}catch{return!1}}):Pt.exports=function(e){return!1};var zs,Qs,Ys});var ou=s((nS,nu)=>{"use strict";var Im=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",At=Ls(),tu=lt(),Cm=Us(),ru=eu(),km=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]],tu(o)&&(i=o.call(e),At(i)))return i;throw new TypeError("No default value")},Fm=function(e,t){var n=e[t];if(n!==null&&typeof n<"u"){if(!tu(n))throw new TypeError(n+" returned for property "+String(t)+" of object "+e+" is not a function");return n}};nu.exports=function(e){if(At(e))return e;var t="default";arguments.length>1&&(arguments[1]===String?t="string":arguments[1]===Number&&(t="number"));var n;if(Im&&(Symbol.toPrimitive?n=Fm(e,Symbol.toPrimitive):ru(e)&&(n=Symbol.prototype.valueOf)),typeof n<"u"){var o=n.call(e,t);if(At(o))return o;throw new TypeError("unable to convert exotic object to primitive")}return t==="default"&&(Cm(e)||ru(e))&&(t="string"),km(e,t==="default"?"number":t)}});var su=s((oS,au)=>{"use strict";var iu=ou();au.exports=function(e){return arguments.length>1?iu(e,arguments[1]):iu(e)}});var ke=s((iS,uu)=>{"use strict";var Nm=b();uu.exports=function(e){if(e==null)throw new Nm(arguments.length>0&&arguments[1]||"Cannot call method on "+e);return e}});var Tt=s((aS,lu)=>{"use strict";var Rm=T(),jm=Rm("%String%"),Lm=b();lu.exports=function(e){if(typeof e=="symbol")throw new Lm("Cannot convert a Symbol value to a string");return jm(e)}});var Ot=s((sS,fu)=>{"use strict";var Mm=ke(),Vm=Tt(),Dm=O(),pu=Dm("String.prototype.replace"),cu=/^\s$/.test("\u180E"),Um=cu?/^[\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]+/,Bm=cu?/[\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]+$/;fu.exports=function(){var e=Vm(Mm(this));return pu(pu(e,Um,""),Bm,"")}});var $t=s((uS,mu)=>{"use strict";var Jm=Ot(),du="\u200B",pe="\u180E";mu.exports=function(){return String.prototype.trim&&du.trim()===du&&pe.trim()===pe&&("_"+pe).trim()==="_"+pe&&(pe+"_").trim()===pe+"_"?String.prototype.trim:Jm}});var vu=s((lS,gu)=>{"use strict";var Wm=be()(),yu=He(),Hm=$t();gu.exports=function(){var e=Hm();return String.prototype.trim!==e&&(Wm?yu(String.prototype,"trim",e,!0):yu(String.prototype,"trim",e)),e}});var Su=s((pS,xu)=>{"use strict";var Xm=qe(),Gm=M(),Km=ke(),zm=Ot(),hu=$t(),Qm=vu(),Ym=Xm(hu()),bu=function(e){return Km(e),Ym(e)};Gm(bu,{getPolyfill:hu,implementation:zm,shim:Qm});xu.exports=bu});var Au=s((cS,Pu)=>{"use strict";var qu=T(),Zm=qu("%RegExp%"),ey=b(),Eu=qu("%parseInt%"),ry=O(),fr=qt(),wu=ry("String.prototype.slice"),ty=fr(/^0b[01]+$/i),ny=fr(/^0o[0-7]+$/i),oy=fr(/^[-+]0x[0-9a-f]+$/i),iy=["\x85","\u200B","\uFFFE"].join(""),ay=new Zm("["+iy+"]","g"),sy=fr(ay),uy=Su();Pu.exports=function r(e){if(typeof e!="string")throw new ey("Assertion failed: `argument` is not a String");if(ty(e))return+Eu(wu(e,2),2);if(ny(e))return+Eu(wu(e,2),8);if(sy(e)||oy(e))return NaN;var t=uy(e);return t!==e?r(t):+e}});var $u=s((fS,Ou)=>{"use strict";var ly=T(),Tu=b(),py=ly("%Number%"),cy=vt(),fy=su(),dy=Au();Ou.exports=function(e){var t=cy(e)?e:fy(e,py);if(typeof t=="symbol")throw new Tu("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new Tu("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?dy(t):+t}});var Iu=s((dS,_u)=>{"use strict";var my=Xe();_u.exports=function(e){return typeof e=="bigint"?e:my(e)}});var Fu=s((mS,ku)=>{"use strict";var Cu=Iu(),yy=b();ku.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new yy("argument must be a Number or a BigInt");var t=e<0?-Cu(-e):Cu(e);return t===0?0:t}});var _t=s((yS,Nu)=>{"use strict";var gy=$u(),vy=Fu(),hy=re(),by=Dr();Nu.exports=function(e){var t=gy(e);return hy(t)||t===0?0:by(t)?vy(t):t}});var It=s((gS,ju)=>{"use strict";var Ru=gt(),xy=_t();ju.exports=function(e){var t=xy(e);return t<=0?0:t>Ru?Ru:t}});var Mu=s((vS,Lu)=>{"use strict";var Sy=b(),Ey=_(),wy=$e(),qy=It();Lu.exports=function(e){if(!Ey(e))throw new Sy("Assertion failed: `obj` must be an Object");return qy(wy(e,"length"))}});var Bu=s((hS,Uu)=>{"use strict";var Vu=b(),Py=gt(),Ay=ps(),Ty=ks(),Oy=$e(),$y=Rs(),_y=nr(),Iy=Mu(),Du=Tt();Uu.exports=function r(e,t,n,o,i){var a;arguments.length>5&&(a=arguments[5]);for(var u=o,p=0;p<n;){var y=Du(p),m=$y(t,y);if(m===!0){var f=Oy(t,y);if(typeof a<"u"){if(arguments.length<=6)throw new Vu("Assertion failed: thisArg is required when mapperFunction is provided");f=Ay(a,arguments[6],[f,p,t])}var c=!1;if(i>0&&(c=_y(f)),c){var h=Iy(f);u=r(e,f,h,u,i-1)}else{if(u>=Py)throw new Vu("index too large");Ty(e,Du(u),f),u+=1}}p+=1}return u}});var Wu=s((bS,Ju)=>{"use strict";var Cy=ee(),ky=ke();Ju.exports=function(e){return ky(e),Cy(e)}});var Xu=s((xS,Hu)=>{"use strict";Hu.exports=Wu()});var Ct=s((SS,Gu)=>{"use strict";var Fy=ss(),Ny=Bu(),Ry=$e(),jy=_t(),Ly=It(),My=Xu();Gu.exports=function(){var e=My(this),t=Ly(Ry(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=jy(arguments[0]));var o=Fy(e,0);return Ny(o,e,t,0,n),o}});var kt=s((ES,Ku)=>{"use strict";var Vy=Ct();Ku.exports=function(){return Array.prototype.flat||Vy}});var el=s((wS,Zu)=>{"use strict";var Dy=V(),Yu=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",zu=Yu&&Array.prototype[Symbol.unscopables],Qu=TypeError;Zu.exports=function(e){if(typeof e!="string"||!e)throw new Qu("method must be a non-empty string");if(!Dy(Array.prototype,e))throw new Qu("method must be on Array.prototype");Yu&&zu&&(zu[e]=!0)}});var tl=s((qS,rl)=>{"use strict";var Uy=M(),By=el(),Jy=kt();rl.exports=function(){var e=Jy();return Uy(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),By("flat"),e}});var al=s((PS,il)=>{"use strict";var Wy=M(),Hy=qe(),Xy=Ct(),nl=kt(),Gy=nl(),Ky=tl(),ol=Hy(Gy);Wy(ol,{getPolyfill:nl,implementation:Xy,shim:Ky});il.exports=ol});var Ft=s((AS,sl)=>{"use strict";var zy=ke(),Qy=O(),Yy=Qy("Object.prototype.propertyIsEnumerable");sl.exports=function(e){var t=zy(e),n=[];for(var o in t)Yy(t,o)&&(n[n.length]=t[o]);return n}});var Nt=s((TS,ul)=>{"use strict";var Zy=Ft();ul.exports=function(){return typeof Object.values=="function"?Object.values:Zy}});var pl=s((OS,ll)=>{"use strict";var eg=Nt(),rg=M();ll.exports=function(){var e=eg();return rg(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var ml=s(($S,dl)=>{"use strict";var tg=M(),ng=qe(),og=Ft(),cl=Nt(),ig=pl(),fl=ng(cl(),Object);tg(fl,{getPolyfill:cl,implementation:og,shim:ig});dl.exports=fl});var vl=s(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.eventHandlersByType=void 0;var ag=al(),sg=yl(ag),ug=ml(),lg=yl(ug);function yl(r){return r&&r.__esModule?r:{default:r}}var gl={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"]};Fe.default=(0,sg.default)((0,lg.default)(gl));Fe.eventHandlersByType=gl});var bl=s(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});var pg=function(){function r(e,t){var n=[],o=!0,i=!1,a=void 0;try{for(var u=e[Symbol.iterator](),p;!(o=(p=u.next()).done)&&(n.push(p.value),!(t&&n.length===t));o=!0);}catch(y){i=!0,a=y}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")}}(),ce=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};jt.default=yg;var cg=De(),fg=dg(cg);function dg(r){return r&&r.__esModule?r:{default:r}}function hl(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 mg={ignoreCase:!0};function yg(){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]:mg;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,fg.default)(u))});return a&&a.type==="JSXSpreadAttribute"?gg(a.argument.properties.find(i)):a}function gg(r){var e=r.key,t=r.value;return ce({type:"JSXAttribute",name:ce({type:"JSXIdentifier",name:e.name},Rt(e)),value:t.type==="Literal"?Ne(t):ce({type:"JSXExpressionContainer",expression:vg(t)},Rt(t))},Rt(r))}function Ne(r){var e=r.range||[r.start,r.end],t=pg(e,2),n=t[0],o=t[1];return ce({},r,{end:void 0,range:[n,o],start:void 0})}function vg(r){var e=r.expressions,t=r.quasis,n=hl(r,["expressions","quasis"]);return ce({},Ne(n),e?{expressions:e.map(Ne)}:{},t?{quasis:t.map(Ne)}:{})}function Rt(r){var e=r.loc,t=hl(r,["loc"]),n=Ne(t),o=n.range;return{loc:hg(e),range:o}}function hg(r){var e=r.start,t=r.end,n=r.source,o=r.filename;return ce({start:e,end:t},n!==void 0?{source:n}:{},o!==void 0?{filename:o}:{})}});var Mt=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.default=bg;function bg(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Dt=s(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.default=xg;function xg(r){var e=dr().default,t=r.openingElement.name.name;return r.openingElement.selfClosing?"<"+t+" />":"<"+t+">"+[].concat(r.children).map(function(n){return e(n)}).join("")+"</"+t+">"}});var Bt=s(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.default=Sg;function Sg(r){return r.raw}});var Wt=s(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.default=Eg;function Eg(r){var e=dr().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var Sl=s(Ht=>{"use strict";Object.defineProperty(Ht,"__esModule",{value:!0});Ht.default=wg;var xl={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function wg(r){var e=r.name;return Object.hasOwnProperty.call(xl,e)?xl[e]:e}});var Gt=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=Pg;function qg(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function Pg(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(qg).map(function(o){var i=o.type,a=o.value;a=a===void 0?{}:a;var u=a.raw,p=o.name;return i==="TemplateElement"?u:i==="Identifier"?p==="undefined"?p:"{"+p+"}":i.indexOf("Expression")>-1?"{"+i+"}":""}).join("")}});var El=s(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.default=$g;var Ag=Gt(),Tg=Og(Ag);function Og(r){return r&&r.__esModule?r:{default:r}}function $g(r){return(0,Tg.default)(r.quasi)}});var wl=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=_g;function _g(r){return function(){return r}}});var ql=s(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.default=Ig;function Ig(r){var e=A().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 Pl=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=Cg;function Cg(r){var e=A().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Al=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=kg;function kg(r){var e=A().default;return e(r.expression||r)}});var Tl=s(en=>{"use strict";Object.defineProperty(en,"__esModule",{value:!0});en.default=Fg;function Fg(r){var e=A().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var Ol=s(rn=>{"use strict";Object.defineProperty(rn,"__esModule",{value:!0});rn.default=Ng;function Ng(r){var e=A().default;return e(r.object)+"?."+e(r.property)}});var nn=s(tn=>{"use strict";Object.defineProperty(tn,"__esModule",{value:!0});tn.default=Rg;function Rg(r){var e=A().default,t=Array.isArray(r.arguments)?r.arguments.map(function(n){return e(n)}).join(", "):"";return""+e(r.callee)+(r.optional?"?.":"")+"("+t+")"}});var $l=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=jg;function jg(r){var e=A().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;case"typeof":case"void":default:return}}});var sn=s(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=Lg;function Lg(){return"this"}});var _l=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=Mg;function Mg(r){var e=A().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Il=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=Vg;function Vg(r){var e=A().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 pn=s((zS,Nl)=>{"use strict";var Dg=_r(),kl=Ge()(),Fl=O(),mr=ee(),Ug=Fl("Array.prototype.push"),Cl=Fl("Object.prototype.propertyIsEnumerable"),Bg=kl?mr.getOwnPropertySymbols:null;Nl.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=mr(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=mr(arguments[o]),a=Dg(i),u=kl&&(mr.getOwnPropertySymbols||Bg);if(u)for(var p=u(i),y=0;y<p.length;++y){var m=p[y];Cl(i,m)&&Ug(a,m)}for(var f=0;f<a.length;++f){var c=a[f];if(Cl(i,c)){var h=i[c];n[c]=h}}}return n}});var fn=s((QS,Rl)=>{"use strict";var cn=pn(),Jg=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},Wg=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};Rl.exports=function(){return!Object.assign||Jg()||Wg()?cn:Object.assign}});var Ll=s((YS,jl)=>{"use strict";var Hg=M(),Xg=fn();jl.exports=function(){var e=Xg();return Hg(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var Ul=s((ZS,Dl)=>{"use strict";var Gg=M(),Kg=qe(),zg=pn(),Ml=fn(),Qg=Ll(),Yg=Kg.apply(Ml()),Vl=function(e,t){return Yg(Object,arguments)};Gg(Vl,{getPolyfill:Ml,implementation:zg,shim:Qg});Dl.exports=Vl});var Wl=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=Jl;var Zg=Ul(),Bl=ev(Zg);function ev(r){return r&&r.__esModule?r:{default:r}}function rv(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Jl(r){var e=A().default;return r.properties.reduce(function(t,n){if(/^(?:Experimental)?Spread(?:Property|Element)$/.test(n.type)){if(n.argument.type==="ObjectExpression")return(0,Bl.default)({},t,Jl(n.argument))}else return(0,Bl.default)({},t,rv({},e(n.key),e(n.value)));return t},{})}});var Hl=s(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.default=tv;function tv(){return new Object}});var Xl=s(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.default=nv;function nv(r){var e=A().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 Gl=s(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.default=ov;function ov(r){var e=A().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var Kl=s(vn=>{"use strict";Object.defineProperty(vn,"__esModule",{value:!0});vn.default=iv;function iv(r){var e=A().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 zl=s(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.default=av;function av(){}});var Ql=s(bn=>{"use strict";Object.defineProperty(bn,"__esModule",{value:!0});bn.default=sv;function sv(r){var e=A().default;return e(r.expression)}});var Yl=s(xn=>{"use strict";Object.defineProperty(xn,"__esModule",{value:!0});xn.default=uv;function uv(r){var e=A().default;return r.expressions.map(function(t){return e(t)})}});var ep=s(Sn=>{"use strict";Object.defineProperty(Sn,"__esModule",{value:!0});Sn.default=W;var lv=sn().default,pv=nn().default;function Zl(r,e,t){return t.computed?t.optional?r+"?.["+e+"]":r+"["+e+"]":t.optional?r+"?."+e:r+"."+e}function W(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 W(r.expression);if(r.type==="CallExpression")return pv(r);if(r.type==="ThisExpression")return lv();if(r.type==="TSNonNullExpression"&&(!r.extra||r.extra.parenthesized===!1)){var n=r.expression;return W(n)+"!"}if(r.type==="TSNonNullExpression"&&r.extra&&r.extra.parenthesized===!0){var o=r.expression;return"("+W(o)+"!)"}if(r.type==="MemberExpression"){if(!r.extra||r.extra.parenthesized===!1)return Zl(W(r.object),W(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=Zl(W(r.object),W(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 rp=s(En=>{"use strict";Object.defineProperty(En,"__esModule",{value:!0});En.default=cv;function cv(r){var e=A().default;return e(r.left)+" "+r.operator+" "+e(r.right)}});var A=s(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});var fv=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};yr.default=mh;yr.extractLiteral=yh;var dv=Mt(),mv=x(dv),yv=Dt(),gv=x(yv),vv=Wt(),hv=x(vv),bv=Bt(),xv=x(bv),Sv=Sl(),Ev=x(Sv),wv=El(),qv=x(wv),Pv=Gt(),Av=x(Pv),Tv=wl(),tp=x(Tv),Ov=ql(),$v=x(Ov),_v=Pl(),Iv=x(_v),Cv=Al(),kv=x(Cv),Fv=Tl(),Nv=x(Fv),Rv=Ol(),jv=x(Rv),Lv=nn(),Mv=x(Lv),Vv=$l(),Dv=x(Vv),Uv=sn(),Bv=x(Uv),Jv=_l(),Wv=x(Jv),Hv=Il(),Xv=x(Hv),Gv=Wl(),Kv=x(Gv),zv=Hl(),Qv=x(zv),Yv=Xl(),Zv=x(Yv),eh=Gl(),rh=x(eh),th=Kl(),nh=x(th),oh=zl(),ih=x(oh),ah=Ql(),sh=x(ah),uh=Yl(),lh=x(uh),ph=ep(),ch=x(ph),fh=rp(),dh=x(fh);function x(r){return r&&r.__esModule?r:{default:r}}var H={Identifier:Ev.default,Literal:mv.default,JSXElement:gv.default,JSXFragment:hv.default,JSXText:xv.default,TaggedTemplateExpression:qv.default,TemplateLiteral:Av.default,ArrowFunctionExpression:tp.default,FunctionExpression:tp.default,LogicalExpression:$v.default,MemberExpression:Iv.default,ChainExpression:kv.default,OptionalCallExpression:Nv.default,OptionalMemberExpression:jv.default,CallExpression:Mv.default,UnaryExpression:Dv.default,ThisExpression:Bv.default,ConditionalExpression:Wv.default,BinaryExpression:Xv.default,ObjectExpression:Kv.default,NewExpression:Qv.default,UpdateExpression:Zv.default,ArrayExpression:rh.default,BindExpression:nh.default,SpreadElement:ih.default,TypeCastExpression:sh.default,SequenceExpression:lh.default,TSNonNullExpression:ch.default,AssignmentExpression:dh.default},q=function(){return null},op=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 mh(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 H[n]===void 0?(console.error(op(n)),null):H[n](e)}var np=fv({},H,{Literal:function(e){var t=H.Literal.call(void 0,e),n=t===null;return n?"null":t},Identifier:function(e){var t=H.Identifier.call(void 0,e)===void 0;return t?void 0:null},JSXElement:q,JSXFragment:q,JSXText:q,ArrowFunctionExpression:q,FunctionExpression:q,LogicalExpression:q,MemberExpression:q,OptionalCallExpression:q,OptionalMemberExpression:q,CallExpression:q,UnaryExpression:function(e){var t=H.UnaryExpression.call(void 0,e);return t===void 0?null:t},UpdateExpression:function(e){var t=H.UpdateExpression.call(void 0,e);return t===void 0?null:t},ThisExpression:q,ConditionalExpression:q,BinaryExpression:q,ObjectExpression:q,NewExpression:q,ArrayExpression:function(e){var t=H.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:q,SpreadElement:q,TSNonNullExpression:q,TSAsExpression:q,TypeCastExpression:q,SequenceExpression:q,ChainExpression:q});function yh(r){var e=r.expression||r,t=e.type;return np[t]===void 0?(console.error(op(t)),null):np[t](e)}});var dr=s(gr=>{"use strict";Object.defineProperty(gr,"__esModule",{value:!0});var gh=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};gr.default=Th;gr.getLiteralValue=Oh;var vh=Mt(),hh=Re(vh),bh=Dt(),xh=Re(bh),Sh=Bt(),Eh=Re(Sh),wh=Wt(),qh=Re(wh),ip=A(),Ph=Re(ip);function Re(r){return r&&r.__esModule?r:{default:r}}var wn={Literal:hh.default,JSXElement:xh.default,JSXExpressionContainer:Ph.default,JSXText:Eh.default,JSXFragment:qh.default},Ah=gh({},wn,{JSXElement:function(){return null},JSXExpressionContainer:ip.extractLiteral});function Th(r){return wn[r.type]||console.log(r.type),wn[r.type](r)}function Oh(r){return Ah[r.type](r)}});var up=s(vr=>{"use strict";Object.defineProperty(vr,"__esModule",{value:!0});vr.default=Ih;vr.getLiteralPropValue=Ch;var ap=dr(),$h=_h(ap);function _h(r){return r&&r.__esModule?r:{default:r}}var sp=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function Ih(r){return sp(r,$h.default)}function Ch(r){return sp(r,ap.getLiteralValue)}});var hr=s((dE,cp)=>{"use strict";var qn=Vn(),kh=fe(qn),Fh=Un(),Nh=fe(Fh),lp=vl(),Rh=fe(lp),jh=bl(),Lh=fe(jh),pp=up(),Mh=fe(pp),Vh=De(),Dh=fe(Vh);function fe(r){return r&&r.__esModule?r:{default:r}}cp.exports={hasProp:kh.default,hasAnyProp:qn.hasAnyProp,hasEveryProp:qn.hasEveryProp,elementType:Nh.default,eventHandlers:Rh.default,eventHandlersByType:lp.eventHandlersByType,getProp:Lh.default,getPropValue:Mh.default,getLiteralPropValue:pp.getLiteralPropValue,propName:Dh.default}});var db={};jp(db,{configs:()=>pb,qwikEslint9Plugin:()=>kn,rules:()=>Tp});module.exports=Lp(db);var jn=require("@typescript-eslint/utils"),Mp=jn.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),Ln=Mp({defaultOptions:[],name:"jsx-a-tag",meta:{type:"problem",docs:{description:"For a perfect SEO score, always provide href attribute for <a> elements.",recommended:"warn"},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")||e.openingElement.attributes.some(o=>o.type==="JSXAttribute"&&o.name.type==="JSXIdentifier"&&o.name.name==="href")||r.report({node:e,messageId:"noHref"}))}}}});var qp=require("@typescript-eslint/utils");var An=me(hr());function Pn(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var br={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},Uh={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"},fp={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:Uh,schema:[{type:"object",properties:{checkFragmentShorthand:{type:"boolean",default:br.checkFragmentShorthand},checkKeyMustBeforeSpread:{type:"boolean",default:br.checkKeyMustBeforeSpread},warnOnDuplicates:{type:"boolean",default:br.warnOnDuplicates}},additionalProperties:!1}]},create(r){if((r.sourceCode??r.getSourceCode()).getAllComments().some(l=>l.value.includes("@jsxImportSource")))return{};let n=Object.assign({},br,r.options[0]),o=n.checkFragmentShorthand,i=n.checkKeyMustBeforeSpread,a=n.warnOnDuplicates;function u(l){l.type==="JSXElement"&&!An.default.hasProp(l.openingElement.attributes,"key")?r.report({node:l,messageId:"missingIterKey"}):o&&l.type==="JSXFragment"&&r.report({node:l,messageId:"missingIterKeyUsePrag"})}function p(l,d=[]){return l.type==="IfStatement"?(l.consequent&&p(l.consequent,d),l.alternate&&p(l.alternate,d)):Array.isArray(l.body)&&l.body.forEach(E=>{E.type==="IfStatement"&&p(E,d),E.type==="ReturnStatement"&&d.push(E)}),d}function y(l){let d=!1;return l.some(E=>E.type==="JSXSpreadAttribute"?(d=!0,!1):E.type!=="JSXAttribute"?!1:d&&An.default.propName(E)==="key")}function m(l){Pn(l)&&l.body.type==="BlockStatement"&&p(l.body).filter(d=>d&&d.argument).forEach(d=>{u(d.argument)})}function f(l){let d=l&&l.type==="ArrowFunctionExpression",E=g=>g&&(g.type==="JSXElement"||g.type==="JSXFragment");d&&E(l.body)&&u(l.body),l.body.type==="ConditionalExpression"?(E(l.body.consequent)&&u(l.body.consequent),E(l.body.alternate)&&u(l.body.alternate)):l.body.type==="LogicalExpression"&&E(l.body.right)&&u(l.body.right)}let c=`:matches(
5
5
  CallExpression
6
6
  [callee.object.object.name=Fragment]
7
7
  [callee.object.property.name=Children]
@@ -9,7 +9,7 @@
9
9
  CallExpression
10
10
  [callee.object.name=Children]
11
11
  [callee.property.name=toArray]
12
- )`.replace(/\s/g,""),h=!1,S=new WeakSet;return{[c](){h=!0},[`${c}:exit`](){h=!1},"ArrayExpression, JSXElement > JSXElement"(l){if(h)return;let d=(l.type==="ArrayExpression"?l.elements:l.parent.children).filter(g=>g&&g.type==="JSXElement");if(d.length===0)return;let E={};d.forEach(g=>{g.openingElement.attributes.filter($=>$.name&&$.name.name==="key").length===0&&l.type==="ArrayExpression"&&r.report({node:g,messageId:"missingArrayKey"})}),a&&Object.values(E).filter(g=>g.length>1).forEach(g=>{g.forEach(w=>{S.has(w)||(S.add(w),r.report({node:w,messageId:"nonUniqueKeys"}))})})},JSXFragment(l){!o||h||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(h)return;let d=l.arguments.length>0&&l.arguments[0];!d||!Pn(d)||(f(d),y(d))},'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(l){if(h)return;let d=l.arguments.length>1&&l.arguments[1];Pn(d)&&(f(d),y(d))}}}},bE=`
12
+ )`.replace(/\s/g,""),h=!1,S=new WeakSet;return{[c](){h=!0},[`${c}:exit`](){h=!1},"ArrayExpression, JSXElement > JSXElement"(l){if(h)return;let d=(l.type==="ArrayExpression"?l.elements:l.parent.children).filter(g=>g&&g.type==="JSXElement");if(d.length===0)return;let E={};d.forEach(g=>{g.openingElement.attributes.filter($=>$.name&&$.name.name==="key").length===0&&l.type==="ArrayExpression"&&r.report({node:g,messageId:"missingArrayKey"})}),a&&Object.values(E).filter(g=>g.length>1).forEach(g=>{g.forEach(w=>{S.has(w)||(S.add(w),r.report({node:w,messageId:"nonUniqueKeys"}))})})},JSXFragment(l){!o||h||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(h)return;let d=l.arguments.length>0&&l.arguments[0];!d||!Pn(d)||(f(d),m(d))},'CallExpression[callee.type="MemberExpression"][callee.property.name="from"]'(l){if(h)return;let d=l.arguments.length>1&&l.arguments[1];Pn(d)&&(f(d),m(d))}}}},gE=`
13
13
  import { component$ } from '@builder.io/qwik';
14
14
 
15
15
  export const Person = component$(() => {
@@ -26,7 +26,7 @@ export const Person = component$(() => {
26
26
  )}
27
27
  </ul>
28
28
  );
29
- });`.trim(),xE=`
29
+ });`.trim(),vE=`
30
30
  import { component$ } from '@builder.io/qwik';
31
31
 
32
32
  export const Person = component$(() => {
@@ -43,7 +43,7 @@ export const Person = component$(() => {
43
43
  )}
44
44
  </ul>
45
45
  );
46
- });`.trim(),SE=`
46
+ });`.trim(),hE=`
47
47
  import { component$ } from '@builder.io/qwik';
48
48
  import Card from './Card';
49
49
  import Summary from './Summary';
@@ -63,7 +63,7 @@ export const Person = component$(() => {
63
63
  </Fragment>
64
64
  )}
65
65
  );
66
- });`.trim(),EE=`
66
+ });`.trim(),bE=`
67
67
  import { component$ } from '@builder.io/qwik';
68
68
  import Card from './Card';
69
69
  import Summary from './Summary';
@@ -83,7 +83,7 @@ export const Person = component$(() => {
83
83
  </>
84
84
  )}
85
85
  );
86
- });`.trim(),wE=`
86
+ });`.trim(),xE=`
87
87
  import { component$ } from '@builder.io/qwik';
88
88
 
89
89
  export const ColorList = component$(() => {
@@ -96,7 +96,7 @@ export const ColorList = component$(() => {
96
96
  )}
97
97
  </ul>
98
98
  );
99
- });`.trim(),qE=`
99
+ });`.trim(),SE=`
100
100
  import { component$ } from '@builder.io/qwik';
101
101
 
102
102
  export const ColorList = component$(() => {
@@ -109,7 +109,7 @@ export const ColorList = component$(() => {
109
109
  )}
110
110
  </ul>
111
111
  );
112
- });`.trim(),PE=`
112
+ });`.trim(),EE=`
113
113
  import { component$, Fragment } from '@builder.io/qwik';
114
114
 
115
115
  export const ColorList = component$(() => {
@@ -123,7 +123,7 @@ export const ColorList = component$(() => {
123
123
  </Fragment>
124
124
  )}
125
125
  );
126
- });`.trim(),AE=`
126
+ });`.trim(),wE=`
127
127
  import { component$ } from '@builder.io/qwik';
128
128
 
129
129
  export const ColorList = component$(() => {
@@ -137,7 +137,7 @@ export const ColorList = component$(() => {
137
137
  </>
138
138
  )}
139
139
  );
140
- });`.trim();var TE=`
140
+ });`.trim();var qE=`
141
141
  import { component$ } from '@builder.io/qwik';
142
142
 
143
143
  export const ColorList = component$(() => {
@@ -150,9 +150,9 @@ export const ColorList = component$(() => {
150
150
  )}
151
151
  </ul>
152
152
  );
153
- });`.trim();var dp=require("@typescript-eslint/utils");var{getStaticValue:Hh}=dp.ASTUtils,Xh=/^[\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,yp={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=Hh(t.value.type==="JSXExpressionContainer"?t.value.expression:t.value,e.getScope?e.getScope(t):r.getScope());n&&typeof n.value=="string"&&Xh.test(n.value)&&r.report({node:t.value,messageId:"noJSURL"})}}}}},CE=`
154
- <button onClick$={() => alert('open the door please')>ring</button>`.trim(),kE=`
155
- <button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var mp={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},Gh={...mp,action$:!0,globalAction$:!0},gp={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
153
+ });`.trim();var dp=require("@typescript-eslint/utils");var{getStaticValue:Bh}=dp.ASTUtils,Jh=/^[\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,mp={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=Bh(t.value.type==="JSXExpressionContainer"?t.value.expression:t.value,e.getScope?e.getScope(t):r.getScope());n&&typeof n.value=="string"&&Jh.test(n.value)&&r.report({node:t.value,messageId:"noJSURL"})}}}}},OE=`
154
+ <button onClick$={() => alert('open the door please')>ring</button>`.trim(),$E=`
155
+ <button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var yp={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},Wh={...yp,action$:!0,globalAction$:!0},gp={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
156
156
  (docs: https://qwik.dev/docs/route-loader/).
157
157
 
158
158
  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.
@@ -160,28 +160,28 @@ This {{fnName}}() is declared outside of the route boundaries. This may be usefu
160
160
 
161
161
  If you understand this, you can disable this warning with:
162
162
  // eslint-disable-next-line qwik/loader-location
163
- `,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){var p,m;let e=((m=(p=r.options)==null?void 0:p[0])==null?void 0:m.routesDir)??"src/routes",t=Kh(r.filename??r.getFilename()),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(y){if(y.callee.type!=="Identifier")return;let f=y.callee.name;if(!Gh[f])return;if(!u&&mp[f]){r.report({node:y.callee,messageId:"invalidLoaderLocation",data:{routesDir:e,fnName:f,path:t}});return}let c=y.parent;if(c.type!=="VariableDeclarator"){r.report({node:y.callee,messageId:"missingExport",data:{fnName:f,id:"useStuff"}});return}if(c.id.type!=="Identifier"){r.report({node:y.callee,messageId:"missingExport",data:{fnName:f,id:"useStuff"}});return}if(!/^use/.test(c.id.name)){let h="use"+c.id.name[0].toUpperCase()+c.id.name.slice(1);r.report({node:c.id,messageId:"wrongName",data:{fnName:f,id:c.id.name,fixed:h}});return}if(!zh(c)){r.report({node:c.id,messageId:"missingExport",data:{fnName:f,id:c.id.name}});return}if(y.arguments.length>0&&y.arguments[0].type==="Identifier"){r.report({node:y.arguments[0],messageId:"recommendedValue",data:{fnName:f,id:c.id.name,arg:y.arguments[0].name}});return}}}}};function Kh(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 RE=`
163
+ `,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){var p,y;let e=((y=(p=r.options)==null?void 0:p[0])==null?void 0:y.routesDir)??"src/routes",t=Hh(r.filename??r.getFilename()),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(m){if(m.callee.type!=="Identifier")return;let f=m.callee.name;if(!Wh[f])return;if(!u&&yp[f]){r.report({node:m.callee,messageId:"invalidLoaderLocation",data:{routesDir:e,fnName:f,path:t}});return}let c=m.parent;if(c.type!=="VariableDeclarator"){r.report({node:m.callee,messageId:"missingExport",data:{fnName:f,id:"useStuff"}});return}if(c.id.type!=="Identifier"){r.report({node:m.callee,messageId:"missingExport",data:{fnName:f,id:"useStuff"}});return}if(!/^use/.test(c.id.name)){let h="use"+c.id.name[0].toUpperCase()+c.id.name.slice(1);r.report({node:c.id,messageId:"wrongName",data:{fnName:f,id:c.id.name,fixed:h}});return}if(!Xh(c)){r.report({node:c.id,messageId:"missingExport",data:{fnName:f,id:c.id.name}});return}if(m.arguments.length>0&&m.arguments[0].type==="Identifier"){r.report({node:m.arguments[0],messageId:"recommendedValue",data:{fnName:f,id:c.id.name,arg:m.arguments[0].name}});return}}}}};function Hh(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 kE=`
164
164
  import { routeLoader$ } from '@builder.io/qwik-city';
165
165
 
166
166
  export const useProductDetails = routeLoader$(async (requestEvent) => {
167
167
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
168
168
  const product = await res.json();
169
169
  return product as Product;
170
- });`.trim();var jE=`
170
+ });`.trim();var FE=`
171
171
  import { routeLoader$ } from '@builder.io/qwik-city';
172
172
 
173
173
  const useProductDetails = routeLoader$(async (requestEvent) => {
174
174
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
175
175
  const product = await res.json();
176
176
  return product as Product;
177
- });`.trim();var LE=`
177
+ });`.trim();var NE=`
178
178
  import { routeLoader$ } from '@builder.io/qwik-city';
179
179
 
180
180
  export const getProductDetails = routeLoader$(async (requestEvent) => {
181
181
  const res = await fetch(\`https://.../products/\${requestEvent.params.productId}\`);
182
182
  const product = await res.json();
183
183
  return product as Product;
184
- });`.trim();var ME=`
184
+ });`.trim();var RE=`
185
185
  import { routeLoader$ } from '@builder.io/qwik-city';
186
186
 
187
187
  async function fetcher() {
@@ -191,9 +191,9 @@ async function fetcher() {
191
191
  }
192
192
 
193
193
  export const useProductDetails = routeLoader$(fetcher);
194
- `.trim();function zh(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=Qh(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 p=a[u];if(p.type=="ExportSpecifier"&&p.exported.type=="Identifier"&&p.exported.name===t)return!0}}}}}return!1}function Qh(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var Tn=Y(hr());var Yh=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var vp={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 r.sourceCode.getAllComments().some(t=>t.value.includes("@jsxImportSource"))?{}:{JSXOpeningElement(t){for(let{from:n,to:o}of Yh){let i=Tn.default.getProp(t.attributes,n);if(i){let a=Tn.default.hasProp(t.attributes,o,{ignoreCase:!1})?void 0:u=>u.replaceText(i.name,o);r.report({node:i,messageId:"prefer",data:{from:n,to:o},fix:a})}}}}}},BE=`
195
- <MyReactComponent class="foo" for="#password" />;`.trim(),JE=`
196
- <MyReactComponent className="foo" htmlFor="#password" />;`.trim();var On=Y(hr());var hp={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){var n;if(r.sourceCode.getAllComments().some(o=>o.value.includes("@jsxImportSource")))return{};let t=((n=r.options[0])==null?void 0:n.classnames)??["cn","clsx","classnames"];return{JSXAttribute(o){var i,a;if(!(["class","className"].indexOf(On.default.propName(o))===-1||On.default.hasProp((i=o.parent)==null?void 0:i.attributes,"classlist",{ignoreCase:!1}))&&((a=o.value)==null?void 0:a.type)==="JSXExpressionContainer"){let u=o.value.expression;u.type==="CallExpression"&&u.callee.type==="Identifier"&&t.indexOf(u.callee.name)!==-1&&u.arguments.length===1&&u.arguments[0].type==="ObjectExpression"&&r.report({node:o,messageId:"preferClasslist",data:{classnames:u.callee.name},fix:p=>{let m=o.range,y=u.arguments[0].range;return[p.replaceTextRange([m[0],y[0]],"classlist={"),p.replaceTextRange([y[1],m[1]],"}")]}})}}}}},GE=`
194
+ `.trim();function Xh(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=Gh(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 p=a[u];if(p.type=="ExportSpecifier"&&p.exported.type=="Identifier"&&p.exported.name===t)return!0}}}}}return!1}function Gh(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var Tn=me(hr());var Kh=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var vp={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 r.sourceCode.getAllComments().some(t=>t.value.includes("@jsxImportSource"))?{}:{JSXOpeningElement(t){for(let{from:n,to:o}of Kh){let i=Tn.default.getProp(t.attributes,n);if(i){let a=Tn.default.hasProp(t.attributes,o,{ignoreCase:!1})?void 0:u=>u.replaceText(i.name,o);r.report({node:i,messageId:"prefer",data:{from:n,to:o},fix:a})}}}}}},VE=`
195
+ <MyReactComponent class="foo" for="#password" />;`.trim(),DE=`
196
+ <MyReactComponent className="foo" htmlFor="#password" />;`.trim();var On=me(hr());var hp={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){var n;if(r.sourceCode.getAllComments().some(o=>o.value.includes("@jsxImportSource")))return{};let t=((n=r.options[0])==null?void 0:n.classnames)??["cn","clsx","classnames"];return{JSXAttribute(o){var i,a;if(!(["class","className"].indexOf(On.default.propName(o))===-1||On.default.hasProp((i=o.parent)==null?void 0:i.attributes,"classlist",{ignoreCase:!1}))&&((a=o.value)==null?void 0:a.type)==="JSXExpressionContainer"){let u=o.value.expression;u.type==="CallExpression"&&u.callee.type==="Identifier"&&t.indexOf(u.callee.name)!==-1&&u.arguments.length===1&&u.arguments[0].type==="ObjectExpression"&&r.report({node:o,messageId:"preferClasslist",data:{classnames:u.callee.name},fix:p=>{let y=o.range,m=u.arguments[0].range;return[p.replaceTextRange([y[0],m[0]],"classlist={"),p.replaceTextRange([m[1],y[1]],"}")]}})}}}}},WE=`
197
197
  import { component$ } from '@builder.io/qwik';
198
198
  import styles from './MyComponent.module.css';
199
199
 
@@ -211,7 +211,7 @@ export default component$((props) => {
211
211
  'text-green-500': props.isHighAttention,
212
212
  'p-4': true
213
213
  }}>Hello world</div>;
214
- });`.trim(),KE=`
214
+ });`.trim(),HE=`
215
215
  import { component$ } from '@builder.io/qwik';
216
216
  import classnames from 'classnames';
217
217
  import styles from './MyComponent.module.css';
@@ -229,7 +229,7 @@ export default component$((props) => {
229
229
  });`.trim();var bp={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:
230
230
 
231
231
  {{ 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$(...);
232
- await serverFn(...);`}})}}}}},ZE=`
232
+ await serverFn(...);`}})}}}}},zE=`
233
233
  import { component$ } from '@builder.io/qwik';
234
234
  import { server$ } from '@builder.io/qwik-city';
235
235
 
@@ -248,7 +248,7 @@ export default component$(() => (
248
248
  greet
249
249
  </button>
250
250
  );
251
- );`.trim(),ew=`
251
+ );`.trim(),QE=`
252
252
  import { component$ } from '@builder.io/qwik';
253
253
  import { server$ } from '@builder.io/qwik-city';
254
254
 
@@ -267,35 +267,35 @@ export default component$(() => (
267
267
  greet
268
268
  </button>
269
269
  );
270
- );`.trim();var xp={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(r.sourceCode??r.getSourceCode()).getAllComments().some(n=>n.value.includes("@jsxImportSource"))?{}:{"CallExpression[callee.name=/^use[A-Z]/]"(n){var i,a;let o=n;for(;o=o.parent;)switch(o.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(o.parent.type==="VariableDeclarator"&&((i=o.parent.id)==null?void 0:i.type)==="Identifier"&&o.parent.id.name.startsWith("use")||o.parent.type==="CallExpression"&&o.parent.callee.type==="Identifier"&&o.parent.callee.name==="component$")return;r.report({node:n,messageId:"useWrongFunction"});return;case"FunctionDeclaration":(a=o.id)!=null&&a.name.startsWith("use")||r.report({node:n,messageId:"useWrongFunction"});return;default:r.report({node:n,messageId:"useWrongFunction"});return}}}}},tw=`
270
+ );`.trim();var xp={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(r.sourceCode??r.getSourceCode()).getAllComments().some(n=>n.value.includes("@jsxImportSource"))?{}:{"CallExpression[callee.name=/^use[A-Z]/]"(n){var i,a;let o=n;for(;o=o.parent;)switch(o.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(o.parent.type==="VariableDeclarator"&&((i=o.parent.id)==null?void 0:i.type)==="Identifier"&&o.parent.id.name.startsWith("use")||o.parent.type==="CallExpression"&&o.parent.callee.type==="Identifier"&&o.parent.callee.name==="component$")return;r.report({node:n,messageId:"useWrongFunction"});return;case"FunctionDeclaration":(a=o.id)!=null&&a.name.startsWith("use")||r.report({node:n,messageId:"useWrongFunction"});return;default:r.report({node:n,messageId:"useWrongFunction"});return}}}}},ZE=`
271
271
  export const Counter = component$(() => {
272
272
  const count = useSignal(0);
273
273
  });
274
- `.trim(),nw=`
274
+ `.trim(),ew=`
275
275
  export const useCounter = () => {
276
276
  const count = useSignal(0);
277
277
  return count;
278
278
  };
279
- `.trim(),ow=`
279
+ `.trim(),rw=`
280
280
  export const Counter = (() => {
281
281
  const count = useSignal(0);
282
282
  });
283
- `.trim();var xr=Y(require("@typescript-eslint/utils/eslint-utils")),X=Y(require("typescript"));var wp=Y(Ep(),1);function $n(r){let e=(0,wp.default)(r);if(e===0)return r;let t=new RegExp(`^[ \\t]{${e}}`,"gm");return r.replace(t,"")}function _n(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 Cn(r,e=0,t={}){return _n($n(r),e,t)}var Zh=xr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),qp=Zh({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}}.
283
+ `.trim();var xr=me(require("@typescript-eslint/utils/eslint-utils")),X=me(require("typescript"));function $n(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 _n(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 In(r,e=0,t={}){return _n($n(r),e,t)}var zh=xr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Sp=zh({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}}.
284
284
  Check out https://qwik.dev/docs/advanced/dollar/ for more details.`,invalidJsxDollar:`Using "{{varName}}" as an event handler, however functions are not serializable.
285
285
  Did you mean to wrap it in \`$()\`?
286
286
 
287
287
  {{solution}}
288
288
  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.
289
- Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){var y;let t={allowAny:((y=r.options[0])==null?void 0:y.allowAny)??!0},n=r.sourceCode.scopeManager,o=xr.getParserServices(r),i=o.esTreeNodeToTSNodeMap,a=o.program.getTypeChecker(),u=new Map,p=[];function m(f){f.references.forEach(c=>{var l,d;let h=c.resolved,S=(l=c.resolved)==null?void 0:l.scope;if(h&&S){let E=(d=h.defs.at(0))==null?void 0:d.type;if(E==="Type"||E==="ImportBinding"||ab(h,r))return;let g=c.from,w;for(;g&&(w=u.get(g),!w);)g=g.upper;if(g&&w){let C=S.type;if(C==="global"||C==="module")return;let $=c.identifier,Le=i.get($),N=S;for(;N&&!u.has(N);)N=N.upper;if(N!==g){$.parent&&$.parent.type==="AssignmentExpression"&&$.parent.left===$&&r.report({messageId:"mutableIdentifier",node:c.identifier,data:{varName:c.identifier.name,dollarName:w}});let ye=eb(r,a,Le,c.identifier,t);ye&&r.report({messageId:"referencesOutside",node:c.identifier,data:{varName:c.identifier.name,dollarName:w,reason:rb(ye)}})}}}}),f.childScopes.forEach(m)}return{CallExpression(f){if(f.callee.type==="Identifier"&&f.callee.name.endsWith("$")){let c=f.arguments.at(0);if(c&&c.type==="ArrowFunctionExpression"){let h=n.acquire(c);h&&u.set(h,f.callee.name)}}},JSXAttribute(f){var S;let c=f.name,h=c.type==="JSXIdentifier"?c.name:c.name.name;if(h.endsWith("$")){let l=f.value;if(l&&l.type==="JSXExpressionContainer"){let d=n.acquire(l.expression);if(d)u.set(d,h);else if(l.expression.type==="Identifier"){let E=i.get(l.expression),g=a.getTypeAtLocation(E).getNonNullableType();if(!Pp(g))if(g.isUnionOrIntersection())g.types.every(w=>w.symbol?w.symbol.name==="Component"||w.symbol.name==="PropFnInterface":!1)||r.report({messageId:"invalidJsxDollar",node:l.expression,data:{varName:l.expression.name,solution:`Fix the type of ${l.expression.name} to be QRL`}});else{if(((S=g.symbol)==null?void 0:S.name)==="PropFnInterface")return;r.report({messageId:"invalidJsxDollar",node:l.expression,data:{varName:l.expression.name,solution:`const ${l.expression.name} = $(
290
- ${Ap(g.symbol,r.sourceCode.text)}
289
+ Check out https://qwik.dev/docs/advanced/dollar/ for more details.`}},create(r){var m;let t={allowAny:((m=r.options[0])==null?void 0:m.allowAny)??!0},n=r.sourceCode.scopeManager,o=xr.getParserServices(r),i=o.esTreeNodeToTSNodeMap,a=o.program.getTypeChecker(),u=new Map,p=[];function y(f){f.references.forEach(c=>{var l,d;let h=c.resolved,S=(l=c.resolved)==null?void 0:l.scope;if(h&&S){let E=(d=h.defs.at(0))==null?void 0:d.type;if(E==="Type"||E==="ImportBinding"||nb(h,r))return;let g=c.from,w;for(;g&&(w=u.get(g),!w);)g=g.upper;if(g&&w){let I=S.type;if(I==="global"||I==="module")return;let $=c.identifier,Le=i.get($),N=S;for(;N&&!u.has(N);)N=N.upper;if(N!==g){$.parent&&$.parent.type==="AssignmentExpression"&&$.parent.left===$&&r.report({messageId:"mutableIdentifier",node:c.identifier,data:{varName:c.identifier.name,dollarName:w}});let de=Qh(r,a,Le,c.identifier,t);de&&r.report({messageId:"referencesOutside",node:c.identifier,data:{varName:c.identifier.name,dollarName:w,reason:Yh(de)}})}}}}),f.childScopes.forEach(y)}return{CallExpression(f){if(f.callee.type==="Identifier"&&f.callee.name.endsWith("$")){let c=f.arguments.at(0);if(c&&c.type==="ArrowFunctionExpression"){let h=n.acquire(c);h&&u.set(h,f.callee.name)}}},JSXAttribute(f){var S;let c=f.name,h=c.type==="JSXIdentifier"?c.name:c.name.name;if(h.endsWith("$")){let l=f.value;if(l&&l.type==="JSXExpressionContainer"){let d=n.acquire(l.expression);if(d)u.set(d,h);else if(l.expression.type==="Identifier"){let E=i.get(l.expression),g=a.getTypeAtLocation(E).getNonNullableType();if(!Ep(g))if(g.isUnionOrIntersection())g.types.every(w=>w.symbol?w.symbol.name==="Component"||w.symbol.name==="PropFnInterface":!1)||r.report({messageId:"invalidJsxDollar",node:l.expression,data:{varName:l.expression.name,solution:`Fix the type of ${l.expression.name} to be QRL`}});else{if(((S=g.symbol)==null?void 0:S.name)==="PropFnInterface")return;r.report({messageId:"invalidJsxDollar",node:l.expression,data:{varName:l.expression.name,solution:`const ${l.expression.name} = $(
290
+ ${wp(g.symbol,r.sourceCode.text)}
291
291
  );
292
- `}})}}}}},Program(f){let c=i.get(f),h=a.getSymbolAtLocation(c);h&&(p=a.getExportsOfModule(h))},"Program:exit"(){m(n.globalScope)}}}});function eb(r,e,t,n,o){let i=e.getTypeAtLocation(t);return tb(r,e,i,t,n,o,new Set)}function rb(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function tb(r,e,t,n,o,i,a){let u=je(r,e,t,n,i,0,a);if(u){let p=u.location;return p&&(u.location=`${o.name}.${p}`),u}return u}function je(r,e,t,n,o,i,a){var h;if(a.has(t)||(a.add(t),t.getProperty("__no_serialize__")||t.getProperty("__qwik_serializable__")))return;if(t.flags&X.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 p=t.flags&X.default.TypeFlags.Any;if(!o.allowAny&&p)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&X.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&X.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if(Pp(t)||((h=t.symbol)==null?void 0:h.name)==="JSXNode")return;if(t.getCallSignatures().length>0){let S=t.symbol.name;if(S==="PropFnInterface"||S==="RefFnInterface"||S==="bivarianceHack"||S==="FunctionComponent")return;let l="is a function, which is not serializable";if(i===0&&X.default.isIdentifier(n)){let d=`const ${n.text} = $(
293
- ${Ap(t.symbol,r.sourceCode.text)}
292
+ `}})}}}}},Program(f){let c=i.get(f),h=a.getSymbolAtLocation(c);h&&(p=a.getExportsOfModule(h))},"Program:exit"(){y(n.globalScope)}}}});function Qh(r,e,t,n,o){let i=e.getTypeAtLocation(t);return Zh(r,e,i,t,n,o,new Set)}function Yh(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function Zh(r,e,t,n,o,i,a){let u=je(r,e,t,n,i,0,a);if(u){let p=u.location;return p&&(u.location=`${o.name}.${p}`),u}return u}function je(r,e,t,n,o,i,a){var h;if(a.has(t)||(a.add(t),t.getProperty("__no_serialize__")||t.getProperty("__qwik_serializable__")))return;if(t.flags&X.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 p=t.flags&X.default.TypeFlags.Any;if(!o.allowAny&&p)return{type:t,typeStr:e.typeToString(t),reason:"is any, which is not serializable"};if(t.flags&X.default.TypeFlags.ESSymbolLike)return{type:t,typeStr:e.typeToString(t),reason:"is Symbol, which is not serializable"};if(t.flags&X.default.TypeFlags.Enum)return{type:t,typeStr:e.typeToString(t),reason:"is an enum, use an string or a number instead"};if(Ep(t)||((h=t.symbol)==null?void 0:h.name)==="JSXNode")return;if(t.getCallSignatures().length>0){let S=t.symbol.name;if(S==="PropFnInterface"||S==="RefFnInterface"||S==="bivarianceHack"||S==="FunctionComponent")return;let l="is a function, which is not serializable";if(i===0&&X.default.isIdentifier(n)){let d=`const ${n.text} = $(
293
+ ${wp(t.symbol,r.sourceCode.text)}
294
294
  );`;l+=`.
295
295
  Did you mean to wrap it in \`$()\`?
296
296
 
297
297
  ${d}
298
- `}return{type:t,typeStr:e.typeToString(t),reason:l}}if(t.isUnion()){for(let S of t.types){let l=je(r,e,S,n,o,i+1,a);if(l)return l}return}if((t.flags&X.default.TypeFlags.Object)!==0){let S=ob(t,e);if(S)return je(r,e,S,n,o,i+1,a);let l=ib(t,e);if(l){for(let g of l){let w=je(r,e,g,n,o,i+1,a);if(w)return w}return}let d=t.symbol.name;if(t.getProperty("nextElementSibling")||t.getProperty("activeElement")||d in ub)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 E=t.getProperty("prototype");if(E){let g=e.getTypeOfSymbolAtLocation(E,n);if(g.isClass())return{type:g,typeStr:e.typeToString(g),reason:"is a class constructor, which is not serializable"}}if(!d.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`};for(let g of t.getProperties()){let w=nb(r,e,g,n,o,i+1,a);if(w){let C=w.location;return w.location=`${g.name}${C?`.${C}`:""}`,w}}}}function nb(r,e,t,n,o,i,a){let u=e.getTypeOfSymbolAtLocation(t,n);return je(r,e,u,n,o,i,a)}function ob(r,e){return e.getElementTypeOfArrayType(r)}function ib(r,e){return e.isTupleType(r)?e.getTypeArguments(r):void 0}function Pp(r){return!!(r.flags&X.default.TypeFlags.Any)||!!r.getNonNullableType().getProperty("__brand__QRL__")}function Ap(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 Cn(n,2)}return""}function ab(r,e){let t=r.defs[0];if(!t||t.type!=="Variable")return!1;let n=t.node.init;if((n==null?void 0: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==null?void 0:a.resolved)&&sb(a.resolved,e)}return!1}function sb(r){return r.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return t.startsWith("@builder.io/qwik")||t.startsWith("@builder.io/qwik-city")})}var ub={Promise:!0,URL:!0,RegExp:!0,Date:!0,FormData:!0,URLSearchParams:!0,Error:!0,Set:!0,Map:!0,Uint8Array:!0},mw=`
298
+ `}return{type:t,typeStr:e.typeToString(t),reason:l}}if(t.isUnion()){for(let S of t.types){let l=je(r,e,S,n,o,i+1,a);if(l)return l}return}if((t.flags&X.default.TypeFlags.Object)!==0){let S=rb(t,e);if(S)return je(r,e,S,n,o,i+1,a);let l=tb(t,e);if(l){for(let g of l){let w=je(r,e,g,n,o,i+1,a);if(w)return w}return}let d=t.symbol.name;if(t.getProperty("nextElementSibling")||t.getProperty("activeElement")||d in ib)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 E=t.getProperty("prototype");if(E){let g=e.getTypeOfSymbolAtLocation(E,n);if(g.isClass())return{type:g,typeStr:e.typeToString(g),reason:"is a class constructor, which is not serializable"}}if(!d.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`};for(let g of t.getProperties()){let w=eb(r,e,g,n,o,i+1,a);if(w){let I=w.location;return w.location=`${g.name}${I?`.${I}`:""}`,w}}}}function eb(r,e,t,n,o,i,a){let u=e.getTypeOfSymbolAtLocation(t,n);return je(r,e,u,n,o,i,a)}function rb(r,e){return e.getElementTypeOfArrayType(r)}function tb(r,e){return e.isTupleType(r)?e.getTypeArguments(r):void 0}function Ep(r){return!!(r.flags&X.default.TypeFlags.Any)||!!r.getNonNullableType().getProperty("__brand__QRL__")}function wp(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 In(n,2)}return""}function nb(r,e){let t=r.defs[0];if(!t||t.type!=="Variable")return!1;let n=t.node.init;if((n==null?void 0: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==null?void 0:a.resolved)&&ob(a.resolved,e)}return!1}function ob(r){return r.defs.some(e=>{if(e.type!=="ImportBinding")return!1;let t=e.parent.source.value;return t.startsWith("@builder.io/qwik")||t.startsWith("@builder.io/qwik-city")})}var ib={Promise:!0,URL:!0,RegExp:!0,Date:!0,FormData:!0,URLSearchParams:!0,Error:!0,Set:!0,Map:!0,Uint8Array:!0},cw=`
299
299
  import { component$, useTask$, $ } from '@builder.io/qwik';
300
300
 
301
301
  export const HelloWorld = component$(() => {
@@ -308,7 +308,7 @@ export const HelloWorld = component$(() => {
308
308
  });
309
309
 
310
310
  return <h1>Hello</h1>;
311
- });`.trim(),gw=`
311
+ });`.trim(),fw=`
312
312
  import { component$, useTask$ } from '@builder.io/qwik';
313
313
 
314
314
  export const HelloWorld = component$(() => {
@@ -321,7 +321,7 @@ export const HelloWorld = component$(() => {
321
321
  });
322
322
 
323
323
  return <h1>Hello</h1>;
324
- });`.trim(),vw=`
324
+ });`.trim(),dw=`
325
325
  import { component$, $ } from '@builder.io/qwik';
326
326
 
327
327
  export const HelloWorld = component$(() => {
@@ -329,7 +329,7 @@ export const HelloWorld = component$(() => {
329
329
  return (
330
330
  <button onClick$={click}>log it</button>
331
331
  );
332
- });`.trim(),hw=`
332
+ });`.trim(),mw=`
333
333
  import { component$ } from '@builder.io/qwik';
334
334
 
335
335
  export const HelloWorld = component$(() => {
@@ -337,7 +337,7 @@ export const HelloWorld = component$(() => {
337
337
  return (
338
338
  <button onClick$={click}>log it</button>
339
339
  );
340
- });`.trim(),bw=`
340
+ });`.trim(),yw=`
341
341
  import { component$ } from '@builder.io/qwik';
342
342
 
343
343
  export const HelloWorld = component$(() => {
@@ -350,7 +350,7 @@ export const HelloWorld = component$(() => {
350
350
  {person.name}
351
351
  </button>
352
352
  );
353
- });`.trim(),xw=`
353
+ });`.trim(),gw=`
354
354
  import { component$ } from '@builder.io/qwik';
355
355
 
356
356
  export const HelloWorld = component$(() => {
@@ -363,15 +363,15 @@ export const HelloWorld = component$(() => {
363
363
  {personName}
364
364
  </button>
365
365
  );
366
- });`.trim();var lb=Tp.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Op=lb({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:
366
+ });`.trim();var ab=qp.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Pp=ab({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:
367
367
 
368
368
  import {{importName}} from '{{importSrc}}';
369
369
  <{{importName}} />
370
370
 
371
371
  See https://qwik.dev/docs/integrations/image-optimization/#responsive-images`,noWidthHeight:`Missing "width" or "height" attribute.
372
- 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=e.openingElement.attributes.find(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="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 p=`~/media${a.value}?jsx`,m=pb(a.value);r.report({node:n,messageId:"noLocalSrc",data:{importSrc:p,importName:m}});return}}let o=e.openingElement.attributes.some(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="width"),i=e.openingElement.attributes.some(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="height");(!o||!i)&&r.report({node:e,messageId:"noWidthHeight"})}}}}}),Jw=`
372
+ 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=e.openingElement.attributes.find(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="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 p=`~/media${a.value}?jsx`,y=sb(a.value);r.report({node:n,messageId:"noLocalSrc",data:{importSrc:p,importName:y}});return}}let o=e.openingElement.attributes.some(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="width"),i=e.openingElement.attributes.some(a=>a.type==="JSXAttribute"&&a.name.type==="JSXIdentifier"&&a.name.name==="height");(!o||!i)&&r.report({node:e,messageId:"noWidthHeight"})}}}}}),Vw=`
373
373
  import Image from '~/media/image.png';
374
- <Image />`.trim(),Ww=`
375
- <img src="/image.png">`.trim(),Hw=`
376
- <img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),Xw=`
377
- <img src="/static/images/portrait-01.webp">`.trim();function pb(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${cb(r)}`}function cb(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 $p={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 kn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"1.16.0",author:"Builder Team",bugs:"https://github.com/QwikDev/qwik/issues",dependencies:{"@typescript-eslint/utils":"^8.38.0","jsx-ast-utils":"^3.3.5"},devDependencies:{"@builder.io/qwik":"workspace:^","@builder.io/qwik-city":"workspace:^","@types/estree":"1.0.8","@typescript-eslint/rule-tester":"8.38.0",redent:"4.0.0"},engines:{node:">=16.8.0 <18.0.0 || >=18.11"},files:["README.md","dist"],homepage:"https://github.com/QwikDev/qwik#readme",keywords:["builder.io","eslint","qwik"],license:"MIT",main:"dist/index.js",peerDependencies:{eslint:"^8.57.0 || ^9.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 _p={"valid-lexical-scope":qp,"use-method-usage":xp,"no-react-props":vp,"loader-location":gp,"prefer-classlist":hp,"jsx-no-script-url":yp,"jsx-key":fp,"unused-server":bp,"jsx-img":Op,"jsx-a":Ln,"no-use-visible-task":$p},Cp={"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"},kp={"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"},db={recommended:{plugins:["qwik"],rules:Cp},strict:{plugins:["qwik"],rules:kp}},In={configs:{get recommended(){return yb},get strict(){return mb}},meta:{name:kn.name,version:kn.version},rules:_p},yb=[{plugins:{qwik:In},rules:Cp}],mb=[{plugins:{qwik:In},rules:kp}];0&&(module.exports={configs,qwikEslint9Plugin,rules});
374
+ <Image />`.trim(),Dw=`
375
+ <img src="/image.png">`.trim(),Uw=`
376
+ <img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),Bw=`
377
+ <img src="/static/images/portrait-01.webp">`.trim();function sb(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${ub(r)}`}function ub(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 Ap={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 Cn={name:"eslint-plugin-qwik",description:"An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",version:"1.17.0",author:"Builder Team",bugs:"https://github.com/QwikDev/qwik/issues",dependencies:{"@typescript-eslint/utils":"^8.38.0","jsx-ast-utils":"^3.3.5"},devDependencies:{"@builder.io/qwik":"workspace:^","@builder.io/qwik-city":"workspace:^","@types/estree":"1.0.8","@typescript-eslint/rule-tester":"8.38.0",redent:"4.0.0"},engines:{node:">=16.8.0 <18.0.0 || >=18.11"},files:["README.md","dist"],homepage:"https://github.com/QwikDev/qwik#readme",keywords:["builder.io","eslint","qwik"],license:"MIT",main:"dist/index.js",peerDependencies:{eslint:"^8.57.0 || ^9.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 Tp={"valid-lexical-scope":Sp,"use-method-usage":xp,"no-react-props":vp,"loader-location":gp,"prefer-classlist":hp,"jsx-no-script-url":mp,"jsx-key":fp,"unused-server":bp,"jsx-img":Pp,"jsx-a":Ln,"no-use-visible-task":Ap},Op={"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"},$p={"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"},pb={recommended:{plugins:["qwik"],rules:Op},strict:{plugins:["qwik"],rules:$p}},kn={configs:{get recommended(){return cb},get strict(){return fb}},meta:{name:Cn.name,version:Cn.version},rules:Tp},cb=[{plugins:{qwik:kn},rules:Op}],fb=[{plugins:{qwik:kn},rules:$p}];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": "1.16.0",
4
+ "version": "1.17.0",
5
5
  "author": "Builder 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.38.0",
14
14
  "redent": "4.0.0",
15
- "@builder.io/qwik": "^1.16.0",
16
- "@builder.io/qwik-city": "^1.16.0"
15
+ "@builder.io/qwik": "^1.17.0",
16
+ "@builder.io/qwik-city": "^1.17.0"
17
17
  },
18
18
  "engines": {
19
19
  "node": ">=16.8.0 <18.0.0 || >=18.11"