@eightshift/ui-components 8.5.0 → 9.0.0-beta.1

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.
Files changed (1131) hide show
  1. package/README.md +73 -4
  2. package/dist/AnimatePresence-d1_liqRo.js +9 -0
  3. package/dist/Autocomplete-CQH-8_68.js +1 -0
  4. package/dist/Button-DhaWFe8e.js +1 -0
  5. package/dist/Checkbox-CrF0YJpD.js +1 -0
  6. package/dist/Dialog-CapEn0UN.js +5 -0
  7. package/dist/FocusScope-BoxZvmWP.js +1 -0
  8. package/dist/Form-BRnR5K3X.js +1 -0
  9. package/dist/Heading-DMnq9QZH.js +1 -0
  10. package/dist/Hidden-BK7EwYvz.js +1 -0
  11. package/dist/I18nProvider-BEh6VvSv.js +1 -0
  12. package/dist/Input-DldfdALf.js +1 -0
  13. package/dist/ListBox-fe9bhB2y.js +1 -0
  14. package/dist/NumberFormatter-nhsGk7J2.js +1 -0
  15. package/dist/PortalProvider-CJT9hS6n.js +1 -0
  16. package/dist/RadioGroup-yAsG5Pon.js +1 -0
  17. package/dist/SearchField-BtcWW7kv.js +1 -0
  18. package/dist/SelectionIndicator-Bslc4sCw.js +1 -0
  19. package/dist/Slider-B_pPPuRp.js +1 -0
  20. package/dist/Text-CKNC-T46.js +1 -0
  21. package/dist/VisuallyHidden-D5n5kSd7.js +1 -0
  22. package/dist/animation-CmxZG3Hu.js +1 -0
  23. package/dist/assets/font-allo.css +11 -0
  24. package/dist/assets/font-dm-mono.css +1 -0
  25. package/dist/assets/fonts/Allo-OFL.txt +93 -0
  26. package/dist/assets/fonts/AlloVariable.woff2 +0 -0
  27. package/dist/assets/fonts/dm-mono-latin-300-normal.woff2 +0 -0
  28. package/dist/assets/fonts/dm-mono-latin-400-normal.woff2 +0 -0
  29. package/dist/assets/fonts/dm-mono-latin-500-normal.woff2 +0 -0
  30. package/dist/assets/fonts/dm-mono-latin-ext-300-normal.woff2 +0 -0
  31. package/dist/assets/fonts/dm-mono-latin-ext-400-normal.woff2 +0 -0
  32. package/dist/assets/fonts/dm-mono-latin-ext-500-normal.woff2 +0 -0
  33. package/dist/assets/fonts-manifest.json +13 -49
  34. package/dist/assets/style-admin.css +2 -4
  35. package/dist/assets/style-editor.css +2 -4
  36. package/dist/assets/style.css +2 -4
  37. package/dist/assets/wp-overrides/allow-full-width-blocks.css +1 -1
  38. package/dist/assets/wp-overrides/fix-label-text-case.css +2 -2
  39. package/dist/assets/wp-overrides/increase-sidebar-width.css +2 -2
  40. package/dist/assets/wp-overrides/make-block-messages-nicer.css +2 -2
  41. package/dist/assets/wp-overrides/replace-fonts.css +2 -2
  42. package/dist/assets/wp-overrides/restyle-tooltips.css +2 -2
  43. package/dist/assets/wp-overrides/round-corners.css +2 -2
  44. package/dist/assets/wp-overrides/unify-button-sizes.css +2 -2
  45. package/dist/build-module-CslE_kF6.js +1 -0
  46. package/dist/button-C_B2CkrL.js +1 -0
  47. package/dist/clsx-DB0hHKMi.js +1 -0
  48. package/dist/color-swatch-DUJ3Q4oy.js +1 -0
  49. package/dist/components/animated-visibility/animated-visibility.js +1 -82
  50. package/dist/components/base-control/base-control.d.ts +3 -1
  51. package/dist/components/base-control/base-control.js +1 -69
  52. package/dist/components/base-control/{container.d.ts → control-group.d.ts} +19 -26
  53. package/dist/components/base-control/control-group.js +1 -0
  54. package/dist/components/breakpoint-preview/breakpoint-preview.js +1 -151
  55. package/dist/components/button/button.d.ts +16 -22
  56. package/dist/components/button/button.js +1 -2
  57. package/dist/components/button/styles.d.ts +15 -0
  58. package/dist/components/button/styles.js +1 -0
  59. package/dist/components/checkbox/checkbox.d.ts +2 -4
  60. package/dist/components/checkbox/checkbox.js +1 -2
  61. package/dist/components/color-pickers/color-picker.js +1 -158
  62. package/dist/components/color-pickers/color-swatch.d.ts +0 -2
  63. package/dist/components/color-pickers/color-swatch.js +1 -2
  64. package/dist/components/color-pickers/gradient-editor.js +1 -2
  65. package/dist/components/color-pickers/solid-color-picker.js +1 -2
  66. package/dist/components/contextual-help/contextual-help.d.ts +2 -1
  67. package/dist/components/contextual-help/contextual-help.js +1 -82
  68. package/dist/components/{expandable/expandable.d.ts → disclosure/disclosure.d.ts} +15 -10
  69. package/dist/components/disclosure/disclosure.js +1 -0
  70. package/dist/components/draggable/draggable-context.js +1 -9
  71. package/dist/components/draggable/draggable-handle.js +1 -29
  72. package/dist/components/draggable/draggable.d.ts +9 -4
  73. package/dist/components/draggable/draggable.js +1 -2
  74. package/dist/components/draggable-list/draggable-list-context.js +1 -5
  75. package/dist/components/draggable-list/draggable-list-item.js +1 -61
  76. package/dist/components/draggable-list/draggable-list.d.ts +9 -2
  77. package/dist/components/draggable-list/draggable-list.js +1 -109
  78. package/dist/components/empty-state/empty-state.d.ts +19 -0
  79. package/dist/components/empty-state/empty-state.js +1 -0
  80. package/dist/components/index.d.ts +10 -19
  81. package/dist/components/index.js +1 -60
  82. package/dist/components/input-field/date-controls.d.ts +28 -0
  83. package/dist/components/input-field/date-controls.js +1 -0
  84. package/dist/components/input-field/input-clear-button.d.ts +8 -0
  85. package/dist/components/input-field/input-clear-button.js +1 -0
  86. package/dist/components/input-field/input-field.d.ts +12 -23
  87. package/dist/components/input-field/input-field.js +1 -2
  88. package/dist/components/input-field/input.d.ts +17 -0
  89. package/dist/components/input-field/input.js +1 -0
  90. package/dist/components/input-field/styles.d.ts +7 -0
  91. package/dist/components/input-field/styles.js +1 -0
  92. package/dist/components/intro-card/intro-card.d.ts +29 -0
  93. package/dist/components/intro-card/intro-card.js +1 -0
  94. package/dist/components/item-collection/item-collection.js +1 -52
  95. package/dist/components/layout/hstack.js +1 -25
  96. package/dist/components/layout/vstack.js +1 -25
  97. package/dist/components/link-input/link-input.d.ts +3 -3
  98. package/dist/components/link-input/link-input.js +1 -2
  99. package/dist/components/list/list.d.ts +7 -0
  100. package/dist/components/list/list.js +1 -0
  101. package/dist/components/list/reorderable-grid.d.ts +36 -0
  102. package/dist/components/list/reorderable-grid.js +1 -0
  103. package/dist/components/list/use-reorderable-rows.d.ts +4 -0
  104. package/dist/components/list/use-reorderable-rows.js +1 -0
  105. package/dist/components/matrix-align/matrix-align.js +1 -123
  106. package/dist/components/menu/menu.js +1 -239
  107. package/dist/components/modal/modal.js +1 -2
  108. package/dist/components/notice/notice.d.ts +0 -2
  109. package/dist/components/notice/notice.js +1 -92
  110. package/dist/components/number-picker/number-picker.d.ts +2 -4
  111. package/dist/components/number-picker/number-picker.js +1 -2
  112. package/dist/components/option-checkmark.d.ts +3 -0
  113. package/dist/components/option-checkmark.js +1 -0
  114. package/dist/components/option-picker/buttons.d.ts +20 -0
  115. package/dist/components/option-picker/buttons.js +1 -0
  116. package/dist/components/option-picker/checkboxes.d.ts +17 -0
  117. package/dist/components/option-picker/checkboxes.js +1 -0
  118. package/dist/components/option-picker/menu.d.ts +41 -0
  119. package/dist/components/option-picker/menu.js +1 -0
  120. package/dist/components/option-picker/option-picker.d.ts +26 -0
  121. package/dist/components/option-picker/option-picker.js +1 -0
  122. package/dist/components/option-picker/point.d.ts +18 -0
  123. package/dist/components/option-picker/point.js +1 -0
  124. package/dist/components/option-picker/radios.d.ts +16 -0
  125. package/dist/components/option-picker/radios.js +1 -0
  126. package/dist/components/option-picker/shared.d.ts +30 -0
  127. package/dist/components/option-picker/shared.js +1 -0
  128. package/dist/components/page-header/page-header.d.ts +32 -0
  129. package/dist/components/page-header/page-header.js +1 -0
  130. package/dist/components/panel/panel.d.ts +2 -0
  131. package/dist/components/panel/panel.js +1 -0
  132. package/dist/components/placeholders/file-picker-shell.d.ts +24 -55
  133. package/dist/components/placeholders/file-picker-shell.js +1 -87
  134. package/dist/components/placeholders/file-placeholder.d.ts +4 -2
  135. package/dist/components/placeholders/file-placeholder.js +1 -42
  136. package/dist/components/placeholders/image-placeholder.d.ts +0 -9
  137. package/dist/components/placeholders/image-placeholder.js +1 -53
  138. package/dist/components/popover/popover.d.ts +12 -7
  139. package/dist/components/popover/popover.js +1 -125
  140. package/dist/components/popover/resizing-popover.d.ts +14 -0
  141. package/dist/components/popover/resizing-popover.js +1 -0
  142. package/dist/components/popover/styles.d.ts +1 -0
  143. package/dist/components/popover/styles.js +1 -0
  144. package/dist/components/popover/suggestion-empty-state.d.ts +1 -0
  145. package/dist/components/popover/suggestion-empty-state.js +1 -0
  146. package/dist/components/portal-provider/portal-provider.js +1 -26
  147. package/dist/components/prompt-popover/prompt-popover.d.ts +4 -4
  148. package/dist/components/prompt-popover/prompt-popover.js +1 -83
  149. package/dist/components/radio/radio.d.ts +3 -14
  150. package/dist/components/radio/radio.js +1 -254
  151. package/dist/components/repeater/repeater-context.d.ts +4 -5
  152. package/dist/components/repeater/repeater-context.js +1 -5
  153. package/dist/components/repeater/repeater-item.d.ts +2 -2
  154. package/dist/components/repeater/repeater-item.js +1 -92
  155. package/dist/components/repeater/repeater.d.ts +5 -2
  156. package/dist/components/repeater/repeater.js +1 -198
  157. package/dist/components/responsive/mini-responsive.js +1 -409
  158. package/dist/components/responsive/responsive-legacy.d.ts +1 -1
  159. package/dist/components/responsive/responsive-legacy.js +1 -272
  160. package/dist/components/responsive/responsive.js +1 -449
  161. package/dist/components/responsive-preview/responsive-preview.js +1 -93
  162. package/dist/components/rich-label/rich-label.d.ts +2 -0
  163. package/dist/components/rich-label/rich-label.js +1 -70
  164. package/dist/components/select/async-multi-select.d.ts +8 -21
  165. package/dist/components/select/async-multi-select.js +1 -371
  166. package/dist/components/select/async-select-loader.d.ts +38 -0
  167. package/dist/components/select/async-select-loader.js +1 -0
  168. package/dist/components/select/async-select.d.ts +8 -21
  169. package/dist/components/select/async-select.js +1 -288
  170. package/dist/components/select/multi-select.d.ts +5 -3
  171. package/dist/components/select/multi-select.js +1 -341
  172. package/dist/components/select/selected-items-popover.d.ts +15 -0
  173. package/dist/components/select/selected-items-popover.js +1 -0
  174. package/dist/components/select/shared.d.ts +12 -3
  175. package/dist/components/select/shared.js +1 -2
  176. package/dist/components/select/single-select.d.ts +5 -3
  177. package/dist/components/select/single-select.js +1 -269
  178. package/dist/components/select/styles.d.ts +5 -3
  179. package/dist/components/select/styles.js +1 -108
  180. package/dist/components/selection-indicator.d.ts +8 -0
  181. package/dist/components/selection-indicator.js +1 -0
  182. package/dist/components/slider/column-config-slider.d.ts +0 -2
  183. package/dist/components/slider/column-config-slider.js +1 -175
  184. package/dist/components/slider/slider.d.ts +0 -2
  185. package/dist/components/slider/slider.js +1 -235
  186. package/dist/components/slider/styles.d.ts +2 -0
  187. package/dist/components/slider/styles.js +1 -0
  188. package/dist/components/slider/utils.js +1 -73
  189. package/dist/components/smart-image/smart-image.js +1 -288
  190. package/dist/components/spacer/spacer.js +1 -76
  191. package/dist/components/tabs/tabs.d.ts +33 -22
  192. package/dist/components/tabs/tabs.js +1 -2
  193. package/dist/components/toggle/switch.d.ts +2 -4
  194. package/dist/components/toggle/switch.js +1 -2
  195. package/dist/components/toggle/toggle.d.ts +0 -2
  196. package/dist/components/toggle/toggle.js +1 -47
  197. package/dist/components/toggle-button/toggle-button.d.ts +4 -17
  198. package/dist/components/toggle-button/toggle-button.js +1 -2
  199. package/dist/components/tooltip/tooltip.d.ts +4 -4
  200. package/dist/components/tooltip/tooltip.js +1 -2
  201. package/dist/date-controls-CX5bNUtF.js +1 -0
  202. package/dist/debounce-throttle-BlCrtRhZ.js +1 -0
  203. package/dist/disclosure-DYBM7fJk.js +1 -0
  204. package/dist/dist-BogNzeK9.js +1 -0
  205. package/dist/dist-C7IRUxSh.js +1 -0
  206. package/dist/draggable-9cdMY-oW.js +67 -0
  207. package/dist/es-dash-Fi4--j2S.js +1 -0
  208. package/dist/filterDOMProps-DKemR-4v.js +1 -0
  209. package/dist/gradient-editor-DB-RPeth.js +1 -0
  210. package/dist/icons/block-icon.js +1 -33
  211. package/dist/icons/generated-icon-loaders.js +1 -760
  212. package/dist/icons/generic-color-swatch.js +1 -83
  213. package/dist/icons/icon.js +1 -79
  214. package/dist/icons/icons.js +1 -219
  215. package/dist/icons/index.js +1 -759
  216. package/dist/icons/internal.js +1 -758
  217. package/dist/icons/jsx-svg.js +1 -2
  218. package/dist/icons/spinner.d.ts +1 -1
  219. package/dist/icons/spinner.js +1 -17
  220. package/dist/icons/ui-icons/a11y-warning.js +1 -34
  221. package/dist/icons/ui-icons/a11y.js +1 -29
  222. package/dist/icons/ui-icons/accelerometer.js +1 -51
  223. package/dist/icons/ui-icons/activity-log.js +1 -53
  224. package/dist/icons/ui-icons/add.js +1 -20
  225. package/dist/icons/ui-icons/alert.js +1 -31
  226. package/dist/icons/ui-icons/align-horizontal-vertical-alt.js +1 -37
  227. package/dist/icons/ui-icons/align-horizontal-vertical-alt2.js +1 -36
  228. package/dist/icons/ui-icons/align-horizontal-vertical.js +1 -34
  229. package/dist/icons/ui-icons/alt-text-generic-alt.js +1 -19
  230. package/dist/icons/ui-icons/alt-text-generic.js +1 -25
  231. package/dist/icons/ui-icons/alt-text.js +1 -36
  232. package/dist/icons/ui-icons/anchor-page.js +1 -44
  233. package/dist/icons/ui-icons/anchor.js +1 -28
  234. package/dist/icons/ui-icons/angle.js +1 -24
  235. package/dist/icons/ui-icons/animation-file.js +1 -66
  236. package/dist/icons/ui-icons/animation-generic.js +1 -36
  237. package/dist/icons/ui-icons/animation-list-generic.js +1 -41
  238. package/dist/icons/ui-icons/animation-settings-generic.js +1 -41
  239. package/dist/icons/ui-icons/animation.js +1 -55
  240. package/dist/icons/ui-icons/archive-file.js +1 -24
  241. package/dist/icons/ui-icons/archive.js +1 -39
  242. package/dist/icons/ui-icons/aria-label.js +1 -42
  243. package/dist/icons/ui-icons/arrow-down-circle-alt.js +1 -28
  244. package/dist/icons/ui-icons/arrow-down-circle.js +1 -28
  245. package/dist/icons/ui-icons/arrow-down-square-alt.js +1 -28
  246. package/dist/icons/ui-icons/arrow-down-square.js +1 -28
  247. package/dist/icons/ui-icons/arrow-down.js +1 -20
  248. package/dist/icons/ui-icons/arrow-left-circle-alt.js +1 -28
  249. package/dist/icons/ui-icons/arrow-left-circle.js +1 -28
  250. package/dist/icons/ui-icons/arrow-left-square-alt.js +1 -28
  251. package/dist/icons/ui-icons/arrow-left-square.js +1 -28
  252. package/dist/icons/ui-icons/arrow-left.js +1 -20
  253. package/dist/icons/ui-icons/arrow-right-circle-alt.js +1 -28
  254. package/dist/icons/ui-icons/arrow-right-circle.js +1 -28
  255. package/dist/icons/ui-icons/arrow-right-square-alt.js +1 -28
  256. package/dist/icons/ui-icons/arrow-right-square.js +1 -28
  257. package/dist/icons/ui-icons/arrow-right.js +1 -20
  258. package/dist/icons/ui-icons/arrow-up-circle-alt.js +1 -28
  259. package/dist/icons/ui-icons/arrow-up-circle.js +1 -28
  260. package/dist/icons/ui-icons/arrow-up-square-alt.js +1 -28
  261. package/dist/icons/ui-icons/arrow-up-square.js +1 -28
  262. package/dist/icons/ui-icons/arrow-up.js +1 -20
  263. package/dist/icons/ui-icons/arrows-down.js +1 -38
  264. package/dist/icons/ui-icons/arrows-horizontal.js +1 -20
  265. package/dist/icons/ui-icons/arrows-left-diagonal.js +1 -20
  266. package/dist/icons/ui-icons/arrows-left.js +1 -38
  267. package/dist/icons/ui-icons/arrows-right-diagonal.js +1 -20
  268. package/dist/icons/ui-icons/arrows-right.js +1 -38
  269. package/dist/icons/ui-icons/arrows-up.js +1 -38
  270. package/dist/icons/ui-icons/arrows-vertical.js +1 -20
  271. package/dist/icons/ui-icons/aspect-ratio-auto.js +1 -38
  272. package/dist/icons/ui-icons/aspect-ratio-nine-sixteen.js +1 -28
  273. package/dist/icons/ui-icons/aspect-ratio-sixteen-nine.js +1 -28
  274. package/dist/icons/ui-icons/aspect-ratio-square.js +1 -28
  275. package/dist/icons/ui-icons/aspect-ratio-three-two.js +1 -28
  276. package/dist/icons/ui-icons/aspect-ratio-twenty-one-nine.js +1 -28
  277. package/dist/icons/ui-icons/aspect-ratio.js +1 -27
  278. package/dist/icons/ui-icons/attachment.js +1 -19
  279. package/dist/icons/ui-icons/auto-close.js +1 -26
  280. package/dist/icons/ui-icons/auto-pause-scroll.js +1 -39
  281. package/dist/icons/ui-icons/auto-pause.js +1 -26
  282. package/dist/icons/ui-icons/automatic-alt.js +1 -19
  283. package/dist/icons/ui-icons/automatic.js +1 -20
  284. package/dist/icons/ui-icons/autoplay-alt.js +1 -34
  285. package/dist/icons/ui-icons/autoplay-alt2.js +1 -23
  286. package/dist/icons/ui-icons/autoplay.js +1 -36
  287. package/dist/icons/ui-icons/award.js +1 -39
  288. package/dist/icons/ui-icons/background-blur.js +1 -66
  289. package/dist/icons/ui-icons/background-color-swatch.js +1 -48
  290. package/dist/icons/ui-icons/background-image.js +1 -41
  291. package/dist/icons/ui-icons/background-repeat.js +1 -95
  292. package/dist/icons/ui-icons/background-type-alt.js +1 -38
  293. package/dist/icons/ui-icons/background-type-alt2.js +1 -27
  294. package/dist/icons/ui-icons/background-type.js +1 -27
  295. package/dist/icons/ui-icons/block-parts.js +1 -54
  296. package/dist/icons/ui-icons/bold.js +1 -21
  297. package/dist/icons/ui-icons/book.js +1 -40
  298. package/dist/icons/ui-icons/bookmark.js +1 -18
  299. package/dist/icons/ui-icons/boolean-exclude.js +1 -24
  300. package/dist/icons/ui-icons/boolean-intersect.js +1 -31
  301. package/dist/icons/ui-icons/boolean-subtract.js +1 -27
  302. package/dist/icons/ui-icons/boolean-union.js +1 -33
  303. package/dist/icons/ui-icons/border-color.js +1 -79
  304. package/dist/icons/ui-icons/border.js +1 -60
  305. package/dist/icons/ui-icons/bot-deny.js +1 -61
  306. package/dist/icons/ui-icons/bot.js +1 -47
  307. package/dist/icons/ui-icons/box.js +1 -35
  308. package/dist/icons/ui-icons/brain.js +1 -20
  309. package/dist/icons/ui-icons/branch-fork.js +1 -46
  310. package/dist/icons/ui-icons/branch.js +1 -46
  311. package/dist/icons/ui-icons/briefcase.js +1 -26
  312. package/dist/icons/ui-icons/browser.js +1 -60
  313. package/dist/icons/ui-icons/button-disabled.js +1 -30
  314. package/dist/icons/ui-icons/button-filled.js +1 -19
  315. package/dist/icons/ui-icons/button-ghost.js +1 -28
  316. package/dist/icons/ui-icons/button-outline.js +1 -27
  317. package/dist/icons/ui-icons/calculator.js +1 -139
  318. package/dist/icons/ui-icons/calendar-add.js +1 -51
  319. package/dist/icons/ui-icons/calendar-download.js +1 -62
  320. package/dist/icons/ui-icons/calendar-remove.js +1 -51
  321. package/dist/icons/ui-icons/calendar.js +1 -34
  322. package/dist/icons/ui-icons/caption-generic.js +1 -25
  323. package/dist/icons/ui-icons/card-featured.js +1 -28
  324. package/dist/icons/ui-icons/caret-down-fill.js +1 -19
  325. package/dist/icons/ui-icons/caret-down.js +1 -19
  326. package/dist/icons/ui-icons/caret-left-fill.js +1 -19
  327. package/dist/icons/ui-icons/caret-left.js +1 -19
  328. package/dist/icons/ui-icons/caret-right-fill.js +1 -19
  329. package/dist/icons/ui-icons/caret-right.js +1 -19
  330. package/dist/icons/ui-icons/caret-up-fill.js +1 -19
  331. package/dist/icons/ui-icons/caret-up.js +1 -19
  332. package/dist/icons/ui-icons/center-point.js +1 -25
  333. package/dist/icons/ui-icons/chat-bubble-alt.js +1 -25
  334. package/dist/icons/ui-icons/chat-bubble.js +1 -19
  335. package/dist/icons/ui-icons/chat.js +1 -25
  336. package/dist/icons/ui-icons/check-circle-fill-transparent.js +1 -24
  337. package/dist/icons/ui-icons/check-circle-fill.js +1 -17
  338. package/dist/icons/ui-icons/check-circle.js +1 -27
  339. package/dist/icons/ui-icons/check-square.js +1 -28
  340. package/dist/icons/ui-icons/check.js +1 -20
  341. package/dist/icons/ui-icons/checks-circle.js +1 -26
  342. package/dist/icons/ui-icons/checks.js +1 -26
  343. package/dist/icons/ui-icons/chevron-down.js +1 -20
  344. package/dist/icons/ui-icons/chevron-left.js +1 -20
  345. package/dist/icons/ui-icons/chevron-right.js +1 -20
  346. package/dist/icons/ui-icons/chevron-up.js +1 -20
  347. package/dist/icons/ui-icons/clear-alt.js +1 -25
  348. package/dist/icons/ui-icons/clear.js +1 -20
  349. package/dist/icons/ui-icons/clipboard-plain.js +1 -35
  350. package/dist/icons/ui-icons/clipboard.js +1 -43
  351. package/dist/icons/ui-icons/clock.js +1 -26
  352. package/dist/icons/ui-icons/closed-captions.js +1 -27
  353. package/dist/icons/ui-icons/code-variable.js +1 -20
  354. package/dist/icons/ui-icons/code.js +1 -20
  355. package/dist/icons/ui-icons/color-alt.js +1 -40
  356. package/dist/icons/ui-icons/color-fill-swatch.js +1 -61
  357. package/dist/icons/ui-icons/color-picker-fill.js +1 -42
  358. package/dist/icons/ui-icons/color-picker-list-marker.js +1 -41
  359. package/dist/icons/ui-icons/color-picker-text-highlight.js +1 -19
  360. package/dist/icons/ui-icons/color-picker-text.js +1 -20
  361. package/dist/icons/ui-icons/color-select.js +1 -33
  362. package/dist/icons/ui-icons/color.js +1 -22
  363. package/dist/icons/ui-icons/column-gutters-lr.js +1 -54
  364. package/dist/icons/ui-icons/columns.js +1 -42
  365. package/dist/icons/ui-icons/columns3366.js +1 -30
  366. package/dist/icons/ui-icons/columns6633.js +1 -30
  367. package/dist/icons/ui-icons/component-generic.js +1 -27
  368. package/dist/icons/ui-icons/component-options.js +1 -36
  369. package/dist/icons/ui-icons/condition-h.js +1 -20
  370. package/dist/icons/ui-icons/condition-v.js +1 -20
  371. package/dist/icons/ui-icons/conditional-visibility.js +1 -26
  372. package/dist/icons/ui-icons/container-height.js +1 -68
  373. package/dist/icons/ui-icons/container-spacing-h.js +1 -41
  374. package/dist/icons/ui-icons/container-spacing.js +1 -41
  375. package/dist/icons/ui-icons/container-width.js +1 -68
  376. package/dist/icons/ui-icons/content-bottom-left.js +1 -31
  377. package/dist/icons/ui-icons/content-bottom-right.js +1 -31
  378. package/dist/icons/ui-icons/content-center.js +1 -31
  379. package/dist/icons/ui-icons/content-top-left.js +1 -31
  380. package/dist/icons/ui-icons/content-top-right.js +1 -31
  381. package/dist/icons/ui-icons/contrast-alt.js +1 -27
  382. package/dist/icons/ui-icons/contrast.js +1 -26
  383. package/dist/icons/ui-icons/cookie-alt.js +1 -124
  384. package/dist/icons/ui-icons/cookie.js +1 -76
  385. package/dist/icons/ui-icons/copy.js +1 -26
  386. package/dist/icons/ui-icons/currency.js +1 -48
  387. package/dist/icons/ui-icons/current-page.js +1 -42
  388. package/dist/icons/ui-icons/cursor-disabled.js +1 -35
  389. package/dist/icons/ui-icons/cursor-move.js +1 -20
  390. package/dist/icons/ui-icons/dark-mode.js +1 -20
  391. package/dist/icons/ui-icons/data.js +1 -33
  392. package/dist/icons/ui-icons/date-time.js +1 -67
  393. package/dist/icons/ui-icons/defer.js +1 -26
  394. package/dist/icons/ui-icons/description-link.js +1 -40
  395. package/dist/icons/ui-icons/design.js +1 -48
  396. package/dist/icons/ui-icons/dice.js +1 -59
  397. package/dist/icons/ui-icons/divider-bottom.js +1 -23
  398. package/dist/icons/ui-icons/divider-side.js +1 -53
  399. package/dist/icons/ui-icons/divider-status.js +1 -53
  400. package/dist/icons/ui-icons/divider-top.js +1 -23
  401. package/dist/icons/ui-icons/divider.js +1 -23
  402. package/dist/icons/ui-icons/door-in.js +1 -32
  403. package/dist/icons/ui-icons/door-out.js +1 -32
  404. package/dist/icons/ui-icons/door.js +1 -27
  405. package/dist/icons/ui-icons/download.js +1 -20
  406. package/dist/icons/ui-icons/dropdown-caret-alt.js +1 -17
  407. package/dist/icons/ui-icons/dropdown-caret.js +1 -20
  408. package/dist/icons/ui-icons/dropdown-close.js +1 -52
  409. package/dist/icons/ui-icons/dropdown-open.js +1 -38
  410. package/dist/icons/ui-icons/dropdown.js +1 -38
  411. package/dist/icons/ui-icons/dummy-spacer.js +1 -17
  412. package/dist/icons/ui-icons/edit-options.js +1 -32
  413. package/dist/icons/ui-icons/edit.js +1 -22
  414. package/dist/icons/ui-icons/email-remove.js +1 -42
  415. package/dist/icons/ui-icons/email.js +1 -28
  416. package/dist/icons/ui-icons/embed.js +1 -28
  417. package/dist/icons/ui-icons/empty-circle.js +1 -23
  418. package/dist/icons/ui-icons/empty-rect.js +1 -25
  419. package/dist/icons/ui-icons/equal-columns.js +1 -25
  420. package/dist/icons/ui-icons/equal-rows.js +1 -25
  421. package/dist/icons/ui-icons/equals.js +1 -20
  422. package/dist/icons/ui-icons/error-circle-fill-transparent.js +1 -23
  423. package/dist/icons/ui-icons/error-circle-fill.js +1 -17
  424. package/dist/icons/ui-icons/error-circle.js +1 -24
  425. package/dist/icons/ui-icons/exclude-item-alt.js +1 -38
  426. package/dist/icons/ui-icons/exclude-item.js +1 -42
  427. package/dist/icons/ui-icons/exclude.js +1 -29
  428. package/dist/icons/ui-icons/expand-xl.js +1 -20
  429. package/dist/icons/ui-icons/expand.js +1 -20
  430. package/dist/icons/ui-icons/experiment.js +1 -33
  431. package/dist/icons/ui-icons/external-link.js +1 -25
  432. package/dist/icons/ui-icons/extract-alt.js +1 -25
  433. package/dist/icons/ui-icons/extract.js +1 -25
  434. package/dist/icons/ui-icons/eyedropper.js +1 -36
  435. package/dist/icons/ui-icons/fast-forward.js +1 -26
  436. package/dist/icons/ui-icons/fast-reverse.js +1 -26
  437. package/dist/icons/ui-icons/field-after-text.js +1 -54
  438. package/dist/icons/ui-icons/field-before-text.js +1 -46
  439. package/dist/icons/ui-icons/field-disabled.js +1 -35
  440. package/dist/icons/ui-icons/field-help.js +1 -46
  441. package/dist/icons/ui-icons/field-label.js +1 -38
  442. package/dist/icons/ui-icons/field-name.js +1 -45
  443. package/dist/icons/ui-icons/field-placeholder.js +1 -49
  444. package/dist/icons/ui-icons/field-readonly.js +1 -36
  445. package/dist/icons/ui-icons/field-required.js +1 -37
  446. package/dist/icons/ui-icons/field-type.js +1 -36
  447. package/dist/icons/ui-icons/field-value.js +1 -46
  448. package/dist/icons/ui-icons/field-width.js +1 -27
  449. package/dist/icons/ui-icons/file-download.js +1 -33
  450. package/dist/icons/ui-icons/file-error.js +1 -25
  451. package/dist/icons/ui-icons/file-metadata.js +1 -41
  452. package/dist/icons/ui-icons/file-pdf.js +1 -34
  453. package/dist/icons/ui-icons/file-size-max.js +1 -33
  454. package/dist/icons/ui-icons/file-size-min.js +1 -33
  455. package/dist/icons/ui-icons/file-size.js +1 -34
  456. package/dist/icons/ui-icons/file-type.js +1 -42
  457. package/dist/icons/ui-icons/file-upload.js +1 -33
  458. package/dist/icons/ui-icons/file.js +1 -24
  459. package/dist/icons/ui-icons/files.js +1 -34
  460. package/dist/icons/ui-icons/fill-color.js +1 -49
  461. package/dist/icons/ui-icons/filter-alt.js +1 -24
  462. package/dist/icons/ui-icons/filter.js +1 -20
  463. package/dist/icons/ui-icons/flag-alt.js +1 -24
  464. package/dist/icons/ui-icons/flag.js +1 -24
  465. package/dist/icons/ui-icons/flip-h.js +1 -27
  466. package/dist/icons/ui-icons/flip-v.js +1 -27
  467. package/dist/icons/ui-icons/focus.js +1 -21
  468. package/dist/icons/ui-icons/folder-add.js +1 -22
  469. package/dist/icons/ui-icons/folder-open-solid.js +1 -17
  470. package/dist/icons/ui-icons/folder-open.js +1 -19
  471. package/dist/icons/ui-icons/folder-solid.js +1 -17
  472. package/dist/icons/ui-icons/folder-top-level.js +1 -22
  473. package/dist/icons/ui-icons/folder.js +1 -19
  474. package/dist/icons/ui-icons/font-family.js +1 -24
  475. package/dist/icons/ui-icons/footer.js +1 -23
  476. package/dist/icons/ui-icons/form-alt.js +1 -71
  477. package/dist/icons/ui-icons/form.js +1 -53
  478. package/dist/icons/ui-icons/four-columns.js +1 -38
  479. package/dist/icons/ui-icons/frame.js +1 -33
  480. package/dist/icons/ui-icons/full-max-shield.js +1 -26
  481. package/dist/icons/ui-icons/full-max-text.js +1 -20
  482. package/dist/icons/ui-icons/full-width-image.js +1 -35
  483. package/dist/icons/ui-icons/gears-fill.js +1 -19
  484. package/dist/icons/ui-icons/gears.js +1 -38
  485. package/dist/icons/ui-icons/generic-color-swatch.js +1 -6
  486. package/dist/icons/ui-icons/generic-shapes-alt.js +1 -33
  487. package/dist/icons/ui-icons/generic-shapes.js +1 -38
  488. package/dist/icons/ui-icons/globe-anchor.js +1 -55
  489. package/dist/icons/ui-icons/globe-hash.js +1 -40
  490. package/dist/icons/ui-icons/globe.js +1 -37
  491. package/dist/icons/ui-icons/google-tag-manager.js +1 -36
  492. package/dist/icons/ui-icons/gradient-repeat.js +1 -41
  493. package/dist/icons/ui-icons/gradient-stop.js +1 -36
  494. package/dist/icons/ui-icons/gradient.js +1 -54
  495. package/dist/icons/ui-icons/grid-alt.js +1 -19
  496. package/dist/icons/ui-icons/grid-auto-cols.js +1 -46
  497. package/dist/icons/ui-icons/grid-auto-rows.js +1 -41
  498. package/dist/icons/ui-icons/grid-col.js +1 -22
  499. package/dist/icons/ui-icons/grid-height.js +1 -22
  500. package/dist/icons/ui-icons/grid-list-toggle.js +1 -48
  501. package/dist/icons/ui-icons/grid-manual.js +1 -18
  502. package/dist/icons/ui-icons/grid-row.js +1 -22
  503. package/dist/icons/ui-icons/grid-width.js +1 -22
  504. package/dist/icons/ui-icons/group.js +1 -33
  505. package/dist/icons/ui-icons/gutter.js +1 -28
  506. package/dist/icons/ui-icons/gyroscope.js +1 -53
  507. package/dist/icons/ui-icons/h1.js +1 -28
  508. package/dist/icons/ui-icons/h2.js +1 -28
  509. package/dist/icons/ui-icons/h3.js +1 -28
  510. package/dist/icons/ui-icons/h4.js +1 -28
  511. package/dist/icons/ui-icons/h5.js +1 -28
  512. package/dist/icons/ui-icons/h6.js +1 -28
  513. package/dist/icons/ui-icons/hamburger-menu.js +1 -19
  514. package/dist/icons/ui-icons/hard-drive.js +1 -35
  515. package/dist/icons/ui-icons/header.js +1 -23
  516. package/dist/icons/ui-icons/heading-level-alt.js +1 -28
  517. package/dist/icons/ui-icons/heading-level.js +1 -28
  518. package/dist/icons/ui-icons/heading.js +1 -20
  519. package/dist/icons/ui-icons/heart-fill-transparent.js +1 -19
  520. package/dist/icons/ui-icons/heart-fill.js +1 -18
  521. package/dist/icons/ui-icons/heart.js +1 -18
  522. package/dist/icons/ui-icons/height.js +1 -30
  523. package/dist/icons/ui-icons/help-alt.js +1 -25
  524. package/dist/icons/ui-icons/help-fill.js +1 -17
  525. package/dist/icons/ui-icons/help.js +1 -35
  526. package/dist/icons/ui-icons/hide.js +1 -29
  527. package/dist/icons/ui-icons/highlighted-checkmark.js +1 -24
  528. package/dist/icons/ui-icons/highlighted-exclamation-mark.js +1 -33
  529. package/dist/icons/ui-icons/history.js +1 -26
  530. package/dist/icons/ui-icons/horizontal-align-alt.js +1 -27
  531. package/dist/icons/ui-icons/horizontal-align-around.js +1 -37
  532. package/dist/icons/ui-icons/horizontal-align-between-alt.js +1 -37
  533. package/dist/icons/ui-icons/horizontal-align-between.js +1 -46
  534. package/dist/icons/ui-icons/horizontal-align-center.js +1 -41
  535. package/dist/icons/ui-icons/horizontal-align-evenly.js +1 -37
  536. package/dist/icons/ui-icons/horizontal-align-left.js +1 -44
  537. package/dist/icons/ui-icons/horizontal-align-right.js +1 -48
  538. package/dist/icons/ui-icons/horizontal-align-stretch.js +1 -37
  539. package/dist/icons/ui-icons/horizontal-align.js +1 -35
  540. package/dist/icons/ui-icons/hover-background-glow.js +1 -61
  541. package/dist/icons/ui-icons/hover-background-type.js +1 -34
  542. package/dist/icons/ui-icons/hover-invert-object.js +1 -42
  543. package/dist/icons/ui-icons/hover-invert-text.js +1 -32
  544. package/dist/icons/ui-icons/hover-rotate.js +1 -20
  545. package/dist/icons/ui-icons/hover-zoom.js +1 -25
  546. package/dist/icons/ui-icons/hyphenate-alt.js +1 -20
  547. package/dist/icons/ui-icons/hyphenate-alt2.js +1 -20
  548. package/dist/icons/ui-icons/hyphenate.js +1 -25
  549. package/dist/icons/ui-icons/icon-generic.js +1 -23
  550. package/dist/icons/ui-icons/id-card.js +1 -45
  551. package/dist/icons/ui-icons/id.js +1 -28
  552. package/dist/icons/ui-icons/image-blur.js +1 -50
  553. package/dist/icons/ui-icons/image-caption.js +1 -36
  554. package/dist/icons/ui-icons/image-error.js +1 -36
  555. package/dist/icons/ui-icons/image-file.js +1 -40
  556. package/dist/icons/ui-icons/image-lazy-load.js +1 -52
  557. package/dist/icons/ui-icons/image-opacity.js +1 -31
  558. package/dist/icons/ui-icons/image-overlay-alt.js +1 -93
  559. package/dist/icons/ui-icons/image-overlay-alt2.js +1 -93
  560. package/dist/icons/ui-icons/image-overlay.js +1 -92
  561. package/dist/icons/ui-icons/image-remove.js +1 -46
  562. package/dist/icons/ui-icons/image.js +1 -25
  563. package/dist/icons/ui-icons/index.js +1 -753
  564. package/dist/icons/ui-icons/info-circle-fill-transparent.js +1 -21
  565. package/dist/icons/ui-icons/info-circle-fill.js +1 -17
  566. package/dist/icons/ui-icons/info-circle.js +1 -24
  567. package/dist/icons/ui-icons/info.js +1 -17
  568. package/dist/icons/ui-icons/inherit.js +1 -41
  569. package/dist/icons/ui-icons/inline-gradient-format.js +1 -62
  570. package/dist/icons/ui-icons/input-field.js +1 -27
  571. package/dist/icons/ui-icons/italic.js +1 -20
  572. package/dist/icons/ui-icons/item-limit.js +1 -35
  573. package/dist/icons/ui-icons/item-select.js +1 -33
  574. package/dist/icons/ui-icons/item-wrap.js +1 -60
  575. package/dist/icons/ui-icons/items-per-page.js +1 -48
  576. package/dist/icons/ui-icons/items-per-row.js +1 -45
  577. package/dist/icons/ui-icons/key.js +1 -25
  578. package/dist/icons/ui-icons/keyboard.js +1 -19
  579. package/dist/icons/ui-icons/large.js +1 -24
  580. package/dist/icons/ui-icons/latest-posts.js +1 -44
  581. package/dist/icons/ui-icons/layer-off.js +1 -20
  582. package/dist/icons/ui-icons/layer.js +1 -19
  583. package/dist/icons/ui-icons/layers.js +1 -33
  584. package/dist/icons/ui-icons/layout-alt.js +1 -19
  585. package/dist/icons/ui-icons/layout-alt2.js +1 -23
  586. package/dist/icons/ui-icons/layout-alt3.js +1 -19
  587. package/dist/icons/ui-icons/layout-alt4.js +1 -19
  588. package/dist/icons/ui-icons/layout-bento-box.js +1 -19
  589. package/dist/icons/ui-icons/layout-masonry.js +1 -79
  590. package/dist/icons/ui-icons/layout.js +1 -43
  591. package/dist/icons/ui-icons/left-panel-alt.js +1 -25
  592. package/dist/icons/ui-icons/left-panel.js +1 -22
  593. package/dist/icons/ui-icons/light-bulb-alt.js +1 -30
  594. package/dist/icons/ui-icons/light-bulb.js +1 -33
  595. package/dist/icons/ui-icons/light-mode.js +1 -26
  596. package/dist/icons/ui-icons/limit-width.js +1 -26
  597. package/dist/icons/ui-icons/line-break-alt-off.js +1 -26
  598. package/dist/icons/ui-icons/line-break-alt.js +1 -25
  599. package/dist/icons/ui-icons/line-break-off-alt.js +1 -35
  600. package/dist/icons/ui-icons/line-break-off.js +1 -41
  601. package/dist/icons/ui-icons/line-break.js +1 -29
  602. package/dist/icons/ui-icons/line-breaks-hyphenation.js +1 -36
  603. package/dist/icons/ui-icons/link-add.js +1 -41
  604. package/dist/icons/ui-icons/link-nav.js +1 -59
  605. package/dist/icons/ui-icons/link-remove.js +1 -41
  606. package/dist/icons/ui-icons/link.js +1 -19
  607. package/dist/icons/ui-icons/list-indent.js +1 -26
  608. package/dist/icons/ui-icons/list-ordered.js +1 -43
  609. package/dist/icons/ui-icons/list-outdent.js +1 -26
  610. package/dist/icons/ui-icons/list-unordered.js +1 -43
  611. package/dist/icons/ui-icons/loader-alt.js +1 -19
  612. package/dist/icons/ui-icons/loader.js +1 -19
  613. package/dist/icons/ui-icons/location-add.js +1 -44
  614. package/dist/icons/ui-icons/location-allow.js +1 -44
  615. package/dist/icons/ui-icons/location-deny.js +1 -44
  616. package/dist/icons/ui-icons/location-settings.js +1 -36
  617. package/dist/icons/ui-icons/location.js +1 -26
  618. package/dist/icons/ui-icons/lock.js +1 -44
  619. package/dist/icons/ui-icons/loop-mode.js +1 -20
  620. package/dist/icons/ui-icons/magic-alt-fill-transparent.js +1 -20
  621. package/dist/icons/ui-icons/magic-alt-fill.js +1 -19
  622. package/dist/icons/ui-icons/magic-alt.js +1 -19
  623. package/dist/icons/ui-icons/magic-fill-transparent.js +1 -20
  624. package/dist/icons/ui-icons/magic-fill.js +1 -19
  625. package/dist/icons/ui-icons/magic.js +1 -19
  626. package/dist/icons/ui-icons/map-layer-json.js +1 -35
  627. package/dist/icons/ui-icons/map-layer-raster.js +1 -121
  628. package/dist/icons/ui-icons/map-layer-vector.js +1 -81
  629. package/dist/icons/ui-icons/map-layer.js +1 -26
  630. package/dist/icons/ui-icons/map-pin.js +1 -41
  631. package/dist/icons/ui-icons/matrix-align-control-dot-active.js +1 -23
  632. package/dist/icons/ui-icons/matrix-align-control-dot-inactive.js +1 -21
  633. package/dist/icons/ui-icons/media.js +1 -49
  634. package/dist/icons/ui-icons/medium.js +1 -24
  635. package/dist/icons/ui-icons/menu-item-check.js +1 -20
  636. package/dist/icons/ui-icons/menu-item-circle.js +1 -19
  637. package/dist/icons/ui-icons/microphone.js +1 -23
  638. package/dist/icons/ui-icons/migration-alt-v.js +1 -20
  639. package/dist/icons/ui-icons/migration-alt.js +1 -20
  640. package/dist/icons/ui-icons/migration.js +1 -26
  641. package/dist/icons/ui-icons/module.js +1 -24
  642. package/dist/icons/ui-icons/money-paper.js +1 -58
  643. package/dist/icons/ui-icons/more-h-circle.js +1 -40
  644. package/dist/icons/ui-icons/more-h.js +1 -33
  645. package/dist/icons/ui-icons/more-v-circle.js +1 -44
  646. package/dist/icons/ui-icons/more-v.js +1 -36
  647. package/dist/icons/ui-icons/mouse-cursor.js +1 -20
  648. package/dist/icons/ui-icons/mouse-wheel.js +1 -27
  649. package/dist/icons/ui-icons/multi-item-left-inset-mobile.js +1 -58
  650. package/dist/icons/ui-icons/multi-item-left-inset.js +1 -39
  651. package/dist/icons/ui-icons/multi-item-right-inset-mobile.js +1 -55
  652. package/dist/icons/ui-icons/multi-item-right-inset.js +1 -36
  653. package/dist/icons/ui-icons/multiple.js +1 -34
  654. package/dist/icons/ui-icons/music-note.js +1 -40
  655. package/dist/icons/ui-icons/mute-centered.js +1 -20
  656. package/dist/icons/ui-icons/mute.js +1 -20
  657. package/dist/icons/ui-icons/narrow-bottom.js +1 -49
  658. package/dist/icons/ui-icons/narrow-left.js +1 -49
  659. package/dist/icons/ui-icons/narrow-right.js +1 -49
  660. package/dist/icons/ui-icons/narrow-top.js +1 -49
  661. package/dist/icons/ui-icons/navigation-buttons.js +1 -39
  662. package/dist/icons/ui-icons/new-tab.js +1 -27
  663. package/dist/icons/ui-icons/newspaper.js +1 -45
  664. package/dist/icons/ui-icons/none.js +1 -25
  665. package/dist/icons/ui-icons/notebook.js +1 -44
  666. package/dist/icons/ui-icons/num0-circle-alt.js +1 -24
  667. package/dist/icons/ui-icons/num0-circle.js +1 -24
  668. package/dist/icons/ui-icons/num0-square-alt.js +1 -26
  669. package/dist/icons/ui-icons/num0-square.js +1 -26
  670. package/dist/icons/ui-icons/num1-circle-alt.js +1 -26
  671. package/dist/icons/ui-icons/num1-circle.js +1 -26
  672. package/dist/icons/ui-icons/num1-square-alt.js +1 -28
  673. package/dist/icons/ui-icons/num1-square.js +1 -28
  674. package/dist/icons/ui-icons/num2-circle-alt.js +1 -26
  675. package/dist/icons/ui-icons/num2-circle.js +1 -26
  676. package/dist/icons/ui-icons/num2-square-alt.js +1 -28
  677. package/dist/icons/ui-icons/num2-square.js +1 -28
  678. package/dist/icons/ui-icons/num3-circle-alt.js +1 -26
  679. package/dist/icons/ui-icons/num3-circle.js +1 -26
  680. package/dist/icons/ui-icons/num3-square-alt.js +1 -28
  681. package/dist/icons/ui-icons/num3-square.js +1 -28
  682. package/dist/icons/ui-icons/num4-circle-alt.js +1 -26
  683. package/dist/icons/ui-icons/num4-circle.js +1 -26
  684. package/dist/icons/ui-icons/num4-square-alt.js +1 -28
  685. package/dist/icons/ui-icons/num4-square.js +1 -28
  686. package/dist/icons/ui-icons/num5-circle-alt.js +1 -26
  687. package/dist/icons/ui-icons/num5-circle.js +1 -26
  688. package/dist/icons/ui-icons/num5-square-alt.js +1 -28
  689. package/dist/icons/ui-icons/num5-square.js +1 -28
  690. package/dist/icons/ui-icons/num6-circle-alt.js +1 -26
  691. package/dist/icons/ui-icons/num6-circle.js +1 -26
  692. package/dist/icons/ui-icons/num6-square-alt.js +1 -28
  693. package/dist/icons/ui-icons/num6-square.js +1 -28
  694. package/dist/icons/ui-icons/num7-circle-alt.js +1 -26
  695. package/dist/icons/ui-icons/num7-circle.js +1 -26
  696. package/dist/icons/ui-icons/num7-square-alt.js +1 -28
  697. package/dist/icons/ui-icons/num7-square.js +1 -28
  698. package/dist/icons/ui-icons/num8-circle-alt.js +1 -24
  699. package/dist/icons/ui-icons/num8-circle.js +1 -24
  700. package/dist/icons/ui-icons/num8-square-alt.js +1 -26
  701. package/dist/icons/ui-icons/num8-square.js +1 -26
  702. package/dist/icons/ui-icons/num9-circle-alt.js +1 -26
  703. package/dist/icons/ui-icons/num9-circle.js +1 -26
  704. package/dist/icons/ui-icons/num9-square-alt.js +1 -28
  705. package/dist/icons/ui-icons/num9-square.js +1 -28
  706. package/dist/icons/ui-icons/office-building.js +1 -203
  707. package/dist/icons/ui-icons/office-buildings.js +1 -256
  708. package/dist/icons/ui-icons/offset-auto.js +1 -46
  709. package/dist/icons/ui-icons/offset.js +1 -39
  710. package/dist/icons/ui-icons/option-list-alt.js +1 -61
  711. package/dist/icons/ui-icons/option-list.js +1 -63
  712. package/dist/icons/ui-icons/options.js +1 -24
  713. package/dist/icons/ui-icons/order.js +1 -49
  714. package/dist/icons/ui-icons/padding-bottom.js +1 -35
  715. package/dist/icons/ui-icons/padding-top.js +1 -35
  716. package/dist/icons/ui-icons/padding.js +1 -34
  717. package/dist/icons/ui-icons/pagination.js +1 -49
  718. package/dist/icons/ui-icons/palette-color.js +1 -111
  719. package/dist/icons/ui-icons/panel-collapse.js +1 -41
  720. package/dist/icons/ui-icons/panel-expand.js +1 -41
  721. package/dist/icons/ui-icons/paragraph.js +1 -24
  722. package/dist/icons/ui-icons/paste.js +1 -52
  723. package/dist/icons/ui-icons/pause.js +1 -20
  724. package/dist/icons/ui-icons/people-group.js +1 -57
  725. package/dist/icons/ui-icons/people.js +1 -43
  726. package/dist/icons/ui-icons/person.js +1 -26
  727. package/dist/icons/ui-icons/photo-camera.js +1 -26
  728. package/dist/icons/ui-icons/picture-in-picture.js +1 -33
  729. package/dist/icons/ui-icons/play-reverse.js +1 -20
  730. package/dist/icons/ui-icons/play.js +1 -20
  731. package/dist/icons/ui-icons/playback-options.js +1 -24
  732. package/dist/icons/ui-icons/plus-circle-fill-alt.js +1 -23
  733. package/dist/icons/ui-icons/plus-circle-fill.js +1 -17
  734. package/dist/icons/ui-icons/plus-circle.js +1 -26
  735. package/dist/icons/ui-icons/plus-minus-buttons-h.js +1 -25
  736. package/dist/icons/ui-icons/plus-minus-buttons-v.js +1 -25
  737. package/dist/icons/ui-icons/plus-square-fill-transparent.js +1 -27
  738. package/dist/icons/ui-icons/plus-square-fill.js +1 -17
  739. package/dist/icons/ui-icons/plus-square.js +1 -27
  740. package/dist/icons/ui-icons/pointer-hand-disabled.js +1 -34
  741. package/dist/icons/ui-icons/pointer-hand.js +1 -20
  742. package/dist/icons/ui-icons/position-arrows-h.js +1 -26
  743. package/dist/icons/ui-icons/position-arrows-inverted-h.js +1 -26
  744. package/dist/icons/ui-icons/position-arrows-inverted-v.js +1 -26
  745. package/dist/icons/ui-icons/position-arrows-inverted.js +1 -26
  746. package/dist/icons/ui-icons/position-arrows-v.js +1 -26
  747. package/dist/icons/ui-icons/position-arrows.js +1 -26
  748. package/dist/icons/ui-icons/position-h-center.js +1 -43
  749. package/dist/icons/ui-icons/position-h-end.js +1 -43
  750. package/dist/icons/ui-icons/position-h-start.js +1 -43
  751. package/dist/icons/ui-icons/position-left.js +1 -31
  752. package/dist/icons/ui-icons/position-right.js +1 -31
  753. package/dist/icons/ui-icons/position-v-center.js +1 -43
  754. package/dist/icons/ui-icons/position-v-end.js +1 -43
  755. package/dist/icons/ui-icons/position-v-start.js +1 -43
  756. package/dist/icons/ui-icons/position2x2-bottom-left.js +1 -52
  757. package/dist/icons/ui-icons/position2x2-bottom-right.js +1 -52
  758. package/dist/icons/ui-icons/position2x2-empty.js +1 -51
  759. package/dist/icons/ui-icons/position2x2-top-left.js +1 -52
  760. package/dist/icons/ui-icons/position2x2-top-right.js +1 -52
  761. package/dist/icons/ui-icons/position3x3-bottom-center.js +1 -97
  762. package/dist/icons/ui-icons/position3x3-bottom-left.js +1 -97
  763. package/dist/icons/ui-icons/position3x3-bottom-right.js +1 -97
  764. package/dist/icons/ui-icons/position3x3-center-center.js +1 -97
  765. package/dist/icons/ui-icons/position3x3-center-left.js +1 -97
  766. package/dist/icons/ui-icons/position3x3-center-right.js +1 -97
  767. package/dist/icons/ui-icons/position3x3-empty.js +1 -96
  768. package/dist/icons/ui-icons/position3x3-top-center.js +1 -97
  769. package/dist/icons/ui-icons/position3x3-top-left.js +1 -97
  770. package/dist/icons/ui-icons/position3x3-top-right.js +1 -97
  771. package/dist/icons/ui-icons/positioning-guide-alt.js +1 -30
  772. package/dist/icons/ui-icons/positioning-guide.js +1 -30
  773. package/dist/icons/ui-icons/positioning-width-guide.js +1 -40
  774. package/dist/icons/ui-icons/preload.js +1 -44
  775. package/dist/icons/ui-icons/preview-responsive.js +1 -48
  776. package/dist/icons/ui-icons/preview.js +1 -35
  777. package/dist/icons/ui-icons/progressbar-intermittent.js +1 -26
  778. package/dist/icons/ui-icons/progressbar.js +1 -30
  779. package/dist/icons/ui-icons/range-max.js +1 -48
  780. package/dist/icons/ui-icons/range-mid.js +1 -40
  781. package/dist/icons/ui-icons/range-min.js +1 -48
  782. package/dist/icons/ui-icons/range.js +1 -61
  783. package/dist/icons/ui-icons/read-only.js +1 -25
  784. package/dist/icons/ui-icons/reduce-height-bottom.js +1 -49
  785. package/dist/icons/ui-icons/reduce-height-top.js +1 -49
  786. package/dist/icons/ui-icons/regex.js +1 -39
  787. package/dist/icons/ui-icons/remove.js +1 -20
  788. package/dist/icons/ui-icons/rename.js +1 -24
  789. package/dist/icons/ui-icons/reorder-grabber-h.js +1 -51
  790. package/dist/icons/ui-icons/reorder-grabber-v.js +1 -57
  791. package/dist/icons/ui-icons/reorder.js +1 -35
  792. package/dist/icons/ui-icons/required-alt.js +1 -20
  793. package/dist/icons/ui-icons/required.js +1 -19
  794. package/dist/icons/ui-icons/reset-to-zero.js +1 -33
  795. package/dist/icons/ui-icons/reset.js +1 -25
  796. package/dist/icons/ui-icons/responsive-overrides-alt-fill.js +1 -26
  797. package/dist/icons/ui-icons/responsive-overrides-alt.js +1 -49
  798. package/dist/icons/ui-icons/responsive-overrides-alt2-fill.js +1 -34
  799. package/dist/icons/ui-icons/responsive-overrides-alt2.js +1 -45
  800. package/dist/icons/ui-icons/responsive-overrides-alt3-fill.js +1 -33
  801. package/dist/icons/ui-icons/responsive-overrides.js +1 -39
  802. package/dist/icons/ui-icons/responsive.js +1 -33
  803. package/dist/icons/ui-icons/right-panel-alt.js +1 -23
  804. package/dist/icons/ui-icons/right-panel.js +1 -22
  805. package/dist/icons/ui-icons/rotate-left.js +1 -20
  806. package/dist/icons/ui-icons/rotate-right.js +1 -20
  807. package/dist/icons/ui-icons/rounded-corners.js +1 -19
  808. package/dist/icons/ui-icons/route.js +1 -27
  809. package/dist/icons/ui-icons/row-add.js +1 -45
  810. package/dist/icons/ui-icons/row-empty.js +1 -51
  811. package/dist/icons/ui-icons/row.js +1 -45
  812. package/dist/icons/ui-icons/rows.js +1 -42
  813. package/dist/icons/ui-icons/ruler.js +1 -28
  814. package/dist/icons/ui-icons/save.js +1 -26
  815. package/dist/icons/ui-icons/screen-desktop.js +1 -32
  816. package/dist/icons/ui-icons/screen-large.js +1 -23
  817. package/dist/icons/ui-icons/screen-mobile.js +1 -39
  818. package/dist/icons/ui-icons/screen-tablet-large.js +1 -36
  819. package/dist/icons/ui-icons/screen-tablet.js +1 -36
  820. package/dist/icons/ui-icons/scrollbar-h.js +1 -40
  821. package/dist/icons/ui-icons/scrollbar-v.js +1 -41
  822. package/dist/icons/ui-icons/scrollbars.js +1 -55
  823. package/dist/icons/ui-icons/search-empty.js +1 -37
  824. package/dist/icons/ui-icons/search.js +1 -25
  825. package/dist/icons/ui-icons/separator-h.js +1 -41
  826. package/dist/icons/ui-icons/separator-v.js +1 -39
  827. package/dist/icons/ui-icons/shadow.js +1 -61
  828. package/dist/icons/ui-icons/share.js +1 -26
  829. package/dist/icons/ui-icons/shield-plus-alt.js +1 -27
  830. package/dist/icons/ui-icons/shield-plus.js +1 -20
  831. package/dist/icons/ui-icons/shield.js +1 -20
  832. package/dist/icons/ui-icons/shrink-diagonal-left-xl.js +1 -20
  833. package/dist/icons/ui-icons/shrink-diagonal-left.js +1 -20
  834. package/dist/icons/ui-icons/shrink-diagonal-right-xl.js +1 -20
  835. package/dist/icons/ui-icons/shrink-diagonal-right.js +1 -20
  836. package/dist/icons/ui-icons/shrink-xl.js +1 -20
  837. package/dist/icons/ui-icons/shrink.js +1 -20
  838. package/dist/icons/ui-icons/shuffle.js +1 -20
  839. package/dist/icons/ui-icons/sidebar-flip.js +1 -22
  840. package/dist/icons/ui-icons/sidebar.js +1 -22
  841. package/dist/icons/ui-icons/single-item-left-inset-mobile.js +1 -48
  842. package/dist/icons/ui-icons/single-item-left-inset.js +1 -23
  843. package/dist/icons/ui-icons/single-item-right-inset-mobile.js +1 -50
  844. package/dist/icons/ui-icons/single-item-right-inset.js +1 -23
  845. package/dist/icons/ui-icons/size-alt.js +1 -33
  846. package/dist/icons/ui-icons/size.js +1 -29
  847. package/dist/icons/ui-icons/slider.js +1 -31
  848. package/dist/icons/ui-icons/sliders.js +1 -68
  849. package/dist/icons/ui-icons/small.js +1 -24
  850. package/dist/icons/ui-icons/solid-circle-fill-transparent.js +1 -22
  851. package/dist/icons/ui-icons/solid-circle-filled.js +1 -21
  852. package/dist/icons/ui-icons/solid-circle-gradient.js +1 -31
  853. package/dist/icons/ui-icons/solid-circle.js +1 -21
  854. package/dist/icons/ui-icons/solid-color.js +1 -19
  855. package/dist/icons/ui-icons/solid-rect-fill-transparent.js +1 -24
  856. package/dist/icons/ui-icons/solid-rect-filled.js +1 -23
  857. package/dist/icons/ui-icons/solid-rect-gradient.js +1 -33
  858. package/dist/icons/ui-icons/solid-rect.js +1 -23
  859. package/dist/icons/ui-icons/sort-asc.js +1 -20
  860. package/dist/icons/ui-icons/sort-desc.js +1 -20
  861. package/dist/icons/ui-icons/sort-generic.js +1 -25
  862. package/dist/icons/ui-icons/spacing-bottom-in.js +1 -23
  863. package/dist/icons/ui-icons/spacing-bottom.js +1 -23
  864. package/dist/icons/ui-icons/spacing-left-in.js +1 -23
  865. package/dist/icons/ui-icons/spacing-left.js +1 -23
  866. package/dist/icons/ui-icons/spacing-right-in.js +1 -23
  867. package/dist/icons/ui-icons/spacing-right.js +1 -23
  868. package/dist/icons/ui-icons/spacing-top-in.js +1 -23
  869. package/dist/icons/ui-icons/spacing-top.js +1 -23
  870. package/dist/icons/ui-icons/speed.js +1 -25
  871. package/dist/icons/ui-icons/stagger.js +1 -53
  872. package/dist/icons/ui-icons/star.js +1 -18
  873. package/dist/icons/ui-icons/step.js +1 -27
  874. package/dist/icons/ui-icons/stop.js +1 -20
  875. package/dist/icons/ui-icons/swap.js +1 -41
  876. package/dist/icons/ui-icons/tag-alt.js +1 -24
  877. package/dist/icons/ui-icons/tag.js +1 -26
  878. package/dist/icons/ui-icons/text-abc.js +1 -40
  879. package/dist/icons/ui-icons/text-above.js +1 -25
  880. package/dist/icons/ui-icons/text-align-center.js +1 -20
  881. package/dist/icons/ui-icons/text-align-generic.js +1 -20
  882. package/dist/icons/ui-icons/text-align-justify.js +1 -20
  883. package/dist/icons/ui-icons/text-align-left.js +1 -20
  884. package/dist/icons/ui-icons/text-align-right.js +1 -20
  885. package/dist/icons/ui-icons/text-below.js +1 -25
  886. package/dist/icons/ui-icons/text-box-edit.js +1 -35
  887. package/dist/icons/ui-icons/text-color-swatch.js +1 -40
  888. package/dist/icons/ui-icons/text-highlight-color-swatch-alt.js +1 -49
  889. package/dist/icons/ui-icons/text-highlight-color-swatch.js +1 -48
  890. package/dist/icons/ui-icons/text-larger.js +1 -23
  891. package/dist/icons/ui-icons/text-length.js +1 -20
  892. package/dist/icons/ui-icons/text-size-alt.js +1 -23
  893. package/dist/icons/ui-icons/text-size.js +1 -20
  894. package/dist/icons/ui-icons/text-smaller.js +1 -23
  895. package/dist/icons/ui-icons/text-strikethrough.js +1 -26
  896. package/dist/icons/ui-icons/text-uppercase.js +1 -25
  897. package/dist/icons/ui-icons/text-write.js +1 -39
  898. package/dist/icons/ui-icons/thumbs-down.js +1 -22
  899. package/dist/icons/ui-icons/thumbs-up.js +1 -22
  900. package/dist/icons/ui-icons/title-generic.js +1 -25
  901. package/dist/icons/ui-icons/toggle-off.js +1 -33
  902. package/dist/icons/ui-icons/toggle-on-alt.js +1 -19
  903. package/dist/icons/ui-icons/toggle-on.js +1 -31
  904. package/dist/icons/ui-icons/tools.js +1 -25
  905. package/dist/icons/ui-icons/total-items.js +1 -45
  906. package/dist/icons/ui-icons/trash-alt.js +1 -44
  907. package/dist/icons/ui-icons/trash.js +1 -33
  908. package/dist/icons/ui-icons/tree-alt.js +1 -62
  909. package/dist/icons/ui-icons/tree-alt2.js +1 -79
  910. package/dist/icons/ui-icons/tree.js +1 -70
  911. package/dist/icons/ui-icons/troubleshoot-alt.js +1 -39
  912. package/dist/icons/ui-icons/two-cards-left.js +1 -32
  913. package/dist/icons/ui-icons/two-cards-right.js +1 -32
  914. package/dist/icons/ui-icons/two-columns.js +1 -30
  915. package/dist/icons/ui-icons/typography-options.js +1 -77
  916. package/dist/icons/ui-icons/typography.js +1 -71
  917. package/dist/icons/ui-icons/underline.js +1 -19
  918. package/dist/icons/ui-icons/ungroup.js +1 -39
  919. package/dist/icons/ui-icons/upload.js +1 -20
  920. package/dist/icons/ui-icons/venn-diagram-alt.js +1 -34
  921. package/dist/icons/ui-icons/venn-diagram-alt2.js +1 -34
  922. package/dist/icons/ui-icons/venn-diagram-alt3.js +1 -34
  923. package/dist/icons/ui-icons/venn-diagram-alt4.js +1 -34
  924. package/dist/icons/ui-icons/venn-diagram-alt5.js +1 -34
  925. package/dist/icons/ui-icons/venn-diagram-alt6.js +1 -34
  926. package/dist/icons/ui-icons/venn-diagram-alt7.js +1 -39
  927. package/dist/icons/ui-icons/venn-diagram.js +1 -26
  928. package/dist/icons/ui-icons/vertical-align-alt.js +1 -27
  929. package/dist/icons/ui-icons/vertical-align-around.js +1 -39
  930. package/dist/icons/ui-icons/vertical-align-between-alt.js +1 -39
  931. package/dist/icons/ui-icons/vertical-align-between.js +1 -48
  932. package/dist/icons/ui-icons/vertical-align-bottom.js +1 -44
  933. package/dist/icons/ui-icons/vertical-align-center.js +1 -39
  934. package/dist/icons/ui-icons/vertical-align-evenly.js +1 -39
  935. package/dist/icons/ui-icons/vertical-align-stretch.js +1 -39
  936. package/dist/icons/ui-icons/vertical-align-top.js +1 -46
  937. package/dist/icons/ui-icons/vertical-align.js +1 -35
  938. package/dist/icons/ui-icons/vertical-spacing.js +1 -28
  939. package/dist/icons/ui-icons/video-chapters.js +1 -25
  940. package/dist/icons/ui-icons/video-controls.js +1 -67
  941. package/dist/icons/ui-icons/video-file.js +1 -40
  942. package/dist/icons/ui-icons/video-poster-image.js +1 -40
  943. package/dist/icons/ui-icons/video-subtitle-alt.js +1 -39
  944. package/dist/icons/ui-icons/video-subtitle.js +1 -27
  945. package/dist/icons/ui-icons/video.js +1 -36
  946. package/dist/icons/ui-icons/visibility-alt.js +1 -40
  947. package/dist/icons/ui-icons/visibility-alt2.js +1 -41
  948. package/dist/icons/ui-icons/visibility.js +1 -45
  949. package/dist/icons/ui-icons/visible.js +1 -28
  950. package/dist/icons/ui-icons/volume.js +1 -25
  951. package/dist/icons/ui-icons/warning-circle-fill-transparent.js +1 -30
  952. package/dist/icons/ui-icons/warning-circle-fill.js +1 -17
  953. package/dist/icons/ui-icons/warning-circle.js +1 -33
  954. package/dist/icons/ui-icons/warning-fill-transparent.js +1 -30
  955. package/dist/icons/ui-icons/warning-fill.js +1 -17
  956. package/dist/icons/ui-icons/warning.js +1 -30
  957. package/dist/icons/ui-icons/web-video.js +1 -63
  958. package/dist/icons/ui-icons/wide-bottom.js +1 -49
  959. package/dist/icons/ui-icons/wide-left.js +1 -49
  960. package/dist/icons/ui-icons/wide-right.js +1 -49
  961. package/dist/icons/ui-icons/wide-top.js +1 -49
  962. package/dist/icons/ui-icons/width.js +1 -29
  963. package/dist/icons/ui-icons/wordpress.js +1 -17
  964. package/dist/icons/ui-icons/wrapper-alt.js +1 -71
  965. package/dist/icons/ui-icons/wrapper-config.js +1 -41
  966. package/dist/icons/ui-icons/wrapper-off-alt.js +1 -19
  967. package/dist/icons/ui-icons/wrapper-overflow.js +1 -31
  968. package/dist/icons/ui-icons/wrapper-simple-alt.js +1 -58
  969. package/dist/icons/ui-icons/wrapper-simple.js +1 -32
  970. package/dist/icons/ui-icons/wrapper.js +1 -42
  971. package/dist/icons/ui-icons/wrench.js +1 -19
  972. package/dist/icons/ui-icons/zap-fill.js +1 -20
  973. package/dist/icons/ui-icons/zap.js +1 -19
  974. package/dist/index.js +1 -62
  975. package/dist/input-field-fSivrDer.js +1 -0
  976. package/dist/jsx-svg-zli3d0qY.js +68 -0
  977. package/dist/keyboard-BzlG0aH2.js +1 -0
  978. package/dist/link-input-D9t6cjWZ.js +1 -0
  979. package/dist/modal-DBnLSJmx.js +1 -0
  980. package/dist/number-C1r4kgNV.js +1 -0
  981. package/dist/number-picker-BIXieDJ6.js +1 -0
  982. package/dist/react-BSpnyKxv.js +1 -0
  983. package/dist/reorderable-grid-BAYa6mTs.js +2 -0
  984. package/dist/shared-CVfujbDV.js +1 -0
  985. package/dist/solid-color-picker-BYZhRF7V.js +1 -0
  986. package/dist/sprintf-jxGppDDY.js +1 -0
  987. package/dist/switch-35fHzULo.js +1 -0
  988. package/dist/tabs-eEqiNYD8.js +1 -0
  989. package/dist/text-helpers-Bs5upvzH.js +1 -0
  990. package/dist/toggle-button-BroScPLM.js +1 -0
  991. package/dist/tooltip-Cpzgu8xY.js +1 -0
  992. package/dist/useAsyncList-cN2_5xNF.js +1 -0
  993. package/dist/useButton-CUbkFkS6.js +1 -0
  994. package/dist/useCollection-BqmrVZIy.js +1 -0
  995. package/dist/useControlledState-DuIQl7AI.js +1 -0
  996. package/dist/useEvent-BlCQMrO9.js +1 -0
  997. package/dist/useField-KKAxOCpq.js +1 -0
  998. package/dist/useFilter-c6g6MH-o.js +1 -0
  999. package/dist/useFocusRing-iqZqZ3LT.js +7 -0
  1000. package/dist/useFormReset-BR6FFFlJ.js +1 -0
  1001. package/dist/useFormValidation-Bh9mXXQp.js +1 -0
  1002. package/dist/useHasTabbableChild-B5OQsxku.js +1 -0
  1003. package/dist/useHover-B7zqOZ-m.js +1 -0
  1004. package/dist/useLabels-BrjiKdsE.js +1 -0
  1005. package/dist/useListState-CPL-VMhR.js +1 -0
  1006. package/dist/useLocalizedStringFormatter-B693_Wcz.js +1 -0
  1007. package/dist/useNumberFieldState-Cz03G3Lt.js +1 -0
  1008. package/dist/useObjectRef-BjjTnUOY.js +1 -0
  1009. package/dist/useOverlayTriggerState-DKUl8FBy.js +1 -0
  1010. package/dist/useSlot-IUqvn2jp.js +1 -0
  1011. package/dist/useSpinButton-B4eYBjz0.js +1 -0
  1012. package/dist/useTextField-CFwJQKgI.js +1 -0
  1013. package/dist/useToggle-CFFHpBO3.js +1 -0
  1014. package/dist/useToggleState-CTvAIp3u.js +1 -0
  1015. package/dist/useUpdateEffect-ydebgl8a.js +1 -0
  1016. package/dist/utilities/array-helpers.js +1 -46
  1017. package/dist/utilities/debounce-throttle.js +1 -2
  1018. package/dist/utilities/es-dash.js +1 -2
  1019. package/dist/utilities/general.js +1 -36
  1020. package/dist/utilities/hash.js +1 -35
  1021. package/dist/utilities/index.js +1 -9
  1022. package/dist/utilities/text-helpers.js +1 -2
  1023. package/dist/utilities/web-workers.js +1 -78
  1024. package/dist/utilities-CQP2zvrh.js +1 -0
  1025. package/dist/utils-a89BELgQ.js +1 -0
  1026. package/package.json +17 -24
  1027. package/dist/Autocomplete-DWofaS1k.js +0 -462
  1028. package/dist/Button-DcI8gSfH.js +0 -229
  1029. package/dist/Dialog-CSqjSLlO.js +0 -2764
  1030. package/dist/Disclosure-CkaUMe7J.js +0 -191
  1031. package/dist/FocusScope-DLpr7Rq0.js +0 -739
  1032. package/dist/Form-BWMVEpwR.js +0 -5
  1033. package/dist/Heading-BQje2nS2.js +0 -16
  1034. package/dist/Hidden-C4Saxkx9.js +0 -51
  1035. package/dist/I18nProvider-R_4IDnf9.js +0 -93
  1036. package/dist/Label-C4bJkVti.js +0 -17
  1037. package/dist/List-BKcyZ8tT.js +0 -506
  1038. package/dist/ListBox-D8_U8eBS.js +0 -562
  1039. package/dist/NumberFormatter-BbOYa3Kg.js +0 -91
  1040. package/dist/PortalProvider-Dbcc7pHq.js +0 -13
  1041. package/dist/RadioGroup-BZkgf6tl.js +0 -341
  1042. package/dist/SearchField-N1nXzeWK.js +0 -325
  1043. package/dist/SelectionIndicator-CyOcB5ps.js +0 -5
  1044. package/dist/SharedElementTransition-D1LPCrSc.js +0 -10
  1045. package/dist/Slider-Dryu0gH7.js +0 -811
  1046. package/dist/Text-CA2_mHEB.js +0 -17
  1047. package/dist/VisuallyHidden-2DfCzdKo.js +0 -43
  1048. package/dist/animation-COu1iBGW.js +0 -65
  1049. package/dist/assets/fonts/geist-latin-400-normal.woff2 +0 -0
  1050. package/dist/assets/fonts/geist-latin-500-normal.woff2 +0 -0
  1051. package/dist/assets/fonts/geist-latin-700-normal.woff2 +0 -0
  1052. package/dist/assets/fonts/geist-latin-ext-400-normal.woff2 +0 -0
  1053. package/dist/assets/fonts/geist-latin-ext-500-normal.woff2 +0 -0
  1054. package/dist/assets/fonts/geist-latin-ext-700-normal.woff2 +0 -0
  1055. package/dist/assets/fonts/geist-mono-latin-400-normal.woff2 +0 -0
  1056. package/dist/assets/fonts/geist-mono-latin-500-normal.woff2 +0 -0
  1057. package/dist/assets/fonts/geist-mono-latin-700-normal.woff2 +0 -0
  1058. package/dist/assets/fonts/geist-mono-latin-ext-400-normal.woff2 +0 -0
  1059. package/dist/assets/fonts/geist-mono-latin-ext-500-normal.woff2 +0 -0
  1060. package/dist/assets/fonts/geist-mono-latin-ext-700-normal.woff2 +0 -0
  1061. package/dist/assets/fonts/google-sans-flex-latin-ext-full-normal.woff2 +0 -0
  1062. package/dist/assets/fonts/google-sans-flex-latin-full-normal.woff2 +0 -0
  1063. package/dist/assets/fonts/google-sans-flex-symbols-full-normal.woff2 +0 -0
  1064. package/dist/assets/style-admin-no-fonts.css +0 -2
  1065. package/dist/assets/style-editor-no-fonts.css +0 -2
  1066. package/dist/assets/style-no-fonts.css +0 -2
  1067. package/dist/build-module-BISCoQjQ.js +0 -730
  1068. package/dist/button-CCtgOh0o.js +0 -583
  1069. package/dist/checkbox-d1lNvf65.js +0 -333
  1070. package/dist/clsx-DQoRUQAf.js +0 -16
  1071. package/dist/color-swatch-BstCWUIZ.js +0 -2579
  1072. package/dist/components/base-control/container.js +0 -168
  1073. package/dist/components/component-toggle/component-toggle.d.ts +0 -57
  1074. package/dist/components/component-toggle/component-toggle.js +0 -100
  1075. package/dist/components/container-panel/container-panel.d.ts +0 -50
  1076. package/dist/components/container-panel/container-panel.js +0 -82
  1077. package/dist/components/expandable/expandable.js +0 -88
  1078. package/dist/components/option-select/option-select.d.ts +0 -96
  1079. package/dist/components/option-select/option-select.js +0 -178
  1080. package/dist/components/options-panel/options-panel.d.ts +0 -97
  1081. package/dist/components/options-panel/options-panel.js +0 -114
  1082. package/dist/components/placeholders/media-placeholder.d.ts +0 -34
  1083. package/dist/components/placeholders/media-placeholder.js +0 -56
  1084. package/dist/debounce-throttle-DklGQQrz.js +0 -120
  1085. package/dist/dist-DpXluZqJ.js +0 -56
  1086. package/dist/draggable-CE4MJU75.js +0 -7496
  1087. package/dist/es-dash-DPtJSRjw.js +0 -298
  1088. package/dist/filterDOMProps-BV6v3Ytq.js +0 -70
  1089. package/dist/getMetaValue-Cpc6U0mQ.js +0 -18
  1090. package/dist/gradient-editor-D2zB_7Wi.js +0 -1650
  1091. package/dist/input-field-DVNpRfYE.js +0 -278
  1092. package/dist/jsx-svg-DRwJdRpA.js +0 -11153
  1093. package/dist/keyboard-DwWaJveG.js +0 -205
  1094. package/dist/link-input-XaVrI3wP.js +0 -1865
  1095. package/dist/modal-BXSwfGkf.js +0 -349
  1096. package/dist/number-BeC0ySe4.js +0 -41
  1097. package/dist/number-picker-DLLqEAsq.js +0 -257
  1098. package/dist/react-c-t8odpE.js +0 -10967
  1099. package/dist/shared-CsO_if0Q.js +0 -1030
  1100. package/dist/solid-color-picker-1QabIOpX.js +0 -1423
  1101. package/dist/sprintf-xJRAt4p0.js +0 -129
  1102. package/dist/switch-CfgDFjqQ.js +0 -297
  1103. package/dist/tabs-ORp17BEr.js +0 -1056
  1104. package/dist/text-helpers-QrwKKaOh.js +0 -254
  1105. package/dist/textSelection-BYhA9uWK.js +0 -45
  1106. package/dist/toggle-button-B0nKYFlk.js +0 -463
  1107. package/dist/tooltip-Dxr7aiIX.js +0 -421
  1108. package/dist/useAsyncList-CjKVLGN0.js +0 -396
  1109. package/dist/useButton-BO_4n6_e.js +0 -57
  1110. package/dist/useCollection-BVUc8URe.js +0 -2243
  1111. package/dist/useEvent-5yhOs2HC.js +0 -18
  1112. package/dist/useField-B_ibsWst.js +0 -36
  1113. package/dist/useFilter-Yp-QyW1S.js +0 -44
  1114. package/dist/useFocusRing-DxPoGWMJ.js +0 -99
  1115. package/dist/useFormReset-DFy_BhX1.js +0 -17
  1116. package/dist/useFormValidation-CZPIMeNw.js +0 -207
  1117. package/dist/useHover-DgudzTcf.js +0 -1158
  1118. package/dist/useLabel-gfFDE4bn.js +0 -27
  1119. package/dist/useLabels-Dcg-cEyM.js +0 -16
  1120. package/dist/useListState-DTn91yqB.js +0 -130
  1121. package/dist/useLocalizedStringFormatter-CTCqjYu4.js +0 -113
  1122. package/dist/useNumberFieldState-D-Bsp98Z.js +0 -1393
  1123. package/dist/useNumberFormatter-DNUGdm93.js +0 -10
  1124. package/dist/useOverlayTriggerState-uzs8mam6.js +0 -557
  1125. package/dist/usePress-BpGYwCwy.js +0 -609
  1126. package/dist/useSlot-CnQHcvd4.js +0 -25
  1127. package/dist/useTextField-C9dxy3po.js +0 -159
  1128. package/dist/useToggle-CudcGIyz.js +0 -115
  1129. package/dist/useToggleState-CYfSFy4b.js +0 -22
  1130. package/dist/utilities-COki58KB.js +0 -7
  1131. package/dist/utils-ClM91CuL.js +0 -382
