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