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