@unizap/unicss 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js ADDED
@@ -0,0 +1,131 @@
1
+ var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports);var bh=N((mG,gh)=>{gh.exports={theme:{extend:{breakpoints:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem",portrait:"(orientation: portrait)",landscape:"(orientation: landscape)"},rootClass:{"container-3xs":"16rem","container-2xs":"18rem","container-xs":"20rem","container-sm":"24rem","container-md":"28rem","container-lg":"32rem","container-xl":"36rem","container-2xl":"42rem","container-3xl":"48rem","container-4xl":"56rem","container-5xl":"64rem","container-6xl":"72rem","container-7xl":"80rem","text-xs":"0.75rem","text-sm":"0.875rem","text-base":"1rem","text-lg":"1.125rem","text-xl":"1.25rem","text-2xl":"1.5rem","text-3xl":"1.875rem","text-4xl":"2.25rem","text-5xl":"3rem","text-6xl":"3.75rem","text-7xl":"4.5rem","text-8xl":"6rem","text-9xl":"8rem","radius-xs":"0.125rem","radius-sm":"0.25rem","radius-md":"0.375rem","radius-lg":"0.5rem","radius-xl":"0.75rem","radius-2xl":"1rem","radius-3xl":"1.5rem","radius-4xl":"2rem","blur-xs":"4px","blur-sm":"8px","blur-md":"12px","blur-lg":"16px","blur-xl":"24px","blur-2xl":"32px","blur-3xl":"40px","blur-4xl":"48px","blur-5xl":"64px"},colors:{"color-white":"oklch(100% 0 0)","color-black":"oklch(0% 0 0)","color-inherit":"inherit","color-transparent":"transparent","color-current":"currentColor","color-red-50":"oklch(97.1% 0.013 17.38)","color-red-100":"oklch(93.6% 0.032 17.717)","color-red-200":"oklch(88.5% 0.062 18.334)","color-red-300":"oklch(80.8% 0.114 19.571)","color-red-400":"oklch(70.4% 0.191 22.216)","color-red-500":"oklch(63.7% 0.237 25.331)","color-red-600":"oklch(57.7% 0.245 27.325)","color-red-700":"oklch(50.5% 0.213 27.518)","color-red-800":"oklch(44.4% 0.177 26.899)","color-red-900":"oklch(39.6% 0.141 25.723)","color-red-950":"oklch(25.8% 0.092 26.042)","color-orange-50":"oklch(98% 0.016 73.684)","color-orange-100":"oklch(95.4% 0.038 75.164)","color-orange-200":"oklch(90.1% 0.076 70.697)","color-orange-300":"oklch(83.7% 0.128 66.29)","color-orange-400":"oklch(75% 0.183 55.934)","color-orange-500":"oklch(70.5% 0.213 47.604)","color-orange-600":"oklch(64.6% 0.222 41.116)","color-orange-700":"oklch(55.3% 0.195 38.402)","color-orange-800":"oklch(47% 0.157 37.304)","color-orange-900":"oklch(40.8% 0.123 38.172)","color-orange-950":"oklch(26.6% 0.079 36.259)","color-amber-50":"oklch(98.7% 0.022 95.277)","color-amber-100":"oklch(96.2% 0.059 95.617)","color-amber-200":"oklch(92.4% 0.12 95.746)","color-amber-300":"oklch(87.9% 0.169 91.605)","color-amber-400":"oklch(82.8% 0.189 84.429)","color-amber-500":"oklch(76.9% 0.188 70.08)","color-amber-600":"oklch(66.6% 0.179 58.318)","color-amber-700":"oklch(55.5% 0.163 48.998)","color-amber-800":"oklch(47.3% 0.137 46.201)","color-amber-900":"oklch(41.4% 0.112 45.904)","color-amber-950":"oklch(27.9% 0.077 45.635)","color-yellow-50":"oklch(98.7% 0.026 102.212)","color-yellow-100":"oklch(97.3% 0.071 103.193)","color-yellow-200":"oklch(94.5% 0.129 101.54)","color-yellow-300":"oklch(90.5% 0.182 98.111)","color-yellow-400":"oklch(85.2% 0.199 91.936)","color-yellow-500":"oklch(79.5% 0.184 86.047)","color-yellow-600":"oklch(68.1% 0.162 75.834)","color-yellow-700":"oklch(55.4% 0.135 66.442)","color-yellow-800":"oklch(47.6% 0.114 61.907)","color-yellow-900":"oklch(42.1% 0.095 57.708)","color-yellow-950":"oklch(28.6% 0.066 53.813)","color-lime-50":"oklch(98.6% 0.031 120.757)","color-lime-100":"oklch(96.7% 0.067 122.328)","color-lime-200":"oklch(93.8% 0.127 124.321)","color-lime-300":"oklch(89.7% 0.196 126.665)","color-lime-400":"oklch(84.1% 0.238 128.85)","color-lime-500":"oklch(76.8% 0.233 130.85)","color-lime-600":"oklch(64.8% 0.2 131.684)","color-lime-700":"oklch(53.2% 0.157 131.589)","color-lime-800":"oklch(45.3% 0.124 130.933)","color-lime-900":"oklch(40.5% 0.101 131.063)","color-lime-950":"oklch(27.4% 0.072 132.109)","color-green-50":"oklch(98.2% 0.018 155.826)","color-green-100":"oklch(96.2% 0.044 156.743)","color-green-200":"oklch(92.5% 0.084 155.995)","color-green-300":"oklch(87.1% 0.15 154.449)","color-green-400":"oklch(79.2% 0.209 151.711)","color-green-500":"oklch(72.3% 0.219 149.579)","color-green-600":"oklch(62.7% 0.194 149.214)","color-green-700":"oklch(52.7% 0.154 150.069)","color-green-800":"oklch(44.8% 0.119 151.328)","color-green-900":"oklch(39.3% 0.095 152.535)","color-green-950":"oklch(26.6% 0.065 152.934)","color-emerald-50":"oklch(97.9% 0.021 166.113)","color-emerald-100":"oklch(95% 0.052 163.051)","color-emerald-200":"oklch(90.5% 0.093 164.15)","color-emerald-300":"oklch(84.5% 0.143 164.978)","color-emerald-400":"oklch(76.5% 0.177 163.223)","color-emerald-500":"oklch(69.6% 0.17 162.48)","color-emerald-600":"oklch(59.6% 0.145 163.225)","color-emerald-700":"oklch(50.8% 0.118 165.612)","color-emerald-800":"oklch(43.2% 0.095 166.913)","color-emerald-900":"oklch(37.8% 0.077 168.94)","color-emerald-950":"oklch(26.2% 0.051 172.552)","color-teal-50":"oklch(98.4% 0.014 180.72)","color-teal-100":"oklch(95.3% 0.051 180.801)","color-teal-200":"oklch(91% 0.096 180.426)","color-teal-300":"oklch(85.5% 0.138 181.071)","color-teal-400":"oklch(77.7% 0.152 181.912)","color-teal-500":"oklch(70.4% 0.14 182.503)","color-teal-600":"oklch(60% 0.118 184.704)","color-teal-700":"oklch(51.1% 0.096 186.391)","color-teal-800":"oklch(43.7% 0.078 188.216)","color-teal-900":"oklch(38.6% 0.063 188.416)","color-teal-950":"oklch(27.7% 0.046 192.524)","color-cyan-50":"oklch(98.4% 0.019 200.873)","color-cyan-100":"oklch(95.6% 0.045 203.388)","color-cyan-200":"oklch(91.7% 0.08 205.041)","color-cyan-300":"oklch(86.5% 0.127 207.078)","color-cyan-400":"oklch(78.9% 0.154 211.53)","color-cyan-500":"oklch(71.5% 0.143 215.221)","color-cyan-600":"oklch(60.9% 0.126 221.723)","color-cyan-700":"oklch(52% 0.105 223.128)","color-cyan-800":"oklch(45% 0.085 224.283)","color-cyan-900":"oklch(39.8% 0.07 227.392)","color-cyan-950":"oklch(30.2% 0.056 229.695)","color-sky-50":"oklch(97.7% 0.013 236.62)","color-sky-100":"oklch(95.1% 0.026 236.824)","color-sky-200":"oklch(90.1% 0.058 230.902)","color-sky-300":"oklch(82.8% 0.111 230.318)","color-sky-400":"oklch(74.6% 0.16 232.661)","color-sky-500":"oklch(68.5% 0.169 237.323)","color-sky-600":"oklch(58.8% 0.158 241.966)","color-sky-700":"oklch(50% 0.134 242.749)","color-sky-800":"oklch(44.3% 0.11 240.79)","color-sky-900":"oklch(39.1% 0.09 240.876)","color-sky-950":"oklch(29.3% 0.066 243.157)","color-blue-50":"oklch(97% 0.014 254.604)","color-blue-100":"oklch(93.2% 0.032 255.585)","color-blue-200":"oklch(88.2% 0.059 254.128)","color-blue-300":"oklch(80.9% 0.105 251.813)","color-blue-400":"oklch(70.7% 0.165 254.624)","color-blue-500":"oklch(62.3% 0.214 259.815)","color-blue-600":"oklch(54.6% 0.245 262.881)","color-blue-700":"oklch(48.8% 0.243 264.376)","color-blue-800":"oklch(42.4% 0.199 265.638)","color-blue-900":"oklch(37.9% 0.146 265.522)","color-blue-950":"oklch(28.2% 0.091 267.935)","color-indigo-50":"oklch(96.2% 0.018 272.314)","color-indigo-100":"oklch(93% 0.034 272.788)","color-indigo-200":"oklch(87% 0.065 274.039)","color-indigo-300":"oklch(78.5% 0.115 274.713)","color-indigo-400":"oklch(67.3% 0.182 276.935)","color-indigo-500":"oklch(58.5% 0.233 277.117)","color-indigo-600":"oklch(51.1% 0.262 276.966)","color-indigo-700":"oklch(45.7% 0.24 277.023)","color-indigo-800":"oklch(39.8% 0.195 277.366)","color-indigo-900":"oklch(35.9% 0.144 278.697)","color-indigo-950":"oklch(25.7% 0.09 281.288)","color-violet-50":"oklch(96.9% 0.016 293.756)","color-violet-100":"oklch(94.3% 0.029 294.588)","color-violet-200":"oklch(89.4% 0.057 293.283)","color-violet-300":"oklch(81.1% 0.111 293.571)","color-violet-400":"oklch(70.2% 0.183 293.541)","color-violet-500":"oklch(60.6% 0.25 292.717)","color-violet-600":"oklch(54.1% 0.281 293.009)","color-violet-700":"oklch(49.1% 0.27 292.581)","color-violet-800":"oklch(43.2% 0.232 292.759)","color-violet-900":"oklch(38% 0.189 293.745)","color-violet-950":"oklch(28.3% 0.141 291.089)","color-purple-50":"oklch(97.7% 0.014 308.299)","color-purple-100":"oklch(94.6% 0.033 307.174)","color-purple-200":"oklch(90.2% 0.063 306.703)","color-purple-300":"oklch(82.7% 0.119 306.383)","color-purple-400":"oklch(71.4% 0.203 305.504)","color-purple-500":"oklch(62.7% 0.265 303.9)","color-purple-600":"oklch(55.8% 0.288 302.321)","color-purple-700":"oklch(49.6% 0.265 301.924)","color-purple-800":"oklch(43.8% 0.218 303.724)","color-purple-900":"oklch(38.1% 0.176 304.987)","color-purple-950":"oklch(29.1% 0.149 302.717)","color-fuchsia-50":"oklch(97.7% 0.017 320.058)","color-fuchsia-100":"oklch(95.2% 0.037 318.852)","color-fuchsia-200":"oklch(90.3% 0.076 319.62)","color-fuchsia-300":"oklch(83.3% 0.145 321.434)","color-fuchsia-400":"oklch(74% 0.238 322.16)","color-fuchsia-500":"oklch(66.7% 0.295 322.15)","color-fuchsia-600":"oklch(59.1% 0.293 322.896)","color-fuchsia-700":"oklch(51.8% 0.253 323.949)","color-fuchsia-800":"oklch(45.2% 0.211 324.591)","color-fuchsia-900":"oklch(40.1% 0.17 325.612)","color-fuchsia-950":"oklch(29.3% 0.136 325.661)","color-pink-50":"oklch(97.1% 0.014 343.198)","color-pink-100":"oklch(94.8% 0.028 342.258)","color-pink-200":"oklch(89.9% 0.061 343.231)","color-pink-300":"oklch(82.3% 0.12 346.018)","color-pink-400":"oklch(71.8% 0.202 349.761)","color-pink-500":"oklch(65.6% 0.241 354.308)","color-pink-600":"oklch(59.2% 0.249 0.584)","color-pink-700":"oklch(52.5% 0.223 3.958)","color-pink-800":"oklch(45.9% 0.187 3.815)","color-pink-900":"oklch(40.8% 0.153 2.432)","color-pink-950":"oklch(28.4% 0.109 3.907)","color-rose-50":"oklch(96.9% 0.015 12.422)","color-rose-100":"oklch(94.1% 0.03 12.58)","color-rose-200":"oklch(89.2% 0.058 10.001)","color-rose-300":"oklch(81% 0.117 11.638)","color-rose-400":"oklch(71.2% 0.194 13.428)","color-rose-500":"oklch(64.5% 0.246 16.439)","color-rose-600":"oklch(58.6% 0.253 17.585)","color-rose-700":"oklch(51.4% 0.222 16.935)","color-rose-800":"oklch(45.5% 0.188 13.697)","color-rose-900":"oklch(41% 0.159 10.272)","color-rose-950":"oklch(27.1% 0.105 12.094)","color-slate-50":"oklch(98.4% 0.003 247.858)","color-slate-100":"oklch(96.8% 0.007 247.896)","color-slate-200":"oklch(92.9% 0.013 255.508)","color-slate-300":"oklch(86.9% 0.022 252.894)","color-slate-400":"oklch(70.4% 0.04 256.788)","color-slate-500":"oklch(55.4% 0.046 257.417)","color-slate-600":"oklch(44.6% 0.043 257.281)","color-slate-700":"oklch(37.2% 0.044 257.287)","color-slate-800":"oklch(27.9% 0.041 260.031)","color-slate-900":"oklch(20.8% 0.042 265.755)","color-slate-950":"oklch(12.9% 0.042 264.695)","color-gray-50":"oklch(98.5% 0.002 247.839)","color-gray-100":"oklch(96.7% 0.003 264.542)","color-gray-200":"oklch(92.8% 0.006 264.531)","color-gray-300":"oklch(87.2% 0.01 258.338)","color-gray-400":"oklch(70.7% 0.022 261.325)","color-gray-500":"oklch(55.1% 0.027 264.364)","color-gray-600":"oklch(44.6% 0.03 256.802)","color-gray-700":"oklch(37.3% 0.034 259.733)","color-gray-800":"oklch(27.8% 0.033 256.848)","color-gray-900":"oklch(21% 0.034 264.665)","color-gray-950":"oklch(13% 0.028 261.692)","color-zinc-50":"oklch(98.5% 0.001 106.423)","color-zinc-100":"oklch(96.7% 0.001 106.424)","color-zinc-200":"oklch(92% 0.004 286.32)","color-zinc-300":"oklch(87.1% 0.006 286.286)","color-zinc-400":"oklch(70.5% 0.015 286.067)","color-zinc-500":"oklch(55.2% 0.016 285.938)","color-zinc-600":"oklch(44.2% 0.017 285.786)","color-zinc-700":"oklch(37% 0.013 285.805)","color-zinc-800":"oklch(27.4% 0.006 286.033)","color-zinc-900":"oklch(21% 0.006 285.885)","color-zinc-950":"oklch(14.1% 0.005 285.823)","color-neutral-50":"oklch(98.5% 0 0)","color-neutral-100":"oklch(97% 0 0)","color-neutral-200":"oklch(92.2% 0 0)","color-neutral-300":"oklch(87% 0 0)","color-neutral-400":"oklch(70.8% 0 0)","color-neutral-500":"oklch(55.6% 0 0)","color-neutral-600":"oklch(43.9% 0 0)","color-neutral-700":"oklch(37.1% 0 0)","color-neutral-800":"oklch(26.9% 0 0)","color-neutral-900":"oklch(20.5% 0 0)","color-neutral-950":"oklch(14.5% 0 0)","color-stone-50":"oklch(98.5% 0.001 106.423)","color-stone-100":"oklch(97% 0.001 106.424)","color-stone-200":"oklch(92.3% 0.003 48.717)","color-stone-300":"oklch(86.9% 0.005 56.366)","color-stone-400":"oklch(70.9% 0.01 56.259)","color-stone-500":"oklch(55.3% 0.013 58.071)","color-stone-600":"oklch(44.4% 0.011 73.639)","color-stone-700":"oklch(37.4% 0.01 67.558)","color-stone-800":"oklch(26.8% 0.007 34.298)","color-stone-900":"oklch(21.6% 0.006 56.043)","color-stone-950":"oklch(14.7% 0.004 49.25)"},spacing:{0:"0rem",1:"0.25rem",2:"0.5rem",3:"0.75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",18:"4.5rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem",112:"28rem",128:"32rem"},layout:{padding:{"p-px":"1px"},"padding-inline":{"px-px":"1px"},"padding-block":{"py-px":"1px"},"padding-top":{"pt-px":"1px"},"padding-right":{"pr-px":"1px"},"padding-bottom":{"pb-px":"1px"},"padding-left":{"pl-px":"1px"},margin:{"m-px":"1px","-m-px":"-1px"},"margin-inline":{"mx-px":"1px","-mx-px":"-1px","mx-auto":"auto"},"margin-block":{"my-px":"1px","-my-px":"-1px","my-auto":"auto"},"margin-top":{"mt-px":"1px","-mt-px":"-1px"},"margin-right":{"mr-px":"1px","-mr-px":"-1px"},"margin-bottom":{"mb-px":"1px","-mb-px":"-1px"},"margin-left":{"ml-px":"1px","-ml-px":"-1px"},"aspect-ratio":{"aspect-square":"1 / 1","aspect-video":"16 / 9","aspect-portrait":"9 / 16","aspect-auto":"auto"},columns:{"columns-auto":"auto","columns-none":"none","columns-3xs":"var(--container-3xs)","columns-2xs":"var(--container-2xs)","columns-xs":"var(--container-xs)","columns-sm":"var(--container-sm)","columns-md":"var(--container-md)","columns-lg":"var(--container-lg)","columns-xl":"var(--container-xl)","columns-2xl":"var(--container-2xl)","columns-3xl":"var(--container-3xl)","columns-4xl":"var(--container-4xl)","columns-5xl":"var(--container-5xl)","columns-6xl":"var(--container-6xl)","columns-7xl":"var(--container-7xl)"},"break-after":{"break-after-auto":"auto","break-after-avoid":"avoid","break-after-all":"all","break-after-avoid-page":"avoid-page","break-after-page":"page","break-after-column":"column"},"break-before":{"break-before-auto":"auto","break-before-avoid":"avoid","break-before-all":"all","break-before-avoid-page":"avoid-page","break-before-page":"page","break-before-column":"column"},"break-inside":{"break-inside-auto":"auto","break-inside-avoid":"avoid","break-inside-avoid-page":"avoid-page","break-inside-avoid-column":"avoid-column"},"box-decoration-break":{"box-decoration-slice":"slice","box-decoration-clone":"clone"},"box-sizing":{"box-border":"border-box","box-content":"content-box"},display:{block:"block",hidden:"none","inline-block":"inline-block",inline:"inline",flex:"flex","inline-flex":"inline-flex",grid:"grid","inline-grid":"inline-grid",table:"table",contents:"contents","list-item":"list-item","flow-root":"flow-root","inline-table":"inline-table","table-caption":"table-caption","table-cell":"table-cell","table-column":"table-column","table-column-group":"table-column-group","table-footer-group":"table-footer-group","table-header-group":"table-header-group","table-row-group":"table-row-group","table-row":"table-row"},float:{"float-right":"right","float-left":"left","float-none":"none","float-start":"inline-start","float-end":"inline-end"},clear:{"clear-left":"left","clear-right":"right","clear-both":"both","clear-none":"none","clear-start":"inline-start","clear-end":"inline-end"},isolation:{"isolation-auto":"auto","isolation-isolate":"isolate"},"object-fit":{"object-contain":"contain","object-cover":"cover","object-fill":"fill","object-none":"none","object-scale-down":"scale-down"},"object-position":{"object-center":"center","object-top":"top","object-bottom":"bottom","object-left":"left","object-right":"right","object-top-left":"top left","object-top-right":"top right","object-bottom-left":"bottom left","object-bottom-right":"bottom right"},overflow:{"overflow-auto":"auto","overflow-hidden":"hidden","overflow-visible":"visible","overflow-scroll":"scroll"},"overflow-x":{"overflow-x-hidden":"hidden","overflow-x-visible":"visible","overflow-x-scroll":"scroll","overflow-x-auto":"auto"},"overflow-y":{"overflow-y-hidden":"hidden","overflow-y-visible":"visible","overflow-y-scroll":"scroll","overflow-y-auto":"auto"},"overscroll-behavior":{"overscroll-auto":"auto","overscroll-contain":"contain","overscroll-none":"none"},"overscroll-behavior-x":{"overscroll-x-auto":"auto","overscroll-x-contain":"contain","overscroll-x-none":"none"},"overscroll-behavior-y":{"overscroll-y-auto":"auto","overscroll-y-contain":"contain","overscroll-y-none":"none"},position:{static:"static",fixed:"fixed",absolute:"absolute",relative:"relative",sticky:"sticky"},inset:{"inset-px":"1px","-inset-px":"-1px","inset-full":"100%","-inset-full":"-100%","inset-auto":"auto"},"inset-inline":{"inset-x-px":"1px","-inset-x-px":"-1px","inset-x-full":"100%","-inset-x-full":"-100%","inset-x-auto":"auto"},"inset-inset-block":{"inset-y-px":"1px","-inset-y-px":"-1px","inset-y-full":"100%","-inset-y-full":"-100%","inset-y-auto":"auto"},top:{"top-px":"1px","-top-px":"-1px","top-full":"100%","-top-full":"-100%","top-auto":"auto"},right:{"right-px":"1px","-right-px":"-1px","right-full":"100%","-right-full":"-100%","right-auto":"auto"},bottom:{"bottom-px":"1px","-bottom-px":"-1px","bottom-full":"100%","-bottom-full":"-100%","bottom-auto":"auto"},left:{"left-px":"1px","-left-px":"-1px","left-full":"100%","-left-full":"-100%","left-auto":"auto"},visibility:{visible:"visible",invisible:"hidden",collapse:"collapse"}},flexGrid:{"flex-basis":{"basis-full":"100%","basis-1/2":"50%","basis-auto":"auto","basis-1/3":"33.333333%","basis-3xs":"var(--container-3xs)","basis-2xs":"var(--container-2xs)","basis-xs":"var(--container-xs)","basis-sm":"var(--container-sm)","basis-md":"var(--container-md)","basis-lg":"var(--container-lg)","basis-xl":"var(--container-xl)","basis-2xl":"var(--container-2xl)","basis-3xl":"var(--container-3xl)","basis-4xl":"var(--container-4xl)","basis-5xl":"var(--container-5xl)","basis-6xl":"var(--container-6xl)","basis-7xl":"var(--container-7xl)"},"flex-direction":{"flex-row":"row","flex-row-reverse":"row-reverse","flex-col":"column","flex-col-reverse":"column-reverse"},"flex-wrap":{"flex-wrap":"wrap","flex-wrap-reverse":"wrap-reverse","flex-nowrap":"nowrap"},flex:{"flex-auto":"1 1 auto","flex-initial":"0 1 auto","flex-none":"none"},"flex-grow":{grow:"1"},"flex-shrink":{shrink:"1"},order:{"order-first":"calc(-infinity)","order-last":"calc(infinity)","order-none":"0"},"grid-template-columns":{"grid-columns-none":"none","grid-columns-subgrid":"subgrid"},"grid-column":{"col-span-full":"1 / -1","col-auto":"auto"},"grid-column-start":{"col-start-auto":"auto"},"grid-column-end":{"col-end-auto":"auto"},"grid-template-rows":{"grid-rows-none":"none","grid-rows-subgrid":"subgrid"},"grid-row":{"row-span-full":"1 / -1","row-auto":"auto"},"grid-row-start":{"row-start-auto":"auto"},"grid-row-end":{"row-end-auto":"auto"},"grid-auto-flow":{"grid-flow-row":"row","grid-flow-col":"column","grid-flow-dense":"dense","grid-flow-row-dense":"row dense","grid-flow-col-dense":"column dense"},"grid-auto-columns":{"auto-columns-auto":"auto","auto-columns-min":"min-content","auto-columns-max":"max-content","auto-columns-fr":"minmax(0, 1fr)"},"grid-auto-rows":{"auto-rows-auto":"auto","auto-rows-min":"min-content","auto-rows-max":"max-content","auto-rows-fr":"minmax(0, 1fr)"},gap:{"gap-px":"1px"},"column-gap":{"gap-x-px":"1px"},"row-gap":{"gap-y-px":"1px"},"justify-content":{"justify-start":"flex-start","justify-end":"flex-end","justify-end-safe":"safe flex-end","justify-center":"center","justify-center-safe":"safe center","justify-between":"space-between","justify-around":"space-around","justify-evenly":"space-evenly","justify-stretch":"stretch","justify-normal":"normal","justify-baseline":"baseline"},"justify-items":{"justify-items-start":"start","justify-items-end":"end","justify-items-end-safe":"safe end","justify-items-center":"center","justify-items-center-safe":"safe center","justify-items-stretch":"stretch","justify-items-normal":"normal"},"justify-self":{"justify-self-auto":"auto","justify-self-start":"start","justify-self-center":"center","justify-self-center-safe":"safe center","justify-self-end":"end","justify-self-end-safe":"safe end","justify-self-stretch":"stretch","justify-self-normal":"normal"},"align-content":{"content-start":"flex-start","content-end":"flex-end","content-center":"center","content-between":"space-between","content-around":"space-around","content-evenly":"space-evenly","content-stretch":"stretch","content-normal":"normal","content-baseline":"baseline"},"align-items":{"items-start":"flex-start","items-end":"flex-end","items-center":"center","items-baseline":"baseline","items-stretch":"stretch","items-normal":"normal","items-end-safe":"safe flex-end","items-center-safe":"safe center","items-baseline-last":"last baseline"},"align-self":{"self-auto":"auto","self-start":"flex-start","self-end":"flex-end","self-end-safe":"safe flex-end","self-center":"center","self-center-safe":"safe center","self-stretch":"stretch","self-baseline":"baseline","self-baseline-last":"last baseline"},"place-content":{"place-content-center":"center","place-content-center-safe":"safe center","place-content-stretch":"stretch","place-content-normal":"normal","place-content-baseline":"baseline","place-content-end-safe":"safe flex-end","place-content-baseline-last":"last baseline","place-content-start":"flex-start","place-content-end":"flex-end","place-content-between":"space-between","place-content-around":"space-around","place-content-evenly":"space-evenly"},"place-items":{"place-items-start":"start","place-items-end":"end","place-items-end-safe":"safe end","place-items-center":"center","place-items-center-safe":"safe center","place-items-stretch":"stretch","place-item-baseline":"baseline"},"place-self":{"place-self-auto":"auto","place-self-start":"start","place-self-center":"center","place-self-center-safe":"safe center","place-self-end":"end","place-self-end-safe":"safe end","place-self-stretch":"stretch"}},sizing:{width:{"w-3xs":"var(--container-3xs)","w-2xs":"var(--container-2xs)","w-xs":"var(--container-xs)","w-sm":"var(--container-sm)","w-md":"var(--container-md)","w-lg":"var(--container-lg)","w-xl":"var(--container-xl)","w-2xl":"var(--container-2xl)","w-3xl":"var(--container-3xl)","w-4xl":"var(--container-4xl)","w-5xl":"var(--container-5xl)","w-6xl":"var(--container-6xl)","w-7xl":"var(--container-7xl)","w-full":"100%","w-auto":"auto","w-px":"1px","w-screen":"100vw","w-min":"min-content","w-max":"max-content","w-fit":"fit-content","w-dvw":"100dvw","w-dvh":"100dvh","w-lvw":"100lvw","w-lvh":"100lvh","w-svw":"100svw","w-svh":"100svh"},"min-width":{"min-w-3xs":"var(--container-3xs)","min-w-2xs":"var(--container-2xs)","min-w-xs":"var(--container-xs)","min-w-sm":"var(--container-sm)","min-w-md":"var(--container-md)","min-w-lg":"var(--container-lg)","min-w-xl":"var(--container-xl)","min-w-2xl":"var(--container-2xl)","min-w-3xl":"var(--container-3xl)","min-w-4xl":"var(--container-4xl)","min-w-5xl":"var(--container-5xl)","min-w-6xl":"var(--container-6xl)","min-w-7xl":"var(--container-7xl)","min-w-full":"100%","min-w-auto":"auto","min-w-min":"min-content","min-w-max":"max-content","min-w-fit":"fit-content","min-w-screen":"100vw","min-w-dvw":"100dvw","min-w-dvh":"100dvh","min-w-lvw":"100lvw","min-w-lvh":"100lvh","min-w-svw":"100svw","min-w-svh":"100svh","min-w-px":"1px"},"max-width":{"max-w-3xs":"var(--container-3xs)","max-w-2xs":"var(--container-2xs)","max-w-xs":"var(--container-xs)","max-w-sm":"var(--container-sm)","max-w-md":"var(--container-md)","max-w-lg":"var(--container-lg)","max-w-xl":"var(--container-xl)","max-w-2xl":"var(--container-2xl)","max-w-3xl":"var(--container-3xl)","max-w-4xl":"var(--container-4xl)","max-w-5xl":"var(--container-5xl)","max-w-6xl":"var(--container-6xl)","max-w-7xl":"var(--container-7xl)","max-w-full":"100%","max-w-auto":"auto","max-w-min":"min-content","max-w-max":"max-content","max-w-fit":"fit-content","max-w-screen":"100vw","max-w-dvw":"100dvw","max-w-dvh":"100dvh","max-w-lvw":"100lvw","max-w-lvh":"100lvh","max-w-svw":"100svw","max-w-svh":"100svh","max-w-px":"1px"},height:{"h-3xs":"var(--container-3xs)","h-2xs":"var(--container-2xs)","h-xs":"var(--container-xs)","h-sm":"var(--container-sm)","h-md":"var(--container-md)","h-lg":"var(--container-lg)","h-xl":"var(--container-xl)","h-2xl":"var(--container-2xl)","h-3xl":"var(--container-3xl)","h-4xl":"var(--container-4xl)","h-5xl":"var(--container-5xl)","h-6xl":"var(--container-6xl)","h-7xl":"var(--container-7xl)","h-auto":"auto","h-full":"100%","h-min":"min-content","h-max":"max-content","h-fit":"fit-content","h-px":"1px","h-screen":"100vh","h-dvh":"100dvh","h-lvh":"100lvh","h-svh":"100svh","h-dvw":"100dvw","h-lvw":"100lvw","h-svw":"100svw"},"min-height":{"min-h-3xs":"var(--container-3xs)","min-h-2xs":"var(--container-2xs)","min-h-xs":"var(--container-xs)","min-h-sm":"var(--container-sm)","min-h-md":"var(--container-md)","min-h-lg":"var(--container-lg)","min-h-xl":"var(--container-xl)","min-h-2xl":"var(--container-2xl)","min-h-3xl":"var(--container-3xl)","min-h-4xl":"var(--container-4xl)","min-h-5xl":"var(--container-5xl)","min-h-6xl":"var(--container-6xl)","min-h-7xl":"var(--container-7xl)","min-h-auto":"auto","min-h-full":"100%","min-h-min":"min-content","min-h-max":"max-content","min-h-fit":"fit-content","min-h-screen":"100vh","min-h-dvh":"100dvh","min-h-lvh":"100lvh","min-h-svh":"100svh","min-h-dvw":"100dvw","min-h-lvw":"100lvw","min-h-svw":"100svw","max-h-px":"1px"},"max-height":{"max-h-3xs":"var(--container-3xs)","max-h-2xs":"var(--container-2xs)","max-h-xs":"var(--container-xs)","max-h-sm":"var(--container-sm)","max-h-md":"var(--container-md)","max-h-lg":"var(--container-lg)","max-h-xl":"var(--container-xl)","max-h-2xl":"var(--container-2xl)","max-h-3xl":"var(--container-3xl)","max-h-4xl":"var(--container-4xl)","max-h-5xl":"var(--container-5xl)","max-h-6xl":"var(--container-6xl)","max-h-7xl":"var(--container-7xl)","max-h-auto":"auto","max-h-full":"100%","max-h-min":"min-content","max-h-max":"max-content","max-h-fit":"fit-content","max-h-screen":"100vh","max-h-dvh":"100dvh","max-h-lvh":"100lvh","max-h-svh":"100svh","max-h-dvw":"100dvw","max-h-lvw":"100lvw","max-h-svw":"100svw","max-h-px":"1px"}},typography:{"font-family":{"font-sans":'system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',"font-serif":'Georgia, Cambria, "Times New Roman", Times, serif',"font-mono":'"Courier New", Courier, monospace'},"font-size":{"text-xs":"var(--text-xs)","text-sm":"var(--text-sm)","text-base":"var(--text-base)","text-lg":"var(--text-lg)","text-xl":"var(--text-xl)","text-2xl":"var(--text-2xl)","text-3xl":"var(--text-3xl)","text-4xl":"var(--text-4xl)","text-5xl":"var(--text-5xl)","text-6xl":"var(--text-6xl)","text-7xl":"var(--text-7xl)","text-8xl":"var(--text-8xl)","text-9xl":"var(--text-9xl)"},"-webkit-font-smoothing":{antialiased:"antialiased","subpixel-antialiased":"auto"},"font-style":{italic:"italic","not-italic":"normal"},"font-weight":{"font-thin":"100","font-extralight":"200","font-light":"300","font-normal":"400","font-medium":"500","font-semibold":"600","font-bold":"700","font-extrabold":"800","font-black":"900"},"font-stretch":{"font-stretch-ultra-condensed":"ultra-condensed","font-stretch-extra-condensed":"extra-condensed","font-stretch-condensed":"condensed","font-stretch-semi-condensed":"semi-condensed","font-stretch-normal":"normal","font-stretch-semi-expanded":"semi-expanded","font-stretch-expanded":"expanded","font-stretch-extra-expanded":"extra-expanded","font-stretch-ultra-expanded":"ultra-expanded"},"font-variant-numeric":{"normal-nums":"normal","ordinal-nums":"ordinal","slashed-zero-nums":"slashed-zero","lining-nums":"lining-nums","oldstyle-nums":"oldstyle-nums","proportional-nums":"proportional-nums","tabular-nums":"tabular-nums","diagonal-fractions":"diagonal-fractions","stacked-fractions":"stacked-fractions"},"letter-spacing":{"tracking-tighter":"-0.05em","tracking-tight":"-0.025em","tracking-normal":"0em","tracking-wide":"0.025em","tracking-wider":"0.05em","tracking-widest":"0.1em"},"line-height":{"leading-none":"1","leading-tight":"1.25","leading-snug":"1.375","leading-normal":"1.5","leading-relaxed":"1.625","leading-loose":"2"},"list-style-image":{"list-image-none":"none"},"list-style-position":{"list-inside":"inside","list-outside":"outside"},"list-style-type":{"list-none":"none","list-disc":"disc","list-decimal":"decimal","list-square":"square","list-circle":"circle","list-upper-roman":"upper-roman"},"text-align":{"text-left":"left","text-center":"center","text-right":"right","text-justify":"justify","text-start":"start","text-end":"end"},color:{"text-color-inherit":"inherit","text-color-current":"currentColor","text-color-transparent":"transparent"},"text-decoration-line":{underline:"underline","line-through":"line-through","no-underline":"none",overline:"overline"},"text-decoration-color":{"decoration-inherit":"inherit","decoration-current":"currentColor","decoration-transparent":"transparent"},"text-decoration-style":{"decoration-solid":"solid","decoration-double":"double","decoration-dotted":"dotted","decoration-dashed":"dashed","decoration-wavy":"wavy"},"text-decoration-thickness":{"decoration-thick-auto":"auto","decoration-thick-from-font":"from-font"},"text-underline-offset":{"underline-offset-auto":"auto"},"text-transform":{uppercase:"uppercase",lowercase:"lowercase",capitalize:"capitalize","normal-case":"none"},"text-overflow":{"text-ellipsis":"ellipsis","text-clip":"clip"},"text-wrap":{"text-wrap":"wrap","text-nowrap":"nowrap","text-balance":"balance","text-pretty":"pretty"},"text-indent":{"indent-px":"1px","-indent-px":"-1px"},"vertical-align":{"align-baseline":"baseline","align-top":"top","align-middle":"middle","align-bottom":"bottom","align-text-top":"text-top","align-text-bottom":"text-bottom","align-sub":"sub","align-super":"super","align-inherit":"inherit"},"white-space":{"whitespace-normal":"normal","whitespace-nowrap":"nowrap","whitespace-pre":"pre","whitespace-pre-line":"pre-line","whitespace-pre-wrap":"pre-wrap","whitespace-break-spaces":"break-spaces"},"word-break":{"break-normal":"normal","break-all":"break-all","keep-all":"keep-all"},"overflow-wrap":{"wrap-break-word":"break-word","wrap-normal":"normal","wrap-anywhere":"anywhere"},hyphens:{"hyphens-none":"none","hyphens-manual":"manual","hyphens-auto":"auto"},content:{"content-none":" none"},direction:{ltr:"ltr",rtl:"rtl"}},background:{"background-attachment":{"bg-fixed":"fixed","bg-local":"local","bg-scroll":"scroll"},"background-clip":{"bg-clip-border":"border-box","bg-clip-padding":"padding-box","bg-clip-content":"content-box","bg-clip-text":"text"},"background-color":{"bg-color-inherit":"inherit","bg-color-current":"currentColor","bg-color-transparent":"transparent"},"background-image":{"bg-none":"none"},"background-origin":{"bg-origin-border":"border-box","bg-origin-padding":"padding-box","bg-origin-content":"content-box"},"background-position":{"bg-center":"center","bg-top":"top","bg-bottom":"bottom","bg-left":"left","bg-right":"right","bg-top-left":"top left","bg-top-right":"top right","bg-bottom-left":"bottom left","bg-bottom-right":"bottom right"},"background-repeat":{"bg-repeat":"repeat","bg-no-repeat":"no-repeat","bg-repeat-x":"repeat-x","bg-repeat-y":"repeat-y","bg-repeat-round":"round","bg-repeat-space":"space"},"background-size":{"bg-auto":"auto","bg-cover":"cover","bg-contain":"contain"}},border:{"border-radius":{rounded:"4px","rounded-none":"0px"},"border-width":{border:"1px","border-none":"0px"},"border-inline-width":{"border-x":"1px"},"border-block-width":{"border-y":"1px"},"border-top-width":{"border-t":"1px"},"border-right-width":{"border-r":"1px"},"border-bottom-width":{"border-b":"1px"},"border-left-width":{"border-l":"1px"},"border-color":{"border-inherit":"inherit","border-current":"currentColor","border-transparent":"transparent"},"outline-width":{outline:"1px"},"outline-color":{"outline-inherit":"inherit","outline-current":"currentColor","outline-transparent":"transparent"}},effects:{shadow:{"2xs":"0 1px var(--uni-shadow-color, rgb(0 0 0 / 0.05))",xs:" 0 1px 2px 0 var(--uni-shadow-color, rgb(0 0 0 / 0.05))",sm:"0 1px 3px 0 var(--uni-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--uni-shadow-color, rgb(0 0 0 / 0.1))",md:"0 4px 6px -1px var(--uni-shadow-color, rgb(0 0 0 / 0.1)), 0 2px 4px -2px var(--uni-shadow-color, rgb(0 0 0 / 0.1))",lg:"0 10px 15px -3px var(--uni-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--uni-shadow-color, rgb(0 0 0 / 0.1))",xl:" 0 20px 25px -5px var(--uni-shadow-color, rgb(0 0 0 / 0.1)), 0 8px 10px -6px var(--uni-shadow-color, rgb(0 0 0 / 0.1))","2xl":"0 25px 50px -12px var(--uni-shadow-color, rgb(0 0 0 / 0.25))",none:"0 0 #0000",inherit:"inherit",current:"currentColor",transparent:"transparent","inset-2xs":"inset 0 1px var(--uni-inset-shadow-color, rgb(0 0 0 / 0.05))","inset-xs":"inset 0 1px 1px var(--uni-inset-shadow-color, rgb(0 0 0 / 0.05))","inset-sm":"inset 0 2px 4px var(--uni-inset-shadow-color, rgb(0 0 0 / 0.05))","inset-md":"inset 0 4px 6px var(--uni-inset-shadow-color, rgb(0 0 0 / 0.05))","inset-lg":"inset 0 10px 15px var(--uni-inset-shadow-color,rgb(0 0 0 / 0.05))","inset-xl":"inset 0 20px 25px var(--uni-inset-shadow-color, rgb(0 0 0 / 0.05))","inset-2xl":"inset 0 25px 50px var(--uni-inset-shadow-color, rgb(0 0 0 / 0.25))","inset-none":"inset none","inset-inherit":"inset inherit","inset-current":"inset currentColor","inset-transparent":"inset transparent"},dropShadow:{xs:"0 1px 1px var(--uni-drop-shadow-color, rgb(0 0 0 / 0.15))",sm:"0 1px 2px var(--uni-drop-shadow-color, rgb(0 0 0 / 0.15))",md:"0 3px 3px var(--uni-drop-shadow-color, rgb(0 0 0 / 0.12))",lg:"0 4px 4px var(--uni-drop-shadow-color, rgb(0 0 0 / 0.15))",xl:"0 9px 7px var(--uni-drop-shadow-color, rgb(0 0 0 / 0.25))","2xl":" 0 15px 15px var(--uni-drop-shadow-color, rgb(0 0 0 / 0.35))",inherit:"inherit",current:"currentColor",transparent:"transparent",none:"none"},"text-shadow":{"text-shadow-2xs":" 0 1px 0px var(--uni-text-shadow-color, rgb(0 0 0 / 0.05))","text-shadow-xs":" 0px 1px 1px var(--uni-text-shadow-color, rgb(0 0 0 / 0.05))","text-shadow-sm":" 0px 1px 0px var(--uni-text-shadow-color, rgb(0 0 0 / 0.075)), 0px 1px 1px var(--uni-text-shadow-color, rgb(0 0 0 / 0.075)), 0px 2px 2px var(--uni-text-shadow-color, rgb(0 0 0 / 0.075))","text-shadow-md":"0px 1px 1px var(--uni-text-shadow-color, rgb(0 0 0 / 0.1)), 0px 1px 2px var(--uni-text-shadow-color, rgb(0 0 0 / 0.1)), 0px 2px 4px var(--uni-text-shadow-color, rgb(0 0 0 / 0.1))","text-shadow-lg":"0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px var(--uni-text-shadow-color, rgb(0 0 0 / 0.1)), 0px 4px 8px var(--uni-text-shadow-color, rgb(0 0 0 / 0.1)) ","text-shadow-none":"none","text-shadow-inherit":"inherit","text-shadow-current":"currentColor","text-shadow-transparent":"transparent"},"mix-blend-mode":{"mix-blend-normal":"normal","mix-blend-multiply":"multiply","mix-blend-screen":"screen","mix-blend-overlay":"overlay","mix-blend-darken":"darken","mix-blend-lighten":"lighten","mix-blend-color-dodge":"color-dodge","mix-blend-color-burn":"color-burn","mix-blend-hard-light":"hard-light","mix-blend-soft-light":"soft-light","mix-blend-difference":"difference","mix-blend-exclusion":"exclusion","mix-blend-hue":"hue","mix-blend-saturation":"saturation","mix-blend-color":"color","mix-blend-luminosity":"luminosity","mix-blend-plus-lighter":"plus-lighter","mix-blend-plus-darker":"plus-darker"},"background-blend-mode":{"bg-blend-normal":"normal","bg-blend-multiply":"multiply","bg-blend-screen":"screen","bg-blend-overlay":"overlay","bg-blend-darken":"darken","bg-blend-lighten":"lighten","bg-blend-color-dodge":"color-dodge","bg-blend-color-burn":"color-burn","bg-blend-hard-light":"hard-light","bg-blend-soft-light":"soft-light","bg-blend-difference":"difference","bg-blend-exclusion":"exclusion","bg-blend-hue":"hue","bg-blend-saturation":"saturation","bg-blend-color":"color","bg-blend-luminosity":"luminosity"},"mask-clip":{"mask-clip-content":"content-box","mask-clip-border":"border-box","mask-clip-padding":"padding-box","mask-clip-filled":"fill-box","mask-clip-stroke":"stroke-box","mask-clip-view-box":"view-box","mask-no-clip":"no-clip"},"mask-composite":{"mask-add":"add","mask-subtract":"subtract","mask-intersect":"intersect","mask-exclude":"exclude"},"mask-image":{"mask-image-none":"none"},"mask-position":{"mask-top-left":"top left","mask-top":"top","mask-top-right":"top right","mask-left":"left","mask-center":"center","mask-right":"right","mask-bottom-left":"bottom left","mask-bottom":"bottom","mask-bottom-right":"bottom right"},"mask-repeat":{"mask-repeat":"repeat","mask-repeat-x":"repeat-x","mask-repeat-y":"repeat-y","mask-no-repeat":"no-repeat","mask-repeat-round":"round","mask-repeat-space":"space"},"mask-mode":{"mask-luminance":"luminance","mask-alpha":"alpha","mask-match":"match-source"},"mask-origin":{"mask-origin-content":"content-box","mask-origin-border":"border-box","mask-origin-padding":"padding-box","mask-origin-view":"view-box","mask-origin-fill":"fill-box","mask-origin-stroke":"stroke-box"},"mask-size":{"mask-size-auto":"auto","mask-size-cover":"cover","mask-size-contain":"contain"}},table:{"border-collapse":{"border-collapse":"collapse","border-separate":"separate"},"table-layout":{"table-auto":"auto","table-fixed":"fixed"},"caption-side":{"caption-top":"top","caption-bottom":"bottom"}},transition:{"transition-property":{"transition-none":"none"},"transition-behavior":{"transition-normal":"normal","transition-discrete":"allow-discrete"},"transition-duration":{"duration-initial":"initial"},"transition-timing-function":{"ease-linear":"linear","ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)","ease-initial":"initial"},"animation-play-state":{"animation-running":"running","animation-paused":"paused"},"animation-direction":{"animation-normal":"normal","animation-reverse":"reverse","animation-alternate":"alternate","animation-alternate-reverse":"alternate-reverse"},"animation-fill-mode":{"animation-none":"none","animation-forwards":"forwards","animation-backwards":"backwards","animation-both":"both"}},transforms:{"backface-visibility":{"backface-visible":"visible","backface-hidden":"hidden"},perspective:{"perspective-dramatic":"100px","perspective-near":"300px","perspective-normal":"500px","perspective-midrange":"800px","perspective-distant":"1200px","perspective-none":"none"},"perspective-origin":{"perspective-origin-center":"center","perspective-origin-top":"top","perspective-origin-bottom":"bottom","perspective-origin-left":"left","perspective-origin-right":"right","perspective-origin-top-left":"top left","perspective-origin-top-right":"top right","perspective-origin-bottom-left":"bottom left","perspective-origin-bottom-right":"bottom right"},"transform-origin":{"origin-center":"center","origin-top":"top","origin-bottom":"bottom","origin-left":"left","origin-right":"right","origin-top-left":"top left","origin-top-right":"top right","origin-bottom-left":"bottom left","origin-bottom-right":"bottom right"},rotate:{"rotate-none":"none"},scale:{"scale-none":"none"},transform:{"transform-none":"none"},translate:{"translate-full":"100%","-translate-full":"-100%","translate-x-full":"100% var(--uni-translate-y)","-translate-x-full":"-100% var(--uni-translate-y)","translate-y-full":"var(--uni-translate-x) 100%","-translate-y-full":"var(--uni-translate-x) -100%","translate-none":"none","-translate-y-px":"var(--uni-translate-x) -1px","translate-y-px":"var(--uni-translate-x) 1px","-translate-x-px":"-1px var(--uni-translate-y)","translate-x-px":"1px var(--uni-translate-y)","translate-z-px":"var(--uni-translate-x) var(--uni-translate-y) 1px","-translate-z-px":"-var(--uni-translate-x) -var(--uni-translate-y) -1px"},"transform-style":{"transform-style-flat":"flat","transform-style-3d":"preserve-3d"}},interactivity:{appearance:{"appearance-none":"none","appearance-auto":"auto"},"color-scheme":{"scheme-light":"light","scheme-dark":"dark","scheme-normal":"normal","scheme-light-dark":"light dark","scheme-only-dark":"only dark","scheme-only-light":"only light"},cursor:{"cursor-auto":"auto","cursor-default":"default","cursor-pointer":"pointer","cursor-wait":"wait","cursor-text":"text","cursor-move":"move","cursor-help":"help","cursor-not-allowed":"not-allowed","cursor-none":"none","cursor-context-menu":"context-menu","cursor-progress":"progress","cursor-cell":"cell","cursor-crosshair":"crosshair","cursor-alias":"alias","cursor-copy":"copy","cursor-grab":"grab","cursor-grabbing":"grabbing","cursor-zoom-in":"zoom-in","cursor-zoom-out":"zoom-out","cursor-no-drop":"no-drop","cursor-all-scroll":"all-scroll","cursor-col-resize":"col-resize","cursor-row-resize":"row-resize","cursor-n-resize":"n-resize","cursor-ne-resize":"ne-resize","cursor-e-resize":"e-resize","cursor-se-resize":"se-resize","cursor-s-resize":"s-resize","cursor-sw-resize":"sw-resize","cursor-w-resize":"w-resize","cursor-nw-resize":"nw-resize","cursor-ew-resize":"ew-resize","cursor-ns-resize":"ns-resize","cursor-nesw-resize":"nesw-resize"},"field-sizing":{"field-sizing-fixed":"fixed","field-sizing-content":"content"},"pointer-events":{"pointer-events-none":"none","pointer-events-auto":"auto"},resize:{"resize-none":"none","resize-x":"horizontal","resize-y":"vertical",resize:"both"},"scroll-behavior":{"scroll-auto":"auto","scroll-smooth":"smooth"},"scroll-snap-align":{"snap-start":"start","snap-end":"end","snap-center":"center","snap-none":"none"},"scroll-snap-stop":{"snap-normal":"normal","snap-always":"always"},"scroll-snap-type":{"snap-none":"none","snap-x":"x","snap-x-mandatory":"x mandatory","snap-x-proximity":"x proximity","snap-y":"y","snap-y-mandatory":"y mandatory","snap-y-proximity":"y proximity","snap-block":"block","snap-block-mandatory":"block mandatory","snap-block-proximity":"block proximity","snap-inline":"inline","snap-inline-mandatory":"inline mandatory","snap-inline-proximity":"inline proximity","snap-both":"both","snap-both-mandatory":"both mandatory","snap-both-proximity":"both proximity"},"touch-action":{"touch-auto":"auto","touch-none":"none","touch-pan-x":"pan-x","touch-pan-left":"pan-left","touch-pan-right":"pan-right","touch-pan-y":"pan-y","touch-pan-up":"pan-up","touch-pan-down":"pan-down","touch-pinch-zoom":"pinch-zoom","touch-manipulation":"manipulation"},"user-select":{"select-none":"none","select-text":"text","select-all":"all","select-auto":"auto"},"will-change":{"will-change-auto":"auto","will-change-scroll":"scroll-position","will-change-contents":"contents","will-change-transform":"transform","will-change-opacity":"opacity","will-change-repaint":"repaint","will-change-layout":"layout"}},svg:{fill:{"fill-none":"none","fill-inherit":"inherit","fill-current":"currentColor","fill-transparent":"transparent"},stroke:{"stroke-none":"none","stroke-inherit":"inherit","stroke-current":"currentColor","stroke-transparent":"transparent"}}}}}});var Eh=N(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.range=Si.balanced=void 0;var fb=(t,e,r)=>{let i=t instanceof RegExp?Sh(t,r):t,s=e instanceof RegExp?Sh(e,r):e,n=i!==null&&s!=null&&(0,Si.range)(i,s,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+i.length,n[1]),post:r.slice(n[1]+s.length)}};Si.balanced=fb;var Sh=(t,e)=>{let r=e.match(t);return r?r[0]:null},hb=(t,e,r)=>{let i,s,n,a,o,l=r.indexOf(t),c=r.indexOf(e,l+1),u=l;if(l>=0&&c>0){if(t===e)return[l,c];for(i=[],n=r.length;u>=0&&!o;){if(u===l)i.push(u),l=r.indexOf(t,u+1);else if(i.length===1){let d=i.pop();d!==void 0&&(o=[d,c])}else s=i.pop(),s!==void 0&&s<n&&(n=s,a=c),c=r.indexOf(e,u+1);u=l<c&&l>=0?l:c}i.length&&a!==void 0&&(o=[n,a])}return o};Si.range=hb});var kh=N(sl=>{"use strict";Object.defineProperty(sl,"__esModule",{value:!0});sl.expand=wb;var Ph=Eh(),vh="\0SLASH"+Math.random()+"\0",Ah="\0OPEN"+Math.random()+"\0",il="\0CLOSE"+Math.random()+"\0",wh="\0COMMA"+Math.random()+"\0",Ch="\0PERIOD"+Math.random()+"\0",db=new RegExp(vh,"g"),mb=new RegExp(Ah,"g"),yb=new RegExp(il,"g"),Tb=new RegExp(wh,"g"),xb=new RegExp(Ch,"g"),gb=/\\\\/g,bb=/\\{/g,Sb=/\\}/g,Eb=/\\,/g,Pb=/\\./g;function rl(t){return isNaN(t)?t.charCodeAt(0):parseInt(t,10)}function vb(t){return t.replace(gb,vh).replace(bb,Ah).replace(Sb,il).replace(Eb,wh).replace(Pb,Ch)}function Ab(t){return t.replace(db,"\\").replace(mb,"{").replace(yb,"}").replace(Tb,",").replace(xb,".")}function Ih(t){if(!t)return[""];let e=[],r=(0,Ph.balanced)("{","}",t);if(!r)return t.split(",");let{pre:i,body:s,post:n}=r,a=i.split(",");a[a.length-1]+="{"+s+"}";let o=Ih(n);return n.length&&(a[a.length-1]+=o.shift(),a.push.apply(a,o)),e.push.apply(e,a),e}function wb(t){return t?(t.slice(0,2)==="{}"&&(t="\\{\\}"+t.slice(2)),Ls(vb(t),!0).map(Ab)):[]}function Cb(t){return"{"+t+"}"}function Ib(t){return/^-?0\d/.test(t)}function kb(t,e){return t<=e}function Nb(t,e){return t>=e}function Ls(t,e){let r=[],i=(0,Ph.balanced)("{","}",t);if(!i)return[t];let s=i.pre,n=i.post.length?Ls(i.post,!1):[""];if(/\$$/.test(i.pre))for(let a=0;a<n.length;a++){let o=s+"{"+i.body+"}"+n[a];r.push(o)}else{let a=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),o=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),l=a||o,c=i.body.indexOf(",")>=0;if(!l&&!c)return i.post.match(/,(?!,).*\}/)?(t=i.pre+"{"+i.body+il+i.post,Ls(t)):[t];let u;if(l)u=i.body.split(/\.\./);else if(u=Ih(i.body),u.length===1&&u[0]!==void 0&&(u=Ls(u[0],!1).map(Cb),u.length===1))return n.map(x=>i.pre+u[0]+x);let d;if(l&&u[0]!==void 0&&u[1]!==void 0){let x=rl(u[0]),E=rl(u[1]),v=Math.max(u[0].length,u[1].length),A=u.length===3&&u[2]!==void 0?Math.abs(rl(u[2])):1,I=kb;E<x&&(A*=-1,I=Nb);let j=u.some(Ib);d=[];for(let q=x;I(q,E);q+=A){let F;if(o)F=String.fromCharCode(q),F==="\\"&&(F="");else if(F=String(q),j){let U=v-F.length;if(U>0){let xe=new Array(U+1).join("0");q<0?F="-"+xe+F.slice(1):F=xe+F}}d.push(F)}}else{d=[];for(let x=0;x<u.length;x++)d.push.apply(d,Ls(u[x],!1))}for(let x=0;x<d.length;x++)for(let E=0;E<n.length;E++){let v=s+d[x]+n[E];(!e||l||v)&&r.push(v)}}return r}});var Nh=N(zn=>{"use strict";Object.defineProperty(zn,"__esModule",{value:!0});zn.assertValidPattern=void 0;var Ob=1024*64,_b=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Ob)throw new TypeError("pattern is too long")};zn.assertValidPattern=_b});var _h=N(Jn=>{"use strict";Object.defineProperty(Jn,"__esModule",{value:!0});Jn.parseClass=void 0;var Db={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},Ms=t=>t.replace(/[[\]\\-]/g,"\\$&"),Lb=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Oh=t=>t.join(""),Mb=(t,e)=>{let r=e;if(t.charAt(r)!=="[")throw new Error("not in a brace expression");let i=[],s=[],n=r+1,a=!1,o=!1,l=!1,c=!1,u=r,d="";e:for(;n<t.length;){let A=t.charAt(n);if((A==="!"||A==="^")&&n===r+1){c=!0,n++;continue}if(A==="]"&&a&&!l){u=n+1;break}if(a=!0,A==="\\"&&!l){l=!0,n++;continue}if(A==="["&&!l){for(let[I,[O,j,q]]of Object.entries(Db))if(t.startsWith(I,n)){if(d)return["$.",!1,t.length-r,!0];n+=I.length,q?s.push(O):i.push(O),o=o||j;continue e}}if(l=!1,d){A>d?i.push(Ms(d)+"-"+Ms(A)):A===d&&i.push(Ms(A)),d="",n++;continue}if(t.startsWith("-]",n+1)){i.push(Ms(A+"-")),n+=2;continue}if(t.startsWith("-",n+1)){d=A,n+=2;continue}i.push(Ms(A)),n++}if(u<n)return["",!1,0,!1];if(!i.length&&!s.length)return["$.",!1,t.length-r,!0];if(s.length===0&&i.length===1&&/^\\?.$/.test(i[0])&&!c){let A=i[0].length===2?i[0].slice(-1):i[0];return[Lb(A),!1,u-r,!1]}let x="["+(c?"^":"")+Oh(i)+"]",E="["+(c?"":"^")+Oh(s)+"]";return[i.length&&s.length?"("+x+"|"+E+")":i.length?x:E,o,u-r,!0]};Jn.parseClass=Mb});var Hn=N(Xn=>{"use strict";Object.defineProperty(Xn,"__esModule",{value:!0});Xn.unescape=void 0;var Fb=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/\[([^\/\\])\]/g,"$1"):t.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");Xn.unescape=Fb});var ol=N(Zn=>{"use strict";Object.defineProperty(Zn,"__esModule",{value:!0});Zn.AST=void 0;var Bb=_h(),Gn=Hn(),jb=new Set(["!","?","+","*","@"]),Dh=t=>jb.has(t),Rb="(?!(?:^|/)\\.\\.?(?:$|/))",Qn="(?!\\.)",qb=new Set(["[","."]),Ub=new Set(["..","."]),$b=new Set("().*{}+?[]^$\\!"),Kb=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),al="[^/]",Lh=al+"*?",Mh=al+"+?",nl=class t{type;#e;#t;#n=!1;#s=[];#a;#b;#T;#o=!1;#p;#l;#c=!1;constructor(e,r,i={}){this.type=e,e&&(this.#t=!0),this.#a=r,this.#e=this.#a?this.#a.#e:this,this.#p=this.#e===this?i:this.#e.#p,this.#T=this.#e===this?[]:this.#e.#T,e==="!"&&!this.#e.#o&&this.#T.push(this),this.#b=this.#a?this.#a.#s.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#s)if(typeof e!="string"&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l!==void 0?this.#l:this.type?this.#l=this.type+"("+this.#s.map(e=>String(e)).join("|")+")":this.#l=this.#s.map(e=>String(e)).join("")}#r(){if(this!==this.#e)throw new Error("should only call on root");if(this.#o)return this;this.toString(),this.#o=!0;let e;for(;e=this.#T.pop();){if(e.type!=="!")continue;let r=e,i=r.#a;for(;i;){for(let s=r.#b+1;!i.type&&s<i.#s.length;s++)for(let n of e.#s){if(typeof n=="string")throw new Error("string part in extglob AST??");n.copyIn(i.#s[s])}r=i,i=r.#a}}return this}push(...e){for(let r of e)if(r!==""){if(typeof r!="string"&&!(r instanceof t&&r.#a===this))throw new Error("invalid part: "+r);this.#s.push(r)}}toJSON(){let e=this.type===null?this.#s.slice().map(r=>typeof r=="string"?r:r.toJSON()):[this.type,...this.#s.map(r=>r.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#o&&this.#a?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#a?.isStart())return!1;if(this.#b===0)return!0;let e=this.#a;for(let r=0;r<this.#b;r++){let i=e.#s[r];if(!(i instanceof t&&i.type==="!"))return!1}return!0}isEnd(){if(this.#e===this||this.#a?.type==="!")return!0;if(!this.#a?.isEnd())return!1;if(!this.type)return this.#a?.isEnd();let e=this.#a?this.#a.#s.length:0;return this.#b===e-1}copyIn(e){typeof e=="string"?this.push(e):this.push(e.clone(this))}clone(e){let r=new t(this.type,e);for(let i of this.#s)r.copyIn(i);return r}static#f(e,r,i,s){let n=!1,a=!1,o=-1,l=!1;if(r.type===null){let E=i,v="";for(;E<e.length;){let A=e.charAt(E++);if(n||A==="\\"){n=!n,v+=A;continue}if(a){E===o+1?(A==="^"||A==="!")&&(l=!0):A==="]"&&!(E===o+2&&l)&&(a=!1),v+=A;continue}else if(A==="["){a=!0,o=E,l=!1,v+=A;continue}if(!s.noext&&Dh(A)&&e.charAt(E)==="("){r.push(v),v="";let I=new t(A,r);E=t.#f(e,I,E,s),r.push(I);continue}v+=A}return r.push(v),E}let c=i+1,u=new t(null,r),d=[],x="";for(;c<e.length;){let E=e.charAt(c++);if(n||E==="\\"){n=!n,x+=E;continue}if(a){c===o+1?(E==="^"||E==="!")&&(l=!0):E==="]"&&!(c===o+2&&l)&&(a=!1),x+=E;continue}else if(E==="["){a=!0,o=c,l=!1,x+=E;continue}if(Dh(E)&&e.charAt(c)==="("){u.push(x),x="";let v=new t(E,u);u.push(v),c=t.#f(e,v,c,s);continue}if(E==="|"){u.push(x),x="",d.push(u),u=new t(null,r);continue}if(E===")")return x===""&&r.#s.length===0&&(r.#c=!0),u.push(x),x="",r.push(...d,u),c;x+=E}return r.type=null,r.#t=void 0,r.#s=[e.substring(i-1)],c}static fromGlob(e,r={}){let i=new t(null,void 0,r);return t.#f(e,i,0,r),i}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[r,i,s,n]=this.toRegExpSource();if(!(s||this.#t||this.#p.nocase&&!this.#p.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()))return i;let o=(this.#p.nocase?"i":"")+(n?"u":"");return Object.assign(new RegExp(`^${r}$`,o),{_src:r,_glob:e})}get options(){return this.#p}toRegExpSource(e){let r=e??!!this.#p.dot;if(this.#e===this&&this.#r(),!this.type){let l=this.isStart()&&this.isEnd(),c=this.#s.map(E=>{let[v,A,I,O]=typeof E=="string"?t.#d(E,this.#t,l):E.toRegExpSource(e);return this.#t=this.#t||I,this.#n=this.#n||O,v}).join(""),u="";if(this.isStart()&&typeof this.#s[0]=="string"&&!(this.#s.length===1&&Ub.has(this.#s[0]))){let v=qb,A=r&&v.has(c.charAt(0))||c.startsWith("\\.")&&v.has(c.charAt(2))||c.startsWith("\\.\\.")&&v.has(c.charAt(4)),I=!r&&!e&&v.has(c.charAt(0));u=A?Rb:I?Qn:""}let d="";return this.isEnd()&&this.#e.#o&&this.#a?.type==="!"&&(d="(?:$|\\/)"),[u+c+d,(0,Gn.unescape)(c),this.#t=!!this.#t,this.#n]}let i=this.type==="*"||this.type==="+",s=this.type==="!"?"(?:(?!(?:":"(?:",n=this.#x(r);if(this.isStart()&&this.isEnd()&&!n&&this.type!=="!"){let l=this.toString();return this.#s=[l],this.type=null,this.#t=void 0,[l,(0,Gn.unescape)(this.toString()),!1,!1]}let a=!i||e||r||!Qn?"":this.#x(!0);a===n&&(a=""),a&&(n=`(?:${n})(?:${a})*?`);let o="";if(this.type==="!"&&this.#c)o=(this.isStart()&&!r?Qn:"")+Mh;else{let l=this.type==="!"?"))"+(this.isStart()&&!r&&!e?Qn:"")+Lh+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&a?")":this.type==="*"&&a?")?":`)${this.type}`;o=s+n+l}return[o,(0,Gn.unescape)(n),this.#t=!!this.#t,this.#n]}#x(e){return this.#s.map(r=>{if(typeof r=="string")throw new Error("string type in extglob ast??");let[i,s,n,a]=r.toRegExpSource(e);return this.#n=this.#n||a,i}).filter(r=>!(this.isStart()&&this.isEnd())||!!r).join("|")}static#d(e,r,i=!1){let s=!1,n="",a=!1;for(let o=0;o<e.length;o++){let l=e.charAt(o);if(s){s=!1,n+=($b.has(l)?"\\":"")+l;continue}if(l==="\\"){o===e.length-1?n+="\\\\":s=!0;continue}if(l==="["){let[c,u,d,x]=(0,Bb.parseClass)(e,o);if(d){n+=c,a=a||u,o+=d-1,r=r||x;continue}}if(l==="*"){i&&e==="*"?n+=Mh:n+=Lh,r=!0;continue}if(l==="?"){n+=al,r=!0;continue}n+=Kb(l)}return[n,(0,Gn.unescape)(e),!!r,a]}};Zn.AST=nl});var ll=N(ea=>{"use strict";Object.defineProperty(ea,"__esModule",{value:!0});ea.escape=void 0;var Wb=(t,{windowsPathsNoEscape:e=!1}={})=>e?t.replace(/[?*()[\]]/g,"[$&]"):t.replace(/[?*()[\]\\]/g,"\\$&");ea.escape=Wb});var Gr=N(ue=>{"use strict";Object.defineProperty(ue,"__esModule",{value:!0});ue.unescape=ue.escape=ue.AST=ue.Minimatch=ue.match=ue.makeRe=ue.braceExpand=ue.defaults=ue.filter=ue.GLOBSTAR=ue.sep=ue.minimatch=void 0;var Vb=kh(),ta=Nh(),jh=ol(),Yb=ll(),zb=Hn(),Jb=(t,e,r={})=>((0,ta.assertValidPattern)(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Ei(e,r).match(t));ue.minimatch=Jb;var Xb=/^\*+([^+@!?\*\[\(]*)$/,Hb=t=>e=>!e.startsWith(".")&&e.endsWith(t),Gb=t=>e=>e.endsWith(t),Qb=t=>(t=t.toLowerCase(),e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)),Zb=t=>(t=t.toLowerCase(),e=>e.toLowerCase().endsWith(t)),eS=/^\*+\.\*+$/,tS=t=>!t.startsWith(".")&&t.includes("."),rS=t=>t!=="."&&t!==".."&&t.includes("."),iS=/^\.\*+$/,sS=t=>t!=="."&&t!==".."&&t.startsWith("."),nS=/^\*+$/,aS=t=>t.length!==0&&!t.startsWith("."),oS=t=>t.length!==0&&t!=="."&&t!=="..",lS=/^\?+([^+@!?\*\[\(]*)?$/,cS=([t,e=""])=>{let r=Rh([t]);return e?(e=e.toLowerCase(),i=>r(i)&&i.toLowerCase().endsWith(e)):r},uS=([t,e=""])=>{let r=qh([t]);return e?(e=e.toLowerCase(),i=>r(i)&&i.toLowerCase().endsWith(e)):r},pS=([t,e=""])=>{let r=qh([t]);return e?i=>r(i)&&i.endsWith(e):r},fS=([t,e=""])=>{let r=Rh([t]);return e?i=>r(i)&&i.endsWith(e):r},Rh=([t])=>{let e=t.length;return r=>r.length===e&&!r.startsWith(".")},qh=([t])=>{let e=t.length;return r=>r.length===e&&r!=="."&&r!==".."},Uh=typeof process=="object"&&process?typeof process.env=="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix",Fh={win32:{sep:"\\"},posix:{sep:"/"}};ue.sep=Uh==="win32"?Fh.win32.sep:Fh.posix.sep;ue.minimatch.sep=ue.sep;ue.GLOBSTAR=Symbol("globstar **");ue.minimatch.GLOBSTAR=ue.GLOBSTAR;var hS="[^/]",dS=hS+"*?",mS="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",yS="(?:(?!(?:\\/|^)\\.).)*?",TS=(t,e={})=>r=>(0,ue.minimatch)(r,t,e);ue.filter=TS;ue.minimatch.filter=ue.filter;var rr=(t,e={})=>Object.assign({},t,e),xS=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return ue.minimatch;let e=ue.minimatch;return Object.assign((i,s,n={})=>e(i,s,rr(t,n)),{Minimatch:class extends e.Minimatch{constructor(s,n={}){super(s,rr(t,n))}static defaults(s){return e.defaults(rr(t,s)).Minimatch}},AST:class extends e.AST{constructor(s,n,a={}){super(s,n,rr(t,a))}static fromGlob(s,n={}){return e.AST.fromGlob(s,rr(t,n))}},unescape:(i,s={})=>e.unescape(i,rr(t,s)),escape:(i,s={})=>e.escape(i,rr(t,s)),filter:(i,s={})=>e.filter(i,rr(t,s)),defaults:i=>e.defaults(rr(t,i)),makeRe:(i,s={})=>e.makeRe(i,rr(t,s)),braceExpand:(i,s={})=>e.braceExpand(i,rr(t,s)),match:(i,s,n={})=>e.match(i,s,rr(t,n)),sep:e.sep,GLOBSTAR:ue.GLOBSTAR})};ue.defaults=xS;ue.minimatch.defaults=ue.defaults;var gS=(t,e={})=>((0,ta.assertValidPattern)(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:(0,Vb.expand)(t));ue.braceExpand=gS;ue.minimatch.braceExpand=ue.braceExpand;var bS=(t,e={})=>new Ei(t,e).makeRe();ue.makeRe=bS;ue.minimatch.makeRe=ue.makeRe;var SS=(t,e,r={})=>{let i=new Ei(e,r);return t=t.filter(s=>i.match(s)),i.options.nonull&&!t.length&&t.push(e),t};ue.match=SS;ue.minimatch.match=ue.match;var Bh=/[?*]|[+@!]\(.*?\)|\[|\]/,ES=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Ei=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(e,r={}){(0,ta.assertValidPattern)(e),r=r||{},this.options=r,this.pattern=e,this.platform=r.platform||Uh,this.isWindows=this.platform==="win32",this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!r.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!r.nonegate,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=r.windowsNoMagicRoot!==void 0?r.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let r of e)if(typeof r!="string")return!0;return!1}debug(...e){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],r.debug&&(this.debug=(...n)=>console.error(...n)),this.debug(this.pattern,this.globSet);let i=this.globSet.map(n=>this.slashSplit(n));this.globParts=this.preprocess(i),this.debug(this.pattern,this.globParts);let s=this.globParts.map((n,a,o)=>{if(this.isWindows&&this.windowsNoMagicRoot){let l=n[0]===""&&n[1]===""&&(n[2]==="?"||!Bh.test(n[2]))&&!Bh.test(n[3]),c=/^[a-z]:/i.test(n[0]);if(l)return[...n.slice(0,4),...n.slice(4).map(u=>this.parse(u))];if(c)return[n[0],...n.slice(1).map(u=>this.parse(u))]}return n.map(l=>this.parse(l))});if(this.debug(this.pattern,s),this.set=s.filter(n=>n.indexOf(!1)===-1),this.isWindows)for(let n=0;n<this.set.length;n++){let a=this.set[n];a[0]===""&&a[1]===""&&this.globParts[n][2]==="?"&&typeof a[3]=="string"&&/^[a-z]:$/i.test(a[3])&&(a[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){if(this.options.noglobstar)for(let i=0;i<e.length;i++)for(let s=0;s<e[i].length;s++)e[i][s]==="**"&&(e[i][s]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):r>=1?e=this.levelOneOptimize(e):e=this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(r=>{let i=-1;for(;(i=r.indexOf("**",i+1))!==-1;){let s=i;for(;r[s+1]==="**";)s++;s!==i&&r.splice(i,s-i)}return r})}levelOneOptimize(e){return e.map(r=>(r=r.reduce((i,s)=>{let n=i[i.length-1];return s==="**"&&n==="**"?i:s===".."&&n&&n!==".."&&n!=="."&&n!=="**"?(i.pop(),i):(i.push(s),i)},[]),r.length===0?[""]:r))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let s=1;s<e.length-1;s++){let n=e[s];s===1&&n===""&&e[0]===""||(n==="."||n==="")&&(r=!0,e.splice(s,1),s--)}e[0]==="."&&e.length===2&&(e[1]==="."||e[1]==="")&&(r=!0,e.pop())}let i=0;for(;(i=e.indexOf("..",i+1))!==-1;){let s=e[i-1];s&&s!=="."&&s!==".."&&s!=="**"&&(r=!0,e.splice(i-1,2),i-=2)}}while(r);return e.length===0?[""]:e}firstPhasePreProcess(e){let r=!1;do{r=!1;for(let i of e){let s=-1;for(;(s=i.indexOf("**",s+1))!==-1;){let a=s;for(;i[a+1]==="**";)a++;a>s&&i.splice(s+1,a-s);let o=i[s+1],l=i[s+2],c=i[s+3];if(o!==".."||!l||l==="."||l===".."||!c||c==="."||c==="..")continue;r=!0,i.splice(s,1);let u=i.slice(0);u[s]="**",e.push(u),s--}if(!this.preserveMultipleSlashes){for(let a=1;a<i.length-1;a++){let o=i[a];a===1&&o===""&&i[0]===""||(o==="."||o==="")&&(r=!0,i.splice(a,1),a--)}i[0]==="."&&i.length===2&&(i[1]==="."||i[1]==="")&&(r=!0,i.pop())}let n=0;for(;(n=i.indexOf("..",n+1))!==-1;){let a=i[n-1];if(a&&a!=="."&&a!==".."&&a!=="**"){r=!0;let l=n===1&&i[n+1]==="**"?["."]:[];i.splice(n-1,2,...l),i.length===0&&i.push(""),n-=2}}}}while(r);return e}secondPhasePreProcess(e){for(let r=0;r<e.length-1;r++)for(let i=r+1;i<e.length;i++){let s=this.partsMatch(e[r],e[i],!this.preserveMultipleSlashes);if(s){e[r]=[],e[i]=s;break}}return e.filter(r=>r.length)}partsMatch(e,r,i=!1){let s=0,n=0,a=[],o="";for(;s<e.length&&n<r.length;)if(e[s]===r[n])a.push(o==="b"?r[n]:e[s]),s++,n++;else if(i&&e[s]==="**"&&r[n]===e[s+1])a.push(e[s]),s++;else if(i&&r[n]==="**"&&e[s]===r[n+1])a.push(r[n]),n++;else if(e[s]==="*"&&r[n]&&(this.options.dot||!r[n].startsWith("."))&&r[n]!=="**"){if(o==="b")return!1;o="a",a.push(e[s]),s++,n++}else if(r[n]==="*"&&e[s]&&(this.options.dot||!e[s].startsWith("."))&&e[s]!=="**"){if(o==="a")return!1;o="b",a.push(r[n]),s++,n++}else return!1;return e.length===r.length&&a}parseNegate(){if(this.nonegate)return;let e=this.pattern,r=!1,i=0;for(let s=0;s<e.length&&e.charAt(s)==="!";s++)r=!r,i++;i&&(this.pattern=e.slice(i)),this.negate=r}matchOne(e,r,i=!1){let s=this.options;if(this.isWindows){let A=typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0]),I=!A&&e[0]===""&&e[1]===""&&e[2]==="?"&&/^[a-z]:$/i.test(e[3]),O=typeof r[0]=="string"&&/^[a-z]:$/i.test(r[0]),j=!O&&r[0]===""&&r[1]===""&&r[2]==="?"&&typeof r[3]=="string"&&/^[a-z]:$/i.test(r[3]),q=I?3:A?0:void 0,F=j?3:O?0:void 0;if(typeof q=="number"&&typeof F=="number"){let[U,xe]=[e[q],r[F]];U.toLowerCase()===xe.toLowerCase()&&(r[F]=U,F>q?r=r.slice(F):q>F&&(e=e.slice(q)))}}let{optimizationLevel:n=1}=this.options;n>=2&&(e=this.levelTwoFileOptimize(e)),this.debug("matchOne",this,{file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var a=0,o=0,l=e.length,c=r.length;a<l&&o<c;a++,o++){this.debug("matchOne loop");var u=r[o],d=e[a];if(this.debug(r,u,d),u===!1)return!1;if(u===ue.GLOBSTAR){this.debug("GLOBSTAR",[r,u,d]);var x=a,E=o+1;if(E===c){for(this.debug("** at the end");a<l;a++)if(e[a]==="."||e[a]===".."||!s.dot&&e[a].charAt(0)===".")return!1;return!0}for(;x<l;){var v=e[x];if(this.debug(`
2
+ globstar while`,e,x,r,E,v),this.matchOne(e.slice(x),r.slice(E),i))return this.debug("globstar found match!",x,l,v),!0;if(v==="."||v===".."||!s.dot&&v.charAt(0)==="."){this.debug("dot detected!",e,x,r,E);break}this.debug("globstar swallow a segment, and continue"),x++}return!!(i&&(this.debug(`
3
+ >>> no match, partial?`,e,x,r,E),x===l))}let A;if(typeof u=="string"?(A=d===u,this.debug("string match",u,d,A)):(A=u.test(d),this.debug("pattern match",u,d,A)),!A)return!1}if(a===l&&o===c)return!0;if(a===l)return i;if(o===c)return a===l-1&&e[a]==="";throw new Error("wtf?")}braceExpand(){return(0,ue.braceExpand)(this.pattern,this.options)}parse(e){(0,ta.assertValidPattern)(e);let r=this.options;if(e==="**")return ue.GLOBSTAR;if(e==="")return"";let i,s=null;(i=e.match(nS))?s=r.dot?oS:aS:(i=e.match(Xb))?s=(r.nocase?r.dot?Zb:Qb:r.dot?Gb:Hb)(i[1]):(i=e.match(lS))?s=(r.nocase?r.dot?uS:cS:r.dot?pS:fS)(i):(i=e.match(eS))?s=r.dot?rS:tS:(i=e.match(iS))&&(s=sS);let n=jh.AST.fromGlob(e,this.options).toMMPattern();return s&&typeof n=="object"&&Reflect.defineProperty(n,"test",{value:s}),n}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,i=r.noglobstar?dS:r.dot?mS:yS,s=new Set(r.nocase?["i"]:[]),n=e.map(l=>{let c=l.map(u=>{if(u instanceof RegExp)for(let d of u.flags.split(""))s.add(d);return typeof u=="string"?ES(u):u===ue.GLOBSTAR?ue.GLOBSTAR:u._src});return c.forEach((u,d)=>{let x=c[d+1],E=c[d-1];u!==ue.GLOBSTAR||E===ue.GLOBSTAR||(E===void 0?x!==void 0&&x!==ue.GLOBSTAR?c[d+1]="(?:\\/|"+i+"\\/)?"+x:c[d]=i:x===void 0?c[d-1]=E+"(?:\\/|"+i+")?":x!==ue.GLOBSTAR&&(c[d-1]=E+"(?:\\/|\\/"+i+"\\/)"+x,c[d+1]=ue.GLOBSTAR))}),c.filter(u=>u!==ue.GLOBSTAR).join("/")}).join("|"),[a,o]=e.length>1?["(?:",")"]:["",""];n="^"+a+n+o+"$",this.negate&&(n="^(?!"+n+").+$");try{this.regexp=new RegExp(n,[...s].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^\/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let i=this.options;this.isWindows&&(e=e.split("\\").join("/"));let s=this.slashSplit(e);this.debug(this.pattern,"split",s);let n=this.set;this.debug(this.pattern,"set",n);let a=s[s.length-1];if(!a)for(let o=s.length-2;!a&&o>=0;o--)a=s[o];for(let o=0;o<n.length;o++){let l=n[o],c=s;if(i.matchBase&&l.length===1&&(c=[a]),this.matchOne(c,l,r))return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate}static defaults(e){return ue.minimatch.defaults(e).Minimatch}};ue.Minimatch=Ei;var PS=ol();Object.defineProperty(ue,"AST",{enumerable:!0,get:function(){return PS.AST}});var vS=ll();Object.defineProperty(ue,"escape",{enumerable:!0,get:function(){return vS.escape}});var AS=Hn();Object.defineProperty(ue,"unescape",{enumerable:!0,get:function(){return AS.unescape}});ue.minimatch.AST=jh.AST;ue.minimatch.Minimatch=Ei;ue.minimatch.escape=Yb.escape;ue.minimatch.unescape=zb.unescape});var Yh=N(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.LRUCache=void 0;var Qi=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,Kh=new Set,cl=typeof process=="object"&&process?process:{},Wh=(t,e,r,i)=>{typeof cl.emitWarning=="function"?cl.emitWarning(t,e,r,i):console.error(`[${r}] ${e}: ${t}`)},ra=globalThis.AbortController,$h=globalThis.AbortSignal;if(typeof ra>"u"){$h=class{onabort;_onabort=[];reason;aborted=!1;addEventListener(i,s){this._onabort.push(s)}},ra=class{constructor(){e()}signal=new $h;abort(i){if(!this.signal.aborted){this.signal.reason=i,this.signal.aborted=!0;for(let s of this.signal._onabort)s(i);this.signal.onabort?.(i)}}};let t=cl.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1",e=()=>{t&&(t=!1,Wh("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}var wS=t=>!Kh.has(t),IG=Symbol("type"),Qr=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),Vh=t=>Qr(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Zi:null:null,Zi=class extends Array{constructor(e){super(e),this.fill(0)}},ul=class t{heap;length;static#e=!1;static create(e){let r=Vh(e);if(!r)return[];t.#e=!0;let i=new t(e,r);return t.#e=!1,i}constructor(e,r){if(!t.#e)throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new r(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}},pl=class t{#e;#t;#n;#s;#a;#b;#T;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#o;#p;#l;#c;#r;#f;#x;#d;#m;#C;#y;#I;#E;#S;#g;#A;#h;#N;static unsafeExposeInternals(e){return{starts:e.#E,ttls:e.#S,sizes:e.#I,keyMap:e.#l,keyList:e.#c,valList:e.#r,next:e.#f,prev:e.#x,get head(){return e.#d},get tail(){return e.#m},free:e.#C,isBackgroundFetch:r=>e.#u(r),backgroundFetch:(r,i,s,n)=>e.#M(r,i,s,n),moveToTail:r=>e.#j(r),indexes:r=>e.#w(r),rindexes:r=>e.#k(r),isStale:r=>e.#v(r)}}get max(){return this.#e}get maxSize(){return this.#t}get calculatedSize(){return this.#p}get size(){return this.#o}get fetchMethod(){return this.#b}get memoMethod(){return this.#T}get dispose(){return this.#n}get onInsert(){return this.#s}get disposeAfter(){return this.#a}constructor(e){let{max:r=0,ttl:i,ttlResolution:s=1,ttlAutopurge:n,updateAgeOnGet:a,updateAgeOnHas:o,allowStale:l,dispose:c,onInsert:u,disposeAfter:d,noDisposeOnSet:x,noUpdateTTL:E,maxSize:v=0,maxEntrySize:A=0,sizeCalculation:I,fetchMethod:O,memoMethod:j,noDeleteOnFetchRejection:q,noDeleteOnStaleGet:F,allowStaleOnFetchRejection:U,allowStaleOnFetchAbort:xe,ignoreFetchAbort:we}=e;if(r!==0&&!Qr(r))throw new TypeError("max option must be a nonnegative integer");let ve=r?Vh(r):Array;if(!ve)throw new Error("invalid max value: "+r);if(this.#e=r,this.#t=v,this.maxEntrySize=A||this.#t,this.sizeCalculation=I,this.sizeCalculation){if(!this.#t&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(j!==void 0&&typeof j!="function")throw new TypeError("memoMethod must be a function if defined");if(this.#T=j,O!==void 0&&typeof O!="function")throw new TypeError("fetchMethod must be a function if specified");if(this.#b=O,this.#A=!!O,this.#l=new Map,this.#c=new Array(r).fill(void 0),this.#r=new Array(r).fill(void 0),this.#f=new ve(r),this.#x=new ve(r),this.#d=0,this.#m=0,this.#C=ul.create(r),this.#o=0,this.#p=0,typeof c=="function"&&(this.#n=c),typeof u=="function"&&(this.#s=u),typeof d=="function"?(this.#a=d,this.#y=[]):(this.#a=void 0,this.#y=void 0),this.#g=!!this.#n,this.#N=!!this.#s,this.#h=!!this.#a,this.noDisposeOnSet=!!x,this.noUpdateTTL=!!E,this.noDeleteOnFetchRejection=!!q,this.allowStaleOnFetchRejection=!!U,this.allowStaleOnFetchAbort=!!xe,this.ignoreFetchAbort=!!we,this.maxEntrySize!==0){if(this.#t!==0&&!Qr(this.#t))throw new TypeError("maxSize must be a positive integer if specified");if(!Qr(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");this.#q()}if(this.allowStale=!!l,this.noDeleteOnStaleGet=!!F,this.updateAgeOnGet=!!a,this.updateAgeOnHas=!!o,this.ttlResolution=Qr(s)||s===0?s:1,this.ttlAutopurge=!!n,this.ttl=i||0,this.ttl){if(!Qr(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.#i()}if(this.#e===0&&this.ttl===0&&this.#t===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.#e&&!this.#t){let Oe="LRU_CACHE_UNBOUNDED";wS(Oe)&&(Kh.add(Oe),Wh("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",Oe,t))}}getRemainingTTL(e){return this.#l.has(e)?1/0:0}#i(){let e=new Zi(this.#e),r=new Zi(this.#e);this.#S=e,this.#E=r,this.#O=(n,a,o=Qi.now())=>{if(r[n]=a!==0?o:0,e[n]=a,a!==0&&this.ttlAutopurge){let l=setTimeout(()=>{this.#v(n)&&this.#_(this.#c[n],"expire")},a+1);l.unref&&l.unref()}},this.#D=n=>{r[n]=e[n]!==0?Qi.now():0},this.#P=(n,a)=>{if(e[a]){let o=e[a],l=r[a];if(!o||!l)return;n.ttl=o,n.start=l,n.now=i||s();let c=n.now-l;n.remainingTTL=o-c}};let i=0,s=()=>{let n=Qi.now();if(this.ttlResolution>0){i=n;let a=setTimeout(()=>i=0,this.ttlResolution);a.unref&&a.unref()}return n};this.getRemainingTTL=n=>{let a=this.#l.get(n);if(a===void 0)return 0;let o=e[a],l=r[a];if(!o||!l)return 1/0;let c=(i||s())-l;return o-c},this.#v=n=>{let a=r[n],o=e[n];return!!o&&!!a&&(i||s())-a>o}}#D=()=>{};#P=()=>{};#O=()=>{};#v=()=>!1;#q(){let e=new Zi(this.#e);this.#p=0,this.#I=e,this.#L=r=>{this.#p-=e[r],e[r]=0},this.#U=(r,i,s,n)=>{if(this.#u(i))return 0;if(!Qr(s))if(n){if(typeof n!="function")throw new TypeError("sizeCalculation must be a function");if(s=n(i,r),!Qr(s))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return s},this.#F=(r,i,s)=>{if(e[r]=i,this.#t){let n=this.#t-e[r];for(;this.#p>n;)this.#B(!0)}this.#p+=e[r],s&&(s.entrySize=i,s.totalCalculatedSize=this.#p)}}#L=e=>{};#F=(e,r,i)=>{};#U=(e,r,i,s)=>{if(i||s)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0};*#w({allowStale:e=this.allowStale}={}){if(this.#o)for(let r=this.#m;!(!this.#$(r)||((e||!this.#v(r))&&(yield r),r===this.#d));)r=this.#x[r]}*#k({allowStale:e=this.allowStale}={}){if(this.#o)for(let r=this.#d;!(!this.#$(r)||((e||!this.#v(r))&&(yield r),r===this.#m));)r=this.#f[r]}#$(e){return e!==void 0&&this.#l.get(this.#c[e])===e}*entries(){for(let e of this.#w())this.#r[e]!==void 0&&this.#c[e]!==void 0&&!this.#u(this.#r[e])&&(yield[this.#c[e],this.#r[e]])}*rentries(){for(let e of this.#k())this.#r[e]!==void 0&&this.#c[e]!==void 0&&!this.#u(this.#r[e])&&(yield[this.#c[e],this.#r[e]])}*keys(){for(let e of this.#w()){let r=this.#c[e];r!==void 0&&!this.#u(this.#r[e])&&(yield r)}}*rkeys(){for(let e of this.#k()){let r=this.#c[e];r!==void 0&&!this.#u(this.#r[e])&&(yield r)}}*values(){for(let e of this.#w())this.#r[e]!==void 0&&!this.#u(this.#r[e])&&(yield this.#r[e])}*rvalues(){for(let e of this.#k())this.#r[e]!==void 0&&!this.#u(this.#r[e])&&(yield this.#r[e])}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(e,r={}){for(let i of this.#w()){let s=this.#r[i],n=this.#u(s)?s.__staleWhileFetching:s;if(n!==void 0&&e(n,this.#c[i],this))return this.get(this.#c[i],r)}}forEach(e,r=this){for(let i of this.#w()){let s=this.#r[i],n=this.#u(s)?s.__staleWhileFetching:s;n!==void 0&&e.call(r,n,this.#c[i],this)}}rforEach(e,r=this){for(let i of this.#k()){let s=this.#r[i],n=this.#u(s)?s.__staleWhileFetching:s;n!==void 0&&e.call(r,n,this.#c[i],this)}}purgeStale(){let e=!1;for(let r of this.#k({allowStale:!0}))this.#v(r)&&(this.#_(this.#c[r],"expire"),e=!0);return e}info(e){let r=this.#l.get(e);if(r===void 0)return;let i=this.#r[r],s=this.#u(i)?i.__staleWhileFetching:i;if(s===void 0)return;let n={value:s};if(this.#S&&this.#E){let a=this.#S[r],o=this.#E[r];if(a&&o){let l=a-(Qi.now()-o);n.ttl=l,n.start=Date.now()}}return this.#I&&(n.size=this.#I[r]),n}dump(){let e=[];for(let r of this.#w({allowStale:!0})){let i=this.#c[r],s=this.#r[r],n=this.#u(s)?s.__staleWhileFetching:s;if(n===void 0||i===void 0)continue;let a={value:n};if(this.#S&&this.#E){a.ttl=this.#S[r];let o=Qi.now()-this.#E[r];a.start=Math.floor(Date.now()-o)}this.#I&&(a.size=this.#I[r]),e.unshift([i,a])}return e}load(e){this.clear();for(let[r,i]of e){if(i.start){let s=Date.now()-i.start;i.start=Qi.now()-s}this.set(r,i.value,i)}}set(e,r,i={}){if(r===void 0)return this.delete(e),this;let{ttl:s=this.ttl,start:n,noDisposeOnSet:a=this.noDisposeOnSet,sizeCalculation:o=this.sizeCalculation,status:l}=i,{noUpdateTTL:c=this.noUpdateTTL}=i,u=this.#U(e,r,i.size||0,o);if(this.maxEntrySize&&u>this.maxEntrySize)return l&&(l.set="miss",l.maxEntrySizeExceeded=!0),this.#_(e,"set"),this;let d=this.#o===0?void 0:this.#l.get(e);if(d===void 0)d=this.#o===0?this.#m:this.#C.length!==0?this.#C.pop():this.#o===this.#e?this.#B(!1):this.#o,this.#c[d]=e,this.#r[d]=r,this.#l.set(e,d),this.#f[this.#m]=d,this.#x[d]=this.#m,this.#m=d,this.#o++,this.#F(d,u,l),l&&(l.set="add"),c=!1,this.#N&&this.#s?.(r,e,"add");else{this.#j(d);let x=this.#r[d];if(r!==x){if(this.#A&&this.#u(x)){x.__abortController.abort(new Error("replaced"));let{__staleWhileFetching:E}=x;E!==void 0&&!a&&(this.#g&&this.#n?.(E,e,"set"),this.#h&&this.#y?.push([E,e,"set"]))}else a||(this.#g&&this.#n?.(x,e,"set"),this.#h&&this.#y?.push([x,e,"set"]));if(this.#L(d),this.#F(d,u,l),this.#r[d]=r,l){l.set="replace";let E=x&&this.#u(x)?x.__staleWhileFetching:x;E!==void 0&&(l.oldValue=E)}}else l&&(l.set="update");this.#N&&this.onInsert?.(r,e,r===x?"update":"replace")}if(s!==0&&!this.#S&&this.#i(),this.#S&&(c||this.#O(d,s,n),l&&this.#P(l,d)),!a&&this.#h&&this.#y){let x=this.#y,E;for(;E=x?.shift();)this.#a?.(...E)}return this}pop(){try{for(;this.#o;){let e=this.#r[this.#d];if(this.#B(!0),this.#u(e)){if(e.__staleWhileFetching)return e.__staleWhileFetching}else if(e!==void 0)return e}}finally{if(this.#h&&this.#y){let e=this.#y,r;for(;r=e?.shift();)this.#a?.(...r)}}}#B(e){let r=this.#d,i=this.#c[r],s=this.#r[r];return this.#A&&this.#u(s)?s.__abortController.abort(new Error("evicted")):(this.#g||this.#h)&&(this.#g&&this.#n?.(s,i,"evict"),this.#h&&this.#y?.push([s,i,"evict"])),this.#L(r),e&&(this.#c[r]=void 0,this.#r[r]=void 0,this.#C.push(r)),this.#o===1?(this.#d=this.#m=0,this.#C.length=0):this.#d=this.#f[r],this.#l.delete(i),this.#o--,r}has(e,r={}){let{updateAgeOnHas:i=this.updateAgeOnHas,status:s}=r,n=this.#l.get(e);if(n!==void 0){let a=this.#r[n];if(this.#u(a)&&a.__staleWhileFetching===void 0)return!1;if(this.#v(n))s&&(s.has="stale",this.#P(s,n));else return i&&this.#D(n),s&&(s.has="hit",this.#P(s,n)),!0}else s&&(s.has="miss");return!1}peek(e,r={}){let{allowStale:i=this.allowStale}=r,s=this.#l.get(e);if(s===void 0||!i&&this.#v(s))return;let n=this.#r[s];return this.#u(n)?n.__staleWhileFetching:n}#M(e,r,i,s){let n=r===void 0?void 0:this.#r[r];if(this.#u(n))return n;let a=new ra,{signal:o}=i;o?.addEventListener("abort",()=>a.abort(o.reason),{signal:a.signal});let l={signal:a.signal,options:i,context:s},c=(A,I=!1)=>{let{aborted:O}=a.signal,j=i.ignoreFetchAbort&&A!==void 0;if(i.status&&(O&&!I?(i.status.fetchAborted=!0,i.status.fetchError=a.signal.reason,j&&(i.status.fetchAbortIgnored=!0)):i.status.fetchResolved=!0),O&&!j&&!I)return d(a.signal.reason);let q=E;return this.#r[r]===E&&(A===void 0?q.__staleWhileFetching?this.#r[r]=q.__staleWhileFetching:this.#_(e,"fetch"):(i.status&&(i.status.fetchUpdated=!0),this.set(e,A,l.options))),A},u=A=>(i.status&&(i.status.fetchRejected=!0,i.status.fetchError=A),d(A)),d=A=>{let{aborted:I}=a.signal,O=I&&i.allowStaleOnFetchAbort,j=O||i.allowStaleOnFetchRejection,q=j||i.noDeleteOnFetchRejection,F=E;if(this.#r[r]===E&&(!q||F.__staleWhileFetching===void 0?this.#_(e,"fetch"):O||(this.#r[r]=F.__staleWhileFetching)),j)return i.status&&F.__staleWhileFetching!==void 0&&(i.status.returnedStale=!0),F.__staleWhileFetching;if(F.__returned===F)throw A},x=(A,I)=>{let O=this.#b?.(e,n,l);O&&O instanceof Promise&&O.then(j=>A(j===void 0?void 0:j),I),a.signal.addEventListener("abort",()=>{(!i.ignoreFetchAbort||i.allowStaleOnFetchAbort)&&(A(void 0),i.allowStaleOnFetchAbort&&(A=j=>c(j,!0)))})};i.status&&(i.status.fetchDispatched=!0);let E=new Promise(x).then(c,u),v=Object.assign(E,{__abortController:a,__staleWhileFetching:n,__returned:void 0});return r===void 0?(this.set(e,v,{...l.options,status:void 0}),r=this.#l.get(e)):this.#r[r]=v,v}#u(e){if(!this.#A)return!1;let r=e;return!!r&&r instanceof Promise&&r.hasOwnProperty("__staleWhileFetching")&&r.__abortController instanceof ra}async fetch(e,r={}){let{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,ttl:a=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:l=0,sizeCalculation:c=this.sizeCalculation,noUpdateTTL:u=this.noUpdateTTL,noDeleteOnFetchRejection:d=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:x=this.allowStaleOnFetchRejection,ignoreFetchAbort:E=this.ignoreFetchAbort,allowStaleOnFetchAbort:v=this.allowStaleOnFetchAbort,context:A,forceRefresh:I=!1,status:O,signal:j}=r;if(!this.#A)return O&&(O.fetch="get"),this.get(e,{allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,status:O});let q={allowStale:i,updateAgeOnGet:s,noDeleteOnStaleGet:n,ttl:a,noDisposeOnSet:o,size:l,sizeCalculation:c,noUpdateTTL:u,noDeleteOnFetchRejection:d,allowStaleOnFetchRejection:x,allowStaleOnFetchAbort:v,ignoreFetchAbort:E,status:O,signal:j},F=this.#l.get(e);if(F===void 0){O&&(O.fetch="miss");let U=this.#M(e,F,q,A);return U.__returned=U}else{let U=this.#r[F];if(this.#u(U)){let at=i&&U.__staleWhileFetching!==void 0;return O&&(O.fetch="inflight",at&&(O.returnedStale=!0)),at?U.__staleWhileFetching:U.__returned=U}let xe=this.#v(F);if(!I&&!xe)return O&&(O.fetch="hit"),this.#j(F),s&&this.#D(F),O&&this.#P(O,F),U;let we=this.#M(e,F,q,A),Oe=we.__staleWhileFetching!==void 0&&i;return O&&(O.fetch=xe?"stale":"refresh",Oe&&xe&&(O.returnedStale=!0)),Oe?we.__staleWhileFetching:we.__returned=we}}async forceFetch(e,r={}){let i=await this.fetch(e,r);if(i===void 0)throw new Error("fetch() returned undefined");return i}memo(e,r={}){let i=this.#T;if(!i)throw new Error("no memoMethod provided to constructor");let{context:s,forceRefresh:n,...a}=r,o=this.get(e,a);if(!n&&o!==void 0)return o;let l=i(e,o,{options:a,context:s});return this.set(e,l,a),l}get(e,r={}){let{allowStale:i=this.allowStale,updateAgeOnGet:s=this.updateAgeOnGet,noDeleteOnStaleGet:n=this.noDeleteOnStaleGet,status:a}=r,o=this.#l.get(e);if(o!==void 0){let l=this.#r[o],c=this.#u(l);return a&&this.#P(a,o),this.#v(o)?(a&&(a.get="stale"),c?(a&&i&&l.__staleWhileFetching!==void 0&&(a.returnedStale=!0),i?l.__staleWhileFetching:void 0):(n||this.#_(e,"expire"),a&&i&&(a.returnedStale=!0),i?l:void 0)):(a&&(a.get="hit"),c?l.__staleWhileFetching:(this.#j(o),s&&this.#D(o),l))}else a&&(a.get="miss")}#K(e,r){this.#x[r]=e,this.#f[e]=r}#j(e){e!==this.#m&&(e===this.#d?this.#d=this.#f[e]:this.#K(this.#x[e],this.#f[e]),this.#K(this.#m,e),this.#m=e)}delete(e){return this.#_(e,"delete")}#_(e,r){let i=!1;if(this.#o!==0){let s=this.#l.get(e);if(s!==void 0)if(i=!0,this.#o===1)this.#R(r);else{this.#L(s);let n=this.#r[s];if(this.#u(n)?n.__abortController.abort(new Error("deleted")):(this.#g||this.#h)&&(this.#g&&this.#n?.(n,e,r),this.#h&&this.#y?.push([n,e,r])),this.#l.delete(e),this.#c[s]=void 0,this.#r[s]=void 0,s===this.#m)this.#m=this.#x[s];else if(s===this.#d)this.#d=this.#f[s];else{let a=this.#x[s];this.#f[a]=this.#f[s];let o=this.#f[s];this.#x[o]=this.#x[s]}this.#o--,this.#C.push(s)}}if(this.#h&&this.#y?.length){let s=this.#y,n;for(;n=s?.shift();)this.#a?.(...n)}return i}clear(){return this.#R("delete")}#R(e){for(let r of this.#k({allowStale:!0})){let i=this.#r[r];if(this.#u(i))i.__abortController.abort(new Error("deleted"));else{let s=this.#c[r];this.#g&&this.#n?.(i,s,e),this.#h&&this.#y?.push([i,s,e])}}if(this.#l.clear(),this.#r.fill(void 0),this.#c.fill(void 0),this.#S&&this.#E&&(this.#S.fill(0),this.#E.fill(0)),this.#I&&this.#I.fill(0),this.#d=0,this.#m=0,this.#C.length=0,this.#p=0,this.#o=0,this.#h&&this.#y){let r=this.#y,i;for(;i=r?.shift();)this.#a?.(...i)}}};ia.LRUCache=pl});var gl=N(_t=>{"use strict";var CS=_t&&_t.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_t,"__esModule",{value:!0});_t.Minipass=_t.isWritable=_t.isReadable=_t.isStream=void 0;var zh=typeof process=="object"&&process?process:{stdout:null,stderr:null},xl=require("node:events"),Gh=CS(require("node:stream")),IS=require("node:string_decoder"),kS=t=>!!t&&typeof t=="object"&&(t instanceof ua||t instanceof Gh.default||(0,_t.isReadable)(t)||(0,_t.isWritable)(t));_t.isStream=kS;var NS=t=>!!t&&typeof t=="object"&&t instanceof xl.EventEmitter&&typeof t.pipe=="function"&&t.pipe!==Gh.default.Writable.prototype.pipe;_t.isReadable=NS;var OS=t=>!!t&&typeof t=="object"&&t instanceof xl.EventEmitter&&typeof t.write=="function"&&typeof t.end=="function";_t.isWritable=OS;var jr=Symbol("EOF"),Rr=Symbol("maybeEmitEnd"),Zr=Symbol("emittedEnd"),sa=Symbol("emittingEnd"),Fs=Symbol("emittedError"),na=Symbol("closed"),Jh=Symbol("read"),aa=Symbol("flush"),Xh=Symbol("flushChunk"),hr=Symbol("encoding"),es=Symbol("decoder"),xt=Symbol("flowing"),Bs=Symbol("paused"),ts=Symbol("resume"),gt=Symbol("buffer"),Ot=Symbol("pipes"),bt=Symbol("bufferLength"),fl=Symbol("bufferPush"),oa=Symbol("bufferShift"),Ct=Symbol("objectMode"),ft=Symbol("destroyed"),hl=Symbol("error"),dl=Symbol("emitData"),Hh=Symbol("emitEnd"),ml=Symbol("emitEnd2"),Pr=Symbol("async"),yl=Symbol("abort"),la=Symbol("aborted"),js=Symbol("signal"),Pi=Symbol("dataListeners"),Gt=Symbol("discarded"),Rs=t=>Promise.resolve().then(t),_S=t=>t(),DS=t=>t==="end"||t==="finish"||t==="prefinish",LS=t=>t instanceof ArrayBuffer||!!t&&typeof t=="object"&&t.constructor&&t.constructor.name==="ArrayBuffer"&&t.byteLength>=0,MS=t=>!Buffer.isBuffer(t)&&ArrayBuffer.isView(t),ca=class{src;dest;opts;ondrain;constructor(e,r,i){this.src=e,this.dest=r,this.opts=i,this.ondrain=()=>e[ts](),this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(e){}end(){this.unpipe(),this.opts.end&&this.dest.end()}},Tl=class extends ca{unpipe(){this.src.removeListener("error",this.proxyErrors),super.unpipe()}constructor(e,r,i){super(e,r,i),this.proxyErrors=s=>r.emit("error",s),e.on("error",this.proxyErrors)}},FS=t=>!!t.objectMode,BS=t=>!t.objectMode&&!!t.encoding&&t.encoding!=="buffer",ua=class extends xl.EventEmitter{[xt]=!1;[Bs]=!1;[Ot]=[];[gt]=[];[Ct];[hr];[Pr];[es];[jr]=!1;[Zr]=!1;[sa]=!1;[na]=!1;[Fs]=null;[bt]=0;[ft]=!1;[js];[la]=!1;[Pi]=0;[Gt]=!1;writable=!0;readable=!0;constructor(...e){let r=e[0]||{};if(super(),r.objectMode&&typeof r.encoding=="string")throw new TypeError("Encoding and objectMode may not be used together");FS(r)?(this[Ct]=!0,this[hr]=null):BS(r)?(this[hr]=r.encoding,this[Ct]=!1):(this[Ct]=!1,this[hr]=null),this[Pr]=!!r.async,this[es]=this[hr]?new IS.StringDecoder(this[hr]):null,r&&r.debugExposeBuffer===!0&&Object.defineProperty(this,"buffer",{get:()=>this[gt]}),r&&r.debugExposePipes===!0&&Object.defineProperty(this,"pipes",{get:()=>this[Ot]});let{signal:i}=r;i&&(this[js]=i,i.aborted?this[yl]():i.addEventListener("abort",()=>this[yl]()))}get bufferLength(){return this[bt]}get encoding(){return this[hr]}set encoding(e){throw new Error("Encoding must be set at instantiation time")}setEncoding(e){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Ct]}set objectMode(e){throw new Error("objectMode must be set at instantiation time")}get async(){return this[Pr]}set async(e){this[Pr]=this[Pr]||!!e}[yl](){this[la]=!0,this.emit("abort",this[js]?.reason),this.destroy(this[js]?.reason)}get aborted(){return this[la]}set aborted(e){}write(e,r,i){if(this[la])return!1;if(this[jr])throw new Error("write after end");if(this[ft])return this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"})),!0;typeof r=="function"&&(i=r,r="utf8"),r||(r="utf8");let s=this[Pr]?Rs:_S;if(!this[Ct]&&!Buffer.isBuffer(e)){if(MS(e))e=Buffer.from(e.buffer,e.byteOffset,e.byteLength);else if(LS(e))e=Buffer.from(e);else if(typeof e!="string")throw new Error("Non-contiguous data written to non-objectMode stream")}return this[Ct]?(this[xt]&&this[bt]!==0&&this[aa](!0),this[xt]?this.emit("data",e):this[fl](e),this[bt]!==0&&this.emit("readable"),i&&s(i),this[xt]):e.length?(typeof e=="string"&&!(r===this[hr]&&!this[es]?.lastNeed)&&(e=Buffer.from(e,r)),Buffer.isBuffer(e)&&this[hr]&&(e=this[es].write(e)),this[xt]&&this[bt]!==0&&this[aa](!0),this[xt]?this.emit("data",e):this[fl](e),this[bt]!==0&&this.emit("readable"),i&&s(i),this[xt]):(this[bt]!==0&&this.emit("readable"),i&&s(i),this[xt])}read(e){if(this[ft])return null;if(this[Gt]=!1,this[bt]===0||e===0||e&&e>this[bt])return this[Rr](),null;this[Ct]&&(e=null),this[gt].length>1&&!this[Ct]&&(this[gt]=[this[hr]?this[gt].join(""):Buffer.concat(this[gt],this[bt])]);let r=this[Jh](e||null,this[gt][0]);return this[Rr](),r}[Jh](e,r){if(this[Ct])this[oa]();else{let i=r;e===i.length||e===null?this[oa]():typeof i=="string"?(this[gt][0]=i.slice(e),r=i.slice(0,e),this[bt]-=e):(this[gt][0]=i.subarray(e),r=i.subarray(0,e),this[bt]-=e)}return this.emit("data",r),!this[gt].length&&!this[jr]&&this.emit("drain"),r}end(e,r,i){return typeof e=="function"&&(i=e,e=void 0),typeof r=="function"&&(i=r,r="utf8"),e!==void 0&&this.write(e,r),i&&this.once("end",i),this[jr]=!0,this.writable=!1,(this[xt]||!this[Bs])&&this[Rr](),this}[ts](){this[ft]||(!this[Pi]&&!this[Ot].length&&(this[Gt]=!0),this[Bs]=!1,this[xt]=!0,this.emit("resume"),this[gt].length?this[aa]():this[jr]?this[Rr]():this.emit("drain"))}resume(){return this[ts]()}pause(){this[xt]=!1,this[Bs]=!0,this[Gt]=!1}get destroyed(){return this[ft]}get flowing(){return this[xt]}get paused(){return this[Bs]}[fl](e){this[Ct]?this[bt]+=1:this[bt]+=e.length,this[gt].push(e)}[oa](){return this[Ct]?this[bt]-=1:this[bt]-=this[gt][0].length,this[gt].shift()}[aa](e=!1){do;while(this[Xh](this[oa]())&&this[gt].length);!e&&!this[gt].length&&!this[jr]&&this.emit("drain")}[Xh](e){return this.emit("data",e),this[xt]}pipe(e,r){if(this[ft])return e;this[Gt]=!1;let i=this[Zr];return r=r||{},e===zh.stdout||e===zh.stderr?r.end=!1:r.end=r.end!==!1,r.proxyErrors=!!r.proxyErrors,i?r.end&&e.end():(this[Ot].push(r.proxyErrors?new Tl(this,e,r):new ca(this,e,r)),this[Pr]?Rs(()=>this[ts]()):this[ts]()),e}unpipe(e){let r=this[Ot].find(i=>i.dest===e);r&&(this[Ot].length===1?(this[xt]&&this[Pi]===0&&(this[xt]=!1),this[Ot]=[]):this[Ot].splice(this[Ot].indexOf(r),1),r.unpipe())}addListener(e,r){return this.on(e,r)}on(e,r){let i=super.on(e,r);if(e==="data")this[Gt]=!1,this[Pi]++,!this[Ot].length&&!this[xt]&&this[ts]();else if(e==="readable"&&this[bt]!==0)super.emit("readable");else if(DS(e)&&this[Zr])super.emit(e),this.removeAllListeners(e);else if(e==="error"&&this[Fs]){let s=r;this[Pr]?Rs(()=>s.call(this,this[Fs])):s.call(this,this[Fs])}return i}removeListener(e,r){return this.off(e,r)}off(e,r){let i=super.off(e,r);return e==="data"&&(this[Pi]=this.listeners("data").length,this[Pi]===0&&!this[Gt]&&!this[Ot].length&&(this[xt]=!1)),i}removeAllListeners(e){let r=super.removeAllListeners(e);return(e==="data"||e===void 0)&&(this[Pi]=0,!this[Gt]&&!this[Ot].length&&(this[xt]=!1)),r}get emittedEnd(){return this[Zr]}[Rr](){!this[sa]&&!this[Zr]&&!this[ft]&&this[gt].length===0&&this[jr]&&(this[sa]=!0,this.emit("end"),this.emit("prefinish"),this.emit("finish"),this[na]&&this.emit("close"),this[sa]=!1)}emit(e,...r){let i=r[0];if(e!=="error"&&e!=="close"&&e!==ft&&this[ft])return!1;if(e==="data")return!this[Ct]&&!i?!1:this[Pr]?(Rs(()=>this[dl](i)),!0):this[dl](i);if(e==="end")return this[Hh]();if(e==="close"){if(this[na]=!0,!this[Zr]&&!this[ft])return!1;let n=super.emit("close");return this.removeAllListeners("close"),n}else if(e==="error"){this[Fs]=i,super.emit(hl,i);let n=!this[js]||this.listeners("error").length?super.emit("error",i):!1;return this[Rr](),n}else if(e==="resume"){let n=super.emit("resume");return this[Rr](),n}else if(e==="finish"||e==="prefinish"){let n=super.emit(e);return this.removeAllListeners(e),n}let s=super.emit(e,...r);return this[Rr](),s}[dl](e){for(let i of this[Ot])i.dest.write(e)===!1&&this.pause();let r=this[Gt]?!1:super.emit("data",e);return this[Rr](),r}[Hh](){return this[Zr]?!1:(this[Zr]=!0,this.readable=!1,this[Pr]?(Rs(()=>this[ml]()),!0):this[ml]())}[ml](){if(this[es]){let r=this[es].end();if(r){for(let i of this[Ot])i.dest.write(r);this[Gt]||super.emit("data",r)}}for(let r of this[Ot])r.end();let e=super.emit("end");return this.removeAllListeners("end"),e}async collect(){let e=Object.assign([],{dataLength:0});this[Ct]||(e.dataLength=0);let r=this.promise();return this.on("data",i=>{e.push(i),this[Ct]||(e.dataLength+=i.length)}),await r,e}async concat(){if(this[Ct])throw new Error("cannot concat in objectMode");let e=await this.collect();return this[hr]?e.join(""):Buffer.concat(e,e.dataLength)}async promise(){return new Promise((e,r)=>{this.on(ft,()=>r(new Error("stream destroyed"))),this.on("error",i=>r(i)),this.on("end",()=>e())})}[Symbol.asyncIterator](){this[Gt]=!1;let e=!1,r=async()=>(this.pause(),e=!0,{value:void 0,done:!0});return{next:()=>{if(e)return r();let s=this.read();if(s!==null)return Promise.resolve({done:!1,value:s});if(this[jr])return r();let n,a,o=d=>{this.off("data",l),this.off("end",c),this.off(ft,u),r(),a(d)},l=d=>{this.off("error",o),this.off("end",c),this.off(ft,u),this.pause(),n({value:d,done:!!this[jr]})},c=()=>{this.off("error",o),this.off("data",l),this.off(ft,u),r(),n({done:!0,value:void 0})},u=()=>o(new Error("stream destroyed"));return new Promise((d,x)=>{a=x,n=d,this.once(ft,u),this.once("error",o),this.once("end",c),this.once("data",l)})},throw:r,return:r,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[Gt]=!1;let e=!1,r=()=>(this.pause(),this.off(hl,r),this.off(ft,r),this.off("end",r),e=!0,{done:!0,value:void 0}),i=()=>{if(e)return r();let s=this.read();return s===null?r():{done:!1,value:s}};return this.once("end",r),this.once(hl,r),this.once(ft,r),{next:i,throw:r,return:r,[Symbol.iterator](){return this}}}destroy(e){if(this[ft])return e?this.emit("error",e):this.emit(ft),this;this[ft]=!0,this[Gt]=!0,this[gt].length=0,this[bt]=0;let r=this;return typeof r.close=="function"&&!this[na]&&r.close(),e?this.emit("error",e):this.emit(ft),this}static get isStream(){return _t.isStream}};_t.Minipass=ua});var fd=N(Je=>{"use strict";var jS=Je&&Je.__createBinding||(Object.create?function(t,e,r,i){i===void 0&&(i=r);var s=Object.getOwnPropertyDescriptor(e,r);(!s||("get"in s?!e.__esModule:s.writable||s.configurable))&&(s={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,i,s)}:function(t,e,r,i){i===void 0&&(i=r),t[i]=e[r]}),RS=Je&&Je.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),qS=Je&&Je.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&jS(e,t,r);return RS(e,t),e};Object.defineProperty(Je,"__esModule",{value:!0});Je.PathScurry=Je.Path=Je.PathScurryDarwin=Je.PathScurryPosix=Je.PathScurryWin32=Je.PathScurryBase=Je.PathPosix=Je.PathWin32=Je.PathBase=Je.ChildrenCache=Je.ResolveCache=void 0;var id=Yh(),ma=require("node:path"),US=require("node:url"),Us=require("fs"),$S=qS(require("node:fs")),KS=Us.realpathSync.native,pa=require("node:fs/promises"),Qh=gl(),$s={lstatSync:Us.lstatSync,readdir:Us.readdir,readdirSync:Us.readdirSync,readlinkSync:Us.readlinkSync,realpathSync:KS,promises:{lstat:pa.lstat,readdir:pa.readdir,readlink:pa.readlink,realpath:pa.realpath}},sd=t=>!t||t===$s||t===$S?$s:{...$s,...t,promises:{...$s.promises,...t.promises||{}}},nd=/^\\\\\?\\([a-z]:)\\?$/i,WS=t=>t.replace(/\//g,"\\").replace(nd,"$1\\"),VS=/[\\\/]/,sr=0,ad=1,od=2,vr=4,ld=6,cd=8,vi=10,ud=12,ir=15,qs=~ir,bl=16,Zh=32,Ks=64,dr=128,fa=256,da=512,ed=Ks|dr|da,YS=1023,Sl=t=>t.isFile()?cd:t.isDirectory()?vr:t.isSymbolicLink()?vi:t.isCharacterDevice()?od:t.isBlockDevice()?ld:t.isSocket()?ud:t.isFIFO()?ad:sr,td=new Map,Ws=t=>{let e=td.get(t);if(e)return e;let r=t.normalize("NFKD");return td.set(t,r),r},rd=new Map,ha=t=>{let e=rd.get(t);if(e)return e;let r=Ws(t.toLowerCase());return rd.set(t,r),r},Vs=class extends id.LRUCache{constructor(){super({max:256})}};Je.ResolveCache=Vs;var ya=class extends id.LRUCache{constructor(e=16*1024){super({maxSize:e,sizeCalculation:r=>r.length+1})}};Je.ChildrenCache=ya;var pd=Symbol("PathScurry setAsCwd"),Pt=class{name;root;roots;parent;nocase;isCWD=!1;#e;#t;get dev(){return this.#t}#n;get mode(){return this.#n}#s;get nlink(){return this.#s}#a;get uid(){return this.#a}#b;get gid(){return this.#b}#T;get rdev(){return this.#T}#o;get blksize(){return this.#o}#p;get ino(){return this.#p}#l;get size(){return this.#l}#c;get blocks(){return this.#c}#r;get atimeMs(){return this.#r}#f;get mtimeMs(){return this.#f}#x;get ctimeMs(){return this.#x}#d;get birthtimeMs(){return this.#d}#m;get atime(){return this.#m}#C;get mtime(){return this.#C}#y;get ctime(){return this.#y}#I;get birthtime(){return this.#I}#E;#S;#g;#A;#h;#N;#i;#D;#P;#O;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(e,r=sr,i,s,n,a,o){this.name=e,this.#E=n?ha(e):Ws(e),this.#i=r&YS,this.nocase=n,this.roots=s,this.root=i||this,this.#D=a,this.#g=o.fullpath,this.#h=o.relative,this.#N=o.relativePosix,this.parent=o.parent,this.parent?this.#e=this.parent.#e:this.#e=sd(o.fs)}depth(){return this.#S!==void 0?this.#S:this.parent?this.#S=this.parent.depth()+1:this.#S=0}childrenCache(){return this.#D}resolve(e){if(!e)return this;let r=this.getRootString(e),s=e.substring(r.length).split(this.splitSep);return r?this.getRoot(r).#v(s):this.#v(s)}#v(e){let r=this;for(let i of e)r=r.child(i);return r}children(){let e=this.#D.get(this);if(e)return e;let r=Object.assign([],{provisional:0});return this.#D.set(this,r),this.#i&=~bl,r}child(e,r){if(e===""||e===".")return this;if(e==="..")return this.parent||this;let i=this.children(),s=this.nocase?ha(e):Ws(e);for(let l of i)if(l.#E===s)return l;let n=this.parent?this.sep:"",a=this.#g?this.#g+n+e:void 0,o=this.newChild(e,sr,{...r,parent:this,fullpath:a});return this.canReaddir()||(o.#i|=dr),i.push(o),o}relative(){if(this.isCWD)return"";if(this.#h!==void 0)return this.#h;let e=this.name,r=this.parent;if(!r)return this.#h=this.name;let i=r.relative();return i+(!i||!r.parent?"":this.sep)+e}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#N!==void 0)return this.#N;let e=this.name,r=this.parent;if(!r)return this.#N=this.fullpathPosix();let i=r.relativePosix();return i+(!i||!r.parent?"":"/")+e}fullpath(){if(this.#g!==void 0)return this.#g;let e=this.name,r=this.parent;if(!r)return this.#g=this.name;let s=r.fullpath()+(r.parent?this.sep:"")+e;return this.#g=s}fullpathPosix(){if(this.#A!==void 0)return this.#A;if(this.sep==="/")return this.#A=this.fullpath();if(!this.parent){let s=this.fullpath().replace(/\\/g,"/");return/^[a-z]:\//i.test(s)?this.#A=`//?/${s}`:this.#A=s}let e=this.parent,r=e.fullpathPosix(),i=r+(!r||!e.parent?"":"/")+this.name;return this.#A=i}isUnknown(){return(this.#i&ir)===sr}isType(e){return this[`is${e}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#i&ir)===cd}isDirectory(){return(this.#i&ir)===vr}isCharacterDevice(){return(this.#i&ir)===od}isBlockDevice(){return(this.#i&ir)===ld}isFIFO(){return(this.#i&ir)===ad}isSocket(){return(this.#i&ir)===ud}isSymbolicLink(){return(this.#i&vi)===vi}lstatCached(){return this.#i&Zh?this:void 0}readlinkCached(){return this.#P}realpathCached(){return this.#O}readdirCached(){let e=this.children();return e.slice(0,e.provisional)}canReadlink(){if(this.#P)return!0;if(!this.parent)return!1;let e=this.#i&ir;return!(e!==sr&&e!==vi||this.#i&fa||this.#i&dr)}calledReaddir(){return!!(this.#i&bl)}isENOENT(){return!!(this.#i&dr)}isNamed(e){return this.nocase?this.#E===ha(e):this.#E===Ws(e)}async readlink(){let e=this.#P;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=await this.#e.promises.readlink(this.fullpath()),i=(await this.parent.realpath())?.resolve(r);if(i)return this.#P=i}catch(r){this.#B(r.code);return}}readlinkSync(){let e=this.#P;if(e)return e;if(this.canReadlink()&&this.parent)try{let r=this.#e.readlinkSync(this.fullpath()),i=this.parent.realpathSync()?.resolve(r);if(i)return this.#P=i}catch(r){this.#B(r.code);return}}#q(e){this.#i|=bl;for(let r=e.provisional;r<e.length;r++){let i=e[r];i&&i.#L()}}#L(){this.#i&dr||(this.#i=(this.#i|dr)&qs,this.#F())}#F(){let e=this.children();e.provisional=0;for(let r of e)r.#L()}#U(){this.#i|=da,this.#w()}#w(){if(this.#i&Ks)return;let e=this.#i;(e&ir)===vr&&(e&=qs),this.#i=e|Ks,this.#F()}#k(e=""){e==="ENOTDIR"||e==="EPERM"?this.#w():e==="ENOENT"?this.#L():this.children().provisional=0}#$(e=""){e==="ENOTDIR"?this.parent.#w():e==="ENOENT"&&this.#L()}#B(e=""){let r=this.#i;r|=fa,e==="ENOENT"&&(r|=dr),(e==="EINVAL"||e==="UNKNOWN")&&(r&=qs),this.#i=r,e==="ENOTDIR"&&this.parent&&this.parent.#w()}#M(e,r){return this.#K(e,r)||this.#u(e,r)}#u(e,r){let i=Sl(e),s=this.newChild(e.name,i,{parent:this}),n=s.#i&ir;return n!==vr&&n!==vi&&n!==sr&&(s.#i|=Ks),r.unshift(s),r.provisional++,s}#K(e,r){for(let i=r.provisional;i<r.length;i++){let s=r[i];if((this.nocase?ha(e.name):Ws(e.name))===s.#E)return this.#j(e,s,i,r)}}#j(e,r,i,s){let n=r.name;return r.#i=r.#i&qs|Sl(e),n!==e.name&&(r.name=e.name),i!==s.provisional&&(i===s.length-1?s.pop():s.splice(i,1),s.unshift(r)),s.provisional++,r}async lstat(){if((this.#i&dr)===0)try{return this.#_(await this.#e.promises.lstat(this.fullpath())),this}catch(e){this.#$(e.code)}}lstatSync(){if((this.#i&dr)===0)try{return this.#_(this.#e.lstatSync(this.fullpath())),this}catch(e){this.#$(e.code)}}#_(e){let{atime:r,atimeMs:i,birthtime:s,birthtimeMs:n,blksize:a,blocks:o,ctime:l,ctimeMs:c,dev:u,gid:d,ino:x,mode:E,mtime:v,mtimeMs:A,nlink:I,rdev:O,size:j,uid:q}=e;this.#m=r,this.#r=i,this.#I=s,this.#d=n,this.#o=a,this.#c=o,this.#y=l,this.#x=c,this.#t=u,this.#b=d,this.#p=x,this.#n=E,this.#C=v,this.#f=A,this.#s=I,this.#T=O,this.#l=j,this.#a=q;let F=Sl(e);this.#i=this.#i&qs|F|Zh,F!==sr&&F!==vr&&F!==vi&&(this.#i|=Ks)}#R=[];#V=!1;#Y(e){this.#V=!1;let r=this.#R.slice();this.#R.length=0,r.forEach(i=>i(null,e))}readdirCB(e,r=!1){if(!this.canReaddir()){r?e(null,[]):queueMicrotask(()=>e(null,[]));return}let i=this.children();if(this.calledReaddir()){let n=i.slice(0,i.provisional);r?e(null,n):queueMicrotask(()=>e(null,n));return}if(this.#R.push(e),this.#V)return;this.#V=!0;let s=this.fullpath();this.#e.readdir(s,{withFileTypes:!0},(n,a)=>{if(n)this.#k(n.code),i.provisional=0;else{for(let o of a)this.#M(o,i);this.#q(i)}this.#Y(i.slice(0,i.provisional))})}#W;async readdir(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();if(this.#W)await this.#W;else{let i=()=>{};this.#W=new Promise(s=>i=s);try{for(let s of await this.#e.promises.readdir(r,{withFileTypes:!0}))this.#M(s,e);this.#q(e)}catch(s){this.#k(s.code),e.provisional=0}this.#W=void 0,i()}return e.slice(0,e.provisional)}readdirSync(){if(!this.canReaddir())return[];let e=this.children();if(this.calledReaddir())return e.slice(0,e.provisional);let r=this.fullpath();try{for(let i of this.#e.readdirSync(r,{withFileTypes:!0}))this.#M(i,e);this.#q(e)}catch(i){this.#k(i.code),e.provisional=0}return e.slice(0,e.provisional)}canReaddir(){if(this.#i&ed)return!1;let e=ir&this.#i;return e===sr||e===vr||e===vi}shouldWalk(e,r){return(this.#i&vr)===vr&&!(this.#i&ed)&&!e.has(this)&&(!r||r(this))}async realpath(){if(this.#O)return this.#O;if(!((da|fa|dr)&this.#i))try{let e=await this.#e.promises.realpath(this.fullpath());return this.#O=this.resolve(e)}catch{this.#U()}}realpathSync(){if(this.#O)return this.#O;if(!((da|fa|dr)&this.#i))try{let e=this.#e.realpathSync(this.fullpath());return this.#O=this.resolve(e)}catch{this.#U()}}[pd](e){if(e===this)return;e.isCWD=!1,this.isCWD=!0;let r=new Set([]),i=[],s=this;for(;s&&s.parent;)r.add(s),s.#h=i.join(this.sep),s.#N=i.join("/"),s=s.parent,i.push("..");for(s=e;s&&s.parent&&!r.has(s);)s.#h=void 0,s.#N=void 0,s=s.parent}};Je.PathBase=Pt;var Ys=class t extends Pt{sep="\\";splitSep=VS;constructor(e,r=sr,i,s,n,a,o){super(e,r,i,s,n,a,o)}newChild(e,r=sr,i={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),i)}getRootString(e){return ma.win32.parse(e).root}getRoot(e){if(e=WS(e.toUpperCase()),e===this.root.name)return this.root;for(let[r,i]of Object.entries(this.roots))if(this.sameRoot(e,r))return this.roots[e]=i;return this.roots[e]=new Xs(e,this).root}sameRoot(e,r=this.root.name){return e=e.toUpperCase().replace(/\//g,"\\").replace(nd,"$1\\"),e===r}};Je.PathWin32=Ys;var zs=class t extends Pt{splitSep="/";sep="/";constructor(e,r=sr,i,s,n,a,o){super(e,r,i,s,n,a,o)}getRootString(e){return e.startsWith("/")?"/":""}getRoot(e){return this.root}newChild(e,r=sr,i={}){return new t(e,r,this.root,this.roots,this.nocase,this.childrenCache(),i)}};Je.PathPosix=zs;var Js=class{root;rootPath;roots;cwd;#e;#t;#n;nocase;#s;constructor(e=process.cwd(),r,i,{nocase:s,childrenCacheSize:n=16*1024,fs:a=$s}={}){this.#s=sd(a),(e instanceof URL||e.startsWith("file://"))&&(e=(0,US.fileURLToPath)(e));let o=r.resolve(e);this.roots=Object.create(null),this.rootPath=this.parseRootPath(o),this.#e=new Vs,this.#t=new Vs,this.#n=new ya(n);let l=o.substring(this.rootPath.length).split(i);if(l.length===1&&!l[0]&&l.pop(),s===void 0)throw new TypeError("must provide nocase setting to PathScurryBase ctor");this.nocase=s,this.root=this.newRoot(this.#s),this.roots[this.rootPath]=this.root;let c=this.root,u=l.length-1,d=r.sep,x=this.rootPath,E=!1;for(let v of l){let A=u--;c=c.child(v,{relative:new Array(A).fill("..").join(d),relativePosix:new Array(A).fill("..").join("/"),fullpath:x+=(E?"":d)+v}),E=!0}this.cwd=c}depth(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.depth()}childrenCache(){return this.#n}resolve(...e){let r="";for(let n=e.length-1;n>=0;n--){let a=e[n];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let i=this.#e.get(r);if(i!==void 0)return i;let s=this.cwd.resolve(r).fullpath();return this.#e.set(r,s),s}resolvePosix(...e){let r="";for(let n=e.length-1;n>=0;n--){let a=e[n];if(!(!a||a===".")&&(r=r?`${a}/${r}`:a,this.isAbsolute(a)))break}let i=this.#t.get(r);if(i!==void 0)return i;let s=this.cwd.resolve(r).fullpathPosix();return this.#t.set(r,s),s}relative(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relative()}relativePosix(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.relativePosix()}basename(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.name}dirname(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),(e.parent||e).fullpath()}async readdir(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd);let{withFileTypes:i}=r;if(e.canReaddir()){let s=await e.readdir();return i?s:s.map(n=>n.name)}else return[]}readdirSync(e=this.cwd,r={withFileTypes:!0}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd);let{withFileTypes:i=!0}=r;return e.canReaddir()?i?e.readdirSync():e.readdirSync().map(s=>s.name):[]}async lstat(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstat()}lstatSync(e=this.cwd){return typeof e=="string"&&(e=this.cwd.resolve(e)),e.lstatSync()}async readlink(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e.withFileTypes,e=this.cwd);let i=await e.readlink();return r?i:i?.fullpath()}readlinkSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e.withFileTypes,e=this.cwd);let i=e.readlinkSync();return r?i:i?.fullpath()}async realpath(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e.withFileTypes,e=this.cwd);let i=await e.realpath();return r?i:i?.fullpath()}realpathSync(e=this.cwd,{withFileTypes:r}={withFileTypes:!1}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e.withFileTypes,e=this.cwd);let i=e.realpathSync();return r?i:i?.fullpath()}async walk(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd);let{withFileTypes:i=!0,follow:s=!1,filter:n,walkFilter:a}=r,o=[];(!n||n(e))&&o.push(i?e:e.fullpath());let l=new Set,c=(d,x)=>{l.add(d),d.readdirCB((E,v)=>{if(E)return x(E);let A=v.length;if(!A)return x();let I=()=>{--A===0&&x()};for(let O of v)(!n||n(O))&&o.push(i?O:O.fullpath()),s&&O.isSymbolicLink()?O.realpath().then(j=>j?.isUnknown()?j.lstat():j).then(j=>j?.shouldWalk(l,a)?c(j,I):I()):O.shouldWalk(l,a)?c(O,I):I()},!0)},u=e;return new Promise((d,x)=>{c(u,E=>{if(E)return x(E);d(o)})})}walkSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd);let{withFileTypes:i=!0,follow:s=!1,filter:n,walkFilter:a}=r,o=[];(!n||n(e))&&o.push(i?e:e.fullpath());let l=new Set([e]);for(let c of l){let u=c.readdirSync();for(let d of u){(!n||n(d))&&o.push(i?d:d.fullpath());let x=d;if(d.isSymbolicLink()){if(!(s&&(x=d.realpathSync())))continue;x.isUnknown()&&x.lstatSync()}x.shouldWalk(l,a)&&l.add(x)}}return o}[Symbol.asyncIterator](){return this.iterate()}iterate(e=this.cwd,r={}){return typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd),this.stream(e,r)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd);let{withFileTypes:i=!0,follow:s=!1,filter:n,walkFilter:a}=r;(!n||n(e))&&(yield i?e:e.fullpath());let o=new Set([e]);for(let l of o){let c=l.readdirSync();for(let u of c){(!n||n(u))&&(yield i?u:u.fullpath());let d=u;if(u.isSymbolicLink()){if(!(s&&(d=u.realpathSync())))continue;d.isUnknown()&&d.lstatSync()}d.shouldWalk(o,a)&&o.add(d)}}}stream(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd);let{withFileTypes:i=!0,follow:s=!1,filter:n,walkFilter:a}=r,o=new Qh.Minipass({objectMode:!0});(!n||n(e))&&o.write(i?e:e.fullpath());let l=new Set,c=[e],u=0,d=()=>{let x=!1;for(;!x;){let E=c.shift();if(!E){u===0&&o.end();return}u++,l.add(E);let v=(I,O,j=!1)=>{if(I)return o.emit("error",I);if(s&&!j){let q=[];for(let F of O)F.isSymbolicLink()&&q.push(F.realpath().then(U=>U?.isUnknown()?U.lstat():U));if(q.length){Promise.all(q).then(()=>v(null,O,!0));return}}for(let q of O)q&&(!n||n(q))&&(o.write(i?q:q.fullpath())||(x=!0));u--;for(let q of O){let F=q.realpathCached()||q;F.shouldWalk(l,a)&&c.push(F)}x&&!o.flowing?o.once("drain",d):A||d()},A=!0;E.readdirCB(v,!0),A=!1}};return d(),o}streamSync(e=this.cwd,r={}){typeof e=="string"?e=this.cwd.resolve(e):e instanceof Pt||(r=e,e=this.cwd);let{withFileTypes:i=!0,follow:s=!1,filter:n,walkFilter:a}=r,o=new Qh.Minipass({objectMode:!0}),l=new Set;(!n||n(e))&&o.write(i?e:e.fullpath());let c=[e],u=0,d=()=>{let x=!1;for(;!x;){let E=c.shift();if(!E){u===0&&o.end();return}u++,l.add(E);let v=E.readdirSync();for(let A of v)(!n||n(A))&&(o.write(i?A:A.fullpath())||(x=!0));u--;for(let A of v){let I=A;if(A.isSymbolicLink()){if(!(s&&(I=A.realpathSync())))continue;I.isUnknown()&&I.lstatSync()}I.shouldWalk(l,a)&&c.push(I)}}x&&!o.flowing&&o.once("drain",d)};return d(),o}chdir(e=this.cwd){let r=this.cwd;this.cwd=typeof e=="string"?this.cwd.resolve(e):e,this.cwd[pd](r)}};Je.PathScurryBase=Js;var Xs=class extends Js{sep="\\";constructor(e=process.cwd(),r={}){let{nocase:i=!0}=r;super(e,ma.win32,"\\",{...r,nocase:i}),this.nocase=i;for(let s=this.cwd;s;s=s.parent)s.nocase=this.nocase}parseRootPath(e){return ma.win32.parse(e).root.toUpperCase()}newRoot(e){return new Ys(this.rootPath,vr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")||e.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(e)}};Je.PathScurryWin32=Xs;var Hs=class extends Js{sep="/";constructor(e=process.cwd(),r={}){let{nocase:i=!1}=r;super(e,ma.posix,"/",{...r,nocase:i}),this.nocase=i}parseRootPath(e){return"/"}newRoot(e){return new zs(this.rootPath,vr,void 0,this.roots,this.nocase,this.childrenCache(),{fs:e})}isAbsolute(e){return e.startsWith("/")}};Je.PathScurryPosix=Hs;var Ta=class extends Hs{constructor(e=process.cwd(),r={}){let{nocase:i=!0}=r;super(e,{...r,nocase:i})}};Je.PathScurryDarwin=Ta;Je.Path=process.platform==="win32"?Ys:zs;Je.PathScurry=process.platform==="win32"?Xs:process.platform==="darwin"?Ta:Hs});var Pl=N(xa=>{"use strict";Object.defineProperty(xa,"__esModule",{value:!0});xa.Pattern=void 0;var zS=Gr(),JS=t=>t.length>=1,XS=t=>t.length>=1,El=class t{#e;#t;#n;length;#s;#a;#b;#T;#o;#p;#l=!0;constructor(e,r,i,s){if(!JS(e))throw new TypeError("empty pattern list");if(!XS(r))throw new TypeError("empty glob list");if(r.length!==e.length)throw new TypeError("mismatched pattern list and glob list lengths");if(this.length=e.length,i<0||i>=this.length)throw new TypeError("index out of range");if(this.#e=e,this.#t=r,this.#n=i,this.#s=s,this.#n===0){if(this.isUNC()){let[n,a,o,l,...c]=this.#e,[u,d,x,E,...v]=this.#t;c[0]===""&&(c.shift(),v.shift());let A=[n,a,o,l,""].join("/"),I=[u,d,x,E,""].join("/");this.#e=[A,...c],this.#t=[I,...v],this.length=this.#e.length}else if(this.isDrive()||this.isAbsolute()){let[n,...a]=this.#e,[o,...l]=this.#t;a[0]===""&&(a.shift(),l.shift());let c=n+"/",u=o+"/";this.#e=[c,...a],this.#t=[u,...l],this.length=this.#e.length}}}pattern(){return this.#e[this.#n]}isString(){return typeof this.#e[this.#n]=="string"}isGlobstar(){return this.#e[this.#n]===zS.GLOBSTAR}isRegExp(){return this.#e[this.#n]instanceof RegExp}globString(){return this.#b=this.#b||(this.#n===0?this.isAbsolute()?this.#t[0]+this.#t.slice(1).join("/"):this.#t.join("/"):this.#t.slice(this.#n).join("/"))}hasMore(){return this.length>this.#n+1}rest(){return this.#a!==void 0?this.#a:this.hasMore()?(this.#a=new t(this.#e,this.#t,this.#n+1,this.#s),this.#a.#p=this.#p,this.#a.#o=this.#o,this.#a.#T=this.#T,this.#a):this.#a=null}isUNC(){let e=this.#e;return this.#o!==void 0?this.#o:this.#o=this.#s==="win32"&&this.#n===0&&e[0]===""&&e[1]===""&&typeof e[2]=="string"&&!!e[2]&&typeof e[3]=="string"&&!!e[3]}isDrive(){let e=this.#e;return this.#T!==void 0?this.#T:this.#T=this.#s==="win32"&&this.#n===0&&this.length>1&&typeof e[0]=="string"&&/^[a-z]:$/i.test(e[0])}isAbsolute(){let e=this.#e;return this.#p!==void 0?this.#p:this.#p=e[0]===""&&e.length>1||this.isDrive()||this.isUNC()}root(){let e=this.#e[0];return typeof e=="string"&&this.isAbsolute()&&this.#n===0?e:""}checkFollowGlobstar(){return!(this.#n===0||!this.isGlobstar()||!this.#l)}markFollowGlobstar(){return this.#n===0||!this.isGlobstar()||!this.#l?!1:(this.#l=!1,!0)}};xa.Pattern=El});var Al=N(ga=>{"use strict";Object.defineProperty(ga,"__esModule",{value:!0});ga.Ignore=void 0;var hd=Gr(),HS=Pl(),GS=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",vl=class{relative;relativeChildren;absolute;absoluteChildren;platform;mmopts;constructor(e,{nobrace:r,nocase:i,noext:s,noglobstar:n,platform:a=GS}){this.relative=[],this.absolute=[],this.relativeChildren=[],this.absoluteChildren=[],this.platform=a,this.mmopts={dot:!0,nobrace:r,nocase:i,noext:s,noglobstar:n,optimizationLevel:2,platform:a,nocomment:!0,nonegate:!0};for(let o of e)this.add(o)}add(e){let r=new hd.Minimatch(e,this.mmopts);for(let i=0;i<r.set.length;i++){let s=r.set[i],n=r.globParts[i];if(!s||!n)throw new Error("invalid pattern object");for(;s[0]==="."&&n[0]===".";)s.shift(),n.shift();let a=new HS.Pattern(s,n,0,this.platform),o=new hd.Minimatch(a.globString(),this.mmopts),l=n[n.length-1]==="**",c=a.isAbsolute();c?this.absolute.push(o):this.relative.push(o),l&&(c?this.absoluteChildren.push(o):this.relativeChildren.push(o))}}ignored(e){let r=e.fullpath(),i=`${r}/`,s=e.relative()||".",n=`${s}/`;for(let a of this.relative)if(a.match(s)||a.match(n))return!0;for(let a of this.absolute)if(a.match(r)||a.match(i))return!0;return!1}childrenIgnored(e){let r=e.fullpath()+"/",i=(e.relative()||".")+"/";for(let s of this.relativeChildren)if(s.match(i))return!0;for(let s of this.absoluteChildren)if(s.match(r))return!0;return!1}};ga.Ignore=vl});var md=N(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.Processor=Ar.SubWalks=Ar.MatchRecord=Ar.HasWalkedCache=void 0;var dd=Gr(),ba=class t{store;constructor(e=new Map){this.store=e}copy(){return new t(new Map(this.store))}hasWalked(e,r){return this.store.get(e.fullpath())?.has(r.globString())}storeWalked(e,r){let i=e.fullpath(),s=this.store.get(i);s?s.add(r.globString()):this.store.set(i,new Set([r.globString()]))}};Ar.HasWalkedCache=ba;var Sa=class{store=new Map;add(e,r,i){let s=(r?2:0)|(i?1:0),n=this.store.get(e);this.store.set(e,n===void 0?s:s&n)}entries(){return[...this.store.entries()].map(([e,r])=>[e,!!(r&2),!!(r&1)])}};Ar.MatchRecord=Sa;var Ea=class{store=new Map;add(e,r){if(!e.canReaddir())return;let i=this.store.get(e);i?i.find(s=>s.globString()===r.globString())||i.push(r):this.store.set(e,[r])}get(e){let r=this.store.get(e);if(!r)throw new Error("attempting to walk unknown path");return r}entries(){return this.keys().map(e=>[e,this.store.get(e)])}keys(){return[...this.store.keys()].filter(e=>e.canReaddir())}};Ar.SubWalks=Ea;var wl=class t{hasWalkedCache;matches=new Sa;subwalks=new Ea;patterns;follow;dot;opts;constructor(e,r){this.opts=e,this.follow=!!e.follow,this.dot=!!e.dot,this.hasWalkedCache=r?r.copy():new ba}processPatterns(e,r){this.patterns=r;let i=r.map(s=>[e,s]);for(let[s,n]of i){this.hasWalkedCache.storeWalked(s,n);let a=n.root(),o=n.isAbsolute()&&this.opts.absolute!==!1;if(a){s=s.resolve(a==="/"&&this.opts.root!==void 0?this.opts.root:a);let d=n.rest();if(d)n=d;else{this.matches.add(s,!0,!1);continue}}if(s.isENOENT())continue;let l,c,u=!1;for(;typeof(l=n.pattern())=="string"&&(c=n.rest());)s=s.resolve(l),n=c,u=!0;if(l=n.pattern(),c=n.rest(),u){if(this.hasWalkedCache.hasWalked(s,n))continue;this.hasWalkedCache.storeWalked(s,n)}if(typeof l=="string"){let d=l===".."||l===""||l===".";this.matches.add(s.resolve(l),o,d);continue}else if(l===dd.GLOBSTAR){(!s.isSymbolicLink()||this.follow||n.checkFollowGlobstar())&&this.subwalks.add(s,n);let d=c?.pattern(),x=c?.rest();if(!c||(d===""||d===".")&&!x)this.matches.add(s,o,d===""||d===".");else if(d===".."){let E=s.parent||s;x?this.hasWalkedCache.hasWalked(E,x)||this.subwalks.add(E,x):this.matches.add(E,o,!0)}}else l instanceof RegExp&&this.subwalks.add(s,n)}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new t(this.opts,this.hasWalkedCache)}filterEntries(e,r){let i=this.subwalks.get(e),s=this.child();for(let n of r)for(let a of i){let o=a.isAbsolute(),l=a.pattern(),c=a.rest();l===dd.GLOBSTAR?s.testGlobstar(n,a,c,o):l instanceof RegExp?s.testRegExp(n,l,c,o):s.testString(n,l,c,o)}return s}testGlobstar(e,r,i,s){if((this.dot||!e.name.startsWith("."))&&(r.hasMore()||this.matches.add(e,s,!1),e.canReaddir()&&(this.follow||!e.isSymbolicLink()?this.subwalks.add(e,r):e.isSymbolicLink()&&(i&&r.checkFollowGlobstar()?this.subwalks.add(e,i):r.markFollowGlobstar()&&this.subwalks.add(e,r)))),i){let n=i.pattern();if(typeof n=="string"&&n!==".."&&n!==""&&n!==".")this.testString(e,n,i.rest(),s);else if(n===".."){let a=e.parent||e;this.subwalks.add(a,i)}else n instanceof RegExp&&this.testRegExp(e,n,i.rest(),s)}}testRegExp(e,r,i,s){r.test(e.name)&&(i?this.subwalks.add(e,i):this.matches.add(e,s,!1))}testString(e,r,i,s){e.isNamed(r)&&(i?this.subwalks.add(e,i):this.matches.add(e,s,!1))}};Ar.Processor=wl});var xd=N(ei=>{"use strict";Object.defineProperty(ei,"__esModule",{value:!0});ei.GlobStream=ei.GlobWalker=ei.GlobUtil=void 0;var QS=gl(),yd=Al(),Td=md(),ZS=(t,e)=>typeof t=="string"?new yd.Ignore([t],e):Array.isArray(t)?new yd.Ignore(t,e):t,Gs=class{path;patterns;opts;seen=new Set;paused=!1;aborted=!1;#e=[];#t;#n;signal;maxDepth;includeChildMatches;constructor(e,r,i){if(this.patterns=e,this.path=r,this.opts=i,this.#n=!i.posix&&i.platform==="win32"?"\\":"/",this.includeChildMatches=i.includeChildMatches!==!1,(i.ignore||!this.includeChildMatches)&&(this.#t=ZS(i.ignore??[],i),!this.includeChildMatches&&typeof this.#t.add!="function")){let s="cannot ignore child matches, ignore lacks add() method.";throw new Error(s)}this.maxDepth=i.maxDepth||1/0,i.signal&&(this.signal=i.signal,this.signal.addEventListener("abort",()=>{this.#e.length=0}))}#s(e){return this.seen.has(e)||!!this.#t?.ignored?.(e)}#a(e){return!!this.#t?.childrenIgnored?.(e)}pause(){this.paused=!0}resume(){if(this.signal?.aborted)return;this.paused=!1;let e;for(;!this.paused&&(e=this.#e.shift());)e()}onResume(e){this.signal?.aborted||(this.paused?this.#e.push(e):e())}async matchCheck(e,r){if(r&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||await e.realpath(),!i)return;e=i}let n=e.isUnknown()||this.opts.stat?await e.lstat():e;if(this.opts.follow&&this.opts.nodir&&n?.isSymbolicLink()){let a=await n.realpath();a&&(a.isUnknown()||this.opts.stat)&&await a.lstat()}return this.matchCheckTest(n,r)}matchCheckTest(e,r){return e&&(this.maxDepth===1/0||e.depth()<=this.maxDepth)&&(!r||e.canReaddir())&&(!this.opts.nodir||!e.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!e.isSymbolicLink()||!e.realpathCached()?.isDirectory())&&!this.#s(e)?e:void 0}matchCheckSync(e,r){if(r&&this.opts.nodir)return;let i;if(this.opts.realpath){if(i=e.realpathCached()||e.realpathSync(),!i)return;e=i}let n=e.isUnknown()||this.opts.stat?e.lstatSync():e;if(this.opts.follow&&this.opts.nodir&&n?.isSymbolicLink()){let a=n.realpathSync();a&&(a?.isUnknown()||this.opts.stat)&&a.lstatSync()}return this.matchCheckTest(n,r)}matchFinish(e,r){if(this.#s(e))return;if(!this.includeChildMatches&&this.#t?.add){let n=`${e.relativePosix()}/**`;this.#t.add(n)}let i=this.opts.absolute===void 0?r:this.opts.absolute;this.seen.add(e);let s=this.opts.mark&&e.isDirectory()?this.#n:"";if(this.opts.withFileTypes)this.matchEmit(e);else if(i){let n=this.opts.posix?e.fullpathPosix():e.fullpath();this.matchEmit(n+s)}else{let n=this.opts.posix?e.relativePosix():e.relative(),a=this.opts.dotRelative&&!n.startsWith(".."+this.#n)?"."+this.#n:"";this.matchEmit(n?a+n+s:"."+s)}}async match(e,r,i){let s=await this.matchCheck(e,i);s&&this.matchFinish(s,r)}matchSync(e,r,i){let s=this.matchCheckSync(e,i);s&&this.matchFinish(s,r)}walkCB(e,r,i){this.signal?.aborted&&i(),this.walkCB2(e,r,new Td.Processor(this.opts),i)}walkCB2(e,r,i,s){if(this.#a(e))return s();if(this.signal?.aborted&&s(),this.paused){this.onResume(()=>this.walkCB2(e,r,i,s));return}i.processPatterns(e,r);let n=1,a=()=>{--n===0&&s()};for(let[o,l,c]of i.matches.entries())this.#s(o)||(n++,this.match(o,l,c).then(()=>a()));for(let o of i.subwalkTargets()){if(this.maxDepth!==1/0&&o.depth()>=this.maxDepth)continue;n++;let l=o.readdirCached();o.calledReaddir()?this.walkCB3(o,l,i,a):o.readdirCB((c,u)=>this.walkCB3(o,u,i,a),!0)}a()}walkCB3(e,r,i,s){i=i.filterEntries(e,r);let n=1,a=()=>{--n===0&&s()};for(let[o,l,c]of i.matches.entries())this.#s(o)||(n++,this.match(o,l,c).then(()=>a()));for(let[o,l]of i.subwalks.entries())n++,this.walkCB2(o,l,i.child(),a);a()}walkCBSync(e,r,i){this.signal?.aborted&&i(),this.walkCB2Sync(e,r,new Td.Processor(this.opts),i)}walkCB2Sync(e,r,i,s){if(this.#a(e))return s();if(this.signal?.aborted&&s(),this.paused){this.onResume(()=>this.walkCB2Sync(e,r,i,s));return}i.processPatterns(e,r);let n=1,a=()=>{--n===0&&s()};for(let[o,l,c]of i.matches.entries())this.#s(o)||this.matchSync(o,l,c);for(let o of i.subwalkTargets()){if(this.maxDepth!==1/0&&o.depth()>=this.maxDepth)continue;n++;let l=o.readdirSync();this.walkCB3Sync(o,l,i,a)}a()}walkCB3Sync(e,r,i,s){i=i.filterEntries(e,r);let n=1,a=()=>{--n===0&&s()};for(let[o,l,c]of i.matches.entries())this.#s(o)||this.matchSync(o,l,c);for(let[o,l]of i.subwalks.entries())n++,this.walkCB2Sync(o,l,i.child(),a);a()}};ei.GlobUtil=Gs;var Cl=class extends Gs{matches=new Set;constructor(e,r,i){super(e,r,i)}matchEmit(e){this.matches.add(e)}async walk(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&await this.path.lstat(),await new Promise((e,r)=>{this.walkCB(this.path,this.patterns,()=>{this.signal?.aborted?r(this.signal.reason):e(this.matches)})}),this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>{if(this.signal?.aborted)throw this.signal.reason}),this.matches}};ei.GlobWalker=Cl;var Il=class extends Gs{results;constructor(e,r,i){super(e,r,i),this.results=new QS.Minipass({signal:this.signal,objectMode:!0}),this.results.on("drain",()=>this.resume()),this.results.on("resume",()=>this.resume())}matchEmit(e){this.results.write(e),this.results.flowing||this.pause()}stream(){let e=this.path;return e.isUnknown()?e.lstat().then(()=>{this.walkCB(e,this.patterns,()=>this.results.end())}):this.walkCB(e,this.patterns,()=>this.results.end()),this.results}streamSync(){return this.path.isUnknown()&&this.path.lstatSync(),this.walkCBSync(this.path,this.patterns,()=>this.results.end()),this.results}};ei.GlobStream=Il});var Nl=N(Aa=>{"use strict";Object.defineProperty(Aa,"__esModule",{value:!0});Aa.Glob=void 0;var eE=Gr(),tE=require("node:url"),Pa=fd(),rE=Pl(),va=xd(),iE=typeof process=="object"&&process&&typeof process.platform=="string"?process.platform:"linux",kl=class{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;includeChildMatches;opts;patterns;constructor(e,r){if(!r)throw new TypeError("glob options required");if(this.withFileTypes=!!r.withFileTypes,this.signal=r.signal,this.follow=!!r.follow,this.dot=!!r.dot,this.dotRelative=!!r.dotRelative,this.nodir=!!r.nodir,this.mark=!!r.mark,r.cwd?(r.cwd instanceof URL||r.cwd.startsWith("file://"))&&(r.cwd=(0,tE.fileURLToPath)(r.cwd)):this.cwd="",this.cwd=r.cwd||"",this.root=r.root,this.magicalBraces=!!r.magicalBraces,this.nobrace=!!r.nobrace,this.noext=!!r.noext,this.realpath=!!r.realpath,this.absolute=r.absolute,this.includeChildMatches=r.includeChildMatches!==!1,this.noglobstar=!!r.noglobstar,this.matchBase=!!r.matchBase,this.maxDepth=typeof r.maxDepth=="number"?r.maxDepth:1/0,this.stat=!!r.stat,this.ignore=r.ignore,this.withFileTypes&&this.absolute!==void 0)throw new Error("cannot set absolute and withFileTypes:true");if(typeof e=="string"&&(e=[e]),this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(e=e.map(l=>l.replace(/\\/g,"/"))),this.matchBase){if(r.noglobstar)throw new TypeError("base matching requires globstar");e=e.map(l=>l.includes("/")?l:`./**/${l}`)}if(this.pattern=e,this.platform=r.platform||iE,this.opts={...r,platform:this.platform},r.scurry){if(this.scurry=r.scurry,r.nocase!==void 0&&r.nocase!==r.scurry.nocase)throw new Error("nocase option contradicts provided scurry option")}else{let l=r.platform==="win32"?Pa.PathScurryWin32:r.platform==="darwin"?Pa.PathScurryDarwin:r.platform?Pa.PathScurryPosix:Pa.PathScurry;this.scurry=new l(this.cwd,{nocase:r.nocase,fs:r.fs})}this.nocase=this.scurry.nocase;let i=this.platform==="darwin"||this.platform==="win32",s={...r,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:i,nocomment:!0,noext:this.noext,nonegate:!0,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug},n=this.pattern.map(l=>new eE.Minimatch(l,s)),[a,o]=n.reduce((l,c)=>(l[0].push(...c.set),l[1].push(...c.globParts),l),[[],[]]);this.patterns=a.map((l,c)=>{let u=o[c];if(!u)throw new Error("invalid pattern object");return new rE.Pattern(l,u,0,this.platform)})}async walk(){return[...await new va.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walk()]}walkSync(){return[...new va.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).walkSync()]}stream(){return new va.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).stream()}streamSync(){return new va.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==1/0?this.maxDepth+this.scurry.cwd.depth():1/0,platform:this.platform,nocase:this.nocase,includeChildMatches:this.includeChildMatches}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}};Aa.Glob=kl});var Ol=N(wa=>{"use strict";Object.defineProperty(wa,"__esModule",{value:!0});wa.hasMagic=void 0;var sE=Gr(),nE=(t,e={})=>{Array.isArray(t)||(t=[t]);for(let r of t)if(new sE.Minimatch(r,e).hasMagic())return!0;return!1};wa.hasMagic=nE});var Ed=N(Fe=>{"use strict";Object.defineProperty(Fe,"__esModule",{value:!0});Fe.glob=Fe.sync=Fe.iterate=Fe.iterateSync=Fe.stream=Fe.streamSync=Fe.Ignore=Fe.hasMagic=Fe.Glob=Fe.unescape=Fe.escape=void 0;Fe.globStreamSync=Qs;Fe.globStream=_l;Fe.globSync=Dl;Fe.globIterateSync=Zs;Fe.globIterate=Ll;var gd=Gr(),Ai=Nl(),aE=Ol(),Sd=Gr();Object.defineProperty(Fe,"escape",{enumerable:!0,get:function(){return Sd.escape}});Object.defineProperty(Fe,"unescape",{enumerable:!0,get:function(){return Sd.unescape}});var oE=Nl();Object.defineProperty(Fe,"Glob",{enumerable:!0,get:function(){return oE.Glob}});var lE=Ol();Object.defineProperty(Fe,"hasMagic",{enumerable:!0,get:function(){return lE.hasMagic}});var cE=Al();Object.defineProperty(Fe,"Ignore",{enumerable:!0,get:function(){return cE.Ignore}});function Qs(t,e={}){return new Ai.Glob(t,e).streamSync()}function _l(t,e={}){return new Ai.Glob(t,e).stream()}function Dl(t,e={}){return new Ai.Glob(t,e).walkSync()}async function bd(t,e={}){return new Ai.Glob(t,e).walk()}function Zs(t,e={}){return new Ai.Glob(t,e).iterateSync()}function Ll(t,e={}){return new Ai.Glob(t,e).iterate()}Fe.streamSync=Qs;Fe.stream=Object.assign(_l,{sync:Qs});Fe.iterateSync=Zs;Fe.iterate=Object.assign(Ll,{sync:Zs});Fe.sync=Object.assign(Dl,{stream:Qs,iterate:Zs});Fe.glob=Object.assign(bd,{glob:bd,globSync:Dl,sync:Fe.sync,globStream:_l,stream:Fe.stream,globStreamSync:Qs,streamSync:Fe.streamSync,globIterate:Ll,iterate:Fe.iterate,globIterateSync:Zs,iterateSync:Fe.iterateSync,Glob:Ai.Glob,hasMagic:aE.hasMagic,escape:gd.escape,unescape:gd.unescape});Fe.glob.glob=Fe.glob});var wd=N((RG,Ad)=>{"use strict";var uE=function(e){return pE(e)&&!fE(e)};function pE(t){return!!t&&typeof t=="object"}function fE(t){var e=Object.prototype.toString.call(t);return e==="[object RegExp]"||e==="[object Date]"||mE(t)}var hE=typeof Symbol=="function"&&Symbol.for,dE=hE?Symbol.for("react.element"):60103;function mE(t){return t.$$typeof===dE}function yE(t){return Array.isArray(t)?[]:{}}function en(t,e){return e.clone!==!1&&e.isMergeableObject(t)?rs(yE(t),t,e):t}function TE(t,e,r){return t.concat(e).map(function(i){return en(i,r)})}function xE(t,e){if(!e.customMerge)return rs;var r=e.customMerge(t);return typeof r=="function"?r:rs}function gE(t){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(t).filter(function(e){return Object.propertyIsEnumerable.call(t,e)}):[]}function Pd(t){return Object.keys(t).concat(gE(t))}function vd(t,e){try{return e in t}catch{return!1}}function bE(t,e){return vd(t,e)&&!(Object.hasOwnProperty.call(t,e)&&Object.propertyIsEnumerable.call(t,e))}function SE(t,e,r){var i={};return r.isMergeableObject(t)&&Pd(t).forEach(function(s){i[s]=en(t[s],r)}),Pd(e).forEach(function(s){bE(t,s)||(vd(t,s)&&r.isMergeableObject(e[s])?i[s]=xE(s,r)(t[s],e[s],r):i[s]=en(e[s],r))}),i}function rs(t,e,r){r=r||{},r.arrayMerge=r.arrayMerge||TE,r.isMergeableObject=r.isMergeableObject||uE,r.cloneUnlessOtherwiseSpecified=en;var i=Array.isArray(e),s=Array.isArray(t),n=i===s;return n?i?r.arrayMerge(t,e,r):SE(t,e,r):en(e,r)}rs.all=function(e,r){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,s){return rs(i,s,r)},{})};var EE=rs;Ad.exports=EE});var Fa=N(pn=>{"use strict";Object.defineProperty(pn,"__esModule",{value:!0});function PE(t,e){if(t==null)return{};var r={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;r[i]=t[i]}return r}var Ir=class{constructor(e,r,i){this.line=void 0,this.column=void 0,this.index=void 0,this.line=e,this.column=r,this.index=i}},os=class{constructor(e,r){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=r}};function Lt(t,e){let{line:r,column:i,index:s}=t;return new Ir(r,i+e,s+e)}var Cd="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",vE={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:Cd},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:Cd}},Id={ArrayPattern:"array destructuring pattern",AssignmentExpression:"assignment expression",AssignmentPattern:"assignment expression",ArrowFunctionExpression:"arrow function expression",ConditionalExpression:"conditional expression",CatchClause:"catch clause",ForOfStatement:"for-of statement",ForInStatement:"for-in statement",ForStatement:"for-loop",FormalParameters:"function parameter list",Identifier:"identifier",ImportSpecifier:"import specifier",ImportDefaultSpecifier:"import default specifier",ImportNamespaceSpecifier:"import namespace specifier",ObjectPattern:"object destructuring pattern",ParenthesizedExpression:"parenthesized expression",RestElement:"rest element",UpdateExpression:{true:"prefix operation",false:"postfix operation"},VariableDeclarator:"variable declaration",YieldExpression:"yield expression"},ka=t=>t.type==="UpdateExpression"?Id.UpdateExpression[`${t.prefix}`]:Id[t.type],AE={AccessorIsGenerator:({kind:t})=>`A ${t}ter cannot be a generator.`,ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitUsingNotInAsyncContext:"'await using' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",BadGetterArity:"A 'get' accessor must not have any formal parameters.",BadSetterArity:"A 'set' accessor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accessor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:({kind:t})=>`Missing initializer in ${t} declaration.`,DecoratorArgumentsOutsideParentheses:"Decorator arguments must be moved inside parentheses: use '@(decorator(args))' instead of '@(decorator)(args)'.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. Remove the 'decoratorsBeforeExport: true' option to use the 'export @decorator class {}' syntax.",DecoratorsBeforeAfterExport:"Decorators can be placed *either* before or after the 'export' keyword, but not in both locations at the same time.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Decorators must be placed *after* the 'export' keyword. Remove the 'decoratorsBeforeExport: false' option to use the '@decorator export class {}' syntax.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:({exportName:t})=>`\`${t}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:t,exportName:e})=>`A string literal cannot be used as an exported binding without \`from\`.
4
+ - Did you mean \`export { '${t}' as '${e}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:t})=>`'${t==="ForInStatement"?"for-in":"for-of"}' loop variable declaration may not have an initializer.`,ForInUsing:"For-in loop may not start with 'using' declaration.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:({type:t})=>`Unsyntactic ${t==="BreakStatement"?"break":"continue"}.`,IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportAttributesUseAssert:"The `assert` keyword in import attributes is deprecated and it has been replaced by the `with` keyword. You can enable the `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:t})=>`A string literal cannot be used as an imported binding.
5
+ - Did you mean \`import { "${t}" as foo }\`?`,ImportCallArity:"`import()` requires exactly one or two arguments.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",ImportJSONBindingNotDefault:"A JSON module can only be imported with `default`.",ImportReflectionHasAssertion:"`import module x` cannot have assertions.",ImportReflectionNotBinding:'Only `import module x from "./module"` is valid.',IncompatibleRegExpUVFlags:"The 'u' and 'v' regular expression flags cannot be enabled at the same time.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:t})=>`Expected number in radix ${t}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:t})=>`Escape sequence in keyword ${t}.`,InvalidIdentifier:({identifierName:t})=>`Invalid identifier ${t}.`,InvalidLhs:({ancestor:t})=>`Invalid left-hand side in ${ka(t)}.`,InvalidLhsBinding:({ancestor:t})=>`Binding invalid left-hand side in ${ka(t)}.`,InvalidLhsOptionalChaining:({ancestor:t})=>`Invalid optional chaining in the left-hand side of ${ka(t)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:t})=>`Unexpected character '${t}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:t})=>`Private name #${t} is not defined.`,InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:({labelName:t})=>`Label '${t}' is already declared.`,LetInLexicalBinding:"'let' is disallowed as a lexically bound name.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingPlugin:({missingPlugin:t})=>`This experimental syntax requires enabling the parser plugin: ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:t})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${t.map(e=>JSON.stringify(e)).join(", ")}.`,MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:({key:t})=>`Duplicate key "${t}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:t})=>`An export name cannot include a lone surrogate, found '\\u${t.toString(16)}'.`,ModuleExportUndefined:({localName:t})=>`Export '${t}' is not defined.`,MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PrivateInExpectedIn:({identifierName:t})=>`Private names are only allowed in property accesses (\`obj.#${t}\`) or in \`in\` expressions (\`#${t} in obj\`).`,PrivateNameRedeclaration:({identifierName:t})=>`Duplicate private name #${t}.`,RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level or inside a block.",SloppyFunctionAnnexB:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',StaticPrototype:"Classes may not have static property named prototype.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:({keyword:t})=>`Unexpected keyword '${t}'.`,UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:({reservedWord:t})=>`Unexpected reserved word '${t}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:t,unexpected:e})=>`Unexpected token${e?` '${e}'.`:""}${t?`, expected "${t}"`:""}`,UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnexpectedUsingDeclaration:"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:({target:t,onlyValidPropertyName:e})=>`The only valid meta property for ${t} is ${t}.${e}.`,UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:t})=>`Identifier '${t}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},wE={StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:t})=>`Assigning to '${t}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:t})=>`Binding '${t}' in strict mode.`,StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode."},CE={ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:t})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(t)}\`.`},IE=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]),kE=Object.assign({PipeBodyIsTighter:"Unexpected yield after pipeline body; any yield expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:({token:t})=>`Invalid topic token ${t}. In order to use ${t} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${t}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:t})=>`Hack-style pipe body cannot be an unparenthesized ${ka({type:t})}; please wrap it in parentheses.`},{PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.'}),NE=["message"];function kd(t,e,r){Object.defineProperty(t,e,{enumerable:!1,configurable:!0,value:r})}function OE({toMessage:t,code:e,reasonCode:r,syntaxPlugin:i}){let s=r==="MissingPlugin"||r==="MissingOneOfPlugins";{let n={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};n[r]&&(r=n[r])}return function n(a,o){let l=new SyntaxError;return l.code=e,l.reasonCode=r,l.loc=a,l.pos=a.index,l.syntaxPlugin=i,s&&(l.missingPlugin=o.missingPlugin),kd(l,"clone",function(u={}){var d;let{line:x,column:E,index:v}=(d=u.loc)!=null?d:a;return n(new Ir(x,E,v),Object.assign({},o,u.details))}),kd(l,"details",o),Object.defineProperty(l,"message",{configurable:!0,get(){let c=`${t(o)} (${a.line}:${a.column})`;return this.message=c,c},set(c){Object.defineProperty(this,"message",{value:c,writable:!0})}}),l}}function Cr(t,e){if(Array.isArray(t))return i=>Cr(i,t[0]);let r={};for(let i of Object.keys(t)){let s=t[i],n=typeof s=="string"?{message:()=>s}:typeof s=="function"?{message:s}:s,{message:a}=n,o=PE(n,NE),l=typeof a=="string"?()=>a:a;r[i]=OE(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:i,toMessage:l},e?{syntaxPlugin:e}:{},o))}return r}var w=Object.assign({},Cr(vE),Cr(AE),Cr(wE),Cr(CE),Cr`pipelineOperator`(kE));function _E(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function DE(t){let e=_E();if(t==null)return e;if(t.annexB!=null&&t.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let r of Object.keys(e))t[r]!=null&&(e[r]=t[r]);if(e.startLine===1)t.startIndex==null&&e.startColumn>0?e.startIndex=e.startColumn:t.startColumn==null&&e.startIndex>0&&(e.startColumn=e.startIndex);else if((t.startColumn==null||t.startIndex==null)&&t.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(e.sourceType==="commonjs"){if(t.allowAwaitOutsideFunction!=null)throw new Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(t.allowReturnOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(t.allowNewTargetOutsideFunction!=null)throw new Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return e}var{defineProperty:LE}=Object,Nd=(t,e)=>{t&&LE(t,e,{enumerable:!1,value:t[e]})};function tn(t){return Nd(t.loc.start,"index"),Nd(t.loc.end,"index"),t}var ME=t=>class extends t{parse(){let r=tn(super.parse());return this.optionFlags&256&&(r.tokens=r.tokens.map(tn)),r}parseRegExpLiteral({pattern:r,flags:i}){let s=null;try{s=new RegExp(r,i)}catch{}let n=this.estreeParseLiteral(s);return n.regex={pattern:r,flags:i},n}parseBigIntLiteral(r){let i;try{i=BigInt(r)}catch{i=null}let s=this.estreeParseLiteral(i);return s.bigint=String(s.value||r),s}parseDecimalLiteral(r){let s=this.estreeParseLiteral(null);return s.decimal=String(s.value||r),s}estreeParseLiteral(r){return this.parseLiteral(r,"Literal")}parseStringLiteral(r){return this.estreeParseLiteral(r)}parseNumericLiteral(r){return this.estreeParseLiteral(r)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(r){return this.estreeParseLiteral(r)}estreeParseChainExpression(r,i){let s=this.startNodeAtNode(r);return s.expression=r,this.finishNodeAt(s,"ChainExpression",i)}directiveToStmt(r){let i=r.value;delete r.value,this.castNodeTo(i,"Literal"),i.raw=i.extra.raw,i.value=i.extra.expressionValue;let s=this.castNodeTo(r,"ExpressionStatement");return s.expression=i,s.directive=i.extra.rawValue,delete i.extra,s}fillOptionalPropertiesForTSESLint(r){}cloneEstreeStringLiteral(r){let{start:i,end:s,loc:n,range:a,raw:o,value:l}=r,c=Object.create(r.constructor.prototype);return c.type="Literal",c.start=i,c.end=s,c.loc=n,c.range=a,c.raw=o,c.value=l,c}initFunction(r,i){super.initFunction(r,i),r.expression=!1}checkDeclaration(r){r!=null&&this.isObjectProperty(r)?this.checkDeclaration(r.value):super.checkDeclaration(r)}getObjectOrClassMethodParams(r){return r.value.params}isValidDirective(r){var i;return r.type==="ExpressionStatement"&&r.expression.type==="Literal"&&typeof r.expression.value=="string"&&!((i=r.expression.extra)!=null&&i.parenthesized)}parseBlockBody(r,i,s,n,a){super.parseBlockBody(r,i,s,n,a);let o=r.directives.map(l=>this.directiveToStmt(l));r.body=o.concat(r.body),delete r.directives}parsePrivateName(){let r=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(r):r}convertPrivateNameToPrivateIdentifier(r){let i=super.getPrivateNameSV(r);return r=r,delete r.id,r.name=i,this.castNodeTo(r,"PrivateIdentifier")}isPrivateName(r){return this.getPluginOption("estree","classFeatures")?r.type==="PrivateIdentifier":super.isPrivateName(r)}getPrivateNameSV(r){return this.getPluginOption("estree","classFeatures")?r.name:super.getPrivateNameSV(r)}parseLiteral(r,i){let s=super.parseLiteral(r,i);return s.raw=s.extra.raw,delete s.extra,s}parseFunctionBody(r,i,s=!1){super.parseFunctionBody(r,i,s),r.expression=r.body.type!=="BlockStatement"}parseMethod(r,i,s,n,a,o,l=!1){let c=this.startNode();c.kind=r.kind,c=super.parseMethod(c,i,s,n,a,o,l),delete c.kind;let{typeParameters:u}=r;u&&(delete r.typeParameters,c.typeParameters=u,this.resetStartLocationFromNode(c,u));let d=this.castNodeTo(c,"FunctionExpression");return r.value=d,o==="ClassPrivateMethod"&&(r.computed=!1),o==="ObjectMethod"?(r.kind==="method"&&(r.kind="init"),r.shorthand=!1,this.finishNode(r,"Property")):this.finishNode(r,"MethodDefinition")}nameIsConstructor(r){return r.type==="Literal"?r.value==="constructor":super.nameIsConstructor(r)}parseClassProperty(...r){let i=super.parseClassProperty(...r);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(i,"PropertyDefinition"),i}parseClassPrivateProperty(...r){let i=super.parseClassPrivateProperty(...r);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(i,"PropertyDefinition"),i.computed=!1),i}parseClassAccessorProperty(r){let i=super.parseClassAccessorProperty(r);return this.getPluginOption("estree","classFeatures")&&(i.abstract&&this.hasPlugin("typescript")?(delete i.abstract,this.castNodeTo(i,"TSAbstractAccessorProperty")):this.castNodeTo(i,"AccessorProperty")),i}parseObjectProperty(r,i,s,n){let a=super.parseObjectProperty(r,i,s,n);return a&&(a.kind="init",this.castNodeTo(a,"Property")),a}finishObjectProperty(r){return r.kind="init",this.finishNode(r,"Property")}isValidLVal(r,i,s){return r==="Property"?"value":super.isValidLVal(r,i,s)}isAssignable(r,i){return r!=null&&this.isObjectProperty(r)?this.isAssignable(r.value,i):super.isAssignable(r,i)}toAssignable(r,i=!1){if(r!=null&&this.isObjectProperty(r)){let{key:s,value:n}=r;this.isPrivateName(s)&&this.classScope.usePrivateName(this.getPrivateNameSV(s),s.loc.start),this.toAssignable(n,i)}else super.toAssignable(r,i)}toAssignableObjectExpressionProp(r,i,s){r.type==="Property"&&(r.kind==="get"||r.kind==="set")?this.raise(w.PatternHasAccessor,r.key):r.type==="Property"&&r.method?this.raise(w.PatternHasMethod,r.key):super.toAssignableObjectExpressionProp(r,i,s)}finishCallExpression(r,i){let s=super.finishCallExpression(r,i);if(s.callee.type==="Import"){var n,a;this.castNodeTo(s,"ImportExpression"),s.source=s.arguments[0],s.options=(n=s.arguments[1])!=null?n:null,s.attributes=(a=s.arguments[1])!=null?a:null,delete s.arguments,delete s.callee}else s.type==="OptionalCallExpression"?this.castNodeTo(s,"CallExpression"):s.optional=!1;return s}toReferencedArguments(r){r.type!=="ImportExpression"&&super.toReferencedArguments(r)}parseExport(r,i){let s=this.state.lastTokStartLoc,n=super.parseExport(r,i);switch(n.type){case"ExportAllDeclaration":n.exported=null;break;case"ExportNamedDeclaration":n.specifiers.length===1&&n.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(n,"ExportAllDeclaration"),n.exported=n.specifiers[0].exported,delete n.specifiers);case"ExportDefaultDeclaration":{var a;let{declaration:o}=n;o?.type==="ClassDeclaration"&&((a=o.decorators)==null?void 0:a.length)>0&&o.start===n.start&&this.resetStartLocation(n,s)}break}return n}stopParseSubscript(r,i){let s=super.stopParseSubscript(r,i);return i.optionalChainMember?this.estreeParseChainExpression(s,r.loc.end):s}parseMember(r,i,s,n,a){let o=super.parseMember(r,i,s,n,a);return o.type==="OptionalMemberExpression"?this.castNodeTo(o,"MemberExpression"):o.optional=!1,o}isOptionalMemberExpression(r){return r.type==="ChainExpression"?r.expression.type==="MemberExpression":super.isOptionalMemberExpression(r)}hasPropertyAsPrivateName(r){return r.type==="ChainExpression"&&(r=r.expression),super.hasPropertyAsPrivateName(r)}isObjectProperty(r){return r.type==="Property"&&r.kind==="init"&&!r.method}isObjectMethod(r){return r.type==="Property"&&(r.method||r.kind==="get"||r.kind==="set")}castNodeTo(r,i){let s=super.castNodeTo(r,i);return this.fillOptionalPropertiesForTSESLint(s),s}cloneIdentifier(r){let i=super.cloneIdentifier(r);return this.fillOptionalPropertiesForTSESLint(i),i}cloneStringLiteral(r){return r.type==="Literal"?this.cloneEstreeStringLiteral(r):super.cloneStringLiteral(r)}finishNodeAt(r,i,s){return tn(super.finishNodeAt(r,i,s))}finishNode(r,i){let s=super.finishNode(r,i);return this.fillOptionalPropertiesForTSESLint(s),s}resetStartLocation(r,i){super.resetStartLocation(r,i),tn(r)}resetEndLocation(r,i=this.state.lastTokEndLoc){super.resetEndLocation(r,i),tn(r)}},Ci=class{constructor(e,r){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!r}},Ke={brace:new Ci("{"),j_oTag:new Ci("<tag"),j_cTag:new Ci("</tag"),j_expr:new Ci("<tag>...</tag>",!0)};Ke.template=new Ci("`",!0);var Ie=!0,re=!0,Ml=!0,rn=!0,ti=!0,FE=!0,_a=class{constructor(e,r={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=e,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.rightAssociative=!!r.rightAssociative,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop!=null?r.binop:null,this.updateContext=null}},ac=new Map;function je(t,e={}){e.keyword=t;let r=pe(t,e);return ac.set(t,r),r}function Dt(t,e){return pe(t,{beforeExpr:Ie,binop:e})}var on=-1,Ur=[],oc=[],lc=[],cc=[],uc=[],pc=[];function pe(t,e={}){var r,i,s,n;return++on,oc.push(t),lc.push((r=e.binop)!=null?r:-1),cc.push((i=e.beforeExpr)!=null?i:!1),uc.push((s=e.startsExpr)!=null?s:!1),pc.push((n=e.prefix)!=null?n:!1),Ur.push(new _a(t,e)),on}function _e(t,e={}){var r,i,s,n;return++on,ac.set(t,on),oc.push(t),lc.push((r=e.binop)!=null?r:-1),cc.push((i=e.beforeExpr)!=null?i:!1),uc.push((s=e.startsExpr)!=null?s:!1),pc.push((n=e.prefix)!=null?n:!1),Ur.push(new _a("name",e)),on}var BE={bracketL:pe("[",{beforeExpr:Ie,startsExpr:re}),bracketHashL:pe("#[",{beforeExpr:Ie,startsExpr:re}),bracketBarL:pe("[|",{beforeExpr:Ie,startsExpr:re}),bracketR:pe("]"),bracketBarR:pe("|]"),braceL:pe("{",{beforeExpr:Ie,startsExpr:re}),braceBarL:pe("{|",{beforeExpr:Ie,startsExpr:re}),braceHashL:pe("#{",{beforeExpr:Ie,startsExpr:re}),braceR:pe("}"),braceBarR:pe("|}"),parenL:pe("(",{beforeExpr:Ie,startsExpr:re}),parenR:pe(")"),comma:pe(",",{beforeExpr:Ie}),semi:pe(";",{beforeExpr:Ie}),colon:pe(":",{beforeExpr:Ie}),doubleColon:pe("::",{beforeExpr:Ie}),dot:pe("."),question:pe("?",{beforeExpr:Ie}),questionDot:pe("?."),arrow:pe("=>",{beforeExpr:Ie}),template:pe("template"),ellipsis:pe("...",{beforeExpr:Ie}),backQuote:pe("`",{startsExpr:re}),dollarBraceL:pe("${",{beforeExpr:Ie,startsExpr:re}),templateTail:pe("...`",{startsExpr:re}),templateNonTail:pe("...${",{beforeExpr:Ie,startsExpr:re}),at:pe("@"),hash:pe("#",{startsExpr:re}),interpreterDirective:pe("#!..."),eq:pe("=",{beforeExpr:Ie,isAssign:rn}),assign:pe("_=",{beforeExpr:Ie,isAssign:rn}),slashAssign:pe("_=",{beforeExpr:Ie,isAssign:rn}),xorAssign:pe("_=",{beforeExpr:Ie,isAssign:rn}),moduloAssign:pe("_=",{beforeExpr:Ie,isAssign:rn}),incDec:pe("++/--",{prefix:ti,postfix:FE,startsExpr:re}),bang:pe("!",{beforeExpr:Ie,prefix:ti,startsExpr:re}),tilde:pe("~",{beforeExpr:Ie,prefix:ti,startsExpr:re}),doubleCaret:pe("^^",{startsExpr:re}),doubleAt:pe("@@",{startsExpr:re}),pipeline:Dt("|>",0),nullishCoalescing:Dt("??",1),logicalOR:Dt("||",1),logicalAND:Dt("&&",2),bitwiseOR:Dt("|",3),bitwiseXOR:Dt("^",4),bitwiseAND:Dt("&",5),equality:Dt("==/!=/===/!==",6),lt:Dt("</>/<=/>=",7),gt:Dt("</>/<=/>=",7),relational:Dt("</>/<=/>=",7),bitShift:Dt("<</>>/>>>",8),bitShiftL:Dt("<</>>/>>>",8),bitShiftR:Dt("<</>>/>>>",8),plusMin:pe("+/-",{beforeExpr:Ie,binop:9,prefix:ti,startsExpr:re}),modulo:pe("%",{binop:10,startsExpr:re}),star:pe("*",{binop:10}),slash:Dt("/",10),exponent:pe("**",{beforeExpr:Ie,binop:11,rightAssociative:!0}),_in:je("in",{beforeExpr:Ie,binop:7}),_instanceof:je("instanceof",{beforeExpr:Ie,binop:7}),_break:je("break"),_case:je("case",{beforeExpr:Ie}),_catch:je("catch"),_continue:je("continue"),_debugger:je("debugger"),_default:je("default",{beforeExpr:Ie}),_else:je("else",{beforeExpr:Ie}),_finally:je("finally"),_function:je("function",{startsExpr:re}),_if:je("if"),_return:je("return",{beforeExpr:Ie}),_switch:je("switch"),_throw:je("throw",{beforeExpr:Ie,prefix:ti,startsExpr:re}),_try:je("try"),_var:je("var"),_const:je("const"),_with:je("with"),_new:je("new",{beforeExpr:Ie,startsExpr:re}),_this:je("this",{startsExpr:re}),_super:je("super",{startsExpr:re}),_class:je("class",{startsExpr:re}),_extends:je("extends",{beforeExpr:Ie}),_export:je("export"),_import:je("import",{startsExpr:re}),_null:je("null",{startsExpr:re}),_true:je("true",{startsExpr:re}),_false:je("false",{startsExpr:re}),_typeof:je("typeof",{beforeExpr:Ie,prefix:ti,startsExpr:re}),_void:je("void",{beforeExpr:Ie,prefix:ti,startsExpr:re}),_delete:je("delete",{beforeExpr:Ie,prefix:ti,startsExpr:re}),_do:je("do",{isLoop:Ml,beforeExpr:Ie}),_for:je("for",{isLoop:Ml}),_while:je("while",{isLoop:Ml}),_as:_e("as",{startsExpr:re}),_assert:_e("assert",{startsExpr:re}),_async:_e("async",{startsExpr:re}),_await:_e("await",{startsExpr:re}),_defer:_e("defer",{startsExpr:re}),_from:_e("from",{startsExpr:re}),_get:_e("get",{startsExpr:re}),_let:_e("let",{startsExpr:re}),_meta:_e("meta",{startsExpr:re}),_of:_e("of",{startsExpr:re}),_sent:_e("sent",{startsExpr:re}),_set:_e("set",{startsExpr:re}),_source:_e("source",{startsExpr:re}),_static:_e("static",{startsExpr:re}),_using:_e("using",{startsExpr:re}),_yield:_e("yield",{startsExpr:re}),_asserts:_e("asserts",{startsExpr:re}),_checks:_e("checks",{startsExpr:re}),_exports:_e("exports",{startsExpr:re}),_global:_e("global",{startsExpr:re}),_implements:_e("implements",{startsExpr:re}),_intrinsic:_e("intrinsic",{startsExpr:re}),_infer:_e("infer",{startsExpr:re}),_is:_e("is",{startsExpr:re}),_mixins:_e("mixins",{startsExpr:re}),_proto:_e("proto",{startsExpr:re}),_require:_e("require",{startsExpr:re}),_satisfies:_e("satisfies",{startsExpr:re}),_keyof:_e("keyof",{startsExpr:re}),_readonly:_e("readonly",{startsExpr:re}),_unique:_e("unique",{startsExpr:re}),_abstract:_e("abstract",{startsExpr:re}),_declare:_e("declare",{startsExpr:re}),_enum:_e("enum",{startsExpr:re}),_module:_e("module",{startsExpr:re}),_namespace:_e("namespace",{startsExpr:re}),_interface:_e("interface",{startsExpr:re}),_type:_e("type",{startsExpr:re}),_opaque:_e("opaque",{startsExpr:re}),name:pe("name",{startsExpr:re}),placeholder:pe("%%",{startsExpr:re}),string:pe("string",{startsExpr:re}),num:pe("num",{startsExpr:re}),bigint:pe("bigint",{startsExpr:re}),decimal:pe("decimal",{startsExpr:re}),regexp:pe("regexp",{startsExpr:re}),privateName:pe("#name",{startsExpr:re}),eof:pe("eof"),jsxName:pe("jsxName"),jsxText:pe("jsxText",{beforeExpr:Ie}),jsxTagStart:pe("jsxTagStart",{startsExpr:re}),jsxTagEnd:pe("jsxTagEnd")};function Ve(t){return t>=93&&t<=133}function jE(t){return t<=92}function mr(t){return t>=58&&t<=133}function $d(t){return t>=58&&t<=137}function RE(t){return cc[t]}function nn(t){return uc[t]}function qE(t){return t>=29&&t<=33}function Od(t){return t>=129&&t<=131}function UE(t){return t>=90&&t<=92}function fc(t){return t>=58&&t<=92}function $E(t){return t>=39&&t<=59}function KE(t){return t===34}function WE(t){return pc[t]}function VE(t){return t>=121&&t<=123}function YE(t){return t>=124&&t<=130}function si(t){return oc[t]}function Na(t){return lc[t]}function zE(t){return t===57}function Da(t){return t>=24&&t<=25}function qr(t){return Ur[t]}Ur[8].updateContext=t=>{t.pop()},Ur[5].updateContext=Ur[7].updateContext=Ur[23].updateContext=t=>{t.push(Ke.brace)},Ur[22].updateContext=t=>{t[t.length-1]===Ke.template?t.pop():t.push(Ke.template)},Ur[143].updateContext=t=>{t.push(Ke.j_expr,Ke.j_oTag)};var hc="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Kd="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",JE=new RegExp("["+hc+"]"),XE=new RegExp("["+hc+Kd+"]");hc=Kd=null;var Wd=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],HE=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function ql(t,e){let r=65536;for(let i=0,s=e.length;i<s;i+=2){if(r+=e[i],r>t)return!1;if(r+=e[i+1],r>=t)return!0}return!1}function $r(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&JE.test(String.fromCharCode(t)):ql(t,Wd)}function ss(t){return t<48?t===36:t<58?!0:t<65?!1:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&XE.test(String.fromCharCode(t)):ql(t,Wd)||ql(t,HE)}var dc={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},GE=new Set(dc.keyword),QE=new Set(dc.strict),ZE=new Set(dc.strictBind);function Vd(t,e){return e&&t==="await"||t==="enum"}function Yd(t,e){return Vd(t,e)||QE.has(t)}function zd(t){return ZE.has(t)}function Jd(t,e){return Yd(t,e)||zd(t)}function eP(t){return GE.has(t)}function tP(t,e,r){return t===64&&e===64&&$r(r)}var rP=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);function iP(t){return rP.has(t)}var ln=class{constructor(e){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=e}},cn=class{constructor(e,r){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=e,this.inModule=r}get inTopLevel(){return(this.currentScope().flags&1)>0}get inFunction(){return(this.currentVarScopeFlags()&2)>0}get allowSuper(){return(this.currentThisScopeFlags()&16)>0}get allowDirectSuper(){return(this.currentThisScopeFlags()&32)>0}get allowNewTarget(){return(this.currentThisScopeFlags()&512)>0}get inClass(){return(this.currentThisScopeFlags()&64)>0}get inClassAndNotInNonArrowFunction(){let e=this.currentThisScopeFlags();return(e&64)>0&&(e&2)===0}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){let{flags:r}=this.scopeStack[e];if(r&128)return!0;if(r&1731)return!1}}get inNonArrowFunction(){return(this.currentThisScopeFlags()&2)>0}get inBareCaseStatement(){return(this.currentScope().flags&256)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new ln(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(e){return!!(e.flags&130||!this.parser.inModule&&e.flags&1)}declareName(e,r,i){let s=this.currentScope();if(r&8||r&16){this.checkRedeclarationInScope(s,e,r,i);let n=s.names.get(e)||0;r&16?n=n|4:(s.firstLexicalName||(s.firstLexicalName=e),n=n|2),s.names.set(e,n),r&8&&this.maybeExportDefined(s,e)}else if(r&4)for(let n=this.scopeStack.length-1;n>=0&&(s=this.scopeStack[n],this.checkRedeclarationInScope(s,e,r,i),s.names.set(e,(s.names.get(e)||0)|1),this.maybeExportDefined(s,e),!(s.flags&1667));--n);this.parser.inModule&&s.flags&1&&this.undefinedExports.delete(e)}maybeExportDefined(e,r){this.parser.inModule&&e.flags&1&&this.undefinedExports.delete(r)}checkRedeclarationInScope(e,r,i,s){this.isRedeclaredInScope(e,r,i)&&this.parser.raise(w.VarRedeclaration,s,{identifierName:r})}isRedeclaredInScope(e,r,i){if(!(i&1))return!1;if(i&8)return e.names.has(r);let s=e.names.get(r);return i&16?(s&2)>0||!this.treatFunctionsAsVarInScope(e)&&(s&1)>0:(s&2)>0&&!(e.flags&8&&e.firstLexicalName===r)||!this.treatFunctionsAsVarInScope(e)&&(s&4)>0}checkLocalExport(e){let{name:r}=e;this.scopeStack[0].names.has(r)||this.undefinedExports.set(r,e.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:r}=this.scopeStack[e];if(r&1667)return r}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){let{flags:r}=this.scopeStack[e];if(r&1731&&!(r&4))return r}}},Ul=class extends ln{constructor(...e){super(...e),this.declareFunctions=new Set}},$l=class extends cn{createScope(e){return new Ul(e)}declareName(e,r,i){let s=this.currentScope();if(r&2048){this.checkRedeclarationInScope(s,e,r,i),this.maybeExportDefined(s,e),s.declareFunctions.add(e);return}super.declareName(e,r,i)}isRedeclaredInScope(e,r,i){if(super.isRedeclaredInScope(e,r,i))return!0;if(i&2048&&!e.declareFunctions.has(r)){let s=e.names.get(r);return(s&4)>0||(s&2)>0}return!1}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}},sP=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),de=Cr`flow`({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:({reservedType:t})=>`Cannot overwrite reserved type ${t}.`,DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:({memberName:t,enumName:e})=>`Boolean enum members need to be initialized. Use either \`${t} = true,\` or \`${t} = false,\` in enum \`${e}\`.`,EnumDuplicateMemberName:({memberName:t,enumName:e})=>`Enum member names need to be unique, but the name \`${t}\` has already been used before in enum \`${e}\`.`,EnumInconsistentMemberValues:({enumName:t})=>`Enum \`${t}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:t,enumName:e})=>`Enum type \`${t}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${e}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:t})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${t}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:t,memberName:e,explicitType:r})=>`Enum \`${t}\` has type \`${r}\`, so the initializer of \`${e}\` needs to be a ${r} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:t,memberName:e})=>`Symbol enum members cannot be initialized. Use \`${e},\` in enum \`${t}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:t,memberName:e})=>`The enum member initializer for \`${e}\` needs to be a literal (either a boolean, number, or string) in enum \`${t}\`.`,EnumInvalidMemberName:({enumName:t,memberName:e,suggestion:r})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${e}\`, consider using \`${r}\`, in enum \`${t}\`.`,EnumNumberMemberNotInitialized:({enumName:t,memberName:e})=>`Number enum members need to be initialized, e.g. \`${e} = 1\` in enum \`${t}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:t})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${t}\`.`,GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` or `typeof` keyword.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:Object.assign({message:"A binding pattern parameter cannot be optional in an implementation signature."},{reasonCode:"OptionalBindingPattern"}),SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:({reservedType:t})=>`Unexpected reserved type ${t}.`,UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:({unsupportedExportKind:t,suggestion:e})=>`\`declare export ${t}\` is not supported. Use \`${e}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function nP(t){return t.type==="DeclareExportAllDeclaration"||t.type==="DeclareExportDeclaration"&&(!t.declaration||t.declaration.type!=="TypeAlias"&&t.declaration.type!=="InterfaceDeclaration")}function _d(t){return t.importKind==="type"||t.importKind==="typeof"}var aP={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function oP(t,e){let r=[],i=[];for(let s=0;s<t.length;s++)(e(t[s],s,t)?r:i).push(t[s]);return[r,i]}var lP=/\*?\s*@((?:no)?flow)\b/,cP=t=>class extends t{constructor(...r){super(...r),this.flowPragma=void 0}getScopeHandler(){return $l}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(r,i){r!==134&&r!==13&&r!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(r,i)}addComment(r){if(this.flowPragma===void 0){let i=lP.exec(r.value);if(i)if(i[1]==="flow")this.flowPragma="flow";else if(i[1]==="noflow")this.flowPragma="noflow";else throw new Error("Unexpected flow pragma")}super.addComment(r)}flowParseTypeInitialiser(r){let i=this.state.inType;this.state.inType=!0,this.expect(r||14);let s=this.flowParseType();return this.state.inType=i,s}flowParsePredicate(){let r=this.startNode(),i=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>i.index+1&&this.raise(de.UnexpectedSpaceBetweenModuloChecks,i),this.eat(10)?(r.value=super.parseExpression(),this.expect(11),this.finishNode(r,"DeclaredPredicate")):this.finishNode(r,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let r=this.state.inType;this.state.inType=!0,this.expect(14);let i=null,s=null;return this.match(54)?(this.state.inType=r,s=this.flowParsePredicate()):(i=this.flowParseType(),this.state.inType=r,this.match(54)&&(s=this.flowParsePredicate())),[i,s]}flowParseDeclareClass(r){return this.next(),this.flowParseInterfaceish(r,!0),this.finishNode(r,"DeclareClass")}flowParseDeclareFunction(r){this.next();let i=r.id=this.parseIdentifier(),s=this.startNode(),n=this.startNode();this.match(47)?s.typeParameters=this.flowParseTypeParameterDeclaration():s.typeParameters=null,this.expect(10);let a=this.flowParseFunctionTypeParams();return s.params=a.params,s.rest=a.rest,s.this=a._this,this.expect(11),[s.returnType,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(s,"FunctionTypeAnnotation"),i.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(i),this.semicolon(),this.scope.declareName(r.id.name,2048,r.id.loc.start),this.finishNode(r,"DeclareFunction")}flowParseDeclare(r,i){if(this.match(80))return this.flowParseDeclareClass(r);if(this.match(68))return this.flowParseDeclareFunction(r);if(this.match(74))return this.flowParseDeclareVariable(r);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(r):(i&&this.raise(de.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(r));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(r);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(r);if(this.isContextual(129))return this.flowParseDeclareInterface(r);if(this.match(82))return this.flowParseDeclareExportDeclaration(r,i);this.unexpected()}flowParseDeclareVariable(r){return this.next(),r.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(r.id.name,5,r.id.loc.start),this.semicolon(),this.finishNode(r,"DeclareVariable")}flowParseDeclareModule(r){this.scope.enter(0),this.match(134)?r.id=super.parseExprAtom():r.id=this.parseIdentifier();let i=r.body=this.startNode(),s=i.body=[];for(this.expect(5);!this.match(8);){let o=this.startNode();this.match(83)?(this.next(),!this.isContextual(130)&&!this.match(87)&&this.raise(de.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(o)):(this.expectContextual(125,de.UnsupportedStatementInDeclareModule),o=this.flowParseDeclare(o,!0)),s.push(o)}this.scope.exit(),this.expect(8),this.finishNode(i,"BlockStatement");let n=null,a=!1;return s.forEach(o=>{nP(o)?(n==="CommonJS"&&this.raise(de.AmbiguousDeclareModuleKind,o),n="ES"):o.type==="DeclareModuleExports"&&(a&&this.raise(de.DuplicateDeclareModuleExports,o),n==="ES"&&this.raise(de.AmbiguousDeclareModuleKind,o),n="CommonJS",a=!0)}),r.kind=n||"CommonJS",this.finishNode(r,"DeclareModule")}flowParseDeclareExportDeclaration(r,i){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?r.declaration=this.flowParseDeclare(this.startNode()):(r.declaration=this.flowParseType(),this.semicolon()),r.default=!0,this.finishNode(r,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!i){let s=this.state.value;throw this.raise(de.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:s,suggestion:aP[s]})}if(this.match(74)||this.match(68)||this.match(80)||this.isContextual(131))return r.declaration=this.flowParseDeclare(this.startNode()),r.default=!1,this.finishNode(r,"DeclareExportDeclaration");if(this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131))return r=this.parseExport(r,null),r.type==="ExportNamedDeclaration"?(r.default=!1,delete r.exportKind,this.castNodeTo(r,"DeclareExportDeclaration")):this.castNodeTo(r,"DeclareExportAllDeclaration");this.unexpected()}flowParseDeclareModuleExports(r){return this.next(),this.expectContextual(111),r.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(r,"DeclareModuleExports")}flowParseDeclareTypeAlias(r){this.next();let i=this.flowParseTypeAlias(r);return this.castNodeTo(i,"DeclareTypeAlias"),i}flowParseDeclareOpaqueType(r){this.next();let i=this.flowParseOpaqueType(r,!0);return this.castNodeTo(i,"DeclareOpaqueType"),i}flowParseDeclareInterface(r){return this.next(),this.flowParseInterfaceish(r,!1),this.finishNode(r,"DeclareInterface")}flowParseInterfaceish(r,i){if(r.id=this.flowParseRestrictedIdentifier(!i,!0),this.scope.declareName(r.id.name,i?17:8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(!i&&this.eat(12));if(i){if(r.implements=[],r.mixins=[],this.eatContextual(117))do r.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do r.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}r.body=this.flowParseObjectType({allowStatic:i,allowExact:!1,allowSpread:!1,allowProto:i,allowInexact:!1})}flowParseInterfaceExtends(){let r=this.startNode();return r.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?r.typeParameters=this.flowParseTypeParameterInstantiation():r.typeParameters=null,this.finishNode(r,"InterfaceExtends")}flowParseInterface(r){return this.flowParseInterfaceish(r,!1),this.finishNode(r,"InterfaceDeclaration")}checkNotUnderscore(r){r==="_"&&this.raise(de.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(r,i,s){sP.has(r)&&this.raise(s?de.AssignReservedType:de.UnexpectedReservedType,i,{reservedType:r})}flowParseRestrictedIdentifier(r,i){return this.checkReservedType(this.state.value,this.state.startLoc,i),this.parseIdentifier(r)}flowParseTypeAlias(r){return r.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(r.id.name,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(r,"TypeAlias")}flowParseOpaqueType(r,i){return this.expectContextual(130),r.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(r.id.name,8201,r.id.loc.start),this.match(47)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,r.supertype=null,this.match(14)&&(r.supertype=this.flowParseTypeInitialiser(14)),r.impltype=null,i||(r.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(r,"OpaqueType")}flowParseTypeParameter(r=!1){let i=this.state.startLoc,s=this.startNode(),n=this.flowParseVariance(),a=this.flowParseTypeAnnotatableIdentifier();return s.name=a.name,s.variance=n,s.bound=a.typeAnnotation,this.match(29)?(this.eat(29),s.default=this.flowParseType()):r&&this.raise(de.MissingTypeParamDefault,i),this.finishNode(s,"TypeParameter")}flowParseTypeParameterDeclaration(){let r=this.state.inType,i=this.startNode();i.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let s=!1;do{let n=this.flowParseTypeParameter(s);i.params.push(n),n.default&&(s=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=r,this.finishNode(i,"TypeParameterDeclaration")}flowInTopLevelContext(r){if(this.curContext()!==Ke.brace){let i=this.state.context;this.state.context=[i[0]];try{return r()}finally{this.state.context=i}}else return r()}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let r=this.startNode(),i=this.state.inType;return this.state.inType=!0,r.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let s=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)r.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=s}),this.state.inType=i,!this.state.inType&&this.curContext()===Ke.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let r=this.startNode(),i=this.state.inType;for(r.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)r.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=i,this.finishNode(r,"TypeParameterInstantiation")}flowParseInterfaceType(){let r=this.startNode();if(this.expectContextual(129),r.extends=[],this.eat(81))do r.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return r.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(r,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(r,i,s){return r.static=i,this.lookahead().type===14?(r.id=this.flowParseObjectPropertyKey(),r.key=this.flowParseTypeInitialiser()):(r.id=null,r.key=this.flowParseType()),this.expect(3),r.value=this.flowParseTypeInitialiser(),r.variance=s,this.finishNode(r,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(r,i){return r.static=i,r.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(r.method=!0,r.optional=!1,r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start))):(r.method=!1,this.eat(17)&&(r.optional=!0),r.value=this.flowParseTypeInitialiser()),this.finishNode(r,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(r){for(r.params=[],r.rest=null,r.typeParameters=null,r.this=null,this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(r.this=this.flowParseFunctionTypeParam(!0),r.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(r.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),r.returnType=this.flowParseTypeInitialiser(),this.finishNode(r,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(r,i){let s=this.startNode();return r.static=i,r.value=this.flowParseObjectTypeMethodish(s),this.finishNode(r,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:r,allowExact:i,allowSpread:s,allowProto:n,allowInexact:a}){let o=this.state.inType;this.state.inType=!0;let l=this.startNode();l.callProperties=[],l.properties=[],l.indexers=[],l.internalSlots=[];let c,u,d=!1;for(i&&this.match(6)?(this.expect(6),c=9,u=!0):(this.expect(5),c=8,u=!1),l.exact=u;!this.match(c);){let E=!1,v=null,A=null,I=this.startNode();if(n&&this.isContextual(118)){let j=this.lookahead();j.type!==14&&j.type!==17&&(this.next(),v=this.state.startLoc,r=!1)}if(r&&this.isContextual(106)){let j=this.lookahead();j.type!==14&&j.type!==17&&(this.next(),E=!0)}let O=this.flowParseVariance();if(this.eat(0))v!=null&&this.unexpected(v),this.eat(0)?(O&&this.unexpected(O.loc.start),l.internalSlots.push(this.flowParseObjectTypeInternalSlot(I,E))):l.indexers.push(this.flowParseObjectTypeIndexer(I,E,O));else if(this.match(10)||this.match(47))v!=null&&this.unexpected(v),O&&this.unexpected(O.loc.start),l.callProperties.push(this.flowParseObjectTypeCallProperty(I,E));else{let j="init";if(this.isContextual(99)||this.isContextual(104)){let F=this.lookahead();$d(F.type)&&(j=this.state.value,this.next())}let q=this.flowParseObjectTypeProperty(I,E,v,O,j,s,a??!u);q===null?(d=!0,A=this.state.lastTokStartLoc):l.properties.push(q)}this.flowObjectTypeSemicolon(),A&&!this.match(8)&&!this.match(9)&&this.raise(de.UnexpectedExplicitInexactInObject,A)}this.expect(c),s&&(l.inexact=d);let x=this.finishNode(l,"ObjectTypeAnnotation");return this.state.inType=o,x}flowParseObjectTypeProperty(r,i,s,n,a,o,l){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(o?l||this.raise(de.InexactInsideExact,this.state.lastTokStartLoc):this.raise(de.InexactInsideNonObject,this.state.lastTokStartLoc),n&&this.raise(de.InexactVariance,n),null):(o||this.raise(de.UnexpectedSpreadType,this.state.lastTokStartLoc),s!=null&&this.unexpected(s),n&&this.raise(de.SpreadVariance,n),r.argument=this.flowParseType(),this.finishNode(r,"ObjectTypeSpreadProperty"));{r.key=this.flowParseObjectPropertyKey(),r.static=i,r.proto=s!=null,r.kind=a;let c=!1;return this.match(47)||this.match(10)?(r.method=!0,s!=null&&this.unexpected(s),n&&this.unexpected(n.loc.start),r.value=this.flowParseObjectTypeMethodish(this.startNodeAt(r.loc.start)),(a==="get"||a==="set")&&this.flowCheckGetterSetterParams(r),!o&&r.key.name==="constructor"&&r.value.this&&this.raise(de.ThisParamBannedInConstructor,r.value.this)):(a!=="init"&&this.unexpected(),r.method=!1,this.eat(17)&&(c=!0),r.value=this.flowParseTypeInitialiser(),r.variance=n),r.optional=c,this.finishNode(r,"ObjectTypeProperty")}}flowCheckGetterSetterParams(r){let i=r.kind==="get"?0:1,s=r.value.params.length+(r.value.rest?1:0);r.value.this&&this.raise(r.kind==="get"?de.GetterMayNotHaveThisParam:de.SetterMayNotHaveThisParam,r.value.this),s!==i&&this.raise(r.kind==="get"?w.BadGetterArity:w.BadSetterArity,r),r.kind==="set"&&r.value.rest&&this.raise(w.BadSetterRestParameter,r)}flowObjectTypeSemicolon(){!this.eat(13)&&!this.eat(12)&&!this.match(8)&&!this.match(9)&&this.unexpected()}flowParseQualifiedTypeIdentifier(r,i){r??(r=this.state.startLoc);let s=i||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let n=this.startNodeAt(r);n.qualification=s,n.id=this.flowParseRestrictedIdentifier(!0),s=this.finishNode(n,"QualifiedTypeIdentifier")}return s}flowParseGenericType(r,i){let s=this.startNodeAt(r);return s.typeParameters=null,s.id=this.flowParseQualifiedTypeIdentifier(r,i),this.match(47)&&(s.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(s,"GenericTypeAnnotation")}flowParseTypeofType(){let r=this.startNode();return this.expect(87),r.argument=this.flowParsePrimaryType(),this.finishNode(r,"TypeofTypeAnnotation")}flowParseTupleType(){let r=this.startNode();for(r.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(r.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(r,"TupleTypeAnnotation")}flowParseFunctionTypeParam(r){let i=null,s=!1,n=null,a=this.startNode(),o=this.lookahead(),l=this.state.type===78;return o.type===14||o.type===17?(l&&!r&&this.raise(de.ThisParamMustBeFirst,a),i=this.parseIdentifier(l),this.eat(17)&&(s=!0,l&&this.raise(de.ThisParamMayNotBeOptional,a)),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),a.name=i,a.optional=s,a.typeAnnotation=n,this.finishNode(a,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(r){let i=this.startNodeAt(r.loc.start);return i.name=null,i.optional=!1,i.typeAnnotation=r,this.finishNode(i,"FunctionTypeParam")}flowParseFunctionTypeParams(r=[]){let i=null,s=null;for(this.match(78)&&(s=this.flowParseFunctionTypeParam(!0),s.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)r.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(i=this.flowParseFunctionTypeParam(!1)),{params:r,rest:i,_this:s}}flowIdentToTypeAnnotation(r,i,s){switch(s.name){case"any":return this.finishNode(i,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(i,"BooleanTypeAnnotation");case"mixed":return this.finishNode(i,"MixedTypeAnnotation");case"empty":return this.finishNode(i,"EmptyTypeAnnotation");case"number":return this.finishNode(i,"NumberTypeAnnotation");case"string":return this.finishNode(i,"StringTypeAnnotation");case"symbol":return this.finishNode(i,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(s.name),this.flowParseGenericType(r,s)}}flowParsePrimaryType(){let r=this.state.startLoc,i=this.startNode(),s,n,a=!1,o=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,n=this.flowParseTupleType(),this.state.noAnonFunctionType=o,n;case 47:{let l=this.startNode();return l.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),s=this.flowParseFunctionTypeParams(),l.params=s.params,l.rest=s.rest,l.this=s._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),this.finishNode(l,"FunctionTypeAnnotation")}case 10:{let l=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(Ve(this.state.type)||this.match(78)){let c=this.lookahead().type;a=c!==17&&c!==14}else a=!0;if(a){if(this.state.noAnonFunctionType=!1,n=this.flowParseType(),this.state.noAnonFunctionType=o,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),n;this.eat(12)}return n?s=this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(n)]):s=this.flowParseFunctionTypeParams(),l.params=s.params,l.rest=s.rest,l.this=s._this,this.expect(11),this.expect(19),l.returnType=this.flowParseType(),l.typeParameters=null,this.finishNode(l,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return i.value=this.match(85),this.next(),this.finishNode(i,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",i);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",i);throw this.raise(de.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(i,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(i,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(i,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(i,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(fc(this.state.type)){let l=si(this.state.type);return this.next(),super.createIdentifier(i,l)}else if(Ve(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(r,i,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let r=this.state.startLoc,i=this.flowParsePrimaryType(),s=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let n=this.startNodeAt(r),a=this.eat(18);s=s||a,this.expect(0),!a&&this.match(3)?(n.elementType=i,this.next(),i=this.finishNode(n,"ArrayTypeAnnotation")):(n.objectType=i,n.indexType=this.flowParseType(),this.expect(3),s?(n.optional=a,i=this.finishNode(n,"OptionalIndexedAccessType")):i=this.finishNode(n,"IndexedAccessType"))}return i}flowParsePrefixType(){let r=this.startNode();return this.eat(17)?(r.typeAnnotation=this.flowParsePrefixType(),this.finishNode(r,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let r=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let i=this.startNodeAt(r.loc.start);return i.params=[this.reinterpretTypeAsFunctionTypeParam(r)],i.rest=null,i.this=null,i.returnType=this.flowParseType(),i.typeParameters=null,this.finishNode(i,"FunctionTypeAnnotation")}return r}flowParseIntersectionType(){let r=this.startNode();this.eat(45);let i=this.flowParseAnonFunctionWithoutParens();for(r.types=[i];this.eat(45);)r.types.push(this.flowParseAnonFunctionWithoutParens());return r.types.length===1?i:this.finishNode(r,"IntersectionTypeAnnotation")}flowParseUnionType(){let r=this.startNode();this.eat(43);let i=this.flowParseIntersectionType();for(r.types=[i];this.eat(43);)r.types.push(this.flowParseIntersectionType());return r.types.length===1?i:this.finishNode(r,"UnionTypeAnnotation")}flowParseType(){let r=this.state.inType;this.state.inType=!0;let i=this.flowParseUnionType();return this.state.inType=r,i}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let r=this.state.startLoc,i=this.parseIdentifier();return this.flowParseGenericType(r,i)}else return this.flowParseType()}flowParseTypeAnnotation(){let r=this.startNode();return r.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(r,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(r){let i=r?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(i.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(i)),i}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}flowParseVariance(){let r=null;return this.match(53)?(r=this.startNode(),this.state.value==="+"?r.kind="plus":r.kind="minus",this.next(),this.finishNode(r,"Variance")):r}parseFunctionBody(r,i,s=!1){if(i){this.forwardNoArrowParamsConversionAt(r,()=>super.parseFunctionBody(r,!0,s));return}super.parseFunctionBody(r,!1,s)}parseFunctionBodyAndFinish(r,i,s=!1){if(this.match(14)){let n=this.startNode();[n.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),r.returnType=n.typeAnnotation?this.finishNode(n,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(r,i,s)}parseStatementLike(r){if(this.state.strict&&this.isContextual(129)){let s=this.lookahead();if(mr(s.type)){let n=this.startNode();return this.next(),this.flowParseInterface(n)}}else if(this.isContextual(126)){let s=this.startNode();return this.next(),this.flowParseEnumDeclaration(s)}let i=super.parseStatementLike(r);return this.flowPragma===void 0&&!this.isValidDirective(i)&&(this.flowPragma=null),i}parseExpressionStatement(r,i,s){if(i.type==="Identifier"){if(i.name==="declare"){if(this.match(80)||Ve(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(r)}else if(Ve(this.state.type)){if(i.name==="interface")return this.flowParseInterface(r);if(i.name==="type")return this.flowParseTypeAlias(r);if(i.name==="opaque")return this.flowParseOpaqueType(r,!1)}}return super.parseExpressionStatement(r,i,s)}shouldParseExportDeclaration(){let{type:r}=this.state;return r===126||Od(r)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:r}=this.state;return r===126||Od(r)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let r=this.startNode();return this.next(),this.flowParseEnumDeclaration(r)}return super.parseExportDefaultExpression()}parseConditional(r,i,s){if(!this.match(17))return r;if(this.state.maybeInArrowParameters){let x=this.lookaheadCharCode();if(x===44||x===61||x===58||x===41)return this.setOptionalParametersError(s),r}this.expect(17);let n=this.state.clone(),a=this.state.noArrowAt,o=this.startNodeAt(i),{consequent:l,failed:c}=this.tryParseConditionalConsequent(),[u,d]=this.getArrowLikeExpressions(l);if(c||d.length>0){let x=[...a];if(d.length>0){this.state=n,this.state.noArrowAt=x;for(let E=0;E<d.length;E++)x.push(d[E].start);({consequent:l,failed:c}=this.tryParseConditionalConsequent()),[u,d]=this.getArrowLikeExpressions(l)}c&&u.length>1&&this.raise(de.AmbiguousConditionalArrow,n.startLoc),c&&u.length===1&&(this.state=n,x.push(u[0].start),this.state.noArrowAt=x,{consequent:l,failed:c}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(l,!0),this.state.noArrowAt=a,this.expect(14),o.test=r,o.consequent=l,o.alternate=this.forwardNoArrowParamsConversionAt(o,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(o,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let r=this.parseMaybeAssignAllowIn(),i=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:r,failed:i}}getArrowLikeExpressions(r,i){let s=[r],n=[];for(;s.length!==0;){let a=s.pop();a.type==="ArrowFunctionExpression"&&a.body.type!=="BlockStatement"?(a.typeParameters||!a.returnType?this.finishArrowValidation(a):n.push(a),s.push(a.body)):a.type==="ConditionalExpression"&&(s.push(a.consequent),s.push(a.alternate))}return i?(n.forEach(a=>this.finishArrowValidation(a)),[n,[]]):oP(n,a=>a.params.every(o=>this.isAssignable(o,!0)))}finishArrowValidation(r){var i;this.toAssignableList(r.params,(i=r.extra)==null?void 0:i.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(r,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(r,i){let s;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),s=i(),this.state.noArrowParamsConversionAt.pop()):s=i(),s}parseParenItem(r,i){let s=super.parseParenItem(r,i);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(r)),this.match(14)){let n=this.startNodeAt(i);return n.expression=s,n.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(n,"TypeCastExpression")}return s}assertModuleNodeAllowed(r){r.type==="ImportDeclaration"&&(r.importKind==="type"||r.importKind==="typeof")||r.type==="ExportNamedDeclaration"&&r.exportKind==="type"||r.type==="ExportAllDeclaration"&&r.exportKind==="type"||super.assertModuleNodeAllowed(r)}parseExportDeclaration(r){if(this.isContextual(130)){r.exportKind="type";let i=this.startNode();return this.next(),this.match(5)?(r.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(r),null):this.flowParseTypeAlias(i)}else if(this.isContextual(131)){r.exportKind="type";let i=this.startNode();return this.next(),this.flowParseOpaqueType(i,!1)}else if(this.isContextual(129)){r.exportKind="type";let i=this.startNode();return this.next(),this.flowParseInterface(i)}else if(this.isContextual(126)){r.exportKind="value";let i=this.startNode();return this.next(),this.flowParseEnumDeclaration(i)}else return super.parseExportDeclaration(r)}eatExportStar(r){return super.eatExportStar(r)?!0:this.isContextual(130)&&this.lookahead().type===55?(r.exportKind="type",this.next(),this.next(),!0):!1}maybeParseExportNamespaceSpecifier(r){let{startLoc:i}=this.state,s=super.maybeParseExportNamespaceSpecifier(r);return s&&r.exportKind==="type"&&this.unexpected(i),s}parseClassId(r,i,s){super.parseClassId(r,i,s),this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(r,i,s){let{startLoc:n}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(r,i))return;i.declare=!0}super.parseClassMember(r,i,s),i.declare&&(i.type!=="ClassProperty"&&i.type!=="ClassPrivateProperty"&&i.type!=="PropertyDefinition"?this.raise(de.DeclareClassElement,n):i.value&&this.raise(de.DeclareClassFieldInitializer,i.value))}isIterator(r){return r==="iterator"||r==="asyncIterator"}readIterator(){let r=super.readWord1(),i="@@"+r;(!this.isIterator(r)||!this.state.inType)&&this.raise(w.InvalidIdentifier,this.state.curPosition(),{identifierName:i}),this.finishToken(132,i)}getTokenFromCode(r){let i=this.input.charCodeAt(this.state.pos+1);r===123&&i===124?this.finishOp(6,2):this.state.inType&&(r===62||r===60)?this.finishOp(r===62?48:47,1):this.state.inType&&r===63?i===46?this.finishOp(18,2):this.finishOp(17,1):tP(r,i,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(r)}isAssignable(r,i){return r.type==="TypeCastExpression"?this.isAssignable(r.expression,i):super.isAssignable(r,i)}toAssignable(r,i=!1){!i&&r.type==="AssignmentExpression"&&r.left.type==="TypeCastExpression"&&(r.left=this.typeCastToParameter(r.left)),super.toAssignable(r,i)}toAssignableList(r,i,s){for(let n=0;n<r.length;n++){let a=r[n];a?.type==="TypeCastExpression"&&(r[n]=this.typeCastToParameter(a))}super.toAssignableList(r,i,s)}toReferencedList(r,i){for(let n=0;n<r.length;n++){var s;let a=r[n];a&&a.type==="TypeCastExpression"&&!((s=a.extra)!=null&&s.parenthesized)&&(r.length>1||!i)&&this.raise(de.TypeCastInPattern,a.typeAnnotation)}return r}parseArrayLike(r,i,s,n){let a=super.parseArrayLike(r,i,s,n);return i&&!this.state.maybeInArrowParameters&&this.toReferencedList(a.elements),a}isValidLVal(r,i,s){return r==="TypeCastExpression"||super.isValidLVal(r,i,s)}parseClassProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(r)}parseClassPrivateProperty(r){return this.match(14)&&(r.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(r){return!this.match(14)&&super.isNonstaticConstructor(r)}pushClassMethod(r,i,s,n,a,o){if(i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(r,i,s,n,a,o),i.params&&a){let l=i.params;l.length>0&&this.isThisParam(l[0])&&this.raise(de.ThisParamBannedInConstructor,i)}else if(i.type==="MethodDefinition"&&a&&i.value.params){let l=i.value.params;l.length>0&&this.isThisParam(l[0])&&this.raise(de.ThisParamBannedInConstructor,i)}}pushClassPrivateMethod(r,i,s,n){i.variance&&this.unexpected(i.variance.loc.start),delete i.variance,this.match(47)&&(i.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(r,i,s,n)}parseClassSuper(r){if(super.parseClassSuper(r),r.superClass&&(this.match(47)||this.match(51))&&(r.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let i=r.implements=[];do{let s=this.startNode();s.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?s.typeParameters=this.flowParseTypeParameterInstantiation():s.typeParameters=null,i.push(this.finishNode(s,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(r){super.checkGetterSetterParams(r);let i=this.getObjectOrClassMethodParams(r);if(i.length>0){let s=i[0];this.isThisParam(s)&&r.kind==="get"?this.raise(de.GetterMayNotHaveThisParam,s):this.isThisParam(s)&&this.raise(de.SetterMayNotHaveThisParam,s)}}parsePropertyNamePrefixOperator(r){r.variance=this.flowParseVariance()}parseObjPropValue(r,i,s,n,a,o,l){r.variance&&this.unexpected(r.variance.loc.start),delete r.variance;let c;this.match(47)&&!o&&(c=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let u=super.parseObjPropValue(r,i,s,n,a,o,l);return c&&((u.value||u).typeParameters=c),u}parseFunctionParamType(r){return this.eat(17)&&(r.type!=="Identifier"&&this.raise(de.PatternIsOptional,r),this.isThisParam(r)&&this.raise(de.ThisParamMayNotBeOptional,r),r.optional=!0),this.match(14)?r.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(r)&&this.raise(de.ThisParamAnnotationRequired,r),this.match(29)&&this.isThisParam(r)&&this.raise(de.ThisParamNoDefault,r),this.resetEndLocation(r),r}parseMaybeDefault(r,i){let s=super.parseMaybeDefault(r,i);return s.type==="AssignmentPattern"&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(de.TypeBeforeInitializer,s.typeAnnotation),s}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(de.ImportReflectionHasImportType,r.specifiers[0].loc.start)}parseImportSpecifierLocal(r,i,s){i.local=_d(r)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),r.specifiers.push(this.finishImportSpecifier(i,s))}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){if(!r)return!0;let i=this.lookaheadCharCode();return i===123||i===42}return!r&&this.isContextual(87)}applyImportPhase(r,i,s,n){if(super.applyImportPhase(r,i,s,n),i){if(!s&&this.match(65))return;r.exportKind=s==="type"?s:"value"}else s==="type"&&this.match(55)&&this.unexpected(),r.importKind=s==="type"||s==="typeof"?s:"value"}parseImportSpecifier(r,i,s,n,a){let o=r.imported,l=null;o.type==="Identifier"&&(o.name==="type"?l="type":o.name==="typeof"&&(l="typeof"));let c=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let d=this.parseIdentifier(!0);l!==null&&!mr(this.state.type)?(r.imported=d,r.importKind=l,r.local=this.cloneIdentifier(d)):(r.imported=o,r.importKind=null,r.local=this.parseIdentifier())}else{if(l!==null&&mr(this.state.type))r.imported=this.parseIdentifier(!0),r.importKind=l;else{if(i)throw this.raise(w.ImportBindingIsString,r,{importName:o.value});r.imported=o,r.importKind=null}this.eatContextual(93)?r.local=this.parseIdentifier():(c=!0,r.local=this.cloneIdentifier(r.imported))}let u=_d(r);return s&&u&&this.raise(de.ImportTypeShorthandOnlyInPureImport,r),(s||u)&&this.checkReservedType(r.local.name,r.local.loc.start,!0),c&&!s&&!u&&this.checkReservedWord(r.local.name,r.loc.start,!0,!0),this.finishImportSpecifier(r,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 78:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(r,i){let s=r.kind;s!=="get"&&s!=="set"&&this.match(47)&&(r.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(r,i)}parseVarId(r,i){super.parseVarId(r,i),this.match(14)&&(r.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,i){if(this.match(14)){let s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,r.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=s}return super.parseAsyncArrowFromCallExpression(r,i)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(r,i){var s;let n=null,a;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(n=this.state.clone(),a=this.tryParse(()=>super.parseMaybeAssign(r,i),n),!a.error)return a.node;let{context:c}=this.state,u=c[c.length-1];(u===Ke.j_oTag||u===Ke.j_expr)&&c.pop()}if((s=a)!=null&&s.error||this.match(47)){var o,l;n=n||this.state.clone();let c,u=this.tryParse(x=>{var E;c=this.flowParseTypeParameterDeclaration();let v=this.forwardNoArrowParamsConversionAt(c,()=>{let I=super.parseMaybeAssign(r,i);return this.resetStartLocationFromNode(I,c),I});(E=v.extra)!=null&&E.parenthesized&&x();let A=this.maybeUnwrapTypeCastExpression(v);return A.type!=="ArrowFunctionExpression"&&x(),A.typeParameters=c,this.resetStartLocationFromNode(A,c),v},n),d=null;if(u.node&&this.maybeUnwrapTypeCastExpression(u.node).type==="ArrowFunctionExpression"){if(!u.error&&!u.aborted)return u.node.async&&this.raise(de.UnexpectedTypeParameterBeforeAsyncArrowFunction,c),u.node;d=u.node}if((o=a)!=null&&o.node)return this.state=a.failState,a.node;if(d)return this.state=u.failState,d;throw(l=a)!=null&&l.thrown?a.error:u.thrown?u.error:this.raise(de.UnexpectedTokenAfterTypeParameter,c)}return super.parseMaybeAssign(r,i)}parseArrow(r){if(this.match(14)){let i=this.tryParse(()=>{let s=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let n=this.startNode();return[n.typeAnnotation,r.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=s,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),n});if(i.thrown)return null;i.error&&(this.state=i.failState),r.returnType=i.node.typeAnnotation?this.finishNode(i.node,"TypeAnnotation"):null}return super.parseArrow(r)}shouldParseArrow(r){return this.match(14)||super.shouldParseArrow(r)}setArrowFunctionParameters(r,i){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start))?r.params=i:super.setArrowFunctionParameters(r,i)}checkParams(r,i,s,n=!0){if(!(s&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(r.start)))){for(let a=0;a<r.params.length;a++)this.isThisParam(r.params[a])&&a>0&&this.raise(de.ThisParamMustBeFirst,r.params[a]);super.checkParams(r,i,s,n)}}parseParenAndDistinguishExpression(r){return super.parseParenAndDistinguishExpression(r&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(r,i,s){if(r.type==="Identifier"&&r.name==="async"&&this.state.noArrowAt.includes(i.index)){this.next();let n=this.startNodeAt(i);n.callee=r,n.arguments=super.parseCallExpressionArguments(),r=this.finishNode(n,"CallExpression")}else if(r.type==="Identifier"&&r.name==="async"&&this.match(47)){let n=this.state.clone(),a=this.tryParse(l=>this.parseAsyncArrowWithTypeParameters(i)||l(),n);if(!a.error&&!a.aborted)return a.node;let o=this.tryParse(()=>super.parseSubscripts(r,i,s),n);if(o.node&&!o.error)return o.node;if(a.node)return this.state=a.failState,a.node;if(o.node)return this.state=o.failState,o.node;throw a.error||o.error}return super.parseSubscripts(r,i,s)}parseSubscript(r,i,s,n){if(this.match(18)&&this.isLookaheadToken_lt()){if(n.optionalChainMember=!0,s)return n.stop=!0,r;this.next();let a=this.startNodeAt(i);return a.callee=r,a.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),a.arguments=this.parseCallExpressionArguments(),a.optional=!0,this.finishCallExpression(a,!0)}else if(!s&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let a=this.startNodeAt(i);a.callee=r;let o=this.tryParse(()=>(a.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),a.arguments=super.parseCallExpressionArguments(),n.optionalChainMember&&(a.optional=!1),this.finishCallExpression(a,n.optionalChainMember)));if(o.node)return o.error&&(this.state=o.failState),o.node}return super.parseSubscript(r,i,s,n)}parseNewCallee(r){super.parseNewCallee(r);let i=null;this.shouldParseTypes()&&this.match(47)&&(i=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),r.typeArguments=i}parseAsyncArrowWithTypeParameters(r){let i=this.startNodeAt(r);if(this.parseFunctionParams(i,!1),!!this.parseArrow(i))return super.parseArrowExpression(i,void 0,!0)}readToken_mult_modulo(r){let i=this.input.charCodeAt(this.state.pos+1);if(r===42&&i===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(r)}readToken_pipe_amp(r){let i=this.input.charCodeAt(this.state.pos+1);if(r===124&&i===125){this.finishOp(9,2);return}super.readToken_pipe_amp(r)}parseTopLevel(r,i){let s=super.parseTopLevel(r,i);return this.state.hasFlowComment&&this.raise(de.UnterminatedFlowComment,this.state.curPosition()),s}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(de.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let r=this.skipFlowComment();r&&(this.state.pos+=r,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:r}=this.state,i=2;for(;[32,9].includes(this.input.charCodeAt(r+i));)i++;let s=this.input.charCodeAt(i+r),n=this.input.charCodeAt(i+r+1);return s===58&&n===58?i+2:this.input.slice(i+r,i+r+12)==="flow-include"?i+12:s===58&&n!==58?i:!1}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(w.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(r,{enumName:i,memberName:s}){this.raise(de.EnumBooleanMemberNotInitialized,r,{memberName:s,enumName:i})}flowEnumErrorInvalidMemberInitializer(r,i){return this.raise(i.explicitType?i.explicitType==="symbol"?de.EnumInvalidMemberInitializerSymbolType:de.EnumInvalidMemberInitializerPrimaryType:de.EnumInvalidMemberInitializerUnknownType,r,i)}flowEnumErrorNumberMemberNotInitialized(r,i){this.raise(de.EnumNumberMemberNotInitialized,r,i)}flowEnumErrorStringMemberInconsistentlyInitialized(r,i){this.raise(de.EnumStringMemberInconsistentlyInitialized,r,i)}flowEnumMemberInit(){let r=this.state.startLoc,i=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let s=this.parseNumericLiteral(this.state.value);return i()?{type:"number",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}case 134:{let s=this.parseStringLiteral(this.state.value);return i()?{type:"string",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}case 85:case 86:{let s=this.parseBooleanLiteral(this.match(85));return i()?{type:"boolean",loc:s.loc.start,value:s}:{type:"invalid",loc:r}}default:return{type:"invalid",loc:r}}}flowEnumMemberRaw(){let r=this.state.startLoc,i=this.parseIdentifier(!0),s=this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:r};return{id:i,init:s}}flowEnumCheckExplicitTypeMismatch(r,i,s){let{explicitType:n}=i;n!==null&&n!==s&&this.flowEnumErrorInvalidMemberInitializer(r,i)}flowEnumMembers({enumName:r,explicitType:i}){let s=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},a=!1;for(;!this.match(8);){if(this.eat(21)){a=!0;break}let o=this.startNode(),{id:l,init:c}=this.flowEnumMemberRaw(),u=l.name;if(u==="")continue;/^[a-z]/.test(u)&&this.raise(de.EnumInvalidMemberName,l,{memberName:u,suggestion:u[0].toUpperCase()+u.slice(1),enumName:r}),s.has(u)&&this.raise(de.EnumDuplicateMemberName,l,{memberName:u,enumName:r}),s.add(u);let d={enumName:r,explicitType:i,memberName:u};switch(o.id=l,c.type){case"boolean":{this.flowEnumCheckExplicitTypeMismatch(c.loc,d,"boolean"),o.init=c.value,n.booleanMembers.push(this.finishNode(o,"EnumBooleanMember"));break}case"number":{this.flowEnumCheckExplicitTypeMismatch(c.loc,d,"number"),o.init=c.value,n.numberMembers.push(this.finishNode(o,"EnumNumberMember"));break}case"string":{this.flowEnumCheckExplicitTypeMismatch(c.loc,d,"string"),o.init=c.value,n.stringMembers.push(this.finishNode(o,"EnumStringMember"));break}case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(c.loc,d);case"none":switch(i){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(c.loc,d);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(c.loc,d);break;default:n.defaultedMembers.push(this.finishNode(o,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:a}}flowEnumStringMembers(r,i,{enumName:s}){if(r.length===0)return i;if(i.length===0)return r;if(i.length>r.length){for(let n of r)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:s});return i}else{for(let n of i)this.flowEnumErrorStringMemberInconsistentlyInitialized(n,{enumName:s});return r}}flowEnumParseExplicitType({enumName:r}){if(!this.eatContextual(102))return null;if(!Ve(this.state.type))throw this.raise(de.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:r});let{value:i}=this.state;return this.next(),i!=="boolean"&&i!=="number"&&i!=="string"&&i!=="symbol"&&this.raise(de.EnumInvalidExplicitType,this.state.startLoc,{enumName:r,invalidEnumType:i}),i}flowEnumBody(r,i){let s=i.name,n=i.loc.start,a=this.flowEnumParseExplicitType({enumName:s});this.expect(5);let{members:o,hasUnknownMembers:l}=this.flowEnumMembers({enumName:s,explicitType:a});switch(r.hasUnknownMembers=l,a){case"boolean":return r.explicitType=!0,r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody");case"number":return r.explicitType=!0,r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody");case"string":return r.explicitType=!0,r.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(r,"EnumStringBody");case"symbol":return r.members=o.defaultedMembers,this.expect(8),this.finishNode(r,"EnumSymbolBody");default:{let c=()=>(r.members=[],this.expect(8),this.finishNode(r,"EnumStringBody"));r.explicitType=!1;let u=o.booleanMembers.length,d=o.numberMembers.length,x=o.stringMembers.length,E=o.defaultedMembers.length;if(!u&&!d&&!x&&!E)return c();if(!u&&!d)return r.members=this.flowEnumStringMembers(o.stringMembers,o.defaultedMembers,{enumName:s}),this.expect(8),this.finishNode(r,"EnumStringBody");if(!d&&!x&&u>=E){for(let v of o.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(v.loc.start,{enumName:s,memberName:v.id.name});return r.members=o.booleanMembers,this.expect(8),this.finishNode(r,"EnumBooleanBody")}else if(!u&&!x&&d>=E){for(let v of o.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(v.loc.start,{enumName:s,memberName:v.id.name});return r.members=o.numberMembers,this.expect(8),this.finishNode(r,"EnumNumberBody")}else return this.raise(de.EnumInconsistentMemberValues,n,{enumName:s}),c()}}}flowParseEnumDeclaration(r){let i=this.parseIdentifier();return r.id=i,r.body=this.flowEnumBody(this.startNode(),i),this.finishNode(r,"EnumDeclaration")}jsxParseOpeningElementAfterName(r){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(r.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(r)}isLookaheadToken_lt(){let r=this.nextTokenStart();if(this.input.charCodeAt(r)===60){let i=this.input.charCodeAt(r+1);return i!==60&&i!==61}return!1}reScan_lt_gt(){let{type:r}=this.state;r===47?(this.state.pos-=1,this.readToken_lt()):r===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:r}=this.state;return r===51?(this.state.pos-=2,this.finishOp(47,1),47):r}maybeUnwrapTypeCastExpression(r){return r.type==="TypeCastExpression"?r.expression:r}},uP={__proto__:null,quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"},pP=/\r\n|[\r\n\u2028\u2029]/,Ca=new RegExp(pP.source,"g");function ns(t){switch(t){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Dd(t,e,r){for(let i=e;i<r;i++)if(ns(t.charCodeAt(i)))return!0;return!1}var Fl=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Bl=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function fP(t){switch(t){case 9:case 11:case 12:case 32:case 160:case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}}var wi=Cr`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:t})=>`Expected corresponding JSX closing tag for <${t}>.`,MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnexpectedToken:({unexpected:t,HTMLEntity:e})=>`Unexpected token \`${t}\`. Did you mean \`${e}\` or \`{'${t}'}\`?`,UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"});function ri(t){return t?t.type==="JSXOpeningFragment"||t.type==="JSXClosingFragment":!1}function is(t){if(t.type==="JSXIdentifier")return t.name;if(t.type==="JSXNamespacedName")return t.namespace.name+":"+t.name.name;if(t.type==="JSXMemberExpression")return is(t.object)+"."+is(t.property);throw new Error("Node had unexpected type: "+t.type)}var hP=t=>class extends t{jsxReadToken(){let r="",i=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(wi.UnterminatedJsxContent,this.state.startLoc);let s=this.input.charCodeAt(this.state.pos);switch(s){case 60:case 123:if(this.state.pos===this.state.start){s===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(s);return}r+=this.input.slice(i,this.state.pos),this.finishToken(142,r);return;case 38:r+=this.input.slice(i,this.state.pos),r+=this.jsxReadEntity(),i=this.state.pos;break;case 62:case 125:default:ns(s)?(r+=this.input.slice(i,this.state.pos),r+=this.jsxReadNewLine(!0),i=this.state.pos):++this.state.pos}}}jsxReadNewLine(r){let i=this.input.charCodeAt(this.state.pos),s;return++this.state.pos,i===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,s=r?`
6
+ `:`\r
7
+ `):s=String.fromCharCode(i),++this.state.curLine,this.state.lineStart=this.state.pos,s}jsxReadString(r){let i="",s=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(w.UnterminatedString,this.state.startLoc);let n=this.input.charCodeAt(this.state.pos);if(n===r)break;n===38?(i+=this.input.slice(s,this.state.pos),i+=this.jsxReadEntity(),s=this.state.pos):ns(n)?(i+=this.input.slice(s,this.state.pos),i+=this.jsxReadNewLine(!1),s=this.state.pos):++this.state.pos}i+=this.input.slice(s,this.state.pos++),this.finishToken(134,i)}jsxReadEntity(){let r=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let i=10;this.codePointAtPos(this.state.pos)===120&&(i=16,++this.state.pos);let s=this.readInt(i,void 0,!1,"bail");if(s!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(s)}else{let i=0,s=!1;for(;i++<10&&this.state.pos<this.length&&!(s=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(s){let n=this.input.slice(r,this.state.pos),a=uP[n];if(++this.state.pos,a)return a}}return this.state.pos=r,"&"}jsxReadWord(){let r,i=this.state.pos;do r=this.input.charCodeAt(++this.state.pos);while(ss(r)||r===45);this.finishToken(141,this.input.slice(i,this.state.pos))}jsxParseIdentifier(){let r=this.startNode();return this.match(141)?r.name=this.state.value:fc(this.state.type)?r.name=si(this.state.type):this.unexpected(),this.next(),this.finishNode(r,"JSXIdentifier")}jsxParseNamespacedName(){let r=this.state.startLoc,i=this.jsxParseIdentifier();if(!this.eat(14))return i;let s=this.startNodeAt(r);return s.namespace=i,s.name=this.jsxParseIdentifier(),this.finishNode(s,"JSXNamespacedName")}jsxParseElementName(){let r=this.state.startLoc,i=this.jsxParseNamespacedName();if(i.type==="JSXNamespacedName")return i;for(;this.eat(16);){let s=this.startNodeAt(r);s.object=i,s.property=this.jsxParseIdentifier(),i=this.finishNode(s,"JSXMemberExpression")}return i}jsxParseAttributeValue(){let r;switch(this.state.type){case 5:return r=this.startNode(),this.setContext(Ke.brace),this.next(),r=this.jsxParseExpressionContainer(r,Ke.j_oTag),r.expression.type==="JSXEmptyExpression"&&this.raise(wi.AttributeIsEmpty,r),r;case 143:case 134:return this.parseExprAtom();default:throw this.raise(wi.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let r=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(r,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(r){return this.next(),r.expression=this.parseExpression(),this.setContext(Ke.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXSpreadChild")}jsxParseExpressionContainer(r,i){if(this.match(8))r.expression=this.jsxParseEmptyExpression();else{let s=this.parseExpression();r.expression=s}return this.setContext(i),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXExpressionContainer")}jsxParseAttribute(){let r=this.startNode();return this.match(5)?(this.setContext(Ke.brace),this.next(),this.expect(21),r.argument=this.parseMaybeAssignAllowIn(),this.setContext(Ke.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(r,"JSXSpreadAttribute")):(r.name=this.jsxParseNamespacedName(),r.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(r,"JSXAttribute"))}jsxParseOpeningElementAt(r){let i=this.startNodeAt(r);return this.eat(144)?this.finishNode(i,"JSXOpeningFragment"):(i.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(i))}jsxParseOpeningElementAfterName(r){let i=[];for(;!this.match(56)&&!this.match(144);)i.push(this.jsxParseAttribute());return r.attributes=i,r.selfClosing=this.eat(56),this.expect(144),this.finishNode(r,"JSXOpeningElement")}jsxParseClosingElementAt(r){let i=this.startNodeAt(r);return this.eat(144)?this.finishNode(i,"JSXClosingFragment"):(i.name=this.jsxParseElementName(),this.expect(144),this.finishNode(i,"JSXClosingElement"))}jsxParseElementAt(r){let i=this.startNodeAt(r),s=[],n=this.jsxParseOpeningElementAt(r),a=null;if(!n.selfClosing){e:for(;;)switch(this.state.type){case 143:if(r=this.state.startLoc,this.next(),this.eat(56)){a=this.jsxParseClosingElementAt(r);break e}s.push(this.jsxParseElementAt(r));break;case 142:s.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let o=this.startNode();this.setContext(Ke.brace),this.next(),this.match(21)?s.push(this.jsxParseSpreadChild(o)):s.push(this.jsxParseExpressionContainer(o,Ke.j_expr));break}default:this.unexpected()}ri(n)&&!ri(a)&&a!==null?this.raise(wi.MissingClosingTagFragment,a):!ri(n)&&ri(a)?this.raise(wi.MissingClosingTagElement,a,{openingTagName:is(n.name)}):!ri(n)&&!ri(a)&&is(a.name)!==is(n.name)&&this.raise(wi.MissingClosingTagElement,a,{openingTagName:is(n.name)})}if(ri(n)?(i.openingFragment=n,i.closingFragment=a):(i.openingElement=n,i.closingElement=a),i.children=s,this.match(47))throw this.raise(wi.UnwrappedAdjacentJSXElements,this.state.startLoc);return ri(n)?this.finishNode(i,"JSXFragment"):this.finishNode(i,"JSXElement")}jsxParseElement(){let r=this.state.startLoc;return this.next(),this.jsxParseElementAt(r)}setContext(r){let{context:i}=this.state;i[i.length-1]=r}parseExprAtom(r){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(r)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(r){let i=this.curContext();if(i===Ke.j_expr){this.jsxReadToken();return}if(i===Ke.j_oTag||i===Ke.j_cTag){if($r(r)){this.jsxReadWord();return}if(r===62){++this.state.pos,this.finishToken(144);return}if((r===34||r===39)&&i===Ke.j_oTag){this.jsxReadString(r);return}}if(r===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(r)}updateContext(r){let{context:i,type:s}=this.state;if(s===56&&r===143)i.splice(-2,2,Ke.j_cTag),this.state.canStartJSXElement=!1;else if(s===143)i.push(Ke.j_oTag);else if(s===144){let n=i[i.length-1];n===Ke.j_oTag&&r===56||n===Ke.j_cTag?(i.pop(),this.state.canStartJSXElement=i[i.length-1]===Ke.j_expr):(this.setContext(Ke.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=RE(s)}},Kl=class extends ln{constructor(...e){super(...e),this.tsNames=new Map}},Wl=class extends cn{constructor(...e){super(...e),this.importsStack=[]}createScope(e){return this.importsStack.push(new Set),new Kl(e)}enter(e){e===1024&&this.importsStack.push(new Set),super.enter(e)}exit(){let e=super.exit();return e===1024&&this.importsStack.pop(),e}hasImport(e,r){let i=this.importsStack.length;if(this.importsStack[i-1].has(e))return!0;if(!r&&i>1){for(let s=0;s<i-1;s++)if(this.importsStack[s].has(e))return!0}return!1}declareName(e,r,i){if(r&4096){this.hasImport(e,!0)&&this.parser.raise(w.VarRedeclaration,i,{identifierName:e}),this.importsStack[this.importsStack.length-1].add(e);return}let s=this.currentScope(),n=s.tsNames.get(e)||0;if(r&1024){this.maybeExportDefined(s,e),s.tsNames.set(e,n|16);return}super.declareName(e,r,i),r&2&&(r&1||(this.checkRedeclarationInScope(s,e,r,i),this.maybeExportDefined(s,e)),n=n|1),r&256&&(n=n|2),r&512&&(n=n|4),r&128&&(n=n|8),n&&s.tsNames.set(e,n)}isRedeclaredInScope(e,r,i){let s=e.tsNames.get(r);if((s&2)>0){if(i&256){let n=!!(i&512),a=(s&4)>0;return n!==a}return!0}return i&128&&(s&8)>0?e.names.get(r)&2?!!(i&1):!1:i&2&&(s&1)>0?!0:super.isRedeclaredInScope(e,r,i)}checkLocalExport(e){let{name:r}=e;if(this.hasImport(r))return;let i=this.scopeStack.length;for(let s=i-1;s>=0;s--){let a=this.scopeStack[s].tsNames.get(r);if((a&1)>0||(a&16)>0)return}super.checkLocalExport(e)}},Vl=class{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(this.currentFlags()&2)>0}get hasYield(){return(this.currentFlags()&1)>0}get hasReturn(){return(this.currentFlags()&4)>0}get hasIn(){return(this.currentFlags()&8)>0}};function Oa(t,e){return(t?2:0)|(e?1:0)}var Yl=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(e){return e+this.startIndex}offsetToSourcePos(e){return e-this.startIndex}hasPlugin(e){if(typeof e=="string")return this.plugins.has(e);{let[r,i]=e;if(!this.hasPlugin(r))return!1;let s=this.plugins.get(r);for(let n of Object.keys(i))if(s?.[n]!==i[n])return!1;return!0}}getPluginOption(e,r){var i;return(i=this.plugins.get(e))==null?void 0:i[r]}};function Xd(t,e){t.trailingComments===void 0?t.trailingComments=e:t.trailingComments.unshift(...e)}function dP(t,e){t.leadingComments===void 0?t.leadingComments=e:t.leadingComments.unshift(...e)}function un(t,e){t.innerComments===void 0?t.innerComments=e:t.innerComments.unshift(...e)}function ii(t,e,r){let i=null,s=e.length;for(;i===null&&s>0;)i=e[--s];i===null||i.start>r.start?un(t,r.comments):Xd(i,r.comments)}var zl=class extends Yl{addComment(e){this.filename&&(e.loc.filename=this.filename);let{commentsLen:r}=this.state;this.comments.length!==r&&(this.comments.length=r),this.comments.push(e),this.state.commentsLen++}processComment(e){let{commentStack:r}=this.state,i=r.length;if(i===0)return;let s=i-1,n=r[s];n.start===e.end&&(n.leadingNode=e,s--);let{start:a}=e;for(;s>=0;s--){let o=r[s],l=o.end;if(l>a)o.containingNode=e,this.finalizeComment(o),r.splice(s,1);else{l===a&&(o.trailingNode=e);break}}}finalizeComment(e){var r;let{comments:i}=e;if(e.leadingNode!==null||e.trailingNode!==null)e.leadingNode!==null&&Xd(e.leadingNode,i),e.trailingNode!==null&&dP(e.trailingNode,i);else{let{containingNode:s,start:n}=e;if(this.input.charCodeAt(this.offsetToSourcePos(n)-1)===44)switch(s.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":ii(s,s.properties,e);break;case"CallExpression":case"OptionalCallExpression":ii(s,s.arguments,e);break;case"ImportExpression":ii(s,[s.source,(r=s.options)!=null?r:null],e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":ii(s,s.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":ii(s,s.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":ii(s,s.specifiers,e);break;case"TSEnumDeclaration":ii(s,s.members,e);break;case"TSEnumBody":ii(s,s.members,e);break;default:un(s,i)}else un(s,i)}}finalizeRemainingComments(){let{commentStack:e}=this.state;for(let r=e.length-1;r>=0;r--)this.finalizeComment(e[r]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){let{commentStack:r}=this.state,{length:i}=r;if(i===0)return;let s=r[i-1];s.leadingNode===e&&(s.leadingNode=null)}takeSurroundingComments(e,r,i){let{commentStack:s}=this.state,n=s.length;if(n===0)return;let a=n-1;for(;a>=0;a--){let o=s[a],l=o.end;if(o.start===i)o.leadingNode=e;else if(l===r)o.trailingNode=e;else if(l<r)break}}},Jl=class t{constructor(){this.flags=1024,this.startIndex=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[Ke.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(this.flags&1)>0}set strict(e){e?this.flags|=1:this.flags&=-2}init({strictMode:e,sourceType:r,startIndex:i,startLine:s,startColumn:n}){this.strict=e===!1?!1:e===!0?!0:r==="module",this.startIndex=i,this.curLine=s,this.lineStart=-n,this.startLoc=this.endLoc=new Ir(s,n,i)}get maybeInArrowParameters(){return(this.flags&2)>0}set maybeInArrowParameters(e){e?this.flags|=2:this.flags&=-3}get inType(){return(this.flags&4)>0}set inType(e){e?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(this.flags&8)>0}set noAnonFunctionType(e){e?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(this.flags&16)>0}set hasFlowComment(e){e?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(this.flags&32)>0}set isAmbientContext(e){e?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(this.flags&64)>0}set inAbstractClass(e){e?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(this.flags&128)>0}set inDisallowConditionalTypesContext(e){e?this.flags|=128:this.flags&=-129}get soloAwait(){return(this.flags&256)>0}set soloAwait(e){e?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(this.flags&512)>0}set inFSharpPipelineDirectBody(e){e?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(this.flags&1024)>0}set canStartJSXElement(e){e?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(this.flags&2048)>0}set containsEsc(e){e?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(this.flags&4096)>0}set hasTopLevelAwait(e){e?this.flags|=4096:this.flags&=-4097}curPosition(){return new Ir(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let e=new t;return e.flags=this.flags,e.startIndex=this.startIndex,e.curLine=this.curLine,e.lineStart=this.lineStart,e.startLoc=this.startLoc,e.endLoc=this.endLoc,e.errors=this.errors.slice(),e.potentialArrowAt=this.potentialArrowAt,e.noArrowAt=this.noArrowAt.slice(),e.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),e.topicContext=this.topicContext,e.labels=this.labels.slice(),e.commentsLen=this.commentsLen,e.commentStack=this.commentStack.slice(),e.pos=this.pos,e.type=this.type,e.value=this.value,e.start=this.start,e.end=this.end,e.lastTokEndLoc=this.lastTokEndLoc,e.lastTokStartLoc=this.lastTokStartLoc,e.context=this.context.slice(),e.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,e.strictErrors=this.strictErrors,e.tokensLength=this.tokensLength,e}},mP=function(e){return e>=48&&e<=57},Ld={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Ia={bin:t=>t===48||t===49,oct:t=>t>=48&&t<=55,dec:t=>t>=48&&t<=57,hex:t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};function Md(t,e,r,i,s,n){let a=r,o=i,l=s,c="",u=null,d=r,{length:x}=e;for(;;){if(r>=x){n.unterminated(a,o,l),c+=e.slice(d,r);break}let E=e.charCodeAt(r);if(yP(t,E,e,r)){c+=e.slice(d,r);break}if(E===92){c+=e.slice(d,r);let v=TP(e,r,i,s,t==="template",n);v.ch===null&&!u?u={pos:r,lineStart:i,curLine:s}:c+=v.ch,{pos:r,lineStart:i,curLine:s}=v,d=r}else E===8232||E===8233?(++r,++s,i=r):E===10||E===13?t==="template"?(c+=e.slice(d,r)+`
8
+ `,++r,E===13&&e.charCodeAt(r)===10&&++r,++s,d=i=r):n.unterminated(a,o,l):++r}return{pos:r,str:c,firstInvalidLoc:u,lineStart:i,curLine:s,containsInvalid:!!u}}function yP(t,e,r,i){return t==="template"?e===96||e===36&&r.charCodeAt(i+1)===123:e===(t==="double"?34:39)}function TP(t,e,r,i,s,n){let a=!s;e++;let o=c=>({pos:e,ch:c,lineStart:r,curLine:i}),l=t.charCodeAt(e++);switch(l){case 110:return o(`
9
+ `);case 114:return o("\r");case 120:{let c;return{code:c,pos:e}=Xl(t,e,r,i,2,!1,a,n),o(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:e}=Gd(t,e,r,i,a,n),o(c===null?null:String.fromCodePoint(c))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:t.charCodeAt(e)===10&&++e;case 10:r=e,++i;case 8232:case 8233:return o("");case 56:case 57:if(s)return o(null);n.strictNumericEscape(e-1,r,i);default:if(l>=48&&l<=55){let c=e-1,d=/^[0-7]+/.exec(t.slice(c,e+2))[0],x=parseInt(d,8);x>255&&(d=d.slice(0,-1),x=parseInt(d,8)),e+=d.length-1;let E=t.charCodeAt(e);if(d!=="0"||E===56||E===57){if(s)return o(null);n.strictNumericEscape(c,r,i)}return o(String.fromCharCode(x))}return o(String.fromCharCode(l))}}function Xl(t,e,r,i,s,n,a,o){let l=e,c;return{n:c,pos:e}=Hd(t,e,r,i,16,s,n,!1,o,!a),c===null&&(a?o.invalidEscapeSequence(l,r,i):e=l-1),{code:c,pos:e}}function Hd(t,e,r,i,s,n,a,o,l,c){let u=e,d=s===16?Ld.hex:Ld.decBinOct,x=s===16?Ia.hex:s===10?Ia.dec:s===8?Ia.oct:Ia.bin,E=!1,v=0;for(let A=0,I=n??1/0;A<I;++A){let O=t.charCodeAt(e),j;if(O===95&&o!=="bail"){let q=t.charCodeAt(e-1),F=t.charCodeAt(e+1);if(o){if(Number.isNaN(F)||!x(F)||d.has(q)||d.has(F)){if(c)return{n:null,pos:e};l.unexpectedNumericSeparator(e,r,i)}}else{if(c)return{n:null,pos:e};l.numericSeparatorInEscapeSequence(e,r,i)}++e;continue}if(O>=97?j=O-97+10:O>=65?j=O-65+10:mP(O)?j=O-48:j=1/0,j>=s){if(j<=9&&c)return{n:null,pos:e};if(j<=9&&l.invalidDigit(e,r,i,s))j=0;else if(a)j=0,E=!0;else break}++e,v=v*s+j}return e===u||n!=null&&e-u!==n||E?{n:null,pos:e}:{n:v,pos:e}}function Gd(t,e,r,i,s,n){let a=t.charCodeAt(e),o;if(a===123){if(++e,{code:o,pos:e}=Xl(t,e,r,i,t.indexOf("}",e)-e,!0,s,n),++e,o!==null&&o>1114111)if(s)n.invalidCodePoint(e,r,i);else return{code:null,pos:e}}else({code:o,pos:e}=Xl(t,e,r,i,4,!1,s,n));return{code:o,pos:e}}function sn(t,e,r){return new Ir(r,t-e,t)}var xP=new Set([103,109,115,105,121,117,100,118]),wr=class{constructor(e){let r=e.startIndex||0;this.type=e.type,this.value=e.value,this.start=r+e.start,this.end=r+e.end,this.loc=new os(e.startLoc,e.endLoc)}},Hl=class extends zl{constructor(e,r){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(i,s,n,a)=>this.optionFlags&2048?(this.raise(w.InvalidDigit,sn(i,s,n),{radix:a}),!0):!1,numericSeparatorInEscapeSequence:this.errorBuilder(w.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(w.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(w.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(w.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(i,s,n)=>{this.recordStrictModeErrors(w.StrictNumericEscape,sn(i,s,n))},unterminated:(i,s,n)=>{throw this.raise(w.UnterminatedString,sn(i-1,s,n))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(w.StrictNumericEscape),unterminated:(i,s,n)=>{throw this.raise(w.UnterminatedTemplate,sn(i,s,n))}}),this.state=new Jl,this.state.init(e),this.input=r,this.length=r.length,this.comments=[],this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.optionFlags&256&&this.pushToken(new wr(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(e){return this.match(e)?(this.next(),!0):!1}match(e){return this.state.type===e}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,context:[this.curContext()],inType:e.inType,startLoc:e.startLoc,lastTokEndLoc:e.lastTokEndLoc,curLine:e.curLine,lineStart:e.lineStart,curPosition:e.curPosition}}lookahead(){let e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let r=this.state;return this.state=e,r}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return Fl.lastIndex=e,Fl.test(this.input)?Fl.lastIndex:e}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(e){return this.input.charCodeAt(this.nextTokenStartSince(e))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(e){return Bl.lastIndex=e,Bl.test(this.input)?Bl.lastIndex:e}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(e){let r=this.input.charCodeAt(e);if((r&64512)===55296&&++e<this.input.length){let i=this.input.charCodeAt(e);(i&64512)===56320&&(r=65536+((r&1023)<<10)+(i&1023))}return r}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach(([r,i])=>this.raise(r,i)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){if(this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length){this.finishToken(140);return}this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(e){let r;this.isLookahead||(r=this.state.curPosition());let i=this.state.pos,s=this.input.indexOf(e,i+2);if(s===-1)throw this.raise(w.UnterminatedComment,this.state.curPosition());for(this.state.pos=s+e.length,Ca.lastIndex=i+2;Ca.test(this.input)&&Ca.lastIndex<=s;)++this.state.curLine,this.state.lineStart=Ca.lastIndex;if(this.isLookahead)return;let n={type:"CommentBlock",value:this.input.slice(i+2,s),start:this.sourceToOffsetPos(i),end:this.sourceToOffsetPos(s+e.length),loc:new os(r,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(n),n}skipLineComment(e){let r=this.state.pos,i;this.isLookahead||(i=this.state.curPosition());let s=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!ns(s)&&++this.state.pos<this.length;)s=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let n=this.state.pos,o={type:"CommentLine",value:this.input.slice(r+e,n),start:this.sourceToOffsetPos(r),end:this.sourceToOffsetPos(n),loc:new os(i,this.state.curPosition())};return this.optionFlags&256&&this.pushToken(o),o}skipSpace(){let e=this.state.pos,r=this.optionFlags&4096?[]:null;e:for(;this.state.pos<this.length;){let i=this.input.charCodeAt(this.state.pos);switch(i){case 32:case 160:case 9:++this.state.pos;break;case 13:this.input.charCodeAt(this.state.pos+1)===10&&++this.state.pos;case 10:case 8232:case 8233:++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;break;case 47:switch(this.input.charCodeAt(this.state.pos+1)){case 42:{let s=this.skipBlockComment("*/");s!==void 0&&(this.addComment(s),r?.push(s));break}case 47:{let s=this.skipLineComment(2);s!==void 0&&(this.addComment(s),r?.push(s));break}default:break e}break;default:if(fP(i))++this.state.pos;else if(i===45&&!this.inModule&&this.optionFlags&8192){let s=this.state.pos;if(this.input.charCodeAt(s+1)===45&&this.input.charCodeAt(s+2)===62&&(e===0||this.state.lineStart>e)){let n=this.skipLineComment(3);n!==void 0&&(this.addComment(n),r?.push(n))}else break e}else if(i===60&&!this.inModule&&this.optionFlags&8192){let s=this.state.pos;if(this.input.charCodeAt(s+1)===33&&this.input.charCodeAt(s+2)===45&&this.input.charCodeAt(s+3)===45){let n=this.skipLineComment(4);n!==void 0&&(this.addComment(n),r?.push(n))}else break e}else break e}}if(r?.length>0){let i=this.state.pos,s={start:this.sourceToOffsetPos(e),end:this.sourceToOffsetPos(i),comments:r,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(s)}}finishToken(e,r){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let i=this.state.type;this.state.type=e,this.state.value=r,this.isLookahead||this.updateContext(i)}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let e=this.state.pos+1,r=this.codePointAtPos(e);if(r>=48&&r<=57)throw this.raise(w.UnexpectedDigitAfterHash,this.state.curPosition());if(r===123||r===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(r===123?w.RecordExpressionHashIncorrectStartSyntaxType:w.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,r===123?this.finishToken(7):this.finishToken(1)}else $r(r)?(++this.state.pos,this.finishToken(139,this.readWord1(r))):r===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57){this.readNumber(!0);return}e===46&&this.input.charCodeAt(this.state.pos+2)===46?(this.state.pos+=3,this.finishToken(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){this.input.charCodeAt(this.state.pos+1)===61?this.finishOp(31,2):this.finishOp(56,1)}readToken_interpreter(){if(this.state.pos!==0||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(e!==33)return!1;let r=this.state.pos;for(this.state.pos+=1;!ns(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);let i=this.input.slice(r+2,this.state.pos);return this.finishToken(28,i),!0}readToken_mult_modulo(e){let r=e===42?55:54,i=1,s=this.input.charCodeAt(this.state.pos+1);e===42&&s===42&&(i++,s=this.input.charCodeAt(this.state.pos+2),r=57),s===61&&!this.state.inType&&(i++,r=e===37?33:30),this.finishOp(r,i)}readToken_pipe_amp(e){let r=this.input.charCodeAt(this.state.pos+1);if(r===e){this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(e===124?41:42,2);return}if(e===124){if(r===62){this.finishOp(39,2);return}if(this.hasPlugin("recordAndTuple")&&r===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(w.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&r===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(w.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}if(r===61){this.finishOp(30,2);return}this.finishOp(e===124?43:45,1)}readToken_caret(){let e=this.input.charCodeAt(this.state.pos+1);e===61&&!this.state.inType?this.finishOp(32,2):e===94&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"^^"}])?(this.finishOp(37,2),this.input.codePointAt(this.state.pos)===94&&this.unexpected()):this.finishOp(44,1)}readToken_atSign(){this.input.charCodeAt(this.state.pos+1)===64&&this.hasPlugin(["pipelineOperator",{proposal:"hack",topicToken:"@@"}])?this.finishOp(38,2):this.finishOp(26,1)}readToken_plus_min(e){let r=this.input.charCodeAt(this.state.pos+1);if(r===e){this.finishOp(34,2);return}r===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:e}=this.state,r=this.input.charCodeAt(e+1);if(r===60){if(this.input.charCodeAt(e+2)===61){this.finishOp(30,3);return}this.finishOp(51,2);return}if(r===61){this.finishOp(49,2);return}this.finishOp(47,1)}readToken_gt(){let{pos:e}=this.state,r=this.input.charCodeAt(e+1);if(r===62){let i=this.input.charCodeAt(e+2)===62?3:2;if(this.input.charCodeAt(e+i)===61){this.finishOp(30,i+1);return}this.finishOp(52,i);return}if(r===61){this.finishOp(49,2);return}this.finishOp(48,1)}readToken_eq_excl(e){let r=this.input.charCodeAt(this.state.pos+1);if(r===61){this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);return}if(e===61&&r===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(e===61?29:35,1)}readToken_question(){let e=this.input.charCodeAt(this.state.pos+1),r=this.input.charCodeAt(this.state.pos+2);e===63?r===61?this.finishOp(30,3):this.finishOp(40,2):e===46&&!(r>=48&&r<=57)?(this.state.pos+=2,this.finishToken(18)):(++this.state.pos,this.finishToken(17))}getTokenFromCode(e){switch(e){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(w.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(w.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let r=this.input.charCodeAt(this.state.pos+1);if(r===120||r===88){this.readRadixNumber(16);return}if(r===111||r===79){this.readRadixNumber(8);return}if(r===98||r===66){this.readRadixNumber(2);return}}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(e);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(e);return;case 124:case 38:this.readToken_pipe_amp(e);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(e);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(e);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if($r(e)){this.readWord(e);return}}throw this.raise(w.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(e)})}finishOp(e,r){let i=this.input.slice(this.state.pos,this.state.pos+r);this.state.pos+=r,this.finishToken(e,i)}readRegexp(){let e=this.state.startLoc,r=this.state.start+1,i,s,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(w.UnterminatedRegExp,Lt(e,1));let c=this.input.charCodeAt(n);if(ns(c))throw this.raise(w.UnterminatedRegExp,Lt(e,1));if(i)i=!1;else{if(c===91)s=!0;else if(c===93&&s)s=!1;else if(c===47&&!s)break;i=c===92}}let a=this.input.slice(r,n);++n;let o="",l=()=>Lt(e,n+2-r);for(;n<this.length;){let c=this.codePointAtPos(n),u=String.fromCharCode(c);if(xP.has(c))c===118?o.includes("u")&&this.raise(w.IncompatibleRegExpUVFlags,l()):c===117&&o.includes("v")&&this.raise(w.IncompatibleRegExpUVFlags,l()),o.includes(u)&&this.raise(w.DuplicateRegExpFlags,l());else if(ss(c)||c===92)this.raise(w.MalformedRegExpFlags,l());else break;++n,o+=u}this.state.pos=n,this.finishToken(138,{pattern:a,flags:o})}readInt(e,r,i=!1,s=!0){let{n,pos:a}=Hd(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,r,i,s,this.errorHandlers_readInt,!1);return this.state.pos=a,n}readRadixNumber(e){let r=this.state.pos,i=this.state.curPosition(),s=!1;this.state.pos+=2;let n=this.readInt(e);n==null&&this.raise(w.InvalidDigit,Lt(i,2),{radix:e});let a=this.input.charCodeAt(this.state.pos);if(a===110)++this.state.pos,s=!0;else if(a===109)throw this.raise(w.InvalidDecimal,i);if($r(this.codePointAtPos(this.state.pos)))throw this.raise(w.NumberIdentifier,this.state.curPosition());if(s){let o=this.input.slice(r,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,o);return}this.finishToken(135,n)}readNumber(e){let r=this.state.pos,i=this.state.curPosition(),s=!1,n=!1,a=!1,o=!1;!e&&this.readInt(10)===null&&this.raise(w.InvalidNumber,this.state.curPosition());let l=this.state.pos-r>=2&&this.input.charCodeAt(r)===48;if(l){let E=this.input.slice(r,this.state.pos);if(this.recordStrictModeErrors(w.StrictOctalLiteral,i),!this.state.strict){let v=E.indexOf("_");v>0&&this.raise(w.ZeroDigitNumericSeparator,Lt(i,v))}o=l&&!/[89]/.test(E)}let c=this.input.charCodeAt(this.state.pos);if(c===46&&!o&&(++this.state.pos,this.readInt(10),s=!0,c=this.input.charCodeAt(this.state.pos)),(c===69||c===101)&&!o&&(c=this.input.charCodeAt(++this.state.pos),(c===43||c===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(w.InvalidOrMissingExponent,i),s=!0,a=!0,c=this.input.charCodeAt(this.state.pos)),c===110&&((s||l)&&this.raise(w.InvalidBigIntLiteral,i),++this.state.pos,n=!0),c===109){this.expectPlugin("decimal",this.state.curPosition()),(a||l)&&this.raise(w.InvalidDecimal,i),++this.state.pos;var u=!0}if($r(this.codePointAtPos(this.state.pos)))throw this.raise(w.NumberIdentifier,this.state.curPosition());let d=this.input.slice(r,this.state.pos).replace(/[_mn]/g,"");if(n){this.finishToken(136,d);return}if(u){this.finishToken(137,d);return}let x=o?parseInt(d,8):parseFloat(d);this.finishToken(135,x)}readCodePoint(e){let{code:r,pos:i}=Gd(this.input,this.state.pos,this.state.lineStart,this.state.curLine,e,this.errorHandlers_readCodePoint);return this.state.pos=i,r}readString(e){let{str:r,pos:i,curLine:s,lineStart:n}=Md(e===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=i+1,this.state.lineStart=n,this.state.curLine=s,this.finishToken(134,r)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e=this.input[this.state.pos],{str:r,firstInvalidLoc:i,pos:s,curLine:n,lineStart:a}=Md("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=s+1,this.state.lineStart=a,this.state.curLine=n,i&&(this.state.firstInvalidTemplateEscapePos=new Ir(i.curLine,i.pos-i.lineStart,this.sourceToOffsetPos(i.pos))),this.input.codePointAt(s)===96?this.finishToken(24,i?null:e+r+"`"):(this.state.pos++,this.finishToken(25,i?null:e+r+"${"))}recordStrictModeErrors(e,r){let i=r.index;this.state.strict&&!this.state.strictErrors.has(i)?this.raise(e,r):this.state.strictErrors.set(i,[e,r])}readWord1(e){this.state.containsEsc=!1;let r="",i=this.state.pos,s=this.state.pos;for(e!==void 0&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){let n=this.codePointAtPos(this.state.pos);if(ss(n))this.state.pos+=n<=65535?1:2;else if(n===92){this.state.containsEsc=!0,r+=this.input.slice(s,this.state.pos);let a=this.state.curPosition(),o=this.state.pos===i?$r:ss;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(w.MissingUnicodeEscape,this.state.curPosition()),s=this.state.pos-1;continue}++this.state.pos;let l=this.readCodePoint(!0);l!==null&&(o(l)||this.raise(w.EscapedCharNotAnIdentifier,a),r+=String.fromCodePoint(l)),s=this.state.pos}else break}return r+this.input.slice(s,this.state.pos)}readWord(e){let r=this.readWord1(e),i=ac.get(r);i!==void 0?this.finishToken(i,si(i)):this.finishToken(132,r)}checkKeywordEscapes(){let{type:e}=this.state;fc(e)&&this.state.containsEsc&&this.raise(w.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:si(e)})}raise(e,r,i={}){let s=r instanceof Ir?r:r.loc.start,n=e(s,i);if(!(this.optionFlags&2048))throw n;return this.isLookahead||this.state.errors.push(n),n}raiseOverwrite(e,r,i={}){let s=r instanceof Ir?r:r.loc.start,n=s.index,a=this.state.errors;for(let o=a.length-1;o>=0;o--){let l=a[o];if(l.loc.index===n)return a[o]=e(s,i);if(l.loc.index<n)break}return this.raise(e,r,i)}updateContext(e){}unexpected(e,r){throw this.raise(w.UnexpectedToken,e??this.state.startLoc,{expected:r?si(r):null})}expectPlugin(e,r){if(this.hasPlugin(e))return!0;throw this.raise(w.MissingPlugin,r??this.state.startLoc,{missingPlugin:[e]})}expectOnePlugin(e){if(!e.some(r=>this.hasPlugin(r)))throw this.raise(w.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:e})}errorBuilder(e){return(r,i,s)=>{this.raise(e,sn(r,i,s))}}},Gl=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},Ql=class{constructor(e){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Gl)}exit(){let e=this.stack.pop(),r=this.current();for(let[i,s]of Array.from(e.undefinedPrivateNames))r?r.undefinedPrivateNames.has(i)||r.undefinedPrivateNames.set(i,s):this.parser.raise(w.InvalidPrivateFieldResolution,s,{identifierName:i})}declarePrivateName(e,r,i){let{privateNames:s,loneAccessors:n,undefinedPrivateNames:a}=this.current(),o=s.has(e);if(r&3){let l=o&&n.get(e);if(l){let c=l&4,u=r&4,d=l&3,x=r&3;o=d===x||c!==u,o||n.delete(e)}else o||n.set(e,r)}o&&this.parser.raise(w.PrivateNameRedeclaration,i,{identifierName:e}),s.add(e),a.delete(e)}usePrivateName(e,r){let i;for(i of this.stack)if(i.privateNames.has(e))return;i?i.undefinedPrivateNames.set(e,r):this.parser.raise(w.InvalidPrivateFieldResolution,r,{identifierName:e})}},ls=class{constructor(e=0){this.type=e}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},La=class extends ls{constructor(e){super(e),this.declarationErrors=new Map}recordDeclarationError(e,r){let i=r.index;this.declarationErrors.set(i,[e,r])}clearDeclarationError(e){this.declarationErrors.delete(e)}iterateErrors(e){this.declarationErrors.forEach(e)}},Zl=class{constructor(e){this.parser=void 0,this.stack=[new ls],this.parser=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,r){let i=r.loc.start,{stack:s}=this,n=s.length-1,a=s[n];for(;!a.isCertainlyParameterDeclaration();){if(a.canBeArrowParameterDeclaration())a.recordDeclarationError(e,i);else return;a=s[--n]}this.parser.raise(e,i)}recordArrowParameterBindingError(e,r){let{stack:i}=this,s=i[i.length-1],n=r.loc.start;if(s.isCertainlyParameterDeclaration())this.parser.raise(e,n);else if(s.canBeArrowParameterDeclaration())s.recordDeclarationError(e,n);else return}recordAsyncArrowParametersError(e){let{stack:r}=this,i=r.length-1,s=r[i];for(;s.canBeArrowParameterDeclaration();)s.type===2&&s.recordDeclarationError(w.AwaitBindingIdentifier,e),s=r[--i]}validateAsPattern(){let{stack:e}=this,r=e[e.length-1];r.canBeArrowParameterDeclaration()&&r.iterateErrors(([i,s])=>{this.parser.raise(i,s);let n=e.length-2,a=e[n];for(;a.canBeArrowParameterDeclaration();)a.clearDeclarationError(s.index),a=e[--n]})}};function gP(){return new ls(3)}function bP(){return new La(1)}function SP(){return new La(2)}function Qd(){return new ls}var ec=class extends Hl{addExtra(e,r,i,s=!0){if(!e)return;let{extra:n}=e;n==null&&(n={},e.extra=n),s?n[r]=i:Object.defineProperty(n,r,{enumerable:s,value:i})}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,r){if(this.input.startsWith(r,e)){let i=this.input.charCodeAt(e+r.length);return!(ss(i)||(i&64512)===55296)}return!1}isLookaheadContextual(e){let r=this.nextTokenStart();return this.isUnparsedContextual(r,e)}eatContextual(e){return this.isContextual(e)?(this.next(),!0):!1}expectContextual(e,r){if(!this.eatContextual(e)){if(r!=null)throw this.raise(r,this.state.startLoc);this.unexpected(null,e)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Dd(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return Dd(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(w.MissingSemicolon,this.state.lastTokEndLoc)}expect(e,r){this.eat(e)||this.unexpected(r,e)}tryParse(e,r=this.state.clone()){let i={node:null};try{let s=e((n=null)=>{throw i.node=n,i});if(this.state.errors.length>r.errors.length){let n=this.state;return this.state=r,this.state.tokensLength=n.tokensLength,{node:s,error:n.errors[r.errors.length],thrown:!1,aborted:!1,failState:n}}return{node:s,error:null,thrown:!1,aborted:!1,failState:null}}catch(s){let n=this.state;if(this.state=r,s instanceof SyntaxError)return{node:null,error:s,thrown:!0,aborted:!1,failState:n};if(s===i)return{node:i.node,error:null,thrown:!1,aborted:!0,failState:n};throw s}}checkExpressionErrors(e,r){if(!e)return!1;let{shorthandAssignLoc:i,doubleProtoLoc:s,privateKeyLoc:n,optionalParametersLoc:a,voidPatternLoc:o}=e,l=!!i||!!s||!!a||!!n||!!o;if(!r)return l;i!=null&&this.raise(w.InvalidCoverInitializedName,i),s!=null&&this.raise(w.DuplicateProto,s),n!=null&&this.raise(w.UnexpectedPrivateField,n),a!=null&&this.unexpected(a),o!=null&&this.raise(w.InvalidCoverDiscardElement,o)}isLiteralPropertyName(){return $d(this.state.type)}isPrivateName(e){return e.type==="PrivateName"}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return(e.type==="MemberExpression"||e.type==="OptionalMemberExpression")&&this.isPrivateName(e.property)}isObjectProperty(e){return e.type==="ObjectProperty"}isObjectMethod(e){return e.type==="ObjectMethod"}initializeScopes(e=this.options.sourceType==="module"){let r=this.state.labels;this.state.labels=[];let i=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let s=this.inModule;this.inModule=e;let n=this.scope,a=this.getScopeHandler();this.scope=new a(this,e);let o=this.prodParam;this.prodParam=new Vl;let l=this.classScope;this.classScope=new Ql(this);let c=this.expressionScope;return this.expressionScope=new Zl(this),()=>{this.state.labels=r,this.exportedIdentifiers=i,this.inModule=s,this.scope=n,this.prodParam=o,this.classScope=l,this.expressionScope=c}}enterInitialScopes(){let e=0;(this.inModule||this.optionFlags&1)&&(e|=2),this.optionFlags&32&&(e|=1);let r=!this.inModule&&this.options.sourceType==="commonjs";(r||this.optionFlags&2)&&(e|=4),this.prodParam.enter(e);let i=r?514:1;this.optionFlags&4&&(i|=512),this.scope.enter(i)}checkDestructuringPrivate(e){let{privateKeyLoc:r}=e;r!==null&&this.expectPlugin("destructuringPrivate",r)}},as=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}},cs=class{constructor(e,r,i){this.type="",this.start=r,this.end=0,this.loc=new os(i),e?.optionFlags&128&&(this.range=[r,0]),e!=null&&e.filename&&(this.loc.filename=e.filename)}},tc=cs.prototype;tc.__clone=function(){let t=new cs(void 0,this.start,this.loc.start),e=Object.keys(this);for(let r=0,i=e.length;r<i;r++){let s=e[r];s!=="leadingComments"&&s!=="trailingComments"&&s!=="innerComments"&&(t[s]=this[s])}return t};var rc=class extends ec{startNode(){let e=this.state.startLoc;return new cs(this,e.index,e)}startNodeAt(e){return new cs(this,e.index,e)}startNodeAtNode(e){return this.startNodeAt(e.loc.start)}finishNode(e,r){return this.finishNodeAt(e,r,this.state.lastTokEndLoc)}finishNodeAt(e,r,i){return e.type=r,e.end=i.index,e.loc.end=i,this.optionFlags&128&&(e.range[1]=i.index),this.optionFlags&4096&&this.processComment(e),e}resetStartLocation(e,r){e.start=r.index,e.loc.start=r,this.optionFlags&128&&(e.range[0]=r.index)}resetEndLocation(e,r=this.state.lastTokEndLoc){e.end=r.index,e.loc.end=r,this.optionFlags&128&&(e.range[1]=r.index)}resetStartLocationFromNode(e,r){this.resetStartLocation(e,r.loc.start)}castNodeTo(e,r){return e.type=r,e}cloneIdentifier(e){let{type:r,start:i,end:s,loc:n,range:a,name:o}=e,l=Object.create(tc);return l.type=r,l.start=i,l.end=s,l.loc=n,l.range=a,l.name=o,e.extra&&(l.extra=e.extra),l}cloneStringLiteral(e){let{type:r,start:i,end:s,loc:n,range:a,extra:o}=e,l=Object.create(tc);return l.type=r,l.start=i,l.end=s,l.loc=n,l.range=a,l.extra=o,l.value=e.value,l}},Zd=t=>t.type==="ParenthesizedExpression"?Zd(t.expression):t,ic=class extends rc{toAssignable(e,r=!1){var i,s;let n;switch((e.type==="ParenthesizedExpression"||(i=e.extra)!=null&&i.parenthesized)&&(n=Zd(e),r?n.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(w.InvalidParenthesizedAssignment,e):n.type!=="MemberExpression"&&!this.isOptionalMemberExpression(n)&&this.raise(w.InvalidParenthesizedAssignment,e):this.raise(w.InvalidParenthesizedAssignment,e)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(e,"ObjectPattern");for(let o=0,l=e.properties.length,c=l-1;o<l;o++){var a;let u=e.properties[o],d=o===c;this.toAssignableObjectExpressionProp(u,d,r),d&&u.type==="RestElement"&&(a=e.extra)!=null&&a.trailingCommaLoc&&this.raise(w.RestTrailingComma,e.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:o,value:l}=e;this.isPrivateName(o)&&this.classScope.usePrivateName(this.getPrivateNameSV(o),o.loc.start),this.toAssignable(l,r);break}case"SpreadElement":throw new Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(e,"ArrayPattern"),this.toAssignableList(e.elements,(s=e.extra)==null?void 0:s.trailingCommaLoc,r);break;case"AssignmentExpression":e.operator!=="="&&this.raise(w.MissingEqInAssignment,e.left.loc.end),this.castNodeTo(e,"AssignmentPattern"),delete e.operator,e.left.type==="VoidPattern"&&this.raise(w.VoidPatternInitializer,e.left),this.toAssignable(e.left,r);break;case"ParenthesizedExpression":this.toAssignable(n,r);break}}toAssignableObjectExpressionProp(e,r,i){if(e.type==="ObjectMethod")this.raise(e.kind==="get"||e.kind==="set"?w.PatternHasAccessor:w.PatternHasMethod,e.key);else if(e.type==="SpreadElement"){this.castNodeTo(e,"RestElement");let s=e.argument;this.checkToRestConversion(s,!1),this.toAssignable(s,i),r||this.raise(w.RestTrailingComma,e)}else this.toAssignable(e,i)}toAssignableList(e,r,i){let s=e.length-1;for(let n=0;n<=s;n++){let a=e[n];a&&(this.toAssignableListItem(e,n,i),a.type==="RestElement"&&(n<s?this.raise(w.RestTrailingComma,a):r&&this.raise(w.RestTrailingComma,r)))}}toAssignableListItem(e,r,i){let s=e[r];if(s.type==="SpreadElement"){this.castNodeTo(s,"RestElement");let n=s.argument;this.checkToRestConversion(n,!0),this.toAssignable(n,i)}else this.toAssignable(s,i)}isAssignable(e,r){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let i=e.properties.length-1;return e.properties.every((s,n)=>s.type!=="ObjectMethod"&&(n===i||s.type!=="SpreadElement")&&this.isAssignable(s))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(i=>i===null||this.isAssignable(i));case"AssignmentExpression":return e.operator==="=";case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!r;default:return!1}}toReferencedList(e,r){return e}toReferencedListDeep(e,r){this.toReferencedList(e,r);for(let i of e)i?.type==="ArrayExpression"&&this.toReferencedListDeep(i.elements)}parseSpread(e){let r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0),this.finishNode(r,"SpreadElement")}parseRestBinding(){let e=this.startNode();this.next();let r=this.parseBindingAtom();return r.type==="VoidPattern"&&this.raise(w.UnexpectedVoidPattern,r),e.argument=r,this.finishNode(e,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,1),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(e,r,i){let s=i&1,n=[],a=!0;for(;!this.eat(e);)if(a?a=!1:this.expect(12),s&&this.match(12))n.push(null);else{if(this.eat(e))break;if(this.match(21)){let o=this.parseRestBinding();if((this.hasPlugin("flow")||i&2)&&(o=this.parseFunctionParamType(o)),n.push(o),!this.checkCommaAfterRest(r)){this.expect(e);break}}else{let o=[];if(i&2)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(w.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)o.push(this.parseDecorator());n.push(this.parseBindingElement(i,o))}}return n}parseBindingRestProperty(e){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(e.argument=this.parseVoidPattern(null),this.raise(w.UnexpectedVoidPattern,e.argument)):e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){let{type:e,startLoc:r}=this.state;if(e===21)return this.parseBindingRestProperty(this.startNode());let i=this.startNode();return e===139?(this.expectPlugin("destructuringPrivate",r),this.classScope.usePrivateName(this.state.value,r),i.key=this.parsePrivateName()):this.parsePropertyName(i),i.method=!1,this.parseObjPropValue(i,r,!1,!1,!0,!1)}parseBindingElement(e,r){let i=this.parseMaybeDefault();return(this.hasPlugin("flow")||e&2)&&this.parseFunctionParamType(i),r.length&&(i.decorators=r,this.resetStartLocationFromNode(i,r[0])),this.parseMaybeDefault(i.loc.start,i)}parseFunctionParamType(e){return e}parseMaybeDefault(e,r){if(e??(e=this.state.startLoc),r=r??this.parseBindingAtom(),!this.eat(29))return r;let i=this.startNodeAt(e);return r.type==="VoidPattern"&&this.raise(w.VoidPatternInitializer,r),i.left=r,i.right=this.parseMaybeAssignAllowIn(),this.finishNode(i,"AssignmentPattern")}isValidLVal(e,r,i){switch(e){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0}return!1}isOptionalMemberExpression(e){return e.type==="OptionalMemberExpression"}checkLVal(e,r,i=64,s=!1,n=!1,a=!1){var o;let l=e.type;if(this.isObjectMethod(e))return;let c=this.isOptionalMemberExpression(e);if(c||l==="MemberExpression"){c&&(this.expectPlugin("optionalChainingAssign",e.loc.start),r.type!=="AssignmentExpression"&&this.raise(w.InvalidLhsOptionalChaining,e,{ancestor:r})),i!==64&&this.raise(w.InvalidPropertyBindingPattern,e);return}if(l==="Identifier"){this.checkIdentifier(e,i,n);let{name:A}=e;s&&(s.has(A)?this.raise(w.ParamDupe,e):s.add(A));return}else l==="VoidPattern"&&r.type==="CatchClause"&&this.raise(w.VoidPatternCatchClauseParam,e);let u=this.isValidLVal(l,!(a||(o=e.extra)!=null&&o.parenthesized)&&r.type==="AssignmentExpression",i);if(u===!0)return;if(u===!1){let A=i===64?w.InvalidLhs:w.InvalidLhsBinding;this.raise(A,e,{ancestor:r});return}let d,x;typeof u=="string"?(d=u,x=l==="ParenthesizedExpression"):[d,x]=u;let E=l==="ArrayPattern"||l==="ObjectPattern"?{type:l}:r,v=e[d];if(Array.isArray(v))for(let A of v)A&&this.checkLVal(A,E,i,s,n,x);else v&&this.checkLVal(v,E,i,s,n,x)}checkIdentifier(e,r,i=!1){this.state.strict&&(i?Jd(e.name,this.inModule):zd(e.name))&&(r===64?this.raise(w.StrictEvalArguments,e,{referenceName:e.name}):this.raise(w.StrictEvalArgumentsBinding,e,{bindingName:e.name})),r&8192&&e.name==="let"&&this.raise(w.LetInLexicalBinding,e),r&64||this.declareNameFromIdentifier(e,r)}declareNameFromIdentifier(e,r){this.scope.declareName(e.name,r,e.loc.start)}checkToRestConversion(e,r){switch(e.type){case"ParenthesizedExpression":this.checkToRestConversion(e.expression,r);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(r)break;default:this.raise(w.InvalidRestAssignmentPattern,e)}}checkCommaAfterRest(e){return this.match(12)?(this.raise(this.lookaheadCharCode()===e?w.RestTrailingComma:w.ElementAfterRest,this.state.startLoc),!0):!1}};function EP(t){if(t==null)throw new Error(`Unexpected ${t} value.`);return t}function Fd(t){if(!t)throw new Error("Assert fail")}var le=Cr`typescript`({AbstractMethodHasImplementation:({methodName:t})=>`Method '${t}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:t})=>`Property '${t}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:({kind:t})=>`'declare' is not allowed in ${t}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:t})=>`Accessibility modifier already seen: '${t}'.`,DuplicateModifier:({modifier:t})=>`Duplicate modifier: '${t}'.`,EmptyHeritageClauseType:({token:t})=>`'${t}' list cannot be empty.`,EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",ImportReflectionHasImportType:"An `import module` declaration can not use `type` modifier",IncompatibleModifiers:({modifiers:t})=>`'${t[0]}' modifier cannot be used with '${t[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:t})=>`Index signatures cannot have an accessibility modifier ('${t}').`,IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InitializerNotAllowedInAmbientContext:"Initializers are not allowed in ambient contexts.",InvalidHeritageClauseType:({token:t})=>`'${t}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:t=>`'${t}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:t})=>`'${t}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:t})=>`'${t}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:t})=>`'${t}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:t=>`'${t}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:t})=>`'${t[0]}' modifier must precede '${t[1]}' modifier.`,InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:({modifier:t})=>`Private elements cannot have an accessibility modifier ('${t}').`,ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:t})=>`Single type parameter ${t} should have a trailing comma. Example usage: <${t},>.`,StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TupleOptionalAfterType:"A labeled tuple optional element must be declared using a question mark after the name and before the colon (`name?: type`), rather than after the type (`name: type?`).",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:({type:t})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${t}.`,UsingDeclarationInAmbientContext:t=>`'${t}' declarations are not allowed in ambient contexts.`});function PP(t){switch(t){case"any":return"TSAnyKeyword";case"boolean":return"TSBooleanKeyword";case"bigint":return"TSBigIntKeyword";case"never":return"TSNeverKeyword";case"number":return"TSNumberKeyword";case"object":return"TSObjectKeyword";case"string":return"TSStringKeyword";case"symbol":return"TSSymbolKeyword";case"undefined":return"TSUndefinedKeyword";case"unknown":return"TSUnknownKeyword";default:return}}function Bd(t){return t==="private"||t==="public"||t==="protected"}function vP(t){return t==="in"||t==="out"}var AP=t=>class extends t{constructor(...r){super(...r),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:le.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:le.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:le.InvalidModifierOnTypeParameter})}getScopeHandler(){return Wl}tsIsIdentifier(){return Ve(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),this.hasPrecedingLineBreak()?!1:this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(r,i,s){if(!Ve(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let n=this.state.value;if(r.includes(n)){if(s&&this.match(106)||i&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return n}}tsParseModifiers({allowedModifiers:r,disallowedModifiers:i,stopOnStartOfClassStaticBlock:s,errorTemplate:n=le.InvalidModifierOnTypeMember},a){let o=(c,u,d,x)=>{u===d&&a[x]&&this.raise(le.InvalidModifiersOrder,c,{orderedModifiers:[d,x]})},l=(c,u,d,x)=>{(a[d]&&u===x||a[x]&&u===d)&&this.raise(le.IncompatibleModifiers,c,{modifiers:[d,x]})};for(;;){let{startLoc:c}=this.state,u=this.tsParseModifier(r.concat(i??[]),s,a.static);if(!u)break;Bd(u)?a.accessibility?this.raise(le.DuplicateAccessibilityModifier,c,{modifier:u}):(o(c,u,u,"override"),o(c,u,u,"static"),o(c,u,u,"readonly"),a.accessibility=u):vP(u)?(a[u]&&this.raise(le.DuplicateModifier,c,{modifier:u}),a[u]=!0,o(c,u,"in","out")):(hasOwnProperty.call(a,u)?this.raise(le.DuplicateModifier,c,{modifier:u}):(o(c,u,"static","readonly"),o(c,u,"static","override"),o(c,u,"override","readonly"),o(c,u,"abstract","override"),l(c,u,"declare","override"),l(c,u,"static","abstract")),a[u]=!0),i!=null&&i.includes(u)&&this.raise(n,c,{modifier:u})}}tsIsListTerminator(r){switch(r){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(48)}}tsParseList(r,i){let s=[];for(;!this.tsIsListTerminator(r);)s.push(i());return s}tsParseDelimitedList(r,i,s){return EP(this.tsParseDelimitedListWorker(r,i,!0,s))}tsParseDelimitedListWorker(r,i,s,n){let a=[],o=-1;for(;!this.tsIsListTerminator(r);){o=-1;let l=i();if(l==null)return;if(a.push(l),this.eat(12)){o=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(r))break;s&&this.expect(12);return}return n&&(n.value=o),a}tsParseBracketedList(r,i,s,n,a){n||(s?this.expect(0):this.expect(47));let o=this.tsParseDelimitedList(r,i,a);return s?this.expect(3):this.expect(48),o}tsParseImportType(){let r=this.startNode();return this.expect(83),this.expect(10),this.match(134)?r.argument=this.parseStringLiteral(this.state.value):(this.raise(le.UnsupportedImportTypeArgument,this.state.startLoc),r.argument=super.parseExprAtom()),this.eat(12)?r.options=this.tsParseImportTypeOptions():r.options=null,this.expect(11),this.eat(16)&&(r.qualifier=this.tsParseEntityName(3)),this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSImportType")}tsParseImportTypeOptions(){let r=this.startNode();this.expect(5);let i=this.startNode();return this.isContextual(76)?(i.method=!1,i.key=this.parseIdentifier(!0),i.computed=!1,i.shorthand=!1):this.unexpected(null,76),this.expect(14),i.value=this.tsParseImportTypeWithPropertyValue(),r.properties=[this.finishObjectProperty(i)],this.expect(8),this.finishNode(r,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let r=this.startNode(),i=[];for(this.expect(5);!this.match(8);){let s=this.state.type;Ve(s)||s===134?i.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return r.properties=i,this.next(),this.finishNode(r,"ObjectExpression")}tsParseEntityName(r){let i;if(r&1&&this.match(78))if(r&2)i=this.parseIdentifier(!0);else{let s=this.startNode();this.next(),i=this.finishNode(s,"ThisExpression")}else i=this.parseIdentifier(!!(r&1));for(;this.eat(16);){let s=this.startNodeAtNode(i);s.left=i,s.right=this.parseIdentifier(!!(r&1)),i=this.finishNode(s,"TSQualifiedName")}return i}tsParseTypeReference(){let r=this.startNode();return r.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeReference")}tsParseThisTypePredicate(r){this.next();let i=this.startNodeAtNode(r);return i.parameterName=r,i.typeAnnotation=this.tsParseTypeAnnotation(!1),i.asserts=!1,this.finishNode(i,"TSTypePredicate")}tsParseThisTypeNode(){let r=this.startNode();return this.next(),this.finishNode(r,"TSThisType")}tsParseTypeQuery(){let r=this.startNode();return this.expect(87),this.match(83)?r.exprName=this.tsParseImportType():r.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(r.typeParameters=this.tsParseTypeArguments()),this.finishNode(r,"TSTypeQuery")}tsParseTypeParameter(r){let i=this.startNode();return r(i),i.name=this.tsParseTypeParameterName(),i.constraint=this.tsEatThenParseType(81),i.default=this.tsEatThenParseType(29),this.finishNode(i,"TSTypeParameter")}tsTryParseTypeParameters(r){if(this.match(47))return this.tsParseTypeParameters(r)}tsParseTypeParameters(r){let i=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let s={value:-1};return i.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,r),!1,!0,s),i.params.length===0&&this.raise(le.EmptyTypeParameters,i),s.value!==-1&&this.addExtra(i,"trailingComma",s.value),this.finishNode(i,"TSTypeParameterDeclaration")}tsFillSignature(r,i){let s=r===19,n="parameters",a="typeAnnotation";i.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),i[n]=this.tsParseBindingListForSignature(),s?i[a]=this.tsParseTypeOrTypePredicateAnnotation(r):this.match(r)&&(i[a]=this.tsParseTypeOrTypePredicateAnnotation(r))}tsParseBindingListForSignature(){let r=super.parseBindingList(11,41,2);for(let i of r){let{type:s}=i;(s==="AssignmentPattern"||s==="TSParameterProperty")&&this.raise(le.UnsupportedSignatureParameterKind,i,{type:s})}return r}tsParseTypeMemberSemicolon(){!this.eat(12)&&!this.isLineTerminator()&&this.expect(13)}tsParseSignatureMember(r,i){return this.tsFillSignature(14,i),this.tsParseTypeMemberSemicolon(),this.finishNode(i,r)}tsIsUnambiguouslyIndexSignature(){return this.next(),Ve(this.state.type)?(this.next(),this.match(14)):!1}tsTryParseIndexSignature(r){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let i=this.parseIdentifier();i.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(i),this.expect(3),r.parameters=[i];let s=this.tsTryParseTypeAnnotation();return s&&(r.typeAnnotation=s),this.tsParseTypeMemberSemicolon(),this.finishNode(r,"TSIndexSignature")}tsParsePropertyOrMethodSignature(r,i){if(this.eat(17)&&(r.optional=!0),this.match(10)||this.match(47)){i&&this.raise(le.ReadonlyForMethodSignature,r);let s=r;s.kind&&this.match(47)&&this.raise(le.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,s),this.tsParseTypeMemberSemicolon();let n="parameters",a="typeAnnotation";if(s.kind==="get")s[n].length>0&&(this.raise(w.BadGetterArity,this.state.curPosition()),this.isThisParam(s[n][0])&&this.raise(le.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(s.kind==="set"){if(s[n].length!==1)this.raise(w.BadSetterArity,this.state.curPosition());else{let o=s[n][0];this.isThisParam(o)&&this.raise(le.AccessorCannotDeclareThisParameter,this.state.curPosition()),o.type==="Identifier"&&o.optional&&this.raise(le.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),o.type==="RestElement"&&this.raise(le.SetAccessorCannotHaveRestParameter,this.state.curPosition())}s[a]&&this.raise(le.SetAccessorCannotHaveReturnType,s[a])}else s.kind="method";return this.finishNode(s,"TSMethodSignature")}else{let s=r;i&&(s.readonly=!0);let n=this.tsTryParseTypeAnnotation();return n&&(s.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(s,"TSPropertySignature")}}tsParseTypeMember(){let r=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",r);if(this.match(77)){let s=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",r):(r.key=this.createIdentifier(s,"new"),this.tsParsePropertyOrMethodSignature(r,!1))}this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},r);let i=this.tsTryParseIndexSignature(r);return i||(super.parsePropertyName(r),!r.computed&&r.key.type==="Identifier"&&(r.key.name==="get"||r.key.name==="set")&&this.tsTokenCanFollowModifier()&&(r.kind=r.key.name,super.parsePropertyName(r),!this.match(10)&&!this.match(47)&&this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(r,!!r.readonly))}tsParseTypeLiteral(){let r=this.startNode();return r.members=this.tsParseObjectTypeMembers(),this.finishNode(r,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let r=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),r}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!this.match(0)||(this.next(),!this.tsIsIdentifier())?!1:(this.next(),this.match(58)))}tsParseMappedType(){let r=this.startNode();this.expect(5),this.match(53)?(r.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(r.readonly=!0),this.expect(0);{let i=this.startNode();i.name=this.tsParseTypeParameterName(),i.constraint=this.tsExpectThenParseType(58),r.typeParameter=this.finishNode(i,"TSTypeParameter")}return r.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(r.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(r.optional=!0),r.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(r,"TSMappedType")}tsParseTupleType(){let r=this.startNode();r.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let i=!1;return r.elementTypes.forEach(s=>{let{type:n}=s;i&&n!=="TSRestType"&&n!=="TSOptionalType"&&!(n==="TSNamedTupleMember"&&s.optional)&&this.raise(le.OptionalTypeBeforeRequired,s),i||(i=n==="TSNamedTupleMember"&&s.optional||n==="TSOptionalType")}),this.finishNode(r,"TSTupleType")}tsParseTupleElementType(){let r=this.state.startLoc,i=this.eat(21),{startLoc:s}=this.state,n,a,o,l,u=mr(this.state.type)?this.lookaheadCharCode():null;if(u===58)n=!0,o=!1,a=this.parseIdentifier(!0),this.expect(14),l=this.tsParseType();else if(u===63){o=!0;let d=this.state.value,x=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(n=!0,a=this.createIdentifier(this.startNodeAt(s),d),this.expect(17),this.expect(14),l=this.tsParseType()):(n=!1,l=x,this.expect(17))}else l=this.tsParseType(),o=this.eat(17),n=this.eat(14);if(n){let d;a?(d=this.startNodeAt(s),d.optional=o,d.label=a,d.elementType=l,this.eat(17)&&(d.optional=!0,this.raise(le.TupleOptionalAfterType,this.state.lastTokStartLoc))):(d=this.startNodeAt(s),d.optional=o,this.raise(le.InvalidTupleMemberLabel,l),d.label=l,d.elementType=this.tsParseType()),l=this.finishNode(d,"TSNamedTupleMember")}else if(o){let d=this.startNodeAt(s);d.typeAnnotation=l,l=this.finishNode(d,"TSOptionalType")}if(i){let d=this.startNodeAt(r);d.typeAnnotation=l,l=this.finishNode(d,"TSRestType")}return l}tsParseParenthesizedType(){let r=this.startNode();return this.expect(10),r.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(r,"TSParenthesizedType")}tsParseFunctionOrConstructorType(r,i){let s=this.startNode();return r==="TSConstructorType"&&(s.abstract=!!i,i&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,s)),this.finishNode(s,r)}tsParseLiteralTypeNode(){let r=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:r.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(r,"TSLiteralType")}tsParseTemplateLiteralType(){{let r=this.startNode();return r.literal=super.parseTemplate(!1),this.finishNode(r,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let r=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(r):r}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let r=this.startNode(),i=this.lookahead();return i.type!==135&&i.type!==136&&this.unexpected(),r.literal=this.parseMaybeUnary(),this.finishNode(r,"TSLiteralType")}break;case 78:return this.tsParseThisTypeOrThisTypePredicate();case 87:return this.tsParseTypeQuery();case 83:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{let{type:r}=this.state;if(Ve(r)||r===88||r===84){let i=r===88?"TSVoidKeyword":r===84?"TSNullKeyword":PP(this.state.value);if(i!==void 0&&this.lookaheadCharCode()!==46){let s=this.startNode();return this.next(),this.finishNode(s,i)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:r}=this.state,i=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let s=this.startNodeAt(r);s.elementType=i,this.expect(3),i=this.finishNode(s,"TSArrayType")}else{let s=this.startNodeAt(r);s.objectType=i,s.indexType=this.tsParseType(),this.expect(3),i=this.finishNode(s,"TSIndexedAccessType")}return i}tsParseTypeOperator(){let r=this.startNode(),i=this.state.value;return this.next(),r.operator=i,r.typeAnnotation=this.tsParseTypeOperatorOrHigher(),i==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(r),this.finishNode(r,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(r){switch(r.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(le.UnexpectedReadonly,r)}}tsParseInferType(){let r=this.startNode();this.expectContextual(115);let i=this.startNode();return i.name=this.tsParseTypeParameterName(),i.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),r.typeParameter=this.finishNode(i,"TSTypeParameter"),this.finishNode(r,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let r=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return r}}tsParseTypeOperatorOrHigher(){return VE(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(r,i,s){let n=this.startNode(),a=this.eat(s),o=[];do o.push(i());while(this.eat(s));return o.length===1&&!a?o[0]:(n.types=o,this.finishNode(n,r))}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),45)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),43)}tsIsStartOfFunctionType(){return this.match(47)?!0:this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(Ve(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:r}=this.state,i=r.length;try{return this.parseObjectLike(8,!0),r.length===i}catch{return!1}}if(this.match(0)){this.next();let{errors:r}=this.state,i=r.length;try{return super.parseBindingList(3,93,1),r.length===i}catch{return!1}}return!1}tsIsUnambiguouslyStartOfFunctionType(){return this.next(),!!(this.match(11)||this.match(21)||this.tsSkipParameterStart()&&(this.match(14)||this.match(12)||this.match(17)||this.match(29)||this.match(11)&&(this.next(),this.match(19))))}tsParseTypeOrTypePredicateAnnotation(r){return this.tsInType(()=>{let i=this.startNode();this.expect(r);let s=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(78)){let l=this.tsParseThisTypeOrThisTypePredicate();return l.type==="TSThisType"?(s.parameterName=l,s.asserts=!0,s.typeAnnotation=null,l=this.finishNode(s,"TSTypePredicate")):(this.resetStartLocationFromNode(l,s),l.asserts=!0),i.typeAnnotation=l,this.finishNode(i,"TSTypeAnnotation")}let a=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!a)return n?(s.parameterName=this.parseIdentifier(),s.asserts=n,s.typeAnnotation=null,i.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,i);let o=this.tsParseTypeAnnotation(!1);return s.parameterName=a,s.typeAnnotation=o,s.asserts=n,i.typeAnnotation=this.finishNode(s,"TSTypePredicate"),this.finishNode(i,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){if(this.match(14))return this.tsParseTypeOrTypePredicateAnnotation(14)}tsTryParseTypeAnnotation(){if(this.match(14))return this.tsParseTypeAnnotation()}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){let r=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),r}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let r=this.state.containsEsc;return this.next(),!Ve(this.state.type)&&!this.match(78)?!1:(r&&this.raise(w.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(r=!0,i=this.startNode()){return this.tsInType(()=>{r&&this.expect(14),i.typeAnnotation=this.tsParseType()}),this.finishNode(i,"TSTypeAnnotation")}tsParseType(){Fd(this.state.inType);let r=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return r;let i=this.startNodeAtNode(r);return i.checkType=r,i.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),i.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),i.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(i,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(77)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(le.ReservedTypeAssertion,this.state.startLoc);let r=this.startNode();return r.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),r.expression=this.parseMaybeUnary(),this.finishNode(r,"TSTypeAssertion")}tsParseHeritageClause(r){let i=this.state.startLoc,s=this.tsParseDelimitedList("HeritageClauseElement",()=>{{let n=this.startNode();return n.expression=this.tsParseEntityName(3),this.match(47)&&(n.typeParameters=this.tsParseTypeArguments()),this.finishNode(n,"TSExpressionWithTypeArguments")}});return s.length||this.raise(le.EmptyHeritageClauseType,i,{token:r}),s}tsParseInterfaceDeclaration(r,i={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),i.declare&&(r.declare=!0),Ve(this.state.type)?(r.id=this.parseIdentifier(),this.checkIdentifier(r.id,130)):(r.id=null,this.raise(le.MissingInterfaceName,this.state.startLoc)),r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(r.extends=this.tsParseHeritageClause("extends"));let s=this.startNode();return s.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),r.body=this.finishNode(s,"TSInterfaceBody"),this.finishNode(r,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(r){return r.id=this.parseIdentifier(),this.checkIdentifier(r.id,2),r.typeAnnotation=this.tsInType(()=>{if(r.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let i=this.startNode();return this.next(),this.finishNode(i,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(r,"TSTypeAliasDeclaration")}tsInTopLevelContext(r){if(this.curContext()!==Ke.brace){let i=this.state.context;this.state.context=[i[0]];try{return r()}finally{this.state.context=i}}else return r()}tsInType(r){let i=this.state.inType;this.state.inType=!0;try{return r()}finally{this.state.inType=i}}tsInDisallowConditionalTypesContext(r){let i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return r()}finally{this.state.inDisallowConditionalTypesContext=i}}tsInAllowConditionalTypesContext(r){let i=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return r()}finally{this.state.inDisallowConditionalTypesContext=i}}tsEatThenParseType(r){if(this.match(r))return this.tsNextThenParseType()}tsExpectThenParseType(r){return this.tsInType(()=>(this.expect(r),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let r=this.startNode();return r.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(r.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(r,"TSEnumMember")}tsParseEnumDeclaration(r,i={}){return i.const&&(r.const=!0),i.declare&&(r.declare=!0),this.expectContextual(126),r.id=this.parseIdentifier(),this.checkIdentifier(r.id,r.const?8971:8459),this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumDeclaration")}tsParseEnumBody(){let r=this.startNode();return this.expect(5),r.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(r,"TSEnumBody")}tsParseModuleBlock(){let r=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(r.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(r,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(r,i=!1){if(r.id=this.parseIdentifier(),i||this.checkIdentifier(r.id,1024),this.eat(16)){let s=this.startNode();this.tsParseModuleOrNamespaceDeclaration(s,!0),r.body=s}else this.scope.enter(1024),this.prodParam.enter(0),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(r,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(r){return this.isContextual(112)?(r.kind="global",r.global=!0,r.id=this.parseIdentifier()):this.match(134)?(r.kind="module",r.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),r.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(r,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(r,i,s){r.isExport=s||!1,r.id=i||this.parseIdentifier(),this.checkIdentifier(r.id,4096),this.expect(29);let n=this.tsParseModuleReference();return r.importKind==="type"&&n.type!=="TSExternalModuleReference"&&this.raise(le.ImportAliasHasImportType,n),r.moduleReference=n,this.semicolon(),this.finishNode(r,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let r=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),r.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(r,"TSExternalModuleReference")}tsLookAhead(r){let i=this.state.clone(),s=r();return this.state=i,s}tsTryParseAndCatch(r){let i=this.tryParse(s=>r()||s());if(!(i.aborted||!i.node))return i.error&&(this.state=i.failState),i.node}tsTryParse(r){let i=this.state.clone(),s=r();if(s!==void 0&&s!==!1)return s;this.state=i}tsTryParseDeclare(r){if(this.isLineTerminator())return;let i=this.state.type;return this.tsInAmbientContext(()=>{switch(i){case 68:return r.declare=!0,super.parseFunctionStatement(r,!1,!1);case 80:return r.declare=!0,this.parseClass(r,!0,!1);case 126:return this.tsParseEnumDeclaration(r,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(r);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(r.declare=!0,this.parseVarStatement(r,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(r,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(le.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),r.declare=!0,this.parseVarStatement(r,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(le.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),r.declare=!0,this.next(),this.parseVarStatement(r,"await using",!0);break;case 129:{let s=this.tsParseInterfaceDeclaration(r,{declare:!0});if(s)return s}default:if(Ve(i))return this.tsParseDeclaration(r,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(r,i,s){switch(i.name){case"declare":{let n=this.tsTryParseDeclare(r);return n&&(n.declare=!0),n}case"global":if(this.match(5)){this.scope.enter(1024),this.prodParam.enter(0);let n=r;return n.kind="global",r.global=!0,n.id=i,n.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(r,i.name,!1,s)}}tsParseDeclaration(r,i,s,n){switch(i){case"abstract":if(this.tsCheckLineTerminator(s)&&(this.match(80)||Ve(this.state.type)))return this.tsParseAbstractDeclaration(r,n);break;case"module":if(this.tsCheckLineTerminator(s)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(r);if(Ve(this.state.type))return r.kind="module",this.tsParseModuleOrNamespaceDeclaration(r)}break;case"namespace":if(this.tsCheckLineTerminator(s)&&Ve(this.state.type))return r.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(r);break;case"type":if(this.tsCheckLineTerminator(s)&&Ve(this.state.type))return this.tsParseTypeAliasDeclaration(r);break}}tsCheckLineTerminator(r){return r?this.hasFollowingLineBreak()?!1:(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(r){if(!this.match(47))return;let i=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let s=this.tsTryParseAndCatch(()=>{let n=this.startNodeAt(r);return n.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(n),n.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),n});if(this.state.maybeInArrowParameters=i,!!s)return super.parseArrowExpression(s,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let r=this.startNode();return r.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),r.params.length===0?this.raise(le.EmptyTypeArguments,r):!this.state.inType&&this.curContext()===Ke.brace&&this.reScan_lt_gt(),this.expect(48),this.finishNode(r,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return YE(this.state.type)}isExportDefaultSpecifier(){return this.tsIsDeclarationStart()?!1:super.isExportDefaultSpecifier()}parseBindingElement(r,i){let s=i.length?i[0].loc.start:this.state.startLoc,n={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},n);let a=n.accessibility,o=n.override,l=n.readonly;!(r&4)&&(a||l||o)&&this.raise(le.UnexpectedParameterModifier,s);let c=this.parseMaybeDefault();r&2&&this.parseFunctionParamType(c);let u=this.parseMaybeDefault(c.loc.start,c);if(a||l||o){let d=this.startNodeAt(s);return i.length&&(d.decorators=i),a&&(d.accessibility=a),l&&(d.readonly=l),o&&(d.override=o),u.type!=="Identifier"&&u.type!=="AssignmentPattern"&&this.raise(le.UnsupportedParameterPropertyKind,d),d.parameter=u,this.finishNode(d,"TSParameterProperty")}return i.length&&(c.decorators=i),u}isSimpleParameter(r){return r.type==="TSParameterProperty"&&super.isSimpleParameter(r.parameter)||super.isSimpleParameter(r)}tsDisallowOptionalPattern(r){for(let i of r.params)i.type!=="Identifier"&&i.optional&&!this.state.isAmbientContext&&this.raise(le.PatternIsOptional,i)}setArrowFunctionParameters(r,i,s){super.setArrowFunctionParameters(r,i,s),this.tsDisallowOptionalPattern(r)}parseFunctionBodyAndFinish(r,i,s=!1){this.match(14)&&(r.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let n=i==="FunctionDeclaration"?"TSDeclareFunction":i==="ClassMethod"||i==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(r,n):n==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(le.DeclareFunctionHasImplementation,r),r.declare)?super.parseFunctionBodyAndFinish(r,n,s):(this.tsDisallowOptionalPattern(r),super.parseFunctionBodyAndFinish(r,i,s))}registerFunctionStatementId(r){!r.body&&r.id?this.checkIdentifier(r.id,1024):super.registerFunctionStatementId(r)}tsCheckForInvalidTypeCasts(r){r.forEach(i=>{i?.type==="TSTypeCastExpression"&&this.raise(le.UnexpectedTypeAnnotation,i.typeAnnotation)})}toReferencedList(r,i){return this.tsCheckForInvalidTypeCasts(r),r}parseArrayLike(r,i,s,n){let a=super.parseArrayLike(r,i,s,n);return a.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(a.elements),a}parseSubscript(r,i,s,n){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let o=this.startNodeAt(i);return o.expression=r,this.finishNode(o,"TSNonNullExpression")}let a=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(s)return n.stop=!0,r;n.optionalChainMember=a=!0,this.next()}if(this.match(47)||this.match(51)){let o,l=this.tsTryParseAndCatch(()=>{if(!s&&this.atPossibleAsyncArrow(r)){let x=this.tsTryParseGenericAsyncArrowFunction(i);if(x)return x}let c=this.tsParseTypeArgumentsInExpression();if(!c)return;if(a&&!this.match(10)){o=this.state.curPosition();return}if(Da(this.state.type)){let x=super.parseTaggedTemplateExpression(r,i,n);return x.typeParameters=c,x}if(!s&&this.eat(10)){let x=this.startNodeAt(i);return x.callee=r,x.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(x.arguments),x.typeParameters=c,n.optionalChainMember&&(x.optional=a),this.finishCallExpression(x,n.optionalChainMember)}let u=this.state.type;if(u===48||u===52||u!==10&&nn(u)&&!this.hasPrecedingLineBreak())return;let d=this.startNodeAt(i);return d.expression=r,d.typeParameters=c,this.finishNode(d,"TSInstantiationExpression")});if(o&&this.unexpected(o,10),l)return l.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(le.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),!this.match(16)&&!this.match(18)&&(l.expression=super.stopParseSubscript(r,n))),l}return super.parseSubscript(r,i,s,n)}parseNewCallee(r){var i;super.parseNewCallee(r);let{callee:s}=r;s.type==="TSInstantiationExpression"&&!((i=s.extra)!=null&&i.parenthesized)&&(r.typeParameters=s.typeParameters,r.callee=s.expression)}parseExprOp(r,i,s){let n;if(Na(58)>s&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(n=this.isContextual(120)))){let a=this.startNodeAt(i);return a.expression=r,a.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(n&&this.raise(w.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(a,n?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(a,i,s)}return super.parseExprOp(r,i,s)}checkReservedWord(r,i,s,n){this.state.isAmbientContext||super.checkReservedWord(r,i,s,n)}checkImportReflection(r){super.checkImportReflection(r),r.module&&r.importKind!=="value"&&this.raise(le.ImportReflectionHasImportType,r.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(r){if(super.isPotentialImportPhase(r))return!0;if(this.isContextual(130)){let i=this.lookaheadCharCode();return r?i===123||i===42:i!==61}return!r&&this.isContextual(87)}applyImportPhase(r,i,s,n){super.applyImportPhase(r,i,s,n),i?r.exportKind=s==="type"?"type":"value":r.importKind=s==="type"||s==="typeof"?s:"value"}parseImport(r){if(this.match(134))return r.importKind="value",super.parseImport(r);let i;if(Ve(this.state.type)&&this.lookaheadCharCode()===61)return r.importKind="value",this.tsParseImportEqualsDeclaration(r);if(this.isContextual(130)){let s=this.parseMaybeImportPhase(r,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(r,s);i=super.parseImportSpecifiersAndAfter(r,s)}else i=super.parseImport(r);return i.importKind==="type"&&i.specifiers.length>1&&i.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(le.TypeImportCannotSpecifyDefaultAndNamed,i),i}parseExport(r,i){if(this.match(83)){let s=r;this.next();let n=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?n=this.parseMaybeImportPhase(s,!1):s.importKind="value",this.tsParseImportEqualsDeclaration(s,n,!0)}else if(this.eat(29)){let s=r;return s.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(s,"TSExportAssignment")}else if(this.eatContextual(93)){let s=r;return this.expectContextual(128),s.id=this.parseIdentifier(),this.semicolon(),this.finishNode(s,"TSNamespaceExportDeclaration")}else return super.parseExport(r,i)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let r=this.startNode();return this.next(),r.abstract=!0,this.parseClass(r,!0,!0)}if(this.match(129)){let r=this.tsParseInterfaceDeclaration(this.startNode());if(r)return r}return super.parseExportDefaultExpression()}parseVarStatement(r,i,s=!1){let{isAmbientContext:n}=this.state,a=super.parseVarStatement(r,i,s||n);if(!n)return a;if(!r.declare&&(i==="using"||i==="await using"))return this.raiseOverwrite(le.UsingDeclarationInAmbientContext,r,i),a;for(let{id:o,init:l}of a.declarations)l&&(i==="var"||i==="let"||o.typeAnnotation?this.raise(le.InitializerNotAllowedInAmbientContext,l):CP(l,this.hasPlugin("estree"))||this.raise(le.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,l));return a}parseStatementContent(r,i){if(this.match(75)&&this.isLookaheadContextual("enum")){let s=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(s,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let s=this.tsParseInterfaceDeclaration(this.startNode());if(s)return s}return super.parseStatementContent(r,i)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(r,i){return i.some(s=>Bd(s)?r.accessibility===s:!!r[s])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(r,i,s){let n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:n,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:le.InvalidModifierOnTypeParameterPositions},i);let a=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(i,n)&&this.raise(le.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(r,i)):this.parseClassMemberWithIsStatic(r,i,s,!!i.static)};i.declare?this.tsInAmbientContext(a):a()}parseClassMemberWithIsStatic(r,i,s,n){let a=this.tsTryParseIndexSignature(i);if(a){r.body.push(a),i.abstract&&this.raise(le.IndexSignatureHasAbstract,i),i.accessibility&&this.raise(le.IndexSignatureHasAccessibility,i,{modifier:i.accessibility}),i.declare&&this.raise(le.IndexSignatureHasDeclare,i),i.override&&this.raise(le.IndexSignatureHasOverride,i);return}!this.state.inAbstractClass&&i.abstract&&this.raise(le.NonAbstractClassHasAbstractMethod,i),i.override&&(s.hadSuperClass||this.raise(le.OverrideNotInSubClass,i)),super.parseClassMemberWithIsStatic(r,i,s,n)}parsePostMemberNameModifiers(r){this.eat(17)&&(r.optional=!0),r.readonly&&this.match(10)&&this.raise(le.ClassMethodHasReadonly,r),r.declare&&this.match(10)&&this.raise(le.ClassMethodHasDeclare,r)}parseExpressionStatement(r,i,s){return(i.type==="Identifier"?this.tsParseExpressionStatement(r,i,s):void 0)||super.parseExpressionStatement(r,i,s)}shouldParseExportDeclaration(){return this.tsIsDeclarationStart()?!0:super.shouldParseExportDeclaration()}parseConditional(r,i,s){if(!this.match(17))return r;if(this.state.maybeInArrowParameters){let n=this.lookaheadCharCode();if(n===44||n===61||n===58||n===41)return this.setOptionalParametersError(s),r}return super.parseConditional(r,i,s)}parseParenItem(r,i){let s=super.parseParenItem(r,i);if(this.eat(17)&&(s.optional=!0,this.resetEndLocation(r)),this.match(14)){let n=this.startNodeAt(i);return n.expression=r,n.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(n,"TSTypeCastExpression")}return r}parseExportDeclaration(r){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(r));let i=this.state.startLoc,s=this.eatContextual(125);if(s&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(le.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let a=Ve(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(r);return a?((a.type==="TSInterfaceDeclaration"||a.type==="TSTypeAliasDeclaration"||s)&&(r.exportKind="type"),s&&a.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(a,i),a.declare=!0),a):null}parseClassId(r,i,s,n){if((!i||s)&&this.isContextual(113))return;super.parseClassId(r,i,s,r.declare?1024:8331);let a=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);a&&(r.typeParameters=a)}parseClassPropertyAnnotation(r){r.optional||(this.eat(35)?r.definite=!0:this.eat(17)&&(r.optional=!0));let i=this.tsTryParseTypeAnnotation();i&&(r.typeAnnotation=i)}parseClassProperty(r){if(this.parseClassPropertyAnnotation(r),this.state.isAmbientContext&&!(r.readonly&&!r.typeAnnotation)&&this.match(29)&&this.raise(le.DeclareClassFieldHasInitializer,this.state.startLoc),r.abstract&&this.match(29)){let{key:i}=r;this.raise(le.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:i.type==="Identifier"&&!r.computed?i.name:`[${this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end))}]`})}return super.parseClassProperty(r)}parseClassPrivateProperty(r){return r.abstract&&this.raise(le.PrivateElementHasAbstract,r),r.accessibility&&this.raise(le.PrivateElementHasAccessibility,r,{modifier:r.accessibility}),this.parseClassPropertyAnnotation(r),super.parseClassPrivateProperty(r)}parseClassAccessorProperty(r){return this.parseClassPropertyAnnotation(r),r.optional&&this.raise(le.AccessorCannotBeOptional,r),super.parseClassAccessorProperty(r)}pushClassMethod(r,i,s,n,a,o){let l=this.tsTryParseTypeParameters(this.tsParseConstModifier);l&&a&&this.raise(le.ConstructorHasTypeParameters,l);let{declare:c=!1,kind:u}=i;c&&(u==="get"||u==="set")&&this.raise(le.DeclareAccessor,i,{kind:u}),l&&(i.typeParameters=l),super.pushClassMethod(r,i,s,n,a,o)}pushClassPrivateMethod(r,i,s,n){let a=this.tsTryParseTypeParameters(this.tsParseConstModifier);a&&(i.typeParameters=a),super.pushClassPrivateMethod(r,i,s,n)}declareClassPrivateMethodInScope(r,i){r.type!=="TSDeclareMethod"&&(r.type==="MethodDefinition"&&r.value.body==null||super.declareClassPrivateMethodInScope(r,i))}parseClassSuper(r){super.parseClassSuper(r),r.superClass&&(this.match(47)||this.match(51))&&(r.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(r.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(r,i,s,n,a,o,l){let c=this.tsTryParseTypeParameters(this.tsParseConstModifier);return c&&(r.typeParameters=c),super.parseObjPropValue(r,i,s,n,a,o,l)}parseFunctionParams(r,i){let s=this.tsTryParseTypeParameters(this.tsParseConstModifier);s&&(r.typeParameters=s),super.parseFunctionParams(r,i)}parseVarId(r,i){super.parseVarId(r,i),r.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(r.definite=!0);let s=this.tsTryParseTypeAnnotation();s&&(r.id.typeAnnotation=s,this.resetEndLocation(r.id))}parseAsyncArrowFromCallExpression(r,i){return this.match(14)&&(r.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(r,i)}parseMaybeAssign(r,i){var s,n,a,o,l;let c,u,d;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(c=this.state.clone(),u=this.tryParse(()=>super.parseMaybeAssign(r,i),c),!u.error)return u.node;let{context:v}=this.state,A=v[v.length-1];(A===Ke.j_oTag||A===Ke.j_expr)&&v.pop()}if(!((s=u)!=null&&s.error)&&!this.match(47))return super.parseMaybeAssign(r,i);(!c||c===this.state)&&(c=this.state.clone());let x,E=this.tryParse(v=>{var A,I;x=this.tsParseTypeParameters(this.tsParseConstModifier);let O=super.parseMaybeAssign(r,i);return(O.type!=="ArrowFunctionExpression"||(A=O.extra)!=null&&A.parenthesized)&&v(),((I=x)==null?void 0:I.params.length)!==0&&this.resetStartLocationFromNode(O,x),O.typeParameters=x,O},c);if(!E.error&&!E.aborted)return x&&this.reportReservedArrowTypeParam(x),E.node;if(!u&&(Fd(!this.hasPlugin("jsx")),d=this.tryParse(()=>super.parseMaybeAssign(r,i),c),!d.error))return d.node;if((n=u)!=null&&n.node)return this.state=u.failState,u.node;if(E.node)return this.state=E.failState,x&&this.reportReservedArrowTypeParam(x),E.node;if((a=d)!=null&&a.node)return this.state=d.failState,d.node;throw((o=u)==null?void 0:o.error)||E.error||((l=d)==null?void 0:l.error)}reportReservedArrowTypeParam(r){var i;r.params.length===1&&!r.params[0].constraint&&!((i=r.extra)!=null&&i.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(le.ReservedArrowTypeParam,r)}parseMaybeUnary(r,i){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(r,i)}parseArrow(r){if(this.match(14)){let i=this.tryParse(s=>{let n=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&s(),n});if(i.aborted)return;i.thrown||(i.error&&(this.state=i.failState),r.returnType=i.node)}return super.parseArrow(r)}parseFunctionParamType(r){this.eat(17)&&(r.optional=!0);let i=this.tsTryParseTypeAnnotation();return i&&(r.typeAnnotation=i),this.resetEndLocation(r),r}isAssignable(r,i){switch(r.type){case"TSTypeCastExpression":return this.isAssignable(r.expression,i);case"TSParameterProperty":return!0;default:return super.isAssignable(r,i)}}toAssignable(r,i=!1){switch(r.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(r,i);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":i?this.expressionScope.recordArrowParameterBindingError(le.UnexpectedTypeCastInParameter,r):this.raise(le.UnexpectedTypeCastInParameter,r),this.toAssignable(r.expression,i);break;case"AssignmentExpression":!i&&r.left.type==="TSTypeCastExpression"&&(r.left=this.typeCastToParameter(r.left));default:super.toAssignable(r,i)}}toAssignableParenthesizedExpression(r,i){switch(r.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(r.expression,i);break;default:super.toAssignable(r,i)}}checkToRestConversion(r,i){switch(r.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(r.expression,!1);break;default:super.checkToRestConversion(r,i)}}isValidLVal(r,i,s){switch(r){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(s!==64||!i)&&["expression",!0];default:return super.isValidLVal(r,i,s)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(r,i){if(this.match(47)||this.match(51)){let s=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let n=super.parseMaybeDecoratorArguments(r,i);return n.typeParameters=s,n}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(r,i)}checkCommaAfterRest(r){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===r?(this.next(),!1):super.checkCommaAfterRest(r)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(r,i){let s=super.parseMaybeDefault(r,i);return s.type==="AssignmentPattern"&&s.typeAnnotation&&s.right.start<s.typeAnnotation.start&&this.raise(le.TypeAnnotationAfterAssign,s.typeAnnotation),s}getTokenFromCode(r){if(this.state.inType){if(r===62){this.finishOp(48,1);return}if(r===60){this.finishOp(47,1);return}}super.getTokenFromCode(r)}reScan_lt_gt(){let{type:r}=this.state;r===47?(this.state.pos-=1,this.readToken_lt()):r===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:r}=this.state;return r===51?(this.state.pos-=2,this.finishOp(47,1),47):r}toAssignableListItem(r,i,s){let n=r[i];n.type==="TSTypeCastExpression"&&(r[i]=this.typeCastToParameter(n)),super.toAssignableListItem(r,i,s)}typeCastToParameter(r){return r.expression.typeAnnotation=r.typeAnnotation,this.resetEndLocation(r.expression,r.typeAnnotation.loc.end),r.expression}shouldParseArrow(r){return this.match(14)?r.every(i=>this.isAssignable(i,!0)):super.shouldParseArrow(r)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(r){if(this.match(47)||this.match(51)){let i=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());i&&(r.typeParameters=i)}return super.jsxParseOpeningElementAfterName(r)}getGetterSetterExpectedParamCount(r){let i=super.getGetterSetterExpectedParamCount(r),n=this.getObjectOrClassMethodParams(r)[0];return n&&this.isThisParam(n)?i+1:i}parseCatchClauseParam(){let r=super.parseCatchClauseParam(),i=this.tsTryParseTypeAnnotation();return i&&(r.typeAnnotation=i,this.resetEndLocation(r)),r}tsInAmbientContext(r){let{isAmbientContext:i,strict:s}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return r()}finally{this.state.isAmbientContext=i,this.state.strict=s}}parseClass(r,i,s){let n=this.state.inAbstractClass;this.state.inAbstractClass=!!r.abstract;try{return super.parseClass(r,i,s)}finally{this.state.inAbstractClass=n}}tsParseAbstractDeclaration(r,i){if(this.match(80))return r.abstract=!0,this.maybeTakeDecorators(i,this.parseClass(r,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return r.abstract=!0,this.raise(le.NonClassMethodPropertyHasAbstractModifier,r),this.tsParseInterfaceDeclaration(r)}else this.unexpected(null,80)}parseMethod(r,i,s,n,a,o,l){let c=super.parseMethod(r,i,s,n,a,o,l);if((c.abstract||c.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?c.value:c).body){let{key:x}=c;this.raise(le.AbstractMethodHasImplementation,c,{methodName:x.type==="Identifier"&&!c.computed?x.name:`[${this.input.slice(this.offsetToSourcePos(x.start),this.offsetToSourcePos(x.end))}]`})}return c}tsParseTypeParameterName(){return this.parseIdentifier().name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(r,i,s,n){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(r,!1,s),this.finishNode(r,"ExportSpecifier")):(r.exportKind="value",super.parseExportSpecifier(r,i,s,n))}parseImportSpecifier(r,i,s,n,a){return!i&&n?(this.parseTypeOnlyImportExportSpecifier(r,!0,s),this.finishNode(r,"ImportSpecifier")):(r.importKind="value",super.parseImportSpecifier(r,i,s,n,s?4098:4096))}parseTypeOnlyImportExportSpecifier(r,i,s){let n=i?"imported":"local",a=i?"local":"exported",o=r[n],l,c=!1,u=!0,d=o.loc.start;if(this.isContextual(93)){let E=this.parseIdentifier();if(this.isContextual(93)){let v=this.parseIdentifier();mr(this.state.type)?(c=!0,o=E,l=i?this.parseIdentifier():this.parseModuleExportName(),u=!1):(l=v,u=!1)}else mr(this.state.type)?(u=!1,l=i?this.parseIdentifier():this.parseModuleExportName()):(c=!0,o=E)}else mr(this.state.type)&&(c=!0,i?(o=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(o.name,o.loc.start,!0,!0)):o=this.parseModuleExportName());c&&s&&this.raise(i?le.TypeModifierIsUsedInTypeImports:le.TypeModifierIsUsedInTypeExports,d),r[n]=o,r[a]=l;let x=i?"importKind":"exportKind";r[x]=c?"type":"value",u&&this.eatContextual(93)&&(r[a]=i?this.parseIdentifier():this.parseModuleExportName()),r[a]||(r[a]=this.cloneIdentifier(r[n])),i&&this.checkIdentifier(r[a],c?4098:4096)}fillOptionalPropertiesForTSESLint(r){var i,s,n,a,o,l,c,u,d,x,E,v,A,I,O,j,q,F,U,xe,we,ve,Oe,at,h,Te,Ge,pt,wt,fr,M,k,D,R,z,K,Y,W,Z,ne,fe,ge,Me,Ce,rt,dt;switch(r.type){case"ExpressionStatement":(i=r.directive)!=null||(r.directive=void 0);return;case"RestElement":r.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":(s=r.decorators)!=null||(r.decorators=[]),(n=r.optional)!=null||(r.optional=!1),(a=r.typeAnnotation)!=null||(r.typeAnnotation=void 0);return;case"TSParameterProperty":(o=r.accessibility)!=null||(r.accessibility=void 0),(l=r.decorators)!=null||(r.decorators=[]),(c=r.override)!=null||(r.override=!1),(u=r.readonly)!=null||(r.readonly=!1),(d=r.static)!=null||(r.static=!1);return;case"TSEmptyBodyFunctionExpression":r.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":(x=r.declare)!=null||(r.declare=!1),(E=r.returnType)!=null||(r.returnType=void 0),(v=r.typeParameters)!=null||(r.typeParameters=void 0);return;case"Property":(A=r.optional)!=null||(r.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":(I=r.optional)!=null||(r.optional=!1);case"TSIndexSignature":(O=r.accessibility)!=null||(r.accessibility=void 0),(j=r.readonly)!=null||(r.readonly=!1),(q=r.static)!=null||(r.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":(F=r.declare)!=null||(r.declare=!1),(U=r.definite)!=null||(r.definite=!1),(xe=r.readonly)!=null||(r.readonly=!1),(we=r.typeAnnotation)!=null||(r.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":(ve=r.accessibility)!=null||(r.accessibility=void 0),(Oe=r.decorators)!=null||(r.decorators=[]),(at=r.override)!=null||(r.override=!1),(h=r.optional)!=null||(r.optional=!1);return;case"ClassExpression":(Te=r.id)!=null||(r.id=null);case"ClassDeclaration":(Ge=r.abstract)!=null||(r.abstract=!1),(pt=r.declare)!=null||(r.declare=!1),(wt=r.decorators)!=null||(r.decorators=[]),(fr=r.implements)!=null||(r.implements=[]),(M=r.superTypeArguments)!=null||(r.superTypeArguments=void 0),(k=r.typeParameters)!=null||(r.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":(D=r.declare)!=null||(r.declare=!1);return;case"VariableDeclarator":(R=r.definite)!=null||(r.definite=!1);return;case"TSEnumDeclaration":(z=r.const)!=null||(r.const=!1),(K=r.declare)!=null||(r.declare=!1);return;case"TSEnumMember":(Y=r.computed)!=null||(r.computed=!1);return;case"TSImportType":(W=r.qualifier)!=null||(r.qualifier=null),(Z=r.options)!=null||(r.options=null);return;case"TSInterfaceDeclaration":(ne=r.declare)!=null||(r.declare=!1),(fe=r.extends)!=null||(r.extends=[]);return;case"TSModuleDeclaration":(ge=r.declare)!=null||(r.declare=!1),(Me=r.global)!=null||(r.global=r.kind==="global");return;case"TSTypeParameter":(Ce=r.const)!=null||(r.const=!1),(rt=r.in)!=null||(r.in=!1),(dt=r.out)!=null||(r.out=!1);return}}};function wP(t){if(t.type!=="MemberExpression")return!1;let{computed:e,property:r}=t;return e&&r.type!=="StringLiteral"&&(r.type!=="TemplateLiteral"||r.expressions.length>0)?!1:tm(t.object)}function CP(t,e){var r;let{type:i}=t;if((r=t.extra)!=null&&r.parenthesized)return!1;if(e){if(i==="Literal"){let{value:s}=t;if(typeof s=="string"||typeof s=="boolean")return!0}}else if(i==="StringLiteral"||i==="BooleanLiteral")return!0;return!!(em(t,e)||IP(t,e)||i==="TemplateLiteral"&&t.expressions.length===0||wP(t))}function em(t,e){return e?t.type==="Literal"&&(typeof t.value=="number"||"bigint"in t):t.type==="NumericLiteral"||t.type==="BigIntLiteral"}function IP(t,e){if(t.type==="UnaryExpression"){let{operator:r,argument:i}=t;if(r==="-"&&em(i,e))return!0}return!1}function tm(t){return t.type==="Identifier"?!0:t.type!=="MemberExpression"||t.computed?!1:tm(t.object)}var jd=Cr`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),kP=t=>class extends t{parsePlaceholder(r){if(this.match(133)){let i=this.startNode();return this.next(),this.assertNoSpace(),i.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(i,r)}}finishPlaceholder(r,i){let s=r;return(!s.expectedNode||!s.type)&&(s=this.finishNode(s,"Placeholder")),s.expectedNode=i,s}getTokenFromCode(r){r===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(r)}parseExprAtom(r){return this.parsePlaceholder("Expression")||super.parseExprAtom(r)}parseIdentifier(r){return this.parsePlaceholder("Identifier")||super.parseIdentifier(r)}checkReservedWord(r,i,s,n){r!==void 0&&super.checkReservedWord(r,i,s,n)}cloneIdentifier(r){let i=super.cloneIdentifier(r);return i.type==="Placeholder"&&(i.expectedNode=r.expectedNode),i}cloneStringLiteral(r){return r.type==="Placeholder"?this.cloneIdentifier(r):super.cloneStringLiteral(r)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(r,i,s){return r==="Placeholder"||super.isValidLVal(r,i,s)}toAssignable(r,i){r&&r.type==="Placeholder"&&r.expectedNode==="Expression"?r.expectedNode="Pattern":super.toAssignable(r,i)}chStartsBindingIdentifier(r,i){if(super.chStartsBindingIdentifier(r,i))return!0;let s=this.nextTokenStart();return this.input.charCodeAt(s)===37&&this.input.charCodeAt(s+1)===37}verifyBreakContinue(r,i){r.label&&r.label.type==="Placeholder"||super.verifyBreakContinue(r,i)}parseExpressionStatement(r,i){var s;if(i.type!=="Placeholder"||(s=i.extra)!=null&&s.parenthesized)return super.parseExpressionStatement(r,i);if(this.match(14)){let a=r;return a.label=this.finishPlaceholder(i,"Identifier"),this.next(),a.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(a,"LabeledStatement")}this.semicolon();let n=r;return n.name=i.name,this.finishPlaceholder(n,"Statement")}parseBlock(r,i,s){return this.parsePlaceholder("BlockStatement")||super.parseBlock(r,i,s)}parseFunctionId(r){return this.parsePlaceholder("Identifier")||super.parseFunctionId(r)}parseClass(r,i,s){let n=i?"ClassDeclaration":"ClassExpression";this.next();let a=this.state.strict,o=this.parsePlaceholder("Identifier");if(o)if(this.match(81)||this.match(133)||this.match(5))r.id=o;else{if(s||!i)return r.id=null,r.body=this.finishPlaceholder(o,"ClassBody"),this.finishNode(r,n);throw this.raise(jd.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(r,i,s);return super.parseClassSuper(r),r.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!r.superClass,a),this.finishNode(r,n)}parseExport(r,i){let s=this.parsePlaceholder("Identifier");if(!s)return super.parseExport(r,i);let n=r;if(!this.isContextual(98)&&!this.match(12))return n.specifiers=[],n.source=null,n.declaration=this.finishPlaceholder(s,"Declaration"),this.finishNode(n,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let a=this.startNode();return a.exported=s,n.specifiers=[this.finishNode(a,"ExportDefaultSpecifier")],super.parseExport(n,i)}isExportDefaultSpecifier(){if(this.match(65)){let r=this.nextTokenStart();if(this.isUnparsedContextual(r,"from")&&this.input.startsWith(si(133),this.nextTokenStartSince(r+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(r,i){var s;return(s=r.specifiers)!=null&&s.length?!0:super.maybeParseExportDefaultSpecifier(r,i)}checkExport(r){let{specifiers:i}=r;i!=null&&i.length&&(r.specifiers=i.filter(s=>s.exported.type==="Placeholder")),super.checkExport(r),r.specifiers=i}parseImport(r){let i=this.parsePlaceholder("Identifier");if(!i)return super.parseImport(r);if(r.specifiers=[],!this.isContextual(98)&&!this.match(12))return r.source=this.finishPlaceholder(i,"StringLiteral"),this.semicolon(),this.finishNode(r,"ImportDeclaration");let s=this.startNodeAtNode(i);return s.local=i,r.specifiers.push(this.finishNode(s,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(r)||this.parseNamedImportSpecifiers(r)),this.expectContextual(98),r.source=this.parseImportSource(),this.semicolon(),this.finishNode(r,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(jd.UnexpectedSpace,this.state.lastTokEndLoc)}},NP=t=>class extends t{parseV8Intrinsic(){if(this.match(54)){let r=this.state.startLoc,i=this.startNode();if(this.next(),Ve(this.state.type)){let s=this.parseIdentifierName(),n=this.createIdentifier(i,s);if(this.castNodeTo(n,"V8IntrinsicIdentifier"),this.match(10))return n}this.unexpected(r)}}parseExprAtom(r){return this.parseV8Intrinsic()||super.parseExprAtom(r)}},Rd=["minimal","fsharp","hack","smart"],qd=["^^","@@","^","%","#"];function OP(t){if(t.has("decorators")){if(t.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let i=t.get("decorators").decoratorsBeforeExport;if(i!=null&&typeof i!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let s=t.get("decorators").allowCallParenthesized;if(s!=null&&typeof s!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(t.has("flow")&&t.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(t.has("placeholders")&&t.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(t.has("pipelineOperator")){var e;let i=t.get("pipelineOperator").proposal;if(!Rd.includes(i)){let s=Rd.map(n=>`"${n}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${s}.`)}if(i==="hack"){if(t.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(t.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let s=t.get("pipelineOperator").topicToken;if(!qd.includes(s)){let n=qd.map(a=>`"${a}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${n}.`)}{var r;if(s==="#"&&((r=t.get("recordAndTuple"))==null?void 0:r.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",t.get("recordAndTuple")])}\`.`)}}else if(i==="smart"&&((e=t.get("recordAndTuple"))==null?void 0:e.syntaxType)==="hash")throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",t.get("recordAndTuple")])}\`.`)}if(t.has("moduleAttributes")){if(t.has("deprecatedImportAssert")||t.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(t.get("moduleAttributes").version!=="may-2020")throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(t.has("importAssertions")&&t.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!t.has("deprecatedImportAssert")&&t.has("importAttributes")&&t.get("importAttributes").deprecatedAssertSyntax&&t.set("deprecatedImportAssert",{}),t.has("recordAndTuple")){let i=t.get("recordAndTuple").syntaxType;if(i!=null){let s=["hash","bar"];if(!s.includes(i))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+s.map(n=>`'${n}'`).join(", "))}}if(t.has("asyncDoExpressions")&&!t.has("doExpressions")){let i=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw i.missingPlugins="doExpressions",i}if(t.has("optionalChainingAssign")&&t.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(t.has("discardBinding")&&t.get("discardBinding").syntaxType!=="void")throw new Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}var rm={estree:ME,jsx:hP,flow:cP,typescript:AP,v8intrinsic:NP,placeholders:kP},_P=Object.keys(rm),sc=class extends ic{checkProto(e,r,i,s){if(e.type==="SpreadElement"||this.isObjectMethod(e)||e.computed||e.shorthand)return i;let n=e.key;return(n.type==="Identifier"?n.name:n.value)==="__proto__"?r?(this.raise(w.RecordNoProto,n),!0):(i&&(s?s.doubleProtoLoc===null&&(s.doubleProtoLoc=n.loc.start):this.raise(w.DuplicateProto,n)),!0):i}shouldExitDescending(e,r){return e.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(e.start)===r}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(w.ParseExpressionEmptyInput,this.state.startLoc);let e=this.parseExpression();if(!this.match(140))throw this.raise(w.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),e.comments=this.comments,e.errors=this.state.errors,this.optionFlags&256&&(e.tokens=this.tokens),e}parseExpression(e,r){return e?this.disallowInAnd(()=>this.parseExpressionBase(r)):this.allowInAnd(()=>this.parseExpressionBase(r))}parseExpressionBase(e){let r=this.state.startLoc,i=this.parseMaybeAssign(e);if(this.match(12)){let s=this.startNodeAt(r);for(s.expressions=[i];this.eat(12);)s.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(s.expressions),this.finishNode(s,"SequenceExpression")}return i}parseMaybeAssignDisallowIn(e,r){return this.disallowInAnd(()=>this.parseMaybeAssign(e,r))}parseMaybeAssignAllowIn(e,r){return this.allowInAnd(()=>this.parseMaybeAssign(e,r))}setOptionalParametersError(e){e.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(e,r){let i=this.state.startLoc,s=this.isContextual(108);if(s&&this.prodParam.hasYield){this.next();let l=this.parseYield(i);return r&&(l=r.call(this,l,i)),l}let n;e?n=!1:(e=new as,n=!0);let{type:a}=this.state;(a===10||Ve(a))&&(this.state.potentialArrowAt=this.state.start);let o=this.parseMaybeConditional(e);if(r&&(o=r.call(this,o,i)),qE(this.state.type)){let l=this.startNodeAt(i),c=this.state.value;if(l.operator=c,this.match(29)){this.toAssignable(o,!0),l.left=o;let u=i.index;e.doubleProtoLoc!=null&&e.doubleProtoLoc.index>=u&&(e.doubleProtoLoc=null),e.shorthandAssignLoc!=null&&e.shorthandAssignLoc.index>=u&&(e.shorthandAssignLoc=null),e.privateKeyLoc!=null&&e.privateKeyLoc.index>=u&&(this.checkDestructuringPrivate(e),e.privateKeyLoc=null),e.voidPatternLoc!=null&&e.voidPatternLoc.index>=u&&(e.voidPatternLoc=null)}else l.left=o;return this.next(),l.right=this.parseMaybeAssign(),this.checkLVal(o,this.finishNode(l,"AssignmentExpression")),l}else n&&this.checkExpressionErrors(e,!0);if(s){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?nn(l):nn(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(w.YieldNotInGeneratorFunction,i),this.parseYield(i)}return o}parseMaybeConditional(e){let r=this.state.startLoc,i=this.state.potentialArrowAt,s=this.parseExprOps(e);return this.shouldExitDescending(s,i)?s:this.parseConditional(s,r,e)}parseConditional(e,r,i){if(this.eat(17)){let s=this.startNodeAt(r);return s.test=e,s.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),s.alternate=this.parseMaybeAssign(),this.finishNode(s,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){let r=this.state.startLoc,i=this.state.potentialArrowAt,s=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(s,i)?s:this.parseExprOp(s,r,-1)}parseExprOp(e,r,i){if(this.isPrivateName(e)){let n=this.getPrivateNameSV(e);(i>=Na(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(w.PrivateInExpectedIn,e,{identifierName:n}),this.classScope.usePrivateName(n,e.loc.start)}let s=this.state.type;if($E(s)&&(this.prodParam.hasIn||!this.match(58))){let n=Na(s);if(n>i){if(s===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,r)}let a=this.startNodeAt(r);a.left=e,a.operator=this.state.value;let o=s===41||s===42,l=s===40;if(l&&(n=Na(42)),this.next(),s===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(w.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);a.right=this.parseExprOpRightExpr(s,n);let c=this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression"),u=this.state.type;if(l&&(u===41||u===42)||o&&u===40)throw this.raise(w.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(c,r,i)}}return e}parseExprOpRightExpr(e,r){let i=this.state.startLoc;switch(e){case 39:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(r))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(w.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,r),i)});default:return this.parseExprOpBaseRightExpr(e,r)}}parseExprOpBaseRightExpr(e,r){let i=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),i,zE(e)?r-1:r)}parseHackPipeBody(){var e;let{startLoc:r}=this.state,i=this.parseMaybeAssign();return IE.has(i.type)&&!((e=i.extra)!=null&&e.parenthesized)&&this.raise(w.PipeUnparenthesizedBody,r,{type:i.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(w.PipeTopicUnused,r),i}checkExponentialAfterUnary(e){this.match(57)&&this.raise(w.UnexpectedTokenUnaryExponentiation,e.argument)}parseMaybeUnary(e,r){let i=this.state.startLoc,s=this.isContextual(96);if(s&&this.recordAwaitIfAllowed()){this.next();let l=this.parseAwait(i);return r||this.checkExponentialAfterUnary(l),l}let n=this.match(34),a=this.startNode();if(WE(this.state.type)){a.operator=this.state.value,a.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let l=this.match(89);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&l){let c=a.argument;c.type==="Identifier"?this.raise(w.StrictDelete,a):this.hasPropertyAsPrivateName(c)&&this.raise(w.DeletePrivateField,a)}if(!n)return r||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}let o=this.parseUpdate(a,n,e);if(s){let{type:l}=this.state;if((this.hasPlugin("v8intrinsic")?nn(l):nn(l)&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(w.AwaitNotInAsyncContext,i),this.parseAwait(i)}return o}parseUpdate(e,r,i){if(r){let a=e;return this.checkLVal(a.argument,this.finishNode(a,"UpdateExpression")),e}let s=this.state.startLoc,n=this.parseExprSubscripts(i);if(this.checkExpressionErrors(i,!1))return n;for(;KE(this.state.type)&&!this.canInsertSemicolon();){let a=this.startNodeAt(s);a.operator=this.state.value,a.prefix=!1,a.argument=n,this.next(),this.checkLVal(n,n=this.finishNode(a,"UpdateExpression"))}return n}parseExprSubscripts(e){let r=this.state.startLoc,i=this.state.potentialArrowAt,s=this.parseExprAtom(e);return this.shouldExitDescending(s,i)?s:this.parseSubscripts(s,r)}parseSubscripts(e,r,i){let s={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do e=this.parseSubscript(e,r,i,s),s.maybeAsyncArrow=!1;while(!s.stop);return e}parseSubscript(e,r,i,s){let{type:n}=this.state;if(!i&&n===15)return this.parseBind(e,r,i,s);if(Da(n))return this.parseTaggedTemplateExpression(e,r,s);let a=!1;if(n===18){if(i&&(this.raise(w.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(e,s);s.optionalChainMember=a=!0,this.next()}if(!i&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,r,s,a);{let o=this.eat(0);return o||a||this.eat(16)?this.parseMember(e,r,s,o,a):this.stopParseSubscript(e,s)}}stopParseSubscript(e,r){return r.stop=!0,e}parseMember(e,r,i,s,n){let a=this.startNodeAt(r);return a.object=e,a.computed=s,s?(a.property=this.parseExpression(),this.expect(3)):this.match(139)?(e.type==="Super"&&this.raise(w.SuperPrivateField,r),this.classScope.usePrivateName(this.state.value,this.state.startLoc),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),i.optionalChainMember?(a.optional=n,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,r,i,s){let n=this.startNodeAt(r);return n.object=e,this.next(),n.callee=this.parseNoCallExpr(),s.stop=!0,this.parseSubscripts(this.finishNode(n,"BindExpression"),r,i)}parseCoverCallAndAsyncArrowHead(e,r,i,s){let n=this.state.maybeInArrowParameters,a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(r);o.callee=e;let{maybeAsyncArrow:l,optionalChainMember:c}=i;l&&(this.expressionScope.enter(SP()),a=new as),c&&(o.optional=s),s?o.arguments=this.parseCallExpressionArguments():o.arguments=this.parseCallExpressionArguments(e.type!=="Super",o,a);let u=this.finishCallExpression(o,c);return l&&this.shouldParseAsyncArrow()&&!s?(i.stop=!0,this.checkDestructuringPrivate(a),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),u=this.parseAsyncArrowFromCallExpression(this.startNodeAt(r),u)):(l&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(u)),this.state.maybeInArrowParameters=n,u}toReferencedArguments(e,r){this.toReferencedListDeep(e.arguments,r)}parseTaggedTemplateExpression(e,r,i){let s=this.startNodeAt(r);return s.tag=e,s.quasi=this.parseTemplate(!0),i.optionalChainMember&&this.raise(w.OptionalChainingNoTemplate,r),this.finishNode(s,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return e.type==="Identifier"&&e.name==="async"&&this.state.lastTokEndLoc.index===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.offsetToSourcePos(e.start)===this.state.potentialArrowAt}finishCallExpression(e,r){if(e.callee.type==="Import")if(e.arguments.length===0||e.arguments.length>2)this.raise(w.ImportCallArity,e);else for(let i of e.arguments)i.type==="SpreadElement"&&this.raise(w.ImportCallSpreadArgument,i);return this.finishNode(e,r?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,r,i){let s=[],n=!0,a=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(n)n=!1;else if(this.expect(12),this.match(11)){r&&this.addTrailingCommaExtraToNode(r),this.next();break}s.push(this.parseExprListItem(11,!1,i,e))}return this.state.inFSharpPipelineDirectBody=a,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,r){var i;return this.resetPreviousNodeTrailingComments(r),this.expect(19),this.parseArrowExpression(e,r.arguments,!0,(i=r.extra)==null?void 0:i.trailingCommaLoc),r.innerComments&&un(e,r.innerComments),r.callee.trailingComments&&un(e,r.callee.trailingComments),e}parseNoCallExpr(){let e=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,!0)}parseExprAtom(e){let r,i=null,{type:s}=this.state;switch(s){case 79:return this.parseSuper();case 83:return r=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(r):this.match(10)?this.optionFlags&512?this.parseImportCall(r):this.finishNode(r,"Import"):(this.raise(w.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(r,"Import"));case 78:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134:return this.parseStringLiteral(this.state.value);case 84:return this.parseNullLiteral();case 85:return this.parseBooleanLiteral(!0);case 86:return this.parseBooleanLiteral(!1);case 10:{let n=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(n)}case 0:return this.parseArrayLike(3,!0,!1,e);case 5:return this.parseObjectLike(8,!1,!1,e);case 68:return this.parseFunctionOrFunctionSent();case 26:i=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(i,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{r=this.startNode(),this.next(),r.object=null;let n=r.callee=this.parseNoCallExpr();if(n.type==="MemberExpression")return this.finishNode(r,"BindExpression");throw this.raise(w.UnsupportedBind,n)}case 139:return this.raise(w.PrivateInExpectedIn,this.state.startLoc,{identifierName:this.state.value}),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(54,"%");case 32:return this.parseTopicReferenceThenEqualsSign(44,"^");case 37:case 38:return this.parseTopicReference("hack");case 44:case 54:case 27:{let n=this.getPluginOption("pipelineOperator","proposal");if(n)return this.parseTopicReference(n);this.unexpected();break}case 47:{let n=this.input.codePointAt(this.nextTokenStart());$r(n)||n===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:{if(s===137)return this.parseDecimalLiteral(this.state.value);if(s===2||s===1)return this.parseArrayLike(this.state.type===2?4:3,!1,!0);if(s===6||s===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0)}if(Ve(s)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let n=this.state.potentialArrowAt===this.state.start,a=this.state.containsEsc,o=this.parseIdentifier();if(!a&&o.name==="async"&&!this.canInsertSemicolon()){let{type:l}=this.state;if(l===68)return this.resetPreviousNodeTrailingComments(o),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(o));if(Ve(l))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(o)):o;if(l===90)return this.resetPreviousNodeTrailingComments(o),this.parseDo(this.startNodeAtNode(o),!0)}return n&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(o),[o],!1)):o}else this.unexpected()}}parseTopicReferenceThenEqualsSign(e,r){let i=this.getPluginOption("pipelineOperator","proposal");if(i)return this.state.type=e,this.state.value=r,this.state.pos--,this.state.end--,this.state.endLoc=Lt(this.state.endLoc,-1),this.parseTopicReference(i);this.unexpected()}parseTopicReference(e){let r=this.startNode(),i=this.state.startLoc,s=this.state.type;return this.next(),this.finishTopicReference(r,i,e,s)}finishTopicReference(e,r,i,s){if(this.testTopicReferenceConfiguration(i,r,s))return i==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(w.PipeTopicUnbound,r),this.registerTopicReference(),this.finishNode(e,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(w.PrimaryTopicNotAllowed,r),this.registerTopicReference(),this.finishNode(e,"PipelinePrimaryTopicReference"));throw this.raise(w.PipeTopicUnconfiguredToken,r,{token:si(s)})}testTopicReferenceConfiguration(e,r,i){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:si(i)}]);case"smart":return i===27;default:throw this.raise(w.PipeTopicRequiresHackPipes,r)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Oa(!0,this.prodParam.hasYield));let r=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(w.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(e,r,!0)}parseDo(e,r){this.expectPlugin("doExpressions"),r&&this.expectPlugin("asyncDoExpressions"),e.async=r,this.next();let i=this.state.labels;return this.state.labels=[],r?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=i,this.finishNode(e,"DoExpression")}parseSuper(){let e=this.startNode();return this.next(),this.match(10)&&!this.scope.allowDirectSuper&&!(this.optionFlags&16)?this.raise(w.SuperNotAllowed,e):!this.scope.allowSuper&&!(this.optionFlags&16)&&this.raise(w.UnexpectedSuper,e),!this.match(10)&&!this.match(0)&&!this.match(16)&&this.raise(w.UnsupportedSuper,e),this.finishNode(e,"Super")}parsePrivateName(){let e=this.startNode(),r=this.startNodeAt(Lt(this.state.startLoc,1)),i=this.state.value;return this.next(),e.id=this.createIdentifier(r,i),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){let e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,r,"sent")}return this.parseFunction(e)}parseMetaProperty(e,r,i){e.meta=r;let s=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==i||s)&&this.raise(w.UnsupportedMetaProperty,e.property,{target:r.name,onlyValidPropertyName:i}),this.finishNode(e,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(e){if(this.next(),this.isContextual(105)||this.isContextual(97)){let r=this.isContextual(105);return this.expectPlugin(r?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),e.phase=r?"source":"defer",this.parseImportCall(e)}else{let r=this.createIdentifierAt(this.startNodeAtNode(e),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(w.ImportMetaOutsideModule,r),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,r,"meta")}}parseLiteralAtNode(e,r,i){return this.addExtra(i,"rawValue",e),this.addExtra(i,"raw",this.input.slice(this.offsetToSourcePos(i.start),this.state.end)),i.value=e,this.next(),this.finishNode(i,r)}parseLiteral(e,r){let i=this.startNode();return this.parseLiteralAtNode(e,r,i)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){let r=this.startNode();return this.addExtra(r,"raw",this.input.slice(this.offsetToSourcePos(r.start),this.state.end)),r.pattern=e.pattern,r.flags=e.flags,this.next(),this.finishNode(r,"RegExpLiteral")}parseBooleanLiteral(e){let r=this.startNode();return r.value=e,this.next(),this.finishNode(r,"BooleanLiteral")}parseNullLiteral(){let e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){let r=this.state.startLoc,i;this.next(),this.expressionScope.enter(bP());let s=this.state.maybeInArrowParameters,n=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let a=this.state.startLoc,o=[],l=new as,c=!0,u,d;for(;!this.match(11);){if(c)c=!1;else if(this.expect(12,l.optionalParametersLoc===null?null:l.optionalParametersLoc),this.match(11)){d=this.state.startLoc;break}if(this.match(21)){let v=this.state.startLoc;if(u=this.state.startLoc,o.push(this.parseParenItem(this.parseRestBinding(),v)),!this.checkCommaAfterRest(41))break}else o.push(this.parseMaybeAssignAllowInOrVoidPattern(11,l,this.parseParenItem))}let x=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=s,this.state.inFSharpPipelineDirectBody=n;let E=this.startNodeAt(r);return e&&this.shouldParseArrow(o)&&(E=this.parseArrow(E))?(this.checkDestructuringPrivate(l),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(E,o,!1),E):(this.expressionScope.exit(),o.length||this.unexpected(this.state.lastTokStartLoc),d&&this.unexpected(d),u&&this.unexpected(u),this.checkExpressionErrors(l,!0),this.toReferencedListDeep(o,!0),o.length>1?(i=this.startNodeAt(a),i.expressions=o,this.finishNode(i,"SequenceExpression"),this.resetEndLocation(i,x)):i=o[0],this.wrapParenthesis(r,i))}wrapParenthesis(e,r){if(!(this.optionFlags&1024))return this.addExtra(r,"parenthesized",!0),this.addExtra(r,"parenStart",e.index),this.takeSurroundingComments(r,e.index,this.state.lastTokEndLoc.index),r;let i=this.startNodeAt(e);return i.expression=r,this.finishNode(i,"ParenthesizedExpression")}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,r){return e}parseNewOrNewTarget(){let e=this.startNode();if(this.next(),this.match(16)){let r=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();let i=this.parseMetaProperty(e,r,"target");return this.scope.allowNewTarget||this.raise(w.UnexpectedNewTarget,i),i}return this.parseNew(e)}parseNew(e){if(this.parseNewCallee(e),this.eat(10)){let r=this.parseExprList(11);this.toReferencedList(r),e.arguments=r}else e.arguments=[];return this.finishNode(e,"NewExpression")}parseNewCallee(e){let r=this.match(83),i=this.parseNoCallExpr();e.callee=i,r&&(i.type==="Import"||i.type==="ImportExpression")&&this.raise(w.ImportCallNotNewExpression,i)}parseTemplateElement(e){let{start:r,startLoc:i,end:s,value:n}=this.state,a=r+1,o=this.startNodeAt(Lt(i,1));n===null&&(e||this.raise(w.InvalidEscapeSequenceTemplate,Lt(this.state.firstInvalidTemplateEscapePos,1)));let l=this.match(24),c=l?-1:-2,u=s+c;o.value={raw:this.input.slice(a,u).replace(/\r\n?/g,`
10
+ `),cooked:n===null?null:n.slice(1,c)},o.tail=l,this.next();let d=this.finishNode(o,"TemplateElement");return this.resetEndLocation(d,Lt(this.state.lastTokEndLoc,c)),d}parseTemplate(e){let r=this.startNode(),i=this.parseTemplateElement(e),s=[i],n=[];for(;!i.tail;)n.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),s.push(i=this.parseTemplateElement(e));return r.expressions=n,r.quasis=s,this.finishNode(r,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,r,i,s){i&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=!1,o=!0,l=this.startNode();for(l.properties=[],this.next();!this.match(e);){if(o)o=!1;else if(this.expect(12),this.match(e)){this.addTrailingCommaExtraToNode(l);break}let u;r?u=this.parseBindingProperty():(u=this.parsePropertyDefinition(s),a=this.checkProto(u,i,a,s)),i&&!this.isObjectProperty(u)&&u.type!=="SpreadElement"&&this.raise(w.InvalidRecordProperty,u),u.shorthand&&this.addExtra(u,"shorthand",!0),l.properties.push(u)}this.next(),this.state.inFSharpPipelineDirectBody=n;let c="ObjectExpression";return r?c="ObjectPattern":i&&(c="RecordExpression"),this.finishNode(l,c)}addTrailingCommaExtraToNode(e){this.addExtra(e,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(e,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(e){return!e.computed&&e.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(e){let r=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(w.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)r.push(this.parseDecorator());let i=this.startNode(),s=!1,n=!1,a;if(this.match(21))return r.length&&this.unexpected(),this.parseSpread();r.length&&(i.decorators=r,r=[]),i.method=!1,e&&(a=this.state.startLoc);let o=this.eat(55);this.parsePropertyNamePrefixOperator(i);let l=this.state.containsEsc;if(this.parsePropertyName(i,e),!o&&!l&&this.maybeAsyncOrAccessorProp(i)){let{key:c}=i,u=c.name;u==="async"&&!this.hasPrecedingLineBreak()&&(s=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(55),this.parsePropertyName(i)),(u==="get"||u==="set")&&(n=!0,this.resetPreviousNodeTrailingComments(c),i.kind=u,this.match(55)&&(o=!0,this.raise(w.AccessorIsGenerator,this.state.curPosition(),{kind:u}),this.next()),this.parsePropertyName(i))}return this.parseObjPropValue(i,a,o,s,!1,n,e)}getGetterSetterExpectedParamCount(e){return e.kind==="get"?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var r;let i=this.getGetterSetterExpectedParamCount(e),s=this.getObjectOrClassMethodParams(e);s.length!==i&&this.raise(e.kind==="get"?w.BadGetterArity:w.BadSetterArity,e),e.kind==="set"&&((r=s[s.length-1])==null?void 0:r.type)==="RestElement"&&this.raise(w.BadSetterRestParameter,e)}parseObjectMethod(e,r,i,s,n){if(n){let a=this.parseMethod(e,r,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(a),a}if(i||r||this.match(10))return s&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,r,i,!1,!1,"ObjectMethod")}parseObjectProperty(e,r,i,s){if(e.shorthand=!1,this.eat(14))return e.value=i?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,s),this.finishObjectProperty(e);if(!e.computed&&e.key.type==="Identifier"){if(this.checkReservedWord(e.key.name,e.key.loc.start,!0,!1),i)e.value=this.parseMaybeDefault(r,this.cloneIdentifier(e.key));else if(this.match(29)){let n=this.state.startLoc;s!=null?s.shorthandAssignLoc===null&&(s.shorthandAssignLoc=n):this.raise(w.InvalidCoverInitializedName,n),e.value=this.parseMaybeDefault(r,this.cloneIdentifier(e.key))}else e.value=this.cloneIdentifier(e.key);return e.shorthand=!0,this.finishObjectProperty(e)}}finishObjectProperty(e){return this.finishNode(e,"ObjectProperty")}parseObjPropValue(e,r,i,s,n,a,o){let l=this.parseObjectMethod(e,i,s,n,a)||this.parseObjectProperty(e,r,n,o);return l||this.unexpected(),l}parsePropertyName(e,r){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:i,value:s}=this.state,n;if(mr(i))n=this.parseIdentifier(!0);else switch(i){case 135:n=this.parseNumericLiteral(s);break;case 134:n=this.parseStringLiteral(s);break;case 136:n=this.parseBigIntLiteral(s);break;case 139:{let a=this.state.startLoc;r!=null?r.privateKeyLoc===null&&(r.privateKeyLoc=a):this.raise(w.UnexpectedPrivateField,a),n=this.parsePrivateName();break}default:if(i===137){n=this.parseDecimalLiteral(s);break}this.unexpected()}e.key=n,i!==139&&(e.computed=!1)}}initFunction(e,r){e.id=null,e.generator=!1,e.async=r}parseMethod(e,r,i,s,n,a,o=!1){this.initFunction(e,i),e.generator=r,this.scope.enter(530|(o?576:0)|(n?32:0)),this.prodParam.enter(Oa(i,e.generator)),this.parseFunctionParams(e,s);let l=this.parseFunctionBodyAndFinish(e,a,!0);return this.prodParam.exit(),this.scope.exit(),l}parseArrayLike(e,r,i,s){i&&this.expectPlugin("recordAndTuple");let n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let a=this.startNode();return this.next(),a.elements=this.parseExprList(e,!i,s,a),this.state.inFSharpPipelineDirectBody=n,this.finishNode(a,i?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,r,i,s){this.scope.enter(518);let n=Oa(i,!1);!this.match(5)&&this.prodParam.hasIn&&(n|=8),this.prodParam.enter(n),this.initFunction(e,i);let a=this.state.maybeInArrowParameters;return r&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,r,s)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=a,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,r,i){this.toAssignableList(r,i,!1),e.params=r}parseFunctionBodyAndFinish(e,r,i=!1){return this.parseFunctionBody(e,!1,i),this.finishNode(e,r)}parseFunctionBody(e,r,i=!1){let s=r&&!this.match(5);if(this.expressionScope.enter(Qd()),s)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,r,!1);else{let n=this.state.strict,a=this.state.labels;this.state.labels=[],this.prodParam.enter(this.prodParam.currentFlags()|4),e.body=this.parseBlock(!0,!1,o=>{let l=!this.isSimpleParamList(e.params);o&&l&&this.raise(w.IllegalLanguageModeDirective,(e.kind==="method"||e.kind==="constructor")&&e.key?e.key.loc.end:e);let c=!n&&this.state.strict;this.checkParams(e,!this.state.strict&&!r&&!i&&!l,r,c),this.state.strict&&e.id&&this.checkIdentifier(e.id,65,c)}),this.prodParam.exit(),this.state.labels=a}this.expressionScope.exit()}isSimpleParameter(e){return e.type==="Identifier"}isSimpleParamList(e){for(let r=0,i=e.length;r<i;r++)if(!this.isSimpleParameter(e[r]))return!1;return!0}checkParams(e,r,i,s=!0){let n=!r&&new Set,a={type:"FormalParameters"};for(let o of e.params)this.checkLVal(o,a,5,n,s)}parseExprList(e,r,i,s){let n=[],a=!0;for(;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){s&&this.addTrailingCommaExtraToNode(s),this.next();break}n.push(this.parseExprListItem(e,r,i))}return n}parseExprListItem(e,r,i,s){let n;if(this.match(12))r||this.raise(w.UnexpectedToken,this.state.curPosition(),{unexpected:","}),n=null;else if(this.match(21)){let a=this.state.startLoc;n=this.parseParenItem(this.parseSpread(i),a)}else if(this.match(17)){this.expectPlugin("partialApplication"),s||this.raise(w.UnexpectedArgumentPlaceholder,this.state.startLoc);let a=this.startNode();this.next(),n=this.finishNode(a,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowInOrVoidPattern(e,i,this.parseParenItem);return n}parseIdentifier(e){let r=this.startNode(),i=this.parseIdentifierName(e);return this.createIdentifier(r,i)}createIdentifier(e,r){return e.name=r,e.loc.identifierName=r,this.finishNode(e,"Identifier")}createIdentifierAt(e,r,i){return e.name=r,e.loc.identifierName=r,this.finishNodeAt(e,"Identifier",i)}parseIdentifierName(e){let r,{startLoc:i,type:s}=this.state;mr(s)?r=this.state.value:this.unexpected();let n=jE(s);return e?n&&this.replaceToken(132):this.checkReservedWord(r,i,n,!1),this.next(),r}checkReservedWord(e,r,i,s){if(e.length>10||!iP(e))return;if(i&&eP(e)){this.raise(w.UnexpectedKeyword,r,{keyword:e});return}if((this.state.strict?s?Jd:Yd:Vd)(e,this.inModule)){this.raise(w.UnexpectedReservedWord,r,{reservedWord:e});return}else if(e==="yield"){if(this.prodParam.hasYield){this.raise(w.YieldBindingIdentifier,r);return}}else if(e==="await"){if(this.prodParam.hasAwait){this.raise(w.AwaitBindingIdentifier,r);return}if(this.scope.inStaticBlock){this.raise(w.AwaitBindingIdentifierInStaticBlock,r);return}this.expressionScope.recordAsyncArrowParametersError(r)}else if(e==="arguments"&&this.scope.inClassAndNotInNonArrowFunction){this.raise(w.ArgumentsInClass,r);return}}recordAwaitIfAllowed(){let e=this.prodParam.hasAwait;return e&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),e}parseAwait(e){let r=this.startNodeAt(e);return this.expressionScope.recordParameterInitializerError(w.AwaitExpressionFormalParameter,r),this.eat(55)&&this.raise(w.ObsoleteAwaitStar,r),!this.scope.inFunction&&!(this.optionFlags&1)&&(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:e}=this.state;return e===53||e===10||e===0||Da(e)||e===102&&!this.state.containsEsc||e===138||e===56||this.hasPlugin("v8intrinsic")&&e===54}parseYield(e){let r=this.startNodeAt(e);this.expressionScope.recordParameterInitializerError(w.YieldInParameter,r);let i=!1,s=null;if(!this.hasPrecedingLineBreak())switch(i=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!i)break;default:s=this.parseMaybeAssign()}return r.delegate=i,r.argument=s,this.finishNode(r,"YieldExpression")}parseImportCall(e){if(this.next(),e.source=this.parseMaybeAssignAllowIn(),e.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(e.source);else if(e.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(e.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(w.ImportCallArity,e)}}return this.expect(11),this.finishNode(e,"ImportExpression")}checkPipelineAtInfixOperator(e,r){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&e.type==="SequenceExpression"&&this.raise(w.PipelineHeadSequenceExpression,r)}parseSmartPipelineBodyInStyle(e,r){if(this.isSimpleReference(e)){let i=this.startNodeAt(r);return i.callee=e,this.finishNode(i,"PipelineBareFunction")}else{let i=this.startNodeAt(r);return this.checkSmartPipeTopicBodyEarlyErrors(r),i.expression=e,this.finishNode(i,"PipelineTopicExpression")}}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(w.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(w.PipelineTopicUnused,e)}withTopicBindingContext(e){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=r}}withSmartMixTopicForbiddingContext(e){if(this.hasPlugin(["pipelineOperator",{proposal:"smart"}])){let r=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=r}}else return e()}withSoloAwaitPermittingContext(e){let r=this.state.soloAwait;this.state.soloAwait=!0;try{return e()}finally{this.state.soloAwait=r}}allowInAnd(e){let r=this.prodParam.currentFlags();if(8&~r){this.prodParam.enter(r|8);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){let r=this.prodParam.currentFlags();if(8&r){this.prodParam.enter(r&-9);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return this.state.topicContext.maxTopicIndex!=null&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){let r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let s=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,e);return this.state.inFSharpPipelineDirectBody=i,s}parseModuleExpression(){this.expectPlugin("moduleBlocks");let e=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let r=this.startNodeAt(this.state.endLoc);this.next();let i=this.initializeScopes(!0);this.enterInitialScopes();try{e.body=this.parseProgram(r,8,"module")}finally{i()}return this.finishNode(e,"ModuleExpression")}parseVoidPattern(e){this.expectPlugin("discardBinding");let r=this.startNode();return e!=null&&(e.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(r,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(e,r,i){if(r!=null&&this.match(88)){let s=this.lookaheadCharCode();if(s===44||s===(e===3?93:e===8?125:41)||s===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(r))}return this.parseMaybeAssignAllowIn(r,i)}parsePropertyNamePrefixOperator(e){}},jl={kind:1},DP={kind:2},LP=/[\uD800-\uDFFF]/u,Rl=/in(?:stanceof)?/y;function MP(t,e,r){for(let i=0;i<t.length;i++){let s=t[i],{type:n}=s;if(typeof n=="number"){{if(n===139){let{loc:a,start:o,value:l,end:c}=s,u=o+1,d=Lt(a.start,1);t.splice(i,1,new wr({type:qr(27),value:"#",start:o,end:u,startLoc:a.start,endLoc:d}),new wr({type:qr(132),value:l,start:u,end:c,startLoc:d,endLoc:a.end})),i++;continue}if(Da(n)){let{loc:a,start:o,value:l,end:c}=s,u=o+1,d=Lt(a.start,1),x;e.charCodeAt(o-r)===96?x=new wr({type:qr(22),value:"`",start:o,end:u,startLoc:a.start,endLoc:d}):x=new wr({type:qr(8),value:"}",start:o,end:u,startLoc:a.start,endLoc:d});let E,v,A,I;n===24?(v=c-1,A=Lt(a.end,-1),E=l===null?null:l.slice(1,-1),I=new wr({type:qr(22),value:"`",start:v,end:c,startLoc:A,endLoc:a.end})):(v=c-2,A=Lt(a.end,-2),E=l===null?null:l.slice(1,-2),I=new wr({type:qr(23),value:"${",start:v,end:c,startLoc:A,endLoc:a.end})),t.splice(i,1,x,new wr({type:qr(20),value:E,start:u,end:v,startLoc:d,endLoc:A}),I),i+=2;continue}}s.type=qr(n)}}return t}var nc=class extends sc{parseTopLevel(e,r){return e.program=this.parseProgram(r,140,this.options.sourceType==="module"?"module":"script"),e.comments=this.comments,this.optionFlags&256&&(e.tokens=MP(this.tokens,this.input,this.startIndex)),this.finishNode(e,"File")}parseProgram(e,r,i){if(e.sourceType=i,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,r),this.inModule){if(!(this.optionFlags&64)&&this.scope.undefinedExports.size>0)for(let[n,a]of Array.from(this.scope.undefinedExports))this.raise(w.ModuleExportUndefined,a,{localName:n});this.addExtra(e,"topLevelAwait",this.state.hasTopLevelAwait)}let s;return r===140?s=this.finishNode(e,"Program"):s=this.finishNodeAt(e,"Program",Lt(this.state.startLoc,-1)),s}stmtToDirective(e){let r=this.castNodeTo(e,"Directive"),i=this.castNodeTo(e.expression,"DirectiveLiteral"),s=i.value,n=this.input.slice(this.offsetToSourcePos(i.start),this.offsetToSourcePos(i.end)),a=i.value=n.slice(1,-1);return this.addExtra(i,"raw",n),this.addExtra(i,"rawValue",a),this.addExtra(i,"expressionValue",s),r.value=i,delete e.expression,r}parseInterpreterDirective(){if(!this.match(28))return null;let e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(){return this.isContextual(100)?this.hasFollowingBindingAtom():!1}isUsing(){if(!this.isContextual(107))return!1;let e=this.nextTokenInLineStart(),r=this.codePointAtPos(e);return this.chStartsBindingIdentifier(r,e)}isForUsing(){if(!this.isContextual(107))return!1;let e=this.nextTokenInLineStart(),r=this.codePointAtPos(e);if(this.isUnparsedContextual(e,"of")){let i=this.lookaheadCharCodeSince(e+2);if(i!==61&&i!==58&&i!==59)return!1}return!!(this.chStartsBindingIdentifier(r,e)||this.isUnparsedContextual(e,"void"))}isAwaitUsing(){if(!this.isContextual(96))return!1;let e=this.nextTokenInLineStart();if(this.isUnparsedContextual(e,"using")){e=this.nextTokenInLineStartSince(e+5);let r=this.codePointAtPos(e);if(this.chStartsBindingIdentifier(r,e))return!0}return!1}chStartsBindingIdentifier(e,r){if($r(e)){if(Rl.lastIndex=r,Rl.test(this.input)){let i=this.codePointAtPos(Rl.lastIndex);if(!ss(i)&&i!==92)return!1}return!0}else return e===92}chStartsBindingPattern(e){return e===91||e===123}hasFollowingBindingAtom(){let e=this.nextTokenStart(),r=this.codePointAtPos(e);return this.chStartsBindingPattern(r)||this.chStartsBindingIdentifier(r,e)}hasInLineFollowingBindingIdentifierOrBrace(){let e=this.nextTokenInLineStart(),r=this.codePointAtPos(e);return r===123||this.chStartsBindingIdentifier(r,e)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(e=!1){let r=0;return this.options.annexB&&!this.state.strict&&(r|=4,e&&(r|=8)),this.parseStatementLike(r)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(e){let r=null;return this.match(26)&&(r=this.parseDecorators(!0)),this.parseStatementContent(e,r)}parseStatementContent(e,r){let i=this.state.type,s=this.startNode(),n=!!(e&2),a=!!(e&4),o=e&1;switch(i){case 60:return this.parseBreakContinueStatement(s,!0);case 63:return this.parseBreakContinueStatement(s,!1);case 64:return this.parseDebuggerStatement(s);case 90:return this.parseDoWhileStatement(s);case 91:return this.parseForStatement(s);case 68:if(this.lookaheadCharCode()===46)break;return a||this.raise(this.state.strict?w.StrictFunction:this.options.annexB?w.SloppyFunctionAnnexB:w.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(s,!1,!n&&a);case 80:return n||this.unexpected(),this.parseClass(this.maybeTakeDecorators(r,s),!0);case 69:return this.parseIfStatement(s);case 70:return this.parseReturnStatement(s);case 71:return this.parseSwitchStatement(s);case 72:return this.parseThrowStatement(s);case 73:return this.parseTryStatement(s);case 96:if(this.isAwaitUsing())return this.allowsUsing()?n?this.recordAwaitIfAllowed()||this.raise(w.AwaitUsingNotInAsyncContext,s):this.raise(w.UnexpectedLexicalDeclaration,s):this.raise(w.UnexpectedUsingDeclaration,s),this.next(),this.parseVarStatement(s,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?n||this.raise(w.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(w.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(s,"using");case 100:{if(this.state.containsEsc)break;let u=this.nextTokenStart(),d=this.codePointAtPos(u);if(d!==91&&(!n&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(d,u)&&d!==123))break}case 75:n||this.raise(w.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let u=this.state.value;return this.parseVarStatement(s,u)}case 92:return this.parseWhileStatement(s);case 76:return this.parseWithStatement(s);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(s);case 83:{let u=this.lookaheadCharCode();if(u===40||u===46)break}case 82:{!(this.optionFlags&8)&&!o&&this.raise(w.UnexpectedImportExport,this.state.startLoc),this.next();let u;return i===83?u=this.parseImport(s):u=this.parseExport(s,r),this.assertModuleNodeAllowed(u),u}default:if(this.isAsyncFunction())return n||this.raise(w.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(s,!0,!n&&a)}let l=this.state.value,c=this.parseExpression();return Ve(i)&&c.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(s,l,c,e):this.parseExpressionStatement(s,c,r)}assertModuleNodeAllowed(e){!(this.optionFlags&8)&&!this.inModule&&this.raise(w.ImportOutsideModule,e)}decoratorsEnabledBeforeExport(){return this.hasPlugin("decorators-legacy")?!0:this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(e,r,i){if(e){var s;(s=r.decorators)!=null&&s.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(w.DecoratorsBeforeAfterExport,r.decorators[0]),r.decorators.unshift(...e)):r.decorators=e,this.resetStartLocationFromNode(r,e[0]),i&&this.resetStartLocationFromNode(i,r)}return r}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(e){let r=[];do r.push(this.parseDecorator());while(this.match(26));if(this.match(82))e||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(w.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(w.UnexpectedLeadingDecorator,this.state.startLoc);return r}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let e=this.startNode();if(this.next(),this.hasPlugin("decorators")){let r=this.state.startLoc,i;if(this.match(10)){let s=this.state.startLoc;this.next(),i=this.parseExpression(),this.expect(11),i=this.wrapParenthesis(s,i);let n=this.state.startLoc;e.expression=this.parseMaybeDecoratorArguments(i,s),this.getPluginOption("decorators","allowCallParenthesized")===!1&&e.expression!==i&&this.raise(w.DecoratorArgumentsOutsideParentheses,n)}else{for(i=this.parseIdentifier(!1);this.eat(16);){let s=this.startNodeAt(r);s.object=i,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),s.property=this.parsePrivateName()):s.property=this.parseIdentifier(!0),s.computed=!1,i=this.finishNode(s,"MemberExpression")}e.expression=this.parseMaybeDecoratorArguments(i,r)}}else e.expression=this.parseExprSubscripts();return this.finishNode(e,"Decorator")}parseMaybeDecoratorArguments(e,r){if(this.eat(10)){let i=this.startNodeAt(r);return i.callee=e,i.arguments=this.parseCallExpressionArguments(),this.toReferencedList(i.arguments),this.finishNode(i,"CallExpression")}return e}parseBreakContinueStatement(e,r){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,r),this.finishNode(e,r?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,r){let i;for(i=0;i<this.state.labels.length;++i){let s=this.state.labels[i];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(r||s.kind===1)||e.label&&r))break}if(i===this.state.labels.length){let s=r?"BreakStatement":"ContinueStatement";this.raise(w.IllegalBreakContinue,e,{type:s})}}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let e=this.parseExpression();return this.expect(11),e}parseDoWhileStatement(e){return this.next(),this.state.labels.push(jl),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(jl);let r=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(r=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return r!==null&&this.unexpected(r),this.parseFor(e,null);let i=this.isContextual(100);{let l=this.isAwaitUsing(),c=l||this.isForUsing(),u=i&&this.hasFollowingBindingAtom()||c;if(this.match(74)||this.match(75)||u){let d=this.startNode(),x;l?(x="await using",this.recordAwaitIfAllowed()||this.raise(w.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):x=this.state.value,this.next(),this.parseVar(d,!0,x);let E=this.finishNode(d,"VariableDeclaration"),v=this.match(58);return v&&c&&this.raise(w.ForInUsing,E),(v||this.isContextual(102))&&E.declarations.length===1?this.parseForIn(e,E,r):(r!==null&&this.unexpected(r),this.parseFor(e,E))}}let s=this.isContextual(95),n=new as,a=this.parseExpression(!0,n),o=this.isContextual(102);if(o&&(i&&this.raise(w.ForOfLet,a),r===null&&s&&a.type==="Identifier"&&this.raise(w.ForOfAsync,a)),o||this.match(58)){this.checkDestructuringPrivate(n),this.toAssignable(a,!0);let l=o?"ForOfStatement":"ForInStatement";return this.checkLVal(a,{type:l}),this.parseForIn(e,a,r)}else this.checkExpressionErrors(n,!0);return r!==null&&this.unexpected(r),this.parseFor(e,a)}parseFunctionStatement(e,r,i){return this.next(),this.parseFunction(e,1|(i?2:0)|(r?8:0))}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),e.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.raise(w.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")}parseSwitchStatement(e){this.next(),e.discriminant=this.parseHeaderExpression();let r=e.cases=[];this.expect(5),this.state.labels.push(DP),this.scope.enter(256);let i;for(let s;!this.match(8);)if(this.match(61)||this.match(65)){let n=this.match(61);i&&this.finishNode(i,"SwitchCase"),r.push(i=this.startNode()),i.consequent=[],this.next(),n?i.test=this.parseExpression():(s&&this.raise(w.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),s=!0,i.test=null),this.expect(14)}else i?i.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),i&&this.finishNode(i,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(e,"SwitchStatement")}parseThrowStatement(e){return this.next(),this.hasPrecedingLineBreak()&&this.raise(w.NewlineAfterThrow,this.state.lastTokEndLoc),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){let e=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&e.type==="Identifier"?8:0),this.checkLVal(e,{type:"CatchClause"},9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(62)){let r=this.startNode();this.next(),this.match(10)?(this.expect(10),r.param=this.parseCatchClauseParam(),this.expect(11)):(r.param=null,this.scope.enter(0)),r.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(r,"CatchClause")}return e.finalizer=this.eat(67)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(w.NoCatchOrFinally,e),this.finishNode(e,"TryStatement")}parseVarStatement(e,r,i=!1){return this.next(),this.parseVar(e,!1,r,i),this.semicolon(),this.finishNode(e,"VariableDeclaration")}parseWhileStatement(e){return this.next(),e.test=this.parseHeaderExpression(),this.state.labels.push(jl),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(w.StrictWith,this.state.startLoc),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,r,i,s){for(let a of this.state.labels)a.name===r&&this.raise(w.LabelRedeclaration,i,{labelName:r});let n=UE(this.state.type)?1:this.match(71)?2:null;for(let a=this.state.labels.length-1;a>=0;a--){let o=this.state.labels[a];if(o.statementStart===e.start)o.statementStart=this.sourceToOffsetPos(this.state.start),o.kind=n;else break}return this.state.labels.push({name:r,kind:n,statementStart:this.sourceToOffsetPos(this.state.start)}),e.body=s&8?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),e.label=i,this.finishNode(e,"LabeledStatement")}parseExpressionStatement(e,r,i){return e.expression=r,this.semicolon(),this.finishNode(e,"ExpressionStatement")}parseBlock(e=!1,r=!0,i){let s=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),r&&this.scope.enter(0),this.parseBlockBody(s,e,!1,8,i),r&&this.scope.exit(),this.finishNode(s,"BlockStatement")}isValidDirective(e){return e.type==="ExpressionStatement"&&e.expression.type==="StringLiteral"&&!e.expression.extra.parenthesized}parseBlockBody(e,r,i,s,n){let a=e.body=[],o=e.directives=[];this.parseBlockOrModuleBlockBody(a,r?o:void 0,i,s,n)}parseBlockOrModuleBlockBody(e,r,i,s,n){let a=this.state.strict,o=!1,l=!1;for(;!this.match(s);){let c=i?this.parseModuleItem():this.parseStatementListItem();if(r&&!l){if(this.isValidDirective(c)){let u=this.stmtToDirective(c);r.push(u),!o&&u.value.value==="use strict"&&(o=!0,this.setStrict(!0));continue}l=!0,this.state.strictErrors.clear()}e.push(c)}n?.call(this,o),a||this.setStrict(!1),this.next()}parseFor(e,r){return e.init=r,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,r,i){let s=this.match(58);return this.next(),s?i!==null&&this.unexpected(i):e.await=i!==null,r.type==="VariableDeclaration"&&r.declarations[0].init!=null&&(!s||!this.options.annexB||this.state.strict||r.kind!=="var"||r.declarations[0].id.type!=="Identifier")&&this.raise(w.ForInOfLoopInitializer,r,{type:s?"ForInStatement":"ForOfStatement"}),r.type==="AssignmentPattern"&&this.raise(w.InvalidLhs,r,{ancestor:{type:"ForStatement"}}),e.left=r,e.right=s?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,s?"ForInStatement":"ForOfStatement")}parseVar(e,r,i,s=!1){let n=e.declarations=[];for(e.kind=i;;){let a=this.startNode();if(this.parseVarId(a,i),a.init=this.eat(29)?r?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,a.init===null&&!s&&(a.id.type!=="Identifier"&&!(r&&(this.match(58)||this.isContextual(102)))?this.raise(w.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"}):(i==="const"||i==="using"||i==="await using")&&!(this.match(58)||this.isContextual(102))&&this.raise(w.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:i})),n.push(this.finishNode(a,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,r){let i=this.parseBindingAtom();r==="using"||r==="await using"?(i.type==="ArrayPattern"||i.type==="ObjectPattern")&&this.raise(w.UsingDeclarationHasBindingPattern,i.loc.start):i.type==="VoidPattern"&&this.raise(w.UnexpectedVoidPattern,i.loc.start),this.checkLVal(i,{type:"VariableDeclarator"},r==="var"?5:8201),e.id=i}parseAsyncFunctionExpression(e){return this.parseFunction(e,8)}parseFunction(e,r=0){let i=r&2,s=!!(r&1),n=s&&!(r&4),a=!!(r&8);this.initFunction(e,a),this.match(55)&&(i&&this.raise(w.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),e.generator=!0),s&&(e.id=this.parseFunctionId(n));let o=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(Oa(a,e.generator)),s||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,s?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),s&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=o,e}parseFunctionId(e){return e||Ve(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,r){this.expect(10),this.expressionScope.enter(gP()),e.params=this.parseBindingList(11,41,2|(r?4:0)),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,!this.options.annexB||this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:8201:17,e.id.loc.start)}parseClass(e,r,i){this.next();let s=this.state.strict;return this.state.strict=!0,this.parseClassId(e,r,i),this.parseClassSuper(e),e.body=this.parseClassBody(!!e.superClass,s),this.finishNode(e,r?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(e){return e.type==="Identifier"&&e.name==="constructor"||e.type==="StringLiteral"&&e.value==="constructor"}isNonstaticConstructor(e){return!e.computed&&!e.static&&this.nameIsConstructor(e.key)}parseClassBody(e,r){this.classScope.enter();let i={hadConstructor:!1,hadSuperClass:e},s=[],n=this.startNode();if(n.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(s.length>0)throw this.raise(w.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){s.push(this.parseDecorator());continue}let a=this.startNode();s.length&&(a.decorators=s,this.resetStartLocationFromNode(a,s[0]),s=[]),this.parseClassMember(n,a,i),a.kind==="constructor"&&a.decorators&&a.decorators.length>0&&this.raise(w.DecoratorConstructor,a)}}),this.state.strict=r,this.next(),s.length)throw this.raise(w.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(n,"ClassBody")}parseClassMemberFromModifier(e,r){let i=this.parseIdentifier(!0);if(this.isClassMethod()){let s=r;return s.kind="method",s.computed=!1,s.key=i,s.static=!1,this.pushClassMethod(e,s,!1,!1,!1,!1),!0}else if(this.isClassProperty()){let s=r;return s.computed=!1,s.key=i,s.static=!1,e.body.push(this.parseClassProperty(s)),!0}return this.resetPreviousNodeTrailingComments(i),!1}parseClassMember(e,r,i){let s=this.isContextual(106);if(s){if(this.parseClassMemberFromModifier(e,r))return;if(this.eat(5)){this.parseClassStaticBlock(e,r);return}}this.parseClassMemberWithIsStatic(e,r,i,s)}parseClassMemberWithIsStatic(e,r,i,s){let n=r,a=r,o=r,l=r,c=r,u=n,d=n;if(r.static=s,this.parsePropertyNamePrefixOperator(r),this.eat(55)){u.kind="method";let O=this.match(139);if(this.parseClassElementName(u),this.parsePostMemberNameModifiers(u),O){this.pushClassPrivateMethod(e,a,!0,!1);return}this.isNonstaticConstructor(n)&&this.raise(w.ConstructorIsGenerator,n.key),this.pushClassMethod(e,n,!0,!1,!1,!1);return}let x=!this.state.containsEsc&&Ve(this.state.type),E=this.parseClassElementName(r),v=x?E.name:null,A=this.isPrivateName(E),I=this.state.startLoc;if(this.parsePostMemberNameModifiers(d),this.isClassMethod()){if(u.kind="method",A){this.pushClassPrivateMethod(e,a,!1,!1);return}let O=this.isNonstaticConstructor(n),j=!1;O&&(n.kind="constructor",i.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(w.DuplicateConstructor,E),O&&this.hasPlugin("typescript")&&r.override&&this.raise(w.OverrideOnConstructor,E),i.hadConstructor=!0,j=i.hadSuperClass),this.pushClassMethod(e,n,!1,!1,O,j)}else if(this.isClassProperty())A?this.pushClassPrivateProperty(e,l):this.pushClassProperty(e,o);else if(v==="async"&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(E);let O=this.eat(55);d.optional&&this.unexpected(I),u.kind="method";let j=this.match(139);this.parseClassElementName(u),this.parsePostMemberNameModifiers(d),j?this.pushClassPrivateMethod(e,a,O,!0):(this.isNonstaticConstructor(n)&&this.raise(w.ConstructorIsAsync,n.key),this.pushClassMethod(e,n,O,!0,!1,!1))}else if((v==="get"||v==="set")&&!(this.match(55)&&this.isLineTerminator())){this.resetPreviousNodeTrailingComments(E),u.kind=v;let O=this.match(139);this.parseClassElementName(n),O?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(n)&&this.raise(w.ConstructorIsAccessor,n.key),this.pushClassMethod(e,n,!1,!1,!1,!1)),this.checkGetterSetterParams(n)}else if(v==="accessor"&&!this.isLineTerminator()){this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(E);let O=this.match(139);this.parseClassElementName(o),this.pushClassAccessorProperty(e,c,O)}else this.isLineTerminator()?A?this.pushClassPrivateProperty(e,l):this.pushClassProperty(e,o):this.unexpected()}parseClassElementName(e){let{type:r,value:i}=this.state;if((r===132||r===134)&&e.static&&i==="prototype"&&this.raise(w.StaticPrototype,this.state.startLoc),r===139){i==="constructor"&&this.raise(w.ConstructorClassPrivateField,this.state.startLoc);let s=this.parsePrivateName();return e.key=s,s}return this.parsePropertyName(e),e.key}parseClassStaticBlock(e,r){var i;this.scope.enter(720);let s=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let n=r.body=[];this.parseBlockOrModuleBlockBody(n,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=s,e.body.push(this.finishNode(r,"StaticBlock")),(i=r.decorators)!=null&&i.length&&this.raise(w.DecoratorStaticBlock,r)}pushClassProperty(e,r){!r.computed&&this.nameIsConstructor(r.key)&&this.raise(w.ConstructorClassField,r.key),e.body.push(this.parseClassProperty(r))}pushClassPrivateProperty(e,r){let i=this.parseClassPrivateProperty(r);e.body.push(i),this.classScope.declarePrivateName(this.getPrivateNameSV(i.key),0,i.key.loc.start)}pushClassAccessorProperty(e,r,i){!i&&!r.computed&&this.nameIsConstructor(r.key)&&this.raise(w.ConstructorClassField,r.key);let s=this.parseClassAccessorProperty(r);e.body.push(s),i&&this.classScope.declarePrivateName(this.getPrivateNameSV(s.key),0,s.key.loc.start)}pushClassMethod(e,r,i,s,n,a){e.body.push(this.parseMethod(r,i,s,n,a,"ClassMethod",!0))}pushClassPrivateMethod(e,r,i,s){let n=this.parseMethod(r,i,s,!1,!1,"ClassPrivateMethod",!0);e.body.push(n);let a=n.kind==="get"?n.static?6:2:n.kind==="set"?n.static?5:1:0;this.declareClassPrivateMethodInScope(n,a)}declareClassPrivateMethodInScope(e,r){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),r,e.key.loc.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseClassAccessorProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassAccessorProperty")}parseInitializer(e){this.scope.enter(592),this.expressionScope.enter(Qd()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,r,i,s=8331){if(Ve(this.state.type))e.id=this.parseIdentifier(),r&&this.declareNameFromIdentifier(e.id,s);else if(i||!r)e.id=null;else throw this.raise(w.MissingClassName,this.state.startLoc)}parseClassSuper(e){e.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(e,r){let i=this.parseMaybeImportPhase(e,!0),s=this.maybeParseExportDefaultSpecifier(e,i),n=!s||this.eat(12),a=n&&this.eatExportStar(e),o=a&&this.maybeParseExportNamespaceSpecifier(e),l=n&&(!o||this.eat(12)),c=s||a;if(a&&!o){if(s&&this.unexpected(),r)throw this.raise(w.UnsupportedDecoratorExport,e);return this.parseExportFrom(e,!0),this.sawUnambiguousESM=!0,this.finishNode(e,"ExportAllDeclaration")}let u=this.maybeParseExportNamedSpecifiers(e);s&&n&&!a&&!u&&this.unexpected(null,5),o&&l&&this.unexpected(null,98);let d;if(c||u){if(d=!1,r)throw this.raise(w.UnsupportedDecoratorExport,e);this.parseExportFrom(e,c)}else d=this.maybeParseExportDeclaration(e);if(c||u||d){var x;let E=e;if(this.checkExport(E,!0,!1,!!E.source),((x=E.declaration)==null?void 0:x.type)==="ClassDeclaration")this.maybeTakeDecorators(r,E.declaration,E);else if(r)throw this.raise(w.UnsupportedDecoratorExport,e);return this.sawUnambiguousESM=!0,this.finishNode(E,"ExportNamedDeclaration")}if(this.eat(65)){let E=e,v=this.parseExportDefaultExpression();if(E.declaration=v,v.type==="ClassDeclaration")this.maybeTakeDecorators(r,v,E);else if(r)throw this.raise(w.UnsupportedDecoratorExport,e);return this.checkExport(E,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(E,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(e){return this.eat(55)}maybeParseExportDefaultSpecifier(e,r){if(r||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",r?.loc.start);let i=r||this.parseIdentifier(!0),s=this.startNodeAtNode(i);return s.exported=i,e.specifiers=[this.finishNode(s,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(e){if(this.isContextual(93)){var r,i;(i=(r=e).specifiers)!=null||(r.specifiers=[]);let s=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),s.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(s,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){let r=e;r.specifiers||(r.specifiers=[]);let i=r.exportKind==="type";return r.specifiers.push(...this.parseExportSpecifiers(i)),r.source=null,this.hasPlugin("importAssertions")?r.assertions=[]:r.attributes=[],r.declaration=null,!0}return!1}maybeParseExportDeclaration(e){return this.shouldParseExportDeclaration()?(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")?e.assertions=[]:e.attributes=[],e.declaration=this.parseExportDeclaration(e),!0):!1}isAsyncFunction(){if(!this.isContextual(95))return!1;let e=this.nextTokenInLineStart();return this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){let e=this.startNode();if(this.match(68))return this.next(),this.parseFunction(e,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(e,13);if(this.match(80))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(w.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(w.UnsupportedDefaultExport,this.state.startLoc);let r=this.parseMaybeAssignAllowIn();return this.semicolon(),r}parseExportDeclaration(e){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:e}=this.state;if(Ve(e)){if(e===95&&!this.state.containsEsc||e===100)return!1;if((e===130||e===129)&&!this.state.containsEsc){let s=this.nextTokenStart(),n=this.input.charCodeAt(s);if(n===123||this.chStartsBindingIdentifier(n,s)&&!this.input.startsWith("from",s))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let r=this.nextTokenStart(),i=this.isUnparsedContextual(r,"from");if(this.input.charCodeAt(r)===44||Ve(this.state.type)&&i)return!0;if(this.match(65)&&i){let s=this.input.charCodeAt(this.nextTokenStartSince(r+4));return s===34||s===39}return!1}parseExportFrom(e,r){this.eatContextual(98)?(e.source=this.parseImportSource(),this.checkExport(e),this.maybeParseImportAttributes(e),this.checkJSONModuleImport(e)):r&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:e}=this.state;return e===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(w.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()?(this.raise(w.UsingDeclarationExport,this.state.startLoc),!0):this.isAwaitUsing()?(this.raise(w.UsingDeclarationExport,this.state.startLoc),!0):e===74||e===75||e===68||e===80||this.isLet()||this.isAsyncFunction()}checkExport(e,r,i,s){if(r){var n;if(i){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var a;let o=e.declaration;o.type==="Identifier"&&o.name==="from"&&o.end-o.start===4&&!((a=o.extra)!=null&&a.parenthesized)&&this.raise(w.ExportDefaultFromAsIdentifier,o)}}else if((n=e.specifiers)!=null&&n.length)for(let o of e.specifiers){let{exported:l}=o,c=l.type==="Identifier"?l.name:l.value;if(this.checkDuplicateExports(o,c),!s&&o.local){let{local:u}=o;u.type!=="Identifier"?this.raise(w.ExportBindingIsString,o,{localName:u.value,exportName:c}):(this.checkReservedWord(u.name,u.loc.start,!0,!1),this.scope.checkLocalExport(u))}}else if(e.declaration){let o=e.declaration;if(o.type==="FunctionDeclaration"||o.type==="ClassDeclaration"){let{id:l}=o;if(!l)throw new Error("Assertion failure");this.checkDuplicateExports(e,l.name)}else if(o.type==="VariableDeclaration")for(let l of o.declarations)this.checkDeclaration(l.id)}}}checkDeclaration(e){if(e.type==="Identifier")this.checkDuplicateExports(e,e.name);else if(e.type==="ObjectPattern")for(let r of e.properties)this.checkDeclaration(r);else if(e.type==="ArrayPattern")for(let r of e.elements)r&&this.checkDeclaration(r);else e.type==="ObjectProperty"?this.checkDeclaration(e.value):e.type==="RestElement"?this.checkDeclaration(e.argument):e.type==="AssignmentPattern"&&this.checkDeclaration(e.left)}checkDuplicateExports(e,r){this.exportedIdentifiers.has(r)&&(r==="default"?this.raise(w.DuplicateDefaultExport,e):this.raise(w.DuplicateExport,e,{exportName:r})),this.exportedIdentifiers.add(r)}parseExportSpecifiers(e){let r=[],i=!0;for(this.expect(5);!this.eat(8);){if(i)i=!1;else if(this.expect(12),this.eat(8))break;let s=this.isContextual(130),n=this.match(134),a=this.startNode();a.local=this.parseModuleExportName(),r.push(this.parseExportSpecifier(a,n,e,s))}return r}parseExportSpecifier(e,r,i,s){return this.eatContextual(93)?e.exported=this.parseModuleExportName():r?e.exported=this.cloneStringLiteral(e.local):e.exported||(e.exported=this.cloneIdentifier(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let e=this.parseStringLiteral(this.state.value),r=LP.exec(e.value);return r&&this.raise(w.ModuleExportNameHasLoneSurrogate,e,{surrogateCharCode:r[0].charCodeAt(0)}),e}return this.parseIdentifier(!0)}isJSONModuleImport(e){return e.assertions!=null?e.assertions.some(({key:r,value:i})=>i.value==="json"&&(r.type==="Identifier"?r.name==="type":r.value==="type")):!1}checkImportReflection(e){let{specifiers:r}=e,i=r.length===1?r[0].type:null;if(e.phase==="source")i!=="ImportDefaultSpecifier"&&this.raise(w.SourcePhaseImportRequiresDefault,r[0].loc.start);else if(e.phase==="defer")i!=="ImportNamespaceSpecifier"&&this.raise(w.DeferImportRequiresNamespace,r[0].loc.start);else if(e.module){var s;i!=="ImportDefaultSpecifier"&&this.raise(w.ImportReflectionNotBinding,r[0].loc.start),((s=e.assertions)==null?void 0:s.length)>0&&this.raise(w.ImportReflectionHasAssertion,r[0].loc.start)}}checkJSONModuleImport(e){if(this.isJSONModuleImport(e)&&e.type!=="ExportAllDeclaration"){let{specifiers:r}=e;if(r!=null){let i=r.find(s=>{let n;if(s.type==="ExportSpecifier"?n=s.local:s.type==="ImportSpecifier"&&(n=s.imported),n!==void 0)return n.type==="Identifier"?n.name!=="default":n.value!=="default"});i!==void 0&&this.raise(w.ImportJSONBindingNotDefault,i.loc.start)}}}isPotentialImportPhase(e){return e?!1:this.isContextual(105)||this.isContextual(97)||this.isContextual(127)}applyImportPhase(e,r,i,s){r||(i==="module"?(this.expectPlugin("importReflection",s),e.module=!0):this.hasPlugin("importReflection")&&(e.module=!1),i==="source"?(this.expectPlugin("sourcePhaseImports",s),e.phase="source"):i==="defer"?(this.expectPlugin("deferredImportEvaluation",s),e.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(e.phase=null))}parseMaybeImportPhase(e,r){if(!this.isPotentialImportPhase(r))return this.applyImportPhase(e,r,null),null;let i=this.startNode(),s=this.parseIdentifierName(!0),{type:n}=this.state;return(mr(n)?n!==98||this.lookaheadCharCode()===102:n!==12)?(this.applyImportPhase(e,r,s,i.loc.start),null):(this.applyImportPhase(e,r,null),this.createIdentifier(i,s))}isPrecedingIdImportPhase(e){let{type:r}=this.state;return Ve(r)?r!==98||this.lookaheadCharCode()===102:r!==12}parseImport(e){return this.match(134)?this.parseImportSourceAndAttributes(e):this.parseImportSpecifiersAndAfter(e,this.parseMaybeImportPhase(e,!1))}parseImportSpecifiersAndAfter(e,r){e.specifiers=[];let s=!this.maybeParseDefaultImportSpecifier(e,r)||this.eat(12),n=s&&this.maybeParseStarImportSpecifier(e);return s&&!n&&this.parseNamedImportSpecifiers(e),this.expectContextual(98),this.parseImportSourceAndAttributes(e)}parseImportSourceAndAttributes(e){var r;return(r=e.specifiers)!=null||(e.specifiers=[]),e.source=this.parseImportSource(),this.maybeParseImportAttributes(e),this.checkImportReflection(e),this.checkJSONModuleImport(e),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(e,r,i){r.local=this.parseIdentifier(),e.specifiers.push(this.finishImportSpecifier(r,i))}finishImportSpecifier(e,r,i=8201){return this.checkLVal(e.local,{type:r},i),this.finishNode(e,r)}parseImportAttributes(){this.expect(5);let e=[],r=new Set;do{if(this.match(8))break;let i=this.startNode(),s=this.state.value;if(r.has(s)&&this.raise(w.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:s}),r.add(s),this.match(134)?i.key=this.parseStringLiteral(s):i.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(w.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return this.expect(8),e}parseModuleAttributes(){let e=[],r=new Set;do{let i=this.startNode();if(i.key=this.parseIdentifier(!0),i.key.name!=="type"&&this.raise(w.ModuleAttributeDifferentFromType,i.key),r.has(i.key.name)&&this.raise(w.ModuleAttributesWithDuplicateKeys,i.key,{key:i.key.name}),r.add(i.key.name),this.expect(14),!this.match(134))throw this.raise(w.ModuleAttributeInvalidValue,this.state.startLoc);i.value=this.parseStringLiteral(this.state.value),e.push(this.finishNode(i,"ImportAttribute"))}while(this.eat(12));return e}maybeParseImportAttributes(e){let r;var i=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(r=this.parseModuleAttributes(),this.addExtra(e,"deprecatedWithLegacySyntax",!0)):r=this.parseImportAttributes(),i=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(!this.hasPlugin("deprecatedImportAssert")&&!this.hasPlugin("importAssertions")&&this.raise(w.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(e,"deprecatedAssertSyntax",!0),this.next(),r=this.parseImportAttributes()):r=[];!i&&this.hasPlugin("importAssertions")?e.assertions=r:e.attributes=r}maybeParseDefaultImportSpecifier(e,r){if(r){let i=this.startNodeAtNode(r);return i.local=r,e.specifiers.push(this.finishImportSpecifier(i,"ImportDefaultSpecifier")),!0}else if(mr(this.state.type))return this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier"),!0;return!1}maybeParseStarImportSpecifier(e){if(this.match(55)){let r=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(e,r,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(e){let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else{if(this.eat(14))throw this.raise(w.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let i=this.startNode(),s=this.match(134),n=this.isContextual(130);i.imported=this.parseModuleExportName();let a=this.parseImportSpecifier(i,s,e.importKind==="type"||e.importKind==="typeof",n,void 0);e.specifiers.push(a)}}parseImportSpecifier(e,r,i,s,n){if(this.eatContextual(93))e.local=this.parseIdentifier();else{let{imported:a}=e;if(r)throw this.raise(w.ImportBindingIsString,e,{importName:a.value});this.checkReservedWord(a.name,e.loc.start,!0,!0),e.local||(e.local=this.cloneIdentifier(a))}return this.finishImportSpecifier(e,"ImportSpecifier",n)}isThisParam(e){return e.type==="Identifier"&&e.name==="this"}},Ma=class extends nc{constructor(e,r,i){e=DE(e),super(e,r),this.options=e,this.initializeScopes(),this.plugins=i,this.filename=e.sourceFilename,this.startIndex=e.startIndex;let s=0;e.allowAwaitOutsideFunction&&(s|=1),e.allowReturnOutsideFunction&&(s|=2),e.allowImportExportEverywhere&&(s|=8),e.allowSuperOutsideMethod&&(s|=16),e.allowUndeclaredExports&&(s|=64),e.allowNewTargetOutsideFunction&&(s|=4),e.allowYieldOutsideFunction&&(s|=32),e.ranges&&(s|=128),e.tokens&&(s|=256),e.createImportExpressions&&(s|=512),e.createParenthesizedExpressions&&(s|=1024),e.errorRecovery&&(s|=2048),e.attachComment&&(s|=4096),e.annexB&&(s|=8192),this.optionFlags=s}getScopeHandler(){return cn}parse(){this.enterInitialScopes();let e=this.startNode(),r=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,r),e.errors=this.state.errors,e.comments.length=this.state.commentsLen,e}};function FP(t,e){var r;if(((r=e)==null?void 0:r.sourceType)==="unambiguous"){e=Object.assign({},e);try{e.sourceType="module";let i=an(e,t),s=i.parse();if(i.sawUnambiguousESM)return s;if(i.ambiguousScriptDifferentAst)try{return e.sourceType="script",an(e,t).parse()}catch{}else s.program.sourceType="script";return s}catch(i){try{return e.sourceType="script",an(e,t).parse()}catch{}throw i}}else return an(e,t).parse()}function BP(t,e){let r=an(e,t);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()}function jP(t){let e={};for(let r of Object.keys(t))e[r]=qr(t[r]);return e}var RP=jP(BE);function an(t,e){let r=Ma,i=new Map;if(t!=null&&t.plugins){for(let s of t.plugins){let n,a;typeof s=="string"?n=s:[n,a]=s,i.has(n)||i.set(n,a||{})}OP(i),r=qP(i)}return new r(t,e,i)}var Ud=new Map;function qP(t){let e=[];for(let s of _P)t.has(s)&&e.push(s);let r=e.join("|"),i=Ud.get(r);if(!i){i=Ma;for(let s of e)i=rm[s](i);Ud.set(r,i)}return i}pn.parse=FP;pn.parseExpression=BP;pn.tokTypes=RP});var mc=N(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.Var=De.User=De.Statement=De.SpreadProperty=De.Scope=De.RestProperty=De.ReferencedMemberExpression=De.ReferencedIdentifier=De.Referenced=De.Pure=De.NumericLiteralTypeAnnotation=De.Generated=De.ForAwaitStatement=De.Flow=De.Expression=De.ExistentialTypeParam=De.BlockScoped=De.BindingIdentifier=void 0;var zG=De.ReferencedIdentifier=["Identifier","JSXIdentifier"],JG=De.ReferencedMemberExpression=["MemberExpression"],XG=De.BindingIdentifier=["Identifier"],HG=De.Statement=["Statement"],GG=De.Expression=["Expression"],QG=De.Scope=["Scopable","Pattern"],ZG=De.Referenced=null,eQ=De.BlockScoped=null,tQ=De.Var=["VariableDeclaration"],rQ=De.User=null,iQ=De.Generated=null,sQ=De.Pure=null,nQ=De.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],aQ=De.RestProperty=["RestElement"],oQ=De.SpreadProperty=["RestElement"],lQ=De.ExistentialTypeParam=["ExistsTypeAnnotation"],cQ=De.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],uQ=De.ForAwaitStatement=["ForOfStatement"]});var sm=N((fQ,im)=>{var us=1e3,ps=us*60,fs=ps*60,Ii=fs*24,UP=Ii*7,$P=Ii*365.25;im.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return KP(t);if(r==="number"&&isFinite(t))return e.long?VP(t):WP(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function KP(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),i=(e[2]||"ms").toLowerCase();switch(i){case"years":case"year":case"yrs":case"yr":case"y":return r*$P;case"weeks":case"week":case"w":return r*UP;case"days":case"day":case"d":return r*Ii;case"hours":case"hour":case"hrs":case"hr":case"h":return r*fs;case"minutes":case"minute":case"mins":case"min":case"m":return r*ps;case"seconds":case"second":case"secs":case"sec":case"s":return r*us;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function WP(t){var e=Math.abs(t);return e>=Ii?Math.round(t/Ii)+"d":e>=fs?Math.round(t/fs)+"h":e>=ps?Math.round(t/ps)+"m":e>=us?Math.round(t/us)+"s":t+"ms"}function VP(t){var e=Math.abs(t);return e>=Ii?Ba(t,e,Ii,"day"):e>=fs?Ba(t,e,fs,"hour"):e>=ps?Ba(t,e,ps,"minute"):e>=us?Ba(t,e,us,"second"):t+" ms"}function Ba(t,e,r,i){var s=e>=r*1.5;return Math.round(t/r)+" "+i+(s?"s":"")}});var yc=N((hQ,nm)=>{function YP(t){r.debug=r,r.default=r,r.coerce=l,r.disable=a,r.enable=s,r.enabled=o,r.humanize=sm(),r.destroy=c,Object.keys(t).forEach(u=>{r[u]=t[u]}),r.names=[],r.skips=[],r.formatters={};function e(u){let d=0;for(let x=0;x<u.length;x++)d=(d<<5)-d+u.charCodeAt(x),d|=0;return r.colors[Math.abs(d)%r.colors.length]}r.selectColor=e;function r(u){let d,x=null,E,v;function A(...I){if(!A.enabled)return;let O=A,j=Number(new Date),q=j-(d||j);O.diff=q,O.prev=d,O.curr=j,d=j,I[0]=r.coerce(I[0]),typeof I[0]!="string"&&I.unshift("%O");let F=0;I[0]=I[0].replace(/%([a-zA-Z%])/g,(xe,we)=>{if(xe==="%%")return"%";F++;let ve=r.formatters[we];if(typeof ve=="function"){let Oe=I[F];xe=ve.call(O,Oe),I.splice(F,1),F--}return xe}),r.formatArgs.call(O,I),(O.log||r.log).apply(O,I)}return A.namespace=u,A.useColors=r.useColors(),A.color=r.selectColor(u),A.extend=i,A.destroy=r.destroy,Object.defineProperty(A,"enabled",{enumerable:!0,configurable:!1,get:()=>x!==null?x:(E!==r.namespaces&&(E=r.namespaces,v=r.enabled(u)),v),set:I=>{x=I}}),typeof r.init=="function"&&r.init(A),A}function i(u,d){let x=r(this.namespace+(typeof d>"u"?":":d)+u);return x.log=this.log,x}function s(u){r.save(u),r.namespaces=u,r.names=[],r.skips=[];let d=(typeof u=="string"?u:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(let x of d)x[0]==="-"?r.skips.push(x.slice(1)):r.names.push(x)}function n(u,d){let x=0,E=0,v=-1,A=0;for(;x<u.length;)if(E<d.length&&(d[E]===u[x]||d[E]==="*"))d[E]==="*"?(v=E,A=x,E++):(x++,E++);else if(v!==-1)E=v+1,A++,x=A;else return!1;for(;E<d.length&&d[E]==="*";)E++;return E===d.length}function a(){let u=[...r.names,...r.skips.map(d=>"-"+d)].join(",");return r.enable(""),u}function o(u){for(let d of r.skips)if(n(u,d))return!1;for(let d of r.names)if(n(u,d))return!0;return!1}function l(u){return u instanceof Error?u.stack||u.message:u}function c(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}nm.exports=YP});var am=N((Kt,ja)=>{Kt.formatArgs=JP;Kt.save=XP;Kt.load=HP;Kt.useColors=zP;Kt.storage=GP();Kt.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();Kt.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function zP(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let t;return typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&(t=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(t[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function JP(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+ja.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,i=0;t[0].replace(/%[a-zA-Z%]/g,s=>{s!=="%%"&&(r++,s==="%c"&&(i=r))}),t.splice(i,0,e)}Kt.log=console.debug||console.log||(()=>{});function XP(t){try{t?Kt.storage.setItem("debug",t):Kt.storage.removeItem("debug")}catch{}}function HP(){let t;try{t=Kt.storage.getItem("debug")||Kt.storage.getItem("DEBUG")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function GP(){try{return localStorage}catch{}}ja.exports=yc()(Kt);var{formatters:QP}=ja.exports;QP.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var lm=N((St,qa)=>{var ZP=require("tty"),Ra=require("util");St.init=a1;St.log=i1;St.formatArgs=t1;St.save=s1;St.load=n1;St.useColors=e1;St.destroy=Ra.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");St.colors=[6,2,3,4,5,1];try{let t=require("supports-color");t&&(t.stderr||t).level>=2&&(St.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}St.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(s,n)=>n.toUpperCase()),i=process.env[e];return/^(yes|on|true|enabled)$/i.test(i)?i=!0:/^(no|off|false|disabled)$/i.test(i)?i=!1:i==="null"?i=null:i=Number(i),t[r]=i,t},{});function e1(){return"colors"in St.inspectOpts?!!St.inspectOpts.colors:ZP.isatty(process.stderr.fd)}function t1(t){let{namespace:e,useColors:r}=this;if(r){let i=this.color,s="\x1B[3"+(i<8?i:"8;5;"+i),n=` ${s};1m${e} \x1B[0m`;t[0]=n+t[0].split(`
11
+ `).join(`
12
+ `+n),t.push(s+"m+"+qa.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=r1()+e+" "+t[0]}function r1(){return St.inspectOpts.hideDate?"":new Date().toISOString()+" "}function i1(...t){return process.stderr.write(Ra.formatWithOptions(St.inspectOpts,...t)+`
13
+ `)}function s1(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function n1(){return process.env.DEBUG}function a1(t){t.inspectOpts={};let e=Object.keys(St.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=St.inspectOpts[e[r]]}qa.exports=yc()(St);var{formatters:om}=qa.exports;om.o=function(t){return this.inspectOpts.colors=this.useColors,Ra.inspect(t,this.inspectOpts).split(`
14
+ `).map(e=>e.trim()).join(" ")};om.O=function(t){return this.inspectOpts.colors=this.useColors,Ra.inspect(t,this.inspectOpts)}});var cm=N((dQ,Tc)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?Tc.exports=am():Tc.exports=lm()});var Ua=N(xc=>{"use strict";Object.defineProperty(xc,"__esModule",{value:!0});xc.default=o1;function o1(t,e){let r=Object.keys(e);for(let i of r)if(t[i]!==e[i])return!1;return!0}});var hs=N(gc=>{"use strict";Object.defineProperty(gc,"__esModule",{value:!0});gc.default=l1;var um=new Set;function l1(t,e,r="",i=t){if(um.has(i))return;um.add(i);let{internal:s,trace:n}=c1(1,2);s||console.warn(`${r}\`${t}\` has been deprecated, please migrate to \`${e}\`
15
+ ${n}`)}function c1(t,e){let{stackTraceLimit:r,prepareStackTrace:i}=Error,s;if(Error.stackTraceLimit=1+t+e,Error.prepareStackTrace=function(a,o){s=o},new Error().stack,Error.stackTraceLimit=r,Error.prepareStackTrace=i,!s)return{internal:!1,trace:""};let n=s.slice(1+t,1+t+e);return{internal:/[\\/]@babel[\\/]/.test(n[1].getFileName()),trace:n.map(a=>` at ${a}`).join(`
16
+ `)}}});var lt=N(y=>{"use strict";Object.defineProperty(y,"__esModule",{value:!0});y.isAccessor=CI;y.isAnyTypeAnnotation=Vv;y.isArgumentPlaceholder=bw;y.isArrayExpression=u1;y.isArrayPattern=lv;y.isArrayTypeAnnotation=Yv;y.isArrowFunctionExpression=cv;y.isAssignmentExpression=p1;y.isAssignmentPattern=ov;y.isAwaitExpression=_v;y.isBigIntLiteral=Lv;y.isBinary=XC;y.isBinaryExpression=f1;y.isBindExpression=Sw;y.isBlock=QC;y.isBlockParent=GC;y.isBlockStatement=y1;y.isBooleanLiteral=B1;y.isBooleanLiteralTypeAnnotation=Jv;y.isBooleanTypeAnnotation=zv;y.isBreakStatement=T1;y.isCallExpression=x1;y.isCatchClause=g1;y.isClass=vI;y.isClassAccessorProperty=Rv;y.isClassBody=uv;y.isClassDeclaration=fv;y.isClassExpression=pv;y.isClassImplements=Hv;y.isClassMethod=vv;y.isClassPrivateMethod=Uv;y.isClassPrivateProperty=qv;y.isClassProperty=jv;y.isCompletionStatement=tI;y.isConditional=rI;y.isConditionalExpression=b1;y.isContinueStatement=S1;y.isDebuggerStatement=E1;y.isDecimalLiteral=Cw;y.isDeclaration=pI;y.isDeclareClass=Gv;y.isDeclareExportAllDeclaration=aA;y.isDeclareExportDeclaration=nA;y.isDeclareFunction=Qv;y.isDeclareInterface=Zv;y.isDeclareModule=eA;y.isDeclareModuleExports=tA;y.isDeclareOpaqueType=iA;y.isDeclareTypeAlias=rA;y.isDeclareVariable=sA;y.isDeclaredPredicate=oA;y.isDecorator=Ew;y.isDirective=d1;y.isDirectiveLiteral=m1;y.isDoExpression=Pw;y.isDoWhileStatement=P1;y.isEmptyStatement=v1;y.isEmptyTypeAnnotation=xA;y.isEnumBody=LI;y.isEnumBooleanBody=YA;y.isEnumBooleanMember=HA;y.isEnumDeclaration=VA;y.isEnumDefaultedMember=ZA;y.isEnumMember=MI;y.isEnumNumberBody=zA;y.isEnumNumberMember=GA;y.isEnumStringBody=JA;y.isEnumStringMember=QA;y.isEnumSymbolBody=XA;y.isExistsTypeAnnotation=lA;y.isExportAllDeclaration=hv;y.isExportDeclaration=AI;y.isExportDefaultDeclaration=dv;y.isExportDefaultSpecifier=vw;y.isExportNamedDeclaration=mv;y.isExportNamespaceSpecifier=Mv;y.isExportSpecifier=yv;y.isExpression=JC;y.isExpressionStatement=A1;y.isExpressionWrapper=nI;y.isFile=w1;y.isFlow=kI;y.isFlowBaseAnnotation=OI;y.isFlowDeclaration=_I;y.isFlowPredicate=DI;y.isFlowType=NI;y.isFor=aI;y.isForInStatement=C1;y.isForOfStatement=Tv;y.isForStatement=I1;y.isForXStatement=oI;y.isFunction=lI;y.isFunctionDeclaration=k1;y.isFunctionExpression=N1;y.isFunctionParameter=fI;y.isFunctionParent=cI;y.isFunctionTypeAnnotation=cA;y.isFunctionTypeParam=uA;y.isGenericTypeAnnotation=pA;y.isIdentifier=O1;y.isIfStatement=_1;y.isImmutable=TI;y.isImport=Dv;y.isImportAttribute=Wv;y.isImportDeclaration=xv;y.isImportDefaultSpecifier=gv;y.isImportExpression=Ev;y.isImportNamespaceSpecifier=bv;y.isImportOrExportDeclaration=pm;y.isImportSpecifier=Sv;y.isIndexedAccessType=ew;y.isInferredPredicate=fA;y.isInterfaceDeclaration=dA;y.isInterfaceExtends=hA;y.isInterfaceTypeAnnotation=mA;y.isInterpreterDirective=h1;y.isIntersectionTypeAnnotation=yA;y.isJSX=FI;y.isJSXAttribute=rw;y.isJSXClosingElement=iw;y.isJSXClosingFragment=yw;y.isJSXElement=sw;y.isJSXEmptyExpression=nw;y.isJSXExpressionContainer=aw;y.isJSXFragment=dw;y.isJSXIdentifier=lw;y.isJSXMemberExpression=cw;y.isJSXNamespacedName=uw;y.isJSXOpeningElement=pw;y.isJSXOpeningFragment=mw;y.isJSXSpreadAttribute=fw;y.isJSXSpreadChild=ow;y.isJSXText=hw;y.isLVal=dI;y.isLabeledStatement=D1;y.isLiteral=yI;y.isLogicalExpression=R1;y.isLoop=iI;y.isMemberExpression=q1;y.isMetaProperty=Pv;y.isMethod=gI;y.isMiscellaneous=BI;y.isMixedTypeAnnotation=TA;y.isModuleDeclaration=YI;y.isModuleExpression=Iw;y.isModuleSpecifier=wI;y.isNewExpression=U1;y.isNoop=Tw;y.isNullLiteral=F1;y.isNullLiteralTypeAnnotation=Xv;y.isNullableTypeAnnotation=gA;y.isNumberLiteral=$I;y.isNumberLiteralTypeAnnotation=bA;y.isNumberTypeAnnotation=SA;y.isNumericLiteral=M1;y.isObjectExpression=K1;y.isObjectMember=bI;y.isObjectMethod=W1;y.isObjectPattern=Av;y.isObjectProperty=V1;y.isObjectTypeAnnotation=EA;y.isObjectTypeCallProperty=vA;y.isObjectTypeIndexer=AA;y.isObjectTypeInternalSlot=PA;y.isObjectTypeProperty=wA;y.isObjectTypeSpreadProperty=CA;y.isOpaqueType=IA;y.isOptionalCallExpression=Bv;y.isOptionalIndexedAccessType=tw;y.isOptionalMemberExpression=Fv;y.isParenthesizedExpression=X1;y.isPattern=PI;y.isPatternLike=hI;y.isPipelineBareFunction=Ow;y.isPipelinePrimaryTopicReference=_w;y.isPipelineTopicExpression=Nw;y.isPlaceholder=xw;y.isPrivate=II;y.isPrivateName=$v;y.isProgram=$1;y.isProperty=SI;y.isPureish=uI;y.isQualifiedTypeIdentifier=kA;y.isRecordExpression=Aw;y.isRegExpLiteral=j1;y.isRegexLiteral=KI;y.isRestElement=Y1;y.isRestProperty=WI;y.isReturnStatement=z1;y.isScopable=HC;y.isSequenceExpression=J1;y.isSpreadElement=wv;y.isSpreadProperty=VI;y.isStandardized=zC;y.isStatement=ZC;y.isStaticBlock=Kv;y.isStringLiteral=L1;y.isStringLiteralTypeAnnotation=NA;y.isStringTypeAnnotation=OA;y.isSuper=Cv;y.isSwitchCase=H1;y.isSwitchStatement=G1;y.isSymbolTypeAnnotation=_A;y.isTSAnyKeyword=Kw;y.isTSArrayType=cC;y.isTSAsExpression=kC;y.isTSBaseType=UI;y.isTSBigIntKeyword=Vw;y.isTSBooleanKeyword=Ww;y.isTSCallSignatureDeclaration=jw;y.isTSConditionalType=yC;y.isTSConstructSignatureDeclaration=Rw;y.isTSConstructorType=sC;y.isTSDeclareFunction=Mw;y.isTSDeclareMethod=Fw;y.isTSEntityName=mI;y.isTSEnumBody=_C;y.isTSEnumDeclaration=DC;y.isTSEnumMember=LC;y.isTSExportAssignment=UC;y.isTSExpressionWithTypeArguments=vC;y.isTSExternalModuleReference=RC;y.isTSFunctionType=iC;y.isTSImportEqualsDeclaration=jC;y.isTSImportType=BC;y.isTSIndexSignature=$w;y.isTSIndexedAccessType=bC;y.isTSInferType=TC;y.isTSInstantiationExpression=IC;y.isTSInterfaceBody=wC;y.isTSInterfaceDeclaration=AC;y.isTSIntersectionType=mC;y.isTSIntrinsicKeyword=Yw;y.isTSLiteralType=PC;y.isTSMappedType=SC;y.isTSMethodSignature=Uw;y.isTSModuleBlock=FC;y.isTSModuleDeclaration=MC;y.isTSNamedTupleMember=hC;y.isTSNamespaceExportDeclaration=$C;y.isTSNeverKeyword=zw;y.isTSNonNullExpression=qC;y.isTSNullKeyword=Jw;y.isTSNumberKeyword=Xw;y.isTSObjectKeyword=Hw;y.isTSOptionalType=pC;y.isTSParameterProperty=Lw;y.isTSParenthesizedType=xC;y.isTSPropertySignature=qw;y.isTSQualifiedName=Bw;y.isTSRestType=fC;y.isTSSatisfiesExpression=NC;y.isTSStringKeyword=Gw;y.isTSSymbolKeyword=Qw;y.isTSTemplateLiteralType=EC;y.isTSThisType=rC;y.isTSTupleType=uC;y.isTSType=qI;y.isTSTypeAliasDeclaration=CC;y.isTSTypeAnnotation=KC;y.isTSTypeAssertion=OC;y.isTSTypeElement=RI;y.isTSTypeLiteral=lC;y.isTSTypeOperator=gC;y.isTSTypeParameter=YC;y.isTSTypeParameterDeclaration=VC;y.isTSTypeParameterInstantiation=WC;y.isTSTypePredicate=aC;y.isTSTypeQuery=oC;y.isTSTypeReference=nC;y.isTSUndefinedKeyword=Zw;y.isTSUnionType=dC;y.isTSUnknownKeyword=eC;y.isTSVoidKeyword=tC;y.isTaggedTemplateExpression=Iv;y.isTemplateElement=kv;y.isTemplateLiteral=Nv;y.isTerminatorless=eI;y.isThisExpression=Q1;y.isThisTypeAnnotation=DA;y.isThrowStatement=Z1;y.isTopicReference=kw;y.isTryStatement=ev;y.isTupleExpression=ww;y.isTupleTypeAnnotation=LA;y.isTypeAlias=FA;y.isTypeAnnotation=BA;y.isTypeCastExpression=jA;y.isTypeParameter=RA;y.isTypeParameterDeclaration=qA;y.isTypeParameterInstantiation=UA;y.isTypeScript=jI;y.isTypeofTypeAnnotation=MA;y.isUnaryExpression=tv;y.isUnaryLike=EI;y.isUnionTypeAnnotation=$A;y.isUpdateExpression=rv;y.isUserWhitespacable=xI;y.isV8IntrinsicIdentifier=gw;y.isVariableDeclaration=iv;y.isVariableDeclarator=sv;y.isVariance=KA;y.isVoidPattern=Dw;y.isVoidTypeAnnotation=WA;y.isWhile=sI;y.isWhileStatement=nv;y.isWithStatement=av;y.isYieldExpression=Ov;var b=Ua(),fn=hs();function u1(t,e){return!t||t.type!=="ArrayExpression"?!1:e==null||(0,b.default)(t,e)}function p1(t,e){return!t||t.type!=="AssignmentExpression"?!1:e==null||(0,b.default)(t,e)}function f1(t,e){return!t||t.type!=="BinaryExpression"?!1:e==null||(0,b.default)(t,e)}function h1(t,e){return!t||t.type!=="InterpreterDirective"?!1:e==null||(0,b.default)(t,e)}function d1(t,e){return!t||t.type!=="Directive"?!1:e==null||(0,b.default)(t,e)}function m1(t,e){return!t||t.type!=="DirectiveLiteral"?!1:e==null||(0,b.default)(t,e)}function y1(t,e){return!t||t.type!=="BlockStatement"?!1:e==null||(0,b.default)(t,e)}function T1(t,e){return!t||t.type!=="BreakStatement"?!1:e==null||(0,b.default)(t,e)}function x1(t,e){return!t||t.type!=="CallExpression"?!1:e==null||(0,b.default)(t,e)}function g1(t,e){return!t||t.type!=="CatchClause"?!1:e==null||(0,b.default)(t,e)}function b1(t,e){return!t||t.type!=="ConditionalExpression"?!1:e==null||(0,b.default)(t,e)}function S1(t,e){return!t||t.type!=="ContinueStatement"?!1:e==null||(0,b.default)(t,e)}function E1(t,e){return!t||t.type!=="DebuggerStatement"?!1:e==null||(0,b.default)(t,e)}function P1(t,e){return!t||t.type!=="DoWhileStatement"?!1:e==null||(0,b.default)(t,e)}function v1(t,e){return!t||t.type!=="EmptyStatement"?!1:e==null||(0,b.default)(t,e)}function A1(t,e){return!t||t.type!=="ExpressionStatement"?!1:e==null||(0,b.default)(t,e)}function w1(t,e){return!t||t.type!=="File"?!1:e==null||(0,b.default)(t,e)}function C1(t,e){return!t||t.type!=="ForInStatement"?!1:e==null||(0,b.default)(t,e)}function I1(t,e){return!t||t.type!=="ForStatement"?!1:e==null||(0,b.default)(t,e)}function k1(t,e){return!t||t.type!=="FunctionDeclaration"?!1:e==null||(0,b.default)(t,e)}function N1(t,e){return!t||t.type!=="FunctionExpression"?!1:e==null||(0,b.default)(t,e)}function O1(t,e){return!t||t.type!=="Identifier"?!1:e==null||(0,b.default)(t,e)}function _1(t,e){return!t||t.type!=="IfStatement"?!1:e==null||(0,b.default)(t,e)}function D1(t,e){return!t||t.type!=="LabeledStatement"?!1:e==null||(0,b.default)(t,e)}function L1(t,e){return!t||t.type!=="StringLiteral"?!1:e==null||(0,b.default)(t,e)}function M1(t,e){return!t||t.type!=="NumericLiteral"?!1:e==null||(0,b.default)(t,e)}function F1(t,e){return!t||t.type!=="NullLiteral"?!1:e==null||(0,b.default)(t,e)}function B1(t,e){return!t||t.type!=="BooleanLiteral"?!1:e==null||(0,b.default)(t,e)}function j1(t,e){return!t||t.type!=="RegExpLiteral"?!1:e==null||(0,b.default)(t,e)}function R1(t,e){return!t||t.type!=="LogicalExpression"?!1:e==null||(0,b.default)(t,e)}function q1(t,e){return!t||t.type!=="MemberExpression"?!1:e==null||(0,b.default)(t,e)}function U1(t,e){return!t||t.type!=="NewExpression"?!1:e==null||(0,b.default)(t,e)}function $1(t,e){return!t||t.type!=="Program"?!1:e==null||(0,b.default)(t,e)}function K1(t,e){return!t||t.type!=="ObjectExpression"?!1:e==null||(0,b.default)(t,e)}function W1(t,e){return!t||t.type!=="ObjectMethod"?!1:e==null||(0,b.default)(t,e)}function V1(t,e){return!t||t.type!=="ObjectProperty"?!1:e==null||(0,b.default)(t,e)}function Y1(t,e){return!t||t.type!=="RestElement"?!1:e==null||(0,b.default)(t,e)}function z1(t,e){return!t||t.type!=="ReturnStatement"?!1:e==null||(0,b.default)(t,e)}function J1(t,e){return!t||t.type!=="SequenceExpression"?!1:e==null||(0,b.default)(t,e)}function X1(t,e){return!t||t.type!=="ParenthesizedExpression"?!1:e==null||(0,b.default)(t,e)}function H1(t,e){return!t||t.type!=="SwitchCase"?!1:e==null||(0,b.default)(t,e)}function G1(t,e){return!t||t.type!=="SwitchStatement"?!1:e==null||(0,b.default)(t,e)}function Q1(t,e){return!t||t.type!=="ThisExpression"?!1:e==null||(0,b.default)(t,e)}function Z1(t,e){return!t||t.type!=="ThrowStatement"?!1:e==null||(0,b.default)(t,e)}function ev(t,e){return!t||t.type!=="TryStatement"?!1:e==null||(0,b.default)(t,e)}function tv(t,e){return!t||t.type!=="UnaryExpression"?!1:e==null||(0,b.default)(t,e)}function rv(t,e){return!t||t.type!=="UpdateExpression"?!1:e==null||(0,b.default)(t,e)}function iv(t,e){return!t||t.type!=="VariableDeclaration"?!1:e==null||(0,b.default)(t,e)}function sv(t,e){return!t||t.type!=="VariableDeclarator"?!1:e==null||(0,b.default)(t,e)}function nv(t,e){return!t||t.type!=="WhileStatement"?!1:e==null||(0,b.default)(t,e)}function av(t,e){return!t||t.type!=="WithStatement"?!1:e==null||(0,b.default)(t,e)}function ov(t,e){return!t||t.type!=="AssignmentPattern"?!1:e==null||(0,b.default)(t,e)}function lv(t,e){return!t||t.type!=="ArrayPattern"?!1:e==null||(0,b.default)(t,e)}function cv(t,e){return!t||t.type!=="ArrowFunctionExpression"?!1:e==null||(0,b.default)(t,e)}function uv(t,e){return!t||t.type!=="ClassBody"?!1:e==null||(0,b.default)(t,e)}function pv(t,e){return!t||t.type!=="ClassExpression"?!1:e==null||(0,b.default)(t,e)}function fv(t,e){return!t||t.type!=="ClassDeclaration"?!1:e==null||(0,b.default)(t,e)}function hv(t,e){return!t||t.type!=="ExportAllDeclaration"?!1:e==null||(0,b.default)(t,e)}function dv(t,e){return!t||t.type!=="ExportDefaultDeclaration"?!1:e==null||(0,b.default)(t,e)}function mv(t,e){return!t||t.type!=="ExportNamedDeclaration"?!1:e==null||(0,b.default)(t,e)}function yv(t,e){return!t||t.type!=="ExportSpecifier"?!1:e==null||(0,b.default)(t,e)}function Tv(t,e){return!t||t.type!=="ForOfStatement"?!1:e==null||(0,b.default)(t,e)}function xv(t,e){return!t||t.type!=="ImportDeclaration"?!1:e==null||(0,b.default)(t,e)}function gv(t,e){return!t||t.type!=="ImportDefaultSpecifier"?!1:e==null||(0,b.default)(t,e)}function bv(t,e){return!t||t.type!=="ImportNamespaceSpecifier"?!1:e==null||(0,b.default)(t,e)}function Sv(t,e){return!t||t.type!=="ImportSpecifier"?!1:e==null||(0,b.default)(t,e)}function Ev(t,e){return!t||t.type!=="ImportExpression"?!1:e==null||(0,b.default)(t,e)}function Pv(t,e){return!t||t.type!=="MetaProperty"?!1:e==null||(0,b.default)(t,e)}function vv(t,e){return!t||t.type!=="ClassMethod"?!1:e==null||(0,b.default)(t,e)}function Av(t,e){return!t||t.type!=="ObjectPattern"?!1:e==null||(0,b.default)(t,e)}function wv(t,e){return!t||t.type!=="SpreadElement"?!1:e==null||(0,b.default)(t,e)}function Cv(t,e){return!t||t.type!=="Super"?!1:e==null||(0,b.default)(t,e)}function Iv(t,e){return!t||t.type!=="TaggedTemplateExpression"?!1:e==null||(0,b.default)(t,e)}function kv(t,e){return!t||t.type!=="TemplateElement"?!1:e==null||(0,b.default)(t,e)}function Nv(t,e){return!t||t.type!=="TemplateLiteral"?!1:e==null||(0,b.default)(t,e)}function Ov(t,e){return!t||t.type!=="YieldExpression"?!1:e==null||(0,b.default)(t,e)}function _v(t,e){return!t||t.type!=="AwaitExpression"?!1:e==null||(0,b.default)(t,e)}function Dv(t,e){return!t||t.type!=="Import"?!1:e==null||(0,b.default)(t,e)}function Lv(t,e){return!t||t.type!=="BigIntLiteral"?!1:e==null||(0,b.default)(t,e)}function Mv(t,e){return!t||t.type!=="ExportNamespaceSpecifier"?!1:e==null||(0,b.default)(t,e)}function Fv(t,e){return!t||t.type!=="OptionalMemberExpression"?!1:e==null||(0,b.default)(t,e)}function Bv(t,e){return!t||t.type!=="OptionalCallExpression"?!1:e==null||(0,b.default)(t,e)}function jv(t,e){return!t||t.type!=="ClassProperty"?!1:e==null||(0,b.default)(t,e)}function Rv(t,e){return!t||t.type!=="ClassAccessorProperty"?!1:e==null||(0,b.default)(t,e)}function qv(t,e){return!t||t.type!=="ClassPrivateProperty"?!1:e==null||(0,b.default)(t,e)}function Uv(t,e){return!t||t.type!=="ClassPrivateMethod"?!1:e==null||(0,b.default)(t,e)}function $v(t,e){return!t||t.type!=="PrivateName"?!1:e==null||(0,b.default)(t,e)}function Kv(t,e){return!t||t.type!=="StaticBlock"?!1:e==null||(0,b.default)(t,e)}function Wv(t,e){return!t||t.type!=="ImportAttribute"?!1:e==null||(0,b.default)(t,e)}function Vv(t,e){return!t||t.type!=="AnyTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function Yv(t,e){return!t||t.type!=="ArrayTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function zv(t,e){return!t||t.type!=="BooleanTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function Jv(t,e){return!t||t.type!=="BooleanLiteralTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function Xv(t,e){return!t||t.type!=="NullLiteralTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function Hv(t,e){return!t||t.type!=="ClassImplements"?!1:e==null||(0,b.default)(t,e)}function Gv(t,e){return!t||t.type!=="DeclareClass"?!1:e==null||(0,b.default)(t,e)}function Qv(t,e){return!t||t.type!=="DeclareFunction"?!1:e==null||(0,b.default)(t,e)}function Zv(t,e){return!t||t.type!=="DeclareInterface"?!1:e==null||(0,b.default)(t,e)}function eA(t,e){return!t||t.type!=="DeclareModule"?!1:e==null||(0,b.default)(t,e)}function tA(t,e){return!t||t.type!=="DeclareModuleExports"?!1:e==null||(0,b.default)(t,e)}function rA(t,e){return!t||t.type!=="DeclareTypeAlias"?!1:e==null||(0,b.default)(t,e)}function iA(t,e){return!t||t.type!=="DeclareOpaqueType"?!1:e==null||(0,b.default)(t,e)}function sA(t,e){return!t||t.type!=="DeclareVariable"?!1:e==null||(0,b.default)(t,e)}function nA(t,e){return!t||t.type!=="DeclareExportDeclaration"?!1:e==null||(0,b.default)(t,e)}function aA(t,e){return!t||t.type!=="DeclareExportAllDeclaration"?!1:e==null||(0,b.default)(t,e)}function oA(t,e){return!t||t.type!=="DeclaredPredicate"?!1:e==null||(0,b.default)(t,e)}function lA(t,e){return!t||t.type!=="ExistsTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function cA(t,e){return!t||t.type!=="FunctionTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function uA(t,e){return!t||t.type!=="FunctionTypeParam"?!1:e==null||(0,b.default)(t,e)}function pA(t,e){return!t||t.type!=="GenericTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function fA(t,e){return!t||t.type!=="InferredPredicate"?!1:e==null||(0,b.default)(t,e)}function hA(t,e){return!t||t.type!=="InterfaceExtends"?!1:e==null||(0,b.default)(t,e)}function dA(t,e){return!t||t.type!=="InterfaceDeclaration"?!1:e==null||(0,b.default)(t,e)}function mA(t,e){return!t||t.type!=="InterfaceTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function yA(t,e){return!t||t.type!=="IntersectionTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function TA(t,e){return!t||t.type!=="MixedTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function xA(t,e){return!t||t.type!=="EmptyTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function gA(t,e){return!t||t.type!=="NullableTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function bA(t,e){return!t||t.type!=="NumberLiteralTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function SA(t,e){return!t||t.type!=="NumberTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function EA(t,e){return!t||t.type!=="ObjectTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function PA(t,e){return!t||t.type!=="ObjectTypeInternalSlot"?!1:e==null||(0,b.default)(t,e)}function vA(t,e){return!t||t.type!=="ObjectTypeCallProperty"?!1:e==null||(0,b.default)(t,e)}function AA(t,e){return!t||t.type!=="ObjectTypeIndexer"?!1:e==null||(0,b.default)(t,e)}function wA(t,e){return!t||t.type!=="ObjectTypeProperty"?!1:e==null||(0,b.default)(t,e)}function CA(t,e){return!t||t.type!=="ObjectTypeSpreadProperty"?!1:e==null||(0,b.default)(t,e)}function IA(t,e){return!t||t.type!=="OpaqueType"?!1:e==null||(0,b.default)(t,e)}function kA(t,e){return!t||t.type!=="QualifiedTypeIdentifier"?!1:e==null||(0,b.default)(t,e)}function NA(t,e){return!t||t.type!=="StringLiteralTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function OA(t,e){return!t||t.type!=="StringTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function _A(t,e){return!t||t.type!=="SymbolTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function DA(t,e){return!t||t.type!=="ThisTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function LA(t,e){return!t||t.type!=="TupleTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function MA(t,e){return!t||t.type!=="TypeofTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function FA(t,e){return!t||t.type!=="TypeAlias"?!1:e==null||(0,b.default)(t,e)}function BA(t,e){return!t||t.type!=="TypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function jA(t,e){return!t||t.type!=="TypeCastExpression"?!1:e==null||(0,b.default)(t,e)}function RA(t,e){return!t||t.type!=="TypeParameter"?!1:e==null||(0,b.default)(t,e)}function qA(t,e){return!t||t.type!=="TypeParameterDeclaration"?!1:e==null||(0,b.default)(t,e)}function UA(t,e){return!t||t.type!=="TypeParameterInstantiation"?!1:e==null||(0,b.default)(t,e)}function $A(t,e){return!t||t.type!=="UnionTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function KA(t,e){return!t||t.type!=="Variance"?!1:e==null||(0,b.default)(t,e)}function WA(t,e){return!t||t.type!=="VoidTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function VA(t,e){return!t||t.type!=="EnumDeclaration"?!1:e==null||(0,b.default)(t,e)}function YA(t,e){return!t||t.type!=="EnumBooleanBody"?!1:e==null||(0,b.default)(t,e)}function zA(t,e){return!t||t.type!=="EnumNumberBody"?!1:e==null||(0,b.default)(t,e)}function JA(t,e){return!t||t.type!=="EnumStringBody"?!1:e==null||(0,b.default)(t,e)}function XA(t,e){return!t||t.type!=="EnumSymbolBody"?!1:e==null||(0,b.default)(t,e)}function HA(t,e){return!t||t.type!=="EnumBooleanMember"?!1:e==null||(0,b.default)(t,e)}function GA(t,e){return!t||t.type!=="EnumNumberMember"?!1:e==null||(0,b.default)(t,e)}function QA(t,e){return!t||t.type!=="EnumStringMember"?!1:e==null||(0,b.default)(t,e)}function ZA(t,e){return!t||t.type!=="EnumDefaultedMember"?!1:e==null||(0,b.default)(t,e)}function ew(t,e){return!t||t.type!=="IndexedAccessType"?!1:e==null||(0,b.default)(t,e)}function tw(t,e){return!t||t.type!=="OptionalIndexedAccessType"?!1:e==null||(0,b.default)(t,e)}function rw(t,e){return!t||t.type!=="JSXAttribute"?!1:e==null||(0,b.default)(t,e)}function iw(t,e){return!t||t.type!=="JSXClosingElement"?!1:e==null||(0,b.default)(t,e)}function sw(t,e){return!t||t.type!=="JSXElement"?!1:e==null||(0,b.default)(t,e)}function nw(t,e){return!t||t.type!=="JSXEmptyExpression"?!1:e==null||(0,b.default)(t,e)}function aw(t,e){return!t||t.type!=="JSXExpressionContainer"?!1:e==null||(0,b.default)(t,e)}function ow(t,e){return!t||t.type!=="JSXSpreadChild"?!1:e==null||(0,b.default)(t,e)}function lw(t,e){return!t||t.type!=="JSXIdentifier"?!1:e==null||(0,b.default)(t,e)}function cw(t,e){return!t||t.type!=="JSXMemberExpression"?!1:e==null||(0,b.default)(t,e)}function uw(t,e){return!t||t.type!=="JSXNamespacedName"?!1:e==null||(0,b.default)(t,e)}function pw(t,e){return!t||t.type!=="JSXOpeningElement"?!1:e==null||(0,b.default)(t,e)}function fw(t,e){return!t||t.type!=="JSXSpreadAttribute"?!1:e==null||(0,b.default)(t,e)}function hw(t,e){return!t||t.type!=="JSXText"?!1:e==null||(0,b.default)(t,e)}function dw(t,e){return!t||t.type!=="JSXFragment"?!1:e==null||(0,b.default)(t,e)}function mw(t,e){return!t||t.type!=="JSXOpeningFragment"?!1:e==null||(0,b.default)(t,e)}function yw(t,e){return!t||t.type!=="JSXClosingFragment"?!1:e==null||(0,b.default)(t,e)}function Tw(t,e){return!t||t.type!=="Noop"?!1:e==null||(0,b.default)(t,e)}function xw(t,e){return!t||t.type!=="Placeholder"?!1:e==null||(0,b.default)(t,e)}function gw(t,e){return!t||t.type!=="V8IntrinsicIdentifier"?!1:e==null||(0,b.default)(t,e)}function bw(t,e){return!t||t.type!=="ArgumentPlaceholder"?!1:e==null||(0,b.default)(t,e)}function Sw(t,e){return!t||t.type!=="BindExpression"?!1:e==null||(0,b.default)(t,e)}function Ew(t,e){return!t||t.type!=="Decorator"?!1:e==null||(0,b.default)(t,e)}function Pw(t,e){return!t||t.type!=="DoExpression"?!1:e==null||(0,b.default)(t,e)}function vw(t,e){return!t||t.type!=="ExportDefaultSpecifier"?!1:e==null||(0,b.default)(t,e)}function Aw(t,e){return!t||t.type!=="RecordExpression"?!1:e==null||(0,b.default)(t,e)}function ww(t,e){return!t||t.type!=="TupleExpression"?!1:e==null||(0,b.default)(t,e)}function Cw(t,e){return!t||t.type!=="DecimalLiteral"?!1:e==null||(0,b.default)(t,e)}function Iw(t,e){return!t||t.type!=="ModuleExpression"?!1:e==null||(0,b.default)(t,e)}function kw(t,e){return!t||t.type!=="TopicReference"?!1:e==null||(0,b.default)(t,e)}function Nw(t,e){return!t||t.type!=="PipelineTopicExpression"?!1:e==null||(0,b.default)(t,e)}function Ow(t,e){return!t||t.type!=="PipelineBareFunction"?!1:e==null||(0,b.default)(t,e)}function _w(t,e){return!t||t.type!=="PipelinePrimaryTopicReference"?!1:e==null||(0,b.default)(t,e)}function Dw(t,e){return!t||t.type!=="VoidPattern"?!1:e==null||(0,b.default)(t,e)}function Lw(t,e){return!t||t.type!=="TSParameterProperty"?!1:e==null||(0,b.default)(t,e)}function Mw(t,e){return!t||t.type!=="TSDeclareFunction"?!1:e==null||(0,b.default)(t,e)}function Fw(t,e){return!t||t.type!=="TSDeclareMethod"?!1:e==null||(0,b.default)(t,e)}function Bw(t,e){return!t||t.type!=="TSQualifiedName"?!1:e==null||(0,b.default)(t,e)}function jw(t,e){return!t||t.type!=="TSCallSignatureDeclaration"?!1:e==null||(0,b.default)(t,e)}function Rw(t,e){return!t||t.type!=="TSConstructSignatureDeclaration"?!1:e==null||(0,b.default)(t,e)}function qw(t,e){return!t||t.type!=="TSPropertySignature"?!1:e==null||(0,b.default)(t,e)}function Uw(t,e){return!t||t.type!=="TSMethodSignature"?!1:e==null||(0,b.default)(t,e)}function $w(t,e){return!t||t.type!=="TSIndexSignature"?!1:e==null||(0,b.default)(t,e)}function Kw(t,e){return!t||t.type!=="TSAnyKeyword"?!1:e==null||(0,b.default)(t,e)}function Ww(t,e){return!t||t.type!=="TSBooleanKeyword"?!1:e==null||(0,b.default)(t,e)}function Vw(t,e){return!t||t.type!=="TSBigIntKeyword"?!1:e==null||(0,b.default)(t,e)}function Yw(t,e){return!t||t.type!=="TSIntrinsicKeyword"?!1:e==null||(0,b.default)(t,e)}function zw(t,e){return!t||t.type!=="TSNeverKeyword"?!1:e==null||(0,b.default)(t,e)}function Jw(t,e){return!t||t.type!=="TSNullKeyword"?!1:e==null||(0,b.default)(t,e)}function Xw(t,e){return!t||t.type!=="TSNumberKeyword"?!1:e==null||(0,b.default)(t,e)}function Hw(t,e){return!t||t.type!=="TSObjectKeyword"?!1:e==null||(0,b.default)(t,e)}function Gw(t,e){return!t||t.type!=="TSStringKeyword"?!1:e==null||(0,b.default)(t,e)}function Qw(t,e){return!t||t.type!=="TSSymbolKeyword"?!1:e==null||(0,b.default)(t,e)}function Zw(t,e){return!t||t.type!=="TSUndefinedKeyword"?!1:e==null||(0,b.default)(t,e)}function eC(t,e){return!t||t.type!=="TSUnknownKeyword"?!1:e==null||(0,b.default)(t,e)}function tC(t,e){return!t||t.type!=="TSVoidKeyword"?!1:e==null||(0,b.default)(t,e)}function rC(t,e){return!t||t.type!=="TSThisType"?!1:e==null||(0,b.default)(t,e)}function iC(t,e){return!t||t.type!=="TSFunctionType"?!1:e==null||(0,b.default)(t,e)}function sC(t,e){return!t||t.type!=="TSConstructorType"?!1:e==null||(0,b.default)(t,e)}function nC(t,e){return!t||t.type!=="TSTypeReference"?!1:e==null||(0,b.default)(t,e)}function aC(t,e){return!t||t.type!=="TSTypePredicate"?!1:e==null||(0,b.default)(t,e)}function oC(t,e){return!t||t.type!=="TSTypeQuery"?!1:e==null||(0,b.default)(t,e)}function lC(t,e){return!t||t.type!=="TSTypeLiteral"?!1:e==null||(0,b.default)(t,e)}function cC(t,e){return!t||t.type!=="TSArrayType"?!1:e==null||(0,b.default)(t,e)}function uC(t,e){return!t||t.type!=="TSTupleType"?!1:e==null||(0,b.default)(t,e)}function pC(t,e){return!t||t.type!=="TSOptionalType"?!1:e==null||(0,b.default)(t,e)}function fC(t,e){return!t||t.type!=="TSRestType"?!1:e==null||(0,b.default)(t,e)}function hC(t,e){return!t||t.type!=="TSNamedTupleMember"?!1:e==null||(0,b.default)(t,e)}function dC(t,e){return!t||t.type!=="TSUnionType"?!1:e==null||(0,b.default)(t,e)}function mC(t,e){return!t||t.type!=="TSIntersectionType"?!1:e==null||(0,b.default)(t,e)}function yC(t,e){return!t||t.type!=="TSConditionalType"?!1:e==null||(0,b.default)(t,e)}function TC(t,e){return!t||t.type!=="TSInferType"?!1:e==null||(0,b.default)(t,e)}function xC(t,e){return!t||t.type!=="TSParenthesizedType"?!1:e==null||(0,b.default)(t,e)}function gC(t,e){return!t||t.type!=="TSTypeOperator"?!1:e==null||(0,b.default)(t,e)}function bC(t,e){return!t||t.type!=="TSIndexedAccessType"?!1:e==null||(0,b.default)(t,e)}function SC(t,e){return!t||t.type!=="TSMappedType"?!1:e==null||(0,b.default)(t,e)}function EC(t,e){return!t||t.type!=="TSTemplateLiteralType"?!1:e==null||(0,b.default)(t,e)}function PC(t,e){return!t||t.type!=="TSLiteralType"?!1:e==null||(0,b.default)(t,e)}function vC(t,e){return!t||t.type!=="TSExpressionWithTypeArguments"?!1:e==null||(0,b.default)(t,e)}function AC(t,e){return!t||t.type!=="TSInterfaceDeclaration"?!1:e==null||(0,b.default)(t,e)}function wC(t,e){return!t||t.type!=="TSInterfaceBody"?!1:e==null||(0,b.default)(t,e)}function CC(t,e){return!t||t.type!=="TSTypeAliasDeclaration"?!1:e==null||(0,b.default)(t,e)}function IC(t,e){return!t||t.type!=="TSInstantiationExpression"?!1:e==null||(0,b.default)(t,e)}function kC(t,e){return!t||t.type!=="TSAsExpression"?!1:e==null||(0,b.default)(t,e)}function NC(t,e){return!t||t.type!=="TSSatisfiesExpression"?!1:e==null||(0,b.default)(t,e)}function OC(t,e){return!t||t.type!=="TSTypeAssertion"?!1:e==null||(0,b.default)(t,e)}function _C(t,e){return!t||t.type!=="TSEnumBody"?!1:e==null||(0,b.default)(t,e)}function DC(t,e){return!t||t.type!=="TSEnumDeclaration"?!1:e==null||(0,b.default)(t,e)}function LC(t,e){return!t||t.type!=="TSEnumMember"?!1:e==null||(0,b.default)(t,e)}function MC(t,e){return!t||t.type!=="TSModuleDeclaration"?!1:e==null||(0,b.default)(t,e)}function FC(t,e){return!t||t.type!=="TSModuleBlock"?!1:e==null||(0,b.default)(t,e)}function BC(t,e){return!t||t.type!=="TSImportType"?!1:e==null||(0,b.default)(t,e)}function jC(t,e){return!t||t.type!=="TSImportEqualsDeclaration"?!1:e==null||(0,b.default)(t,e)}function RC(t,e){return!t||t.type!=="TSExternalModuleReference"?!1:e==null||(0,b.default)(t,e)}function qC(t,e){return!t||t.type!=="TSNonNullExpression"?!1:e==null||(0,b.default)(t,e)}function UC(t,e){return!t||t.type!=="TSExportAssignment"?!1:e==null||(0,b.default)(t,e)}function $C(t,e){return!t||t.type!=="TSNamespaceExportDeclaration"?!1:e==null||(0,b.default)(t,e)}function KC(t,e){return!t||t.type!=="TSTypeAnnotation"?!1:e==null||(0,b.default)(t,e)}function WC(t,e){return!t||t.type!=="TSTypeParameterInstantiation"?!1:e==null||(0,b.default)(t,e)}function VC(t,e){return!t||t.type!=="TSTypeParameterDeclaration"?!1:e==null||(0,b.default)(t,e)}function YC(t,e){return!t||t.type!=="TSTypeParameter"?!1:e==null||(0,b.default)(t,e)}function zC(t,e){if(!t)return!1;switch(t.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"InterpreterDirective":case"Directive":case"DirectiveLiteral":case"BlockStatement":case"BreakStatement":case"CallExpression":case"CatchClause":case"ConditionalExpression":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"File":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Identifier":case"IfStatement":case"LabeledStatement":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"Program":case"ObjectExpression":case"ObjectMethod":case"ObjectProperty":case"RestElement":case"ReturnStatement":case"SequenceExpression":case"ParenthesizedExpression":case"SwitchCase":case"SwitchStatement":case"ThisExpression":case"ThrowStatement":case"TryStatement":case"UnaryExpression":case"UpdateExpression":case"VariableDeclaration":case"VariableDeclarator":case"WhileStatement":case"WithStatement":case"AssignmentPattern":case"ArrayPattern":case"ArrowFunctionExpression":case"ClassBody":case"ClassExpression":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportSpecifier":case"ForOfStatement":case"ImportDeclaration":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportExpression":case"MetaProperty":case"ClassMethod":case"ObjectPattern":case"SpreadElement":case"Super":case"TaggedTemplateExpression":case"TemplateElement":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"ExportNamespaceSpecifier":case"OptionalMemberExpression":case"OptionalCallExpression":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":case"StaticBlock":case"ImportAttribute":break;case"Placeholder":switch(t.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return e==null||(0,b.default)(t,e)}function JC(t,e){if(!t)return!1;switch(t.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ParenthesizedExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":case"ArrowFunctionExpression":case"ClassExpression":case"ImportExpression":case"MetaProperty":case"Super":case"TaggedTemplateExpression":case"TemplateLiteral":case"YieldExpression":case"AwaitExpression":case"Import":case"BigIntLiteral":case"OptionalMemberExpression":case"OptionalCallExpression":case"TypeCastExpression":case"JSXElement":case"JSXFragment":case"BindExpression":case"DoExpression":case"RecordExpression":case"TupleExpression":case"DecimalLiteral":case"ModuleExpression":case"TopicReference":case"PipelineTopicExpression":case"PipelineBareFunction":case"PipelinePrimaryTopicReference":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return e==null||(0,b.default)(t,e)}function XC(t,e){if(!t)return!1;switch(t.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return e==null||(0,b.default)(t,e)}function HC(t,e){if(!t)return!1;switch(t.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ClassExpression":case"ClassDeclaration":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,b.default)(t,e)}function GC(t,e){if(!t)return!1;switch(t.type){case"BlockStatement":case"CatchClause":case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"FunctionExpression":case"Program":case"ObjectMethod":case"SwitchStatement":case"WhileStatement":case"ArrowFunctionExpression":case"ForOfStatement":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,b.default)(t,e)}function QC(t,e){if(!t)return!1;switch(t.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(t.expectedNode==="BlockStatement")break;default:return!1}return e==null||(0,b.default)(t,e)}function ZC(t,e){if(!t)return!1;switch(t.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"FunctionDeclaration":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ForOfStatement":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":case"TSExportAssignment":case"TSNamespaceExportDeclaration":break;case"Placeholder":switch(t.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return e==null||(0,b.default)(t,e)}function eI(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return e==null||(0,b.default)(t,e)}function tI(t,e){if(!t)return!1;switch(t.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return e==null||(0,b.default)(t,e)}function rI(t,e){if(!t)return!1;switch(t.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return e==null||(0,b.default)(t,e)}function iI(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,b.default)(t,e)}function sI(t,e){if(!t)return!1;switch(t.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return e==null||(0,b.default)(t,e)}function nI(t,e){if(!t)return!1;switch(t.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return e==null||(0,b.default)(t,e)}function aI(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,b.default)(t,e)}function oI(t,e){if(!t)return!1;switch(t.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return e==null||(0,b.default)(t,e)}function lI(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,b.default)(t,e)}function cI(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return e==null||(0,b.default)(t,e)}function uI(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"FunctionExpression":case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"ArrowFunctionExpression":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,b.default)(t,e)}function pI(t,e){if(!t)return!1;switch(t.type){case"FunctionDeclaration":case"VariableDeclaration":case"ClassDeclaration":case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":case"EnumDeclaration":case"TSDeclareFunction":case"TSInterfaceDeclaration":case"TSTypeAliasDeclaration":case"TSEnumDeclaration":case"TSModuleDeclaration":case"TSImportEqualsDeclaration":break;case"Placeholder":if(t.expectedNode==="Declaration")break;default:return!1}return e==null||(0,b.default)(t,e)}function fI(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,b.default)(t,e)}function hI(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,b.default)(t,e)}function dI(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"OptionalMemberExpression":case"TSParameterProperty":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(t.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return e==null||(0,b.default)(t,e)}function mI(t,e){if(!t)return!1;switch(t.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(t.expectedNode==="Identifier")break;default:return!1}return e==null||(0,b.default)(t,e)}function yI(t,e){if(!t)return!1;switch(t.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,b.default)(t,e)}function TI(t,e){if(!t)return!1;switch(t.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"BigIntLiteral":case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXOpeningElement":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":case"DecimalLiteral":break;case"Placeholder":if(t.expectedNode==="StringLiteral")break;default:return!1}return e==null||(0,b.default)(t,e)}function xI(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return e==null||(0,b.default)(t,e)}function gI(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return e==null||(0,b.default)(t,e)}function bI(t,e){if(!t)return!1;switch(t.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return e==null||(0,b.default)(t,e)}function SI(t,e){if(!t)return!1;switch(t.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return e==null||(0,b.default)(t,e)}function EI(t,e){if(!t)return!1;switch(t.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return e==null||(0,b.default)(t,e)}function PI(t,e){if(!t)return!1;switch(t.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(t.expectedNode==="Pattern")break;default:return!1}return e==null||(0,b.default)(t,e)}function vI(t,e){if(!t)return!1;switch(t.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return e==null||(0,b.default)(t,e)}function pm(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return e==null||(0,b.default)(t,e)}function AI(t,e){if(!t)return!1;switch(t.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return e==null||(0,b.default)(t,e)}function wI(t,e){if(!t)return!1;switch(t.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return e==null||(0,b.default)(t,e)}function CI(t,e){if(!t)return!1;switch(t.type){case"ClassAccessorProperty":break;default:return!1}return e==null||(0,b.default)(t,e)}function II(t,e){if(!t)return!1;switch(t.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return e==null||(0,b.default)(t,e)}function kI(t,e){if(!t)return!1;switch(t.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ClassImplements":case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"DeclaredPredicate":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"FunctionTypeParam":case"GenericTypeAnnotation":case"InferredPredicate":case"InterfaceExtends":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":case"OpaqueType":case"QualifiedTypeIdentifier":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"TypeAlias":case"TypeAnnotation":case"TypeCastExpression":case"TypeParameter":case"TypeParameterDeclaration":case"TypeParameterInstantiation":case"UnionTypeAnnotation":case"Variance":case"VoidTypeAnnotation":case"EnumDeclaration":case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return e==null||(0,b.default)(t,e)}function NI(t,e){if(!t)return!1;switch(t.type){case"AnyTypeAnnotation":case"ArrayTypeAnnotation":case"BooleanTypeAnnotation":case"BooleanLiteralTypeAnnotation":case"NullLiteralTypeAnnotation":case"ExistsTypeAnnotation":case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"InterfaceTypeAnnotation":case"IntersectionTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NullableTypeAnnotation":case"NumberLiteralTypeAnnotation":case"NumberTypeAnnotation":case"ObjectTypeAnnotation":case"StringLiteralTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"TupleTypeAnnotation":case"TypeofTypeAnnotation":case"UnionTypeAnnotation":case"VoidTypeAnnotation":case"IndexedAccessType":case"OptionalIndexedAccessType":break;default:return!1}return e==null||(0,b.default)(t,e)}function OI(t,e){if(!t)return!1;switch(t.type){case"AnyTypeAnnotation":case"BooleanTypeAnnotation":case"NullLiteralTypeAnnotation":case"MixedTypeAnnotation":case"EmptyTypeAnnotation":case"NumberTypeAnnotation":case"StringTypeAnnotation":case"SymbolTypeAnnotation":case"ThisTypeAnnotation":case"VoidTypeAnnotation":break;default:return!1}return e==null||(0,b.default)(t,e)}function _I(t,e){if(!t)return!1;switch(t.type){case"DeclareClass":case"DeclareFunction":case"DeclareInterface":case"DeclareModule":case"DeclareModuleExports":case"DeclareTypeAlias":case"DeclareOpaqueType":case"DeclareVariable":case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":case"InterfaceDeclaration":case"OpaqueType":case"TypeAlias":break;default:return!1}return e==null||(0,b.default)(t,e)}function DI(t,e){if(!t)return!1;switch(t.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return e==null||(0,b.default)(t,e)}function LI(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return e==null||(0,b.default)(t,e)}function MI(t,e){if(!t)return!1;switch(t.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return e==null||(0,b.default)(t,e)}function FI(t,e){if(!t)return!1;switch(t.type){case"JSXAttribute":case"JSXClosingElement":case"JSXElement":case"JSXEmptyExpression":case"JSXExpressionContainer":case"JSXSpreadChild":case"JSXIdentifier":case"JSXMemberExpression":case"JSXNamespacedName":case"JSXOpeningElement":case"JSXSpreadAttribute":case"JSXText":case"JSXFragment":case"JSXOpeningFragment":case"JSXClosingFragment":break;default:return!1}return e==null||(0,b.default)(t,e)}function BI(t,e){if(!t)return!1;switch(t.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return e==null||(0,b.default)(t,e)}function jI(t,e){if(!t)return!1;switch(t.type){case"TSParameterProperty":case"TSDeclareFunction":case"TSDeclareMethod":case"TSQualifiedName":case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSNamedTupleMember":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":case"TSEnumDeclaration":case"TSEnumMember":case"TSModuleDeclaration":case"TSModuleBlock":case"TSImportType":case"TSImportEqualsDeclaration":case"TSExternalModuleReference":case"TSNonNullExpression":case"TSExportAssignment":case"TSNamespaceExportDeclaration":case"TSTypeAnnotation":case"TSTypeParameterInstantiation":case"TSTypeParameterDeclaration":case"TSTypeParameter":break;default:return!1}return e==null||(0,b.default)(t,e)}function RI(t,e){if(!t)return!1;switch(t.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return e==null||(0,b.default)(t,e)}function qI(t,e){if(!t)return!1;switch(t.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSFunctionType":case"TSConstructorType":case"TSTypeReference":case"TSTypePredicate":case"TSTypeQuery":case"TSTypeLiteral":case"TSArrayType":case"TSTupleType":case"TSOptionalType":case"TSRestType":case"TSUnionType":case"TSIntersectionType":case"TSConditionalType":case"TSInferType":case"TSParenthesizedType":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return e==null||(0,b.default)(t,e)}function UI(t,e){if(!t)return!1;switch(t.type){case"TSAnyKeyword":case"TSBooleanKeyword":case"TSBigIntKeyword":case"TSIntrinsicKeyword":case"TSNeverKeyword":case"TSNullKeyword":case"TSNumberKeyword":case"TSObjectKeyword":case"TSStringKeyword":case"TSSymbolKeyword":case"TSUndefinedKeyword":case"TSUnknownKeyword":case"TSVoidKeyword":case"TSThisType":case"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return e==null||(0,b.default)(t,e)}function $I(t,e){return(0,fn.default)("isNumberLiteral","isNumericLiteral"),!t||t.type!=="NumberLiteral"?!1:e==null||(0,b.default)(t,e)}function KI(t,e){return(0,fn.default)("isRegexLiteral","isRegExpLiteral"),!t||t.type!=="RegexLiteral"?!1:e==null||(0,b.default)(t,e)}function WI(t,e){return(0,fn.default)("isRestProperty","isRestElement"),!t||t.type!=="RestProperty"?!1:e==null||(0,b.default)(t,e)}function VI(t,e){return(0,fn.default)("isSpreadProperty","isSpreadElement"),!t||t.type!=="SpreadProperty"?!1:e==null||(0,b.default)(t,e)}function YI(t,e){return(0,fn.default)("isModuleDeclaration","isImportOrExportDeclaration"),pm(t,e)}});var Sc=N(bc=>{"use strict";Object.defineProperty(bc,"__esModule",{value:!0});bc.default=zI;var ki=lt();function fm(t){return(0,ki.isMemberExpression)(t)||(0,ki.isMetaProperty)(t)}function zI(t,e,r){if(!fm(t))return!1;let i=Array.isArray(e)?e:e.split("."),s=[],n;for(n=t;fm(n);n=(a=n.object)!=null?a:n.meta){var a;s.push(n.property)}if(s.push(n),s.length<i.length||!r&&s.length>i.length)return!1;for(let o=0,l=s.length-1;o<i.length;o++,l--){let c=s[l],u;if((0,ki.isIdentifier)(c))u=c.name;else if((0,ki.isStringLiteral)(c))u=c.value;else if((0,ki.isThisExpression)(c))u="this";else if((0,ki.isSuper)(c))u="super";else if((0,ki.isPrivateName)(c))u="#"+c.id.name;else return!1;if(i[o]!==u)return!1}return!0}});var Pc=N(Ec=>{"use strict";Object.defineProperty(Ec,"__esModule",{value:!0});Ec.default=XI;var JI=Sc();function XI(t,e){let r=t.split(".");return i=>(0,JI.default)(i,r,e)}});var hm=N($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});$a.default=void 0;var HI=Pc(),GI=(0,HI.default)("React.Component"),bQ=$a.default=GI});var dm=N(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.default=QI;function QI(t){return!!t&&/^[a-z]/.test(t)}});var Ka=N(Ac=>{"use strict";Object.defineProperty(Ac,"__esModule",{value:!0});Ac.default=ZI;var mm=nr();function ZI(t,e){if(t===e)return!0;if(t==null||mm.ALIAS_KEYS[e])return!1;let r=mm.FLIPPED_ALIAS_KEYS[e];return!!(r!=null&&r.includes(t))}});var Cc=N(wc=>{"use strict";Object.defineProperty(wc,"__esModule",{value:!0});wc.default=tk;var ek=nr();function tk(t,e){if(t===e)return!0;let r=ek.PLACEHOLDERS_ALIAS[t];return!!(r!=null&&r.includes(e))}});var ds=N(Ic=>{"use strict";Object.defineProperty(Ic,"__esModule",{value:!0});Ic.default=ak;var rk=Ua(),ik=Ka(),sk=Cc(),nk=nr();function ak(t,e,r){return e?(0,ik.default)(e.type,t)?r===void 0?!0:(0,rk.default)(e,r):!r&&e.type==="Placeholder"&&t in nk.FLIPPED_ALIAS_KEYS?(0,sk.default)(e.expectedNode,t):!1:!1}});var bm=N(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.isIdentifierChar=gm;hn.isIdentifierName=uk;hn.isIdentifierStart=xm;var Nc="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",ym="\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65",ok=new RegExp("["+Nc+"]"),lk=new RegExp("["+Nc+ym+"]");Nc=ym=null;var Tm=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],ck=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function kc(t,e){let r=65536;for(let i=0,s=e.length;i<s;i+=2){if(r+=e[i],r>t)return!1;if(r+=e[i+1],r>=t)return!0}return!1}function xm(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&ok.test(String.fromCharCode(t)):kc(t,Tm)}function gm(t){return t<48?t===36:t<58?!0:t<65?!1:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&lk.test(String.fromCharCode(t)):kc(t,Tm)||kc(t,ck)}function uk(t){let e=!0;for(let r=0;r<t.length;r++){let i=t.charCodeAt(r);if((i&64512)===55296&&r+1<t.length){let s=t.charCodeAt(++r);(s&64512)===56320&&(i=65536+((i&1023)<<10)+(s&1023))}if(e){if(e=!1,!xm(i))return!1}else if(!gm(i))return!1}return!e}});var vm=N(Ni=>{"use strict";Object.defineProperty(Ni,"__esModule",{value:!0});Ni.isKeyword=mk;Ni.isReservedWord=Sm;Ni.isStrictBindOnlyReservedWord=Pm;Ni.isStrictBindReservedWord=dk;Ni.isStrictReservedWord=Em;var Oc={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},pk=new Set(Oc.keyword),fk=new Set(Oc.strict),hk=new Set(Oc.strictBind);function Sm(t,e){return e&&t==="await"||t==="enum"}function Em(t,e){return Sm(t,e)||fk.has(t)}function Pm(t){return hk.has(t)}function dk(t,e){return Em(t,e)||Pm(t)}function mk(t){return pk.has(t)}});var mn=N(kr=>{"use strict";Object.defineProperty(kr,"__esModule",{value:!0});Object.defineProperty(kr,"isIdentifierChar",{enumerable:!0,get:function(){return _c.isIdentifierChar}});Object.defineProperty(kr,"isIdentifierName",{enumerable:!0,get:function(){return _c.isIdentifierName}});Object.defineProperty(kr,"isIdentifierStart",{enumerable:!0,get:function(){return _c.isIdentifierStart}});Object.defineProperty(kr,"isKeyword",{enumerable:!0,get:function(){return dn.isKeyword}});Object.defineProperty(kr,"isReservedWord",{enumerable:!0,get:function(){return dn.isReservedWord}});Object.defineProperty(kr,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return dn.isStrictBindOnlyReservedWord}});Object.defineProperty(kr,"isStrictBindReservedWord",{enumerable:!0,get:function(){return dn.isStrictBindReservedWord}});Object.defineProperty(kr,"isStrictReservedWord",{enumerable:!0,get:function(){return dn.isStrictReservedWord}});var _c=bm(),dn=vm()});var ms=N(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.default=yk;var Dc=mn();function yk(t,e=!0){return typeof t!="string"||e&&((0,Dc.isKeyword)(t)||(0,Dc.isStrictReservedWord)(t,!0))?!1:(0,Dc.isIdentifierName)(t)}});var Im=N(yn=>{"use strict";Object.defineProperty(yn,"__esModule",{value:!0});yn.readCodePoint=Cm;yn.readInt=wm;yn.readStringContents=xk;var Tk=function(e){return e>=48&&e<=57},Am={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Wa={bin:t=>t===48||t===49,oct:t=>t>=48&&t<=55,dec:t=>t>=48&&t<=57,hex:t=>t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102};function xk(t,e,r,i,s,n){let a=r,o=i,l=s,c="",u=null,d=r,{length:x}=e;for(;;){if(r>=x){n.unterminated(a,o,l),c+=e.slice(d,r);break}let E=e.charCodeAt(r);if(gk(t,E,e,r)){c+=e.slice(d,r);break}if(E===92){c+=e.slice(d,r);let v=bk(e,r,i,s,t==="template",n);v.ch===null&&!u?u={pos:r,lineStart:i,curLine:s}:c+=v.ch,{pos:r,lineStart:i,curLine:s}=v,d=r}else E===8232||E===8233?(++r,++s,i=r):E===10||E===13?t==="template"?(c+=e.slice(d,r)+`
17
+ `,++r,E===13&&e.charCodeAt(r)===10&&++r,++s,d=i=r):n.unterminated(a,o,l):++r}return{pos:r,str:c,firstInvalidLoc:u,lineStart:i,curLine:s,containsInvalid:!!u}}function gk(t,e,r,i){return t==="template"?e===96||e===36&&r.charCodeAt(i+1)===123:e===(t==="double"?34:39)}function bk(t,e,r,i,s,n){let a=!s;e++;let o=c=>({pos:e,ch:c,lineStart:r,curLine:i}),l=t.charCodeAt(e++);switch(l){case 110:return o(`
18
+ `);case 114:return o("\r");case 120:{let c;return{code:c,pos:e}=Mc(t,e,r,i,2,!1,a,n),o(c===null?null:String.fromCharCode(c))}case 117:{let c;return{code:c,pos:e}=Cm(t,e,r,i,a,n),o(c===null?null:String.fromCodePoint(c))}case 116:return o(" ");case 98:return o("\b");case 118:return o("\v");case 102:return o("\f");case 13:t.charCodeAt(e)===10&&++e;case 10:r=e,++i;case 8232:case 8233:return o("");case 56:case 57:if(s)return o(null);n.strictNumericEscape(e-1,r,i);default:if(l>=48&&l<=55){let c=e-1,d=/^[0-7]+/.exec(t.slice(c,e+2))[0],x=parseInt(d,8);x>255&&(d=d.slice(0,-1),x=parseInt(d,8)),e+=d.length-1;let E=t.charCodeAt(e);if(d!=="0"||E===56||E===57){if(s)return o(null);n.strictNumericEscape(c,r,i)}return o(String.fromCharCode(x))}return o(String.fromCharCode(l))}}function Mc(t,e,r,i,s,n,a,o){let l=e,c;return{n:c,pos:e}=wm(t,e,r,i,16,s,n,!1,o,!a),c===null&&(a?o.invalidEscapeSequence(l,r,i):e=l-1),{code:c,pos:e}}function wm(t,e,r,i,s,n,a,o,l,c){let u=e,d=s===16?Am.hex:Am.decBinOct,x=s===16?Wa.hex:s===10?Wa.dec:s===8?Wa.oct:Wa.bin,E=!1,v=0;for(let A=0,I=n??1/0;A<I;++A){let O=t.charCodeAt(e),j;if(O===95&&o!=="bail"){let q=t.charCodeAt(e-1),F=t.charCodeAt(e+1);if(o){if(Number.isNaN(F)||!x(F)||d.has(q)||d.has(F)){if(c)return{n:null,pos:e};l.unexpectedNumericSeparator(e,r,i)}}else{if(c)return{n:null,pos:e};l.numericSeparatorInEscapeSequence(e,r,i)}++e;continue}if(O>=97?j=O-97+10:O>=65?j=O-65+10:Tk(O)?j=O-48:j=1/0,j>=s){if(j<=9&&c)return{n:null,pos:e};if(j<=9&&l.invalidDigit(e,r,i,s))j=0;else if(a)j=0,E=!0;else break}++e,v=v*s+j}return e===u||n!=null&&e-u!==n||E?{n:null,pos:e}:{n:v,pos:e}}function Cm(t,e,r,i,s,n){let a=t.charCodeAt(e),o;if(a===123){if(++e,{code:o,pos:e}=Mc(t,e,r,i,t.indexOf("}",e)-e,!0,s,n),++e,o!==null&&o>1114111)if(s)n.invalidCodePoint(e,r,i);else return{code:null,pos:e}}else({code:o,pos:e}=Mc(t,e,r,i,4,!1,s,n));return{code:o,pos:e}}});var ys=N(ke=>{"use strict";Object.defineProperty(ke,"__esModule",{value:!0});ke.UPDATE_OPERATORS=ke.UNARY_OPERATORS=ke.STRING_UNARY_OPERATORS=ke.STATEMENT_OR_BLOCK_KEYS=ke.NUMBER_UNARY_OPERATORS=ke.NUMBER_BINARY_OPERATORS=ke.LOGICAL_OPERATORS=ke.INHERIT_KEYS=ke.FOR_INIT_KEYS=ke.FLATTENABLE_KEYS=ke.EQUALITY_BINARY_OPERATORS=ke.COMPARISON_BINARY_OPERATORS=ke.COMMENT_KEYS=ke.BOOLEAN_UNARY_OPERATORS=ke.BOOLEAN_NUMBER_BINARY_OPERATORS=ke.BOOLEAN_BINARY_OPERATORS=ke.BINARY_OPERATORS=ke.ASSIGNMENT_OPERATORS=void 0;var OQ=ke.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],_Q=ke.FLATTENABLE_KEYS=["body","expressions"],DQ=ke.FOR_INIT_KEYS=["left","init"],LQ=ke.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"],Sk=ke.LOGICAL_OPERATORS=["||","&&","??"],MQ=ke.UPDATE_OPERATORS=["++","--"],Ek=ke.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],Pk=ke.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],vk=ke.COMPARISON_BINARY_OPERATORS=[...Pk,"in","instanceof"],Ak=ke.BOOLEAN_BINARY_OPERATORS=[...vk,...Ek],km=ke.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],FQ=ke.BINARY_OPERATORS=["+",...km,...Ak,"|>"],BQ=ke.ASSIGNMENT_OPERATORS=["=","+=",...km.map(t=>t+"="),...Sk.map(t=>t+"=")],wk=ke.BOOLEAN_UNARY_OPERATORS=["delete","!"],Ck=ke.NUMBER_UNARY_OPERATORS=["+","-","~"],Ik=ke.STRING_UNARY_OPERATORS=["typeof"],jQ=ke.UNARY_OPERATORS=["void","throw",...wk,...Ck,...Ik],RQ=ke.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};ke.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),ke.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")});var Nr=N(Re=>{"use strict";Object.defineProperty(Re,"__esModule",{value:!0});Re.allExpandedTypes=Re.VISITOR_KEYS=Re.NODE_PARENT_VALIDATIONS=Re.NODE_FIELDS=Re.FLIPPED_ALIAS_KEYS=Re.DEPRECATED_KEYS=Re.BUILDER_KEYS=Re.ALIAS_KEYS=void 0;Re.arrayOf=Om;Re.arrayOfType=_m;Re.assertEach=Dm;Re.assertNodeOrValueType=Uk;Re.assertNodeType=Ya;Re.assertOneOf=Rk;Re.assertOptionalChainStart=Kk;Re.assertShape=$k;Re.assertValueType=Rc;Re.chain=Lm;Re.default=Mm;Re.defineAliasedType=Yk;Re.validate=jc;Re.validateArrayOfType=jk;Re.validateOptional=Fk;Re.validateOptionalType=Bk;Re.validateType=Mk;var Nm=ds(),Tn=za(),kk=Re.VISITOR_KEYS={},Nk=Re.ALIAS_KEYS={},Fc=Re.FLIPPED_ALIAS_KEYS={},Ok=Re.NODE_FIELDS={},_k=Re.BUILDER_KEYS={},Dk=Re.DEPRECATED_KEYS={},Lk=Re.NODE_PARENT_VALIDATIONS={};function Va(t){return Array.isArray(t)?"array":t===null?"null":typeof t}function jc(t){return{validate:t}}function Mk(...t){return jc(Ya(...t))}function Fk(t){return{validate:t,optional:!0}}function Bk(...t){return{validate:Ya(...t),optional:!0}}function Om(t){return Lm(Rc("array"),Dm(t))}function _m(...t){return Om(Ya(...t))}function jk(...t){return jc(_m(...t))}function Dm(t){let e=process.env.BABEL_TYPES_8_BREAKING?Tn.validateChild:()=>{};function r(i,s,n){if(!Array.isArray(n))return;let a=0,o={toString(){return`${s}[${a}]`}};for(;a<n.length;a++){let l=n[a];t(i,o,l),e(i,o,l)}}return r.each=t,r}function Rk(...t){function e(r,i,s){if(!t.includes(s))throw new TypeError(`Property ${i} expected value to be one of ${JSON.stringify(t)} but got ${JSON.stringify(s)}`)}return e.oneOf=t,e}var qk=Re.allExpandedTypes=[];function Ya(...t){let e=new Set;qk.push({types:t,set:e});function r(i,s,n){let a=n?.type;if(a!=null){if(e.has(a)){(0,Tn.validateChild)(i,s,n);return}if(a==="Placeholder"){for(let o of t)if((0,Nm.default)(o,n)){(0,Tn.validateChild)(i,s,n);return}}}throw new TypeError(`Property ${s} of ${i.type} expected node to be of a type ${JSON.stringify(t)} but instead got ${JSON.stringify(a)}`)}return r.oneOfNodeTypes=t,r}function Uk(...t){function e(r,i,s){let n=Va(s);for(let a of t)if(n===a||(0,Nm.default)(a,s)){(0,Tn.validateChild)(r,i,s);return}throw new TypeError(`Property ${i} of ${r.type} expected node to be of a type ${JSON.stringify(t)} but instead got ${JSON.stringify(s?.type)}`)}return e.oneOfNodeOrValueTypes=t,e}function Rc(t){function e(r,i,s){if(Va(s)!==t)throw new TypeError(`Property ${i} expected type of ${t} but got ${Va(s)}`)}return e.type=t,e}function $k(t){let e=Object.keys(t);function r(i,s,n){let a=[];for(let o of e)try{(0,Tn.validateField)(i,o,n[o],t[o])}catch(l){if(l instanceof TypeError){a.push(l.message);continue}throw l}if(a.length)throw new TypeError(`Property ${s} of ${i.type} expected to have the following:
19
+ ${a.join(`
20
+ `)}`)}return r.shapeOf=t,r}function Kk(){function t(e){var r;let i=e;for(;e;){let{type:s}=i;if(s==="OptionalCallExpression"){if(i.optional)return;i=i.callee;continue}if(s==="OptionalMemberExpression"){if(i.optional)return;i=i.object;continue}break}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(r=i)==null?void 0:r.type}`)}return t}function Lm(...t){function e(...r){for(let i of t)i(...r)}if(e.chainOf=t,t.length>=2&&"type"in t[0]&&t[0].type==="array"&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return e}var Wk=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),Vk=new Set(["default","optional","deprecated","validate"]),Bc={};function Yk(...t){return(e,r={})=>{let i=r.aliases;if(!i){var s;r.inherits&&(i=(s=Bc[r.inherits].aliases)==null?void 0:s.slice()),i??(i=[]),r.aliases=i}let n=t.filter(a=>!i.includes(a));i.unshift(...n),Mm(e,r)}}function Mm(t,e={}){let r=e.inherits&&Bc[e.inherits]||{},i=e.fields;if(!i&&(i={},r.fields)){let o=Object.getOwnPropertyNames(r.fields);for(let l of o){let c=r.fields[l],u=c.default;if(Array.isArray(u)?u.length>0:u&&typeof u=="object")throw new Error("field defaults can only be primitives or empty arrays currently");i[l]={default:Array.isArray(u)?[]:u,optional:c.optional,deprecated:c.deprecated,validate:c.validate}}}let s=e.visitor||r.visitor||[],n=e.aliases||r.aliases||[],a=e.builder||r.builder||e.visitor||[];for(let o of Object.keys(e))if(!Wk.has(o))throw new Error(`Unknown type option "${o}" on ${t}`);e.deprecatedAlias&&(Dk[e.deprecatedAlias]=t);for(let o of s.concat(a))i[o]=i[o]||{};for(let o of Object.keys(i)){let l=i[o];l.default!==void 0&&!a.includes(o)&&(l.optional=!0),l.default===void 0?l.default=null:!l.validate&&l.default!=null&&(l.validate=Rc(Va(l.default)));for(let c of Object.keys(l))if(!Vk.has(c))throw new Error(`Unknown field key "${c}" on ${t}.${o}`)}kk[t]=e.visitor=s,_k[t]=e.builder=a,Ok[t]=e.fields=i,Nk[t]=e.aliases=n,n.forEach(o=>{Fc[o]=Fc[o]||[],Fc[o].push(t)}),e.validate&&(Lk[t]=e.validate),Bc[t]=e}});var xn=N(It=>{"use strict";Object.defineProperty(It,"__esModule",{value:!0});It.patternLikeCommon=It.importAttributes=It.functionTypeAnnotationCommon=It.functionDeclarationCommon=It.functionCommon=It.classMethodOrPropertyCommon=It.classMethodOrDeclareMethodCommon=void 0;var Mt=ds(),zk=ms(),Fm=mn(),Jk=Im(),Ts=ys(),S=Nr(),Q=(0,S.defineAliasedType)("Standardized");Q("ArrayExpression",{fields:{elements:{validate:(0,S.arrayOf)((0,S.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]});Q("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(){let t=(0,S.assertOneOf)(...Ts.ASSIGNMENT_OPERATORS),e=(0,S.assertOneOf)("=");return function(r,i,s){((0,Mt.default)("Pattern",r.left)?e:t)(r,i,s)}}(),{oneOf:Ts.ASSIGNMENT_OPERATORS}):(0,S.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,S.assertNodeType)("LVal")},right:{validate:(0,S.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]});Q("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,S.assertOneOf)(...Ts.BINARY_OPERATORS)},left:{validate:function(){let t=(0,S.assertNodeType)("Expression"),e=(0,S.assertNodeType)("Expression","PrivateName");return Object.assign(function(i,s,n){(i.operator==="in"?e:t)(i,s,n)},{oneOfNodeTypes:["Expression","PrivateName"]})}()},right:{validate:(0,S.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]});Q("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}}});Q("Directive",{visitor:["value"],fields:{value:{validate:(0,S.assertNodeType)("DirectiveLiteral")}}});Q("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}}});Q("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,S.arrayOfType)("Directive"),default:[]},body:(0,S.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]});Q("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,S.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});Q("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,S.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,S.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,S.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});Q("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,S.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]});Q("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},consequent:{validate:(0,S.assertNodeType)("Expression")},alternate:{validate:(0,S.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]});Q("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,S.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]});Q("DebuggerStatement",{aliases:["Statement"]});Q("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]});Q("EmptyStatement",{aliases:["Statement"]});Q("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,S.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]});Q("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,S.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertEach)((0,S.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,S.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}});Q("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,S.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}}});Q("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,S.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,S.assertNodeType)("Expression"),optional:!0},update:{validate:(0,S.assertNodeType)("Expression"),optional:!0},body:{validate:(0,S.assertNodeType)("Statement")}}});var xs=()=>({params:(0,S.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});It.functionCommon=xs;var Oi=()=>({returnType:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});It.functionTypeAnnotationCommon=Oi;var Bm=()=>Object.assign({},xs(),{declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0}});It.functionDeclarationCommon=Bm;Q("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},Bm(),Oi(),{body:{validate:(0,S.assertNodeType)("BlockStatement")},predicate:{validate:(0,S.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let t=(0,S.assertNodeType)("Identifier");return function(e,r,i){(0,Mt.default)("ExportDefaultDeclaration",e)||t(i,"id",i.id)}}():void 0});Q("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},xs(),Oi(),{id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,S.assertNodeType)("BlockStatement")},predicate:{validate:(0,S.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});var gs=()=>({typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}});It.patternLikeCommon=gs;Q("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},gs(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("string"),Object.assign(function(t,e,r){if(!(0,zk.default)(r,!1))throw new TypeError(`"${r}" is not a valid identifier name`)},{type:"string"})):(0,S.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(t,e,r){let i=/\.(\w+)$/.exec(e.toString());if(!i)return;let[,s]=i,n={computed:!1};if(s==="property"){if((0,Mt.default)("MemberExpression",t,n)||(0,Mt.default)("OptionalMemberExpression",t,n))return}else if(s==="key"){if((0,Mt.default)("Property",t,n)||(0,Mt.default)("Method",t,n))return}else if(s==="exported"){if((0,Mt.default)("ExportSpecifier",t))return}else if(s==="imported"){if((0,Mt.default)("ImportSpecifier",t,{imported:r}))return}else if(s==="meta"&&(0,Mt.default)("MetaProperty",t,{meta:r}))return;if(((0,Fm.isKeyword)(r.name)||(0,Fm.isReservedWord)(r.name,!1))&&r.name!=="this")throw new TypeError(`"${r.name}" is not a valid identifier`)}:void 0});Q("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},consequent:{validate:(0,S.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,S.assertNodeType)("Statement")}}});Q("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,S.assertNodeType)("Identifier")},body:{validate:(0,S.assertNodeType)("Statement")}}});Q("StringLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,S.chain)((0,S.assertValueType)("number"),Object.assign(function(t,e,r){if(1/r<0||!Number.isFinite(r)){let i=new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${r}) instead.`)}},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]});Q("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,S.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("string"),Object.assign(function(t,e,r){let i=/[^gimsuy]/.exec(r);if(i)throw new TypeError(`"${i[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,S.assertValueType)("string"),default:""}}});Q("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,S.assertOneOf)(...Ts.LOGICAL_OPERATORS)},left:{validate:(0,S.assertNodeType)("Expression")},right:{validate:(0,S.assertNodeType)("Expression")}}});Q("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],fields:Object.assign({object:{validate:(0,S.assertNodeType)("Expression","Super")},property:{validate:function(){let t=(0,S.assertNodeType)("Identifier","PrivateName"),e=(0,S.assertNodeType)("Expression"),r=function(i,s,n){(i.computed?e:t)(i,s,n)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r}()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,S.assertValueType)("boolean"),optional:!0}})});Q("NewExpression",{inherits:"CallExpression"});Q("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,S.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,S.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,S.arrayOfType)("Directive"),default:[]},body:(0,S.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]});Q("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,S.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}});Q("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},xs(),Oi(),{kind:Object.assign({validate:(0,S.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),e=(0,S.assertNodeType)("Expression"),r=function(i,s,n){(i.computed?e:t)(i,s,n)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],r}()},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,S.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]});Q("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),e=(0,S.assertNodeType)("Expression");return Object.assign(function(i,s,n){(i.computed?e:t)(i,s,n)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})}()},value:{validate:(0,S.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),Object.assign(function(t,e,r){if(r){if(t.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,Mt.default)("Identifier",t.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,S.assertValueType)("boolean"),default:!1},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?function(){let t=(0,S.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),e=(0,S.assertNodeType)("Expression");return function(r,i,s){((0,Mt.default)("ObjectPattern",r)?t:e)(s,"value",s.value)}}():void 0});Q("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},gs(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(t,e){let r=/(\w+)\[(\d+)\]/.exec(e.toString());if(!r)throw new Error("Internal Babel error: malformed key.");let[,i,s]=r;if(t[i].length>+s+1)throw new TypeError(`RestElement must be last element of ${i}`)}:void 0});Q("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,S.assertNodeType)("Expression"),optional:!0}}});Q("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,S.validateArrayOfType)("Expression")},aliases:["Expression"]});Q("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,S.assertNodeType)("Expression")}}});Q("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,S.assertNodeType)("Expression"),optional:!0},consequent:(0,S.validateArrayOfType)("Statement")}});Q("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,S.assertNodeType)("Expression")},cases:(0,S.validateArrayOfType)("SwitchCase")}});Q("ThisExpression",{aliases:["Expression"]});Q("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,S.assertNodeType)("Expression")}}});Q("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertNodeType)("BlockStatement"),Object.assign(function(t){if(!t.handler&&!t.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,S.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,S.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,S.assertNodeType)("BlockStatement")}}});Q("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,S.assertNodeType)("Expression")},operator:{validate:(0,S.assertOneOf)(...Ts.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]});Q("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","MemberExpression"):(0,S.assertNodeType)("Expression")},operator:{validate:(0,S.assertOneOf)(...Ts.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]});Q("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},kind:{validate:(0,S.assertOneOf)("var","let","const","using","await using")},declarations:(0,S.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let t=(0,S.assertNodeType)("Identifier","Placeholder"),e=(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),r=(0,S.assertNodeType)("Identifier","VoidPattern","Placeholder");return function(i,s,n){let{kind:a,declarations:o}=n,l=(0,Mt.default)("ForXStatement",i,{left:n});if(l&&o.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${i.type}`);for(let c of o)a==="const"||a==="let"||a==="var"?!l&&!c.init?t(c,"id",c.id):e(c,"id",c.id):r(c,"id",c.id)}})():void 0});Q("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,S.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,S.assertValueType)("boolean")},init:{optional:!0,validate:(0,S.assertNodeType)("Expression")}}});Q("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}}});Q("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")}}});Q("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},gs(),{left:{validate:(0,S.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,S.assertNodeType)("Expression")},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}})});Q("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},gs(),{elements:{validate:(0,S.chain)((0,S.assertValueType)("array"),(0,S.assertEach)((0,S.assertNodeOrValueType)("null","PatternLike")))}})});Q("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},xs(),Oi(),{expression:{validate:(0,S.assertValueType)("boolean")},body:{validate:(0,S.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,S.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});Q("ClassBody",{visitor:["body"],fields:{body:(0,S.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}});Q("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,S.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,S.assertNodeType)("Expression")},superTypeParameters:{validate:(0,S.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,S.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,S.assertNodeType)("InterfaceExtends"),optional:!0}}});Q("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,S.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,S.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,S.assertNodeType)("Expression")},superTypeParameters:{validate:(0,S.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,S.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,S.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,S.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?function(){let t=(0,S.assertNodeType)("Identifier");return function(e,r,i){(0,Mt.default)("ExportDefaultDeclaration",e)||t(i,"id",i.id)}}():void 0});var qc=It.importAttributes={attributes:{optional:!0,validate:(0,S.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,S.arrayOfType)("ImportAttribute")}};Q("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,S.assertNodeType)("StringLiteral")},exportKind:(0,S.validateOptional)((0,S.assertOneOf)("type","value"))},qc)});Q("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,S.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,S.validateOptional)((0,S.assertOneOf)("value"))}});Q("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertNodeType)("Declaration"),Object.assign(function(t,e,r){if(r&&t.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(r&&t.source)throw new TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,S.assertNodeType)("Declaration")}},qc,{specifiers:{default:[],validate:(0,S.arrayOf)(function(){let t=(0,S.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),e=(0,S.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(r,i,s){(r.source?t:e)(r,i,s)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):t}())},source:{validate:(0,S.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,S.validateOptional)((0,S.assertOneOf)("type","value"))})});Q("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")},exported:{validate:(0,S.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,S.assertOneOf)("type","value"),optional:!0}}});Q("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!process.env.BABEL_TYPES_8_BREAKING)return(0,S.assertNodeType)("VariableDeclaration","LVal");let t=(0,S.assertNodeType)("VariableDeclaration"),e=(0,S.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(r,i,s){(0,Mt.default)("VariableDeclaration",s)?t(r,i,s):e(r,i,s)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})}()},right:{validate:(0,S.assertNodeType)("Expression")},body:{validate:(0,S.assertNodeType)("Statement")},await:{default:!1}}});Q("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},qc,{module:{optional:!0,validate:(0,S.assertValueType)("boolean")},phase:{default:null,validate:(0,S.assertOneOf)("source","defer")},specifiers:(0,S.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,S.assertNodeType)("StringLiteral")},importKind:{validate:(0,S.assertOneOf)("type","typeof","value"),optional:!0}})});Q("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")}}});Q("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")}}});Q("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,S.assertNodeType)("Identifier")},imported:{validate:(0,S.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,S.assertOneOf)("type","typeof","value"),optional:!0}}});Q("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,S.assertOneOf)("source","defer")},source:{validate:(0,S.assertNodeType)("Expression")},options:{validate:(0,S.assertNodeType)("Expression"),optional:!0}}});Q("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertNodeType)("Identifier"),Object.assign(function(t,e,r){let i;switch(r.name){case"function":i="sent";break;case"new":i="target";break;case"import":i="meta";break}if(!(0,Mt.default)("Identifier",t.property,{name:i}))throw new TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,S.assertNodeType)("Identifier")},property:{validate:(0,S.assertNodeType)("Identifier")}}});var Ja=()=>({abstract:{validate:(0,S.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,S.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},key:{validate:(0,S.chain)(function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),e=(0,S.assertNodeType)("Expression");return function(r,i,s){(r.computed?e:t)(r,i,s)}}(),(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});It.classMethodOrPropertyCommon=Ja;var Uc=()=>Object.assign({},xs(),Ja(),{params:(0,S.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,S.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,S.chain)((0,S.assertValueType)("string"),(0,S.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0}});It.classMethodOrDeclareMethodCommon=Uc;Q("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},Uc(),Oi(),{body:{validate:(0,S.assertNodeType)("BlockStatement")}})});Q("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},gs(),{properties:(0,S.validateArrayOfType)("RestElement","ObjectProperty")})});Q("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,S.assertNodeType)("Expression")}}});Q("Super",{aliases:["Expression"]});Q("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,S.assertNodeType)("Expression")},quasi:{validate:(0,S.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,S.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}});Q("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,S.chain)((0,S.assertShape)({raw:{validate:(0,S.assertValueType)("string")},cooked:{validate:(0,S.assertValueType)("string"),optional:!0}}),function(e){let r=e.value.raw,i=!1,s=()=>{throw new Error("Internal @babel/types error.")},{str:n,firstInvalidLoc:a}=(0,Jk.readStringContents)("template",r,0,0,0,{unterminated(){i=!0},strictNumericEscape:s,invalidEscapeSequence:s,numericSeparatorInEscapeSequence:s,unexpectedNumericSeparator:s,invalidDigit:s,invalidCodePoint:s});if(!i)throw new Error("Invalid raw");e.value.cooked=a?null:n})},tail:{default:!1}}});Q("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,S.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,S.chain)((0,S.assertValueType)("array"),(0,S.assertEach)((0,S.assertNodeType)("Expression","TSType")),function(t,e,r){if(t.quasis.length!==r.length+1)throw new TypeError(`Number of ${t.type} quasis should be exactly one more than the number of expressions.
21
+ Expected ${r.length+1} quasis but got ${t.quasis.length}`)})}}});Q("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),Object.assign(function(t,e,r){if(r&&!t.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,S.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,S.assertNodeType)("Expression")}}});Q("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,S.assertNodeType)("Expression")}}});Q("Import",{aliases:["Expression"]});Q("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,S.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});Q("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,S.assertNodeType)("Identifier")}}});Q("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression","LVal"],fields:{object:{validate:(0,S.assertNodeType)("Expression")},property:{validate:function(){let t=(0,S.assertNodeType)("Identifier"),e=(0,S.assertNodeType)("Expression");return Object.assign(function(i,s,n){(i.computed?e:t)(i,s,n)},{oneOfNodeTypes:["Expression","Identifier"]})}()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),(0,S.assertOptionalChainStart)()):(0,S.assertValueType)("boolean")}}});Q("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,S.assertNodeType)("Expression")},arguments:(0,S.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,S.chain)((0,S.assertValueType)("boolean"),(0,S.assertOptionalChainStart)()):(0,S.assertValueType)("boolean")},typeArguments:{validate:(0,S.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,S.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});Q("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},Ja(),{value:{validate:(0,S.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,S.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,S.assertValueType)("boolean"),optional:!0},declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},variance:{validate:(0,S.assertNodeType)("Variance"),optional:!0}})});Q("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},Ja(),{key:{validate:(0,S.chain)(function(){let t=(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),e=(0,S.assertNodeType)("Expression");return function(r,i,s){(r.computed?e:t)(r,i,s)}}(),(0,S.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,S.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,S.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,S.assertValueType)("boolean"),optional:!0},declare:{validate:(0,S.assertValueType)("boolean"),optional:!0},variance:{validate:(0,S.assertNodeType)("Variance"),optional:!0}})});Q("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,S.assertNodeType)("PrivateName")},value:{validate:(0,S.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,S.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,S.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,S.assertValueType)("boolean"),default:!1},readonly:{validate:(0,S.assertValueType)("boolean"),optional:!0},optional:{validate:(0,S.assertValueType)("boolean"),optional:!0},definite:{validate:(0,S.assertValueType)("boolean"),optional:!0},variance:{validate:(0,S.assertNodeType)("Variance"),optional:!0}}});Q("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Uc(),Oi(),{kind:{validate:(0,S.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,S.assertNodeType)("PrivateName")},body:{validate:(0,S.assertNodeType)("BlockStatement")}})});Q("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,S.assertNodeType)("Identifier")}}});Q("StaticBlock",{visitor:["body"],fields:{body:(0,S.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]});Q("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,S.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,S.assertNodeType)("StringLiteral")}}})});var Rm=N(()=>{"use strict";var jm=xn(),_=Nr(),ce=(0,_.defineAliasedType)("Flow"),$c=t=>{let e=t==="DeclareClass";ce(t,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...e?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,_.validateType)("Identifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterDeclaration"),extends:(0,_.validateOptional)((0,_.arrayOfType)("InterfaceExtends"))},e?{mixins:(0,_.validateOptional)((0,_.arrayOfType)("InterfaceExtends")),implements:(0,_.validateOptional)((0,_.arrayOfType)("ClassImplements"))}:{},{body:(0,_.validateType)("ObjectTypeAnnotation")})})};ce("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,_.validateType)("FlowType")}});ce("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,_.validateType)("Identifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterInstantiation")}});$c("DeclareClass");ce("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,_.validateType)("Identifier"),predicate:(0,_.validateOptionalType)("DeclaredPredicate")}});$c("DeclareInterface");ce("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,_.validateType)("Identifier","StringLiteral"),body:(0,_.validateType)("BlockStatement"),kind:(0,_.validateOptional)((0,_.assertOneOf)("CommonJS","ES"))}});ce("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,_.validateType)("TypeAnnotation")}});ce("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,_.validateType)("Identifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterDeclaration"),right:(0,_.validateType)("FlowType")}});ce("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,_.validateType)("Identifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,_.validateOptionalType)("FlowType"),impltype:(0,_.validateOptionalType)("FlowType")}});ce("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,_.validateType)("Identifier")}});ce("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,_.validateOptionalType)("Flow"),specifiers:(0,_.validateOptional)((0,_.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,_.validateOptionalType)("StringLiteral"),default:(0,_.validateOptional)((0,_.assertValueType)("boolean"))},jm.importAttributes)});ce("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,_.validateType)("StringLiteral"),exportKind:(0,_.validateOptional)((0,_.assertOneOf)("type","value"))},jm.importAttributes)});ce("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,_.validateType)("Flow")}});ce("ExistsTypeAnnotation",{aliases:["FlowType"]});ce("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,_.validateOptionalType)("TypeParameterDeclaration"),params:(0,_.validateArrayOfType)("FunctionTypeParam"),rest:(0,_.validateOptionalType)("FunctionTypeParam"),this:(0,_.validateOptionalType)("FunctionTypeParam"),returnType:(0,_.validateType)("FlowType")}});ce("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,_.validateOptionalType)("Identifier"),typeAnnotation:(0,_.validateType)("FlowType"),optional:(0,_.validateOptional)((0,_.assertValueType)("boolean"))}});ce("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,_.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterInstantiation")}});ce("InferredPredicate",{aliases:["FlowPredicate"]});ce("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,_.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterInstantiation")}});$c("InterfaceDeclaration");ce("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,_.validateOptional)((0,_.arrayOfType)("InterfaceExtends")),body:(0,_.validateType)("ObjectTypeAnnotation")}});ce("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,_.validate)((0,_.arrayOfType)("FlowType"))}});ce("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,_.validateType)("FlowType")}});ce("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,_.validate)((0,_.assertValueType)("number"))}});ce("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,_.validate)((0,_.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,_.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,_.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,_.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,_.assertValueType)("boolean"),default:!1},inexact:(0,_.validateOptional)((0,_.assertValueType)("boolean"))}});ce("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,_.validateType)("Identifier"),value:(0,_.validateType)("FlowType"),optional:(0,_.validate)((0,_.assertValueType)("boolean")),static:(0,_.validate)((0,_.assertValueType)("boolean")),method:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,_.validateType)("FlowType"),static:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,_.validateOptionalType)("Identifier"),key:(0,_.validateType)("FlowType"),value:(0,_.validateType)("FlowType"),static:(0,_.validate)((0,_.assertValueType)("boolean")),variance:(0,_.validateOptionalType)("Variance")}});ce("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,_.validateType)("Identifier","StringLiteral"),value:(0,_.validateType)("FlowType"),kind:(0,_.validate)((0,_.assertOneOf)("init","get","set")),static:(0,_.validate)((0,_.assertValueType)("boolean")),proto:(0,_.validate)((0,_.assertValueType)("boolean")),optional:(0,_.validate)((0,_.assertValueType)("boolean")),variance:(0,_.validateOptionalType)("Variance"),method:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,_.validateType)("FlowType")}});ce("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,_.validateType)("Identifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,_.validateOptionalType)("FlowType"),impltype:(0,_.validateType)("FlowType")}});ce("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,_.validateType)("Identifier"),qualification:(0,_.validateType)("Identifier","QualifiedTypeIdentifier")}});ce("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,_.validate)((0,_.assertValueType)("string"))}});ce("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,_.validate)((0,_.arrayOfType)("FlowType"))}});ce("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,_.validateType)("FlowType")}});ce("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,_.validateType)("Identifier"),typeParameters:(0,_.validateOptionalType)("TypeParameterDeclaration"),right:(0,_.validateType)("FlowType")}});ce("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,_.validateType)("FlowType")}});ce("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,_.validateType)("Expression"),typeAnnotation:(0,_.validateType)("TypeAnnotation")}});ce("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,_.validate)((0,_.assertValueType)("string")),bound:(0,_.validateOptionalType)("TypeAnnotation"),default:(0,_.validateOptionalType)("FlowType"),variance:(0,_.validateOptionalType)("Variance")}});ce("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,_.validate)((0,_.arrayOfType)("TypeParameter"))}});ce("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,_.validate)((0,_.arrayOfType)("FlowType"))}});ce("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,_.validate)((0,_.arrayOfType)("FlowType"))}});ce("Variance",{builder:["kind"],fields:{kind:(0,_.validate)((0,_.assertOneOf)("minus","plus"))}});ce("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]});ce("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,_.validateType)("Identifier"),body:(0,_.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}});ce("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,_.validate)((0,_.assertValueType)("boolean")),members:(0,_.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,_.validate)((0,_.assertValueType)("boolean")),members:(0,_.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,_.validate)((0,_.assertValueType)("boolean")),members:(0,_.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,_.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,_.validate)((0,_.assertValueType)("boolean"))}});ce("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,_.validateType)("Identifier"),init:(0,_.validateType)("BooleanLiteral")}});ce("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,_.validateType)("Identifier"),init:(0,_.validateType)("NumericLiteral")}});ce("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,_.validateType)("Identifier"),init:(0,_.validateType)("StringLiteral")}});ce("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,_.validateType)("Identifier")}});ce("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,_.validateType)("FlowType"),indexType:(0,_.validateType)("FlowType")}});ce("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,_.validateType)("FlowType"),indexType:(0,_.validateType)("FlowType"),optional:(0,_.validate)((0,_.assertValueType)("boolean"))}})});var qm=N(()=>{"use strict";var st=Nr(),Ft=(0,st.defineAliasedType)("JSX");Ft("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,st.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,st.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}});Ft("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,st.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}});Ft("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,st.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,st.assertNodeType)("JSXClosingElement")},children:(0,st.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,st.assertValueType)("boolean"),optional:!0}})});Ft("JSXEmptyExpression",{});Ft("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,st.assertNodeType)("Expression","JSXEmptyExpression")}}});Ft("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,st.assertNodeType)("Expression")}}});Ft("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,st.assertValueType)("string")}}});Ft("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,st.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,st.assertNodeType)("JSXIdentifier")}}});Ft("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,st.assertNodeType)("JSXIdentifier")},name:{validate:(0,st.assertNodeType)("JSXIdentifier")}}});Ft("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,st.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,st.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,st.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,st.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})});Ft("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,st.assertNodeType)("Expression")}}});Ft("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,st.assertValueType)("string")}}});Ft("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,st.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,st.assertNodeType)("JSXClosingFragment")},children:(0,st.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}});Ft("JSXOpeningFragment",{aliases:["Immutable"]});Ft("JSXClosingFragment",{aliases:["Immutable"]})});var Vc=N(ni=>{"use strict";Object.defineProperty(ni,"__esModule",{value:!0});ni.PLACEHOLDERS_FLIPPED_ALIAS=ni.PLACEHOLDERS_ALIAS=ni.PLACEHOLDERS=void 0;var Xk=Nr(),Hk=ni.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],Wc=ni.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let t of Hk){let e=Xk.ALIAS_KEYS[t];e!=null&&e.length&&(Wc[t]=e)}var Kc=ni.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(Wc).forEach(t=>{Wc[t].forEach(e=>{hasOwnProperty.call(Kc,e)||(Kc[e]=[]),Kc[e].push(t)})})});var Um=N(()=>{"use strict";var Xa=Nr(),Gk=Vc(),Qk=xn(),Yc=(0,Xa.defineAliasedType)("Miscellaneous");Yc("Noop",{visitor:[]});Yc("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,Xa.assertNodeType)("Identifier")},expectedNode:{validate:(0,Xa.assertOneOf)(...Gk.PLACEHOLDERS)}},(0,Qk.patternLikeCommon)())});Yc("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,Xa.assertValueType)("string")}}})});var $m=N(()=>{"use strict";var Ze=Nr();(0,Ze.default)("ArgumentPlaceholder",{});(0,Ze.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,Ze.assertNodeType)("Expression")},callee:{validate:(0,Ze.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}});(0,Ze.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,Ze.assertNodeType)("Expression")}}});(0,Ze.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,Ze.assertNodeType)("BlockStatement")},async:{validate:(0,Ze.assertValueType)("boolean"),default:!1}}});(0,Ze.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,Ze.assertNodeType)("Identifier")}}});(0,Ze.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,Ze.validateArrayOfType)("ObjectProperty","SpreadElement")}});(0,Ze.default)("TupleExpression",{fields:{elements:{validate:(0,Ze.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]});(0,Ze.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,Ze.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]});(0,Ze.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,Ze.assertNodeType)("Program")}},aliases:["Expression"]});(0,Ze.default)("TopicReference",{aliases:["Expression"]});(0,Ze.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,Ze.assertNodeType)("Expression")}},aliases:["Expression"]});(0,Ze.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,Ze.assertNodeType)("Expression")}},aliases:["Expression"]});(0,Ze.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]});(0,Ze.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})});var Hm=N(()=>{"use strict";var $=Nr(),Km=xn(),Zk=ds(),me=(0,$.defineAliasedType)("TypeScript"),Wt=(0,$.assertValueType)("boolean"),Wm=()=>({returnType:{validate:(0,$.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,$.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});me("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,$.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,$.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,$.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,$.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0}}});me("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,Km.functionDeclarationCommon)(),Wm())});me("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,Km.classMethodOrDeclareMethodCommon)(),Wm())});me("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,$.validateType)("TSEntityName"),right:(0,$.validateType)("Identifier")}});var Ha=()=>({typeParameters:(0,$.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,$.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,$.validateOptionalType)("TSTypeAnnotation")}),Vm={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:Ha()};me("TSCallSignatureDeclaration",Vm);me("TSConstructSignatureDeclaration",Vm);var Ym=()=>({key:(0,$.validateType)("Expression"),computed:{default:!1},optional:(0,$.validateOptional)(Wt)});me("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},Ym(),{readonly:(0,$.validateOptional)(Wt),typeAnnotation:(0,$.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,$.assertOneOf)("get","set")}})});me("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},Ha(),Ym(),{kind:{validate:(0,$.assertOneOf)("method","get","set")}})});me("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,$.validateOptional)(Wt),static:(0,$.validateOptional)(Wt),parameters:(0,$.validateArrayOfType)("Identifier"),typeAnnotation:(0,$.validateOptionalType)("TSTypeAnnotation")}});var eN=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let t of eN)me(t,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});me("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});var zm={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};me("TSFunctionType",Object.assign({},zm,{fields:Ha()}));me("TSConstructorType",Object.assign({},zm,{fields:Object.assign({},Ha(),{abstract:(0,$.validateOptional)(Wt)})}));me("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,$.validateType)("TSEntityName"),typeParameters:(0,$.validateOptionalType)("TSTypeParameterInstantiation")}});me("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,$.validateType)("Identifier","TSThisType"),typeAnnotation:(0,$.validateOptionalType)("TSTypeAnnotation"),asserts:(0,$.validateOptional)(Wt)}});me("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,$.validateType)("TSEntityName","TSImportType"),typeParameters:(0,$.validateOptionalType)("TSTypeParameterInstantiation")}});me("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,$.validateArrayOfType)("TSTypeElement")}});me("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,$.validateType)("TSType")}});me("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,$.validateArrayOfType)("TSType","TSNamedTupleMember")}});me("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,$.validateType)("TSType")}});me("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,$.validateType)("TSType")}});me("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,$.validateType)("Identifier"),optional:{validate:Wt,default:!1},elementType:(0,$.validateType)("TSType")}});var Jm={aliases:["TSType"],visitor:["types"],fields:{types:(0,$.validateArrayOfType)("TSType")}};me("TSUnionType",Jm);me("TSIntersectionType",Jm);me("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,$.validateType)("TSType"),extendsType:(0,$.validateType)("TSType"),trueType:(0,$.validateType)("TSType"),falseType:(0,$.validateType)("TSType")}});me("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,$.validateType)("TSTypeParameter")}});me("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,$.validateType)("TSType")}});me("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,$.assertValueType)("string")},typeAnnotation:(0,$.validateType)("TSType")}});me("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,$.validateType)("TSType"),indexType:(0,$.validateType)("TSType")}});me("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,$.validateType)("TSTypeParameter")},{readonly:(0,$.validateOptional)((0,$.assertOneOf)(!0,!1,"+","-")),optional:(0,$.validateOptional)((0,$.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,$.validateOptionalType)("TSType"),nameType:(0,$.validateOptionalType)("TSType")})});me("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,$.validateArrayOfType)("TemplateElement"),types:{validate:(0,$.chain)((0,$.assertValueType)("array"),(0,$.assertEach)((0,$.assertNodeType)("TSType")),function(t,e,r){if(t.quasis.length!==r.length+1)throw new TypeError(`Number of ${t.type} quasis should be exactly one more than the number of types.
22
+ Expected ${r.length+1} quasis but got ${t.quasis.length}`)})}}});me("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){let t=(0,$.assertNodeType)("NumericLiteral","BigIntLiteral"),e=(0,$.assertOneOf)("-"),r=(0,$.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function i(s,n,a){(0,Zk.default)("UnaryExpression",a)?(e(a,"operator",a.operator),t(a,"argument",a.argument)):r(s,n,a)}return i.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],i}()}}});me("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,$.validateType)("TSEntityName"),typeParameters:(0,$.validateOptionalType)("TSTypeParameterInstantiation")}});me("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,$.validateOptional)(Wt),id:(0,$.validateType)("Identifier"),typeParameters:(0,$.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,$.validateOptional)((0,$.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,$.validateType)("TSInterfaceBody")}});me("TSInterfaceBody",{visitor:["body"],fields:{body:(0,$.validateArrayOfType)("TSTypeElement")}});me("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,$.validateOptional)(Wt),id:(0,$.validateType)("Identifier"),typeParameters:(0,$.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,$.validateType)("TSType")}});me("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,$.validateType)("Expression"),typeParameters:(0,$.validateOptionalType)("TSTypeParameterInstantiation")}});var Xm={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,$.validateType)("Expression"),typeAnnotation:(0,$.validateType)("TSType")}};me("TSAsExpression",Xm);me("TSSatisfiesExpression",Xm);me("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,$.validateType)("TSType"),expression:(0,$.validateType)("Expression")}});me("TSEnumBody",{visitor:["members"],fields:{members:(0,$.validateArrayOfType)("TSEnumMember")}});me("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,$.validateOptional)(Wt),const:(0,$.validateOptional)(Wt),id:(0,$.validateType)("Identifier"),members:(0,$.validateArrayOfType)("TSEnumMember"),initializer:(0,$.validateOptionalType)("Expression"),body:(0,$.validateOptionalType)("TSEnumBody")}});me("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,$.validateType)("Identifier","StringLiteral"),initializer:(0,$.validateOptionalType)("Expression")}});me("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,$.assertOneOf)("global","module","namespace")},declare:(0,$.validateOptional)(Wt)},{global:(0,$.validateOptional)(Wt)},{id:(0,$.validateType)("Identifier","StringLiteral"),body:(0,$.validateType)("TSModuleBlock","TSModuleDeclaration")})});me("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,$.validateArrayOfType)("Statement")}});me("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,$.validateType)("StringLiteral"),qualifier:(0,$.validateOptionalType)("TSEntityName"),typeParameters:(0,$.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,$.assertNodeType)("ObjectExpression"),optional:!0}}});me("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,$.validate)(Wt)},{id:(0,$.validateType)("Identifier"),moduleReference:(0,$.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,$.assertOneOf)("type","value"),optional:!0}})});me("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,$.validateType)("StringLiteral")}});me("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,$.validateType)("Expression")}});me("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,$.validateType)("Expression")}});me("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,$.validateType)("Identifier")}});me("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,$.assertNodeType)("TSType")}}});me("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,$.validateArrayOfType)("TSType")}});me("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,$.validateArrayOfType)("TSTypeParameter")}});me("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,$.assertValueType)("string")},in:{validate:(0,$.assertValueType)("boolean"),optional:!0},out:{validate:(0,$.assertValueType)("boolean"),optional:!0},const:{validate:(0,$.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,$.assertNodeType)("TSType"),optional:!0},default:{validate:(0,$.assertNodeType)("TSType"),optional:!0}}})});var Gm=N(Ga=>{"use strict";Object.defineProperty(Ga,"__esModule",{value:!0});Ga.DEPRECATED_ALIASES=void 0;var eZ=Ga.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}});var nr=N(Bt=>{"use strict";Object.defineProperty(Bt,"__esModule",{value:!0});Object.defineProperty(Bt,"ALIAS_KEYS",{enumerable:!0,get:function(){return Vt.ALIAS_KEYS}});Object.defineProperty(Bt,"BUILDER_KEYS",{enumerable:!0,get:function(){return Vt.BUILDER_KEYS}});Object.defineProperty(Bt,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return zc.DEPRECATED_ALIASES}});Object.defineProperty(Bt,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return Vt.DEPRECATED_KEYS}});Object.defineProperty(Bt,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return Vt.FLIPPED_ALIAS_KEYS}});Object.defineProperty(Bt,"NODE_FIELDS",{enumerable:!0,get:function(){return Vt.NODE_FIELDS}});Object.defineProperty(Bt,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return Vt.NODE_PARENT_VALIDATIONS}});Object.defineProperty(Bt,"PLACEHOLDERS",{enumerable:!0,get:function(){return Jc.PLACEHOLDERS}});Object.defineProperty(Bt,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return Jc.PLACEHOLDERS_ALIAS}});Object.defineProperty(Bt,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return Jc.PLACEHOLDERS_FLIPPED_ALIAS}});Bt.TYPES=void 0;Object.defineProperty(Bt,"VISITOR_KEYS",{enumerable:!0,get:function(){return Vt.VISITOR_KEYS}});xn();Rm();qm();Um();$m();Hm();var Vt=Nr(),Jc=Vc(),zc=Gm();Object.keys(zc.DEPRECATED_ALIASES).forEach(t=>{Vt.FLIPPED_ALIAS_KEYS[t]=Vt.FLIPPED_ALIAS_KEYS[zc.DEPRECATED_ALIASES[t]]});for(let{types:t,set:e}of Vt.allExpandedTypes)for(let r of t){let i=Vt.FLIPPED_ALIAS_KEYS[r];i?i.forEach(e.add,e):e.add(r)}var rZ=Bt.TYPES=[].concat(Object.keys(Vt.VISITOR_KEYS),Object.keys(Vt.FLIPPED_ALIAS_KEYS),Object.keys(Vt.DEPRECATED_KEYS))});var za=N(bs=>{"use strict";Object.defineProperty(bs,"__esModule",{value:!0});bs.default=tN;bs.validateChild=Zm;bs.validateField=Qm;bs.validateInternal=rN;var gn=nr();function tN(t,e,r){if(!t)return;let i=gn.NODE_FIELDS[t.type];if(!i)return;let s=i[e];Qm(t,e,r,s),Zm(t,e,r)}function rN(t,e,r,i,s){if(t!=null&&t.validate&&!(t.optional&&i==null)&&(t.validate(e,r,i),s)){var n;let a=i.type;if(a==null)return;(n=gn.NODE_PARENT_VALIDATIONS[a])==null||n.call(gn.NODE_PARENT_VALIDATIONS,e,r,i)}}function Qm(t,e,r,i){i!=null&&i.validate&&(i.optional&&r==null||i.validate(t,e,r))}function Zm(t,e,r){var i;let s=r?.type;s!=null&&((i=gn.NODE_PARENT_VALIDATIONS[s])==null||i.call(gn.NODE_PARENT_VALIDATIONS,t,e,r))}});var Xc=N(m=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0});m.anyTypeAnnotation=FO;m.argumentPlaceholder=p2;m.arrayExpression=aN;m.arrayPattern=tO;m.arrayTypeAnnotation=BO;m.arrowFunctionExpression=rO;m.assignmentExpression=oN;m.assignmentPattern=eO;m.awaitExpression=vO;m.bigIntLiteral=nN;m.binaryExpression=lN;m.bindExpression=f2;m.blockStatement=fN;m.booleanLiteral=_N;m.booleanLiteralTypeAnnotation=RO;m.booleanTypeAnnotation=jO;m.breakStatement=hN;m.callExpression=dN;m.catchClause=mN;m.classAccessorProperty=NO;m.classBody=iO;m.classDeclaration=nO;m.classExpression=sO;m.classImplements=UO;m.classMethod=TO;m.classPrivateMethod=_O;m.classPrivateProperty=OO;m.classProperty=kO;m.conditionalExpression=yN;m.continueStatement=TN;m.debuggerStatement=xN;m.decimalLiteral=x2;m.declareClass=$O;m.declareExportAllDeclaration=GO;m.declareExportDeclaration=HO;m.declareFunction=KO;m.declareInterface=WO;m.declareModule=VO;m.declareModuleExports=YO;m.declareOpaqueType=JO;m.declareTypeAlias=zO;m.declareVariable=XO;m.declaredPredicate=QO;m.decorator=h2;m.directive=uN;m.directiveLiteral=pN;m.doExpression=d2;m.doWhileStatement=gN;m.emptyStatement=bN;m.emptyTypeAnnotation=c_;m.enumBooleanBody=B_;m.enumBooleanMember=U_;m.enumDeclaration=F_;m.enumDefaultedMember=W_;m.enumNumberBody=j_;m.enumNumberMember=$_;m.enumStringBody=R_;m.enumStringMember=K_;m.enumSymbolBody=q_;m.existsTypeAnnotation=ZO;m.exportAllDeclaration=aO;m.exportDefaultDeclaration=oO;m.exportDefaultSpecifier=m2;m.exportNamedDeclaration=lO;m.exportNamespaceSpecifier=wO;m.exportSpecifier=cO;m.expressionStatement=SN;m.file=EN;m.forInStatement=PN;m.forOfStatement=uO;m.forStatement=vN;m.functionDeclaration=AN;m.functionExpression=wN;m.functionTypeAnnotation=e_;m.functionTypeParam=t_;m.genericTypeAnnotation=r_;m.identifier=CN;m.ifStatement=IN;m.import=AO;m.importAttribute=MO;m.importDeclaration=pO;m.importDefaultSpecifier=fO;m.importExpression=mO;m.importNamespaceSpecifier=hO;m.importSpecifier=dO;m.indexedAccessType=V_;m.inferredPredicate=i_;m.interfaceDeclaration=n_;m.interfaceExtends=s_;m.interfaceTypeAnnotation=a_;m.interpreterDirective=cN;m.intersectionTypeAnnotation=o_;m.jSXAttribute=m.jsxAttribute=z_;m.jSXClosingElement=m.jsxClosingElement=J_;m.jSXClosingFragment=m.jsxClosingFragment=o2;m.jSXElement=m.jsxElement=X_;m.jSXEmptyExpression=m.jsxEmptyExpression=H_;m.jSXExpressionContainer=m.jsxExpressionContainer=G_;m.jSXFragment=m.jsxFragment=n2;m.jSXIdentifier=m.jsxIdentifier=Z_;m.jSXMemberExpression=m.jsxMemberExpression=e2;m.jSXNamespacedName=m.jsxNamespacedName=t2;m.jSXOpeningElement=m.jsxOpeningElement=r2;m.jSXOpeningFragment=m.jsxOpeningFragment=a2;m.jSXSpreadAttribute=m.jsxSpreadAttribute=i2;m.jSXSpreadChild=m.jsxSpreadChild=Q_;m.jSXText=m.jsxText=s2;m.labeledStatement=kN;m.logicalExpression=DN;m.memberExpression=LN;m.metaProperty=yO;m.mixedTypeAnnotation=l_;m.moduleExpression=g2;m.newExpression=MN;m.noop=l2;m.nullLiteral=ON;m.nullLiteralTypeAnnotation=qO;m.nullableTypeAnnotation=u_;m.numberLiteral=jD;m.numberLiteralTypeAnnotation=p_;m.numberTypeAnnotation=f_;m.numericLiteral=ey;m.objectExpression=BN;m.objectMethod=jN;m.objectPattern=xO;m.objectProperty=RN;m.objectTypeAnnotation=h_;m.objectTypeCallProperty=m_;m.objectTypeIndexer=y_;m.objectTypeInternalSlot=d_;m.objectTypeProperty=T_;m.objectTypeSpreadProperty=x_;m.opaqueType=g_;m.optionalCallExpression=IO;m.optionalIndexedAccessType=Y_;m.optionalMemberExpression=CO;m.parenthesizedExpression=$N;m.pipelineBareFunction=E2;m.pipelinePrimaryTopicReference=P2;m.pipelineTopicExpression=S2;m.placeholder=c2;m.privateName=DO;m.program=FN;m.qualifiedTypeIdentifier=b_;m.recordExpression=y2;m.regExpLiteral=ty;m.regexLiteral=RD;m.restElement=ry;m.restProperty=qD;m.returnStatement=qN;m.sequenceExpression=UN;m.spreadElement=iy;m.spreadProperty=UD;m.staticBlock=LO;m.stringLiteral=NN;m.stringLiteralTypeAnnotation=S_;m.stringTypeAnnotation=E_;m.super=gO;m.switchCase=KN;m.switchStatement=WN;m.symbolTypeAnnotation=P_;m.taggedTemplateExpression=bO;m.templateElement=SO;m.templateLiteral=EO;m.thisExpression=VN;m.thisTypeAnnotation=v_;m.throwStatement=YN;m.topicReference=b2;m.tryStatement=zN;m.tSAnyKeyword=m.tsAnyKeyword=L2;m.tSArrayType=m.tsArrayType=eD;m.tSAsExpression=m.tsAsExpression=bD;m.tSBigIntKeyword=m.tsBigIntKeyword=F2;m.tSBooleanKeyword=m.tsBooleanKeyword=M2;m.tSCallSignatureDeclaration=m.tsCallSignatureDeclaration=k2;m.tSConditionalType=m.tsConditionalType=oD;m.tSConstructSignatureDeclaration=m.tsConstructSignatureDeclaration=N2;m.tSConstructorType=m.tsConstructorType=X2;m.tSDeclareFunction=m.tsDeclareFunction=w2;m.tSDeclareMethod=m.tsDeclareMethod=C2;m.tSEnumBody=m.tsEnumBody=PD;m.tSEnumDeclaration=m.tsEnumDeclaration=vD;m.tSEnumMember=m.tsEnumMember=AD;m.tSExportAssignment=m.tsExportAssignment=_D;m.tSExpressionWithTypeArguments=m.tsExpressionWithTypeArguments=mD;m.tSExternalModuleReference=m.tsExternalModuleReference=ND;m.tSFunctionType=m.tsFunctionType=J2;m.tSImportEqualsDeclaration=m.tsImportEqualsDeclaration=kD;m.tSImportType=m.tsImportType=ID;m.tSIndexSignature=m.tsIndexSignature=D2;m.tSIndexedAccessType=m.tsIndexedAccessType=pD;m.tSInferType=m.tsInferType=lD;m.tSInstantiationExpression=m.tsInstantiationExpression=gD;m.tSInterfaceBody=m.tsInterfaceBody=TD;m.tSInterfaceDeclaration=m.tsInterfaceDeclaration=yD;m.tSIntersectionType=m.tsIntersectionType=aD;m.tSIntrinsicKeyword=m.tsIntrinsicKeyword=B2;m.tSLiteralType=m.tsLiteralType=dD;m.tSMappedType=m.tsMappedType=fD;m.tSMethodSignature=m.tsMethodSignature=_2;m.tSModuleBlock=m.tsModuleBlock=CD;m.tSModuleDeclaration=m.tsModuleDeclaration=wD;m.tSNamedTupleMember=m.tsNamedTupleMember=sD;m.tSNamespaceExportDeclaration=m.tsNamespaceExportDeclaration=DD;m.tSNeverKeyword=m.tsNeverKeyword=j2;m.tSNonNullExpression=m.tsNonNullExpression=OD;m.tSNullKeyword=m.tsNullKeyword=R2;m.tSNumberKeyword=m.tsNumberKeyword=q2;m.tSObjectKeyword=m.tsObjectKeyword=U2;m.tSOptionalType=m.tsOptionalType=rD;m.tSParameterProperty=m.tsParameterProperty=A2;m.tSParenthesizedType=m.tsParenthesizedType=cD;m.tSPropertySignature=m.tsPropertySignature=O2;m.tSQualifiedName=m.tsQualifiedName=I2;m.tSRestType=m.tsRestType=iD;m.tSSatisfiesExpression=m.tsSatisfiesExpression=SD;m.tSStringKeyword=m.tsStringKeyword=$2;m.tSSymbolKeyword=m.tsSymbolKeyword=K2;m.tSTemplateLiteralType=m.tsTemplateLiteralType=hD;m.tSThisType=m.tsThisType=z2;m.tSTupleType=m.tsTupleType=tD;m.tSTypeAliasDeclaration=m.tsTypeAliasDeclaration=xD;m.tSTypeAnnotation=m.tsTypeAnnotation=LD;m.tSTypeAssertion=m.tsTypeAssertion=ED;m.tSTypeLiteral=m.tsTypeLiteral=Z2;m.tSTypeOperator=m.tsTypeOperator=uD;m.tSTypeParameter=m.tsTypeParameter=BD;m.tSTypeParameterDeclaration=m.tsTypeParameterDeclaration=FD;m.tSTypeParameterInstantiation=m.tsTypeParameterInstantiation=MD;m.tSTypePredicate=m.tsTypePredicate=G2;m.tSTypeQuery=m.tsTypeQuery=Q2;m.tSTypeReference=m.tsTypeReference=H2;m.tSUndefinedKeyword=m.tsUndefinedKeyword=W2;m.tSUnionType=m.tsUnionType=nD;m.tSUnknownKeyword=m.tsUnknownKeyword=V2;m.tSVoidKeyword=m.tsVoidKeyword=Y2;m.tupleExpression=T2;m.tupleTypeAnnotation=A_;m.typeAlias=C_;m.typeAnnotation=I_;m.typeCastExpression=k_;m.typeParameter=N_;m.typeParameterDeclaration=O_;m.typeParameterInstantiation=__;m.typeofTypeAnnotation=w_;m.unaryExpression=JN;m.unionTypeAnnotation=D_;m.updateExpression=XN;m.v8IntrinsicIdentifier=u2;m.variableDeclaration=HN;m.variableDeclarator=GN;m.variance=L_;m.voidPattern=v2;m.voidTypeAnnotation=M_;m.whileStatement=QN;m.withStatement=ZN;m.yieldExpression=PO;var iN=za(),Qa=hs(),sN=Nr(),{validateInternal:f}=iN,{NODE_FIELDS:C}=sN;function nN(t){typeof t=="bigint"&&(t=t.toString());let e={type:"BigIntLiteral",value:t},r=C.BigIntLiteral;return f(r.value,e,"value",t),e}function aN(t=[]){let e={type:"ArrayExpression",elements:t},r=C.ArrayExpression;return f(r.elements,e,"elements",t,1),e}function oN(t,e,r){let i={type:"AssignmentExpression",operator:t,left:e,right:r},s=C.AssignmentExpression;return f(s.operator,i,"operator",t),f(s.left,i,"left",e,1),f(s.right,i,"right",r,1),i}function lN(t,e,r){let i={type:"BinaryExpression",operator:t,left:e,right:r},s=C.BinaryExpression;return f(s.operator,i,"operator",t),f(s.left,i,"left",e,1),f(s.right,i,"right",r,1),i}function cN(t){let e={type:"InterpreterDirective",value:t},r=C.InterpreterDirective;return f(r.value,e,"value",t),e}function uN(t){let e={type:"Directive",value:t},r=C.Directive;return f(r.value,e,"value",t,1),e}function pN(t){let e={type:"DirectiveLiteral",value:t},r=C.DirectiveLiteral;return f(r.value,e,"value",t),e}function fN(t,e=[]){let r={type:"BlockStatement",body:t,directives:e},i=C.BlockStatement;return f(i.body,r,"body",t,1),f(i.directives,r,"directives",e,1),r}function hN(t=null){let e={type:"BreakStatement",label:t},r=C.BreakStatement;return f(r.label,e,"label",t,1),e}function dN(t,e){let r={type:"CallExpression",callee:t,arguments:e},i=C.CallExpression;return f(i.callee,r,"callee",t,1),f(i.arguments,r,"arguments",e,1),r}function mN(t=null,e){let r={type:"CatchClause",param:t,body:e},i=C.CatchClause;return f(i.param,r,"param",t,1),f(i.body,r,"body",e,1),r}function yN(t,e,r){let i={type:"ConditionalExpression",test:t,consequent:e,alternate:r},s=C.ConditionalExpression;return f(s.test,i,"test",t,1),f(s.consequent,i,"consequent",e,1),f(s.alternate,i,"alternate",r,1),i}function TN(t=null){let e={type:"ContinueStatement",label:t},r=C.ContinueStatement;return f(r.label,e,"label",t,1),e}function xN(){return{type:"DebuggerStatement"}}function gN(t,e){let r={type:"DoWhileStatement",test:t,body:e},i=C.DoWhileStatement;return f(i.test,r,"test",t,1),f(i.body,r,"body",e,1),r}function bN(){return{type:"EmptyStatement"}}function SN(t){let e={type:"ExpressionStatement",expression:t},r=C.ExpressionStatement;return f(r.expression,e,"expression",t,1),e}function EN(t,e=null,r=null){let i={type:"File",program:t,comments:e,tokens:r},s=C.File;return f(s.program,i,"program",t,1),f(s.comments,i,"comments",e,1),f(s.tokens,i,"tokens",r),i}function PN(t,e,r){let i={type:"ForInStatement",left:t,right:e,body:r},s=C.ForInStatement;return f(s.left,i,"left",t,1),f(s.right,i,"right",e,1),f(s.body,i,"body",r,1),i}function vN(t=null,e=null,r=null,i){let s={type:"ForStatement",init:t,test:e,update:r,body:i},n=C.ForStatement;return f(n.init,s,"init",t,1),f(n.test,s,"test",e,1),f(n.update,s,"update",r,1),f(n.body,s,"body",i,1),s}function AN(t=null,e,r,i=!1,s=!1){let n={type:"FunctionDeclaration",id:t,params:e,body:r,generator:i,async:s},a=C.FunctionDeclaration;return f(a.id,n,"id",t,1),f(a.params,n,"params",e,1),f(a.body,n,"body",r,1),f(a.generator,n,"generator",i),f(a.async,n,"async",s),n}function wN(t=null,e,r,i=!1,s=!1){let n={type:"FunctionExpression",id:t,params:e,body:r,generator:i,async:s},a=C.FunctionExpression;return f(a.id,n,"id",t,1),f(a.params,n,"params",e,1),f(a.body,n,"body",r,1),f(a.generator,n,"generator",i),f(a.async,n,"async",s),n}function CN(t){let e={type:"Identifier",name:t},r=C.Identifier;return f(r.name,e,"name",t),e}function IN(t,e,r=null){let i={type:"IfStatement",test:t,consequent:e,alternate:r},s=C.IfStatement;return f(s.test,i,"test",t,1),f(s.consequent,i,"consequent",e,1),f(s.alternate,i,"alternate",r,1),i}function kN(t,e){let r={type:"LabeledStatement",label:t,body:e},i=C.LabeledStatement;return f(i.label,r,"label",t,1),f(i.body,r,"body",e,1),r}function NN(t){let e={type:"StringLiteral",value:t},r=C.StringLiteral;return f(r.value,e,"value",t),e}function ey(t){let e={type:"NumericLiteral",value:t},r=C.NumericLiteral;return f(r.value,e,"value",t),e}function ON(){return{type:"NullLiteral"}}function _N(t){let e={type:"BooleanLiteral",value:t},r=C.BooleanLiteral;return f(r.value,e,"value",t),e}function ty(t,e=""){let r={type:"RegExpLiteral",pattern:t,flags:e},i=C.RegExpLiteral;return f(i.pattern,r,"pattern",t),f(i.flags,r,"flags",e),r}function DN(t,e,r){let i={type:"LogicalExpression",operator:t,left:e,right:r},s=C.LogicalExpression;return f(s.operator,i,"operator",t),f(s.left,i,"left",e,1),f(s.right,i,"right",r,1),i}function LN(t,e,r=!1,i=null){let s={type:"MemberExpression",object:t,property:e,computed:r,optional:i},n=C.MemberExpression;return f(n.object,s,"object",t,1),f(n.property,s,"property",e,1),f(n.computed,s,"computed",r),f(n.optional,s,"optional",i),s}function MN(t,e){let r={type:"NewExpression",callee:t,arguments:e},i=C.NewExpression;return f(i.callee,r,"callee",t,1),f(i.arguments,r,"arguments",e,1),r}function FN(t,e=[],r="script",i=null){let s={type:"Program",body:t,directives:e,sourceType:r,interpreter:i},n=C.Program;return f(n.body,s,"body",t,1),f(n.directives,s,"directives",e,1),f(n.sourceType,s,"sourceType",r),f(n.interpreter,s,"interpreter",i,1),s}function BN(t){let e={type:"ObjectExpression",properties:t},r=C.ObjectExpression;return f(r.properties,e,"properties",t,1),e}function jN(t="method",e,r,i,s=!1,n=!1,a=!1){let o={type:"ObjectMethod",kind:t,key:e,params:r,body:i,computed:s,generator:n,async:a},l=C.ObjectMethod;return f(l.kind,o,"kind",t),f(l.key,o,"key",e,1),f(l.params,o,"params",r,1),f(l.body,o,"body",i,1),f(l.computed,o,"computed",s),f(l.generator,o,"generator",n),f(l.async,o,"async",a),o}function RN(t,e,r=!1,i=!1,s=null){let n={type:"ObjectProperty",key:t,value:e,computed:r,shorthand:i,decorators:s},a=C.ObjectProperty;return f(a.key,n,"key",t,1),f(a.value,n,"value",e,1),f(a.computed,n,"computed",r),f(a.shorthand,n,"shorthand",i),f(a.decorators,n,"decorators",s,1),n}function ry(t){let e={type:"RestElement",argument:t},r=C.RestElement;return f(r.argument,e,"argument",t,1),e}function qN(t=null){let e={type:"ReturnStatement",argument:t},r=C.ReturnStatement;return f(r.argument,e,"argument",t,1),e}function UN(t){let e={type:"SequenceExpression",expressions:t},r=C.SequenceExpression;return f(r.expressions,e,"expressions",t,1),e}function $N(t){let e={type:"ParenthesizedExpression",expression:t},r=C.ParenthesizedExpression;return f(r.expression,e,"expression",t,1),e}function KN(t=null,e){let r={type:"SwitchCase",test:t,consequent:e},i=C.SwitchCase;return f(i.test,r,"test",t,1),f(i.consequent,r,"consequent",e,1),r}function WN(t,e){let r={type:"SwitchStatement",discriminant:t,cases:e},i=C.SwitchStatement;return f(i.discriminant,r,"discriminant",t,1),f(i.cases,r,"cases",e,1),r}function VN(){return{type:"ThisExpression"}}function YN(t){let e={type:"ThrowStatement",argument:t},r=C.ThrowStatement;return f(r.argument,e,"argument",t,1),e}function zN(t,e=null,r=null){let i={type:"TryStatement",block:t,handler:e,finalizer:r},s=C.TryStatement;return f(s.block,i,"block",t,1),f(s.handler,i,"handler",e,1),f(s.finalizer,i,"finalizer",r,1),i}function JN(t,e,r=!0){let i={type:"UnaryExpression",operator:t,argument:e,prefix:r},s=C.UnaryExpression;return f(s.operator,i,"operator",t),f(s.argument,i,"argument",e,1),f(s.prefix,i,"prefix",r),i}function XN(t,e,r=!1){let i={type:"UpdateExpression",operator:t,argument:e,prefix:r},s=C.UpdateExpression;return f(s.operator,i,"operator",t),f(s.argument,i,"argument",e,1),f(s.prefix,i,"prefix",r),i}function HN(t,e){let r={type:"VariableDeclaration",kind:t,declarations:e},i=C.VariableDeclaration;return f(i.kind,r,"kind",t),f(i.declarations,r,"declarations",e,1),r}function GN(t,e=null){let r={type:"VariableDeclarator",id:t,init:e},i=C.VariableDeclarator;return f(i.id,r,"id",t,1),f(i.init,r,"init",e,1),r}function QN(t,e){let r={type:"WhileStatement",test:t,body:e},i=C.WhileStatement;return f(i.test,r,"test",t,1),f(i.body,r,"body",e,1),r}function ZN(t,e){let r={type:"WithStatement",object:t,body:e},i=C.WithStatement;return f(i.object,r,"object",t,1),f(i.body,r,"body",e,1),r}function eO(t,e){let r={type:"AssignmentPattern",left:t,right:e},i=C.AssignmentPattern;return f(i.left,r,"left",t,1),f(i.right,r,"right",e,1),r}function tO(t){let e={type:"ArrayPattern",elements:t},r=C.ArrayPattern;return f(r.elements,e,"elements",t,1),e}function rO(t,e,r=!1){let i={type:"ArrowFunctionExpression",params:t,body:e,async:r,expression:null},s=C.ArrowFunctionExpression;return f(s.params,i,"params",t,1),f(s.body,i,"body",e,1),f(s.async,i,"async",r),i}function iO(t){let e={type:"ClassBody",body:t},r=C.ClassBody;return f(r.body,e,"body",t,1),e}function sO(t=null,e=null,r,i=null){let s={type:"ClassExpression",id:t,superClass:e,body:r,decorators:i},n=C.ClassExpression;return f(n.id,s,"id",t,1),f(n.superClass,s,"superClass",e,1),f(n.body,s,"body",r,1),f(n.decorators,s,"decorators",i,1),s}function nO(t=null,e=null,r,i=null){let s={type:"ClassDeclaration",id:t,superClass:e,body:r,decorators:i},n=C.ClassDeclaration;return f(n.id,s,"id",t,1),f(n.superClass,s,"superClass",e,1),f(n.body,s,"body",r,1),f(n.decorators,s,"decorators",i,1),s}function aO(t){let e={type:"ExportAllDeclaration",source:t},r=C.ExportAllDeclaration;return f(r.source,e,"source",t,1),e}function oO(t){let e={type:"ExportDefaultDeclaration",declaration:t},r=C.ExportDefaultDeclaration;return f(r.declaration,e,"declaration",t,1),e}function lO(t=null,e=[],r=null){let i={type:"ExportNamedDeclaration",declaration:t,specifiers:e,source:r},s=C.ExportNamedDeclaration;return f(s.declaration,i,"declaration",t,1),f(s.specifiers,i,"specifiers",e,1),f(s.source,i,"source",r,1),i}function cO(t,e){let r={type:"ExportSpecifier",local:t,exported:e},i=C.ExportSpecifier;return f(i.local,r,"local",t,1),f(i.exported,r,"exported",e,1),r}function uO(t,e,r,i=!1){let s={type:"ForOfStatement",left:t,right:e,body:r,await:i},n=C.ForOfStatement;return f(n.left,s,"left",t,1),f(n.right,s,"right",e,1),f(n.body,s,"body",r,1),f(n.await,s,"await",i),s}function pO(t,e){let r={type:"ImportDeclaration",specifiers:t,source:e},i=C.ImportDeclaration;return f(i.specifiers,r,"specifiers",t,1),f(i.source,r,"source",e,1),r}function fO(t){let e={type:"ImportDefaultSpecifier",local:t},r=C.ImportDefaultSpecifier;return f(r.local,e,"local",t,1),e}function hO(t){let e={type:"ImportNamespaceSpecifier",local:t},r=C.ImportNamespaceSpecifier;return f(r.local,e,"local",t,1),e}function dO(t,e){let r={type:"ImportSpecifier",local:t,imported:e},i=C.ImportSpecifier;return f(i.local,r,"local",t,1),f(i.imported,r,"imported",e,1),r}function mO(t,e=null){let r={type:"ImportExpression",source:t,options:e},i=C.ImportExpression;return f(i.source,r,"source",t,1),f(i.options,r,"options",e,1),r}function yO(t,e){let r={type:"MetaProperty",meta:t,property:e},i=C.MetaProperty;return f(i.meta,r,"meta",t,1),f(i.property,r,"property",e,1),r}function TO(t="method",e,r,i,s=!1,n=!1,a=!1,o=!1){let l={type:"ClassMethod",kind:t,key:e,params:r,body:i,computed:s,static:n,generator:a,async:o},c=C.ClassMethod;return f(c.kind,l,"kind",t),f(c.key,l,"key",e,1),f(c.params,l,"params",r,1),f(c.body,l,"body",i,1),f(c.computed,l,"computed",s),f(c.static,l,"static",n),f(c.generator,l,"generator",a),f(c.async,l,"async",o),l}function xO(t){let e={type:"ObjectPattern",properties:t},r=C.ObjectPattern;return f(r.properties,e,"properties",t,1),e}function iy(t){let e={type:"SpreadElement",argument:t},r=C.SpreadElement;return f(r.argument,e,"argument",t,1),e}function gO(){return{type:"Super"}}function bO(t,e){let r={type:"TaggedTemplateExpression",tag:t,quasi:e},i=C.TaggedTemplateExpression;return f(i.tag,r,"tag",t,1),f(i.quasi,r,"quasi",e,1),r}function SO(t,e=!1){let r={type:"TemplateElement",value:t,tail:e},i=C.TemplateElement;return f(i.value,r,"value",t),f(i.tail,r,"tail",e),r}function EO(t,e){let r={type:"TemplateLiteral",quasis:t,expressions:e},i=C.TemplateLiteral;return f(i.quasis,r,"quasis",t,1),f(i.expressions,r,"expressions",e,1),r}function PO(t=null,e=!1){let r={type:"YieldExpression",argument:t,delegate:e},i=C.YieldExpression;return f(i.argument,r,"argument",t,1),f(i.delegate,r,"delegate",e),r}function vO(t){let e={type:"AwaitExpression",argument:t},r=C.AwaitExpression;return f(r.argument,e,"argument",t,1),e}function AO(){return{type:"Import"}}function wO(t){let e={type:"ExportNamespaceSpecifier",exported:t},r=C.ExportNamespaceSpecifier;return f(r.exported,e,"exported",t,1),e}function CO(t,e,r=!1,i){let s={type:"OptionalMemberExpression",object:t,property:e,computed:r,optional:i},n=C.OptionalMemberExpression;return f(n.object,s,"object",t,1),f(n.property,s,"property",e,1),f(n.computed,s,"computed",r),f(n.optional,s,"optional",i),s}function IO(t,e,r){let i={type:"OptionalCallExpression",callee:t,arguments:e,optional:r},s=C.OptionalCallExpression;return f(s.callee,i,"callee",t,1),f(s.arguments,i,"arguments",e,1),f(s.optional,i,"optional",r),i}function kO(t,e=null,r=null,i=null,s=!1,n=!1){let a={type:"ClassProperty",key:t,value:e,typeAnnotation:r,decorators:i,computed:s,static:n},o=C.ClassProperty;return f(o.key,a,"key",t,1),f(o.value,a,"value",e,1),f(o.typeAnnotation,a,"typeAnnotation",r,1),f(o.decorators,a,"decorators",i,1),f(o.computed,a,"computed",s),f(o.static,a,"static",n),a}function NO(t,e=null,r=null,i=null,s=!1,n=!1){let a={type:"ClassAccessorProperty",key:t,value:e,typeAnnotation:r,decorators:i,computed:s,static:n},o=C.ClassAccessorProperty;return f(o.key,a,"key",t,1),f(o.value,a,"value",e,1),f(o.typeAnnotation,a,"typeAnnotation",r,1),f(o.decorators,a,"decorators",i,1),f(o.computed,a,"computed",s),f(o.static,a,"static",n),a}function OO(t,e=null,r=null,i=!1){let s={type:"ClassPrivateProperty",key:t,value:e,decorators:r,static:i},n=C.ClassPrivateProperty;return f(n.key,s,"key",t,1),f(n.value,s,"value",e,1),f(n.decorators,s,"decorators",r,1),f(n.static,s,"static",i),s}function _O(t="method",e,r,i,s=!1){let n={type:"ClassPrivateMethod",kind:t,key:e,params:r,body:i,static:s},a=C.ClassPrivateMethod;return f(a.kind,n,"kind",t),f(a.key,n,"key",e,1),f(a.params,n,"params",r,1),f(a.body,n,"body",i,1),f(a.static,n,"static",s),n}function DO(t){let e={type:"PrivateName",id:t},r=C.PrivateName;return f(r.id,e,"id",t,1),e}function LO(t){let e={type:"StaticBlock",body:t},r=C.StaticBlock;return f(r.body,e,"body",t,1),e}function MO(t,e){let r={type:"ImportAttribute",key:t,value:e},i=C.ImportAttribute;return f(i.key,r,"key",t,1),f(i.value,r,"value",e,1),r}function FO(){return{type:"AnyTypeAnnotation"}}function BO(t){let e={type:"ArrayTypeAnnotation",elementType:t},r=C.ArrayTypeAnnotation;return f(r.elementType,e,"elementType",t,1),e}function jO(){return{type:"BooleanTypeAnnotation"}}function RO(t){let e={type:"BooleanLiteralTypeAnnotation",value:t},r=C.BooleanLiteralTypeAnnotation;return f(r.value,e,"value",t),e}function qO(){return{type:"NullLiteralTypeAnnotation"}}function UO(t,e=null){let r={type:"ClassImplements",id:t,typeParameters:e},i=C.ClassImplements;return f(i.id,r,"id",t,1),f(i.typeParameters,r,"typeParameters",e,1),r}function $O(t,e=null,r=null,i){let s={type:"DeclareClass",id:t,typeParameters:e,extends:r,body:i},n=C.DeclareClass;return f(n.id,s,"id",t,1),f(n.typeParameters,s,"typeParameters",e,1),f(n.extends,s,"extends",r,1),f(n.body,s,"body",i,1),s}function KO(t){let e={type:"DeclareFunction",id:t},r=C.DeclareFunction;return f(r.id,e,"id",t,1),e}function WO(t,e=null,r=null,i){let s={type:"DeclareInterface",id:t,typeParameters:e,extends:r,body:i},n=C.DeclareInterface;return f(n.id,s,"id",t,1),f(n.typeParameters,s,"typeParameters",e,1),f(n.extends,s,"extends",r,1),f(n.body,s,"body",i,1),s}function VO(t,e,r=null){let i={type:"DeclareModule",id:t,body:e,kind:r},s=C.DeclareModule;return f(s.id,i,"id",t,1),f(s.body,i,"body",e,1),f(s.kind,i,"kind",r),i}function YO(t){let e={type:"DeclareModuleExports",typeAnnotation:t},r=C.DeclareModuleExports;return f(r.typeAnnotation,e,"typeAnnotation",t,1),e}function zO(t,e=null,r){let i={type:"DeclareTypeAlias",id:t,typeParameters:e,right:r},s=C.DeclareTypeAlias;return f(s.id,i,"id",t,1),f(s.typeParameters,i,"typeParameters",e,1),f(s.right,i,"right",r,1),i}function JO(t,e=null,r=null){let i={type:"DeclareOpaqueType",id:t,typeParameters:e,supertype:r},s=C.DeclareOpaqueType;return f(s.id,i,"id",t,1),f(s.typeParameters,i,"typeParameters",e,1),f(s.supertype,i,"supertype",r,1),i}function XO(t){let e={type:"DeclareVariable",id:t},r=C.DeclareVariable;return f(r.id,e,"id",t,1),e}function HO(t=null,e=null,r=null,i=null){let s={type:"DeclareExportDeclaration",declaration:t,specifiers:e,source:r,attributes:i},n=C.DeclareExportDeclaration;return f(n.declaration,s,"declaration",t,1),f(n.specifiers,s,"specifiers",e,1),f(n.source,s,"source",r,1),f(n.attributes,s,"attributes",i,1),s}function GO(t,e=null){let r={type:"DeclareExportAllDeclaration",source:t,attributes:e},i=C.DeclareExportAllDeclaration;return f(i.source,r,"source",t,1),f(i.attributes,r,"attributes",e,1),r}function QO(t){let e={type:"DeclaredPredicate",value:t},r=C.DeclaredPredicate;return f(r.value,e,"value",t,1),e}function ZO(){return{type:"ExistsTypeAnnotation"}}function e_(t=null,e,r=null,i){let s={type:"FunctionTypeAnnotation",typeParameters:t,params:e,rest:r,returnType:i},n=C.FunctionTypeAnnotation;return f(n.typeParameters,s,"typeParameters",t,1),f(n.params,s,"params",e,1),f(n.rest,s,"rest",r,1),f(n.returnType,s,"returnType",i,1),s}function t_(t=null,e){let r={type:"FunctionTypeParam",name:t,typeAnnotation:e},i=C.FunctionTypeParam;return f(i.name,r,"name",t,1),f(i.typeAnnotation,r,"typeAnnotation",e,1),r}function r_(t,e=null){let r={type:"GenericTypeAnnotation",id:t,typeParameters:e},i=C.GenericTypeAnnotation;return f(i.id,r,"id",t,1),f(i.typeParameters,r,"typeParameters",e,1),r}function i_(){return{type:"InferredPredicate"}}function s_(t,e=null){let r={type:"InterfaceExtends",id:t,typeParameters:e},i=C.InterfaceExtends;return f(i.id,r,"id",t,1),f(i.typeParameters,r,"typeParameters",e,1),r}function n_(t,e=null,r=null,i){let s={type:"InterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i},n=C.InterfaceDeclaration;return f(n.id,s,"id",t,1),f(n.typeParameters,s,"typeParameters",e,1),f(n.extends,s,"extends",r,1),f(n.body,s,"body",i,1),s}function a_(t=null,e){let r={type:"InterfaceTypeAnnotation",extends:t,body:e},i=C.InterfaceTypeAnnotation;return f(i.extends,r,"extends",t,1),f(i.body,r,"body",e,1),r}function o_(t){let e={type:"IntersectionTypeAnnotation",types:t},r=C.IntersectionTypeAnnotation;return f(r.types,e,"types",t,1),e}function l_(){return{type:"MixedTypeAnnotation"}}function c_(){return{type:"EmptyTypeAnnotation"}}function u_(t){let e={type:"NullableTypeAnnotation",typeAnnotation:t},r=C.NullableTypeAnnotation;return f(r.typeAnnotation,e,"typeAnnotation",t,1),e}function p_(t){let e={type:"NumberLiteralTypeAnnotation",value:t},r=C.NumberLiteralTypeAnnotation;return f(r.value,e,"value",t),e}function f_(){return{type:"NumberTypeAnnotation"}}function h_(t,e=[],r=[],i=[],s=!1){let n={type:"ObjectTypeAnnotation",properties:t,indexers:e,callProperties:r,internalSlots:i,exact:s},a=C.ObjectTypeAnnotation;return f(a.properties,n,"properties",t,1),f(a.indexers,n,"indexers",e,1),f(a.callProperties,n,"callProperties",r,1),f(a.internalSlots,n,"internalSlots",i,1),f(a.exact,n,"exact",s),n}function d_(t,e,r,i,s){let n={type:"ObjectTypeInternalSlot",id:t,value:e,optional:r,static:i,method:s},a=C.ObjectTypeInternalSlot;return f(a.id,n,"id",t,1),f(a.value,n,"value",e,1),f(a.optional,n,"optional",r),f(a.static,n,"static",i),f(a.method,n,"method",s),n}function m_(t){let e={type:"ObjectTypeCallProperty",value:t,static:null},r=C.ObjectTypeCallProperty;return f(r.value,e,"value",t,1),e}function y_(t=null,e,r,i=null){let s={type:"ObjectTypeIndexer",id:t,key:e,value:r,variance:i,static:null},n=C.ObjectTypeIndexer;return f(n.id,s,"id",t,1),f(n.key,s,"key",e,1),f(n.value,s,"value",r,1),f(n.variance,s,"variance",i,1),s}function T_(t,e,r=null){let i={type:"ObjectTypeProperty",key:t,value:e,variance:r,kind:null,method:null,optional:null,proto:null,static:null},s=C.ObjectTypeProperty;return f(s.key,i,"key",t,1),f(s.value,i,"value",e,1),f(s.variance,i,"variance",r,1),i}function x_(t){let e={type:"ObjectTypeSpreadProperty",argument:t},r=C.ObjectTypeSpreadProperty;return f(r.argument,e,"argument",t,1),e}function g_(t,e=null,r=null,i){let s={type:"OpaqueType",id:t,typeParameters:e,supertype:r,impltype:i},n=C.OpaqueType;return f(n.id,s,"id",t,1),f(n.typeParameters,s,"typeParameters",e,1),f(n.supertype,s,"supertype",r,1),f(n.impltype,s,"impltype",i,1),s}function b_(t,e){let r={type:"QualifiedTypeIdentifier",id:t,qualification:e},i=C.QualifiedTypeIdentifier;return f(i.id,r,"id",t,1),f(i.qualification,r,"qualification",e,1),r}function S_(t){let e={type:"StringLiteralTypeAnnotation",value:t},r=C.StringLiteralTypeAnnotation;return f(r.value,e,"value",t),e}function E_(){return{type:"StringTypeAnnotation"}}function P_(){return{type:"SymbolTypeAnnotation"}}function v_(){return{type:"ThisTypeAnnotation"}}function A_(t){let e={type:"TupleTypeAnnotation",types:t},r=C.TupleTypeAnnotation;return f(r.types,e,"types",t,1),e}function w_(t){let e={type:"TypeofTypeAnnotation",argument:t},r=C.TypeofTypeAnnotation;return f(r.argument,e,"argument",t,1),e}function C_(t,e=null,r){let i={type:"TypeAlias",id:t,typeParameters:e,right:r},s=C.TypeAlias;return f(s.id,i,"id",t,1),f(s.typeParameters,i,"typeParameters",e,1),f(s.right,i,"right",r,1),i}function I_(t){let e={type:"TypeAnnotation",typeAnnotation:t},r=C.TypeAnnotation;return f(r.typeAnnotation,e,"typeAnnotation",t,1),e}function k_(t,e){let r={type:"TypeCastExpression",expression:t,typeAnnotation:e},i=C.TypeCastExpression;return f(i.expression,r,"expression",t,1),f(i.typeAnnotation,r,"typeAnnotation",e,1),r}function N_(t=null,e=null,r=null){let i={type:"TypeParameter",bound:t,default:e,variance:r,name:null},s=C.TypeParameter;return f(s.bound,i,"bound",t,1),f(s.default,i,"default",e,1),f(s.variance,i,"variance",r,1),i}function O_(t){let e={type:"TypeParameterDeclaration",params:t},r=C.TypeParameterDeclaration;return f(r.params,e,"params",t,1),e}function __(t){let e={type:"TypeParameterInstantiation",params:t},r=C.TypeParameterInstantiation;return f(r.params,e,"params",t,1),e}function D_(t){let e={type:"UnionTypeAnnotation",types:t},r=C.UnionTypeAnnotation;return f(r.types,e,"types",t,1),e}function L_(t){let e={type:"Variance",kind:t},r=C.Variance;return f(r.kind,e,"kind",t),e}function M_(){return{type:"VoidTypeAnnotation"}}function F_(t,e){let r={type:"EnumDeclaration",id:t,body:e},i=C.EnumDeclaration;return f(i.id,r,"id",t,1),f(i.body,r,"body",e,1),r}function B_(t){let e={type:"EnumBooleanBody",members:t,explicitType:null,hasUnknownMembers:null},r=C.EnumBooleanBody;return f(r.members,e,"members",t,1),e}function j_(t){let e={type:"EnumNumberBody",members:t,explicitType:null,hasUnknownMembers:null},r=C.EnumNumberBody;return f(r.members,e,"members",t,1),e}function R_(t){let e={type:"EnumStringBody",members:t,explicitType:null,hasUnknownMembers:null},r=C.EnumStringBody;return f(r.members,e,"members",t,1),e}function q_(t){let e={type:"EnumSymbolBody",members:t,hasUnknownMembers:null},r=C.EnumSymbolBody;return f(r.members,e,"members",t,1),e}function U_(t){let e={type:"EnumBooleanMember",id:t,init:null},r=C.EnumBooleanMember;return f(r.id,e,"id",t,1),e}function $_(t,e){let r={type:"EnumNumberMember",id:t,init:e},i=C.EnumNumberMember;return f(i.id,r,"id",t,1),f(i.init,r,"init",e,1),r}function K_(t,e){let r={type:"EnumStringMember",id:t,init:e},i=C.EnumStringMember;return f(i.id,r,"id",t,1),f(i.init,r,"init",e,1),r}function W_(t){let e={type:"EnumDefaultedMember",id:t},r=C.EnumDefaultedMember;return f(r.id,e,"id",t,1),e}function V_(t,e){let r={type:"IndexedAccessType",objectType:t,indexType:e},i=C.IndexedAccessType;return f(i.objectType,r,"objectType",t,1),f(i.indexType,r,"indexType",e,1),r}function Y_(t,e){let r={type:"OptionalIndexedAccessType",objectType:t,indexType:e,optional:null},i=C.OptionalIndexedAccessType;return f(i.objectType,r,"objectType",t,1),f(i.indexType,r,"indexType",e,1),r}function z_(t,e=null){let r={type:"JSXAttribute",name:t,value:e},i=C.JSXAttribute;return f(i.name,r,"name",t,1),f(i.value,r,"value",e,1),r}function J_(t){let e={type:"JSXClosingElement",name:t},r=C.JSXClosingElement;return f(r.name,e,"name",t,1),e}function X_(t,e=null,r,i=null){let s={type:"JSXElement",openingElement:t,closingElement:e,children:r,selfClosing:i},n=C.JSXElement;return f(n.openingElement,s,"openingElement",t,1),f(n.closingElement,s,"closingElement",e,1),f(n.children,s,"children",r,1),f(n.selfClosing,s,"selfClosing",i),s}function H_(){return{type:"JSXEmptyExpression"}}function G_(t){let e={type:"JSXExpressionContainer",expression:t},r=C.JSXExpressionContainer;return f(r.expression,e,"expression",t,1),e}function Q_(t){let e={type:"JSXSpreadChild",expression:t},r=C.JSXSpreadChild;return f(r.expression,e,"expression",t,1),e}function Z_(t){let e={type:"JSXIdentifier",name:t},r=C.JSXIdentifier;return f(r.name,e,"name",t),e}function e2(t,e){let r={type:"JSXMemberExpression",object:t,property:e},i=C.JSXMemberExpression;return f(i.object,r,"object",t,1),f(i.property,r,"property",e,1),r}function t2(t,e){let r={type:"JSXNamespacedName",namespace:t,name:e},i=C.JSXNamespacedName;return f(i.namespace,r,"namespace",t,1),f(i.name,r,"name",e,1),r}function r2(t,e,r=!1){let i={type:"JSXOpeningElement",name:t,attributes:e,selfClosing:r},s=C.JSXOpeningElement;return f(s.name,i,"name",t,1),f(s.attributes,i,"attributes",e,1),f(s.selfClosing,i,"selfClosing",r),i}function i2(t){let e={type:"JSXSpreadAttribute",argument:t},r=C.JSXSpreadAttribute;return f(r.argument,e,"argument",t,1),e}function s2(t){let e={type:"JSXText",value:t},r=C.JSXText;return f(r.value,e,"value",t),e}function n2(t,e,r){let i={type:"JSXFragment",openingFragment:t,closingFragment:e,children:r},s=C.JSXFragment;return f(s.openingFragment,i,"openingFragment",t,1),f(s.closingFragment,i,"closingFragment",e,1),f(s.children,i,"children",r,1),i}function a2(){return{type:"JSXOpeningFragment"}}function o2(){return{type:"JSXClosingFragment"}}function l2(){return{type:"Noop"}}function c2(t,e){let r={type:"Placeholder",expectedNode:t,name:e},i=C.Placeholder;return f(i.expectedNode,r,"expectedNode",t),f(i.name,r,"name",e,1),r}function u2(t){let e={type:"V8IntrinsicIdentifier",name:t},r=C.V8IntrinsicIdentifier;return f(r.name,e,"name",t),e}function p2(){return{type:"ArgumentPlaceholder"}}function f2(t,e){let r={type:"BindExpression",object:t,callee:e},i=C.BindExpression;return f(i.object,r,"object",t,1),f(i.callee,r,"callee",e,1),r}function h2(t){let e={type:"Decorator",expression:t},r=C.Decorator;return f(r.expression,e,"expression",t,1),e}function d2(t,e=!1){let r={type:"DoExpression",body:t,async:e},i=C.DoExpression;return f(i.body,r,"body",t,1),f(i.async,r,"async",e),r}function m2(t){let e={type:"ExportDefaultSpecifier",exported:t},r=C.ExportDefaultSpecifier;return f(r.exported,e,"exported",t,1),e}function y2(t){let e={type:"RecordExpression",properties:t},r=C.RecordExpression;return f(r.properties,e,"properties",t,1),e}function T2(t=[]){let e={type:"TupleExpression",elements:t},r=C.TupleExpression;return f(r.elements,e,"elements",t,1),e}function x2(t){let e={type:"DecimalLiteral",value:t},r=C.DecimalLiteral;return f(r.value,e,"value",t),e}function g2(t){let e={type:"ModuleExpression",body:t},r=C.ModuleExpression;return f(r.body,e,"body",t,1),e}function b2(){return{type:"TopicReference"}}function S2(t){let e={type:"PipelineTopicExpression",expression:t},r=C.PipelineTopicExpression;return f(r.expression,e,"expression",t,1),e}function E2(t){let e={type:"PipelineBareFunction",callee:t},r=C.PipelineBareFunction;return f(r.callee,e,"callee",t,1),e}function P2(){return{type:"PipelinePrimaryTopicReference"}}function v2(){return{type:"VoidPattern"}}function A2(t){let e={type:"TSParameterProperty",parameter:t},r=C.TSParameterProperty;return f(r.parameter,e,"parameter",t,1),e}function w2(t=null,e=null,r,i=null){let s={type:"TSDeclareFunction",id:t,typeParameters:e,params:r,returnType:i},n=C.TSDeclareFunction;return f(n.id,s,"id",t,1),f(n.typeParameters,s,"typeParameters",e,1),f(n.params,s,"params",r,1),f(n.returnType,s,"returnType",i,1),s}function C2(t=null,e,r=null,i,s=null){let n={type:"TSDeclareMethod",decorators:t,key:e,typeParameters:r,params:i,returnType:s},a=C.TSDeclareMethod;return f(a.decorators,n,"decorators",t,1),f(a.key,n,"key",e,1),f(a.typeParameters,n,"typeParameters",r,1),f(a.params,n,"params",i,1),f(a.returnType,n,"returnType",s,1),n}function I2(t,e){let r={type:"TSQualifiedName",left:t,right:e},i=C.TSQualifiedName;return f(i.left,r,"left",t,1),f(i.right,r,"right",e,1),r}function k2(t=null,e,r=null){let i={type:"TSCallSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r},s=C.TSCallSignatureDeclaration;return f(s.typeParameters,i,"typeParameters",t,1),f(s.parameters,i,"parameters",e,1),f(s.typeAnnotation,i,"typeAnnotation",r,1),i}function N2(t=null,e,r=null){let i={type:"TSConstructSignatureDeclaration",typeParameters:t,parameters:e,typeAnnotation:r},s=C.TSConstructSignatureDeclaration;return f(s.typeParameters,i,"typeParameters",t,1),f(s.parameters,i,"parameters",e,1),f(s.typeAnnotation,i,"typeAnnotation",r,1),i}function O2(t,e=null){let r={type:"TSPropertySignature",key:t,typeAnnotation:e},i=C.TSPropertySignature;return f(i.key,r,"key",t,1),f(i.typeAnnotation,r,"typeAnnotation",e,1),r}function _2(t,e=null,r,i=null){let s={type:"TSMethodSignature",key:t,typeParameters:e,parameters:r,typeAnnotation:i,kind:null},n=C.TSMethodSignature;return f(n.key,s,"key",t,1),f(n.typeParameters,s,"typeParameters",e,1),f(n.parameters,s,"parameters",r,1),f(n.typeAnnotation,s,"typeAnnotation",i,1),s}function D2(t,e=null){let r={type:"TSIndexSignature",parameters:t,typeAnnotation:e},i=C.TSIndexSignature;return f(i.parameters,r,"parameters",t,1),f(i.typeAnnotation,r,"typeAnnotation",e,1),r}function L2(){return{type:"TSAnyKeyword"}}function M2(){return{type:"TSBooleanKeyword"}}function F2(){return{type:"TSBigIntKeyword"}}function B2(){return{type:"TSIntrinsicKeyword"}}function j2(){return{type:"TSNeverKeyword"}}function R2(){return{type:"TSNullKeyword"}}function q2(){return{type:"TSNumberKeyword"}}function U2(){return{type:"TSObjectKeyword"}}function $2(){return{type:"TSStringKeyword"}}function K2(){return{type:"TSSymbolKeyword"}}function W2(){return{type:"TSUndefinedKeyword"}}function V2(){return{type:"TSUnknownKeyword"}}function Y2(){return{type:"TSVoidKeyword"}}function z2(){return{type:"TSThisType"}}function J2(t=null,e,r=null){let i={type:"TSFunctionType",typeParameters:t,parameters:e,typeAnnotation:r},s=C.TSFunctionType;return f(s.typeParameters,i,"typeParameters",t,1),f(s.parameters,i,"parameters",e,1),f(s.typeAnnotation,i,"typeAnnotation",r,1),i}function X2(t=null,e,r=null){let i={type:"TSConstructorType",typeParameters:t,parameters:e,typeAnnotation:r},s=C.TSConstructorType;return f(s.typeParameters,i,"typeParameters",t,1),f(s.parameters,i,"parameters",e,1),f(s.typeAnnotation,i,"typeAnnotation",r,1),i}function H2(t,e=null){let r={type:"TSTypeReference",typeName:t,typeParameters:e},i=C.TSTypeReference;return f(i.typeName,r,"typeName",t,1),f(i.typeParameters,r,"typeParameters",e,1),r}function G2(t,e=null,r=null){let i={type:"TSTypePredicate",parameterName:t,typeAnnotation:e,asserts:r},s=C.TSTypePredicate;return f(s.parameterName,i,"parameterName",t,1),f(s.typeAnnotation,i,"typeAnnotation",e,1),f(s.asserts,i,"asserts",r),i}function Q2(t,e=null){let r={type:"TSTypeQuery",exprName:t,typeParameters:e},i=C.TSTypeQuery;return f(i.exprName,r,"exprName",t,1),f(i.typeParameters,r,"typeParameters",e,1),r}function Z2(t){let e={type:"TSTypeLiteral",members:t},r=C.TSTypeLiteral;return f(r.members,e,"members",t,1),e}function eD(t){let e={type:"TSArrayType",elementType:t},r=C.TSArrayType;return f(r.elementType,e,"elementType",t,1),e}function tD(t){let e={type:"TSTupleType",elementTypes:t},r=C.TSTupleType;return f(r.elementTypes,e,"elementTypes",t,1),e}function rD(t){let e={type:"TSOptionalType",typeAnnotation:t},r=C.TSOptionalType;return f(r.typeAnnotation,e,"typeAnnotation",t,1),e}function iD(t){let e={type:"TSRestType",typeAnnotation:t},r=C.TSRestType;return f(r.typeAnnotation,e,"typeAnnotation",t,1),e}function sD(t,e,r=!1){let i={type:"TSNamedTupleMember",label:t,elementType:e,optional:r},s=C.TSNamedTupleMember;return f(s.label,i,"label",t,1),f(s.elementType,i,"elementType",e,1),f(s.optional,i,"optional",r),i}function nD(t){let e={type:"TSUnionType",types:t},r=C.TSUnionType;return f(r.types,e,"types",t,1),e}function aD(t){let e={type:"TSIntersectionType",types:t},r=C.TSIntersectionType;return f(r.types,e,"types",t,1),e}function oD(t,e,r,i){let s={type:"TSConditionalType",checkType:t,extendsType:e,trueType:r,falseType:i},n=C.TSConditionalType;return f(n.checkType,s,"checkType",t,1),f(n.extendsType,s,"extendsType",e,1),f(n.trueType,s,"trueType",r,1),f(n.falseType,s,"falseType",i,1),s}function lD(t){let e={type:"TSInferType",typeParameter:t},r=C.TSInferType;return f(r.typeParameter,e,"typeParameter",t,1),e}function cD(t){let e={type:"TSParenthesizedType",typeAnnotation:t},r=C.TSParenthesizedType;return f(r.typeAnnotation,e,"typeAnnotation",t,1),e}function uD(t,e){let r={type:"TSTypeOperator",typeAnnotation:t,operator:e},i=C.TSTypeOperator;return f(i.typeAnnotation,r,"typeAnnotation",t,1),f(i.operator,r,"operator",e),r}function pD(t,e){let r={type:"TSIndexedAccessType",objectType:t,indexType:e},i=C.TSIndexedAccessType;return f(i.objectType,r,"objectType",t,1),f(i.indexType,r,"indexType",e,1),r}function fD(t,e=null,r=null){let i={type:"TSMappedType",typeParameter:t,typeAnnotation:e,nameType:r},s=C.TSMappedType;return f(s.typeParameter,i,"typeParameter",t,1),f(s.typeAnnotation,i,"typeAnnotation",e,1),f(s.nameType,i,"nameType",r,1),i}function hD(t,e){let r={type:"TSTemplateLiteralType",quasis:t,types:e},i=C.TSTemplateLiteralType;return f(i.quasis,r,"quasis",t,1),f(i.types,r,"types",e,1),r}function dD(t){let e={type:"TSLiteralType",literal:t},r=C.TSLiteralType;return f(r.literal,e,"literal",t,1),e}function mD(t,e=null){let r={type:"TSExpressionWithTypeArguments",expression:t,typeParameters:e},i=C.TSExpressionWithTypeArguments;return f(i.expression,r,"expression",t,1),f(i.typeParameters,r,"typeParameters",e,1),r}function yD(t,e=null,r=null,i){let s={type:"TSInterfaceDeclaration",id:t,typeParameters:e,extends:r,body:i},n=C.TSInterfaceDeclaration;return f(n.id,s,"id",t,1),f(n.typeParameters,s,"typeParameters",e,1),f(n.extends,s,"extends",r,1),f(n.body,s,"body",i,1),s}function TD(t){let e={type:"TSInterfaceBody",body:t},r=C.TSInterfaceBody;return f(r.body,e,"body",t,1),e}function xD(t,e=null,r){let i={type:"TSTypeAliasDeclaration",id:t,typeParameters:e,typeAnnotation:r},s=C.TSTypeAliasDeclaration;return f(s.id,i,"id",t,1),f(s.typeParameters,i,"typeParameters",e,1),f(s.typeAnnotation,i,"typeAnnotation",r,1),i}function gD(t,e=null){let r={type:"TSInstantiationExpression",expression:t,typeParameters:e},i=C.TSInstantiationExpression;return f(i.expression,r,"expression",t,1),f(i.typeParameters,r,"typeParameters",e,1),r}function bD(t,e){let r={type:"TSAsExpression",expression:t,typeAnnotation:e},i=C.TSAsExpression;return f(i.expression,r,"expression",t,1),f(i.typeAnnotation,r,"typeAnnotation",e,1),r}function SD(t,e){let r={type:"TSSatisfiesExpression",expression:t,typeAnnotation:e},i=C.TSSatisfiesExpression;return f(i.expression,r,"expression",t,1),f(i.typeAnnotation,r,"typeAnnotation",e,1),r}function ED(t,e){let r={type:"TSTypeAssertion",typeAnnotation:t,expression:e},i=C.TSTypeAssertion;return f(i.typeAnnotation,r,"typeAnnotation",t,1),f(i.expression,r,"expression",e,1),r}function PD(t){let e={type:"TSEnumBody",members:t},r=C.TSEnumBody;return f(r.members,e,"members",t,1),e}function vD(t,e){let r={type:"TSEnumDeclaration",id:t,members:e},i=C.TSEnumDeclaration;return f(i.id,r,"id",t,1),f(i.members,r,"members",e,1),r}function AD(t,e=null){let r={type:"TSEnumMember",id:t,initializer:e},i=C.TSEnumMember;return f(i.id,r,"id",t,1),f(i.initializer,r,"initializer",e,1),r}function wD(t,e){let r={type:"TSModuleDeclaration",id:t,body:e,kind:null},i=C.TSModuleDeclaration;return f(i.id,r,"id",t,1),f(i.body,r,"body",e,1),r}function CD(t){let e={type:"TSModuleBlock",body:t},r=C.TSModuleBlock;return f(r.body,e,"body",t,1),e}function ID(t,e=null,r=null){let i={type:"TSImportType",argument:t,qualifier:e,typeParameters:r},s=C.TSImportType;return f(s.argument,i,"argument",t,1),f(s.qualifier,i,"qualifier",e,1),f(s.typeParameters,i,"typeParameters",r,1),i}function kD(t,e){let r={type:"TSImportEqualsDeclaration",id:t,moduleReference:e,isExport:null},i=C.TSImportEqualsDeclaration;return f(i.id,r,"id",t,1),f(i.moduleReference,r,"moduleReference",e,1),r}function ND(t){let e={type:"TSExternalModuleReference",expression:t},r=C.TSExternalModuleReference;return f(r.expression,e,"expression",t,1),e}function OD(t){let e={type:"TSNonNullExpression",expression:t},r=C.TSNonNullExpression;return f(r.expression,e,"expression",t,1),e}function _D(t){let e={type:"TSExportAssignment",expression:t},r=C.TSExportAssignment;return f(r.expression,e,"expression",t,1),e}function DD(t){let e={type:"TSNamespaceExportDeclaration",id:t},r=C.TSNamespaceExportDeclaration;return f(r.id,e,"id",t,1),e}function LD(t){let e={type:"TSTypeAnnotation",typeAnnotation:t},r=C.TSTypeAnnotation;return f(r.typeAnnotation,e,"typeAnnotation",t,1),e}function MD(t){let e={type:"TSTypeParameterInstantiation",params:t},r=C.TSTypeParameterInstantiation;return f(r.params,e,"params",t,1),e}function FD(t){let e={type:"TSTypeParameterDeclaration",params:t},r=C.TSTypeParameterDeclaration;return f(r.params,e,"params",t,1),e}function BD(t=null,e=null,r){let i={type:"TSTypeParameter",constraint:t,default:e,name:r},s=C.TSTypeParameter;return f(s.constraint,i,"constraint",t,1),f(s.default,i,"default",e,1),f(s.name,i,"name",r),i}function jD(t){return(0,Qa.default)("NumberLiteral","NumericLiteral","The node type "),ey(t)}function RD(t,e=""){return(0,Qa.default)("RegexLiteral","RegExpLiteral","The node type "),ty(t,e)}function qD(t){return(0,Qa.default)("RestProperty","RestElement","The node type "),ry(t)}function UD(t){return(0,Qa.default)("SpreadProperty","SpreadElement","The node type "),iy(t)}});var sy=N(p=>{"use strict";Object.defineProperty(p,"__esModule",{value:!0});p.JSXIdentifier=p.JSXFragment=p.JSXExpressionContainer=p.JSXEmptyExpression=p.JSXElement=p.JSXClosingFragment=p.JSXClosingElement=p.JSXAttribute=p.IntersectionTypeAnnotation=p.InterpreterDirective=p.InterfaceTypeAnnotation=p.InterfaceExtends=p.InterfaceDeclaration=p.InferredPredicate=p.IndexedAccessType=p.ImportSpecifier=p.ImportNamespaceSpecifier=p.ImportExpression=p.ImportDefaultSpecifier=p.ImportDeclaration=p.ImportAttribute=p.Import=p.IfStatement=p.Identifier=p.GenericTypeAnnotation=p.FunctionTypeParam=p.FunctionTypeAnnotation=p.FunctionExpression=p.FunctionDeclaration=p.ForStatement=p.ForOfStatement=p.ForInStatement=p.File=p.ExpressionStatement=p.ExportSpecifier=p.ExportNamespaceSpecifier=p.ExportNamedDeclaration=p.ExportDefaultSpecifier=p.ExportDefaultDeclaration=p.ExportAllDeclaration=p.ExistsTypeAnnotation=p.EnumSymbolBody=p.EnumStringMember=p.EnumStringBody=p.EnumNumberMember=p.EnumNumberBody=p.EnumDefaultedMember=p.EnumDeclaration=p.EnumBooleanMember=p.EnumBooleanBody=p.EmptyTypeAnnotation=p.EmptyStatement=p.DoWhileStatement=p.DoExpression=p.DirectiveLiteral=p.Directive=p.Decorator=p.DeclaredPredicate=p.DeclareVariable=p.DeclareTypeAlias=p.DeclareOpaqueType=p.DeclareModuleExports=p.DeclareModule=p.DeclareInterface=p.DeclareFunction=p.DeclareExportDeclaration=p.DeclareExportAllDeclaration=p.DeclareClass=p.DecimalLiteral=p.DebuggerStatement=p.ContinueStatement=p.ConditionalExpression=p.ClassProperty=p.ClassPrivateProperty=p.ClassPrivateMethod=p.ClassMethod=p.ClassImplements=p.ClassExpression=p.ClassDeclaration=p.ClassBody=p.ClassAccessorProperty=p.CatchClause=p.CallExpression=p.BreakStatement=p.BooleanTypeAnnotation=p.BooleanLiteralTypeAnnotation=p.BooleanLiteral=p.BlockStatement=p.BindExpression=p.BinaryExpression=p.BigIntLiteral=p.AwaitExpression=p.AssignmentPattern=p.AssignmentExpression=p.ArrowFunctionExpression=p.ArrayTypeAnnotation=p.ArrayPattern=p.ArrayExpression=p.ArgumentPlaceholder=p.AnyTypeAnnotation=void 0;p.TSNumberKeyword=p.TSNullKeyword=p.TSNonNullExpression=p.TSNeverKeyword=p.TSNamespaceExportDeclaration=p.TSNamedTupleMember=p.TSModuleDeclaration=p.TSModuleBlock=p.TSMethodSignature=p.TSMappedType=p.TSLiteralType=p.TSIntrinsicKeyword=p.TSIntersectionType=p.TSInterfaceDeclaration=p.TSInterfaceBody=p.TSInstantiationExpression=p.TSInferType=p.TSIndexedAccessType=p.TSIndexSignature=p.TSImportType=p.TSImportEqualsDeclaration=p.TSFunctionType=p.TSExternalModuleReference=p.TSExpressionWithTypeArguments=p.TSExportAssignment=p.TSEnumMember=p.TSEnumDeclaration=p.TSEnumBody=p.TSDeclareMethod=p.TSDeclareFunction=p.TSConstructorType=p.TSConstructSignatureDeclaration=p.TSConditionalType=p.TSCallSignatureDeclaration=p.TSBooleanKeyword=p.TSBigIntKeyword=p.TSAsExpression=p.TSArrayType=p.TSAnyKeyword=p.SymbolTypeAnnotation=p.SwitchStatement=p.SwitchCase=p.Super=p.StringTypeAnnotation=p.StringLiteralTypeAnnotation=p.StringLiteral=p.StaticBlock=p.SpreadProperty=p.SpreadElement=p.SequenceExpression=p.ReturnStatement=p.RestProperty=p.RestElement=p.RegexLiteral=p.RegExpLiteral=p.RecordExpression=p.QualifiedTypeIdentifier=p.Program=p.PrivateName=p.Placeholder=p.PipelineTopicExpression=p.PipelinePrimaryTopicReference=p.PipelineBareFunction=p.ParenthesizedExpression=p.OptionalMemberExpression=p.OptionalIndexedAccessType=p.OptionalCallExpression=p.OpaqueType=p.ObjectTypeSpreadProperty=p.ObjectTypeProperty=p.ObjectTypeInternalSlot=p.ObjectTypeIndexer=p.ObjectTypeCallProperty=p.ObjectTypeAnnotation=p.ObjectProperty=p.ObjectPattern=p.ObjectMethod=p.ObjectExpression=p.NumericLiteral=p.NumberTypeAnnotation=p.NumberLiteralTypeAnnotation=p.NumberLiteral=p.NullableTypeAnnotation=p.NullLiteralTypeAnnotation=p.NullLiteral=p.Noop=p.NewExpression=p.ModuleExpression=p.MixedTypeAnnotation=p.MetaProperty=p.MemberExpression=p.LogicalExpression=p.LabeledStatement=p.JSXText=p.JSXSpreadChild=p.JSXSpreadAttribute=p.JSXOpeningFragment=p.JSXOpeningElement=p.JSXNamespacedName=p.JSXMemberExpression=void 0;p.YieldExpression=p.WithStatement=p.WhileStatement=p.VoidTypeAnnotation=p.VoidPattern=p.Variance=p.VariableDeclarator=p.VariableDeclaration=p.V8IntrinsicIdentifier=p.UpdateExpression=p.UnionTypeAnnotation=p.UnaryExpression=p.TypeofTypeAnnotation=p.TypeParameterInstantiation=p.TypeParameterDeclaration=p.TypeParameter=p.TypeCastExpression=p.TypeAnnotation=p.TypeAlias=p.TupleTypeAnnotation=p.TupleExpression=p.TryStatement=p.TopicReference=p.ThrowStatement=p.ThisTypeAnnotation=p.ThisExpression=p.TemplateLiteral=p.TemplateElement=p.TaggedTemplateExpression=p.TSVoidKeyword=p.TSUnknownKeyword=p.TSUnionType=p.TSUndefinedKeyword=p.TSTypeReference=p.TSTypeQuery=p.TSTypePredicate=p.TSTypeParameterInstantiation=p.TSTypeParameterDeclaration=p.TSTypeParameter=p.TSTypeOperator=p.TSTypeLiteral=p.TSTypeAssertion=p.TSTypeAnnotation=p.TSTypeAliasDeclaration=p.TSTupleType=p.TSThisType=p.TSTemplateLiteralType=p.TSSymbolKeyword=p.TSStringKeyword=p.TSSatisfiesExpression=p.TSRestType=p.TSQualifiedName=p.TSPropertySignature=p.TSParenthesizedType=p.TSParameterProperty=p.TSOptionalType=p.TSObjectKeyword=void 0;var bn=Xc(),aZ=hs();function P(t){return bn[t]}var oZ=p.ArrayExpression=P("arrayExpression"),lZ=p.AssignmentExpression=P("assignmentExpression"),cZ=p.BinaryExpression=P("binaryExpression"),uZ=p.InterpreterDirective=P("interpreterDirective"),pZ=p.Directive=P("directive"),fZ=p.DirectiveLiteral=P("directiveLiteral"),hZ=p.BlockStatement=P("blockStatement"),dZ=p.BreakStatement=P("breakStatement"),mZ=p.CallExpression=P("callExpression"),yZ=p.CatchClause=P("catchClause"),TZ=p.ConditionalExpression=P("conditionalExpression"),xZ=p.ContinueStatement=P("continueStatement"),gZ=p.DebuggerStatement=P("debuggerStatement"),bZ=p.DoWhileStatement=P("doWhileStatement"),SZ=p.EmptyStatement=P("emptyStatement"),EZ=p.ExpressionStatement=P("expressionStatement"),PZ=p.File=P("file"),vZ=p.ForInStatement=P("forInStatement"),AZ=p.ForStatement=P("forStatement"),wZ=p.FunctionDeclaration=P("functionDeclaration"),CZ=p.FunctionExpression=P("functionExpression"),IZ=p.Identifier=P("identifier"),kZ=p.IfStatement=P("ifStatement"),NZ=p.LabeledStatement=P("labeledStatement"),OZ=p.StringLiteral=P("stringLiteral"),_Z=p.NumericLiteral=P("numericLiteral"),DZ=p.NullLiteral=P("nullLiteral"),LZ=p.BooleanLiteral=P("booleanLiteral"),MZ=p.RegExpLiteral=P("regExpLiteral"),FZ=p.LogicalExpression=P("logicalExpression"),BZ=p.MemberExpression=P("memberExpression"),jZ=p.NewExpression=P("newExpression"),RZ=p.Program=P("program"),qZ=p.ObjectExpression=P("objectExpression"),UZ=p.ObjectMethod=P("objectMethod"),$Z=p.ObjectProperty=P("objectProperty"),KZ=p.RestElement=P("restElement"),WZ=p.ReturnStatement=P("returnStatement"),VZ=p.SequenceExpression=P("sequenceExpression"),YZ=p.ParenthesizedExpression=P("parenthesizedExpression"),zZ=p.SwitchCase=P("switchCase"),JZ=p.SwitchStatement=P("switchStatement"),XZ=p.ThisExpression=P("thisExpression"),HZ=p.ThrowStatement=P("throwStatement"),GZ=p.TryStatement=P("tryStatement"),QZ=p.UnaryExpression=P("unaryExpression"),ZZ=p.UpdateExpression=P("updateExpression"),eee=p.VariableDeclaration=P("variableDeclaration"),tee=p.VariableDeclarator=P("variableDeclarator"),ree=p.WhileStatement=P("whileStatement"),iee=p.WithStatement=P("withStatement"),see=p.AssignmentPattern=P("assignmentPattern"),nee=p.ArrayPattern=P("arrayPattern"),aee=p.ArrowFunctionExpression=P("arrowFunctionExpression"),oee=p.ClassBody=P("classBody"),lee=p.ClassExpression=P("classExpression"),cee=p.ClassDeclaration=P("classDeclaration"),uee=p.ExportAllDeclaration=P("exportAllDeclaration"),pee=p.ExportDefaultDeclaration=P("exportDefaultDeclaration"),fee=p.ExportNamedDeclaration=P("exportNamedDeclaration"),hee=p.ExportSpecifier=P("exportSpecifier"),dee=p.ForOfStatement=P("forOfStatement"),mee=p.ImportDeclaration=P("importDeclaration"),yee=p.ImportDefaultSpecifier=P("importDefaultSpecifier"),Tee=p.ImportNamespaceSpecifier=P("importNamespaceSpecifier"),xee=p.ImportSpecifier=P("importSpecifier"),gee=p.ImportExpression=P("importExpression"),bee=p.MetaProperty=P("metaProperty"),See=p.ClassMethod=P("classMethod"),Eee=p.ObjectPattern=P("objectPattern"),Pee=p.SpreadElement=P("spreadElement"),vee=p.Super=P("super"),Aee=p.TaggedTemplateExpression=P("taggedTemplateExpression"),wee=p.TemplateElement=P("templateElement"),Cee=p.TemplateLiteral=P("templateLiteral"),Iee=p.YieldExpression=P("yieldExpression"),kee=p.AwaitExpression=P("awaitExpression"),Nee=p.Import=P("import"),Oee=p.BigIntLiteral=P("bigIntLiteral"),_ee=p.ExportNamespaceSpecifier=P("exportNamespaceSpecifier"),Dee=p.OptionalMemberExpression=P("optionalMemberExpression"),Lee=p.OptionalCallExpression=P("optionalCallExpression"),Mee=p.ClassProperty=P("classProperty"),Fee=p.ClassAccessorProperty=P("classAccessorProperty"),Bee=p.ClassPrivateProperty=P("classPrivateProperty"),jee=p.ClassPrivateMethod=P("classPrivateMethod"),Ree=p.PrivateName=P("privateName"),qee=p.StaticBlock=P("staticBlock"),Uee=p.ImportAttribute=P("importAttribute"),$ee=p.AnyTypeAnnotation=P("anyTypeAnnotation"),Kee=p.ArrayTypeAnnotation=P("arrayTypeAnnotation"),Wee=p.BooleanTypeAnnotation=P("booleanTypeAnnotation"),Vee=p.BooleanLiteralTypeAnnotation=P("booleanLiteralTypeAnnotation"),Yee=p.NullLiteralTypeAnnotation=P("nullLiteralTypeAnnotation"),zee=p.ClassImplements=P("classImplements"),Jee=p.DeclareClass=P("declareClass"),Xee=p.DeclareFunction=P("declareFunction"),Hee=p.DeclareInterface=P("declareInterface"),Gee=p.DeclareModule=P("declareModule"),Qee=p.DeclareModuleExports=P("declareModuleExports"),Zee=p.DeclareTypeAlias=P("declareTypeAlias"),ete=p.DeclareOpaqueType=P("declareOpaqueType"),tte=p.DeclareVariable=P("declareVariable"),rte=p.DeclareExportDeclaration=P("declareExportDeclaration"),ite=p.DeclareExportAllDeclaration=P("declareExportAllDeclaration"),ste=p.DeclaredPredicate=P("declaredPredicate"),nte=p.ExistsTypeAnnotation=P("existsTypeAnnotation"),ate=p.FunctionTypeAnnotation=P("functionTypeAnnotation"),ote=p.FunctionTypeParam=P("functionTypeParam"),lte=p.GenericTypeAnnotation=P("genericTypeAnnotation"),cte=p.InferredPredicate=P("inferredPredicate"),ute=p.InterfaceExtends=P("interfaceExtends"),pte=p.InterfaceDeclaration=P("interfaceDeclaration"),fte=p.InterfaceTypeAnnotation=P("interfaceTypeAnnotation"),hte=p.IntersectionTypeAnnotation=P("intersectionTypeAnnotation"),dte=p.MixedTypeAnnotation=P("mixedTypeAnnotation"),mte=p.EmptyTypeAnnotation=P("emptyTypeAnnotation"),yte=p.NullableTypeAnnotation=P("nullableTypeAnnotation"),Tte=p.NumberLiteralTypeAnnotation=P("numberLiteralTypeAnnotation"),xte=p.NumberTypeAnnotation=P("numberTypeAnnotation"),gte=p.ObjectTypeAnnotation=P("objectTypeAnnotation"),bte=p.ObjectTypeInternalSlot=P("objectTypeInternalSlot"),Ste=p.ObjectTypeCallProperty=P("objectTypeCallProperty"),Ete=p.ObjectTypeIndexer=P("objectTypeIndexer"),Pte=p.ObjectTypeProperty=P("objectTypeProperty"),vte=p.ObjectTypeSpreadProperty=P("objectTypeSpreadProperty"),Ate=p.OpaqueType=P("opaqueType"),wte=p.QualifiedTypeIdentifier=P("qualifiedTypeIdentifier"),Cte=p.StringLiteralTypeAnnotation=P("stringLiteralTypeAnnotation"),Ite=p.StringTypeAnnotation=P("stringTypeAnnotation"),kte=p.SymbolTypeAnnotation=P("symbolTypeAnnotation"),Nte=p.ThisTypeAnnotation=P("thisTypeAnnotation"),Ote=p.TupleTypeAnnotation=P("tupleTypeAnnotation"),_te=p.TypeofTypeAnnotation=P("typeofTypeAnnotation"),Dte=p.TypeAlias=P("typeAlias"),Lte=p.TypeAnnotation=P("typeAnnotation"),Mte=p.TypeCastExpression=P("typeCastExpression"),Fte=p.TypeParameter=P("typeParameter"),Bte=p.TypeParameterDeclaration=P("typeParameterDeclaration"),jte=p.TypeParameterInstantiation=P("typeParameterInstantiation"),Rte=p.UnionTypeAnnotation=P("unionTypeAnnotation"),qte=p.Variance=P("variance"),Ute=p.VoidTypeAnnotation=P("voidTypeAnnotation"),$te=p.EnumDeclaration=P("enumDeclaration"),Kte=p.EnumBooleanBody=P("enumBooleanBody"),Wte=p.EnumNumberBody=P("enumNumberBody"),Vte=p.EnumStringBody=P("enumStringBody"),Yte=p.EnumSymbolBody=P("enumSymbolBody"),zte=p.EnumBooleanMember=P("enumBooleanMember"),Jte=p.EnumNumberMember=P("enumNumberMember"),Xte=p.EnumStringMember=P("enumStringMember"),Hte=p.EnumDefaultedMember=P("enumDefaultedMember"),Gte=p.IndexedAccessType=P("indexedAccessType"),Qte=p.OptionalIndexedAccessType=P("optionalIndexedAccessType"),Zte=p.JSXAttribute=P("jsxAttribute"),ere=p.JSXClosingElement=P("jsxClosingElement"),tre=p.JSXElement=P("jsxElement"),rre=p.JSXEmptyExpression=P("jsxEmptyExpression"),ire=p.JSXExpressionContainer=P("jsxExpressionContainer"),sre=p.JSXSpreadChild=P("jsxSpreadChild"),nre=p.JSXIdentifier=P("jsxIdentifier"),are=p.JSXMemberExpression=P("jsxMemberExpression"),ore=p.JSXNamespacedName=P("jsxNamespacedName"),lre=p.JSXOpeningElement=P("jsxOpeningElement"),cre=p.JSXSpreadAttribute=P("jsxSpreadAttribute"),ure=p.JSXText=P("jsxText"),pre=p.JSXFragment=P("jsxFragment"),fre=p.JSXOpeningFragment=P("jsxOpeningFragment"),hre=p.JSXClosingFragment=P("jsxClosingFragment"),dre=p.Noop=P("noop"),mre=p.Placeholder=P("placeholder"),yre=p.V8IntrinsicIdentifier=P("v8IntrinsicIdentifier"),Tre=p.ArgumentPlaceholder=P("argumentPlaceholder"),xre=p.BindExpression=P("bindExpression"),gre=p.Decorator=P("decorator"),bre=p.DoExpression=P("doExpression"),Sre=p.ExportDefaultSpecifier=P("exportDefaultSpecifier"),Ere=p.RecordExpression=P("recordExpression"),Pre=p.TupleExpression=P("tupleExpression"),vre=p.DecimalLiteral=P("decimalLiteral"),Are=p.ModuleExpression=P("moduleExpression"),wre=p.TopicReference=P("topicReference"),Cre=p.PipelineTopicExpression=P("pipelineTopicExpression"),Ire=p.PipelineBareFunction=P("pipelineBareFunction"),kre=p.PipelinePrimaryTopicReference=P("pipelinePrimaryTopicReference"),Nre=p.VoidPattern=P("voidPattern"),Ore=p.TSParameterProperty=P("tsParameterProperty"),_re=p.TSDeclareFunction=P("tsDeclareFunction"),Dre=p.TSDeclareMethod=P("tsDeclareMethod"),Lre=p.TSQualifiedName=P("tsQualifiedName"),Mre=p.TSCallSignatureDeclaration=P("tsCallSignatureDeclaration"),Fre=p.TSConstructSignatureDeclaration=P("tsConstructSignatureDeclaration"),Bre=p.TSPropertySignature=P("tsPropertySignature"),jre=p.TSMethodSignature=P("tsMethodSignature"),Rre=p.TSIndexSignature=P("tsIndexSignature"),qre=p.TSAnyKeyword=P("tsAnyKeyword"),Ure=p.TSBooleanKeyword=P("tsBooleanKeyword"),$re=p.TSBigIntKeyword=P("tsBigIntKeyword"),Kre=p.TSIntrinsicKeyword=P("tsIntrinsicKeyword"),Wre=p.TSNeverKeyword=P("tsNeverKeyword"),Vre=p.TSNullKeyword=P("tsNullKeyword"),Yre=p.TSNumberKeyword=P("tsNumberKeyword"),zre=p.TSObjectKeyword=P("tsObjectKeyword"),Jre=p.TSStringKeyword=P("tsStringKeyword"),Xre=p.TSSymbolKeyword=P("tsSymbolKeyword"),Hre=p.TSUndefinedKeyword=P("tsUndefinedKeyword"),Gre=p.TSUnknownKeyword=P("tsUnknownKeyword"),Qre=p.TSVoidKeyword=P("tsVoidKeyword"),Zre=p.TSThisType=P("tsThisType"),eie=p.TSFunctionType=P("tsFunctionType"),tie=p.TSConstructorType=P("tsConstructorType"),rie=p.TSTypeReference=P("tsTypeReference"),iie=p.TSTypePredicate=P("tsTypePredicate"),sie=p.TSTypeQuery=P("tsTypeQuery"),nie=p.TSTypeLiteral=P("tsTypeLiteral"),aie=p.TSArrayType=P("tsArrayType"),oie=p.TSTupleType=P("tsTupleType"),lie=p.TSOptionalType=P("tsOptionalType"),cie=p.TSRestType=P("tsRestType"),uie=p.TSNamedTupleMember=P("tsNamedTupleMember"),pie=p.TSUnionType=P("tsUnionType"),fie=p.TSIntersectionType=P("tsIntersectionType"),hie=p.TSConditionalType=P("tsConditionalType"),die=p.TSInferType=P("tsInferType"),mie=p.TSParenthesizedType=P("tsParenthesizedType"),yie=p.TSTypeOperator=P("tsTypeOperator"),Tie=p.TSIndexedAccessType=P("tsIndexedAccessType"),xie=p.TSMappedType=P("tsMappedType"),gie=p.TSTemplateLiteralType=P("tsTemplateLiteralType"),bie=p.TSLiteralType=P("tsLiteralType"),Sie=p.TSExpressionWithTypeArguments=P("tsExpressionWithTypeArguments"),Eie=p.TSInterfaceDeclaration=P("tsInterfaceDeclaration"),Pie=p.TSInterfaceBody=P("tsInterfaceBody"),vie=p.TSTypeAliasDeclaration=P("tsTypeAliasDeclaration"),Aie=p.TSInstantiationExpression=P("tsInstantiationExpression"),wie=p.TSAsExpression=P("tsAsExpression"),Cie=p.TSSatisfiesExpression=P("tsSatisfiesExpression"),Iie=p.TSTypeAssertion=P("tsTypeAssertion"),kie=p.TSEnumBody=P("tsEnumBody"),Nie=p.TSEnumDeclaration=P("tsEnumDeclaration"),Oie=p.TSEnumMember=P("tsEnumMember"),_ie=p.TSModuleDeclaration=P("tsModuleDeclaration"),Die=p.TSModuleBlock=P("tsModuleBlock"),Lie=p.TSImportType=P("tsImportType"),Mie=p.TSImportEqualsDeclaration=P("tsImportEqualsDeclaration"),Fie=p.TSExternalModuleReference=P("tsExternalModuleReference"),Bie=p.TSNonNullExpression=P("tsNonNullExpression"),jie=p.TSExportAssignment=P("tsExportAssignment"),Rie=p.TSNamespaceExportDeclaration=P("tsNamespaceExportDeclaration"),qie=p.TSTypeAnnotation=P("tsTypeAnnotation"),Uie=p.TSTypeParameterInstantiation=P("tsTypeParameterInstantiation"),$ie=p.TSTypeParameterDeclaration=P("tsTypeParameterDeclaration"),Kie=p.TSTypeParameter=P("tsTypeParameter"),Wie=p.NumberLiteral=bn.numberLiteral,Vie=p.RegexLiteral=bn.regexLiteral,Yie=p.RestProperty=bn.restProperty,zie=p.SpreadProperty=bn.spreadProperty});var Yt=N(ai=>{"use strict";Object.defineProperty(ai,"__esModule",{value:!0});var Hc=Xc();Object.keys(Hc).forEach(function(t){t==="default"||t==="__esModule"||t in ai&&ai[t]===Hc[t]||Object.defineProperty(ai,t,{enumerable:!0,get:function(){return Hc[t]}})});var Gc=sy();Object.keys(Gc).forEach(function(t){t==="default"||t==="__esModule"||t in ai&&ai[t]===Gc[t]||Object.defineProperty(ai,t,{enumerable:!0,get:function(){return Gc[t]}})})});var ny=N(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.default=WD;var $D=Yt(),KD=Ne();function WD(t,e){let r=t.value.split(/\r\n|\n|\r/),i=0;for(let n=0;n<r.length;n++)/[^ \t]/.exec(r[n])&&(i=n);let s="";for(let n=0;n<r.length;n++){let a=r[n],o=n===0,l=n===r.length-1,c=n===i,u=a.replace(/\t/g," ");o||(u=u.replace(/^ +/,"")),l||(u=u.replace(/ +$/,"")),u&&(c||(u+=" "),s+=u)}s&&e.push((0,KD.inherits)((0,$D.stringLiteral)(s),t))}});var ay=N(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.default=YD;var Zc=lt(),VD=ny();function YD(t){let e=[];for(let r=0;r<t.children.length;r++){let i=t.children[r];if((0,Zc.isJSXText)(i)){(0,VD.default)(i,e);continue}(0,Zc.isJSXExpressionContainer)(i)&&(i=i.expression),!(0,Zc.isJSXEmptyExpression)(i)&&e.push(i)}return e}});var ru=N(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.default=JD;var zD=nr();function JD(t){return!!(t&&zD.VISITOR_KEYS[t.type])}});var oy=N(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.default=HD;var XD=ru();function HD(t){if(!(0,XD.default)(t)){var e;let r=(e=t?.type)!=null?e:JSON.stringify(t);throw new TypeError(`Not a valid node of type "${r}"`)}}});var ly=N(T=>{"use strict";Object.defineProperty(T,"__esModule",{value:!0});T.assertAccessor=y4;T.assertAnyTypeAnnotation=DM;T.assertArgumentPlaceholder=lF;T.assertArrayExpression=QD;T.assertArrayPattern=HL;T.assertArrayTypeAnnotation=LM;T.assertArrowFunctionExpression=GL;T.assertAssignmentExpression=ZD;T.assertAssignmentPattern=XL;T.assertAwaitExpression=bM;T.assertBigIntLiteral=EM;T.assertBinary=BB;T.assertBinaryExpression=eL;T.assertBindExpression=cF;T.assertBlock=qB;T.assertBlockParent=RB;T.assertBlockStatement=sL;T.assertBooleanLiteral=AL;T.assertBooleanLiteralTypeAnnotation=FM;T.assertBooleanTypeAnnotation=MM;T.assertBreakStatement=nL;T.assertCallExpression=aL;T.assertCatchClause=oL;T.assertClass=f4;T.assertClassAccessorProperty=CM;T.assertClassBody=QL;T.assertClassDeclaration=eM;T.assertClassExpression=ZL;T.assertClassImplements=jM;T.assertClassMethod=fM;T.assertClassPrivateMethod=kM;T.assertClassPrivateProperty=IM;T.assertClassProperty=wM;T.assertCompletionStatement=KB;T.assertConditional=WB;T.assertConditionalExpression=lL;T.assertContinueStatement=cL;T.assertDebuggerStatement=uL;T.assertDecimalLiteral=mF;T.assertDeclaration=ZB;T.assertDeclareClass=RM;T.assertDeclareExportAllDeclaration=JM;T.assertDeclareExportDeclaration=zM;T.assertDeclareFunction=qM;T.assertDeclareInterface=UM;T.assertDeclareModule=$M;T.assertDeclareModuleExports=KM;T.assertDeclareOpaqueType=VM;T.assertDeclareTypeAlias=WM;T.assertDeclareVariable=YM;T.assertDeclaredPredicate=XM;T.assertDecorator=uF;T.assertDirective=rL;T.assertDirectiveLiteral=iL;T.assertDoExpression=pF;T.assertDoWhileStatement=pL;T.assertEmptyStatement=fL;T.assertEmptyTypeAnnotation=a3;T.assertEnumBody=P4;T.assertEnumBooleanBody=L3;T.assertEnumBooleanMember=j3;T.assertEnumDeclaration=D3;T.assertEnumDefaultedMember=U3;T.assertEnumMember=v4;T.assertEnumNumberBody=M3;T.assertEnumNumberMember=R3;T.assertEnumStringBody=F3;T.assertEnumStringMember=q3;T.assertEnumSymbolBody=B3;T.assertExistsTypeAnnotation=HM;T.assertExportAllDeclaration=tM;T.assertExportDeclaration=d4;T.assertExportDefaultDeclaration=rM;T.assertExportDefaultSpecifier=fF;T.assertExportNamedDeclaration=iM;T.assertExportNamespaceSpecifier=PM;T.assertExportSpecifier=sM;T.assertExpression=FB;T.assertExpressionStatement=hL;T.assertExpressionWrapper=zB;T.assertFile=dL;T.assertFlow=x4;T.assertFlowBaseAnnotation=b4;T.assertFlowDeclaration=S4;T.assertFlowPredicate=E4;T.assertFlowType=g4;T.assertFor=JB;T.assertForInStatement=mL;T.assertForOfStatement=nM;T.assertForStatement=yL;T.assertForXStatement=XB;T.assertFunction=HB;T.assertFunctionDeclaration=TL;T.assertFunctionExpression=xL;T.assertFunctionParameter=e4;T.assertFunctionParent=GB;T.assertFunctionTypeAnnotation=GM;T.assertFunctionTypeParam=QM;T.assertGenericTypeAnnotation=ZM;T.assertIdentifier=gL;T.assertIfStatement=bL;T.assertImmutable=n4;T.assertImport=SM;T.assertImportAttribute=_M;T.assertImportDeclaration=aM;T.assertImportDefaultSpecifier=oM;T.assertImportExpression=uM;T.assertImportNamespaceSpecifier=lM;T.assertImportOrExportDeclaration=h4;T.assertImportSpecifier=cM;T.assertIndexedAccessType=$3;T.assertInferredPredicate=e3;T.assertInterfaceDeclaration=r3;T.assertInterfaceExtends=t3;T.assertInterfaceTypeAnnotation=i3;T.assertInterpreterDirective=tL;T.assertIntersectionTypeAnnotation=s3;T.assertJSX=A4;T.assertJSXAttribute=W3;T.assertJSXClosingElement=V3;T.assertJSXClosingFragment=sF;T.assertJSXElement=Y3;T.assertJSXEmptyExpression=z3;T.assertJSXExpressionContainer=J3;T.assertJSXFragment=rF;T.assertJSXIdentifier=H3;T.assertJSXMemberExpression=G3;T.assertJSXNamespacedName=Q3;T.assertJSXOpeningElement=Z3;T.assertJSXOpeningFragment=iF;T.assertJSXSpreadAttribute=eF;T.assertJSXSpreadChild=X3;T.assertJSXText=tF;T.assertLVal=r4;T.assertLabeledStatement=SL;T.assertLiteral=s4;T.assertLogicalExpression=CL;T.assertLoop=VB;T.assertMemberExpression=IL;T.assertMetaProperty=pM;T.assertMethod=o4;T.assertMiscellaneous=w4;T.assertMixedTypeAnnotation=n3;T.assertModuleDeclaration=M4;T.assertModuleExpression=yF;T.assertModuleSpecifier=m4;T.assertNewExpression=kL;T.assertNoop=nF;T.assertNullLiteral=vL;T.assertNullLiteralTypeAnnotation=BM;T.assertNullableTypeAnnotation=o3;T.assertNumberLiteral=O4;T.assertNumberLiteralTypeAnnotation=l3;T.assertNumberTypeAnnotation=c3;T.assertNumericLiteral=PL;T.assertObjectExpression=OL;T.assertObjectMember=l4;T.assertObjectMethod=_L;T.assertObjectPattern=hM;T.assertObjectProperty=DL;T.assertObjectTypeAnnotation=u3;T.assertObjectTypeCallProperty=f3;T.assertObjectTypeIndexer=h3;T.assertObjectTypeInternalSlot=p3;T.assertObjectTypeProperty=d3;T.assertObjectTypeSpreadProperty=m3;T.assertOpaqueType=y3;T.assertOptionalCallExpression=AM;T.assertOptionalIndexedAccessType=K3;T.assertOptionalMemberExpression=vM;T.assertParenthesizedExpression=BL;T.assertPattern=p4;T.assertPatternLike=t4;T.assertPipelineBareFunction=gF;T.assertPipelinePrimaryTopicReference=bF;T.assertPipelineTopicExpression=xF;T.assertPlaceholder=aF;T.assertPrivate=T4;T.assertPrivateName=NM;T.assertProgram=NL;T.assertProperty=c4;T.assertPureish=QB;T.assertQualifiedTypeIdentifier=T3;T.assertRecordExpression=hF;T.assertRegExpLiteral=wL;T.assertRegexLiteral=_4;T.assertRestElement=LL;T.assertRestProperty=D4;T.assertReturnStatement=ML;T.assertScopable=jB;T.assertSequenceExpression=FL;T.assertSpreadElement=dM;T.assertSpreadProperty=L4;T.assertStandardized=MB;T.assertStatement=UB;T.assertStaticBlock=OM;T.assertStringLiteral=EL;T.assertStringLiteralTypeAnnotation=x3;T.assertStringTypeAnnotation=g3;T.assertSuper=mM;T.assertSwitchCase=jL;T.assertSwitchStatement=RL;T.assertSymbolTypeAnnotation=b3;T.assertTSAnyKeyword=OF;T.assertTSArrayType=GF;T.assertTSAsExpression=TB;T.assertTSBaseType=N4;T.assertTSBigIntKeyword=DF;T.assertTSBooleanKeyword=_F;T.assertTSCallSignatureDeclaration=wF;T.assertTSConditionalType=sB;T.assertTSConstructSignatureDeclaration=CF;T.assertTSConstructorType=YF;T.assertTSDeclareFunction=PF;T.assertTSDeclareMethod=vF;T.assertTSEntityName=i4;T.assertTSEnumBody=bB;T.assertTSEnumDeclaration=SB;T.assertTSEnumMember=EB;T.assertTSExportAssignment=kB;T.assertTSExpressionWithTypeArguments=fB;T.assertTSExternalModuleReference=CB;T.assertTSFunctionType=VF;T.assertTSImportEqualsDeclaration=wB;T.assertTSImportType=AB;T.assertTSIndexSignature=NF;T.assertTSIndexedAccessType=lB;T.assertTSInferType=nB;T.assertTSInstantiationExpression=yB;T.assertTSInterfaceBody=dB;T.assertTSInterfaceDeclaration=hB;T.assertTSIntersectionType=iB;T.assertTSIntrinsicKeyword=LF;T.assertTSLiteralType=pB;T.assertTSMappedType=cB;T.assertTSMethodSignature=kF;T.assertTSModuleBlock=vB;T.assertTSModuleDeclaration=PB;T.assertTSNamedTupleMember=tB;T.assertTSNamespaceExportDeclaration=NB;T.assertTSNeverKeyword=MF;T.assertTSNonNullExpression=IB;T.assertTSNullKeyword=FF;T.assertTSNumberKeyword=BF;T.assertTSObjectKeyword=jF;T.assertTSOptionalType=ZF;T.assertTSParameterProperty=EF;T.assertTSParenthesizedType=aB;T.assertTSPropertySignature=IF;T.assertTSQualifiedName=AF;T.assertTSRestType=eB;T.assertTSSatisfiesExpression=xB;T.assertTSStringKeyword=RF;T.assertTSSymbolKeyword=qF;T.assertTSTemplateLiteralType=uB;T.assertTSThisType=WF;T.assertTSTupleType=QF;T.assertTSType=k4;T.assertTSTypeAliasDeclaration=mB;T.assertTSTypeAnnotation=OB;T.assertTSTypeAssertion=gB;T.assertTSTypeElement=I4;T.assertTSTypeLiteral=HF;T.assertTSTypeOperator=oB;T.assertTSTypeParameter=LB;T.assertTSTypeParameterDeclaration=DB;T.assertTSTypeParameterInstantiation=_B;T.assertTSTypePredicate=JF;T.assertTSTypeQuery=XF;T.assertTSTypeReference=zF;T.assertTSUndefinedKeyword=UF;T.assertTSUnionType=rB;T.assertTSUnknownKeyword=$F;T.assertTSVoidKeyword=KF;T.assertTaggedTemplateExpression=yM;T.assertTemplateElement=TM;T.assertTemplateLiteral=xM;T.assertTerminatorless=$B;T.assertThisExpression=qL;T.assertThisTypeAnnotation=S3;T.assertThrowStatement=UL;T.assertTopicReference=TF;T.assertTryStatement=$L;T.assertTupleExpression=dF;T.assertTupleTypeAnnotation=E3;T.assertTypeAlias=v3;T.assertTypeAnnotation=A3;T.assertTypeCastExpression=w3;T.assertTypeParameter=C3;T.assertTypeParameterDeclaration=I3;T.assertTypeParameterInstantiation=k3;T.assertTypeScript=C4;T.assertTypeofTypeAnnotation=P3;T.assertUnaryExpression=KL;T.assertUnaryLike=u4;T.assertUnionTypeAnnotation=N3;T.assertUpdateExpression=WL;T.assertUserWhitespacable=a4;T.assertV8IntrinsicIdentifier=oF;T.assertVariableDeclaration=VL;T.assertVariableDeclarator=YL;T.assertVariance=O3;T.assertVoidPattern=SF;T.assertVoidTypeAnnotation=_3;T.assertWhile=YB;T.assertWhileStatement=zL;T.assertWithStatement=JL;T.assertYieldExpression=gM;var GD=ds(),Sn=hs();function g(t,e,r){if(!(0,GD.default)(t,e,r))throw new Error(`Expected type "${t}" with option ${JSON.stringify(r)}, but instead got "${e.type}".`)}function QD(t,e){g("ArrayExpression",t,e)}function ZD(t,e){g("AssignmentExpression",t,e)}function eL(t,e){g("BinaryExpression",t,e)}function tL(t,e){g("InterpreterDirective",t,e)}function rL(t,e){g("Directive",t,e)}function iL(t,e){g("DirectiveLiteral",t,e)}function sL(t,e){g("BlockStatement",t,e)}function nL(t,e){g("BreakStatement",t,e)}function aL(t,e){g("CallExpression",t,e)}function oL(t,e){g("CatchClause",t,e)}function lL(t,e){g("ConditionalExpression",t,e)}function cL(t,e){g("ContinueStatement",t,e)}function uL(t,e){g("DebuggerStatement",t,e)}function pL(t,e){g("DoWhileStatement",t,e)}function fL(t,e){g("EmptyStatement",t,e)}function hL(t,e){g("ExpressionStatement",t,e)}function dL(t,e){g("File",t,e)}function mL(t,e){g("ForInStatement",t,e)}function yL(t,e){g("ForStatement",t,e)}function TL(t,e){g("FunctionDeclaration",t,e)}function xL(t,e){g("FunctionExpression",t,e)}function gL(t,e){g("Identifier",t,e)}function bL(t,e){g("IfStatement",t,e)}function SL(t,e){g("LabeledStatement",t,e)}function EL(t,e){g("StringLiteral",t,e)}function PL(t,e){g("NumericLiteral",t,e)}function vL(t,e){g("NullLiteral",t,e)}function AL(t,e){g("BooleanLiteral",t,e)}function wL(t,e){g("RegExpLiteral",t,e)}function CL(t,e){g("LogicalExpression",t,e)}function IL(t,e){g("MemberExpression",t,e)}function kL(t,e){g("NewExpression",t,e)}function NL(t,e){g("Program",t,e)}function OL(t,e){g("ObjectExpression",t,e)}function _L(t,e){g("ObjectMethod",t,e)}function DL(t,e){g("ObjectProperty",t,e)}function LL(t,e){g("RestElement",t,e)}function ML(t,e){g("ReturnStatement",t,e)}function FL(t,e){g("SequenceExpression",t,e)}function BL(t,e){g("ParenthesizedExpression",t,e)}function jL(t,e){g("SwitchCase",t,e)}function RL(t,e){g("SwitchStatement",t,e)}function qL(t,e){g("ThisExpression",t,e)}function UL(t,e){g("ThrowStatement",t,e)}function $L(t,e){g("TryStatement",t,e)}function KL(t,e){g("UnaryExpression",t,e)}function WL(t,e){g("UpdateExpression",t,e)}function VL(t,e){g("VariableDeclaration",t,e)}function YL(t,e){g("VariableDeclarator",t,e)}function zL(t,e){g("WhileStatement",t,e)}function JL(t,e){g("WithStatement",t,e)}function XL(t,e){g("AssignmentPattern",t,e)}function HL(t,e){g("ArrayPattern",t,e)}function GL(t,e){g("ArrowFunctionExpression",t,e)}function QL(t,e){g("ClassBody",t,e)}function ZL(t,e){g("ClassExpression",t,e)}function eM(t,e){g("ClassDeclaration",t,e)}function tM(t,e){g("ExportAllDeclaration",t,e)}function rM(t,e){g("ExportDefaultDeclaration",t,e)}function iM(t,e){g("ExportNamedDeclaration",t,e)}function sM(t,e){g("ExportSpecifier",t,e)}function nM(t,e){g("ForOfStatement",t,e)}function aM(t,e){g("ImportDeclaration",t,e)}function oM(t,e){g("ImportDefaultSpecifier",t,e)}function lM(t,e){g("ImportNamespaceSpecifier",t,e)}function cM(t,e){g("ImportSpecifier",t,e)}function uM(t,e){g("ImportExpression",t,e)}function pM(t,e){g("MetaProperty",t,e)}function fM(t,e){g("ClassMethod",t,e)}function hM(t,e){g("ObjectPattern",t,e)}function dM(t,e){g("SpreadElement",t,e)}function mM(t,e){g("Super",t,e)}function yM(t,e){g("TaggedTemplateExpression",t,e)}function TM(t,e){g("TemplateElement",t,e)}function xM(t,e){g("TemplateLiteral",t,e)}function gM(t,e){g("YieldExpression",t,e)}function bM(t,e){g("AwaitExpression",t,e)}function SM(t,e){g("Import",t,e)}function EM(t,e){g("BigIntLiteral",t,e)}function PM(t,e){g("ExportNamespaceSpecifier",t,e)}function vM(t,e){g("OptionalMemberExpression",t,e)}function AM(t,e){g("OptionalCallExpression",t,e)}function wM(t,e){g("ClassProperty",t,e)}function CM(t,e){g("ClassAccessorProperty",t,e)}function IM(t,e){g("ClassPrivateProperty",t,e)}function kM(t,e){g("ClassPrivateMethod",t,e)}function NM(t,e){g("PrivateName",t,e)}function OM(t,e){g("StaticBlock",t,e)}function _M(t,e){g("ImportAttribute",t,e)}function DM(t,e){g("AnyTypeAnnotation",t,e)}function LM(t,e){g("ArrayTypeAnnotation",t,e)}function MM(t,e){g("BooleanTypeAnnotation",t,e)}function FM(t,e){g("BooleanLiteralTypeAnnotation",t,e)}function BM(t,e){g("NullLiteralTypeAnnotation",t,e)}function jM(t,e){g("ClassImplements",t,e)}function RM(t,e){g("DeclareClass",t,e)}function qM(t,e){g("DeclareFunction",t,e)}function UM(t,e){g("DeclareInterface",t,e)}function $M(t,e){g("DeclareModule",t,e)}function KM(t,e){g("DeclareModuleExports",t,e)}function WM(t,e){g("DeclareTypeAlias",t,e)}function VM(t,e){g("DeclareOpaqueType",t,e)}function YM(t,e){g("DeclareVariable",t,e)}function zM(t,e){g("DeclareExportDeclaration",t,e)}function JM(t,e){g("DeclareExportAllDeclaration",t,e)}function XM(t,e){g("DeclaredPredicate",t,e)}function HM(t,e){g("ExistsTypeAnnotation",t,e)}function GM(t,e){g("FunctionTypeAnnotation",t,e)}function QM(t,e){g("FunctionTypeParam",t,e)}function ZM(t,e){g("GenericTypeAnnotation",t,e)}function e3(t,e){g("InferredPredicate",t,e)}function t3(t,e){g("InterfaceExtends",t,e)}function r3(t,e){g("InterfaceDeclaration",t,e)}function i3(t,e){g("InterfaceTypeAnnotation",t,e)}function s3(t,e){g("IntersectionTypeAnnotation",t,e)}function n3(t,e){g("MixedTypeAnnotation",t,e)}function a3(t,e){g("EmptyTypeAnnotation",t,e)}function o3(t,e){g("NullableTypeAnnotation",t,e)}function l3(t,e){g("NumberLiteralTypeAnnotation",t,e)}function c3(t,e){g("NumberTypeAnnotation",t,e)}function u3(t,e){g("ObjectTypeAnnotation",t,e)}function p3(t,e){g("ObjectTypeInternalSlot",t,e)}function f3(t,e){g("ObjectTypeCallProperty",t,e)}function h3(t,e){g("ObjectTypeIndexer",t,e)}function d3(t,e){g("ObjectTypeProperty",t,e)}function m3(t,e){g("ObjectTypeSpreadProperty",t,e)}function y3(t,e){g("OpaqueType",t,e)}function T3(t,e){g("QualifiedTypeIdentifier",t,e)}function x3(t,e){g("StringLiteralTypeAnnotation",t,e)}function g3(t,e){g("StringTypeAnnotation",t,e)}function b3(t,e){g("SymbolTypeAnnotation",t,e)}function S3(t,e){g("ThisTypeAnnotation",t,e)}function E3(t,e){g("TupleTypeAnnotation",t,e)}function P3(t,e){g("TypeofTypeAnnotation",t,e)}function v3(t,e){g("TypeAlias",t,e)}function A3(t,e){g("TypeAnnotation",t,e)}function w3(t,e){g("TypeCastExpression",t,e)}function C3(t,e){g("TypeParameter",t,e)}function I3(t,e){g("TypeParameterDeclaration",t,e)}function k3(t,e){g("TypeParameterInstantiation",t,e)}function N3(t,e){g("UnionTypeAnnotation",t,e)}function O3(t,e){g("Variance",t,e)}function _3(t,e){g("VoidTypeAnnotation",t,e)}function D3(t,e){g("EnumDeclaration",t,e)}function L3(t,e){g("EnumBooleanBody",t,e)}function M3(t,e){g("EnumNumberBody",t,e)}function F3(t,e){g("EnumStringBody",t,e)}function B3(t,e){g("EnumSymbolBody",t,e)}function j3(t,e){g("EnumBooleanMember",t,e)}function R3(t,e){g("EnumNumberMember",t,e)}function q3(t,e){g("EnumStringMember",t,e)}function U3(t,e){g("EnumDefaultedMember",t,e)}function $3(t,e){g("IndexedAccessType",t,e)}function K3(t,e){g("OptionalIndexedAccessType",t,e)}function W3(t,e){g("JSXAttribute",t,e)}function V3(t,e){g("JSXClosingElement",t,e)}function Y3(t,e){g("JSXElement",t,e)}function z3(t,e){g("JSXEmptyExpression",t,e)}function J3(t,e){g("JSXExpressionContainer",t,e)}function X3(t,e){g("JSXSpreadChild",t,e)}function H3(t,e){g("JSXIdentifier",t,e)}function G3(t,e){g("JSXMemberExpression",t,e)}function Q3(t,e){g("JSXNamespacedName",t,e)}function Z3(t,e){g("JSXOpeningElement",t,e)}function eF(t,e){g("JSXSpreadAttribute",t,e)}function tF(t,e){g("JSXText",t,e)}function rF(t,e){g("JSXFragment",t,e)}function iF(t,e){g("JSXOpeningFragment",t,e)}function sF(t,e){g("JSXClosingFragment",t,e)}function nF(t,e){g("Noop",t,e)}function aF(t,e){g("Placeholder",t,e)}function oF(t,e){g("V8IntrinsicIdentifier",t,e)}function lF(t,e){g("ArgumentPlaceholder",t,e)}function cF(t,e){g("BindExpression",t,e)}function uF(t,e){g("Decorator",t,e)}function pF(t,e){g("DoExpression",t,e)}function fF(t,e){g("ExportDefaultSpecifier",t,e)}function hF(t,e){g("RecordExpression",t,e)}function dF(t,e){g("TupleExpression",t,e)}function mF(t,e){g("DecimalLiteral",t,e)}function yF(t,e){g("ModuleExpression",t,e)}function TF(t,e){g("TopicReference",t,e)}function xF(t,e){g("PipelineTopicExpression",t,e)}function gF(t,e){g("PipelineBareFunction",t,e)}function bF(t,e){g("PipelinePrimaryTopicReference",t,e)}function SF(t,e){g("VoidPattern",t,e)}function EF(t,e){g("TSParameterProperty",t,e)}function PF(t,e){g("TSDeclareFunction",t,e)}function vF(t,e){g("TSDeclareMethod",t,e)}function AF(t,e){g("TSQualifiedName",t,e)}function wF(t,e){g("TSCallSignatureDeclaration",t,e)}function CF(t,e){g("TSConstructSignatureDeclaration",t,e)}function IF(t,e){g("TSPropertySignature",t,e)}function kF(t,e){g("TSMethodSignature",t,e)}function NF(t,e){g("TSIndexSignature",t,e)}function OF(t,e){g("TSAnyKeyword",t,e)}function _F(t,e){g("TSBooleanKeyword",t,e)}function DF(t,e){g("TSBigIntKeyword",t,e)}function LF(t,e){g("TSIntrinsicKeyword",t,e)}function MF(t,e){g("TSNeverKeyword",t,e)}function FF(t,e){g("TSNullKeyword",t,e)}function BF(t,e){g("TSNumberKeyword",t,e)}function jF(t,e){g("TSObjectKeyword",t,e)}function RF(t,e){g("TSStringKeyword",t,e)}function qF(t,e){g("TSSymbolKeyword",t,e)}function UF(t,e){g("TSUndefinedKeyword",t,e)}function $F(t,e){g("TSUnknownKeyword",t,e)}function KF(t,e){g("TSVoidKeyword",t,e)}function WF(t,e){g("TSThisType",t,e)}function VF(t,e){g("TSFunctionType",t,e)}function YF(t,e){g("TSConstructorType",t,e)}function zF(t,e){g("TSTypeReference",t,e)}function JF(t,e){g("TSTypePredicate",t,e)}function XF(t,e){g("TSTypeQuery",t,e)}function HF(t,e){g("TSTypeLiteral",t,e)}function GF(t,e){g("TSArrayType",t,e)}function QF(t,e){g("TSTupleType",t,e)}function ZF(t,e){g("TSOptionalType",t,e)}function eB(t,e){g("TSRestType",t,e)}function tB(t,e){g("TSNamedTupleMember",t,e)}function rB(t,e){g("TSUnionType",t,e)}function iB(t,e){g("TSIntersectionType",t,e)}function sB(t,e){g("TSConditionalType",t,e)}function nB(t,e){g("TSInferType",t,e)}function aB(t,e){g("TSParenthesizedType",t,e)}function oB(t,e){g("TSTypeOperator",t,e)}function lB(t,e){g("TSIndexedAccessType",t,e)}function cB(t,e){g("TSMappedType",t,e)}function uB(t,e){g("TSTemplateLiteralType",t,e)}function pB(t,e){g("TSLiteralType",t,e)}function fB(t,e){g("TSExpressionWithTypeArguments",t,e)}function hB(t,e){g("TSInterfaceDeclaration",t,e)}function dB(t,e){g("TSInterfaceBody",t,e)}function mB(t,e){g("TSTypeAliasDeclaration",t,e)}function yB(t,e){g("TSInstantiationExpression",t,e)}function TB(t,e){g("TSAsExpression",t,e)}function xB(t,e){g("TSSatisfiesExpression",t,e)}function gB(t,e){g("TSTypeAssertion",t,e)}function bB(t,e){g("TSEnumBody",t,e)}function SB(t,e){g("TSEnumDeclaration",t,e)}function EB(t,e){g("TSEnumMember",t,e)}function PB(t,e){g("TSModuleDeclaration",t,e)}function vB(t,e){g("TSModuleBlock",t,e)}function AB(t,e){g("TSImportType",t,e)}function wB(t,e){g("TSImportEqualsDeclaration",t,e)}function CB(t,e){g("TSExternalModuleReference",t,e)}function IB(t,e){g("TSNonNullExpression",t,e)}function kB(t,e){g("TSExportAssignment",t,e)}function NB(t,e){g("TSNamespaceExportDeclaration",t,e)}function OB(t,e){g("TSTypeAnnotation",t,e)}function _B(t,e){g("TSTypeParameterInstantiation",t,e)}function DB(t,e){g("TSTypeParameterDeclaration",t,e)}function LB(t,e){g("TSTypeParameter",t,e)}function MB(t,e){g("Standardized",t,e)}function FB(t,e){g("Expression",t,e)}function BB(t,e){g("Binary",t,e)}function jB(t,e){g("Scopable",t,e)}function RB(t,e){g("BlockParent",t,e)}function qB(t,e){g("Block",t,e)}function UB(t,e){g("Statement",t,e)}function $B(t,e){g("Terminatorless",t,e)}function KB(t,e){g("CompletionStatement",t,e)}function WB(t,e){g("Conditional",t,e)}function VB(t,e){g("Loop",t,e)}function YB(t,e){g("While",t,e)}function zB(t,e){g("ExpressionWrapper",t,e)}function JB(t,e){g("For",t,e)}function XB(t,e){g("ForXStatement",t,e)}function HB(t,e){g("Function",t,e)}function GB(t,e){g("FunctionParent",t,e)}function QB(t,e){g("Pureish",t,e)}function ZB(t,e){g("Declaration",t,e)}function e4(t,e){g("FunctionParameter",t,e)}function t4(t,e){g("PatternLike",t,e)}function r4(t,e){g("LVal",t,e)}function i4(t,e){g("TSEntityName",t,e)}function s4(t,e){g("Literal",t,e)}function n4(t,e){g("Immutable",t,e)}function a4(t,e){g("UserWhitespacable",t,e)}function o4(t,e){g("Method",t,e)}function l4(t,e){g("ObjectMember",t,e)}function c4(t,e){g("Property",t,e)}function u4(t,e){g("UnaryLike",t,e)}function p4(t,e){g("Pattern",t,e)}function f4(t,e){g("Class",t,e)}function h4(t,e){g("ImportOrExportDeclaration",t,e)}function d4(t,e){g("ExportDeclaration",t,e)}function m4(t,e){g("ModuleSpecifier",t,e)}function y4(t,e){g("Accessor",t,e)}function T4(t,e){g("Private",t,e)}function x4(t,e){g("Flow",t,e)}function g4(t,e){g("FlowType",t,e)}function b4(t,e){g("FlowBaseAnnotation",t,e)}function S4(t,e){g("FlowDeclaration",t,e)}function E4(t,e){g("FlowPredicate",t,e)}function P4(t,e){g("EnumBody",t,e)}function v4(t,e){g("EnumMember",t,e)}function A4(t,e){g("JSX",t,e)}function w4(t,e){g("Miscellaneous",t,e)}function C4(t,e){g("TypeScript",t,e)}function I4(t,e){g("TSTypeElement",t,e)}function k4(t,e){g("TSType",t,e)}function N4(t,e){g("TSBaseType",t,e)}function O4(t,e){(0,Sn.default)("assertNumberLiteral","assertNumericLiteral"),g("NumberLiteral",t,e)}function _4(t,e){(0,Sn.default)("assertRegexLiteral","assertRegExpLiteral"),g("RegexLiteral",t,e)}function D4(t,e){(0,Sn.default)("assertRestProperty","assertRestElement"),g("RestProperty",t,e)}function L4(t,e){(0,Sn.default)("assertSpreadProperty","assertSpreadElement"),g("SpreadProperty",t,e)}function M4(t,e){(0,Sn.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),g("ModuleDeclaration",t,e)}});var cy=N(Za=>{"use strict";Object.defineProperty(Za,"__esModule",{value:!0});Za.default=void 0;var yr=Yt(),tse=Za.default=F4;function F4(t){switch(t){case"string":return(0,yr.stringTypeAnnotation)();case"number":return(0,yr.numberTypeAnnotation)();case"undefined":return(0,yr.voidTypeAnnotation)();case"boolean":return(0,yr.booleanTypeAnnotation)();case"function":return(0,yr.genericTypeAnnotation)((0,yr.identifier)("Function"));case"object":return(0,yr.genericTypeAnnotation)((0,yr.identifier)("Object"));case"symbol":return(0,yr.genericTypeAnnotation)((0,yr.identifier)("Symbol"));case"bigint":return(0,yr.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+t)}});var nu=N(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.default=py;var En=lt();function uy(t){return(0,En.isIdentifier)(t)?t.name:`${t.id.name}.${uy(t.qualification)}`}function py(t){let e=Array.from(t),r=new Map,i=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let o=e[a];if(o&&!n.includes(o)){if((0,En.isAnyTypeAnnotation)(o))return[o];if((0,En.isFlowBaseAnnotation)(o)){i.set(o.type,o);continue}if((0,En.isUnionTypeAnnotation)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}if((0,En.isGenericTypeAnnotation)(o)){let l=uy(o.id);if(r.has(l)){let c=r.get(l);c.typeParameters?o.typeParameters&&(c.typeParameters.params.push(...o.typeParameters.params),c.typeParameters.params=py(c.typeParameters.params)):c=o.typeParameters}else r.set(l,o);continue}n.push(o)}}for(let[,a]of i)n.push(a);for(let[,a]of r)n.push(a);return n}});var fy=N(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.default=R4;var B4=Yt(),j4=nu();function R4(t){let e=(0,j4.default)(t);return e.length===1?e[0]:(0,B4.unionTypeAnnotation)(e)}});var my=N(ou=>{"use strict";Object.defineProperty(ou,"__esModule",{value:!0});ou.default=dy;var Ss=lt();function hy(t){return(0,Ss.isIdentifier)(t)?t.name:(0,Ss.isThisExpression)(t)?"this":`${t.right.name}.${hy(t.left)}`}function dy(t){let e=Array.from(t),r=new Map,i=new Map,s=new Set,n=[];for(let a=0;a<e.length;a++){let o=e[a];if(!o||n.includes(o))continue;if((0,Ss.isTSAnyKeyword)(o))return[o];if((0,Ss.isTSBaseType)(o)){i.set(o.type,o);continue}if((0,Ss.isTSUnionType)(o)){s.has(o.types)||(e.push(...o.types),s.add(o.types));continue}let l="typeParameters";if((0,Ss.isTSTypeReference)(o)&&o[l]){let c=o[l],u=hy(o.typeName);if(r.has(u)){let d=r.get(u),x=d[l];x?(x.params.push(...c.params),x.params=dy(x.params)):d=c}else r.set(u,o);continue}n.push(o)}for(let[,a]of i)n.push(a);for(let[,a]of r)n.push(a);return n}});var yy=N(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.default=K4;var q4=Yt(),U4=my(),$4=lt();function K4(t){let e=t.map(i=>(0,$4.isTSTypeAnnotation)(i)?i.typeAnnotation:i),r=(0,U4.default)(e);return r.length===1?r[0]:(0,q4.tsUnionType)(r)}});var uu=N(cu=>{"use strict";Object.defineProperty(cu,"__esModule",{value:!0});cu.buildUndefinedNode=W4;var Ty=Yt();function W4(){return(0,Ty.unaryExpression)("void",(0,Ty.numericLiteral)(0),!0)}});var oi=N(fu=>{"use strict";Object.defineProperty(fu,"__esModule",{value:!0});fu.default=V4;var xy=nr(),gy=lt(),{hasOwn:Or}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function by(t,e,r,i){return t&&typeof t.type=="string"?Sy(t,e,r,i):t}function pu(t,e,r,i){return Array.isArray(t)?t.map(s=>by(s,e,r,i)):by(t,e,r,i)}function V4(t,e=!0,r=!1){return Sy(t,e,r,new Map)}function Sy(t,e=!0,r=!1,i){if(!t)return t;let{type:s}=t,n={type:t.type};if((0,gy.isIdentifier)(t))n.name=t.name,Or(t,"optional")&&typeof t.optional=="boolean"&&(n.optional=t.optional),Or(t,"typeAnnotation")&&(n.typeAnnotation=e?pu(t.typeAnnotation,!0,r,i):t.typeAnnotation),Or(t,"decorators")&&(n.decorators=e?pu(t.decorators,!0,r,i):t.decorators);else if(Or(xy.NODE_FIELDS,s))for(let a of Object.keys(xy.NODE_FIELDS[s]))Or(t,a)&&(e?n[a]=(0,gy.isFile)(t)&&a==="comments"?eo(t.comments,e,r,i):pu(t[a],!0,r,i):n[a]=t[a]);else throw new Error(`Unknown node type: "${s}"`);return Or(t,"loc")&&(r?n.loc=null:n.loc=t.loc),Or(t,"leadingComments")&&(n.leadingComments=eo(t.leadingComments,e,r,i)),Or(t,"innerComments")&&(n.innerComments=eo(t.innerComments,e,r,i)),Or(t,"trailingComments")&&(n.trailingComments=eo(t.trailingComments,e,r,i)),Or(t,"extra")&&(n.extra=Object.assign({},t.extra)),n}function eo(t,e,r,i){return!t||!e?t:t.map(s=>{let n=i.get(s);if(n)return n;let{type:a,value:o,loc:l}=s,c={type:a,value:o,loc:l};return r&&(c.loc=null),i.set(s,c),c})}});var Ey=N(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.default=z4;var Y4=oi();function z4(t){return(0,Y4.default)(t,!1)}});var Py=N(du=>{"use strict";Object.defineProperty(du,"__esModule",{value:!0});du.default=X4;var J4=oi();function X4(t){return(0,J4.default)(t)}});var vy=N(mu=>{"use strict";Object.defineProperty(mu,"__esModule",{value:!0});mu.default=G4;var H4=oi();function G4(t){return(0,H4.default)(t,!0,!0)}});var Ay=N(yu=>{"use strict";Object.defineProperty(yu,"__esModule",{value:!0});yu.default=Z4;var Q4=oi();function Z4(t){return(0,Q4.default)(t,!1,!0)}});var xu=N(Tu=>{"use strict";Object.defineProperty(Tu,"__esModule",{value:!0});Tu.default=ej;function ej(t,e,r){if(!r||!t)return t;let i=`${e}Comments`;return t[i]?e==="leading"?t[i]=r.concat(t[i]):t[i].push(...r):t[i]=r,t}});var wy=N(gu=>{"use strict";Object.defineProperty(gu,"__esModule",{value:!0});gu.default=rj;var tj=xu();function rj(t,e,r,i){return(0,tj.default)(t,e,[{type:i?"CommentLine":"CommentBlock",value:r}])}});var to=N(bu=>{"use strict";Object.defineProperty(bu,"__esModule",{value:!0});bu.default=ij;function ij(t,e,r){e&&r&&(e[t]=Array.from(new Set([].concat(e[t],r[t]).filter(Boolean))))}});var Eu=N(Su=>{"use strict";Object.defineProperty(Su,"__esModule",{value:!0});Su.default=nj;var sj=to();function nj(t,e){(0,sj.default)("innerComments",t,e)}});var vu=N(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});Pu.default=oj;var aj=to();function oj(t,e){(0,aj.default)("leadingComments",t,e)}});var wu=N(Au=>{"use strict";Object.defineProperty(Au,"__esModule",{value:!0});Au.default=cj;var lj=to();function cj(t,e){(0,lj.default)("trailingComments",t,e)}});var Iu=N(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.default=hj;var uj=wu(),pj=vu(),fj=Eu();function hj(t,e){return(0,uj.default)(t,e),(0,pj.default)(t,e),(0,fj.default)(t,e),t}});var Cy=N(ku=>{"use strict";Object.defineProperty(ku,"__esModule",{value:!0});ku.default=mj;var dj=ys();function mj(t){return dj.COMMENT_KEYS.forEach(e=>{t[e]=null}),t}});var Iy=N(X=>{"use strict";Object.defineProperty(X,"__esModule",{value:!0});X.WHILE_TYPES=X.USERWHITESPACABLE_TYPES=X.UNARYLIKE_TYPES=X.TYPESCRIPT_TYPES=X.TSTYPE_TYPES=X.TSTYPEELEMENT_TYPES=X.TSENTITYNAME_TYPES=X.TSBASETYPE_TYPES=X.TERMINATORLESS_TYPES=X.STATEMENT_TYPES=X.STANDARDIZED_TYPES=X.SCOPABLE_TYPES=X.PUREISH_TYPES=X.PROPERTY_TYPES=X.PRIVATE_TYPES=X.PATTERN_TYPES=X.PATTERNLIKE_TYPES=X.OBJECTMEMBER_TYPES=X.MODULESPECIFIER_TYPES=X.MODULEDECLARATION_TYPES=X.MISCELLANEOUS_TYPES=X.METHOD_TYPES=X.LVAL_TYPES=X.LOOP_TYPES=X.LITERAL_TYPES=X.JSX_TYPES=X.IMPORTOREXPORTDECLARATION_TYPES=X.IMMUTABLE_TYPES=X.FUNCTION_TYPES=X.FUNCTIONPARENT_TYPES=X.FUNCTIONPARAMETER_TYPES=X.FOR_TYPES=X.FORXSTATEMENT_TYPES=X.FLOW_TYPES=X.FLOWTYPE_TYPES=X.FLOWPREDICATE_TYPES=X.FLOWDECLARATION_TYPES=X.FLOWBASEANNOTATION_TYPES=X.EXPRESSION_TYPES=X.EXPRESSIONWRAPPER_TYPES=X.EXPORTDECLARATION_TYPES=X.ENUMMEMBER_TYPES=X.ENUMBODY_TYPES=X.DECLARATION_TYPES=X.CONDITIONAL_TYPES=X.COMPLETIONSTATEMENT_TYPES=X.CLASS_TYPES=X.BLOCK_TYPES=X.BLOCKPARENT_TYPES=X.BINARY_TYPES=X.ACCESSOR_TYPES=void 0;var Se=nr(),Sse=X.STANDARDIZED_TYPES=Se.FLIPPED_ALIAS_KEYS.Standardized,Ese=X.EXPRESSION_TYPES=Se.FLIPPED_ALIAS_KEYS.Expression,Pse=X.BINARY_TYPES=Se.FLIPPED_ALIAS_KEYS.Binary,vse=X.SCOPABLE_TYPES=Se.FLIPPED_ALIAS_KEYS.Scopable,Ase=X.BLOCKPARENT_TYPES=Se.FLIPPED_ALIAS_KEYS.BlockParent,wse=X.BLOCK_TYPES=Se.FLIPPED_ALIAS_KEYS.Block,Cse=X.STATEMENT_TYPES=Se.FLIPPED_ALIAS_KEYS.Statement,Ise=X.TERMINATORLESS_TYPES=Se.FLIPPED_ALIAS_KEYS.Terminatorless,kse=X.COMPLETIONSTATEMENT_TYPES=Se.FLIPPED_ALIAS_KEYS.CompletionStatement,Nse=X.CONDITIONAL_TYPES=Se.FLIPPED_ALIAS_KEYS.Conditional,Ose=X.LOOP_TYPES=Se.FLIPPED_ALIAS_KEYS.Loop,_se=X.WHILE_TYPES=Se.FLIPPED_ALIAS_KEYS.While,Dse=X.EXPRESSIONWRAPPER_TYPES=Se.FLIPPED_ALIAS_KEYS.ExpressionWrapper,Lse=X.FOR_TYPES=Se.FLIPPED_ALIAS_KEYS.For,Mse=X.FORXSTATEMENT_TYPES=Se.FLIPPED_ALIAS_KEYS.ForXStatement,Fse=X.FUNCTION_TYPES=Se.FLIPPED_ALIAS_KEYS.Function,Bse=X.FUNCTIONPARENT_TYPES=Se.FLIPPED_ALIAS_KEYS.FunctionParent,jse=X.PUREISH_TYPES=Se.FLIPPED_ALIAS_KEYS.Pureish,Rse=X.DECLARATION_TYPES=Se.FLIPPED_ALIAS_KEYS.Declaration,qse=X.FUNCTIONPARAMETER_TYPES=Se.FLIPPED_ALIAS_KEYS.FunctionParameter,Use=X.PATTERNLIKE_TYPES=Se.FLIPPED_ALIAS_KEYS.PatternLike,$se=X.LVAL_TYPES=Se.FLIPPED_ALIAS_KEYS.LVal,Kse=X.TSENTITYNAME_TYPES=Se.FLIPPED_ALIAS_KEYS.TSEntityName,Wse=X.LITERAL_TYPES=Se.FLIPPED_ALIAS_KEYS.Literal,Vse=X.IMMUTABLE_TYPES=Se.FLIPPED_ALIAS_KEYS.Immutable,Yse=X.USERWHITESPACABLE_TYPES=Se.FLIPPED_ALIAS_KEYS.UserWhitespacable,zse=X.METHOD_TYPES=Se.FLIPPED_ALIAS_KEYS.Method,Jse=X.OBJECTMEMBER_TYPES=Se.FLIPPED_ALIAS_KEYS.ObjectMember,Xse=X.PROPERTY_TYPES=Se.FLIPPED_ALIAS_KEYS.Property,Hse=X.UNARYLIKE_TYPES=Se.FLIPPED_ALIAS_KEYS.UnaryLike,Gse=X.PATTERN_TYPES=Se.FLIPPED_ALIAS_KEYS.Pattern,Qse=X.CLASS_TYPES=Se.FLIPPED_ALIAS_KEYS.Class,yj=X.IMPORTOREXPORTDECLARATION_TYPES=Se.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration,Zse=X.EXPORTDECLARATION_TYPES=Se.FLIPPED_ALIAS_KEYS.ExportDeclaration,ene=X.MODULESPECIFIER_TYPES=Se.FLIPPED_ALIAS_KEYS.ModuleSpecifier,tne=X.ACCESSOR_TYPES=Se.FLIPPED_ALIAS_KEYS.Accessor,rne=X.PRIVATE_TYPES=Se.FLIPPED_ALIAS_KEYS.Private,ine=X.FLOW_TYPES=Se.FLIPPED_ALIAS_KEYS.Flow,sne=X.FLOWTYPE_TYPES=Se.FLIPPED_ALIAS_KEYS.FlowType,nne=X.FLOWBASEANNOTATION_TYPES=Se.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,ane=X.FLOWDECLARATION_TYPES=Se.FLIPPED_ALIAS_KEYS.FlowDeclaration,one=X.FLOWPREDICATE_TYPES=Se.FLIPPED_ALIAS_KEYS.FlowPredicate,lne=X.ENUMBODY_TYPES=Se.FLIPPED_ALIAS_KEYS.EnumBody,cne=X.ENUMMEMBER_TYPES=Se.FLIPPED_ALIAS_KEYS.EnumMember,une=X.JSX_TYPES=Se.FLIPPED_ALIAS_KEYS.JSX,pne=X.MISCELLANEOUS_TYPES=Se.FLIPPED_ALIAS_KEYS.Miscellaneous,fne=X.TYPESCRIPT_TYPES=Se.FLIPPED_ALIAS_KEYS.TypeScript,hne=X.TSTYPEELEMENT_TYPES=Se.FLIPPED_ALIAS_KEYS.TSTypeElement,dne=X.TSTYPE_TYPES=Se.FLIPPED_ALIAS_KEYS.TSType,mne=X.TSBASETYPE_TYPES=Se.FLIPPED_ALIAS_KEYS.TSBaseType,yne=X.MODULEDECLARATION_TYPES=yj});var _u=N(Ou=>{"use strict";Object.defineProperty(Ou,"__esModule",{value:!0});Ou.default=Tj;var ro=lt(),Nu=Yt();function Tj(t,e){if((0,ro.isBlockStatement)(t))return t;let r=[];return(0,ro.isEmptyStatement)(t)?r=[]:((0,ro.isStatement)(t)||((0,ro.isFunction)(e)?t=(0,Nu.returnStatement)(t):t=(0,Nu.expressionStatement)(t)),r=[t]),(0,Nu.blockStatement)(r)}});var ky=N(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.default=gj;var xj=_u();function gj(t,e="body"){let r=(0,xj.default)(t[e],t);return t[e]=r,r}});var Mu=N(Lu=>{"use strict";Object.defineProperty(Lu,"__esModule",{value:!0});Lu.default=Ej;var bj=ms(),Sj=mn();function Ej(t){t=t+"";let e="";for(let r of t)e+=(0,Sj.isIdentifierChar)(r.codePointAt(0))?r:"-";return e=e.replace(/^[-0-9]+/,""),e=e.replace(/[-\s]+(.)?/g,function(r,i){return i?i.toUpperCase():""}),(0,bj.default)(e)||(e=`_${e}`),e||"_"}});var Ny=N(Fu=>{"use strict";Object.defineProperty(Fu,"__esModule",{value:!0});Fu.default=vj;var Pj=Mu();function vj(t){return t=(0,Pj.default)(t),(t==="eval"||t==="arguments")&&(t="_"+t),t}});var Oy=N(Bu=>{"use strict";Object.defineProperty(Bu,"__esModule",{value:!0});Bu.default=Cj;var Aj=lt(),wj=Yt();function Cj(t,e=t.key||t.property){return!t.computed&&(0,Aj.isIdentifier)(e)&&(e=(0,wj.stringLiteral)(e.name)),e}});var _y=N(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.default=void 0;var Pn=lt(),Pne=io.default=Ij;function Ij(t){if((0,Pn.isExpressionStatement)(t)&&(t=t.expression),(0,Pn.isExpression)(t))return t;if((0,Pn.isClass)(t)?(t.type="ClassExpression",t.abstract=!1):(0,Pn.isFunction)(t)&&(t.type="FunctionExpression"),!(0,Pn.isExpression)(t))throw new Error(`cannot turn ${t.type} to an expression`);return t}});var Ru=N(ju=>{"use strict";Object.defineProperty(ju,"__esModule",{value:!0});ju.default=vn;var kj=nr(),Dy=Symbol(),Ly=Symbol();function vn(t,e,r){if(!t)return!1;let i=kj.VISITOR_KEYS[t.type];if(!i)return!1;r=r||{};let s=e(t,r);if(s!==void 0)switch(s){case Dy:return!1;case Ly:return!0}for(let n of i){let a=t[n];if(a){if(Array.isArray(a)){for(let o of a)if(vn(o,e,r))return!0}else if(vn(a,e,r))return!0}}return!1}vn.skip=Dy;vn.stop=Ly});var Uu=N(qu=>{"use strict";Object.defineProperty(qu,"__esModule",{value:!0});qu.default=_j;var Nj=ys(),My=["tokens","start","end","loc","raw","rawValue"],Oj=[...Nj.COMMENT_KEYS,"comments",...My];function _j(t,e={}){let r=e.preserveComments?My:Oj;for(let s of r)t[s]!=null&&(t[s]=void 0);for(let s of Object.keys(t))s[0]==="_"&&t[s]!=null&&(t[s]=void 0);let i=Object.getOwnPropertySymbols(t);for(let s of i)t[s]=null}});var Ku=N($u=>{"use strict";Object.defineProperty($u,"__esModule",{value:!0});$u.default=Mj;var Dj=Ru(),Lj=Uu();function Mj(t,e){return(0,Dj.default)(t,Lj.default,e),t}});var By=N(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.default=_i;var Fy=lt(),Fj=oi(),Bj=Ku();function _i(t,e=t.key){let r;return t.kind==="method"?_i.increment()+"":((0,Fy.isIdentifier)(e)?r=e.name:(0,Fy.isStringLiteral)(e)?r=JSON.stringify(e.value):r=JSON.stringify((0,Bj.default)((0,Fj.default)(e))),t.computed&&(r=`[${r}]`),t.static&&(r=`static:${r}`),r)}_i.uid=0;_i.increment=function(){return _i.uid>=Number.MAX_SAFE_INTEGER?_i.uid=0:_i.uid++}});var jy=N(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.default=void 0;var so=lt(),jj=Yt(),kne=no.default=Rj;function Rj(t,e){if((0,so.isStatement)(t))return t;let r=!1,i;if((0,so.isClass)(t))r=!0,i="ClassDeclaration";else if((0,so.isFunction)(t))r=!0,i="FunctionDeclaration";else if((0,so.isAssignmentExpression)(t))return(0,jj.expressionStatement)(t);if(r&&!t.id&&(i=!1),!i){if(e)return!1;throw new Error(`cannot turn ${t.type} to a statement`)}return t.type=i,t}});var Ry=N(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.default=void 0;var qj=ms(),mt=Yt(),One=ao.default=Vu,Uj=Function.call.bind(Object.prototype.toString);function $j(t){return Uj(t)==="[object RegExp]"}function Kj(t){if(typeof t!="object"||t===null||Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}function Vu(t){if(t===void 0)return(0,mt.identifier)("undefined");if(t===!0||t===!1)return(0,mt.booleanLiteral)(t);if(t===null)return(0,mt.nullLiteral)();if(typeof t=="string")return(0,mt.stringLiteral)(t);if(typeof t=="number"){let e;if(Number.isFinite(t))e=(0,mt.numericLiteral)(Math.abs(t));else{let r;Number.isNaN(t)?r=(0,mt.numericLiteral)(0):r=(0,mt.numericLiteral)(1),e=(0,mt.binaryExpression)("/",r,(0,mt.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,mt.unaryExpression)("-",e)),e}if(typeof t=="bigint")return t<0?(0,mt.unaryExpression)("-",(0,mt.bigIntLiteral)(-t)):(0,mt.bigIntLiteral)(t);if($j(t)){let e=t.source,r=/\/([a-z]*)$/.exec(t.toString())[1];return(0,mt.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,mt.arrayExpression)(t.map(Vu));if(Kj(t)){let e=[];for(let r of Object.keys(t)){let i,s=!1;(0,qj.default)(r)?r==="__proto__"?(s=!0,i=(0,mt.stringLiteral)(r)):i=(0,mt.identifier)(r):i=(0,mt.stringLiteral)(r),e.push((0,mt.objectProperty)(i,Vu(t[r]),s))}return(0,mt.objectExpression)(e)}throw new Error("don't know how to turn this value into a node")}});var qy=N(Yu=>{"use strict";Object.defineProperty(Yu,"__esModule",{value:!0});Yu.default=Vj;var Wj=Yt();function Vj(t,e,r=!1){return t.object=(0,Wj.memberExpression)(t.object,t.property,t.computed),t.property=e,t.computed=!!r,t}});var $y=N(zu=>{"use strict";Object.defineProperty(zu,"__esModule",{value:!0});zu.default=zj;var Uy=ys(),Yj=Iu();function zj(t,e){if(!t||!e)return t;for(let r of Uy.INHERIT_KEYS.optional)t[r]==null&&(t[r]=e[r]);for(let r of Object.keys(e))r[0]==="_"&&r!=="__clone"&&(t[r]=e[r]);for(let r of Uy.INHERIT_KEYS.force)t[r]=e[r];return(0,Yj.default)(t,e),t}});var Ky=N(Ju=>{"use strict";Object.defineProperty(Ju,"__esModule",{value:!0});Ju.default=Hj;var Jj=Yt(),Xj=Ne();function Hj(t,e){if((0,Xj.isSuper)(t.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return t.object=(0,Jj.memberExpression)(e,t.object),t}});var Wy=N(Xu=>{"use strict";Object.defineProperty(Xu,"__esModule",{value:!0});Xu.default=Gj;function Gj(t){let e=[].concat(t),r=Object.create(null);for(;e.length;){let i=e.pop();if(i)switch(i.type){case"ArrayPattern":e.push(...i.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":e.push(i.left);break;case"ObjectPattern":e.push(...i.properties);break;case"ObjectProperty":e.push(i.value);break;case"RestElement":case"UpdateExpression":e.push(i.argument);break;case"UnaryExpression":i.operator==="delete"&&e.push(i.argument);break;case"Identifier":r[i.name]=i;break;default:break}}return r}});var An=N(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});Gu.default=Hu;var Kr=lt();function Hu(t,e,r,i){let s=[].concat(t),n=Object.create(null);for(;s.length;){let a=s.shift();if(!a||i&&((0,Kr.isAssignmentExpression)(a)||(0,Kr.isUnaryExpression)(a)||(0,Kr.isUpdateExpression)(a)))continue;if((0,Kr.isIdentifier)(a)){e?(n[a.name]=n[a.name]||[]).push(a):n[a.name]=a;continue}if((0,Kr.isExportDeclaration)(a)&&!(0,Kr.isExportAllDeclaration)(a)){(0,Kr.isDeclaration)(a.declaration)&&s.push(a.declaration);continue}if(r){if((0,Kr.isFunctionDeclaration)(a)){s.push(a.id);continue}if((0,Kr.isFunctionExpression)(a))continue}let o=Hu.keys[a.type];if(o)for(let l=0;l<o.length;l++){let c=o[l],u=a[c];u&&(Array.isArray(u)?s.push(...u):s.push(u))}}return n}var Qj={DeclareClass:["id"],DeclareFunction:["id"],DeclareModule:["id"],DeclareVariable:["id"],DeclareInterface:["id"],DeclareTypeAlias:["id"],DeclareOpaqueType:["id"],InterfaceDeclaration:["id"],TypeAlias:["id"],OpaqueType:["id"],CatchClause:["param"],LabeledStatement:["label"],UnaryExpression:["argument"],AssignmentExpression:["left"],ImportSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportDefaultSpecifier:["local"],ImportDeclaration:["specifiers"],TSImportEqualsDeclaration:["id"],ExportSpecifier:["exported"],ExportNamespaceSpecifier:["exported"],ExportDefaultSpecifier:["exported"],FunctionDeclaration:["id","params"],FunctionExpression:["id","params"],ArrowFunctionExpression:["params"],ObjectMethod:["params"],ClassMethod:["params"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]};Hu.keys=Qj});var Vy=N(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.default=void 0;var Zj=An(),jne=oo.default=eR;function eR(t,e){return(0,Zj.default)(t,e,!0)}});var zy=N(Qu=>{"use strict";Object.defineProperty(Qu,"__esModule",{value:!0});Qu.default=rR;var ar=lt();function tR(t){return(0,ar.isNullLiteral)(t)?"null":(0,ar.isRegExpLiteral)(t)?`/${t.pattern}/${t.flags}`:(0,ar.isTemplateLiteral)(t)?t.quasis.map(e=>e.value.raw).join(""):t.value!==void 0?String(t.value):null}function Yy(t){if(!t.computed||(0,ar.isLiteral)(t.key))return t.key}function rR(t,e){if("id"in t&&t.id)return{name:t.id.name,originalNode:t.id};let r="",i;if((0,ar.isObjectProperty)(e,{value:t})?i=Yy(e):(0,ar.isObjectMethod)(t)||(0,ar.isClassMethod)(t)?(i=Yy(t),t.kind==="get"?r="get ":t.kind==="set"&&(r="set ")):(0,ar.isVariableDeclarator)(e,{init:t})?i=e.id:(0,ar.isAssignmentExpression)(e,{operator:"=",right:t})&&(i=e.left),!i)return null;let s=(0,ar.isLiteral)(i)?tR(i):(0,ar.isIdentifier)(i)?i.name:(0,ar.isPrivateName)(i)?i.id.name:null;return s==null?null:{name:r+s,originalNode:i}}});var Jy=N(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.default=sR;var iR=nr();function sR(t,e,r){typeof e=="function"&&(e={enter:e});let{enter:i,exit:s}=e;Zu(t,i,s,r,[])}function Zu(t,e,r,i,s){let n=iR.VISITOR_KEYS[t.type];if(n){e&&e(t,s,i);for(let a of n){let o=t[a];if(Array.isArray(o))for(let l=0;l<o.length;l++){let c=o[l];c&&(s.push({node:t,key:a,index:l}),Zu(c,e,r,i,s),s.pop())}else o&&(s.push({node:t,key:a}),Zu(o,e,r,i,s),s.pop())}r&&r(t,s,i)}}});var Xy=N(tp=>{"use strict";Object.defineProperty(tp,"__esModule",{value:!0});tp.default=aR;var nR=An();function aR(t,e,r){if(r&&t.type==="Identifier"&&e.type==="ObjectProperty"&&r.type==="ObjectExpression")return!1;let i=nR.default.keys[e.type];if(i)for(let s=0;s<i.length;s++){let n=i[s],a=e[n];if(Array.isArray(a)){if(a.includes(t))return!0}else if(a===t)return!0}return!1}});var ip=N(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.default=lR;var oR=lt();Hy=Symbol.for("var used to be block scoped");var Hy;function lR(t){return(0,oR.isVariableDeclaration)(t)&&(t.kind!=="var"||t[Hy])}});var Qy=N(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.default=uR;var Gy=lt(),cR=ip();function uR(t){return(0,Gy.isFunctionDeclaration)(t)||(0,Gy.isClassDeclaration)(t)||(0,cR.default)(t)}});var Zy=N(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.default=hR;var pR=Ka(),fR=lt();function hR(t){return(0,pR.default)(t.type,"Immutable")?!0:(0,fR.isIdentifier)(t)?t.name==="undefined":!1}});var tT=N(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.default=ap;var eT=nr();function ap(t,e){if(typeof t!="object"||typeof e!="object"||t==null||e==null)return t===e;if(t.type!==e.type)return!1;let r=Object.keys(eT.NODE_FIELDS[t.type]||t.type),i=eT.VISITOR_KEYS[t.type];for(let s of r){let n=t[s],a=e[s];if(typeof n!=typeof a)return!1;if(!(n==null&&a==null)){if(n==null||a==null)return!1;if(Array.isArray(n)){if(!Array.isArray(a)||n.length!==a.length)return!1;for(let o=0;o<n.length;o++)if(!ap(n[o],a[o]))return!1;continue}if(typeof n=="object"&&!(i!=null&&i.includes(s))){for(let o of Object.keys(n))if(n[o]!==a[o])return!1;continue}if(!ap(n,a))return!1}}return!0}});var rT=N(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.default=dR;function dR(t,e,r){switch(e.type){case"MemberExpression":case"OptionalMemberExpression":return e.property===t?!!e.computed:e.object===t;case"JSXMemberExpression":return e.object===t;case"VariableDeclarator":return e.init===t;case"ArrowFunctionExpression":return e.body===t;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return e.key===t?!!e.computed:!1;case"ObjectProperty":return e.key===t?!!e.computed:!r||r.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":return e.key===t?!!e.computed:!0;case"ClassPrivateProperty":return e.key!==t;case"ClassDeclaration":case"ClassExpression":return e.superClass===t;case"AssignmentExpression":return e.right===t;case"AssignmentPattern":return e.right===t;case"LabeledStatement":return!1;case"CatchClause":return!1;case"RestElement":return!1;case"BreakStatement":case"ContinueStatement":return!1;case"FunctionDeclaration":case"FunctionExpression":return!1;case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":return!1;case"ExportSpecifier":return r!=null&&r.source?!1:e.local===t;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":return!1;case"ImportAttribute":return!1;case"JSXAttribute":return!1;case"ObjectPattern":case"ArrayPattern":return!1;case"MetaProperty":return!1;case"ObjectTypeProperty":return e.key!==t;case"TSEnumMember":return e.id!==t;case"TSPropertySignature":return e.key===t?!!e.computed:!0}return!0}});var iT=N(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.default=mR;var Di=lt();function mR(t,e){return(0,Di.isBlockStatement)(t)&&((0,Di.isFunction)(e)||(0,Di.isCatchClause)(e))?!1:(0,Di.isPattern)(t)&&((0,Di.isFunction)(e)||(0,Di.isCatchClause)(e))?!0:(0,Di.isScopable)(t)}});var nT=N(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.default=yR;var sT=lt();function yR(t){return(0,sT.isImportDefaultSpecifier)(t)||(0,sT.isIdentifier)(t.imported||t.exported,{name:"default"})}});var aT=N(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.default=gR;var TR=ms(),xR=new Set(["abstract","boolean","byte","char","double","enum","final","float","goto","implements","int","interface","long","native","package","private","protected","public","short","static","synchronized","throws","transient","volatile"]);function gR(t){return(0,TR.default)(t)&&!xR.has(t)}});var lT=N(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=SR;var bR=lt();oT=Symbol.for("var used to be block scoped");var oT;function SR(t){return(0,bR.isVariableDeclaration)(t,{kind:"var"})&&!t[oT]}});var cT=N(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.default=lo;var ER=An(),Li=lt(),hp=Yt(),dp=uu(),PR=oi();function lo(t,e){let r=[],i=!0;for(let s of t)if((0,Li.isEmptyStatement)(s)||(i=!1),(0,Li.isExpression)(s))r.push(s);else if((0,Li.isExpressionStatement)(s))r.push(s.expression);else if((0,Li.isVariableDeclaration)(s)){if(s.kind!=="var")return;for(let n of s.declarations){let a=(0,ER.default)(n);for(let o of Object.keys(a))e.push({kind:s.kind,id:(0,PR.default)(a[o])});n.init&&r.push((0,hp.assignmentExpression)("=",n.id,n.init))}i=!0}else if((0,Li.isIfStatement)(s)){let n=s.consequent?lo([s.consequent],e):(0,dp.buildUndefinedNode)(),a=s.alternate?lo([s.alternate],e):(0,dp.buildUndefinedNode)();if(!n||!a)return;r.push((0,hp.conditionalExpression)(s.test,n,a))}else if((0,Li.isBlockStatement)(s)){let n=lo(s.body,e);if(!n)return;r.push(n)}else if((0,Li.isEmptyStatement)(s))t.indexOf(s)===0&&(i=!0);else return;return i&&r.push((0,dp.buildUndefinedNode)()),r.length===1?r[0]:(0,hp.sequenceExpression)(r)}});var uT=N(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});yp.default=AR;var vR=cT();function AR(t,e){if(!(t!=null&&t.length))return;let r=[],i=(0,vR.default)(t,r);if(i){for(let s of r)e.push(s);return i}}});var Ne=N(ee=>{"use strict";Object.defineProperty(ee,"__esModule",{value:!0});var li={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0,__internal__deprecationWarning:!0};Object.defineProperty(ee,"__internal__deprecationWarning",{enumerable:!0,get:function(){return k6.default}});Object.defineProperty(ee,"addComment",{enumerable:!0,get:function(){return BR.default}});Object.defineProperty(ee,"addComments",{enumerable:!0,get:function(){return jR.default}});Object.defineProperty(ee,"appendToMemberExpression",{enumerable:!0,get:function(){return ZR.default}});Object.defineProperty(ee,"assertNode",{enumerable:!0,get:function(){return kR.default}});Object.defineProperty(ee,"buildMatchMemberExpression",{enumerable:!0,get:function(){return I6.default}});Object.defineProperty(ee,"clone",{enumerable:!0,get:function(){return DR.default}});Object.defineProperty(ee,"cloneDeep",{enumerable:!0,get:function(){return LR.default}});Object.defineProperty(ee,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return MR.default}});Object.defineProperty(ee,"cloneNode",{enumerable:!0,get:function(){return _R.default}});Object.defineProperty(ee,"cloneWithoutLoc",{enumerable:!0,get:function(){return FR.default}});Object.defineProperty(ee,"createFlowUnionType",{enumerable:!0,get:function(){return pT.default}});Object.defineProperty(ee,"createTSUnionType",{enumerable:!0,get:function(){return OR.default}});Object.defineProperty(ee,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return NR.default}});Object.defineProperty(ee,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return pT.default}});Object.defineProperty(ee,"ensureBlock",{enumerable:!0,get:function(){return WR.default}});Object.defineProperty(ee,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return n6.default}});Object.defineProperty(ee,"getBindingIdentifiers",{enumerable:!0,get:function(){return a6.default}});Object.defineProperty(ee,"getFunctionName",{enumerable:!0,get:function(){return l6.default}});Object.defineProperty(ee,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return o6.default}});Object.defineProperty(ee,"inheritInnerComments",{enumerable:!0,get:function(){return RR.default}});Object.defineProperty(ee,"inheritLeadingComments",{enumerable:!0,get:function(){return qR.default}});Object.defineProperty(ee,"inheritTrailingComments",{enumerable:!0,get:function(){return $R.default}});Object.defineProperty(ee,"inherits",{enumerable:!0,get:function(){return e6.default}});Object.defineProperty(ee,"inheritsComments",{enumerable:!0,get:function(){return UR.default}});Object.defineProperty(ee,"is",{enumerable:!0,get:function(){return p6.default}});Object.defineProperty(ee,"isBinding",{enumerable:!0,get:function(){return f6.default}});Object.defineProperty(ee,"isBlockScoped",{enumerable:!0,get:function(){return h6.default}});Object.defineProperty(ee,"isImmutable",{enumerable:!0,get:function(){return d6.default}});Object.defineProperty(ee,"isLet",{enumerable:!0,get:function(){return m6.default}});Object.defineProperty(ee,"isNode",{enumerable:!0,get:function(){return y6.default}});Object.defineProperty(ee,"isNodesEquivalent",{enumerable:!0,get:function(){return T6.default}});Object.defineProperty(ee,"isPlaceholderType",{enumerable:!0,get:function(){return x6.default}});Object.defineProperty(ee,"isReferenced",{enumerable:!0,get:function(){return g6.default}});Object.defineProperty(ee,"isScope",{enumerable:!0,get:function(){return b6.default}});Object.defineProperty(ee,"isSpecifierDefault",{enumerable:!0,get:function(){return S6.default}});Object.defineProperty(ee,"isType",{enumerable:!0,get:function(){return E6.default}});Object.defineProperty(ee,"isValidES3Identifier",{enumerable:!0,get:function(){return P6.default}});Object.defineProperty(ee,"isValidIdentifier",{enumerable:!0,get:function(){return v6.default}});Object.defineProperty(ee,"isVar",{enumerable:!0,get:function(){return A6.default}});Object.defineProperty(ee,"matchesPattern",{enumerable:!0,get:function(){return w6.default}});Object.defineProperty(ee,"prependToMemberExpression",{enumerable:!0,get:function(){return t6.default}});ee.react=void 0;Object.defineProperty(ee,"removeComments",{enumerable:!0,get:function(){return KR.default}});Object.defineProperty(ee,"removeProperties",{enumerable:!0,get:function(){return r6.default}});Object.defineProperty(ee,"removePropertiesDeep",{enumerable:!0,get:function(){return i6.default}});Object.defineProperty(ee,"removeTypeDuplicates",{enumerable:!0,get:function(){return s6.default}});Object.defineProperty(ee,"shallowEqual",{enumerable:!0,get:function(){return u6.default}});Object.defineProperty(ee,"toBindingIdentifierName",{enumerable:!0,get:function(){return VR.default}});Object.defineProperty(ee,"toBlock",{enumerable:!0,get:function(){return YR.default}});Object.defineProperty(ee,"toComputedKey",{enumerable:!0,get:function(){return zR.default}});Object.defineProperty(ee,"toExpression",{enumerable:!0,get:function(){return JR.default}});Object.defineProperty(ee,"toIdentifier",{enumerable:!0,get:function(){return XR.default}});Object.defineProperty(ee,"toKeyAlias",{enumerable:!0,get:function(){return HR.default}});Object.defineProperty(ee,"toStatement",{enumerable:!0,get:function(){return GR.default}});Object.defineProperty(ee,"traverse",{enumerable:!0,get:function(){return co.default}});Object.defineProperty(ee,"traverseFast",{enumerable:!0,get:function(){return c6.default}});Object.defineProperty(ee,"validate",{enumerable:!0,get:function(){return C6.default}});Object.defineProperty(ee,"valueToNode",{enumerable:!0,get:function(){return QR.default}});var wR=hm(),CR=dm(),IR=ay(),kR=oy(),Tp=ly();Object.keys(Tp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===Tp[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return Tp[t]}})});var NR=cy(),pT=fy(),OR=yy(),xp=uu();Object.keys(xp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===xp[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return xp[t]}})});var gp=Yt();Object.keys(gp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===gp[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return gp[t]}})});var _R=oi(),DR=Ey(),LR=Py(),MR=vy(),FR=Ay(),BR=wy(),jR=xu(),RR=Eu(),qR=vu(),UR=Iu(),$R=wu(),KR=Cy(),bp=Iy();Object.keys(bp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===bp[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return bp[t]}})});var Sp=ys();Object.keys(Sp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===Sp[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return Sp[t]}})});var WR=ky(),VR=Ny(),YR=_u(),zR=Oy(),JR=_y(),XR=Mu(),HR=By(),GR=jy(),QR=Ry(),Ep=nr();Object.keys(Ep).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===Ep[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return Ep[t]}})});var ZR=qy(),e6=$y(),t6=Ky(),r6=Uu(),i6=Ku(),s6=nu(),n6=Wy(),a6=An(),o6=Vy(),l6=zy(),co=Jy();Object.keys(co).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===co[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return co[t]}})});var c6=Ru(),u6=Ua(),p6=ds(),f6=Xy(),h6=Qy(),d6=Zy(),m6=ip(),y6=ru(),T6=tT(),x6=Cc(),g6=rT(),b6=iT(),S6=nT(),E6=Ka(),P6=aT(),v6=ms(),A6=lT(),w6=Sc(),C6=za(),I6=Pc(),Pp=lt();Object.keys(Pp).forEach(function(t){t==="default"||t==="__esModule"||Object.prototype.hasOwnProperty.call(li,t)||t in ee&&ee[t]===Pp[t]||Object.defineProperty(ee,t,{enumerable:!0,get:function(){return Pp[t]}})});var k6=hs(),N6=uT(),eae=ee.react={isReactComponent:wR.default,isCompatTag:CR.default,buildChildren:IR.default};ee.toSequenceExpression=N6.default;process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")});var Ap=N(yt=>{"use strict";Object.defineProperty(yt,"__esModule",{value:!0});yt.isBindingIdentifier=Z6;yt.isBlockScoped=s8;yt.isExpression=t8;yt.isFlow=c8;yt.isForAwaitStatement=f8;yt.isGenerated=o8;yt.isPure=l8;yt.isReferenced=i8;yt.isReferencedIdentifier=G6;yt.isReferencedMemberExpression=Q6;yt.isRestProperty=u8;yt.isScope=r8;yt.isSpreadProperty=p8;yt.isStatement=e8;yt.isUser=a8;yt.isVar=n8;var O6=Ne(),{isBinding:_6,isBlockScoped:D6,isExportDeclaration:L6,isExpression:M6,isFlow:F6,isForStatement:B6,isForXStatement:j6,isIdentifier:fT,isImportDeclaration:R6,isImportSpecifier:q6,isJSXIdentifier:U6,isJSXMemberExpression:$6,isMemberExpression:K6,isRestElement:hT,isReferenced:vp,isScope:W6,isStatement:V6,isVar:Y6,isVariableDeclaration:z6,react:J6,isForOfStatement:X6}=O6,{isCompatTag:H6}=J6;function G6(t){let{node:e,parent:r}=this;if(!fT(e,t)&&!$6(r,t))if(U6(e,t)){if(H6(e.name))return!1}else return!1;return vp(e,r,this.parentPath.parent)}function Q6(){let{node:t,parent:e}=this;return K6(t)&&vp(t,e)}function Z6(){let{node:t,parent:e}=this,r=this.parentPath.parent;return fT(t)&&_6(t,e,r)}function e8(){let{node:t,parent:e}=this;return V6(t)?!(z6(t)&&(j6(e,{left:t})||B6(e,{init:t}))):!1}function t8(){return this.isIdentifier()?this.isReferencedIdentifier():M6(this.node)}function r8(){return W6(this.node,this.parent)}function i8(){return vp(this.node,this.parent)}function s8(){return D6(this.node)}function n8(){return Y6(this.node)}function a8(){return this.node&&!!this.node.loc}function o8(){return!this.isUser()}function l8(t){return this.scope.isPure(this.node,t)}function c8(){let{node:t}=this;return F6(t)?!0:R6(t)?t.importKind==="type"||t.importKind==="typeof":L6(t)?t.exportKind==="type":q6(t)?t.importKind==="type"||t.importKind==="typeof":!1}function u8(){var t;return hT(this.node)&&((t=this.parentPath)==null?void 0:t.isObjectPattern())}function p8(){var t;return hT(this.node)&&((t=this.parentPath)==null?void 0:t.isObjectExpression())}function f8(){return X6(this.node,{await:!0})}yt.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},yt.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}});var uo=N(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Fi.environmentVisitor=b8;Fi.explode=vT;Fi.isExplodedVisitor=PT;Fi.merge=wT;Fi.verify=AT;var ET=mc(),h8=Ap(),d8=Ne(),dT=Tr(),{DEPRECATED_KEYS:mT,DEPRECATED_ALIASES:yT,FLIPPED_ALIAS_KEYS:TT,TYPES:m8,__internal__deprecationWarning:xT}=d8;function y8(t){return t in ET}function PT(t){return t?._exploded}function vT(t){if(PT(t))return t;t._exploded=!0;for(let e of Object.keys(t)){if(Mi(e))continue;let r=e.split("|");if(r.length===1)continue;let i=t[e];delete t[e];for(let s of r)t[s]=i}AT(t),delete t.__esModule,T8(t),ST(t);for(let e of Object.keys(t)){if(Mi(e)||!y8(e))continue;let r=t[e];for(let s of Object.keys(r))r[s]=x8(e,r[s]);delete t[e];let i=ET[e];if(i!==null)for(let s of i)t[s]?wn(t[s],r):t[s]=r;else wn(t,r)}for(let e of Object.keys(t)){if(Mi(e))continue;let r=TT[e];if(e in mT){let s=mT[e];xT(e,s,"Visitor "),r=[s]}else if(e in yT){let s=yT[e];xT(e,s,"Visitor "),r=TT[s]}if(!r)continue;let i=t[e];delete t[e];for(let s of r){let n=t[s];n?wn(n,i):t[s]=Object.assign({},i)}}for(let e of Object.keys(t))Mi(e)||ST(t[e]);return t}function AT(t){if(!t._verified){if(typeof t=="function")throw new Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let e of Object.keys(t)){if((e==="enter"||e==="exit")&&gT(e,t[e]),Mi(e))continue;if(!m8.includes(e))throw new Error(`You gave us a visitor for the node type ${e} but it's not a valid type in @babel/traverse 7.28.0`);let r=t[e];if(typeof r=="object")for(let i of Object.keys(r))if(i==="enter"||i==="exit")gT(`${e}.${i}`,r[i]);else throw new Error(`You passed \`traverse()\` a visitor object with the property ${e} that has the invalid property ${i}`)}t._verified=!0}}function gT(t,e){let r=[].concat(e);for(let i of r)if(typeof i!="function")throw new TypeError(`Non-function found defined in ${t} with type ${typeof i}`)}function wT(t,e=[],r){let i={_verified:!0,_exploded:!0};Object.defineProperty(i,"_exploded",{enumerable:!1}),Object.defineProperty(i,"_verified",{enumerable:!1});for(let s=0;s<t.length;s++){let n=vT(t[s]),a=e[s],o=n;(a||r)&&(o=bT(o,a,r)),wn(i,o);for(let l of Object.keys(n)){if(Mi(l))continue;let c=n[l];(a||r)&&(c=bT(c,a,r));let u=i[l]||(i[l]={});wn(u,c)}}return i}function bT(t,e,r){let i={};for(let s of["enter","exit"]){let n=t[s];Array.isArray(n)&&(n=n.map(function(a){let o=a;return e&&(o=function(l){a.call(e,l,e)}),r&&(o=r(e?.key,s,o)),o!==a&&(o.toString=()=>a.toString()),o}),i[s]=n)}return i}function T8(t){for(let e of Object.keys(t)){if(Mi(e))continue;let r=t[e];typeof r=="function"&&(t[e]={enter:r})}}function ST(t){t.enter&&!Array.isArray(t.enter)&&(t.enter=[t.enter]),t.exit&&!Array.isArray(t.exit)&&(t.exit=[t.exit])}function x8(t,e){let r=`is${t}`,i=h8[r],s=function(n){if(i.call(n))return e.apply(this,arguments)};return s.toString=()=>e.toString(),s}function Mi(t){return t[0]==="_"||t==="enter"||t==="exit"||t==="shouldSkip"||t==="denylist"||t==="noScope"||t==="skipKeys"||t==="blacklist"}function wn(t,e){for(let r of["enter","exit"])e[r]&&(t[r]=[].concat(t[r]||[],e[r]))}var g8={FunctionParent(t){t.isArrowFunctionExpression()||(t.skip(),t.isMethod()&&(t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():dT.requeueComputedKeyAndDecorators.call(t)))},Property(t){t.isObjectProperty()||(t.skip(),t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():dT.requeueComputedKeyAndDecorators.call(t))}};function b8(t){return wT([g8,t])}});var CT=N(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.default=void 0;var po=Ne(),S8=po,E8=ho(),P8=uo(),v8=Tr(),{getAssignmentIdentifiers:A8}=S8,w8={ReferencedIdentifier({node:t},e){t.name===e.oldName&&(t.name=e.newName)},Scope(t,e){t.scope.bindingIdentifierEquals(e.oldName,e.binding.identifier)||(t.skip(),t.isMethod()&&(t.requeueComputedKeyAndDecorators?t.requeueComputedKeyAndDecorators():v8.requeueComputedKeyAndDecorators.call(t)))},ObjectProperty({node:t,scope:e},r){let{name:i}=t.key;if(t.shorthand&&(i===r.oldName||i===r.newName)&&e.getBindingIdentifier(i)===r.binding.identifier){t.shorthand=!1;{var s;(s=t.extra)!=null&&s.shorthand&&(t.extra.shorthand=!1)}}},"AssignmentExpression|Declaration|VariableDeclarator"(t,e){if(t.isVariableDeclaration())return;let r=t.isAssignmentExpression()?A8(t.node):t.getOuterBindingIdentifiers();for(let i in r)i===e.oldName&&(r[i].name=e.newName)}},wp=class{constructor(e,r,i){this.newName=i,this.oldName=r,this.binding=e}maybeConvertFromExportDeclaration(e){let r=e.parentPath;if(r.isExportDeclaration()){if(r.isExportDefaultDeclaration()){let{declaration:i}=r.node;if(po.isDeclaration(i)&&!i.id)return}r.isExportAllDeclaration()||r.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(e){return e}maybeConvertFromClassFunctionExpression(e){return e}rename(){let{binding:e,oldName:r,newName:i}=this,{scope:s,path:n}=e,a=n.find(c=>c.isDeclaration()||c.isFunctionExpression()||c.isClassExpression());a&&a.getOuterBindingIdentifiers()[r]===e.identifier&&this.maybeConvertFromExportDeclaration(a);let o=arguments[0]||s.block,l={discriminant:!0};po.isMethod(o)&&(o.computed&&(l.key=!0),po.isObjectMethod(o)||(l.decorators=!0)),(0,E8.traverseNode)(o,(0,P8.explode)(w8),s,this,s.path,l),arguments[0]||(s.removeOwnBinding(r),s.bindings[i]=e,this.binding.identifier.name=i),a&&(this.maybeConvertFromClassFunctionDeclaration(n),this.maybeConvertFromClassFunctionExpression(n))}};fo.default=wp});var IT=N(mo=>{"use strict";Object.defineProperty(mo,"__esModule",{value:!0});mo.default=void 0;var Cp=class{constructor({identifier:e,scope:r,path:i,kind:s}){this.identifier=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=r,this.path=i,this.kind=s,(s==="var"||s==="hoisted")&&C8(i)&&this.reassign(i),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(e){this.hasDeoptedValue||(this.hasValue=!0,this.value=e)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(e){this.constant=!1,!this.constantViolations.includes(e)&&this.constantViolations.push(e)}reference(e){this.referencePaths.includes(e)||(this.referenced=!0,this.references++,this.referencePaths.push(e))}dereference(){this.references--,this.referenced=!!this.references}};mo.default=Cp;function C8(t){let e=!t.isVariableDeclarator()||t.node.init;for(let{parentPath:r,key:i}=t;r;{parentPath:r,key:i}=r){if(r.isFunctionParent())return!1;if(i==="left"&&r.isForXStatement()||e&&i==="body"&&r.isLoop())return!0}return!1}});var Bi=N(Qt=>{"use strict";Object.defineProperty(Qt,"__esModule",{value:!0});Qt.clear=k8;Qt.clearPath=kT;Qt.clearScope=NT;Qt.getCachedPaths=N8;Qt.getOrCreateCachedPaths=O8;Qt.scope=Qt.path=void 0;var yo=Qt.path=new WeakMap,I8=Qt.scope=new WeakMap;function k8(){kT(),NT()}function kT(){Qt.path=yo=new WeakMap}function NT(){Qt.scope=I8=new WeakMap}function N8(t){let{parent:e,parentPath:r}=t;return yo.get(e)}function O8(t,e){let r=yo.get(t);return r||yo.set(t,r=new Map),r}});var OT=N((oae,_8)=>{_8.exports=["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]});var _T=N((lae,D8)=>{D8.exports=["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]});var _p=N(To=>{"use strict";Object.defineProperty(To,"__esModule",{value:!0});To.default=void 0;var L8=CT(),UT=In(),M8=IT(),$T=Ne(),KT=$T,DT=Bi(),F8=OT(),B8=_T(),{assignmentExpression:j8,callExpression:LT,cloneNode:MT,getBindingIdentifiers:WT,identifier:Ri,isArrayExpression:VT,isBinary:R8,isCallExpression:FT,isClass:q8,isClassBody:U8,isClassDeclaration:$8,isExportAllDeclaration:YT,isExportDefaultDeclaration:K8,isExportNamedDeclaration:Ip,isFunctionDeclaration:W8,isIdentifier:ji,isImportDeclaration:kp,isLiteral:V8,isMemberExpression:Y8,isMethod:z8,isModuleSpecifier:J8,isNullLiteral:X8,isObjectExpression:H8,isProperty:G8,isPureish:Q8,isRegExpLiteral:Z8,isSuper:e5,isTaggedTemplateExpression:t5,isTemplateLiteral:zT,isThisExpression:BT,isUnaryExpression:r5,isVariableDeclaration:i5,expressionStatement:s5,matchesPattern:jT,memberExpression:Np,numericLiteral:n5,toIdentifier:a5,variableDeclaration:o5,variableDeclarator:l5,isRecordExpression:c5,isTupleExpression:u5,isObjectProperty:p5,isTopicReference:RT,isMetaProperty:f5,isPrivateName:h5,isExportDeclaration:d5,buildUndefinedNode:m5,sequenceExpression:y5}=$T;function et(t,e){switch(t?.type){default:if(kp(t)||d5(t)){var r;if((YT(t)||Ip(t)||kp(t))&&t.source)et(t.source,e);else if((Ip(t)||kp(t))&&(r=t.specifiers)!=null&&r.length)for(let i of t.specifiers)et(i,e);else(K8(t)||Ip(t))&&t.declaration&&et(t.declaration,e)}else J8(t)?et(t.local,e):V8(t)&&!X8(t)&&!Z8(t)&&!zT(t)&&e.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":et(t.object,e),et(t.property,e);break;case"Identifier":case"JSXIdentifier":e.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":et(t.callee,e);break;case"ObjectExpression":case"ObjectPattern":for(let i of t.properties)et(i,e);break;case"SpreadElement":case"RestElement":et(t.argument,e);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":et(t.key,e);break;case"ThisExpression":e.push("this");break;case"Super":e.push("super");break;case"Import":case"ImportExpression":e.push("import");break;case"DoExpression":e.push("do");break;case"YieldExpression":e.push("yield"),et(t.argument,e);break;case"AwaitExpression":e.push("await"),et(t.argument,e);break;case"AssignmentExpression":et(t.left,e);break;case"VariableDeclarator":et(t.id,e);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":et(t.id,e);break;case"PrivateName":et(t.id,e);break;case"ParenthesizedExpression":et(t.expression,e);break;case"UnaryExpression":case"UpdateExpression":et(t.argument,e);break;case"MetaProperty":et(t.meta,e),et(t.property,e);break;case"JSXElement":et(t.openingElement,e);break;case"JSXOpeningElement":et(t.name,e);break;case"JSXFragment":et(t.openingFragment,e);break;case"JSXOpeningFragment":e.push("Fragment");break;case"JSXNamespacedName":et(t.namespace,e),et(t.name,e);break}}function qT(t){t.references=Object.create(null),t.uids=Object.create(null),t.bindings=Object.create(null),t.globals=Object.create(null)}Op=Symbol.for("should not be considered a local binding");var Op,T5={ForStatement(t){let e=t.get("init");if(e.isVar()){let{scope:r}=t;(r.getFunctionParent()||r.getProgramParent()).registerBinding("var",e)}},Declaration(t){if(t.isBlockScoped()||t.isImportDeclaration()||t.isExportDeclaration())return;(t.scope.getFunctionParent()||t.scope.getProgramParent()).registerDeclaration(t)},ImportDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},TSImportEqualsDeclaration(t){t.scope.getBlockParent().registerDeclaration(t)},ReferencedIdentifier(t,e){KT.isTSQualifiedName(t.parent)&&t.parent.right===t.node||t.parentPath.isTSImportEqualsDeclaration()||e.references.push(t)},ForXStatement(t,e){let r=t.get("left");if(r.isPattern()||r.isIdentifier())e.constantViolations.push(t);else if(r.isVar()){let{scope:i}=t;(i.getFunctionParent()||i.getProgramParent()).registerBinding("var",r)}},ExportDeclaration:{exit(t){let{node:e,scope:r}=t;if(YT(e))return;let i=e.declaration;if($8(i)||W8(i)){let s=i.id;if(!s)return;let n=r.getBinding(s.name);n?.reference(t)}else if(i5(i))for(let s of i.declarations)for(let n of Object.keys(WT(s))){let a=r.getBinding(n);a?.reference(t)}}},LabeledStatement(t){t.scope.getBlockParent().registerDeclaration(t)},AssignmentExpression(t,e){e.assignments.push(t)},UpdateExpression(t,e){e.constantViolations.push(t)},UnaryExpression(t,e){t.node.operator==="delete"&&e.constantViolations.push(t)},BlockScoped(t){let e=t.scope;if(e.path===t&&(e=e.parent),e.getBlockParent().registerDeclaration(t),t.isClassDeclaration()&&t.node.id){let s=t.node.id.name;t.scope.bindings[s]=t.scope.parent.getBinding(s)}},CatchClause(t){t.scope.registerBinding("let",t)},Function(t){let e=t.get("params");for(let r of e)t.scope.registerBinding("param",r);t.isFunctionExpression()&&t.node.id&&!t.node.id[Op]&&t.scope.registerBinding("local",t.get("id"),t)},ClassExpression(t){t.node.id&&!t.node.id[Op]&&t.scope.registerBinding("local",t.get("id"),t)},TSTypeAnnotation(t){t.skip()}},Cn,x5=0,xr=class t{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;let{node:r}=e,i=DT.scope.get(r);if(i?.path===e)return i;DT.scope.set(r,this),this.uid=x5++,this.block=r,this.path=e,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var e;let r,i=this.path;do{var s;let n=i.key==="key"||i.listKey==="decorators";i=i.parentPath,n&&i.isMethod()&&(i=i.parentPath),(s=i)!=null&&s.isScope()&&(r=i)}while(i&&!r);return(e=r)==null?void 0:e.scope}get references(){throw new Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw new Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(e){let r=this.generateUidIdentifier(e);return this.push({id:r}),MT(r)}generateUidIdentifier(e){return Ri(this.generateUid(e))}generateUid(e="temp"){e=a5(e).replace(/^_+/,"").replace(/\d+$/g,"");let r,i=0;do r=`_${e}`,i>=11?r+=i-1:i>=9?r+=i-9:i>=1&&(r+=i+1),i++;while(this.hasLabel(r)||this.hasBinding(r)||this.hasGlobal(r)||this.hasReference(r));let s=this.getProgramParent();return s.references[r]=!0,s.uids[r]=!0,r}generateUidBasedOnNode(e,r){let i=[];et(e,i);let s=i.join("$");return s=s.replace(/^_/,"")||r||"ref",this.generateUid(s.slice(0,20))}generateUidIdentifierBasedOnNode(e,r){return Ri(this.generateUidBasedOnNode(e,r))}isStatic(e){if(BT(e)||e5(e)||RT(e))return!0;if(ji(e)){let r=this.getBinding(e.name);return r?r.constant:this.hasBinding(e.name)}return!1}maybeGenerateMemoised(e,r){if(this.isStatic(e))return null;{let i=this.generateUidIdentifierBasedOnNode(e);return r?i:(this.push({id:i}),MT(i))}}checkBlockScopedCollisions(e,r,i,s){if(r==="param"||e.kind==="local")return;if(r==="let"||e.kind==="let"||e.kind==="const"||e.kind==="module"||e.kind==="param"&&r==="const")throw this.path.hub.buildError(s,`Duplicate declaration "${i}"`,TypeError)}rename(e,r){let i=this.getBinding(e);i&&(r||(r=this.generateUidIdentifier(e).name),new L8.default(i,e,r).rename(arguments[2]))}dump(){let e="-".repeat(60);console.log(e);let r=this;do{console.log("#",r.block.type);for(let i of Object.keys(r.bindings)){let s=r.bindings[i];console.log(" -",i,{constant:s.constant,references:s.references,violations:s.constantViolations.length,kind:s.kind})}}while(r=r.parent);console.log(e)}hasLabel(e){return!!this.getLabel(e)}getLabel(e){return this.labels.get(e)}registerLabel(e){this.labels.set(e.node.label.name,e)}registerDeclaration(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration()){let r=e.get("declarations"),{kind:i}=e.node;for(let s of r)this.registerBinding(i==="using"||i==="await using"?"const":i,s)}else if(e.isClassDeclaration()){if(e.node.declare)return;this.registerBinding("let",e)}else if(e.isImportDeclaration()){let r=e.node.importKind==="type"||e.node.importKind==="typeof",i=e.get("specifiers");for(let s of i){let n=r||s.isImportSpecifier()&&(s.node.importKind==="type"||s.node.importKind==="typeof");this.registerBinding(n?"unknown":"module",s)}}else if(e.isExportDeclaration()){let r=e.get("declaration");(r.isClassDeclaration()||r.isFunctionDeclaration()||r.isVariableDeclaration())&&this.registerDeclaration(r)}else this.registerBinding("unknown",e)}buildUndefinedNode(){return m5()}registerConstantViolation(e){let r=e.getAssignmentIdentifiers();for(let s of Object.keys(r)){var i;(i=this.getBinding(s))==null||i.reassign(e)}}registerBinding(e,r,i=r){if(!e)throw new ReferenceError("no `kind`");if(r.isVariableDeclaration()){let a=r.get("declarations");for(let o of a)this.registerBinding(e,o);return}let s=this.getProgramParent(),n=r.getOuterBindingIdentifiers(!0);for(let a of Object.keys(n)){s.references[a]=!0;for(let o of n[a]){let l=this.getOwnBinding(a);if(l){if(l.identifier===o)continue;this.checkBlockScopedCollisions(l,e,a,o)}l?l.reassign(i):this.bindings[a]=new M8.default({identifier:o,scope:this,path:i,kind:e})}}}addGlobal(e){this.globals[e.name]=e}hasUid(e){{let r=this;do if(r.uids[e])return!0;while(r=r.parent);return!1}}hasGlobal(e){let r=this;do if(r.globals[e])return!0;while(r=r.parent);return!1}hasReference(e){return!!this.getProgramParent().references[e]}isPure(e,r){if(ji(e)){let a=this.getBinding(e.name);return a?r?a.constant:!0:!1}else{if(BT(e)||f5(e)||RT(e)||h5(e))return!0;if(q8(e)){var i;return e.superClass&&!this.isPure(e.superClass,r)||((i=e.decorators)==null?void 0:i.length)>0?!1:this.isPure(e.body,r)}else if(U8(e)){for(let a of e.body)if(!this.isPure(a,r))return!1;return!0}else{if(R8(e))return this.isPure(e.left,r)&&this.isPure(e.right,r);if(VT(e)||u5(e)){for(let a of e.elements)if(a!==null&&!this.isPure(a,r))return!1;return!0}else if(H8(e)||c5(e)){for(let a of e.properties)if(!this.isPure(a,r))return!1;return!0}else if(z8(e)){var s;return!(e.computed&&!this.isPure(e.key,r)||((s=e.decorators)==null?void 0:s.length)>0)}else if(G8(e)){var n;return!(e.computed&&!this.isPure(e.key,r)||((n=e.decorators)==null?void 0:n.length)>0||(p5(e)||e.static)&&e.value!==null&&!this.isPure(e.value,r))}else{if(r5(e))return this.isPure(e.argument,r);if(zT(e)){for(let a of e.expressions)if(!this.isPure(a,r))return!1;return!0}else return t5(e)?jT(e.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(e.quasi,r):Y8(e)?!e.computed&&ji(e.object)&&e.object.name==="Symbol"&&ji(e.property)&&e.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):FT(e)?jT(e.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&e.arguments.length===1&&KT.isStringLiteral(e.arguments[0]):Q8(e)}}}}setData(e,r){return this.data[e]=r}getData(e){let r=this;do{let i=r.data[e];if(i!=null)return i}while(r=r.parent)}removeData(e){let r=this;do r.data[e]!=null&&(r.data[e]=null);while(r=r.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let e=this.path;qT(this),this.data=Object.create(null);let r=this;do{if(r.crawling)return;if(r.path.isProgram())break}while(r=r.parent);let i=r,s={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,Cn||(Cn=UT.default.visitors.merge([{Scope(n){qT(n.scope)}},T5])),e.type!=="Program"){for(let a of Cn.enter)a.call(s,e,s);let n=Cn[e.type];if(n)for(let a of n.enter)a.call(s,e,s)}e.traverse(Cn,s),this.crawling=!1;for(let n of s.assignments){let a=n.getAssignmentIdentifiers();for(let o of Object.keys(a))n.scope.getBinding(o)||i.addGlobal(a[o]);n.scope.registerConstantViolation(n)}for(let n of s.references){let a=n.scope.getBinding(n.node.name);a?a.reference(n):i.addGlobal(n.node)}for(let n of s.constantViolations)n.scope.registerConstantViolation(n)}push(e){let r=this.path;r.isPattern()?r=this.getPatternParent().path:!r.isBlockStatement()&&!r.isProgram()&&(r=this.getBlockParent().path),r.isSwitchStatement()&&(r=(this.getFunctionParent()||this.getProgramParent()).path);let{init:i,unique:s,kind:n="var",id:a}=e;if(!i&&!s&&(n==="var"||n==="let")&&r.isFunction()&&!r.node.name&&FT(r.parent,{callee:r.node})&&r.parent.arguments.length<=r.node.params.length&&ji(a)){r.pushContainer("params",a),r.scope.registerBinding("param",r.get("params")[r.node.params.length-1]);return}(r.isLoop()||r.isCatchClause()||r.isFunction())&&(r.ensureBlock(),r=r.get("body"));let o=e._blockHoist==null?2:e._blockHoist,l=`declaration:${n}:${o}`,c=!s&&r.getData(l);if(!c){let x=o5(n,[]);x._blockHoist=o,[c]=r.unshiftContainer("body",[x]),s||r.setData(l,c)}let u=l5(a,i),d=c.node.declarations.push(u);r.scope.registerBinding(n,c.get("declarations")[d-1])}getProgramParent(){let e=this;do if(e.path.isProgram())return e;while(e=e.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let e=this;do if(e.path.isFunctionParent())return e;while(e=e.parent);return null}getBlockParent(){let e=this;do if(e.path.isBlockParent())return e;while(e=e.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let e=this;do if(!e.path.isPattern())return e.getBlockParent();while(e=e.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let e=Object.create(null),r=this;do{for(let i of Object.keys(r.bindings))i in e||(e[i]=r.bindings[i]);r=r.parent}while(r);return e}bindingIdentifierEquals(e,r){return this.getBindingIdentifier(e)===r}getBinding(e){let r=this,i;do{let n=r.getOwnBinding(e);if(n){var s;if(!((s=i)!=null&&s.isPattern()&&n.kind!=="param"&&n.kind!=="local"))return n}else if(!n&&e==="arguments"&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;i=r.path}while(r=r.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var r;return(r=this.getBinding(e))==null?void 0:r.identifier}getOwnBindingIdentifier(e){let r=this.bindings[e];return r?.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,r){if(!e)return!1;let i,s,n;typeof r=="object"?(i=r.noGlobals,s=r.noUids,n=r.upToScope):typeof r=="boolean"&&(i=r);let a=this;do{if(n===a)break;if(a.hasOwnBinding(e))return!0}while(a=a.parent);return!!(!s&&this.hasUid(e)||!i&&t.globals.includes(e)||!i&&t.contextVariables.includes(e))}parentHasBinding(e,r){var i;return(i=this.parent)==null?void 0:i.hasBinding(e,r)}moveBindingTo(e,r){let i=this.getBinding(e);i&&(i.scope.removeOwnBinding(e),i.scope=r,r.bindings[e]=i)}removeOwnBinding(e){delete this.bindings[e]}removeBinding(e){var r;(r=this.getBinding(e))==null||r.scope.removeOwnBinding(e);{let i=this;do i.uids[e]&&(i.uids[e]=!1);while(i=i.parent)}}hoistVariables(e=r=>this.push({id:r})){this.crawl();let r=new Set;for(let i of Object.keys(this.bindings)){let s=this.bindings[i];if(!s)continue;let{path:n}=s;if(!n.isVariableDeclarator())continue;let{parent:a,parentPath:o}=n;if(a.kind!=="var"||r.has(a))continue;r.add(n.parent);let l,c=[];for(let u of a.declarations){l??(l=u.id),u.init&&c.push(j8("=",u.id,u.init));let d=Object.keys(WT(u,!1,!0,!0));for(let x of d)e(Ri(x),u.init!=null)}if(o.parentPath.isFor({left:a}))o.replaceWith(l);else if(c.length===0)o.remove();else{let u=c.length===1?c[0]:y5(c);o.parentPath.isForStatement({init:a})?o.replaceWith(u):o.replaceWith(s5(u))}}}};To.default=xr;xr.globals=[...F8,...B8];xr.contextVariables=["arguments","undefined","Infinity","NaN"];xr.prototype._renameFromMap=function(e,r,i,s){e[r]&&(e[i]=s,e[r]=null)},xr.prototype.traverse=function(t,e,r){(0,UT.default)(t,e,this,r,this.path)},xr.prototype._generateUid=function(e,r){let i=e;return r>1&&(i+=r),`_${i}`},xr.prototype.toArray=function(e,r,i){if(ji(e)){let a=this.getBinding(e.name);if(a!=null&&a.constant&&a.path.isGenericType("Array"))return e}if(VT(e))return e;if(ji(e,{name:"arguments"}))return LT(Np(Np(Np(Ri("Array"),Ri("prototype")),Ri("slice")),Ri("call")),[e]);let s,n=[e];return r===!0?s="toConsumableArray":typeof r=="number"?(n.push(n5(r)),s="slicedToArray"):s="toArray",i&&(n.unshift(this.path.hub.addHelper(s)),s="maybeArrayLike"),LT(this.path.hub.addHelper(s),n)},xr.prototype.getAllBindingsOfKind=function(...e){let r=Object.create(null);for(let i of e){let s=this;do{for(let n of Object.keys(s.bindings)){let a=s.bindings[n];a.kind===i&&(r[n]=a)}s=s.parent}while(s)}return r},Object.defineProperties(xr.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})});var Mp=N((Dp,Lp)=>{(function(t,e,r){typeof Dp=="object"&&typeof Lp<"u"?e(Lp):typeof define=="function"&&define.amd?define(["module"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(r={exports:{}}),t.sourcemapCodec="default"in r.exports?r.exports.default:r.exports)})(Dp,function(t){"use strict";var e=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=Object.getOwnPropertyNames,s=Object.prototype.hasOwnProperty,n=(M,k)=>{for(var D in k)e(M,D,{get:k[D],enumerable:!0})},a=(M,k,D,R)=>{if(k&&typeof k=="object"||typeof k=="function")for(let z of i(k))!s.call(M,z)&&z!==D&&e(M,z,{get:()=>k[z],enumerable:!(R=r(k,z))||R.enumerable});return M},o=M=>a(e({},"__esModule",{value:!0}),M),l={};n(l,{decode:()=>Ge,decodeGeneratedRanges:()=>Oe,decodeOriginalScopes:()=>xe,encode:()=>fr,encodeGeneratedRanges:()=>at,encodeOriginalScopes:()=>we}),t.exports=o(l);var c=44,u=59,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",x=new Uint8Array(64),E=new Uint8Array(128);for(let M=0;M<d.length;M++){let k=d.charCodeAt(M);x[M]=k,E[k]=M}function v(M,k){let D=0,R=0,z=0;do{let Y=M.next();z=E[Y],D|=(z&31)<<R,R+=5}while(z&32);let K=D&1;return D>>>=1,K&&(D=-2147483648|-D),k+D}function A(M,k,D){let R=k-D;R=R<0?-R<<1|1:R<<1;do{let z=R&31;R>>>=5,R>0&&(z|=32),M.write(x[z])}while(R>0);return k}function I(M,k){return M.pos>=k?!1:M.peek()!==c}var O=1024*16,j=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(M){return Buffer.from(M.buffer,M.byteOffset,M.byteLength).toString()}}:{decode(M){let k="";for(let D=0;D<M.length;D++)k+=String.fromCharCode(M[D]);return k}},q=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(O)}write(M){let{buffer:k}=this;k[this.pos++]=M,this.pos===O&&(this.out+=j.decode(k),this.pos=0)}flush(){let{buffer:M,out:k,pos:D}=this;return D>0?k+j.decode(M.subarray(0,D)):k}},F=class{constructor(M){this.pos=0,this.buffer=M}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(M){let{buffer:k,pos:D}=this,R=k.indexOf(M,D);return R===-1?k.length:R}},U=[];function xe(M){let{length:k}=M,D=new F(M),R=[],z=[],K=0;for(;D.pos<k;D.pos++){K=v(D,K);let Y=v(D,0);if(!I(D,k)){let Me=z.pop();Me[2]=K,Me[3]=Y;continue}let W=v(D,0),fe=v(D,0)&1?[K,Y,0,0,W,v(D,0)]:[K,Y,0,0,W],ge=U;if(I(D,k)){ge=[];do{let Me=v(D,0);ge.push(Me)}while(I(D,k))}fe.vars=ge,R.push(fe),z.push(fe)}return R}function we(M){let k=new q;for(let D=0;D<M.length;)D=ve(M,D,k,[0]);return k.flush()}function ve(M,k,D,R){let z=M[k],{0:K,1:Y,2:W,3:Z,4:ne,vars:fe}=z;k>0&&D.write(c),R[0]=A(D,K,R[0]),A(D,Y,0),A(D,ne,0);let ge=z.length===6?1:0;A(D,ge,0),z.length===6&&A(D,z[5],0);for(let Me of fe)A(D,Me,0);for(k++;k<M.length;){let Me=M[k],{0:Ce,1:rt}=Me;if(Ce>W||Ce===W&&rt>=Z)break;k=ve(M,k,D,R)}return D.write(c),R[0]=A(D,W,R[0]),A(D,Z,0),k}function Oe(M){let{length:k}=M,D=new F(M),R=[],z=[],K=0,Y=0,W=0,Z=0,ne=0,fe=0,ge=0,Me=0;do{let Ce=D.indexOf(";"),rt=0;for(;D.pos<Ce;D.pos++){if(rt=v(D,rt),!I(D,Ce)){let oe=z.pop();oe[2]=K,oe[3]=rt;continue}let dt=v(D,0),Fr=dt&1,Xt=dt&2,Ut=dt&4,H=null,G=U,se;if(Fr){let oe=v(D,Y);W=v(D,Y===oe?W:0),Y=oe,se=[K,rt,0,0,oe,W]}else se=[K,rt,0,0];if(se.isScope=!!Ut,Xt){let oe=Z,Pe=ne;Z=v(D,Z);let Ae=oe===Z;ne=v(D,Ae?ne:0),fe=v(D,Ae&&Pe===ne?fe:0),H=[Z,ne,fe]}if(se.callsite=H,I(D,Ce)){G=[];do{ge=K,Me=rt;let oe=v(D,0),Pe;if(oe<-1){Pe=[[v(D,0)]];for(let Ae=-1;Ae>oe;Ae--){let $e=ge;ge=v(D,ge),Me=v(D,ge===$e?Me:0);let Et=v(D,0);Pe.push([Et,ge,Me])}}else Pe=[[oe]];G.push(Pe)}while(I(D,Ce))}se.bindings=G,R.push(se),z.push(se)}K++,D.pos=Ce+1}while(D.pos<k);return R}function at(M){if(M.length===0)return"";let k=new q;for(let D=0;D<M.length;)D=h(M,D,k,[0,0,0,0,0,0,0]);return k.flush()}function h(M,k,D,R){let z=M[k],{0:K,1:Y,2:W,3:Z,isScope:ne,callsite:fe,bindings:ge}=z;R[0]<K?(Te(D,R[0],K),R[0]=K,R[1]=0):k>0&&D.write(c),R[1]=A(D,z[1],R[1]);let Me=(z.length===6?1:0)|(fe?2:0)|(ne?4:0);if(A(D,Me,0),z.length===6){let{4:Ce,5:rt}=z;Ce!==R[2]&&(R[3]=0),R[2]=A(D,Ce,R[2]),R[3]=A(D,rt,R[3])}if(fe){let{0:Ce,1:rt,2:dt}=z.callsite;Ce!==R[4]?(R[5]=0,R[6]=0):rt!==R[5]&&(R[6]=0),R[4]=A(D,Ce,R[4]),R[5]=A(D,rt,R[5]),R[6]=A(D,dt,R[6])}if(ge)for(let Ce of ge){Ce.length>1&&A(D,-Ce.length,0);let rt=Ce[0][0];A(D,rt,0);let dt=K,Fr=Y;for(let Xt=1;Xt<Ce.length;Xt++){let Ut=Ce[Xt];dt=A(D,Ut[1],dt),Fr=A(D,Ut[2],Fr),A(D,Ut[0],0)}}for(k++;k<M.length;){let Ce=M[k],{0:rt,1:dt}=Ce;if(rt>W||rt===W&&dt>=Z)break;k=h(M,k,D,R)}return R[0]<W?(Te(D,R[0],W),R[0]=W,R[1]=0):D.write(c),R[1]=A(D,Z,R[1]),k}function Te(M,k,D){do M.write(u);while(++k<D)}function Ge(M){let{length:k}=M,D=new F(M),R=[],z=0,K=0,Y=0,W=0,Z=0;do{let ne=D.indexOf(";"),fe=[],ge=!0,Me=0;for(z=0;D.pos<ne;){let Ce;z=v(D,z),z<Me&&(ge=!1),Me=z,I(D,ne)?(K=v(D,K),Y=v(D,Y),W=v(D,W),I(D,ne)?(Z=v(D,Z),Ce=[z,K,Y,W,Z]):Ce=[z,K,Y,W]):Ce=[z],fe.push(Ce),D.pos++}ge||pt(fe),R.push(fe),D.pos=ne+1}while(D.pos<=k);return R}function pt(M){M.sort(wt)}function wt(M,k){return M[0]-k[0]}function fr(M){let k=new q,D=0,R=0,z=0,K=0;for(let Y=0;Y<M.length;Y++){let W=M[Y];if(Y>0&&k.write(u),W.length===0)continue;let Z=0;for(let ne=0;ne<W.length;ne++){let fe=W[ne];ne>0&&k.write(c),Z=A(k,fe[0],Z),fe.length!==1&&(D=A(k,fe[1],D),R=A(k,fe[2],R),z=A(k,fe[3],z),fe.length!==4&&(K=A(k,fe[4],K)))}}return k.flush()}})});var JT=N((Fp,Bp)=>{(function(t,e){typeof Fp=="object"&&typeof Bp<"u"?Bp.exports=e():typeof define=="function"&&define.amd?define(e):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=e())})(Fp,function(){"use strict";let t=/^[\w+.-]+:\/\//,e=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,r=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function i(I){return t.test(I)}function s(I){return I.startsWith("//")}function n(I){return I.startsWith("/")}function a(I){return I.startsWith("file:")}function o(I){return/^[.?#]/.test(I)}function l(I){let O=e.exec(I);return u(O[1],O[2]||"",O[3],O[4]||"",O[5]||"/",O[6]||"",O[7]||"")}function c(I){let O=r.exec(I),j=O[2];return u("file:","",O[1]||"","",n(j)?j:"/"+j,O[3]||"",O[4]||"")}function u(I,O,j,q,F,U,xe){return{scheme:I,user:O,host:j,port:q,path:F,query:U,hash:xe,type:7}}function d(I){if(s(I)){let j=l("http:"+I);return j.scheme="",j.type=6,j}if(n(I)){let j=l("http://foo.com"+I);return j.scheme="",j.host="",j.type=5,j}if(a(I))return c(I);if(i(I))return l(I);let O=l("http://foo.com/"+I);return O.scheme="",O.host="",O.type=I?I.startsWith("?")?3:I.startsWith("#")?2:4:1,O}function x(I){if(I.endsWith("/.."))return I;let O=I.lastIndexOf("/");return I.slice(0,O+1)}function E(I,O){v(O,O.type),I.path==="/"?I.path=O.path:I.path=x(O.path)+I.path}function v(I,O){let j=O<=4,q=I.path.split("/"),F=1,U=0,xe=!1;for(let ve=1;ve<q.length;ve++){let Oe=q[ve];if(!Oe){xe=!0;continue}if(xe=!1,Oe!=="."){if(Oe===".."){U?(xe=!0,U--,F--):j&&(q[F++]=Oe);continue}q[F++]=Oe,U++}}let we="";for(let ve=1;ve<F;ve++)we+="/"+q[ve];(!we||xe&&!we.endsWith("/.."))&&(we+="/"),I.path=we}function A(I,O){if(!I&&!O)return"";let j=d(I),q=j.type;if(O&&q!==7){let U=d(O),xe=U.type;switch(q){case 1:j.hash=U.hash;case 2:j.query=U.query;case 3:case 4:E(j,U);case 5:j.user=U.user,j.host=U.host,j.port=U.port;case 6:j.scheme=U.scheme}xe>q&&(q=xe)}v(j,q);let F=j.query+j.hash;switch(q){case 2:case 3:return F;case 4:{let U=j.path.slice(1);return U?o(O||I)&&!o(U)?"./"+U+F:U+F:F||"."}case 5:return j.path+F;default:return j.scheme+"//"+j.user+j.host+j.port+j.path+F}}return A})});var qp=N((jp,Rp)=>{(function(t,e,r){typeof jp=="object"&&typeof Rp<"u"?e(Rp,JT(),Mp()):typeof define=="function"&&define.amd?define(["module","@jridgewell/resolve-uri","@jridgewell/sourcemap-codec"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(r={exports:{}},t.resolveURI,t.sourcemapCodec),t.traceMapping="default"in r.exports?r.exports.default:r.exports)})(jp,function(t,e,r){"use strict";var i=Object.create,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(L,V)=>function(){return V||(0,L[a(L)[0]])((V={exports:{}}).exports,V),V.exports},u=(L,V)=>{for(var J in V)s(L,J,{get:V[J],enumerable:!0})},d=(L,V,J,te)=>{if(V&&typeof V=="object"||typeof V=="function")for(let be of a(V))!l.call(L,be)&&be!==J&&s(L,be,{get:()=>V[be],enumerable:!(te=n(V,be))||te.enumerable});return L},x=(L,V,J)=>(J=L!=null?i(o(L)):{},d(V||!L||!L.__esModule?s(J,"default",{value:L,enumerable:!0}):J,L)),E=L=>d(s({},"__esModule",{value:!0}),L),v=c({"umd:@jridgewell/sourcemap-codec"(L,V){V.exports=r}}),A=c({"umd:@jridgewell/resolve-uri"(L,V){V.exports=e}}),I={};u(I,{AnyMap:()=>fe,FlattenMap:()=>fe,GREATEST_LOWER_BOUND:()=>Ut,LEAST_UPPER_BOUND:()=>Xt,TraceMap:()=>H,allGeneratedPositionsFor:()=>Et,decodedMap:()=>Ti,decodedMappings:()=>oe,eachMapping:()=>er,encodedMap:()=>Xi,encodedMappings:()=>se,generatedPositionFor:()=>$e,isIgnored:()=>mi,originalPositionFor:()=>Ae,presortedDecodedMap:()=>yi,sourceContentFor:()=>Ji,traceSegment:()=>Pe}),t.exports=E(I);var O=x(v()),j=x(A());function q(L){if(!L)return"";let V=L.lastIndexOf("/");return L.slice(0,V+1)}function F(L,V){let J=q(L),te=V?V+"/":"";return be=>(0,j.default)(te+(be||""),J)}var U=0,xe=1,we=2,ve=3,Oe=4,at=1,h=2;function Te(L,V){let J=Ge(L,0);if(J===L.length)return L;V||(L=L.slice());for(let te=J;te<L.length;te=Ge(L,te+1))L[te]=wt(L[te],V);return L}function Ge(L,V){for(let J=V;J<L.length;J++)if(!pt(L[J]))return J;return L.length}function pt(L){for(let V=1;V<L.length;V++)if(L[V][U]<L[V-1][U])return!1;return!0}function wt(L,V){return V||(L=L.slice()),L.sort(fr)}function fr(L,V){return L[U]-V[U]}var M=!1;function k(L,V,J,te){for(;J<=te;){let be=J+(te-J>>1),he=L[be][U]-V;if(he===0)return M=!0,be;he<0?J=be+1:te=be-1}return M=!1,J-1}function D(L,V,J){for(let te=J+1;te<L.length&&L[te][U]===V;J=te++);return J}function R(L,V,J){for(let te=J-1;te>=0&&L[te][U]===V;J=te--);return J}function z(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function K(L,V,J,te){let{lastKey:be,lastNeedle:he,lastIndex:Ue}=J,He=0,Le=L.length-1;if(te===be){if(V===he)return M=Ue!==-1&&L[Ue][U]===V,Ue;V>=he?He=Ue===-1?0:Ue:Le=Ue}return J.lastKey=te,J.lastNeedle=V,J.lastIndex=k(L,V,He,Le)}function Y(L,V){let J=V.map(Z);for(let te=0;te<L.length;te++){let be=L[te];for(let he=0;he<be.length;he++){let Ue=be[he];if(Ue.length===1)continue;let He=Ue[xe],Le=Ue[we],Qe=Ue[ve],$t=J[He],it=$t[Le]||($t[Le]=[]),Tt=V[He],Ht=D(it,Qe,K(it,Qe,Tt,Le));Tt.lastIndex=++Ht,W(it,Ht,[Qe,te,Ue[U]])}}return J}function W(L,V,J){for(let te=L.length;te>V;te--)L[te]=L[te-1];L[V]=J}function Z(){return{__proto__:null}}function ne(L){return typeof L=="string"?JSON.parse(L):L}var fe=function(L,V){let J=ne(L);if(!("sections"in J))return new H(J,V);let te=[],be=[],he=[],Ue=[],He=[];ge(J,V,te,be,he,Ue,He,0,0,1/0,1/0);let Le={version:3,file:J.file,names:Ue,sources:be,sourcesContent:he,mappings:te,ignoreList:He};return yi(Le)};function ge(L,V,J,te,be,he,Ue,He,Le,Qe,$t){let{sections:it}=L;for(let Tt=0;Tt<it.length;Tt++){let{map:Ht,offset:Er}=it[Tt],gi=Qe,Hi=$t;if(Tt+1<it.length){let Gi=it[Tt+1].offset;gi=Math.min(Qe,He+Gi.line),gi===Qe?Hi=Math.min($t,Le+Gi.column):gi<Qe&&(Hi=Le+Gi.column)}Me(Ht,V,J,te,be,he,Ue,He+Er.line,Le+Er.column,gi,Hi)}}function Me(L,V,J,te,be,he,Ue,He,Le,Qe,$t){let it=ne(L);if("sections"in it)return ge(...arguments);let Tt=new H(it,V),Ht=te.length,Er=he.length,gi=oe(Tt),{resolvedSources:Hi,sourcesContent:Gi,ignoreList:Zo}=Tt;if(Ce(te,Hi),Ce(he,Tt.names),Gi)Ce(be,Gi);else for(let tr=0;tr<Hi.length;tr++)be.push(null);if(Zo)for(let tr=0;tr<Zo.length;tr++)Ue.push(Zo[tr]+Ht);for(let tr=0;tr<gi.length;tr++){let el=He+tr;if(el>Qe)return;let dh=rt(J,el),pb=tr===0?Le:0,mh=gi[tr];for(let tl=0;tl<mh.length;tl++){let bi=mh[tl],Yn=pb+bi[U];if(el===Qe&&Yn>=$t)return;if(bi.length===1){dh.push([Yn]);continue}let yh=Ht+bi[xe],Th=bi[we],xh=bi[ve];dh.push(bi.length===4?[Yn,yh,Th,xh]:[Yn,yh,Th,xh,Er+bi[Oe]])}}}function Ce(L,V){for(let J=0;J<V.length;J++)L.push(V[J])}function rt(L,V){for(let J=L.length;J<=V;J++)L[J]=[];return L[V]}var dt="`line` must be greater than 0 (lines start at line 1)",Fr="`column` must be greater than or equal to 0 (columns start at column 0)",Xt=-1,Ut=1,H=class{constructor(L,V){let J=typeof L=="string";if(!J&&L._decodedMemo)return L;let te=ne(L),{version:be,file:he,names:Ue,sourceRoot:He,sources:Le,sourcesContent:Qe}=te;this.version=be,this.file=he,this.names=Ue||[],this.sourceRoot=He,this.sources=Le,this.sourcesContent=Qe,this.ignoreList=te.ignoreList||te.x_google_ignoreList||void 0;let $t=F(V,He);this.resolvedSources=Le.map($t);let{mappings:it}=te;if(typeof it=="string")this._encoded=it,this._decoded=void 0;else if(Array.isArray(it))this._encoded=void 0,this._decoded=Te(it,J);else throw te.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(te)}`);this._decodedMemo=z(),this._bySources=void 0,this._bySourceMemos=void 0}};function G(L){return L}function se(L){var V,J;return(J=(V=L)._encoded)!=null?J:V._encoded=(0,O.encode)(L._decoded)}function oe(L){var V;return(V=L)._decoded||(V._decoded=(0,O.decode)(L._encoded))}function Pe(L,V,J){let te=oe(L);if(V>=te.length)return null;let be=te[V],he=Vn(be,L._decodedMemo,V,J,Ut);return he===-1?null:be[he]}function Ae(L,V){let{line:J,column:te,bias:be}=V;if(J--,J<0)throw new Error(dt);if(te<0)throw new Error(Fr);let he=oe(L);if(J>=he.length)return xi(null,null,null,null);let Ue=he[J],He=Vn(Ue,L._decodedMemo,J,te,be||Ut);if(He===-1)return xi(null,null,null,null);let Le=Ue[He];if(Le.length===1)return xi(null,null,null,null);let{names:Qe,resolvedSources:$t}=L;return xi($t[Le[xe]],Le[we]+1,Le[ve],Le.length===5?Qe[Le[Oe]]:null)}function $e(L,V){let{source:J,line:te,column:be,bias:he}=V;return hh(L,J,te,be,he||Ut,!1)}function Et(L,V){let{source:J,line:te,column:be,bias:he}=V;return hh(L,J,te,be,he||Xt,!0)}function er(L,V){let J=oe(L),{names:te,resolvedSources:be}=L;for(let he=0;he<J.length;he++){let Ue=J[he];for(let He=0;He<Ue.length;He++){let Le=Ue[He],Qe=he+1,$t=Le[0],it=null,Tt=null,Ht=null,Er=null;Le.length!==1&&(it=be[Le[1]],Tt=Le[2]+1,Ht=Le[3]),Le.length===5&&(Er=te[Le[4]]),V({generatedLine:Qe,generatedColumn:$t,source:it,originalLine:Tt,originalColumn:Ht,name:Er})}}}function zi(L,V){let{sources:J,resolvedSources:te}=L,be=J.indexOf(V);return be===-1&&(be=te.indexOf(V)),be}function Ji(L,V){let{sourcesContent:J}=L;if(J==null)return null;let te=zi(L,V);return te===-1?null:J[te]}function mi(L,V){let{ignoreList:J}=L;if(J==null)return!1;let te=zi(L,V);return te===-1?!1:J.includes(te)}function yi(L,V){let J=new H(Br(L,[]),V);return J._decoded=L.mappings,J}function Ti(L){return Br(L,oe(L))}function Xi(L){return Br(L,se(L))}function Br(L,V){return{version:L.version,file:L.file,names:L.names,sourceRoot:L.sourceRoot,sources:L.sources,sourcesContent:L.sourcesContent,mappings:V,ignoreList:L.ignoreList||L.x_google_ignoreList}}function xi(L,V,J,te){return{source:L,line:V,column:J,name:te}}function Ds(L,V){return{line:L,column:V}}function Vn(L,V,J,te,be){let he=K(L,te,V,J);return M?he=(be===Xt?D:R)(L,te,he):be===Xt&&he++,he===-1||he===L.length?-1:he}function ub(L,V,J,te,be){let he=Vn(L,V,J,te,Ut);if(!M&&be===Xt&&he++,he===-1||he===L.length)return[];let Ue=M?te:L[he][U];M||(he=R(L,Ue,he));let He=D(L,Ue,he),Le=[];for(;he<=He;he++){let Qe=L[he];Le.push(Ds(Qe[at]+1,Qe[h]))}return Le}function hh(L,V,J,te,be,he){var Ue;if(J--,J<0)throw new Error(dt);if(te<0)throw new Error(Fr);let{sources:He,resolvedSources:Le}=L,Qe=He.indexOf(V);if(Qe===-1&&(Qe=Le.indexOf(V)),Qe===-1)return he?[]:Ds(null,null);let it=((Ue=L)._bySources||(Ue._bySources=Y(oe(L),L._bySourceMemos=He.map(z))))[Qe][J];if(it==null)return he?[]:Ds(null,null);let Tt=L._bySourceMemos[Qe];if(he)return ub(it,Tt,J,te,be);let Ht=Vn(it,Tt,J,te,be);if(Ht===-1)return Ds(null,null);let Er=it[Ht];return Ds(Er[at]+1,Er[h])}})});var XT=N((Up,$p)=>{(function(t,e,r){typeof Up=="object"&&typeof $p<"u"?e($p,Mp(),qp()):typeof define=="function"&&define.amd?define(["module","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],e):(t=typeof globalThis<"u"?globalThis:t||self,e(r={exports:{}},t.sourcemapCodec,t.traceMapping),t.genMapping="default"in r.exports?r.exports.default:r.exports)})(Up,function(t,e,r){"use strict";var i=Object.create,s=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,c=(H,G)=>function(){return G||(0,H[a(H)[0]])((G={exports:{}}).exports,G),G.exports},u=(H,G)=>{for(var se in G)s(H,se,{get:G[se],enumerable:!0})},d=(H,G,se,oe)=>{if(G&&typeof G=="object"||typeof G=="function")for(let Pe of a(G))!l.call(H,Pe)&&Pe!==se&&s(H,Pe,{get:()=>G[Pe],enumerable:!(oe=n(G,Pe))||oe.enumerable});return H},x=(H,G,se)=>(se=H!=null?i(o(H)):{},d(G||!H||!H.__esModule?s(se,"default",{value:H,enumerable:!0}):se,H)),E=H=>d(s({},"__esModule",{value:!0}),H),v=c({"umd:@jridgewell/sourcemap-codec"(H,G){G.exports=e}}),A=c({"umd:@jridgewell/trace-mapping"(H,G){G.exports=r}}),I={};u(I,{GenMapping:()=>pt,addMapping:()=>M,addSegment:()=>fr,allMappings:()=>Z,fromMap:()=>W,maybeAddMapping:()=>D,maybeAddSegment:()=>k,setIgnore:()=>z,setSourceContent:()=>R,toDecodedMap:()=>K,toEncodedMap:()=>Y}),t.exports=E(I);var O=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function j(H){return H}function q(H,G){return H._indexes[G]}function F(H,G){let se=q(H,G);if(se!==void 0)return se;let{array:oe,_indexes:Pe}=H,Ae=oe.push(G);return Pe[G]=Ae-1}function U(H,G){let se=q(H,G);if(se===void 0)return;let{array:oe,_indexes:Pe}=H;for(let Ae=se+1;Ae<oe.length;Ae++){let $e=oe[Ae];oe[Ae-1]=$e,Pe[$e]--}Pe[G]=void 0,oe.pop()}var xe=x(v()),we=x(A()),ve=0,Oe=1,at=2,h=3,Te=4,Ge=-1,pt=class{constructor({file:H,sourceRoot:G}={}){this._names=new O,this._sources=new O,this._sourcesContent=[],this._mappings=[],this.file=H,this.sourceRoot=G,this._ignoreList=new O}};function wt(H){return H}function fr(H,G,se,oe,Pe,Ae,$e,Et){return ne(!1,H,G,se,oe,Pe,Ae,$e,Et)}function M(H,G){return Ut(!1,H,G)}var k=(H,G,se,oe,Pe,Ae,$e,Et)=>ne(!0,H,G,se,oe,Pe,Ae,$e,Et),D=(H,G)=>Ut(!0,H,G);function R(H,G,se){let{_sources:oe,_sourcesContent:Pe}=H,Ae=F(oe,G);Pe[Ae]=se}function z(H,G,se=!0){let{_sources:oe,_sourcesContent:Pe,_ignoreList:Ae}=H,$e=F(oe,G);$e===Pe.length&&(Pe[$e]=null),se?F(Ae,$e):U(Ae,$e)}function K(H){let{_mappings:G,_sources:se,_sourcesContent:oe,_names:Pe,_ignoreList:Ae}=H;return rt(G),{version:3,file:H.file||void 0,names:Pe.array,sourceRoot:H.sourceRoot||void 0,sources:se.array,sourcesContent:oe,mappings:G,ignoreList:Ae.array}}function Y(H){let G=K(H);return Object.assign({},G,{mappings:(0,xe.encode)(G.mappings)})}function W(H){let G=new we.TraceMap(H),se=new pt({file:G.file,sourceRoot:G.sourceRoot});return dt(se._names,G.names),dt(se._sources,G.sources),se._sourcesContent=G.sourcesContent||G.sources.map(()=>null),se._mappings=(0,we.decodedMappings)(G),G.ignoreList&&dt(se._ignoreList,G.ignoreList),se}function Z(H){let G=[],{_mappings:se,_sources:oe,_names:Pe}=H;for(let Ae=0;Ae<se.length;Ae++){let $e=se[Ae];for(let Et=0;Et<$e.length;Et++){let er=$e[Et],zi={line:Ae+1,column:er[ve]},Ji,mi,yi;er.length!==1&&(Ji=oe.array[er[Oe]],mi={line:er[at]+1,column:er[h]},er.length===5&&(yi=Pe.array[er[Te]])),G.push({generated:zi,source:Ji,original:mi,name:yi})}}return G}function ne(H,G,se,oe,Pe,Ae,$e,Et,er){let{_mappings:zi,_sources:Ji,_sourcesContent:mi,_names:yi}=G,Ti=ge(zi,se),Xi=Me(Ti,oe);if(!Pe)return H&&Fr(Ti,Xi)?void 0:Ce(Ti,Xi,[oe]);let Br=F(Ji,Pe),xi=Et?F(yi,Et):Ge;if(Br===mi.length&&(mi[Br]=er??null),!(H&&Xt(Ti,Xi,Br,Ae,$e,xi)))return Ce(Ti,Xi,Et?[oe,Br,Ae,$e,xi]:[oe,Br,Ae,$e])}function fe(H){}function ge(H,G){for(let se=H.length;se<=G;se++)H[se]=[];return H[G]}function Me(H,G){let se=H.length;for(let oe=se-1;oe>=0;se=oe--){let Pe=H[oe];if(G>=Pe[ve])break}return se}function Ce(H,G,se){for(let oe=H.length;oe>G;oe--)H[oe]=H[oe-1];H[G]=se}function rt(H){let{length:G}=H,se=G;for(let oe=se-1;oe>=0&&!(H[oe].length>0);se=oe,oe--);se<G&&(H.length=se)}function dt(H,G){for(let se=0;se<G.length;se++)F(H,G[se])}function Fr(H,G){return G===0?!0:H[G-1].length===1}function Xt(H,G,se,oe,Pe,Ae){if(G===0)return!1;let $e=H[G-1];return $e.length===1?!1:se===$e[Oe]&&oe===$e[at]&&Pe===$e[h]&&Ae===($e.length===5?$e[Te]:Ge)}function Ut(H,G,se){let{generated:oe,source:Pe,original:Ae,name:$e,content:Et}=se;return Pe?ne(H,G,oe.line-1,oe.column,Pe,Ae.line-1,Ae.column,$e,Et):ne(H,G,oe.line-1,oe.column,null,null,null,null,null)}})});var HT=N(xo=>{"use strict";Object.defineProperty(xo,"__esModule",{value:!0});xo.default=void 0;var ci=XT(),Kp=qp(),Wp=class{constructor(e,r){var i;this._map=void 0,this._rawMappings=void 0,this._sourceFileName=void 0,this._lastGenLine=0,this._lastSourceLine=0,this._lastSourceColumn=0,this._inputMap=void 0;let s=this._map=new ci.GenMapping({sourceRoot:e.sourceRoot});if(this._sourceFileName=(i=e.sourceFileName)==null?void 0:i.replace(/\\/g,"/"),this._rawMappings=void 0,e.inputSourceMap){this._inputMap=new Kp.TraceMap(e.inputSourceMap);let a=this._inputMap.resolvedSources;if(a.length)for(let o=0;o<a.length;o++){var n;(0,ci.setSourceContent)(s,a[o],(n=this._inputMap.sourcesContent)==null?void 0:n[o])}}if(typeof r=="string"&&!e.inputSourceMap)(0,ci.setSourceContent)(s,this._sourceFileName,r);else if(typeof r=="object")for(let a of Object.keys(r))(0,ci.setSourceContent)(s,a.replace(/\\/g,"/"),r[a])}get(){return(0,ci.toEncodedMap)(this._map)}getDecoded(){return(0,ci.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,ci.allMappings)(this._map))}mark(e,r,i,s,n,a){var o;this._rawMappings=void 0;let l;if(r!=null)if(this._inputMap){if(l=(0,Kp.originalPositionFor)(this._inputMap,{line:r,column:i}),!l.name&&n){let c=(0,Kp.originalPositionFor)(this._inputMap,n);c.name&&(s=c.name)}}else l={source:a?.replace(/\\/g,"/")||this._sourceFileName,line:r,column:i};(0,ci.maybeAddMapping)(this._map,{name:s,generated:e,source:(o=l)==null?void 0:o.source,original:l})}};xo.default=Wp});var GT=N(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.default=void 0;var Vp=class{constructor(e,r){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],this._position={line:1,column:0},this._sourcePosition={identifierName:void 0,identifierNamePos:void 0,line:void 0,column:void 0,filename:void 0},this._map=e,this._indentChar=r;for(let i=0;i<64;i++)this._fastIndentations.push(r.repeat(i));this._allocQueue()}_allocQueue(){let e=this._queue;for(let r=0;r<16;r++)e.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(e,r,i,s,n){let a=this._queueCursor;a===this._queue.length&&this._allocQueue();let o=this._queue[a];o.char=e,o.repeat=r,o.line=i,o.column=s,o.filename=n,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let e=this._map,r={code:(this._buf+this._str).trimRight(),decodedMap:e?.getDecoded(),get __mergedMap(){return this.map},get map(){let i=e?e.get():null;return r.map=i,i},set map(i){Object.defineProperty(r,"map",{value:i,writable:!0})},get rawMappings(){let i=e?.getRawMappings();return r.rawMappings=i,i},set rawMappings(i){Object.defineProperty(r,"rawMappings",{value:i,writable:!0})}};return r}append(e,r){this._flush(),this._append(e,this._sourcePosition,r)}appendChar(e){this._flush(),this._appendChar(e,1,this._sourcePosition)}queue(e){if(e===10)for(;this._queueCursor!==0;){let i=this._queue[this._queueCursor-1].char;if(i!==32&&i!==9)break;this._queueCursor--}let r=this._sourcePosition;this._pushQueue(e,1,r.line,r.column,r.filename)}queueIndentation(e){e!==0&&this._pushQueue(-1,e,void 0,void 0,void 0)}_flush(){let e=this._queueCursor,r=this._queue;for(let i=0;i<e;i++){let s=r[i];this._appendChar(s.char,s.repeat,s)}this._queueCursor=0}_appendChar(e,r,i){if(this._last=e,e===-1){let s=this._fastIndentations[r];s!==void 0?this._str+=s:this._str+=r>1?this._indentChar.repeat(r):this._indentChar}else this._str+=r>1?String.fromCharCode(e).repeat(r):String.fromCharCode(e);e!==10?(this._mark(i.line,i.column,i.identifierName,i.identifierNamePos,i.filename),this._position.column+=r):(this._position.line++,this._position.column=0),this._canMarkIdName&&(i.identifierName=void 0,i.identifierNamePos=void 0)}_append(e,r,i){let s=e.length,n=this._position;if(this._last=e.charCodeAt(s-1),++this._appendCount>4096?(+this._str,this._buf+=this._str,this._str=e,this._appendCount=0):this._str+=e,!i&&!this._map){n.column+=s;return}let{column:a,identifierName:o,identifierNamePos:l,filename:c}=r,u=r.line;(o!=null||l!=null)&&this._canMarkIdName&&(r.identifierName=void 0,r.identifierNamePos=void 0);let d=e.indexOf(`
23
+ `),x=0;for(d!==0&&this._mark(u,a,o,l,c);d!==-1;)n.line++,n.column=0,x=d+1,x<s&&u!==void 0&&this._mark(++u,0,null,null,c),d=e.indexOf(`
24
+ `,x);n.column+=s-x}_mark(e,r,i,s,n){var a;(a=this._map)==null||a.mark(this._position,e,r,i,s,n)}removeTrailingNewline(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===10&&this._queueCursor--}removeLastSemicolon(){let e=this._queueCursor;e!==0&&this._queue[e-1].char===59&&this._queueCursor--}getLastChar(){let e=this._queueCursor;return e!==0?this._queue[e-1].char:this._last}getNewlineCount(){let e=this._queueCursor,r=0;if(e===0)return this._last===10?1:0;for(let i=e-1;i>=0&&this._queue[i].char===10;i--)r++;return r===e&&this._last===10?r+1:r}endsWithCharAndNewline(){let e=this._queue,r=this._queueCursor;if(r!==0)return e[r-1].char!==10?void 0:r>1?e[r-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(e,r){if(!this._map){r();return}this.source("start",e);let i=e.identifierName,s=this._sourcePosition;i&&(this._canMarkIdName=!1,s.identifierName=i),r(),i&&(this._canMarkIdName=!0,s.identifierName=void 0,s.identifierNamePos=void 0),this.source("end",e)}source(e,r){this._map&&this._normalizePosition(e,r,0)}sourceWithOffset(e,r,i){this._map&&this._normalizePosition(e,r,i)}_normalizePosition(e,r,i){let s=r[e],n=this._sourcePosition;s&&(n.line=s.line,n.column=Math.max(s.column+i,0),n.filename=r.filename)}getCurrentColumn(){let e=this._queue,r=this._queueCursor,i=-1,s=0;for(let n=0;n<r;n++){let a=e[n];a.char===10&&(i=s),s+=a.repeat}return i===-1?this._position.column+s:s-1-i}getCurrentLine(){let e=0,r=this._queue;for(let i=0;i<this._queueCursor;i++)r[i].char===10&&e++;return this._position.line+e}};go.default=Vp});var r0=N(So=>{"use strict";Object.defineProperty(So,"__esModule",{value:!0});So.nodes=void 0;var g5=Ne(),{FLIPPED_ALIAS_KEYS:b5,isArrayExpression:S5,isAssignmentExpression:ZT,isBinary:e0,isBlockStatement:E5,isCallExpression:t0,isFunction:kn,isIdentifier:bo,isLiteral:P5,isMemberExpression:Yp,isObjectExpression:v5,isOptionalCallExpression:A5,isOptionalMemberExpression:w5,isStringLiteral:C5}=g5;function Es(t,e){return t&&(Yp(t)||w5(t)?(Es(t.object,e),t.computed&&Es(t.property,e)):e0(t)||ZT(t)?(Es(t.left,e),Es(t.right,e)):t0(t)||A5(t)?(e.hasCall=!0,Es(t.callee,e)):kn(t)?e.hasFunction=!0:bo(t)&&(e.hasHelper=e.hasHelper||t.callee&&Wr(t.callee))),e}function QT(t){return Es(t,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function Wr(t){return t?Yp(t)?Wr(t.object)||Wr(t.property):bo(t)?t.name==="require"||t.name.charCodeAt(0)===95:t0(t)?Wr(t.callee):e0(t)||ZT(t)?bo(t.left)&&Wr(t.left)||Wr(t.right):!1:!1}function I5(t){return P5(t)||v5(t)||S5(t)||bo(t)||Yp(t)}var qi=So.nodes={AssignmentExpression(t){let e=QT(t.right);if(e.hasCall&&e.hasHelper||e.hasFunction)return e.hasFunction?3:2},SwitchCase(t,e){return(t.consequent.length||e.cases[0]===t?1:0)|(!t.consequent.length&&e.cases[e.cases.length-1]===t?2:0)},LogicalExpression(t){if(kn(t.left)||kn(t.right))return 2},Literal(t){if(C5(t)&&t.value==="use strict")return 2},CallExpression(t){if(kn(t.callee)||Wr(t))return 3},OptionalCallExpression(t){if(kn(t.callee))return 3},VariableDeclaration(t){for(let e=0;e<t.declarations.length;e++){let r=t.declarations[e],i=Wr(r.id)&&!I5(r.init);if(!i&&r.init){let s=QT(r.init);i=Wr(r.init)&&s.hasCall||s.hasFunction}if(i)return 3}},IfStatement(t){if(E5(t.consequent))return 3}};qi.ObjectProperty=qi.ObjectTypeProperty=qi.ObjectMethod=function(t,e){if(e.properties[0]===t)return 1};qi.ObjectTypeCallProperty=function(t,e){var r;if(e.callProperties[0]===t&&!((r=e.properties)!=null&&r.length))return 1};qi.ObjectTypeIndexer=function(t,e){var r,i;if(e.indexers[0]===t&&!((r=e.properties)!=null&&r.length)&&!((i=e.callProperties)!=null&&i.length))return 1};qi.ObjectTypeInternalSlot=function(t,e){var r,i,s;if(e.internalSlots[0]===t&&!((r=e.properties)!=null&&r.length)&&!((i=e.callProperties)!=null&&i.length)&&!((s=e.indexers)!=null&&s.length))return 1};[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([t,e]){[t].concat(b5[t]||[]).forEach(function(r){let i=e?3:0;qi[r]=()=>i})})});var u0=N(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.AssignmentExpression=a9;Be.Binary=o0;Be.BinaryExpression=e9;Be.ClassExpression=i9;Be.ArrowFunctionExpression=Be.ConditionalExpression=c0;Be.DoExpression=K5;Be.FunctionExpression=s9;Be.FunctionTypeAnnotation=q5;Be.Identifier=l9;Be.LogicalExpression=o9;Be.NullableTypeAnnotation=R5;Be.ObjectExpression=$5;Be.OptionalIndexedAccessType=V5;Be.OptionalCallExpression=Be.OptionalMemberExpression=n9;Be.SequenceExpression=t9;Be.TSSatisfiesExpression=Be.TSAsExpression=Y5;Be.TSConditionalType=z5;Be.TSConstructorType=Be.TSFunctionType=Z5;Be.TSInferType=H5;Be.TSInstantiationExpression=Q5;Be.TSIntersectionType=X5;Be.UnaryLike=Be.TSTypeAssertion=l0;Be.TSTypeOperator=G5;Be.TSUnionType=J5;Be.IntersectionTypeAnnotation=Be.UnionTypeAnnotation=W5;Be.UpdateExpression=U5;Be.AwaitExpression=Be.YieldExpression=r9;var k5=Ne(),Zt=Ui(),{isArrayTypeAnnotation:N5,isBinaryExpression:O5,isCallExpression:_5,isForOfStatement:D5,isIndexedAccessType:L5,isMemberExpression:n0,isObjectPattern:M5,isOptionalMemberExpression:F5,isYieldExpression:B5,isStatement:j5}=k5,i0=new Map([["||",0],["??",0],["|>",0],["&&",1],["|",2],["^",3],["&",4],["==",5],["===",5],["!=",5],["!==",5],["<",6],[">",6],["<=",6],[">=",6],["in",6],["instanceof",6],[">>",7],["<<",7],[">>>",7],["+",8],["-",8],["*",9],["/",9],["%",9],["**",10]]);function s0(t,e){if(e==="BinaryExpression"||e==="LogicalExpression")return i0.get(t.operator);if(e==="TSAsExpression"||e==="TSSatisfiesExpression")return i0.get("in")}function zp(t){return t==="TSAsExpression"||t==="TSSatisfiesExpression"||t==="TSTypeAssertion"}var Eo=(t,e)=>{let r=e.type;return(r==="ClassDeclaration"||r==="ClassExpression")&&e.superClass===t},Po=(t,e)=>{let r=e.type;return(r==="MemberExpression"||r==="OptionalMemberExpression")&&e.object===t||(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression")&&e.callee===t||r==="TaggedTemplateExpression"&&e.tag===t||r==="TSNonNullExpression"};function R5(t,e){return N5(e)}function q5(t,e,r){let i=e.type;return i==="UnionTypeAnnotation"||i==="IntersectionTypeAnnotation"||i==="ArrayTypeAnnotation"||!!(r&Zt.TokenContext.arrowFlowReturnType)}function U5(t,e){return Po(t,e)||Eo(t,e)}function a0(t){return!!(t&(Zt.TokenContext.expressionStatement|Zt.TokenContext.arrowBody))}function $5(t,e,r){return a0(r)}function K5(t,e,r){return!t.async&&!!(r&Zt.TokenContext.expressionStatement)}function o0(t,e){let r=e.type;if(t.type==="BinaryExpression"&&t.operator==="**"&&r==="BinaryExpression"&&e.operator==="**")return e.left===t;if(Eo(t,e)||Po(t,e)||r==="UnaryExpression"||r==="SpreadElement"||r==="AwaitExpression")return!0;let i=s0(e,r);if(i!=null){let s=s0(t,t.type);if(i===s&&r==="BinaryExpression"&&e.right===t||i>s)return!0}}function W5(t,e){let r=e.type;return r==="ArrayTypeAnnotation"||r==="NullableTypeAnnotation"||r==="IntersectionTypeAnnotation"||r==="UnionTypeAnnotation"}function V5(t,e){return L5(e)&&e.objectType===t}function Y5(t,e){return(e.type==="AssignmentExpression"||e.type==="AssignmentPattern")&&e.left===t||e.type==="BinaryExpression"&&(e.operator==="|"||e.operator==="&")&&t===e.left?!0:o0(t,e)}function z5(t,e){let r=e.type;return r==="TSArrayType"||r==="TSIndexedAccessType"&&e.objectType===t||r==="TSOptionalType"||r==="TSTypeOperator"||r==="TSTypeParameter"||(r==="TSIntersectionType"||r==="TSUnionType")&&e.types[0]===t||r==="TSConditionalType"&&(e.checkType===t||e.extendsType===t)}function J5(t,e){let r=e.type;return r==="TSIntersectionType"||r==="TSTypeOperator"||r==="TSArrayType"||r==="TSIndexedAccessType"&&e.objectType===t||r==="TSOptionalType"}function X5(t,e){let r=e.type;return r==="TSTypeOperator"||r==="TSArrayType"||r==="TSIndexedAccessType"&&e.objectType===t||r==="TSOptionalType"}function H5(t,e){let r=e.type;return!!(r==="TSArrayType"||r==="TSIndexedAccessType"&&e.objectType===t||r==="TSOptionalType"||t.typeParameter.constraint&&(r==="TSIntersectionType"||r==="TSUnionType")&&e.types[0]===t)}function G5(t,e){let r=e.type;return r==="TSArrayType"||r==="TSIndexedAccessType"&&e.objectType===t||r==="TSOptionalType"}function Q5(t,e){let r=e.type;return(r==="CallExpression"||r==="OptionalCallExpression"||r==="NewExpression"||r==="TSInstantiationExpression")&&!!e.typeParameters}function Z5(t,e){let r=e.type;return r==="TSIntersectionType"||r==="TSUnionType"||r==="TSTypeOperator"||r==="TSOptionalType"||r==="TSArrayType"||r==="TSIndexedAccessType"&&e.objectType===t||r==="TSConditionalType"&&(e.checkType===t||e.extendsType===t)}function e9(t,e,r){return t.operator==="in"&&!!(r&Zt.TokenContext.forInOrInitHeadAccumulate)}function t9(t,e){let r=e.type;return r==="SequenceExpression"||r==="ParenthesizedExpression"||r==="MemberExpression"&&e.property===t||r==="OptionalMemberExpression"&&e.property===t||r==="TemplateLiteral"?!1:r==="ClassDeclaration"?!0:r==="ForOfStatement"?e.right===t:r==="ExportDefaultDeclaration"?!0:!j5(e)}function r9(t,e){let r=e.type;return r==="BinaryExpression"||r==="LogicalExpression"||r==="UnaryExpression"||r==="SpreadElement"||Po(t,e)||r==="AwaitExpression"&&B5(t)||r==="ConditionalExpression"&&t===e.test||Eo(t,e)||zp(r)}function i9(t,e,r){return!!(r&(Zt.TokenContext.expressionStatement|Zt.TokenContext.exportDefault))}function l0(t,e){return Po(t,e)||O5(e)&&e.operator==="**"&&e.left===t||Eo(t,e)}function s9(t,e,r){return!!(r&(Zt.TokenContext.expressionStatement|Zt.TokenContext.exportDefault))}function c0(t,e){let r=e.type;return r==="UnaryExpression"||r==="SpreadElement"||r==="BinaryExpression"||r==="LogicalExpression"||r==="ConditionalExpression"&&e.test===t||r==="AwaitExpression"||zp(r)?!0:l0(t,e)}function n9(t,e){return _5(e)&&e.callee===t||n0(e)&&e.object===t}function a9(t,e,r){return a0(r)&&M5(t.left)?!0:c0(t,e)}function o9(t,e){let r=e.type;if(zp(r))return!0;if(r!=="LogicalExpression")return!1;switch(t.operator){case"||":return e.operator==="??"||e.operator==="&&";case"&&":return e.operator==="??";case"??":return e.operator!=="??"}}function l9(t,e,r,i){var s;let n=e.type;if((s=t.extra)!=null&&s.parenthesized&&n==="AssignmentExpression"&&e.left===t){let a=e.right.type;if((a==="FunctionExpression"||a==="ClassExpression")&&e.right.id==null)return!0}return i&&i(t)!==t.name?!1:t.name==="let"?(n0(e,{object:t,computed:!0})||F5(e,{object:t,computed:!0,optional:!1}))&&r&(Zt.TokenContext.expressionStatement|Zt.TokenContext.forInitHead|Zt.TokenContext.forInHead)?!0:!!(r&Zt.TokenContext.forOfHead):t.name==="async"&&D5(e,{left:t,await:!1})}});var Ui=N(Vr=>{"use strict";Object.defineProperty(Vr,"__esModule",{value:!0});Vr.TokenContext=void 0;Vr.isLastChild=v9;Vr.needsParens=P9;Vr.needsWhitespace=Xp;Vr.needsWhitespaceAfter=E9;Vr.needsWhitespaceBefore=S9;var c9=r0(),u9=u0(),p9=Ne(),{FLIPPED_ALIAS_KEYS:f9,VISITOR_KEYS:h9,isCallExpression:p0,isDecorator:d9,isExpressionStatement:m9,isMemberExpression:y9,isNewExpression:T9,isParenthesizedExpression:x9}=p9,gae=Vr.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};function f0(t){let e=new Map;function r(i,s){let n=e.get(i);e.set(i,n?function(a,o,l,c){var u;return(u=n(a,o,l,c))!=null?u:s(a,o,l,c)}:s)}for(let i of Object.keys(t)){let s=f9[i];if(s)for(let n of s)r(n,t[i]);else r(i,t[i])}return e}var g9=f0(u9),b9=f0(c9.nodes);function h0(t){return p0(t)?!0:y9(t)&&h0(t.object)}function Xp(t,e,r){var i;if(!t)return!1;m9(t)&&(t=t.expression);let s=(i=b9.get(t.type))==null?void 0:i(t,e);return typeof s=="number"?(s&r)!==0:!1}function S9(t,e){return Xp(t,e,1)}function E9(t,e){return Xp(t,e,2)}function P9(t,e,r,i){var s;return e?T9(e)&&e.callee===t&&h0(t)?!0:d9(e)?!Jp(t)&&!(p0(t)&&Jp(t.callee))&&!x9(t):(s=g9.get(t.type))==null?void 0:s(t,e,r,i):!1}function Jp(t){switch(t.type){case"Identifier":return!0;case"MemberExpression":return!t.computed&&t.property.type==="Identifier"&&Jp(t.object);default:return!1}}function v9(t,e){let r=h9[t.type];for(let i=r.length-1;i>=0;i--){let s=t[r[i]];if(s===e)return!0;if(Array.isArray(s)){let n=s.length-1;for(;n>=0&&s[n]===null;)n--;return n>=0&&s[n]===e}else if(s)return!1}return!1}});var d0=N(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.TokenMap=void 0;var A9=Ne(),{traverseFast:w9,VISITOR_KEYS:C9}=A9,Hp=class{constructor(e,r,i){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=r,this._source=i,w9(e,s=>{let n=this._getTokensIndexesOfNode(s);n.length>0&&this._nodesToTokenIndexes.set(s,n)}),this._tokensCache=null}has(e){return this._nodesToTokenIndexes.has(e)}getIndexes(e){return this._nodesToTokenIndexes.get(e)}find(e,r){let i=this._nodesToTokenIndexes.get(e);if(i)for(let s=0;s<i.length;s++){let n=i[s],a=this._tokens[n];if(r(a,n))return a}return null}findLastIndex(e,r){let i=this._nodesToTokenIndexes.get(e);if(i)for(let s=i.length-1;s>=0;s--){let n=i[s],a=this._tokens[n];if(r(a,n))return n}return-1}findMatching(e,r,i=0){let s=this._nodesToTokenIndexes.get(e);if(s){let n=0,a=i;if(a>1){let o=this._nodesOccurrencesCountCache.get(e);o&&o.test===r&&o.count<a&&(n=o.i+1,i-=o.count+1)}for(;n<s.length;n++){let o=this._tokens[s[n]];if(this.matchesOriginal(o,r)){if(i===0)return a>0&&this._nodesOccurrencesCountCache.set(e,{test:r,count:a,i:n}),o;i--}}}return null}matchesOriginal(e,r){return e.end-e.start!==r.length?!1:e.value!=null?e.value===r:this._source.startsWith(r,e.start)}startMatches(e,r){let i=this._nodesToTokenIndexes.get(e);if(!i)return!1;let s=this._tokens[i[0]];return s.start!==e.start?!1:this.matchesOriginal(s,r)}endMatches(e,r){let i=this._nodesToTokenIndexes.get(e);if(!i)return!1;let s=this._tokens[i[i.length-1]];return s.end!==e.end?!1:this.matchesOriginal(s,r)}_getTokensIndexesOfNode(e){if(e.start==null||e.end==null)return[];let{first:r,last:i}=this._findTokensOfNode(e,0,this._tokens.length-1),s=r,n=I9(e);(e.type==="ExportNamedDeclaration"||e.type==="ExportDefaultDeclaration")&&e.declaration&&e.declaration.type==="ClassDeclaration"&&n.next();let a=[];for(let o of n){if(o==null||o.start==null||o.end==null)continue;let l=this._findTokensOfNode(o,s,i),c=l.first;for(let u=s;u<c;u++)a.push(u);s=l.last+1}for(let o=s;o<=i;o++)a.push(o);return a}_findTokensOfNode(e,r,i){let s=this._tokensCache.get(e);if(s)return s;let n=this._findFirstTokenOfNode(e.start,r,i),a=this._findLastTokenOfNode(e.end,n,i);return this._tokensCache.set(e,{first:n,last:a}),{first:n,last:a}}_findFirstTokenOfNode(e,r,i){for(;r<=i;){let s=i+r>>1;if(e<this._tokens[s].start)i=s-1;else if(e>this._tokens[s].start)r=s+1;else return s}return r}_findLastTokenOfNode(e,r,i){for(;r<=i;){let s=i+r>>1;if(e<this._tokens[s].end)i=s-1;else if(e>this._tokens[s].end)r=s+1;else return s}return i}};vo.TokenMap=Hp;function*I9(t){if(t.type==="TemplateLiteral"){yield t.quasis[0];for(let r=1;r<t.quasis.length;r++)yield t.expressions[r-1],yield t.quasis[r];return}let e=C9[t.type];for(let r of e){let i=t[r];i&&(Array.isArray(i)?yield*i:yield i)}}});var m0=N(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.TaggedTemplateExpression=k9;Ps.TemplateElement=N9;Ps.TemplateLiteral=_9;Ps._printTemplate=O9;function k9(t){this.print(t.tag),this.print(t.typeParameters),this.print(t.quasi)}function N9(){throw new Error("TemplateElement printing is handled in TemplateLiteral")}function O9(t,e){let r=t.quasis,i="`";for(let s=0;s<r.length-1;s++)if(i+=r[s].value.raw,this.token(i+"${",!0),this.print(e[s]),i="}",this.tokenMap){let n=this.tokenMap.findMatching(t,"}",s);n&&this._catchUpTo(n.loc.start)}i+=r[r.length-1].value.raw,this.token(i+"`",!0)}function _9(t){this._printTemplate(t,t.expressions)}});var T0=N(Ye=>{"use strict";Object.defineProperty(Ye,"__esModule",{value:!0});Ye.LogicalExpression=Ye.BinaryExpression=Ye.AssignmentExpression=s7;Ye.AssignmentPattern=i7;Ye.AwaitExpression=Z9;Ye.BindExpression=n7;Ye.CallExpression=G9;Ye.ConditionalExpression=$9;Ye.Decorator=J9;Ye.DoExpression=R9;Ye.EmptyStatement=t7;Ye.ExpressionStatement=r7;Ye.Import=Q9;Ye.MemberExpression=a7;Ye.MetaProperty=o7;Ye.ModuleExpression=u7;Ye.NewExpression=K9;Ye.OptionalCallExpression=H9;Ye.OptionalMemberExpression=X9;Ye.ParenthesizedExpression=q9;Ye.PrivateName=l7;Ye.SequenceExpression=W9;Ye.Super=Y9;Ye.ThisExpression=V9;Ye.UnaryExpression=j9;Ye.UpdateExpression=U9;Ye.V8IntrinsicIdentifier=c7;Ye.YieldExpression=e7;Ye._shouldPrintDecoratorsBeforeExport=z9;var D9=Ne(),L9=Ui(),{isCallExpression:M9,isLiteral:y0,isMemberExpression:Gp,isNewExpression:F9,isPattern:B9}=D9;function j9(t){let{operator:e}=t;e==="void"||e==="delete"||e==="typeof"||e==="throw"?(this.word(e),this.space()):this.token(e),this.print(t.argument)}function R9(t){t.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(t.body)}function q9(t){this.tokenChar(40);let e=this.enterDelimited();this.print(t.expression),e(),this.rightParens(t)}function U9(t){t.prefix?(this.token(t.operator),this.print(t.argument)):(this.print(t.argument,!0),this.token(t.operator))}function $9(t){this.print(t.test),this.space(),this.tokenChar(63),this.space(),this.print(t.consequent),this.space(),this.tokenChar(58),this.space(),this.print(t.alternate)}function K9(t,e){if(this.word("new"),this.space(),this.print(t.callee),this.format.minified&&t.arguments.length===0&&!t.optional&&!M9(e,{callee:t})&&!Gp(e)&&!F9(e)||(this.print(t.typeArguments),this.print(t.typeParameters),t.optional&&this.token("?."),t.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(t,")")))return;this.tokenChar(40);let r=this.enterDelimited();this.printList(t.arguments,this.shouldPrintTrailingComma(")")),r(),this.rightParens(t)}function W9(t){this.printList(t.expressions)}function V9(){this.word("this")}function Y9(){this.word("super")}function z9(t){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof t.start=="number"&&t.start===t.declaration.start}function J9(t){this.tokenChar(64),this.print(t.expression),this.newline()}function X9(t){let{computed:e}=t,{optional:r,property:i}=t;if(this.print(t.object),!e&&Gp(i))throw new TypeError("Got a MemberExpression for MemberExpression property");y0(i)&&typeof i.value=="number"&&(e=!0),r&&this.token("?."),e?(this.tokenChar(91),this.print(i),this.tokenChar(93)):(r||this.tokenChar(46),this.print(i))}function H9(t){this.print(t.callee),this.print(t.typeParameters),t.optional&&this.token("?."),this.print(t.typeArguments),this.tokenChar(40);let e=this.enterDelimited();this.printList(t.arguments),e(),this.rightParens(t)}function G9(t){this.print(t.callee),this.print(t.typeArguments),this.print(t.typeParameters),this.tokenChar(40);let e=this.enterDelimited();this.printList(t.arguments,this.shouldPrintTrailingComma(")")),e(),this.rightParens(t)}function Q9(){this.word("import")}function Z9(t){this.word("await"),this.space(),this.print(t.argument)}function e7(t){t.delegate?(this.word("yield",!0),this.tokenChar(42),t.argument&&(this.space(),this.print(t.argument))):t.argument?(this.word("yield",!0),this.space(),this.print(t.argument)):this.word("yield")}function t7(){this.semicolon(!0)}function r7(t){this.tokenContext|=L9.TokenContext.expressionStatement,this.print(t.expression),this.semicolon()}function i7(t){this.print(t.left),(t.left.type==="Identifier"||B9(t.left))&&(t.left.optional&&this.tokenChar(63),this.print(t.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(t.right)}function s7(t){this.print(t.left),this.space(),t.operator==="in"||t.operator==="instanceof"?this.word(t.operator):(this.token(t.operator),this._endsWithDiv=t.operator==="/"),this.space(),this.print(t.right)}function n7(t){this.print(t.object),this.token("::"),this.print(t.callee)}function a7(t){if(this.print(t.object),!t.computed&&Gp(t.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let e=t.computed;if(y0(t.property)&&typeof t.property.value=="number"&&(e=!0),e){let r=this.enterDelimited();this.tokenChar(91),this.print(t.property),this.tokenChar(93),r()}else this.tokenChar(46),this.print(t.property)}function o7(t){this.print(t.meta),this.tokenChar(46),this.print(t.property)}function l7(t){this.tokenChar(35),this.print(t.id)}function c7(t){this.tokenChar(37),this.word(t.name)}function u7(t){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:e}=t;(e.body.length||e.directives.length)&&this.newline(),this.print(e),this.dedent(),this.rightBrace(t)}});var S0=N(ot=>{"use strict";Object.defineProperty(ot,"__esModule",{value:!0});ot.BreakStatement=b7;ot.CatchClause=w7;ot.ContinueStatement=S7;ot.DebuggerStatement=k7;ot.DoWhileStatement=g7;ot.ForOfStatement=ot.ForInStatement=void 0;ot.ForStatement=T7;ot.IfStatement=y7;ot.LabeledStatement=v7;ot.ReturnStatement=E7;ot.SwitchCase=I7;ot.SwitchStatement=C7;ot.ThrowStatement=P7;ot.TryStatement=A7;ot.VariableDeclaration=N7;ot.VariableDeclarator=O7;ot.WhileStatement=x7;ot.WithStatement=m7;var p7=Ne(),{isFor:x0,isForStatement:f7,isIfStatement:h7,isStatement:d7}=p7;function m7(t){this.word("with"),this.space(),this.tokenChar(40),this.print(t.object),this.tokenChar(41),this.printBlock(t)}function y7(t){this.word("if"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.space();let e=t.alternate&&h7(g0(t.consequent));e&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(t.consequent),e&&(this.dedent(),this.newline(),this.tokenChar(125)),t.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(t.alternate))}function g0(t){let{body:e}=t;return d7(e)===!1?t:g0(e)}function T7(t){this.word("for"),this.space(),this.tokenChar(40);{let e=this.enterForStatementInit();this.print(t.init),e()}this.tokenChar(59),t.test&&(this.space(),this.print(t.test)),this.token(";",!1,1),t.update&&(this.space(),this.print(t.update)),this.tokenChar(41),this.printBlock(t)}function x7(t){this.word("while"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.printBlock(t)}function b0(t){this.word("for"),this.space();let e=t.type==="ForOfStatement";e&&t.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let r=this.enterForXStatementInit(e);this.print(t.left),r?.()}this.space(),this.word(e?"of":"in"),this.space(),this.print(t.right),this.tokenChar(41),this.printBlock(t)}var vae=ot.ForInStatement=b0,Aae=ot.ForOfStatement=b0;function g7(t){this.word("do"),this.space(),this.print(t.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(t.test),this.tokenChar(41),this.semicolon()}function Ao(t,e){e&&(t.space(),t.printTerminatorless(e)),t.semicolon()}function b7(t){this.word("break"),Ao(this,t.label)}function S7(t){this.word("continue"),Ao(this,t.label)}function E7(t){this.word("return"),Ao(this,t.argument)}function P7(t){this.word("throw"),Ao(this,t.argument)}function v7(t){this.print(t.label),this.tokenChar(58),this.space(),this.print(t.body)}function A7(t){this.word("try"),this.space(),this.print(t.block),this.space(),t.handlers?this.print(t.handlers[0]):this.print(t.handler),t.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(t.finalizer))}function w7(t){this.word("catch"),this.space(),t.param&&(this.tokenChar(40),this.print(t.param),this.print(t.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(t.body)}function C7(t){this.word("switch"),this.space(),this.tokenChar(40),this.print(t.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(t.cases,!0,void 0,function(r,i){if(!r&&t.cases[t.cases.length-1]===i)return-1}),this.rightBrace(t)}function I7(t){t.test?(this.word("case"),this.space(),this.print(t.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),t.consequent.length&&(this.newline(),this.printSequence(t.consequent,!0))}function k7(){this.word("debugger"),this.semicolon()}function N7(t,e){t.declare&&(this.word("declare"),this.space());let{kind:r}=t;r==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(r,r==="using"),this.space();let i=!1;if(!x0(e))for(let s of t.declarations)s.init&&(i=!0);if(this.printList(t.declarations,void 0,void 0,t.declarations.length>1,i?function(s){this.token(",",!1,s),this.newline()}:void 0),x0(e)){if(f7(e)){if(e.init===t)return}else if(e.left===t)return}this.semicolon()}function O7(t){this.print(t.id),t.definite&&this.tokenChar(33),this.print(t.id.typeAnnotation),t.init&&(this.space(),this.tokenChar(61),this.space(),this.print(t.init))}});var E0=N(or=>{"use strict";Object.defineProperty(or,"__esModule",{value:!0});or.ClassAccessorProperty=R7;or.ClassBody=F7;or.ClassExpression=or.ClassDeclaration=M7;or.ClassMethod=U7;or.ClassPrivateMethod=$7;or.ClassPrivateProperty=q7;or.ClassProperty=j7;or.StaticBlock=W7;or._classMethodHead=K7;var _7=Ne(),{isExportDefaultDeclaration:D7,isExportNamedDeclaration:L7}=_7;function M7(t,e){(!(D7(e)||L7(e))||!this._shouldPrintDecoratorsBeforeExport(e))&&this.printJoin(t.decorators),t.declare&&(this.word("declare"),this.space()),t.abstract&&(this.word("abstract"),this.space()),this.word("class"),t.id&&(this.space(),this.print(t.id)),this.print(t.typeParameters),t.superClass&&(this.space(),this.word("extends"),this.space(),this.print(t.superClass),this.print(t.superTypeParameters)),t.implements&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements)),this.space(),this.print(t.body)}function F7(t){if(this.tokenChar(123),t.body.length===0)this.tokenChar(125);else{this.newline();let e=B7(this,t);e?.(-1);let r=this.enterDelimited();this.printJoin(t.body,!0,!0,e,!0),r(),this.endsWith(10)||this.newline(),this.rightBrace(t)}}function B7(t,e){if(!t.tokenMap||e.start==null||e.end==null)return null;let r=t.tokenMap.getIndexes(e);if(!r)return null;let i=1,s=0,n=0,a=()=>{for(;n<e.body.length&&e.body[n].start==null;)n++};return a(),o=>{n<=o&&(n=o+1,a());let l=n===e.body.length?e.end:e.body[n].start,c;for(;i<r.length&&t.tokenMap.matchesOriginal(c=t._tokens[r[i]],";")&&c.start<l;)t.token(";",void 0,s++),i++}}function j7(t){if(this.printJoin(t.decorators),!t.static&&!this.format.preserveFormat){var e;let r=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;r&&this.catchUp(r)}this.tsPrintClassMemberModifiers(t),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function R7(t){var e;this.printJoin(t.decorators);let r=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;r&&this.catchUp(r),this.tsPrintClassMemberModifiers(t),this.word("accessor",!0),this.space(),t.computed?(this.tokenChar(91),this.print(t.key),this.tokenChar(93)):(this._variance(t),this.print(t.key)),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function q7(t){this.printJoin(t.decorators),this.tsPrintClassMemberModifiers(t),this.print(t.key),t.optional&&this.tokenChar(63),t.definite&&this.tokenChar(33),this.print(t.typeAnnotation),t.value&&(this.space(),this.tokenChar(61),this.space(),this.print(t.value)),this.semicolon()}function U7(t){this._classMethodHead(t),this.space(),this.print(t.body)}function $7(t){this._classMethodHead(t),this.space(),this.print(t.body)}function K7(t){if(this.printJoin(t.decorators),!this.format.preserveFormat){var e;let r=(e=t.key.loc)==null||(e=e.end)==null?void 0:e.line;r&&this.catchUp(r)}this.tsPrintClassMemberModifiers(t),this._methodHead(t)}function W7(t){this.word("static"),this.space(),this.tokenChar(123),t.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(t.body,!0),this.rightBrace(t))}});var P0=N(lr=>{"use strict";Object.defineProperty(lr,"__esModule",{value:!0});lr.ArrowFunctionExpression=tq;lr.FunctionDeclaration=lr.FunctionExpression=eq;lr._functionHead=Z7;lr._methodHead=G7;lr._param=H7;lr._parameters=X7;lr._params=J7;lr._predicate=Q7;lr._shouldPrintArrowParamsParens=rq;var V7=Ne(),Y7=Ui(),{isIdentifier:z7}=V7;function J7(t,e,r){this.print(t.typeParameters);let i=iq.call(this,e,r);i&&this.sourceIdentifierName(i.name,i.pos),this.tokenChar(40),this._parameters(t.params,")");let s=t.type==="ArrowFunctionExpression";this.print(t.returnType,s),this._noLineTerminator=s}function X7(t,e){let r=this.enterDelimited(),i=this.shouldPrintTrailingComma(e),s=t.length;for(let n=0;n<s;n++)this._param(t[n]),(i||n<s-1)&&(this.token(",",null,n),this.space());this.token(e),r()}function H7(t){this.printJoin(t.decorators),this.print(t),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation)}function G7(t){let e=t.kind,r=t.key;(e==="get"||e==="set")&&(this.word(e),this.space()),t.async&&(this.word("async",!0),this.space()),(e==="method"||e==="init")&&t.generator&&this.tokenChar(42),t.computed?(this.tokenChar(91),this.print(r),this.tokenChar(93)):this.print(r),t.optional&&this.tokenChar(63),this._params(t,t.computed&&t.key.type!=="StringLiteral"?void 0:t.key,void 0)}function Q7(t,e){t.predicate&&(t.returnType||this.tokenChar(58),this.space(),this.print(t.predicate,e))}function Z7(t,e){t.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),t.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),t.id&&this.print(t.id),this._params(t,t.id,e),t.type!=="TSDeclareFunction"&&this._predicate(t)}function eq(t,e){this._functionHead(t,e),this.space(),this.print(t.body)}function tq(t,e){t.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(t)?this._params(t,void 0,e):this.print(t.params[0],!0),this._predicate(t,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=Y7.TokenContext.arrowBody,this.print(t.body)}function rq(t){var e,r;if(t.params.length!==1||t.typeParameters||t.returnType||t.predicate)return!0;let i=t.params[0];if(!z7(i)||i.typeAnnotation||i.optional||(e=i.leadingComments)!=null&&e.length||(r=i.trailingComments)!=null&&r.length)return!0;if(this.tokenMap){if(t.loc==null||this.tokenMap.findMatching(t,"(")!==null)return!0;let s=this.tokenMap.findMatching(t,"=>");return s?.loc==null?!0:s.loc.start.line!==t.loc.start.line}return!!this.format.retainLines}function iq(t,e){let r=t;if(!r&&e){let l=e.type;l==="VariableDeclarator"?r=e.id:l==="AssignmentExpression"||l==="AssignmentPattern"?r=e.left:l==="ObjectProperty"||l==="ClassProperty"?(!e.computed||e.key.type==="StringLiteral")&&(r=e.key):(l==="ClassPrivateProperty"||l==="ClassAccessorProperty")&&(r=e.key)}if(!r)return;let i;if(r.type==="Identifier"){var s,n;i={pos:(s=r.loc)==null?void 0:s.start,name:((n=r.loc)==null?void 0:n.identifierName)||r.name}}else if(r.type==="PrivateName"){var a;i={pos:(a=r.loc)==null?void 0:a.start,name:"#"+r.id.name}}else if(r.type==="StringLiteral"){var o;i={pos:(o=r.loc)==null?void 0:o.start,name:r.value}}return i}});var Qp=N(jt=>{"use strict";Object.defineProperty(jt,"__esModule",{value:!0});jt.ExportAllDeclaration=Tq;jt.ExportDefaultDeclaration=gq;jt.ExportDefaultSpecifier=hq;jt.ExportNamedDeclaration=xq;jt.ExportNamespaceSpecifier=mq;jt.ExportSpecifier=dq;jt.ImportAttribute=Sq;jt.ImportDeclaration=bq;jt.ImportDefaultSpecifier=fq;jt.ImportExpression=Pq;jt.ImportNamespaceSpecifier=Eq;jt.ImportSpecifier=pq;jt._printAttributes=yq;var sq=Ne(),nq=Ui(),{isClassDeclaration:aq,isExportDefaultSpecifier:oq,isExportNamespaceSpecifier:lq,isImportDefaultSpecifier:cq,isImportNamespaceSpecifier:uq,isStatement:A0}=sq;function pq(t){(t.importKind==="type"||t.importKind==="typeof")&&(this.word(t.importKind),this.space()),this.print(t.imported),t.local&&t.local.name!==t.imported.name&&(this.space(),this.word("as"),this.space(),this.print(t.local))}function fq(t){this.print(t.local)}function hq(t){this.print(t.exported)}function dq(t){t.exportKind==="type"&&(this.word("type"),this.space()),this.print(t.local),t.exported&&t.local.name!==t.exported.name&&(this.space(),this.word("as"),this.space(),this.print(t.exported))}function mq(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.exported)}var v0=!1;function yq(t,e){var r;let{importAttributesKeyword:i}=this.format,{attributes:s,assertions:n}=t;s&&!i&&t.extra&&(t.extra.deprecatedAssertSyntax||t.extra.deprecatedWithLegacySyntax)&&!v0&&(v0=!0,console.warn('You are using import attributes, without specifying the desired output syntax.\nPlease specify the "importAttributesKeyword" generator option, whose value can be one of:\n - "with" : `import { a } from "b" with { type: "json" };`\n - "assert" : `import { a } from "b" assert { type: "json" };`\n - "with-legacy" : `import { a } from "b" with type: "json";`\n'));let a=i==="assert"||!i&&n;if(this.word(a?"assert":"with"),this.space(),!a&&(i==="with-legacy"||!i&&(r=t.extra)!=null&&r.deprecatedWithLegacySyntax)){this.printList(s||n);return}let o=e?1:0;this.token("{",null,o),this.space(),this.printList(s||n,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,o)}function Tq(t){var e,r;this.word("export"),this.space(),t.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(r=t.assertions)!=null&&r.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,!1)):this.print(t.source),this.semicolon()}function w0(t,e){aq(e.declaration)&&t._shouldPrintDecoratorsBeforeExport(e)&&t.printJoin(e.declaration.decorators)}function xq(t){if(w0(this,t),this.word("export"),this.space(),t.declaration){let i=t.declaration;this.print(i),A0(i)||this.semicolon()}else{t.exportKind==="type"&&(this.word("type"),this.space());let i=t.specifiers.slice(0),s=!1;for(;;){let a=i[0];if(oq(a)||lq(a))s=!0,this.print(i.shift()),i.length&&(this.tokenChar(44),this.space());else break}let n=!1;if((i.length||!i.length&&!s)&&(n=!0,this.tokenChar(123),i.length&&(this.space(),this.printList(i,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),t.source){var e,r;this.space(),this.word("from"),this.space(),(e=t.attributes)!=null&&e.length||(r=t.assertions)!=null&&r.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,n)):this.print(t.source)}this.semicolon()}}function gq(t){w0(this,t),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=nq.TokenContext.exportDefault;let e=t.declaration;this.print(e),A0(e)||this.semicolon()}function bq(t){var e,r;this.word("import"),this.space();let i=t.importKind==="type"||t.importKind==="typeof";i?(this.noIndentInnerCommentsHere(),this.word(t.importKind),this.space()):t.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):t.phase&&(this.noIndentInnerCommentsHere(),this.word(t.phase),this.space());let s=t.specifiers.slice(0),n=!!s.length;for(;n;){let o=s[0];if(cq(o)||uq(o))this.print(s.shift()),s.length&&(this.tokenChar(44),this.space());else break}let a=!1;s.length?(a=!0,this.tokenChar(123),this.space(),this.printList(s,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):i&&!n&&(a=!0,this.tokenChar(123),this.tokenChar(125)),(n||i)&&(this.space(),this.word("from"),this.space()),(e=t.attributes)!=null&&e.length||(r=t.assertions)!=null&&r.length?(this.print(t.source,!0),this.space(),this._printAttributes(t,a)):this.print(t.source),this.semicolon()}function Sq(t){this.print(t.key),this.tokenChar(58),this.space(),this.print(t.value)}function Eq(t){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(t.local)}function Pq(t){this.word("import"),t.phase&&(this.tokenChar(46),this.word(t.phase)),this.tokenChar(40);let e=this.shouldPrintTrailingComma(")");this.print(t.source),t.options!=null&&(this.tokenChar(44),this.space(),this.print(t.options)),e&&this.tokenChar(44),this.rightParens(t)}});var N0=N((Nae,k0)=>{"use strict";var C0={},vq=C0.hasOwnProperty,I0=(t,e)=>{for(let r in t)vq.call(t,r)&&e(r,t[r])},Aq=(t,e)=>(e&&I0(e,(r,i)=>{t[r]=i}),t),wq=(t,e)=>{let r=t.length,i=-1;for(;++i<r;)e(t[i])},wo=t=>"\\u"+("0000"+t).slice(-4),Nn=(t,e)=>{let r=t.toString(16);return e?r:r.toUpperCase()},On=C0.toString,Cq=Array.isArray,Iq=t=>typeof Buffer=="function"&&Buffer.isBuffer(t),kq=t=>On.call(t)=="[object Object]",Nq=t=>typeof t=="string"||On.call(t)=="[object String]",Oq=t=>typeof t=="number"||On.call(t)=="[object Number]",Zp=t=>typeof t=="bigint",_q=t=>typeof t=="function",Dq=t=>On.call(t)=="[object Map]",Lq=t=>On.call(t)=="[object Set]",Mq={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},Fq=/[\\\b\f\n\r\t]/,Bq=/[0-9]/,jq=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,Rq=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,qq=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,ui=(t,e)=>{let r=()=>{c=l,++e.indentLevel,l=e.indent.repeat(e.indentLevel)},i={escapeEverything:!1,minimal:!1,isScriptContext:!1,quotes:"single",wrap:!1,es6:!1,json:!1,compact:!0,lowercaseHex:!1,numbers:"decimal",indent:" ",indentLevel:0,__inline1__:!1,__inline2__:!1},s=e&&e.json;s&&(i.quotes="double",i.wrap=!0),e=Aq(i,e),e.quotes!="single"&&e.quotes!="double"&&e.quotes!="backtick"&&(e.quotes="single");let n=e.quotes=="double"?'"':e.quotes=="backtick"?"`":"'",a=e.compact,o=e.lowercaseHex,l=e.indent.repeat(e.indentLevel),c="",u=e.__inline1__,d=e.__inline2__,x=a?"":`
25
+ `,E,v=!0,A=e.numbers=="binary",I=e.numbers=="octal",O=e.numbers=="decimal",j=e.numbers=="hexadecimal";if(s&&t&&_q(t.toJSON)&&(t=t.toJSON()),!Nq(t)){if(Dq(t))return t.size==0?"new Map()":(a||(e.__inline1__=!0,e.__inline2__=!1),"new Map("+ui(Array.from(t),e)+")");if(Lq(t))return t.size==0?"new Set()":"new Set("+ui(Array.from(t),e)+")";if(Iq(t))return t.length==0?"Buffer.from([])":"Buffer.from("+ui(Array.from(t),e)+")";if(Cq(t))return E=[],e.wrap=!0,u&&(e.__inline1__=!1,e.__inline2__=!0),d||r(),wq(t,F=>{v=!1,d&&(e.__inline2__=!1),E.push((a||d?"":l)+ui(F,e))}),v?"[]":d?"["+E.join(", ")+"]":"["+x+E.join(","+x)+x+(a?"":c)+"]";if(Oq(t)||Zp(t)){if(s)return JSON.stringify(Number(t));let F;if(O)F=String(t);else if(j){let U=t.toString(16);o||(U=U.toUpperCase()),F="0x"+U}else A?F="0b"+t.toString(2):I&&(F="0o"+t.toString(8));return Zp(t)?F+"n":F}else return Zp(t)?s?JSON.stringify(Number(t)):t+"n":kq(t)?(E=[],e.wrap=!0,r(),I0(t,(F,U)=>{v=!1,E.push((a?"":l)+ui(F,e)+":"+(a?"":" ")+ui(U,e))}),v?"{}":"{"+x+E.join(","+x)+x+(a?"":c)+"}"):s?JSON.stringify(t)||"null":String(t)}let q=e.escapeEverything?Rq:qq;return E=t.replace(q,(F,U,xe,we,ve,Oe)=>{if(U){if(e.minimal)return U;let h=U.charCodeAt(0),Te=U.charCodeAt(1);if(e.es6){let Ge=(h-55296)*1024+Te-56320+65536;return"\\u{"+Nn(Ge,o)+"}"}return wo(Nn(h,o))+wo(Nn(Te,o))}if(xe)return wo(Nn(xe.charCodeAt(0),o));if(F=="\0"&&!s&&!Bq.test(Oe.charAt(ve+1)))return"\\0";if(we)return we==n||e.escapeEverything?"\\"+we:we;if(Fq.test(F))return Mq[F];if(e.minimal&&!jq.test(F))return F;let at=Nn(F.charCodeAt(0),o);return s||at.length>2?wo(at):"\\x"+("00"+at).slice(-2)}),n=="`"&&(E=E.replace(/\$\{/g,"\\${")),e.isScriptContext&&(E=E.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,s?"\\u003C!--":"\\x3C!--")),e.wrap&&(E=n+E+n),E};ui.version="3.0.2";k0.exports=ui});var tf=N(tt=>{"use strict";Object.defineProperty(tt,"__esModule",{value:!0});tt.ArgumentPlaceholder=Vq;tt.ArrayPattern=tt.ArrayExpression=Hq;tt.BigIntLiteral=sU;tt.BooleanLiteral=eU;tt.Identifier=Wq;tt.NullLiteral=tU;tt.NumericLiteral=rU;tt.ObjectPattern=tt.ObjectExpression=zq;tt.ObjectMethod=Jq;tt.ObjectProperty=Xq;tt.PipelineBareFunction=oU;tt.PipelinePrimaryTopicReference=lU;tt.PipelineTopicExpression=aU;tt.RecordExpression=Gq;tt.RegExpLiteral=Zq;tt.SpreadElement=tt.RestElement=Yq;tt.StringLiteral=iU;tt.TopicReference=nU;tt.TupleExpression=Qq;tt.VoidPattern=cU;tt._getRawIdentifier=Kq;var Uq=Ne(),D0=N0(),{isAssignmentPattern:$q,isIdentifier:ef}=Uq,O0=null,Co="";function Kq(t){if(t===O0)return Co;O0=t;let{name:e}=t,r=this.tokenMap.find(t,i=>i.value===e);return r?(Co=this._originalCode.slice(r.start,r.end),Co):Co=t.name}function Wq(t){var e;this.sourceIdentifierName(((e=t.loc)==null?void 0:e.identifierName)||t.name),this.word(this.tokenMap?this._getRawIdentifier(t):t.name)}function Vq(){this.tokenChar(63)}function Yq(t){this.token("..."),this.print(t.argument)}function zq(t){let e=t.properties;if(this.tokenChar(123),e.length){let r=this.enterDelimited();this.space(),this.printList(e,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),r()}this.sourceWithOffset("end",t.loc,-1),this.tokenChar(125)}function Jq(t){this.printJoin(t.decorators),this._methodHead(t),this.space(),this.print(t.body)}function Xq(t){if(this.printJoin(t.decorators),t.computed)this.tokenChar(91),this.print(t.key),this.tokenChar(93);else{if($q(t.value)&&ef(t.key)&&t.key.name===t.value.left.name){this.print(t.value);return}if(this.print(t.key),t.shorthand&&ef(t.key)&&ef(t.value)&&t.key.name===t.value.name)return}this.tokenChar(58),this.space(),this.print(t.value)}function Hq(t){let e=t.elements,r=e.length;this.tokenChar(91);let i=this.enterDelimited();for(let s=0;s<e.length;s++){let n=e[s];n?(s>0&&this.space(),this.print(n),(s<r-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,s)):this.token(",",!1,s)}i(),this.tokenChar(93)}function Gq(t){let e=t.properties,r,i;if(this.format.recordAndTupleSyntaxType==="bar")r="{|",i="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);r="#{",i="}"}this.token(r),e.length&&(this.space(),this.printList(e,this.shouldPrintTrailingComma(i),!0,!0),this.space()),this.token(i)}function Qq(t){let e=t.elements,r=e.length,i,s;if(this.format.recordAndTupleSyntaxType==="bar")i="[|",s="|]";else if(this.format.recordAndTupleSyntaxType==="hash")i="#[",s="]";else throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(i);for(let n=0;n<e.length;n++){let a=e[n];a&&(n>0&&this.space(),this.print(a),(n<r-1||this.shouldPrintTrailingComma(s))&&this.token(",",!1,n))}this.token(s)}function Zq(t){this.word(`/${t.pattern}/${t.flags}`)}function eU(t){this.word(t.value?"true":"false")}function tU(){this.word("null")}function rU(t){let e=this.getPossibleRaw(t),r=this.format.jsescOption,i=t.value,s=i+"";r.numbers?this.number(D0(i,r),i):e==null?this.number(s,i):this.format.minified?this.number(e.length<s.length?e:s,i):this.number(e,i)}function iU(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let r=D0(t.value,this.format.jsescOption);this.token(r)}function sU(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.word(e);return}this.word(t.value+"n")}var _0=new Set(["^^","@@","^","%","#"]);function nU(){let{topicToken:t}=this.format;if(_0.has(t))this.token(t);else{let e=JSON.stringify(t),r=Array.from(_0,i=>JSON.stringify(i));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${e} received instead).`)}}function aU(t){this.print(t.expression)}function oU(t){this.print(t.callee)}function lU(){this.tokenChar(35)}function cU(){this.word("void")}});var M0=N(ae=>{"use strict";Object.defineProperty(ae,"__esModule",{value:!0});ae.AnyTypeAnnotation=dU;ae.ArrayTypeAnnotation=mU;ae.BooleanLiteralTypeAnnotation=TU;ae.BooleanTypeAnnotation=yU;ae.DeclareClass=gU;ae.DeclareExportAllDeclaration=NU;ae.DeclareExportDeclaration=kU;ae.DeclareFunction=bU;ae.DeclareInterface=PU;ae.DeclareModule=vU;ae.DeclareModuleExports=AU;ae.DeclareOpaqueType=CU;ae.DeclareTypeAlias=wU;ae.DeclareVariable=IU;ae.DeclaredPredicate=EU;ae.EmptyTypeAnnotation=QU;ae.EnumBooleanBody=_U;ae.EnumBooleanMember=BU;ae.EnumDeclaration=OU;ae.EnumDefaultedMember=FU;ae.EnumNumberBody=DU;ae.EnumNumberMember=jU;ae.EnumStringBody=LU;ae.EnumStringMember=RU;ae.EnumSymbolBody=MU;ae.ExistsTypeAnnotation=UU;ae.FunctionTypeAnnotation=$U;ae.FunctionTypeParam=KU;ae.IndexedAccessType=P$;ae.InferredPredicate=SU;ae.InterfaceDeclaration=zU;ae.GenericTypeAnnotation=ae.ClassImplements=ae.InterfaceExtends=WU;ae.InterfaceTypeAnnotation=XU;ae.IntersectionTypeAnnotation=HU;ae.MixedTypeAnnotation=GU;ae.NullLiteralTypeAnnotation=xU;ae.NullableTypeAnnotation=ZU;Object.defineProperty(ae,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return L0.NumericLiteral}});ae.NumberTypeAnnotation=e$;ae.ObjectTypeAnnotation=u$;ae.ObjectTypeCallProperty=f$;ae.ObjectTypeIndexer=h$;ae.ObjectTypeInternalSlot=p$;ae.ObjectTypeProperty=d$;ae.ObjectTypeSpreadProperty=m$;ae.OpaqueType=c$;ae.OptionalIndexedAccessType=v$;ae.QualifiedTypeIdentifier=y$;Object.defineProperty(ae,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return L0.StringLiteral}});ae.StringTypeAnnotation=t$;ae.SymbolTypeAnnotation=T$;ae.ThisTypeAnnotation=r$;ae.TupleTypeAnnotation=i$;ae.TypeAlias=n$;ae.TypeAnnotation=a$;ae.TypeCastExpression=b$;ae.TypeParameter=l$;ae.TypeParameterDeclaration=ae.TypeParameterInstantiation=o$;ae.TypeofTypeAnnotation=s$;ae.UnionTypeAnnotation=g$;ae.Variance=S$;ae.VoidTypeAnnotation=E$;ae._interfaceish=VU;ae._variance=YU;var uU=Ne(),pU=Qp(),fU=Ui(),L0=tf(),{isDeclareExportDeclaration:Io,isStatement:hU}=uU;function dU(){this.word("any")}function mU(t){this.print(t.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function yU(){this.word("boolean")}function TU(t){this.word(t.value?"true":"false")}function xU(){this.word("null")}function gU(t,e){Io(e)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(t)}function bU(t,e){Io(e)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(t.id),this.print(t.id.typeAnnotation.typeAnnotation),t.predicate&&(this.space(),this.print(t.predicate)),this.semicolon()}function SU(){this.tokenChar(37),this.word("checks")}function EU(t){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(t.value),this.tokenChar(41)}function PU(t){this.word("declare"),this.space(),this.InterfaceDeclaration(t)}function vU(t){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(t.id),this.space(),this.print(t.body)}function AU(t){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(t.typeAnnotation)}function wU(t){this.word("declare"),this.space(),this.TypeAlias(t)}function CU(t,e){Io(e)||(this.word("declare"),this.space()),this.OpaqueType(t)}function IU(t,e){Io(e)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(t.id),this.print(t.id.typeAnnotation),this.semicolon()}function kU(t){this.word("declare"),this.space(),this.word("export"),this.space(),t.default&&(this.word("default"),this.space()),qU.call(this,t)}function NU(t){this.word("declare"),this.space(),pU.ExportAllDeclaration.call(this,t)}function OU(t){let{id:e,body:r}=t;this.word("enum"),this.space(),this.print(e),this.print(r)}function ko(t,e,r){r&&(t.space(),t.word("of"),t.space(),t.word(e)),t.space()}function No(t,e){let{members:r}=e;t.token("{"),t.indent(),t.newline();for(let i of r)t.print(i),t.newline();e.hasUnknownMembers&&(t.token("..."),t.newline()),t.dedent(),t.token("}")}function _U(t){let{explicitType:e}=t;ko(this,"boolean",e),No(this,t)}function DU(t){let{explicitType:e}=t;ko(this,"number",e),No(this,t)}function LU(t){let{explicitType:e}=t;ko(this,"string",e),No(this,t)}function MU(t){ko(this,"symbol",!0),No(this,t)}function FU(t){let{id:e}=t;this.print(e),this.tokenChar(44)}function rf(t,e){t.print(e.id),t.space(),t.token("="),t.space(),t.print(e.init),t.token(",")}function BU(t){rf(this,t)}function jU(t){rf(this,t)}function RU(t){rf(this,t)}function qU(t){if(t.declaration){let e=t.declaration;this.print(e),hU(e)||this.semicolon()}else this.tokenChar(123),t.specifiers.length&&(this.space(),this.printList(t.specifiers),this.space()),this.tokenChar(125),t.source&&(this.space(),this.word("from"),this.space(),this.print(t.source)),this.semicolon()}function UU(){this.tokenChar(42)}function $U(t,e){this.print(t.typeParameters),this.tokenChar(40),t.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(t.this.typeAnnotation),(t.params.length||t.rest)&&(this.tokenChar(44),this.space())),this.printList(t.params),t.rest&&(t.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(t.rest)),this.tokenChar(41);let r=e?.type;r!=null&&(r==="ObjectTypeCallProperty"||r==="ObjectTypeInternalSlot"||r==="DeclareFunction"||r==="ObjectTypeProperty"&&e.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(t.returnType)}function KU(t){this.print(t.name),t.optional&&this.tokenChar(63),t.name&&(this.tokenChar(58),this.space()),this.print(t.typeAnnotation)}function WU(t){this.print(t.id),this.print(t.typeParameters,!0)}function VU(t){var e;if(this.print(t.id),this.print(t.typeParameters),(e=t.extends)!=null&&e.length&&(this.space(),this.word("extends"),this.space(),this.printList(t.extends)),t.type==="DeclareClass"){var r,i;(r=t.mixins)!=null&&r.length&&(this.space(),this.word("mixins"),this.space(),this.printList(t.mixins)),(i=t.implements)!=null&&i.length&&(this.space(),this.word("implements"),this.space(),this.printList(t.implements))}this.space(),this.print(t.body)}function YU(t){var e;let r=(e=t.variance)==null?void 0:e.kind;r!=null&&(r==="plus"?this.tokenChar(43):r==="minus"&&this.tokenChar(45))}function zU(t){this.word("interface"),this.space(),this._interfaceish(t)}function JU(t){this.space(),this.token("&",!1,t),this.space()}function XU(t){var e;this.word("interface"),(e=t.extends)!=null&&e.length&&(this.space(),this.word("extends"),this.space(),this.printList(t.extends)),this.space(),this.print(t.body)}function HU(t){this.printJoin(t.types,void 0,void 0,JU)}function GU(){this.word("mixed")}function QU(){this.word("empty")}function ZU(t){this.tokenChar(63),this.print(t.typeAnnotation)}function e$(){this.word("number")}function t$(){this.word("string")}function r$(){this.word("this")}function i$(t){this.tokenChar(91),this.printList(t.types),this.tokenChar(93)}function s$(t){this.word("typeof"),this.space(),this.print(t.argument)}function n$(t){this.word("type"),this.space(),this.print(t.id),this.print(t.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(t.right),this.semicolon()}function a$(t,e){this.tokenChar(58),this.space(),e.type==="ArrowFunctionExpression"?this.tokenContext|=fU.TokenContext.arrowFlowReturnType:t.optional&&this.tokenChar(63),this.print(t.typeAnnotation)}function o$(t){this.tokenChar(60),this.printList(t.params),this.tokenChar(62)}function l$(t){this._variance(t),this.word(t.name),t.bound&&this.print(t.bound),t.default&&(this.space(),this.tokenChar(61),this.space(),this.print(t.default))}function c$(t){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(t.id),this.print(t.typeParameters),t.supertype&&(this.tokenChar(58),this.space(),this.print(t.supertype)),t.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(t.impltype)),this.semicolon()}function u$(t){t.exact?this.token("{|"):this.tokenChar(123);let e=[...t.properties,...t.callProperties||[],...t.indexers||[],...t.internalSlots||[]];e.length&&(this.newline(),this.space(),this.printJoin(e,!0,!0,void 0,void 0,function(i){if(i&&!e[0])return 1},()=>{(e.length!==1||t.inexact)&&(this.tokenChar(44),this.space())}),this.space()),t.inexact&&(this.indent(),this.token("..."),e.length&&this.newline(),this.dedent()),t.exact?this.token("|}"):this.tokenChar(125)}function p$(t){t.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(t.id),this.tokenChar(93),this.tokenChar(93),t.optional&&this.tokenChar(63),t.method||(this.tokenChar(58),this.space()),this.print(t.value)}function f$(t){t.static&&(this.word("static"),this.space()),this.print(t.value)}function h$(t){t.static&&(this.word("static"),this.space()),this._variance(t),this.tokenChar(91),t.id&&(this.print(t.id),this.tokenChar(58),this.space()),this.print(t.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(t.value)}function d$(t){t.proto&&(this.word("proto"),this.space()),t.static&&(this.word("static"),this.space()),(t.kind==="get"||t.kind==="set")&&(this.word(t.kind),this.space()),this._variance(t),this.print(t.key),t.optional&&this.tokenChar(63),t.method||(this.tokenChar(58),this.space()),this.print(t.value)}function m$(t){this.token("..."),this.print(t.argument)}function y$(t){this.print(t.qualification),this.tokenChar(46),this.print(t.id)}function T$(){this.word("symbol")}function x$(t){this.space(),this.token("|",!1,t),this.space()}function g$(t){this.printJoin(t.types,void 0,void 0,x$)}function b$(t){this.tokenChar(40),this.print(t.expression),this.print(t.typeAnnotation),this.tokenChar(41)}function S$(t){t.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function E$(){this.word("void")}function P$(t){this.print(t.objectType,!0),this.tokenChar(91),this.print(t.indexType),this.tokenChar(93)}function v$(t){this.print(t.objectType),t.optional&&this.token("?."),this.tokenChar(91),this.print(t.indexType),this.tokenChar(93)}});var F0=N(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.BlockStatement=C$;Yr.Directive=I$;Yr.DirectiveLiteral=O$;Yr.File=A$;Yr.InterpreterDirective=_$;Yr.Placeholder=D$;Yr.Program=w$;function A$(t){t.program&&this.print(t.program.interpreter),this.print(t.program)}function w$(t){var e;this.noIndentInnerCommentsHere(),this.printInnerComments();let r=(e=t.directives)==null?void 0:e.length;if(r){var i;let s=t.body.length?2:1;this.printSequence(t.directives,void 0,s),(i=t.directives[r-1].trailingComments)!=null&&i.length||this.newline(s)}this.printSequence(t.body)}function C$(t){var e;this.tokenChar(123);let r=this.enterDelimited(),i=(e=t.directives)==null?void 0:e.length;if(i){var s;let n=t.body.length?2:1;this.printSequence(t.directives,!0,n),(s=t.directives[i-1].trailingComments)!=null&&s.length||this.newline(n)}this.printSequence(t.body,!0),r(),this.rightBrace(t)}function I$(t){this.print(t.value),this.semicolon()}var k$=/(?:^|[^\\])(?:\\\\)*'/,N$=/(?:^|[^\\])(?:\\\\)*"/;function O$(t){let e=this.getPossibleRaw(t);if(!this.format.minified&&e!==void 0){this.token(e);return}let{value:r}=t;if(!N$.test(r))this.token(`"${r}"`);else if(!k$.test(r))this.token(`'${r}'`);else throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.")}function _$(t){this.token(`#!${t.value}`),this.newline(1,!0)}function D$(t){this.token("%%"),this.print(t.name),this.token("%%"),t.expectedNode==="Statement"&&this.semicolon()}});var B0=N(vt=>{"use strict";Object.defineProperty(vt,"__esModule",{value:!0});vt.JSXAttribute=L$;vt.JSXClosingElement=V$;vt.JSXClosingFragment=X$;vt.JSXElement=$$;vt.JSXEmptyExpression=Y$;vt.JSXExpressionContainer=R$;vt.JSXFragment=z$;vt.JSXIdentifier=M$;vt.JSXMemberExpression=B$;vt.JSXNamespacedName=F$;vt.JSXOpeningElement=W$;vt.JSXOpeningFragment=J$;vt.JSXSpreadAttribute=j$;vt.JSXSpreadChild=q$;vt.JSXText=U$;function L$(t){this.print(t.name),t.value&&(this.tokenChar(61),this.print(t.value))}function M$(t){this.word(t.name)}function F$(t){this.print(t.namespace),this.tokenChar(58),this.print(t.name)}function B$(t){this.print(t.object),this.tokenChar(46),this.print(t.property)}function j$(t){this.tokenChar(123),this.token("..."),this.print(t.argument),this.rightBrace(t)}function R$(t){this.tokenChar(123),this.print(t.expression),this.rightBrace(t)}function q$(t){this.tokenChar(123),this.token("..."),this.print(t.expression),this.rightBrace(t)}function U$(t){let e=this.getPossibleRaw(t);e!==void 0?this.token(e,!0):this.token(t.value,!0)}function $$(t){let e=t.openingElement;if(this.print(e),!e.selfClosing){this.indent();for(let r of t.children)this.print(r);this.dedent(),this.print(t.closingElement)}}function K$(){this.space()}function W$(t){this.tokenChar(60),this.print(t.name),t.typeArguments&&this.print(t.typeArguments),this.print(t.typeParameters),t.attributes.length>0&&(this.space(),this.printJoin(t.attributes,void 0,void 0,K$)),t.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)}function V$(t){this.tokenChar(60),this.tokenChar(47),this.print(t.name),this.tokenChar(62)}function Y$(){this.printInnerComments()}function z$(t){this.print(t.openingFragment),this.indent();for(let e of t.children)this.print(e);this.dedent(),this.print(t.closingFragment)}function J$(){this.tokenChar(60),this.tokenChar(62)}function X$(){this.token("</"),this.tokenChar(62)}});var $0=N(ie=>{"use strict";Object.defineProperty(ie,"__esModule",{value:!0});ie.TSAnyKeyword=cK;ie.TSArrayType=NK;ie.TSSatisfiesExpression=ie.TSAsExpression=XK;ie.TSBigIntKeyword=uK;ie.TSBooleanKeyword=dK;ie.TSCallSignatureDeclaration=iK;ie.TSInterfaceHeritage=ie.TSClassImplements=VK;ie.TSConditionalType=BK;ie.TSConstructSignatureDeclaration=sK;ie.TSConstructorType=vK;ie.TSDeclareFunction=eK;ie.TSDeclareMethod=tK;ie.TSEnumBody=U0;ie.TSEnumDeclaration=QK;ie.TSEnumMember=ZK;ie.TSExportAssignment=aW;ie.TSExternalModuleReference=sW;ie.TSFunctionType=PK;ie.TSImportEqualsDeclaration=iW;ie.TSImportType=rW;ie.TSIndexSignature=lK;ie.TSIndexedAccessType=UK;ie.TSInferType=jK;ie.TSInstantiationExpression=GK;ie.TSInterfaceBody=zK;ie.TSInterfaceDeclaration=YK;ie.TSIntersectionType=FK;ie.TSIntrinsicKeyword=SK;ie.TSLiteralType=WK;ie.TSMappedType=$K;ie.TSMethodSignature=oK;ie.TSModuleBlock=tW;ie.TSModuleDeclaration=eW;ie.TSNamedTupleMember=LK;ie.TSNamespaceExportDeclaration=oW;ie.TSNeverKeyword=bK;ie.TSNonNullExpression=nW;ie.TSNullKeyword=gK;ie.TSNumberKeyword=fK;ie.TSObjectKeyword=hK;ie.TSOptionalType=_K;ie.TSParameterProperty=Z$;ie.TSParenthesizedType=RK;ie.TSPropertySignature=nK;ie.TSQualifiedName=rK;ie.TSRestType=DK;ie.TSStringKeyword=mK;ie.TSSymbolKeyword=yK;ie.TSTemplateLiteralType=KK;ie.TSThisType=EK;ie.TSTupleType=OK;ie.TSTypeAliasDeclaration=JK;ie.TSTypeAnnotation=H$;ie.TSTypeAssertion=HK;ie.TSTypeLiteral=kK;ie.TSTypeOperator=qK;ie.TSTypeParameter=Q$;ie.TSTypeParameterDeclaration=ie.TSTypeParameterInstantiation=G$;ie.TSTypePredicate=CK;ie.TSTypeQuery=IK;ie.TSTypeReference=wK;ie.TSUndefinedKeyword=xK;ie.TSUnionType=MK;ie.TSUnknownKeyword=pK;ie.TSVoidKeyword=TK;ie.tsPrintClassMemberModifiers=cW;ie.tsPrintFunctionOrConstructorType=AK;ie.tsPrintPropertyOrMethodName=aK;ie.tsPrintSignatureDeclarationBase=lW;function H$(t,e){this.token((e.type==="TSFunctionType"||e.type==="TSConstructorType")&&e.typeAnnotation===t?"=>":":"),this.space(),t.optional&&this.tokenChar(63),this.print(t.typeAnnotation)}function G$(t,e){this.tokenChar(60);let r=e.type==="ArrowFunctionExpression"&&t.params.length===1;this.tokenMap&&t.start!=null&&t.end!=null&&(r&&(r=!!this.tokenMap.find(t,i=>this.tokenMap.matchesOriginal(i,","))),r||(r=this.shouldPrintTrailingComma(">"))),this.printList(t.params,r),this.tokenChar(62)}function Q$(t){t.const&&(this.word("const"),this.space()),t.in&&(this.word("in"),this.space()),t.out&&(this.word("out"),this.space()),this.word(t.name),t.constraint&&(this.space(),this.word("extends"),this.space(),this.print(t.constraint)),t.default&&(this.space(),this.tokenChar(61),this.space(),this.print(t.default))}function Z$(t){t.accessibility&&(this.word(t.accessibility),this.space()),t.readonly&&(this.word("readonly"),this.space()),this._param(t.parameter)}function eK(t,e){t.declare&&(this.word("declare"),this.space()),this._functionHead(t,e),this.semicolon()}function tK(t){this._classMethodHead(t),this.semicolon()}function rK(t){this.print(t.left),this.tokenChar(46),this.print(t.right)}function iK(t){this.tsPrintSignatureDeclarationBase(t),_n(this,t)}function _n(t,e){if(!t.tokenMap||!e.start||!e.end){t.semicolon();return}t.tokenMap.endMatches(e,",")?t.token(","):t.tokenMap.endMatches(e,";")&&t.semicolon()}function sK(t){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(t),_n(this,t)}function nK(t){let{readonly:e}=t;e&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(t),this.print(t.typeAnnotation),_n(this,t)}function aK(t){t.computed&&this.tokenChar(91),this.print(t.key),t.computed&&this.tokenChar(93),t.optional&&this.tokenChar(63)}function oK(t){let{kind:e}=t;(e==="set"||e==="get")&&(this.word(e),this.space()),this.tsPrintPropertyOrMethodName(t),this.tsPrintSignatureDeclarationBase(t),_n(this,t)}function lK(t){let{readonly:e,static:r}=t;r&&(this.word("static"),this.space()),e&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(t.parameters,"]"),this.print(t.typeAnnotation),_n(this,t)}function cK(){this.word("any")}function uK(){this.word("bigint")}function pK(){this.word("unknown")}function fK(){this.word("number")}function hK(){this.word("object")}function dK(){this.word("boolean")}function mK(){this.word("string")}function yK(){this.word("symbol")}function TK(){this.word("void")}function xK(){this.word("undefined")}function gK(){this.word("null")}function bK(){this.word("never")}function SK(){this.word("intrinsic")}function EK(){this.word("this")}function PK(t){this.tsPrintFunctionOrConstructorType(t)}function vK(t){t.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(t)}function AK(t){let{typeParameters:e}=t,r=t.parameters;this.print(e),this.tokenChar(40),this._parameters(r,")"),this.space();let i=t.typeAnnotation;this.print(i)}function wK(t){let e=t.typeParameters;this.print(t.typeName,!!e),this.print(e)}function CK(t){t.asserts&&(this.word("asserts"),this.space()),this.print(t.parameterName),t.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(t.typeAnnotation.typeAnnotation))}function IK(t){this.word("typeof"),this.space(),this.print(t.exprName);let e=t.typeParameters;e&&this.print(e)}function kK(t){Oo(this,t,()=>this.printJoin(t.members,!0,!0))}function NK(t){this.print(t.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function OK(t){this.tokenChar(91),this.printList(t.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function _K(t){this.print(t.typeAnnotation),this.tokenChar(63)}function DK(t){this.token("..."),this.print(t.typeAnnotation)}function LK(t){this.print(t.label),t.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(t.elementType)}function MK(t){q0(this,t,"|")}function FK(t){q0(this,t,"&")}function q0(t,e,r){var i;let s=0;(i=t.tokenMap)!=null&&i.startMatches(e,r)&&(s=1,t.token(r)),t.printJoin(e.types,void 0,void 0,function(n){this.space(),this.token(r,null,n+s),this.space()})}function BK(t){this.print(t.checkType),this.space(),this.word("extends"),this.space(),this.print(t.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(t.trueType),this.space(),this.tokenChar(58),this.space(),this.print(t.falseType)}function jK(t){this.word("infer"),this.print(t.typeParameter)}function RK(t){this.tokenChar(40),this.print(t.typeAnnotation),this.tokenChar(41)}function qK(t){this.word(t.operator),this.space(),this.print(t.typeAnnotation)}function UK(t){this.print(t.objectType,!0),this.tokenChar(91),this.print(t.indexType),this.tokenChar(93)}function $K(t){let{nameType:e,optional:r,readonly:i,typeAnnotation:s}=t;this.tokenChar(123);let n=this.enterDelimited();this.space(),i&&(j0(this,i),this.word("readonly"),this.space()),this.tokenChar(91),this.word(t.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(t.typeParameter.constraint),e&&(this.space(),this.word("as"),this.space(),this.print(e)),this.tokenChar(93),r&&(j0(this,r),this.tokenChar(63)),s&&(this.tokenChar(58),this.space(),this.print(s)),this.space(),n(),this.tokenChar(125)}function j0(t,e){e!==!0&&t.token(e)}function KK(t){this._printTemplate(t,t.types)}function WK(t){this.print(t.literal)}function VK(t){this.print(t.expression),this.print(t.typeArguments)}function YK(t){let{declare:e,id:r,typeParameters:i,extends:s,body:n}=t;e&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(r),this.print(i),s!=null&&s.length&&(this.space(),this.word("extends"),this.space(),this.printList(s)),this.space(),this.print(n)}function zK(t){Oo(this,t,()=>this.printJoin(t.body,!0,!0))}function JK(t){let{declare:e,id:r,typeParameters:i,typeAnnotation:s}=t;e&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(r),this.print(i),this.space(),this.tokenChar(61),this.space(),this.print(s),this.semicolon()}function XK(t){let{type:e,expression:r,typeAnnotation:i}=t;this.print(r,!0),this.space(),this.word(e==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(i)}function HK(t){let{typeAnnotation:e,expression:r}=t;this.tokenChar(60),this.print(e),this.tokenChar(62),this.space(),this.print(r)}function GK(t){this.print(t.expression),this.print(t.typeParameters)}function QK(t){let{declare:e,const:r,id:i}=t;e&&(this.word("declare"),this.space()),r&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(i),this.space(),U0.call(this,t)}function U0(t){Oo(this,t,()=>{var e;return this.printList(t.members,(e=this.shouldPrintTrailingComma("}"))!=null?e:!0,!0,!0)})}function ZK(t){let{id:e,initializer:r}=t;this.print(e),r&&(this.space(),this.tokenChar(61),this.space(),this.print(r))}function eW(t){let{declare:e,id:r,kind:i}=t;e&&(this.word("declare"),this.space());{if(t.global||(this.word(i??(r.type==="Identifier"?"namespace":"module")),this.space()),this.print(r),!t.body){this.semicolon();return}let s=t.body;for(;s.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(s.id),s=s.body;this.space(),this.print(s)}}function tW(t){Oo(this,t,()=>this.printSequence(t.body,!0))}function rW(t){let{argument:e,qualifier:r,options:i}=t;this.word("import"),this.tokenChar(40),this.print(e),i&&(this.tokenChar(44),this.print(i)),this.tokenChar(41),r&&(this.tokenChar(46),this.print(r));let s=t.typeParameters;s&&this.print(s)}function iW(t){let{id:e,moduleReference:r}=t;t.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(e),this.space(),this.tokenChar(61),this.space(),this.print(r),this.semicolon()}function sW(t){this.token("require("),this.print(t.expression),this.tokenChar(41)}function nW(t){this.print(t.expression),this.tokenChar(33)}function aW(t){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(t.expression),this.semicolon()}function oW(t){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(t.id),this.semicolon()}function lW(t){let{typeParameters:e}=t,r=t.parameters;this.print(e),this.tokenChar(40),this._parameters(r,")");let i=t.typeAnnotation;this.print(i)}function cW(t){let e=t.type==="ClassPrivateProperty",r=t.type==="ClassAccessorProperty"||t.type==="ClassProperty";R0(this,t,[r&&t.declare&&"declare",!e&&t.accessibility]),t.static&&(this.word("static"),this.space()),R0(this,t,[!e&&t.abstract&&"abstract",!e&&t.override&&"override",(r||e)&&t.readonly&&"readonly"])}function Oo(t,e,r){t.token("{");let i=t.enterDelimited();r(),i(),t.rightBrace(e)}function R0(t,e,r){var i;let s=new Set;for(let n of r)n&&s.add(n);(i=t.tokenMap)==null||i.find(e,n=>{if(s.has(n.value))return t.token(n.value),t.space(),s.delete(n.value),s.size===0});for(let n of s)t.word(n),t.space()}});var K0=N(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});var sf=m0();Object.keys(sf).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===sf[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return sf[t]}})});var nf=T0();Object.keys(nf).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===nf[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return nf[t]}})});var af=S0();Object.keys(af).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===af[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return af[t]}})});var of=E0();Object.keys(of).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===of[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return of[t]}})});var lf=P0();Object.keys(lf).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===lf[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return lf[t]}})});var cf=Qp();Object.keys(cf).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===cf[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return cf[t]}})});var uf=tf();Object.keys(uf).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===uf[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return uf[t]}})});var pf=M0();Object.keys(pf).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===pf[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return pf[t]}})});var ff=F0();Object.keys(ff).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===ff[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return ff[t]}})});var hf=B0();Object.keys(hf).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===hf[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return hf[t]}})});var df=$0();Object.keys(df).forEach(function(t){t==="default"||t==="__esModule"||t in qe&&qe[t]===df[t]||Object.defineProperty(qe,t,{enumerable:!0,get:function(){return df[t]}})})});var W0=N(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.addDeprecatedGenerators=uW;function uW(t){{let e={Noop(){},TSExpressionWithTypeArguments(r){this.print(r.expression),this.print(r.typeParameters)},DecimalLiteral(r){let i=this.getPossibleRaw(r);if(!this.format.minified&&i!==void 0){this.word(i);return}this.word(r.value+"m")}};Object.assign(t.prototype,e)}}});var J0=N(_o=>{"use strict";Object.defineProperty(_o,"__esModule",{value:!0});_o.default=void 0;var pW=GT(),kt=Ui(),Y0=kt,fW=Ne(),hW=d0(),dW=K0(),mW=W0(),{isExpression:yW,isFunction:TW,isStatement:xW,isClassBody:gW,isTSInterfaceBody:bW,isTSEnumMember:SW}=fW,EW=/e/i,PW=/\.0+$/,z0=/[\n\r\u2028\u2029]/,vW=/[\n\r\u2028\u2029]|\*\//;function V0(t){return t.type==="CommentLine"||z0.test(t.value)}var{needsParens:AW}=Y0,Dn=class{constructor(e,r,i,s){this.tokenContext=kt.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=e,this._tokens=i,this._originalCode=s,this._indentRepeat=e.indent.style.length,this._inputMap=r?._inputMap,this._buf=new pW.default(r,e.indent.style[0])}enterForStatementInit(){return this.tokenContext|=kt.TokenContext.forInitHead|kt.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=kt.TokenContext.normal}enterForXStatementInit(e){return e?(this.tokenContext|=kt.TokenContext.forOfHead,null):(this.tokenContext|=kt.TokenContext.forInHead|kt.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=kt.TokenContext.normal)}enterDelimited(){let e=this.tokenContext,r=this._noLineTerminatorAfterNode;return!(e&kt.TokenContext.forInOrInitHeadAccumulate)&&r===null?()=>{}:(this._noLineTerminatorAfterNode=null,this.tokenContext=kt.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=r,this.tokenContext=e})}generate(e){return this.format.preserveFormat&&(this.tokenMap=new hW.TokenMap(e,this._tokens,this._originalCode)),this.print(e),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent++}dedent(){let{format:e}=this;e.preserveFormat||e.compact||e.concise||this._indent--}semicolon(e=!1){if(this._maybeAddAuxComment(),e){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let r=this._currentNode;if(r.start!=null&&r.end!=null){if(!this.tokenMap.endMatches(r,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let i=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[i[i.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(e){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",e.loc,-1),this.tokenChar(125)}rightParens(e){this.sourceWithOffset("end",e.loc,-1),this.tokenChar(41)}space(e=!1){let{format:r}=this;if(!(r.compact||r.preserveFormat)){if(e)this._space();else if(this._buf.hasContent()){let i=this.getLastChar();i!==32&&i!==10&&this._space()}}}word(e,r=!1){this.tokenContext&=kt.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e),(this._endsWithWord||this._endsWithDiv&&e.charCodeAt(0)===47)&&this._space(),this._append(e,!1),this._endsWithWord=!0,this._noLineTerminator=r}number(e,r){function i(s){if(s.length>2&&s.charCodeAt(0)===48){let n=s.charCodeAt(1);return n===98||n===111||n===120}return!1}this.word(e),this._endsWithInteger=Number.isInteger(r)&&!i(e)&&!EW.test(e)&&!PW.test(e)&&e.charCodeAt(e.length-1)!==46}token(e,r=!1,i=0){this.tokenContext&=kt.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(e,i),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(e,i);let s=this.getLastChar(),n=e.charCodeAt(0);(s===33&&(e==="--"||n===61)||n===43&&s===43||n===45&&s===45||n===46&&this._endsWithInteger)&&this._space(),this._append(e,r),this._noLineTerminator=!1}tokenChar(e){this.tokenContext&=kt.TokenContext.forInOrInitHeadAccumulatePassThroughMask;let r=String.fromCharCode(e);this._maybePrintInnerComments(r),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(r);let i=this.getLastChar();(e===43&&i===43||e===45&&i===45||e===46&&this._endsWithInteger)&&this._space(),this._appendChar(e),this._noLineTerminator=!1}newline(e=1,r){if(!(e<=0)){if(!r){if(this.format.retainLines||this.format.compact)return;if(this.format.concise){this.space();return}}e>2&&(e=2),e-=this._buf.getNewlineCount();for(let i=0;i<e;i++)this._newline()}}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(e,r){if(!e){r();return}this._catchUp("start",e),this._buf.exactSource(e,r)}source(e,r){r&&(this._catchUp(e,r),this._buf.source(e,r))}sourceWithOffset(e,r,i){!r||this.format.preserveFormat||(this._catchUp(e,r),this._buf.sourceWithOffset(e,r,i))}sourceIdentifierName(e,r){if(!this._buf._canMarkIdName)return;let i=this._buf._sourcePosition;i.identifierNamePos=r,i.identifierName=e}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(e,r=0){let i=this.tokenMap.findMatching(this._currentNode,e,r);i&&this._catchUpTo(i.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(e,r){this._maybeIndent(e.charCodeAt(0)),this._buf.append(e,r),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(e){this._maybeIndent(e),this._buf.appendChar(e),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(e){this._maybeIndent(e),this._buf.queue(e),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(e){this._indent&&e!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(e){if(this._indent&&e!==10&&this.endsWith(10))return!0}catchUp(e){if(!this.format.retainLines)return;let r=e-this._buf.getCurrentLine();for(let i=0;i<r;i++)this._newline()}_catchUp(e,r){let{format:i}=this;if(!i.preserveFormat){i.retainLines&&r!=null&&r[e]&&this.catchUp(r[e].line);return}let s=r?.[e];s!=null&&this._catchUpTo(s)}_catchUpTo({line:e,column:r,index:i}){let s=e-this._buf.getCurrentLine();if(s>0&&this._noLineTerminator)return;for(let a=0;a<s;a++)this._newline();let n=s>0?r:r-this._buf.getCurrentColumn();if(n>0){let a=this._originalCode?this._originalCode.slice(i-n,i).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(n);this._append(a,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(e){this._noLineTerminator=!0,this.print(e)}print(e,r,i){var s,n,a;if(!e)return;this._endsWithInnerRaw=!1;let o=e.type,l=this.format,c=l.concise;e._compact&&(l.concise=!0);let u=this[o];if(u===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(o)} with constructor ${JSON.stringify(e.constructor.name)}`);let d=this._currentNode;this._currentNode=e,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let x=this._insideAux;this._insideAux=e.loc==null,this._maybeAddAuxComment(this._insideAux&&!x);let E=(s=e.extra)==null?void 0:s.parenthesized,v=E&&l.preserveFormat||E&&l.retainFunctionParens&&o==="FunctionExpression"||AW(e,d,this.tokenContext,l.preserveFormat?this._boundGetRawIdentifier:void 0);if(!v&&E&&(n=e.leadingComments)!=null&&n.length&&e.leadingComments[0].type==="CommentBlock")switch(d?.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(d.callee!==e)break;default:v=!0}let A=!1;!v&&this._noLineTerminator&&((a=e.leadingComments)!=null&&a.some(V0)||this.format.retainLines&&e.loc&&e.loc.start.line>this._buf.getCurrentLine())&&(v=!0,A=!0);let I,O;if(!v&&(r||(r=d&&this._noLineTerminatorAfterNode===d&&Y0.isLastChild(d,e)),r)){var j;(j=e.trailingComments)!=null&&j.some(V0)?yW(e)&&(v=!0):(I=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=e)}v&&(this.tokenChar(40),A&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&kt.TokenContext.forInOrInitHeadAccumulate&&(O=this.tokenContext,this.tokenContext=kt.TokenContext.normal),I=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(e,d);let q=o==="Program"||o==="File"?null:e.loc;this.exactSource(q,u.bind(this,e,d)),v?(this._printTrailingComments(e,d),A&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=r,O&&(this.tokenContext=O)):r&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(e,d)):this._printTrailingComments(e,d,i),this._currentNode=d,l.concise=c,this._insideAux=x,I!==void 0&&(this._noLineTerminatorAfterNode=I),this._endsWithInnerRaw=!1}_maybeAddAuxComment(e){e&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let e=this.format.auxiliaryCommentBefore;e&&this._printComment({type:"CommentBlock",value:e},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let e=this.format.auxiliaryCommentAfter;e&&this._printComment({type:"CommentBlock",value:e},0)}getPossibleRaw(e){let r=e.extra;if(r?.raw!=null&&r.rawValue!=null&&e.value===r.rawValue)return r.raw}printJoin(e,r,i,s,n,a,o,l){if(!(e!=null&&e.length))return;if(i==null&&this.format.retainLines){var c;let A=(c=e[0].loc)==null?void 0:c.start.line;A!=null&&A!==this._buf.getCurrentLine()&&(i=!0)}i&&this.indent();let u={addNewlines:a,nextNodeStartLine:0},d=s?.bind(this),x=e.length;for(let A=0;A<x;A++){let I=e[A];if(I&&(r&&this._printNewline(A===0,u),this.print(I,void 0,l||0),o?.(I,A),d!=null&&(A<x-1?d(A,!1):n&&d(A,!0)),r)){var E;if((E=I.trailingComments)!=null&&E.length||(this._lastCommentLine=0),A+1===x)this.newline(1);else{var v;let O=e[A+1];u.nextNodeStartLine=((v=O.loc)==null?void 0:v.start.line)||0,this._printNewline(!0,u)}}}i&&this.dedent()}printAndIndentOnComments(e){let r=e.leadingComments&&e.leadingComments.length>0;r&&this.indent(),this.print(e),r&&this.dedent()}printBlock(e){let r=e.body;r.type!=="EmptyStatement"&&this.space(),this.print(r)}_printTrailingComments(e,r,i){let{innerComments:s,trailingComments:n}=e;s!=null&&s.length&&this._printComments(2,s,e,r,i),n!=null&&n.length&&this._printComments(2,n,e,r,i)}_printLeadingComments(e,r){let i=e.leadingComments;i!=null&&i.length&&this._printComments(0,i,e,r)}_maybePrintInnerComments(e,r){if(this._endsWithInnerRaw){var i;this.printInnerComments((i=this.tokenMap)==null?void 0:i.findMatching(this._currentNode,e,r))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(e){let r=this._currentNode,i=r.innerComments;if(!(i!=null&&i.length))return;let s=this.endsWith(32),n=this._indentInnerComments,a=this._printedComments.size;n&&this.indent(),this._printComments(1,i,r,void 0,void 0,e),s&&a!==this._printedComments.size&&this.space(),n&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(e,r,i,s){this.printJoin(e,!0,r??!1,void 0,void 0,s,void 0,i)}printList(e,r,i,s,n,a){this.printJoin(e,i,s,n??wW,r,void 0,a)}shouldPrintTrailingComma(e){if(!this.tokenMap)return null;let r=this.tokenMap.findLastIndex(this._currentNode,i=>this.tokenMap.matchesOriginal(i,e));return r<=0?null:this.tokenMap.matchesOriginal(this._tokens[r-1],",")}_printNewline(e,r){let i=this.format;if(i.retainLines||i.compact)return;if(i.concise){this.space();return}if(!e)return;let s=r.nextNodeStartLine,n=this._lastCommentLine;if(s>0&&n>0){let a=s-n;if(a>=0){this.newline(a||1);return}}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(e,r){if(e.ignore||this._printedComments.has(e))return 0;if(this._noLineTerminator&&vW.test(e.value))return 2;if(r&&this.tokenMap){let i=this.tokenMap.find(this._currentNode,s=>s.value===e.value);if(i&&i.start>r.start)return 2}return this._printedComments.add(e),this.format.shouldPrintComment(e.value)?1:0}_printComment(e,r){let i=this._noLineTerminator,s=e.type==="CommentBlock",n=s&&r!==1&&!this._noLineTerminator;n&&this._buf.hasContent()&&r!==2&&this.newline(1);let a=this.getLastChar();a!==91&&a!==123&&a!==40&&this.space();let o;if(s){if(o=`/*${e.value}*/`,this.format.indent.adjustMultilineComment){var l;let c=(l=e.loc)==null?void 0:l.start.column;if(c){let u=new RegExp("\\n\\s{1,"+c+"}","g");o=o.replace(u,`
26
+ `)}if(this.format.concise)o=o.replace(/\n(?!$)/g,`
27
+ `);else{let u=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(u+=this._getIndent()),o=o.replace(/\n(?!$)/g,`
28
+ ${" ".repeat(u)}`)}}}else i?o=`/*${e.value}*/`:o=`//${e.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){let{_printSemicolonBeforeNextToken:c,_printSemicolonBeforeNextNode:u}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",e.loc),this._append(o,s),this._printSemicolonBeforeNextNode=u,this._printSemicolonBeforeNextToken=c}else this.source("start",e.loc),this._append(o,s);!s&&!i&&this.newline(1,!0),n&&r!==3&&this.newline(1)}_printComments(e,r,i,s,n=0,a){let o=i.loc,l=r.length,c=!!o,u=c?o.start.line:0,d=c?o.end.line:0,x=0,E=0,v=this._noLineTerminator?function(){}:this.newline.bind(this);for(let A=0;A<l;A++){let I=r[A],O=this._shouldPrintComment(I,a);if(O===2){c=!1;break}if(c&&I.loc&&O===1){let j=I.loc.start.line,q=I.loc.end.line;if(e===0){let F=0;A===0?this._buf.hasContent()&&(I.type==="CommentLine"||j!==q)&&(F=E=1):F=j-x,x=q,v(F),this._printComment(I,1),A+1===l&&(v(Math.max(u-x,E)),x=u)}else if(e===1){let F=j-(A===0?u:x);x=q,v(F),this._printComment(I,1),A+1===l&&(v(Math.min(1,d-x)),x=d)}else{let F=j-(A===0?d-n:x);x=q,v(F),this._printComment(I,1)}}else{if(c=!1,O!==1)continue;if(l===1){let j=I.loc?I.loc.start.line===I.loc.end.line:!z0.test(I.value),q=j&&!xW(i)&&!gW(s)&&!bW(s)&&!SW(i);e===0?this._printComment(I,q&&i.type!=="ObjectExpression"||j&&TW(s,{body:i})?1:0):q&&e===2?this._printComment(I,1):this._printComment(I,0)}else e===1&&!(i.type==="ObjectExpression"&&i.properties.length>1)&&i.type!=="ClassBody"&&i.type!=="TSInterfaceBody"?this._printComment(I,A===0?2:A===l-1?3:0):this._printComment(I,0)}}e===2&&c&&x&&(this._lastCommentLine=x)}};Object.assign(Dn.prototype,dW);(0,mW.addDeprecatedGenerators)(Dn);var jae=_o.default=Dn;function wW(t,e){this.token(",",!1,t),e||this.space()}});var Z0=N(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.default=void 0;vs.generate=Q0;var X0=HT(),H0=J0();function G0(t,e,r){if(e.experimental_preserveFormat){if(typeof t!="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!e.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(e.compact&&e.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(e.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(e.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(r.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let i={auxiliaryCommentBefore:e.auxiliaryCommentBefore,auxiliaryCommentAfter:e.auxiliaryCommentAfter,shouldPrintComment:e.shouldPrintComment,preserveFormat:e.experimental_preserveFormat,retainLines:e.retainLines,retainFunctionParens:e.retainFunctionParens,comments:e.comments==null||e.comments,compact:e.compact,minified:e.minified,concise:e.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},e.jsescOption),topicToken:e.topicToken,importAttributesKeyword:e.importAttributesKeyword};{var s;i.decoratorsBeforeExport=e.decoratorsBeforeExport,i.jsescOption.json=e.jsonCompatibleStrings,i.recordAndTupleSyntaxType=(s=e.recordAndTupleSyntaxType)!=null?s:"hash"}i.minified?(i.compact=!0,i.shouldPrintComment=i.shouldPrintComment||(()=>i.comments)):i.shouldPrintComment=i.shouldPrintComment||(l=>i.comments||l.includes("@license")||l.includes("@preserve")),i.compact==="auto"&&(i.compact=typeof t=="string"&&t.length>5e5,i.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${e.filename} as it exceeds the max of 500KB.`)),(i.compact||i.preserveFormat)&&(i.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:n,auxiliaryCommentAfter:a,shouldPrintComment:o}=i;return n&&!o(n)&&(i.auxiliaryCommentBefore=void 0),a&&!o(a)&&(i.auxiliaryCommentAfter=void 0),i}vs.CodeGenerator=class{constructor(e,r={},i){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=e,this._format=G0(i,r,e),this._map=r.sourceMaps?new X0.default(r,i):null}generate(){return new H0.default(this._format,this._map).generate(this._ast)}};function Q0(t,e={},r){let i=G0(r,e,t),s=e.sourceMaps?new X0.default(e,r):null;return new H0.default(i,s,t.tokens,typeof r=="string"?r:null).generate(t)}var Uae=vs.default=Q0});var ex=N(cr=>{"use strict";Object.defineProperty(cr,"__esModule",{value:!0});cr.find=NW;cr.findParent=kW;cr.getAncestry=MW;cr.getDeepestCommonAncestorFrom=LW;cr.getEarliestCommonAncestorFrom=DW;cr.getFunctionParent=OW;cr.getStatementParent=_W;cr.inType=jW;cr.isAncestor=FW;cr.isDescendant=BW;var CW=Ne(),{VISITOR_KEYS:IW}=CW;function kW(t){let e=this;for(;e=e.parentPath;)if(t(e))return e;return null}function NW(t){let e=this;do if(t(e))return e;while(e=e.parentPath);return null}function OW(){return this.findParent(t=>t.isFunction())}function _W(){let t=this;do{if(!t.parentPath||Array.isArray(t.container)&&t.isStatement())break;t=t.parentPath}while(t);if(t&&(t.isProgram()||t.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return t}function DW(t){return this.getDeepestCommonAncestorFrom(t,function(e,r,i){let s,n=IW[e.type];for(let a of i){let o=a[r+1];if(!s){s=o;continue}if(o.listKey&&s.listKey===o.listKey&&o.key<s.key){s=o;continue}let l=n.indexOf(s.parentKey),c=n.indexOf(o.parentKey);l>c&&(s=o)}return s})}function LW(t,e){if(!t.length)return this;if(t.length===1)return t[0];let r=1/0,i,s,n=t.map(o=>{let l=[];do l.unshift(o);while((o=o.parentPath)&&o!==this);return l.length<r&&(r=l.length),l}),a=n[0];e:for(let o=0;o<r;o++){let l=a[o];for(let c of n)if(c[o]!==l)break e;i=o,s=l}if(s)return e?e(s,i,n):s;throw new Error("Couldn't find intersection")}function MW(){let t=this,e=[];do e.push(t);while(t=t.parentPath);return e}function FW(t){return t.isDescendant(this)}function BW(t){return!!this.findParent(e=>e===t)}function jW(...t){let e=this;for(;e;){if(t.includes(e.node.type))return!0;e=e.parentPath}return!1}});var Tf=N(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.createUnionType=KW;var RW=Ne(),{createFlowUnionType:tx,createTSUnionType:rx,createUnionTypeAnnotation:qW,isFlowType:UW,isTSType:$W}=RW;function KW(t){{if(t.every(e=>UW(e)))return tx?tx(t):qW(t);if(t.every(e=>$W(e))&&rx)return rx(t)}}});var ox=N(xf=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});xf.default=JW;var WW=Ne(),sx=Tf(),{BOOLEAN_NUMBER_BINARY_OPERATORS:VW,createTypeAnnotationBasedOnTypeof:YW,numberTypeAnnotation:nx,voidTypeAnnotation:zW}=WW;function JW(t){if(!this.isReferenced())return;let e=this.scope.getBinding(t.name);if(e)return e.identifier.typeAnnotation?e.identifier.typeAnnotation:XW(e,this,t.name);if(t.name==="undefined")return zW();if(t.name==="NaN"||t.name==="Infinity")return nx();t.name}function XW(t,e,r){let i=[],s=[],n=ix(t,e,s),a=ax(t,e,r);if(a){let o=ix(t,a.ifStatement);n=n.filter(l=>!o.includes(l)),i.push(a.typeAnnotation)}if(n.length){n.push(...s);for(let o of n)i.push(o.getTypeAnnotation())}if(i.length)return(0,sx.createUnionType)(i)}function ix(t,e,r){let i=t.constantViolations.slice();return i.unshift(t.path),i.filter(s=>{s=s.resolve();let n=s._guessExecutionStatusRelativeTo(e);return r&&n==="unknown"&&r.push(s),n==="before"})}function HW(t,e){let r=e.node.operator,i=e.get("right").resolve(),s=e.get("left").resolve(),n;if(s.isIdentifier({name:t})?n=i:i.isIdentifier({name:t})&&(n=s),n)return r==="==="?n.getTypeAnnotation():VW.includes(r)?nx():void 0;if(r!=="==="&&r!=="==")return;let a,o;if(s.isUnaryExpression({operator:"typeof"})?(a=s,o=i):i.isUnaryExpression({operator:"typeof"})&&(a=i,o=s),!a||!a.get("argument").isIdentifier({name:t})||(o=o.resolve(),!o.isLiteral()))return;let l=o.node.value;if(typeof l=="string")return YW(l)}function GW(t,e,r){let i;for(;i=e.parentPath;){if(i.isIfStatement()||i.isConditionalExpression())return e.key==="test"?void 0:i;if(i.isFunction()&&i.parentPath.scope.getBinding(r)!==t)return;e=i}}function ax(t,e,r){let i=GW(t,e,r);if(!i)return;let n=[i.get("test")],a=[];for(let o=0;o<n.length;o++){let l=n[o];if(l.isLogicalExpression())l.node.operator==="&&"&&(n.push(l.get("left")),n.push(l.get("right")));else if(l.isBinaryExpression()){let c=HW(r,l);c&&a.push(c)}}return a.length?{typeAnnotation:(0,sx.createUnionType)(a),ifStatement:i}:ax(t,i,r)}});var mx=N(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.ArrayExpression=fx;We.AssignmentExpression=bV;We.BinaryExpression=mV;We.BooleanLiteral=vV;We.CallExpression=DV;We.ConditionalExpression=TV;We.ClassDeclaration=We.ClassExpression=We.FunctionDeclaration=We.ArrowFunctionExpression=We.FunctionExpression=IV;Object.defineProperty(We,"Identifier",{enumerable:!0,get:function(){return ZW.default}});We.LogicalExpression=yV;We.NewExpression=fV;We.NullLiteral=AV;We.NumericLiteral=PV;We.ObjectExpression=CV;We.ParenthesizedExpression=gV;We.RegExpLiteral=wV;We.RestElement=hx;We.SequenceExpression=xV;We.StringLiteral=EV;We.TSAsExpression=px;We.TSNonNullExpression=pV;We.TaggedTemplateExpression=LV;We.TemplateLiteral=hV;We.TypeCastExpression=ux;We.UnaryExpression=dV;We.UpdateExpression=SV;We.VariableDeclarator=uV;var QW=Ne(),ZW=ox(),cx=Tf(),{BOOLEAN_BINARY_OPERATORS:eV,BOOLEAN_UNARY_OPERATORS:tV,NUMBER_BINARY_OPERATORS:rV,NUMBER_UNARY_OPERATORS:iV,STRING_UNARY_OPERATORS:sV,anyTypeAnnotation:lx,arrayTypeAnnotation:gf,booleanTypeAnnotation:bf,buildMatchMemberExpression:Do,genericTypeAnnotation:pi,identifier:$i,nullLiteralTypeAnnotation:nV,numberTypeAnnotation:As,stringTypeAnnotation:Ki,tupleTypeAnnotation:aV,unionTypeAnnotation:oV,voidTypeAnnotation:lV,isIdentifier:cV}=QW;function uV(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function ux(t){return t.typeAnnotation}ux.validParent=!0;function px(t){return t.typeAnnotation}px.validParent=!0;function pV(){return this.get("expression").getTypeAnnotation()}function fV(t){if(t.callee.type==="Identifier")return pi(t.callee)}function hV(){return Ki()}function dV(t){let e=t.operator;if(e==="void")return lV();if(iV.includes(e))return As();if(sV.includes(e))return Ki();if(tV.includes(e))return bf()}function mV(t){let e=t.operator;if(rV.includes(e))return As();if(eV.includes(e))return bf();if(e==="+"){let r=this.get("right"),i=this.get("left");return i.isBaseType("number")&&r.isBaseType("number")?As():i.isBaseType("string")||r.isBaseType("string")?Ki():oV([Ki(),As()])}}function yV(){let t=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,cx.createUnionType)(t)}function TV(){let t=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,cx.createUnionType)(t)}function xV(){return this.get("expressions").pop().getTypeAnnotation()}function gV(){return this.get("expression").getTypeAnnotation()}function bV(){return this.get("right").getTypeAnnotation()}function SV(t){let e=t.operator;if(e==="++"||e==="--")return As()}function EV(){return Ki()}function PV(){return As()}function vV(){return bf()}function AV(){return nV()}function wV(){return pi($i("RegExp"))}function CV(){return pi($i("Object"))}function fx(){return pi($i("Array"))}function hx(){return fx()}hx.validParent=!0;function IV(){return pi($i("Function"))}var kV=Do("Array.from"),NV=Do("Object.keys"),OV=Do("Object.values"),_V=Do("Object.entries");function DV(){let{callee:t}=this.node;return NV(t)?gf(Ki()):kV(t)||OV(t)||cV(t,{name:"Array"})?gf(lx()):_V(t)?gf(aV([Ki(),lx()])):dx(this.get("callee"))}function LV(){return dx(this.get("tag"))}function dx(t){if(t=t.resolve(),t.isFunction()){let{node:e}=t;if(e.async)return e.generator?pi($i("AsyncIterator")):pi($i("Promise"));if(e.generator)return pi($i("Iterator"));if(t.node.returnType)return t.node.returnType}}});var bx=N(fi=>{"use strict";Object.defineProperty(fi,"__esModule",{value:!0});fi._getTypeAnnotation=gx;fi.baseTypeStrictlyMatches=rY;fi.couldBeBaseType=tY;fi.getTypeAnnotation=ZV;fi.isBaseType=eY;fi.isGenericType=iY;var yx=mx(),MV=Ne(),{anyTypeAnnotation:xx,isAnyTypeAnnotation:Lo,isArrayTypeAnnotation:FV,isBooleanTypeAnnotation:BV,isEmptyTypeAnnotation:jV,isFlowBaseAnnotation:RV,isGenericTypeAnnotation:qV,isIdentifier:Tx,isMixedTypeAnnotation:UV,isNumberTypeAnnotation:$V,isStringTypeAnnotation:KV,isTSArrayType:WV,isTSTypeAnnotation:VV,isTSTypeReference:YV,isTupleTypeAnnotation:zV,isTypeAnnotation:JV,isUnionTypeAnnotation:XV,isVoidTypeAnnotation:HV,stringTypeAnnotation:GV,voidTypeAnnotation:QV}=MV;function ZV(){let t=this.getData("typeAnnotation");return t!=null||(t=gx.call(this)||xx(),(JV(t)||VV(t))&&(t=t.typeAnnotation),this.setData("typeAnnotation",t)),t}var Sf=new WeakSet;function gx(){let t=this.node;if(!t)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let r=this.parentPath.parentPath,i=r.parentPath;return r.key==="left"&&i.isForInStatement()?GV():r.key==="left"&&i.isForOfStatement()?xx():QV()}else return;if(t.typeAnnotation)return t.typeAnnotation;if(!Sf.has(t)){Sf.add(t);try{var e;let r=yx[t.type];if(r)return r.call(this,t);if(r=yx[this.parentPath.type],(e=r)!=null&&e.validParent)return this.parentPath.getTypeAnnotation()}finally{Sf.delete(t)}}}function eY(t,e){return Ef(t,this.getTypeAnnotation(),e)}function Ef(t,e,r){if(t==="string")return KV(e);if(t==="number")return $V(e);if(t==="boolean")return BV(e);if(t==="any")return Lo(e);if(t==="mixed")return UV(e);if(t==="empty")return jV(e);if(t==="void")return HV(e);if(r)return!1;throw new Error(`Unknown base type ${t}`)}function tY(t){let e=this.getTypeAnnotation();if(Lo(e))return!0;if(XV(e)){for(let r of e.types)if(Lo(r)||Ef(t,r,!0))return!0;return!1}else return Ef(t,e,!0)}function rY(t){let e=this.getTypeAnnotation(),r=t.getTypeAnnotation();return!Lo(e)&&RV(e)?r.type===e.type:!1}function iY(t){let e=this.getTypeAnnotation();return t==="Array"&&(WV(e)||FV(e)||zV(e))?!0:qV(e)&&Tx(e.id,{name:t})||YV(e)&&Tx(e.typeName,{name:t})}});var Px=N((Jae,Pf)=>{var Fo=process||{},Sx=Fo.argv||[],Mo=Fo.env||{},sY=!(Mo.NO_COLOR||Sx.includes("--no-color"))&&(!!Mo.FORCE_COLOR||Sx.includes("--color")||Fo.platform==="win32"||(Fo.stdout||{}).isTTY&&Mo.TERM!=="dumb"||!!Mo.CI),nY=(t,e,r=t)=>i=>{let s=""+i,n=s.indexOf(e,t.length);return~n?t+aY(s,e,r,n)+e:t+s+e},aY=(t,e,r,i)=>{let s="",n=0;do s+=t.substring(n,i)+r,n=i+e.length,i=t.indexOf(e,n);while(~i);return s+t.substring(n)},Ex=(t=sY)=>{let e=t?nY:()=>String;return{isColorSupported:t,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m"),blackBright:e("\x1B[90m","\x1B[39m"),redBright:e("\x1B[91m","\x1B[39m"),greenBright:e("\x1B[92m","\x1B[39m"),yellowBright:e("\x1B[93m","\x1B[39m"),blueBright:e("\x1B[94m","\x1B[39m"),magentaBright:e("\x1B[95m","\x1B[39m"),cyanBright:e("\x1B[96m","\x1B[39m"),whiteBright:e("\x1B[97m","\x1B[39m"),bgBlackBright:e("\x1B[100m","\x1B[49m"),bgRedBright:e("\x1B[101m","\x1B[49m"),bgGreenBright:e("\x1B[102m","\x1B[49m"),bgYellowBright:e("\x1B[103m","\x1B[49m"),bgBlueBright:e("\x1B[104m","\x1B[49m"),bgMagentaBright:e("\x1B[105m","\x1B[49m"),bgCyanBright:e("\x1B[106m","\x1B[49m"),bgWhiteBright:e("\x1B[107m","\x1B[49m")}};Pf.exports=Ex();Pf.exports.createColors=Ex});var vx=N(Bo=>{Object.defineProperty(Bo,"__esModule",{value:!0});Bo.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;Bo.matchToToken=function(t){var e={type:"invalid",value:t[0],closed:void 0};return t[1]?(e.type="string",e.closed=!!(t[3]||t[4])):t[5]?e.type="comment":t[6]?(e.type="comment",e.closed=!!t[7]):t[8]?e.type="regex":t[9]?e.type="number":t[10]?e.type="name":t[11]?e.type="punctuator":t[12]&&(e.type="whitespace"),e}});var Af=N(Ln=>{"use strict";Object.defineProperty(Ln,"__esModule",{value:!0});var vf=Px(),Ax=vx(),wx=mn();function oY(){return typeof process=="object"&&(process.env.FORCE_COLOR==="0"||process.env.FORCE_COLOR==="false")?!1:vf.isColorSupported}var jo=(t,e)=>r=>t(e(r));function kx(t){return{keyword:t.cyan,capitalized:t.yellow,jsxIdentifier:t.yellow,punctuator:t.yellow,number:t.magenta,string:t.green,regex:t.magenta,comment:t.gray,invalid:jo(jo(t.white,t.bgRed),t.bold),gutter:t.gray,marker:jo(t.red,t.bold),message:jo(t.red,t.bold),reset:t.reset}}var lY=kx(vf.createColors(!0)),cY=kx(vf.createColors(!1));function Nx(t){return t?lY:cY}var uY=new Set(["as","async","from","get","of","set"]),pY=/\r\n|[\n\r\u2028\u2029]/,fY=/^[()[\]{}]$/,Ox;{let t=/^[a-z][\w-]*$/i,e=function(r,i,s){if(r.type==="name"){if(wx.isKeyword(r.value)||wx.isStrictReservedWord(r.value,!0)||uY.has(r.value))return"keyword";if(t.test(r.value)&&(s[i-1]==="<"||s.slice(i-2,i)==="</"))return"jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return"capitalized"}return r.type==="punctuator"&&fY.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};Ox=function*(r){let i;for(;i=Ax.default.exec(r);){let s=Ax.matchToToken(i);yield{type:e(s,i.index,r),value:s.value}}}}function _x(t){if(t==="")return"";let e=Nx(!0),r="";for(let{type:i,value:s}of Ox(t))i in e?r+=s.split(pY).map(n=>e[i](n)).join(`
29
+ `):r+=s;return r}var Cx=!1,Ix=/\r\n|[\n\r\u2028\u2029]/;function hY(t,e,r){let i=Object.assign({column:0,line:-1},t.start),s=Object.assign({},i,t.end),{linesAbove:n=2,linesBelow:a=3}=r||{},o=i.line,l=i.column,c=s.line,u=s.column,d=Math.max(o-(n+1),0),x=Math.min(e.length,c+a);o===-1&&(d=0),c===-1&&(x=e.length);let E=c-o,v={};if(E)for(let A=0;A<=E;A++){let I=A+o;if(!l)v[I]=!0;else if(A===0){let O=e[I-1].length;v[I]=[l,O-l+1]}else if(A===E)v[I]=[0,u];else{let O=e[I-A].length;v[I]=[0,O]}}else l===u?l?v[o]=[l,0]:v[o]=!0:v[o]=[l,u-l];return{start:d,end:x,markerLines:v}}function Dx(t,e,r={}){let i=r.forceColor||oY()&&r.highlightCode,s=Nx(i),n=t.split(Ix),{start:a,end:o,markerLines:l}=hY(e,n,r),c=e.start&&typeof e.start.column=="number",u=String(o).length,x=(i?_x(t):t).split(Ix,o).slice(a,o).map((E,v)=>{let A=a+1+v,O=` ${` ${A}`.slice(-u)} |`,j=l[A],q=!l[A+1];if(j){let F="";if(Array.isArray(j)){let U=E.slice(0,Math.max(j[0]-1,0)).replace(/[^\t]/g," "),xe=j[1]||1;F=[`
30
+ `,s.gutter(O.replace(/\d/g," "))," ",U,s.marker("^").repeat(xe)].join(""),q&&r.message&&(F+=" "+s.message(r.message))}return[s.marker(">"),s.gutter(O),E.length>0?` ${E}`:"",F].join("")}else return` ${s.gutter(O)}${E.length>0?` ${E}`:""}`}).join(`
31
+ `);return r.message&&!c&&(x=`${" ".repeat(u+1)}${r.message}
32
+ ${x}`),i?s.reset(x):x}function dY(t,e,r,i={}){if(!Cx){Cx=!0;let n="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(n,"DeprecationWarning");else{let a=new Error(n);a.name="DeprecationWarning",console.warn(new Error(n))}}return r=Math.max(r,0),Dx(t,{start:{column:r,line:e}},i)}Ln.codeFrameColumns=Dx;Ln.default=dY;Ln.highlight=_x});var Lx=N(Ro=>{"use strict";Object.defineProperty(Ro,"__esModule",{value:!0});Ro.hooks=void 0;var Gae=Ro.hooks=[function(t,e){if(t.key==="test"&&(e.isWhile()||e.isSwitchCase())||t.key==="declaration"&&e.isExportDeclaration()||t.key==="body"&&e.isLabeledStatement()||t.listKey==="declarations"&&e.isVariableDeclaration()&&e.node.declarations.length===1||t.key==="expression"&&e.isExpressionStatement())return e.remove(),!0},function(t,e){if(e.isSequenceExpression()&&e.node.expressions.length===1)return e.replaceWith(e.node.expressions[0]),!0},function(t,e){if(e.isBinary())return t.key==="left"?e.replaceWith(e.node.right):e.replaceWith(e.node.left),!0},function(t,e){if(e.isIfStatement()&&t.key==="consequent"||t.key==="body"&&(e.isLoop()||e.isArrowFunctionExpression()))return t.replaceWith({type:"BlockStatement",body:[]}),!0}]});var qo=N(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi._assertUnremoved=Rx;hi._callRemovalHooks=Bx;hi._markRemoved=wf;hi._remove=jx;hi._removeFromScope=Fx;hi.remove=EY;var mY=Lx(),yY=Bi(),TY=Cf(),Mx=zr(),xY=Ne(),gY=Uo(),bY=Tr(),{getBindingIdentifiers:SY}=xY;function EY(){var t;if(Rx.call(this),bY.resync.call(this),Bx.call(this)){wf.call(this);return}(t=this.opts)!=null&&t.noScope||Fx.call(this),this.shareCommentsWithSiblings(),jx.call(this),wf.call(this)}function Fx(){let t=SY(this.node,!1,!1,!0);Object.keys(t).forEach(e=>this.scope.removeBinding(e))}function Bx(){if(this.parentPath){for(let t of mY.hooks)if(t(this,this.parentPath))return!0}}function jx(){Array.isArray(this.container)?(this.container.splice(this.key,1),gY.updateSiblingKeys.call(this,this.key,-1)):TY._replaceWith.call(this,null)}function wf(){if(this._traverseFlags|=Mx.SHOULD_SKIP|Mx.REMOVED,this.parent){var t;(t=(0,yY.getCachedPaths)(this))==null||t.delete(this.node)}this.node=null}function Rx(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}});var Ux=N($o=>{"use strict";Object.defineProperty($o,"__esModule",{value:!0});$o.default=void 0;var qx=Ne(),PY=qx,{react:vY}=qx,{cloneNode:AY,jsxExpressionContainer:wY,variableDeclaration:CY,variableDeclarator:IY}=PY,kY={ReferencedIdentifier(t,e){if(t.isJSXIdentifier()&&vY.isCompatTag(t.node.name)&&!t.parentPath.isJSXMemberExpression())return;if(t.node.name==="this"){let i=t.scope;do if(i.path.isFunction()&&!i.path.isArrowFunctionExpression())break;while(i=i.parent);i&&e.breakOnScopePaths.push(i.path)}let r=t.scope.getBinding(t.node.name);if(r){for(let i of r.constantViolations)if(i.scope!==r.path.scope){e.mutableBinding=!0,t.stop();return}r===e.scope.getBinding(t.node.name)&&(e.bindings[t.node.name]=r)}}},If=class{constructor(e,r){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=r,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(let r of Object.keys(this.bindings)){let i=this.bindings[r];if(!e.bindingIdentifierEquals(r,i.identifier))return!1}return!0}getCompatibleScopes(){let e=this.path.scope;do{if(this.isCompatibleScope(e))this.scopes.push(e);else break;if(this.breakOnScopePaths.includes(e.path))break}while(e=e.parent)}getAttachmentPath(){let e=this._getAttachmentPath();if(!e)return;let r=e.scope;if(r.path===e&&(r=e.scope.parent),r.path.isProgram()||r.path.isFunction())for(let i of Object.keys(this.bindings)){if(!r.hasOwnBinding(i))continue;let s=this.bindings[i];if(s.kind==="param"||s.path.parentKey==="params")continue;if(this.getAttachmentParentForPath(s.path).key>=e.key){this.attachAfter=!0,e=s.path;for(let a of s.constantViolations)this.getAttachmentParentForPath(a).key>e.key&&(e=a)}}return e}_getAttachmentPath(){let r=this.scopes.pop();if(r){if(r.path.isFunction())if(this.hasOwnParamBindings(r)){if(this.scope===r)return;let i=r.path.get("body").get("body");for(let s=0;s<i.length;s++)if(!i[s].node._blockHoist)return i[s]}else return this.getNextScopeAttachmentParent();else if(r.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let e=this.scopes.pop();if(e)return this.getAttachmentParentForPath(e.path)}getAttachmentParentForPath(e){do if(!e.parentPath||Array.isArray(e.container)&&e.isStatement())return e;while(e=e.parentPath)}hasOwnParamBindings(e){for(let r of Object.keys(this.bindings)){if(!e.hasOwnBinding(r))continue;let i=this.bindings[r];if(i.kind==="param"&&i.constant)return!0}return!1}run(){if(this.path.traverse(kY,this),this.mutableBinding)return;this.getCompatibleScopes();let e=this.getAttachmentPath();if(!e||e.getFunctionParent()===this.path.getFunctionParent())return;let r=e.scope.generateUidIdentifier("ref"),i=IY(r,this.path.node),s=this.attachAfter?"insertAfter":"insertBefore",[n]=e[s]([e.isVariableDeclarator()?i:CY("var",[i])]),a=this.path.parentPath;return a.isJSXElement()&&this.path.container===a.node.children&&(r=wY(r)),this.path.replaceWith(AY(r)),e.isVariableDeclarator()?n.get("init"):n.get("declarations.0.init")}};$o.default=If});var Uo=N(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur._containerInsert=Df;ur._containerInsertAfter=Wx;ur._containerInsertBefore=Lf;ur._verifyNodeList=Mn;ur.insertAfter=YY;ur.insertBefore=WY;ur.pushContainer=JY;ur.unshiftContainer=zY;ur.updateSiblingKeys=zx;var NY=Bi(),_f=zr(),kf=Tr(),Ko=qo(),OY=Ne(),_Y=Ux(),{arrowFunctionExpression:DY,assertExpression:LY,assignmentExpression:MY,blockStatement:$x,callExpression:FY,cloneNode:Nf,expressionStatement:Of,isAssignmentExpression:BY,isCallExpression:jY,isExportNamedDeclaration:Kx,isExpression:RY,isIdentifier:qY,isSequenceExpression:UY,isSuper:$Y,thisExpression:KY}=OY;function WY(t){Ko._assertUnremoved.call(this);let e=Mn.call(this,t),{parentPath:r,parent:i}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||Kx(i)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(e);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&this.key==="init")return this.node&&e.push(this.node),this.replaceExpressionWithStatements(e);if(Array.isArray(this.container))return Lf.call(this,e);if(this.isStatementOrBlock()){let s=this.node,n=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith($x(n?[s]:[])),this.unshiftContainer("body",e)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function Df(t,e){zx.call(this,t,e.length);let r=[];this.container.splice(t,0,...e);for(let n=0;n<e.length;n++){var i;let a=t+n,o=this.getSibling(a);r.push(o),(i=this.context)!=null&&i.queue&&kf.pushContext.call(o,this.context)}let s=kf._getQueueContexts.call(this);for(let n of r){kf.setScope.call(n),n.debug("Inserted.");for(let a of s)a.maybeQueue(n,!0)}return r}function Lf(t){return Df.call(this,this.key,t)}function Wx(t){return Df.call(this,this.key+1,t)}var Vx=t=>t[t.length-1];function Yx(t){return UY(t.parent)&&(Vx(t.parent.expressions)!==t.node||Yx(t.parentPath))}function VY(t,e){if(!BY(t)||!qY(t.left))return!1;let r=e.getBlockParent();return r.hasOwnBinding(t.left.name)&&r.getOwnBinding(t.left.name).constantViolations.length<=1}function YY(t){if(Ko._assertUnremoved.call(this),this.isSequenceExpression())return Vx(this.get("expressions")).insertAfter(t);let e=Mn.call(this,t),{parentPath:r,parent:i}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||Kx(i)||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(e.map(s=>RY(s)?Of(s):s));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&this.key==="init"){let s=this;if(s.node){let n=s.node,{scope:a}=this;if(a.path.isPattern())return LY(n),s.replaceWith(FY(DY([],n),[])),s.get("callee.body").insertAfter(e),[s];if(Yx(s))e.unshift(n);else if(jY(n)&&$Y(n.callee))e.unshift(n),e.push(KY());else if(VY(n,a))e.unshift(n),e.push(Nf(n.left));else if(a.isPure(n,!0))e.push(n);else{r.isMethod({computed:!0,key:n})&&(a=a.parent);let o=a.generateDeclaredUidIdentifier();e.unshift(Of(MY("=",Nf(o),n))),e.push(Of(Nf(o)))}}return this.replaceExpressionWithStatements(e)}else{if(Array.isArray(this.container))return Wx.call(this,e);if(this.isStatementOrBlock()){let s=this.node,n=s&&(!this.isExpressionStatement()||s.expression!=null);return this.replaceWith($x(n?[s]:[])),this.pushContainer("body",e)}else throw new Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}}function zx(t,e){if(!this.parent)return;let r=(0,NY.getCachedPaths)(this);if(r)for(let[,i]of r)typeof i.key=="number"&&i.container===this.container&&i.key>=t&&(i.key+=e)}function Mn(t){if(!t)return[];Array.isArray(t)||(t=[t]);for(let e=0;e<t.length;e++){let r=t[e],i;if(r?typeof r!="object"?i="contains a non-object node":r.type?r instanceof _f.default&&(i="has a NodePath when it expected a raw object"):i="without a type":i="has falsy node",i){let s=Array.isArray(r)?"array":typeof r;throw new Error(`Node list ${i} with the index of ${e} and type of ${s}`)}}return t}function zY(t,e){Ko._assertUnremoved.call(this),e=Mn.call(this,e);let r=_f.default.get({parentPath:this,parent:this.node,container:this.node[t],listKey:t,key:0}).setContext(this.context);return Lf.call(r,e)}function JY(t,e){Ko._assertUnremoved.call(this);let r=Mn.call(this,e),i=this.node[t];return _f.default.get({parentPath:this,parent:this.node,container:i,listKey:t,key:i.length}).setContext(this.context).replaceWithMultiple(r)}ur.hoist=function(e=this.scope){return new _Y.default(this,e).run()}});var Cf=N(di=>{"use strict";Object.defineProperty(di,"__esModule",{value:!0});di._replaceWith=tg;di.replaceExpressionWithStatements=Ez;di.replaceInline=Pz;di.replaceWith=Sz;di.replaceWithMultiple=gz;di.replaceWithSourceString=bz;var XY=Af(),Ff=In(),HY=zr(),Qx=Bi(),Bf=Uo(),GY=Fa(),QY=Ne(),ws=Tr(),{FUNCTION_TYPES:Jx,arrowFunctionExpression:ZY,assignmentExpression:Zx,awaitExpression:ez,blockStatement:tz,buildUndefinedNode:Mf,callExpression:rz,cloneNode:jf,conditionalExpression:iz,expressionStatement:sz,getBindingIdentifiers:nz,identifier:az,inheritLeadingComments:oz,inheritTrailingComments:lz,inheritsComments:cz,isBlockStatement:uz,isEmptyStatement:Xx,isExpression:eg,isExpressionStatement:pz,isIfStatement:fz,isProgram:hz,isStatement:dz,isVariableDeclaration:mz,removeComments:yz,returnStatement:Hx,sequenceExpression:Tz,validate:Gx,yieldExpression:xz}=QY;function gz(t){var e;ws.resync.call(this),t=Bf._verifyNodeList.call(this,t),oz(t[0],this.node),lz(t[t.length-1],this.node),(e=(0,Qx.getCachedPaths)(this))==null||e.delete(this.node),this.node=this.container[this.key]=null;let r=this.insertAfter(t);return this.node?this.requeue():this.remove(),r}function bz(t){ws.resync.call(this);let e;try{t=`(${t})`,e=(0,GY.parse)(t)}catch(i){let s=i.loc;throw s&&(i.message+=` - make sure this is an expression.
33
+ `+(0,XY.codeFrameColumns)(t,{start:{line:s.line,column:s.column+1}}),i.code="BABEL_REPLACE_SOURCE_ERROR"),i}let r=e.program.body[0].expression;return Ff.default.removeProperties(r),this.replaceWith(r)}function Sz(t){if(ws.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let e=t instanceof HY.default?t.node:t;if(!e)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===e)return[this];if(this.isProgram()&&!hz(e))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(e))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof e=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let r="";if(this.isNodeType("Statement")&&eg(e)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e)&&!this.parentPath.isExportDefaultDeclaration()&&(e=sz(e),r="expression"),this.isNodeType("Expression")&&dz(e)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e))return this.replaceExpressionWithStatements([e]);let i=this.node;return i&&(cz(e,i),yz(i)),tg.call(this,e),this.type=e.type,ws.setScope.call(this),this.requeue(),[r?this.get(r):this]}function tg(t){var e;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?Gx(this.parent,this.key,[t]):Gx(this.parent,this.key,t),this.debug(`Replace with ${t?.type}`),(e=(0,Qx.getCachedPaths)(this))==null||e.set(t,this).delete(this.node),this.node=this.container[this.key]=t}function Ez(t){ws.resync.call(this);let e=[],r=Wo(t,e);if(r){for(let x of e)this.scope.push({id:x});return this.replaceWith(r)[0].get("expressions")}let i=this.getFunctionParent(),s=i?.node.async,n=i?.node.generator,a=ZY([],tz(t));this.replaceWith(rz(a,[]));let o=this.get("callee");o.get("body").scope.hoistVariables(x=>this.scope.push({id:x}));let l=o.getCompletionRecords();for(let x of l){if(!x.isExpressionStatement())continue;let E=x.findParent(v=>v.isLoop());if(E){let v=E.getData("expressionReplacementReturnUid");v?v=az(v.name):(v=o.scope.generateDeclaredUidIdentifier("ret"),o.get("body").pushContainer("body",Hx(jf(v))),E.setData("expressionReplacementReturnUid",v)),x.get("expression").replaceWith(Zx("=",jf(v),x.node.expression))}else x.replaceWith(Hx(x.node.expression))}o.arrowFunctionToExpression();let c=o,u=s&&Ff.default.hasType(this.get("callee.body").node,"AwaitExpression",Jx),d=n&&Ff.default.hasType(this.get("callee.body").node,"YieldExpression",Jx);return u&&(c.set("async",!0),d||this.replaceWith(ez(this.node))),d&&(c.set("generator",!0),this.replaceWith(xz(this.node,!0))),c.get("body.body")}function Wo(t,e){let r=[],i=!0;for(let s of t)if(Xx(s)||(i=!1),eg(s))r.push(s);else if(pz(s))r.push(s.expression);else if(mz(s)){if(s.kind!=="var")return;for(let n of s.declarations){let a=nz(n);for(let o of Object.keys(a))e.push(jf(a[o]));n.init&&r.push(Zx("=",n.id,n.init))}i=!0}else if(fz(s)){let n=s.consequent?Wo([s.consequent],e):Mf(),a=s.alternate?Wo([s.alternate],e):Mf();if(!n||!a)return;r.push(iz(s.test,n,a))}else if(uz(s)){let n=Wo(s.body,e);if(!n)return;r.push(n)}else if(Xx(s))t.indexOf(s)===0&&(i=!0);else return;return i&&r.push(Mf()),r.length===1?r[0]:Tz(r)}function Pz(t){if(ws.resync.call(this),Array.isArray(t))if(Array.isArray(this.container)){t=Bf._verifyNodeList.call(this,t);let e=Bf._containerInsertAfter.call(this,t);return this.remove(),e}else return this.replaceWithMultiple(t);else return this.replaceWith(t)}});var ng=N(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.evaluate=Oz;Vo.evaluateTruthy=kz;var vz=["Number","String","Math"],Az=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],wz=["random"];function rg(t){return vz.includes(t)}function Cz(t){return Az.includes(t)}function Iz(t){return wz.includes(t)}function kz(){let t=this.evaluate();if(t.confident)return!!t.value}function gr(t,e){e.confident&&(e.deoptPath=t,e.confident=!1)}var ig=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function Rt(t,e){let{node:r}=t,{seen:i}=e;if(i.has(r)){let s=i.get(r);if(s.resolved)return s.value;gr(t,e);return}else{let s={resolved:!1};i.set(r,s);let n=Nz(t,e);return e.confident&&(s.resolved=!0,s.value=n),n}}function Nz(t,e){if(e.confident){if(t.isSequenceExpression()){let i=t.get("expressions");return Rt(i[i.length-1],e)}if(t.isStringLiteral()||t.isNumericLiteral()||t.isBooleanLiteral())return t.node.value;if(t.isNullLiteral())return null;if(t.isTemplateLiteral())return sg(t,t.node.quasis,e);if(t.isTaggedTemplateExpression()&&t.get("tag").isMemberExpression()){let i=t.get("tag.object"),{node:{name:s}}=i,n=t.get("tag.property");if(i.isIdentifier()&&s==="String"&&!t.scope.getBinding(s)&&n.isIdentifier()&&n.node.name==="raw")return sg(t,t.node.quasi.quasis,e,!0)}if(t.isConditionalExpression()){let i=Rt(t.get("test"),e);return e.confident?Rt(i?t.get("consequent"):t.get("alternate"),e):void 0}if(t.isExpressionWrapper())return Rt(t.get("expression"),e);if(t.isMemberExpression()&&!t.parentPath.isCallExpression({callee:t.node})){let i=t.get("property"),s=t.get("object");if(s.isLiteral()){let n=s.node.value,a=typeof n,o=null;if(t.node.computed){if(o=Rt(i,e),!e.confident)return}else i.isIdentifier()&&(o=i.node.name);if((a==="number"||a==="string")&&o!=null&&(typeof o=="number"||typeof o=="string"))return n[o]}}if(t.isReferencedIdentifier()){let i=t.scope.getBinding(t.node.name);if(i){if(i.constantViolations.length>0||t.node.start<i.path.node.end){gr(i.path,e);return}let o=i.path.scope;if(i.kind==="var"&&o!==i.scope){let l=!o.path.parentPath.isBlockStatement();for(let c=o.parent;c;c=c.parent){var r;if(c===t.scope){if(l){gr(i.path,e);return}break}(r=c.path.parentPath)!=null&&r.isBlockStatement()&&(l=!0)}}if(i.hasValue)return i.value}let s=t.node.name;if(ig.has(s)){if(!i)return ig.get(s);gr(i.path,e);return}let n=t.resolve();if(n===t){gr(t,e);return}let a=Rt(n,e);if(typeof a=="object"&&a!==null&&i.references>1){gr(n,e);return}return a}if(t.isUnaryExpression({prefix:!0})){if(t.node.operator==="void")return;let i=t.get("argument");if(t.node.operator==="typeof"&&(i.isFunction()||i.isClass()))return"function";let s=Rt(i,e);if(!e.confident)return;switch(t.node.operator){case"!":return!s;case"+":return+s;case"-":return-s;case"~":return~s;case"typeof":return typeof s}}if(t.isArrayExpression()){let i=[],s=t.get("elements");for(let n of s){let a=n.evaluate();if(a.confident)i.push(a.value);else{gr(a.deopt,e);return}}return i}if(t.isObjectExpression()){let i={},s=t.get("properties");for(let n of s){if(n.isObjectMethod()||n.isSpreadElement()){gr(n,e);return}let a=n.get("key"),o;if(n.node.computed){if(o=a.evaluate(),!o.confident){gr(o.deopt,e);return}o=o.value}else a.isIdentifier()?o=a.node.name:o=a.node.value;let c=n.get("value").evaluate();if(!c.confident){gr(c.deopt,e);return}c=c.value,i[o]=c}return i}if(t.isLogicalExpression()){let i=e.confident,s=Rt(t.get("left"),e),n=e.confident;e.confident=i;let a=Rt(t.get("right"),e),o=e.confident;switch(t.node.operator){case"||":return e.confident=n&&(!!s||o),e.confident?s||a:void 0;case"&&":return e.confident=n&&(!s||o),e.confident?s&&a:void 0;case"??":return e.confident=n&&(s!=null||o),e.confident?s??a:void 0}}if(t.isBinaryExpression()){let i=Rt(t.get("left"),e);if(!e.confident)return;let s=Rt(t.get("right"),e);if(!e.confident)return;switch(t.node.operator){case"-":return i-s;case"+":return i+s;case"/":return i/s;case"*":return i*s;case"%":return i%s;case"**":return Math.pow(i,s);case"<":return i<s;case">":return i>s;case"<=":return i<=s;case">=":return i>=s;case"==":return i==s;case"!=":return i!=s;case"===":return i===s;case"!==":return i!==s;case"|":return i|s;case"&":return i&s;case"^":return i^s;case"<<":return i<<s;case">>":return i>>s;case">>>":return i>>>s}}if(t.isCallExpression()){let i=t.get("callee"),s,n;if(i.isIdentifier()&&!t.scope.getBinding(i.node.name)&&(rg(i.node.name)||Cz(i.node.name))&&(n=global[i.node.name]),i.isMemberExpression()){let a=i.get("object"),o=i.get("property");if(a.isIdentifier()&&o.isIdentifier()&&rg(a.node.name)&&!Iz(o.node.name)){s=global[a.node.name];let l=o.node.name;hasOwnProperty.call(s,l)&&(n=s[l])}if(a.isLiteral()&&o.isIdentifier()){let l=typeof a.node.value;(l==="string"||l==="number")&&(s=a.node.value,n=s[o.node.name])}}if(n){let a=t.get("arguments").map(o=>Rt(o,e));return e.confident?n.apply(s,a):void 0}}gr(t,e)}}function sg(t,e,r,i=!1){let s="",n=0,a=t.isTemplateLiteral()?t.get("expressions"):t.get("quasi.expressions");for(let o of e){if(!r.confident)break;s+=i?o.value.raw:o.value.cooked;let l=a[n++];l&&(s+=String(Rt(l,r)))}if(r.confident)return s}function Oz(){let t={confident:!0,deoptPath:null,seen:new Map},e=Rt(this,t);return t.confident||(e=void 0),{confident:t.confident,deopt:t.deoptPath,value:e}}});var ag=N(pr=>{"use strict";Object.defineProperty(pr,"__esModule",{value:!0});pr.statements=pr.statement=pr.smart=pr.program=pr.expression=void 0;var _z=Ne(),{assertExpressionStatement:Dz}=_z;function Rf(t){return{code:e=>`/* @babel/template */;
34
+ ${e}`,validate:()=>{},unwrap:e=>t(e.program.body.slice(1))}}var soe=pr.smart=Rf(t=>t.length>1?t:t[0]),noe=pr.statements=Rf(t=>t),aoe=pr.statement=Rf(t=>{if(t.length===0)throw new Error("Found nothing to return.");if(t.length>1)throw new Error("Found multiple statements but wanted one");return t[0]}),Lz=pr.expression={code:t=>`(
35
+ ${t}
36
+ )`,validate:t=>{if(t.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(Lz.unwrap(t).start===0)throw new Error("Parse result included parens.")},unwrap:({program:t})=>{let[e]=t.body;return Dz(e),e.expression}},ooe=pr.program={code:t=>t,validate:()=>{},unwrap:t=>t.program}});var Yo=N(Fn=>{"use strict";Object.defineProperty(Fn,"__esModule",{value:!0});Fn.merge=Bz;Fn.normalizeReplacements=Rz;Fn.validate=jz;var Mz=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function Fz(t,e){if(t==null)return{};var r={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(e.indexOf(i)!==-1)continue;r[i]=t[i]}return r}function Bz(t,e){let{placeholderWhitelist:r=t.placeholderWhitelist,placeholderPattern:i=t.placeholderPattern,preserveComments:s=t.preserveComments,syntacticPlaceholders:n=t.syntacticPlaceholders}=e;return{parser:Object.assign({},t.parser,e.parser),placeholderWhitelist:r,placeholderPattern:i,preserveComments:s,syntacticPlaceholders:n}}function jz(t){if(t!=null&&typeof t!="object")throw new Error("Unknown template options.");let e=t||{},{placeholderWhitelist:r,placeholderPattern:i,preserveComments:s,syntacticPlaceholders:n}=e,a=Fz(e,Mz);if(r!=null&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(i!=null&&!(i instanceof RegExp)&&i!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(s!=null&&typeof s!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(n!=null&&typeof n!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(n===!0&&(r!=null||i!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:a,placeholderWhitelist:r||void 0,placeholderPattern:i??void 0,preserveComments:s??void 0,syntacticPlaceholders:n??void 0}}function Rz(t){if(Array.isArray(t))return t.reduce((e,r,i)=>(e["$"+i]=r,e),{});if(typeof t=="object"||t==null)return t||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")}});var Uf=N(qf=>{"use strict";Object.defineProperty(qf,"__esModule",{value:!0});qf.default=Zz;var qz=Ne(),Uz=Fa(),$z=Af(),{isCallExpression:Kz,isExpressionStatement:Wz,isFunction:Vz,isIdentifier:Yz,isJSXIdentifier:zz,isNewExpression:Jz,isPlaceholder:zo,isStatement:Xz,isStringLiteral:og,removePropertiesDeep:Hz,traverse:Gz}=qz,Qz=/^[_$A-Z0-9]+$/;function Zz(t,e,r){let{placeholderWhitelist:i,placeholderPattern:s,preserveComments:n,syntacticPlaceholders:a}=r,o=rJ(e,r.parser,a);Hz(o,{preserveComments:n}),t.validate(o);let l={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:i,placeholderPattern:s,syntacticPlaceholders:a};return Gz(o,eJ,l),Object.assign({ast:o},l.syntactic.placeholders.length?l.syntactic:l.legacy)}function eJ(t,e,r){var i;let s,n=r.syntactic.placeholders.length>0;if(zo(t)){if(r.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");s=t.name.name,n=!0}else{if(n||r.syntacticPlaceholders)return;if(Yz(t)||zz(t))s=t.name;else if(og(t))s=t.value;else return}if(n&&(r.placeholderPattern!=null||r.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!n&&(r.placeholderPattern===!1||!(r.placeholderPattern||Qz).test(s))&&!((i=r.placeholderWhitelist)!=null&&i.has(s)))return;e=e.slice();let{node:a,key:o}=e[e.length-1],l;og(t)||zo(t,{expectedNode:"StringLiteral"})?l="string":Jz(a)&&o==="arguments"||Kz(a)&&o==="arguments"||Vz(a)&&o==="params"?l="param":Wz(a)&&!zo(t)?(l="statement",e=e.slice(0,-1)):Xz(t)&&zo(t)?l="statement":l="other";let{placeholders:c,placeholderNames:u}=n?r.syntactic:r.legacy;c.push({name:s,type:l,resolve:d=>tJ(d,e),isDuplicate:u.has(s)}),u.add(s)}function tJ(t,e){let r=t;for(let n=0;n<e.length-1;n++){let{key:a,index:o}=e[n];o===void 0?r=r[a]:r=r[a][o]}let{key:i,index:s}=e[e.length-1];return{parent:r,key:i,index:s}}function rJ(t,e,r){let i=(e.plugins||[]).slice();r!==!1&&i.push("placeholders"),e=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},e,{plugins:i});try{return(0,Uz.parse)(t,e)}catch(s){let n=s.loc;throw n&&(s.message+=`
37
+ `+(0,$z.codeFrameColumns)(t,{start:n}),s.code="BABEL_TEMPLATE_PARSE_ERROR"),s}}});var Vf=N(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.default=lJ;var iJ=Ne(),{blockStatement:sJ,cloneNode:Kf,emptyStatement:nJ,expressionStatement:$f,identifier:Jo,isStatement:lg,isStringLiteral:aJ,stringLiteral:oJ,validate:cg}=iJ;function lJ(t,e){let r=Kf(t.ast);return e&&(t.placeholders.forEach(i=>{if(!hasOwnProperty.call(e,i.name)){let s=i.name;throw new Error(`Error: No substitution given for "${s}". If this is not meant to be a
38
+ placeholder you may want to consider passing one of the following options to @babel/template:
39
+ - { placeholderPattern: false, placeholderWhitelist: new Set(['${s}'])}
40
+ - { placeholderPattern: /^${s}$/ }`)}}),Object.keys(e).forEach(i=>{if(!t.placeholderNames.has(i))throw new Error(`Unknown substitution "${i}" given`)})),t.placeholders.slice().reverse().forEach(i=>{try{var s;cJ(i,r,(s=e&&e[i.name])!=null?s:null)}catch(n){throw n.message=`@babel/template placeholder "${i.name}": ${n.message}`,n}}),r}function cJ(t,e,r){t.isDuplicate&&(Array.isArray(r)?r=r.map(o=>Kf(o)):typeof r=="object"&&(r=Kf(r)));let{parent:i,key:s,index:n}=t.resolve(e);if(t.type==="string"){if(typeof r=="string"&&(r=oJ(r)),!r||!aJ(r))throw new Error("Expected string substitution")}else if(t.type==="statement")n===void 0?r?Array.isArray(r)?r=sJ(r):typeof r=="string"?r=$f(Jo(r)):lg(r)||(r=$f(r)):r=nJ():r&&!Array.isArray(r)&&(typeof r=="string"&&(r=Jo(r)),lg(r)||(r=$f(r)));else if(t.type==="param"){if(typeof r=="string"&&(r=Jo(r)),n===void 0)throw new Error("Assertion failure.")}else if(typeof r=="string"&&(r=Jo(r)),Array.isArray(r))throw new Error("Cannot replace single expression with an array.");function a(o,l,c){let u=o[l];o[l]=c,(u.type==="Identifier"||u.type==="Placeholder")&&(u.typeAnnotation&&(c.typeAnnotation=u.typeAnnotation),u.optional&&(c.optional=u.optional),u.decorators&&(c.decorators=u.decorators))}if(n===void 0)cg(i,s,r),a(i,s,r);else{let o=i[s].slice();t.type==="statement"||t.type==="param"?r==null?o.splice(n,1):Array.isArray(r)?o.splice(n,1,...r):a(o,n,r):a(o,n,r),cg(i,s,o),i[s]=o}}});var ug=N(Yf=>{"use strict";Object.defineProperty(Yf,"__esModule",{value:!0});Yf.default=hJ;var uJ=Yo(),pJ=Uf(),fJ=Vf();function hJ(t,e,r){e=t.code(e);let i;return s=>{let n=(0,uJ.normalizeReplacements)(s);return i||(i=(0,pJ.default)(t,e,r)),t.unwrap((0,fJ.default)(i,n))}}});var pg=N(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});zf.default=TJ;var dJ=Yo(),mJ=Uf(),yJ=Vf();function TJ(t,e,r){let{metadata:i,names:s}=xJ(t,e,r);return n=>{let a={};return n.forEach((o,l)=>{a[s[l]]=o}),o=>{let l=(0,dJ.normalizeReplacements)(o);return l&&Object.keys(l).forEach(c=>{if(hasOwnProperty.call(a,c))throw new Error("Unexpected replacement overlap.")}),t.unwrap((0,yJ.default)(i,l?Object.assign(l,a):a))}}}function xJ(t,e,r){let i="BABEL_TPL$",s=e.join("");do i="$$"+i;while(s.includes(i));let{names:n,code:a}=gJ(e,i);return{metadata:(0,mJ.default)(t,t.code(a),{parser:r.parser,placeholderWhitelist:new Set(n.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders}),names:n}}function gJ(t,e){let r=[],i=t[0];for(let s=1;s<t.length;s++){let n=`${e}${s-1}`;r.push(n),i+=n+t[s]}return{names:r,code:i}}});var Tg=N(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.default=yg;var _r=Yo(),fg=ug(),hg=pg(),dg=(0,_r.validate)({placeholderPattern:!1});function yg(t,e){let r=new WeakMap,i=new WeakMap,s=e||(0,_r.validate)(null);return Object.assign((n,...a)=>{if(typeof n=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return mg((0,fg.default)(t,n,(0,_r.merge)(s,(0,_r.validate)(a[0]))))}else if(Array.isArray(n)){let o=r.get(n);return o||(o=(0,hg.default)(t,n,s),r.set(n,o)),mg(o(a))}else if(typeof n=="object"&&n){if(a.length>0)throw new Error("Unexpected extra params.");return yg(t,(0,_r.merge)(s,(0,_r.validate)(n)))}throw new Error(`Unexpected template param ${typeof n}`)},{ast:(n,...a)=>{if(typeof n=="string"){if(a.length>1)throw new Error("Unexpected extra params.");return(0,fg.default)(t,n,(0,_r.merge)((0,_r.merge)(s,(0,_r.validate)(a[0])),dg))()}else if(Array.isArray(n)){let o=i.get(n);return o||(o=(0,hg.default)(t,n,(0,_r.merge)(s,dg)),i.set(n,o)),o(a)()}throw new Error(`Unexpected template param ${typeof n}`)}})}function mg(t){let e="";try{throw new Error}catch(r){r.stack&&(e=r.stack.split(`
41
+ `).slice(3).join(`
42
+ `))}return r=>{try{return t(r)}catch(i){throw i.stack+=`
43
+ =============
44
+ ${e}`,i}}}});var xg=N(zt=>{"use strict";Object.defineProperty(zt,"__esModule",{value:!0});zt.statements=zt.statement=zt.smart=zt.program=zt.expression=zt.default=void 0;var Bn=ag(),jn=Tg(),Xf=zt.smart=(0,jn.default)(Bn.smart),bJ=zt.statement=(0,jn.default)(Bn.statement),SJ=zt.statements=(0,jn.default)(Bn.statements),EJ=zt.expression=(0,jn.default)(Bn.expression),PJ=zt.program=(0,jn.default)(Bn.program),moe=zt.default=Object.assign(Xf.bind(void 0),{smart:Xf,statement:bJ,statements:SJ,expression:EJ,program:PJ,ast:Xf.ast})});var wg=N(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.arrowFunctionToExpression=ZJ;Jr.ensureBlock=HJ;Jr.ensureFunctionName=pX;Jr.splitExportDeclaration=cX;Jr.toComputedKey=XJ;Jr.unwrapFunctionEnvironment=GJ;var vJ=Ne(),AJ=xg(),Qf=uo(),wJ=Tr(),{arrowFunctionExpression:Zf,assignmentExpression:Wi,binaryExpression:Hf,blockStatement:CJ,callExpression:Cs,conditionalExpression:IJ,expressionStatement:Sg,identifier:Xe,isIdentifier:kJ,jsxIdentifier:NJ,logicalExpression:OJ,LOGICAL_OPERATORS:_J,memberExpression:br,metaProperty:DJ,numericLiteral:LJ,objectExpression:MJ,restElement:FJ,returnStatement:BJ,sequenceExpression:jJ,spreadElement:RJ,stringLiteral:Eg,super:Gf,thisExpression:Rn,toExpression:Pg,unaryExpression:qJ,toBindingIdentifierName:UJ,isFunction:$J,isAssignmentPattern:KJ,isRestElement:WJ,getFunctionName:VJ,cloneNode:Vi,variableDeclaration:YJ,variableDeclarator:zJ,exportNamedDeclaration:gg,exportSpecifier:bg,inherits:JJ}=vJ;function XJ(){let t;if(this.isMemberExpression())t=this.node.property;else if(this.isProperty()||this.isMethod())t=this.node.key;else throw new ReferenceError("todo");return this.node.computed||kJ(t)&&(t=Eg(t.name)),t}function HJ(){let t=this.get("body"),e=t.node;if(Array.isArray(t))throw new Error("Can't convert array path to a block statement");if(!e)throw new Error("Can't convert node without a body");if(t.isBlockStatement())return e;let r=[],i="body",s,n;t.isStatement()?(n="body",s=0,r.push(t.node)):(i+=".body.0",this.isFunction()?(s="argument",r.push(BJ(t.node))):(s="expression",r.push(Sg(t.node)))),this.node.body=CJ(r);let a=this.get(i);return wJ.setup.call(t,a,n?a.node[n]:a.node,n,s),this.node}Jr.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};function GJ(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");vg(this)}function QJ(t,e){t.node.type=e}function ZJ({allowInsertArrow:t=!0,allowInsertArrowWithRest:e=t,noNewArrows:r=!(i=>(i=arguments[0])==null?void 0:i.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let i=this;if(!r){var s;i=(s=i.ensureFunctionName(!1))!=null?s:i}let{thisBinding:n,fnPath:a}=vg(i,r,t,e);if(a.ensureBlock(),QJ(a,"FunctionExpression"),!r){let o=n?null:a.scope.generateUidIdentifier("arrowCheckId");return o&&a.parentPath.scope.push({id:o,init:MJ([])}),a.get("body").unshiftContainer("body",Sg(Cs(this.hub.addHelper("newArrowCheck"),[Rn(),Xe(o?o.name:n)]))),a.replaceWith(Cs(br(a.node,Xe("bind")),[o?Xe(o.name):Rn()])),a.get("callee.object")}return a}var eX=(0,Qf.environmentVisitor)({CallExpression(t,{allSuperCalls:e}){t.get("callee").isSuper()&&e.push(t)}});function vg(t,e=!0,r=!0,i=!0){let s,n=t.findParent(E=>E.isArrowFunctionExpression()?(s??(s=E),!1):E.isFunction()||E.isProgram()||E.isClassProperty({static:!1})||E.isClassPrivateProperty({static:!1})),a=n.isClassMethod({kind:"constructor"});if(n.isClassProperty()||n.isClassPrivateProperty())if(s)n=s;else if(r)t.replaceWith(Cs(Zf([],Pg(t.node)),[])),n=t.get("callee"),t=n.get("body");else throw t.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:o,argumentsPaths:l,newTargetPaths:c,superProps:u,superCalls:d}=lX(t);if(a&&d.length>0){if(!r)throw d[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super()` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");if(!i)throw d[0].buildCodeFrameError("When using '@babel/plugin-transform-parameters', it's not possible to compile `super()` in an arrow function with default or rest parameters without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");let E=[];n.traverse(eX,{allSuperCalls:E});let v=nX(n);E.forEach(A=>{let I=Xe(v);I.loc=A.node.callee.loc,A.get("callee").replaceWith(I)})}if(l.length>0){let E=qn(n,"arguments",()=>{let v=()=>Xe("arguments");return n.scope.path.isProgram()?IJ(Hf("===",qJ("typeof",v()),Eg("undefined")),n.scope.buildUndefinedNode(),v()):v()});l.forEach(v=>{let A=Xe(E);A.loc=v.node.loc,v.replaceWith(A)})}if(c.length>0){let E=qn(n,"newtarget",()=>DJ(Xe("new"),Xe("target")));c.forEach(v=>{let A=Xe(E);A.loc=v.node.loc,v.replaceWith(A)})}if(u.length>0){if(!r)throw u[0].buildCodeFrameError("When using '@babel/plugin-transform-arrow-functions', it's not possible to compile `super.prop` in an arrow function without compiling classes.\nPlease add '@babel/plugin-transform-classes' to your Babel configuration.");u.reduce((v,A)=>v.concat(rX(A)),[]).forEach(v=>{let A=v.node.computed?"":v.get("property").node.name,I=v.parentPath,O=I.isAssignmentExpression({left:v.node}),j=I.isCallExpression({callee:v.node}),q=I.isTaggedTemplateExpression({tag:v.node}),F=aX(n,O,A),U=[];if(v.node.computed&&U.push(v.get("property").node),O){let we=I.node.right;U.push(we)}let xe=Cs(Xe(F),U);j?(I.unshiftContainer("arguments",Rn()),v.replaceWith(br(xe,Xe("call"))),o.push(I.get("arguments.0"))):O?I.replaceWith(xe):q?(v.replaceWith(Cs(br(xe,Xe("bind"),!1),[Rn()])),o.push(v.get("arguments.0"))):v.replaceWith(xe)})}let x;return(o.length>0||!e)&&(x=sX(n,a),(e||a&&Ag(n))&&(o.forEach(E=>{let v=E.isJSX()?NJ(x):Xe(x);v.loc=E.node.loc,E.replaceWith(v)}),e||(x=null))),{thisBinding:x,fnPath:t}}function tX(t){return _J.includes(t)}function rX(t){if(t.parentPath.isAssignmentExpression()&&t.parentPath.node.operator!=="="){let r=t.parentPath,i=r.node.operator.slice(0,-1),s=r.node.right,n=tX(i);if(t.node.computed){let a=t.scope.generateDeclaredUidIdentifier("tmp"),o=t.node.object,l=t.node.property;r.get("left").replaceWith(br(o,Wi("=",a,l),!0)),r.get("right").replaceWith(e(n?"=":i,br(o,Xe(a.name),!0),s))}else{let a=t.node.object,o=t.node.property;r.get("left").replaceWith(br(a,o)),r.get("right").replaceWith(e(n?"=":i,br(a,Xe(o.name)),s))}return n?r.replaceWith(OJ(i,r.node.left,r.node.right)):r.node.operator="=",[r.get("left"),r.get("right").get("left")]}else if(t.parentPath.isUpdateExpression()){let r=t.parentPath,i=t.scope.generateDeclaredUidIdentifier("tmp"),s=t.node.computed?t.scope.generateDeclaredUidIdentifier("prop"):null,n=[Wi("=",i,br(t.node.object,s?Wi("=",s,t.node.property):t.node.property,t.node.computed)),Wi("=",br(t.node.object,s?Xe(s.name):t.node.property,t.node.computed),Hf(t.parentPath.node.operator[0],Xe(i.name),LJ(1)))];t.parentPath.node.prefix||n.push(Xe(i.name)),r.replaceWith(jJ(n));let a=r.get("expressions.0.right"),o=r.get("expressions.1.left");return[a,o]}return[t];function e(r,i,s){return r==="="?Wi("=",i,s):Hf(r,i,s)}}function Ag(t){return t.isClassMethod()&&!!t.parentPath.parentPath.node.superClass}var iX=(0,Qf.environmentVisitor)({CallExpression(t,{supers:e,thisBinding:r}){t.get("callee").isSuper()&&(e.has(t.node)||(e.add(t.node),t.replaceWithMultiple([t.node,Wi("=",Xe(r),Xe("this"))])))}});function sX(t,e){return qn(t,"this",r=>{if(!e||!Ag(t))return Rn();t.traverse(iX,{supers:new WeakSet,thisBinding:r})})}function nX(t){return qn(t,"supercall",()=>{let e=t.scope.generateUidIdentifier("args");return Zf([FJ(e)],Cs(Gf(),[RJ(Xe(e.name))]))})}function aX(t,e,r){return qn(t,`superprop_${e?"set":"get"}:${r||""}`,()=>{let s=[],n;if(r)n=br(Gf(),Xe(r));else{let a=t.scope.generateUidIdentifier("prop");s.unshift(a),n=br(Gf(),Xe(a.name),!0)}if(e){let a=t.scope.generateUidIdentifier("value");s.push(a),n=Wi("=",n,Xe(a.name))}return Zf(s,n)})}function qn(t,e,r){let i="binding:"+e,s=t.getData(i);if(!s){let n=t.scope.generateUidIdentifier(e);s=n.name,t.setData(i,s),t.scope.push({id:n,init:r(s)})}return s}var oX=(0,Qf.environmentVisitor)({ThisExpression(t,{thisPaths:e}){e.push(t)},JSXIdentifier(t,{thisPaths:e}){t.node.name==="this"&&(!t.parentPath.isJSXMemberExpression({object:t.node})&&!t.parentPath.isJSXOpeningElement({name:t.node})||e.push(t))},CallExpression(t,{superCalls:e}){t.get("callee").isSuper()&&e.push(t)},MemberExpression(t,{superProps:e}){t.get("object").isSuper()&&e.push(t)},Identifier(t,{argumentsPaths:e}){if(!t.isReferencedIdentifier({name:"arguments"}))return;let r=t.scope;do{if(r.hasOwnBinding("arguments")){r.rename("arguments");return}if(r.path.isFunction()&&!r.path.isArrowFunctionExpression())break}while(r=r.parent);e.push(t)},MetaProperty(t,{newTargetPaths:e}){t.get("meta").isIdentifier({name:"new"})&&t.get("property").isIdentifier({name:"target"})&&e.push(t)}});function lX(t){let e=[],r=[],i=[],s=[],n=[];return t.traverse(oX,{thisPaths:e,argumentsPaths:r,newTargetPaths:i,superProps:s,superCalls:n}),{thisPaths:e,argumentsPaths:r,newTargetPaths:i,superProps:s,superCalls:n}}function cX(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let t=this.get("declaration");if(this.isExportDefaultDeclaration()){let s=t.isFunctionDeclaration()||t.isClassDeclaration(),n=t.isFunctionExpression()||t.isClassExpression(),a=t.isScope()?t.scope.parent:t.scope,o=t.node.id,l=!1;o?n&&a.hasBinding(o.name)&&(l=!0,o=a.generateUidIdentifier(o.name)):(l=!0,o=a.generateUidIdentifier("default"),(s||n)&&(t.node.id=Vi(o)));let c=s?t.node:YJ("var",[zJ(Vi(o),t.node)]),u=gg(null,[bg(Vi(o),Xe("default"))]);return this.insertAfter(u),this.replaceWith(c),l&&a.registerDeclaration(this),this}else if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let e=t.getOuterBindingIdentifiers(),r=Object.keys(e).map(s=>bg(Xe(s),Xe(s))),i=gg(null,r);return this.insertAfter(i),this.replaceWith(t.node),this}var uX={"ReferencedIdentifier|BindingIdentifier"(t,e){t.node.name===e.name&&(e.needsRename=!0,t.stop())},Scope(t,e){t.scope.hasOwnBinding(e.name)&&t.skip()}};function pX(t){if(this.node.id)return this;let e=VJ(this.node,this.parent);if(e==null)return this;let{name:r}=e;if(!t&&/[\uD800-\uDFFF]/.test(r)||r.startsWith("get ")||r.startsWith("set "))return null;r=UJ(r.replace(/[/ ]/g,"_"));let i=Xe(r);JJ(i,e.originalNode);let s={needsRename:!1,name:r},{scope:n}=this,a=n.getOwnBinding(r);if(a?a.kind==="param"&&(s.needsRename=!0):(n.parent.hasBinding(r)||n.hasGlobal(r))&&this.traverse(uX,s),!s.needsRename)return this.node.id=i,n.getProgramParent().references[i.name]=!0,this;if(n.hasBinding(i.name)&&!n.hasGlobal(i.name))return n.rename(i.name),this.node.id=i,n.getProgramParent().references[i.name]=!0,this;if(!$J(this.node))return null;let o=n.generateUidIdentifier(i.name),l=[];for(let u=0,d=fX(this.node);u<d;u++)l.push(n.generateUidIdentifier("x"));let c=AJ.default.expression.ast`
45
+ (function (${o}) {
46
+ function ${i}(${l}) {
47
+ return ${Vi(o)}.apply(this, arguments);
48
+ }
49
+
50
+ ${Vi(i)}.toString = function () {
51
+ return ${Vi(o)}.toString();
52
+ }
53
+
54
+ return ${Vi(i)};
55
+ })(${Pg(this.node)})
56
+ `;return this.replaceWith(c)[0].get("arguments.0")}function fX(t){let e=t.params.findIndex(r=>KJ(r)||WJ(r));return e===-1?t.params.length:e}});var _g=N(ct=>{"use strict";Object.defineProperty(ct,"__esModule",{value:!0});ct._guessExecutionStatusRelativeTo=DX;ct._resolve=Og;ct.canHaveVariableDeclarationOrExpression=AX;ct.canSwapBetweenExpressionAndStatement=wX;ct.getSource=NX;ct.isCompletionRecord=CX;ct.isConstantExpression=BX;ct.isInStrictMode=jX;ct.isNodeType=vX;ct.isStatementOrBlock=IX;ct.isStatic=PX;ct.matchesPattern=EX;ct.referencesImport=kX;ct.resolve=FX;ct.willIMaybeExecuteBefore=OX;var hX=Ne(),{STATEMENT_OR_BLOCK_KEYS:dX,VISITOR_KEYS:mX,isBlockStatement:Ng,isExpression:yX,isIdentifier:TX,isLiteral:xX,isStringLiteral:gX,isType:bX,matchesPattern:SX}=hX;function EX(t,e){return SX(this.node,t,e)}ct.has=function(e){var r;let i=(r=this.node)==null?void 0:r[e];return i&&Array.isArray(i)?!!i.length:!!i};function PX(){return this.scope.isStatic(this.node)}ct.is=ct.has,ct.isnt=function(e){return!this.has(e)},ct.equals=function(e,r){return this.node[e]===r};function vX(t){return bX(this.type,t)}function AX(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function wX(t){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?Ng(t):this.isBlockStatement()?yX(t):!1}function CX(t){let e=this,r=!0;do{let{type:i,container:s}=e;if(!r&&(e.isFunction()||i==="StaticBlock"))return!!t;if(r=!1,Array.isArray(s)&&e.key!==s.length-1)return!1}while((e=e.parentPath)&&!e.isProgram()&&!e.isDoExpression());return!0}function IX(){return this.parentPath.isLabeledStatement()||Ng(this.container)?!1:dX.includes(this.key)}function kX(t,e){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===e||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?gX(this.node.property,{value:e}):this.node.property.name===e)){let n=this.get("object");return n.isReferencedIdentifier()&&n.referencesImport(t,"*")}return!1}let r=this.scope.getBinding(this.node.name);if(!r||r.kind!=="module")return!1;let i=r.path,s=i.parentPath;if(!s.isImportDeclaration())return!1;if(s.node.source.value===t){if(!e)return!0}else return!1;return!!(i.isImportDefaultSpecifier()&&e==="default"||i.isImportNamespaceSpecifier()&&e==="*"||i.isImportSpecifier()&&TX(i.node.imported,{name:e}))}function NX(){let t=this.node;if(t.end){let e=this.hub.getCode();if(e)return e.slice(t.start,t.end)}return""}function OX(t){return this._guessExecutionStatusRelativeTo(t)!=="after"}function Cg(t){return t.isProgram()?t:(t.parentPath.scope.getFunctionParent()||t.parentPath.scope.getProgramParent()).path}function _X(t,e){switch(t){case"LogicalExpression":return e==="right";case"ConditionalExpression":case"IfStatement":return e==="consequent"||e==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return e==="body";case"ForStatement":return e==="body"||e==="update";case"SwitchStatement":return e==="cases";case"TryStatement":return e==="handler";case"AssignmentPattern":return e==="right";case"OptionalMemberExpression":return e==="property";case"OptionalCallExpression":return e==="arguments";default:return!1}}function Ig(t,e){for(let r=0;r<e;r++){let i=t[r];if(_X(i.parent.type,i.parentKey))return!0}return!1}var kg=Symbol();function DX(t){return eh(this,t,new Map)}function eh(t,e,r){let i={this:Cg(t),target:Cg(e)};if(i.target.node!==i.this.node)return MX(t,i.target,r);let s={target:e.getAncestry(),this:t.getAncestry()};if(s.target.includes(t))return"after";if(s.this.includes(e))return"before";let n,a={target:0,this:0};for(;!n&&a.this<s.this.length;){let u=s.this[a.this];a.target=s.target.indexOf(u),a.target>=0?n=u:a.this++}if(!n)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(Ig(s.this,a.this-1)||Ig(s.target,a.target-1))return"unknown";let o={this:s.this[a.this-1],target:s.target[a.target-1]};if(o.target.listKey&&o.this.listKey&&o.target.container===o.this.container)return o.target.key>o.this.key?"before":"after";let l=mX[n.type],c={this:l.indexOf(o.this.parentKey),target:l.indexOf(o.target.parentKey)};return c.target>c.this?"before":"after"}function LX(t,e,r){if(e.isFunctionDeclaration()){if(e.parentPath.isExportDeclaration())return"unknown"}else return eh(t,e,r)==="before"?"before":"unknown";let i=e.scope.getBinding(e.node.id.name);if(!i.references)return"before";let s=i.referencePaths,n;for(let a of s){if(!!a.find(c=>c.node===e.node))continue;if(a.key!=="callee"||!a.parentPath.isCallExpression())return"unknown";let l=eh(t,a,r);if(n&&n!==l)return"unknown";n=l}return n}function MX(t,e,r){let i=r.get(t.node),s;if(!i)r.set(t.node,i=new Map);else if(s=i.get(e.node))return s===kg?"unknown":s;i.set(e.node,kg);let n=LX(t,e,r);return i.set(e.node,n),n}function FX(t,e){return Og.call(this,t,e)||this}function Og(t,e){var r;if(!((r=e)!=null&&r.includes(this)))if(e=e||[],e.push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(t,e)}else if(this.isReferencedIdentifier()){let i=this.scope.getBinding(this.node.name);if(!i||!i.constant||i.kind==="module")return;if(i.path!==this){let s=i.path.resolve(t,e);return this.find(n=>n.node===s.node)?void 0:s}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(t,e);if(t&&this.isMemberExpression()){let i=this.toComputedKey();if(!xX(i))return;let s=i.value,n=this.get("object").resolve(t,e);if(n.isObjectExpression()){let a=n.get("properties");for(let o of a){if(!o.isProperty())continue;let l=o.get("key"),c=o.isnt("computed")&&l.isIdentifier({name:s});if(c=c||l.isLiteral({value:s}),c)return o.get("value").resolve(t,e)}}else if(n.isArrayExpression()&&!isNaN(+s)){let o=n.get("elements")[s];if(o)return o.resolve(t,e)}}}}function BX(){if(this.isIdentifier()){let t=this.scope.getBinding(this.node.name);return t?t.constant:!1}if(this.isLiteral())return this.isRegExpLiteral()?!1:this.isTemplateLiteral()?this.get("expressions").every(t=>t.isConstantExpression()):!0;if(this.isUnaryExpression())return this.node.operator!=="void"?!1:this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:t}=this.node;return t!=="in"&&t!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1}function jX(){return!!(this.isProgram()?this:this.parentPath).find(r=>{if(r.isProgram({sourceType:"module"})||r.isClass())return!0;if(r.isArrowFunctionExpression()&&!r.get("body").isBlockStatement())return!1;let i;if(r.isFunction())i=r.node.body;else if(r.isProgram())i=r.node;else return!1;for(let s of i.directives)if(s.value.value==="use strict")return!0})}});var Bg=N(At=>{"use strict";Object.defineProperty(At,"__esModule",{value:!0});At._getKey=Mg;At._getPattern=Fg;At.get=tH;At.getAllNextSiblings=ZX;At.getAllPrevSiblings=eH;At.getAssignmentIdentifiers=rH;At.getBindingIdentifierPaths=nH;At.getBindingIdentifiers=iH;At.getCompletionRecords=XX;At.getNextSibling=QX;At.getOpposite=YX;At.getOuterBindingIdentifierPaths=aH;At.getOuterBindingIdentifiers=sH;At.getPrevSibling=GX;At.getSibling=HX;var rh=zr(),RX=Ne(),{getAssignmentIdentifiers:qX,getBindingIdentifiers:Lg,getOuterBindingIdentifiers:UX,numericLiteral:$X,unaryExpression:KX}=RX,ih=0,Un=1;function WX(t){return{type:ih,path:t}}function VX(t){return{type:Un,path:t}}function YX(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function Is(t,e,r){return t&&e.push(...ks(t,r)),e}function zX(t,e,r){let i=[];for(let s=0;s<t.length;s++){let n=t[s],a=ks(n,r),o=[],l=[];for(let c of a)c.type===ih&&o.push(c),c.type===Un&&l.push(c);o.length&&(i=o),e.push(...l)}return e.push(...i),e}function JX(t){t.forEach(e=>{e.type=Un})}function th(t,e){t.forEach(r=>{r.path.isBreakStatement({label:null})&&(e?r.path.replaceWith(KX("void",$X(0))):r.path.remove())})}function Dg(t,e){let r=[];if(e.canHaveBreak){let i=[];for(let s=0;s<t.length;s++){let n=t[s],a=Object.assign({},e,{inCaseClause:!1});n.isBlockStatement()&&(e.inCaseClause||e.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;let o=ks(n,a);if(o.length>0&&o.every(l=>l.type===Un)){i.length>0&&o.every(l=>l.path.isBreakStatement({label:null}))?(JX(i),r.push(...i),i.some(l=>l.path.isDeclaration())&&(r.push(...o),e.shouldPreserveBreak||th(o,!0)),e.shouldPreserveBreak||th(o,!1)):(r.push(...o),!e.shouldPopulateBreak&&!e.shouldPreserveBreak&&th(o,!0));break}if(s===t.length-1)r.push(...o);else{i=[];for(let l=0;l<o.length;l++){let c=o[l];c.type===Un&&r.push(c),c.type===ih&&i.push(c)}}}}else if(t.length)for(let i=t.length-1;i>=0;i--){let s=ks(t[i],e);if(s.length>1||s.length===1&&!s[0].path.isVariableDeclaration()&&!s[0].path.isEmptyStatement()){r.push(...s);break}}return r}function ks(t,e){let r=[];if(t.isIfStatement())r=Is(t.get("consequent"),r,e),r=Is(t.get("alternate"),r,e);else{if(t.isDoExpression()||t.isFor()||t.isWhile()||t.isLabeledStatement())return Is(t.get("body"),r,e);if(t.isProgram()||t.isBlockStatement())return Dg(t.get("body"),e);if(t.isFunction())return ks(t.get("body"),e);if(t.isTryStatement())r=Is(t.get("block"),r,e),r=Is(t.get("handler"),r,e);else{if(t.isCatchClause())return Is(t.get("body"),r,e);if(t.isSwitchStatement())return zX(t.get("cases"),r,e);if(t.isSwitchCase())return Dg(t.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:e.shouldPreserveBreak});t.isBreakStatement()?r.push(VX(t)):r.push(WX(t))}}return r}function XX(t=!1){return ks(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:t}).map(r=>r.path)}function HX(t){return rh.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:t}).setContext(this.context)}function GX(){return this.getSibling(this.key-1)}function QX(){return this.getSibling(this.key+1)}function ZX(){let t=this.key,e=this.getSibling(++t),r=[];for(;e.node;)r.push(e),e=this.getSibling(++t);return r}function eH(){let t=this.key,e=this.getSibling(--t),r=[];for(;e.node;)r.push(e),e=this.getSibling(--t);return r}function tH(t,e=!0){e===!0&&(e=this.context);let r=t.split(".");return r.length===1?Mg.call(this,t,e):Fg.call(this,r,e)}function Mg(t,e){let r=this.node,i=r[t];return Array.isArray(i)?i.map((s,n)=>rh.default.get({listKey:t,parentPath:this,parent:r,container:i,key:n}).setContext(e)):rh.default.get({parentPath:this,parent:r,container:r,key:t}).setContext(e)}function Fg(t,e){let r=this;for(let i of t)i==="."?r=r.parentPath:Array.isArray(r)?r=r[i]:r=r.get(i,e);return r}function rH(){return qX(this.node)}function iH(t){return Lg(this.node,t)}function sH(t){return UX(this.node,t)}function nH(t=!1,e=!1){let i=[this],s=Object.create(null);for(;i.length;){let n=i.shift();if(!n||!n.node)continue;let a=Lg.keys[n.node.type];if(n.isIdentifier()){t?(s[n.node.name]=s[n.node.name]||[]).push(n):s[n.node.name]=n;continue}if(n.isExportDeclaration()){let o=n.get("declaration");o.isDeclaration()&&i.push(o);continue}if(e){if(n.isFunctionDeclaration()){i.push(n.get("id"));continue}if(n.isFunctionExpression())continue}if(a)for(let o=0;o<a.length;o++){let l=a[o],c=n.get(l);Array.isArray(c)?i.push(...c):c.node&&i.push(c)}}return s}function aH(t=!1){return this.getBindingIdentifierPaths(t,!0)}});var Rg=N($n=>{"use strict";Object.defineProperty($n,"__esModule",{value:!0});$n.addComment=pH;$n.addComments=fH;$n.shareCommentsWithSiblings=uH;var oH=Ne(),{addComment:lH,addComments:cH}=oH;function uH(){if(typeof this.key=="string")return;let t=this.node;if(!t)return;let e=t.trailingComments,r=t.leadingComments;if(!e&&!r)return;let i=this.getSibling(this.key-1),s=this.getSibling(this.key+1),n=!!i.node,a=!!s.node;n&&(r&&i.addComments("trailing",jg(r,i.node.trailingComments)),e&&!a&&i.addComments("trailing",e)),a&&(e&&s.addComments("leading",jg(e,s.node.leadingComments)),r&&!n&&s.addComments("leading",r))}function jg(t,e){if(!(e!=null&&e.length))return t;let r=new Set(e);return t.filter(i=>!r.has(i))}function pH(t,e,r){lH(this.node,t,e,r)}function fH(t,e){cH(this.node,t,e)}});var zr=N(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.default=Mr.SHOULD_STOP=Mr.SHOULD_SKIP=Mr.REMOVED=void 0;var hH=mc(),dH=cm(),mH=In(),yH=_p(),$g=Ne(),Xo=$g,TH=Bi(),xH=Z0(),Dr=ex(),Ns=bx(),Os=Cf(),qg=ng(),Yi=wg(),ht=_g(),Kg=Tr(),ut=Kg,_s=qo(),Lr=Uo(),qt=Bg(),sh=Rg(),gH=Ap(),{validate:bH}=$g,Ug=dH("babel"),Soe=Mr.REMOVED=1,Eoe=Mr.SHOULD_STOP=2,Poe=Mr.SHOULD_SKIP=4,Xr=Mr.default=class Wg{constructor(e,r){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this._store=null,this.parent=r,this.hub=e,this.data=null,this.context=null,this.scope=null}get removed(){return(this._traverseFlags&1)>0}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(this._traverseFlags&2)>0}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(this._traverseFlags&4)>0}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:e,parentPath:r,parent:i,container:s,listKey:n,key:a}){if(!e&&r&&(e=r.hub),!i)throw new Error("To get a node path the parent needs to exist");let o=s[a],l=TH.getOrCreateCachedPaths(i,r),c=l.get(o);return c||(c=new Wg(e,i),o&&l.set(o,c)),Kg.setup.call(c,r,s,n,a),c}getScope(e){return this.isScope()?new yH.default(this):e}setData(e,r){return this.data==null&&(this.data=Object.create(null)),this.data[e]=r}getData(e,r){this.data==null&&(this.data=Object.create(null));let i=this.data[e];return i===void 0&&r!==void 0&&(i=this.data[e]=r),i}hasNode(){return this.node!=null}buildCodeFrameError(e,r=SyntaxError){return this.hub.buildError(this.node,e,r)}traverse(e,r){(0,mH.default)(this.node,e,this.scope,r,this)}set(e,r){bH(this.node,e,r),this.node[e]=r}getPathLocation(){let e=[],r=this;do{let i=r.key;r.inList&&(i=`${r.listKey}[${i}]`),e.unshift(i)}while(r=r.parentPath);return e.join(".")}debug(e){Ug.enabled&&Ug(`${this.getPathLocation()} ${this.type}: ${e}`)}toString(){return(0,xH.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},SH={findParent:Dr.findParent,find:Dr.find,getFunctionParent:Dr.getFunctionParent,getStatementParent:Dr.getStatementParent,getEarliestCommonAncestorFrom:Dr.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:Dr.getDeepestCommonAncestorFrom,getAncestry:Dr.getAncestry,isAncestor:Dr.isAncestor,isDescendant:Dr.isDescendant,inType:Dr.inType,getTypeAnnotation:Ns.getTypeAnnotation,isBaseType:Ns.isBaseType,couldBeBaseType:Ns.couldBeBaseType,baseTypeStrictlyMatches:Ns.baseTypeStrictlyMatches,isGenericType:Ns.isGenericType,replaceWithMultiple:Os.replaceWithMultiple,replaceWithSourceString:Os.replaceWithSourceString,replaceWith:Os.replaceWith,replaceExpressionWithStatements:Os.replaceExpressionWithStatements,replaceInline:Os.replaceInline,evaluateTruthy:qg.evaluateTruthy,evaluate:qg.evaluate,toComputedKey:Yi.toComputedKey,ensureBlock:Yi.ensureBlock,unwrapFunctionEnvironment:Yi.unwrapFunctionEnvironment,arrowFunctionToExpression:Yi.arrowFunctionToExpression,splitExportDeclaration:Yi.splitExportDeclaration,ensureFunctionName:Yi.ensureFunctionName,matchesPattern:ht.matchesPattern,isStatic:ht.isStatic,isNodeType:ht.isNodeType,canHaveVariableDeclarationOrExpression:ht.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:ht.canSwapBetweenExpressionAndStatement,isCompletionRecord:ht.isCompletionRecord,isStatementOrBlock:ht.isStatementOrBlock,referencesImport:ht.referencesImport,getSource:ht.getSource,willIMaybeExecuteBefore:ht.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:ht._guessExecutionStatusRelativeTo,resolve:ht.resolve,isConstantExpression:ht.isConstantExpression,isInStrictMode:ht.isInStrictMode,isDenylisted:ut.isDenylisted,visit:ut.visit,skip:ut.skip,skipKey:ut.skipKey,stop:ut.stop,setContext:ut.setContext,requeue:ut.requeue,requeueComputedKeyAndDecorators:ut.requeueComputedKeyAndDecorators,remove:_s.remove,insertBefore:Lr.insertBefore,insertAfter:Lr.insertAfter,unshiftContainer:Lr.unshiftContainer,pushContainer:Lr.pushContainer,getOpposite:qt.getOpposite,getCompletionRecords:qt.getCompletionRecords,getSibling:qt.getSibling,getPrevSibling:qt.getPrevSibling,getNextSibling:qt.getNextSibling,getAllNextSiblings:qt.getAllNextSiblings,getAllPrevSiblings:qt.getAllPrevSiblings,get:qt.get,getAssignmentIdentifiers:qt.getAssignmentIdentifiers,getBindingIdentifiers:qt.getBindingIdentifiers,getOuterBindingIdentifiers:qt.getOuterBindingIdentifiers,getBindingIdentifierPaths:qt.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:qt.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:sh.shareCommentsWithSiblings,addComment:sh.addComment,addComments:sh.addComments};Object.assign(Xr.prototype,SH);Xr.prototype.arrowFunctionToShadowed=Yi.arrowFunctionToShadowed,Object.assign(Xr.prototype,{has:ht.has,is:ht.is,isnt:ht.isnt,equals:ht.equals,hoist:Lr.hoist,updateSiblingKeys:Lr.updateSiblingKeys,call:ut.call,isBlacklisted:ut.isBlacklisted,setScope:ut.setScope,resync:ut.resync,popContext:ut.popContext,pushContext:ut.pushContext,setup:ut.setup,setKey:ut.setKey});Xr.prototype._guessExecutionStatusRelativeToDifferentFunctions=ht._guessExecutionStatusRelativeTo,Xr.prototype._guessExecutionStatusRelativeToDifferentFunctions=ht._guessExecutionStatusRelativeTo,Object.assign(Xr.prototype,{_getTypeAnnotation:Ns._getTypeAnnotation,_replaceWith:Os._replaceWith,_resolve:ht._resolve,_call:ut._call,_resyncParent:ut._resyncParent,_resyncKey:ut._resyncKey,_resyncList:ut._resyncList,_resyncRemoved:ut._resyncRemoved,_getQueueContexts:ut._getQueueContexts,_removeFromScope:_s._removeFromScope,_callRemovalHooks:_s._callRemovalHooks,_remove:_s._remove,_markRemoved:_s._markRemoved,_assertUnremoved:_s._assertUnremoved,_containerInsert:Lr._containerInsert,_containerInsertBefore:Lr._containerInsertBefore,_containerInsertAfter:Lr._containerInsertAfter,_verifyNodeList:Lr._verifyNodeList,_getKey:qt._getKey,_getPattern:qt._getPattern});for(let t of Xo.TYPES){let e=`is${t}`,r=Xo[e];Xr.prototype[e]=function(i){return r(this.node,i)},Xr.prototype[`assert${t}`]=function(i){if(!r(this.node,i))throw new TypeError(`Expected node path of type ${t}`)}}Object.assign(Xr.prototype,gH);for(let t of Object.keys(hH))t[0]!=="_"&&(Xo.TYPES.includes(t)||Xo.TYPES.push(t))});var Vg=N(Ho=>{"use strict";Object.defineProperty(Ho,"__esModule",{value:!0});Ho.default=void 0;var EH=zr(),PH=Ne(),nh=Tr(),{VISITOR_KEYS:vH}=PH,ah=class{constructor(e,r,i,s){this.queue=null,this.priorityQueue=null,this.parentPath=s,this.scope=e,this.state=i,this.opts=r}shouldVisit(e){let r=this.opts;if(r.enter||r.exit||r[e.type])return!0;let i=vH[e.type];if(!(i!=null&&i.length))return!1;for(let s of i)if(e[s])return!0;return!1}create(e,r,i,s){return EH.default.get({parentPath:this.parentPath,parent:e,container:r,key:i,listKey:s})}maybeQueue(e,r){this.queue&&(r?this.queue.push(e):this.priorityQueue.push(e))}visitMultiple(e,r,i){if(e.length===0)return!1;let s=[];for(let n=0;n<e.length;n++){let a=e[n];a&&this.shouldVisit(a)&&s.push(this.create(r,e,n,i))}return this.visitQueue(s)}visitSingle(e,r){return this.shouldVisit(e[r])?this.visitQueue([this.create(e,e,r)]):!1}visitQueue(e){this.queue=e,this.priorityQueue=[];let r=new WeakSet,i=!1,s=0;for(;s<e.length;){let n=e[s];if(s++,nh.resync.call(n),(n.contexts.length===0||n.contexts[n.contexts.length-1]!==this)&&nh.pushContext.call(n,this),n.key===null)continue;let{node:a}=n;if(!r.has(a)){if(a&&r.add(a),n.visit()){i=!0;break}if(this.priorityQueue.length&&(i=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,i))break}}for(let n=0;n<s;n++)nh.popContext.call(e[n]);return this.queue=null,i}visit(e,r){let i=e[r];return i?Array.isArray(i)?this.visitMultiple(i,e,r):this.visitSingle(e,r):!1}};Ho.default=ah});var ho=N(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});oh.traverseNode=IH;var AH=Vg(),woe=zr(),wH=Ne(),Coe=Tr(),{VISITOR_KEYS:CH}=wH;function IH(t,e,r,i,s,n,a){let o=CH[t.type];if(!o)return!1;let l=new AH.default(r,e,i,s);if(a)return n!=null&&n[s.parentKey]?!1:l.visitQueue([s]);for(let c of o)if(!(n!=null&&n[c])&&l.visit(t,c))return!0;return!1}});var Tr=N(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt._call=ch;nt._getQueueContexts=WH;nt._resyncKey=Gg;nt._resyncList=Qg;nt._resyncParent=Hg;nt._resyncRemoved=jH;nt.call=lh;nt.isDenylisted=Jg;nt.popContext=RH;nt.pushContext=qH;nt.requeue=$H;nt.requeueComputedKeyAndDecorators=KH;nt.resync=BH;nt.setContext=FH;nt.setKey=Go;nt.setScope=Xg;nt.setup=UH;nt.skip=DH;nt.skipKey=LH;nt.stop=MH;nt.visit=_H;var kH=ho(),Yg=zr(),NH=qo(),OH=Ne();function lh(t){let e=this.opts;if(this.debug(t),this.node&&ch.call(this,e[t]))return!0;if(this.node){var r;return ch.call(this,(r=e[this.node.type])==null?void 0:r[t])}return!1}function ch(t){if(!t)return!1;for(let e of t){if(!e)continue;let r=this.node;if(!r)return!0;let i=e.call(this.state,this,this.state);if(i&&typeof i=="object"&&typeof i.then=="function")throw new Error("You appear to be using a plugin with an async traversal visitor, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");if(i)throw new Error(`Unexpected return value from visitor method ${e}`);if(this.node!==r||this._traverseFlags>0)return!0}return!1}function Jg(){var t;let e=(t=this.opts.denylist)!=null?t:this.opts.blacklist;return e?.includes(this.node.type)}nt.isBlacklisted=Jg;function zg(t,e){t.context!==e&&(t.context=e,t.state=e.state,t.opts=e.opts)}function _H(){var t,e;if(!this.node||this.isDenylisted()||(t=(e=this.opts).shouldSkip)!=null&&t.call(e,this))return!1;let r=this.context;return this.shouldSkip||lh.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(zg(this,r),this.debug("Recursing into..."),this.shouldStop=(0,kH.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),zg(this,r),lh.call(this,"exit"),this.shouldStop)}function DH(){this.shouldSkip=!0}function LH(t){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[t]=!0}function MH(){this._traverseFlags|=Yg.SHOULD_SKIP|Yg.SHOULD_STOP}function Xg(){var t,e;if((t=this.opts)!=null&&t.noScope)return;let r=this.parentPath;((this.key==="key"||this.listKey==="decorators")&&r.isMethod()||this.key==="discriminant"&&r.isSwitchStatement())&&(r=r.parentPath);let i;for(;r&&!i;){var s;if((s=r.opts)!=null&&s.noScope)return;i=r.scope,r=r.parentPath}this.scope=this.getScope(i),(e=this.scope)==null||e.init()}function FH(t){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,t&&(this.context=t,this.state=t.state,this.opts=t.opts),Xg.call(this),this}function BH(){this.removed||(Hg.call(this),Qg.call(this),Gg.call(this))}function Hg(){this.parentPath&&(this.parent=this.parentPath.node)}function Gg(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let t=0;t<this.container.length;t++)if(this.container[t]===this.node){Go.call(this,t);return}}else for(let t of Object.keys(this.container))if(this.container[t]===this.node){Go.call(this,t);return}this.key=null}}function Qg(){if(!this.parent||!this.inList)return;let t=this.parent[this.listKey];this.container!==t&&(this.container=t||null)}function jH(){(this.key==null||!this.container||this.container[this.key]!==this.node)&&NH._markRemoved.call(this)}function RH(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function qH(t){this.contexts.push(t),this.setContext(t)}function UH(t,e,r,i){this.listKey=r,this.container=e,this.parentPath=t||this.parentPath,Go.call(this,i)}function Go(t){var e;this.key=t,this.node=this.container[this.key],this.type=(e=this.node)==null?void 0:e.type}function $H(t=this){if(t.removed)return;let e=this.contexts;for(let r of e)r.maybeQueue(t)}function KH(){let{context:t,node:e}=this;if(!OH.isPrivate(e)&&e.computed&&t.maybeQueue(this.get("key")),e.decorators)for(let r of this.get("decorators"))t.maybeQueue(r)}function WH(){let t=this,e=this.contexts;for(;!e.length&&(t=t.parentPath,!!t);)e=t.contexts;return e}});var Zg=N(Qo=>{"use strict";Object.defineProperty(Qo,"__esModule",{value:!0});Qo.default=void 0;var uh=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(e,r,i=TypeError){return new i(r)}};Qo.default=uh});var In=N(Hr=>{"use strict";Object.defineProperty(Hr,"__esModule",{value:!0});Object.defineProperty(Hr,"Hub",{enumerable:!0,get:function(){return XH.default}});Object.defineProperty(Hr,"NodePath",{enumerable:!0,get:function(){return zH.default}});Object.defineProperty(Hr,"Scope",{enumerable:!0,get:function(){return JH.default}});Hr.visitors=Hr.default=void 0;Tr();var Wn=uo();Hr.visitors=Wn;var VH=Ne(),YH=Bi(),eb=ho(),zH=zr(),JH=_p(),XH=Zg(),{VISITOR_KEYS:HH,removeProperties:GH,traverseFast:Kn}=VH;function Sr(t,e={},r,i,s,n){if(t){if(!e.noScope&&!r&&t.type!=="Program"&&t.type!=="File")throw new Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${t.type} node without passing scope and parentPath.`);if(!s&&n)throw new Error("visitSelf can only be used when providing a NodePath.");HH[t.type]&&(Wn.explode(e),(0,eb.traverseNode)(t,e,r,i,s,null,n))}}var Ooe=Hr.default=Sr;Sr.visitors=Wn;Sr.verify=Wn.verify;Sr.explode=Wn.explode;Sr.cheap=function(t,e){Kn(t,e)};Sr.node=function(t,e,r,i,s,n){(0,eb.traverseNode)(t,e,r,i,s,n)};Sr.clearNode=function(t,e){GH(t,e)};Sr.removeProperties=function(t,e){return Kn(t,Sr.clearNode,e),t};Sr.hasType=function(t,e,r){return r!=null&&r.includes(t.type)?!1:t.type===e?!0:Kn(t,function(i){if(r!=null&&r.includes(i.type))return Kn.skip;if(i.type===e)return Kn.stop})};Sr.cache=YH});var rb=N((Doe,tb)=>{var QH=require("fs"),ZH=Fa(),eG=In().default;function tG(t){let e=QH.readFileSync(t,"utf-8"),r=new Set,i,s={};try{i=ZH.parse(e,{sourceType:"module",plugins:["jsx","typescript","classProperties","objectRestSpread","optionalChaining","nullishCoalescingOperator"]})}catch{return[]}function n(o){o&&(o.type==="StringLiteral"||o.type==="Literal"?o.value.split(/\s+/).forEach(l=>r.add(l)):o.type==="ArrayExpression"?o.elements.forEach(l=>n(l)):o.type==="TemplateLiteral"?(o.quasis.forEach(l=>l.value.cooked.split(/\s+/).forEach(c=>r.add(c))),o.expressions.forEach(l=>n(l))):o.type==="Identifier"&&s[o.name]?s[o.name].forEach(l=>r.add(l)):o.type==="BinaryExpression"&&o.operator==="+"?(n(o.left),n(o.right)):o.type==="ConditionalExpression"?(n(o.consequent),n(o.alternate)):o.type==="LogicalExpression"&&(n(o.left),n(o.right)))}function a(o){o&&(o.type==="ObjectExpression"?o.properties.forEach(l=>{l&&l.key&&((l.key.type==="Identifier"&&l.key.name==="className"||l.key.type==="StringLiteral"&&l.key.value==="className")&&l.value.type==="ArrayExpression"&&l.value.elements.forEach(c=>{c&&c.type==="StringLiteral"&&c.value.split(/\s+/).forEach(u=>r.add(u))}),a(l.value))}):o.type==="ArrayExpression"&&o.elements.forEach(l=>a(l)))}return eG(i,{VariableDeclarator(o){if(o.node.init&&o.node.id.type==="Identifier"){if(o.node.init.type==="ArrayExpression"||o.node.init.type==="StringLiteral"){let l=[];o.node.init.type==="ArrayExpression"?o.node.init.elements.forEach(c=>{c&&c.type==="StringLiteral"&&c.value.split(/\s+/).forEach(u=>l.push(u))}):o.node.init.type==="StringLiteral"&&o.node.init.value.split(/\s+/).forEach(c=>l.push(c)),s[o.node.id.name]=l.filter(Boolean)}(o.node.init.type==="ArrayExpression"||o.node.init.type==="ObjectExpression")&&a(o.node.init)}},JSXAttribute(o){if(o.node.name.name==="className"||o.node.name.name==="class"){let l=o.node.value;l&&(l.type==="StringLiteral"?l.value.split(/\s+/).forEach(c=>r.add(c)):l.type==="JSXExpressionContainer"&&function c(u){u&&(u.type==="StringLiteral"||u.type==="Literal"?u.value.split(/\s+/).forEach(d=>r.add(d)):u.type==="TemplateLiteral"?(u.quasis.forEach(d=>d.value.cooked.split(/\s+/).forEach(x=>r.add(x))),u.expressions.forEach(d=>c(d))):u.type==="ArrayExpression"?u.elements.forEach(d=>c(d)):u.type==="ObjectExpression"?u.properties.forEach(d=>c(d.value)):u.type==="ArrowFunctionExpression"||u.type==="FunctionExpression"?c(u.body):u.type==="BlockStatement"?u.body.forEach(c):u.type==="ReturnStatement"?c(u.argument):(u.type==="ConditionalExpression"||u.type==="LogicalExpression"||u.type==="BinaryExpression")&&(c(u.left),c(u.right),u.consequent&&c(u.consequent),u.alternate&&c(u.alternate)))}(l.expression))}}}),a(i),function o(l){l&&(Array.isArray(l)?l.forEach(o):typeof l=="object"&&(l.type==="ObjectExpression"?l.properties.forEach(c=>{var u;(u=c.key)&&(u.type==="Identifier"?/class(Name)?$/i.test(u.name):u.type==="StringLiteral"&&/class(Name)?$/i.test(u.value))&&(c.value.type==="StringLiteral"?c.value.value.split(/\s+/).forEach(d=>r.add(d)):c.value.type==="ArrayExpression"&&c.value.elements.forEach(d=>{d&&d.type==="StringLiteral"&&d.value.split(/\s+/).forEach(x=>r.add(x))})),o(c.value)}):Object.values(l).forEach(o)))}(i),Array.from(r).filter(Boolean)}tb.exports=tG});var cb=require("fs"),rG=require("path"),iG=bh(),sG=Ed(),nG=wd(),aG=rb(),oG=(t,e)=>nG(t,e||{},{arrayMerge:(r,i)=>i}),lG=()=>{let t=rG.resolve(process.cwd(),"unicss.config.js");try{return require(t)}catch{return{}}},cG=oG(iG,lG()),Nt=t=>/\[.*\]/.test(t)?t.replace(/([:\/\.\[\]\(\)\?\=\&\,\'\;\+\"#%\*!])/g,"\\$1"):t.replace(/([:\/\.\[\]\(\)\?\=\&\,\'\"#%\*!])/g,"\\$1").replace(/^([0-9])|\.(\d)/g,"\\$1$2"),B=(t,e)=>{let r=t.replace(/[\[\]]/g,"");return e==="bg-image"||e==="mask-image"||e==="list-image"?/^url\(/i.test(r.trim())?r:r.replace(/_/g," "):e==="list-image"?r:r.replace(/_/g," ")},ib=t=>(cb.readFileSync(t,"utf-8").match(/(?:class|className)=["']([\s\S]*?)["']/g)||[]).map(e=>e.replace(/(?:class|className)=["']/,"").replace(/["']$/,"").split(/\s+/)).flat().filter(Boolean),ph={first:"first-child",last:"last-child","not-first":"not(:first-child)","not-last":"not(:last-child)",odd:"nth-child(odd)",even:"nth-child(even)",placeholder:":placeholder",file:":file-selector-button",marker:":marker",selection:":selection","first-line":":first-line","first-letter":":first-letter",backdrop:":backdrop","has-checked":"has(:checked)","peer-hover":":hover","peer-focus":":focus","peer-active":":active","peer-invalid":":invalid","peer-checked":":checked","peer-disabled":":disabled","peer-required":":required","peer-read-only":":read-only","peer-indeterminate":":indeterminate"},fh=t=>{if(t.startsWith("group-hover/"))return`is(:where(.group\\/${t.replace("group-hover/","")}):hover *)`;if(t==="group-hover")return"is(:where(.group):hover *)";if(t.startsWith("peer-")&&t.includes("/")){let[e,r]=t.split("/");return`.peer\\/${r}${ph[`peer-${e}`]||`:${e.replace("peer-","")}`} ~ `}return t.startsWith("peer-")?`.peer${ph[t]||`:${t.replace("peer-","")}`} ~ `:ph[t]||`${t}`},Ee=t=>{t=t.replace(/[\[\]]/g,"");let e=t.match(/^rgb\((\d+)_(\d+)_(\d+)(?:_\/(\d+))?\)$/);if(e){let[,i,s,n,a]=e,o=a?parseInt(a,10)/100:1;return`rgba(${i},${s},${n},${o})`}let r=t.match(/^rgb\((\d+),(\d+),(\d+)(?:,(\d*\.?\d+))?\)$/);if(r){let[,i,s,n,a]=r;return`rgba(${i},${s},${n},${a||1})`}if(/^#[0-9A-Fa-f]{6}$|^#[0-9A-Fa-f]{3}$/.test(t))return t;if(t.includes("/")){let[i,s]=t.split("/");if(i.startsWith("#")){let n=i.replace("#","");n.length===3&&(n=n.split("").map(c=>c+c).join(""));let a=parseInt(n.substring(0,2),16),o=parseInt(n.substring(2,4),16),l=parseInt(n.substring(4,6),16);return`rgba(${a},${o},${l},${parseInt(s,10)/100})`}return`color-mix(in srgb, var(--color-${i}) ${parseInt(s,10)}%, transparent)`}return`var(--color-${t})`},ye=t=>/^\d+\/\d+$/.test(t)?`${t.replace(/^(\d+)\/(\d+)$/,(e,r,i)=>`${parseInt(r,10)/parseInt(i,10)*100}%`)}`:`var(--${t})`,ze=t=>/^\d+\/\d+$/.test(t)?`-${t.replace(/^(\d+)\/(\d+)$/,(e,r,i)=>`${parseInt(r,10)/parseInt(i,10)*100}%`)}`:`calc(-1 * var(--${t}))`,uG=t=>{let e=t.split(" ");if(e.length===1){let r=ye(e[0]);return`${r} ${r}`}return e.map(ye).join(" ")},pG=t=>{let e=t.split(" ");if(e.length===1){let r=ze(e[0]);return`${r} ${r}`}return e.map(ze).join(" ")},sb=["--uni-blur","--uni-drop-shadow","--uni-brightness","--uni-contrast","--uni-grayscale","--uni-hue-rotate","--uni-invert","--uni-saturate","--uni-sepia"],nb=["--uni-backdrop-blur","--uni-backdrop-brightness","--uni-backdrop-contrast","--uni-backdrop-grayscale","--uni-backdrop-hue-rotate","--uni-backdrop-invert","--uni-backdrop-saturate","--uni-backdrop-opacity","--uni-backdrop-sepia"],fG=["--uni-shadow","--uni-shadow-color","--uni-inset-shadow-color","--uni-ring-shadow","--uni-ring-color","--uni-inset-ring-shadow","--uni-ring-inset","--uni-inset-shadow","--uni-inset-ring-shadow"],ab=["--uni-rotate-x","--uni-rotate-y","--uni-rotate-z","--uni-skew-x","--uni-skew-y"],ob=["--uni-scale-x","--uni-scale-y"],lb=["--uni-translate-x","--uni-translate-y","--uni-translate-z"],Jt=(t,e,r,i,s=null,n=null,a=!1)=>{let o=Nt(t),l=a?`.${o} > *`:s&&(s.startsWith("peer-")||s.includes("peer-"))?`${fh(s)}.${o}`:s?`.${o}:${fh(s)}`:`.${o}`,c=sb.includes(r),u=nb.includes(r),d=fG.includes(r),x=ab.includes(r),E=ob.includes(r),v=lb.includes(r),A=typeof i=="object"?Object.entries(i).map(([I,O])=>`${I}: ${O}`).join("; "):Array.isArray(r)?r.map(I=>`${I}: ${i}`).join("; "):`${r}: ${i}`;return c?{selector:l,rule:`${l} { ${A}; filter: ${sb.map(I=>`var(${I})`).join(" ")}; }`,screen:n}:u?{selector:l,rule:`${l} { ${A}; backdrop-filter: ${nb.map(I=>`var(${I})`).join(" ")}; }`,screen:n}:d?{selector:l,rule:`${l} { ${A}; box-shadow: var(--uni-inset-shadow, 0 0 #0000), var(--uni-inset-ring-shadow, 0 0 #0000), var(--uni-ring-shadow, 0 0 #0000), var(--uni-shadow, 0 0 #0000); }`,screen:n}:x?{selector:l,rule:`${l} { ${A}; transform: ${ab.map(I=>`var(${I})`).join(" ")}; }`,screen:n}:E?{selector:l,rule:`${l} { ${A}; scale: ${ob.map(I=>`var(${I})`).join(" ")}; }`,screen:n}:v?{selector:l,rule:`${l} { ${A}; translate: ${lb.map(I=>`var(${I})`).join(" ")}; }`,screen:n}:{selector:l,rule:`${l} { ${A} }`,screen:n}};function hG(){let{sizing:t={},spacing:e={},colors:r={},breakpoints:i={},layout:s={},flexGrid:n={},typography:a={},background:o={},border:l={},effects:c={},filters:u={},table:d={},transition:x={},transforms:E={},interactivity:v={},svg:A={},rootClass:I={}}=cG.theme.extend,O=["html","js","jsx","ts","tsx","vue"].flatMap(h=>sG.sync(`**/*.${h}`,{cwd:process.cwd(),absolute:!0,ignore:["**/node_modules/**","**/dist/**","**/build/**"]})).filter(h=>cb.statSync(h).isFile()),j=Array.from(new Set(O.flatMap(h=>{if(!(h.endsWith(".js")||h.endsWith(".jsx")||h.endsWith(".ts")||h.endsWith(".tsx")))return ib(h);try{return aG(h)}catch{return ib(h)}}))),q={main:`
57
+ *,::after,::before,::backdrop,::file-selector-button {margin: 0; padding: 0; box-sizing: border-box; border: 0 solid; outline: 0 solid;}
58
+ h1,h2,h3,h4,h5,h6 {font-size: inherit;font-weight: inherit;}
59
+ ol,ul,menu {list-style: none;}
60
+ img,svg,video,canvas,audio,iframe,embed,object {display: block;vertical-align: middle;}
61
+ img,video {max-width: 100%;height: auto;}
62
+ textarea {resize: vertical;}
63
+ :root {
64
+ ${[...Object.entries({...r,...e,...I}).map(([h,Te])=>` --${h}: ${Te};`)," --uni-blur: blur(0);"," --uni-drop-shadow: drop-shadow(0 0 #0000);"," --uni-drop-shadow-color: rgb(0 0 0 / 0.15);"," --uni-brightness: brightness(100%);"," --uni-contrast: contrast(100%);"," --uni-grayscale: grayscale(0%);"," --uni-hue-rotate: hue-rotate(0deg);"," --uni-invert: invert(0%);"," --uni-saturate: saturate(100%);"," --uni-sepia: sepia(0%);"," --uni-backdrop-blur: blur(0);"," --uni-backdrop-brightness: brightness(100%);"," --uni-backdrop-contrast: contrast(100%);"," --uni-backdrop-grayscale: grayscale(0%);"," --uni-backdrop-hue-rotate: hue-rotate(0deg);"," --uni-backdrop-invert: invert(0%);"," --uni-backdrop-saturate: saturate(100%);"," --uni-backdrop-opacity: opacity(1);"," --uni-backdrop-sepia: sepia(0%);"," --animate-spin: spin 1s linear infinite;"," --animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;"," --animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;"," --animate-bounce: bounce 1s infinite;"," --uni-rotate-x: rotateX(0deg);"," --uni-rotate-y: rotateY(0deg);"," --uni-rotate-z: rotateZ(0deg);"," --uni-skew-x: skewX(0deg);"," --uni-skew-y: skewY(0deg);"," --uni-scale-x: 100%;"," --uni-scale-y: 100%;"," --uni-translate-x: 0px;"," --uni-translate-y: 0px;"," --uni-translate-z: 0px;"," --uni-border-style: solid;"," --uni-outline-style: solid;"].join(`
65
+ `)}
66
+ }
67
+
68
+ `,dark:""},F=Object.keys(i).reduce((h,Te)=>({...h,[Te]:[]}),{dark:[]}),U=new Set,xe=["hover","focus","active","first","last","not-first","not-last","odd","even","has-checked","required","group-hover","disabled","invalid","read-only","indeterminate","checked","before","after","empty","placeholder","file","marker","selection","first-line","first-letter","backdrop","print","peer-hover","peer-focus","peer-active","peer-invalid","peer-checked","peer-disabled","peer-required","peer-read-only","peer-indeterminate","open",...j.filter(h=>h.includes("group-hover/")||h.startsWith("peer-")&&h.includes("/")).map(h=>h.split(":")[0]).filter((h,Te,Ge)=>Ge.indexOf(h)===Te)],we=[{prefix:"scrollbar-[",prop:"scrollbar-color",transform:h=>B(h).replace(/color-([a-zA-Z0-9\-]+)/g,(Te,Ge)=>`var(--color-${Ge})`)},{prefix:"columns-",prop:"columns",transform:B},{prefix:"p-[",prop:"padding",transform:B},{prefix:"pt-[",prop:"padding-top",transform:B},{prefix:"pr-[",prop:"padding-right",transform:B},{prefix:"pb-[",prop:"padding-bottom",transform:B},{prefix:"pl-[",prop:"padding-left",transform:B},{prefix:"px-[",prop:"padding-inline",transform:B},{prefix:"py-[",prop:"padding-block",transform:B},{prefix:"p-",prop:"padding",transform:ye},{prefix:"pt-",prop:"padding-top",transform:ye},{prefix:"pr-",prop:"padding-right",transform:ye},{prefix:"pb-",prop:"padding-bottom",transform:ye},{prefix:"pl-",prop:"padding-left",transform:ye},{prefix:"px-",prop:"padding-inline",transform:ye},{prefix:"py-",prop:"padding-block",transform:ye},{prefix:"m-[",prop:"margin",transform:B},{prefix:"mt-[",prop:"margin-top",transform:B},{prefix:"mr-[",prop:"margin-right",transform:B},{prefix:"mb-[",prop:"margin-bottom",transform:B},{prefix:"ml-[",prop:"margin-left",transform:B},{prefix:"mx-[",prop:["margin-left","margin-right"],transform:B},{prefix:"my-[",prop:["margin-top","margin-bottom"],transform:B},{prefix:"m-",prop:"margin",transform:ye},{prefix:"mt-",prop:"margin-top",transform:ye},{prefix:"mr-",prop:"margin-right",transform:ye},{prefix:"mb-",prop:"margin-bottom",transform:ye},{prefix:"ml-",prop:"margin-left",transform:ye},{prefix:"mx-",prop:["margin-left","margin-right"],transform:ye},{prefix:"my-",prop:["margin-top","margin-bottom"],transform:ye},{prefix:"-m-",prop:"margin",transform:ze},{prefix:"-mt-",prop:"margin-top",transform:ze},{prefix:"-mr-",prop:"margin-right",transform:ze},{prefix:"-mb-",prop:"margin-bottom",transform:ze},{prefix:"-ml-",prop:"margin-left",transform:ze},{prefix:"-mx-",prop:["margin-left","margin-right"],transform:h=>e[h]?`var(--${h})`:h},{prefix:"-my-",prop:["margin-top","margin-bottom"],transform:h=>e[h]?`var(--${h})`:h},{prefix:"top-[",prop:"top",transform:B},{prefix:"right-[",prop:"right",transform:B},{prefix:"bottom-[",prop:"bottom",transform:B},{prefix:"left-[",prop:"left",transform:B},{prefix:"top-",prop:"top",transform:ye},{prefix:"right-",prop:"right",transform:ye},{prefix:"bottom-",prop:"bottom",transform:ye},{prefix:"left-",prop:"left",transform:ye},{prefix:"-top-",prop:"top",transform:ze},{prefix:"-right-",prop:"right",transform:ze},{prefix:"-bottom-",prop:"bottom",transform:ze},{prefix:"-left-",prop:"left",transform:ze},{prefix:"gap-x-[",prop:"gap",transform:B},{prefix:"gap-x-",prop:"column-gap",transform:h=>`var(--${h})`},{prefix:"gap-y-[",prop:"gap",transform:B},{prefix:"gap-y-",prop:"row-gap",transform:h=>`var(--${h})`},{prefix:"gap-[",prop:"gap",transform:B},{prefix:"gap-",prop:"gap",transform:h=>`var(--${h})`},{prefix:"object-[",prop:"object-position",transform:B},{prefix:"inset-[",prop:"inset",transform:B},{prefix:"inset-x-[",prop:"inset-inline",transform:B},{prefix:"inset-y-[",prop:"inset-block",transform:B},{prefix:"inset-x-",prop:"inset-inline",transform:ye},{prefix:"inset-y-",prop:"inset-block",transform:ye},{prefix:"-inset-x-",prop:"inset-inline",transform:ze},{prefix:"-inset-y-",prop:"inset-block",transform:ze},{prefix:"inset-",prop:"inset",transform:ye},{prefix:"-inset-",prop:"inset",transform:ze},{prefix:"z-",prop:"z-index",transform:B},{prefix:"-z-",prop:"z-index",transform:h=>`-${h}`},{prefix:"flex-[",prop:"flex",transform:B},{prefix:"flex-",prop:"flex",transform:B},{prefix:"grow-",prop:"flex-grow",transform:B},{prefix:"shrink-",prop:"flex-shrink",transform:B},{prefix:"basis-[",prop:"flex-basis",transform:B},{prefix:"basis-",prop:"flex-basis",transform:ye},{prefix:"order-",prop:"order",transform:B},{prefix:"-order-",prop:"order",transform:h=>`-${h}`},{prefix:"w-[",prop:"width",transform:B},{prefix:"min-w-[",prop:"min-width",transform:B},{prefix:"max-w-[",prop:"max-width",transform:B},{prefix:"w-",prop:"width",transform:ye},{prefix:"min-w-",prop:"min-width",transform:ye},{prefix:"max-w-",prop:"max-width",transform:ye},{prefix:"h-[",prop:"height",transform:B},{prefix:"min-h-[",prop:"min-height",transform:B},{prefix:"max-h-[",prop:"max-height",transform:B},{prefix:"h-",prop:"height",transform:ye},{prefix:"min-h-",prop:"min-height",transform:ye},{prefix:"max-h-",prop:"max-height",transform:ye},{prefix:"size-[",prop:["width","height"],transform:B},{prefix:"size-",prop:["width","height"],transform:ye},{prefix:"size-auto",prop:null,transform:()=>({width:"auto",height:"auto"})},{prefix:"size-px",prop:null,transform:()=>({width:"1px",height:"1px"})},{prefix:"size-full",prop:null,transform:()=>({width:"100%",height:"100%"})},{prefix:"size-dvw",prop:null,transform:()=>({width:"100dvw",height:"100dvw"})},{prefix:"size-dvh",prop:null,transform:()=>({width:"100dvh",height:"100dvh"})},{prefix:"size-lvw",prop:null,transform:()=>({width:"100lvw",height:"100lvw"})},{prefix:"size-lvh",prop:null,transform:()=>({width:"100lvh",height:"100lvh"})},{prefix:"size-svw",prop:null,transform:()=>({width:"100svw",height:"100svw"})},{prefix:"size-svh",prop:null,transform:()=>({width:"100svh",height:"100svh"})},{prefix:"size-min",prop:null,transform:()=>({width:"min-content",height:"min-content"})},{prefix:"size-max",prop:null,transform:()=>({width:"max-content",height:"max-content"})},{prefix:"size-fit",prop:null,transform:()=>({width:"fit-content",height:"fit-content"})},{prefix:"font-[",prop:"font-weight",transform:B},{prefix:"font-family-[",prop:"font-family",transform:B},{prefix:"tracking-[",prop:"letter-spacing",transform:B},{prefix:"leading-",prop:"line-height",transform:h=>`calc(var(--1) * ${B(h)})`},{prefix:"indent-[",prop:"text-indent",transform:B},{prefix:"indent-",prop:"text-indent",transform:h=>`var(--${h})`},{prefix:"-indent-",prop:"text-indent",transform:h=>`calc(-1 * var(--${h}))`},{prefix:"align-[",prop:"vertical-align",transform:B},{prefix:"list-image-[",prop:"list-style-image",transform:h=>B(h,"list-image")},{prefix:"bg-image-[",prop:"background-image",transform:h=>B(h,"bg-image")},{prefix:"mask-size-[",prop:"mask-size",transform:B},{prefix:"mask-position-[",prop:"mask-position",transform:B},{prefix:"mask-image-[",prop:["mask-image","-webkit-mask-image"],transform:h=>B(h,"mask-image")},{prefix:"grid-columns-[",prop:"grid-template-columns",transform:B},{prefix:"grid-columns-",prop:"grid-template-columns",transform:h=>/^\d+$/.test(h)?`repeat(${h}, minmax(0, 1fr))`:h},{prefix:"col-start-",prop:"grid-column-start",transform:B},{prefix:"-col-start-",prop:"grid-column-start",transform:h=>`calc(${B(h)} * -1)`},{prefix:"col-end-",prop:"grid-column-end",transform:B},{prefix:"-col-end-",prop:"grid-column-end",transform:h=>`calc(${B(h)} * -1)`},{prefix:"col-span-",prop:"grid-column",transform:h=>`span ${B(h)} / span ${B(h)}`},{prefix:"col-[",prop:"grid-column",transform:B},{prefix:"col-",prop:"grid-column",transform:h=>`${B(h)}`},{prefix:"-col-",prop:"grid-column",transform:h=>`calc(${B(h)} * -1)`},{prefix:"grid-rows-[",prop:"grid-template-rows",transform:B},{prefix:"grid-rows-",prop:"grid-template-rows",transform:h=>/^\d+$/.test(h)?`repeat(${h}, minmax(0, 1fr))`:h},{prefix:"row-start-",prop:"grid-row-start",transform:B},{prefix:"-row-start-",prop:"grid-row-start",transform:h=>`calc(${B(h)} * -1)`},{prefix:"row-end-",prop:"grid-row-end",transform:B},{prefix:"-row-end-",prop:"grid-row-end",transform:h=>`calc(${B(h)} * -1)`},{prefix:"row-span-",prop:"grid-row",transform:h=>`span ${B(h)} / span ${B(h)}`},{prefix:"row-[",prop:"grid-row",transform:B},{prefix:"row-",prop:"grid-row",transform:h=>`${B(h)}`},{prefix:"-row-",prop:"grid-row",transform:h=>`calc(${B(h)} * -1)`},{prefix:"auto-columns-[",prop:"grid-auto-columns",transform:B},{prefix:"auto-rows-[",prop:"grid-auto-rows",transform:B},{prefix:"row-start-",prop:"grid-row-start",transform:B},{prefix:"row-end-",prop:"grid-row-end",transform:B},{prefix:"bg-position-[",prop:"background-position",transform:B},{prefix:"bg-size-[",prop:"background-size",transform:B},{prefix:"bg-gradient-[",prop:"background-image",transform:h=>B(h).replace(/color-([a-zA-Z0-9\-]+(?:\/[0-9]+)?)/g,(Te,Ge)=>Ee(Ge))},{prefix:"text-shadow-[",prop:"text-shadow",transform:B},{prefix:"text-shadow-color-[",prop:"--uni-text-shadow-color",transform:Ee},{prefix:"text-shadow-color-",prop:"--uni-text-shadow-color",transform:Ee},{prefix:"text-color-[",prop:"color",transform:Ee},{prefix:"text-color-",prop:"color",transform:Ee},{prefix:"text-[",prop:"font-size",transform:B},{prefix:"text-",prop:null,transform(h){if(h.startsWith("color-"))return{color:Ee(h.replace("color-",""))};let Te=h.match(/^([a-z0-9\[\]\-]+)\/([a-z0-9\[\]\-]+)$/i);if(Te){let[Ge,pt,wt]=Te;if(!pt.startsWith("color-"))return{"font-size":e[pt]?`var(--${pt})`:`var(--text-${pt})`,"line-height":e[wt]?`var(--${wt})`:`var(--line-${wt})`}}return e[h]?{"font-size":`var(--${h})`}:{"font-size":`var(--text-${h})`}}},{prefix:"bg-color-[",prop:"background-color",transform:Ee},{prefix:"bg-color-",prop:"background-color",transform:Ee},{prefix:"decoration-thick-[",prop:"text-decoration-thickness",transform:B},{prefix:"decoration-thick-",prop:"text-decoration-thickness",transform:h=>`${h}px`},{prefix:"decoration-[",prop:"text-decoration-color",transform:Ee},{prefix:"decoration-",prop:"text-decoration-color",transform:Ee},{prefix:"underline-offset-[",prop:"text-underline-offset",transform:B},{prefix:"underline-offset-",prop:"text-underline-offset",transform:h=>`${h}px`},{prefix:"-underline-offset-",prop:"text-underline-offset",transform:h=>`-${h}px`},{prefix:"outline-offset-[",prop:"outline-offset",transform:B},{prefix:"outline-style-",prop:null,transform:h=>({"--uni-outline-style":h,"outline-style":"var(--uni-outline-style)"})},{prefix:"outline-color-[",prop:"outline-color",transform:Ee},{prefix:"outline-color-",prop:"outline-color",transform:Ee},{prefix:"outline-[",prop:"outline-width",transform:B},{prefix:"outline-offset-",prop:"outline-offset",transform:h=>`${h}px`},{prefix:"-outline-offset-",prop:"outline-offset",transform:h=>`-${h}px`},{prefix:"outline-",prop:null,transform:h=>({"outline-width":`${h}px`,"outline-style":"var(--uni-outline-style)"})},{prefix:"border-spacing-x-",prop:null,transform:h=>({"--uni-border-spacing-x":e[h]?`calc(var(--${h}))`:`calc(${B(h)})`,"border-spacing":"var(--uni-border-spacing-x) var(--uni-border-spacing-y, 0)"})},{prefix:"border-spacing-y-",prop:null,transform:h=>({"--uni-border-spacing-y":e[h]?`calc(var(--${h}))`:`calc(${B(h)})`,"border-spacing":"var(--uni-border-spacing-x, 0) var(--uni-border-spacing-y)"})},{prefix:"border-spacing-",prop:null,transform:h=>({"--uni-border-spacing-x":e[h]?`calc(var(--${h}))`:`calc(${B(h)})`,"--uni-border-spacing-y":e[h]?`calc(var(--${h}))`:`calc(${B(h)})`,"border-spacing":"var(--uni-border-spacing-x) var(--uni-border-spacing-y)"})},{prefix:"border-style-",prop:null,transform:h=>({"--uni-border-style":h,"border-style":"var(--uni-border-style)"})},{prefix:"border-color-[",prop:"border-color",transform:Ee},{prefix:"border-color-",prop:"border-color",transform:Ee},{prefix:"border-t-color-[",prop:"border-top-color",transform:Ee},{prefix:"border-r-color-[",prop:"border-right-color",transform:Ee},{prefix:"border-b-color-[",prop:"border-bottom-color",transform:Ee},{prefix:"border-l-color-[",prop:"border-left-color",transform:Ee},{prefix:"border-x-color-[",prop:"border-inline-color",transform:Ee},{prefix:"border-y-color-[",prop:"border-block-color",transform:Ee},{prefix:"border-t-color-",prop:"border-top-color",transform:Ee},{prefix:"border-r-color-",prop:"border-right-color",transform:Ee},{prefix:"border-b-color-",prop:"border-bottom-color",transform:Ee},{prefix:"border-l-color-",prop:"border-left-color",transform:Ee},{prefix:"border-x-color-",prop:"border-inline-color",transform:Ee},{prefix:"border-y-color-",prop:"border-block-color",transform:Ee},{prefix:"border-x-",prop:null,transform:h=>({"border-inline-width":`${h}px`,"border-style":"var(--uni-border-style)"})},{prefix:"border-y-",prop:null,transform:h=>({"border-block-width":`${h}px`,"border-style":"var(--uni-border-style)"})},{prefix:"border-r-",prop:null,transform:h=>({"border-right-width":`${h}px`,"border-style":"var(--uni-border-style)"})},{prefix:"border-t-",prop:null,transform:h=>({"border-top-width":`${h}px`,"border-style":"var(--uni-border-style)"})},{prefix:"border-b-",prop:null,transform:h=>({"border-bottom-width":`${h}px`,"border-style":"var(--uni-border-style)"})},{prefix:"border-l-",prop:null,transform:h=>({"border-left-width":`${h}px`,"border-style":"var(--uni-border-style)"})},{prefix:"border-[",prop:null,transform:h=>({"border-width":B(h),"border-style":"var(--uni-border-style)"})},{prefix:"border-",prop:null,transform:h=>/^\d+$/.test(h)||/^\d+(px|rem|em|%)$/.test(h)?{"border-width":`${h}px`,"border-style":"var(--uni-border-style)"}:{}},{prefix:"line-clamp-",prop:null,transform:h=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":h.replace("/","")})},{prefix:"line-clamp-none",prop:null,transform:()=>({overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"unset"})},{prefix:"truncate",prop:null,transform:()=>({overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"})},{prefix:"sr-only",prop:null,transform:()=>({position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)","white-space":"nowrap","border-width":"0"})},{prefix:"not-sr-only",prop:null,transform:()=>({position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto","white-space":"normal"})},{prefix:"rounded-[",prop:"border-radius",transform:B},...["xs","sm","md","lg","xl","2xl","4xl","none","full"].map(h=>({prefix:`rounded-${h}`,prop:"border-radius",transform:()=>h==="none"?"0":h==="full"?"calc(infinity * 1px)":`var(--radius-${h})`})),...["t","r","b","l","tl","tr","br","bl"].flatMap(h=>["xs","sm","md","lg","xl","2xl","4xl","none","full"].map(Te=>{let Ge=Te==="none"?"0":Te==="full"?"calc(infinity * 1px)":`var(--radius-${Te})`,pt={};return{t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-right","bottom-left"],l:["top-left","bottom-left"],tl:["top-left"],tr:["top-right"],br:["bottom-right"],bl:["bottom-left"]}[h].forEach(wt=>{pt[`border-${wt}-radius`]=Ge}),{prefix:`rounded-${h}-${Te}`,prop:null,transform:()=>pt}})),{prefix:"ring-inset-color-[",prop:"--uni-inset-ring-color",transform:Ee},{prefix:"ring-inset-color-",prop:"--uni-inset-ring-color",transform:Ee},{prefix:"ring-color-[",prop:"--uni-ring-color",transform:Ee},{prefix:"ring-color-",prop:"--uni-ring-color",transform:Ee},{prefix:"shadow-inset-color-[",prop:"--uni-inset-shadow-color",transform:Ee},{prefix:"shadow-inset-color-",prop:"--uni-inset-shadow-color",transform:Ee},{prefix:"shadow-color-[",prop:"--uni-shadow-color",transform:Ee},{prefix:"shadow-color-",prop:"--uni-shadow-color",transform:Ee},{prefix:"shadow-[",prop:"--uni-shadow",transform:B},{prefix:"shadow-",prop:"--uni-shadow",transform:h=>c.shadow?.[h]||B(h)},{prefix:"ring-inset-",prop:"--uni-inset-ring-shadow",transform:h=>`inset 0 0 0 ${h}px var(--uni-inset-ring-color, currentcolor)`},{prefix:"ring-inset",prop:"--uni-inset-ring-shadow",transform:h=>"inset 0 0 0 1px var(--uni-inset-ring-color, currentcolor)"},{prefix:"ring-[",prop:"--uni-ring-shadow",transform:h=>`0 0 0 ${B(h)} var(--uni-ring-color, currentColor)`},{prefix:"ring-",prop:"--uni-ring-shadow",transform:h=>`0 0 0 ${h}px var(--uni-ring-color, currentColor)`},{prefix:"ring",prop:"--uni-ring-shadow",transform:h=>"0 0 0 1px var(--uni-ring-color, currentColor)"},{prefix:"drop-shadow-color-[",prop:"--uni-drop-shadow-color",transform:Ee},{prefix:"drop-shadow-color-",prop:"--uni-drop-shadow-color",transform:Ee},{prefix:"drop-shadow-[",prop:null,transform:h=>({filter:`drop-shadow(${B(h)})`})},{prefix:"drop-shadow-",prop:"--uni-drop-shadow",transform:h=>`drop-shadow(${c.dropShadow?.[h]||B(h)})`},{prefix:"blur-[",prop:"--uni-blur",transform:h=>`blur(${B(h)})`},{prefix:"blur-",prop:"--uni-blur",transform:h=>`blur(var(--blur-${h}))`},{prefix:"brightness-",prop:"--uni-brightness",transform:h=>`brightness(${B(h)}%)`},{prefix:"contrast-",prop:"--uni-contrast",transform:h=>`contrast(${B(h)}%)`},{prefix:"grayscale-",prop:"--uni-grayscale",transform:h=>`grayscale(${B(h)}%)`},{prefix:"grayscale",prop:"--uni-grayscale",transform:h=>"grayscale(100%)"},{prefix:"hue-rotate-",prop:"--uni-hue-rotate",transform:h=>`hue-rotate(${B(h)}deg)`},{prefix:"-hue-rotate-",prop:"--uni-hue-rotate",transform:h=>`hue-rotate(calc(${B(h)}deg * -1))`},{prefix:"invert-",prop:"--uni-invert",transform:h=>`invert(${B(h)}%)`},{prefix:"invert",prop:"--uni-invert",transform:h=>"invert(100%)"},{prefix:"saturate-",prop:"--uni-saturate",transform:h=>`saturate(${B(h)}%)`},{prefix:"sepia-",prop:"--uni-sepia",transform:h=>`sepia(${B(h)}%)`},{prefix:"sepia",prop:"--uni-sepia",transform:h=>"sepia(100%)"},{prefix:"backdrop-blur-[",prop:"--uni-backdrop-blur",transform:h=>`blur(${B(h)})`},{prefix:"backdrop-blur-",prop:"--uni-backdrop-blur",transform:h=>`blur(var(--blur-${h}))`},{prefix:"backdrop-brightness-",prop:"--uni-backdrop-brightness",transform:h=>`brightness(${B(h)}%)`},{prefix:"backdrop-contrast-",prop:"--uni-backdrop-contrast",transform:h=>`contrast(${B(h)}%)`},{prefix:"backdrop-grayscale-",prop:"--uni-backdrop-grayscale",transform:h=>`grayscale(${B(h)}%)`},{prefix:"backdrop-grayscale",prop:"--uni-backdrop-grayscale",transform:h=>"grayscale(100%)"},{prefix:"backdrop-hue-rotate-",prop:"--uni-backdrop-hue-rotate",transform:h=>`hue-rotate(${B(h)}deg)`},{prefix:"-backdrop-hue-rotate-",prop:"--uni-backdrop-hue-rotate",transform:h=>`hue-rotate(calc(${B(h)}deg * -1))`},{prefix:"backdrop-invert-",prop:"--uni-backdrop-invert",transform:h=>`invert(${B(h)}%)`},{prefix:"backdrop-invert",prop:"--uni-backdrop-invert",transform:h=>"invert(100%)"},{prefix:"backdrop-opacity-",prop:"--uni-backdrop-opacity",transform:h=>`opacity(${B(h)}%)`},{prefix:"backdrop-saturate-",prop:"--uni-backdrop-saturate",transform:h=>`saturate(${B(h)}%)`},{prefix:"backdrop-sepia-",prop:"--uni-backdrop-sepia",transform:h=>`sepia(${B(h)}%)`},{prefix:"backdrop-sepia",prop:"--uni-backdrop-sepia",transform:h=>"sepia(100%)"},{prefix:"opacity-",prop:"opacity",transform(h){if(/^\d+$/.test(h)){let Te=parseInt(h,10);if(Te>=0&&Te<=100)return(Te/100).toString()}return B(h)}},{prefix:"duration-",prop:null,transform:h=>({"--uni-transition-duration":`${B(h)}ms`,"transition-duration":"var(--uni-transition-duration, 150ms)"})},{prefix:"ease-[",prop:null,transform:h=>({"--uni-transition-timing-function":B(h),"transition-timing-function":"var(--uni-transition-timing-function, cubic-bezier(0.4, 0, 0.2, 1))"})},{prefix:"delay-",prop:null,transform:h=>({"--uni-transition-delay":`${B(h)}ms`,"transition-delay":"var(--uni-transition-delay, 0ms)"})},{prefix:"transition-",prop:null,transform:h=>({"--uni-transition-property":`${B(h)}`,"transition-property":"var(--uni-transition-property, all)","transition-duration":"var(--uni-transition-duration, 150ms)"})},{prefix:"animate-[",prop:"animation",transform:h=>B(h)},{prefix:"animate-spin",prop:"animation",transform:()=>"var(--animate-spin)"},{prefix:"animate-ping",prop:"animation",transform:()=>"var(--animate-ping)"},{prefix:"animate-pulse",prop:"animation",transform:()=>"var(--animate-pulse)"},{prefix:"animate-bounce",prop:"animation",transform:()=>"var(--animate-bounce)"},{prefix:"animate-none",prop:"animation",transform:()=>"none"},{prefix:"iteration-",prop:"animation-iteration-count",transform:h=>B(h)},{prefix:"perspective-[",prop:"perspective",transform:h=>B(h)},{prefix:"perspective-origin-[",prop:"perspective-origin",transform:h=>B(h)},{prefix:"rotate-[",prop:"rotate",transform:h=>B(h)},{prefix:"rotate-x-",prop:"--uni-rotate-x",transform:h=>`rotateX(${h}deg)`},{prefix:"rotate-y-",prop:"--uni-rotate-y",transform:h=>`rotateY(${h}deg)`},{prefix:"rotate-z-",prop:"--uni-rotate-z",transform:h=>`rotateZ(${h}deg)`},{prefix:"-rotate-x-",prop:"--uni-rotate-x",transform:h=>`rotateX(calc(${h}deg * -1))`},{prefix:"-rotate-y-",prop:"--uni-rotate-y",transform:h=>`rotateY(calc(${h}deg * -1))`},{prefix:"-rotate-z-",prop:"--uni-rotate-z",transform:h=>`rotateZ(calc(${h}deg * -1))`},{prefix:"rotate-",prop:"rotate",transform:h=>`${B(h)}deg`},{prefix:"-rotate-",prop:"rotate",transform:h=>`calc(${B(h)}deg * -1)`},{prefix:"scale-x-",prop:"--uni-scale-x",transform:h=>`${h}%`},{prefix:"scale-y-",prop:"--uni-scale-y",transform:h=>`${h}%`},{prefix:"-scale-x-",prop:"--uni-scale-x",transform:h=>`calc(${h}% * -1)`},{prefix:"-scale-y-",prop:"--uni-scale-y",transform:h=>`calc(${h}% * -1)`},{prefix:"scale-",prop:"scale",transform:h=>`${B(h)}%`},{prefix:"-scale-",prop:"scale",transform:h=>`calc(${B(h)}% * -1)`},{prefix:"skew-x-",prop:"--uni-skew-x",transform:h=>`skewX(${h}deg)`},{prefix:"skew-y-",prop:"--uni-skew-y",transform:h=>`skewY(${h}deg)`},{prefix:"skew-",prop:"transform",transform:h=>`skewX(${h}deg) skewY(${h}deg)`},{prefix:"-skew-x-",prop:"--uni-skew-x",transform:h=>`skewX(calc(${h}deg * -1))`},{prefix:"-skew-y-",prop:"--uni-skew-y",transform:h=>`skewY(calc(${h}deg * -1))`},{prefix:"-skew-",prop:"transform",transform:h=>`skewX(calc(${h}deg * -1)) skewY(calc(${h}deg * -1))`},{prefix:"origin-[",prop:"transform-origin",transform:B},{prefix:"translate-[",prop:"translate",transform:B},{prefix:"translate-x-[",prop:"--uni-translate-x",transform:B},{prefix:"translate-y-[",prop:"--uni-translate-y",transform:B},{prefix:"translate-x-",prop:"--uni-translate-x",transform:ye},{prefix:"translate-y-",prop:"--uni-translate-y",transform:ye},{prefix:"translate-z-",prop:"--uni-translate-z",transform:ye},{prefix:"-translate-x-",prop:"--uni-translate-x",transform:ze},{prefix:"-translate-y-",prop:"--uni-translate-y",transform:ze},{prefix:"-translate-z-",prop:"--uni-translate-z",transform:ze},{prefix:"translate-",prop:"translate",transform:uG},{prefix:"-translate-",prop:"translate",transform:pG},{prefix:"caret-color-[",prop:"caret-color",transform:Ee},{prefix:"caret-color-",prop:"caret-color",transform:Ee},{prefix:"accent-color-[",prop:"accent-color",transform:Ee},{prefix:"accent-color-",prop:"accent-color",transform:Ee},{prefix:"scroll-m-[",prop:"scroll-margin",transform:B},{prefix:"scroll-mt-[",prop:"scroll-margin-top",transform:B},{prefix:"scroll-mr-[",prop:"scroll-margin-right",transform:B},{prefix:"scroll-mb-[",prop:"scroll-margin-bottom",transform:B},{prefix:"scroll-ml-[",prop:"scroll-margin-left",transform:B},{prefix:"scroll-mx-[",prop:["scroll-margin-left","scroll-margin-right"],transform:B},{prefix:"scroll-my-[",prop:["scroll-margin-top","scroll-margin-bottom"],transform:B},{prefix:"scroll-m-",prop:"scroll-margin",transform:ye},{prefix:"-scroll-m-",prop:"scroll-margin",transform:ze},{prefix:"scroll-mx-",prop:"scroll-margin-inline",transform:ye},{prefix:"-scroll-mx-",prop:"scroll-margin-inline",transform:ze},{prefix:"scroll-my-",prop:"scroll-margin-block",transform:ye},{prefix:"-scroll-my-",prop:"scroll-margin-block",transform:ze},{prefix:"scroll-mt-",prop:"scroll-margin-top",transform:ye},{prefix:"-scroll-mt-",prop:"scroll-margin-top",transform:ze},{prefix:"scroll-mr-",prop:"scroll-margin-right",transform:ye},{prefix:"-scroll-mr-",prop:"scroll-margin-right",transform:ze},{prefix:"scroll-mb-",prop:"scroll-margin-bottom",transform:ye},{prefix:"-scroll-mb-",prop:"scroll-margin-bottom",transform:ze},{prefix:"scroll-ml-",prop:"scroll-margin-left",transform:ye},{prefix:"-scroll-ml-",prop:"scroll-margin-left",transform:ze},{prefix:"scroll-pt-[",prop:"scroll-padding-top",transform:ye},{prefix:"scroll-pr-[",prop:"scroll-padding-right",transform:ye},{prefix:"scroll-pb-[",prop:"scroll-padding-bottom",transform:ye},{prefix:"scroll-pl-[",prop:"scroll-padding-left",transform:ye},{prefix:"scroll-p-[",prop:"scroll-padding",transform:ye},{prefix:"scroll-py-[",prop:"scroll-padding-block",transform:ye},{prefix:"scroll-px-[",prop:"scroll-padding-inline",transform:ye},{prefix:"scroll-p-",prop:"scroll-padding",transform:ye},{prefix:"-scroll-p-",prop:"scroll-padding",transform:ze},{prefix:"scroll-px-",prop:"scroll-padding-inline",transform:ye},{prefix:"-scroll-px-",prop:"scroll-padding-inline",transform:ze},{prefix:"scroll-py-",prop:"scroll-padding-block",transform:ye},{prefix:"-scroll-py-",prop:"scroll-padding-block",transform:ze},{prefix:"scroll-pt-",prop:"scroll-padding-top",transform:ye},{prefix:"-scroll-pt-",prop:"scroll-padding-top",transform:ze},{prefix:"scroll-pr-",prop:"scroll-padding-right",transform:ye},{prefix:"-scroll-pr-",prop:"scroll-padding-right",transform:ze},{prefix:"scroll-pb-",prop:"scroll-padding-bottom",transform:ye},{prefix:"-scroll-pb-",prop:"scroll-padding-bottom",transform:ze},{prefix:"scroll-pl-",prop:"scroll-padding-left",transform:ye},{prefix:"-scroll-pl-",prop:"scroll-padding-left",transform:ze},{prefix:"fill-color-[",prop:"fill",transform:Ee},{prefix:"fill-color-",prop:"fill",transform:Ee},{prefix:"stroke-color-[",prop:"stroke",transform:Ee},{prefix:"stroke-color-",prop:"stroke",transform:Ee},{prefix:"stroke-[",prop:"stroke-width",transform:h=>B(h)},{prefix:"stroke-",prop:"stroke-width",transform:h=>`${h}px`}],ve={layout:s,flexGrid:n,sizing:t,typography:a,background:o,border:l,effects:c,filters:u,table:d,transition:x,transforms:E,interactivity:v,svg:A},Oe=new Set;j.forEach(h=>{let Te=!1,Ge=h;h.startsWith("!")&&(Te=!0,Ge=h.slice(1)),Object.entries(ve).forEach(([M,k])=>Object.entries(k).forEach(([D,R])=>{typeof R=="object"&&Object.entries(R).forEach(([z,K])=>{if(Ge===z){let Y=Nt(h);U.has(Y)||(q.main+=`.${Y} { ${D}: ${K}${Te?" !important":""}; }
69
+ `,U.add(Y),Oe.add(z))}xe.forEach(Y=>{if(h===`${Y}:${z}`){let W=Jt(h,z,D,K,Y);U.has(W.selector)||(q.main+=`${W.rule}
70
+ `,U.add(W.selector),Oe.add(h))}})})}));let pt=h.match(/^nth-(\d+):(.*)$/);if(pt){let[M,k,D]=pt;Object.entries(ve).forEach(([R,z])=>Object.entries(z).forEach(([K,Y])=>{if(typeof Y=="object"&&Y[D]){let W=Nt(h);U.has(W)||(q.main+=`.${W}:nth-child(${k}) { ${K}: ${Y[D]}; }
71
+ `,U.add(W))}}))}let wt=h.match(/^nth-last-(\d+):(.*)$/);if(wt){let[M,k,D]=wt;Object.entries(ve).forEach(([R,z])=>Object.entries(z).forEach(([K,Y])=>{if(typeof Y=="object"&&Y[D]){let W=Nt(h);U.has(W)||(q.main+=`.${W}:nth-last-child(${k}) { ${K}: ${Y[D]}; }
72
+ `,U.add(W))}}))}if(h.startsWith("aspect-")&&!h.includes(":")){let M=h.replace("aspect-",""),k=Nt(h);s["aspect-ratio"]?.[h]&&!U.has(k)?(q.main+=`.${k} { aspect-ratio: ${s["aspect-ratio"][h]}; }
73
+ `,U.add(k)):/^\d+\/\d+$/.test(M)&&!U.has(k)&&(q.main+=`.${k} { aspect-ratio: ${M}; }
74
+ `,U.add(k))}if(h.startsWith("before:content-[")||h.startsWith("after:content-[")){let M=h.startsWith("before:")?"before":"after",k=h.match(/content-\[(.*)\]/);if(k){let D=k[1].replace(/_/g," "),R=Nt(h);U.has(R)||(q.main+=`.${R}::${M} { content: "${D}"; }
75
+ `,U.add(R))}}if(h.startsWith("divide-")||h.startsWith("space-")||h.startsWith("-space-")){let M=Nt(h);if(!U.has(M)){if(h.startsWith("divide-x-")){let k=h.replace("divide-x-","");q.main+=`:where(.${M} > :not(:last-child)) { border-right-width: ${k}px; border-style: solid; }
76
+ `}else if(h.startsWith("divide-y-")){let k=h.replace("divide-y-","");q.main+=`:where(.${M} > :not(:last-child)) { border-bottom-width: ${k}px; border-style: solid; }
77
+ `}else if(h==="divide-x")q.main+=`:where(.${M} > :not(:last-child)) { border-right-width: 1px; border-style: solid; }
78
+ `;else if(h==="divide-y")q.main+=`:where(.${M} > :not(:last-child)) { border-bottom-width: 1px; border-style: solid; }
79
+ `;else if(h.startsWith("divide-color-[")||h.startsWith("divide-color-")){let k=h.startsWith("divide-color-[")?h.replace("divide-color-[","").replace("]",""):h.replace("divide-color-","");q.main+=`:where(.${M} > :not(:last-child)) { border-color: ${Ee(k)}; }
80
+ `}else if(h.startsWith("divide-style-")){let k=h.replace("divide-style-","");["solid","dashed","dotted","double","none","hidden"].includes(k)&&(q.main+=`:where(.${M} > :not(:last-child)) { border-style: ${k}; }
81
+ `)}else if(h.startsWith("space-x-[")){let k=h.replace("space-x-[","").replace("]","");q.main+=`:where(.${M} > :not(:last-child)) { margin-right: ${B(k)}; }
82
+ `}else if(h.startsWith("space-y-[")){let k=h.replace("space-y-[","").replace("]","");q.main+=`:where(.${M} > :not(:last-child)) { margin-bottom: ${B(k)}; }
83
+ `}else if(h.startsWith("space-x-")){let k=h.replace("space-x-","");q.main+=`:where(.${M} > :not(:last-child)) { margin-right: ${e[k]?`var(--${k})`:k}; }
84
+ `}else if(h.startsWith("space-y-")){let k=h.replace("space-y-","");q.main+=`:where(.${M} > :not(:last-child)) { margin-bottom: ${e[k]?`var(--${k})`:k}; }
85
+ `}else if(h.startsWith("-space-x-")){let k=h.replace("-space-x-","");q.main+=`:where(.${M} > :not(:last-child)) { margin-right: calc(-1 * ${e[k]?`var(--${k})`:k}); }
86
+ `}else if(h.startsWith("-space-y-")){let k=h.replace("-space-y-","");q.main+=`:where(.${M} > :not(:last-child)) { margin-bottom: calc(-1 * ${e[k]?`var(--${k})`:k}); }
87
+ `}U.add(M)}}if(h.startsWith("group/")||h.includes(":group/")||h.includes(":group-hover/")||h.startsWith("peer/")||h.includes(":peer-")){let M=h.split(":"),k=M[M.length-1],D="",R=null;M.slice(0,-1).forEach(Y=>{i[Y]?R=Y:(Y.startsWith("group-hover/")||Y==="group-hover"||Y.startsWith("peer-"))&&(D=Y)});let z=Nt(h),K="";if(["text-color-","bg-color-","decoration-","visible","invisible","block","hidden"].some(Y=>k.startsWith(Y))){let Y=we.find(W=>k.startsWith(W.prefix));if(Y){let W=k.replace(Y.prefix,""),Z=Y.transform(W);typeof Z=="object"?Object.keys(Z).forEach(ne=>{Z[ne]=`${Z[ne]}${Te?" !important":""}`}):Z=`${Z}${Te?" !important":""}`,K=Jt(h,Y.prefix,Y.prop,Z,D,R).rule}}else Object.entries(ve).forEach(([Y,W])=>Object.entries(W).forEach(([Z,ne])=>{typeof ne=="object"&&ne[k]&&(K=Jt(h,k,Z,ne[k],D,R).rule)}));K&&!U.has(z)&&(R?F[R].push(K):q.main+=`${K}
88
+ `,U.add(z))}we.forEach(({prefix:M,prop:k,transform:D})=>{if(Ge.startsWith(M)&&!Oe.has(h)){let R=Ge.replace(M,""),z=D(R);typeof z=="object"?Object.keys(z).forEach(Y=>{z[Y]=`${z[Y]}${Te?" !important":""}`}):z=`${z}${Te?" !important":""}`;let K=Jt(h,M,k,z);U.has(K.selector)||(q.main+=`${K.rule}
89
+ `,U.add(K.selector))}xe.forEach(R=>{let z=`${R}:${M}`;if(h.startsWith(z)&&!Oe.has(h)){let K=h.replace(z,""),Y=D(K);typeof Y=="object"?Object.keys(Y).forEach(Z=>{Y[Z]=`${Y[Z]}${Te?" !important":""}`}):Y=`${Y}${Te?" !important":""}`;let W=Jt(h,M,k,Y,R);U.has(W.selector)||(q.main+=`${W.rule}
90
+ `,U.add(W.selector))}})});let fr=h.match(/^(\*|\*[^:]+):(.+)$/);if(fr){let[,M,k]=fr,D=M.startsWith("*")&&M!=="*"?M.replace("*",""):null;we.forEach(({prefix:R,prop:z,transform:K})=>{if(k.startsWith(R)&&!Oe.has(h)){let Y=k.replace(R,""),W=K(Y);typeof W=="object"?Object.keys(W).forEach(ne=>{W[ne]=`${W[ne]}${Te?" !important":""}`}):W=`${W}${Te?" !important":""}`;let Z=Jt(h,R,z,W,null,D,!0);U.has(Z.selector)||(D?(F[D]||(F[D]=[]),F[D].push(Z.rule)):q.main+=`${Z.rule}
91
+ `,U.add(Z.selector))}}),Object.entries(ve).forEach(([R,z])=>Object.entries(z).forEach(([K,Y])=>{if(typeof Y=="object"&&Y[k]){let W=Jt(h,k,K,Y[k],null,D,!0);U.has(W.selector)||(D?F[D].push(W.rule):q.main+=`${W.rule}
92
+ `,U.add(W.selector))}}))}if(Object.keys(i).forEach(M=>{if(h.startsWith(`${M}:`)){let k=h.replace(`${M}:`,"");Object.entries(ve).forEach(([z,K])=>Object.entries(K).forEach(([Y,W])=>{if(typeof W=="object"&&W[k]){let Z=Nt(h);U.has(Z)||(F[M].push(`.${Z} { ${Y}: ${W[k]}; }`),U.add(Z),Oe.add(h))}xe.forEach(Z=>{if(h===`${M}:${Z}:${k}`){let ne=Jt(h,k,Y,W[k],Z,M);U.has(ne.selector)||(F[M].push(ne.rule),U.add(ne.selector),Oe.add(h))}})}));let D=h.match(RegExp(`^${M}:nth-(\\d+):(.*)$`));if(D){let[z,K,Y]=D;Object.entries(ve).forEach(([W,Z])=>Object.entries(Z).forEach(([ne,fe])=>{if(typeof fe=="object"&&fe[Y]){let ge=Nt(h);U.has(ge)||(F[M].push(`.${ge}:nth-child(${K}) { ${ne}: ${fe[Y]}; }`),U.add(ge))}}))}let R=h.match(RegExp(`^${M}:nth-last-(\\d+):(.*)$`));if(R){let[z,K,Y]=R;Object.entries(ve).forEach(([W,Z])=>Object.entries(Z).forEach(([ne,fe])=>{if(typeof fe=="object"&&fe[Y]){let ge=Nt(h);U.has(ge)||(F[M].push(`.${ge}:nth-last-child(${K}) { ${ne}: ${fe[Y]}; }`),U.add(ge))}}))}if(k.startsWith("aspect-")){let z=k.replace("aspect-",""),K=Nt(h);s["aspect-ratio"]?.[k]&&!U.has(K)?(F[M].push(`.${K} { aspect-ratio: ${s["aspect-ratio"][k]}; }`),U.add(K)):/^\d+\/\d+$/.test(z)&&!U.has(K)&&(F[M].push(`.${K} { aspect-ratio: ${z}; }`),U.add(K))}if(k.startsWith("before:content-[")||k.startsWith("after:content-[")){let z=k.startsWith("before:")?"before":"after",K=k.match(/content-\[(.*)\]/);if(K){let Y=K[1].replace(/_/g," "),W=Nt(h);U.has(W)||(F[M].push(`.${W}::${z} { content: "${Y}"; }`),U.add(W))}}if(k.startsWith("divide-")||k.startsWith("space-")||k.startsWith("-space-")){let z=Nt(h);if(!U.has(z)){if(k.startsWith("divide-x-")){let K=k.replace("divide-x-","");F[M].push(`:where(.${z} > :not(:last-child)) { border-right-width: ${e[K]?`var(--${K})`:K}; }`)}else if(k.startsWith("divide-y-")){let K=k.replace("divide-y-","");F[M].push(`:where(.${z} > :not(:last-child)) { border-bottom-width: ${e[K]?`var(--${K})`:K}; }`)}else if(k.startsWith("divide-color-[")||k.startsWith("divide-color-")){let K=k.startsWith("divide-color-[")?k.replace("divide-color-[","").replace("]",""):k.replace("divide-color-","");F[M].push(`:where(.${z} > :not(:last-child)) { border-color: ${Ee(K)}; }`)}else if(k.startsWith("divide-"))F[M].push(`:where(.${z} > :not(:last-child)) { border-style: ${k.replace("divide-","")}; }`);else if(k.startsWith("space-x-")){let K=k.replace("space-x-","");F[M].push(`:where(.${z} > :not(:last-child)) { margin-right: ${e[K]?`var(--${K})`:K}; }`)}else if(k.startsWith("space-y-")){let K=k.replace("space-y-","");F[M].push(`:where(.${z} > :not(:last-child)) { margin-bottom: ${e[K]?`var(--${K})`:K}; }`)}else if(k.startsWith("-space-x-")){let K=k.replace("-space-x-","");F[M].push(`:where(.${z} > :not(:last-child)) { margin-right: calc(-1 * ${e[K]?`var(--${K})`:K}); }`)}else if(k.startsWith("-space-y-")){let K=k.replace("-space-y-","");F[M].push(`:where(.${z} > :not(:last-child)) { margin-bottom: calc(-1 * ${e[K]?`var(--${K})`:K}); }`)}U.add(z)}}we.forEach(({prefix:z,prop:K,transform:Y})=>{if(k.startsWith(z)&&!Oe.has(h)){let W=k.replace(z,""),Z=Y(W);typeof Z=="object"?Object.keys(Z).forEach(fe=>{Z[fe]=`${Z[fe]}${Te?" !important":""}`}):Z=`${Z}${Te?" !important":""}`;let ne=Jt(h,z,K,Z,null,M);U.has(ne.selector)||(F[M].push(ne.rule),U.add(ne.selector))}xe.forEach(W=>{if(h.startsWith(`${M}:${W}:${z}`)&&!Oe.has(h)){let Z=h.replace(`${M}:${W}:${z}`,""),ne=Y(Z);typeof ne=="object"?Object.keys(ne).forEach(ge=>{ne[ge]=`${ne[ge]}${Te?" !important":""}`}):ne=`${ne}${Te?" !important":""}`;let fe=Jt(h,z,K,ne,W,M);U.has(fe.selector)||(F[M].push(fe.rule),U.add(fe.selector))}})})}}),h.startsWith("dark:")){let M=h.replace(/^dark:/,""),k=M.match(/^\*:(.+)$/);q._darkClassSelectors||(q._darkClassSelectors=new Set);let D=null,R=M,z=M.match(/^([a-zA-Z0-9\-]+):(.+)$/);z&&xe.includes(z[1])&&(D=z[1],R=z[2]);let K=`.dark .${Nt(h)}`;if(D&&(K+=`:${fh(D)}`),!q._darkClassSelectors.has(K)){let Y=null;if(R.startsWith("divide-")||R.startsWith("space-")||R.startsWith("-space-")){let W=Nt(h);if(R.startsWith("divide-color-[")||R.startsWith("divide-color-")){let Z=R.startsWith("divide-color-[")?R.replace("divide-color-[","").replace("]",""):R.replace("divide-color-","");Y=`:where(.dark .${W} > :not(:last-child)) { border-color: ${Ee(Z)}; }`}else if(R.startsWith("divide-x-")){let Z=R.replace("divide-x-","");Y=`:where(.dark .${W} > :not(:last-child)) { border-right-width: ${e[Z]?`var(--${Z})`:Z}; border-style: solid; }`}else if(R.startsWith("divide-y-")){let Z=R.replace("divide-y-","");Y=`:where(.dark .${W} > :not(:last-child)) { border-bottom-width: ${e[Z]?`var(--${Z})`:Z}; border-style: solid; }`}else if(R==="divide-x")Y=`:where(.dark .${W} > :not(:last-child)) { border-right-width: 1px; border-style: solid; }`;else if(R==="divide-y")Y=`:where(.dark .${W} > :not(:last-child)) { border-bottom-width: 1px; border-style: solid; }`;else if(R.startsWith("divide-")){let Z=R.replace("divide-","");["solid","dashed","dotted","double","none"].includes(Z)&&(Y=`:where(.dark .${W} > :not(:last-child)) { border-style: ${Z}; }`)}}if(R.startsWith("border-color-[")||R.startsWith("border-color-")){let W=Ee(R.replace(/^border-color-(\[)?/,"").replace(/\]?$/,""));W&&W!=="var(--color-)"&&(q.dark+=`${K} { border-color: ${W}; }
93
+ `,q._darkClassSelectors.add(K));return}if(R.startsWith("outline-color-[")||R.startsWith("outline-color-")){let W=Ee(R.replace(/^outline-color-(\[)?/,"").replace(/\]?$/,""));W&&W!=="var(--color-)"&&(q.dark+=`${K} { outline-color: ${W}; }
94
+ `,q._darkClassSelectors.add(K));return}if(!Y)if(k){let W=k[1];we.forEach(({prefix:Z,prop:ne,transform:fe})=>{if(W.startsWith(Z)&&!Oe.has(h)){let ge=W.replace(Z,""),Me=fe(ge);typeof Me=="object"?Object.keys(Me).forEach(Ce=>{Me[Ce]=`${Me[Ce]}${Te?" !important":""}`}):Me=`${Me}${Te?" !important":""}`,Y=Jt(h,Z,ne,Me,D,"dark",!0)}}),Object.entries(ve).forEach(([Z,ne])=>Object.entries(ne).forEach(([fe,ge])=>{typeof ge=="object"&&ge[W]&&(Y=Jt(h,W,fe,ge[W],D,"dark",!0))}))}else we.forEach(({prefix:W,prop:Z,transform:ne})=>{if(R.startsWith(W)&&!Oe.has(h)){let fe=R.replace(W,""),ge=ne(fe);typeof ge=="object"?Object.keys(ge).forEach(Me=>{ge[Me]=`${ge[Me]}${Te?" !important":""}`}):ge=`${ge}${Te?" !important":""}`,Y=Jt(h,W,Z,ge,D,"dark")}}),Object.entries(ve).forEach(([W,Z])=>Object.entries(Z).forEach(([ne,fe])=>{typeof fe=="object"&&fe[R]&&(Y=Jt(h,R,ne,fe[R],D,"dark"))}));if(Y){if(R.startsWith("divide-")||R.startsWith("space-")||R.startsWith("-space-"))q.dark+=`${Y}
95
+ `;else{let W=typeof Y=="object"&&Y.rule?Y.rule:Y;q.dark+=`${K} { ${W.replace(/^.*?{\s*|}$/g,"")} }
96
+ `}q._darkClassSelectors.add(K)}}}});let at=q.main;return Object.keys(F).forEach(h=>{F[h].length&&(h==="dark"||(h==="portrait"||h==="landscape"?at+=`@media (orientation: ${h}) {
97
+ ${F[h].join(`
98
+ `)}
99
+ }
100
+ `:at+=`@media (min-width: ${i[h]}) {
101
+ ${F[h].join(`
102
+ `)}
103
+ }
104
+ `))}),q.dark&&(at+=q.dark),at+=`
105
+ @keyframes spin {
106
+ to {
107
+ transform: rotate(360deg);
108
+ }
109
+ }
110
+ @keyframes ping {
111
+ 75%, 100% {
112
+ transform: scale(2);
113
+ opacity: 0;
114
+ }
115
+ }
116
+ @keyframes pulse {
117
+ 50% {
118
+ opacity: 0.5;
119
+ }
120
+ }
121
+ @keyframes bounce {
122
+ 0%, 100% {
123
+ transform: translateY(-25%);
124
+ animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
125
+ }
126
+ 50% {
127
+ transform: none;
128
+ animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
129
+ }
130
+ }
131
+ `}module.exports=hG;