eslint-plugin-qwik 1.5.1 → 1.5.2-dev20240424223939
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +16 -16
- package/package.json +8 -7
package/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";var $l=Object.create;var ke=Object.defineProperty;var Il=Object.getOwnPropertyDescriptor;var _l=Object.getOwnPropertyNames;var Cl=Object.getPrototypeOf,kl=Object.prototype.hasOwnProperty;var s=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Fl=(r,e)=>{for(var t in e)ke(r,t,{get:e[t],enumerable:!0})},Tn=(r,e,t,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of _l(e))!kl.call(r,o)&&o!==t&&ke(r,o,{get:()=>e[o],enumerable:!(n=Il(e,o))||n.enumerable});return r};var Y=(r,e,t)=>(t=r!=null?$l(Cl(r)):{},Tn(e||!r||!r.__esModule?ke(t,"default",{value:r,enumerable:!0}):t,r)),Nl=r=>Tn(ke({},"__esModule",{value:!0}),r);var Fe=s(yr=>{"use strict";Object.defineProperty(yr,"__esModule",{value:!0});yr.default=Ll;function Ll(){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=Vl;fe.hasEveryProp=Ul;var Rl=Fe(),On=Ml(Rl);function Ml(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 Vl(){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 Ul(){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=Dl;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 Dl(){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((Uv,kn)=>{"use strict";var Cn=Object.prototype.toString;kn.exports=function(e){var t=Cn.call(e),n=t==="[object Arguments]";return n||(n=t!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Cn.call(e.callee)==="[object Function]"),n}});var Dn=s((Dv,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},Ln={$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(!Ln["$"+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"||!Rn)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 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(Nn)for(var d=Mn(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,Fn,Sr,Nn,jn,me,Ne,Ln,Rn,Mn;Un.exports=Vn});var Er=s((Jv,Wn)=>{"use strict";var Jl=Array.prototype.slice,Bl=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 Bl(n)?Bn(Jl.call(n)):Bn(n)})}else Object.keys=je;return Object.keys||je};Wn.exports=je});var Xn=s((Bv,Gn)=>{"use strict";Gn.exports=Error});var Kn=s((Wv,Hn)=>{"use strict";Hn.exports=EvalError});var wr=s((Gv,zn)=>{"use strict";zn.exports=RangeError});var Yn=s((Xv,Qn)=>{"use strict";Qn.exports=ReferenceError});var ye=s((Hv,Zn)=>{"use strict";Zn.exports=SyntaxError});var S=s((Kv,eo)=>{"use strict";eo.exports=TypeError});var to=s((zv,ro)=>{"use strict";ro.exports=URIError});var Le=s((Qv,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((Yv,io)=>{"use strict";var oo=typeof Symbol<"u"&&Symbol,Wl=Le();io.exports=function(){return typeof oo!="function"||typeof Symbol!="function"||typeof oo("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Wl()}});var Ar=s((Zv,ao)=>{"use strict";var Tr={__proto__:null,foo:{}},Gl=Object;ao.exports=function(){return{__proto__:Tr}.foo===Tr.foo&&!(Tr instanceof Gl)}});var lo=s((eh,uo)=>{"use strict";var Xl="Function.prototype.bind called on incompatible ",Hl=Object.prototype.toString,Kl=Math.max,zl="[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},Ql=function(e,t){for(var n=[],o=t||0,i=0;o<e.length;o+=1,i+=1)n[i]=e[o];return n},Yl=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"||Hl.apply(t)!==zl)throw new TypeError(Xl+t);for(var n=Ql(arguments,1),o,i=function(){if(this instanceof o){var y=t.apply(this,so(n,arguments));return Object(y)===y?y:this}return t.apply(e,so(n,arguments))},a=Kl(0,t.length-n.length),u=[],l=0;l<a;l++)u[l]="$"+l;if(o=Function("binder","return function ("+Yl(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 Re=s((rh,po)=>{"use strict";var Zl=lo();po.exports=Function.prototype.bind||Zl});var X=s((th,co)=>{"use strict";var ep=Function.prototype.call,rp=Object.prototype.hasOwnProperty,tp=Re();co.exports=tp.call(ep,rp)});var P=s((nh,vo)=>{"use strict";var v,np=Xn(),op=Kn(),ip=wr(),ap=Yn(),te=ye(),re=S(),sp=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},up=H?function(){try{return arguments.callee,Or}catch{try{return H(arguments,"callee").get}catch{return Or}}}():Or,Z=qr()(),lp=Ar()(),T=Object.getPrototypeOf||(lp?function(r){return r.__proto__}:null),ee={},pp=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%":np,"%eval%":eval,"%EvalError%":op,"%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%":ip,"%ReferenceError%":ap,"%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%":up,"%TypedArray%":pp,"%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%":sp,"%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,cp=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=Re(),Me=X(),fp=ge.call(Function.call,Array.prototype.concat),dp=ge.call(Function.apply,Array.prototype.splice),yo=ge.call(Function.call,String.prototype.replace),Ve=ge.call(Function.call,String.prototype.slice),mp=ge.call(Function.call,RegExp.prototype.exec),yp=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,gp=/\\(\\)?/g,vp=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,yp,function(i,a,u,l){o[o.length]=u?yo(l,gp,"$1"):a||i}),o},hp=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=cp(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(mp(/^%?[^%]*%?$/,e)===null)throw new te("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=vp(e),o=n.length>0?n[0]:"",i=hp("%"+o+"%",t),a=i.name,u=i.value,l=!1,m=i.alias;m&&(o=m[0],dp(n,fp([0,1],m)));for(var y=1,d=!0;y<n.length;y+=1){var p=n[y],g=Ve(p,0,1),c=Ve(p,-1);if((g==='"'||g==="'"||g==="`"||c==='"'||c==="'"||c==="`")&&g!==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((oh,ho)=>{"use strict";var bp=P(),Ue=bp("%Object.defineProperty%",!0)||!1;if(Ue)try{Ue({},"a",{value:1})}catch{Ue=!1}ho.exports=Ue});var Je=s((ih,bo)=>{"use strict";var xp=P(),De=xp("%Object.getOwnPropertyDescriptor%",!0);if(De)try{De([],"length")}catch{De=null}bo.exports=De});var $r=s((ah,Eo)=>{"use strict";var xo=ve(),Sp=ye(),ne=S(),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 Sp("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")}});var Be=s((sh,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 j=s((uh,Oo)=>{"use strict";var Ep=Er(),wp=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",qp=Object.prototype.toString,Tp=Array.prototype.concat,To=$r(),Ap=function(r){return typeof r=="function"&&qp.call(r)==="[object Function]"},Ao=Be()(),Pp=function(r,e,t,n){if(e in r){if(n===!0){if(r[e]===t)return}else if(!Ap(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=Ep(e);wp&&(n=Tp.call(n,Object.getOwnPropertySymbols(e)));for(var o=0;o<n.length;o+=1)Pp(r,n[o],e[n[o]],t[n[o]])};Po.supportsDescriptors=!!Ao;Oo.exports=Po});var ko=s((lh,Co)=>{"use strict";var Op=P(),$o=$r(),$p=Be()(),Io=Je(),_o=S(),Ip=Op("%Math.floor%");Co.exports=function(e,t){if(typeof e!="function")throw new _o("`fn` is not a function");if(typeof t!="number"||t<0||t>4294967295||Ip(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)&&($p?$o(e,"length",t,!0,!0):$o(e,"length",t)),e}});var oe=s((ph,We)=>{"use strict";var _r=Re(),Ge=P(),_p=ko(),Cp=S(),jo=Ge("%Function.prototype.apply%"),Lo=Ge("%Function.prototype.call%"),Ro=Ge("%Reflect.apply%",!0)||_r.call(Lo,jo),Fo=ve(),kp=Ge("%Math.max%");We.exports=function(e){if(typeof e!="function")throw new Cp("a function is required");var t=Ro(_r,Lo,arguments);return _p(t,1+kp(0,e.length-(arguments.length-1)),!0)};var No=function(){return Ro(_r,jo,arguments)};Fo?Fo(We.exports,"apply",{value:No}):We.exports.apply=No});var he=s((ch,Mo)=>{"use strict";Mo.exports=Number.isNaN||function(e){return e!==e}});var Cr=s((fh,Vo)=>{"use strict";var Fp=he();Vo.exports=function(r){return(typeof r=="number"||typeof r=="bigint")&&!Fp(r)&&r!==1/0&&r!==-1/0}});var kr=s((dh,Do)=>{"use strict";var Uo=P(),Np=Uo("%Math.abs%"),jp=Uo("%Math.floor%"),Lp=he(),Rp=Cr();Do.exports=function(e){if(typeof e!="number"||Lp(e)||!Rp(e))return!1;var t=Np(e);return jp(t)===t}});var Xo=s((mh,Go)=>{"use strict";var Wo=P(),Jo=Wo("%Array.prototype%"),Mp=wr(),Vp=ye(),Up=S(),Dp=kr(),Jp=Math.pow(2,32)-1,Bp=Ar()(),Bo=Wo("%Object.setPrototypeOf%",!0)||(Bp?function(r,e){return r.__proto__=e,r}:null);Go.exports=function(e){if(!Dp(e)||e<0)throw new Up("Assertion failed: `length` must be an integer Number >= 0");if(e>Jp)throw new Mp("length is greater than (2**32 - 1)");var t=arguments.length>1?arguments[1]:Jo,n=[];if(t!==Jo){if(!Bo)throw new Vp("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((yh,Ho)=>{Ho.exports=require("util").inspect});var yi=s((gh,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,Wp=typeof WeakMap=="function"&&WeakMap.prototype,xe=Wp?WeakMap.prototype.has:null,Gp=typeof WeakSet=="function"&&WeakSet.prototype,Se=Gp?WeakSet.prototype.has:null,Xp=typeof WeakRef=="function"&&WeakRef.prototype,Yo=Xp?WeakRef.prototype.deref:null,Hp=Boolean.prototype.valueOf,Kp=Object.prototype.toString,zp=Function.prototype.toString,Qp=String.prototype.match,Wr=String.prototype.slice,V=String.prototype.replace,Yp=String.prototype.toUpperCase,Zo=String.prototype.toLowerCase,ui=RegExp.prototype.test,ei=Array.prototype.concat,I=Array.prototype.join,Zp=Array.prototype.slice,ri=Math.floor,Rr=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 m=String(e)+"n";return u?ni(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=vc(i,n);if(typeof o>"u")o=[];else if(fi(o,e)>=0)return"[Circular]";function p(Q,Ce,Ol){if(Ce&&(o=Zp.call(o),o.push(Ce)),Ol){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 g=uc(e),c=Xe(e,p);return"[Function"+(g?": "+g:" (anonymous)")+"]"+(c.length>0?" { "+I.call(c,", ")+" }":"")}if(ci(e)){var f=ie?V.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Mr.call(e);return typeof e=="object"&&!ie?be(f):f}if(mc(e)){for(var b="<"+Zo.call(String(e.nodeName)),h=e.attributes||[],x=0;x<h.length;x++)b+=" "+h[x].name+"="+pi(ec(h[x].value),"double",i);return b+=">",e.childNodes&&e.childNodes.length&&(b+="..."),b+="</"+Zo.call(String(e.nodeName))+">",b}if(Ur(e)){if(e.length===0)return"[]";var q=Xe(e,p);return d&&!gc(q)?"["+Dr(q,d)+"]":"[ "+I.call(q,", ")+" ]"}if(tc(e)){var F=Xe(e,p);return!("cause"in Error.prototype)&&"cause"in e&&!li.call(e,"cause")?"{ ["+String(e)+"] "+I.call(ei.call("[cause]: "+p(e.cause),F),", ")+" }":F.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+I.call(F,", ")+" }"}if(typeof e=="object"&&a){if(ii&&typeof e[ii]=="function"&&Vr)return Vr(e,{depth:y-n});if(a!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(lc(e)){var R=[];return zo&&zo.call(e,function(Q,Ce){R.push(p(Ce,e,!0)+" => "+p(Q,e))}),si("Map",He.call(e),R,d)}if(fc(e)){var _e=[];return Qo&&Qo.call(e,function(Q){_e.push(p(Q,e))}),si("Set",Ke.call(e),_e,d)}if(pc(e))return Lr("WeakMap");if(dc(e))return Lr("WeakSet");if(cc(e))return Lr("WeakRef");if(oc(e))return be(p(Number(e)));if(ac(e))return be(p(Rr.call(e)));if(ic(e))return be(Hp.call(e));if(nc(e))return be(p(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===global)return"{ [object globalThis] }";if(!rc(e)&&!ai(e)){var N=Xe(e,p),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":"",Pl=ce||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",mr=Pl+(wn||dr?"["+I.call(ei.call([],wn||[],dr||[]),": ")+"] ":"");return N.length===0?mr+"{}":d?mr+"{"+Dr(N,d)+"}":mr+"{ "+I.call(N,", ")+" }"}return String(e)};function pi(r,e,t){var n=(t.quoteStyle||e)==="double"?'"':"'";return n+r+n}function ec(r){return V.call(String(r),/"/g,""")}function Ur(r){return U(r)==="[object Array]"&&(!O||!(typeof r=="object"&&O in r))}function rc(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 tc(r){return U(r)==="[object Error]"&&(!O||!(typeof r=="object"&&O in r))}function nc(r){return U(r)==="[object String]"&&(!O||!(typeof r=="object"&&O in r))}function oc(r){return U(r)==="[object Number]"&&(!O||!(typeof r=="object"&&O in r))}function ic(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 ac(r){if(!r||typeof r!="object"||!Rr)return!1;try{return Rr.call(r),!0}catch{}return!1}var sc=Object.prototype.hasOwnProperty||function(r){return r in this};function M(r,e){return sc.call(r,e)}function U(r){return Kp.call(r)}function uc(r){if(r.name)return r.name;var e=Qp.call(zp.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 lc(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 pc(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 cc(r){if(!Yo||!r||typeof r!="object")return!1;try{return Yo.call(r),!0}catch{}return!1}function fc(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 dc(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 mc(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,yc);return pi(o,"single",e)}function yc(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":"")+Yp.call(e.toString(16))}function be(r){return"Object("+r+")"}function Lr(r){return r+" { ? }"}function si(r,e,t,n){var o=n?Dr(t,n):I.call(t,", ");return r+" ("+e+") {"+o+"}"}function gc(r){for(var e=0;e<r.length;e++)if(fi(r[e],`
|
|
2
2
|
`)>=0)return!1;return!0}function vc(r,e){var t;if(r.indent===" ")t=" ";else if(typeof r.indent=="number"&&r.indent>0)t=I.call(Array(r.indent+1)," ");else return null;return{base:t,prev:I.call(Array(e+1),t)}}function Dr(r,e){if(r.length===0)return"";var t=`
|
|
3
3
|
`+e.prev+e.base;return t+I.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 m=0;m<i.length;m++)li.call(r,i[m])&&n.push("["+e(i[m])+"]: "+e(r[i[m]],r));return n}});var D=s((vh,gi)=>{"use strict";gi.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var hi=s((hh,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 $=s((bh,bi)=>{"use strict";var hc=hi();bi.exports=function(e){return typeof e=="symbol"?"Symbol":typeof e=="bigint"?"BigInt":hc(e)}});var Ee=s((xh,Si)=>{"use strict";var xi=S(),bc=yi(),xc=D(),Sc=$();Si.exports=function(e,t){if(Sc(e)!=="Object")throw new xi("Assertion failed: Type(O) is not Object");if(!xc(t))throw new xi("Assertion failed: IsPropertyKey(P) is not true, got "+bc(t));return e[t]}});var _=s((Sh,qi)=>{"use strict";var Ei=P(),wi=oe(),Ec=wi(Ei("String.prototype.indexOf"));qi.exports=function(e,t){var n=Ei(e,!!t);return typeof n=="function"&&Ec(e,".prototype.")>-1?wi(n):n}});var Gr=s((Eh,Ai)=>{"use strict";var wc=P(),Ti=wc("%Array%"),qc=!Ti.isArray&&_()("Object.prototype.toString");Ai.exports=Ti.isArray||function(e){return qc(e)==="[object Array]"}});var ze=s((wh,Pi)=>{"use strict";Pi.exports=Gr()});var $i=s((qh,Oi)=>{"use strict";Oi.exports=P()});var L=s((Th,Ii)=>{"use strict";var Tc=S(),we=X(),Ac={__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)&&!Ac[t])return!1;var n=we(e,"[[Value]]")||we(e,"[[Writable]]"),o=we(e,"[[Get]]")||we(e,"[[Set]]");if(n&&o)throw new Tc("Property Descriptors may not be both accessor and data descriptors");return!0}});var Xr=s((Ah,ki)=>{"use strict";var Pc=Be(),_i=ve(),Ci=Pc.hasArrayLengthDefineBug(),Oc=Ci&&Gr(),$c=_(),Ic=$c("Object.prototype.propertyIsEnumerable");ki.exports=function(e,t,n,o,i,a){if(!_i){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&Ic(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return Ci&&i==="length"&&"[[Value]]"in a&&Oc(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(_i(o,i,n(a)),!0)}});var Ni=s((Ph,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((Oh,ji)=>{"use strict";var _c=S(),Cc=L(),kc=Ni();ji.exports=function(e){if(typeof e<"u"&&!Cc(e))throw new _c("Assertion failed: `Desc` must be a Property Descriptor");return kc(e)}});var Qe=s(($h,Ri)=>{"use strict";var Fc=S(),Li=X(),Nc=L();Ri.exports=function(e){if(typeof e>"u")return!1;if(!Nc(e))throw new Fc("Assertion failed: `Desc` must be a Property Descriptor");return!(!Li(e,"[[Value]]")&&!Li(e,"[[Writable]]"))}});var Ye=s((Ih,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((_h,Ui)=>{"use strict";Ui.exports=function(e){return!!e}});var Zr=s((Ch,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 jc=/^\s*class\b/,Qr=function(e){try{var t=Bi.call(e);return jc.test(t)}catch{return!1}},Kr=function(e){try{return Qr(e)?!1:(Bi.call(e),!0)}catch{return!1}},er=Object.prototype.toString,Lc="[object Object]",Rc="[object Function]",Mc="[object GeneratorFunction]",Vc="[object HTMLAllCollection]",Uc="[object HTML document.all class]",Dc="[object HTMLCollection]",Jc=typeof Symbol=="function"&&!!Symbol.toStringTag,Bc=!(0 in[,]),Yr=function(){return!1};typeof document=="object"&&(Ji=document.all,er.call(Ji)===er.call(document.all)&&(Yr=function(e){if((Bc||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=er.call(e);return(t===Vc||t===Uc||t===Dc||t===Lc)&&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(Jc)return Kr(e);if(Qr(e))return!1;var t=er.call(e);return t!==Rc&&t!==Mc&&!/^\[object HTML/.test(t)?!1:Kr(e)}});var Xi=s((kh,Gi)=>{"use strict";Gi.exports=Zr()});var rt=s((Fh,Ki)=>{"use strict";var C=X(),rr=S(),Wc=$(),et=Di(),Hi=Xi();Ki.exports=function(e){if(Wc(e)!=="Object")throw new rr("ToPropertyDescriptor requires an object");var t={};if(C(e,"enumerable")&&(t["[[Enumerable]]"]=et(e.enumerable)),C(e,"configurable")&&(t["[[Configurable]]"]=et(e.configurable)),C(e,"value")&&(t["[[Value]]"]=e.value),C(e,"writable")&&(t["[[Writable]]"]=et(e.writable)),C(e,"get")){var n=e.get;if(typeof n<"u"&&!Hi(n))throw new rr("getter must be a function");t["[[Get]]"]=n}if(C(e,"set")){var o=e.set;if(typeof o<"u"&&!Hi(o))throw new rr("setter must be a function");t["[[Set]]"]=o}if((C(t,"[[Get]]")||C(t,"[[Set]]"))&&(C(t,"[[Value]]")||C(t,"[[Writable]]")))throw new rr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Yi=s((Nh,Qi)=>{"use strict";var tt=S(),zi=L(),Gc=Xr(),Xc=Hr(),Hc=Qe(),Kc=D(),zc=Ye(),Qc=rt(),Yc=$();Qi.exports=function(e,t,n){if(Yc(e)!=="Object")throw new tt("Assertion failed: Type(O) is not Object");if(!Kc(t))throw new tt("Assertion failed: IsPropertyKey(P) is not true");var o=zi(n)?n:Qc(n);if(!zi(o))throw new tt("Assertion failed: Desc is not a valid Property Descriptor");return Gc(Hc,zc,Xc,e,t,o)}});var ea=s((jh,it)=>{"use strict";var Zc=$i(),Zi=Zc("%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((Lh,ia)=>{"use strict";var ef=P(),ra=ef("%Symbol.species%",!0),ta=S(),na=Xo(),oa=Ee(),rf=ze(),tf=ea(),nf=$(),of=kr();ia.exports=function(e,t){if(!of(t)||t<0)throw new ta("Assertion failed: length must be an integer >= 0");var n=rf(e);if(!n)return na(t);var o=oa(e,"constructor");if(ra&&nf(o)==="Object"&&(o=oa(o,ra),o===null&&(o=void 0)),typeof o>"u")return na(t);if(!tf(o))throw new ta("C must be a constructor");return new o(t)}});var at=s((Rh,sa)=>{"use strict";sa.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var la=s((Mh,ua)=>{"use strict";var af=P(),sf=_(),uf=S(),lf=ze(),pf=af("%Reflect.apply%",!0)||sf("Function.prototype.apply");ua.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!lf(n))throw new uf("Assertion failed: optional `argumentsList`, if provided, must be a List");return pf(e,t,n)}});var nr=s((Vh,ca)=>{"use strict";var cf=S(),pa=X(),ff=L();ca.exports=function(e){if(typeof e>"u")return!1;if(!ff(e))throw new cf("Assertion failed: `Desc` must be a Property Descriptor");return!(!pa(e,"[[Get]]")&&!pa(e,"[[Set]]"))}});var st=s((Uh,fa)=>{"use strict";fa.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var ga=s((Dh,ya)=>{"use strict";var ma=P(),df=ma("%Object.preventExtensions%",!0),mf=ma("%Object.isExtensible%",!0),da=st();ya.exports=df?function(e){return!da(e)&&mf(e)}:function(e){return!da(e)}});var ha=s((Jh,va)=>{"use strict";var yf=L();va.exports=function(e,t){return yf(t)&&typeof t=="object"&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var xa=s((Bh,ba)=>{"use strict";var gf=S(),vf=nr(),hf=Qe(),bf=L();ba.exports=function(e){if(typeof e>"u")return!1;if(!bf(e))throw new gf("Assertion failed: `Desc` must be a Property Descriptor");return!vf(e)&&!hf(e)}});var wa=s((Wh,Ea)=>{"use strict";var se=S(),qe=Xr(),xf=ha(),Sa=L(),Te=Hr(),z=nr(),J=Qe(),Sf=xa(),Ef=D(),k=Ye(),wf=$();Ea.exports=function(e,t,n,o,i){var a=wf(e);if(a!=="Undefined"&&a!=="Object")throw new se("Assertion failed: O must be undefined or an Object");if(!Ef(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,k,Te,e,t,o):qe(J,k,Te,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!xf({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&&!k(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Sf(o)&&!k(z(o),z(i)))return!1;if(z(i)){if("[[Get]]"in o&&!k(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!k(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!k(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,k,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,k,Te,e,t,{"[[Configurable]]":!!u,"[[Enumerable]]":!!l,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):qe(J,k,Te,e,t,o)}return!0}});var Pa=s((Gh,Aa)=>{"use strict";var qa=Je(),Ta=ye(),ut=S(),qf=L(),Tf=nr(),Af=ga(),Pf=D(),Of=rt(),$f=Ye(),If=$(),_f=wa();Aa.exports=function(e,t,n){if(If(e)!=="Object")throw new ut("Assertion failed: O must be an Object");if(!Pf(t))throw new ut("Assertion failed: P must be a Property Key");if(!qf(n))throw new ut("Assertion failed: Desc must be a Property Descriptor");if(!qa){if(Tf(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]]"],$f(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&&Of(a),l=Af(e);return _f(e,t,l,n,u)}});var Ia=s((Xh,$a)=>{"use strict";var Oa=S(),Cf=D(),kf=Pa(),Ff=$();$a.exports=function(e,t,n){if(Ff(e)!=="Object")throw new Oa("Assertion failed: Type(O) is not Object");if(!Cf(t))throw new Oa("Assertion failed: IsPropertyKey(P) is not true");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return kf(e,t,o)}});var Ca=s((Hh,_a)=>{"use strict";var lt=S(),Nf=Ia(),jf=D(),Lf=$();_a.exports=function(e,t,n){if(Lf(e)!=="Object")throw new lt("Assertion failed: Type(O) is not Object");if(!jf(t))throw new lt("Assertion failed: IsPropertyKey(P) is not true");var o=Nf(e,t,n);if(!o)throw new lt("unable to create data property")}});var Na=s((Kh,Fa)=>{"use strict";var ka=S(),Rf=D(),Mf=$();Fa.exports=function(e,t){if(Mf(e)!=="Object")throw new ka("Assertion failed: `O` must be an Object");if(!Rf(t))throw new ka("Assertion failed: `P` must be a Property Key");return t in e}});var La=s((zh,ja)=>{"use strict";ja.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var pt=s((Qh,Ra)=>{"use strict";var Vf=Le();Ra.exports=function(){return Vf()&&!!Symbol.toStringTag}});var Va=s((Yh,Ma)=>{"use strict";var Uf=Date.prototype.getDay,Df=function(e){try{return Uf.call(e),!0}catch{return!1}},Jf=Object.prototype.toString,Bf="[object Date]",Wf=pt()();Ma.exports=function(e){return typeof e!="object"||e===null?!1:Wf?Df(e):Jf.call(e)===Bf}});var Ba=s((Zh,ct)=>{"use strict";var Gf=Object.prototype.toString,Xf=qr()();Xf?(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(Gf.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((eb,Xa)=>{"use strict";var Hf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",ft=La(),Ga=Zr(),Kf=Va(),Wa=Ba(),zf=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")},Qf=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(Hf&&(Symbol.toPrimitive?n=Qf(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"&&(Kf(e)||Wa(e))&&(t="string"),zf(e,t==="default"?"number":t)}});var Qa=s((rb,za)=>{"use strict";var Ka=Ha();za.exports=function(e){return arguments.length>1?Ka(e,arguments[1]):Ka(e)}});var ts=s((tb,rs)=>{"use strict";var dt=_(),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,Yf=dt("Object.prototype.toString"),Zf=Object.getOwnPropertyDescriptor,ed="[object RegExp]";rs.exports=Ya?function(e){if(!e||typeof e!="object")return!1;var t=Zf(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:Yf(e)===ed}});var os=s((nb,ns)=>{"use strict";var rd=_(),td=ts(),nd=rd("RegExp.prototype.exec"),od=S();ns.exports=function(e){if(!td(e))throw new od("`regex` must be a RegExp");return function(n){return nd(e,n)!==null}}});var as=s((ob,is)=>{"use strict";var id=S();is.exports=function(e,t){if(e==null)throw new id(t||"Cannot call method on "+e);return e}});var Ae=s((ib,ss)=>{"use strict";ss.exports=as()});var gt=s((ab,us)=>{"use strict";var ad=P(),sd=ad("%String%"),ud=S();us.exports=function(e){if(typeof e=="symbol")throw new ud("Cannot convert a Symbol value to a string");return sd(e)}});var vt=s((sb,cs)=>{"use strict";var ld=Ae(),pd=gt(),cd=_(),ls=cd("String.prototype.replace"),ps=/^\s$/.test("\u180E"),fd=ps?/^[\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]+/,dd=ps?/[\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]+$/;cs.exports=function(){var e=pd(ld(this));return ls(ls(e,fd,""),dd,"")}});var ht=s((ub,ds)=>{"use strict";var md=vt(),fs="\u200B",ue="\u180E";ds.exports=function(){return String.prototype.trim&&fs.trim()===fs&&ue.trim()===ue&&("_"+ue).trim()==="_"+ue&&(ue+"_").trim()===ue+"_"?String.prototype.trim:md}});var ys=s((lb,ms)=>{"use strict";var yd=j(),gd=ht();ms.exports=function(){var e=gd();return yd(String.prototype,{trim:e},{trim:function(){return String.prototype.trim!==e}}),e}});var bs=s((pb,hs)=>{"use strict";var vd=oe(),hd=j(),bd=Ae(),xd=vt(),gs=ht(),Sd=ys(),Ed=vd(gs()),vs=function(e){return bd(e),Ed(e)};hd(vs,{getPolyfill:gs,implementation:xd,shim:Sd});hs.exports=vs});var ws=s((cb,Es)=>{"use strict";var xt=P(),bt=xt("%Number%"),wd=xt("%RegExp%"),qd=S(),xs=xt("%parseInt%"),Td=_(),ir=os(),Ss=Td("String.prototype.slice"),Ad=ir(/^0b[01]+$/i),Pd=ir(/^0o[0-7]+$/i),Od=ir(/^[-+]0x[0-9a-f]+$/i),$d=["\x85","\u200B","\uFFFE"].join(""),Id=new wd("["+$d+"]","g"),_d=ir(Id),Cd=bs();Es.exports=function r(e){if(typeof e!="string")throw new qd("Assertion failed: `argument` is not a String");if(Ad(e))return bt(xs(Ss(e,2),2));if(Pd(e))return bt(xs(Ss(e,2),8));if(_d(e)||Od(e))return NaN;var t=Cd(e);return t!==e?r(t):bt(e)}});var Ps=s((fb,As)=>{"use strict";var kd=P(),qs=S(),Ts=kd("%Number%"),Fd=st(),Nd=Qa(),jd=ws();As.exports=function(e){var t=Fd(e)?e:Nd(e,Ts);if(typeof t=="symbol")throw new qs("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new qs("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?jd(t):Ts(t)}});var $s=s((db,Os)=>{"use strict";var Ld=Math.floor;Os.exports=function(e){return typeof e=="bigint"?e:Ld(e)}});var Cs=s((mb,_s)=>{"use strict";var Is=$s(),Rd=S();_s.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new Rd("argument must be a Number or a BigInt");var t=e<0?-Is(-e):Is(e);return t===0?0:t}});var St=s((yb,ks)=>{"use strict";var Md=Ps(),Vd=Cs(),Ud=he(),Dd=Cr();ks.exports=function(e){var t=Md(e);return Ud(t)||t===0?0:Dd(t)?Vd(t):t}});var Et=s((gb,Ns)=>{"use strict";var Fs=at(),Jd=St();Ns.exports=function(e){var t=Jd(e);return t<=0?0:t>Fs?Fs:t}});var Ls=s((vb,js)=>{"use strict";var Bd=S(),Wd=Ee(),Gd=Et(),Xd=$();js.exports=function(e){if(Xd(e)!=="Object")throw new Bd("Assertion failed: `obj` must be an Object");return Gd(Wd(e,"length"))}});var Us=s((hb,Vs)=>{"use strict";var Rs=S(),Hd=at(),Kd=la(),zd=Ca(),Qd=Ee(),Yd=Na(),Zd=ze(),em=Ls(),Ms=gt();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=Yd(t,m);if(y===!0){var d=Qd(t,m);if(typeof a<"u"){if(arguments.length<=6)throw new Rs("Assertion failed: thisArg is required when mapperFunction is provided");d=Kd(a,arguments[6],[d,l,t])}var p=!1;if(i>0&&(p=Zd(d)),p){var g=em(d);u=r(e,d,g,u,i-1)}else{if(u>=Hd)throw new Rs("index too large");zd(e,Ms(u),d),u+=1}}l+=1}return u}});var Js=s((bb,Ds)=>{"use strict";var rm=P(),tm=rm("%Object%"),nm=Ae();Ds.exports=function(e){return nm(e),tm(e)}});var wt=s((xb,Bs)=>{"use strict";var om=aa(),im=Us(),am=Ee(),sm=St(),um=Et(),lm=Js();Bs.exports=function(){var e=lm(this),t=um(am(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=sm(arguments[0]));var o=om(e,0);return im(o,e,t,0,n),o}});var qt=s((Sb,Ws)=>{"use strict";var pm=wt();Ws.exports=function(){return Array.prototype.flat||pm}});var Ks=s((Eb,Hs)=>{"use strict";var cm=X(),Xs=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",fm=Xs&&Array.prototype[Symbol.unscopables],Gs=TypeError;Hs.exports=function(e){if(typeof e!="string"||!e)throw new Gs("method must be a non-empty string");if(!cm(Array.prototype,e))throw new Gs("method must be on Array.prototype");Xs&&(fm[e]=!0)}});var Qs=s((wb,zs)=>{"use strict";var dm=j(),mm=Ks(),ym=qt();zs.exports=function(){var e=ym();return dm(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),mm("flat"),e}});var ru=s((qb,eu)=>{"use strict";var gm=j(),vm=oe(),hm=wt(),Ys=qt(),bm=Ys(),xm=Qs(),Zs=vm(bm);gm(Zs,{getPolyfill:Ys,implementation:hm,shim:xm});eu.exports=Zs});var Tt=s((Tb,nu)=>{"use strict";var Sm=Ae(),tu=_(),Em=tu("Object.prototype.propertyIsEnumerable"),wm=tu("Array.prototype.push");nu.exports=function(e){var t=Sm(e),n=[];for(var o in t)Em(t,o)&&wm(n,t[o]);return n}});var At=s((Ab,ou)=>{"use strict";var qm=Tt();ou.exports=function(){return typeof Object.values=="function"?Object.values:qm}});var au=s((Pb,iu)=>{"use strict";var Tm=At(),Am=j();iu.exports=function(){var e=Tm();return Am(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var pu=s((Ob,lu)=>{"use strict";var Pm=j(),Om=oe(),$m=Tt(),su=At(),Im=au(),uu=Om(su(),Object);Pm(uu,{getPolyfill:su,implementation:$m,shim:Im});lu.exports=uu});var du=s(Pe=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Pe.eventHandlersByType=void 0;var _m=ru(),Cm=cu(_m),km=pu(),Fm=cu(km);function cu(r){return r&&r.__esModule?r:{default:r}}var fu={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,Cm.default)((0,Fm.default)(fu));Pe.eventHandlersByType=fu});var yu=s(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});var Nm=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};Ot.default=Vm;var jm=Fe(),Lm=Rm(jm);function Rm(r){return r&&r.__esModule?r:{default:r}}function mu(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 Mm={ignoreCase:!0};function Vm(){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]:Mm;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,Lm.default)(u))});return a&&a.type==="JSXSpreadAttribute"?Um(a.argument.properties.find(i)):a}function Um(r){var e=r.key,t=r.value;return le({type:"JSXAttribute",name:le({type:"JSXIdentifier",name:e.name},Pt(e)),value:t.type==="Literal"?Oe(t):le({type:"JSXExpressionContainer",expression:Dm(t)},Pt(t))},Pt(r))}function Oe(r){var e=r.range||[r.start,r.end],t=Nm(e,2),n=t[0],o=t[1];return le({},r,{end:void 0,range:[n,o],start:void 0})}function Dm(r){var e=r.expressions,t=r.quasis,n=mu(r,["expressions","quasis"]);return le({},Oe(n),e?{expressions:e.map(Oe)}:{},t?{quasis:t.map(Oe)}:{})}function Pt(r){var e=r.loc,t=mu(r,["loc"]),n=Oe(t),o=n.range;return{loc:Jm(e),range:o}}function Jm(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 It=s($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.default=Bm;function Bm(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Ct=s(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.default=Wm;function Wm(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 Ft=s(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.default=Gm;function Gm(r){return r.raw}});var jt=s(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.default=Xm;function Xm(r){var e=ar().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var vu=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.default=Hm;var gu={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function Hm(r){var e=r.name;return Object.hasOwnProperty.call(gu,e)?gu[e]:e}});var Mt=s(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt.default=zm;function Km(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function zm(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(Km).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 hu=s(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.default=ey;var Qm=Mt(),Ym=Zm(Qm);function Zm(r){return r&&r.__esModule?r:{default:r}}function ey(r){return(0,Ym.default)(r.quasi)}});var bu=s(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.default=ry;function ry(r){return function(){return r}}});var xu=s(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.default=ty;function ty(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 Su=s(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.default=ny;function ny(r){var e=A().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Eu=s(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.default=oy;function oy(r){var e=A().default;return e(r.expression||r)}});var wu=s(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.default=iy;function iy(r){var e=A().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var qu=s(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.default=ay;function ay(r){var e=A().default;return e(r.object)+"?."+e(r.property)}});var Ht=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=sy;function sy(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 Tu=s(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.default=uy;function uy(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 Qt=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=ly;function ly(){return"this"}});var Au=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=py;function py(r){var e=A().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Pu=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=cy;function cy(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 en=s((Kb,Cu)=>{"use strict";var fy=Er(),Iu=Le()(),_u=_(),Ou=Object,dy=_u("Array.prototype.push"),$u=_u("Object.prototype.propertyIsEnumerable"),my=Iu?Object.getOwnPropertySymbols:null;Cu.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=Ou(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=Ou(arguments[o]),a=fy(i),u=Iu&&(Object.getOwnPropertySymbols||my);if(u)for(var l=u(i),m=0;m<l.length;++m){var y=l[m];$u(i,y)&&dy(a,y)}for(var d=0;d<a.length;++d){var p=a[d];if($u(i,p)){var g=i[p];n[p]=g}}}return n}});var tn=s((zb,ku)=>{"use strict";var rn=en(),yy=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},gy=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};ku.exports=function(){return!Object.assign||yy()||gy()?rn:Object.assign}});var Nu=s((Qb,Fu)=>{"use strict";var vy=j(),hy=tn();Fu.exports=function(){var e=hy();return vy(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var Mu=s((Yb,Ru)=>{"use strict";var by=j(),xy=oe(),Sy=en(),ju=tn(),Ey=Nu(),wy=xy.apply(ju()),Lu=function(e,t){return wy(Object,arguments)};by(Lu,{getPolyfill:ju,implementation:Sy,shim:Ey});Ru.exports=Lu});var Du=s(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=Uu;var qy=Mu(),Vu=Ty(qy);function Ty(r){return r&&r.__esModule?r:{default:r}}function Ay(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Uu(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,Vu.default)({},t,Uu(n.argument))}else return(0,Vu.default)({},t,Ay({},e(n.key),e(n.value)));return t},{})}});var Ju=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=Py;function Py(){return new Object}});var Bu=s(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=Oy;function Oy(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 Wu=s(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=$y;function $y(r){var e=A().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var Gu=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=Iy;function Iy(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 Xu=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=_y;function _y(){}});var Hu=s(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=Cy;function Cy(r){var e=A().default;return e(r.expression)}});var Ku=s(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=ky;function ky(r){var e=A().default;return r.expressions.map(function(t){return e(t)})}});var Qu=s(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=B;var Fy=Qt().default,Ny=Ht().default;function zu(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 Ny(r);if(r.type==="ThisExpression")return Fy();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 zu(B(r.object),B(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=zu(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 Yu=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=jy;function jy(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 Ly=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=Mg;sr.extractLiteral=Vg;var Ry=It(),My=E(Ry),Vy=Ct(),Uy=E(Vy),Dy=jt(),Jy=E(Dy),By=Ft(),Wy=E(By),Gy=vu(),Xy=E(Gy),Hy=hu(),Ky=E(Hy),zy=Mt(),Qy=E(zy),Yy=bu(),Zu=E(Yy),Zy=xu(),eg=E(Zy),rg=Su(),tg=E(rg),ng=Eu(),og=E(ng),ig=wu(),ag=E(ig),sg=qu(),ug=E(sg),lg=Ht(),pg=E(lg),cg=Tu(),fg=E(cg),dg=Qt(),mg=E(dg),yg=Au(),gg=E(yg),vg=Pu(),hg=E(vg),bg=Du(),xg=E(bg),Sg=Ju(),Eg=E(Sg),wg=Bu(),qg=E(wg),Tg=Wu(),Ag=E(Tg),Pg=Gu(),Og=E(Pg),$g=Xu(),Ig=E($g),_g=Hu(),Cg=E(_g),kg=Ku(),Fg=E(kg),Ng=Qu(),jg=E(Ng),Lg=Yu(),Rg=E(Lg);function E(r){return r&&r.__esModule?r:{default:r}}var W={Identifier:Xy.default,Literal:My.default,JSXElement:Uy.default,JSXFragment:Jy.default,JSXText:Wy.default,TaggedTemplateExpression:Ky.default,TemplateLiteral:Qy.default,ArrowFunctionExpression:Zu.default,FunctionExpression:Zu.default,LogicalExpression:eg.default,MemberExpression:tg.default,ChainExpression:og.default,OptionalCallExpression:ag.default,OptionalMemberExpression:ug.default,CallExpression:pg.default,UnaryExpression:fg.default,ThisExpression:mg.default,ConditionalExpression:gg.default,BinaryExpression:hg.default,ObjectExpression:xg.default,NewExpression:Eg.default,UpdateExpression:qg.default,ArrayExpression:Ag.default,BindExpression:Og.default,SpreadElement:Ig.default,TypeCastExpression:Cg.default,SequenceExpression:Fg.default,TSNonNullExpression:jg.default,AssignmentExpression:Rg.default},w=function(){return null},rl=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 Mg(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(rl(n)),null):W[n](e)}var el=Ly({},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:w,JSXFragment:w,JSXText:w,ArrowFunctionExpression:w,FunctionExpression:w,LogicalExpression:w,MemberExpression:w,OptionalCallExpression:w,OptionalMemberExpression:w,CallExpression:w,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:w,ConditionalExpression:w,BinaryExpression:w,ObjectExpression:w,NewExpression:w,ArrayExpression:function(e){var t=W.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:w,SpreadElement:w,TSNonNullExpression:w,TSAsExpression:w,TypeCastExpression:w,SequenceExpression:w,ChainExpression:w});function Vg(r){var e=r.expression||r,t=e.type;return el[t]===void 0?(console.error(rl(t)),null):el[t](e)}});var ar=s(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});var Ug=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=Yg;ur.getLiteralValue=Zg;var Dg=It(),Jg=$e(Dg),Bg=Ct(),Wg=$e(Bg),Gg=Ft(),Xg=$e(Gg),Hg=jt(),Kg=$e(Hg),tl=A(),zg=$e(tl);function $e(r){return r&&r.__esModule?r:{default:r}}var mn={Literal:Jg.default,JSXElement:Wg.default,JSXExpressionContainer:zg.default,JSXText:Xg.default,JSXFragment:Kg.default},Qg=Ug({},mn,{JSXElement:function(){return null},JSXExpressionContainer:tl.extractLiteral});function Yg(r){return mn[r.type]||console.log(r.type),mn[r.type](r)}function Zg(r){return Qg[r.type](r)}});var il=s(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.default=tv;lr.getLiteralPropValue=nv;var nl=ar(),ev=rv(nl);function rv(r){return r&&r.__esModule?r:{default:r}}var ol=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function tv(r){return ol(r,ev.default)}function nv(r){return ol(r,nl.getLiteralValue)}});var pr=s((fx,ul)=>{"use strict";var yn=$n(),ov=pe(yn),iv=_n(),av=pe(iv),al=du(),sv=pe(al),uv=yu(),lv=pe(uv),sl=il(),pv=pe(sl),cv=Fe(),fv=pe(cv);function pe(r){return r&&r.__esModule?r:{default:r}}ul.exports={hasProp:ov.default,hasAnyProp:yn.hasAnyProp,hasEveryProp:yn.hasEveryProp,elementType:av.default,eventHandlers:sv.default,eventHandlersByType:al.eventHandlersByType,getProp:lv.default,getPropValue:pv.default,getLiteralPropValue:sl.getLiteralPropValue,propName:fv.default}});var bl=s((tS,hl)=>{"use strict";hl.exports=r=>{let e=r.match(/^[ \t]*(?=\S)/gm);return e?e.reduce((t,n)=>Math.min(t,n.length),1/0):0}});var Fv={};Fl(Fv,{configs:()=>kv,rules:()=>Cv});module.exports=Nl(Fv);var An=require("@typescript-eslint/utils"),jl=An.ESLintUtils.RuleCreator(()=>"https://qwik.builder.io/docs/advanced/dollar/"),Pn=jl({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 ql=require("@typescript-eslint/utils");var vn=Y(pr());function gn(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var cr={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},dv={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"},ll={meta:{docs:{description:"Disallow missing `key` props in iterators/collection literals",category:"Possible Errors",recommended:!0,url:"https://qwik.builder.io/docs/advanced/eslint/#jsx-key"},messages:dv,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"&&!vn.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(b=>{b.type==="IfStatement"&&u(b,f),b.type==="ReturnStatement"&&f.push(b)}),f}function l(c){let f=!1;return c.some(b=>b.type==="JSXSpreadAttribute"?(f=!0,!1):b.type!=="JSXAttribute"?!1:f&&vn.default.propName(b)==="key")}function m(c){gn(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",b=h=>h&&(h.type==="JSXElement"||h.type==="JSXFragment");f&&b(c.body)&&a(c.body),c.body.type==="ConditionalExpression"?(b(c.body.consequent)&&a(c.body.consequent),b(c.body.alternate)&&a(c.body.alternate)):c.body.type==="LogicalExpression"&&b(c.body.right)&&a(c.body.right)}let d=`:matches(
|
|
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 m=0;m<i.length;m++)li.call(r,i[m])&&n.push("["+e(i[m])+"]: "+e(r[i[m]],r));return n}});var D=s((vh,gi)=>{"use strict";gi.exports=function(e){return typeof e=="string"||typeof e=="symbol"}});var hi=s((hh,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 $=s((bh,bi)=>{"use strict";var hc=hi();bi.exports=function(e){return typeof e=="symbol"?"Symbol":typeof e=="bigint"?"BigInt":hc(e)}});var Ee=s((xh,Si)=>{"use strict";var xi=S(),bc=yi(),xc=D(),Sc=$();Si.exports=function(e,t){if(Sc(e)!=="Object")throw new xi("Assertion failed: Type(O) is not Object");if(!xc(t))throw new xi("Assertion failed: IsPropertyKey(P) is not true, got "+bc(t));return e[t]}});var _=s((Sh,qi)=>{"use strict";var Ei=P(),wi=oe(),Ec=wi(Ei("String.prototype.indexOf"));qi.exports=function(e,t){var n=Ei(e,!!t);return typeof n=="function"&&Ec(e,".prototype.")>-1?wi(n):n}});var Gr=s((Eh,Ai)=>{"use strict";var wc=P(),Ti=wc("%Array%"),qc=!Ti.isArray&&_()("Object.prototype.toString");Ai.exports=Ti.isArray||function(e){return qc(e)==="[object Array]"}});var ze=s((wh,Pi)=>{"use strict";Pi.exports=Gr()});var $i=s((qh,Oi)=>{"use strict";Oi.exports=P()});var L=s((Th,Ii)=>{"use strict";var Tc=S(),we=X(),Ac={__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)&&!Ac[t])return!1;var n=we(e,"[[Value]]")||we(e,"[[Writable]]"),o=we(e,"[[Get]]")||we(e,"[[Set]]");if(n&&o)throw new Tc("Property Descriptors may not be both accessor and data descriptors");return!0}});var Xr=s((Ah,ki)=>{"use strict";var Pc=Be(),_i=ve(),Ci=Pc.hasArrayLengthDefineBug(),Oc=Ci&&Gr(),$c=_(),Ic=$c("Object.prototype.propertyIsEnumerable");ki.exports=function(e,t,n,o,i,a){if(!_i){if(!e(a)||!a["[[Configurable]]"]||!a["[[Writable]]"]||i in o&&Ic(o,i)!==!!a["[[Enumerable]]"])return!1;var u=a["[[Value]]"];return o[i]=u,t(o[i],u)}return Ci&&i==="length"&&"[[Value]]"in a&&Oc(o)&&o.length!==a["[[Value]]"]?(o.length=a["[[Value]]"],o.length===a["[[Value]]"]):(_i(o,i,n(a)),!0)}});var Ni=s((Ph,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((Oh,ji)=>{"use strict";var _c=S(),Cc=L(),kc=Ni();ji.exports=function(e){if(typeof e<"u"&&!Cc(e))throw new _c("Assertion failed: `Desc` must be a Property Descriptor");return kc(e)}});var Qe=s(($h,Ri)=>{"use strict";var Fc=S(),Li=X(),Nc=L();Ri.exports=function(e){if(typeof e>"u")return!1;if(!Nc(e))throw new Fc("Assertion failed: `Desc` must be a Property Descriptor");return!(!Li(e,"[[Value]]")&&!Li(e,"[[Writable]]"))}});var Ye=s((Ih,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((_h,Ui)=>{"use strict";Ui.exports=function(e){return!!e}});var Zr=s((Ch,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 jc=/^\s*class\b/,Qr=function(e){try{var t=Bi.call(e);return jc.test(t)}catch{return!1}},Kr=function(e){try{return Qr(e)?!1:(Bi.call(e),!0)}catch{return!1}},er=Object.prototype.toString,Lc="[object Object]",Rc="[object Function]",Mc="[object GeneratorFunction]",Vc="[object HTMLAllCollection]",Uc="[object HTML document.all class]",Dc="[object HTMLCollection]",Jc=typeof Symbol=="function"&&!!Symbol.toStringTag,Bc=!(0 in[,]),Yr=function(){return!1};typeof document=="object"&&(Ji=document.all,er.call(Ji)===er.call(document.all)&&(Yr=function(e){if((Bc||!e)&&(typeof e>"u"||typeof e=="object"))try{var t=er.call(e);return(t===Vc||t===Uc||t===Dc||t===Lc)&&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(Jc)return Kr(e);if(Qr(e))return!1;var t=er.call(e);return t!==Rc&&t!==Mc&&!/^\[object HTML/.test(t)?!1:Kr(e)}});var Xi=s((kh,Gi)=>{"use strict";Gi.exports=Zr()});var rt=s((Fh,Ki)=>{"use strict";var C=X(),rr=S(),Wc=$(),et=Di(),Hi=Xi();Ki.exports=function(e){if(Wc(e)!=="Object")throw new rr("ToPropertyDescriptor requires an object");var t={};if(C(e,"enumerable")&&(t["[[Enumerable]]"]=et(e.enumerable)),C(e,"configurable")&&(t["[[Configurable]]"]=et(e.configurable)),C(e,"value")&&(t["[[Value]]"]=e.value),C(e,"writable")&&(t["[[Writable]]"]=et(e.writable)),C(e,"get")){var n=e.get;if(typeof n<"u"&&!Hi(n))throw new rr("getter must be a function");t["[[Get]]"]=n}if(C(e,"set")){var o=e.set;if(typeof o<"u"&&!Hi(o))throw new rr("setter must be a function");t["[[Set]]"]=o}if((C(t,"[[Get]]")||C(t,"[[Set]]"))&&(C(t,"[[Value]]")||C(t,"[[Writable]]")))throw new rr("Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");return t}});var Yi=s((Nh,Qi)=>{"use strict";var tt=S(),zi=L(),Gc=Xr(),Xc=Hr(),Hc=Qe(),Kc=D(),zc=Ye(),Qc=rt(),Yc=$();Qi.exports=function(e,t,n){if(Yc(e)!=="Object")throw new tt("Assertion failed: Type(O) is not Object");if(!Kc(t))throw new tt("Assertion failed: IsPropertyKey(P) is not true");var o=zi(n)?n:Qc(n);if(!zi(o))throw new tt("Assertion failed: Desc is not a valid Property Descriptor");return Gc(Hc,zc,Xc,e,t,o)}});var ea=s((jh,it)=>{"use strict";var Zc=$i(),Zi=Zc("%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((Lh,ia)=>{"use strict";var ef=P(),ra=ef("%Symbol.species%",!0),ta=S(),na=Xo(),oa=Ee(),rf=ze(),tf=ea(),nf=$(),of=kr();ia.exports=function(e,t){if(!of(t)||t<0)throw new ta("Assertion failed: length must be an integer >= 0");var n=rf(e);if(!n)return na(t);var o=oa(e,"constructor");if(ra&&nf(o)==="Object"&&(o=oa(o,ra),o===null&&(o=void 0)),typeof o>"u")return na(t);if(!tf(o))throw new ta("C must be a constructor");return new o(t)}});var at=s((Rh,sa)=>{"use strict";sa.exports=Number.MAX_SAFE_INTEGER||9007199254740991});var la=s((Mh,ua)=>{"use strict";var af=P(),sf=_(),uf=S(),lf=ze(),pf=af("%Reflect.apply%",!0)||sf("Function.prototype.apply");ua.exports=function(e,t){var n=arguments.length>2?arguments[2]:[];if(!lf(n))throw new uf("Assertion failed: optional `argumentsList`, if provided, must be a List");return pf(e,t,n)}});var nr=s((Vh,ca)=>{"use strict";var cf=S(),pa=X(),ff=L();ca.exports=function(e){if(typeof e>"u")return!1;if(!ff(e))throw new cf("Assertion failed: `Desc` must be a Property Descriptor");return!(!pa(e,"[[Get]]")&&!pa(e,"[[Set]]"))}});var st=s((Uh,fa)=>{"use strict";fa.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var ga=s((Dh,ya)=>{"use strict";var ma=P(),df=ma("%Object.preventExtensions%",!0),mf=ma("%Object.isExtensible%",!0),da=st();ya.exports=df?function(e){return!da(e)&&mf(e)}:function(e){return!da(e)}});var ha=s((Jh,va)=>{"use strict";var yf=L();va.exports=function(e,t){return yf(t)&&typeof t=="object"&&"[[Enumerable]]"in t&&"[[Configurable]]"in t&&(e.IsAccessorDescriptor(t)||e.IsDataDescriptor(t))}});var xa=s((Bh,ba)=>{"use strict";var gf=S(),vf=nr(),hf=Qe(),bf=L();ba.exports=function(e){if(typeof e>"u")return!1;if(!bf(e))throw new gf("Assertion failed: `Desc` must be a Property Descriptor");return!vf(e)&&!hf(e)}});var wa=s((Wh,Ea)=>{"use strict";var se=S(),qe=Xr(),xf=ha(),Sa=L(),Te=Hr(),z=nr(),J=Qe(),Sf=xa(),Ef=D(),k=Ye(),wf=$();Ea.exports=function(e,t,n,o,i){var a=wf(e);if(a!=="Undefined"&&a!=="Object")throw new se("Assertion failed: O must be undefined or an Object");if(!Ef(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,k,Te,e,t,o):qe(J,k,Te,e,t,{"[[Configurable]]":!!o["[[Configurable]]"],"[[Enumerable]]":!!o["[[Enumerable]]"],"[[Value]]":o["[[Value]]"],"[[Writable]]":!!o["[[Writable]]"]}):!1;if(!xf({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&&!k(o["[[Enumerable]]"],i["[[Enumerable]]"])||!Sf(o)&&!k(z(o),z(i)))return!1;if(z(i)){if("[[Get]]"in o&&!k(o["[[Get]]"],i["[[Get]]"])||"[[Set]]"in o&&!k(o["[[Set]]"],i["[[Set]]"]))return!1}else if(!i["[[Writable]]"]&&("[[Writable]]"in o&&o["[[Writable]]"]||"[[Value]]"in o&&!k(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,k,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,k,Te,e,t,{"[[Configurable]]":!!u,"[[Enumerable]]":!!l,"[[Value]]":("[[Value]]"in o?o:i)["[[Value]]"],"[[Writable]]":!!("[[Writable]]"in o?o:i)["[[Writable]]"]})):qe(J,k,Te,e,t,o)}return!0}});var Pa=s((Gh,Aa)=>{"use strict";var qa=Je(),Ta=ye(),ut=S(),qf=L(),Tf=nr(),Af=ga(),Pf=D(),Of=rt(),$f=Ye(),If=$(),_f=wa();Aa.exports=function(e,t,n){if(If(e)!=="Object")throw new ut("Assertion failed: O must be an Object");if(!Pf(t))throw new ut("Assertion failed: P must be a Property Key");if(!qf(n))throw new ut("Assertion failed: Desc must be a Property Descriptor");if(!qa){if(Tf(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]]"],$f(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&&Of(a),l=Af(e);return _f(e,t,l,n,u)}});var Ia=s((Xh,$a)=>{"use strict";var Oa=S(),Cf=D(),kf=Pa(),Ff=$();$a.exports=function(e,t,n){if(Ff(e)!=="Object")throw new Oa("Assertion failed: Type(O) is not Object");if(!Cf(t))throw new Oa("Assertion failed: IsPropertyKey(P) is not true");var o={"[[Configurable]]":!0,"[[Enumerable]]":!0,"[[Value]]":n,"[[Writable]]":!0};return kf(e,t,o)}});var Ca=s((Hh,_a)=>{"use strict";var lt=S(),Nf=Ia(),jf=D(),Lf=$();_a.exports=function(e,t,n){if(Lf(e)!=="Object")throw new lt("Assertion failed: Type(O) is not Object");if(!jf(t))throw new lt("Assertion failed: IsPropertyKey(P) is not true");var o=Nf(e,t,n);if(!o)throw new lt("unable to create data property")}});var Na=s((Kh,Fa)=>{"use strict";var ka=S(),Rf=D(),Mf=$();Fa.exports=function(e,t){if(Mf(e)!=="Object")throw new ka("Assertion failed: `O` must be an Object");if(!Rf(t))throw new ka("Assertion failed: `P` must be a Property Key");return t in e}});var La=s((zh,ja)=>{"use strict";ja.exports=function(e){return e===null||typeof e!="function"&&typeof e!="object"}});var pt=s((Qh,Ra)=>{"use strict";var Vf=Le();Ra.exports=function(){return Vf()&&!!Symbol.toStringTag}});var Va=s((Yh,Ma)=>{"use strict";var Uf=Date.prototype.getDay,Df=function(e){try{return Uf.call(e),!0}catch{return!1}},Jf=Object.prototype.toString,Bf="[object Date]",Wf=pt()();Ma.exports=function(e){return typeof e!="object"||e===null?!1:Wf?Df(e):Jf.call(e)===Bf}});var Ba=s((Zh,ct)=>{"use strict";var Gf=Object.prototype.toString,Xf=qr()();Xf?(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(Gf.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((eb,Xa)=>{"use strict";var Hf=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol",ft=La(),Ga=Zr(),Kf=Va(),Wa=Ba(),zf=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")},Qf=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(Hf&&(Symbol.toPrimitive?n=Qf(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"&&(Kf(e)||Wa(e))&&(t="string"),zf(e,t==="default"?"number":t)}});var Qa=s((rb,za)=>{"use strict";var Ka=Ha();za.exports=function(e){return arguments.length>1?Ka(e,arguments[1]):Ka(e)}});var ts=s((tb,rs)=>{"use strict";var dt=_(),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,Yf=dt("Object.prototype.toString"),Zf=Object.getOwnPropertyDescriptor,ed="[object RegExp]";rs.exports=Ya?function(e){if(!e||typeof e!="object")return!1;var t=Zf(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:Yf(e)===ed}});var os=s((nb,ns)=>{"use strict";var rd=_(),td=ts(),nd=rd("RegExp.prototype.exec"),od=S();ns.exports=function(e){if(!td(e))throw new od("`regex` must be a RegExp");return function(n){return nd(e,n)!==null}}});var as=s((ob,is)=>{"use strict";var id=S();is.exports=function(e,t){if(e==null)throw new id(t||"Cannot call method on "+e);return e}});var Ae=s((ib,ss)=>{"use strict";ss.exports=as()});var gt=s((ab,us)=>{"use strict";var ad=P(),sd=ad("%String%"),ud=S();us.exports=function(e){if(typeof e=="symbol")throw new ud("Cannot convert a Symbol value to a string");return sd(e)}});var vt=s((sb,cs)=>{"use strict";var ld=Ae(),pd=gt(),cd=_(),ls=cd("String.prototype.replace"),ps=/^\s$/.test("\u180E"),fd=ps?/^[\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]+/,dd=ps?/[\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]+$/;cs.exports=function(){var e=pd(ld(this));return ls(ls(e,fd,""),dd,"")}});var ht=s((ub,ds)=>{"use strict";var md=vt(),fs="\u200B",ue="\u180E";ds.exports=function(){return String.prototype.trim&&fs.trim()===fs&&ue.trim()===ue&&("_"+ue).trim()==="_"+ue&&(ue+"_").trim()===ue+"_"?String.prototype.trim:md}});var ys=s((lb,ms)=>{"use strict";var yd=j(),gd=ht();ms.exports=function(){var e=gd();return yd(String.prototype,{trim:e},{trim:function(){return String.prototype.trim!==e}}),e}});var bs=s((pb,hs)=>{"use strict";var vd=oe(),hd=j(),bd=Ae(),xd=vt(),gs=ht(),Sd=ys(),Ed=vd(gs()),vs=function(e){return bd(e),Ed(e)};hd(vs,{getPolyfill:gs,implementation:xd,shim:Sd});hs.exports=vs});var ws=s((cb,Es)=>{"use strict";var xt=P(),bt=xt("%Number%"),wd=xt("%RegExp%"),qd=S(),xs=xt("%parseInt%"),Td=_(),ir=os(),Ss=Td("String.prototype.slice"),Ad=ir(/^0b[01]+$/i),Pd=ir(/^0o[0-7]+$/i),Od=ir(/^[-+]0x[0-9a-f]+$/i),$d=["\x85","\u200B","\uFFFE"].join(""),Id=new wd("["+$d+"]","g"),_d=ir(Id),Cd=bs();Es.exports=function r(e){if(typeof e!="string")throw new qd("Assertion failed: `argument` is not a String");if(Ad(e))return bt(xs(Ss(e,2),2));if(Pd(e))return bt(xs(Ss(e,2),8));if(_d(e)||Od(e))return NaN;var t=Cd(e);return t!==e?r(t):bt(e)}});var Ps=s((fb,As)=>{"use strict";var kd=P(),qs=S(),Ts=kd("%Number%"),Fd=st(),Nd=Qa(),jd=ws();As.exports=function(e){var t=Fd(e)?e:Nd(e,Ts);if(typeof t=="symbol")throw new qs("Cannot convert a Symbol value to a number");if(typeof t=="bigint")throw new qs("Conversion from 'BigInt' to 'number' is not allowed.");return typeof t=="string"?jd(t):Ts(t)}});var $s=s((db,Os)=>{"use strict";var Ld=Math.floor;Os.exports=function(e){return typeof e=="bigint"?e:Ld(e)}});var Cs=s((mb,_s)=>{"use strict";var Is=$s(),Rd=S();_s.exports=function(e){if(typeof e!="number"&&typeof e!="bigint")throw new Rd("argument must be a Number or a BigInt");var t=e<0?-Is(-e):Is(e);return t===0?0:t}});var St=s((yb,ks)=>{"use strict";var Md=Ps(),Vd=Cs(),Ud=he(),Dd=Cr();ks.exports=function(e){var t=Md(e);return Ud(t)||t===0?0:Dd(t)?Vd(t):t}});var Et=s((gb,Ns)=>{"use strict";var Fs=at(),Jd=St();Ns.exports=function(e){var t=Jd(e);return t<=0?0:t>Fs?Fs:t}});var Ls=s((vb,js)=>{"use strict";var Bd=S(),Wd=Ee(),Gd=Et(),Xd=$();js.exports=function(e){if(Xd(e)!=="Object")throw new Bd("Assertion failed: `obj` must be an Object");return Gd(Wd(e,"length"))}});var Us=s((hb,Vs)=>{"use strict";var Rs=S(),Hd=at(),Kd=la(),zd=Ca(),Qd=Ee(),Yd=Na(),Zd=ze(),em=Ls(),Ms=gt();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=Yd(t,m);if(y===!0){var d=Qd(t,m);if(typeof a<"u"){if(arguments.length<=6)throw new Rs("Assertion failed: thisArg is required when mapperFunction is provided");d=Kd(a,arguments[6],[d,l,t])}var p=!1;if(i>0&&(p=Zd(d)),p){var g=em(d);u=r(e,d,g,u,i-1)}else{if(u>=Hd)throw new Rs("index too large");zd(e,Ms(u),d),u+=1}}l+=1}return u}});var Js=s((bb,Ds)=>{"use strict";var rm=P(),tm=rm("%Object%"),nm=Ae();Ds.exports=function(e){return nm(e),tm(e)}});var wt=s((xb,Bs)=>{"use strict";var om=aa(),im=Us(),am=Ee(),sm=St(),um=Et(),lm=Js();Bs.exports=function(){var e=lm(this),t=um(am(e,"length")),n=1;arguments.length>0&&typeof arguments[0]<"u"&&(n=sm(arguments[0]));var o=om(e,0);return im(o,e,t,0,n),o}});var qt=s((Sb,Ws)=>{"use strict";var pm=wt();Ws.exports=function(){return Array.prototype.flat||pm}});var Ks=s((Eb,Hs)=>{"use strict";var cm=X(),Xs=typeof Symbol=="function"&&typeof Symbol.unscopables=="symbol",fm=Xs&&Array.prototype[Symbol.unscopables],Gs=TypeError;Hs.exports=function(e){if(typeof e!="string"||!e)throw new Gs("method must be a non-empty string");if(!cm(Array.prototype,e))throw new Gs("method must be on Array.prototype");Xs&&(fm[e]=!0)}});var Qs=s((wb,zs)=>{"use strict";var dm=j(),mm=Ks(),ym=qt();zs.exports=function(){var e=ym();return dm(Array.prototype,{flat:e},{flat:function(){return Array.prototype.flat!==e}}),mm("flat"),e}});var ru=s((qb,eu)=>{"use strict";var gm=j(),vm=oe(),hm=wt(),Ys=qt(),bm=Ys(),xm=Qs(),Zs=vm(bm);gm(Zs,{getPolyfill:Ys,implementation:hm,shim:xm});eu.exports=Zs});var Tt=s((Tb,nu)=>{"use strict";var Sm=Ae(),tu=_(),Em=tu("Object.prototype.propertyIsEnumerable"),wm=tu("Array.prototype.push");nu.exports=function(e){var t=Sm(e),n=[];for(var o in t)Em(t,o)&&wm(n,t[o]);return n}});var At=s((Ab,ou)=>{"use strict";var qm=Tt();ou.exports=function(){return typeof Object.values=="function"?Object.values:qm}});var au=s((Pb,iu)=>{"use strict";var Tm=At(),Am=j();iu.exports=function(){var e=Tm();return Am(Object,{values:e},{values:function(){return Object.values!==e}}),e}});var pu=s((Ob,lu)=>{"use strict";var Pm=j(),Om=oe(),$m=Tt(),su=At(),Im=au(),uu=Om(su(),Object);Pm(uu,{getPolyfill:su,implementation:$m,shim:Im});lu.exports=uu});var du=s(Pe=>{"use strict";Object.defineProperty(Pe,"__esModule",{value:!0});Pe.eventHandlersByType=void 0;var _m=ru(),Cm=cu(_m),km=pu(),Fm=cu(km);function cu(r){return r&&r.__esModule?r:{default:r}}var fu={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,Cm.default)((0,Fm.default)(fu));Pe.eventHandlersByType=fu});var yu=s(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});var Nm=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};Ot.default=Vm;var jm=Fe(),Lm=Rm(jm);function Rm(r){return r&&r.__esModule?r:{default:r}}function mu(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 Mm={ignoreCase:!0};function Vm(){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]:Mm;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,Lm.default)(u))});return a&&a.type==="JSXSpreadAttribute"?Um(a.argument.properties.find(i)):a}function Um(r){var e=r.key,t=r.value;return le({type:"JSXAttribute",name:le({type:"JSXIdentifier",name:e.name},Pt(e)),value:t.type==="Literal"?Oe(t):le({type:"JSXExpressionContainer",expression:Dm(t)},Pt(t))},Pt(r))}function Oe(r){var e=r.range||[r.start,r.end],t=Nm(e,2),n=t[0],o=t[1];return le({},r,{end:void 0,range:[n,o],start:void 0})}function Dm(r){var e=r.expressions,t=r.quasis,n=mu(r,["expressions","quasis"]);return le({},Oe(n),e?{expressions:e.map(Oe)}:{},t?{quasis:t.map(Oe)}:{})}function Pt(r){var e=r.loc,t=mu(r,["loc"]),n=Oe(t),o=n.range;return{loc:Jm(e),range:o}}function Jm(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 It=s($t=>{"use strict";Object.defineProperty($t,"__esModule",{value:!0});$t.default=Bm;function Bm(r){var e=r.value,t=typeof e=="string"&&e.toLowerCase();return t==="true"?!0:t==="false"?!1:e}});var Ct=s(_t=>{"use strict";Object.defineProperty(_t,"__esModule",{value:!0});_t.default=Wm;function Wm(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 Ft=s(kt=>{"use strict";Object.defineProperty(kt,"__esModule",{value:!0});kt.default=Gm;function Gm(r){return r.raw}});var jt=s(Nt=>{"use strict";Object.defineProperty(Nt,"__esModule",{value:!0});Nt.default=Xm;function Xm(r){var e=ar().default;return r.children.length===0?"<></>":"<>"+[].concat(r.children).map(function(t){return e(t)}).join("")+"</>"}});var vu=s(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.default=Hm;var gu={Array,Date,Infinity:1/0,Math,Number,Object,String,undefined:void 0};function Hm(r){var e=r.name;return Object.hasOwnProperty.call(gu,e)?gu[e]:e}});var Mt=s(Rt=>{"use strict";Object.defineProperty(Rt,"__esModule",{value:!0});Rt.default=zm;function Km(r,e){return(r.range?r.range[0]:r.start)-(e.range?e.range[0]:e.start)}function zm(r){var e=r.quasis,t=r.expressions,n=e.concat(t);return n.sort(Km).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 hu=s(Vt=>{"use strict";Object.defineProperty(Vt,"__esModule",{value:!0});Vt.default=ey;var Qm=Mt(),Ym=Zm(Qm);function Zm(r){return r&&r.__esModule?r:{default:r}}function ey(r){return(0,Ym.default)(r.quasi)}});var bu=s(Ut=>{"use strict";Object.defineProperty(Ut,"__esModule",{value:!0});Ut.default=ry;function ry(r){return function(){return r}}});var xu=s(Dt=>{"use strict";Object.defineProperty(Dt,"__esModule",{value:!0});Dt.default=ty;function ty(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 Su=s(Jt=>{"use strict";Object.defineProperty(Jt,"__esModule",{value:!0});Jt.default=ny;function ny(r){var e=A().default;return""+e(r.object)+(r.optional?"?.":".")+e(r.property)}});var Eu=s(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Bt.default=oy;function oy(r){var e=A().default;return e(r.expression||r)}});var wu=s(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.default=iy;function iy(r){var e=A().default;return e(r.callee)+"?.("+r.arguments.map(function(t){return e(t)}).join(", ")+")"}});var qu=s(Gt=>{"use strict";Object.defineProperty(Gt,"__esModule",{value:!0});Gt.default=ay;function ay(r){var e=A().default;return e(r.object)+"?."+e(r.property)}});var Ht=s(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.default=sy;function sy(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 Tu=s(Kt=>{"use strict";Object.defineProperty(Kt,"__esModule",{value:!0});Kt.default=uy;function uy(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 Qt=s(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.default=ly;function ly(){return"this"}});var Au=s(Yt=>{"use strict";Object.defineProperty(Yt,"__esModule",{value:!0});Yt.default=py;function py(r){var e=A().default,t=r.test,n=r.alternate,o=r.consequent;return e(t)?e(o):e(n)}});var Pu=s(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.default=cy;function cy(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 en=s((Kb,Cu)=>{"use strict";var fy=Er(),Iu=Le()(),_u=_(),Ou=Object,dy=_u("Array.prototype.push"),$u=_u("Object.prototype.propertyIsEnumerable"),my=Iu?Object.getOwnPropertySymbols:null;Cu.exports=function(e,t){if(e==null)throw new TypeError("target must be an object");var n=Ou(e);if(arguments.length===1)return n;for(var o=1;o<arguments.length;++o){var i=Ou(arguments[o]),a=fy(i),u=Iu&&(Object.getOwnPropertySymbols||my);if(u)for(var l=u(i),m=0;m<l.length;++m){var y=l[m];$u(i,y)&&dy(a,y)}for(var d=0;d<a.length;++d){var p=a[d];if($u(i,p)){var g=i[p];n[p]=g}}}return n}});var tn=s((zb,ku)=>{"use strict";var rn=en(),yy=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},gy=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};ku.exports=function(){return!Object.assign||yy()||gy()?rn:Object.assign}});var Nu=s((Qb,Fu)=>{"use strict";var vy=j(),hy=tn();Fu.exports=function(){var e=hy();return vy(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}});var Mu=s((Yb,Ru)=>{"use strict";var by=j(),xy=oe(),Sy=en(),ju=tn(),Ey=Nu(),wy=xy.apply(ju()),Lu=function(e,t){return wy(Object,arguments)};by(Lu,{getPolyfill:ju,implementation:Sy,shim:Ey});Ru.exports=Lu});var Du=s(nn=>{"use strict";Object.defineProperty(nn,"__esModule",{value:!0});nn.default=Uu;var qy=Mu(),Vu=Ty(qy);function Ty(r){return r&&r.__esModule?r:{default:r}}function Ay(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Uu(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,Vu.default)({},t,Uu(n.argument))}else return(0,Vu.default)({},t,Ay({},e(n.key),e(n.value)));return t},{})}});var Ju=s(on=>{"use strict";Object.defineProperty(on,"__esModule",{value:!0});on.default=Py;function Py(){return new Object}});var Bu=s(an=>{"use strict";Object.defineProperty(an,"__esModule",{value:!0});an.default=Oy;function Oy(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 Wu=s(sn=>{"use strict";Object.defineProperty(sn,"__esModule",{value:!0});sn.default=$y;function $y(r){var e=A().default;return r.elements.map(function(t){if(t!==null)return e(t)})}});var Gu=s(un=>{"use strict";Object.defineProperty(un,"__esModule",{value:!0});un.default=Iy;function Iy(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 Xu=s(ln=>{"use strict";Object.defineProperty(ln,"__esModule",{value:!0});ln.default=_y;function _y(){}});var Hu=s(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});pn.default=Cy;function Cy(r){var e=A().default;return e(r.expression)}});var Ku=s(cn=>{"use strict";Object.defineProperty(cn,"__esModule",{value:!0});cn.default=ky;function ky(r){var e=A().default;return r.expressions.map(function(t){return e(t)})}});var Qu=s(fn=>{"use strict";Object.defineProperty(fn,"__esModule",{value:!0});fn.default=B;var Fy=Qt().default,Ny=Ht().default;function zu(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 Ny(r);if(r.type==="ThisExpression")return Fy();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 zu(B(r.object),B(r.property),r);if(r.extra&&r.extra.parenthesized===!0){var i=zu(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 Yu=s(dn=>{"use strict";Object.defineProperty(dn,"__esModule",{value:!0});dn.default=jy;function jy(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 Ly=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=Mg;sr.extractLiteral=Vg;var Ry=It(),My=E(Ry),Vy=Ct(),Uy=E(Vy),Dy=jt(),Jy=E(Dy),By=Ft(),Wy=E(By),Gy=vu(),Xy=E(Gy),Hy=hu(),Ky=E(Hy),zy=Mt(),Qy=E(zy),Yy=bu(),Zu=E(Yy),Zy=xu(),eg=E(Zy),rg=Su(),tg=E(rg),ng=Eu(),og=E(ng),ig=wu(),ag=E(ig),sg=qu(),ug=E(sg),lg=Ht(),pg=E(lg),cg=Tu(),fg=E(cg),dg=Qt(),mg=E(dg),yg=Au(),gg=E(yg),vg=Pu(),hg=E(vg),bg=Du(),xg=E(bg),Sg=Ju(),Eg=E(Sg),wg=Bu(),qg=E(wg),Tg=Wu(),Ag=E(Tg),Pg=Gu(),Og=E(Pg),$g=Xu(),Ig=E($g),_g=Hu(),Cg=E(_g),kg=Ku(),Fg=E(kg),Ng=Qu(),jg=E(Ng),Lg=Yu(),Rg=E(Lg);function E(r){return r&&r.__esModule?r:{default:r}}var W={Identifier:Xy.default,Literal:My.default,JSXElement:Uy.default,JSXFragment:Jy.default,JSXText:Wy.default,TaggedTemplateExpression:Ky.default,TemplateLiteral:Qy.default,ArrowFunctionExpression:Zu.default,FunctionExpression:Zu.default,LogicalExpression:eg.default,MemberExpression:tg.default,ChainExpression:og.default,OptionalCallExpression:ag.default,OptionalMemberExpression:ug.default,CallExpression:pg.default,UnaryExpression:fg.default,ThisExpression:mg.default,ConditionalExpression:gg.default,BinaryExpression:hg.default,ObjectExpression:xg.default,NewExpression:Eg.default,UpdateExpression:qg.default,ArrayExpression:Ag.default,BindExpression:Og.default,SpreadElement:Ig.default,TypeCastExpression:Cg.default,SequenceExpression:Fg.default,TSNonNullExpression:jg.default,AssignmentExpression:Rg.default},w=function(){return null},rl=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 Mg(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(rl(n)),null):W[n](e)}var el=Ly({},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:w,JSXFragment:w,JSXText:w,ArrowFunctionExpression:w,FunctionExpression:w,LogicalExpression:w,MemberExpression:w,OptionalCallExpression:w,OptionalMemberExpression:w,CallExpression:w,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:w,ConditionalExpression:w,BinaryExpression:w,ObjectExpression:w,NewExpression:w,ArrayExpression:function(e){var t=W.ArrayExpression.call(void 0,e);return t.filter(function(n){return n!==null})},BindExpression:w,SpreadElement:w,TSNonNullExpression:w,TSAsExpression:w,TypeCastExpression:w,SequenceExpression:w,ChainExpression:w});function Vg(r){var e=r.expression||r,t=e.type;return el[t]===void 0?(console.error(rl(t)),null):el[t](e)}});var ar=s(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});var Ug=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=Yg;ur.getLiteralValue=Zg;var Dg=It(),Jg=$e(Dg),Bg=Ct(),Wg=$e(Bg),Gg=Ft(),Xg=$e(Gg),Hg=jt(),Kg=$e(Hg),tl=A(),zg=$e(tl);function $e(r){return r&&r.__esModule?r:{default:r}}var mn={Literal:Jg.default,JSXElement:Wg.default,JSXExpressionContainer:zg.default,JSXText:Xg.default,JSXFragment:Kg.default},Qg=Ug({},mn,{JSXElement:function(){return null},JSXExpressionContainer:tl.extractLiteral});function Yg(r){return mn[r.type]||console.log(r.type),mn[r.type](r)}function Zg(r){return Qg[r.type](r)}});var il=s(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.default=tv;lr.getLiteralPropValue=nv;var nl=ar(),ev=rv(nl);function rv(r){return r&&r.__esModule?r:{default:r}}var ol=function(e,t){if(e&&e.type==="JSXAttribute")return e.value===null?!0:t(e.value)};function tv(r){return ol(r,ev.default)}function nv(r){return ol(r,nl.getLiteralValue)}});var pr=s((fx,ul)=>{"use strict";var yn=$n(),ov=pe(yn),iv=_n(),av=pe(iv),al=du(),sv=pe(al),uv=yu(),lv=pe(uv),sl=il(),pv=pe(sl),cv=Fe(),fv=pe(cv);function pe(r){return r&&r.__esModule?r:{default:r}}ul.exports={hasProp:ov.default,hasAnyProp:yn.hasAnyProp,hasEveryProp:yn.hasEveryProp,elementType:av.default,eventHandlers:sv.default,eventHandlersByType:al.eventHandlersByType,getProp:lv.default,getPropValue:pv.default,getLiteralPropValue:sl.getLiteralPropValue,propName:fv.default}});var bl=s((tS,hl)=>{"use strict";hl.exports=r=>{let e=r.match(/^[ \t]*(?=\S)/gm);return e?e.reduce((t,n)=>Math.min(t,n.length),1/0):0}});var Fv={};Fl(Fv,{configs:()=>kv,rules:()=>Cv});module.exports=Nl(Fv);var An=require("@typescript-eslint/utils"),jl=An.ESLintUtils.RuleCreator(()=>"https://qwik.dev/docs/advanced/dollar/"),Pn=jl({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 ql=require("@typescript-eslint/utils");var vn=Y(pr());function gn(r){return r.type==="FunctionExpression"||r.type==="ArrowFunctionExpression"}var cr={checkFragmentShorthand:!1,checkKeyMustBeforeSpread:!1,warnOnDuplicates:!1},dv={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"},ll={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:dv,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"&&!vn.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(b=>{b.type==="IfStatement"&&u(b,f),b.type==="ReturnStatement"&&f.push(b)}),f}function l(c){let f=!1;return c.some(b=>b.type==="JSXSpreadAttribute"?(f=!0,!1):b.type!=="JSXAttribute"?!1:f&&vn.default.propName(b)==="key")}function m(c){gn(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",b=h=>h&&(h.type==="JSXElement"||h.type==="JSXFragment");f&&b(c.body)&&a(c.body),c.body.type==="ConditionalExpression"?(b(c.body.consequent)&&a(c.body.consequent),b(c.body.alternate)&&a(c.body.alternate)):c.body.type==="LogicalExpression"&&b(c.body.right)&&a(c.body.right)}let d=`:matches(
|
|
5
5
|
CallExpression
|
|
6
6
|
[callee.object.object.name=Fragment]
|
|
7
7
|
[callee.object.property.name=Children]
|
|
@@ -150,13 +150,13 @@ export const ColorList = component$(() => {
|
|
|
150
150
|
)}
|
|
151
151
|
</ul>
|
|
152
152
|
);
|
|
153
|
-
});`.trim();var pl=require("@typescript-eslint/utils");var{getStaticValue:mv}=pl.ASTUtils,yv=/^[\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,cl={meta:{type:"problem",docs:{recommended:"error",description:"Disallow javascript: URLs.",url:"https://qwik.
|
|
153
|
+
});`.trim();var pl=require("@typescript-eslint/utils");var{getStaticValue:mv}=pl.ASTUtils,yv=/^[\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,cl={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=mv(e.value.type==="JSXExpressionContainer"?e.value.expression:e.value,r.getScope());t&&typeof t.value=="string"&&yv.test(t.value)&&r.report({node:e.value,messageId:"noJSURL"})}}}}},Px=`
|
|
154
154
|
<button onClick$={() => alert('open the door please')>ring</button>`.trim(),Ox=`
|
|
155
|
-
<button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var fl={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},gv={...fl,action$:!0,globalAction$:!0},dl={meta:{type:"problem",docs:{description:"Detect declaration location of loader$.",recommended:!0,url:"https://qwik.
|
|
156
|
-
(docs: https://qwik.
|
|
155
|
+
<button onClick$="javascript:alert('open the door please')">ring</button>`.trim();var fl={loader$:!0,routeLoader$:!0,routeAction$:!0,routeHandler$:!0},gv={...fl,action$:!0,globalAction$:!0},dl={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
|
+
(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.
|
|
159
|
-
(docs: https://qwik.
|
|
159
|
+
(docs: https://qwik.dev/docs/cookbook/re-exporting-loaders/).
|
|
160
160
|
|
|
161
161
|
If you understand this, you can disable this warning with:
|
|
162
162
|
// eslint-disable-next-line qwik/loader-location
|
|
@@ -191,9 +191,9 @@ async function fetcher() {
|
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
export const useProductDetails = routeLoader$(fetcher);
|
|
194
|
-
`.trim();function hv(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=bv(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 bv(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var hn=Y(pr());var xv=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var ml={meta:{type:"problem",docs:{recommended:"warn",description:"Disallow usage of React-specific `className`/`htmlFor` props.",url:"https://qwik.
|
|
194
|
+
`.trim();function hv(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=bv(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 bv(r){let e=r;for(;e.type!=="Program";)e=e.parent;return e.body}var hn=Y(pr());var xv=[{from:"className",to:"class"},{from:"htmlFor",to:"for"}];var ml={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 xv){let i=hn.default.getProp(t.attributes,n);if(i){let a=hn.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})}}}}}},Mx=`
|
|
195
195
|
<MyReactComponent class="foo" for="#password" />;`.trim(),Vx=`
|
|
196
|
-
<MyReactComponent className="foo" htmlFor="#password" />;`.trim();var bn=Y(pr());var yl={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.
|
|
196
|
+
<MyReactComponent className="foo" htmlFor="#password" />;`.trim();var bn=Y(pr());var yl={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(bn.default.propName(o))===-1||bn.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]],"}")]}})}}}}},Bx=`
|
|
197
197
|
import { component$ } from '@builder.io/qwik';
|
|
198
198
|
import styles from './MyComponent.module.css';
|
|
199
199
|
|
|
@@ -226,7 +226,7 @@ export default component$((props) => {
|
|
|
226
226
|
},
|
|
227
227
|
{ active: true}
|
|
228
228
|
)}>Hello world</div>;
|
|
229
|
-
});`.trim();var gl={meta:{type:"problem",docs:{description:"Detect unused server$() functions.",recommended:!0,url:"https://qwik.
|
|
229
|
+
});`.trim();var gl={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
232
|
await serverFn(...);`}})}}}}},Kx=`
|
|
@@ -267,7 +267,7 @@ export default component$(() => (
|
|
|
267
267
|
greet
|
|
268
268
|
</button>
|
|
269
269
|
);
|
|
270
|
-
);`.trim();var vl={meta:{type:"problem",docs:{description:"Detect invalid use of use hooks.",category:"Variables",recommended:!0,url:"https://qwik.
|
|
270
|
+
);`.trim();var vl={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}}}}},Yx=`
|
|
271
271
|
export const Counter = component$(() => {
|
|
272
272
|
const count = useSignal(0);
|
|
273
273
|
});
|
|
@@ -280,13 +280,13 @@ export const useCounter = () => {
|
|
|
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 xl=Y(bl(),1);function xn(r){let e=(0,xl.default)(r);if(e===0)return r;let t=new RegExp(`^[ \\t]{${e}}`,"gm");return r.replace(t,"")}function Sn(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 En(r,e=0,t={}){return Sn(xn(r),e,t)}var Sv=fr.RuleCreator(r=>`https://qwik.
|
|
284
|
-
Check out https://qwik.
|
|
283
|
+
`.trim();var fr=Y(require("@typescript-eslint/utils/eslint-utils")),G=Y(require("typescript"));var xl=Y(bl(),1);function xn(r){let e=(0,xl.default)(r);if(e===0)return r;let t=new RegExp(`^[ \\t]{${e}}`,"gm");return r.replace(t,"")}function Sn(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 En(r,e=0,t={}){return Sn(xn(r),e,t)}var Sv=fr.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Sl=Sv({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
|
+
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
|
-
Check out https://qwik.
|
|
289
|
-
Check out https://qwik.
|
|
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,b;let g=p.resolved,c=(f=p.resolved)==null?void 0:f.scope;if(g&&c){let h=(b=g.defs.at(0))==null?void 0:b.type;if(h==="Type"||h==="ImportBinding")return;let x=p.from,q;for(;x&&(q=u.get(x),!q);)x=x.upper;if(x&&q){let F=c.type;if(F==="global"||F==="module")return;let R=p.identifier,_e=i.get(R),N=c;for(;N&&!u.has(N);)N=N.upper;if(N!==x){R.parent&&R.parent.type==="AssignmentExpression"&&R.parent.left===R&&r.report({messageId:"mutableIdentifier",node:p.identifier,data:{varName:p.identifier.name,dollarName:q}});let ce=Ev(r,a,_e,p.identifier,t);ce&&r.report({messageId:"referencesOutside",node:p.identifier,data:{varName:p.identifier.name,dollarName:q,reason:wv(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 g=n.acquire(p);g&&u.set(g,d.callee.name)}}},JSXAttribute(d){var c;let p=d.name,g=p.type==="JSXIdentifier"?p.name:p.name.name;if(g.endsWith("$")){let f=d.value;if(f&&f.type==="JSXExpressionContainer"){let b=n.acquire(f.expression);if(b)u.set(b,g);else if(f.expression.type==="Identifier"){let h=i.get(f.expression),x=a.getTypeAtLocation(h).getNonNullableType();if(!El(x))if(x.isUnionOrIntersection())x.types.every(q=>q.symbol?q.symbol.name==="Component"||q.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=x.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
290
|
${wl(x.symbol,r.sourceCode.text)}
|
|
291
291
|
);
|
|
292
292
|
`}})}}}}},Program(d){let p=i.get(d),g=a.getSymbolAtLocation(p);g&&(l=a.getExportsOfModule(g))},"Program:exit"(){m(n.globalScope)}}}});function Ev(r,e,t,n,o){let i=e.getTypeAtLocation(t);return qv(r,e,i,t,n,o,new Set)}function wv(r){let e="";return r.location?e+=`"${r.location}" `:e+="it ",e+=`${r.reason}`,e}function qv(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){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(El(t))return;if(t.getCallSignatures().length>0){let g=t.symbol.name;if(g==="PropFnInterface"||g==="RefFnInterface"||g==="bivarianceHack"||g==="FunctionComponent")return;let c="is a function, which is not serializable";if(i===0&&G.default.isIdentifier(n)){let f=`const ${n.text} = $(
|
|
@@ -363,15 +363,15 @@ export const HelloWorld = component$(() => {
|
|
|
363
363
|
{personName}
|
|
364
364
|
</button>
|
|
365
365
|
);
|
|
366
|
-
});`.trim();var $v=ql.ESLintUtils.RuleCreator(r=>`https://qwik.
|
|
366
|
+
});`.trim();var $v=ql.ESLintUtils.RuleCreator(r=>`https://qwik.dev/docs/advanced/eslint/#${r}`),Tl=$v({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
|
-
See https://qwik.
|
|
371
|
+
See https://qwik.dev/docs/integrations/image-optimization/#responsive-images`,noWidthHeight:`Missing "width" or "height" attribute.
|
|
372
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=Iv(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"})}}}}}),VS=`
|
|
373
373
|
import Image from '~/media/image.png';
|
|
374
374
|
<Image />`.trim(),US=`
|
|
375
375
|
<img src="/image.png">`.trim(),DS=`
|
|
376
376
|
<img width="200" height="600" src="/static/images/portrait-01.webp">`.trim(),JS=`
|
|
377
|
-
<img src="/static/images/portrait-01.webp">`.trim();function Iv(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${_v(r)}`}function _v(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 Al={meta:{type:"suggestion",docs:{description:"Detect useVisibleTask$() functions.",recommended:!0,url:"https://qwik.
|
|
377
|
+
<img src="/static/images/portrait-01.webp">`.trim();function Iv(r){let e=r.lastIndexOf("."),t=r.lastIndexOf("/");return r=r.substring(t+1,e),`Img${_v(r)}`}function _v(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 Al={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 Cv={"use-method-usage":vl,"valid-lexical-scope":Sl,"loader-location":dl,"no-react-props":ml,"prefer-classlist":yl,"jsx-no-script-url":cl,"jsx-key":ll,"unused-server":gl,"jsx-img":Tl,"jsx-a":Pn,"no-use-visible-task":Al},kv={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});
|
package/package.json
CHANGED
|
@@ -1,24 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-plugin-qwik",
|
|
3
3
|
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.",
|
|
4
|
-
"version": "1.5.
|
|
4
|
+
"version": "1.5.2-dev20240424223939",
|
|
5
5
|
"author": "Builder Team",
|
|
6
|
-
"bugs": "https://github.com/
|
|
6
|
+
"bugs": "https://github.com/QwikDev/qwik/issues",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"jsx-ast-utils": "^3.3.5"
|
|
9
9
|
},
|
|
10
10
|
"devDependencies": {
|
|
11
11
|
"@builder.io/qwik": "workspace:^",
|
|
12
|
-
"@
|
|
12
|
+
"@builder.io/qwik-city": "workspace:^",
|
|
13
|
+
"@types/eslint": "^8.56.10",
|
|
13
14
|
"@types/estree": "^1.0.2",
|
|
14
|
-
"@typescript-eslint/rule-tester": "^7.1
|
|
15
|
-
"@typescript-eslint/utils": "^7.1
|
|
15
|
+
"@typescript-eslint/rule-tester": "^7.7.1",
|
|
16
|
+
"@typescript-eslint/utils": "^7.7.1",
|
|
16
17
|
"redent": "^4.0.0"
|
|
17
18
|
},
|
|
18
19
|
"engines": {
|
|
19
20
|
"node": ">=16.8.0 <18.0.0 || >=18.11"
|
|
20
21
|
},
|
|
21
|
-
"homepage": "https://github.com/
|
|
22
|
+
"homepage": "https://github.com/QwikDev/qwik#readme",
|
|
22
23
|
"keywords": [
|
|
23
24
|
"builder.io",
|
|
24
25
|
"eslint",
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
},
|
|
32
33
|
"repository": {
|
|
33
34
|
"type": "git",
|
|
34
|
-
"url": "https://github.com/
|
|
35
|
+
"url": "https://github.com/QwikDev/qwik.git",
|
|
35
36
|
"directory": "packages/eslint-rules"
|
|
36
37
|
},
|
|
37
38
|
"scripts": {
|