eslint-plugin-qwik 2.0.0-alpha.6 → 2.0.0-alpha.7

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