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