@@ -0,0 +1,68 @@
1
+ import e,{Fragment as t,createElement as n,useId as r}from"react";import{jsx as i}from"react/jsx-runtime";function a(e,t){t===void 0&&(t={});var n=t.offsetLine||0,r=t.offsetColumn||0,i=e.split(`
2
+ `),a=0,o=i.map(function(e,t){var n=a+e.length+1,r={start:a,end:n,line:t};return a=n,r}),s=0;function c(e,t){return e.start<=t&&t<e.end}function l(e,t){return{line:n+e.line,column:r+t-e.start,character:t}}function u(t,n){typeof t==`string`&&(t=e.indexOf(t,n||0));for(var r=o[s],i=t>=r.end?1:-1;r;){if(c(r,t))return l(r,t);s+=i,r=o[s]}}return u}function o(e,t,n){if(typeof n==`number`)throw Error(`locate takes a { startIndex, offsetLine, offsetColumn } object as the third argument`);return a(e,n)(t,n&&n.startIndex)}var s=/[a-zA-Z0-9:_-]/,c=/[\s\t\r\n]/,l=/['"]/;function u(e,t){for(var n=``;t--;)n+=e;return n}function d(e){var t=``,n=[],r=f,i=null,a=null;function d(t){var n=o(e,S),r=n.line,i=n.column,a=e.slice(0,S),s=/(^|\n).*$/.exec(a)[0].replace(/\t/g,` `),c=e.slice(S),l=/.*(\n|$)/.exec(c)[0],d=``+s+l+`
3
+ `+u(` `,s.length)+`^`;throw Error(t+` (`+r+`:`+i+`). If this is valid SVG, it's probably a bug in svg-parser. Please raise an issue at https://github.com/Rich-Harris/svg-parser/issues – thanks!
4
+
5
+ `+d)}function f(){for(;S<e.length&&e[S]!==`<`||!s.test(e[S+1]);)t+=e[S++];return p()}function p(){for(var t=``;S<e.length&&e[S]!==`<`;)t+=e[S++];return/\S/.test(t)&&i.children.push({type:`text`,value:t}),e[S]===`<`?m:p}function m(){var t=e[S];if(t===`?`)return p;if(t===`!`){if(e.slice(S+1,S+3)===`--`)return h;if(e.slice(S+1,S+8)===`[CDATA[`)return g;if(/doctype/i.test(e.slice(S+1,S+8)))return p}if(t===`/`)return _;var r={type:`element`,tagName:ee(),properties:{},children:[]};i?i.children.push(r):a=r;for(var o;S<e.length&&(o=v());)r.properties[o.name]=o.value;var s=!1;return e[S]===`/`&&(S+=1,s=!0),e[S]!==`>`&&d(`Expected >`),s||(i=r,n.push(r)),p}function h(){var t=e.indexOf(`-->`,S);return~t||d(`expected -->`),S=t+2,p}function g(){var t=e.indexOf(`]]>`,S);return~t||d(`expected ]]>`),i.children.push(e.slice(S+7,t)),S=t+2,p}function _(){var t=ee();return t||d(`Expected tag name`),t!==i.tagName&&d(`Expected closing tag </`+t+`> to match opening tag <`+i.tagName+`>`),x(),e[S]!==`>`&&d(`Expected >`),n.pop(),i=n[n.length-1],p}function ee(){for(var t=``;S<e.length&&s.test(e[S]);)t+=e[S++];return t}function v(){if(!c.test(e[S]))return null;x();var t=ee();if(!t)return null;var n=!0;return x(),e[S]===`=`&&(S+=1,x(),n=y(),!isNaN(n)&&n.trim()!==``&&(n=+n)),{name:t,value:n}}function y(){return l.test(e[S])?te():b()}function b(){var t=``;do{var n=e[S];if(n===` `||n===`>`||n===`/`)return t;t+=n,S+=1}while(S<e.length);return t}function te(){for(var t=e[S++],n=``,r=!1;S<e.length;){var i=e[S++];if(i===t&&!r)return n;i===`\\`&&!r&&(r=!0),n+=r?`\\`+i:i,r=!1}}function x(){for(;S<e.length&&c.test(e[S]);)S+=1}for(var S=f.length;S<e.length;)r||d(`Unexpected character`),r=r(),S+=1;return r!==p&&d(`Unexpected end of input`),a.tagName===`svg`&&(a.metadata=t),{type:`root`,children:[a]}}var f=`accentHeight accumulate additive alignmentBaseline allowReorder alphabetic
6
+ amplitude arabicForm ascent attributeName attributeType autoReverse azimuth
7
+ baseFrequency baseProfile baselineShift bbox begin bias by calcMode capHeight
8
+ clip clipPath clipPathUnits clipRule colorInterpolation
9
+ colorInterpolationFilters colorProfile colorRendering contentScriptType
10
+ contentStyleType cursor cx cy d decelerate descent diffuseConstant direction
11
+ display divisor dominantBaseline dur dx dy edgeMode elevation enableBackground
12
+ end exponent externalResourcesRequired fill fillOpacity fillRule filter
13
+ filterRes filterUnits floodColor floodOpacity focusable fontFamily fontSize
14
+ fontSizeAdjust fontStretch fontStyle fontVariant fontWeight format from fx fy
15
+ g1 g2 glyphName glyphOrientationHorizontal glyphOrientationVertical glyphRef
16
+ gradientTransform gradientUnits hanging horizAdvX horizOriginX ideographic
17
+ imageRendering in in2 intercept k k1 k2 k3 k4 kernelMatrix kernelUnitLength
18
+ kerning keyPoints keySplines keyTimes lengthAdjust letterSpacing lightingColor
19
+ limitingConeAngle local markerEnd markerHeight markerMid markerStart
20
+ markerUnits markerWidth mask maskContentUnits maskUnits mathematical mode
21
+ numOctaves offset opacity operator order orient orientation origin overflow
22
+ overlinePosition overlineThickness paintOrder panose1 pathLength
23
+ patternContentUnits patternTransform patternUnits pointerEvents points
24
+ pointsAtX pointsAtY pointsAtZ preserveAlpha preserveAspectRatio primitiveUnits
25
+ r radius refX refY renderingIntent repeatCount repeatDur requiredExtensions
26
+ requiredFeatures restart result rotate rx ry scale seed shapeRendering slope
27
+ spacing specularConstant specularExponent speed spreadMethod startOffset
28
+ stdDeviation stemh stemv stitchTiles stopColor stopOpacity
29
+ strikethroughPosition strikethroughThickness string stroke strokeDasharray
30
+ strokeDashoffset strokeLinecap strokeLinejoin strokeMiterlimit strokeOpacity
31
+ strokeWidth surfaceScale systemLanguage tableValues targetX targetY textAnchor
32
+ textDecoration textLength textRendering to transform u1 u2 underlinePosition
33
+ underlineThickness unicode unicodeBidi unicodeRange unitsPerEm vAlphabetic
34
+ vHanging vIdeographic vMathematical values vectorEffect version vertAdvY
35
+ vertOriginX vertOriginY viewBox viewTarget visibility widths wordSpacing
36
+ writingMode x x1 x2 xChannelSelector xHeight xlinkActuate xlinkArcrole
37
+ xlinkHref xlinkRole xlinkShow xlinkTitle xlinkType xmlns xmlnsXlink xmlBase
38
+ xmlLang xmlSpace y y1 y2 yChannelSelector z zoomAndPan`.split(/([\s\n\r])/),p=`accept acceptCharset accessKey action allowFullScreen allowTransparency alt
39
+ async autoComplete autoFocus autoPlay capture cellPadding cellSpacing charSet
40
+ challenge checked classID className cols colSpan content contentEditable contextMenu
41
+ controls coords crossOrigin data dateTime defer dir disabled download draggable
42
+ encType form formAction formEncType formMethod formNoValidate formTarget frameBorder
43
+ headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode
44
+ keyParams keyType label lang list loop low manifest marginHeight marginWidth max
45
+ maxLength media mediaGroup method min minLength multiple muted name noValidate open
46
+ optimum pattern placeholder poster preload radioGroup readOnly rel required role
47
+ rows rowSpan sandbox scope scoped scrolling seamless selected shape size sizes
48
+ span spellCheck src srcDoc srcSet start step style summary tabIndex target title
49
+ type useMap value width wmode wrap`.split(/([\s\n\r])/).concat(f),m=`circle clipPath defs ellipse g line linearGradient mask path pattern polygon polyline
50
+ radialGradient rect stop svg text tspan use`.split(/([\s\n\r])/),h=/^data-/i,g=function(e){return e.replace(/(?:-|_)([a-z])/g,function(e){return e[1].toUpperCase()})},_=function(e){return h.test(e)?e:g(e)},ee=function(e){return e.replace(/(\w+):(\w)/i,function(e,t,n){return t+n.toUpperCase()})},v=function(e){if(!e)return null;e.class&&(e.className=e.class,delete e.class),Object.keys(e).forEach(function(t){var n=_(t);n!==t&&(e[n]=e[t],delete e[t])});var t=p.reduce(function(t,n){if(n in e){var r=ee(n);t[r]=r===`style`?b(e[n]):e[n]}return t},{}),n=Object.keys(e).filter(function(e){return h.test(e)}).reduce(function(t,n){return t[n]=e[n],t},{});return Object.assign({},t,n)},y=function(e){if(!e)return null;for(var t=0,n=e;t<n.length;t+=1){var r=n[t];if(m.indexOf(r.tagName)===-1)throw`Unsupported tags - cannot process element of type: `+r.tagName;if(r.children&&r.children.length)return y(r.children)}return!0},b=function(e){var t=e.split(/\s*;\s*/g).reduce(function(e,t){var n=t.split(/\s*:\s*/),r=g((n[0]||``).trim());return e[r]=(n[1]||``).trim(),e},{});return JSON.stringify(t)};function te(e){var t=d(e);if(t.children[0].tagName!==`svg`)throw`Passed svg string does not include an <svg> tag as the parent wrapper`;return t.children[0]}function x(e){return e.properties=v(e.properties),y(e.children),e.children=Array.isArray(e.children)?e.children.map(function(e){return x(e)}):e.children,e}function S(e,t){return`<`+e+` `+Object.entries(t).map(function(e){var t=e[0],n=e[1];return t+`="`+n+`"`}).join(` `)+`>`}function ne(e){return`</`+e+`>`}function C(e){return Array.isArray(e)?e.map(function(e){return typeof e==`string`?e:re(e.tagName,e.properties,e.children)}).join(``):e}function re(e,t,n){return S(e,t)+C(n)+ne(e)}function ie(e){var t=x(te(e)),n=t.properties,r=t.children;return re(`svg`,n,r)}var ae=Object.create,oe=Object.getPrototypeOf,se=Object.defineProperty,ce=Object.getOwnPropertyNames,le=Object.prototype.hasOwnProperty,ue=(e,t,n)=>{n=e==null?{}:ae(oe(e));let r=t||!e||!e.__esModule?se(n,`default`,{value:e,enumerable:!0}):n;for(let t of ce(e))le.call(r,t)||se(r,t,{get:()=>e[t],enumerable:!0});return r},de=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),fe=de((e,t)=>{t.exports={quot:`"`,amp:`&`,apos:`'`,lt:`<`,gt:`>`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,Agrave:`À`,Aacute:`Á`,Acirc:`Â`,Atilde:`Ã`,Auml:`Ä`,Aring:`Å`,AElig:`Æ`,Ccedil:`Ç`,Egrave:`È`,Eacute:`É`,Ecirc:`Ê`,Euml:`Ë`,Igrave:`Ì`,Iacute:`Í`,Icirc:`Î`,Iuml:`Ï`,ETH:`Ð`,Ntilde:`Ñ`,Ograve:`Ò`,Oacute:`Ó`,Ocirc:`Ô`,Otilde:`Õ`,Ouml:`Ö`,times:`×`,Oslash:`Ø`,Ugrave:`Ù`,Uacute:`Ú`,Ucirc:`Û`,Uuml:`Ü`,Yacute:`Ý`,THORN:`Þ`,szlig:`ß`,agrave:`à`,aacute:`á`,acirc:`â`,atilde:`ã`,auml:`ä`,aring:`å`,aelig:`æ`,ccedil:`ç`,egrave:`è`,eacute:`é`,ecirc:`ê`,euml:`ë`,igrave:`ì`,iacute:`í`,icirc:`î`,iuml:`ï`,eth:`ð`,ntilde:`ñ`,ograve:`ò`,oacute:`ó`,ocirc:`ô`,otilde:`õ`,ouml:`ö`,divide:`÷`,oslash:`ø`,ugrave:`ù`,uacute:`ú`,ucirc:`û`,uuml:`ü`,yacute:`ý`,thorn:`þ`,yuml:`ÿ`,OElig:`Œ`,oelig:`œ`,Scaron:`Š`,scaron:`š`,Yuml:`Ÿ`,fnof:`ƒ`,circ:`ˆ`,tilde:`˜`,Alpha:`Α`,Beta:`Β`,Gamma:`Γ`,Delta:`Δ`,Epsilon:`Ε`,Zeta:`Ζ`,Eta:`Η`,Theta:`Θ`,Iota:`Ι`,Kappa:`Κ`,Lambda:`Λ`,Mu:`Μ`,Nu:`Ν`,Xi:`Ξ`,Omicron:`Ο`,Pi:`Π`,Rho:`Ρ`,Sigma:`Σ`,Tau:`Τ`,Upsilon:`Υ`,Phi:`Φ`,Chi:`Χ`,Psi:`Ψ`,Omega:`Ω`,alpha:`α`,beta:`β`,gamma:`γ`,delta:`δ`,epsilon:`ε`,zeta:`ζ`,eta:`η`,theta:`θ`,iota:`ι`,kappa:`κ`,lambda:`λ`,mu:`μ`,nu:`ν`,xi:`ξ`,omicron:`ο`,pi:`π`,rho:`ρ`,sigmaf:`ς`,sigma:`σ`,tau:`τ`,upsilon:`υ`,phi:`φ`,chi:`χ`,psi:`ψ`,omega:`ω`,thetasym:`ϑ`,upsih:`ϒ`,piv:`ϖ`,ensp:` `,emsp:` `,thinsp:` `,zwnj:`‌`,zwj:`‍`,lrm:`‎`,rlm:`‏`,ndash:`–`,mdash:`—`,lsquo:`‘`,rsquo:`’`,sbquo:`‚`,ldquo:`“`,rdquo:`”`,bdquo:`„`,dagger:`†`,Dagger:`‡`,bull:`•`,hellip:`…`,permil:`‰`,prime:`′`,Prime:`″`,lsaquo:`‹`,rsaquo:`›`,oline:`‾`,frasl:`⁄`,euro:`€`,image:`ℑ`,weierp:`℘`,real:`ℜ`,trade:`™`,alefsym:`ℵ`,larr:`←`,uarr:`↑`,rarr:`→`,darr:`↓`,harr:`↔`,crarr:`↵`,lArr:`⇐`,uArr:`⇑`,rArr:`⇒`,dArr:`⇓`,hArr:`⇔`,forall:`∀`,part:`∂`,exist:`∃`,empty:`∅`,nabla:`∇`,isin:`∈`,notin:`∉`,ni:`∋`,prod:`∏`,sum:`∑`,minus:`−`,lowast:`∗`,radic:`√`,prop:`∝`,infin:`∞`,ang:`∠`,and:`∧`,or:`∨`,cap:`∩`,cup:`∪`,int:`∫`,there4:`∴`,sim:`∼`,cong:`≅`,asymp:`≈`,ne:`≠`,equiv:`≡`,le:`≤`,ge:`≥`,sub:`⊂`,sup:`⊃`,nsub:`⊄`,sube:`⊆`,supe:`⊇`,oplus:`⊕`,otimes:`⊗`,perp:`⊥`,sdot:`⋅`,lceil:`⌈`,rceil:`⌉`,lfloor:`⌊`,rfloor:`⌋`,lang:`〈`,rang:`〉`,loz:`◊`,spades:`♠`,clubs:`♣`,hearts:`♥`,diams:`♦`}}),pe=de((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?r(e):typeof define==`function`&&define.amd?define([`exports`],r):(n=typeof globalThis<`u`?globalThis:n||self,r(n.acorn={}))})(e,function(e){var t=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239],n=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],r=`‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・`,i=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,a={3:`abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile`,5:`class enum extends super const export import`,6:`enum`,strict:`implements interface let package private protected public static yield`,strictBind:`eval arguments`},o=`break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this`,s={5:o,"5module":o+` export import`,6:o+` const class extends export import super`},c=/^in(stanceof)?$/,l=RegExp(`[`+i+`]`),u=RegExp(`[`+i+r+`]`);function d(e,t){for(var n=65536,r=0;r<t.length;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function f(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&l.test(String.fromCharCode(e)):t!==!1&&d(e,n)}function p(e,r){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&u.test(String.fromCharCode(e)):r===!1?!1:d(e,n)||d(e,t)}var m=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function h(e,t){return new m(e,{beforeExpr:!0,binop:t})}var g={beforeExpr:!0},_={startsExpr:!0},ee={};function v(e,t){return t===void 0&&(t={}),t.keyword=e,ee[e]=new m(e,t)}var y={num:new m(`num`,_),regexp:new m(`regexp`,_),string:new m(`string`,_),name:new m(`name`,_),privateId:new m(`privateId`,_),eof:new m(`eof`),bracketL:new m(`[`,{beforeExpr:!0,startsExpr:!0}),bracketR:new m(`]`),braceL:new m(`{`,{beforeExpr:!0,startsExpr:!0}),braceR:new m(`}`),parenL:new m(`(`,{beforeExpr:!0,startsExpr:!0}),parenR:new m(`)`),comma:new m(`,`,g),semi:new m(`;`,g),colon:new m(`:`,g),dot:new m(`.`),question:new m(`?`,g),questionDot:new m(`?.`),arrow:new m(`=>`,g),template:new m(`template`),invalidTemplate:new m(`invalidTemplate`),ellipsis:new m(`...`,g),backQuote:new m("`",_),dollarBraceL:new m("${",{beforeExpr:!0,startsExpr:!0}),eq:new m(`=`,{beforeExpr:!0,isAssign:!0}),assign:new m(`_=`,{beforeExpr:!0,isAssign:!0}),incDec:new m(`++/--`,{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new m(`!/~`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:h(`||`,1),logicalAND:h(`&&`,2),bitwiseOR:h(`|`,3),bitwiseXOR:h(`^`,4),bitwiseAND:h(`&`,5),equality:h(`==/!=/===/!==`,6),relational:h(`</>/<=/>=`,7),bitShift:h(`<</>>/>>>`,8),plusMin:new m(`+/-`,{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:h(`%`,10),star:h(`*`,10),slash:h(`/`,10),starstar:new m(`**`,{beforeExpr:!0}),coalesce:h(`??`,1),_break:v(`break`),_case:v(`case`,g),_catch:v(`catch`),_continue:v(`continue`),_debugger:v(`debugger`),_default:v(`default`,g),_do:v(`do`,{isLoop:!0,beforeExpr:!0}),_else:v(`else`,g),_finally:v(`finally`),_for:v(`for`,{isLoop:!0}),_function:v(`function`,_),_if:v(`if`),_return:v(`return`,g),_switch:v(`switch`),_throw:v(`throw`,g),_try:v(`try`),_var:v(`var`),_const:v(`const`),_while:v(`while`,{isLoop:!0}),_with:v(`with`),_new:v(`new`,{beforeExpr:!0,startsExpr:!0}),_this:v(`this`,_),_super:v(`super`,_),_class:v(`class`,_),_extends:v(`extends`,g),_export:v(`export`),_import:v(`import`,_),_null:v(`null`,_),_true:v(`true`,_),_false:v(`false`,_),_in:v(`in`,{beforeExpr:!0,binop:7}),_instanceof:v(`instanceof`,{beforeExpr:!0,binop:7}),_typeof:v(`typeof`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v(`void`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v(`delete`,{beforeExpr:!0,prefix:!0,startsExpr:!0})},b=/\r\n?|\n|\u2028|\u2029/,te=new RegExp(b.source,`g`);function x(e){return e===10||e===13||e===8232||e===8233}function S(e,t,n){n===void 0&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(x(i))return r<n-1&&i===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var ne=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,C=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,re=Object.prototype,ie=re.hasOwnProperty,ae=re.toString,oe=Object.hasOwn||function(e,t){return ie.call(e,t)},se=Array.isArray||function(e){return ae.call(e)===`[object Array]`},ce=Object.create(null);function le(e){return ce[e]||(ce[e]=RegExp(`^(?:`+e.replace(/ /g,`|`)+`)$`))}function ue(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var de=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,fe=function(e,t){this.line=e,this.column=t};fe.prototype.offset=function(e){return new fe(this.line,this.column+e)};var pe=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)};function me(e,t){for(var n=1,r=0;;){var i=S(e,r,t);if(i<0)return new fe(n,t-r);++n,r=i}}var he={ecmaVersion:null,sourceType:`script`,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ge=!1;function _e(e){var t={};for(var n in he)t[n]=e&&oe(e,n)?e[n]:he[n];if(t.ecmaVersion===`latest`?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ge&&typeof console==`object`&&console.warn&&(ge=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
51
+ Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved??=t.ecmaVersion<5,(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),se(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return se(t.onComment)&&(t.onComment=ve(t,t.onComment)),t}function ve(e,t){return function(n,r,i,a,o,s){var c={type:n?`Block`:`Line`,value:r,start:i,end:a};e.locations&&(c.loc=new pe(this,o,s)),e.ranges&&(c.range=[i,a]),t.push(c)}}var ye=1,be=2,xe=4,Se=8,Ce=16,we=32,Te=64,Ee=128,De=256,w=ye|be|De;function T(e,t){return be|(e?xe:0)|(t?Se:0)}var E=0,D=1,Oe=2,O=3,k=4,A=5,j=function(e,t,n){this.options=e=_e(e),this.sourceFile=e.sourceFile,this.keywords=le(s[e.ecmaVersion>=6?6:e.sourceType===`module`?`5module`:5]);var r=``;e.allowReserved!==!0&&(r=a[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3],e.sourceType===`module`&&(r+=` await`)),this.reservedWords=le(r);var i=(r?r+` `:``)+a.strict;this.reservedWordsStrict=le(i),this.reservedWordsStrictBind=le(i+` `+a.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
52
+ `,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(b).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType===`module`,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&e.allowHashBang&&this.input.slice(0,2)===`#!`&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(ye),this.regexpState=null,this.privateNameStack=[]},M={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};j.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},M.inFunction.get=function(){return(this.currentVarScope().flags&be)>0},M.inGenerator.get=function(){return(this.currentVarScope().flags&Se)>0&&!this.currentVarScope().inClassFieldInit},M.inAsync.get=function(){return(this.currentVarScope().flags&xe)>0&&!this.currentVarScope().inClassFieldInit},M.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&De)return!1;if(t.flags&be)return(t.flags&xe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},M.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(t&Te)>0||n||this.options.allowSuperOutsideMethod},M.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ee)>0},M.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},M.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(t&(be|De))>0||n},M.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&De)>0},j.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},j.parse=function(e,t){return new this(t,e).parse()},j.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},j.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(j.prototype,M);var N=j.prototype,ke=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;N.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){C.lastIndex=e,e+=C.exec(this.input)[0].length;var t=ke.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])===`use strict`){C.lastIndex=e+t[0].length;var n=C.exec(this.input),r=n.index+n[0].length,i=this.input.charAt(r);return i===`;`||i===`}`||b.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i===`!`&&this.input.charAt(r+1)===`=`)}e+=t[0].length,C.lastIndex=e,e+=C.exec(this.input)[0].length,this.input[e]===`;`&&e++}},N.eat=function(e){return this.type===e&&(this.next(),!0)},N.isContextual=function(e){return this.type===y.name&&this.value===e&&!this.containsEsc},N.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},N.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},N.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||b.test(this.input.slice(this.lastTokEnd,this.start))},N.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},N.semicolon=function(){!this.eat(y.semi)&&!this.insertSemicolon()&&this.unexpected()},N.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},N.expect=function(e){this.eat(e)||this.unexpected()},N.unexpected=function(e){this.raise(e??this.start,`Unexpected token`)};var P=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};N.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,`Comma is not permitted after the rest element`);var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,t?`Assigning to rvalue`:`Parenthesized pattern`)}},N.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,`Shorthand property assignments are valid only in destructuring patterns`),r>=0&&this.raiseRecoverable(r,`Redefinition of __proto__ property`)},N.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,`Yield expression cannot be a default value`),this.awaitPos&&this.raise(this.awaitPos,`Await expression cannot be a default value`)},N.isSimpleAssignTarget=function(e){return e.type===`ParenthesizedExpression`?this.isSimpleAssignTarget(e.expression):e.type===`Identifier`||e.type===`MemberExpression`};var F=j.prototype;F.parseTopLevel=function(e){var t=Object.create(null);for(e.body||=[];this.type!==y.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var a=i[r];this.raiseRecoverable(this.undefinedExports[a].start,`Export '`+a+`' is not defined`)}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,`Program`)};var Ae={kind:`loop`},je={kind:`switch`};F.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual(`let`))return!1;C.lastIndex=this.pos;var t=C.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(r===91||r===92)return!0;if(e)return!1;if(r===123||r>55295&&r<56320)return!0;if(f(r,!0)){for(var i=n+1;p(r=this.input.charCodeAt(i),!0);)++i;if(r===92||r>55295&&r<56320)return!0;var a=this.input.slice(n,i);if(!c.test(a))return!0}return!1},F.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual(`async`))return!1;C.lastIndex=this.pos;var e=C.exec(this.input),t=this.pos+e[0].length,n;return!b.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)===`function`&&(t+8===this.input.length||!(p(n=this.input.charCodeAt(t+8))||n>55295&&n<56320))},F.parseStatement=function(e,t,n){var r=this.type,i=this.startNode(),a;switch(this.isLet(e)&&(r=y._var,a=`let`),r){case y._break:case y._continue:return this.parseBreakContinueStatement(i,r.keyword);case y._debugger:return this.parseDebuggerStatement(i);case y._do:return this.parseDoStatement(i);case y._for:return this.parseForStatement(i);case y._function:return e&&(this.strict||e!==`if`&&e!==`label`)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case y._class:return e&&this.unexpected(),this.parseClass(i,!0);case y._if:return this.parseIfStatement(i);case y._return:return this.parseReturnStatement(i);case y._switch:return this.parseSwitchStatement(i);case y._throw:return this.parseThrowStatement(i);case y._try:return this.parseTryStatement(i);case y._const:case y._var:return a||=this.value,e&&a!==`var`&&this.unexpected(),this.parseVarStatement(i,a);case y._while:return this.parseWhileStatement(i);case y._with:return this.parseWithStatement(i);case y.braceL:return this.parseBlock(!0,i);case y.semi:return this.parseEmptyStatement(i);case y._export:case y._import:if(this.options.ecmaVersion>10&&r===y._import){C.lastIndex=this.pos;var o=C.exec(this.input),s=this.pos+o[0].length,c=this.input.charCodeAt(s);if(c===40||c===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,`'import' and 'export' may only appear at the top level`),this.inModule||this.raise(this.start,`'import' and 'export' may appear only with 'sourceType: module'`)),r===y._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var l=this.value,u=this.parseExpression();return r===y.name&&u.type===`Identifier`&&this.eat(y.colon)?this.parseLabeledStatement(i,l,u,e):this.parseExpressionStatement(i,u)}},F.parseBreakContinueStatement=function(e,t){var n=t===`break`;this.next(),this.eat(y.semi)||this.insertSemicolon()?e.label=null:this.type===y.name?(e.label=this.parseIdent(),this.semicolon()):this.unexpected();for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(n||i.kind===`loop`)||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,`Unsyntactic `+t),this.finishNode(e,n?`BreakStatement`:`ContinueStatement`)},F.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,`DebuggerStatement`)},F.parseDoStatement=function(e){return this.next(),this.labels.push(Ae),e.body=this.parseStatement(`do`),this.labels.pop(),this.expect(y._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(e,`DoWhileStatement`)},F.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual(`await`)?this.lastTokStart:-1;if(this.labels.push(Ae),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===y._var||this.type===y._const||n){var r=this.startNode(),i=n?`let`:this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,`VariableDeclaration`),(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual(`of`))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===y._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var a=this.isContextual(`let`),o=!1,s=this.containsEsc,c=new P,l=this.start,u=t>-1?this.parseExprSubscripts(c,`await`):this.parseExpression(!0,c);return this.type===y._in||(o=this.options.ecmaVersion>=6&&this.isContextual(`of`))?(t>-1?(this.type===y._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(u.start===l&&!s&&u.type===`Identifier`&&u.name===`async`?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&o&&this.raise(u.start,`The left-hand side of a for-of loop may not start with 'let'.`),this.toAssignable(u,!1,c),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(c,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},F.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,Ne|(n?0:Pe),!1,t)},F.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(`if`),e.alternate=this.eat(y._else)?this.parseStatement(`if`):null,this.finishNode(e,`IfStatement`)},F.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,`'return' outside of function`),this.next(),this.eat(y.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,`ReturnStatement`)},F.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(y.braceL),this.labels.push(je),this.enterScope(0);for(var t,n=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var r=this.type===y._case;t&&this.finishNode(t,`SwitchCase`),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,`Multiple default clauses`),n=!0,t.test=null),this.expect(y.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,`SwitchCase`),this.next(),this.labels.pop(),this.finishNode(e,`SwitchStatement`)},F.parseThrowStatement=function(e){return this.next(),b.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,`Illegal newline after throw`),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,`ThrowStatement`)};var Me=[];F.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type===`Identifier`;return this.enterScope(t?we:0),this.checkLValPattern(e,t?k:Oe),this.expect(y.parenR),e},F.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===y._catch){var t=this.startNode();this.next(),this.eat(y.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,`CatchClause`)}return e.finalizer=this.eat(y._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,`Missing catch or finally clause`),this.finishNode(e,`TryStatement`)},F.parseVarStatement=function(e,t,n){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,`VariableDeclaration`)},F.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ae),e.body=this.parseStatement(`while`),this.labels.pop(),this.finishNode(e,`WhileStatement`)},F.parseWithStatement=function(e){return this.strict&&this.raise(this.start,`'with' in strict mode`),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(`with`),this.finishNode(e,`WithStatement`)},F.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,`EmptyStatement`)},F.parseLabeledStatement=function(e,t,n,r){for(var i=0,a=this.labels;i<a.length;i+=1)a[i].name===t&&this.raise(n.start,`Label '`+t+`' is already declared`);for(var o=this.type.isLoop?`loop`:this.type===y._switch?`switch`:null,s=this.labels.length-1;s>=0;s--){var c=this.labels[s];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf(`label`)===-1?r+`label`:r:`label`),this.labels.pop(),e.label=n,this.finishNode(e,`LabeledStatement`)},F.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,`ExpressionStatement`)},F.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(y.braceL),e&&this.enterScope(0);this.type!==y.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,`BlockStatement`)},F.parseFor=function(e,t){return e.init=t,this.expect(y.semi),e.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),e.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),e.body=this.parseStatement(`for`),this.exitScope(),this.labels.pop(),this.finishNode(e,`ForStatement`)},F.parseForIn=function(e,t){var n=this.type===y._in;return this.next(),t.type===`VariableDeclaration`&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!==`var`||t.declarations[0].id.type!==`Identifier`)&&this.raise(t.start,(n?`for-in`:`for-of`)+` loop variable declaration may not have an initializer`),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),e.body=this.parseStatement(`for`),this.exitScope(),this.labels.pop(),this.finishNode(e,n?`ForInStatement`:`ForOfStatement`)},F.parseVar=function(e,t,n,r){for(e.declarations=[],e.kind=n;;){var i=this.startNode();if(this.parseVarId(i,n),this.eat(y.eq)?i.init=this.parseMaybeAssign(t):!r&&n===`const`&&!(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual(`of`))?this.unexpected():!r&&i.id.type!==`Identifier`&&(!t||this.type!==y._in&&!this.isContextual(`of`))?this.raise(this.lastTokEnd,`Complex binding patterns require an initialization value`):i.init=null,e.declarations.push(this.finishNode(i,`VariableDeclarator`)),!this.eat(y.comma))break}return e},F.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t===`var`?D:Oe,!1)};var Ne=1,Pe=2,Fe=4;F.parseFunction=function(e,t,n,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===y.star&&t&Pe&&this.unexpected(),e.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&Ne&&(e.id=t&Fe&&this.type!==y.name?null:this.parseIdent(),e.id&&!(t&Pe)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?D:Oe:O));var a=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(T(e.async,e.generator)),t&Ne||(e.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,i),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&Ne?`FunctionDeclaration`:`FunctionExpression`)},F.parseFunctionParams=function(e){this.expect(y.parenL),e.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},F.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),i=this.startNode(),a=!1;for(i.body=[],this.expect(y.braceL);this.type!==y.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(i.body.push(o),o.type===`MethodDefinition`&&o.kind===`constructor`?(a&&this.raiseRecoverable(o.start,`Duplicate constructor in the same class`),a=!0):o.key&&o.key.type===`PrivateIdentifier`&&Ie(r,o)&&this.raiseRecoverable(o.key.start,`Identifier '#`+o.key.name+`' has already been declared`))}return this.strict=n,this.next(),e.body=this.finishNode(i,`ClassBody`),this.exitClassBody(),this.finishNode(e,t?`ClassDeclaration`:`ClassExpression`)},F.parseClassElement=function(e){if(this.eat(y.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r=``,i=!1,a=!1,o=`method`,s=!1;if(this.eatContextual(`static`)){if(t>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===y.star?s=!0:r=`static`}if(n.static=s,!r&&t>=8&&this.eatContextual(`async`)&&((this.isClassElementNameStart()||this.type===y.star)&&!this.canInsertSemicolon()?a=!0:r=`async`),!r&&(t>=9||!a)&&this.eat(y.star)&&(i=!0),!r&&!a&&!i){var c=this.value;(this.eatContextual(`get`)||this.eatContextual(`set`))&&(this.isClassElementNameStart()?o=c:r=c)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,`Identifier`)):this.parseClassElementName(n),t<13||this.type===y.parenL||o!==`method`||i||a){var l=!n.static&&Le(n,`constructor`),u=l&&e;l&&o!==`method`&&this.raise(n.key.start,`Constructor can't have get/set modifier`),n.kind=l?`constructor`:o,this.parseClassMethod(n,i,a,u)}else this.parseClassField(n);return n},F.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword},F.parseClassElementName=function(e){this.type===y.privateId?(this.value===`constructor`&&this.raise(this.start,`Classes can't have an element named '#constructor'`),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},F.parseClassMethod=function(e,t,n,r){var i=e.key;e.kind===`constructor`?(t&&this.raise(i.start,`Constructor can't be a generator`),n&&this.raise(i.start,`Constructor can't be an async method`)):e.static&&Le(e,`prototype`)&&this.raise(i.start,`Classes may not have a static property named prototype`);var a=e.value=this.parseMethod(t,n,r);return e.kind===`get`&&a.params.length!==0&&this.raiseRecoverable(a.start,`getter should have no params`),e.kind===`set`&&a.params.length!==1&&this.raiseRecoverable(a.start,`setter should have exactly one param`),e.kind===`set`&&a.params[0].type===`RestElement`&&this.raiseRecoverable(a.params[0].start,`Setter cannot use rest params`),this.finishNode(e,`MethodDefinition`)},F.parseClassField=function(e){if(Le(e,`constructor`)?this.raise(e.key.start,`Classes can't have a field named 'constructor'`):e.static&&Le(e,`prototype`)&&this.raise(e.key.start,`Classes can't have a static field named 'prototype'`),this.eat(y.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,`PropertyDefinition`)},F.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(De|Te);this.type!==y.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,`StaticBlock`)},F.parseClassId=function(e,t){this.type===y.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,Oe,!1)):(t===!0&&this.unexpected(),e.id=null)},F.parseClassSuper=function(e){e.superClass=this.eat(y._extends)?this.parseExprSubscripts(null,!1):null},F.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},F.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,n=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,i=r===0?null:this.privateNameStack[r-1],a=0;a<n.length;++a){var o=n[a];oe(t,o.name)||(i?i.used.push(o):this.raiseRecoverable(o.start,`Private field '#`+o.name+`' must be declared in an enclosing class`))}};function Ie(e,t){var n=t.key.name,r=e[n],i=`true`;return t.type===`MethodDefinition`&&(t.kind===`get`||t.kind===`set`)&&(i=(t.static?`s`:`i`)+t.kind),r===`iget`&&i===`iset`||r===`iset`&&i===`iget`||r===`sget`&&i===`sset`||r===`sset`&&i===`sget`?(e[n]=`true`,!1):r?!0:(e[n]=i,!1)}function Le(e,t){var n=e.computed,r=e.key;return!n&&(r.type===`Identifier`&&r.name===t||r.type===`Literal`&&r.value===t)}F.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual(`as`)?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual(`from`),this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,`ExportAllDeclaration`)},F.parseExport=function(e,t){if(this.next(),this.eat(y.star))return this.parseExportAllDeclaration(e,t);if(this.eat(y._default))return this.checkExport(t,`default`,this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,`ExportDefaultDeclaration`);if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type===`VariableDeclaration`?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual(`from`))this.type!==y.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var n=0,r=e.specifiers;n<r.length;n+=1){var i=r[n];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type===`Literal`&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,`ExportNamedDeclaration`)},F.parseExportDeclaration=function(e){return this.parseStatement(null)},F.parseExportDefaultDeclaration=function(){var e;if(this.type===y._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Ne|Fe,!1,e)}if(this.type===y._class){var n=this.startNode();return this.parseClass(n,`nullableID`)}var r=this.parseMaybeAssign();return this.semicolon(),r},F.checkExport=function(e,t,n){e&&(typeof t!=`string`&&(t=t.type===`Identifier`?t.name:t.value),oe(e,t)&&this.raiseRecoverable(n,`Duplicate export '`+t+`'`),e[t]=!0)},F.checkPatternExport=function(e,t){var n=t.type;if(n===`Identifier`)this.checkExport(e,t,t.start);else if(n===`ObjectPattern`)for(var r=0,i=t.properties;r<i.length;r+=1){var a=i[r];this.checkPatternExport(e,a)}else if(n===`ArrayPattern`)for(var o=0,s=t.elements;o<s.length;o+=1){var c=s[o];c&&this.checkPatternExport(e,c)}else n===`Property`?this.checkPatternExport(e,t.value):n===`AssignmentPattern`?this.checkPatternExport(e,t.left):n===`RestElement`&&this.checkPatternExport(e,t.argument)},F.checkVariableExport=function(e,t){if(e)for(var n=0,r=t;n<r.length;n+=1){var i=r[n];this.checkPatternExport(e,i.id)}},F.shouldParseExportStatement=function(){return this.type.keyword===`var`||this.type.keyword===`const`||this.type.keyword===`class`||this.type.keyword===`function`||this.isLet()||this.isAsyncFunction()},F.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual(`as`)?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,`ExportSpecifier`)},F.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(n)n=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;t.push(this.parseExportSpecifier(e))}return t},F.parseImport=function(e){return this.next(),this.type===y.string?(e.specifiers=Me,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual(`from`),e.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,`ImportDeclaration`)},F.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual(`as`)?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,Oe),this.finishNode(e,`ImportSpecifier`)},F.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,Oe),this.finishNode(e,`ImportDefaultSpecifier`)},F.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual(`as`),e.local=this.parseIdent(),this.checkLValSimple(e.local,Oe),this.finishNode(e,`ImportNamespaceSpecifier`)},F.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===y.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(y.comma)))return e;if(this.type===y.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(y.braceL);!this.eat(y.braceR);){if(t)t=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;e.push(this.parseImportSpecifier())}return e},F.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var e=this.parseLiteral(this.value);return de.test(e.value)&&this.raise(e.start,`An export name cannot include a lone surrogate.`),e}return this.parseIdent(!0)},F.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},F.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type===`ExpressionStatement`&&e.expression.type===`Literal`&&typeof e.expression.value==`string`&&(this.input[e.start]===`"`||this.input[e.start]===`'`)};var I=j.prototype;I.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case`Identifier`:this.inAsync&&e.name===`await`&&this.raise(e.start,`Cannot use 'await' as identifier inside an async function`);break;case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:break;case`ObjectExpression`:e.type=`ObjectPattern`,n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];this.toAssignable(a,t),a.type===`RestElement`&&(a.argument.type===`ArrayPattern`||a.argument.type===`ObjectPattern`)&&this.raise(a.argument.start,`Unexpected token`)}break;case`Property`:e.kind!==`init`&&this.raise(e.key.start,`Object pattern can't contain getter or setter`),this.toAssignable(e.value,t);break;case`ArrayExpression`:e.type=`ArrayPattern`,n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case`SpreadElement`:e.type=`RestElement`,this.toAssignable(e.argument,t),e.argument.type===`AssignmentPattern`&&this.raise(e.argument.start,`Rest elements cannot have a default value`);break;case`AssignmentExpression`:e.operator!==`=`&&this.raise(e.left.end,`Only '=' operator can be used for specifying default value.`),e.type=`AssignmentPattern`,delete e.operator,this.toAssignable(e.left,t);break;case`ParenthesizedExpression`:this.toAssignable(e.expression,t,n);break;case`ChainExpression`:this.raiseRecoverable(e.start,`Optional chaining cannot appear in left-hand side`);break;case`MemberExpression`:if(!t)break;default:this.raise(e.start,`Assigning to rvalue`)}else n&&this.checkPatternErrors(n,!0);return e},I.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var i=e[r];i&&this.toAssignable(i,t)}if(n){var a=e[n-1];this.options.ecmaVersion===6&&t&&a&&a.type===`RestElement`&&a.argument.type!==`Identifier`&&this.unexpected(a.argument.start)}return e},I.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,`SpreadElement`)},I.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==y.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,`RestElement`)},I.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case y.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(y.bracketR,!0,!0),this.finishNode(e,`ArrayPattern`);case y.braceL:return this.parseObj(!0)}return this.parseIdent()},I.parseBindingList=function(e,t,n,r){for(var i=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(y.comma),t&&this.type===y.comma)i.push(null);else if(n&&this.afterTrailingComma(e))break;else if(this.type===y.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),i.push(o),this.type===y.comma&&this.raiseRecoverable(this.start,`Comma is not permitted after the rest element`),this.expect(e);break}else i.push(this.parseAssignableListItem(r));return i},I.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},I.parseBindingListItem=function(e){return e},I.parseMaybeDefault=function(e,t,n){if(n||=this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(y.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,`AssignmentPattern`)},I.checkLValSimple=function(e,t,n){t===void 0&&(t=E);var r=t!==E;switch(e.type){case`Identifier`:this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?`Binding `:`Assigning to `)+e.name+` in strict mode`),r&&(t===Oe&&e.name===`let`&&this.raiseRecoverable(e.start,`let is disallowed as a lexically bound name`),n&&(oe(n,e.name)&&this.raiseRecoverable(e.start,`Argument name clash`),n[e.name]=!0),t!==A&&this.declareName(e.name,t,e.start));break;case`ChainExpression`:this.raiseRecoverable(e.start,`Optional chaining cannot appear in left-hand side`);break;case`MemberExpression`:r&&this.raiseRecoverable(e.start,`Binding member expression`);break;case`ParenthesizedExpression`:return r&&this.raiseRecoverable(e.start,`Binding parenthesized expression`),this.checkLValSimple(e.expression,t,n);default:this.raise(e.start,(r?`Binding`:`Assigning to`)+` rvalue`)}},I.checkLValPattern=function(e,t,n){switch(t===void 0&&(t=E),e.type){case`ObjectPattern`:for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];this.checkLValInnerPattern(a,t,n)}break;case`ArrayPattern`:for(var o=0,s=e.elements;o<s.length;o+=1){var c=s[o];c&&this.checkLValInnerPattern(c,t,n)}break;default:this.checkLValSimple(e,t,n)}},I.checkLValInnerPattern=function(e,t,n){switch(t===void 0&&(t=E),e.type){case`Property`:this.checkLValInnerPattern(e.value,t,n);break;case`AssignmentPattern`:this.checkLValPattern(e.left,t,n);break;case`RestElement`:this.checkLValPattern(e.argument,t,n);break;default:this.checkLValPattern(e,t,n)}};var L=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},R={b_stat:new L(`{`,!1),b_expr:new L(`{`,!0),b_tmpl:new L("${",!1),p_stat:new L(`(`,!1),p_expr:new L(`(`,!0),q_tmpl:new L("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new L(`function`,!1),f_expr:new L(`function`,!0),f_expr_gen:new L(`function`,!0,!1,null,!0),f_gen:new L(`function`,!1,!1,null,!0)},Re=j.prototype;Re.initialContext=function(){return[R.b_stat]},Re.curContext=function(){return this.context[this.context.length-1]},Re.braceIsBlock=function(e){var t=this.curContext();return t===R.f_expr||t===R.f_stat?!0:e===y.colon&&(t===R.b_stat||t===R.b_expr)?!t.isExpr:e===y._return||e===y.name&&this.exprAllowed?b.test(this.input.slice(this.lastTokEnd,this.start)):e===y._else||e===y.semi||e===y.eof||e===y.parenR||e===y.arrow?!0:e===y.braceL?t===R.b_stat:e===y._var||e===y._const||e===y.name?!1:!this.exprAllowed},Re.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token===`function`)return t.generator}return!1},Re.updateContext=function(e){var t,n=this.type;n.keyword&&e===y.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},Re.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},y.parenR.updateContext=y.braceR.updateContext=function(){if(this.context.length===1)this.exprAllowed=!0;else{var e=this.context.pop();e===R.b_stat&&this.curContext().token===`function`&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}},y.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?R.b_stat:R.b_expr),this.exprAllowed=!0},y.dollarBraceL.updateContext=function(){this.context.push(R.b_tmpl),this.exprAllowed=!0},y.parenL.updateContext=function(e){var t=e===y._if||e===y._for||e===y._with||e===y._while;this.context.push(t?R.p_stat:R.p_expr),this.exprAllowed=!0},y.incDec.updateContext=function(){},y._function.updateContext=y._class.updateContext=function(e){e.beforeExpr&&e!==y._else&&(e!==y.semi||this.curContext()===R.p_stat)&&!(e===y._return&&b.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==y.colon&&e!==y.braceL||this.curContext()!==R.b_stat)?this.context.push(R.f_expr):this.context.push(R.f_stat),this.exprAllowed=!1},y.colon.updateContext=function(){this.curContext().token===`function`&&this.context.pop(),this.exprAllowed=!0},y.backQuote.updateContext=function(){this.curContext()===R.q_tmpl?this.context.pop():this.context.push(R.q_tmpl),this.exprAllowed=!1},y.star.updateContext=function(e){if(e===y._function){var t=this.context.length-1;this.context[t]===R.f_expr?this.context[t]=R.f_expr_gen:this.context[t]=R.f_gen}this.exprAllowed=!0},y.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==y.dot&&(this.value===`of`&&!this.exprAllowed||this.value===`yield`&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var z=j.prototype;z.checkPropClash=function(e,t,n){if(!(this.options.ecmaVersion>=9&&e.type===`SpreadElement`)&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,i;switch(r.type){case`Identifier`:i=r.name;break;case`Literal`:i=String(r.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)i===`__proto__`&&a===`init`&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=r.start):this.raiseRecoverable(r.start,`Redefinition of __proto__ property`)),t.proto=!0);else{i=`$`+i;var o=t[i];o?(a===`init`?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(r.start,`Redefinition of property`):o=t[i]={init:!1,get:!1,set:!1},o[a]=!0}}},z.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===y.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(y.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,`SequenceExpression`)}return i},z.parseMaybeAssign=function(e,t,n){if(this.isContextual(`yield`)){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,i=-1,a=-1,o=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new P,r=!0);var s=this.start,c=this.startLoc;(this.type===y.parenL||this.type===y.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e===`await`);var l=this.parseMaybeConditional(e,t);if(n&&(l=n.call(this,l,s,c)),this.type.isAssign){var u=this.startNodeAt(s,c);return u.operator=this.value,this.type===y.eq&&(l=this.toAssignable(l,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===y.eq?this.checkLValPattern(l):this.checkLValSimple(l),u.left=l,this.next(),u.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(u,`AssignmentExpression`)}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),l},z.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(y.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(y.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,`ConditionalExpression`)}return i},z.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===n&&i.type===`ArrowFunctionExpression`?i:this.parseExprOp(i,n,r,-1,e)},z.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==y._in)&&a>r){var o=this.type===y.logicalOR||this.type===y.logicalAND,s=this.type===y.coalesce;s&&(a=y.logicalAND.binop);var c=this.value;this.next();var l=this.start,u=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),l,u,a,i),f=this.buildBinary(t,n,e,d,c,o||s);return(o&&this.type===y.coalesce||s&&(this.type===y.logicalOR||this.type===y.logicalAND))&&this.raiseRecoverable(this.start,`Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses`),this.parseExprOp(f,t,n,r,i)}return e},z.buildBinary=function(e,t,n,r,i,a){r.type===`PrivateIdentifier`&&this.raise(r.start,`Private identifier can only be left side of binary expression`);var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?`LogicalExpression`:`BinaryExpression`)},z.parseMaybeUnary=function(e,t,n,r){var i=this.start,a=this.startLoc,o;if(this.isContextual(`await`)&&this.canAwait)o=this.parseAwait(r),t=!0;else if(this.type.prefix){var s=this.startNode(),c=this.type===y.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0,c,r),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(s.argument):this.strict&&s.operator===`delete`&&ze(s.argument)?this.raiseRecoverable(s.start,`Deleting local variable in strict mode`):s.operator===`delete`&&Be(s.argument)?this.raiseRecoverable(s.start,`Private fields can not be deleted`):t=!0,o=this.finishNode(s,c?`UpdateExpression`:`UnaryExpression`)}else if(!t&&this.type===y.privateId)(r||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==y._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(i,a);l.operator=this.value,l.prefix=!1,l.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(l,`UpdateExpression`)}}if(!n&&this.eat(y.starstar)){if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,a,o,this.parseMaybeUnary(null,!1,!1,r),`**`,!1)}else return o};function ze(e){return e.type===`Identifier`||e.type===`ParenthesizedExpression`&&ze(e.expression)}function Be(e){return e.type===`MemberExpression`&&e.property.type===`PrivateIdentifier`||e.type===`ChainExpression`&&Be(e.expression)||e.type===`ParenthesizedExpression`&&Be(e.expression)}z.parseExprSubscripts=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprAtom(e,t);if(i.type===`ArrowFunctionExpression`&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==`)`)return i;var a=this.parseSubscripts(i,n,r,!1,t);return e&&a.type===`MemberExpression`&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},z.parseSubscripts=function(e,t,n,r,i){for(var a=this.options.ecmaVersion>=8&&e.type===`Identifier`&&e.name===`async`&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var s=this.parseSubscript(e,t,n,r,a,o,i);if(s.optional&&(o=!0),s===e||s.type===`ArrowFunctionExpression`){if(o){var c=this.startNodeAt(t,n);c.expression=s,s=this.finishNode(c,`ChainExpression`)}return s}e=s}},z.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(y.arrow)},z.parseSubscriptAsyncArrow=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!0,r)},z.parseSubscript=function(e,t,n,r,i,a,o){var s=this.options.ecmaVersion>=11,c=s&&this.eat(y.questionDot);r&&c&&this.raise(this.lastTokStart,`Optional chaining cannot appear in the callee of new expressions`);var l=this.eat(y.bracketL);if(l||c&&this.type!==y.parenL&&this.type!==y.backQuote||this.eat(y.dot)){var u=this.startNodeAt(t,n);u.object=e,l?(u.property=this.parseExpression(),this.expect(y.bracketR)):u.property=this.type===y.privateId&&e.type!==`Super`?this.parsePrivateIdent():this.parseIdent(this.options.allowReserved!==`never`),u.computed=!!l,s&&(u.optional=c),e=this.finishNode(u,`MemberExpression`)}else if(!r&&this.eat(y.parenL)){var d=new P,f=this.yieldPos,p=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var h=this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1,d);if(i&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,`Cannot use 'await' as identifier inside an async function`),this.yieldPos=f,this.awaitPos=p,this.awaitIdentPos=m,this.parseSubscriptAsyncArrow(t,n,h,o);this.checkExpressionErrors(d,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=p||this.awaitPos,this.awaitIdentPos=m||this.awaitIdentPos;var g=this.startNodeAt(t,n);g.callee=e,g.arguments=h,s&&(g.optional=c),e=this.finishNode(g,`CallExpression`)}else if(this.type===y.backQuote){(c||a)&&this.raise(this.start,`Optional chaining cannot appear in the tag of tagged template expressions`);var _=this.startNodeAt(t,n);_.tag=e,_.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(_,`TaggedTemplateExpression`)}return e},z.parseExprAtom=function(e,t,n){this.type===y.slash&&this.readRegexp();var r,i=this.potentialArrowAt===this.start;switch(this.type){case y._super:return this.allowSuper||this.raise(this.start,`'super' keyword outside a method`),r=this.startNode(),this.next(),this.type===y.parenL&&!this.allowDirectSuper&&this.raise(r.start,`super() call outside constructor of a subclass`),this.type!==y.dot&&this.type!==y.bracketL&&this.type!==y.parenL&&this.unexpected(),this.finishNode(r,`Super`);case y._this:return r=this.startNode(),this.next(),this.finishNode(r,`ThisExpression`);case y.name:var a=this.start,o=this.startLoc,s=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&c.name===`async`&&!this.canInsertSemicolon()&&this.eat(y._function))return this.overrideContext(R.f_expr),this.parseFunction(this.startNodeAt(a,o),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(y.arrow))return this.parseArrowExpression(this.startNodeAt(a,o),[c],!1,t);if(this.options.ecmaVersion>=8&&c.name===`async`&&this.type===y.name&&!s&&(!this.potentialArrowInForAwait||this.value!==`of`||this.containsEsc))return c=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(y.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,o),[c],!0,t)}return c;case y.regexp:var l=this.value;return r=this.parseLiteral(l.value),r.regex={pattern:l.pattern,flags:l.flags},r;case y.num:case y.string:return this.parseLiteral(this.value);case y._null:case y._true:case y._false:return r=this.startNode(),r.value=this.type===y._null?null:this.type===y._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,`Literal`);case y.parenL:var u=this.start,d=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(d)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),d;case y.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(y.bracketR,!0,!0,e),this.finishNode(r,`ArrayExpression`);case y.braceL:return this.overrideContext(R.b_expr),this.parseObj(!1,e);case y._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case y._class:return this.parseClass(this.startNode(),!1);case y._new:return this.parseNew();case y.backQuote:return this.parseTemplate();case y._import:return this.options.ecmaVersion>=11?this.parseExprImport(n):this.unexpected();default:return this.parseExprAtomDefault()}},z.parseExprAtomDefault=function(){this.unexpected()},z.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword import`),this.next(),this.type===y.parenL&&!e)return this.parseDynamicImport(t);if(this.type===y.dot){var n=this.startNodeAt(t.start,t.loc&&t.loc.start);return n.name=`import`,t.meta=this.finishNode(n,`Identifier`),this.parseImportMeta(t)}this.unexpected()},z.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(y.parenR)){var t=this.start;this.eat(y.comma)&&this.eat(y.parenR)?this.raiseRecoverable(t,`Trailing comma is not allowed in import()`):this.unexpected(t)}return this.finishNode(e,`ImportExpression`)},z.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!==`meta`&&this.raiseRecoverable(e.property.start,`The only valid meta property for import is 'import.meta'`),t&&this.raiseRecoverable(e.start,`'import.meta' must not contain escaped characters`),this.options.sourceType!==`module`&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,`Cannot use 'import.meta' outside a module`),this.finishNode(e,`MetaProperty`)},z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,``)),this.next(),this.finishNode(t,`Literal`)},z.parseParenExpression=function(){this.expect(y.parenL);var e=this.parseExpression();return this.expect(y.parenR),e},z.shouldParseArrow=function(e){return!this.canInsertSemicolon()},z.parseParenAndDistinguishExpression=function(e,t){var n=this.start,r=this.startLoc,i,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,s=this.startLoc,c=[],l=!0,u=!1,d=new P,f=this.yieldPos,p=this.awaitPos,m;for(this.yieldPos=0,this.awaitPos=0;this.type!==y.parenR;){if(l?l=!1:this.expect(y.comma),a&&this.afterTrailingComma(y.parenR,!0)){u=!0;break}if(this.type===y.ellipsis){m=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===y.comma&&this.raiseRecoverable(this.start,`Comma is not permitted after the rest element`);break}c.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var h=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(y.parenR),e&&this.shouldParseArrow(c)&&this.eat(y.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=p,this.parseParenArrowList(n,r,c,t);(!c.length||u)&&this.unexpected(this.lastTokStart),m&&this.unexpected(m),this.checkExpressionErrors(d,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=p||this.awaitPos,c.length>1?(i=this.startNodeAt(o,s),i.expressions=c,this.finishNodeAt(i,`SequenceExpression`,h,g)):i=c[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var _=this.startNodeAt(n,r);return _.expression=i,this.finishNode(_,`ParenthesizedExpression`)}return i},z.parseParenItem=function(e){return e},z.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!1,r)};var Ve=[];z.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword new`);var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===y.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name=`new`,e.meta=this.finishNode(t,`Identifier`),this.next();var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!==`target`&&this.raiseRecoverable(e.property.start,`The only valid meta property for new is 'new.target'`),n&&this.raiseRecoverable(e.start,`'new.target' must not contain escaped characters`),this.allowNewDotTarget||this.raiseRecoverable(e.start,`'new.target' can only be used in functions and class static block`),this.finishNode(e,`MetaProperty`)}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,i,!0,!1),e.arguments=this.eat(y.parenL)?this.parseExprList(y.parenR,this.options.ecmaVersion>=8,!1):Ve,this.finishNode(e,`NewExpression`)},z.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===y.invalidTemplate?(t||this.raiseRecoverable(this.start,`Bad escape sequence in untagged template literal`),n.value={raw:this.value.replace(/\r\n?/g,`
53
+ `),cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
54
+ `),cooked:this.value},this.next(),n.tail=this.type===y.backQuote,this.finishNode(n,`TemplateElement`)},z.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===y.eof&&this.raise(this.pos,`Unterminated template literal`),this.expect(y.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(y.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,`TemplateLiteral`)},z.isAsyncProp=function(e){return!e.computed&&e.key.type===`Identifier`&&e.key.name===`async`&&(this.type===y.name||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===y.star)&&!b.test(this.input.slice(this.lastTokEnd,this.start))},z.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(y.braceR);){if(r)r=!1;else if(this.expect(y.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(y.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?`ObjectPattern`:`ObjectExpression`)},z.parseProperty=function(e,t){var n=this.startNode(),r,i,a,o;if(this.options.ecmaVersion>=9&&this.eat(y.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===y.comma&&this.raiseRecoverable(this.start,`Comma is not permitted after the rest element`),this.finishNode(n,`RestElement`)):(n.argument=this.parseMaybeAssign(!1,t),this.type===y.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,`SpreadElement`));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(a=this.start,o=this.startLoc),e||(r=this.eat(y.star)));var s=this.containsEsc;return this.parsePropertyName(n),!e&&!s&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(y.star),this.parsePropertyName(n)):i=!1,this.parsePropertyValue(n,e,r,i,a,o,t,s),this.finishNode(n,`Property`)},z.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind===`get`?0:1;if(e.value.params.length!==t){var n=e.value.start;e.kind===`get`?this.raiseRecoverable(n,`getter should have no params`):this.raiseRecoverable(n,`setter should have exactly one param`)}else e.kind===`set`&&e.value.params[0].type===`RestElement`&&this.raiseRecoverable(e.value.params[0].start,`Setter cannot use rest params`)},z.parsePropertyValue=function(e,t,n,r,i,a,o,s){(n||r)&&this.type===y.colon&&this.unexpected(),this.eat(y.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind=`init`):this.options.ecmaVersion>=6&&this.type===y.parenL?(t&&this.unexpected(),e.kind=`init`,e.method=!0,e.value=this.parseMethod(n,r)):!t&&!s&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type===`Identifier`&&(e.key.name===`get`||e.key.name===`set`)&&this.type!==y.comma&&this.type!==y.braceR&&this.type!==y.eq?((n||r)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type===`Identifier`?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name===`await`&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind=`init`,t?e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key)):this.type===y.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()},z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(y.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(y.bracketR),e.key;e.computed=!1}return e.key=this.type===y.num||this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!==`never`)},z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},z.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(T(t,r.generator)|Te|(n?Ee:0)),this.expect(y.parenL),r.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(r,`FunctionExpression`)},z.parseArrowExpression=function(e,t,n,r){var i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(T(n,!1)|Ce),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,`ArrowFunctionExpression`)},z.parseFunctionBody=function(e,t,n,r){var i=t&&this.type!==y.braceL,a=this.strict,o=!1;if(i)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||s)&&(o=this.strictDirective(this.end),o&&s&&this.raiseRecoverable(e.start,`Illegal 'use strict' directive in function with non-simple parameter list`));var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,A),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()},z.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1)if(n[t].type!==`Identifier`)return!1;return!0},z.checkParams=function(e,t){for(var n=Object.create(null),r=0,i=e.params;r<i.length;r+=1){var a=i[r];this.checkLValInnerPattern(a,D,t?null:n)}},z.parseExprList=function(e,t,n,r){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(y.comma),t&&this.afterTrailingComma(e))break;var o=void 0;n&&this.type===y.comma?o=null:this.type===y.ellipsis?(o=this.parseSpread(r),r&&this.type===y.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),i.push(o)}return i},z.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;this.inGenerator&&r===`yield`&&this.raiseRecoverable(t,`Cannot use 'yield' as identifier inside a generator`),this.inAsync&&r===`await`&&this.raiseRecoverable(t,`Cannot use 'await' as identifier inside an async function`),this.currentThisScope().inClassFieldInit&&r===`arguments`&&this.raiseRecoverable(t,`Cannot use 'arguments' in class field initializer`),this.inClassStaticBlock&&(r===`arguments`||r===`await`)&&this.raise(t,`Cannot use `+r+` in class static initialization block`),this.keywords.test(r)&&this.raise(t,`Unexpected keyword '`+r+`'`),!(this.options.ecmaVersion<6&&this.input.slice(t,n).indexOf(`\\`)!==-1)&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(!this.inAsync&&r===`await`&&this.raiseRecoverable(t,`Cannot use keyword 'await' outside an async function`),this.raiseRecoverable(t,`The keyword '`+r+`' is reserved`))},z.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,`Identifier`),e||(this.checkUnreserved(t),t.name===`await`&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t},z.parseIdentNode=function(){var e=this.startNode();return this.type===y.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name===`class`||e.name===`function`)&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=y.name):this.unexpected(),e},z.parsePrivateIdent=function(){var e=this.startNode();return this.type===y.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,`PrivateIdentifier`),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,`Private field '#`+e.name+`' must be declared in an enclosing class`):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},z.parseYield=function(e){this.yieldPos||=this.start;var t=this.startNode();return this.next(),this.type===y.semi||this.canInsertSemicolon()||this.type!==y.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(y.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,`YieldExpression`)},z.parseAwait=function(e){this.awaitPos||=this.start;var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,`AwaitExpression`)};var He=j.prototype;He.raise=function(e,t){var n=me(this.input,e);t+=` (`+n.line+`:`+n.column+`)`;var r=SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},He.raiseRecoverable=He.raise,He.curPosition=function(){if(this.options.locations)return new fe(this.curLine,this.pos-this.lineStart)};var Ue=j.prototype,We=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};Ue.enterScope=function(e){this.scopeStack.push(new We(e))},Ue.exitScope=function(){this.scopeStack.pop()},Ue.treatFunctionsAsVarInScope=function(e){return e.flags&be||!this.inModule&&e.flags&ye},Ue.declareName=function(e,t,n){var r=!1;if(t===Oe){var i=this.currentScope();r=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&ye&&delete this.undefinedExports[e]}else if(t===k)this.currentScope().lexical.push(e);else if(t===O){var a=this.currentScope();r=this.treatFunctionsAsVar?a.lexical.indexOf(e)>-1:a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var s=this.scopeStack[o];if(s.lexical.indexOf(e)>-1&&!(s.flags&we&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){r=!0;break}if(s.var.push(e),this.inModule&&s.flags&ye&&delete this.undefinedExports[e],s.flags&w)break}r&&this.raiseRecoverable(n,`Identifier '`+e+`' has already been declared`)},Ue.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},Ue.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ue.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&w)return t}},Ue.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&w&&!(t.flags&Ce))return t}};var Ge=function(e,t,n){this.type=``,this.start=t,this.end=0,e.options.locations&&(this.loc=new pe(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Ke=j.prototype;Ke.startNode=function(){return new Ge(this,this.start,this.startLoc)},Ke.startNodeAt=function(e,t){return new Ge(this,e,t)};function qe(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}Ke.finishNode=function(e,t){return qe.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Ke.finishNodeAt=function(e,t,n,r){return qe.call(this,e,t,n,r)},Ke.copyNode=function(e){var t=new Ge(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var Je=`ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS`,Ye=Je+` Extended_Pictographic`,Xe=Ye,Ze=Xe+` EBase EComp EMod EPres ExtPict`,Qe=Ze,$e={9:Je,10:Ye,11:Xe,12:Ze,13:Qe,14:Qe},et={9:``,10:``,11:``,12:``,13:``,14:`Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji`},tt=`Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu`,nt=`Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb`,rt=nt+` Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd`,B=rt+` Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho`,V=B+` Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi`,H=V+` Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith`,it={9:nt,10:rt,11:B,12:V,13:H,14:H+` Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz`},at={};function U(e){var t=at[e]={binary:le($e[e]+` `+tt),binaryOfStrings:le(et[e]),nonBinary:{General_Category:le(tt),Script:le(it[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var ot=0,st=[9,10,11,12,13,14];ot<st.length;ot+=1){var ct=st[ot];U(ct)}var W=j.prototype,lt=function(e,t){this.parent=e,this.base=t||this};lt.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var n=e;n;n=n.parent)if(t.base===n.base&&t!==n)return!0;return!1},lt.prototype.sibling=function(){return new lt(this.parent,this.base)};var G=function(e){this.parser=e,this.validFlags=`gim`+(e.options.ecmaVersion>=6?`uy`:``)+(e.options.ecmaVersion>=9?`s`:``)+(e.options.ecmaVersion>=13?`d`:``)+(e.options.ecmaVersion>=15?`v`:``),this.unicodeProperties=at[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source=``,this.flags=``,this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue=``,this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};G.prototype.reset=function(e,t,n){var r=n.indexOf(`v`)!==-1,i=n.indexOf(`u`)!==-1;this.start=e|0,this.source=t+``,this.flags=n,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=i&&this.parser.options.ecmaVersion>=9)},G.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,`Invalid regular expression: /`+this.source+`/: `+e)},G.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var a=n.charCodeAt(e+1);return a>=56320&&a<=57343?(i<<10)+a-56613888:i},G.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i=n.charCodeAt(e),a;return!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(a=n.charCodeAt(e+1))<56320||a>57343?e+1:e+2},G.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},G.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},G.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},G.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},G.prototype.eatChars=function(e,t){t===void 0&&(t=!1);for(var n=this.pos,r=0,i=e;r<i.length;r+=1){var a=i[r],o=this.at(n,t);if(o===-1||o!==a)return!1;n=this.nextIndex(n,t)}return this.pos=n,!0},W.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=!1,i=!1,a=0;a<n.length;a++){var o=n.charAt(a);t.indexOf(o)===-1&&this.raise(e.start,`Invalid regular expression flag`),n.indexOf(o,a+1)>-1&&this.raise(e.start,`Duplicate regular expression flag`),o===`u`&&(r=!0),o===`v`&&(i=!0)}this.options.ecmaVersion>=15&&r&&i&&this.raise(e.start,`Invalid regular expression flag`)};function ut(e){for(var t in e)return!0;return!1}W.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&ut(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},W.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue=``,e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise(`Unmatched ')'`),(e.eat(93)||e.eat(125))&&e.raise(`Lone quantifier brackets`)),e.maxBackReference>e.numCapturingParens&&e.raise(`Invalid escape`);for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames[r]||e.raise(`Invalid named capture referenced`)}},W.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new lt(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise(`Nothing to repeat`),e.eat(123)&&e.raise(`Lone quantifier brackets`)},W.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},W.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise(`Invalid quantifier`),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},W.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise(`Unterminated group`),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},W.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},W.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},W.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<r&&!t&&e.raise(`numbers out of order in {} quantifier`),!0;e.switchU&&!t&&e.raise(`Incomplete quantifier`),e.pos=n}return!1},W.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},W.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},W.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise(`Unterminated group`)}e.pos=t}return!1},W.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise(`Invalid group`),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise(`Unterminated group`)}return!1},W.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},W.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise(`Nothing to repeat`),!1},W.regexp_eatSyntaxCharacter=function(e){var t=e.current();return dt(t)?(e.lastIntValue=t,e.advance(),!0):!1};function dt(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}W.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!dt(n);)e.advance();return e.pos!==t},W.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124&&(e.advance(),!0)},W.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise(`Invalid group`);var t=this.options.ecmaVersion>=16,n=e.groupNames[e.lastStringValue];if(n){if(t)for(var r=0,i=n;r<i.length;r+=1)i[r].separatedFrom(e.branchID)||e.raise(`Duplicate capture group name`);else e.raise(`Duplicate capture group name`)}t?(n||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},W.regexp_eatGroupName=function(e){if(e.lastStringValue=``,e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise(`Invalid capture group name`)}return!1},W.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue=``,this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ue(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ue(e.lastIntValue);return!0}return!1},W.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),K(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function K(e){return f(e,!0)||e===36||e===95}W.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),ft(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function ft(e){return p(e,!0)||e===36||e===95||e===8204||e===8205}W.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise(`Invalid unicode escape`),e.raise(`Invalid escape`)),!1)},W.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},W.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise(`Invalid named reference`)}return!1},W.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},W.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},W.regexp_eatZero=function(e){return e.current()===48&&!xt(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},W.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114&&(e.lastIntValue=13,e.advance(),!0)},W.regexp_eatControlLetter=function(e){var t=e.current();return q(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function q(e){return e>=65&&e<=90||e>=97&&e<=122}W.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(i-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&pt(e.lastIntValue))return!0;r&&e.raise(`Invalid unicode escape`),e.pos=n}return!1};function pt(e){return e>=0&&e<=1114111}W.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)&&(e.lastIntValue=t,e.advance(),!0)},W.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var J=0,mt=1,Y=2;W.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ht(t))return e.lastIntValue=-1,e.advance(),mt;var n=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((n=t===80)||t===112)){e.lastIntValue=-1,e.advance();var r;if(e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return n&&r===Y&&e.raise(`Invalid property name`),r;e.raise(`Invalid property name`)}return J};function ht(e){return e===100||e===68||e===115||e===83||e===119||e===87}W.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),mt}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return J},W.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){oe(e.unicodeProperties.nonBinary,t)||e.raise(`Invalid property name`),e.unicodeProperties.nonBinary[t].test(n)||e.raise(`Invalid property value`)},W.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return mt;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return Y;e.raise(`Invalid property name`)},W.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue=``;gt(t=e.current());)e.lastStringValue+=ue(t),e.advance();return e.lastStringValue!==``};function gt(e){return q(e)||e===95}W.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue=``;_t(t=e.current());)e.lastStringValue+=ue(t),e.advance();return e.lastStringValue!==``};function _t(e){return gt(e)||xt(e)}W.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},W.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),n=this.regexp_classContents(e);return e.eat(93)||e.raise(`Unterminated character class`),t&&n===Y&&e.raise(`Negated character class may contain strings`),!0}return!1},W.regexp_classContents=function(e){return e.current()===93?mt:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),mt)},W.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise(`Invalid character class`),t!==-1&&n!==-1&&t>n&&e.raise(`Range out of order in character class`)}}},W.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||wt(n))&&e.raise(`Invalid class escape`),e.raise(`Invalid escape`)}e.pos=t}var r=e.current();return r!==93&&(e.lastIntValue=r,e.advance(),!0)},W.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},W.regexp_classSetExpression=function(e){var t=mt,n;if(!this.regexp_eatClassSetRange(e)){if(n=this.regexp_eatClassSetOperand(e)){n===Y&&(t=Y);for(var r=e.pos;e.eatChars([38,38]);)e.current()!==38&&(n=this.regexp_eatClassSetOperand(e))?n!==Y&&(t=mt):e.raise(`Invalid character in character class`);if(r!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise(`Invalid character in character class`);if(r!==e.pos)return t}else e.raise(`Invalid character in character class`)}for(;;)if(!this.regexp_eatClassSetRange(e)){if(n=this.regexp_eatClassSetOperand(e),!n)return t;n===Y&&(t=Y)}},W.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return n!==-1&&r!==-1&&n>r&&e.raise(`Range out of order in character class`),!0}e.pos=t}return!1},W.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?mt:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},W.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var n=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return n&&r===Y&&e.raise(`Negated character class may contain strings`),r;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null},W.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var n=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return n}else e.raise(`Invalid escape`);e.pos=t}return null},W.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===Y&&(t=Y);return t},W.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?mt:Y},W.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var n=e.current();return n<0||n===e.lookahead()&&vt(n)||yt(n)?!1:(e.advance(),e.lastIntValue=n,!0)};function vt(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function yt(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}W.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return bt(t)?(e.lastIntValue=t,e.advance(),!0):!1};function bt(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}W.regexp_eatClassControlLetter=function(e){var t=e.current();return xt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},W.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise(`Invalid escape`),e.pos=t}return!1},W.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;xt(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t};function xt(e){return e>=48&&e<=57}W.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;St(n=e.current());)e.lastIntValue=16*e.lastIntValue+Ct(n),e.advance();return e.pos!==t};function St(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Ct(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}W.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;e.lastIntValue=t<=3&&this.regexp_eatOctalDigit(e)?t*64+n*8+e.lastIntValue:t*8+n}else e.lastIntValue=t;return!0}return!1},W.regexp_eatOctalDigit=function(e){var t=e.current();return wt(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function wt(e){return e>=48&&e<=55}W.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var i=e.current();if(!St(i))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+Ct(i),e.advance()}return!0};var Tt=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new pe(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},X=j.prototype;X.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword `+this.type.keyword),this.options.onToken&&this.options.onToken(new Tt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},X.getToken=function(){return this.next(),new Tt(this)},typeof Symbol<`u`&&(X[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===y.eof,value:t}}}}),X.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(y.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},X.readToken=function(e){return f(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},X.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},X.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf(`*/`,this.pos+=2);if(n===-1&&this.raise(this.pos-2,`Unterminated comment`),this.pos=n+2,this.options.locations)for(var r=void 0,i=t;(r=S(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},X.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!x(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},X.skipSpace=function(){loop:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(e>8&&e<14||e>=5760&&ne.test(String.fromCharCode(e)))++this.pos;else break loop}}},X.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},X.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(y.ellipsis)):(++this.pos,this.finishToken(y.dot))},X.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(y.assign,2):this.finishOp(y.slash,1)},X.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?y.star:y.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=y.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(y.assign,n+1):this.finishOp(r,n)},X.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(y.assign,3):this.finishOp(e===124?y.logicalOR:y.logicalAND,2):t===61?this.finishOp(y.assign,2):this.finishOp(e===124?y.bitwiseOR:y.bitwiseAND,1)},X.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(y.assign,2):this.finishOp(y.bitwiseXOR,1)},X.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||b.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(y.incDec,2):t===61?this.finishOp(y.assign,2):this.finishOp(y.plusMin,1)},X.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(y.assign,n+1):this.finishOp(y.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(y.relational,n))},X.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(y.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(y.arrow)):this.finishOp(e===61?y.eq:y.prefix,1)},X.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(y.questionDot,2)}if(t===63)return e>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(y.assign,3):this.finishOp(y.coalesce,2)}return this.finishOp(y.question,1)},X.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),f(t,!0)||t===92))return this.finishToken(y.privateId,this.readWord1());this.raise(this.pos,`Unexpected character '`+ue(t)+`'`)},X.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(y.parenL);case 41:return++this.pos,this.finishToken(y.parenR);case 59:return++this.pos,this.finishToken(y.semi);case 44:return++this.pos,this.finishToken(y.comma);case 91:return++this.pos,this.finishToken(y.bracketL);case 93:return++this.pos,this.finishToken(y.bracketR);case 123:return++this.pos,this.finishToken(y.braceL);case 125:return++this.pos,this.finishToken(y.braceR);case 58:return++this.pos,this.finishToken(y.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(y.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(y.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,`Unexpected character '`+ue(e)+`'`)},X.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},X.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,`Unterminated regular expression`);var r=this.input.charAt(this.pos);if(b.test(r)&&this.raise(n,`Unterminated regular expression`),e)e=!1;else{if(r===`[`)t=!0;else if(r===`]`&&t)t=!1;else if(r===`/`&&!t)break;e=r===`\\`}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||=new G(this);s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var c=null;try{c=new RegExp(i,o)}catch{}return this.finishToken(y.regexp,{pattern:i,flags:o,value:c})},X.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,a=this.pos,o=0,s=0,c=0,l=t??1/0;c<l;++c,++this.pos){var u=this.input.charCodeAt(this.pos),d=void 0;if(r&&u===95)i&&this.raiseRecoverable(this.pos,`Numeric separator is not allowed in legacy octal numeric literals`),s===95&&this.raiseRecoverable(this.pos,`Numeric separator must be exactly one underscore`),c===0&&this.raiseRecoverable(this.pos,`Numeric separator is not allowed at the first of digits`),s=u;else{if(d=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0,d>=e)break;s=u,o=o*e+d}}return r&&s===95&&this.raiseRecoverable(this.pos-1,`Numeric separator is not allowed at the last of digits`),this.pos===a||t!=null&&this.pos-a!==t?null:o};function Et(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,``))}function Dt(e){return typeof BigInt==`function`?BigInt(e.replace(/_/g,``)):null}X.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n??this.raise(this.start+2,`Expected number in radix `+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=Dt(this.input.slice(t,this.pos)),++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`),this.finishToken(y.num,n)},X.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,`Invalid number`);var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,`Invalid number`);var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=Dt(this.input.slice(t,this.pos));return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`),this.finishToken(y.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,`Invalid number`)),f(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`);var a=Et(this.input.slice(t,this.pos),n);return this.finishToken(y.num,a)},X.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf(`}`,this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,`Code point out of bounds`)}else t=this.readHexChar(4);return t},X.readString=function(e){for(var t=``,n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated string constant`);var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,`Unterminated string constant`),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(x(r)&&this.raise(this.start,`Unterminated string constant`),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(y.string,t)};var Ot={};X.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Ot)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},X.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ot;this.raise(e,t)},X.readTmplToken=function(){for(var e=``,t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated template`);var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===y.template||this.type===y.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(y.dollarBraceL)):(++this.pos,this.finishToken(y.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(y.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(x(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
55
+ `;break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},X.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case`\\`:++this.pos;break;case`$`:if(this.input[this.pos+1]!==`{`)break;case"`":return this.finishToken(y.invalidTemplate,this.input.slice(this.start,this.pos));case`\r`:this.input[this.pos+1]===`
56
+ `&&++this.pos;case`
57
+ `:case`\u2028`:case`\u2029`:++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,`Unterminated template`)},X.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
58
+ `;case 114:return`\r`;case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ue(this.readCodePoint());case 116:return` `;case 98:return`\b`;case 118:return`\v`;case 102:return`\f`;case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),``;case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,`Invalid escape sequence`),e){var n=this.pos-1;this.invalidStringToken(n,`Invalid escape sequence in template string`)}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!==`0`||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?`Octal literal in template string`:`Octal literal in strict mode`),String.fromCharCode(i)}return x(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),``):String.fromCharCode(t)}},X.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,`Bad character escape sequence`),n},X.readWord1=function(){this.containsEsc=!1;for(var e=``,t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(p(i,r))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,`Expecting Unicode escape sequence \\uXXXX`),++this.pos;var o=this.readCodePoint();(t?f:p)(o,r)||this.invalidStringToken(a,`Invalid Unicode escape`),e+=ue(o),n=this.pos}else break;t=!1}return e+this.input.slice(n,this.pos)},X.readWord=function(){var e=this.readWord1(),t=y.name;return this.keywords.test(e)&&(t=ee[e]),this.finishToken(t,e)};var kt=`8.12.1`;j.acorn={Parser:j,version:kt,defaultOptions:he,Position:fe,SourceLocation:pe,getLineInfo:me,Node:Ge,TokenType:m,tokTypes:y,keywordTypes:ee,TokContext:L,tokContexts:R,isIdentifierChar:p,isIdentifierStart:f,Token:Tt,isNewLine:x,lineBreak:b,lineBreakG:te,nonASCIIwhitespace:ne};function At(e,t){return j.parse(e,t)}function jt(e,t,n){return j.parseExpressionAt(e,t,n)}function Mt(e,t){return j.tokenizer(e,t)}e.Node=Ge,e.Parser=j,e.Position=fe,e.SourceLocation=pe,e.TokContext=L,e.Token=Tt,e.TokenType=m,e.defaultOptions=he,e.getLineInfo=me,e.isIdentifierChar=p,e.isIdentifierStart=f,e.isNewLine=x,e.keywordTypes=ee,e.lineBreak=b,e.lineBreakG=te,e.nonASCIIwhitespace=ne,e.parse=At,e.parseExpressionAt=jt,e.tokContexts=R,e.tokTypes=y,e.tokenizer=Mt,e.version=kt})}),me=de((e,t)=>{var n=fe(),r=/^[\da-fA-F]+$/,i=/^\d+$/,a=new WeakMap;function o(e){e=e.Parser.acorn||e;let t=a.get(e);if(!t){let n=e.tokTypes,r=e.TokContext,i=e.TokenType,o=new r(`<tag`,!1),s=new r(`</tag`,!1),c=new r(`<tag>...</tag>`,!0,!0),l={tc_oTag:o,tc_cTag:s,tc_expr:c},u={jsxName:new i(`jsxName`),jsxText:new i(`jsxText`,{beforeExpr:!0}),jsxTagStart:new i(`jsxTagStart`,{startsExpr:!0}),jsxTagEnd:new i(`jsxTagEnd`)};u.jsxTagStart.updateContext=function(){this.context.push(c),this.context.push(o),this.exprAllowed=!1},u.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===o&&e===n.slash||t===s?(this.context.pop(),this.exprAllowed=this.curContext()===c):this.exprAllowed=!0},t={tokContexts:l,tokTypes:u},a.set(e,t)}return t}function s(e){if(!e)return e;if(e.type===`JSXIdentifier`)return e.name;if(e.type===`JSXNamespacedName`)return e.namespace.name+`:`+e.name.name;if(e.type===`JSXMemberExpression`)return s(e.object)+`.`+s(e.property)}t.exports=function(e){return e||={},function(t){return c({allowNamespaces:e.allowNamespaces!==!1,allowNamespacedObjects:!!e.allowNamespacedObjects,autoCloseVoidElements:!!e.autoCloseVoidElements},t)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return o(pe()).tokTypes},configurable:!0,enumerable:!0});function c(e,t){let a=t.acorn||pe(),c=o(a),l=a.tokTypes,u=c.tokTypes,d=a.tokContexts,f=c.tokContexts.tc_oTag,p=c.tokContexts.tc_cTag,m=c.tokContexts.tc_expr,h=a.isNewLine,g=a.isIdentifierStart,_=a.isIdentifierChar;return class extends t{static get acornJsx(){return c}jsx_readToken(){let e=``,t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated JSX contents`);let n=this.input.charCodeAt(this.pos);switch(n){case 60:case 123:return this.pos===this.start?n===60&&this.exprAllowed?(++this.pos,this.finishToken(u.jsxTagStart)):this.getTokenFromCode(n):(e+=this.input.slice(t,this.pos),this.finishToken(u.jsxText,e));case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(n===62?`&gt;`:`&rbrace;`)+'` or `{"'+this.input[this.pos]+'"}`?');default:h(n)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t=this.input.charCodeAt(this.pos),n;return++this.pos,t===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,n=e?`
59
+ `:`\r
60
+ `):n=String.fromCharCode(t),this.options.locations&&(++this.curLine,this.lineStart=this.pos),n}jsx_readString(e){let t=``,n=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated string constant`);let r=this.input.charCodeAt(this.pos);if(r===e)break;r===38?(t+=this.input.slice(n,this.pos),t+=this.jsx_readEntity(),n=this.pos):h(r)?(t+=this.input.slice(n,this.pos),t+=this.jsx_readNewLine(!1),n=this.pos):++this.pos}return t+=this.input.slice(n,this.pos++),this.finishToken(l.string,t)}jsx_readEntity(){let e=``,t=0,a,o=this.input[this.pos];o!==`&`&&this.raise(this.pos,`Entity must start with an ampersand`);let s=++this.pos;for(;this.pos<this.input.length&&t++<10;){if(o=this.input[this.pos++],o===`;`){e[0]===`#`?e[1]===`x`?(e=e.substr(2),r.test(e)&&(a=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),i.test(e)&&(a=String.fromCharCode(parseInt(e,10)))):a=n[e];break}e+=o}return a||(this.pos=s,`&`)}jsx_readWord(){let e,t=this.pos;do e=this.input.charCodeAt(++this.pos);while(_(e)||e===45);return this.finishToken(u.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===u.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,`JSXIdentifier`)}jsx_parseNamespacedName(){let t=this.start,n=this.startLoc,r=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(l.colon))return r;var i=this.startNodeAt(t,n);return i.namespace=r,i.name=this.jsx_parseIdentifier(),this.finishNode(i,`JSXNamespacedName`)}jsx_parseElementName(){if(this.type===u.jsxTagEnd)return``;let t=this.start,n=this.startLoc,r=this.jsx_parseNamespacedName();for(this.type===l.dot&&r.type===`JSXNamespacedName`&&!e.allowNamespacedObjects&&this.unexpected();this.eat(l.dot);){let e=this.startNodeAt(t,n);e.object=r,e.property=this.jsx_parseIdentifier(),r=this.finishNode(e,`JSXMemberExpression`)}return r}jsx_parseAttributeValue(){switch(this.type){case l.braceL:let e=this.jsx_parseExpressionContainer();return e.expression.type===`JSXEmptyExpression`&&this.raise(e.start,`JSX attributes must only be assigned a non-empty expression`),e;case u.jsxTagStart:case l.string:return this.parseExprAtom();default:this.raise(this.start,`JSX value should be either an expression or a quoted JSX text`)}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,`JSXEmptyExpression`,this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===l.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(l.braceR),this.finishNode(e,`JSXExpressionContainer`)}jsx_parseAttribute(){let e=this.startNode();return this.eat(l.braceL)?(this.expect(l.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(l.braceR),this.finishNode(e,`JSXSpreadAttribute`)):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(l.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,`JSXAttribute`))}jsx_parseOpeningElementAt(t,n){let r=this.startNodeAt(t,n);r.attributes=[];let i=this.jsx_parseElementName();for(i&&(r.name=i);this.type!==l.slash&&this.type!==u.jsxTagEnd;)r.attributes.push(this.jsx_parseAttribute());return r.selfClosing=this.eat(l.slash),this.expect(u.jsxTagEnd),e.autoCloseVoidElements&&i&&[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`menuitem`,`meta`,`param`,`source`,`track`,`wbr`].includes(i.name)&&(r.selfClosing=!0),this.finishNode(r,i?`JSXOpeningElement`:`JSXOpeningFragment`)}jsx_parseClosingElementAt(e,t){let n=this.startNodeAt(e,t),r=this.jsx_parseElementName();return r&&(n.name=r),this.expect(u.jsxTagEnd),this.finishNode(n,r?`JSXClosingElement`:`JSXClosingFragment`)}jsx_parseElementAt(e,t){let n=this.startNodeAt(e,t),r=[],i=this.jsx_parseOpeningElementAt(e,t),a=null;if(!i.selfClosing){contents:for(;;)switch(this.type){case u.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(l.slash)){a=this.jsx_parseClosingElementAt(e,t);break contents}r.push(this.jsx_parseElementAt(e,t));break;case u.jsxText:r.push(this.parseExprAtom());break;case l.braceL:r.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(a.name)!==s(i.name)&&this.raise(a.start,`Expected corresponding JSX closing tag for <`+s(i.name)+`>`)}let o=i.name?`Element`:`Fragment`;return n[`opening`+o]=i,n[`closing`+o]=a,n.children=r,this.type===l.relational&&this.value===`<`&&this.raise(this.start,`Adjacent JSX elements must be wrapped in an enclosing tag`),this.finishNode(n,`JSX`+o)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type=`JSXText`,e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===u.jsxText?this.jsx_parseText():this.type===u.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===f||t===p){if(g(e))return this.jsx_readWord();if(e==62)return++this.pos,this.finishToken(u.jsxTagEnd);if((e===34||e===39)&&t==f)return this.jsx_readString(e)}return e===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(u.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==l.braceL){var t=this.curContext();t==f?this.context.push(d.b_expr):t==m?this.context.push(d.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else if(this.type===l.slash&&e===u.jsxTagStart)this.context.length-=2,this.context.push(p),this.exprAllowed=!1;else return super.updateContext(e)}}}}),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,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,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,406,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,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,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,983,6,110,6,6,9,4759,9,787719,239],ge=[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,68,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,349,41,7,1,79,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,159,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,264,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,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,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,757,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],_e=`‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・`,ve=`ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ`,ye={3:`abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile`,5:`class enum extends super const export import`,6:`enum`,strict:`implements interface let package private protected public static yield`,strictBind:`eval arguments`},be=`break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this`,xe={5:be,"5module":be+` export import`,6:be+` const class extends export import super`},Se=/^in(stanceof)?$/,Ce=RegExp(`[`+ve+`]`),we=RegExp(`[`+ve+_e+`]`);function Te(e,t){for(var n=65536,r=0;r<t.length;r+=2){if(n+=t[r],n>e)return!1;if(n+=t[r+1],n>=e)return!0}return!1}function Ee(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Ce.test(String.fromCharCode(e)):t!==!1&&Te(e,ge)}function De(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&we.test(String.fromCharCode(e)):t===!1?!1:Te(e,ge)||Te(e,he)}var w=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function T(e,t){return new w(e,{beforeExpr:!0,binop:t})}var E={beforeExpr:!0},D={startsExpr:!0},Oe={};function O(e,t){return t===void 0&&(t={}),t.keyword=e,Oe[e]=new w(e,t)}var k={num:new w(`num`,D),regexp:new w(`regexp`,D),string:new w(`string`,D),name:new w(`name`,D),privateId:new w(`privateId`,D),eof:new w(`eof`),bracketL:new w(`[`,{beforeExpr:!0,startsExpr:!0}),bracketR:new w(`]`),braceL:new w(`{`,{beforeExpr:!0,startsExpr:!0}),braceR:new w(`}`),parenL:new w(`(`,{beforeExpr:!0,startsExpr:!0}),parenR:new w(`)`),comma:new w(`,`,E),semi:new w(`;`,E),colon:new w(`:`,E),dot:new w(`.`),question:new w(`?`,E),questionDot:new w(`?.`),arrow:new w(`=>`,E),template:new w(`template`),invalidTemplate:new w(`invalidTemplate`),ellipsis:new w(`...`,E),backQuote:new w("`",D),dollarBraceL:new w("${",{beforeExpr:!0,startsExpr:!0}),eq:new w(`=`,{beforeExpr:!0,isAssign:!0}),assign:new w(`_=`,{beforeExpr:!0,isAssign:!0}),incDec:new w(`++/--`,{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new w(`!/~`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:T(`||`,1),logicalAND:T(`&&`,2),bitwiseOR:T(`|`,3),bitwiseXOR:T(`^`,4),bitwiseAND:T(`&`,5),equality:T(`==/!=/===/!==`,6),relational:T(`</>/<=/>=`,7),bitShift:T(`<</>>/>>>`,8),plusMin:new w(`+/-`,{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:T(`%`,10),star:T(`*`,10),slash:T(`/`,10),starstar:new w(`**`,{beforeExpr:!0}),coalesce:T(`??`,1),_break:O(`break`),_case:O(`case`,E),_catch:O(`catch`),_continue:O(`continue`),_debugger:O(`debugger`),_default:O(`default`,E),_do:O(`do`,{isLoop:!0,beforeExpr:!0}),_else:O(`else`,E),_finally:O(`finally`),_for:O(`for`,{isLoop:!0}),_function:O(`function`,D),_if:O(`if`),_return:O(`return`,E),_switch:O(`switch`),_throw:O(`throw`,E),_try:O(`try`),_var:O(`var`),_const:O(`const`),_while:O(`while`,{isLoop:!0}),_with:O(`with`),_new:O(`new`,{beforeExpr:!0,startsExpr:!0}),_this:O(`this`,D),_super:O(`super`,D),_class:O(`class`,D),_extends:O(`extends`,E),_export:O(`export`),_import:O(`import`,D),_null:O(`null`,D),_true:O(`true`,D),_false:O(`false`,D),_in:O(`in`,{beforeExpr:!0,binop:7}),_instanceof:O(`instanceof`,{beforeExpr:!0,binop:7}),_typeof:O(`typeof`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:O(`void`,{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:O(`delete`,{beforeExpr:!0,prefix:!0,startsExpr:!0})},A=/\r\n?|\n|\u2028|\u2029/,j=new RegExp(A.source,`g`);function M(e){return e===10||e===13||e===8232||e===8233}function N(e,t,n){n===void 0&&(n=e.length);for(var r=t;r<n;r++){var i=e.charCodeAt(r);if(M(i))return r<n-1&&i===13&&e.charCodeAt(r+1)===10?r+2:r+1}return-1}var ke=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,P=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,F=Object.prototype,Ae=F.hasOwnProperty,je=F.toString,Me=Object.hasOwn||function(e,t){return Ae.call(e,t)},Ne=Array.isArray||function(e){return je.call(e)===`[object Array]`},Pe=Object.create(null);function Fe(e){return Pe[e]||(Pe[e]=RegExp(`^(?:`+e.replace(/ /g,`|`)+`)$`))}function Ie(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Le=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,I=function(e,t){this.line=e,this.column=t};I.prototype.offset=function(e){return new I(this.line,this.column+e)};var L=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)};function R(e,t){for(var n=1,r=0;;){var i=N(e,r,t);if(i<0)return new I(n,t-r);++n,r=i}}var Re={ecmaVersion:null,sourceType:`script`,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},z=!1;function ze(e){var t={};for(var n in Re)t[n]=e&&Me(e,n)?e[n]:Re[n];if(t.ecmaVersion===`latest`?t.ecmaVersion=1e8:t.ecmaVersion==null?(!z&&typeof console==`object`&&console.warn&&(z=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
61
+ Defaulting to 2020, but this will stop working in the future.`)),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved??=t.ecmaVersion<5,(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Ne(t.onToken)){var r=t.onToken;t.onToken=function(e){return r.push(e)}}return Ne(t.onComment)&&(t.onComment=Be(t,t.onComment)),t}function Be(e,t){return function(n,r,i,a,o,s){var c={type:n?`Block`:`Line`,value:r,start:i,end:a};e.locations&&(c.loc=new L(this,o,s)),e.ranges&&(c.range=[i,a]),t.push(c)}}var Ve=1,He=2,Ue=4,We=8,Ge=16,Ke=32,qe=64,Je=128,Ye=256,Xe=Ve|He|Ye;function Ze(e,t){return He|(e?Ue:0)|(t?We:0)}var Qe=0,$e=1,et=2,tt=3,nt=4,rt=5,B=function(e,t,n){this.options=e=ze(e),this.sourceFile=e.sourceFile,this.keywords=Fe(xe[e.ecmaVersion>=6?6:e.sourceType===`module`?`5module`:5]);var r=``;e.allowReserved!==!0&&(r=ye[e.ecmaVersion>=6?6:e.ecmaVersion===5?5:3],e.sourceType===`module`&&(r+=` await`)),this.reservedWords=Fe(r);var i=(r?r+` `:``)+ye.strict;this.reservedWordsStrict=Fe(i),this.reservedWordsStrictBind=Fe(i+` `+ye.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(`
62
+ `,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(A).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=k.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType===`module`,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&e.allowHashBang&&this.input.slice(0,2)===`#!`&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Ve),this.regexpState=null,this.privateNameStack=[]},V={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};B.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},V.inFunction.get=function(){return(this.currentVarScope().flags&He)>0},V.inGenerator.get=function(){return(this.currentVarScope().flags&We)>0&&!this.currentVarScope().inClassFieldInit},V.inAsync.get=function(){return(this.currentVarScope().flags&Ue)>0&&!this.currentVarScope().inClassFieldInit},V.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||t.flags&Ye)return!1;if(t.flags&He)return(t.flags&Ue)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},V.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(t&qe)>0||n||this.options.allowSuperOutsideMethod},V.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Je)>0},V.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},V.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,n=e.inClassFieldInit;return(t&(He|Ye))>0||n},V.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Ye)>0},B.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r<e.length;r++)n=e[r](n);return n},B.parse=function(e,t){return new this(t,e).parse()},B.parseExpressionAt=function(e,t,n){var r=new this(n,e,t);return r.nextToken(),r.parseExpression()},B.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(B.prototype,V);var H=B.prototype,it=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;H.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){P.lastIndex=e,e+=P.exec(this.input)[0].length;var t=it.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])===`use strict`){P.lastIndex=e+t[0].length;var n=P.exec(this.input),r=n.index+n[0].length,i=this.input.charAt(r);return i===`;`||i===`}`||A.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||i===`!`&&this.input.charAt(r+1)===`=`)}e+=t[0].length,P.lastIndex=e,e+=P.exec(this.input)[0].length,this.input[e]===`;`&&e++}},H.eat=function(e){return this.type===e&&(this.next(),!0)},H.isContextual=function(e){return this.type===k.name&&this.value===e&&!this.containsEsc},H.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},H.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},H.canInsertSemicolon=function(){return this.type===k.eof||this.type===k.braceR||A.test(this.input.slice(this.lastTokEnd,this.start))},H.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},H.semicolon=function(){!this.eat(k.semi)&&!this.insertSemicolon()&&this.unexpected()},H.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},H.expect=function(e){this.eat(e)||this.unexpected()},H.unexpected=function(e){this.raise(e??this.start,`Unexpected token`)};var at=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};H.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,`Comma is not permitted after the rest element`);var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,t?`Assigning to rvalue`:`Parenthesized pattern`)}},H.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,`Shorthand property assignments are valid only in destructuring patterns`),r>=0&&this.raiseRecoverable(r,`Redefinition of __proto__ property`)},H.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,`Yield expression cannot be a default value`),this.awaitPos&&this.raise(this.awaitPos,`Await expression cannot be a default value`)},H.isSimpleAssignTarget=function(e){return e.type===`ParenthesizedExpression`?this.isSimpleAssignTarget(e.expression):e.type===`Identifier`||e.type===`MemberExpression`};var U=B.prototype;U.parseTopLevel=function(e){var t=Object.create(null);for(e.body||=[];this.type!==k.eof;){var n=this.parseStatement(null,!0,t);e.body.push(n)}if(this.inModule)for(var r=0,i=Object.keys(this.undefinedExports);r<i.length;r+=1){var a=i[r];this.raiseRecoverable(this.undefinedExports[a].start,`Export '`+a+`' is not defined`)}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,`Program`)};var ot={kind:`loop`},st={kind:`switch`};U.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual(`let`))return!1;P.lastIndex=this.pos;var t=P.exec(this.input),n=this.pos+t[0].length,r=this.input.charCodeAt(n);if(r===91||r===92)return!0;if(e)return!1;if(r===123||r>55295&&r<56320)return!0;if(Ee(r,!0)){for(var i=n+1;De(r=this.input.charCodeAt(i),!0);)++i;if(r===92||r>55295&&r<56320)return!0;var a=this.input.slice(n,i);if(!Se.test(a))return!0}return!1},U.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual(`async`))return!1;P.lastIndex=this.pos;var e=P.exec(this.input),t=this.pos+e[0].length,n;return!A.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)===`function`&&(t+8===this.input.length||!(De(n=this.input.charCodeAt(t+8))||n>55295&&n<56320))},U.parseStatement=function(e,t,n){var r=this.type,i=this.startNode(),a;switch(this.isLet(e)&&(r=k._var,a=`let`),r){case k._break:case k._continue:return this.parseBreakContinueStatement(i,r.keyword);case k._debugger:return this.parseDebuggerStatement(i);case k._do:return this.parseDoStatement(i);case k._for:return this.parseForStatement(i);case k._function:return e&&(this.strict||e!==`if`&&e!==`label`)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case k._class:return e&&this.unexpected(),this.parseClass(i,!0);case k._if:return this.parseIfStatement(i);case k._return:return this.parseReturnStatement(i);case k._switch:return this.parseSwitchStatement(i);case k._throw:return this.parseThrowStatement(i);case k._try:return this.parseTryStatement(i);case k._const:case k._var:return a||=this.value,e&&a!==`var`&&this.unexpected(),this.parseVarStatement(i,a);case k._while:return this.parseWhileStatement(i);case k._with:return this.parseWithStatement(i);case k.braceL:return this.parseBlock(!0,i);case k.semi:return this.parseEmptyStatement(i);case k._export:case k._import:if(this.options.ecmaVersion>10&&r===k._import){P.lastIndex=this.pos;var o=P.exec(this.input),s=this.pos+o[0].length,c=this.input.charCodeAt(s);if(c===40||c===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,`'import' and 'export' may only appear at the top level`),this.inModule||this.raise(this.start,`'import' and 'export' may appear only with 'sourceType: module'`)),r===k._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var l=this.value,u=this.parseExpression();return r===k.name&&u.type===`Identifier`&&this.eat(k.colon)?this.parseLabeledStatement(i,l,u,e):this.parseExpressionStatement(i,u)}},U.parseBreakContinueStatement=function(e,t){var n=t===`break`;this.next(),this.eat(k.semi)||this.insertSemicolon()?e.label=null:this.type===k.name?(e.label=this.parseIdent(),this.semicolon()):this.unexpected();for(var r=0;r<this.labels.length;++r){var i=this.labels[r];if((e.label==null||i.name===e.label.name)&&(i.kind!=null&&(n||i.kind===`loop`)||e.label&&n))break}return r===this.labels.length&&this.raise(e.start,`Unsyntactic `+t),this.finishNode(e,n?`BreakStatement`:`ContinueStatement`)},U.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,`DebuggerStatement`)},U.parseDoStatement=function(e){return this.next(),this.labels.push(ot),e.body=this.parseStatement(`do`),this.labels.pop(),this.expect(k._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(k.semi):this.semicolon(),this.finishNode(e,`DoWhileStatement`)},U.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual(`await`)?this.lastTokStart:-1;if(this.labels.push(ot),this.enterScope(0),this.expect(k.parenL),this.type===k.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===k._var||this.type===k._const||n){var r=this.startNode(),i=n?`let`:this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,`VariableDeclaration`),(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual(`of`))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var a=this.isContextual(`let`),o=!1,s=this.containsEsc,c=new at,l=this.start,u=t>-1?this.parseExprSubscripts(c,`await`):this.parseExpression(!0,c);return this.type===k._in||(o=this.options.ecmaVersion>=6&&this.isContextual(`of`))?(t>-1?(this.type===k._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(u.start===l&&!s&&u.type===`Identifier`&&u.name===`async`?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&o&&this.raise(u.start,`The left-hand side of a for-of loop may not start with 'let'.`),this.toAssignable(u,!1,c),this.checkLValPattern(u),this.parseForIn(e,u)):(this.checkExpressionErrors(c,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},U.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,W|(n?0:lt),!1,t)},U.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement(`if`),e.alternate=this.eat(k._else)?this.parseStatement(`if`):null,this.finishNode(e,`IfStatement`)},U.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,`'return' outside of function`),this.next(),this.eat(k.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,`ReturnStatement`)},U.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(k.braceL),this.labels.push(st),this.enterScope(0);for(var t,n=!1;this.type!==k.braceR;)if(this.type===k._case||this.type===k._default){var r=this.type===k._case;t&&this.finishNode(t,`SwitchCase`),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,`Multiple default clauses`),n=!0,t.test=null),this.expect(k.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,`SwitchCase`),this.next(),this.labels.pop(),this.finishNode(e,`SwitchStatement`)},U.parseThrowStatement=function(e){return this.next(),A.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,`Illegal newline after throw`),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,`ThrowStatement`)};var ct=[];U.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type===`Identifier`;return this.enterScope(t?Ke:0),this.checkLValPattern(e,t?nt:et),this.expect(k.parenR),e},U.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===k._catch){var t=this.startNode();this.next(),this.eat(k.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,`CatchClause`)}return e.finalizer=this.eat(k._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,`Missing catch or finally clause`),this.finishNode(e,`TryStatement`)},U.parseVarStatement=function(e,t,n){return this.next(),this.parseVar(e,!1,t,n),this.semicolon(),this.finishNode(e,`VariableDeclaration`)},U.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(ot),e.body=this.parseStatement(`while`),this.labels.pop(),this.finishNode(e,`WhileStatement`)},U.parseWithStatement=function(e){return this.strict&&this.raise(this.start,`'with' in strict mode`),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement(`with`),this.finishNode(e,`WithStatement`)},U.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,`EmptyStatement`)},U.parseLabeledStatement=function(e,t,n,r){for(var i=0,a=this.labels;i<a.length;i+=1)a[i].name===t&&this.raise(n.start,`Label '`+t+`' is already declared`);for(var o=this.type.isLoop?`loop`:this.type===k._switch?`switch`:null,s=this.labels.length-1;s>=0;s--){var c=this.labels[s];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf(`label`)===-1?r+`label`:r:`label`),this.labels.pop(),e.label=n,this.finishNode(e,`LabeledStatement`)},U.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,`ExpressionStatement`)},U.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(k.braceL),e&&this.enterScope(0);this.type!==k.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,`BlockStatement`)},U.parseFor=function(e,t){return e.init=t,this.expect(k.semi),e.test=this.type===k.semi?null:this.parseExpression(),this.expect(k.semi),e.update=this.type===k.parenR?null:this.parseExpression(),this.expect(k.parenR),e.body=this.parseStatement(`for`),this.exitScope(),this.labels.pop(),this.finishNode(e,`ForStatement`)},U.parseForIn=function(e,t){var n=this.type===k._in;return this.next(),t.type===`VariableDeclaration`&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!==`var`||t.declarations[0].id.type!==`Identifier`)&&this.raise(t.start,(n?`for-in`:`for-of`)+` loop variable declaration may not have an initializer`),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(k.parenR),e.body=this.parseStatement(`for`),this.exitScope(),this.labels.pop(),this.finishNode(e,n?`ForInStatement`:`ForOfStatement`)},U.parseVar=function(e,t,n,r){for(e.declarations=[],e.kind=n;;){var i=this.startNode();if(this.parseVarId(i,n),this.eat(k.eq)?i.init=this.parseMaybeAssign(t):!r&&n===`const`&&!(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual(`of`))?this.unexpected():!r&&i.id.type!==`Identifier`&&(!t||this.type!==k._in&&!this.isContextual(`of`))?this.raise(this.lastTokEnd,`Complex binding patterns require an initialization value`):i.init=null,e.declarations.push(this.finishNode(i,`VariableDeclarator`)),!this.eat(k.comma))break}return e},U.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t===`var`?$e:et,!1)};var W=1,lt=2,G=4;U.parseFunction=function(e,t,n,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===k.star&&t&lt&&this.unexpected(),e.generator=this.eat(k.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&W&&(e.id=t&G&&this.type!==k.name?null:this.parseIdent(),e.id&&!(t&lt)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?$e:et:tt));var a=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ze(e.async,e.generator)),t&W||(e.id=this.type===k.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,i),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&W?`FunctionDeclaration`:`FunctionExpression`)},U.parseFunctionParams=function(e){this.expect(k.parenL),e.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},U.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.enterClassBody(),i=this.startNode(),a=!1;for(i.body=[],this.expect(k.braceL);this.type!==k.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(i.body.push(o),o.type===`MethodDefinition`&&o.kind===`constructor`?(a&&this.raiseRecoverable(o.start,`Duplicate constructor in the same class`),a=!0):o.key&&o.key.type===`PrivateIdentifier`&&ut(r,o)&&this.raiseRecoverable(o.key.start,`Identifier '#`+o.key.name+`' has already been declared`))}return this.strict=n,this.next(),e.body=this.finishNode(i,`ClassBody`),this.exitClassBody(),this.finishNode(e,t?`ClassDeclaration`:`ClassExpression`)},U.parseClassElement=function(e){if(this.eat(k.semi))return null;var t=this.options.ecmaVersion,n=this.startNode(),r=``,i=!1,a=!1,o=`method`,s=!1;if(this.eatContextual(`static`)){if(t>=13&&this.eat(k.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===k.star?s=!0:r=`static`}if(n.static=s,!r&&t>=8&&this.eatContextual(`async`)&&((this.isClassElementNameStart()||this.type===k.star)&&!this.canInsertSemicolon()?a=!0:r=`async`),!r&&(t>=9||!a)&&this.eat(k.star)&&(i=!0),!r&&!a&&!i){var c=this.value;(this.eatContextual(`get`)||this.eatContextual(`set`))&&(this.isClassElementNameStart()?o=c:r=c)}if(r?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=r,this.finishNode(n.key,`Identifier`)):this.parseClassElementName(n),t<13||this.type===k.parenL||o!==`method`||i||a){var l=!n.static&&dt(n,`constructor`),u=l&&e;l&&o!==`method`&&this.raise(n.key.start,`Constructor can't have get/set modifier`),n.kind=l?`constructor`:o,this.parseClassMethod(n,i,a,u)}else this.parseClassField(n);return n},U.isClassElementNameStart=function(){return this.type===k.name||this.type===k.privateId||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword},U.parseClassElementName=function(e){this.type===k.privateId?(this.value===`constructor`&&this.raise(this.start,`Classes can't have an element named '#constructor'`),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},U.parseClassMethod=function(e,t,n,r){var i=e.key;e.kind===`constructor`?(t&&this.raise(i.start,`Constructor can't be a generator`),n&&this.raise(i.start,`Constructor can't be an async method`)):e.static&&dt(e,`prototype`)&&this.raise(i.start,`Classes may not have a static property named prototype`);var a=e.value=this.parseMethod(t,n,r);return e.kind===`get`&&a.params.length!==0&&this.raiseRecoverable(a.start,`getter should have no params`),e.kind===`set`&&a.params.length!==1&&this.raiseRecoverable(a.start,`setter should have exactly one param`),e.kind===`set`&&a.params[0].type===`RestElement`&&this.raiseRecoverable(a.params[0].start,`Setter cannot use rest params`),this.finishNode(e,`MethodDefinition`)},U.parseClassField=function(e){if(dt(e,`constructor`)?this.raise(e.key.start,`Classes can't have a field named 'constructor'`):e.static&&dt(e,`prototype`)&&this.raise(e.key.start,`Classes can't have a static field named 'prototype'`),this.eat(k.eq)){var t=this.currentThisScope(),n=t.inClassFieldInit;t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=n}else e.value=null;return this.semicolon(),this.finishNode(e,`PropertyDefinition`)},U.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(Ye|qe);this.type!==k.braceR;){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,`StaticBlock`)},U.parseClassId=function(e,t){this.type===k.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,et,!1)):(t===!0&&this.unexpected(),e.id=null)},U.parseClassSuper=function(e){e.superClass=this.eat(k._extends)?this.parseExprSubscripts(null,!1):null},U.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},U.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,n=e.used;if(this.options.checkPrivateFields)for(var r=this.privateNameStack.length,i=r===0?null:this.privateNameStack[r-1],a=0;a<n.length;++a){var o=n[a];Me(t,o.name)||(i?i.used.push(o):this.raiseRecoverable(o.start,`Private field '#`+o.name+`' must be declared in an enclosing class`))}};function ut(e,t){var n=t.key.name,r=e[n],i=`true`;return t.type===`MethodDefinition`&&(t.kind===`get`||t.kind===`set`)&&(i=(t.static?`s`:`i`)+t.kind),r===`iget`&&i===`iset`||r===`iset`&&i===`iget`||r===`sget`&&i===`sset`||r===`sset`&&i===`sget`?(e[n]=`true`,!1):r?!0:(e[n]=i,!1)}function dt(e,t){var n=e.computed,r=e.key;return!n&&(r.type===`Identifier`&&r.name===t||r.type===`Literal`&&r.value===t)}U.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual(`as`)?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual(`from`),this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,`ExportAllDeclaration`)},U.parseExport=function(e,t){if(this.next(),this.eat(k.star))return this.parseExportAllDeclaration(e,t);if(this.eat(k._default))return this.checkExport(t,`default`,this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,`ExportDefaultDeclaration`);if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type===`VariableDeclaration`?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual(`from`))this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var n=0,r=e.specifiers;n<r.length;n+=1){var i=r[n];this.checkUnreserved(i.local),this.checkLocalExport(i.local),i.local.type===`Literal`&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,`ExportNamedDeclaration`)},U.parseExportDeclaration=function(e){return this.parseStatement(null)},U.parseExportDefaultDeclaration=function(){var e;if(this.type===k._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,W|G,!1,e)}if(this.type===k._class){var n=this.startNode();return this.parseClass(n,`nullableID`)}var r=this.parseMaybeAssign();return this.semicolon(),r},U.checkExport=function(e,t,n){e&&(typeof t!=`string`&&(t=t.type===`Identifier`?t.name:t.value),Me(e,t)&&this.raiseRecoverable(n,`Duplicate export '`+t+`'`),e[t]=!0)},U.checkPatternExport=function(e,t){var n=t.type;if(n===`Identifier`)this.checkExport(e,t,t.start);else if(n===`ObjectPattern`)for(var r=0,i=t.properties;r<i.length;r+=1){var a=i[r];this.checkPatternExport(e,a)}else if(n===`ArrayPattern`)for(var o=0,s=t.elements;o<s.length;o+=1){var c=s[o];c&&this.checkPatternExport(e,c)}else n===`Property`?this.checkPatternExport(e,t.value):n===`AssignmentPattern`?this.checkPatternExport(e,t.left):n===`RestElement`&&this.checkPatternExport(e,t.argument)},U.checkVariableExport=function(e,t){if(e)for(var n=0,r=t;n<r.length;n+=1){var i=r[n];this.checkPatternExport(e,i.id)}},U.shouldParseExportStatement=function(){return this.type.keyword===`var`||this.type.keyword===`const`||this.type.keyword===`class`||this.type.keyword===`function`||this.isLet()||this.isAsyncFunction()},U.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual(`as`)?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,`ExportSpecifier`)},U.parseExportSpecifiers=function(e){var t=[],n=!0;for(this.expect(k.braceL);!this.eat(k.braceR);){if(n)n=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;t.push(this.parseExportSpecifier(e))}return t},U.parseImport=function(e){return this.next(),this.type===k.string?(e.specifiers=ct,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual(`from`),e.source=this.type===k.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,`ImportDeclaration`)},U.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual(`as`)?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,et),this.finishNode(e,`ImportSpecifier`)},U.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,et),this.finishNode(e,`ImportDefaultSpecifier`)},U.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual(`as`),e.local=this.parseIdent(),this.checkLValSimple(e.local,et),this.finishNode(e,`ImportNamespaceSpecifier`)},U.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===k.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(k.comma)))return e;if(this.type===k.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(k.braceL);!this.eat(k.braceR);){if(t)t=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;e.push(this.parseImportSpecifier())}return e},U.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===k.string){var e=this.parseLiteral(this.value);return Le.test(e.value)&&this.raise(e.start,`An export name cannot include a lone surrogate.`),e}return this.parseIdent(!0)},U.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},U.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type===`ExpressionStatement`&&e.expression.type===`Literal`&&typeof e.expression.value==`string`&&(this.input[e.start]===`"`||this.input[e.start]===`'`)};var K=B.prototype;K.toAssignable=function(e,t,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case`Identifier`:this.inAsync&&e.name===`await`&&this.raise(e.start,`Cannot use 'await' as identifier inside an async function`);break;case`ObjectPattern`:case`ArrayPattern`:case`AssignmentPattern`:case`RestElement`:break;case`ObjectExpression`:e.type=`ObjectPattern`,n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];this.toAssignable(a,t),a.type===`RestElement`&&(a.argument.type===`ArrayPattern`||a.argument.type===`ObjectPattern`)&&this.raise(a.argument.start,`Unexpected token`)}break;case`Property`:e.kind!==`init`&&this.raise(e.key.start,`Object pattern can't contain getter or setter`),this.toAssignable(e.value,t);break;case`ArrayExpression`:e.type=`ArrayPattern`,n&&this.checkPatternErrors(n,!0),this.toAssignableList(e.elements,t);break;case`SpreadElement`:e.type=`RestElement`,this.toAssignable(e.argument,t),e.argument.type===`AssignmentPattern`&&this.raise(e.argument.start,`Rest elements cannot have a default value`);break;case`AssignmentExpression`:e.operator!==`=`&&this.raise(e.left.end,`Only '=' operator can be used for specifying default value.`),e.type=`AssignmentPattern`,delete e.operator,this.toAssignable(e.left,t);break;case`ParenthesizedExpression`:this.toAssignable(e.expression,t,n);break;case`ChainExpression`:this.raiseRecoverable(e.start,`Optional chaining cannot appear in left-hand side`);break;case`MemberExpression`:if(!t)break;default:this.raise(e.start,`Assigning to rvalue`)}else n&&this.checkPatternErrors(n,!0);return e},K.toAssignableList=function(e,t){for(var n=e.length,r=0;r<n;r++){var i=e[r];i&&this.toAssignable(i,t)}if(n){var a=e[n-1];this.options.ecmaVersion===6&&t&&a&&a.type===`RestElement`&&a.argument.type!==`Identifier`&&this.unexpected(a.argument.start)}return e},K.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,`SpreadElement`)},K.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==k.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,`RestElement`)},K.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case k.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(k.bracketR,!0,!0),this.finishNode(e,`ArrayPattern`);case k.braceL:return this.parseObj(!0)}return this.parseIdent()},K.parseBindingList=function(e,t,n,r){for(var i=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(k.comma),t&&this.type===k.comma)i.push(null);else if(n&&this.afterTrailingComma(e))break;else if(this.type===k.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),i.push(o),this.type===k.comma&&this.raiseRecoverable(this.start,`Comma is not permitted after the rest element`),this.expect(e);break}else i.push(this.parseAssignableListItem(r));return i},K.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},K.parseBindingListItem=function(e){return e},K.parseMaybeDefault=function(e,t,n){if(n||=this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(k.eq))return n;var r=this.startNodeAt(e,t);return r.left=n,r.right=this.parseMaybeAssign(),this.finishNode(r,`AssignmentPattern`)},K.checkLValSimple=function(e,t,n){t===void 0&&(t=Qe);var r=t!==Qe;switch(e.type){case`Identifier`:this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(r?`Binding `:`Assigning to `)+e.name+` in strict mode`),r&&(t===et&&e.name===`let`&&this.raiseRecoverable(e.start,`let is disallowed as a lexically bound name`),n&&(Me(n,e.name)&&this.raiseRecoverable(e.start,`Argument name clash`),n[e.name]=!0),t!==rt&&this.declareName(e.name,t,e.start));break;case`ChainExpression`:this.raiseRecoverable(e.start,`Optional chaining cannot appear in left-hand side`);break;case`MemberExpression`:r&&this.raiseRecoverable(e.start,`Binding member expression`);break;case`ParenthesizedExpression`:return r&&this.raiseRecoverable(e.start,`Binding parenthesized expression`),this.checkLValSimple(e.expression,t,n);default:this.raise(e.start,(r?`Binding`:`Assigning to`)+` rvalue`)}},K.checkLValPattern=function(e,t,n){switch(t===void 0&&(t=Qe),e.type){case`ObjectPattern`:for(var r=0,i=e.properties;r<i.length;r+=1){var a=i[r];this.checkLValInnerPattern(a,t,n)}break;case`ArrayPattern`:for(var o=0,s=e.elements;o<s.length;o+=1){var c=s[o];c&&this.checkLValInnerPattern(c,t,n)}break;default:this.checkLValSimple(e,t,n)}},K.checkLValInnerPattern=function(e,t,n){switch(t===void 0&&(t=Qe),e.type){case`Property`:this.checkLValInnerPattern(e.value,t,n);break;case`AssignmentPattern`:this.checkLValPattern(e.left,t,n);break;case`RestElement`:this.checkLValPattern(e.argument,t,n);break;default:this.checkLValPattern(e,t,n)}};var ft=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},q={b_stat:new ft(`{`,!1),b_expr:new ft(`{`,!0),b_tmpl:new ft("${",!1),p_stat:new ft(`(`,!1),p_expr:new ft(`(`,!0),q_tmpl:new ft("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ft(`function`,!1),f_expr:new ft(`function`,!0),f_expr_gen:new ft(`function`,!0,!1,null,!0),f_gen:new ft(`function`,!1,!1,null,!0)},pt=B.prototype;pt.initialContext=function(){return[q.b_stat]},pt.curContext=function(){return this.context[this.context.length-1]},pt.braceIsBlock=function(e){var t=this.curContext();return t===q.f_expr||t===q.f_stat?!0:e===k.colon&&(t===q.b_stat||t===q.b_expr)?!t.isExpr:e===k._return||e===k.name&&this.exprAllowed?A.test(this.input.slice(this.lastTokEnd,this.start)):e===k._else||e===k.semi||e===k.eof||e===k.parenR||e===k.arrow?!0:e===k.braceL?t===q.b_stat:e===k._var||e===k._const||e===k.name?!1:!this.exprAllowed},pt.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token===`function`)return t.generator}return!1},pt.updateContext=function(e){var t,n=this.type;n.keyword&&e===k.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},pt.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},k.parenR.updateContext=k.braceR.updateContext=function(){if(this.context.length===1)this.exprAllowed=!0;else{var e=this.context.pop();e===q.b_stat&&this.curContext().token===`function`&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}},k.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?q.b_stat:q.b_expr),this.exprAllowed=!0},k.dollarBraceL.updateContext=function(){this.context.push(q.b_tmpl),this.exprAllowed=!0},k.parenL.updateContext=function(e){var t=e===k._if||e===k._for||e===k._with||e===k._while;this.context.push(t?q.p_stat:q.p_expr),this.exprAllowed=!0},k.incDec.updateContext=function(){},k._function.updateContext=k._class.updateContext=function(e){e.beforeExpr&&e!==k._else&&(e!==k.semi||this.curContext()===q.p_stat)&&!(e===k._return&&A.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==k.colon&&e!==k.braceL||this.curContext()!==q.b_stat)?this.context.push(q.f_expr):this.context.push(q.f_stat),this.exprAllowed=!1},k.colon.updateContext=function(){this.curContext().token===`function`&&this.context.pop(),this.exprAllowed=!0},k.backQuote.updateContext=function(){this.curContext()===q.q_tmpl?this.context.pop():this.context.push(q.q_tmpl),this.exprAllowed=!1},k.star.updateContext=function(e){if(e===k._function){var t=this.context.length-1;this.context[t]===q.f_expr?this.context[t]=q.f_expr_gen:this.context[t]=q.f_gen}this.exprAllowed=!0},k.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==k.dot&&(this.value===`of`&&!this.exprAllowed||this.value===`yield`&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var J=B.prototype;J.checkPropClash=function(e,t,n){if(!(this.options.ecmaVersion>=9&&e.type===`SpreadElement`)&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var r=e.key,i;switch(r.type){case`Identifier`:i=r.name;break;case`Literal`:i=String(r.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6)i===`__proto__`&&a===`init`&&(t.proto&&(n?n.doubleProto<0&&(n.doubleProto=r.start):this.raiseRecoverable(r.start,`Redefinition of __proto__ property`)),t.proto=!0);else{i=`$`+i;var o=t[i];o?(a===`init`?this.strict&&o.init||o.get||o.set:o.init||o[a])&&this.raiseRecoverable(r.start,`Redefinition of property`):o=t[i]={init:!1,get:!1,set:!1},o[a]=!0}}},J.parseExpression=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===k.comma){var a=this.startNodeAt(n,r);for(a.expressions=[i];this.eat(k.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,`SequenceExpression`)}return i},J.parseMaybeAssign=function(e,t,n){if(this.isContextual(`yield`)){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var r=!1,i=-1,a=-1,o=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new at,r=!0);var s=this.start,c=this.startLoc;(this.type===k.parenL||this.type===k.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e===`await`);var l=this.parseMaybeConditional(e,t);if(n&&(l=n.call(this,l,s,c)),this.type.isAssign){var u=this.startNodeAt(s,c);return u.operator=this.value,this.type===k.eq&&(l=this.toAssignable(l,!1,t)),r||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=l.start&&(t.shorthandAssign=-1),this.type===k.eq?this.checkLValPattern(l):this.checkLValSimple(l),u.left=l,this.next(),u.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(u,`AssignmentExpression`)}return r&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),l},J.parseMaybeConditional=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(k.question)){var a=this.startNodeAt(n,r);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(k.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,`ConditionalExpression`)}return i},J.parseExprOps=function(e,t){var n=this.start,r=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===n&&i.type===`ArrowFunctionExpression`?i:this.parseExprOp(i,n,r,-1,e)},J.parseExprOp=function(e,t,n,r,i){var a=this.type.binop;if(a!=null&&(!i||this.type!==k._in)&&a>r){var o=this.type===k.logicalOR||this.type===k.logicalAND,s=this.type===k.coalesce;s&&(a=k.logicalAND.binop);var c=this.value;this.next();var l=this.start,u=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),l,u,a,i),f=this.buildBinary(t,n,e,d,c,o||s);return(o&&this.type===k.coalesce||s&&(this.type===k.logicalOR||this.type===k.logicalAND))&&this.raiseRecoverable(this.start,`Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses`),this.parseExprOp(f,t,n,r,i)}return e},J.buildBinary=function(e,t,n,r,i,a){r.type===`PrivateIdentifier`&&this.raise(r.start,`Private identifier can only be left side of binary expression`);var o=this.startNodeAt(e,t);return o.left=n,o.operator=i,o.right=r,this.finishNode(o,a?`LogicalExpression`:`BinaryExpression`)},J.parseMaybeUnary=function(e,t,n,r){var i=this.start,a=this.startLoc,o;if(this.isContextual(`await`)&&this.canAwait)o=this.parseAwait(r),t=!0;else if(this.type.prefix){var s=this.startNode(),c=this.type===k.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0,c,r),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(s.argument):this.strict&&s.operator===`delete`&&mt(s.argument)?this.raiseRecoverable(s.start,`Deleting local variable in strict mode`):s.operator===`delete`&&Y(s.argument)?this.raiseRecoverable(s.start,`Private fields can not be deleted`):t=!0,o=this.finishNode(s,c?`UpdateExpression`:`UnaryExpression`)}else if(!t&&this.type===k.privateId)(r||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),o=this.parsePrivateIdent(),this.type!==k._in&&this.unexpected();else{if(o=this.parseExprSubscripts(e,r),this.checkExpressionErrors(e))return o;for(;this.type.postfix&&!this.canInsertSemicolon();){var l=this.startNodeAt(i,a);l.operator=this.value,l.prefix=!1,l.argument=o,this.checkLValSimple(o),this.next(),o=this.finishNode(l,`UpdateExpression`)}}if(!n&&this.eat(k.starstar)){if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(i,a,o,this.parseMaybeUnary(null,!1,!1,r),`**`,!1)}else return o};function mt(e){return e.type===`Identifier`||e.type===`ParenthesizedExpression`&&mt(e.expression)}function Y(e){return e.type===`MemberExpression`&&e.property.type===`PrivateIdentifier`||e.type===`ChainExpression`&&Y(e.expression)||e.type===`ParenthesizedExpression`&&Y(e.expression)}J.parseExprSubscripts=function(e,t){var n=this.start,r=this.startLoc,i=this.parseExprAtom(e,t);if(i.type===`ArrowFunctionExpression`&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==`)`)return i;var a=this.parseSubscripts(i,n,r,!1,t);return e&&a.type===`MemberExpression`&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},J.parseSubscripts=function(e,t,n,r,i){for(var a=this.options.ecmaVersion>=8&&e.type===`Identifier`&&e.name===`async`&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,o=!1;;){var s=this.parseSubscript(e,t,n,r,a,o,i);if(s.optional&&(o=!0),s===e||s.type===`ArrowFunctionExpression`){if(o){var c=this.startNodeAt(t,n);c.expression=s,s=this.finishNode(c,`ChainExpression`)}return s}e=s}},J.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(k.arrow)},J.parseSubscriptAsyncArrow=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!0,r)},J.parseSubscript=function(e,t,n,r,i,a,o){var s=this.options.ecmaVersion>=11,c=s&&this.eat(k.questionDot);r&&c&&this.raise(this.lastTokStart,`Optional chaining cannot appear in the callee of new expressions`);var l=this.eat(k.bracketL);if(l||c&&this.type!==k.parenL&&this.type!==k.backQuote||this.eat(k.dot)){var u=this.startNodeAt(t,n);u.object=e,l?(u.property=this.parseExpression(),this.expect(k.bracketR)):u.property=this.type===k.privateId&&e.type!==`Super`?this.parsePrivateIdent():this.parseIdent(this.options.allowReserved!==`never`),u.computed=!!l,s&&(u.optional=c),e=this.finishNode(u,`MemberExpression`)}else if(!r&&this.eat(k.parenL)){var d=new at,f=this.yieldPos,p=this.awaitPos,m=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var h=this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1,d);if(i&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,`Cannot use 'await' as identifier inside an async function`),this.yieldPos=f,this.awaitPos=p,this.awaitIdentPos=m,this.parseSubscriptAsyncArrow(t,n,h,o);this.checkExpressionErrors(d,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=p||this.awaitPos,this.awaitIdentPos=m||this.awaitIdentPos;var g=this.startNodeAt(t,n);g.callee=e,g.arguments=h,s&&(g.optional=c),e=this.finishNode(g,`CallExpression`)}else if(this.type===k.backQuote){(c||a)&&this.raise(this.start,`Optional chaining cannot appear in the tag of tagged template expressions`);var _=this.startNodeAt(t,n);_.tag=e,_.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(_,`TaggedTemplateExpression`)}return e},J.parseExprAtom=function(e,t,n){this.type===k.slash&&this.readRegexp();var r,i=this.potentialArrowAt===this.start;switch(this.type){case k._super:return this.allowSuper||this.raise(this.start,`'super' keyword outside a method`),r=this.startNode(),this.next(),this.type===k.parenL&&!this.allowDirectSuper&&this.raise(r.start,`super() call outside constructor of a subclass`),this.type!==k.dot&&this.type!==k.bracketL&&this.type!==k.parenL&&this.unexpected(),this.finishNode(r,`Super`);case k._this:return r=this.startNode(),this.next(),this.finishNode(r,`ThisExpression`);case k.name:var a=this.start,o=this.startLoc,s=this.containsEsc,c=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&c.name===`async`&&!this.canInsertSemicolon()&&this.eat(k._function))return this.overrideContext(q.f_expr),this.parseFunction(this.startNodeAt(a,o),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(k.arrow))return this.parseArrowExpression(this.startNodeAt(a,o),[c],!1,t);if(this.options.ecmaVersion>=8&&c.name===`async`&&this.type===k.name&&!s&&(!this.potentialArrowInForAwait||this.value!==`of`||this.containsEsc))return c=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(k.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,o),[c],!0,t)}return c;case k.regexp:var l=this.value;return r=this.parseLiteral(l.value),r.regex={pattern:l.pattern,flags:l.flags},r;case k.num:case k.string:return this.parseLiteral(this.value);case k._null:case k._true:case k._false:return r=this.startNode(),r.value=this.type===k._null?null:this.type===k._true,r.raw=this.type.keyword,this.next(),this.finishNode(r,`Literal`);case k.parenL:var u=this.start,d=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(d)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),d;case k.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(k.bracketR,!0,!0,e),this.finishNode(r,`ArrayExpression`);case k.braceL:return this.overrideContext(q.b_expr),this.parseObj(!1,e);case k._function:return r=this.startNode(),this.next(),this.parseFunction(r,0);case k._class:return this.parseClass(this.startNode(),!1);case k._new:return this.parseNew();case k.backQuote:return this.parseTemplate();case k._import:return this.options.ecmaVersion>=11?this.parseExprImport(n):this.unexpected();default:return this.parseExprAtomDefault()}},J.parseExprAtomDefault=function(){this.unexpected()},J.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword import`),this.next(),this.type===k.parenL&&!e)return this.parseDynamicImport(t);if(this.type===k.dot){var n=this.startNodeAt(t.start,t.loc&&t.loc.start);return n.name=`import`,t.meta=this.finishNode(n,`Identifier`),this.parseImportMeta(t)}this.unexpected()},J.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(k.parenR)){var t=this.start;this.eat(k.comma)&&this.eat(k.parenR)?this.raiseRecoverable(t,`Trailing comma is not allowed in import()`):this.unexpected(t)}return this.finishNode(e,`ImportExpression`)},J.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!==`meta`&&this.raiseRecoverable(e.property.start,`The only valid meta property for import is 'import.meta'`),t&&this.raiseRecoverable(e.start,`'import.meta' must not contain escaped characters`),this.options.sourceType!==`module`&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,`Cannot use 'import.meta' outside a module`),this.finishNode(e,`MetaProperty`)},J.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,``)),this.next(),this.finishNode(t,`Literal`)},J.parseParenExpression=function(){this.expect(k.parenL);var e=this.parseExpression();return this.expect(k.parenR),e},J.shouldParseArrow=function(e){return!this.canInsertSemicolon()},J.parseParenAndDistinguishExpression=function(e,t){var n=this.start,r=this.startLoc,i,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,s=this.startLoc,c=[],l=!0,u=!1,d=new at,f=this.yieldPos,p=this.awaitPos,m;for(this.yieldPos=0,this.awaitPos=0;this.type!==k.parenR;){if(l?l=!1:this.expect(k.comma),a&&this.afterTrailingComma(k.parenR,!0)){u=!0;break}if(this.type===k.ellipsis){m=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===k.comma&&this.raiseRecoverable(this.start,`Comma is not permitted after the rest element`);break}c.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var h=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(k.parenR),e&&this.shouldParseArrow(c)&&this.eat(k.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=f,this.awaitPos=p,this.parseParenArrowList(n,r,c,t);(!c.length||u)&&this.unexpected(this.lastTokStart),m&&this.unexpected(m),this.checkExpressionErrors(d,!0),this.yieldPos=f||this.yieldPos,this.awaitPos=p||this.awaitPos,c.length>1?(i=this.startNodeAt(o,s),i.expressions=c,this.finishNodeAt(i,`SequenceExpression`,h,g)):i=c[0]}else i=this.parseParenExpression();if(this.options.preserveParens){var _=this.startNodeAt(n,r);return _.expression=i,this.finishNode(_,`ParenthesizedExpression`)}return i},J.parseParenItem=function(e){return e},J.parseParenArrowList=function(e,t,n,r){return this.parseArrowExpression(this.startNodeAt(e,t),n,!1,r)};var ht=[];J.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword new`);var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===k.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name=`new`,e.meta=this.finishNode(t,`Identifier`),this.next();var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!==`target`&&this.raiseRecoverable(e.property.start,`The only valid meta property for new is 'new.target'`),n&&this.raiseRecoverable(e.start,`'new.target' must not contain escaped characters`),this.allowNewDotTarget||this.raiseRecoverable(e.start,`'new.target' can only be used in functions and class static block`),this.finishNode(e,`MetaProperty`)}var r=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),r,i,!0,!1),e.arguments=this.eat(k.parenL)?this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1):ht,this.finishNode(e,`NewExpression`)},J.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===k.invalidTemplate?(t||this.raiseRecoverable(this.start,`Bad escape sequence in untagged template literal`),n.value={raw:this.value.replace(/\r\n?/g,`
63
+ `),cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
64
+ `),cooked:this.value},this.next(),n.tail=this.type===k.backQuote,this.finishNode(n,`TemplateElement`)},J.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===k.eof&&this.raise(this.pos,`Unterminated template literal`),this.expect(k.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(k.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,`TemplateLiteral`)},J.isAsyncProp=function(e){return!e.computed&&e.key.type===`Identifier`&&e.key.name===`async`&&(this.type===k.name||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===k.star)&&!A.test(this.input.slice(this.lastTokEnd,this.start))},J.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(k.braceR);){if(r)r=!1;else if(this.expect(k.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(k.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),n.properties.push(a)}return this.finishNode(n,e?`ObjectPattern`:`ObjectExpression`)},J.parseProperty=function(e,t){var n=this.startNode(),r,i,a,o;if(this.options.ecmaVersion>=9&&this.eat(k.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===k.comma&&this.raiseRecoverable(this.start,`Comma is not permitted after the rest element`),this.finishNode(n,`RestElement`)):(n.argument=this.parseMaybeAssign(!1,t),this.type===k.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,`SpreadElement`));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(a=this.start,o=this.startLoc),e||(r=this.eat(k.star)));var s=this.containsEsc;return this.parsePropertyName(n),!e&&!s&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(k.star),this.parsePropertyName(n)):i=!1,this.parsePropertyValue(n,e,r,i,a,o,t,s),this.finishNode(n,`Property`)},J.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t=e.kind===`get`?0:1;if(e.value.params.length!==t){var n=e.value.start;e.kind===`get`?this.raiseRecoverable(n,`getter should have no params`):this.raiseRecoverable(n,`setter should have exactly one param`)}else e.kind===`set`&&e.value.params[0].type===`RestElement`&&this.raiseRecoverable(e.value.params[0].start,`Setter cannot use rest params`)},J.parsePropertyValue=function(e,t,n,r,i,a,o,s){(n||r)&&this.type===k.colon&&this.unexpected(),this.eat(k.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind=`init`):this.options.ecmaVersion>=6&&this.type===k.parenL?(t&&this.unexpected(),e.kind=`init`,e.method=!0,e.value=this.parseMethod(n,r)):!t&&!s&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type===`Identifier`&&(e.key.name===`get`||e.key.name===`set`)&&this.type!==k.comma&&this.type!==k.braceR&&this.type!==k.eq?((n||r)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type===`Identifier`?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name===`await`&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind=`init`,t?e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key)):this.type===k.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected()},J.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(k.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(k.bracketR),e.key;e.computed=!1}return e.key=this.type===k.num||this.type===k.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!==`never`)},J.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},J.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ze(t,r.generator)|qe|(n?Je:0)),this.expect(k.parenL),r.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(r,`FunctionExpression`)},J.parseArrowExpression=function(e,t,n,r){var i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Ze(n,!1)|Ge),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,r),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,`ArrowFunctionExpression`)},J.parseFunctionBody=function(e,t,n,r){var i=t&&this.type!==k.braceL,a=this.strict,o=!1;if(i)e.body=this.parseMaybeAssign(r),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||s)&&(o=this.strictDirective(this.end),o&&s&&this.raiseRecoverable(e.start,`Illegal 'use strict' directive in function with non-simple parameter list`));var c=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,rt),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=c}this.exitScope()},J.isSimpleParamList=function(e){for(var t=0,n=e;t<n.length;t+=1)if(n[t].type!==`Identifier`)return!1;return!0},J.checkParams=function(e,t){for(var n=Object.create(null),r=0,i=e.params;r<i.length;r+=1){var a=i[r];this.checkLValInnerPattern(a,$e,t?null:n)}},J.parseExprList=function(e,t,n,r){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(k.comma),t&&this.afterTrailingComma(e))break;var o=void 0;n&&this.type===k.comma?o=null:this.type===k.ellipsis?(o=this.parseSpread(r),r&&this.type===k.comma&&r.trailingComma<0&&(r.trailingComma=this.start)):o=this.parseMaybeAssign(!1,r),i.push(o)}return i},J.checkUnreserved=function(e){var t=e.start,n=e.end,r=e.name;this.inGenerator&&r===`yield`&&this.raiseRecoverable(t,`Cannot use 'yield' as identifier inside a generator`),this.inAsync&&r===`await`&&this.raiseRecoverable(t,`Cannot use 'await' as identifier inside an async function`),this.currentThisScope().inClassFieldInit&&r===`arguments`&&this.raiseRecoverable(t,`Cannot use 'arguments' in class field initializer`),this.inClassStaticBlock&&(r===`arguments`||r===`await`)&&this.raise(t,`Cannot use `+r+` in class static initialization block`),this.keywords.test(r)&&this.raise(t,`Unexpected keyword '`+r+`'`),!(this.options.ecmaVersion<6&&this.input.slice(t,n).indexOf(`\\`)!==-1)&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(r)&&(!this.inAsync&&r===`await`&&this.raiseRecoverable(t,`Cannot use keyword 'await' outside an async function`),this.raiseRecoverable(t,`The keyword '`+r+`' is reserved`))},J.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,`Identifier`),e||(this.checkUnreserved(t),t.name===`await`&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t},J.parseIdentNode=function(){var e=this.startNode();return this.type===k.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name===`class`||e.name===`function`)&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=k.name):this.unexpected(),e},J.parsePrivateIdent=function(){var e=this.startNode();return this.type===k.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,`PrivateIdentifier`),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,`Private field '#`+e.name+`' must be declared in an enclosing class`):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},J.parseYield=function(e){this.yieldPos||=this.start;var t=this.startNode();return this.next(),this.type===k.semi||this.canInsertSemicolon()||this.type!==k.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(k.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,`YieldExpression`)},J.parseAwait=function(e){this.awaitPos||=this.start;var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,`AwaitExpression`)};var gt=B.prototype;gt.raise=function(e,t){var n=R(this.input,e);t+=` (`+n.line+`:`+n.column+`)`;var r=SyntaxError(t);throw r.pos=e,r.loc=n,r.raisedAt=this.pos,r},gt.raiseRecoverable=gt.raise,gt.curPosition=function(){if(this.options.locations)return new I(this.curLine,this.pos-this.lineStart)};var _t=B.prototype,vt=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};_t.enterScope=function(e){this.scopeStack.push(new vt(e))},_t.exitScope=function(){this.scopeStack.pop()},_t.treatFunctionsAsVarInScope=function(e){return e.flags&He||!this.inModule&&e.flags&Ve},_t.declareName=function(e,t,n){var r=!1;if(t===et){var i=this.currentScope();r=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&Ve&&delete this.undefinedExports[e]}else if(t===nt)this.currentScope().lexical.push(e);else if(t===tt){var a=this.currentScope();r=this.treatFunctionsAsVar?a.lexical.indexOf(e)>-1:a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var s=this.scopeStack[o];if(s.lexical.indexOf(e)>-1&&!(s.flags&Ke&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){r=!0;break}if(s.var.push(e),this.inModule&&s.flags&Ve&&delete this.undefinedExports[e],s.flags&Xe)break}r&&this.raiseRecoverable(n,`Identifier '`+e+`' has already been declared`)},_t.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},_t.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},_t.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Xe)return t}},_t.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Xe&&!(t.flags&Ge))return t}};var yt=function(e,t,n){this.type=``,this.start=t,this.end=0,e.options.locations&&(this.loc=new L(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},bt=B.prototype;bt.startNode=function(){return new yt(this,this.start,this.startLoc)},bt.startNodeAt=function(e,t){return new yt(this,e,t)};function xt(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}bt.finishNode=function(e,t){return xt.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},bt.finishNodeAt=function(e,t,n,r){return xt.call(this,e,t,n,r)},bt.copyNode=function(e){var t=new yt(this,e.start,this.startLoc);for(var n in e)t[n]=e[n];return t};var St=`ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS`,Ct=St+` Extended_Pictographic`,wt=Ct,Tt=wt+` EBase EComp EMod EPres ExtPict`,X=Tt,Et={9:St,10:Ct,11:wt,12:Tt,13:X,14:X},Dt={9:``,10:``,11:``,12:``,13:``,14:`Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji`},Ot=`Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu`,kt=`Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb`,At=kt+` Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd`,jt=At+` Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho`,Mt=jt+` Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi`,Nt=Mt+` Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith`,Pt={9:kt,10:At,11:jt,12:Mt,13:Nt,14:Nt+` Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz`},Ft={};function It(e){var t=Ft[e]={binary:Fe(Et[e]+` `+Ot),binaryOfStrings:Fe(Dt[e]),nonBinary:{General_Category:Fe(Ot),Script:Fe(Pt[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(Rt=0,zt=[9,10,11,12,13,14];Rt<zt.length;Rt+=1)Lt=zt[Rt],It(Lt);var Lt,Rt,zt,Z=B.prototype,Bt=function(e,t){this.parent=e,this.base=t||this};Bt.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var n=e;n;n=n.parent)if(t.base===n.base&&t!==n)return!0;return!1},Bt.prototype.sibling=function(){return new Bt(this.parent,this.base)};var Vt=function(e){this.parser=e,this.validFlags=`gim`+(e.options.ecmaVersion>=6?`uy`:``)+(e.options.ecmaVersion>=9?`s`:``)+(e.options.ecmaVersion>=13?`d`:``)+(e.options.ecmaVersion>=15?`v`:``),this.unicodeProperties=Ft[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source=``,this.flags=``,this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue=``,this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Vt.prototype.reset=function(e,t,n){var r=n.indexOf(`v`)!==-1,i=n.indexOf(`u`)!==-1;this.start=e|0,this.source=t+``,this.flags=n,r&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=i&&this.parser.options.ecmaVersion>=9)},Vt.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,`Invalid regular expression: /`+this.source+`/: `+e)},Vt.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var a=n.charCodeAt(e+1);return a>=56320&&a<=57343?(i<<10)+a-56613888:i},Vt.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i=n.charCodeAt(e),a;return!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(a=n.charCodeAt(e+1))<56320||a>57343?e+1:e+2},Vt.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},Vt.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},Vt.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},Vt.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},Vt.prototype.eatChars=function(e,t){t===void 0&&(t=!1);for(var n=this.pos,r=0,i=e;r<i.length;r+=1){var a=i[r],o=this.at(n,t);if(o===-1||o!==a)return!1;n=this.nextIndex(n,t)}return this.pos=n,!0},Z.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=!1,i=!1,a=0;a<n.length;a++){var o=n.charAt(a);t.indexOf(o)===-1&&this.raise(e.start,`Invalid regular expression flag`),n.indexOf(o,a+1)>-1&&this.raise(e.start,`Duplicate regular expression flag`),o===`u`&&(r=!0),o===`v`&&(i=!0)}this.options.ecmaVersion>=15&&r&&i&&this.raise(e.start,`Invalid regular expression flag`)};function Ht(e){for(var t in e)return!0;return!1}Z.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&Ht(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},Z.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue=``,e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise(`Unmatched ')'`),(e.eat(93)||e.eat(125))&&e.raise(`Lone quantifier brackets`)),e.maxBackReference>e.numCapturingParens&&e.raise(`Invalid escape`);for(var t=0,n=e.backReferenceNames;t<n.length;t+=1){var r=n[t];e.groupNames[r]||e.raise(`Invalid named capture referenced`)}},Z.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Bt(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise(`Nothing to repeat`),e.eat(123)&&e.raise(`Lone quantifier brackets`)},Z.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},Z.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise(`Invalid quantifier`),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},Z.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var n=!1;if(this.options.ecmaVersion>=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise(`Unterminated group`),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},Z.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},Z.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},Z.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i<r&&!t&&e.raise(`numbers out of order in {} quantifier`),!0;e.switchU&&!t&&e.raise(`Incomplete quantifier`),e.pos=n}return!1},Z.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},Z.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},Z.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise(`Unterminated group`)}e.pos=t}return!1},Z.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise(`Invalid group`),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise(`Unterminated group`)}return!1},Z.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},Z.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise(`Nothing to repeat`),!1},Z.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Ut(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Ut(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}Z.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!Ut(n);)e.advance();return e.pos!==t},Z.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124&&(e.advance(),!0)},Z.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise(`Invalid group`);var t=this.options.ecmaVersion>=16,n=e.groupNames[e.lastStringValue];if(n){if(t)for(var r=0,i=n;r<i.length;r+=1)i[r].separatedFrom(e.branchID)||e.raise(`Duplicate capture group name`);else e.raise(`Duplicate capture group name`)}t?(n||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},Z.regexp_eatGroupName=function(e){if(e.lastStringValue=``,e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise(`Invalid capture group name`)}return!1},Z.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue=``,this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=Ie(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Ie(e.lastIntValue);return!0}return!1},Z.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Wt(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function Wt(e){return Ee(e,!0)||e===36||e===95}Z.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Gt(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)};function Gt(e){return De(e,!0)||e===36||e===95||e===8204||e===8205}Z.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise(`Invalid unicode escape`),e.raise(`Invalid escape`)),!1)},Z.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},Z.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise(`Invalid named reference`)}return!1},Z.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},Z.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},Z.regexp_eatZero=function(e){return e.current()===48&&!rn(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},Z.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114&&(e.lastIntValue=13,e.advance(),!0)},Z.regexp_eatControlLetter=function(e){var t=e.current();return Kt(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Kt(e){return e>=65&&e<=90||e>=97&&e<=122}Z.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(i-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&qt(e.lastIntValue))return!0;r&&e.raise(`Invalid unicode escape`),e.pos=n}return!1};function qt(e){return e>=0&&e<=1114111}Z.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)&&(e.lastIntValue=t,e.advance(),!0)},Z.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Jt=0,Yt=1,Xt=2;Z.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Zt(t))return e.lastIntValue=-1,e.advance(),Yt;var n=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((n=t===80)||t===112)){e.lastIntValue=-1,e.advance();var r;if(e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return n&&r===Xt&&e.raise(`Invalid property name`),r;e.raise(`Invalid property name`)}return Jt};function Zt(e){return e===100||e===68||e===115||e===83||e===119||e===87}Z.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),Yt}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return Jt},Z.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){Me(e.unicodeProperties.nonBinary,t)||e.raise(`Invalid property name`),e.unicodeProperties.nonBinary[t].test(n)||e.raise(`Invalid property value`)},Z.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return Yt;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return Xt;e.raise(`Invalid property name`)},Z.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue=``;Qt(t=e.current());)e.lastStringValue+=Ie(t),e.advance();return e.lastStringValue!==``};function Qt(e){return Kt(e)||e===95}Z.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue=``;$t(t=e.current());)e.lastStringValue+=Ie(t),e.advance();return e.lastStringValue!==``};function $t(e){return Qt(e)||rn(e)}Z.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},Z.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),n=this.regexp_classContents(e);return e.eat(93)||e.raise(`Unterminated character class`),t&&n===Xt&&e.raise(`Negated character class may contain strings`),!0}return!1},Z.regexp_classContents=function(e){return e.current()===93?Yt:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),Yt)},Z.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise(`Invalid character class`),t!==-1&&n!==-1&&t>n&&e.raise(`Range out of order in character class`)}}},Z.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||sn(n))&&e.raise(`Invalid class escape`),e.raise(`Invalid escape`)}e.pos=t}var r=e.current();return r!==93&&(e.lastIntValue=r,e.advance(),!0)},Z.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},Z.regexp_classSetExpression=function(e){var t=Yt,n;if(!this.regexp_eatClassSetRange(e)){if(n=this.regexp_eatClassSetOperand(e)){n===Xt&&(t=Xt);for(var r=e.pos;e.eatChars([38,38]);)e.current()!==38&&(n=this.regexp_eatClassSetOperand(e))?n!==Xt&&(t=Yt):e.raise(`Invalid character in character class`);if(r!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise(`Invalid character in character class`);if(r!==e.pos)return t}else e.raise(`Invalid character in character class`)}for(;;)if(!this.regexp_eatClassSetRange(e)){if(n=this.regexp_eatClassSetOperand(e),!n)return t;n===Xt&&(t=Xt)}},Z.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;return n!==-1&&r!==-1&&n>r&&e.raise(`Range out of order in character class`),!0}e.pos=t}return!1},Z.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?Yt:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},Z.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var n=e.eat(94),r=this.regexp_classContents(e);if(e.eat(93))return n&&r===Xt&&e.raise(`Negated character class may contain strings`),r;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null},Z.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var n=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return n}else e.raise(`Invalid escape`);e.pos=t}return null},Z.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===Xt&&(t=Xt);return t},Z.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?Yt:Xt},Z.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var n=e.current();return n<0||n===e.lookahead()&&en(n)||tn(n)?!1:(e.advance(),e.lastIntValue=n,!0)};function en(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function tn(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}Z.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return nn(t)?(e.lastIntValue=t,e.advance(),!0):!1};function nn(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}Z.regexp_eatClassControlLetter=function(e){var t=e.current();return rn(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},Z.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise(`Invalid escape`),e.pos=t}return!1},Z.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;rn(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t};function rn(e){return e>=48&&e<=57}Z.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;an(n=e.current());)e.lastIntValue=16*e.lastIntValue+on(n),e.advance();return e.pos!==t};function an(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function on(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}Z.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;e.lastIntValue=t<=3&&this.regexp_eatOctalDigit(e)?t*64+n*8+e.lastIntValue:t*8+n}else e.lastIntValue=t;return!0}return!1},Z.regexp_eatOctalDigit=function(e){var t=e.current();return sn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function sn(e){return e>=48&&e<=55}Z.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r<t;++r){var i=e.current();if(!an(i))return e.pos=n,!1;e.lastIntValue=16*e.lastIntValue+on(i),e.advance()}return!0};var cn=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new L(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Q=B.prototype;Q.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,`Escape sequence in keyword `+this.type.keyword),this.options.onToken&&this.options.onToken(new cn(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Q.getToken=function(){return this.next(),new cn(this)},typeof Symbol<`u`&&(Q[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===k.eof,value:t}}}}),Q.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(k.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},Q.readToken=function(e){return Ee(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},Q.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-56613888},Q.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf(`*/`,this.pos+=2);if(n===-1&&this.raise(this.pos-2,`Unterminated comment`),this.pos=n+2,this.options.locations)for(var r=void 0,i=t;(r=N(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=r;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,n),t,this.pos,e,this.curPosition())},Q.skipLineComment=function(e){for(var t=this.pos,n=this.options.onComment&&this.curPosition(),r=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!M(r);)r=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,n,this.curPosition())},Q.skipSpace=function(){loop:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break loop}break;default:if(e>8&&e<14||e>=5760&&ke.test(String.fromCharCode(e)))++this.pos;else break loop}}},Q.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},Q.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(k.ellipsis)):(++this.pos,this.finishToken(k.dot))},Q.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(k.assign,2):this.finishOp(k.slash,1)},Q.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?k.star:k.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=k.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(k.assign,n+1):this.finishOp(r,n)},Q.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(k.assign,3):this.finishOp(e===124?k.logicalOR:k.logicalAND,2):t===61?this.finishOp(k.assign,2):this.finishOp(e===124?k.bitwiseOR:k.bitwiseAND,1)},Q.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(k.assign,2):this.finishOp(k.bitwiseXOR,1)},Q.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||A.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(k.incDec,2):t===61?this.finishOp(k.assign,2):this.finishOp(k.plusMin,1)},Q.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(k.assign,n+1):this.finishOp(k.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(k.relational,n))},Q.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(k.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(k.arrow)):this.finishOp(e===61?k.eq:k.prefix,1)},Q.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(k.questionDot,2)}if(t===63)return e>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(k.assign,3):this.finishOp(k.coalesce,2)}return this.finishOp(k.question,1)},Q.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),Ee(t,!0)||t===92))return this.finishToken(k.privateId,this.readWord1());this.raise(this.pos,`Unexpected character '`+Ie(t)+`'`)},Q.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(k.parenL);case 41:return++this.pos,this.finishToken(k.parenR);case 59:return++this.pos,this.finishToken(k.semi);case 44:return++this.pos,this.finishToken(k.comma);case 91:return++this.pos,this.finishToken(k.bracketL);case 93:return++this.pos,this.finishToken(k.bracketR);case 123:return++this.pos,this.finishToken(k.braceL);case 125:return++this.pos,this.finishToken(k.braceR);case 58:return++this.pos,this.finishToken(k.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(k.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(k.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,`Unexpected character '`+Ie(e)+`'`)},Q.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},Q.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,`Unterminated regular expression`);var r=this.input.charAt(this.pos);if(A.test(r)&&this.raise(n,`Unterminated regular expression`),e)e=!1;else{if(r===`[`)t=!0;else if(r===`]`&&t)t=!1;else if(r===`/`&&!t)break;e=r===`\\`}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||=new Vt(this);s.reset(n,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var c=null;try{c=new RegExp(i,o)}catch{}return this.finishToken(k.regexp,{pattern:i,flags:o,value:c})},Q.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,a=this.pos,o=0,s=0,c=0,l=t??1/0;c<l;++c,++this.pos){var u=this.input.charCodeAt(this.pos),d=void 0;if(r&&u===95)i&&this.raiseRecoverable(this.pos,`Numeric separator is not allowed in legacy octal numeric literals`),s===95&&this.raiseRecoverable(this.pos,`Numeric separator must be exactly one underscore`),c===0&&this.raiseRecoverable(this.pos,`Numeric separator is not allowed at the first of digits`),s=u;else{if(d=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0,d>=e)break;s=u,o=o*e+d}}return r&&s===95&&this.raiseRecoverable(this.pos-1,`Numeric separator is not allowed at the last of digits`),this.pos===a||t!=null&&this.pos-a!==t?null:o};function ln(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,``))}function un(e){return typeof BigInt==`function`?BigInt(e.replace(/_/g,``)):null}Q.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n??this.raise(this.start+2,`Expected number in radix `+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=un(this.input.slice(t,this.pos)),++this.pos):Ee(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`),this.finishToken(k.num,n)},Q.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,`Invalid number`);var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,`Invalid number`);var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=un(this.input.slice(t,this.pos));return++this.pos,Ee(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`),this.finishToken(k.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,`Invalid number`)),Ee(this.fullCharCodeAtPos())&&this.raise(this.pos,`Identifier directly after number`);var a=ln(this.input.slice(t,this.pos),n);return this.finishToken(k.num,a)},Q.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf(`}`,this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,`Code point out of bounds`)}else t=this.readHexChar(4);return t},Q.readString=function(e){for(var t=``,n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated string constant`);var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):r===8232||r===8233?(this.options.ecmaVersion<10&&this.raise(this.start,`Unterminated string constant`),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(M(r)&&this.raise(this.start,`Unterminated string constant`),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(k.string,t)};var dn={};Q.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===dn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},Q.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw dn;this.raise(e,t)},Q.readTmplToken=function(){for(var e=``,t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,`Unterminated template`);var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===k.template||this.type===k.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(k.dollarBraceL)):(++this.pos,this.finishToken(k.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(k.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(M(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
65
+ `;break;default:e+=String.fromCharCode(n)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Q.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case`\\`:++this.pos;break;case`$`:if(this.input[this.pos+1]!==`{`)break;case"`":return this.finishToken(k.invalidTemplate,this.input.slice(this.start,this.pos));case`\r`:this.input[this.pos+1]===`
66
+ `&&++this.pos;case`
67
+ `:case`\u2028`:case`\u2029`:++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,`Unterminated template`)},Q.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
68
+ `;case 114:return`\r`;case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ie(this.readCodePoint());case 116:return` `;case 98:return`\b`;case 118:return`\v`;case 102:return`\f`;case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),``;case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,`Invalid escape sequence`),e){var n=this.pos-1;this.invalidStringToken(n,`Invalid escape sequence in template string`)}default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!==`0`||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?`Octal literal in template string`:`Octal literal in strict mode`),String.fromCharCode(i)}return M(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),``):String.fromCharCode(t)}},Q.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,`Bad character escape sequence`),n},Q.readWord1=function(){this.containsEsc=!1;for(var e=``,t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(De(i,r))this.pos+=i<=65535?1:2;else if(i===92){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,`Expecting Unicode escape sequence \\uXXXX`),++this.pos;var o=this.readCodePoint();(t?Ee:De)(o,r)||this.invalidStringToken(a,`Invalid Unicode escape`),e+=Ie(o),n=this.pos}else break;t=!1}return e+this.input.slice(n,this.pos)},Q.readWord=function(){var e=this.readWord1(),t=k.name;return this.keywords.test(e)&&(t=Oe[e]),this.finishToken(t,e)},B.acorn={Parser:B,version:`8.12.1`,defaultOptions:Re,Position:I,SourceLocation:L,getLineInfo:R,Node:yt,TokenType:w,tokTypes:k,keywordTypes:Oe,TokContext:ft,tokContexts:q,isIdentifierChar:De,isIdentifierStart:Ee,Token:cn,isNewLine:M,lineBreak:A,lineBreakG:j,nonASCIIwhitespace:ke};var fn=ue(me(),1),pn={acceptcharset:`acceptCharset`,accesskey:`accessKey`,allowfullscreen:`allowFullScreen`,autocapitalize:`autoCapitalize`,autocomplete:`autoComplete`,autofocus:`autoFocus`,autoplay:`autoPlay`,cellpadding:`cellPadding`,cellspacing:`cellSpacing`,charset:`charSet`,class:`className`,colspan:`colSpan`,contenteditable:`contentEditable`,crossorigin:`crossOrigin`,datetime:`dateTime`,enctype:`encType`,for:`htmlFor`,formaction:`formAction`,formenctype:`formEncType`,formmethod:`formMethod`,formnovalidate:`formNoValidate`,formtarget:`formTarget`,frameborder:`frameBorder`,hreflang:`hrefLang`,httpequiv:`httpEquiv`,inputmode:`inputMode`,keyparams:`keyParams`,keytype:`keyType`,marginheight:`marginHeight`,marginwidth:`marginWidth`,maxlength:`maxLength`,mediagroup:`mediaGroup`,minlength:`minLength`,novalidate:`noValidate`,radiogroup:`radioGroup`,readonly:`readOnly`,referrerpolicy:`referrerPolicy`,rowspan:`rowSpan`,spellcheck:`spellCheck`,srcdoc:`srcDoc`,srclang:`srcLang`,srcset:`srcSet`,tabindex:`tabIndex`,usemap:`useMap`},mn=[`area`,`base`,`br`,`col`,`embed`,`hr`,`img`,`input`,`keygen`,`link`,`menuitem`,`meta`,`param`,`source`,`track`,`wbr`],hn=[`table`,`tbody`,`tfoot`,`thead`,`tr`];function gn(e){return mn.indexOf(e.toLowerCase())===-1}function _n(e){return hn.indexOf(e.toLowerCase())!==-1}var vn=class extends Error{constructor(e=`Nullish value encountered`){super(e),this.name=`NullishShortCircuit`}},yn=(e=``,t=16)=>{let n=String(e),r=0;return n.split(``).forEach(e=>{r=(r<<5)-r+e.charCodeAt(0),r&=r}),Math.abs(r).toString(t)},bn=()=>yn(Math.random().toString()),xn=e=>e.replace(/([A-Z])([A-Z])/g,`$1 $2`).replace(/([a-z])([A-Z])/g,`$1 $2`).replace(/[^a-zA-Z\u00C0-\u00ff]/g,` `).toLowerCase().split(` `).filter(e=>e).map((e,t)=>t>0?e[0].toUpperCase()+e.slice(1):e).join(``),Sn=e=>{switch(typeof e){case`string`:return e.split(`;`).filter(e=>e).reduce((e,t)=>{let n=t.slice(0,t.indexOf(`:`)).trim(),r=t.slice(t.indexOf(`:`)+1).trim();return{...e,[xn(n)]:r}},{});case`object`:return e;default:return}},Cn=e=>e==null||e===``?[]:e.split(`.`),wn=(e,t)=>{let[n,...r]=t;if(e!=null&&n!=null)return r.length===0?e[n]:wn(e[n],r)},Tn=(e,t)=>wn(e,Cn(t));function En(e){return Number.isNaN(e)?`NaN`:e}var Dn=class extends e.Component{static displayName=`JsxParser`;static defaultProps={allowUnknownElements:!0,autoCloseVoidElements:!1,bindings:{},blacklistedAttrs:[/^on.+/i],blacklistedTags:[`script`],className:``,components:{},componentsOnly:!1,disableFragments:!1,disableKeyGeneration:!1,jsx:``,onError:()=>{},showWarnings:!1,renderError:void 0,renderInWrapper:!0,renderUnrecognized:()=>null};ParsedChildren=null;#e=e=>{let t=B.extend(fn.default({autoCloseVoidElements:this.props.autoCloseVoidElements})),n=`<root>${e}</root>`,r=[];try{return r=t.parse(n,{ecmaVersion:`latest`}),r=r.body[0].expression.children||[],r.map(e=>this.#t(e)).filter(Boolean)}catch(e){return this.props.showWarnings&&console.warn(e),this.props.onError&&this.props.onError(e),this.props.renderError?this.props.renderError({error:String(e)}):null}};#t=(n,r)=>{switch(n.type){case`JSXAttribute`:return n.value===null||this.#t(n.value,r);case`JSXElement`:case`JSXFragment`:return this.#a(n,r);case`JSXExpressionContainer`:return this.#t(n.expression,r);case`JSXText`:let i=this.props.disableKeyGeneration?void 0:bn();return this.props.disableFragments?n.value:e.createElement(t,{key:i},n.value);case`ArrayExpression`:return n.elements.map(e=>this.#t(e,r));case`BinaryExpression`:let a=this.#t(n.left,r),o=this.#t(n.right,r),s;switch(n.operator){case`-`:s=a-o;break;case`!=`:s=a!=o;break;case`!==`:s=a!==o;break;case`*`:s=a*o;break;case`**`:s=a**o;break;case`/`:s=a/o;break;case`%`:s=a%o;break;case`+`:s=a+o;break;case`<`:s=a<o;break;case`<=`:s=a<=o;break;case`==`:s=a==o;break;case`===`:s=a===o;break;case`>`:s=a>o;break;case`>=`:s=a>=o;break;default:this.props.onError(Error(`Unsupported binary operator: ${n.operator}`));return}return En(s);case`CallExpression`:let c=this.#t(n.callee,r);if(c===void 0){if(n.optional)throw new vn;this.props.onError(Error(`The expression '${n.callee}' could not be resolved, resulting in an undefined return value.`));return}return c(...n.arguments.map(e=>this.#t(e,r)));case`ConditionalExpression`:return this.#t(n.test,r)?this.#t(n.consequent,r):this.#t(n.alternate,r);case`ExpressionStatement`:return this.#t(n.expression,r);case`Identifier`:return n.name===`Infinity`?1/0:n.name===`-Infinity`?-1/0:n.name===`NaN`?NaN:r&&n.name in r?En(r[n.name]):En((this.props.bindings||{})[n.name]);case`Literal`:return n.value;case`LogicalExpression`:let l=this.#t(n.left,r);return n.operator===`||`&&l?l:n.operator===`&&`&&l||n.operator===`||`&&!l?this.#t(n.right,r):!1;case`MemberExpression`:return this.#r(n,r);case`ChainExpression`:return this.#n(n,r);case`ObjectExpression`:let u={};return n.properties.forEach(e=>{u[e.key.name||e.key.value]=this.#t(e.value,r)}),u;case`TemplateElement`:return n.value.cooked;case`TemplateLiteral`:return[...n.expressions,...n.quasis].sort((e,t)=>e.start<t.start?-1:1).map(e=>this.#t(e,r)).join(``);case`UnaryExpression`:let d=this.#t(n.argument,r);switch(n.operator){case`+`:return+d;case`-`:return-d;case`!`:return!d;case`~`:return~d;case`typeof`:return typeof d}return;case`ArrowFunctionExpression`:return(n.async||n.generator)&&this.props.onError?.(Error(`Async and generator arrow functions are not supported.`)),(...e)=>{let t={...r};return n.params.forEach((n,r)=>{t[n.name]=e[r]}),this.#t(n.body,t)};default:this.props.onError(Error(`The expression type '${n.type}' is not supported.`));return}};#n=(e,t)=>{try{return this.#t(e.expression,t)}catch(e){if(e instanceof vn)return;throw e}};#r=(e,t)=>{let n=this.#t(e.object,t),r;if(e.computed)r=this.#t(e.property,t);else if(e.property.type===`Identifier`)r=e.property.name;else{this.props.onError(Error(`Only simple MemberExpressions are supported.`));return}if(n==null&&e.optional)throw new vn;let i;try{i=n[r]}catch{this.props.onError(Error(`The property '${r}' could not be resolved on the object '${n}'.`));return}return typeof i==`function`?i.bind(n):i};#i=e=>e.type===`JSXIdentifier`?e.name:`${this.#i(e.object)}.${this.#i(e.property)}`;#a=(n,r)=>{let{allowUnknownElements:i,components:a,componentsOnly:o,onError:s}=this.props,{children:c=[]}=n,l=n.type===`JSXElement`?n.openingElement:n.openingFragment,{attributes:u=[]}=l,d=n.type===`JSXElement`?this.#i(l.name):``,f=(this.props.blacklistedAttrs||[]).map(e=>e instanceof RegExp?e:new RegExp(e,`i`)),p=(this.props.blacklistedTags||[]).map(e=>e.trim().toLowerCase()).filter(Boolean);if(/^(html|head|body)$/i.test(d))return c.map(e=>this.#a(e,r));let m=d.trim().toLowerCase();if(p.indexOf(m)!==-1)return s(Error(`The tag <${d}> is blacklisted, and will not be rendered.`)),null;if(d!==``&&!Tn(a,d)){if(o)return s(Error(`The component <${d}> is unrecognized, and will not be rendered.`)),this.props.renderUnrecognized(d);if(!i&&document.createElement(d)instanceof HTMLUnknownElement)return s(Error(`The tag <${d}> is unrecognized in this browser, and will not be rendered.`)),this.props.renderUnrecognized(d)}let h,g=n.type===`JSXElement`?Tn(a,d):t;if(g||gn(d)){if(h=c.map(e=>this.#t(e,r)),d.includes(`.`)){let e=d.split(`.`).reduce((e,t)=>e?e[t]:a?.[t],null);e&&(g=e)}!g&&!_n(d)&&(h=h.filter(e=>typeof e!=`string`||!/^\s*$/.test(e)));let e=h.find(e=>typeof e==`function`);h.length===0?h=void 0:e?h=e:h.length===1?[h]=h:h.length>1&&!this.props.disableKeyGeneration&&(h=h.map((e,t)=>e?.type&&!e?.key?{...e,key:e.key||t}:e))}let _={key:this.props.disableKeyGeneration?void 0:bn()};u.forEach(e=>{if(e.type===`JSXAttribute`){let t=e.name.name,n=pn[t]||t,i=this.#t(e,r);f.filter(e=>e.test(n)).length===0&&(_[n]=i)}else if(e.type===`JSXSpreadAttribute`&&e.argument.type===`Identifier`||e.argument.type===`MemberExpression`){let t=this.#t(e.argument,r);typeof t==`object`&&Object.keys(t).forEach(e=>{let n=pn[e]||e;f.filter(e=>e.test(n)).length===0&&(_[n]=t[e])})}}),typeof _.style==`string`&&(_.style=Sn(_.style));let ee=d.toLowerCase();return ee===`option`&&(h=h.props.children),e.createElement(g||ee,_,h)};render(){let t=(this.props.jsx||``).trim().replace(/<!DOCTYPE([^>]*)>/g,``);this.ParsedChildren=this.#e(t);let n=[...new Set([`jsx-parser`,...String(this.props.className).split(` `)])].filter(Boolean).join(` `);return this.props.renderInWrapper?e.createElement(`div`,{className:n},this.ParsedChildren):this.ParsedChildren}},$=e=>t=>n(e,t),On={animateMotion:$(`animateMotion`),animateTransform:$(`animateTransform`),clipPath:$(`clipPath`),feBlend:$(`feBlend`),feColorMatrix:$(`feColorMatrix`),feComponentTransfer:$(`feComponentTransfer`),feComposite:$(`feComposite`),feConvolveMatrix:$(`feConvolveMatrix`),feDiffuseLighting:$(`feDiffuseLighting`),feDisplacementMap:$(`feDisplacementMap`),feDistantLight:$(`feDistantLight`),feDropShadow:$(`feDropShadow`),feFlood:$(`feFlood`),feFuncA:$(`feFuncA`),feFuncB:$(`feFuncB`),feFuncG:$(`feFuncG`),feFuncR:$(`feFuncR`),feGaussianBlur:$(`feGaussianBlur`),feImage:$(`feImage`),feMerge:$(`feMerge`),feMergeNode:$(`feMergeNode`),feMorphology:$(`feMorphology`),feOffset:$(`feOffset`),fePointLight:$(`fePointLight`),feSpecularLighting:$(`feSpecularLighting`),feSpotLight:$(`feSpotLight`),feTile:$(`feTile`),feTurbulence:$(`feTurbulence`),foreignObject:$(`foreignObject`),linearGradient:$(`linearGradient`),radialGradient:$(`radialGradient`),textPath:$(`textPath`)},kn=e=>{let{svg:t,className:n,customProps:a,customPropBindings:o,"aria-hidden":s,ariaHidden:c,noIdRandomization:l,idRandomizationPrefix:u=`icon`,...d}=e,f=r().replaceAll(`:`,``);if(!t)return null;let p=ie(t);return n&&n.length>0&&(p=p.replace(`<svg `,`<svg className="${n}" `)),(s||c)&&(p=p.replace(`<svg `,`<svg aria-hidden="true" `)),a&&(p=p.replace(`<svg `,`<svg ${a} `)),l||Array.from(p?.matchAll(/id=['"]([a-zA-Z0-9\-_]*)['"]/g)).map(e=>e[1]).filter(e=>!!e).forEach((e,t)=>{p=p.replaceAll(e,`${u}-${f}-${t}`)}),i(Dn,{renderInWrapper:!1,jsx:p,bindings:o,components:On,...d})};export{kn as t};