@sis-cc/dotstatsuite-visions 14.4.0 → 15.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/dist/Dataflow/Dataflow.js +1 -1
  2. package/dist/DeleteAllChip/DeleteAllChip.js +1 -1
  3. package/dist/GroupedChips/GroupedChips.js +2 -2
  4. package/dist/addon-visual-tests-assets/visual-test-illustration.mp4 +0 -0
  5. package/dist/assets/Alert-BahPnaEA.js +5 -0
  6. package/dist/assets/Alert.stories-BHPHG3Jv.js +3 -0
  7. package/dist/assets/ApiQueries.stories-Cm3FNTRK.js +1 -0
  8. package/dist/assets/ArrowForward-sklQJJL1.js +1 -0
  9. package/dist/assets/Asterisk-BMLA7sbs.js +1 -0
  10. package/dist/assets/AuthDialog.stories-HYEzrAoY.js +1 -0
  11. package/dist/assets/Breadcrumbs.stories-BOXD4dIR.js +1 -0
  12. package/dist/assets/Button-BkzVjK6l.js +1 -0
  13. package/dist/assets/Button-b3QRzebi.js +1 -0
  14. package/dist/assets/Button.stories-Hb6Cf8h9.js +20 -0
  15. package/dist/assets/ButtonBase-DhZMwPE_.js +74 -0
  16. package/dist/assets/CardContent-D1o8D4MM.js +1 -0
  17. package/dist/assets/ChartsConfig.stories-CcP95z9e.js +1 -0
  18. package/dist/assets/Checkbox-BExCj3Zn.js +1 -0
  19. package/dist/assets/Chips.stories-BVdmfGBU.js +1 -0
  20. package/dist/assets/CircularProgress-8uws3hxz.js +28 -0
  21. package/dist/assets/Close-Ca-XHoFo.js +1 -0
  22. package/dist/assets/Collapse-DeFEs_Rz.js +1 -0
  23. package/dist/assets/CollapseButtons.stories-YEGJ3u19.js +1 -0
  24. package/dist/assets/CollapsibleTree.stories-D13JKbMu.js +1 -0
  25. package/dist/assets/Color-6AOWCN3U-g9ydbrnJ.js +1 -0
  26. package/dist/assets/Contact.stories-CmleM-dR.js +1 -0
  27. package/dist/assets/Container-BCPjrSA7.js +1 -0
  28. package/dist/assets/Cross-Cri6NfUz.js +1 -0
  29. package/dist/assets/CustomChip-CIxIQNL9.js +1 -0
  30. package/dist/assets/DataEdit-4eRxHmEk.js +1 -0
  31. package/dist/assets/DataEdit.stories-CCP9iKtw.js +1 -0
  32. package/dist/assets/DataFooter.stories-qVVa4vYb.js +1 -0
  33. package/dist/assets/DataHeader.stories-BQiHHVoJ.js +3 -0
  34. package/dist/assets/Dataflow.stories-BJZEwPx1.js +3 -0
  35. package/dist/assets/DeleteAllChip.stories-CZ3OemLc.js +1 -0
  36. package/dist/assets/Dialog-COBT3hSc.js +1 -0
  37. package/dist/assets/Divider-B7sul2Rx.js +1 -0
  38. package/dist/assets/DocsRenderer-JROSPFPF-2EuJnos7.js +752 -0
  39. package/dist/assets/Done-DcUBAPE1.js +1 -0
  40. package/dist/assets/DynamicDrawer.stories-Dv1vlwoU.js +5 -0
  41. package/dist/assets/EmojiObjects-CKzZ5Ih6.js +1 -0
  42. package/dist/assets/ExpandLess-Cb78Kxnw.js +1 -0
  43. package/dist/assets/ExpandMore-DTogUJli.js +1 -0
  44. package/dist/assets/ExpansionPanel-e_6V_EWh.js +1 -0
  45. package/dist/assets/ExpansionPanel.stories-Bv2wUZpI.js +1 -0
  46. package/dist/assets/FormControlLabel-Bb15Ebo4.js +1 -0
  47. package/dist/assets/Grid-ybm6vQ70.js +1 -0
  48. package/dist/assets/GroupedChips.stories-DvKWty97.js +1 -0
  49. package/dist/assets/Grow-DTmQPbJ8.js +1 -0
  50. package/dist/assets/HierarchicalFilter.stories-BfI-7vgF.js +1 -0
  51. package/dist/assets/IconButton-VboFWChz.js +1 -0
  52. package/dist/assets/Info-5vSSn_L8.js +1 -0
  53. package/dist/assets/Input-rGp0lo2o.js +1 -0
  54. package/dist/assets/Input.stories-DSYh9DQJ.js +1 -0
  55. package/dist/assets/InputAdornment-CdjHoutR.js +1 -0
  56. package/dist/assets/InputNumber.stories-CvVXLS9F.js +1 -0
  57. package/dist/assets/KeyboardArrowUp-CJqtKlLa.js +1 -0
  58. package/dist/assets/LabelDivider.stories-DnGpkMfA.js +1 -0
  59. package/dist/assets/Lens-ayM3nQ4F.js +1 -0
  60. package/dist/assets/Link-ZT8vCTL_.js +1 -0
  61. package/dist/assets/ListContext-WtRDE57m.js +1 -0
  62. package/dist/assets/Loading.stories-B0i6A2bN.js +1 -0
  63. package/dist/assets/Logo.stories-iZtjK4xB.js +1 -0
  64. package/dist/assets/MenuItem-yuDxPIxK.js +1 -0
  65. package/dist/assets/Mode-CjQrAIoR.js +1 -0
  66. package/dist/assets/Mode.stories-Fg4X3zsm.js +1 -0
  67. package/dist/assets/NoData-DH5uF7wK.js +1 -0
  68. package/dist/assets/NoData.stories-DZMHsYur.js +1 -0
  69. package/dist/assets/Pagination.stories-RvC-DxeA.js +1 -0
  70. package/dist/assets/Paper-CZCZSMBQ.js +1 -0
  71. package/dist/assets/PeriodPicker.stories-BWHGe_fV.js +1 -0
  72. package/dist/assets/Popover-BK_iPZDP.js +1 -0
  73. package/dist/assets/RadioGroup-BXSfsTC4.js +1 -0
  74. package/dist/assets/Select-C6PymK1y.js +1 -0
  75. package/dist/assets/Select-abrb4A4y.js +1 -0
  76. package/dist/assets/Select.stories-tKPrQXFk.js +1 -0
  77. package/dist/assets/Share.stories-fU-XikOg.js +1 -0
  78. package/dist/assets/ShortUrls.stories-CZnHY4SV.js +1 -0
  79. package/dist/assets/SisccFooter.stories-D8ZAcmO4.js +1 -0
  80. package/dist/assets/Spotlight-DOEwTanm.js +1 -0
  81. package/dist/assets/Spotlight.stories-Q21oDkh-.js +1 -0
  82. package/dist/assets/SvgIcon-Dvaj6YGR.js +1 -0
  83. package/dist/assets/SwitchBase-Cr6pwfF7.js +1 -0
  84. package/dist/assets/T-Y1RunoT4.js +1 -0
  85. package/dist/assets/TableFooter.stories-Dbim0FX4.js +1 -0
  86. package/dist/assets/TableHeader.stories-D4l_N9uE.js +1 -0
  87. package/dist/assets/TableHtml5.stories-vE1cQW9O.js +6 -0
  88. package/dist/assets/TableLayout.stories-WSodxkci.js +5 -0
  89. package/dist/assets/TablePreview-DeG7DEQ7.js +1 -0
  90. package/dist/assets/TablePreview.stories-CWPDGmZJ.js +1 -0
  91. package/dist/assets/TableRow-BNA5BRpC.js +2 -0
  92. package/dist/assets/Tabs-BVkK2C35.js +1 -0
  93. package/dist/assets/Tag-BPffPm_y.js +1 -0
  94. package/dist/assets/Tag.stories-ahgqPj3B.js +1 -0
  95. package/dist/assets/TextField-EIydlugS.js +1 -0
  96. package/dist/assets/TextareaAutosize-K18CN-Th.js +2 -0
  97. package/dist/assets/ToggleButton-DBrNE6ll.js +1 -0
  98. package/dist/assets/ToggleButton.stories-BmgpJZ4V.js +1 -0
  99. package/dist/assets/Tooltip-D1R1sXI6.js +1 -0
  100. package/dist/assets/Tooltip-Q-HL_fsv.js +1 -0
  101. package/dist/assets/Tooltip.stories-eDKs-rYV.js +1 -0
  102. package/dist/assets/TransitionGroupContext-BCqGtjLe.js +1 -0
  103. package/dist/assets/Typography-raIQbVPd.js +1 -0
  104. package/dist/assets/UserRightForm.stories-BB1ESyB8.js +1 -0
  105. package/dist/assets/VerticalButton-CJUzjK4o.js +1 -0
  106. package/dist/assets/VerticalButton.stories-yuR7IUIF.js +1 -0
  107. package/dist/assets/VirtualizedTree-C5V4Kc3I.js +9 -0
  108. package/dist/assets/VirtualizedTree.stories-COexQ4lU.js +3 -0
  109. package/dist/assets/Warning-BTID1o13.js +7 -0
  110. package/dist/assets/WithTooltip-7X4HQR7L-CEX1gWpG.js +9 -0
  111. package/dist/assets/_cloneRegExp-xedU2qh5.js +1 -0
  112. package/dist/assets/_concat-CKc59O9E.js +1 -0
  113. package/dist/assets/_curry1-DZES3h6F.js +1 -0
  114. package/dist/assets/_curry3-B7ARCYrl.js +1 -0
  115. package/dist/assets/_isObject-6WN73bNV.js +1 -0
  116. package/dist/assets/_isString-qgG10cDy.js +1 -0
  117. package/dist/assets/_reduce-jCRHcH4g.js +1 -0
  118. package/dist/assets/_reduced-C8HAFxGt.js +1 -0
  119. package/dist/assets/addIndex-oJ56c-D4.js +1 -0
  120. package/dist/assets/all-pAWO0bOP.js +1 -0
  121. package/dist/assets/always-C_Ync45z.js +1 -0
  122. package/dist/assets/any-CfLUVj0h.js +1 -0
  123. package/dist/assets/anyPass-CYXEa91G.js +1 -0
  124. package/dist/assets/append-C8VlU-CL.js +1 -0
  125. package/dist/assets/assoc-Dg7iWEwB.js +1 -0
  126. package/dist/assets/axe-BqaH7f9C.js +20 -0
  127. package/dist/assets/client-B3aSWC9V.js +1 -0
  128. package/dist/assets/concat-BaCSP4bP.js +1 -0
  129. package/dist/assets/cond-D3AegoZw.js +1 -0
  130. package/dist/assets/createSvgIcon-BQj7h82W.js +1 -0
  131. package/dist/assets/curryN-CtlObJyB.js +1 -0
  132. package/dist/assets/difference-DDKgd6CJ.js +1 -0
  133. package/dist/assets/dissoc-BUYWJSj1.js +1 -0
  134. package/dist/assets/dividerClasses-8MxKAQz3.js +1 -0
  135. package/dist/assets/dropLast-ChWL3mCh.js +1 -0
  136. package/dist/assets/either-DkAOohkF.js +1 -0
  137. package/dist/assets/evolve-BatOtooD.js +1 -0
  138. package/dist/assets/find-DPVcla78.js +1 -0
  139. package/dist/assets/flip-DUR8w3Wu.js +1 -0
  140. package/dist/assets/forEach-CD9EYxEB.js +1 -0
  141. package/dist/assets/formControlState-CAP3NLpz.js +1 -0
  142. package/dist/assets/formatter-L2YTDE3Q-DurSE8zx.js +1 -0
  143. package/dist/assets/getThemeProps-DgmE1JNI.js +1 -0
  144. package/dist/assets/gt-BHd0ZsSb.js +1 -0
  145. package/dist/assets/gte-pCP_etx_.js +1 -0
  146. package/dist/assets/has-iQO9y9kE.js +1 -0
  147. package/dist/assets/head-qAhnf9Tw.js +1 -0
  148. package/dist/assets/identity-BtKjXVdB.js +1 -0
  149. package/dist/assets/ifElse-C4TX1NDU.js +1 -0
  150. package/dist/assets/iframe-H9RJD_jt.js +1162 -0
  151. package/dist/assets/index-BIT3w0N7.js +1 -0
  152. package/dist/assets/index-CFw5yPBL.js +1 -0
  153. package/dist/assets/index-DAQ7BYo-.js +1 -0
  154. package/dist/assets/index-Da_4nJ4V.js +1 -0
  155. package/dist/assets/index-DtooENrT.js +8 -0
  156. package/dist/assets/indexBy-BS-vJGsQ.js +1 -0
  157. package/dist/assets/init-D1ASY6bQ.js +1 -0
  158. package/dist/assets/innerJoin-Dosi0D91.js +1 -0
  159. package/dist/assets/intersperse-fqmJiggE.js +1 -0
  160. package/dist/assets/invoker-CzjdWzzC.js +1 -0
  161. package/dist/assets/is-D-2gRytX.js +1 -0
  162. package/dist/assets/isEmpty-BDVj1T2C.js +1 -0
  163. package/dist/assets/isMuiElement-BEn1gvXI.js +1 -0
  164. package/dist/assets/isNil-COslMkIS.js +1 -0
  165. package/dist/assets/join-D4-hXwt-.js +1 -0
  166. package/dist/assets/keys-MRUazFsh.js +1 -0
  167. package/dist/assets/last-BHjgfAsb.js +1 -0
  168. package/dist/assets/length-IXM-4ocd.js +1 -0
  169. package/dist/assets/lensIndex-DjJS719w.js +1 -0
  170. package/dist/assets/lensPath-BgbL4fVJ.js +1 -0
  171. package/dist/assets/lensProp-CbZVApjL.js +1 -0
  172. package/dist/assets/lift-DWG_WmTa.js +1 -0
  173. package/dist/assets/listItemTextClasses-Bb0m2K_C.js +1 -0
  174. package/dist/assets/lt-DLHCA0M9.js +1 -0
  175. package/dist/assets/lte-Bdgz3EA-.js +1 -0
  176. package/dist/assets/makeStyles-CD33PxwO.js +1 -0
  177. package/dist/assets/map-x4uThvOW.js +1 -0
  178. package/dist/assets/match-C0UqbTsC.js +1 -0
  179. package/dist/assets/matchers-JIUQ3HVY-N4FjKbka.js +14 -0
  180. package/dist/assets/max-kgon7wA-.js +1 -0
  181. package/dist/assets/min-CEC8M_KS.js +1 -0
  182. package/dist/assets/not-BYZhl9KK.js +1 -0
  183. package/dist/assets/of-jJbie-2W.js +1 -0
  184. package/dist/assets/omit-DlVJ9qIR.js +1 -0
  185. package/dist/assets/or-CjN1zdxp.js +1 -0
  186. package/dist/assets/over-f093ucEk.js +1 -0
  187. package/dist/assets/ownerDocument-DW-IO8s5.js +1 -0
  188. package/dist/assets/path-DwLTp3pU.js +1 -0
  189. package/dist/assets/pathOr-BmjUXfCm.js +1 -0
  190. package/dist/assets/pick-Zfnu-6mP.js +1 -0
  191. package/dist/assets/pipe-BtUDRn-R.js +1 -0
  192. package/dist/assets/pluck-DLxRFKfx.js +1 -0
  193. package/dist/assets/preload-helper-PPVm8Dsz.js +1 -0
  194. package/dist/assets/prepend-DsY2ekGJ.js +1 -0
  195. package/dist/assets/prop-D5hAeHhE.js +1 -0
  196. package/dist/assets/propEq-C5bw9tHb.js +1 -0
  197. package/dist/assets/propOr-C6krihMT.js +1 -0
  198. package/dist/assets/props-C7I1YqbB.js +1 -0
  199. package/dist/assets/react-18-CaF9HqVz.js +1 -0
  200. package/dist/assets/reverse-DjLk_5XO.js +1 -0
  201. package/dist/assets/set-8jiRfFh4.js +1 -0
  202. package/dist/assets/styled-DrorPOrE.js +1 -0
  203. package/dist/assets/subtract-tdm8zQ4O.js +1 -0
  204. package/dist/assets/syntaxhighlighter-YFXUGROL-D_-uxkyV.js +6 -0
  205. package/dist/assets/test-Bn_PxCzV.js +1 -0
  206. package/dist/assets/times-Jg5IS051.js +1 -0
  207. package/dist/assets/toString-CZqbYCtr.js +1 -0
  208. package/dist/assets/trim-DDjgxVjx.js +2 -0
  209. package/dist/assets/uniq-CZIvUTXI.js +1 -0
  210. package/dist/assets/unnest-CIXacqCq.js +1 -0
  211. package/dist/assets/useControlled-2Crdg_wq.js +1 -0
  212. package/dist/assets/useKeybordEscapeHandler-XV4USZbE.js +1 -0
  213. package/dist/assets/useMediaQuery-EL2udmJD.js +1 -0
  214. package/dist/assets/useSlotProps-DqSyzc0j.js +1 -0
  215. package/dist/assets/useTheme-rH_TrTQG.js +1 -0
  216. package/dist/assets/useThemeProps-huLGQ4l4.js +1 -0
  217. package/dist/assets/utils-BMkeX4GP.js +1 -0
  218. package/dist/assets/utils-C137tHnF.js +1 -0
  219. package/dist/assets/utils-CZc-gVZ4.js +1 -0
  220. package/dist/assets/values-CAwOW2HW.js +1 -0
  221. package/dist/assets/visuallyHidden-Dan1xhjv.js +1 -0
  222. package/dist/assets/when-DECS4LTO.js +1 -0
  223. package/dist/assets/with-input-ChRsbSCU.js +1 -0
  224. package/dist/assets/withSpotlight-DEVzorSt.js +1 -0
  225. package/dist/assets/without-6vRGZm_m.js +1 -0
  226. package/dist/assets/zip-QSYbJSwa.js +1 -0
  227. package/dist/chunks/{CustomChip-VonwGtLq.js → CustomChip-DwQGCNHM.js} +2 -2
  228. package/dist/chunks/{CustomChip-VonwGtLq.js.map → CustomChip-DwQGCNHM.js.map} +1 -1
  229. package/dist/chunks/{utils-BQc_rN44.js → utils-ovYpz27I.js} +2 -2
  230. package/dist/chunks/{utils-BQc_rN44.js.map → utils-ovYpz27I.js.map} +1 -1
  231. package/dist/favicon-wrapper.svg +46 -0
  232. package/dist/favicon.svg +1 -0
  233. package/dist/iframe.html +709 -0
  234. package/dist/index.html +161 -0
  235. package/dist/index.json +1 -0
  236. package/dist/manifests/components.html +4255 -0
  237. package/dist/manifests/components.json +2002 -0
  238. package/dist/nunito-sans-bold-italic.woff2 +0 -0
  239. package/dist/nunito-sans-bold.woff2 +0 -0
  240. package/dist/nunito-sans-italic.woff2 +0 -0
  241. package/dist/nunito-sans-regular.woff2 +0 -0
  242. package/dist/project.json +1 -0
  243. package/dist/sb-addons/a11y-3/manager-bundle.js +57 -0
  244. package/dist/sb-addons/chromatic-com-storybook-1/manager-bundle.js +352 -0
  245. package/dist/sb-addons/chromatic-com-storybook-1/manager-bundle.js.LEGAL.txt +31 -0
  246. package/dist/sb-addons/docs-4/manager-bundle.js +18 -0
  247. package/dist/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +632 -0
  248. package/dist/sb-addons/vitest-2/manager-bundle.js +3 -0
  249. package/dist/sb-common-assets/favicon-wrapper.svg +46 -0
  250. package/dist/sb-common-assets/favicon.svg +1 -0
  251. package/dist/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
  252. package/dist/sb-common-assets/nunito-sans-bold.woff2 +0 -0
  253. package/dist/sb-common-assets/nunito-sans-italic.woff2 +0 -0
  254. package/dist/sb-common-assets/nunito-sans-regular.woff2 +0 -0
  255. package/dist/sb-manager/globals-runtime.js +78957 -0
  256. package/dist/sb-manager/globals.js +24 -0
  257. package/dist/sb-manager/manager-stores.js +23 -0
  258. package/dist/sb-manager/runtime.js +28253 -0
  259. package/dist/vite-inject-mocker-entry.js +2 -0
  260. package/package.json +14 -2
@@ -0,0 +1,1162 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Alert.stories-BHPHG3Jv.js","./Alert-BahPnaEA.js","./index-DAQ7BYo-.js","./Paper-CZCZSMBQ.js","./styled-DrorPOrE.js","./IconButton-VboFWChz.js","./ButtonBase-DhZMwPE_.js","./TransitionGroupContext-BCqGtjLe.js","./Close-Ca-XHoFo.js","./createSvgIcon-BQj7h82W.js","./SvgIcon-Dvaj6YGR.js","./makeStyles-CD33PxwO.js","./preload-helper-PPVm8Dsz.js","./ApiQueries.stories-Cm3FNTRK.js","./index-Da_4nJ4V.js","./Button-b3QRzebi.js","./Button-BkzVjK6l.js","./omit-DlVJ9qIR.js","./_isString-qgG10cDy.js","./_curry1-DZES3h6F.js","./prop-D5hAeHhE.js","./path-DwLTp3pU.js","./pipe-BtUDRn-R.js","./curryN-CtlObJyB.js","./_curry3-B7ARCYrl.js","./_reduce-jCRHcH4g.js","./keys-MRUazFsh.js","./find-DPVcla78.js","./_reduced-C8HAFxGt.js","./propEq-C5bw9tHb.js","./_isObject-6WN73bNV.js","./propOr-C6krihMT.js","./pathOr-BmjUXfCm.js","./Grid-ybm6vQ70.js","./useTheme-rH_TrTQG.js","./Typography-raIQbVPd.js","./flip-DUR8w3Wu.js","./gt-BHd0ZsSb.js","./length-IXM-4ocd.js","./map-x4uThvOW.js","./TextareaAutosize-K18CN-Th.js","./ownerDocument-DW-IO8s5.js","./has-iQO9y9kE.js","./isNil-COslMkIS.js","./not-BYZhl9KK.js","./isEmpty-BDVj1T2C.js","./Divider-B7sul2Rx.js","./dividerClasses-8MxKAQz3.js","./head-qAhnf9Tw.js","./AuthDialog.stories-HYEzrAoY.js","./Dialog-COBT3hSc.js","./Popover-BK_iPZDP.js","./formControlState-CAP3NLpz.js","./useSlotProps-DqSyzc0j.js","./Grow-DTmQPbJ8.js","./index-BIT3w0N7.js","./index-DtooENrT.js","./utils-C137tHnF.js","./TextField-EIydlugS.js","./Select-C6PymK1y.js","./ListContext-WtRDE57m.js","./useControlled-2Crdg_wq.js","./isMuiElement-BEn1gvXI.js","./Checkbox-BExCj3Zn.js","./SwitchBase-Cr6pwfF7.js","./Breadcrumbs.stories-BOXD4dIR.js","./addIndex-oJ56c-D4.js","./_concat-CKc59O9E.js","./is-D-2gRytX.js","./Button.stories-Hb6Cf8h9.js","./ChartsConfig.stories-CcP95z9e.js","./when-DECS4LTO.js","./set-8jiRfFh4.js","./always-C_Ync45z.js","./over-f093ucEk.js","./lensPath-BgbL4fVJ.js","./assoc-Dg7iWEwB.js","./indexBy-BS-vJGsQ.js","./_cloneRegExp-xedU2qh5.js","./init-D1ASY6bQ.js","./max-kgon7wA-.js","./pluck-DLxRFKfx.js","./anyPass-CYXEa91G.js","./Select-abrb4A4y.js","./innerJoin-Dosi0D91.js","./toString-CZqbYCtr.js","./MenuItem-yuDxPIxK.js","./listItemTextClasses-Bb0m2K_C.js","./join-D4-hXwt-.js","./invoker-CzjdWzzC.js","./ifElse-C4TX1NDU.js","./identity-BtKjXVdB.js","./pick-Zfnu-6mP.js","./without-6vRGZm_m.js","./InputAdornment-CdjHoutR.js","./DataEdit-4eRxHmEk.js","./utils-CZc-gVZ4.js","./dissoc-BUYWJSj1.js","./FormControlLabel-Bb15Ebo4.js","./useThemeProps-huLGQ4l4.js","./getThemeProps-DgmE1JNI.js","./all-pAWO0bOP.js","./any-CfLUVj0h.js","./props-C7I1YqbB.js","./ArrowForward-sklQJJL1.js","./Chips.stories-BVdmfGBU.js","./CustomChip-CIxIQNL9.js","./Cross-Cri6NfUz.js","./Tooltip-Q-HL_fsv.js","./Tooltip-D1R1sXI6.js","./utils-BMkeX4GP.js","./reverse-DjLk_5XO.js","./either-DkAOohkF.js","./lift-DWG_WmTa.js","./or-CjN1zdxp.js","./dropLast-ChWL3mCh.js","./useKeybordEscapeHandler-XV4USZbE.js","./append-C8VlU-CL.js","./CollapseButtons.stories-YEGJ3u19.js","./ToggleButton-DBrNE6ll.js","./KeyboardArrowUp-CJqtKlLa.js","./Link-ZT8vCTL_.js","./intersperse-fqmJiggE.js","./Collapse-DeFEs_Rz.js","./useMediaQuery-EL2udmJD.js","./CollapsibleTree.stories-D13JKbMu.js","./NoData-DH5uF7wK.js","./CircularProgress-8uws3hxz.js","./Container-BCPjrSA7.js","./Info-5vSSn_L8.js","./Contact.stories-CmleM-dR.js","./Warning-BTID1o13.js","./CardContent-D1o8D4MM.js","./RadioGroup-BXSfsTC4.js","./with-input-ChRsbSCU.js","./Done-DcUBAPE1.js","./test-Bn_PxCzV.js","./DataEdit.stories-CCP9iKtw.js","./DataFooter.stories-qVVa4vYb.js","./index-CFw5yPBL.js","./visuallyHidden-Dan1xhjv.js","./DataHeader.stories-BQiHHVoJ.js","./Asterisk-BMLA7sbs.js","./unnest-CIXacqCq.js","./cond-D3AegoZw.js","./T-Y1RunoT4.js","./evolve-BatOtooD.js","./of-jJbie-2W.js","./gte-pCP_etx_.js","./lt-DLHCA0M9.js","./Dataflow.stories-BJZEwPx1.js","./min-CEC8M_KS.js","./last-BHjgfAsb.js","./ExpandLess-Cb78Kxnw.js","./ExpandMore-DTogUJli.js","./DeleteAllChip.stories-CZ3OemLc.js","./DynamicDrawer.stories-Dv1vlwoU.js","./VirtualizedTree-C5V4Kc3I.js","./concat-BaCSP4bP.js","./values-CAwOW2HW.js","./prepend-DsY2ekGJ.js","./uniq-CZIvUTXI.js","./Spotlight-DOEwTanm.js","./withSpotlight-DEVzorSt.js","./difference-DDKgd6CJ.js","./Tabs-BVkK2C35.js","./EmojiObjects-CKzZ5Ih6.js","./Tag-BPffPm_y.js","./zip-QSYbJSwa.js","./lensIndex-DjJS719w.js","./forEach-CD9EYxEB.js","./subtract-tdm8zQ4O.js","./trim-DDjgxVjx.js","./lensProp-CbZVApjL.js","./lte-Bdgz3EA-.js","./match-C0UqbTsC.js","./times-Jg5IS051.js","./ExpansionPanel.stories-Bv2wUZpI.js","./ExpansionPanel-e_6V_EWh.js","./GroupedChips.stories-DvKWty97.js","./HierarchicalFilter.stories-BfI-7vgF.js","./VerticalButton-CJUzjK4o.js","./Input.stories-DSYh9DQJ.js","./Input-rGp0lo2o.js","./InputNumber.stories-CvVXLS9F.js","./LabelDivider.stories-DnGpkMfA.js","./Loading.stories-B0i6A2bN.js","./Logo.stories-iZtjK4xB.js","./Mode.stories-Fg4X3zsm.js","./Mode-CjQrAIoR.js","./NoData.stories-DZMHsYur.js","./Pagination.stories-RvC-DxeA.js","./PeriodPicker.stories-BWHGe_fV.js","./Select.stories-tKPrQXFk.js","./Share.stories-fU-XikOg.js","./ShortUrls.stories-CZnHY4SV.js","./SisccFooter.stories-D8ZAcmO4.js","./Spotlight.stories-Q21oDkh-.js","./TableFooter.stories-Dbim0FX4.js","./TableHeader.stories-D4l_N9uE.js","./Lens-ayM3nQ4F.js","./TableHtml5.stories-vE1cQW9O.js","./TableRow-BNA5BRpC.js","./TableLayout.stories-WSodxkci.js","./TablePreview-DeG7DEQ7.js","./TablePreview.stories-CWPDGmZJ.js","./Tag.stories-ahgqPj3B.js","./ToggleButton.stories-BmgpJZ4V.js","./Tooltip.stories-eDKs-rYV.js","./UserRightForm.stories-BB1ESyB8.js","./VerticalButton.stories-yuR7IUIF.js","./VirtualizedTree.stories-COexQ4lU.js","./react-18-CaF9HqVz.js","./client-B3aSWC9V.js","./DocsRenderer-JROSPFPF-2EuJnos7.js"])))=>i.map(i=>d[i]);
2
+ import{_ as qe}from"./preload-helper-PPVm8Dsz.js";function kP(e,t){for(var r=0;r<t.length;r++){const n=t[r];if(typeof n!="string"&&!Array.isArray(n)){for(const i in n)if(i!=="default"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(n,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>n[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var Xd={},BP=Object.create,Kf=Object.defineProperty,MP=Object.getOwnPropertyDescriptor,iA=Object.getOwnPropertyNames,jP=Object.getPrototypeOf,LP=Object.prototype.hasOwnProperty,Ys=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ee=(e,t)=>function(){try{return t||(0,e[iA(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},Rr=(e,t)=>{for(var r in t)Kf(e,r,{get:t[r],enumerable:!0})},qP=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of iA(t))!LP.call(e,i)&&i!==r&&Kf(e,i,{get:()=>t[i],enumerable:!(n=MP(t,i))||n.enumerable});return e},or=(e,t,r)=>(r=e!=null?BP(jP(e)):{},qP(t||!e||!e.__esModule?Kf(r,"default",{value:e,enumerable:!0}):r,e)),Yf=ee({"../../node_modules/picocolors/picocolors.browser.js"(e,t){var r=String,n=function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r,blackBright:r,redBright:r,greenBright:r,yellowBright:r,blueBright:r,magentaBright:r,cyanBright:r,whiteBright:r,bgBlackBright:r,bgRedBright:r,bgGreenBright:r,bgYellowBright:r,bgBlueBright:r,bgMagentaBright:r,bgCyanBright:r,bgWhiteBright:r}};t.exports=n(),t.exports.createColors=n}}),oA=ee({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return(function r(n,i,o){function a(u,d){if(!i[u]){if(!n[u]){var f=typeof Ys=="function"&&Ys;if(!d&&f)return f(u,!0);if(s)return s(u,!0);var h=new Error("Cannot find module '"+u+"'");throw h.code="MODULE_NOT_FOUND",h}var m=i[u]={exports:{}};n[u][0].call(m.exports,function(b){var y=n[u][1][b];return a(y||b)},m,m.exports,r,n,i,o)}return i[u].exports}for(var s=typeof Ys=="function"&&Ys,l=0;l<o.length;l++)a(o[l]);return a})({1:[function(r,n,i){n.exports=function(o){if(typeof Map!="function"||o){var a=r("./similar");return new a}else return new Map}},{"./similar":2}],2:[function(r,n,i){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}o.prototype.get=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a))return this.lastItem.val;if(s=this.indexOf(a),s>=0)return this.lastItem=this.list[s],this.list[s].val},o.prototype.set=function(a,s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,a)?(this.lastItem.val=s,this):(l=this.indexOf(a),l>=0?(this.lastItem=this.list[l],this.list[l].val=s,this):(this.lastItem={key:a,val:s},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(a){var s;if(this.lastItem&&this.isEqual(this.lastItem.key,a)&&(this.lastItem=void 0),s=this.indexOf(a),s>=0)return this.size--,this.list.splice(s,1)[0]},o.prototype.has=function(a){var s;return this.lastItem&&this.isEqual(this.lastItem.key,a)?!0:(s=this.indexOf(a),s>=0?(this.lastItem=this.list[s],!0):!1)},o.prototype.forEach=function(a,s){var l;for(l=0;l<this.size;l++)a.call(s||this,this.list[l].val,this.list[l].key,this)},o.prototype.indexOf=function(a){var s;for(s=0;s<this.size;s++)if(this.isEqual(this.list[s].key,a))return s;return-1},o.prototype.isEqual=function(a,s){return a===s||a!==a&&s!==s},n.exports=o},{}],3:[function(r,n,i){var o=r("map-or-similar");n.exports=function(u){var d=new o(!1),f=[];return function(h){var m=function(){var b=d,y,A,E=arguments.length-1,_=Array(E+1),I=!0,P;if((m.numArgs||m.numArgs===0)&&m.numArgs!==E+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(P=0;P<E;P++){if(_[P]={cacheItem:b,arg:arguments[P]},b.has(arguments[P])){b=b.get(arguments[P]);continue}I=!1,y=new o(!1),b.set(arguments[P],y),b=y}return I&&(b.has(arguments[E])?A=b.get(arguments[E]):I=!1),I||(A=h.apply(null,arguments),b.set(arguments[E],A)),u>0&&(_[E]={cacheItem:b,arg:arguments[E]},I?a(f,_):f.push(_),f.length>u&&s(f.shift())),m.wasMemoized=I,m.numArgs=E+1,A};return m.limit=u,m.wasMemoized=!1,m.cache=d,m.lru=f,m}};function a(u,d){var f=u.length,h=d.length,m,b,y;for(b=0;b<f;b++){for(m=!0,y=0;y<h;y++)if(!l(u[b][y].arg,d[y].arg)){m=!1;break}if(m)break}u.push(u.splice(b,1)[0])}function s(u){var d=u.length,f=u[d-1],h,m;for(f.cacheItem.delete(f.arg),m=d-2;m>=0&&(f=u[m],h=f.cacheItem.get(f.arg),!h||!h.size);m--)f.cacheItem.delete(f.arg)}function l(u,d){return u===d||u!==u&&d!==d}},{"map-or-similar":1}]},{},[3])(3)})}}),$P=ee({"../../node_modules/@ngard/tiny-isequal/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=(function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(i){return Object.keys(i).concat(Object.getOwnPropertySymbols(i))}:Object.keys;return function(i,o){return(function a(s,l,u){var d,f,h,m=t.call(s),b=t.call(l);if(s===l)return!0;if(s==null||l==null)return!1;if(u.indexOf(s)>-1&&u.indexOf(l)>-1)return!0;if(u.push(s,l),m!=b||(d=n(s),f=n(l),d.length!=f.length||d.some(function(y){return!a(s[y],l[y],u)})))return!1;switch(m.slice(8,-1)){case"Symbol":return s.valueOf()==l.valueOf();case"Date":case"Number":return+s==+l||+s!=+s&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+s==""+l;case"Set":case"Map":d=s.entries(),f=l.entries();do if(!a((h=d.next()).value,f.next().value,u))return!1;while(!h.done);return!0;case"ArrayBuffer":s=new Uint8Array(s),l=new Uint8Array(l);case"DataView":s=new Uint8Array(s.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(s.length!=l.length)return!1;for(h=0;h<s.length;h++)if((h in s||h in l)&&(h in s!=h in l||!a(s[h],l[h],u)))return!1;return!0;case"Object":return a(r(s),r(l),u);default:return!1}})(i,o,[])}})()}}),VP=ee({"../../node_modules/min-indent/index.js"(e,t){t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((i,o)=>Math.min(i,o.length),1/0):0}}}),UP=ee({"../../node_modules/strip-indent/index.js"(e,t){var r=VP();t.exports=n=>{let i=r(n);if(i===0)return n;let o=new RegExp(`^[ \\t]{${i}}`,"gm");return n.replace(o,"")}}}),JP=ee({"../../node_modules/indent-string/index.js"(e,t){t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;let o=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,i.indent.repeat(n))}}}),aA=ee({"../../node_modules/redent/index.js"(e,t){var r=UP(),n=JP();t.exports=(i,o=0,a)=>n(r(i),o,a)}}),HP=ee({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,i={"@@iterator":function(){return i},next:function(){if(n<r.length){var o=r[n];return n=n+1,{done:!1,value:o}}else return{done:!0}}};return i}e.default=t}}),Ss=ee({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(HP());function r(o){return o&&o.__esModule?o:{default:o}}function n(o){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(a){return typeof a}:function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},n(o)}function i(o,a){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(a)}),o}}}),zP=ee({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ss());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,h){return l(f)||s(f,h)||o(f,h)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,h){if(f){if(typeof f=="string")return a(f,h);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?a(f,h):void 0}}function a(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,b=Array(h);m<h;m++)b[m]=f[m];return b}function s(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var b,y,A,E,_=[],I=!0,P=!1;try{if(A=(m=m.call(f)).next,h===0){if(Object(m)!==m)return;I=!1}else for(;!(I=(b=A.call(m)).done)&&(_.push(b.value),_.length!==h);I=!0);}catch(x){P=!0,y=x}finally{try{if(!I&&m.return!=null&&(E=m.return(),Object(E)!==E))return}finally{if(P)throw y}}return _}}function l(f){if(Array.isArray(f))return f}var u=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],d={entries:function(){return u},forEach:function(f){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,b=u;m<b.length;m++){var y=n(b[m],2),A=y[0],E=y[1];f.call(h,E,A,u)}},get:function(f){var h=u.filter(function(m){return m[0]===f})[0];return h&&h[1]},has:function(f){return!!d.get(f)},keys:function(){return u.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return u.map(function(f){var h=n(f,2),m=h[1];return m})}};e.default=(0,t.default)(d,d.entries())}}),GP=ee({"../../node_modules/aria-query/lib/domMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ss());function r(f){return f&&f.__esModule?f:{default:f}}function n(f,h){return l(f)||s(f,h)||o(f,h)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
4
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function o(f,h){if(f){if(typeof f=="string")return a(f,h);var m={}.toString.call(f).slice(8,-1);return m==="Object"&&f.constructor&&(m=f.constructor.name),m==="Map"||m==="Set"?Array.from(f):m==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(m)?a(f,h):void 0}}function a(f,h){(h==null||h>f.length)&&(h=f.length);for(var m=0,b=Array(h);m<h;m++)b[m]=f[m];return b}function s(f,h){var m=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(m!=null){var b,y,A,E,_=[],I=!0,P=!1;try{if(A=(m=m.call(f)).next,h===0){if(Object(m)!==m)return;I=!1}else for(;!(I=(b=A.call(m)).done)&&(_.push(b.value),_.length!==h);I=!0);}catch(x){P=!0,y=x}finally{try{if(!I&&m.return!=null&&(E=m.return(),Object(E)!==E))return}finally{if(P)throw y}}return _}}function l(f){if(Array.isArray(f))return f}var u=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],d={entries:function(){return u},forEach:function(f){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,m=0,b=u;m<b.length;m++){var y=n(b[m],2),A=y[0],E=y[1];f.call(h,E,A,u)}},get:function(f){var h=u.filter(function(m){return m[0]===f})[0];return h&&h[1]},has:function(f){return!!d.get(f)},keys:function(){return u.map(function(f){var h=n(f,1),m=h[0];return m})},values:function(){return u.map(function(f){var h=n(f,2),m=h[1];return m})}};e.default=(0,t.default)(d,d.entries())}}),WP=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),KP=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),YP=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};e.default=t}}),XP=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),QP=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),ZP=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),eO=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),tO=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),rO=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};e.default=t}}),nO=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),iO=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),oO=ee({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};e.default=t}}),aO=ee({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(WP()),r=m(KP()),n=m(YP()),i=m(XP()),o=m(QP()),a=m(ZP()),s=m(eO()),l=m(tO()),u=m(rO()),d=m(nO()),f=m(iO()),h=m(oO());function m(y){return y&&y.__esModule?y:{default:y}}var b=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",o.default],["roletype",a.default],["section",s.default],["sectionhead",l.default],["select",u.default],["structure",d.default],["widget",f.default],["window",h.default]];e.default=b}}),sO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),uO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};e.default=t}}),lO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),cO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),dO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),pO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),fO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),hO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),mO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),yO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),gO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),bO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),vO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),EO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),AO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),wO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),SO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),_O=ee({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};e.default=t}}),CO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),TO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),xO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),RO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};e.default=t}}),DO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),PO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),OO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),IO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};e.default=t}}),FO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};e.default=t}}),NO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),kO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),BO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),MO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),LO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),qO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),$O=ee({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),VO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),UO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),JO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),HO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),zO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),WO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};e.default=t}}),KO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};e.default=t}}),YO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};e.default=t}}),XO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};e.default=t}}),QO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};e.default=t}}),ZO=ee({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),eI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};e.default=t}}),tI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),rI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};e.default=t}}),nI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),oI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),aI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};e.default=t}}),sI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),uI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),lI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};e.default=t}}),cI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),dI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};e.default=t}}),pI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};e.default=t}}),fI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),hI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};e.default=t}}),mI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};e.default=t}}),yI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),gI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};e.default=t}}),bI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),vI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),EI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),AI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),wI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};e.default=t}}),SI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};e.default=t}}),_I=ee({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),CI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};e.default=t}}),TI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),xI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),RI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};e.default=t}}),DI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),PI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};e.default=t}}),OI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),II=ee({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),FI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};e.default=t}}),NI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};e.default=t}}),kI=ee({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};e.default=t}}),BI=ee({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=O(sO()),r=O(uO()),n=O(lO()),i=O(cO()),o=O(dO()),a=O(pO()),s=O(fO()),l=O(hO()),u=O(mO()),d=O(yO()),f=O(gO()),h=O(bO()),m=O(vO()),b=O(EO()),y=O(AO()),A=O(wO()),E=O(SO()),_=O(_O()),I=O(CO()),P=O(TO()),x=O(xO()),g=O(RO()),w=O(DO()),C=O(PO()),R=O(OO()),j=O(IO()),B=O(FO()),U=O(NO()),$=O(kO()),k=O(BO()),V=O(MO()),W=O(jO()),Y=O(LO()),ne=O(qO()),we=O($O()),Pe=O(VO()),X=O(UO()),G=O(JO()),ie=O(HO()),fe=O(zO()),he=O(GO()),se=O(WO()),xe=O(KO()),Se=O(YO()),je=O(XO()),Q=O(QO()),ye=O(ZO()),Ae=O(eI()),Re=O(tI()),Te=O(rI()),Oe=O(nI()),Ie=O(iI()),Ve=O(oI()),bt=O(aI()),Kt=O(sI()),Ge=O(uI()),xt=O(lI()),rt=O(cI()),Ar=O(dI()),Yt=O(pI()),be=O(fI()),At=O(hI()),Be=O(mI()),Ft=O(yI()),ut=O(gI()),Xr=O(bI()),an=O(vI()),Rt=O(EI()),Le=O(AI()),wr=O(wI()),mt=O(SI()),ar=O(_I()),Sn=O(CI()),ct=O(TI()),Nt=O(xI()),Sr=O(RI()),Dt=O(DI()),dt=O(PI()),Xt=O(OI()),Ne=O(II()),T=O(FI()),M=O(NI()),F=O(kI());function O(ae){return ae&&ae.__esModule?ae:{default:ae}}var J=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",o.default],["blockquote",a.default],["button",s.default],["caption",l.default],["cell",u.default],["checkbox",d.default],["code",f.default],["columnheader",h.default],["combobox",m.default],["complementary",b.default],["contentinfo",y.default],["definition",A.default],["deletion",E.default],["dialog",_.default],["directory",I.default],["document",P.default],["emphasis",x.default],["feed",g.default],["figure",w.default],["form",C.default],["generic",R.default],["grid",j.default],["gridcell",B.default],["group",U.default],["heading",$.default],["img",k.default],["insertion",V.default],["link",W.default],["list",Y.default],["listbox",ne.default],["listitem",we.default],["log",Pe.default],["main",X.default],["mark",G.default],["marquee",ie.default],["math",fe.default],["menu",he.default],["menubar",se.default],["menuitem",xe.default],["menuitemcheckbox",Se.default],["menuitemradio",je.default],["meter",Q.default],["navigation",ye.default],["none",Ae.default],["note",Re.default],["option",Te.default],["paragraph",Oe.default],["presentation",Ie.default],["progressbar",Ve.default],["radio",bt.default],["radiogroup",Kt.default],["region",Ge.default],["row",xt.default],["rowgroup",rt.default],["rowheader",Ar.default],["scrollbar",Yt.default],["search",be.default],["searchbox",At.default],["separator",Be.default],["slider",Ft.default],["spinbutton",ut.default],["status",Xr.default],["strong",an.default],["subscript",Rt.default],["superscript",Le.default],["switch",wr.default],["tab",mt.default],["table",ar.default],["tablist",Sn.default],["tabpanel",ct.default],["term",Nt.default],["textbox",Sr.default],["time",Dt.default],["timer",dt.default],["toolbar",Xt.default],["tooltip",Ne.default],["tree",T.default],["treegrid",M.default],["treeitem",F.default]];e.default=J}}),MI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),jI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),LI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),qI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),$I=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),VI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),UI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),JI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),HI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),zI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),GI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),WI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),KI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),YI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),XI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),QI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};e.default=t}}),ZI=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),eF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),tF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),rF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),nF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),iF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),oF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),aF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),sF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),uF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),lF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),cF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};e.default=t}}),dF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),pF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};e.default=t}}),fF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),hF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),mF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),yF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),gF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),bF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};e.default=t}}),vF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};e.default=t}}),EF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}}),AF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};e.default=t}}),wF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};e.default=t}}),SF=ee({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};e.default=t}}),_F=ee({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=se(MI()),r=se(jI()),n=se(LI()),i=se(qI()),o=se($I()),a=se(VI()),s=se(UI()),l=se(JI()),u=se(HI()),d=se(zI()),f=se(GI()),h=se(WI()),m=se(KI()),b=se(YI()),y=se(XI()),A=se(QI()),E=se(ZI()),_=se(eF()),I=se(tF()),P=se(rF()),x=se(nF()),g=se(iF()),w=se(oF()),C=se(aF()),R=se(sF()),j=se(uF()),B=se(lF()),U=se(cF()),$=se(dF()),k=se(pF()),V=se(fF()),W=se(hF()),Y=se(mF()),ne=se(yF()),we=se(gF()),Pe=se(bF()),X=se(vF()),G=se(EF()),ie=se(AF()),fe=se(wF()),he=se(SF());function se(Se){return Se&&Se.__esModule?Se:{default:Se}}var xe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",o.default],["doc-biblioentry",a.default],["doc-bibliography",s.default],["doc-biblioref",l.default],["doc-chapter",u.default],["doc-colophon",d.default],["doc-conclusion",f.default],["doc-cover",h.default],["doc-credit",m.default],["doc-credits",b.default],["doc-dedication",y.default],["doc-endnote",A.default],["doc-endnotes",E.default],["doc-epigraph",_.default],["doc-epilogue",I.default],["doc-errata",P.default],["doc-example",x.default],["doc-footnote",g.default],["doc-foreword",w.default],["doc-glossary",C.default],["doc-glossref",R.default],["doc-index",j.default],["doc-introduction",B.default],["doc-noteref",U.default],["doc-notice",$.default],["doc-pagebreak",k.default],["doc-pagefooter",V.default],["doc-pageheader",W.default],["doc-pagelist",Y.default],["doc-part",ne.default],["doc-preface",we.default],["doc-prologue",Pe.default],["doc-pullquote",X.default],["doc-qna",G.default],["doc-subtitle",ie.default],["doc-tip",fe.default],["doc-toc",he.default]];e.default=xe}}),CF=ee({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};e.default=t}}),TF=ee({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};e.default=t}}),xF=ee({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};e.default=t}}),RF=ee({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(CF()),r=i(TF()),n=i(xF());function i(a){return a&&a.__esModule?a:{default:a}}var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}}),Xf=ee({"../../node_modules/aria-query/lib/rolesMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(aO()),r=a(BI()),n=a(_F()),i=a(RF()),o=a(Ss());function a(A){return A&&A.__esModule?A:{default:A}}function s(A,E){var _=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!_){if(Array.isArray(A)||(_=d(A))||E){_&&(A=_);var I=0,P=function(){};return{s:P,n:function(){return I>=A.length?{done:!0}:{done:!1,value:A[I++]}},e:function(C){throw C},f:P}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var x,g=!0,w=!1;return{s:function(){_=_.call(A)},n:function(){var C=_.next();return g=C.done,C},e:function(C){w=!0,x=C},f:function(){try{g||_.return==null||_.return()}finally{if(w)throw x}}}}function l(A,E){return m(A)||h(A,E)||d(A,E)||u()}function u(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function d(A,E){if(A){if(typeof A=="string")return f(A,E);var _={}.toString.call(A).slice(8,-1);return _==="Object"&&A.constructor&&(_=A.constructor.name),_==="Map"||_==="Set"?Array.from(A):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?f(A,E):void 0}}function f(A,E){(E==null||E>A.length)&&(E=A.length);for(var _=0,I=Array(E);_<E;_++)I[_]=A[_];return I}function h(A,E){var _=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(_!=null){var I,P,x,g,w=[],C=!0,R=!1;try{if(x=(_=_.call(A)).next,E===0){if(Object(_)!==_)return;C=!1}else for(;!(C=(I=x.call(_)).done)&&(w.push(I.value),w.length!==E);C=!0);}catch(j){R=!0,P=j}finally{try{if(!C&&_.return!=null&&(g=_.return(),Object(g)!==g))return}finally{if(R)throw P}}return w}}function m(A){if(Array.isArray(A))return A}var b=[].concat(t.default,r.default,n.default,i.default);b.forEach(function(A){var E=l(A,2),_=E[1],I=s(_.superClass),P;try{for(I.s();!(P=I.n()).done;){var x=P.value,g=s(x),w;try{var C=function(){var R=w.value,j=b.filter(function(V){var W=l(V,1),Y=W[0];return Y===R})[0];if(j)for(var B=j[1],U=0,$=Object.keys(B.props);U<$.length;U++){var k=$[U];Object.prototype.hasOwnProperty.call(_.props,k)||(_.props[k]=B.props[k])}};for(g.s();!(w=g.n()).done;)C()}catch(R){g.e(R)}finally{g.f()}}}catch(R){I.e(R)}finally{I.f()}});var y={entries:function(){return b},forEach:function(A){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=s(b),I;try{for(_.s();!(I=_.n()).done;){var P=l(I.value,2),x=P[0],g=P[1];A.call(E,g,x,b)}}catch(w){_.e(w)}finally{_.f()}},get:function(A){var E=b.filter(function(_){return _[0]===A})[0];return E&&E[1]},has:function(A){return!!y.get(A)},keys:function(){return b.map(function(A){var E=l(A,1),_=E[0];return _})},values:function(){return b.map(function(A){var E=l(A,2),_=E[1];return _})}};e.default=(0,o.default)(y,y.entries())}}),DF=ee({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ss()),r=n(Xf());function n(g){return g&&g.__esModule?g:{default:g}}function i(g,w){return u(g)||l(g,w)||a(g,w)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(g,w){if(g){if(typeof g=="string")return s(g,w);var C={}.toString.call(g).slice(8,-1);return C==="Object"&&g.constructor&&(C=g.constructor.name),C==="Map"||C==="Set"?Array.from(g):C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C)?s(g,w):void 0}}function s(g,w){(w==null||w>g.length)&&(w=g.length);for(var C=0,R=Array(w);C<w;C++)R[C]=g[C];return R}function l(g,w){var C=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(C!=null){var R,j,B,U,$=[],k=!0,V=!1;try{if(B=(C=C.call(g)).next,w===0){if(Object(C)!==C)return;k=!1}else for(;!(k=(R=B.call(C)).done)&&($.push(R.value),$.length!==w);k=!0);}catch(W){V=!0,j=W}finally{try{if(!k&&C.return!=null&&(U=C.return(),Object(U)!==U))return}finally{if(V)throw j}}return $}}function u(g){if(Array.isArray(g))return g}var d=[],f=r.default.keys();for(E=0;E<f.length;E++)if(h=f[E],m=r.default.get(h),m)for(b=[].concat(m.baseConcepts,m.relatedConcepts),y=function(){var g=b[A];if(g.module==="HTML"){var w=g.concept;if(w){var C=d.filter(function(U){return I(U[0],w)})[0],R;C?R=C[1]:R=[];for(var j=!0,B=0;B<R.length;B++)if(R[B]===h){j=!1;break}j&&R.push(h),C||d.push([w,R])}}},A=0;A<b.length;A++)y();var h,m,b,y,A,E,_={entries:function(){return d},forEach:function(g){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=0,R=d;C<R.length;C++){var j=i(R[C],2),B=j[0],U=j[1];g.call(w,U,B,d)}},get:function(g){var w=d.filter(function(C){return g.name===C[0].name&&x(g.attributes,C[0].attributes)})[0];return w&&w[1]},has:function(g){return!!_.get(g)},keys:function(){return d.map(function(g){var w=i(g,1),C=w[0];return C})},values:function(){return d.map(function(g){var w=i(g,2),C=w[1];return C})}};function I(g,w){return g.name===w.name&&P(g.constraints,w.constraints)&&x(g.attributes,w.attributes)}function P(g,w){if(g===void 0&&w!==void 0||g!==void 0&&w===void 0)return!1;if(g!==void 0&&w!==void 0){if(g.length!==w.length)return!1;for(var C=0;C<g.length;C++)if(g[C]!==w[C])return!1}return!0}function x(g,w){if(g===void 0&&w!==void 0||g!==void 0&&w===void 0)return!1;if(g!==void 0&&w!==void 0){if(g.length!==w.length)return!1;for(var C=0;C<g.length;C++){if(g[C].name!==w[C].name||g[C].value!==w[C].value||g[C].constraints===void 0&&w[C].constraints!==void 0||g[C].constraints!==void 0&&w[C].constraints===void 0)return!1;if(g[C].constraints!==void 0&&w[C].constraints!==void 0){if(g[C].constraints.length!==w[C].constraints.length)return!1;for(var R=0;R<g[C].constraints.length;R++)if(g[C].constraints[R]!==w[C].constraints[R])return!1}}}return!0}e.default=(0,t.default)(_,_.entries())}}),PF=ee({"../../node_modules/aria-query/lib/roleElementMap.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ss()),r=n(Xf());function n(x){return x&&x.__esModule?x:{default:x}}function i(x,g){return u(x)||l(x,g)||a(x,g)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function a(x,g){if(x){if(typeof x=="string")return s(x,g);var w={}.toString.call(x).slice(8,-1);return w==="Object"&&x.constructor&&(w=x.constructor.name),w==="Map"||w==="Set"?Array.from(x):w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w)?s(x,g):void 0}}function s(x,g){(g==null||g>x.length)&&(g=x.length);for(var w=0,C=Array(g);w<g;w++)C[w]=x[w];return C}function l(x,g){var w=x==null?null:typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(w!=null){var C,R,j,B,U=[],$=!0,k=!1;try{if(j=(w=w.call(x)).next,g===0){if(Object(w)!==w)return;$=!1}else for(;!($=(C=j.call(w)).done)&&(U.push(C.value),U.length!==g);$=!0);}catch(V){k=!0,R=V}finally{try{if(!$&&w.return!=null&&(B=w.return(),Object(B)!==B))return}finally{if(k)throw R}}return U}}function u(x){if(Array.isArray(x))return x}var d=[],f=r.default.keys();for(I=0;I<f.length;I++)if(h=f[I],m=r.default.get(h),b=[],m){for(y=[].concat(m.baseConcepts,m.relatedConcepts),_=0;_<y.length;_++)A=y[_],A.module==="HTML"&&(E=A.concept,E!=null&&b.push(E));b.length>0&&d.push([h,b])}var h,m,b,y,A,E,_,I,P={entries:function(){return d},forEach:function(x){for(var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,w=0,C=d;w<C.length;w++){var R=i(C[w],2),j=R[0],B=R[1];x.call(g,B,j,d)}},get:function(x){var g=d.filter(function(w){return w[0]===x})[0];return g&&g[1]},has:function(x){return!!P.get(x)},keys:function(){return d.map(function(x){var g=i(x,1),w=g[0];return w})},values:function(){return d.map(function(x){var g=i(x,2),w=g[1];return w})}};e.default=(0,t.default)(P,P.entries())}}),Qf=ee({"../../node_modules/aria-query/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=a(zP()),r=a(GP()),n=a(Xf()),i=a(DF()),o=a(PF());function a(s){return s&&s.__esModule?s:{default:s}}e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=i.default,e.roleElements=o.default}}),sA=ee({"../../node_modules/css.escape/css.escape.js"(e,t){(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(i){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var o=String(i),a=o.length,s=-1,l,u="",d=o.charCodeAt(0);++s<a;){if(l=o.charCodeAt(s),l==0){u+="�";continue}if(l>=1&&l<=31||l==127||s==0&&l>=48&&l<=57||s==1&&l>=48&&l<=57&&d==45){u+="\\"+l.toString(16)+" ";continue}if(s==0&&a==1&&l==45){u+="\\"+o.charAt(s);continue}if(l>=128||l==45||l==95||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122){u+=o.charAt(s);continue}u+="\\"+o.charAt(s)}return u};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),uA=ee({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){var r=(o=0)=>a=>`\x1B[${38+o};5;${a}m`,n=(o=0)=>(a,s,l)=>`\x1B[${38+o};2;${a};${s};${l}m`;function i(){let o=new Map,a={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};a.color.gray=a.color.blackBright,a.bgColor.bgGray=a.bgColor.bgBlackBright,a.color.grey=a.color.blackBright,a.bgColor.bgGrey=a.bgColor.bgBlackBright;for(let[s,l]of Object.entries(a)){for(let[u,d]of Object.entries(l))a[u]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},l[u]=a[u],o.set(d[0],d[1]);Object.defineProperty(a,s,{value:l,enumerable:!1})}return Object.defineProperty(a,"codes",{value:o,enumerable:!1}),a.color.close="\x1B[39m",a.bgColor.close="\x1B[49m",a.color.ansi256=r(),a.color.ansi16m=n(),a.bgColor.ansi256=r(10),a.bgColor.ansi16m=n(10),Object.defineProperties(a,{rgbToAnsi256:{value:(s,l,u)=>s===l&&l===u?s<8?16:s>248?231:Math.round((s-8)/247*24)+232:16+36*Math.round(s/255*5)+6*Math.round(l/255*5)+Math.round(u/255*5),enumerable:!1},hexToRgb:{value:s=>{let l=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(s.toString(16));if(!l)return[0,0,0];let{colorString:u}=l.groups;u.length===3&&(u=u.split("").map(f=>f+f).join(""));let d=Number.parseInt(u,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:s=>a.rgbToAnsi256(...a.hexToRgb(s)),enumerable:!1}}),a}Object.defineProperty(t,"exports",{enumerable:!0,get:i})}}),Tl=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=i,e.printObjectProperties=o;var t=(a,s)=>{let l=Object.keys(a).sort(s);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(a).forEach(u=>{Object.getOwnPropertyDescriptor(a,u).enumerable&&l.push(u)}),l};function r(a,s,l,u,d,f,h=": "){let m="",b=a.next();if(!b.done){m+=s.spacingOuter;let y=l+s.indent;for(;!b.done;){let A=f(b.value[0],s,y,u,d),E=f(b.value[1],s,y,u,d);m+=y+A+h+E,b=a.next(),b.done?s.min||(m+=","):m+=","+s.spacingInner}m+=s.spacingOuter+l}return m}function n(a,s,l,u,d,f){let h="",m=a.next();if(!m.done){h+=s.spacingOuter;let b=l+s.indent;for(;!m.done;)h+=b+f(m.value,s,b,u,d),m=a.next(),m.done?s.min||(h+=","):h+=","+s.spacingInner;h+=s.spacingOuter+l}return h}function i(a,s,l,u,d,f){let h="";if(a.length){h+=s.spacingOuter;let m=l+s.indent;for(let b=0;b<a.length;b++)h+=m,b in a&&(h+=f(a[b],s,m,u,d)),b<a.length-1?h+=","+s.spacingInner:s.min||(h+=",");h+=s.spacingOuter+l}return h}function o(a,s,l,u,d,f){let h="",m=t(a,s.compareKeys);if(m.length){h+=s.spacingOuter;let b=l+s.indent;for(let y=0;y<m.length;y++){let A=m[y],E=f(A,s,b,u,d),_=f(a[A],s,b,u,d);h+=b+E+": "+_,y<m.length-1?h+=","+s.spacingInner:s.min||(h+=",")}h+=s.spacingOuter+l}return h}}}),OF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Tl(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",a=(d,f,h,m,b,y)=>{let A=d.toString();return A==="ArrayContaining"||A==="ArrayNotContaining"?++m>f.maxDepth?"["+A+"]":A+o+"["+(0,t.printListItems)(d.sample,f,h,m,b,y)+"]":A==="ObjectContaining"||A==="ObjectNotContaining"?++m>f.maxDepth?"["+A+"]":A+o+"{"+(0,t.printObjectProperties)(d.sample,f,h,m,b,y)+"}":A==="StringMatching"||A==="StringNotMatching"||A==="StringContaining"||A==="StringNotContaining"?A+o+y(d.sample,f,h,m,b):d.toAsymmetricMatcher()};e.serialize=a;var s=d=>d&&d.$$typeof===i;e.test=s;var l={serialize:a,test:s},u=l;e.default=u}}),IF=ee({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),FF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(IF()),r=n(uA());function n(u){return u&&u.__esModule?u:{default:u}}var i=u=>u.replace((0,t.default)(),d=>{switch(d){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),o=u=>typeof u=="string"&&!!u.match((0,t.default)());e.test=o;var a=(u,d,f,h,m,b)=>b(i(u),d,f,h,m);e.serialize=a;var s={serialize:a,test:o},l=s;e.default=l}}),NF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Tl(),r=" ",n=["DOMStringMap","NamedNodeMap"],i=/^(HTML\w*Collection|NodeList)$/,o=f=>n.indexOf(f)!==-1||i.test(f),a=f=>f&&f.constructor&&!!f.constructor.name&&o(f.constructor.name);e.test=a;var s=f=>f.constructor.name==="NamedNodeMap",l=(f,h,m,b,y,A)=>{let E=f.constructor.name;return++b>h.maxDepth?"["+E+"]":(h.min?"":E+r)+(n.indexOf(E)!==-1?"{"+(0,t.printObjectProperties)(s(f)?Array.from(f).reduce((_,I)=>(_[I.name]=I.value,_),{}):{...f},h,m,b,y,A)+"}":"["+(0,t.printListItems)(Array.from(f),h,m,b,y,A)+"]")};e.serialize=l;var u={serialize:l,test:a},d=u;e.default=d}}),kF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),Zf=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(kF());function r(u){return u&&u.__esModule?u:{default:u}}var n=(u,d,f,h,m,b,y)=>{let A=h+f.indent,E=f.colors;return u.map(_=>{let I=d[_],P=y(I,f,A,m,b);return typeof I!="string"&&(P.indexOf(`
9
+ `)!==-1&&(P=f.spacingOuter+A+P+f.spacingOuter+h),P="{"+P+"}"),f.spacingInner+h+E.prop.open+_+E.prop.close+"="+E.value.open+P+E.value.close}).join("")};e.printProps=n;var i=(u,d,f,h,m,b)=>u.map(y=>d.spacingOuter+f+(typeof y=="string"?o(y,d):b(y,d,f,h,m))).join("");e.printChildren=i;var o=(u,d)=>{let f=d.colors.content;return f.open+(0,t.default)(u)+f.close};e.printText=o;var a=(u,d)=>{let f=d.colors.comment;return f.open+"<!--"+(0,t.default)(u)+"-->"+f.close};e.printComment=a;var s=(u,d,f,h,m)=>{let b=h.colors.tag;return b.open+"<"+u+(d&&b.close+d+h.spacingOuter+m+b.open)+(f?">"+b.close+f+h.spacingOuter+m+b.open+"</"+u:(d&&!h.min?"":" ")+"/")+">"+b.close};e.printElement=s;var l=(u,d)=>{let f=d.colors.tag;return f.open+"<"+u+f.close+" …"+f.open+" />"+f.close};e.printElementAsLeaf=l}}),BF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Zf(),r=1,n=3,i=8,o=11,a=/^((HTML|SVG)\w*)?Element$/,s=A=>{try{return typeof A.hasAttribute=="function"&&A.hasAttribute("is")}catch{return!1}},l=A=>{let E=A.constructor.name,{nodeType:_,tagName:I}=A,P=typeof I=="string"&&I.includes("-")||s(A);return _===r&&(a.test(E)||P)||_===n&&E==="Text"||_===i&&E==="Comment"||_===o&&E==="DocumentFragment"},u=A=>{var E;return(A==null||(E=A.constructor)===null||E===void 0?void 0:E.name)&&l(A)};e.test=u;function d(A){return A.nodeType===n}function f(A){return A.nodeType===i}function h(A){return A.nodeType===o}var m=(A,E,_,I,P,x)=>{if(d(A))return(0,t.printText)(A.data,E);if(f(A))return(0,t.printComment)(A.data,E);let g=h(A)?"DocumentFragment":A.tagName.toLowerCase();return++I>E.maxDepth?(0,t.printElementAsLeaf)(g,E):(0,t.printElement)(g,(0,t.printProps)(h(A)?[]:Array.from(A.attributes).map(w=>w.name).sort(),h(A)?{}:Array.from(A.attributes).reduce((w,C)=>(w[C.name]=C.value,w),{}),E,_+E.indent,I,P,x),(0,t.printChildren)(Array.prototype.slice.call(A.childNodes||A.children),E,_+E.indent,I,P,x),E,_)};e.serialize=m;var b={serialize:m,test:u},y=b;e.default=y}}),MF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Tl(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",i="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",a="@@__IMMUTABLE_ORDERED__@@",s="@@__IMMUTABLE_RECORD__@@",l="@@__IMMUTABLE_SEQ__@@",u="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",f=C=>"Immutable."+C,h=C=>"["+C+"]",m=" ",b="…",y=(C,R,j,B,U,$,k)=>++B>R.maxDepth?h(f(k)):f(k)+m+"{"+(0,t.printIteratorEntries)(C.entries(),R,j,B,U,$)+"}";function A(C){let R=0;return{next(){if(R<C._keys.length){let j=C._keys[R++];return{done:!1,value:[j,C.get(j)]}}return{done:!0,value:void 0}}}}var E=(C,R,j,B,U,$)=>{let k=f(C._name||"Record");return++B>R.maxDepth?h(k):k+m+"{"+(0,t.printIteratorEntries)(A(C),R,j,B,U,$)+"}"},_=(C,R,j,B,U,$)=>{let k=f("Seq");return++B>R.maxDepth?h(k):C[i]?k+m+"{"+(C._iter||C._object?(0,t.printIteratorEntries)(C.entries(),R,j,B,U,$):b)+"}":k+m+"["+(C._iter||C._array||C._collection||C._iterable?(0,t.printIteratorValues)(C.values(),R,j,B,U,$):b)+"]"},I=(C,R,j,B,U,$,k)=>++B>R.maxDepth?h(f(k)):f(k)+m+"["+(0,t.printIteratorValues)(C.values(),R,j,B,U,$)+"]",P=(C,R,j,B,U,$)=>C[o]?y(C,R,j,B,U,$,C[a]?"OrderedMap":"Map"):C[n]?I(C,R,j,B,U,$,"List"):C[u]?I(C,R,j,B,U,$,C[a]?"OrderedSet":"Set"):C[d]?I(C,R,j,B,U,$,"Stack"):C[l]?_(C,R,j,B,U,$):E(C,R,j,B,U,$);e.serialize=P;var x=C=>C&&(C[r]===!0||C[s]===!0);e.test=x;var g={serialize:P,test:x},w=g;e.default=w}}),jF=ee({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=60103,r=60106,n=60107,i=60108,o=60114,a=60109,s=60110,l=60112,u=60113,d=60120,f=60115,h=60116,m=60121,b=60122,y=60117,A=60129,E=60131;typeof Symbol=="function"&&Symbol.for&&(_=Symbol.for,t=_("react.element"),r=_("react.portal"),n=_("react.fragment"),i=_("react.strict_mode"),o=_("react.profiler"),a=_("react.provider"),s=_("react.context"),l=_("react.forward_ref"),u=_("react.suspense"),d=_("react.suspense_list"),f=_("react.memo"),h=_("react.lazy"),m=_("react.block"),b=_("react.server.block"),y=_("react.fundamental"),A=_("react.debug_trace_mode"),E=_("react.legacy_hidden"));var _;function I(k){if(typeof k=="object"&&k!==null){var V=k.$$typeof;switch(V){case t:switch(k=k.type,k){case n:case o:case i:case u:case d:return k;default:switch(k=k&&k.$$typeof,k){case s:case l:case h:case f:case a:return k;default:return V}}case r:return V}}}var P=a,x=t,g=l,w=n,C=h,R=f,j=r,B=o,U=i,$=u;e.ContextConsumer=s,e.ContextProvider=P,e.Element=x,e.ForwardRef=g,e.Fragment=w,e.Lazy=C,e.Memo=R,e.Portal=j,e.Profiler=B,e.StrictMode=U,e.Suspense=$,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(k){return I(k)===s},e.isContextProvider=function(k){return I(k)===a},e.isElement=function(k){return typeof k=="object"&&k!==null&&k.$$typeof===t},e.isForwardRef=function(k){return I(k)===l},e.isFragment=function(k){return I(k)===n},e.isLazy=function(k){return I(k)===h},e.isMemo=function(k){return I(k)===f},e.isPortal=function(k){return I(k)===r},e.isProfiler=function(k){return I(k)===o},e.isStrictMode=function(k){return I(k)===i},e.isSuspense=function(k){return I(k)===u},e.isValidElementType=function(k){return typeof k=="string"||typeof k=="function"||k===n||k===o||k===A||k===i||k===u||k===d||k===E||typeof k=="object"&&k!==null&&(k.$$typeof===h||k.$$typeof===f||k.$$typeof===a||k.$$typeof===s||k.$$typeof===l||k.$$typeof===y||k.$$typeof===m||k[0]===b)},e.typeOf=I}}),LF=ee({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){t.exports=jF()}}),qF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=i(LF()),r=Zf();function n(h){if(typeof WeakMap!="function")return null;var m=new WeakMap,b=new WeakMap;return(n=function(y){return y?b:m})(h)}function i(h,m){if(h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var b=n(m);if(b&&b.has(h))return b.get(h);var y={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var E in h)if(E!=="default"&&Object.prototype.hasOwnProperty.call(h,E)){var _=A?Object.getOwnPropertyDescriptor(h,E):null;_&&(_.get||_.set)?Object.defineProperty(y,E,_):y[E]=h[E]}return y.default=h,b&&b.set(h,y),y}var o=(h,m=[])=>(Array.isArray(h)?h.forEach(b=>{o(b,m)}):h!=null&&h!==!1&&m.push(h),m),a=h=>{let m=h.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(m.displayName)return m.displayName;let b=m.render.displayName||m.render.name||"";return b!==""?"ForwardRef("+b+")":"ForwardRef"}if(t.isMemo(h)){let b=m.displayName||m.type.displayName||m.type.name||"";return b!==""?"Memo("+b+")":"Memo"}}return"UNDEFINED"},s=h=>{let{props:m}=h;return Object.keys(m).filter(b=>b!=="children"&&m[b]!==void 0).sort()},l=(h,m,b,y,A,E)=>++y>m.maxDepth?(0,r.printElementAsLeaf)(a(h),m):(0,r.printElement)(a(h),(0,r.printProps)(s(h),h.props,m,b+m.indent,y,A,E),(0,r.printChildren)(o(h.props.children),m,b+m.indent,y,A,E),m,b);e.serialize=l;var u=h=>h!=null&&t.isElement(h);e.test=u;var d={serialize:l,test:u},f=d;e.default=f}}),$F=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Zf(),r=(function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()})(),n=r["jest-symbol-do-not-touch"]||r.Symbol,i=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=d=>{let{props:f}=d;return f?Object.keys(f).filter(h=>f[h]!==void 0).sort():[]},a=(d,f,h,m,b,y)=>++m>f.maxDepth?(0,t.printElementAsLeaf)(d.type,f):(0,t.printElement)(d.type,d.props?(0,t.printProps)(o(d),d.props,f,h+f.indent,m,b,y):"",d.children?(0,t.printChildren)(d.children,f,h+f.indent,m,b,y):"",f,h);e.serialize=a;var s=d=>d&&d.$$typeof===i;e.test=s;var l={serialize:a,test:s},u=l;e.default=u}}),VF=ee({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=xe,e.plugins=void 0;var t=d(uA()),r=Tl(),n=d(OF()),i=d(FF()),o=d(NF()),a=d(BF()),s=d(MF()),l=d(qF()),u=d($F());function d(Q){return Q&&Q.__esModule?Q:{default:Q}}var f=Object.prototype.toString,h=Date.prototype.toISOString,m=Error.prototype.toString,b=RegExp.prototype.toString,y=Q=>typeof Q.constructor=="function"&&Q.constructor.name||"Object",A=Q=>typeof window<"u"&&Q===window,E=/^Symbol\((.*)\)(.*)$/,_=/\n/gi,I=class extends Error{constructor(Q,ye){super(Q),this.stack=ye,this.name=this.constructor.name}};function P(Q){return Q==="[object Array]"||Q==="[object ArrayBuffer]"||Q==="[object DataView]"||Q==="[object Float32Array]"||Q==="[object Float64Array]"||Q==="[object Int8Array]"||Q==="[object Int16Array]"||Q==="[object Int32Array]"||Q==="[object Uint8Array]"||Q==="[object Uint8ClampedArray]"||Q==="[object Uint16Array]"||Q==="[object Uint32Array]"}function x(Q){return Object.is(Q,-0)?"-0":String(Q)}function g(Q){return`${Q}n`}function w(Q,ye){return ye?"[Function "+(Q.name||"anonymous")+"]":"[Function]"}function C(Q){return String(Q).replace(E,"Symbol($1)")}function R(Q){return"["+m.call(Q)+"]"}function j(Q,ye,Ae,Re){if(Q===!0||Q===!1)return""+Q;if(Q===void 0)return"undefined";if(Q===null)return"null";let Te=typeof Q;if(Te==="number")return x(Q);if(Te==="bigint")return g(Q);if(Te==="string")return Re?'"'+Q.replace(/"|\\/g,"\\$&")+'"':'"'+Q+'"';if(Te==="function")return w(Q,ye);if(Te==="symbol")return C(Q);let Oe=f.call(Q);return Oe==="[object WeakMap]"?"WeakMap {}":Oe==="[object WeakSet]"?"WeakSet {}":Oe==="[object Function]"||Oe==="[object GeneratorFunction]"?w(Q,ye):Oe==="[object Symbol]"?C(Q):Oe==="[object Date]"?isNaN(+Q)?"Date { NaN }":h.call(Q):Oe==="[object Error]"?R(Q):Oe==="[object RegExp]"?Ae?b.call(Q).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):b.call(Q):Q instanceof Error?R(Q):null}function B(Q,ye,Ae,Re,Te,Oe){if(Te.indexOf(Q)!==-1)return"[Circular]";Te=Te.slice(),Te.push(Q);let Ie=++Re>ye.maxDepth,Ve=ye.min;if(ye.callToJSON&&!Ie&&Q.toJSON&&typeof Q.toJSON=="function"&&!Oe)return V(Q.toJSON(),ye,Ae,Re,Te,!0);let bt=f.call(Q);return bt==="[object Arguments]"?Ie?"[Arguments]":(Ve?"":"Arguments ")+"["+(0,r.printListItems)(Q,ye,Ae,Re,Te,V)+"]":P(bt)?Ie?"["+Q.constructor.name+"]":(Ve||!ye.printBasicPrototype&&Q.constructor.name==="Array"?"":Q.constructor.name+" ")+"["+(0,r.printListItems)(Q,ye,Ae,Re,Te,V)+"]":bt==="[object Map]"?Ie?"[Map]":"Map {"+(0,r.printIteratorEntries)(Q.entries(),ye,Ae,Re,Te,V," => ")+"}":bt==="[object Set]"?Ie?"[Set]":"Set {"+(0,r.printIteratorValues)(Q.values(),ye,Ae,Re,Te,V)+"}":Ie||A(Q)?"["+y(Q)+"]":(Ve||!ye.printBasicPrototype&&y(Q)==="Object"?"":y(Q)+" ")+"{"+(0,r.printObjectProperties)(Q,ye,Ae,Re,Te,V)+"}"}function U(Q){return Q.serialize!=null}function $(Q,ye,Ae,Re,Te,Oe){let Ie;try{Ie=U(Q)?Q.serialize(ye,Ae,Re,Te,Oe,V):Q.print(ye,Ve=>V(Ve,Ae,Re,Te,Oe),Ve=>{let bt=Re+Ae.indent;return bt+Ve.replace(_,`
10
+ `+bt)},{edgeSpacing:Ae.spacingOuter,min:Ae.min,spacing:Ae.spacingInner},Ae.colors)}catch(Ve){throw new I(Ve.message,Ve.stack)}if(typeof Ie!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof Ie}".`);return Ie}function k(Q,ye){for(let Ae=0;Ae<Q.length;Ae++)try{if(Q[Ae].test(ye))return Q[Ae]}catch(Re){throw new I(Re.message,Re.stack)}return null}function V(Q,ye,Ae,Re,Te,Oe){let Ie=k(ye.plugins,Q);if(Ie!==null)return $(Ie,Q,ye,Ae,Re,Te);let Ve=j(Q,ye.printFunctionName,ye.escapeRegex,ye.escapeString);return Ve!==null?Ve:B(Q,ye,Ae,Re,Te,Oe)}var W={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Y=Object.keys(W),ne={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:W};e.DEFAULT_OPTIONS=ne;function we(Q){if(Object.keys(Q).forEach(ye=>{if(!ne.hasOwnProperty(ye))throw new Error(`pretty-format: Unknown option "${ye}".`)}),Q.min&&Q.indent!==void 0&&Q.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Q.theme!==void 0){if(Q.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Q.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Q.theme}".`)}}var Pe=Q=>Y.reduce((ye,Ae)=>{let Re=Q.theme&&Q.theme[Ae]!==void 0?Q.theme[Ae]:W[Ae],Te=Re&&t.default[Re];if(Te&&typeof Te.close=="string"&&typeof Te.open=="string")ye[Ae]=Te;else throw new Error(`pretty-format: Option "theme" has a key "${Ae}" whose value "${Re}" is undefined in ansi-styles.`);return ye},Object.create(null)),X=()=>Y.reduce((Q,ye)=>(Q[ye]={close:"",open:""},Q),Object.create(null)),G=Q=>Q&&Q.printFunctionName!==void 0?Q.printFunctionName:ne.printFunctionName,ie=Q=>Q&&Q.escapeRegex!==void 0?Q.escapeRegex:ne.escapeRegex,fe=Q=>Q&&Q.escapeString!==void 0?Q.escapeString:ne.escapeString,he=Q=>{var ye;return{callToJSON:Q&&Q.callToJSON!==void 0?Q.callToJSON:ne.callToJSON,colors:Q&&Q.highlight?Pe(Q):X(),compareKeys:Q&&typeof Q.compareKeys=="function"?Q.compareKeys:ne.compareKeys,escapeRegex:ie(Q),escapeString:fe(Q),indent:Q&&Q.min?"":se(Q&&Q.indent!==void 0?Q.indent:ne.indent),maxDepth:Q&&Q.maxDepth!==void 0?Q.maxDepth:ne.maxDepth,min:Q&&Q.min!==void 0?Q.min:ne.min,plugins:Q&&Q.plugins!==void 0?Q.plugins:ne.plugins,printBasicPrototype:(ye=Q?.printBasicPrototype)!==null&&ye!==void 0?ye:!0,printFunctionName:G(Q),spacingInner:Q&&Q.min?" ":`
11
+ `,spacingOuter:Q&&Q.min?"":`
12
+ `}};function se(Q){return new Array(Q+1).join(" ")}function xe(Q,ye){if(ye&&(we(ye),ye.plugins)){let Re=k(ye.plugins,Q);if(Re!==null)return $(Re,Q,he(ye),"",0,[])}let Ae=j(Q,G(ye),ie(ye),fe(ye));return Ae!==null?Ae:B(Q,he(ye),"",0,[])}var Se={AsymmetricMatcher:n.default,ConvertAnsi:i.default,DOMCollection:o.default,DOMElement:a.default,Immutable:s.default,ReactElement:l.default,ReactTestComponent:u.default};e.plugins=Se;var je=xe;e.default=je}}),UF=ee({"../../node_modules/lz-string/libs/lz-string.js"(e,t){var r=(function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",a={};function s(u,d){if(!a[u]){a[u]={};for(var f=0;f<u.length;f++)a[u][u.charAt(f)]=f}return a[u][d]}var l={compressToBase64:function(u){if(u==null)return"";var d=l._compress(u,6,function(f){return i.charAt(f)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},decompressFromBase64:function(u){return u==null?"":u==""?null:l._decompress(u.length,32,function(d){return s(i,u.charAt(d))})},compressToUTF16:function(u){return u==null?"":l._compress(u,15,function(d){return n(d+32)})+" "},decompressFromUTF16:function(u){return u==null?"":u==""?null:l._decompress(u.length,16384,function(d){return u.charCodeAt(d)-32})},compressToUint8Array:function(u){for(var d=l.compress(u),f=new Uint8Array(d.length*2),h=0,m=d.length;h<m;h++){var b=d.charCodeAt(h);f[h*2]=b>>>8,f[h*2+1]=b%256}return f},decompressFromUint8Array:function(u){if(u==null)return l.decompress(u);for(var d=new Array(u.length/2),f=0,h=d.length;f<h;f++)d[f]=u[f*2]*256+u[f*2+1];var m=[];return d.forEach(function(b){m.push(n(b))}),l.decompress(m.join(""))},compressToEncodedURIComponent:function(u){return u==null?"":l._compress(u,6,function(d){return o.charAt(d)})},decompressFromEncodedURIComponent:function(u){return u==null?"":u==""?null:(u=u.replace(/ /g,"+"),l._decompress(u.length,32,function(d){return s(o,u.charAt(d))}))},compress:function(u){return l._compress(u,16,function(d){return n(d)})},_compress:function(u,d,f){if(u==null)return"";var h,m,b={},y={},A="",E="",_="",I=2,P=3,x=2,g=[],w=0,C=0,R;for(R=0;R<u.length;R+=1)if(A=u.charAt(R),Object.prototype.hasOwnProperty.call(b,A)||(b[A]=P++,y[A]=!0),E=_+A,Object.prototype.hasOwnProperty.call(b,E))_=E;else{if(Object.prototype.hasOwnProperty.call(y,_)){if(_.charCodeAt(0)<256){for(h=0;h<x;h++)w=w<<1,C==d-1?(C=0,g.push(f(w)),w=0):C++;for(m=_.charCodeAt(0),h=0;h<8;h++)w=w<<1|m&1,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=m>>1}else{for(m=1,h=0;h<x;h++)w=w<<1|m,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=0;for(m=_.charCodeAt(0),h=0;h<16;h++)w=w<<1|m&1,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=m>>1}I--,I==0&&(I=Math.pow(2,x),x++),delete y[_]}else for(m=b[_],h=0;h<x;h++)w=w<<1|m&1,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=m>>1;I--,I==0&&(I=Math.pow(2,x),x++),b[E]=P++,_=String(A)}if(_!==""){if(Object.prototype.hasOwnProperty.call(y,_)){if(_.charCodeAt(0)<256){for(h=0;h<x;h++)w=w<<1,C==d-1?(C=0,g.push(f(w)),w=0):C++;for(m=_.charCodeAt(0),h=0;h<8;h++)w=w<<1|m&1,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=m>>1}else{for(m=1,h=0;h<x;h++)w=w<<1|m,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=0;for(m=_.charCodeAt(0),h=0;h<16;h++)w=w<<1|m&1,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=m>>1}I--,I==0&&(I=Math.pow(2,x),x++),delete y[_]}else for(m=b[_],h=0;h<x;h++)w=w<<1|m&1,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=m>>1;I--,I==0&&(I=Math.pow(2,x),x++)}for(m=2,h=0;h<x;h++)w=w<<1|m&1,C==d-1?(C=0,g.push(f(w)),w=0):C++,m=m>>1;for(;;)if(w=w<<1,C==d-1){g.push(f(w));break}else C++;return g.join("")},decompress:function(u){return u==null?"":u==""?null:l._decompress(u.length,32768,function(d){return u.charCodeAt(d)})},_decompress:function(u,d,f){var h=[],m=4,b=4,y=3,A="",E=[],_,I,P,x,g,w,C,R={val:f(0),position:d,index:1};for(_=0;_<3;_+=1)h[_]=_;for(P=0,g=Math.pow(2,2),w=1;w!=g;)x=R.val&R.position,R.position>>=1,R.position==0&&(R.position=d,R.val=f(R.index++)),P|=(x>0?1:0)*w,w<<=1;switch(P){case 0:for(P=0,g=Math.pow(2,8),w=1;w!=g;)x=R.val&R.position,R.position>>=1,R.position==0&&(R.position=d,R.val=f(R.index++)),P|=(x>0?1:0)*w,w<<=1;C=n(P);break;case 1:for(P=0,g=Math.pow(2,16),w=1;w!=g;)x=R.val&R.position,R.position>>=1,R.position==0&&(R.position=d,R.val=f(R.index++)),P|=(x>0?1:0)*w,w<<=1;C=n(P);break;case 2:return""}for(h[3]=C,I=C,E.push(C);;){if(R.index>u)return"";for(P=0,g=Math.pow(2,y),w=1;w!=g;)x=R.val&R.position,R.position>>=1,R.position==0&&(R.position=d,R.val=f(R.index++)),P|=(x>0?1:0)*w,w<<=1;switch(C=P){case 0:for(P=0,g=Math.pow(2,8),w=1;w!=g;)x=R.val&R.position,R.position>>=1,R.position==0&&(R.position=d,R.val=f(R.index++)),P|=(x>0?1:0)*w,w<<=1;h[b++]=n(P),C=b-1,m--;break;case 1:for(P=0,g=Math.pow(2,16),w=1;w!=g;)x=R.val&R.position,R.position>>=1,R.position==0&&(R.position=d,R.val=f(R.index++)),P|=(x>0?1:0)*w,w<<=1;h[b++]=n(P),C=b-1,m--;break;case 2:return E.join("")}if(m==0&&(m=Math.pow(2,y),y++),h[C])A=h[C];else if(C===b)A=I+I.charAt(0);else return null;E.push(A),h[b++]=I+A.charAt(0),m--,I=A,m==0&&(m=Math.pow(2,y),y++)}}};return l})();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),lA=ee({"../../node_modules/entities/lib/maps/entities.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
13
+ `,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}}),JF=ee({"../../node_modules/entities/lib/maps/legacy.json"(e,t){t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}}),cA=ee({"../../node_modules/entities/lib/maps/xml.json"(e,t){t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}}),HF=ee({"../../node_modules/entities/lib/maps/decode.json"(e,t){t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}}),zF=ee({"../../node_modules/entities/lib/decode_codepoint.js"(e){var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(HF()),n=String.fromCodePoint||function(o){var a="";return o>65535&&(o-=65536,a+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),a+=String.fromCharCode(o),a};function i(o){return o>=55296&&o<=57343||o>1114111?"�":(o in r.default&&(o=r.default[o]),n(o))}e.default=i}}),Yy=ee({"../../node_modules/entities/lib/decode.js"(e){var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(lA()),n=t(JF()),i=t(cA()),o=t(zF()),a=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=s(i.default),e.decodeHTMLStrict=s(r.default);function s(d){var f=u(d);return function(h){return String(h).replace(a,f)}}var l=function(d,f){return d<f?1:-1};e.decodeHTML=(function(){for(var d=Object.keys(n.default).sort(l),f=Object.keys(r.default).sort(l),h=0,m=0;h<f.length;h++)d[m]===f[h]?(f[h]+=";?",m++):f[h]+=";";var b=new RegExp("&(?:"+f.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),y=u(r.default);function A(E){return E.substr(-1)!==";"&&(E+=";"),y(E)}return function(E){return String(E).replace(b,A)}})();function u(d){return function(f){if(f.charAt(1)==="#"){var h=f.charAt(2);return h==="X"||h==="x"?o.default(parseInt(f.substr(3),16)):o.default(parseInt(f.substr(2),10))}return d[f.slice(1,-1)]||f}}}}),Xy=ee({"../../node_modules/entities/lib/encode.js"(e){var t=e&&e.__importDefault||function(_){return _&&_.__esModule?_:{default:_}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(cA()),n=l(r.default),i=u(n);e.encodeXML=E(n);var o=t(lA()),a=l(o.default),s=u(a);e.encodeHTML=m(a,s),e.encodeNonAsciiHTML=E(a);function l(_){return Object.keys(_).sort().reduce(function(I,P){return I[_[P]]="&"+P+";",I},{})}function u(_){for(var I=[],P=[],x=0,g=Object.keys(_);x<g.length;x++){var w=g[x];w.length===1?I.push("\\"+w):P.push(w)}I.sort();for(var C=0;C<I.length-1;C++){for(var R=C;R<I.length-1&&I[R].charCodeAt(1)+1===I[R+1].charCodeAt(1);)R+=1;var j=1+R-C;j<3||I.splice(C,j,I[C]+"-"+I[R])}return P.unshift("["+I.join("")+"]"),new RegExp(P.join("|"),"g")}var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,f=String.prototype.codePointAt!=null?(function(_){return _.codePointAt(0)}):(function(_){return(_.charCodeAt(0)-55296)*1024+_.charCodeAt(1)-56320+65536});function h(_){return"&#x"+(_.length>1?f(_):_.charCodeAt(0)).toString(16).toUpperCase()+";"}function m(_,I){return function(P){return P.replace(I,function(x){return _[x]}).replace(d,h)}}var b=new RegExp(i.source+"|"+d.source,"g");function y(_){return _.replace(b,h)}e.escape=y;function A(_){return _.replace(i,h)}e.escapeUTF8=A;function E(_){return function(I){return I.replace(b,function(P){return _[P]||h(P)})}}}}),GF=ee({"../../node_modules/entities/lib/index.js"(e){Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=Yy(),r=Xy();function n(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTML)(l)}e.decode=n;function i(l,u){return(!u||u<=0?t.decodeXML:t.decodeHTMLStrict)(l)}e.decodeStrict=i;function o(l,u){return(!u||u<=0?r.encodeXML:r.encodeHTML)(l)}e.encode=o;var a=Xy();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:function(){return a.encodeXML}}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return a.encodeNonAsciiHTML}}),Object.defineProperty(e,"escape",{enumerable:!0,get:function(){return a.escape}}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:function(){return a.escapeUTF8}}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:function(){return a.encodeHTML}}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:function(){return a.encodeHTML}});var s=Yy();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:function(){return s.decodeXML}}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:function(){return s.decodeHTML}}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:function(){return s.decodeHTMLStrict}}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:function(){return s.decodeXML}})}}),WF=ee({"../../node_modules/ansi-to-html/lib/ansi_to_html.js"(e,t){function r(k,V){if(!(k instanceof V))throw new TypeError("Cannot call a class as a function")}function n(k,V){for(var W=0;W<V.length;W++){var Y=V[W];Y.enumerable=Y.enumerable||!1,Y.configurable=!0,"value"in Y&&(Y.writable=!0),Object.defineProperty(k,Y.key,Y)}}function i(k,V,W){return V&&n(k.prototype,V),k}function o(k,V){var W=typeof Symbol<"u"&&k[Symbol.iterator]||k["@@iterator"];if(!W){if(Array.isArray(k)||(W=a(k))||V){W&&(k=W);var Y=0,ne=function(){};return{s:ne,n:function(){return Y>=k.length?{done:!0}:{done:!1,value:k[Y++]}},e:function(G){throw G},f:ne}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
14
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var we=!0,Pe=!1,X;return{s:function(){W=W.call(k)},n:function(){var G=W.next();return we=G.done,G},e:function(G){Pe=!0,X=G},f:function(){try{!we&&W.return!=null&&W.return()}finally{if(Pe)throw X}}}}function a(k,V){if(k){if(typeof k=="string")return s(k,V);var W=Object.prototype.toString.call(k).slice(8,-1);if(W==="Object"&&k.constructor&&(W=k.constructor.name),W==="Map"||W==="Set")return Array.from(k);if(W==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(W))return s(k,V)}}function s(k,V){(V==null||V>k.length)&&(V=k.length);for(var W=0,Y=new Array(V);W<V;W++)Y[W]=k[W];return Y}var l=GF(),u={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var k={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return _(0,5).forEach(function(V){_(0,5).forEach(function(W){_(0,5).forEach(function(Y){return f(V,W,Y,k)})})}),_(0,23).forEach(function(V){var W=V+232,Y=h(V*10+8);k[W]="#"+Y+Y+Y}),k}function f(k,V,W,Y){var ne=16+k*36+V*6+W,we=k>0?k*40+55:0,Pe=V>0?V*40+55:0,X=W>0?W*40+55:0;Y[ne]=m([we,Pe,X])}function h(k){for(var V=k.toString(16);V.length<2;)V="0"+V;return V}function m(k){var V=[],W=o(k),Y;try{for(W.s();!(Y=W.n()).done;){var ne=Y.value;V.push(h(ne))}}catch(we){W.e(we)}finally{W.f()}return"#"+V.join("")}function b(k,V,W,Y){var ne;return V==="text"?ne=x(W,Y):V==="display"?ne=A(k,W,Y):V==="xterm256Foreground"?ne=C(k,Y.colors[W]):V==="xterm256Background"?ne=R(k,Y.colors[W]):V==="rgb"&&(ne=y(k,W)),ne}function y(k,V){V=V.substring(2).slice(0,-1);var W=+V.substr(0,2),Y=V.substring(5).split(";"),ne=Y.map(function(we){return("0"+Number(we).toString(16)).substr(-2)}).join("");return w(k,(W===38?"color:#":"background-color:#")+ne)}function A(k,V,W){V=parseInt(V,10);var Y={"-1":function(){return"<br/>"},0:function(){return k.length&&E(k)},1:function(){return g(k,"b")},3:function(){return g(k,"i")},4:function(){return g(k,"u")},8:function(){return w(k,"display:none")},9:function(){return g(k,"strike")},22:function(){return w(k,"font-weight:normal;text-decoration:none;font-style:normal")},23:function(){return j(k,"i")},24:function(){return j(k,"u")},39:function(){return C(k,W.fg)},49:function(){return R(k,W.bg)},53:function(){return w(k,"text-decoration:overline")}},ne;return Y[V]?ne=Y[V]():4<V&&V<7?ne=g(k,"blink"):29<V&&V<38?ne=C(k,W.colors[V-30]):39<V&&V<48?ne=R(k,W.colors[V-40]):89<V&&V<98?ne=C(k,W.colors[8+(V-90)]):99<V&&V<108&&(ne=R(k,W.colors[8+(V-100)])),ne}function E(k){var V=k.slice(0);return k.length=0,V.reverse().map(function(W){return"</"+W+">"}).join("")}function _(k,V){for(var W=[],Y=k;Y<=V;Y++)W.push(Y);return W}function I(k){return function(V){return(k===null||V.category!==k)&&k!=="all"}}function P(k){k=parseInt(k,10);var V=null;return k===0?V="all":k===1?V="bold":2<k&&k<5?V="underline":4<k&&k<7?V="blink":k===8?V="hide":k===9?V="strike":29<k&&k<38||k===39||89<k&&k<98?V="foreground-color":(39<k&&k<48||k===49||99<k&&k<108)&&(V="background-color"),V}function x(k,V){return V.escapeXML?l.encodeXML(k):k}function g(k,V,W){return W||(W=""),k.push(V),"<".concat(V).concat(W?' style="'.concat(W,'"'):"",">")}function w(k,V){return g(k,"span",V)}function C(k,V){return g(k,"span","color:"+V)}function R(k,V){return g(k,"span","background-color:"+V)}function j(k,V){var W;if(k.slice(-1)[0]===V&&(W=k.pop()),W)return"</"+V+">"}function B(k,V,W){var Y=!1,ne=3;function we(){return""}function Pe(Oe,Ie){return W("xterm256Foreground",Ie),""}function X(Oe,Ie){return W("xterm256Background",Ie),""}function G(Oe){return V.newline?W("display",-1):W("text",Oe),""}function ie(Oe,Ie){Y=!0,Ie.trim().length===0&&(Ie="0"),Ie=Ie.trimRight(";").split(";");var Ve=o(Ie),bt;try{for(Ve.s();!(bt=Ve.n()).done;){var Kt=bt.value;W("display",Kt)}}catch(Ge){Ve.e(Ge)}finally{Ve.f()}return""}function fe(Oe){return W("text",Oe),""}function he(Oe){return W("rgb",Oe),""}var se=[{pattern:/^\x08+/,sub:we},{pattern:/^\x1b\[[012]?K/,sub:we},{pattern:/^\x1b\[\(B/,sub:we},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:he},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Pe},{pattern:/^\x1b\[48;5;(\d+)m/,sub:X},{pattern:/^\n/,sub:G},{pattern:/^\r+\n/,sub:G},{pattern:/^\r/,sub:G},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:ie},{pattern:/^\x1b\[\d?J/,sub:we},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:we},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:we},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:fe}];function xe(Oe,Ie){Ie>ne&&Y||(Y=!1,k=k.replace(Oe.pattern,Oe.sub))}var Se=[],je=k,Q=je.length;e:for(;Q>0;){for(var ye=0,Ae=0,Re=se.length;Ae<Re;ye=++Ae){var Te=se[ye];if(xe(Te,ye),k.length!==Q){Q=k.length;continue e}}if(k.length===Q)break;Se.push(0),Q=k.length}return Se}function U(k,V,W){return V!=="text"&&(k=k.filter(I(P(W))),k.push({token:V,data:W,category:P(W)})),k}var $=(function(){function k(V){r(this,k),V=V||{},V.colors&&(V.colors=Object.assign({},u.colors,V.colors)),this.options=Object.assign({},u,V),this.stack=[],this.stickyStack=[]}return i(k,[{key:"toHtml",value:function(V){var W=this;V=typeof V=="string"?[V]:V;var Y=this.stack,ne=this.options,we=[];return this.stickyStack.forEach(function(Pe){var X=b(Y,Pe.token,Pe.data,ne);X&&we.push(X)}),B(V.join(""),ne,function(Pe,X){var G=b(Y,Pe,X,ne);G&&we.push(G),ne.stream&&(W.stickyStack=U(W.stickyStack,Pe,X))}),Y.length&&we.push(E(Y)),we.join("")}}]),k})();t.exports=$}}),KF=ee({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,(function(r){function n(c){return c.text!==void 0&&c.text!==""?`'${c.type}' with value '${c.text}'`:`'${c.type}'`}class i extends Error{constructor(v){super(`No parslet found for token: ${n(v)}`),this.token=v,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class o extends Error{constructor(v){super(`The parsing ended early. The next token was: ${n(v)}`),this.token=v,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class a extends Error{constructor(v,D){let L=`Unexpected type: '${v.type}'.`;D!==void 0&&(L+=` Message: ${D}`),super(L),Object.setPrototypeOf(this,a.prototype)}}function s(c){return v=>v.startsWith(c)?{type:c,text:c}:null}function l(c){let v=0,D,L=c[0],Z=!1;if(L!=="'"&&L!=='"')return null;for(;v<c.length;){if(v++,D=c[v],!Z&&D===L){v++;break}Z=!Z&&D==="\\"}if(D!==L)throw new Error("Unterminated String");return c.slice(0,v)}let u=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),d=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function f(c){let v=c[0];if(!u.test(v))return null;let D=1;do{if(v=c[D],!d.test(v))break;D++}while(D<c.length);return c.slice(0,D)}let h=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function m(c){var v,D;return(D=(v=h.exec(c))===null||v===void 0?void 0:v[0])!==null&&D!==void 0?D:null}let b=c=>{let v=f(c);return v==null?null:{type:"Identifier",text:v}};function y(c){return v=>{if(!v.startsWith(c))return null;let D=v[c.length];return D!==void 0&&d.test(D)?null:{type:c,text:c}}}let A=c=>{let v=l(c);return v==null?null:{type:"StringValue",text:v}},E=c=>c.length>0?null:{type:"EOF",text:""},_=c=>{let v=m(c);return v===null?null:{type:"Number",text:v}},I=[E,s("=>"),s("("),s(")"),s("{"),s("}"),s("["),s("]"),s("|"),s("&"),s("<"),s(">"),s(","),s(";"),s("*"),s("?"),s("!"),s("="),s(":"),s("..."),s("."),s("#"),s("~"),s("/"),s("@"),y("undefined"),y("null"),y("function"),y("this"),y("new"),y("module"),y("event"),y("extends"),y("external"),y("infer"),y("typeof"),y("keyof"),y("readonly"),y("import"),y("is"),y("in"),y("asserts"),_,b,A],P=/^\s*\n\s*/;class x{static create(v){let D=this.read(v);v=D.text;let L=this.read(v);return v=L.text,new x(v,void 0,D.token,L.token)}constructor(v,D,L,Z){this.text="",this.text=v,this.previous=D,this.current=L,this.next=Z}static read(v,D=!1){D=D||P.test(v),v=v.trim();for(let L of I){let Z=L(v);if(Z!==null){let ue=Object.assign(Object.assign({},Z),{startOfLine:D});return v=v.slice(ue.text.length),{text:v,token:ue}}}throw new Error("Unexpected Token "+v)}advance(){let v=x.read(this.text);return new x(v.text,this.current,this.next,v.token)}}function g(c){if(c===void 0)throw new Error("Unexpected undefined");if(c.type==="JsdocTypeKeyValue"||c.type==="JsdocTypeParameterList"||c.type==="JsdocTypeProperty"||c.type==="JsdocTypeReadonlyProperty"||c.type==="JsdocTypeObjectField"||c.type==="JsdocTypeJsdocObjectField"||c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"||c.type==="JsdocTypeTypeParameter")throw new a(c);return c}function w(c){return c.type==="JsdocTypeKeyValue"?R(c):g(c)}function C(c){return c.type==="JsdocTypeName"?c:R(c)}function R(c){if(c.type!=="JsdocTypeKeyValue")throw new a(c);return c}function j(c){var v;if(c.type==="JsdocTypeVariadic"){if(((v=c.element)===null||v===void 0?void 0:v.type)==="JsdocTypeName")return c;throw new a(c)}if(c.type!=="JsdocTypeNumber"&&c.type!=="JsdocTypeName")throw new a(c);return c}function B(c){if(c.type==="JsdocTypeTuple"||c.type==="JsdocTypeGeneric"&&c.meta.brackets==="square")return c;throw new a(c)}function U(c){return c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"}var $;(function(c){c[c.ALL=0]="ALL",c[c.PARAMETER_LIST=1]="PARAMETER_LIST",c[c.OBJECT=2]="OBJECT",c[c.KEY_VALUE=3]="KEY_VALUE",c[c.INDEX_BRACKETS=4]="INDEX_BRACKETS",c[c.UNION=5]="UNION",c[c.INTERSECTION=6]="INTERSECTION",c[c.PREFIX=7]="PREFIX",c[c.INFIX=8]="INFIX",c[c.TUPLE=9]="TUPLE",c[c.SYMBOL=10]="SYMBOL",c[c.OPTIONAL=11]="OPTIONAL",c[c.NULLABLE=12]="NULLABLE",c[c.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",c[c.FUNCTION=14]="FUNCTION",c[c.ARROW=15]="ARROW",c[c.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",c[c.GENERIC=17]="GENERIC",c[c.NAME_PATH=18]="NAME_PATH",c[c.PARENTHESIS=19]="PARENTHESIS",c[c.SPECIAL_TYPES=20]="SPECIAL_TYPES"})($||($={}));class k{constructor(v,D,L){this.grammar=v,typeof D=="string"?this._lexer=x.create(D):this._lexer=D,this.baseParser=L}get lexer(){return this._lexer}parse(){let v=this.parseType($.ALL);if(this.lexer.current.type!=="EOF")throw new o(this.lexer.current);return v}parseType(v){return g(this.parseIntermediateType(v))}parseIntermediateType(v){let D=this.tryParslets(null,v);if(D===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(D,v)}parseInfixIntermediateType(v,D){let L=this.tryParslets(v,D);for(;L!==null;)v=L,L=this.tryParslets(v,D);return v}tryParslets(v,D){for(let L of this.grammar){let Z=L(this,D,v);if(Z!==null)return Z}return null}consume(v){return Array.isArray(v)||(v=[v]),v.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(v){this._lexer=v.lexer}}function V(c){return c==="}"||c==="EOF"||c==="|"||c===","||c===")"||c===">"}let W=(c,v,D)=>{let L=c.lexer.current.type,Z=c.lexer.next.type;return D==null&&L==="?"&&!V(Z)||D!=null&&L==="?"?(c.consume("?"),D==null?{type:"JsdocTypeNullable",element:c.parseType($.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:g(D),meta:{position:"suffix"}}):null};function Y(c){let v=(D,L,Z)=>{let ue=D.lexer.current.type,me=D.lexer.next.type;if(Z===null){if("parsePrefix"in c&&c.accept(ue,me))return c.parsePrefix(D)}else if("parseInfix"in c&&c.precedence>L&&c.accept(ue,me))return c.parseInfix(D,Z);return null};return Object.defineProperty(v,"name",{value:c.name}),v}let ne=Y({name:"optionalParslet",accept:c=>c==="=",precedence:$.OPTIONAL,parsePrefix:c=>(c.consume("="),{type:"JsdocTypeOptional",element:c.parseType($.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(c,v)=>(c.consume("="),{type:"JsdocTypeOptional",element:g(v),meta:{position:"suffix"}})}),we=Y({name:"numberParslet",accept:c=>c==="Number",parsePrefix:c=>{let v=parseFloat(c.lexer.current.text);return c.consume("Number"),{type:"JsdocTypeNumber",value:v}}}),Pe=Y({name:"parenthesisParslet",accept:c=>c==="(",parsePrefix:c=>{if(c.consume("("),c.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let v=c.parseIntermediateType($.ALL);if(!c.consume(")"))throw new Error("Unterminated parenthesis");return v.type==="JsdocTypeParameterList"?v:v.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[v]}:{type:"JsdocTypeParenthesis",element:g(v)}}}),X=Y({name:"specialTypesParslet",accept:(c,v)=>c==="?"&&V(v)||c==="null"||c==="undefined"||c==="*",parsePrefix:c=>{if(c.consume("null"))return{type:"JsdocTypeNull"};if(c.consume("undefined"))return{type:"JsdocTypeUndefined"};if(c.consume("*"))return{type:"JsdocTypeAny"};if(c.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+c.lexer.current.text)}}),G=Y({name:"notNullableParslet",accept:c=>c==="!",precedence:$.NULLABLE,parsePrefix:c=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:c.parseType($.NULLABLE),meta:{position:"prefix"}}),parseInfix:(c,v)=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:g(v),meta:{position:"suffix"}})});function ie({allowTrailingComma:c}){return Y({name:"parameterListParslet",accept:v=>v===",",precedence:$.PARAMETER_LIST,parseInfix:(v,D)=>{let L=[w(D)];v.consume(",");do try{let Z=v.parseIntermediateType($.PARAMETER_LIST);L.push(w(Z))}catch(Z){if(Z instanceof i)break;throw Z}while(v.consume(","));if(L.length>0&&L.slice(0,-1).some(Z=>Z.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:L}}})}let fe=Y({name:"genericParslet",accept:(c,v)=>c==="<"||c==="."&&v==="<",precedence:$.GENERIC,parseInfix:(c,v)=>{let D=c.consume(".");c.consume("<");let L=[],Z=!1;if(c.consume("infer")){Z=!0;let ue=c.parseIntermediateType($.SYMBOL);if(ue.type!=="JsdocTypeName")throw new a(ue,"A typescript asserts always has to have a name on the left side.");L.push(ue)}else do L.push(c.parseType($.PARAMETER_LIST));while(c.consume(","));if(!c.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:g(v),elements:L},Z?{infer:!0}:{}),{meta:{brackets:"angle",dot:D}})}}),he=Y({name:"unionParslet",accept:c=>c==="|",precedence:$.UNION,parseInfix:(c,v)=>{c.consume("|");let D=[];do D.push(c.parseType($.UNION));while(c.consume("|"));return{type:"JsdocTypeUnion",elements:[g(v),...D]}}}),se=[W,ne,we,Pe,X,G,ie({allowTrailingComma:!0}),fe,he,ne];function xe({allowSquareBracketsOnAnyType:c,allowJsdocNamePaths:v,pathGrammar:D}){return function(L,Z,ue){if(ue==null||Z>=$.NAME_PATH)return null;let me=L.lexer.current.type,ve=L.lexer.next.type;if(!(me==="."&&ve!=="<"||me==="["&&(c||ue.type==="JsdocTypeName")||v&&(me==="~"||me==="#")))return null;let $e,et=!1;L.consume(".")?$e="property":L.consume("[")?($e="property-brackets",et=!0):L.consume("~")?$e="inner":(L.consume("#"),$e="instance");let jt=D!==null?new k(D,L.lexer,L):L,St=jt.parseIntermediateType($.NAME_PATH);L.acceptLexerState(jt);let _r;switch(St.type){case"JsdocTypeName":_r={type:"JsdocTypeProperty",value:St.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":_r={type:"JsdocTypeProperty",value:St.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":_r={type:"JsdocTypeProperty",value:St.value,meta:{quote:St.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(St.specialType==="event")_r=St;else throw new a(St,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(St,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(et&&!L.consume("]")){let Ri=L.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Ri.type}' with text '${Ri.text}'`)}return{type:"JsdocTypeNamePath",left:g(ue),right:_r,pathType:$e}}}function Se({allowedAdditionalTokens:c}){return Y({name:"nameParslet",accept:v=>v==="Identifier"||v==="this"||v==="new"||c.includes(v),parsePrefix:v=>{let{type:D,text:L}=v.lexer.current;return v.consume(D),{type:"JsdocTypeName",value:L}}})}let je=Y({name:"stringValueParslet",accept:c=>c==="StringValue",parsePrefix:c=>{let v=c.lexer.current.text;return c.consume("StringValue"),{type:"JsdocTypeStringValue",value:v.slice(1,-1),meta:{quote:v[0]==="'"?"single":"double"}}}});function Q({pathGrammar:c,allowedTypes:v}){return Y({name:"specialNamePathParslet",accept:D=>v.includes(D),parsePrefix:D=>{let L=D.lexer.current.type;if(D.consume(L),!D.consume(":"))return{type:"JsdocTypeName",value:L};let Z,ue=D.lexer.current;if(D.consume("StringValue"))Z={type:"JsdocTypeSpecialNamePath",value:ue.text.slice(1,-1),specialType:L,meta:{quote:ue.text[0]==="'"?"single":"double"}};else{let $e="",et=["Identifier","@","/"];for(;et.some(jt=>D.consume(jt));)$e+=ue.text,ue=D.lexer.current;Z={type:"JsdocTypeSpecialNamePath",value:$e,specialType:L,meta:{quote:void 0}}}let me=new k(c,D.lexer,D),ve=me.parseInfixIntermediateType(Z,$.ALL);return D.acceptLexerState(me),g(ve)}})}let ye=[Se({allowedAdditionalTokens:["external","module"]}),je,we,xe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ae=[...ye,Q({allowedTypes:["event"],pathGrammar:ye})];function Re(c){let v;if(c.type==="JsdocTypeParameterList")v=c.elements;else if(c.type==="JsdocTypeParenthesis")v=[c.element];else throw new a(c);return v.map(D=>w(D))}function Te(c){let v=Re(c);if(v.some(D=>D.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return v}function Oe({allowNamedParameters:c,allowNoReturnType:v,allowWithoutParenthesis:D,allowNewAsFunctionKeyword:L}){return Y({name:"functionParslet",accept:(Z,ue)=>Z==="function"||L&&Z==="new"&&ue==="(",parsePrefix:Z=>{let ue=Z.consume("new");Z.consume("function");let me=Z.lexer.current.type==="(";if(!me){if(!D)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ve={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:ue,parenthesis:me},$e=Z.parseIntermediateType($.FUNCTION);if(c===void 0)ve.parameters=Te($e);else{if(ue&&$e.type==="JsdocTypeFunction"&&$e.arrow)return ve=$e,ve.constructor=!0,ve;ve.parameters=Re($e);for(let et of ve.parameters)if(et.type==="JsdocTypeKeyValue"&&!c.includes(et.key))throw new Error(`only allowed named parameters are ${c.join(", ")} but got ${et.type}`)}if(Z.consume(":"))ve.returnType=Z.parseType($.PREFIX);else if(!v)throw new Error("function is missing return type");return ve}})}function Ie({allowPostfix:c,allowEnclosingBrackets:v}){return Y({name:"variadicParslet",accept:D=>D==="...",precedence:$.PREFIX,parsePrefix:D=>{D.consume("...");let L=v&&D.consume("[");try{let Z=D.parseType($.PREFIX);if(L&&!D.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:g(Z),meta:{position:"prefix",squareBrackets:L}}}catch(Z){if(Z instanceof i){if(L)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw Z}},parseInfix:c?(D,L)=>(D.consume("..."),{type:"JsdocTypeVariadic",element:g(L),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Ve=Y({name:"symbolParslet",accept:c=>c==="(",precedence:$.SYMBOL,parseInfix:(c,v)=>{if(v.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");c.consume("(");let D={type:"JsdocTypeSymbol",value:v.value};if(!c.consume(")")){let L=c.parseIntermediateType($.SYMBOL);if(D.element=j(L),!c.consume(")"))throw new Error("Symbol does not end after value")}return D}}),bt=Y({name:"arrayBracketsParslet",precedence:$.ARRAY_BRACKETS,accept:(c,v)=>c==="["&&v==="]",parseInfix:(c,v)=>(c.consume("["),c.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[g(v)],meta:{brackets:"square",dot:!1}})});function Kt({objectFieldGrammar:c,allowKeyTypes:v}){return Y({name:"objectParslet",accept:D=>D==="{",parsePrefix:D=>{D.consume("{");let L={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!D.consume("}")){let Z,ue=new k(c,D.lexer,D);for(;;){ue.acceptLexerState(D);let me=ue.parseIntermediateType($.OBJECT);D.acceptLexerState(ue),me===void 0&&v&&(me=D.parseIntermediateType($.OBJECT));let ve=!1;if(me.type==="JsdocTypeNullable"&&(ve=!0,me=me.element),me.type==="JsdocTypeNumber"||me.type==="JsdocTypeName"||me.type==="JsdocTypeStringValue"){let $e;me.type==="JsdocTypeStringValue"&&($e=me.meta.quote),L.elements.push({type:"JsdocTypeObjectField",key:me.value.toString(),right:void 0,optional:ve,readonly:!1,meta:{quote:$e}})}else if(me.type==="JsdocTypeObjectField"||me.type==="JsdocTypeJsdocObjectField")L.elements.push(me);else throw new a(me);if(D.lexer.current.startOfLine)Z="linebreak",D.consume(",")||D.consume(";");else if(D.consume(","))Z="comma";else if(D.consume(";"))Z="semicolon";else break;if(D.lexer.current.type==="}")break}if(L.meta.separator=Z??"comma",Z==="linebreak"&&(L.meta.propertyIndent=" "),!D.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return L}})}function Ge({allowSquaredProperties:c,allowKeyTypes:v,allowReadonly:D,allowOptional:L}){return Y({name:"objectFieldParslet",precedence:$.KEY_VALUE,accept:Z=>Z===":",parseInfix:(Z,ue)=>{var me;let ve=!1,$e=!1;L&&ue.type==="JsdocTypeNullable"&&(ve=!0,ue=ue.element),D&&ue.type==="JsdocTypeReadonlyProperty"&&($e=!0,ue=ue.element);let et=(me=Z.baseParser)!==null&&me!==void 0?me:Z;if(et.acceptLexerState(Z),ue.type==="JsdocTypeNumber"||ue.type==="JsdocTypeName"||ue.type==="JsdocTypeStringValue"||U(ue)){if(U(ue)&&!c)throw new a(ue);et.consume(":");let jt;ue.type==="JsdocTypeStringValue"&&(jt=ue.meta.quote);let St=et.parseType($.KEY_VALUE);return Z.acceptLexerState(et),{type:"JsdocTypeObjectField",key:U(ue)?ue:ue.value.toString(),right:St,optional:ve,readonly:$e,meta:{quote:jt}}}else{if(!v)throw new a(ue);et.consume(":");let jt=et.parseType($.KEY_VALUE);return Z.acceptLexerState(et),{type:"JsdocTypeJsdocObjectField",left:g(ue),right:jt}}}})}function xt({allowOptional:c,allowVariadic:v}){return Y({name:"keyValueParslet",precedence:$.KEY_VALUE,accept:D=>D===":",parseInfix:(D,L)=>{let Z=!1,ue=!1;if(c&&L.type==="JsdocTypeNullable"&&(Z=!0,L=L.element),v&&L.type==="JsdocTypeVariadic"&&L.element!==void 0&&(ue=!0,L=L.element),L.type!=="JsdocTypeName")throw new a(L);D.consume(":");let me=D.parseType($.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:L.value,right:me,optional:Z,variadic:ue}}})}let rt=[...se,Oe({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),je,Q({allowedTypes:["module","external","event"],pathGrammar:Ae}),Ie({allowEnclosingBrackets:!0,allowPostfix:!0}),Se({allowedAdditionalTokens:["keyof"]}),Ve,bt,xe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae})],Ar=[...rt,Kt({objectFieldGrammar:[Se({allowedAdditionalTokens:["typeof","module","in"]}),Ge({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...rt],allowKeyTypes:!0}),xt({allowOptional:!0,allowVariadic:!0})],Yt=Y({name:"typeOfParslet",accept:c=>c==="typeof",parsePrefix:c=>(c.consume("typeof"),{type:"JsdocTypeTypeof",element:c.parseType($.KEY_OF_TYPE_OF)})}),be=[Se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),W,ne,je,we,Ge({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],At=[...se,Kt({allowKeyTypes:!1,objectFieldGrammar:be}),Se({allowedAdditionalTokens:["event","external","in"]}),Yt,Oe({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ie({allowEnclosingBrackets:!1,allowPostfix:!1}),Se({allowedAdditionalTokens:["keyof"]}),Q({allowedTypes:["module"],pathGrammar:Ae}),xe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae}),xt({allowOptional:!1,allowVariadic:!1}),Ve],Be=Y({name:"assertsParslet",accept:c=>c==="asserts",parsePrefix:c=>{c.consume("asserts");let v=c.parseIntermediateType($.SYMBOL);if(v.type!=="JsdocTypeName")throw new a(v,"A typescript asserts always has to have a name on the left side.");return c.consume("is")?{type:"JsdocTypeAsserts",left:v,right:g(c.parseIntermediateType($.INFIX))}:{type:"JsdocTypeAssertsPlain",element:v}}});function Ft({allowQuestionMark:c}){return Y({name:"tupleParslet",accept:v=>v==="[",parsePrefix:v=>{v.consume("[");let D={type:"JsdocTypeTuple",elements:[]};if(v.consume("]"))return D;let L=v.parseIntermediateType($.ALL);if(L.type==="JsdocTypeParameterList"?L.elements[0].type==="JsdocTypeKeyValue"?D.elements=L.elements.map(R):D.elements=L.elements.map(g):L.type==="JsdocTypeKeyValue"?D.elements=[R(L)]:D.elements=[g(L)],!v.consume("]"))throw new Error("Unterminated '['");if(D.elements.some(Z=>Z.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return D}})}let ut=Y({name:"keyOfParslet",accept:c=>c==="keyof",parsePrefix:c=>(c.consume("keyof"),{type:"JsdocTypeKeyof",element:g(c.parseType($.KEY_OF_TYPE_OF))})}),Xr=Y({name:"importParslet",accept:c=>c==="import",parsePrefix:c=>{if(c.consume("import"),!c.consume("("))throw new Error("Missing parenthesis after import keyword");let v=c.parseType($.PREFIX);if(v.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!c.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:v}}}),an=Y({name:"readonlyPropertyParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:c.parseIntermediateType($.KEY_VALUE)})}),Rt=Y({name:"arrowFunctionParslet",precedence:$.ARROW,accept:c=>c==="=>",parseInfix:(c,v)=>(c.consume("=>"),{type:"JsdocTypeFunction",parameters:Re(v).map(C),arrow:!0,constructor:!1,parenthesis:!0,returnType:c.parseType($.OBJECT)})}),Le=Y({name:"genericArrowFunctionParslet",accept:c=>c==="<",parsePrefix:c=>{let v=[];c.consume("<");do{let L,Z=c.parseIntermediateType($.SYMBOL);if(Z.type==="JsdocTypeOptional"&&(Z=Z.element,L=c.parseType($.SYMBOL)),Z.type!=="JsdocTypeName")throw new a(Z);let ue;c.consume("extends")&&(ue=c.parseType($.SYMBOL),ue.type==="JsdocTypeOptional"&&(ue=ue.element,L=c.parseType($.SYMBOL)));let me={type:"JsdocTypeTypeParameter",name:Z};if(ue!==void 0&&(me.constraint=ue),L!==void 0&&(me.defaultValue=L),v.push(me),c.consume(">"))break}while(c.consume(","));let D=c.parseIntermediateType($.SYMBOL);return D.typeParameters=v,D}}),wr=Y({name:"intersectionParslet",accept:c=>c==="&",precedence:$.INTERSECTION,parseInfix:(c,v)=>{c.consume("&");let D=[];do D.push(c.parseType($.INTERSECTION));while(c.consume("&"));return{type:"JsdocTypeIntersection",elements:[g(v),...D]}}}),mt=Y({name:"predicateParslet",precedence:$.INFIX,accept:c=>c==="is",parseInfix:(c,v)=>{if(v.type!=="JsdocTypeName")throw new a(v,"A typescript predicate always has to have a name on the left side.");return c.consume("is"),{type:"JsdocTypePredicate",left:v,right:g(c.parseIntermediateType($.INFIX))}}}),ar=Y({name:"objectSquareBracketPropertyParslet",accept:c=>c==="[",parsePrefix:c=>{if(c.baseParser===void 0)throw new Error("Only allowed inside object grammar");c.consume("[");let v=c.lexer.current.text;c.consume("Identifier");let D;if(c.consume(":")){let L=c.baseParser;L.acceptLexerState(c),D={type:"JsdocTypeIndexSignature",key:v,right:L.parseType($.INDEX_BRACKETS)},c.acceptLexerState(L)}else if(c.consume("in")){let L=c.baseParser;L.acceptLexerState(c),D={type:"JsdocTypeMappedType",key:v,right:L.parseType($.ARRAY_BRACKETS)},c.acceptLexerState(L)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!c.consume("]"))throw new Error("Unterminated square brackets");return D}}),Sn=Y({name:"readonlyArrayParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:B(c.parseIntermediateType($.ALL))})}),ct=Y({name:"conditionalParslet",precedence:$.INFIX,accept:c=>c==="extends",parseInfix:(c,v)=>{c.consume("extends");let D=c.parseType($.KEY_OF_TYPE_OF).element,L=c.parseType($.INFIX);return c.consume(":"),{type:"JsdocTypeConditional",checksType:g(v),extendsType:D,trueType:L,falseType:c.parseType($.INFIX)}}}),Nt=[an,Se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),W,ne,je,we,Ge({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ar],Sr=[...se,Kt({allowKeyTypes:!1,objectFieldGrammar:Nt}),Sn,Yt,ut,Xr,je,Oe({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Ft({allowQuestionMark:!1}),Ie({allowEnclosingBrackets:!1,allowPostfix:!1}),Be,ct,Se({allowedAdditionalTokens:["event","external","in"]}),Q({allowedTypes:["module"],pathGrammar:Ae}),bt,Rt,Le,xe({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ae}),wr,mt,xt({allowVariadic:!0,allowOptional:!0})];function Dt(c,v){switch(v){case"closure":return new k(At,c).parse();case"jsdoc":return new k(Ar,c).parse();case"typescript":return new k(Sr,c).parse()}}function dt(c,v=["typescript","closure","jsdoc"]){let D;for(let L of v)try{return Dt(c,L)}catch(Z){D=Z}throw D}function Xt(c,v){let D=c[v.type];if(D===void 0)throw new Error(`In this set of transform rules exists no rule for type ${v.type}.`);return D(v,L=>Xt(c,L))}function Ne(c){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function T(c){let v={params:[]};for(let D of c.parameters)D.type==="JsdocTypeKeyValue"?D.key==="this"?v.this=D.right:D.key==="new"?v.new=D.right:v.params.push(D):v.params.push(D);return v}function M(c,v,D){return c==="prefix"?D+v:v+D}function F(c,v){switch(v){case"double":return`"${c}"`;case"single":return`'${c}'`;case void 0:return c}}function O(){return{JsdocTypeParenthesis:(c,v)=>`(${c.element!==void 0?v(c.element):""})`,JsdocTypeKeyof:(c,v)=>`keyof ${v(c.element)}`,JsdocTypeFunction:(c,v)=>{var D;if(c.arrow){if(c.returnType===void 0)throw new Error("Arrow function needs a return type.");let L=`${c.typeParameters!==void 0?`<${(D=c.typeParameters.map(v).join(", "))!==null&&D!==void 0?D:""}>`:""}(${c.parameters.map(v).join(", ")}) => ${v(c.returnType)}`;return c.constructor&&(L="new "+L),L}else{let L=c.constructor?"new":"function";return c.parenthesis&&(L+=`(${c.parameters.map(v).join(", ")})`,c.returnType!==void 0&&(L+=`: ${v(c.returnType)}`)),L}},JsdocTypeName:c=>c.value,JsdocTypeTuple:(c,v)=>`[${c.elements.map(v).join(", ")}]`,JsdocTypeVariadic:(c,v)=>c.meta.position===void 0?"...":M(c.meta.position,v(c.element),"..."),JsdocTypeNamePath:(c,v)=>{let D=v(c.left),L=v(c.right);switch(c.pathType){case"inner":return`${D}~${L}`;case"instance":return`${D}#${L}`;case"property":return`${D}.${L}`;case"property-brackets":return`${D}[${L}]`}},JsdocTypeStringValue:c=>F(c.value,c.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(c,v)=>{if(c.meta.brackets==="square"){let D=c.elements[0],L=v(D);return D.type==="JsdocTypeUnion"||D.type==="JsdocTypeIntersection"?`(${L})[]`:`${L}[]`}else return`${v(c.left)}${c.meta.dot?".":""}<${c.infer===!0?"infer ":""}${c.elements.map(v).join(", ")}>`},JsdocTypeImport:(c,v)=>`import(${v(c.element)})`,JsdocTypeObjectField:(c,v)=>{let D="";return c.readonly&&(D+="readonly "),typeof c.key=="string"?D+=F(c.key,c.meta.quote):D+=v(c.key),c.optional&&(D+="?"),c.right===void 0?D:D+`: ${v(c.right)}`},JsdocTypeJsdocObjectField:(c,v)=>`${v(c.left)}: ${v(c.right)}`,JsdocTypeKeyValue:(c,v)=>{let D=c.key;return c.optional&&(D+="?"),c.variadic&&(D="..."+D),c.right===void 0?D:D+`: ${v(c.right)}`},JsdocTypeSpecialNamePath:c=>`${c.specialType}:${F(c.value,c.meta.quote)}`,JsdocTypeNotNullable:(c,v)=>M(c.meta.position,v(c.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(c,v)=>M(c.meta.position,v(c.element),"?"),JsdocTypeNumber:c=>c.value.toString(),JsdocTypeObject:(c,v)=>{var D,L;return`{${(c.meta.separator==="linebreak"&&c.elements.length>1?`
15
+ `+((D=c.meta.propertyIndent)!==null&&D!==void 0?D:""):"")+c.elements.map(v).join(c.meta.separator==="comma"?", ":c.meta.separator==="linebreak"?`
16
+ `+((L=c.meta.propertyIndent)!==null&&L!==void 0?L:""):"; ")+(c.meta.separator==="linebreak"&&c.elements.length>1?`
17
+ `:"")}}`},JsdocTypeOptional:(c,v)=>M(c.meta.position,v(c.element),"="),JsdocTypeSymbol:(c,v)=>`${c.value}(${c.element!==void 0?v(c.element):""})`,JsdocTypeTypeof:(c,v)=>`typeof ${v(c.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(c,v)=>c.elements.map(v).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(c,v)=>c.elements.map(v).join(" & "),JsdocTypeProperty:c=>F(c.value,c.meta.quote),JsdocTypePredicate:(c,v)=>`${v(c.left)} is ${v(c.right)}`,JsdocTypeIndexSignature:(c,v)=>`[${c.key}: ${v(c.right)}]`,JsdocTypeMappedType:(c,v)=>`[${c.key} in ${v(c.right)}]`,JsdocTypeAsserts:(c,v)=>`asserts ${v(c.left)} is ${v(c.right)}`,JsdocTypeReadonlyArray:(c,v)=>`readonly ${v(c.element)}`,JsdocTypeAssertsPlain:(c,v)=>`asserts ${v(c.element)}`,JsdocTypeConditional:(c,v)=>`${v(c.checksType)} extends ${v(c.extendsType)} ? ${v(c.trueType)} : ${v(c.falseType)}`,JsdocTypeTypeParameter:(c,v)=>`${v(c.name)}${c.constraint!==void 0?` extends ${v(c.constraint)}`:""}${c.defaultValue!==void 0?` = ${v(c.defaultValue)}`:""}`}}let J=O();function ae(c){return Xt(J,c)}let le=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function pe(c){let v={type:"NameExpression",name:c};return le.includes(c)&&(v.reservedWord=!0),v}let Ce={JsdocTypeOptional:(c,v)=>{let D=v(c.element);return D.optional=!0,D},JsdocTypeNullable:(c,v)=>{let D=v(c.element);return D.nullable=!0,D},JsdocTypeNotNullable:(c,v)=>{let D=v(c.element);return D.nullable=!1,D},JsdocTypeVariadic:(c,v)=>{if(c.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let D=v(c.element);return D.repeatable=!0,D},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:c=>pe(F(c.value,c.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(c,v)=>{let D=T(c),L={type:"FunctionType",params:D.params.map(v)};return D.this!==void 0&&(L.this=v(D.this)),D.new!==void 0&&(L.new=v(D.new)),c.returnType!==void 0&&(L.result=v(c.returnType)),L},JsdocTypeGeneric:(c,v)=>({type:"TypeApplication",applications:c.elements.map(D=>v(D)),expression:v(c.left)}),JsdocTypeSpecialNamePath:c=>pe(c.specialType+":"+F(c.value,c.meta.quote)),JsdocTypeName:c=>c.value!=="function"?pe(c.value):{type:"FunctionType",params:[]},JsdocTypeNumber:c=>pe(c.value.toString()),JsdocTypeObject:(c,v)=>{let D={type:"RecordType",fields:[]};for(let L of c.elements)L.type!=="JsdocTypeObjectField"&&L.type!=="JsdocTypeJsdocObjectField"?D.fields.push({type:"FieldType",key:v(L),value:void 0}):D.fields.push(v(L));return D},JsdocTypeObjectField:(c,v)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:pe(F(c.key,c.meta.quote)),value:c.right===void 0?void 0:v(c.right)}},JsdocTypeJsdocObjectField:(c,v)=>({type:"FieldType",key:v(c.left),value:v(c.right)}),JsdocTypeUnion:(c,v)=>({type:"TypeUnion",elements:c.elements.map(D=>v(D))}),JsdocTypeKeyValue:(c,v)=>({type:"FieldType",key:pe(c.key),value:c.right===void 0?void 0:v(c.right)}),JsdocTypeNamePath:(c,v)=>{let D=v(c.left),L;c.right.type==="JsdocTypeSpecialNamePath"?L=v(c.right).name:L=F(c.right.value,c.right.meta.quote);let Z=c.pathType==="inner"?"~":c.pathType==="instance"?"#":".";return pe(`${D.name}${Z}${L}`)},JsdocTypeSymbol:c=>{let v="",D=c.element,L=!1;return D?.type==="JsdocTypeVariadic"&&(D.meta.position==="prefix"?v="...":L=!0,D=D.element),D?.type==="JsdocTypeName"?v+=D.value:D?.type==="JsdocTypeNumber"&&(v+=D.value.toString()),L&&(v+="..."),pe(`${c.value}(${v})`)},JsdocTypeParenthesis:(c,v)=>v(g(c.element)),JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeImport:Ne,JsdocTypeKeyof:Ne,JsdocTypeTuple:Ne,JsdocTypeTypeof:Ne,JsdocTypeIntersection:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function He(c){return Xt(Ce,c)}function ge(c){switch(c){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Gt(c){switch(c){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function er(c,v){return v.length===2?{type:c,left:v[0],right:v[1]}:{type:c,left:v[0],right:er(c,v.slice(1))}}let _n={JsdocTypeOptional:(c,v)=>({type:"OPTIONAL",value:v(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(c,v)=>({type:"NULLABLE",value:v(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(c,v)=>({type:"NOT_NULLABLE",value:v(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(c,v)=>{let D={type:"VARIADIC",meta:{syntax:c.meta.position==="prefix"?"PREFIX_DOTS":c.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return c.element!==void 0&&(D.value=v(c.element)),D},JsdocTypeName:c=>({type:"NAME",name:c.value}),JsdocTypeTypeof:(c,v)=>({type:"TYPE_QUERY",name:v(c.element)}),JsdocTypeTuple:(c,v)=>({type:"TUPLE",entries:c.elements.map(v)}),JsdocTypeKeyof:(c,v)=>({type:"KEY_QUERY",value:v(c.element)}),JsdocTypeImport:c=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:ge(c.element.meta.quote),string:c.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(c,v)=>{let D=T(c),L={type:c.arrow?"ARROW":"FUNCTION",params:D.params.map(Z=>{if(Z.type==="JsdocTypeKeyValue"){if(Z.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:Z.key,typeName:v(Z.right)}}else return v(Z)}),new:null,returns:null};return D.this!==void 0?L.this=v(D.this):c.arrow||(L.this=null),D.new!==void 0&&(L.new=v(D.new)),c.returnType!==void 0&&(L.returns=v(c.returnType)),L},JsdocTypeGeneric:(c,v)=>{let D={type:"GENERIC",subject:v(c.left),objects:c.elements.map(v),meta:{syntax:c.meta.brackets==="square"?"SQUARE_BRACKET":c.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return c.meta.brackets==="square"&&c.elements[0].type==="JsdocTypeFunction"&&!c.elements[0].parenthesis&&(D.objects[0]={type:"NAME",name:"function"}),D},JsdocTypeObjectField:(c,v)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:ge(c.meta.quote),value:null,readonly:!1};let D=v(c.right);return c.optional&&(D={type:"OPTIONAL",value:D,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key.toString(),quoteStyle:ge(c.meta.quote),value:D,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(c,v)=>{if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:null,readonly:!1};let D=v(c.right);return c.optional&&(D={type:"OPTIONAL",value:D,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:D,readonly:!1}},JsdocTypeObject:(c,v)=>{let D=[];for(let L of c.elements)(L.type==="JsdocTypeObjectField"||L.type==="JsdocTypeJsdocObjectField")&&D.push(v(L));return{type:"RECORD",entries:D}},JsdocTypeSpecialNamePath:c=>{if(c.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${c.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:ge(c.meta.quote),path:c.value}}},JsdocTypeNamePath:(c,v)=>{let D=!1,L,Z;c.right.type==="JsdocTypeSpecialNamePath"&&c.right.specialType==="event"?(D=!0,L=c.right.value,Z=ge(c.right.meta.quote)):(L=c.right.value,Z=ge(c.right.meta.quote));let ue={type:Gt(c.pathType),owner:v(c.left),name:L,quoteStyle:Z,hasEventPrefix:D};if(ue.owner.type==="MODULE"){let me=ue.owner;return ue.owner=ue.owner.value,me.value=ue,me}else return ue},JsdocTypeUnion:(c,v)=>er("UNION",c.elements.map(v)),JsdocTypeParenthesis:(c,v)=>({type:"PARENTHESIS",value:v(g(c.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:c=>({type:"STRING_VALUE",quoteStyle:ge(c.meta.quote),string:c.value}),JsdocTypeIntersection:(c,v)=>er("INTERSECTION",c.elements.map(v)),JsdocTypeNumber:c=>({type:"NUMBER_VALUE",number:c.value.toString()}),JsdocTypeSymbol:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function Xn(c){return Xt(_n,c)}function cr(){return{JsdocTypeIntersection:(c,v)=>({type:"JsdocTypeIntersection",elements:c.elements.map(v)}),JsdocTypeGeneric:(c,v)=>({type:"JsdocTypeGeneric",left:v(c.left),elements:c.elements.map(v),meta:{dot:c.meta.dot,brackets:c.meta.brackets}}),JsdocTypeNullable:c=>c,JsdocTypeUnion:(c,v)=>({type:"JsdocTypeUnion",elements:c.elements.map(v)}),JsdocTypeUnknown:c=>c,JsdocTypeUndefined:c=>c,JsdocTypeTypeof:(c,v)=>({type:"JsdocTypeTypeof",element:v(c.element)}),JsdocTypeSymbol:(c,v)=>{let D={type:"JsdocTypeSymbol",value:c.value};return c.element!==void 0&&(D.element=v(c.element)),D},JsdocTypeOptional:(c,v)=>({type:"JsdocTypeOptional",element:v(c.element),meta:{position:c.meta.position}}),JsdocTypeObject:(c,v)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:c.elements.map(v)}),JsdocTypeNumber:c=>c,JsdocTypeNull:c=>c,JsdocTypeNotNullable:(c,v)=>({type:"JsdocTypeNotNullable",element:v(c.element),meta:{position:c.meta.position}}),JsdocTypeSpecialNamePath:c=>c,JsdocTypeObjectField:(c,v)=>({type:"JsdocTypeObjectField",key:c.key,right:c.right===void 0?void 0:v(c.right),optional:c.optional,readonly:c.readonly,meta:c.meta}),JsdocTypeJsdocObjectField:(c,v)=>({type:"JsdocTypeJsdocObjectField",left:v(c.left),right:v(c.right)}),JsdocTypeKeyValue:(c,v)=>({type:"JsdocTypeKeyValue",key:c.key,right:c.right===void 0?void 0:v(c.right),optional:c.optional,variadic:c.variadic}),JsdocTypeImport:(c,v)=>({type:"JsdocTypeImport",element:v(c.element)}),JsdocTypeAny:c=>c,JsdocTypeStringValue:c=>c,JsdocTypeNamePath:c=>c,JsdocTypeVariadic:(c,v)=>{let D={type:"JsdocTypeVariadic",meta:{position:c.meta.position,squareBrackets:c.meta.squareBrackets}};return c.element!==void 0&&(D.element=v(c.element)),D},JsdocTypeTuple:(c,v)=>({type:"JsdocTypeTuple",elements:c.elements.map(v)}),JsdocTypeName:c=>c,JsdocTypeFunction:(c,v)=>{let D={type:"JsdocTypeFunction",arrow:c.arrow,parameters:c.parameters.map(v),constructor:c.constructor,parenthesis:c.parenthesis};return c.returnType!==void 0&&(D.returnType=v(c.returnType)),D},JsdocTypeKeyof:(c,v)=>({type:"JsdocTypeKeyof",element:v(c.element)}),JsdocTypeParenthesis:(c,v)=>({type:"JsdocTypeParenthesis",element:v(c.element)}),JsdocTypeProperty:c=>c,JsdocTypePredicate:(c,v)=>({type:"JsdocTypePredicate",left:v(c.left),right:v(c.right)}),JsdocTypeIndexSignature:(c,v)=>({type:"JsdocTypeIndexSignature",key:c.key,right:v(c.right)}),JsdocTypeMappedType:(c,v)=>({type:"JsdocTypeMappedType",key:c.key,right:v(c.right)}),JsdocTypeAsserts:(c,v)=>({type:"JsdocTypeAsserts",left:v(c.left),right:v(c.right)}),JsdocTypeReadonlyArray:(c,v)=>({type:"JsdocTypeReadonlyArray",element:v(c.element)}),JsdocTypeAssertsPlain:(c,v)=>({type:"JsdocTypeAssertsPlain",element:v(c.element)}),JsdocTypeConditional:(c,v)=>({type:"JsdocTypeConditional",checksType:v(c.checksType),extendsType:v(c.extendsType),trueType:v(c.trueType),falseType:v(c.falseType)}),JsdocTypeTypeParameter:(c,v)=>({type:"JsdocTypeTypeParameter",name:v(c.name),constraint:c.constraint!==void 0?v(c.constraint):void 0,defaultValue:c.defaultValue!==void 0?v(c.defaultValue):void 0})}}let Qn={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function Cn(c,v,D,L,Z){L?.(c,v,D);let ue=Qn[c.type];for(let me of ue){let ve=c[me];if(ve!==void 0)if(Array.isArray(ve))for(let $e of ve)Cn($e,c,me,L,Z);else Cn(ve,c,me,L,Z)}Z?.(c,v,D)}function da(c,v,D){Cn(c,void 0,void 0,v,D)}r.catharsisTransform=He,r.identityTransformRules=cr,r.jtpTransform=Xn,r.parse=Dt,r.stringify=ae,r.stringifyRules=O,r.transform=Xt,r.traverse=da,r.tryParse=dt,r.visitorKeys=Qn}))}}),YF=ee({"../../node_modules/browser-dtector/browser-dtector.umd.min.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,(function(){function r(l,u){for(var d=0;d<u.length;d++){var f=u[d];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(l,(h=f.key,m=void 0,typeof(m=(function(b,y){if(typeof b!="object"||b===null)return b;var A=b[Symbol.toPrimitive];if(A!==void 0){var E=A.call(b,y);if(typeof E!="object")return E;throw new TypeError("@@toPrimitive must return a primitive value.")}return(y==="string"?String:Number)(b)})(h,"string"))=="symbol"?m:String(m)),f)}var h,m}var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},i={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},o=function(l){var u=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),d=Number(l).toString().match(u);return d?d[0]:null},a=function(){return typeof window<"u"?window.navigator:null},s=(function(){function l(h){var m;(function(b,y){if(!(b instanceof y))throw new TypeError("Cannot call a class as a function")})(this,l),this.userAgent=h||((m=a())===null||m===void 0?void 0:m.userAgent)||null}var u,d,f;return u=l,d=[{key:"parseUserAgent",value:function(h){var m,b,y,A={},E=h||this.userAgent||"",_=E.toLowerCase().replace(/\s\s+/g," "),I=/(edge)\/([\w.]+)/.exec(_)||/(edg)[/]([\w.]+)/.exec(_)||/(opr)[/]([\w.]+)/.exec(_)||/(opt)[/]([\w.]+)/.exec(_)||/(fxios)[/]([\w.]+)/.exec(_)||/(edgios)[/]([\w.]+)/.exec(_)||/(jsdom)[/]([\w.]+)/.exec(_)||/(samsungbrowser)[/]([\w.]+)/.exec(_)||/(electron)[/]([\w.]+)/.exec(_)||/(chrome)[/]([\w.]+)/.exec(_)||/(crios)[/]([\w.]+)/.exec(_)||/(opios)[/]([\w.]+)/.exec(_)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(_)||/(webkit)[/]([\w.]+)/.exec(_)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(_)||/(msie) ([\w.]+)/.exec(_)||/(fennec)[/]([\w.]+)/.exec(_)||_.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(_)||_.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(_)||[],P=/(ipad)/.exec(_)||/(ipod)/.exec(_)||/(iphone)/.exec(_)||/(jsdom)/.exec(_)||/(windows phone)/.exec(_)||/(xbox)/.exec(_)||/(win)/.exec(_)||/(tablet)/.exec(_)||/(android)/.test(_)&&/(mobile)/.test(_)===!1&&["androidTablet"]||/(android)/.exec(_)||/(mac)/.exec(_)||/(linux)/.exec(_)||/(cros)/.exec(_)||[],x=I[5]||I[3]||I[1]||null,g=P[0]||null,w=I[4]||I[2]||null,C=a();x==="chrome"&&typeof(C==null||(m=C.brave)===null||m===void 0?void 0:m.isBrave)=="function"&&(x="brave"),x&&(A[x]=!0),g&&(A[g]=!0);var R=!!(A.tablet||A.android||A.androidTablet),j=!!(A.ipad||A.tablet||A.androidTablet),B=!!(A.android||A.androidTablet||A.tablet||A.ipad||A.ipod||A.iphone||A["windows phone"]),U=!!(A.cros||A.mac||A.linux||A.win),$=!!(A.brave||A.chrome||A.crios||A.opr||A.safari||A.edg||A.electron),k=!!(A.msie||A.rv);return{name:(b=n[x])!==null&&b!==void 0?b:null,platform:(y=i[g])!==null&&y!==void 0?y:null,userAgent:E,version:w,shortVersion:w?o(parseFloat(w),2):null,isAndroid:R,isTablet:j,isMobile:B,isDesktop:U,isWebkit:$,isIE:k}}},{key:"getBrowserInfo",value:function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}}}],f=[{key:"VERSION",get:function(){return"3.4.0"}}],d&&r(u.prototype,d),f&&r(u,f),Object.defineProperty(u,"prototype",{writable:!1}),l})();return s}))}}),dA={};Rr(dA,{Channel:()=>_s,HEARTBEAT_INTERVAL:()=>iw,HEARTBEAT_MAX_LATENCY:()=>ow,PostMessageTransport:()=>nw,WebsocketTransport:()=>aw,clearChannel:()=>sw,createBrowserChannel:()=>zM,default:()=>HM,ensureChannel:()=>wh,getChannel:()=>Jn,installNoopChannel:()=>Ah,requireChannel:()=>JM,setChannel:()=>Cs});function tt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(s,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var f,h;return(h=(f=d.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):s},[]);if(i.length){var o=new RegExp(`
18
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(o,`
19
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,l){var u=a.match(/(?:^|\n)( *)$/),d=u?u[1]:"",f=s;typeof s=="string"&&s.includes(`
20
+ `)&&(f=String(s).split(`
21
+ `).map(function(h,m){return m===0?h:""+d+h}).join(`
22
+ `)),a+=f+n[l+1]}),a}function Qy({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}function Zy(e){if(/^(?!.*storybook\.js\.org)|[?&]ref=error\b/.test(e))return e;try{let t=new URL(e);return t.searchParams.set("ref","error"),t.toString()}catch{return e}}var st=class pA extends Error{constructor(t){super(pA.getFullMessage(t),t.cause===void 0?void 0:{cause:t.cause}),this.data={},this.fromStorybook=!0,this.isHandledError=!1,this.subErrors=[],this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code,this.isHandledError=t.isHandledError??!1,this.name=t.name,this.subErrors=t.subErrors??[]}get fullErrorCode(){return Qy({code:this.code,category:this.category})}get name(){let t=this._name||this.constructor.name;return`${this.fullErrorCode} (${t})`}set name(t){this._name=t}static getFullMessage({documentation:t,code:r,category:n,message:i}){let o;return t===!0?o=`https://storybook.js.org/error/${Qy({code:r,category:n})}?ref=error`:typeof t=="string"?o=Zy(t):Array.isArray(t)&&(o=`
23
+ ${t.map(a=>` - ${Zy(a)}`).join(`
24
+ `)}`),`${i}${o!=null?`
25
+
26
+ More info: ${o}
27
+ `:""}`}},XF=class extends st{constructor(e){super({name:"UniversalStoreFollowerTimeoutError",category:"MANAGER_UNIVERSAL-STORE",code:1,message:`Timed out waiting for leader state for UniversalStore follower with id: '${e}'. Ensure a leader with the same id exists and is reachable before creating a follower.`})}},xc=class extends st{constructor(e){super({name:"OpenServiceStaticSnapshotLoadError",category:"MANAGER_OPEN-SERVICE",code:1,message:`Failed to load open-service static snapshot "${e.logicalPath}" from "${e.url}" for "${e.serviceId}.${e.queryName}".`,cause:e.cause}),this.data=e}},QF=class extends st{constructor(e){super({name:"OpenServiceStaticSnapshotInvalidError",category:"MANAGER_OPEN-SERVICE",code:2,message:`Open-service static snapshot "${e.logicalPath}" from "${e.url}" for "${e.serviceId}.${e.queryName}" must be a plain object.`}),this.data=e}},eg=new Map,ZF="UNIVERSAL_STORE:",Lr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Ni=class ze{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=()=>(this.debug("getState",{state:this.state}),this.state),this.subscribe=(n,i)=>{let o=typeof n=="function",a=o?"*":n,s=o?n:i;if(this.debug("subscribe",{eventType:a,listener:s}),!s)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(a)||this.listeners.set(a,new Set),this.listeners.get(a).add(s),()=>{this.debug("unsubscribe",{eventType:a,listener:s}),this.listeners.has(a)&&(this.listeners.get(a).delete(s),this.listeners.get(a)?.size===0&&this.listeners.delete(a))}},this.send=n=>{if(this.debug("send",{event:n}),this.status!==ze.Status.READY)throw new TypeError(tt`Cannot send event before store is ready. You can get the current status with store.status,
28
+ or await store.readyPromise to wait for the store to be ready before sending events.
29
+ ${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},this.debugging=t.debug??!1,!ze.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(ze.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?ze.ActorType.LEADER:ze.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${ZF}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===ze.ActorType.LEADER)this.syncing={state:Lr.RESOLVED,promise:Promise.resolve()};else{let n,i,o=new Promise((a,s)=>{n=()=>{this.syncing.state===Lr.PENDING&&(this.syncing.state=Lr.RESOLVED,a())},i=l=>{this.syncing.state===Lr.PENDING&&(this.syncing.state=Lr.REJECTED,s(l))}});this.syncing={state:Lr.PENDING,promise:o,resolve:n,reject:i}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??ze.preparation.channel,this.environment=r?.environment??ze.preparation.environment,this.channel&&this.environment?(r||ze.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):ze.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((i,o)=>{t=a=>{i(a)},r=(...a)=>{o(a)}});ze.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??ze.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return ze.Status.UNPREPARED;switch(this.syncing?.state){case Lr.PENDING:case void 0:return ze.Status.SYNCING;case Lr.REJECTED:return ze.Status.ERROR;case Lr.RESOLVED:default:return ze.Status.READY}}untilReady(){let t=this.channel&&this.environment?Promise.resolve():ze.preparation.promise;return Promise.all([t,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(tt`[UniversalStore]
30
+ create`,{options:t});let r=eg.get(t.id);if(r)return console.warn(tt`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
31
+ You should reuse the existing instance instead of trying to create a new one.`),r;ze.isInternalConstructing=!0;let n=new ze(t);return eg.set(t.id,n),n}static __prepare(t,r){ze.preparation.channel=t,ze.preparation.environment=r,ze.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==ze.Status.READY)throw new TypeError(tt`Cannot set state before store is ready. You can get the current status with store.status,
32
+ or await store.readyPromise to wait for the store to be ready before sending events.
33
+ ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let i={type:ze.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(ze.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===ze.ActorType.LEADER?this.emitToChannel({type:ze.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:ze.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:ze.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new XF(this.id))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),i=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:i}),[...n??[],...i??[]].forEach(o=>o(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===Lr.PENDING&&r.type!==ze.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===ze.ActorType.LEADER){let i=!0;switch(r.type){case ze.InternalEventType.EXISTING_STATE_REQUEST:i=!1;let o={type:ze.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:o}),this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor});break;case ze.InternalEventType.LEADER_CREATED:i=!1,this.syncing.state=Lr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(tt`Detected multiple UniversalStore leaders created with the same id "${this.id}".
34
+ Only one leader can exists at a time, your stores are now in an invalid state.
35
+ Leaders detected:
36
+ this: ${JSON.stringify(this.actor,null,2)}
37
+ other: ${JSON.stringify(n.actor,null,2)}`);break}i&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===ze.ActorType.FOLLOWER)switch(r.type){case ze.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Lr.PENDING)break;this.syncing.resolve?.();let i={type:ze.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(i,n);break}r.type===ze.InternalEventType.SET_STATE&&(this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state),this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(tt`[UniversalStore::${this.id}::${this.environment??ze.Environment.UNKNOWN}]
38
+ ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){ze.preparation.reject(new Error("reset")),ze.setupPreparationPromise(),ze.isInternalConstructing=!1}};Ni.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},Ni.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},Ni.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},Ni.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},Ni.isInternalConstructing=!1,Ni.setupPreparationPromise();var Rc=Ni,eN=e=>e.transports!==void 0,tN=()=>Math.random().toString(16).slice(2),_s=class{constructor(e={}){this.sender=tN(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,eN(e)?(this.transports=e.transports||[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(t=>{t.setHandler(r=>this.handleEvent(r))})}get hasTransport(){return this.transports.length>0}addListener(e,t){this.events[e]=this.events[e]||[],this.events[e].push(t)}emit(e,...t){let r={type:e,args:t,from:this.sender},n={};t.length>=1&&t[0]&&t[0].options&&(n=t[0].options);let i=()=>{this.transports.forEach(o=>{o.send(r,n)}),this.handleEvent(r)};this.isAsync?setImmediate(i):i()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let t=this.listeners(e);return t?t.length:0}listeners(e){return this.events[e]||void 0}once(e,t){let r=this.onceListener(e,t);this.addListener(e,r)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,t){let r=this.listeners(e);r&&(this.events[e]=r.filter(n=>n!==t))}on(e,t){this.addListener(e,t)}off(e,t){this.removeListener(e,t)}handleEvent(e){let t=this.listeners(e.type);t&&t.length&&t.forEach(r=>{r.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,t){let r=(...n)=>(this.removeListener(e,r),t(...n));return r}},fA={};Rr(fA,{deprecate:()=>eh,logger:()=>It,once:()=>zt,pretty:()=>kr});var hA={};Rr(hA,{global:()=>De});var De=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:rN}=De,si={trace:1,debug:2,info:3,warn:4,error:5,silent:10},nN=rN,co=si[nN]||si.info,It={trace:(e,...t)=>{co<=si.trace&&console.trace(e,...t)},debug:(e,...t)=>{co<=si.debug&&console.debug(e,...t)},info:(e,...t)=>{co<=si.info&&console.info(e,...t)},warn:(e,...t)=>{co<=si.warn&&console.warn(e,...t)},error:(e,...t)=>{co<=si.error&&console.error(e,...t)},log:(e,...t)=>{co<si.silent&&console.log(e,...t)}},Qd=new Set,zt=e=>(t,...r)=>{if(!Qd.has(t))return Qd.add(t),It[e](t,...r)};zt.clear=()=>Qd.clear();zt.trace=zt("trace");zt.debug=zt("debug");zt.info=zt("info");zt.warn=zt("warn");zt.error=zt("error");zt.log=zt("log");var eh=zt("warn"),kr=e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi,o;for(r.push(t[0].replace(n,"%c").replace(i,"%c"));o=n.exec(t[0]);)r.push(o[2]),r.push("");for(let a=1;a<t.length;a++)r.push(t[a])}It[e].apply(It,r)};kr.trace=kr("trace");kr.debug=kr("debug");kr.info=kr("info");kr.warn=kr("warn");kr.error=kr("error");var th={};Rr(th,{AI_PROMPT_NUDGE:()=>kN,AI_SETUP_ANALYTICS_REQUEST:()=>ON,AI_SETUP_ANALYTICS_RESPONSE:()=>PN,ARGTYPES_INFO_REQUEST:()=>NA,ARGTYPES_INFO_RESPONSE:()=>rp,CHANNEL_CREATED:()=>oN,CHANNEL_WS_DISCONNECT:()=>mA,CONFIG_ERROR:()=>yA,CREATE_NEW_STORYFILE_REQUEST:()=>aN,CREATE_NEW_STORYFILE_RESPONSE:()=>sN,CURRENT_STORY_WAS_SET:()=>Zd,DOCS_PREPARED:()=>gA,DOCS_RENDERED:()=>nh,FILE_COMPONENT_SEARCH_REQUEST:()=>uN,FILE_COMPONENT_SEARCH_RESPONSE:()=>lN,FORCE_REMOUNT:()=>Lu,FORCE_RE_RENDER:()=>ih,GHOST_STORIES_REQUEST:()=>RN,GHOST_STORIES_RESPONSE:()=>DN,GLOBALS_UPDATED:()=>Ga,MANAGER_INERT_ATTRIBUTE_CHANGED:()=>kA,NAVIGATE_URL:()=>cN,OPEN_IN_EDITOR_REQUEST:()=>IN,OPEN_IN_EDITOR_RESPONSE:()=>FN,PLAY_FUNCTION_THREW_EXCEPTION:()=>bA,PRELOAD_ENTRIES:()=>EA,PREVIEW_BUILDER_PROGRESS:()=>dN,PREVIEW_INITIALIZED:()=>AA,PREVIEW_KEYDOWN:()=>wA,REGISTER_SUBSCRIPTION:()=>pN,REQUEST_WHATS_NEW_DATA:()=>wN,RESET_STORY_ARGS:()=>oh,RESULT_WHATS_NEW_DATA:()=>SN,SAVE_STORY_REQUEST:()=>TN,SAVE_STORY_RESPONSE:()=>xN,SELECT_STORY:()=>fN,SET_CONFIG:()=>hN,SET_CURRENT_STORY:()=>ah,SET_FILTER:()=>mN,SET_GLOBALS:()=>SA,SET_INDEX:()=>yN,SET_STORIES:()=>gN,SET_WHATS_NEW_CACHE:()=>_N,SHARED_STATE_CHANGED:()=>bN,SHARED_STATE_SET:()=>vN,SHARE_ISOLATE_MODE:()=>NN,SIDEBAR_FILTER_CHANGED:()=>BN,STORIES_COLLAPSE_ALL:()=>EN,STORIES_EXPAND_ALL:()=>AN,STORY_ARGS_UPDATED:()=>_A,STORY_CHANGED:()=>CA,STORY_ERRORED:()=>TA,STORY_FINISHED:()=>tp,STORY_HOT_UPDATED:()=>sh,STORY_INDEX_INVALIDATED:()=>xA,STORY_MISSING:()=>ep,STORY_PREPARED:()=>RA,STORY_RENDERED:()=>qu,STORY_RENDER_PHASE_CHANGED:()=>Ei,STORY_SPECIFIED:()=>DA,STORY_THREW_EXCEPTION:()=>PA,STORY_UNCHANGED:()=>OA,TELEMETRY_ERROR:()=>FA,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>CN,UNHANDLED_ERRORS_WHILE_PLAYING:()=>vA,UPDATE_GLOBALS:()=>uh,UPDATE_QUERY_PARAMS:()=>IA,UPDATE_STORY_ARGS:()=>lh,default:()=>iN});var rh=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_INITIALIZED="previewInitialized",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.GHOST_STORIES_REQUEST="ghostStoriesRequest",e.GHOST_STORIES_RESPONSE="ghostStoriesResponse",e.AI_SETUP_ANALYTICS_RESPONSE="aiSetupAnalyticsResponse",e.AI_SETUP_ANALYTICS_REQUEST="aiSetupAnalyticsRequest",e.OPEN_IN_EDITOR_REQUEST="openInEditorRequest",e.OPEN_IN_EDITOR_RESPONSE="openInEditorResponse",e.MANAGER_INERT_ATTRIBUTE_CHANGED="managerInertAttributeChanged",e.SHARE_ISOLATE_MODE="shareIsolateMode",e.AI_PROMPT_NUDGE="aiPromptNudge",e.SIDEBAR_FILTER_CHANGED="sidebarFilterChanged",e))(rh||{}),iN=rh,{CHANNEL_WS_DISCONNECT:mA,CHANNEL_CREATED:oN,CONFIG_ERROR:yA,CREATE_NEW_STORYFILE_REQUEST:aN,CREATE_NEW_STORYFILE_RESPONSE:sN,CURRENT_STORY_WAS_SET:Zd,DOCS_PREPARED:gA,DOCS_RENDERED:nh,FILE_COMPONENT_SEARCH_REQUEST:uN,FILE_COMPONENT_SEARCH_RESPONSE:lN,FORCE_RE_RENDER:ih,FORCE_REMOUNT:Lu,GLOBALS_UPDATED:Ga,NAVIGATE_URL:cN,PLAY_FUNCTION_THREW_EXCEPTION:bA,UNHANDLED_ERRORS_WHILE_PLAYING:vA,PRELOAD_ENTRIES:EA,PREVIEW_INITIALIZED:AA,PREVIEW_BUILDER_PROGRESS:dN,PREVIEW_KEYDOWN:wA,REGISTER_SUBSCRIPTION:pN,RESET_STORY_ARGS:oh,SELECT_STORY:fN,SET_CONFIG:hN,SET_CURRENT_STORY:ah,SET_FILTER:mN,SET_GLOBALS:SA,SET_INDEX:yN,SET_STORIES:gN,SHARED_STATE_CHANGED:bN,SHARED_STATE_SET:vN,STORIES_COLLAPSE_ALL:EN,STORIES_EXPAND_ALL:AN,STORY_ARGS_UPDATED:_A,STORY_CHANGED:CA,STORY_ERRORED:TA,STORY_INDEX_INVALIDATED:xA,STORY_MISSING:ep,STORY_PREPARED:RA,STORY_RENDER_PHASE_CHANGED:Ei,STORY_RENDERED:qu,STORY_FINISHED:tp,STORY_SPECIFIED:DA,STORY_THREW_EXCEPTION:PA,STORY_UNCHANGED:OA,STORY_HOT_UPDATED:sh,UPDATE_GLOBALS:uh,UPDATE_QUERY_PARAMS:IA,UPDATE_STORY_ARGS:lh,REQUEST_WHATS_NEW_DATA:wN,RESULT_WHATS_NEW_DATA:SN,SET_WHATS_NEW_CACHE:_N,TOGGLE_WHATS_NEW_NOTIFICATIONS:CN,TELEMETRY_ERROR:FA,SAVE_STORY_REQUEST:TN,SAVE_STORY_RESPONSE:xN,ARGTYPES_INFO_REQUEST:NA,ARGTYPES_INFO_RESPONSE:rp,GHOST_STORIES_REQUEST:RN,GHOST_STORIES_RESPONSE:DN,AI_SETUP_ANALYTICS_RESPONSE:PN,AI_SETUP_ANALYTICS_REQUEST:ON,OPEN_IN_EDITOR_REQUEST:IN,OPEN_IN_EDITOR_RESPONSE:FN,MANAGER_INERT_ATTRIBUTE_CHANGED:kA,SHARE_ISOLATE_MODE:NN,AI_PROMPT_NUDGE:kN,SIDEBAR_FILTER_CHANGED:BN}=rh,MN=Object.create,BA=Object.defineProperty,jN=Object.getOwnPropertyDescriptor,MA=Object.getOwnPropertyNames,LN=Object.getPrototypeOf,qN=Object.prototype.hasOwnProperty,Xe=(e,t)=>function(){return t||(0,e[MA(e)[0]])((t={exports:{}}).exports,t),t.exports},$N=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of MA(t))!qN.call(e,i)&&i!==r&&BA(e,i,{get:()=>t[i],enumerable:!(n=jN(t,i))||n.enumerable});return e},ch=(e,t,r)=>(r=e!=null?MN(LN(e)):{},$N(!e||!e.__esModule?BA(r,"default",{value:e,enumerable:!0}):r,e)),VN=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],UN=["detail"];function JN(e){let t=VN.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of UN.filter(n=>e[n]!==void 0))t[r]=e[r];return t}var jA=Xe({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),HN=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),zN=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),GN=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),WN=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),KN=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),dh=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),YN=Xe({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),XN=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),QN=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),ZN=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),ek=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),tk=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),rk=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),nk=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||function(r){return r!==r}}}),ik=Xe({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=nk();t.exports=function(n){return r(n)||n===0?n:n<0?-1:1}}}),ok=Xe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),ph=Xe({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=ok();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),ak=Xe({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),LA=Xe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(var a in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==o||l.enumerable!==!0)return!1}return!0}}}),qA=Xe({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=LA();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),$A=Xe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),VA=Xe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=jA();t.exports=r.getPrototypeOf||null}}),sk=Xe({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,i=Math.max,o="[object Function]",a=function(u,d){for(var f=[],h=0;h<u.length;h+=1)f[h]=u[h];for(var m=0;m<d.length;m+=1)f[m+u.length]=d[m];return f},s=function(u,d){for(var f=[],h=d,m=0;h<u.length;h+=1,m+=1)f[m]=u[h];return f},l=function(u,d){for(var f="",h=0;h<u.length;h+=1)f+=u[h],h+1<u.length&&(f+=d);return f};t.exports=function(u){var d=this;if(typeof d!="function"||n.apply(d)!==o)throw new TypeError(r+d);for(var f=s(arguments,1),h,m=function(){if(this instanceof h){var _=d.apply(this,a(f,arguments));return Object(_)===_?_:this}return d.apply(u,a(f,arguments))},b=i(0,d.length-f.length),y=[],A=0;A<b;A++)y[A]="$"+A;if(h=Function("binder","return function ("+l(y,",")+"){ return binder.apply(this,arguments); }")(m),d.prototype){var E=function(){};E.prototype=d.prototype,h.prototype=new E,E.prototype=null}return h}}}),xl=Xe({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=sk();t.exports=Function.prototype.bind||r}}),fh=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),UA=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),uk=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),lk=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=xl(),n=UA(),i=fh(),o=uk();t.exports=o||r.call(i,n)}}),JA=Xe({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=xl(),n=dh(),i=fh(),o=lk();t.exports=function(a){if(a.length<1||typeof a[0]!="function")throw new n("a function is required");return o(r,i,a)}}}),ck=Xe({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=JA(),n=ph(),i;try{i=[].__proto__===Array.prototype}catch(l){if(!l||typeof l!="object"||!("code"in l)||l.code!=="ERR_PROTO_ACCESS")throw l}var o=!!i&&n&&n(Object.prototype,"__proto__"),a=Object,s=a.getPrototypeOf;t.exports=o&&typeof o.get=="function"?r([o.get]):typeof s=="function"?(function(l){return s(l==null?l:a(l))}):!1}}),dk=Xe({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=$A(),n=VA(),i=ck();t.exports=r?function(o){return r(o)}:n?function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return n(o)}:i?function(o){return i(o)}:null}}),HA=Xe({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=xl();t.exports=i.call(r,n)}}),pk=Xe({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=jA(),i=HN(),o=zN(),a=GN(),s=WN(),l=KN(),u=dh(),d=YN(),f=XN(),h=QN(),m=ZN(),b=ek(),y=tk(),A=rk(),E=ik(),_=Function,I=function(ye){try{return _('"use strict"; return ('+ye+").constructor;")()}catch{}},P=ph(),x=ak(),g=function(){throw new u},w=P?(function(){try{return arguments.callee,g}catch{try{return P(arguments,"callee").get}catch{return g}}})():g,C=qA()(),R=dk(),j=VA(),B=$A(),U=UA(),$=fh(),k={},V=typeof Uint8Array>"u"||!R?r:R(Uint8Array),W={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":C&&R?R([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":_,"%GeneratorFunction%":k,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":C&&R?R(R([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!C||!R?r:R(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":P,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":a,"%ReferenceError%":s,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!C||!R?r:R(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":C&&R?R(""[Symbol.iterator]()):r,"%Symbol%":C?Symbol:r,"%SyntaxError%":l,"%ThrowTypeError%":w,"%TypedArray%":V,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":d,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":$,"%Function.prototype.apply%":U,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":j,"%Math.abs%":f,"%Math.floor%":h,"%Math.max%":m,"%Math.min%":b,"%Math.pow%":y,"%Math.round%":A,"%Math.sign%":E,"%Reflect.getPrototypeOf%":B};if(R)try{null.error}catch(ye){Y=R(R(ye)),W["%Error.prototype%"]=Y}var Y,ne=function ye(Ae){var Re;if(Ae==="%AsyncFunction%")Re=I("async function () {}");else if(Ae==="%GeneratorFunction%")Re=I("function* () {}");else if(Ae==="%AsyncGeneratorFunction%")Re=I("async function* () {}");else if(Ae==="%AsyncGenerator%"){var Te=ye("%AsyncGeneratorFunction%");Te&&(Re=Te.prototype)}else if(Ae==="%AsyncIteratorPrototype%"){var Oe=ye("%AsyncGenerator%");Oe&&R&&(Re=R(Oe.prototype))}return W[Ae]=Re,Re},we={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Pe=xl(),X=HA(),G=Pe.call($,Array.prototype.concat),ie=Pe.call(U,Array.prototype.splice),fe=Pe.call($,String.prototype.replace),he=Pe.call($,String.prototype.slice),se=Pe.call($,RegExp.prototype.exec),xe=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Se=/\\(\\)?/g,je=function(ye){var Ae=he(ye,0,1),Re=he(ye,-1);if(Ae==="%"&&Re!=="%")throw new l("invalid intrinsic syntax, expected closing `%`");if(Re==="%"&&Ae!=="%")throw new l("invalid intrinsic syntax, expected opening `%`");var Te=[];return fe(ye,xe,function(Oe,Ie,Ve,bt){Te[Te.length]=Ve?fe(bt,Se,"$1"):Ie||Oe}),Te},Q=function(ye,Ae){var Re=ye,Te;if(X(we,Re)&&(Te=we[Re],Re="%"+Te[0]+"%"),X(W,Re)){var Oe=W[Re];if(Oe===k&&(Oe=ne(Re)),typeof Oe>"u"&&!Ae)throw new u("intrinsic "+ye+" exists, but is not available. Please file an issue!");return{alias:Te,name:Re,value:Oe}}throw new l("intrinsic "+ye+" does not exist!")};t.exports=function(ye,Ae){if(typeof ye!="string"||ye.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Ae!="boolean")throw new u('"allowMissing" argument must be a boolean');if(se(/^%?[^%]*%?$/,ye)===null)throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var Re=je(ye),Te=Re.length>0?Re[0]:"",Oe=Q("%"+Te+"%",Ae),Ie=Oe.name,Ve=Oe.value,bt=!1,Kt=Oe.alias;Kt&&(Te=Kt[0],ie(Re,G([0,1],Kt)));for(var Ge=1,xt=!0;Ge<Re.length;Ge+=1){var rt=Re[Ge],Ar=he(rt,0,1),Yt=he(rt,-1);if((Ar==='"'||Ar==="'"||Ar==="`"||Yt==='"'||Yt==="'"||Yt==="`")&&Ar!==Yt)throw new l("property names with quotes must have matching quotes");if((rt==="constructor"||!xt)&&(bt=!0),Te+="."+rt,Ie="%"+Te+"%",X(W,Ie))Ve=W[Ie];else if(Ve!=null){if(!(rt in Ve)){if(!Ae)throw new u("base intrinsic for "+ye+" exists, but the property is not available.");return}if(P&&Ge+1>=Re.length){var be=P(Ve,rt);xt=!!be,xt&&"get"in be&&!("originalValue"in be.get)?Ve=be.get:Ve=Ve[rt]}else xt=X(Ve,rt),Ve=Ve[rt];xt&&!bt&&(W[Ie]=Ve)}}return Ve}}}),hh=Xe({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=pk(),n=JA(),i=n([r("%String.prototype.indexOf%")]);t.exports=function(o,a){var s=r(o,!!a);return typeof s=="function"&&i(o,".prototype.")>-1?n([s]):s}}}),fk=Xe({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=LA();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),zA=Xe({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=hh(),n=fk()(),i=HA(),o=ph(),a;n?(s=r("RegExp.prototype.exec"),l={},u=function(){throw l},d={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(d[Symbol.toPrimitive]=u),a=function(m){if(!m||typeof m!="object")return!1;var b=o(m,"lastIndex"),y=b&&i(b,"value");if(!y)return!1;try{s(m,d)}catch(A){return A===l}}):(f=r("Object.prototype.toString"),h="[object RegExp]",a=function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:f(m)===h});var s,l,u,d,f,h;t.exports=a}}),hk=Xe({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(i){if(!i)return!1;var o=r.call(i);return o==="[object Function]"||typeof i=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}}}),mk=Xe({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=hh(),n=zA(),i=r("RegExp.prototype.exec"),o=dh();t.exports=function(a){if(!n(a))throw new o("`regex` must be a RegExp");return function(s){return i(a,s)!==null}}}}),yk=Xe({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=hh(),n=r("Object.prototype.toString"),i=qA()(),o=mk();i?(a=r("Symbol.prototype.toString"),s=o(/^Symbol\(.*\)$/),l=function(u){return typeof u.valueOf()!="symbol"?!1:s(a(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(!u||typeof u!="object"||n(u)!=="[object Symbol]")return!1;try{return l(u)}catch{return!1}}):t.exports=function(u){return!1};var a,s,l}}),gk=ch(zA()),bk=ch(hk()),vk=ch(yk());function Ek(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var Ak=typeof global=="object"&&global&&global.Object===Object&&global,wk=Ak,Sk=typeof self=="object"&&self&&self.Object===Object&&self,_k=wk||Sk||Function("return this")(),mh=_k,Ck=mh.Symbol,No=Ck,GA=Object.prototype,Tk=GA.hasOwnProperty,xk=GA.toString,pa=No?No.toStringTag:void 0;function Rk(e){var t=Tk.call(e,pa),r=e[pa];try{e[pa]=void 0;var n=!0}catch{}var i=xk.call(e);return n&&(t?e[pa]=r:delete e[pa]),i}var Dk=Rk,Pk=Object.prototype,Ok=Pk.toString;function Ik(e){return Ok.call(e)}var Fk=Ik,Nk="[object Null]",kk="[object Undefined]",tg=No?No.toStringTag:void 0;function Bk(e){return e==null?e===void 0?kk:Nk:tg&&tg in Object(e)?Dk(e):Fk(e)}var WA=Bk;function Mk(e){return e!=null&&typeof e=="object"}var jk=Mk,Lk="[object Symbol]";function qk(e){return typeof e=="symbol"||jk(e)&&WA(e)==Lk}var yh=qk;function $k(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}var Vk=$k,Uk=Array.isArray,gh=Uk,rg=No?No.prototype:void 0,ng=rg?rg.toString:void 0;function KA(e){if(typeof e=="string")return e;if(gh(e))return Vk(e,KA)+"";if(yh(e))return ng?ng.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var Jk=KA;function Hk(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var YA=Hk,zk="[object AsyncFunction]",Gk="[object Function]",Wk="[object GeneratorFunction]",Kk="[object Proxy]";function Yk(e){if(!YA(e))return!1;var t=WA(e);return t==Gk||t==Wk||t==zk||t==Kk}var Xk=Yk,Qk=mh["__core-js_shared__"],Dc=Qk,ig=(function(){var e=/[^.]+$/.exec(Dc&&Dc.keys&&Dc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function Zk(e){return!!ig&&ig in e}var eB=Zk,tB=Function.prototype,rB=tB.toString;function nB(e){if(e!=null){try{return rB.call(e)}catch{}try{return e+""}catch{}}return""}var iB=nB,oB=/[\\^$.*+?()[\]{}|]/g,aB=/^\[object .+?Constructor\]$/,sB=Function.prototype,uB=Object.prototype,lB=sB.toString,cB=uB.hasOwnProperty,dB=RegExp("^"+lB.call(cB).replace(oB,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function pB(e){if(!YA(e)||eB(e))return!1;var t=Xk(e)?dB:aB;return t.test(iB(e))}var fB=pB;function hB(e,t){return e?.[t]}var mB=hB;function yB(e,t){var r=mB(e,t);return fB(r)?r:void 0}var XA=yB;function gB(e,t){return e===t||e!==e&&t!==t}var bB=gB,vB=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,EB=/^\w*$/;function AB(e,t){if(gh(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||yh(e)?!0:EB.test(e)||!vB.test(e)||t!=null&&e in Object(t)}var wB=AB,SB=XA(Object,"create"),Wa=SB;function _B(){this.__data__=Wa?Wa(null):{},this.size=0}var CB=_B;function TB(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var xB=TB,RB="__lodash_hash_undefined__",DB=Object.prototype,PB=DB.hasOwnProperty;function OB(e){var t=this.__data__;if(Wa){var r=t[e];return r===RB?void 0:r}return PB.call(t,e)?t[e]:void 0}var IB=OB,FB=Object.prototype,NB=FB.hasOwnProperty;function kB(e){var t=this.__data__;return Wa?t[e]!==void 0:NB.call(t,e)}var BB=kB,MB="__lodash_hash_undefined__";function jB(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Wa&&t===void 0?MB:t,this}var LB=jB;function Yo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Yo.prototype.clear=CB;Yo.prototype.delete=xB;Yo.prototype.get=IB;Yo.prototype.has=BB;Yo.prototype.set=LB;var og=Yo;function qB(){this.__data__=[],this.size=0}var $B=qB;function VB(e,t){for(var r=e.length;r--;)if(bB(e[r][0],t))return r;return-1}var Rl=VB,UB=Array.prototype,JB=UB.splice;function HB(e){var t=this.__data__,r=Rl(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():JB.call(t,r,1),--this.size,!0}var zB=HB;function GB(e){var t=this.__data__,r=Rl(t,e);return r<0?void 0:t[r][1]}var WB=GB;function KB(e){return Rl(this.__data__,e)>-1}var YB=KB;function XB(e,t){var r=this.__data__,n=Rl(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var QB=XB;function Xo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Xo.prototype.clear=$B;Xo.prototype.delete=zB;Xo.prototype.get=WB;Xo.prototype.has=YB;Xo.prototype.set=QB;var ZB=Xo,eM=XA(mh,"Map"),tM=eM;function rM(){this.size=0,this.__data__={hash:new og,map:new(tM||ZB),string:new og}}var nM=rM;function iM(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var oM=iM;function aM(e,t){var r=e.__data__;return oM(t)?r[typeof t=="string"?"string":"hash"]:r.map}var Dl=aM;function sM(e){var t=Dl(this,e).delete(e);return this.size-=t?1:0,t}var uM=sM;function lM(e){return Dl(this,e).get(e)}var cM=lM;function dM(e){return Dl(this,e).has(e)}var pM=dM;function fM(e,t){var r=Dl(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}var hM=fM;function Qo(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Qo.prototype.clear=nM;Qo.prototype.delete=uM;Qo.prototype.get=cM;Qo.prototype.has=pM;Qo.prototype.set=hM;var QA=Qo,mM="Expected a function";function bh(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(mM);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(bh.Cache||QA),r}bh.Cache=QA;var yM=bh,gM=500;function bM(e){var t=yM(e,function(n){return r.size===gM&&r.clear(),n}),r=t.cache;return t}var vM=bM,EM=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,AM=/\\(\\)?/g,wM=vM(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(EM,function(r,n,i,o){t.push(i?o.replace(AM,"$1"):n||r)}),t}),SM=wM;function _M(e){return e==null?"":Jk(e)}var CM=_M;function TM(e,t){return gh(e)?e:wB(e,t)?[e]:SM(CM(e))}var xM=TM;function RM(e){if(typeof e=="string"||yh(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var DM=RM;function PM(e,t){t=xM(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[DM(t[r++])];return r&&r==n?e:void 0}var OM=PM;function IM(e,t,r){var n=e==null?void 0:OM(e,t);return n===void 0?r:n}var FM=IM,vh=Ek,NM=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Eh=e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/);function ZA(e){if(!vh(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=JN(t),r=!0),t=Object.keys(t).reduce((n,i)=>{try{t[i]&&t[i].toJSON,n[i]=t[i]}catch{r=!0}return n},{}),r?t:e}var kM=function(e){let t,r,n,i;return function(o,a){try{if(o==="")return i=[],t=new Map([[a,"[]"]]),r=new Map,n=[],a;let s=r.get(this)||this;for(;n.length&&s!==n[0];)n.shift(),i.pop();if(typeof a=="boolean")return a;if(a===void 0)return e.allowUndefined?"_undefined_":void 0;if(a===null)return null;if(typeof a=="number")return a===Number.NEGATIVE_INFINITY?"_-Infinity_":a===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(a)?"_NaN_":a;if(typeof a=="bigint")return`_bigint_${a.toString()}`;if(typeof a=="string")return NM.test(a)?e.allowDate?`_date_${a}`:void 0:a;if((0,gk.default)(a))return e.allowRegExp?`_regexp_${a.flags}|${a.source}`:void 0;if((0,bk.default)(a))return;if((0,vk.default)(a)){if(!e.allowSymbol)return;let u=Symbol.keyFor(a);return u!==void 0?`_gsymbol_${u}`:`_symbol_${a.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(a)?`[Array(${a.length})]`:"[Object]";if(a===this)return`_duplicate_${JSON.stringify(i)}`;if(a instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...a.cause?{cause:a.cause}:{},...a,name:a.name,message:a.message,stack:a.stack,"_constructor-name_":a.constructor.name}};if(a?.constructor?.name&&a.constructor.name!=="Object"&&!Array.isArray(a)){let u=t.get(a);if(!u){let d={__isClassInstance__:!0,__className__:a.constructor.name,...Object.getOwnPropertyNames(a).reduce((f,h)=>{try{f[h]=a[h]}catch{}return f},{})};return i.push(o),n.unshift(d),t.set(a,JSON.stringify(i)),a!==d&&r.set(a,d),d}return`_duplicate_${u}`}let l=t.get(a);if(!l){let u=Array.isArray(a)?a:ZA(a);return i.push(o),n.unshift(u),t.set(a,JSON.stringify(i)),a!==u&&r.set(a,u),u}return`_duplicate_${l}`}catch{return}}},BM=function(e){let t=[],r;return function(n,i){if(n===""&&(r=i,t.forEach(({target:o,container:a,replacement:s})=>{let l=Eh(s)?JSON.parse(s):s.split(".");l.length===0?a[o]=r:a[o]=FM(r,l)})),n==="_constructor-name_")return i;if(vh(i)&&i.__isConvertedError__){let{message:o,...a}=i.errorProperties,s=new Error(o);return Object.assign(s,a),s}if(typeof i=="string"&&i.startsWith("_regexp_")&&e.allowRegExp){let[,o,a]=i.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(a,o)}return typeof i=="string"&&i.startsWith("_date_")&&e.allowDate?new Date(i.replace("_date_","")):typeof i=="string"&&i.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:i.replace(/^_duplicate_/,"")}),null):typeof i=="string"&&i.startsWith("_symbol_")&&e.allowSymbol?Symbol(i.replace("_symbol_","")):typeof i=="string"&&i.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(i.replace("_gsymbol_","")):typeof i=="string"&&i==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof i=="string"&&i==="_Infinity_"?Number.POSITIVE_INFINITY:typeof i=="string"&&i==="_NaN_"?Number.NaN:typeof i=="string"&&i.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(i.replace("_bigint_","")):i}},ew={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},tw=(e,t={})=>{let r={...ew,...t};return JSON.stringify(ZA(e),kM(r),t.space)},MM=()=>{let e=new Map;return function t(r){vh(r)&&Object.entries(r).forEach(([n,i])=>{i==="_undefined_"?r[n]=void 0:e.get(i)||(e.set(i,!0),t(i))}),Array.isArray(r)&&r.forEach((n,i)=>{n==="_undefined_"?(e.set(n,!0),r[i]=void 0):e.get(n)||(e.set(n,!0),t(n))})}},rw=(e,t={})=>{let r={...ew,...t},n=JSON.parse(e,BM(r));return MM()(n),n},jM="Invariant failed";function qn(e,t){if(!e)throw new Error(jM)}var LM=(e,t)=>{if(e.length===1)return e[0];if(!(e.length===0||!t))return e.find(r=>(r.getAttribute("src")??"").includes(`refId=${encodeURIComponent(t)}`))},qM=(e,t)=>{let r=Array.from(document.querySelectorAll("iframe[data-is-storybook]")).filter(i=>{try{return i.contentWindow?.location.origin===e.source.location.origin&&i.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let o=i.getAttribute("src"),a;try{if(!o)return!1;({origin:a}=new URL(o,document.location.toString()))}catch{return!1}return a===e.origin}),n=LM(r,t)?.getAttribute("src");if(n){let{protocol:i,host:o,pathname:a}=new URL(n,document.location.toString());return`${i}//${o}${a}`}return r.length>1&&It.error("found multiple candidates for event source"),null},{document:Pc,location:Oc}=globalThis,ag="storybook-channel",sg=globalThis.CHANNEL_OPTIONS||{},$M={maxDepth:25},nw=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof globalThis.addEventListener=="function"&&globalThis.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...t)=>{e.apply(this,t),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,t){let{target:r,allowRegExp:n,allowSymbol:i,allowDate:o,allowError:a,allowUndefined:s,maxDepth:l,space:u}=t||{},d=Object.fromEntries(Object.entries({allowRegExp:n,allowSymbol:i,allowDate:o,allowError:a,allowUndefined:s,maxDepth:l,space:u}).filter(([y,A])=>typeof A<"u")),f={...$M,...sg,...d},h=this.getFrames(r),m=new URLSearchParams(Oc?.search||""),b=tw({key:ag,event:e,refId:m.get("refId")},f);return h.length?(this.buffer.length&&this.flush(),h.forEach(y=>{try{y.postMessage(b,"*")}catch{It.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((y,A)=>{this.buffer.push({event:e,resolve:y,reject:A})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>{this.send(t.event).then(t.resolve).catch(t.reject)})}getFrames(e){if(this.config.page==="manager"){let t=Array.from(Pc.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(r=>{try{return r.contentWindow&&r.dataset.isStorybook!==void 0&&r.id===e?[r.contentWindow]:[]}catch{return[]}});return t?.length?t:this.getCurrentFrames()}return globalThis.parent&&globalThis.parent!==globalThis.self?[globalThis.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(Pc.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):globalThis.parent?[globalThis.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(Pc.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):globalThis.parent?[globalThis.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:n,refId:i}=typeof t=="string"&&Eh(t)?rw(t,sg):t;if(r===ag){let o=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',a=Object.values(th).includes(n.type)?`<span style="color: #FF4785">${n.type}</span>`:`<span style="color: #FFAE00">${n.type}</span>`;if(i&&(n.refId=i),n.source=this.config.page==="preview"?e.origin:qM(e,i),!n.source){kr.error(`${o} received ${a} but was unable to determine the source of the event`);return}let s=`${o} received ${a} (${t.length})`;kr.debug(Oc.origin!==n.source?s:`${s} <span style="color: gray">(on ${Oc.origin} from ${n.source})</span>`,...n.args),qn(this.handler,"ChannelHandler should be set"),this.config.page==="manager"&&this.buffer.length&&this.flush(),this.handler(n)}}catch(t){It.error(t)}}},iw=15e3,ow=5e3,VM=globalThis.CHANNEL_OPTIONS||{},aw=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new WebSocket(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:n})=>{let i=typeof n=="string"&&Eh(n)?rw(n):n;if(qn(this.handler),this.heartbeat(),i.type==="ping"){this.send({type:"pong"});return}this.handler(i)},this.socket.onerror=n=>{t&&t(n)},this.socket.onclose=n=>{qn(this.handler),this.handler({type:mA,args:[{reason:n.reason,code:n.code}],from:r||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},iw+ow)}setHandler(e){this.handler=e}send(e){this.isClosed||(this.isReady?this.sendNow(e):this.sendLater(e))}sendLater(e){this.buffer.push(e)}sendNow(e){let t=tw(e,{maxDepth:15,...VM});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}},$u;function UM(e){globalThis.__STORYBOOK_ADDONS_CHANNEL__=e}function Jn(){let e=globalThis.__STORYBOOK_ADDONS_CHANNEL__;return e&&($u=e),$u??null}function JM(){let e=Jn();if(!e)throw new Error("Storybook addons channel is not installed in this runtime. Install it via setChannel() or addons.setChannel() at the runtime entry point before registering services or emitting events.");return e}function Cs(e){$u=e??void 0,UM($u)}function sw(){Cs(null)}function Ah(){Cs(new _s({}))}function wh(){Jn()||Ah()}typeof window>"u"&&wh();var HM=_s;function zM({page:e,extraTransports:t=[]}){let r=[new nw({page:e}),...t];if(globalThis.CONFIG_TYPE==="DEVELOPMENT"){let i=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:a}=window.location,{wsToken:s}=globalThis.CHANNEL_OPTIONS||{},l=`${i}://${o}:${a}/storybook-server-channel?token=${s}`;r.push(new aw({url:l,onError:()=>{},page:e}))}let n=new _s({transports:r});return Rc.__prepare(n,e==="manager"?Rc.Environment.MANAGER:Rc.Environment.PREVIEW),n}var uw={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},GM=Object.keys(uw),lw={};Rr(lw,{CalledExtractOnStoreError:()=>fw,CalledPreviewMethodBeforeInitializationError:()=>Pr,Category:()=>cw,ElementA11yParameterError:()=>ej,EmptyIndexError:()=>gw,ImplicitActionsDuringRendering:()=>pw,InvalidBlockOfPropError:()=>QM,MdxFileWithNoCsfReferencesError:()=>yw,MissingRenderToCanvasError:()=>hw,MissingStoryAfterHmrError:()=>dw,MissingStoryFromCsfFileError:()=>vw,MountMustBeDestructuredError:()=>Sh,NextJsSharpError:()=>KM,NextjsRouterMocksNotAvailable:()=>YM,NoRenderFunctionError:()=>Aw,NoStoryMatchError:()=>bw,NoStoryMountedError:()=>ww,StatusTypeIdMismatchError:()=>WM,StoryIndexFetchError:()=>mw,StoryStoreAccessedBeforeInitializationError:()=>Ew,UnknownArgTypesError:()=>XM,UnsupportedViewportDimensionError:()=>ZM});var cw=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e.ADDON_A11Y="ADDON_A11Y",e))(cw||{}),dw=class extends st{constructor(e){super({name:"MissingStoryAfterHmrError",category:"PREVIEW_API",code:1,message:tt`
39
+ Couldn't find story matching id '${e.storyId}' after HMR.
40
+ - Did you just rename a story?
41
+ - Did you remove it from your CSF file?
42
+ - Are you sure a story with the id '${e.storyId}' exists?
43
+ - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
44
+ - Also check the browser console and terminal for potential error messages.`}),this.data=e}},pw=class extends st{constructor(e){super({name:"ImplicitActionsDuringRendering",category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:tt`
45
+ We detected that you use an implicit action arg while ${e.phase} of your story.
46
+ ${e.deprecated?`
47
+ This is deprecated and won't work in Storybook 8 anymore.
48
+ `:""}
49
+ Please provide an explicit spy to your args like this:
50
+ import { fn } from 'storybook/test';
51
+ ...
52
+ args: {
53
+ ${e.name}: fn()
54
+ }`}),this.data=e}},fw=class extends st{constructor(){super({name:"CalledExtractOnStoreError",category:"PREVIEW_API",code:3,message:tt`
55
+ Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
56
+
57
+ You probably meant to call \`await preview.extract()\` which does the above for you.`})}},hw=class extends st{constructor(){super({name:"MissingRenderToCanvasError",category:"PREVIEW_API",code:4,message:tt`
58
+ Expected your framework's preset to export a \`renderToCanvas\` field.
59
+
60
+ Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}},Pr=class extends st{constructor(e){super({name:"CalledPreviewMethodBeforeInitializationError",category:"PREVIEW_API",code:5,message:tt`
61
+ Called \`Preview.${e.methodName}()\` before initialization.
62
+
63
+ The preview needs to load the story index before most methods can be called. If you want
64
+ to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first.
65
+
66
+ If you didn't call the above code, then likely it was called by an addon that needs to
67
+ do the above.`}),this.data=e}},mw=class extends st{constructor(e){super({name:"StoryIndexFetchError",category:"PREVIEW_API",code:6,message:tt`
68
+ Error fetching \`/index.json\`:
69
+
70
+ ${e.text}
71
+
72
+ If you are in development, this likely indicates a problem with your Storybook process,
73
+ check the terminal for errors.
74
+
75
+ If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
76
+ build.`}),this.data=e}},yw=class extends st{constructor(e){super({name:"MdxFileWithNoCsfReferencesError",category:"PREVIEW_API",code:7,message:tt`
77
+ Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF
78
+ references, or autodocs for a CSF file that some doesn't refer to itself.
79
+
80
+ This likely is an internal error in Storybook's indexing, or you've attached the
81
+ \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}},gw=class extends st{constructor(){super({name:"EmptyIndexError",category:"PREVIEW_API",code:8,message:tt`
82
+ Couldn't find any stories in your Storybook.
83
+
84
+ - Please check your stories field of your main.js config: does it match correctly?
85
+ - Also check the browser console and terminal for error messages.`})}},bw=class extends st{constructor(e){super({name:"NoStoryMatchError",category:"PREVIEW_API",code:9,message:tt`
86
+ Couldn't find story matching '${e.storySpecifier}'.
87
+
88
+ - Are you sure a story with that id exists?
89
+ - Please check your stories field of your main.js config.
90
+ - Also check the browser console and terminal for error messages.`}),this.data=e}},vw=class extends st{constructor(e){super({name:"MissingStoryFromCsfFileError",category:"PREVIEW_API",code:10,message:tt`
91
+ Couldn't find story matching id '${e.storyId}' after importing a CSF file.
92
+
93
+ The file was indexed as if the story was there, but then after importing the file in the browser
94
+ we didn't find the story. Possible reasons:
95
+ - You are using a custom story indexer that is misbehaving.
96
+ - You have a custom file loader that is removing or renaming exports.
97
+
98
+ Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}},Ew=class extends st{constructor(){super({name:"StoryStoreAccessedBeforeInitializationError",category:"PREVIEW_API",code:11,message:tt`
99
+ Cannot access the Story Store until the index is ready.
100
+
101
+ It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
102
+ remove access to the store entirely`})}},Sh=class extends st{constructor(e){super({name:"MountMustBeDestructuredError",category:"PREVIEW_API",code:12,message:tt`
103
+ Incorrect use of mount in the play function.
104
+
105
+ To use mount in the play function, you must satisfy the following two requirements:
106
+
107
+ 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
108
+ This makes sure that Storybook does not start rendering the story before the play function begins.
109
+
110
+ 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
111
+ This is because destructuring statements and async/await usages are otherwise transpiled away,
112
+ which prevents Storybook from recognizing your usage of \`mount\`.
113
+
114
+ Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
115
+
116
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#run-code-before-the-component-gets-rendered
117
+
118
+ Received the following play function:
119
+ ${e.playFunction}`}),this.data=e}},Aw=class extends st{constructor(e){super({name:"NoRenderFunctionError",category:"PREVIEW_API",code:14,message:tt`
120
+ No render function available for storyId '${e.id}'
121
+ `}),this.data=e}},ww=class extends st{constructor(){super({name:"NoStoryMountedError",category:"PREVIEW_API",code:15,message:tt`
122
+ No component is mounted in your story.
123
+
124
+ This usually occurs when you destructure mount in the play function, but forget to call it.
125
+
126
+ For example:
127
+
128
+ async play({ mount, canvasElement }) {
129
+ // 👈 mount should be called: await mount();
130
+ const canvas = within(canvasElement);
131
+ const button = await canvas.findByRole('button');
132
+ await userEvent.click(button);
133
+ };
134
+
135
+ Make sure to either remove it or call mount in your play function.
136
+ `})}},WM=class extends st{constructor(e){super({name:"StatusTypeIdMismatchError",category:"PREVIEW_API",code:16,message:`Status has typeId "${e.status.typeId}" but was added to store with typeId "${e.typeId}". Full status: ${JSON.stringify(e.status,null,2)}`}),this.data=e}},KM=class extends st{constructor(){super({name:"NextJsSharpError",category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/frameworks/nextjs#error-you-are-importing-avif-images-but-you-dont-have-sharp-installed-you-have-to-install-sharp-in-order-to-use-image-optimization-features-in-nextjs",message:tt`
137
+ You are importing avif images, but you don't have sharp installed.
138
+
139
+ You have to install sharp in order to use image optimization features in Next.js.
140
+ `})}},YM=class extends st{constructor(e){super({name:"NextjsRouterMocksNotAvailable",category:"FRAMEWORK_NEXTJS",code:2,message:tt`
141
+ Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment.
142
+ `}),this.data=e}},XM=class extends st{constructor(t){super({name:"UnknownArgTypesError",category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:tt`
143
+ There was a failure when generating detailed ArgTypes in ${t.language} for:
144
+ ${JSON.stringify(t.type,null,2)}
145
+
146
+ Storybook will fall back to use a generic type description instead.
147
+
148
+ This type is either not supported or it is a bug in the docgen generation in Storybook.
149
+ If you think this is a bug, please detail it as much as possible in the Github issue.
150
+ `}),this.data=t}},QM=class extends st{constructor(){super({name:"InvalidBlockOfPropError",category:"BLOCKS",code:1,message:"Unexpected `of={undefined}`, did you mistype a CSF file reference?"})}},ZM=class extends st{constructor(e){super({name:"UnsupportedViewportDimensionError",category:"ADDON_VITEST",code:1,message:tt`
151
+ Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension.
152
+
153
+ The Storybook plugin only supports values in the following units:
154
+ - px, vh, vw, em, rem and %.
155
+
156
+ You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
157
+ `}),this.data=e}},ej=class extends st{constructor(){super({name:"ElementA11yParameterError",category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}},Sw={};Rr(Sw,{Addon_TypesEnum:()=>_w,CHANGE_DETECTION_STATUS_TYPE_ID:()=>Ow,CoreWebpackCompiler:()=>Fw,Feature:()=>kw,NON_AGGREGATED_STATUS_TYPE_IDS:()=>uj,REVIEW_EVENTS:()=>lj,REVIEW_NAMESPACE:()=>ii,REVIEW_STATUS_TYPE_ID:()=>Iw,SupportedBuilder:()=>Nw,SupportedFramework:()=>Cw,SupportedLanguage:()=>Bw,SupportedRenderer:()=>Tw});var _w=(e=>(e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.experimental_PAGE="page",e.experimental_TEST_PROVIDER="test-provider",e))(_w||{}),Cw=(e=>(e.ANGULAR="angular",e.ANGULAR_VITE="angular-vite",e.EMBER="ember",e.HTML_VITE="html-vite",e.NEXTJS="nextjs",e.NEXTJS_VITE="nextjs-vite",e.PREACT_VITE="preact-vite",e.REACT_NATIVE_WEB_VITE="react-native-web-vite",e.REACT_VITE="react-vite",e.REACT_WEBPACK5="react-webpack5",e.SERVER_WEBPACK5="server-webpack5",e.SVELTE_VITE="svelte-vite",e.SVELTEKIT="sveltekit",e.TANSTACK_REACT="tanstack-react",e.VUE3_VITE="vue3-vite",e.WEB_COMPONENTS_VITE="web-components-vite",e.HTML_RSBUILD="html-rsbuild",e.NUXT="nuxt",e.QWIK="qwik",e.REACT_RSBUILD="react-rsbuild",e.SOLID="solid",e.VUE3_RSBUILD="vue3-rsbuild",e.WEB_COMPONENTS_RSBUILD="web-components-rsbuild",e))(Cw||{}),Tw=(e=>(e.REACT="react",e.REACT_NATIVE="react-native",e.VUE3="vue3",e.ANGULAR="angular",e.EMBER="ember",e.PREACT="preact",e.SVELTE="svelte",e.QWIK="qwik",e.HTML="html",e.WEB_COMPONENTS="web-components",e.SERVER="server",e.SOLID="solid",e.NUXT="nuxt",e))(Tw||{});or(Yf(),1);function tj(e){return e?.length?e.map(t=>{let r=typeof t=="object"&&t!==null&&"key"in t?t.key:t;return typeof r=="number"?`[${r}]`:`.${String(r)}`}).join("").replace(/^\./,""):""}function rj(e){return e.map(t=>{let r=tj(t.path);return r===""?t.message:`${r}: ${t.message}`}).join(`
158
+ `)}var xw=class extends st{constructor(e){super({name:"OpenServiceValidationError",category:"CORE-COMMON",code:5,message:`Invalid ${e.phase} for ${e.kind} "${e.serviceId}.${e.name}":
159
+ ${rj(e.issues)}`}),this.data=e}},Rw=class extends st{constructor(e){super({name:"OpenServiceMissingServiceError",category:"CORE-COMMON",code:7,message:`No registered service with id "${e.serviceId}" exists in this environment.`}),this.data=e}},Dw=class extends st{constructor(e){super({name:"OpenServiceUnimplementedOperationError",category:"CORE-COMMON",code:8,message:`${e.kind[0].toUpperCase()}${e.kind.slice(1)} "${e.serviceId}.${e.name}" is not implemented for this environment.`}),this.data=e}},nj=class extends st{constructor(e){super({name:"OpenServiceInvalidStaticPathError",category:"CORE-COMMON",code:10,message:`Invalid static path "${e.path}" for query "${e.serviceId}.${e.name}": use a relative path with forward slashes and no ".." segments.`}),this.data=e}},ij=class extends st{constructor(e){super({name:"OpenServiceAsyncSchemaError",category:"CORE-COMMON",code:9,message:`Async schema for ${e.kind} "${e.serviceId}.${e.name}" (${e.phase}): query input and output schemas must validate synchronously.`}),this.data=e}},Pw=class extends st{constructor(e){super({name:"OpenServiceLoadedDrainExceededError",category:"CORE-COMMON",code:11,message:`Query "${e.serviceId}.${e.name}".loaded(...) did not settle after ${e.iterations} drain iterations. Check for handlers that keep discovering new dependencies after every state change.`}),this.data=e}},oj=class extends st{constructor(e={}){super({name:"OpenServiceMissingChannelError",category:"CORE-COMMON",code:13,message:e.serviceId?`Cannot register service "${e.serviceId}": the Storybook addons channel is not installed in this runtime.`:"The Storybook addons channel is not installed in this runtime."}),this.data=e}},aj=class extends st{constructor(e){super({name:"OpenServiceRemoteCommandDisconnectedError",category:"CORE-COMMON",code:14,message:`Service "${e.serviceId}" was unregistered before a remote command resolved.`}),this.data=e}},sj=class extends st{constructor(e){super({name:"OpenServiceRemoteCommandUnhandledError",category:"CORE-COMMON",code:15,message:`No runtime acknowledged remote command "${e.serviceId}.${e.commandName}"; its handler is not implemented in any connected runtime.`}),this.data=e}},Ow="storybook/change-detection",Iw="storybook/review",uj=[Ow,Iw],ii="storybook/review",lj={PUSH_REVIEW:`${ii}/push-review`,DISPLAY_REVIEW:`${ii}/display-review`,REQUEST_REVIEW:`${ii}/request-review`,REVIEW_STALE:`${ii}/review-stale`,DISMISS_REVIEW:`${ii}/dismiss-review`,REVIEW_DISMISSED:`${ii}/review-dismissed`,PAGEVIEW:`${ii}/pageview`},Fw=(e=>(e.Babel="babel",e.SWC="swc",e))(Fw||{}),Nw=(e=>(e.WEBPACK5="webpack5",e.VITE="vite",e.RSBUILD="rsbuild",e))(Nw||{}),kw=(e=>(e.DOCS="docs",e.TEST="test",e.ONBOARDING="onboarding",e.A11Y="a11y",e.AI="ai",e))(kw||{}),Bw=(e=>(e.JAVASCRIPT="javascript",e.TYPESCRIPT="typescript",e))(Bw||{}),Mw={};Rr(Mw,{ADDON_ID:()=>Pl,CLEAR_ID:()=>pj,CYCLIC_KEY:()=>fj,EVENT_ID:()=>jw,PANEL_ID:()=>dj,PARAM_KEY:()=>cj,action:()=>Ls,actions:()=>YG,config:()=>hs,configureActions:()=>GG});var cj="actions",Pl="storybook/actions",dj=`${Pl}/panel`,jw=`${Pl}/action-event`,pj=`${Pl}/action-clear`,fj="$___storybook.isCyclic",np={};Rr(np,{DocsContext:()=>hy,HooksContext:()=>_h,Preview:()=>nR,PreviewWeb:()=>qG,PreviewWithSelection:()=>cR,ReporterAPI:()=>py,StoryStore:()=>tR,Tag:()=>fn,UrlStore:()=>vR,WebView:()=>AR,addons:()=>zr,applyHooks:()=>qw,clearChannel:()=>sw,combineArgs:()=>Vu,combineParameters:()=>Zi,composeConfigs:()=>uy,composeStepRunners:()=>Yx,composeStories:()=>Sz,composeStory:()=>eR,createPlaywrightTest:()=>_z,decorateStory:()=>Vx,defaultDecorateStory:()=>Jx,emitTransformCode:()=>SR,ensureChannel:()=>wh,filterArgTypes:()=>Kx,getChannel:()=>Jn,getCsfFactoryAnnotations:()=>Zx,getService:()=>Nx,inferControls:()=>sy,installNoopChannel:()=>Ah,makeDecorator:()=>xj,mockChannel:()=>Lw,normalizeArrays:()=>Ct,normalizeProjectAnnotations:()=>sc,normalizeStory:()=>La,pauseAnimations:()=>cy,prepareMeta:()=>Hx,prepareStory:()=>ay,registerService:()=>oy,sanitizeStoryContextUpdate:()=>Ux,setChannel:()=>Cs,setDefaultProjectAnnotations:()=>bz,setProjectAnnotations:()=>Az,simulateDOMContentLoaded:()=>pf,simulatePageLoad:()=>JG,sortStoriesV7:()=>Fz,useArgs:()=>Cj,useCallback:()=>Ka,useChannel:()=>Sj,useEffect:()=>Wi,useGlobals:()=>Tj,useMemo:()=>Vw,useParameter:()=>_j,useReducer:()=>wj,useRef:()=>vj,useState:()=>Aj,useStoryContext:()=>Il,userOrAutoTitle:()=>Pz,userOrAutoTitleFromSpecifier:()=>rR,waitForAnimations:()=>dy});function Lw(){return new _s({transport:{setHandler:()=>{},send:()=>{}}})}var hj=class{constructor(){this.getChannel=()=>{if(this.channel)return this.channel;let e=Jn();return e?(this.channel=e,this.resolve(),this.channel):Lw()},this.ready=()=>this.promise,this.hasChannel=()=>!!this.channel||!!Jn(),this.setChannel=e=>{this.channel=e,Cs(e),this.resolve()},this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}},Ic="__STORYBOOK_ADDONS_PREVIEW";function mj(){return globalThis[Ic]||(globalThis[Ic]=new hj),globalThis[Ic]}var zr=mj(),_h=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),zr.getChannel().on(qu,this.renderListener)}removeRenderListeners(){zr.getChannel().removeListener(qu,this.renderListener)}};function ug(e){let t=(...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],i=n.currentPhase,o=n.currentHooks,a=n.nextHookIndex,s=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let l=De.STORYBOOK_HOOKS_CONTEXT;De.STORYBOOK_HOOKS_CONTEXT=n;let u=e(...r);if(De.STORYBOOK_HOOKS_CONTEXT=l,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=i,n.currentHooks=o,n.nextHookIndex=a,n.currentDecoratorName=s,u};return t.originalFn=e,t}var Fc=0,yj=25,qw=e=>(t,r)=>{let n=e(ug(t),r.map(i=>ug(i)));return i=>{let{hooks:o}=i;o.prevMountedDecorators??=new Set,o.mountedDecorators=new Set([t,...r]),o.currentContext=i,o.hasUpdates=!1;let a=n(i);for(Fc=1;o.hasUpdates;)if(o.hasUpdates=!1,o.currentEffects=[],a=n(i),Fc+=1,Fc>yj)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return o.addRenderListeners(),a}},gj=(e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),Ch=()=>new Error(`Storybook preview hooks can only be called inside decorators and story functions.
160
+
161
+ When combining Storybook hooks (e.g. useArgs) with framework hooks (e.g. React's useState, useEffect, useRef) in the same render function, use Storybook's equivalents from 'storybook/preview-api' instead: useState, useEffect, useRef, useMemo, useCallback, useReducer.`);function $w(){return De.STORYBOOK_HOOKS_CONTEXT||null}function Th(){let e=$w();if(e==null)throw Ch();return e}function bj(e,t,r){let n=Th();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&It.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let i={name:e,deps:r};return n.currentHooks.push(i),t(i),i}if(n.currentPhase==="UPDATE"){let i=n.getNextHook();if(i==null)throw new Error("Rendered more hooks than during the previous render.");return i.name!==e&&It.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&i.deps==null&&It.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&i.deps!=null&&r.length!==i.deps.length&&It.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
162
+ Previous: ${i.deps}
163
+ Incoming: ${r}`),(r==null||i.deps==null||!gj(r,i.deps))&&(t(i),i.deps=r),i}throw Ch()}function Ol(e,t,r){let{memoizedState:n}=bj(e,i=>{i.memoizedState=t()},r);return n}function Vw(e,t){return Ol("useMemo",e,t)}function Ka(e,t){return Ol("useCallback",()=>e,t)}function Uw(e,t){return Ol(e,()=>({current:t}),[])}function vj(e){return Uw("useRef",e)}function Ej(){let e=$w();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{zr.getChannel().emit(ih)}catch{It.warn("State updates of Storybook preview hooks work only in browser")}}function Jw(e,t){let r=Uw(e,typeof t=="function"?t():t),n=i=>{r.current=typeof i=="function"?i(r.current):i,Ej()};return[r.current,n]}function Aj(e){return Jw("useState",e)}function wj(e,t,r){let n=r!=null?()=>r(t):t,[i,o]=Jw("useReducer",n);return[i,a=>o(s=>e(s,a))]}function Wi(e,t){let r=Th(),n=Ol("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}function Sj(e,t=[]){let r=zr.getChannel();return Wi(()=>(Object.entries(e).forEach(([n,i])=>r.on(n,i)),()=>{Object.entries(e).forEach(([n,i])=>r.removeListener(n,i))}),[...Object.keys(e),...t]),Ka(r.emit.bind(r),[r])}function Il(){let{currentContext:e}=Th();if(e==null)throw Ch();return e}function _j(e,t){let{parameters:r}=Il();if(e)return r[e]??t}function Cj(){let e=zr.getChannel(),{id:t,args:r}=Il(),n=Ka(o=>e.emit(lh,{storyId:t,updatedArgs:o}),[e,t]),i=Ka(o=>e.emit(oh,{storyId:t,argNames:o}),[e,t]);return[r,n,i]}function Tj(){let e=zr.getChannel(),{globals:t}=Il(),r=Ka(n=>e.emit(uh,{globals:n}),[e]);return[t,r]}var xj=({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let i=o=>(a,s)=>{let l=s.parameters&&s.parameters[t];return l&&l.disable||n&&!o&&!l?a(s):r(a,s,{options:o,parameters:l})};return(...o)=>typeof o[0]=="function"?i()(...o):(...a)=>{if(a.length>1)return o.length>1?i(o)(...a):i(...o)(...a);throw new Error(`Passing stories directly into ${e}() is not allowed,
164
+ instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}};function lg(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function cg(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var Rj="[object RegExp]",Dj="[object String]",Pj="[object Number]",Oj="[object Boolean]",dg="[object Arguments]",Ij="[object Symbol]",Fj="[object Date]",Nj="[object Map]",kj="[object Set]",Bj="[object Array]",Mj="[object Function]",jj="[object ArrayBuffer]",Nc="[object Object]",Lj="[object Error]",qj="[object DataView]",$j="[object Uint8Array]",Vj="[object Uint8ClampedArray]",Uj="[object Uint16Array]",Jj="[object Uint32Array]",Hj="[object BigUint64Array]",zj="[object Int8Array]",Gj="[object Int16Array]",Wj="[object Int32Array]",Kj="[object BigInt64Array]",Yj="[object Float32Array]",Xj="[object Float64Array]";function gn(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function Fl(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],a=e[o];r[o]=t(a,o,e)}return r}function Qj(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],a=e[o];t(a,o)&&(r[o]=a)}return r}var kc=or(oA(),1);function Zj(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function eL(e,t,r){return Sa(e,t,void 0,void 0,void 0,void 0,r)}function Sa(e,t,r,n,i,o,a){let s=a(e,t,r,n,i,o);if(s!==void 0)return s;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Ia(e,t,o,a)}return Ia(e,t,o,a)}function Ia(e,t,r,n){if(Object.is(e,t))return!0;let i=cg(e),o=cg(t);if(i===dg&&(i=Nc),o===dg&&(o=Nc),i!==o)return!1;switch(i){case Dj:return e.toString()===t.toString();case Pj:{let l=e.valueOf(),u=t.valueOf();return Zj(l,u)}case Oj:case Fj:case Ij:return Object.is(e.valueOf(),t.valueOf());case Rj:return e.source===t.source&&e.flags===t.flags;case Mj:return e===t}r=r??new Map;let a=r.get(e),s=r.get(t);if(a!=null&&s!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(i){case Nj:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Sa(u,t.get(l),l,e,t,r,n))return!1;return!0}case kj:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let d=0;d<l.length;d++){let f=l[d],h=u.findIndex(m=>Sa(f,m,void 0,e,t,r,n));if(h===-1)return!1;u.splice(h,1)}return!0}case Bj:case $j:case Vj:case Uj:case Jj:case Hj:case zj:case Gj:case Wj:case Kj:case Yj:case Xj:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!Sa(e[l],t[l],l,e,t,r,n))return!1;return!0}case jj:return e.byteLength!==t.byteLength?!1:Ia(new Uint8Array(e),new Uint8Array(t),r,n);case qj:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Ia(new Uint8Array(e),new Uint8Array(t),r,n);case Lj:return e.name===t.name&&e.message===t.message;case Nc:{if(!(Ia(e.constructor,t.constructor,r,n)||gn(e)&&gn(t)))return!1;let l=[...Object.keys(e),...lg(e)],u=[...Object.keys(t),...lg(t)];if(l.length!==u.length)return!1;for(let d=0;d<l.length;d++){let f=l[d],h=e[f];if(!Object.hasOwn(t,f))return!1;let m=t[f];if(!Sa(h,m,f,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function tL(){}function Hw(e,t){return eL(e,t,tL)}var ki=Symbol("incompatible"),ip=(e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?ki:e.reduce((n,i,o)=>{let a=ip(i,{type:r.value});return a!==ki&&(n[o]=a),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?ki:Object.entries(e).reduce((n,[i,o])=>{let a=ip(o,{type:r.value[i]});return a===ki?n:Object.assign(n,{[i]:a})},{});case"other":return typeof e=="string"||typeof e=="number"||typeof e=="boolean"?e:ki;default:return ki}},rL=(e,t)=>Object.entries(e).reduce((r,[n,i])=>{if(!t[n])return r;let o=ip(i,t[n]);return o===ki?r:Object.assign(r,{[n]:o})},{}),Vu=(e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,i)=>(r[i]=Vu(e[i],t[i]),r),[...e]).filter(r=>r!==void 0):!gn(e)||!gn(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let i=Vu(e[n],t[n]);i!==void 0&&(r[n]=i)}else r[n]=e[n];return r},{}),nL=(e,t)=>Object.entries(t).reduce((r,[n,{options:i}])=>{function o(){return n in e&&(r[n]=e[n]),r}if(!i)return o();if(!Array.isArray(i))return zt.error(tt`
165
+ Invalid argType: '${n}.options' should be an array.
166
+
167
+ More info: https://storybook.js.org/docs/api/arg-types?ref=error
168
+ `),o();if(i.some(f=>f&&["object","function"].includes(typeof f)))return zt.error(tt`
169
+ Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
170
+
171
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#mapping-to-complex-arg-values
172
+ `),o();let a=Array.isArray(e[n]),s=a&&e[n].findIndex(f=>!i.includes(f)),l=a&&s===-1;if(e[n]===void 0||i.includes(e[n])||l)return o();let u=a?`${n}[${s}]`:n,d=i.map(f=>typeof f=="string"?`'${f}'`:String(f)).join(", ");return zt.warn(`Received illegal value for '${u}'. Supported options: ${d}`),r},{}),Fa=Symbol("Deeply equal"),Uu=(e,t)=>{if(typeof e!=typeof t)return t;if(Hw(e,t))return Fa;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,i,o)=>{let a=Uu(e[o],i);return a!==Fa&&(n[o]=a),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return gn(e)&&gn(t)?Object.keys({...e,...t}).reduce((r,n)=>{let i=Uu(e?.[n],t?.[n]);return i===Fa?r:Object.assign(r,{[n]:i})},{}):t},zw="UNTARGETED";function iL({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,i])=>{let{target:o=zw}=t[n]||{};r[o]=r[o]||{},r[o][n]=i}),r}function oL(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}var aL=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let t=Uu(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==Fa&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=nL(t,e.argTypes);this.argsByStoryId[e.id]=Vu(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=rL(t,e.argTypes);return this.updateFromDelta(e,r)}update(e,t){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=oL({...this.argsByStoryId[e],...t})}},Gw=(e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),sL=class{constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&&Uu(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let n=Gw(t);this.initialGlobals={...n,...e},this.globals=this.initialGlobals,r&&r!==Fa&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,n])=>(this.allowedGlobalNames.has(r)?t[r]=n:It.warn(`Attempted to set a global (${r}) that is not defined in initial globals or globalTypes`),t),{})}updateFromPersisted(e){let t=this.filterAllowedGlobals(e);this.globals={...this.globals,...t}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)};for(let t in e)e[t]===void 0&&(this.globals[t]=this.initialGlobals[t])}},uL=or(oA(),1),lL=(0,uL.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),cL=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let t=Object.values(this.entries);if(e==="*")return t[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:t.find(i=>i.id.startsWith(e));let{name:r,title:n}=e;return t.find(i=>i.name===r&&i.title===n)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new dw({storyId:e});return t}importPathToEntry(e){return lL(this.entries)[e]}},dL=e=>typeof e=="string"?{name:e}:e,pL=e=>typeof e=="string"?{type:e,disable:!1}:e&&typeof e=="object"&&"type"in e&&!("disable"in e)?{...e,disable:!1}:e,fL=(e,t)=>{let{type:r,control:n,...i}=e,o={name:t,...i};return r&&(o.type=dL(r)),n?o.control=pL(n):n===!1&&(o.control={disable:!0}),o},xh=e=>Fl(e,fL);function hL(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,i)=>`${r} ${n}${i}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var pg=or($P(),1),Ww=e=>e.map(t=>typeof t<"u").filter(Boolean).length,mL=(e,t)=>{let{exists:r,eq:n,neq:i,truthy:o}=e;if(Ww([r,n,i,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:i})}`);if(typeof n<"u")return(0,pg.isEqual)(t,n);if(typeof i<"u")return!(0,pg.isEqual)(t,i);if(typeof r<"u"){let a=typeof t<"u";return r?a:!a}return typeof o>"u"||o?!!t:!t},yL=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:i}=e.if;if(Ww([n,i])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:i})}`);let o=n?t[n]:r[i];return mL(e.if,o)};function gL(e){return e!=null&&bL(e).includes("mount")}function bL(e){let[,t,r]=e.toString().match(/[^(]*\(([^)]+)\)(?:.*{([^]+)})?/)||[];if(!t)return[];let[n]=Bc(t);if(!n)return[];let[,i]=n.match(/^{([^]+)}$/)||[];if(i)return Bc(fg(i)).map(s=>s.replace(/:.*|=.*/g,"").trim());if(!n.match(/^[a-z_$][0-9a-z_$]*$/i))return[];let o=n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),[,a]=r?.trim()?.match(new RegExp(`^(?:const|let|var)\\s*{([^}]+)}\\s*=\\s*${o};`))||[];return a?Bc(fg(a)).map(s=>s.replace(/:.*|=.*/g,"").trim()):[]}function fg(e){return e=e.replace(/\/\/.*$/gm,""),e=e.replace(/\/\*[\s\S]*?\*\//g,""),e}function Bc(e){let t=[],r=[],n=0;for(let o=0;o<e.length;o++)if(e[o]==="{"||e[o]==="[")r.push(e[o]==="{"?"}":"]");else if(e[o]===r[r.length-1])r.pop();else if(!r.length&&e[o]===","){let a=e.substring(n,o).trim();a&&t.push(a),n=o+1}let i=e.substring(n).trim();return i&&t.push(i),t}var fn={AUTODOCS:"autodocs",ATTACHED_MDX:"attached-mdx",UNATTACHED_MDX:"unattached-mdx",PLAY_FN:"play-fn",TEST_FN:"test-fn",DEV:"dev",TEST:"test",MANIFEST:"manifest"},Kw={};Rr(Kw,{argsEnhancers:()=>AL});var Yw=(e,t)=>typeof t[e]>"u"&&!(e in t),vL=e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:i}}=e;if(!i||i.disable||!i.argTypesRegex||!r)return{};let o=new RegExp(i.argTypesRegex);return Object.entries(r).filter(([a])=>!!o.test(a)).reduce((a,[s,l])=>(Yw(s,t)&&(a[s]=Ls(s,{implicit:!0,id:n})),a),{})},EL=e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([i,o])=>!!o.action).reduce((i,[o,a])=>(Yw(o,t)&&(i[o]=Ls(typeof a.action=="string"?a.action:o)),i),{})},AL=[EL,vL],Xw={};Rr(Xw,{loaders:()=>PU});var Qw={};Rr(Qw,{buildQueries:()=>l7,clearAllMocks:()=>V_,configure:()=>c7,createEvent:()=>d7,expect:()=>xU,findAllByAltText:()=>f7,findAllByDisplayValue:()=>h7,findAllByLabelText:()=>m7,findAllByPlaceholderText:()=>y7,findAllByRole:()=>g7,findAllByTestId:()=>b7,findAllByText:()=>v7,findAllByTitle:()=>E7,findByAltText:()=>A7,findByDisplayValue:()=>w7,findByLabelText:()=>S7,findByPlaceholderText:()=>_7,findByRole:()=>C7,findByTestId:()=>T7,findByText:()=>x7,findByTitle:()=>R7,fireEvent:()=>p7,fn:()=>q_,getAllByAltText:()=>D7,getAllByDisplayValue:()=>P7,getAllByLabelText:()=>O7,getAllByPlaceholderText:()=>I7,getAllByRole:()=>F7,getAllByTestId:()=>N7,getAllByText:()=>k7,getAllByTitle:()=>B7,getByAltText:()=>M7,getByDisplayValue:()=>j7,getByLabelText:()=>L7,getByPlaceholderText:()=>q7,getByRole:()=>$7,getByTestId:()=>V7,getByText:()=>U7,getByTitle:()=>J7,getConfig:()=>H7,getDefaultNormalizer:()=>z7,getElementError:()=>G7,getNodeText:()=>W7,getQueriesForElement:()=>K7,getRoles:()=>Y7,getSuggestedQuery:()=>X7,isInaccessible:()=>Q7,isMockFunction:()=>Ro,logDOM:()=>Z7,logRoles:()=>eU,mocked:()=>B8,mocks:()=>Fs,onMockCall:()=>L_,prettyDOM:()=>tU,prettyFormat:()=>CU,queries:()=>rU,queryAllByAltText:()=>nU,queryAllByAttribute:()=>iU,queryAllByDisplayValue:()=>oU,queryAllByLabelText:()=>aU,queryAllByPlaceholderText:()=>sU,queryAllByRole:()=>uU,queryAllByTestId:()=>lU,queryAllByText:()=>cU,queryAllByTitle:()=>dU,queryByAltText:()=>pU,queryByAttribute:()=>fU,queryByDisplayValue:()=>hU,queryByLabelText:()=>mU,queryByPlaceholderText:()=>yU,queryByRole:()=>gU,queryByTestId:()=>bU,queryByText:()=>vU,queryByTitle:()=>EU,queryHelpers:()=>AU,resetAllMocks:()=>U_,restoreAllMocks:()=>J_,sb:()=>RU,screen:()=>wU,spyOn:()=>k8,uninstrumentedUserEvent:()=>rx,userEvent:()=>TU,waitFor:()=>SU,waitForElementToBeRemoved:()=>_U,within:()=>tx});var wL={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},Zw=Object.entries(wL);function Nl(e){return String(e)}Nl.open="";Nl.close="";Zw.reduce((e,[t])=>(e[t]=Nl,e),{isColorSupported:!1});function SL(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function _L(e=!1){let t=SL(e),r=(a,s,l,u)=>{let d="",f=0;do d+=a.substring(f,u)+l,f=u+s.length,u=a.indexOf(s,f);while(~u);return d+a.substring(f)},n=(a,s,l=a)=>{let u=d=>{let f=String(d),h=f.indexOf(s,a.length);return~h?a+r(f,s,l,h)+s:a+f+s};return u.open=a,u.close=s,u},i={isColorSupported:t},o=a=>`\x1B[${a}m`;for(let[a,s]of Zw)i[a]=t?n(o(s[0]),o(s[1]),s[2]):Nl;return i}var On=_L();function eS(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:function(){return r[n]}})}})}),Object.freeze(e)}function CL(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}function Ts(e,t,r,n,i,o,a=": "){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let d=r+t.indent;for(;!u.done;){if(s+=d,l++===t.maxWidth){s+="…";break}let f=o(u.value[0],t,d,n,i),h=o(u.value[1],t,d,n,i);s+=f+a+h,u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Rh(e,t,r,n,i,o){let a="",s=0,l=e.next();if(!l.done){a+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){if(a+=u,s++===t.maxWidth){a+="…";break}a+=o(l.value,t,u,n,i),l=e.next(),l.done?t.min||(a+=","):a+=`,${t.spacingInner}`}a+=t.spacingOuter+r}return a}function Ju(e,t,r,n,i,o){let a="";e=e instanceof ArrayBuffer?new DataView(e):e;let s=u=>u instanceof DataView,l=s(e)?e.byteLength:e.length;if(l>0){a+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<l;d++){if(a+=u,d===t.maxWidth){a+="…";break}(s(e)||d in e)&&(a+=o(s(e)?e.getInt8(d):e[d],t,u,n,i)),d<l-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}function Dh(e,t,r,n,i,o){let a="",s=CL(e,t.compareKeys);if(s.length>0){a+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<s.length;u++){let d=s[u],f=o(d,t,l,n,i),h=o(e[d],t,l,n,i);a+=`${l+f}: ${h}`,u<s.length-1?a+=`,${t.spacingInner}`:t.min||(a+=",")}a+=t.spacingOuter+r}return a}var TL=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Mc=" ",xL=(e,t,r,n,i,o)=>{let a=e.toString();if(a==="ArrayContaining"||a==="ArrayNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Mc}[${Ju(e.sample,t,r,n,i,o)}]`;if(a==="ObjectContaining"||a==="ObjectNotContaining")return++n>t.maxDepth?`[${a}]`:`${a+Mc}{${Dh(e.sample,t,r,n,i,o)}}`;if(a==="StringMatching"||a==="StringNotMatching"||a==="StringContaining"||a==="StringNotContaining")return a+Mc+o(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},RL=e=>e&&e.$$typeof===TL,DL={serialize:xL,test:RL},PL=" ",tS=new Set(["DOMStringMap","NamedNodeMap"]),OL=/^(?:HTML\w*Collection|NodeList)$/;function IL(e){return tS.has(e)||OL.test(e)}var FL=e=>e&&e.constructor&&!!e.constructor.name&&IL(e.constructor.name);function NL(e){return e.constructor.name==="NamedNodeMap"}var kL=(e,t,r,n,i,o)=>{let a=e.constructor.name;return++n>t.maxDepth?`[${a}]`:(t.min?"":a+PL)+(tS.has(a)?`{${Dh(NL(e)?[...e].reduce((s,l)=>(s[l.name]=l.value,s),{}):{...e},t,r,n,i,o)}}`:`[${Ju([...e],t,r,n,i,o)}]`)},BL={serialize:kL,test:FL};function rS(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Ph(e,t,r,n,i,o,a){let s=n+r.indent,l=r.colors;return e.map(u=>{let d=t[u],f=a(d,r,s,i,o);return typeof d!="string"&&(f.includes(`
173
+ `)&&(f=r.spacingOuter+s+f+r.spacingOuter+n),f=`{${f}}`),`${r.spacingInner+n+l.prop.open+u+l.prop.close}=${l.value.open}${f}${l.value.close}`}).join("")}function Oh(e,t,r,n,i,o){return e.map(a=>t.spacingOuter+r+(typeof a=="string"?nS(a,t):o(a,t,r,n,i))).join("")}function nS(e,t){let r=t.colors.content;return r.open+rS(e)+r.close}function ML(e,t){let r=t.colors.comment;return`${r.open}<!--${rS(e)}-->${r.close}`}function Ih(e,t,r,n,i){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+i+o.open}${r?`>${o.close}${r}${n.spacingOuter}${i}${o.open}</${e}`:`${t&&!n.min?"":" "}/`}>${o.close}`}function Fh(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}var jL=1,iS=3,oS=8,aS=11,LL=/^(?:(?:HTML|SVG)\w*)?Element$/;function qL(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function $L(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||qL(e);return r===jL&&(LL.test(t)||i)||r===iS&&t==="Text"||r===oS&&t==="Comment"||r===aS&&t==="DocumentFragment"}var VL=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&$L(e)};function UL(e){return e.nodeType===iS}function JL(e){return e.nodeType===oS}function jc(e){return e.nodeType===aS}var HL=(e,t,r,n,i,o)=>{if(UL(e))return nS(e.data,t);if(JL(e))return ML(e.data,t);let a=jc(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Fh(a,t):Ih(a,Ph(jc(e)?[]:Array.from(e.attributes,s=>s.name).sort(),jc(e)?{}:[...e.attributes].reduce((s,l)=>(s[l.name]=l.value,s),{}),t,r+t.indent,n,i,o),Oh(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,o),t,r)},zL={serialize:HL,test:VL},GL="@@__IMMUTABLE_ITERABLE__@@",WL="@@__IMMUTABLE_LIST__@@",KL="@@__IMMUTABLE_KEYED__@@",YL="@@__IMMUTABLE_MAP__@@",hg="@@__IMMUTABLE_ORDERED__@@",XL="@@__IMMUTABLE_RECORD__@@",QL="@@__IMMUTABLE_SEQ__@@",ZL="@@__IMMUTABLE_SET__@@",eq="@@__IMMUTABLE_STACK__@@",ko=e=>`Immutable.${e}`,kl=e=>`[${e}]`,Ya=" ",mg="…";function tq(e,t,r,n,i,o,a){return++n>t.maxDepth?kl(ko(a)):`${ko(a)+Ya}{${Ts(e.entries(),t,r,n,i,o)}}`}function rq(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function nq(e,t,r,n,i,o){let a=ko(e._name||"Record");return++n>t.maxDepth?kl(a):`${a+Ya}{${Ts(rq(e),t,r,n,i,o)}}`}function iq(e,t,r,n,i,o){let a=ko("Seq");return++n>t.maxDepth?kl(a):e[KL]?`${a+Ya}{${e._iter||e._object?Ts(e.entries(),t,r,n,i,o):mg}}`:`${a+Ya}[${e._iter||e._array||e._collection||e._iterable?Rh(e.values(),t,r,n,i,o):mg}]`}function Lc(e,t,r,n,i,o,a){return++n>t.maxDepth?kl(ko(a)):`${ko(a)+Ya}[${Rh(e.values(),t,r,n,i,o)}]`}var oq=(e,t,r,n,i,o)=>e[YL]?tq(e,t,r,n,i,o,e[hg]?"OrderedMap":"Map"):e[WL]?Lc(e,t,r,n,i,o,"List"):e[ZL]?Lc(e,t,r,n,i,o,e[hg]?"OrderedSet":"Set"):e[eq]?Lc(e,t,r,n,i,o,"Stack"):e[QL]?iq(e,t,r,n,i,o):nq(e,t,r,n,i,o),aq=e=>e&&(e[GL]===!0||e[XL]===!0),sq={serialize:oq,test:aq};function sS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yg={exports:{}},vt={},gg;function uq(){if(gg)return vt;gg=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.view_transition"),m=Symbol.for("react.client.reference");function b(y){if(typeof y=="object"&&y!==null){var A=y.$$typeof;switch(A){case e:switch(y=y.type,y){case r:case i:case n:case l:case u:case h:return y;default:switch(y=y&&y.$$typeof,y){case a:case s:case f:case d:return y;case o:return y;default:return A}}case t:return A}}}return vt.ContextConsumer=o,vt.ContextProvider=a,vt.Element=e,vt.ForwardRef=s,vt.Fragment=r,vt.Lazy=f,vt.Memo=d,vt.Portal=t,vt.Profiler=i,vt.StrictMode=n,vt.Suspense=l,vt.SuspenseList=u,vt.isContextConsumer=function(y){return b(y)===o},vt.isContextProvider=function(y){return b(y)===a},vt.isElement=function(y){return typeof y=="object"&&y!==null&&y.$$typeof===e},vt.isForwardRef=function(y){return b(y)===s},vt.isFragment=function(y){return b(y)===r},vt.isLazy=function(y){return b(y)===f},vt.isMemo=function(y){return b(y)===d},vt.isPortal=function(y){return b(y)===t},vt.isProfiler=function(y){return b(y)===i},vt.isStrictMode=function(y){return b(y)===n},vt.isSuspense=function(y){return b(y)===l},vt.isSuspenseList=function(y){return b(y)===u},vt.isValidElementType=function(y){return typeof y=="string"||typeof y=="function"||y===r||y===i||y===n||y===l||y===u||typeof y=="object"&&y!==null&&(y.$$typeof===f||y.$$typeof===d||y.$$typeof===a||y.$$typeof===o||y.$$typeof===s||y.$$typeof===m||y.getModuleId!==void 0)},vt.typeOf=b,vt}var bg;function lq(){return bg||(bg=1,yg.exports=uq()),yg.exports}var uS=lq(),cq=sS(uS),dq=eS({__proto__:null,default:cq},[uS]),vg={exports:{}},yt={},Eg;function pq(){if(Eg)return yt;Eg=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.server_context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function y(A){if(typeof A=="object"&&A!==null){var E=A.$$typeof;switch(E){case e:switch(A=A.type,A){case r:case i:case n:case u:case d:return A;default:switch(A=A&&A.$$typeof,A){case s:case a:case l:case h:case f:case o:return A;default:return E}}case t:return E}}}return yt.ContextConsumer=a,yt.ContextProvider=o,yt.Element=e,yt.ForwardRef=l,yt.Fragment=r,yt.Lazy=h,yt.Memo=f,yt.Portal=t,yt.Profiler=i,yt.StrictMode=n,yt.Suspense=u,yt.SuspenseList=d,yt.isAsyncMode=function(){return!1},yt.isConcurrentMode=function(){return!1},yt.isContextConsumer=function(A){return y(A)===a},yt.isContextProvider=function(A){return y(A)===o},yt.isElement=function(A){return typeof A=="object"&&A!==null&&A.$$typeof===e},yt.isForwardRef=function(A){return y(A)===l},yt.isFragment=function(A){return y(A)===r},yt.isLazy=function(A){return y(A)===h},yt.isMemo=function(A){return y(A)===f},yt.isPortal=function(A){return y(A)===t},yt.isProfiler=function(A){return y(A)===i},yt.isStrictMode=function(A){return y(A)===n},yt.isSuspense=function(A){return y(A)===u},yt.isSuspenseList=function(A){return y(A)===d},yt.isValidElementType=function(A){return typeof A=="string"||typeof A=="function"||A===r||A===i||A===n||A===u||A===d||A===m||typeof A=="object"&&A!==null&&(A.$$typeof===h||A.$$typeof===f||A.$$typeof===o||A.$$typeof===a||A.$$typeof===l||A.$$typeof===b||A.getModuleId!==void 0)},yt.typeOf=y,yt}var Ag;function fq(){return Ag||(Ag=1,vg.exports=pq()),vg.exports}var lS=fq(),hq=sS(lS),mq=eS({__proto__:null,default:hq},[lS]),yq=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],Bi=Object.fromEntries(yq.map(e=>[e,t=>mq[e](t)||dq[e](t)]));function cS(e,t=[]){if(Array.isArray(e))for(let r of e)cS(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function wg(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Bi.isFragment(e))return"React.Fragment";if(Bi.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Bi.isContextProvider(e))return"Context.Provider";if(Bi.isContextConsumer(e))return"Context.Consumer";if(Bi.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Bi.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function gq(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var bq=(e,t,r,n,i,o)=>++n>t.maxDepth?Fh(wg(e),t):Ih(wg(e),Ph(gq(e),e.props,t,r+t.indent,n,i,o),Oh(cS(e.props.children),t,r+t.indent,n,i,o),t,r),vq=e=>e!=null&&Bi.isElement(e),Eq={serialize:bq,test:vq},Aq=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function wq(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var Sq=(e,t,r,n,i,o)=>++n>t.maxDepth?Fh(e.type,t):Ih(e.type,e.props?Ph(wq(e),e.props,t,r+t.indent,n,i,o):"",e.children?Oh(e.children,t,r+t.indent,n,i,o):"",t,r),_q=e=>e&&e.$$typeof===Aq,Cq={serialize:Sq,test:_q},dS=Object.prototype.toString,Tq=Date.prototype.toISOString,xq=Error.prototype.toString,Sg=RegExp.prototype.toString;function Su(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function Rq(e){return typeof window<"u"&&e===window}var Dq=/^Symbol\((.*)\)(.*)$/,Pq=/\n/g,pS=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function Oq(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function Iq(e){return Object.is(e,-0)?"-0":String(e)}function Fq(e){return`${e}n`}function _g(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Cg(e){return String(e).replace(Dq,"Symbol($1)")}function Tg(e){return`[${xq.call(e)}]`}function fS(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return Iq(e);if(i==="bigint")return Fq(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return _g(e,t);if(i==="symbol")return Cg(e);let o=dS.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?_g(e,t):o==="[object Symbol]"?Cg(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":Tq.call(e):o==="[object Error]"?Tg(e):o==="[object RegExp]"?r?Sg.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Sg.call(e):e instanceof Error?Tg(e):null}function hS(e,t,r,n,i,o){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let a=++n>t.maxDepth,s=t.min;if(t.callToJSON&&!a&&e.toJSON&&typeof e.toJSON=="function"&&!o)return ui(e.toJSON(),t,r,n,i,!0);let l=dS.call(e);return l==="[object Arguments]"?a?"[Arguments]":`${s?"":"Arguments "}[${Ju(e,t,r,n,i,ui)}]`:Oq(l)?a?`[${e.constructor.name}]`:`${s||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Ju(e,t,r,n,i,ui)}]`:l==="[object Map]"?a?"[Map]":`Map {${Ts(e.entries(),t,r,n,i,ui," => ")}}`:l==="[object Set]"?a?"[Set]":`Set {${Rh(e.values(),t,r,n,i,ui)}}`:a||Rq(e)?`[${Su(e)}]`:`${s||!t.printBasicPrototype&&Su(e)==="Object"?"":`${Su(e)} `}{${Dh(e,t,r,n,i,ui)}}`}var Nq={test:e=>e&&e instanceof Error,serialize(e,t,r,n,i,o){if(i.includes(e))return"[Circular]";i=[...i,e];let a=++n>t.maxDepth,{message:s,cause:l,...u}=e,d={message:s,...typeof l<"u"?{cause:l}:{},...e instanceof AggregateError?{errors:e.errors}:{},...u},f=e.name!=="Error"?e.name:Su(e);return a?`[${f}]`:`${f} {${Ts(Object.entries(d).values(),t,r,n,i,o)}}`}};function kq(e){return e.serialize!=null}function mS(e,t,r,n,i,o){let a;try{a=kq(e)?e.serialize(t,r,n,i,o,ui):e.print(t,s=>ui(s,r,n,i,o),s=>{let l=n+r.indent;return l+s.replaceAll(Pq,`
174
+ ${l}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(s){throw new pS(s.message,s.stack)}if(typeof a!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function yS(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new pS(n.message,n.stack)}return null}function ui(e,t,r,n,i,o){let a=yS(t.plugins,e);if(a!==null)return mS(a,e,t,r,n,i);let s=fS(e,t.printFunctionName,t.escapeRegex,t.escapeString);return s!==null?s:hS(e,t,r,n,i,o)}var Nh={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},gS=Object.keys(Nh),Qr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Nh};function Bq(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Qr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function Mq(){return gS.reduce((e,t)=>{let r=Nh[t],n=r&&On[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function jq(){return gS.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function bS(e){return e?.printFunctionName??Qr.printFunctionName}function vS(e){return e?.escapeRegex??Qr.escapeRegex}function ES(e){return e?.escapeString??Qr.escapeString}function xg(e){return{callToJSON:e?.callToJSON??Qr.callToJSON,colors:e?.highlight?Mq():jq(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Qr.compareKeys,escapeRegex:vS(e),escapeString:ES(e),indent:e?.min?"":Lq(e?.indent??Qr.indent),maxDepth:e?.maxDepth??Qr.maxDepth,maxWidth:e?.maxWidth??Qr.maxWidth,min:e?.min??Qr.min,plugins:e?.plugins??Qr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:bS(e),spacingInner:e?.min?" ":`
175
+ `,spacingOuter:e?.min?"":`
176
+ `}}function Lq(e){return Array.from({length:e+1}).join(" ")}function hn(e,t){if(t&&(Bq(t),t.plugins)){let n=yS(t.plugins,e);if(n!==null)return mS(n,e,xg(t),"",0,[])}let r=fS(e,bS(t),vS(t),ES(t));return r!==null?r:hS(e,xg(t),"",0,[])}var kh={AsymmetricMatcher:DL,DOMCollection:BL,DOMElement:zL,Immutable:sq,ReactElement:Eq,ReactTestComponent:Cq,Error:Nq},Rg={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},qq={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Bo="…";function $q(e,t){let r=Rg[qq[t]]||Rg[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function Vq({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:o=1/0,breakLength:a=1/0,seen:s=[],truncate:l=1/0,stylize:u=String}={},d){let f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(o),breakLength:Number(a),truncate:Number(l),seen:s,inspect:d,stylize:u};return f.colors&&(f.stylize=$q),f}function Uq(e){return e>="\uD800"&&e<="\uDBFF"}function Ci(e,t,r=Bo){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let o=t-n;return o>0&&Uq(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}function nn(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let o=t.truncate,a="",s="",l="";for(let u=0;u<i;u+=1){let d=u+1===e.length,f=u+2===e.length;l=`${Bo}(${e.length-u})`;let h=e[u];t.truncate=o-a.length-(d?0:n.length);let m=s||r(h,t)+(d?"":n),b=a.length+m.length,y=b+l.length;if(d&&b>o&&a.length+l.length<=o||!d&&!f&&y>o||(s=d?"":r(e[u+1],t)+(f?"":n),!d&&f&&y>o&&b+s.length>o))break;if(a+=m,!d&&!f&&b+s.length>=o){l=`${Bo}(${e.length-u-1})`;break}l=""}return`${a}${l}`}function Jq(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Xa([e,t],r){return r.truncate-=2,typeof e=="string"?e=Jq(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function Hq(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=nn(e,t);t.truncate-=n.length;let i="";return r.length&&(i=nn(r.map(o=>[o,e[o]]),t,Xa)),`[ ${n}${i?`, ${i}`:""} ]`}var zq=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Tn(e,t){let r=zq(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let a=0;a<e.length;a++){let s=`${t.stylize(Ci(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){i+=`${Bo}(${e.length-e[a]+1})`;break}i+=s}let o="";return n.length&&(o=nn(n.map(a=>[a,e[a]]),t,Xa)),`${r}[ ${i}${o?`, ${o}`:""} ]`}function Gq(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${Ci(n[1],t.truncate-i.length-1)}`,"date")}function Dg(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Ci(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function Wq([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function Kq(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function Yq(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${nn(Kq(e),t,Wq)} }`)}var Xq=Number.isNaN||(e=>e!==e);function Pg(e,t){return Xq(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Ci(String(e),t.truncate),"number")}function Og(e,t){let r=Ci(e.toString(),t.truncate-1);return r!==Bo&&(r+="n"),t.stylize(r,"bigint")}function Qq(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${Ci(i,n)}/${r}`,"regexp")}function Zq(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function e$(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${nn(Zq(e),t)} }`)}var Ig=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),t$={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},r$=16;function n$(e){return t$[e]||`\\u${`0000${e.charCodeAt(0).toString(r$)}`.slice(-4)}`}function Fg(e,t){return Ig.test(e)&&(e=e.replace(Ig,n$)),t.stylize(`'${Ci(e,t.truncate-2)}'`,"string")}function Ng(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var AS=()=>"Promise{…}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(AS=(n,i)=>{let[o,a]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${i.inspect(a,i)}}`})}catch{}var i$=AS;function _u(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=nn(r.map(s=>[s,e[s]]),t,Xa),o=nn(n.map(s=>[s,e[s]]),t,Xa);t.seen.pop();let a="";return i&&o&&(a=", "),`{ ${i}${a}${o} }`}var qc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function o$(e,t){let r="";return qc&&qc in e&&(r=e[qc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${_u(e,t)}`}function a$(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${nn(e,t)} ]`)}var s$=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function u$(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>s$.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=Ci(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=nn(r.map(a=>[a,e[a]]),t,Xa);return`${n}${i}${o?` { ${o} }`:""}`}function l$([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function op(e,t){return nn(e,t,c$,`
177
+ `)}function c$(e,t){switch(e.nodeType){case 1:return wS(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}function wS(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=nn(r.map(d=>[d,e.getAttribute(d)]),t,l$," ")),t.truncate-=s.length;let l=t.truncate,u=op(e.children,t);return u&&u.length>l&&(u=`${Bo}(${e.children.length})`),`${i}${s}${o}${u}${a}`}var d$=typeof Symbol=="function"&&typeof Symbol.for=="function",$c=d$?Symbol.for("chai/inspect"):"@@chai/inspect",Vc=Symbol.for("nodejs.util.inspect.custom"),kg=new WeakMap,Bg={},Mg={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Pg,Number:Pg,bigint:Og,BigInt:Og,string:Fg,String:Fg,function:Dg,Function:Dg,symbol:Ng,Symbol:Ng,Array:Hq,Date:Gq,Map:Yq,Set:e$,RegExp:Qq,Promise:i$,WeakSet:(e,t)=>t.stylize("WeakSet{…}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{…}","special"),Arguments:a$,Int8Array:Tn,Uint8Array:Tn,Uint8ClampedArray:Tn,Int16Array:Tn,Uint16Array:Tn,Int32Array:Tn,Uint32Array:Tn,Float32Array:Tn,Float64Array:Tn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:u$,HTMLCollection:op,NodeList:op},p$=(e,t,r)=>$c in e&&typeof e[$c]=="function"?e[$c](t):Vc in e&&typeof e[Vc]=="function"?e[Vc](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&kg.has(e.constructor)?kg.get(e.constructor)(e,t):Bg[r]?Bg[r](e,t):"",f$=Object.prototype.toString;function ap(e,t={}){let r=Vq(t,ap),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=f$.call(e).slice(8,-1)),i in Mg)return Mg[i](e,r);if(n&&e){let a=p$(e,r,i);if(a)return typeof a=="string"?a:ap(a,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?_u(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?wS(e,r):"constructor"in e?e.constructor!==Object?o$(e,r):_u(e,r):e===Object(e)?_u(e,r):r.stylize(String(e),i)}var{AsymmetricMatcher:h$,DOMCollection:m$,DOMElement:y$,Immutable:g$,ReactElement:b$,ReactTestComponent:v$}=kh,jg=[v$,b$,y$,m$,g$,h$];function Br(e,t=10,{maxLength:r,...n}={}){let i=r??1e4,o;try{o=hn(e,{maxDepth:t,escapeString:!1,plugins:jg,...n})}catch{o=hn(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:jg,...n})}return o.length>=i&&t>1?Br(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):o}var E$=/%[sdjifoOc%]/g;function A$(...e){if(typeof e[0]!="string"){let o=[];for(let a=0;a<e.length;a++)o.push(fa(e[a],{depth:0,colors:!1}));return o.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(E$,o=>{if(o==="%%")return"%";if(r>=t)return o;switch(o){case"%s":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:typeof a=="number"&&a===0&&1/a<0?"-0":typeof a=="object"&&a!==null?typeof a.toString=="function"&&a.toString!==Object.prototype.toString?a.toString():fa(a,{depth:0,colors:!1}):String(a)}case"%d":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number(a).toString()}case"%i":{let a=e[r++];return typeof a=="bigint"?`${a.toString()}n`:Number.parseInt(String(a)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return fa(e[r++],{showHidden:!0,showProxy:!0});case"%O":return fa(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(a){let s=a.message;if(s.includes("circular structure")||s.includes("cyclic structures")||s.includes("cyclic object"))return"[Circular]";throw a}default:return o}});for(let o=e[r];r<t;o=e[++r])o===null||typeof o!="object"?i+=` ${o}`:i+=` ${fa(o)}`;return i}function fa(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),ap(e,t)}function SS(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function xn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function Cu(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function w$(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function Hu(e){return Object.prototype.toString.apply(e).slice(8,-1)}function S$(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function _S(e){let t=new Set;return w$(e)?[]:(S$(e,t),Array.from(t))}var CS={forceWritable:!1};function Lg(e,t=CS){return sp(e,new WeakMap,t)}function sp(e,t,r=CS){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:n=e.length}),t.set(e,i);n--;)i[n]=sp(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let o=_S(e);for(let a of o){let s=Object.getOwnPropertyDescriptor(e,a);if(!s)continue;let l=sp(e[a],t,r);r.forceWritable?Object.defineProperty(i,a,{enumerable:s.enumerable,configurable:!0,writable:!0,value:l}):"get"in s?Object.defineProperty(i,a,{...s,get(){return l}}):Object.defineProperty(i,a,{...s,value:l})}return i}return e}function _$(){}var hr=-1,ur=1,Jt=0,qt=class{0;1;constructor(e,t){this[0]=e,this[1]=t}};function C$(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,o=0;for(;r<i;)e.substring(o,i)===t.substring(o,i)?(r=i,o=r):n=i,i=Math.floor((n-r)/2+r);return i}function TS(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),i=n,o=0;for(;r<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?(r=i,o=r):n=i,i=Math.floor((n-r)/2+r);return i}function qg(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let i=Math.min(r,n);if(e===t)return i;let o=0,a=1;for(;;){let s=e.substring(i-a),l=t.indexOf(s);if(l===-1)return o;a+=l,(l===0||e.substring(i-a)===t.substring(0,a))&&(o=a,a++)}}function T$(e){let t=!1,r=[],n=0,i=null,o=0,a=0,s=0,l=0,u=0;for(;o<e.length;)e[o][0]===Jt?(r[n++]=o,a=l,s=u,l=0,u=0,i=e[o][1]):(e[o][0]===ur?l+=e[o][1].length:u+=e[o][1].length,i&&i.length<=Math.max(a,s)&&i.length<=Math.max(l,u)&&(e.splice(r[n-1],0,new qt(hr,i)),e[r[n-1]+1][0]=ur,n--,n--,o=n>0?r[n-1]:-1,a=0,s=0,l=0,u=0,i=null,t=!0)),o++;for(t&&xS(e),D$(e),o=1;o<e.length;){if(e[o-1][0]===hr&&e[o][0]===ur){let d=e[o-1][1],f=e[o][1],h=qg(d,f),m=qg(f,d);h>=m?(h>=d.length/2||h>=f.length/2)&&(e.splice(o,0,new qt(Jt,f.substring(0,h))),e[o-1][1]=d.substring(0,d.length-h),e[o+1][1]=f.substring(h),o++):(m>=d.length/2||m>=f.length/2)&&(e.splice(o,0,new qt(Jt,d.substring(0,m))),e[o-1][0]=ur,e[o-1][1]=f.substring(0,f.length-m),e[o+1][0]=hr,e[o+1][1]=d.substring(m),o++),o++}o++}}var $g=/[^a-z0-9]/i,Vg=/\s/,Ug=/[\r\n]/,x$=/\n\r?\n$/,R$=/^\r?\n\r?\n/;function D$(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Jt&&e[t+1][0]===Jt){let r=e[t-1][1],n=e[t][1],i=e[t+1][1],o=TS(r,n);if(o){let d=n.substring(n.length-o);r=r.substring(0,r.length-o),n=d+n.substring(0,n.length-o),i=d+i}let a=r,s=n,l=i,u=Xs(r,n)+Xs(n,i);for(;n.charAt(0)===i.charAt(0);){r+=n.charAt(0),n=n.substring(1)+i.charAt(0),i=i.substring(1);let d=Xs(r,n)+Xs(n,i);d>=u&&(u=d,a=r,s=n,l=i)}e[t-1][1]!==a&&(a?e[t-1][1]=a:(e.splice(t-1,1),t--),e[t][1]=s,l?e[t+1][1]=l:(e.splice(t+1,1),t--))}t++}}function xS(e){e.push(new qt(Jt,""));let t=0,r=0,n=0,i="",o="",a;for(;t<e.length;)switch(e[t][0]){case ur:n++,o+=e[t][1],t++;break;case hr:r++,i+=e[t][1],t++;break;case Jt:r+n>1?(r!==0&&n!==0&&(a=C$(o,i),a!==0&&(t-r-n>0&&e[t-r-n-1][0]===Jt?e[t-r-n-1][1]+=o.substring(0,a):(e.splice(0,0,new qt(Jt,o.substring(0,a))),t++),o=o.substring(a),i=i.substring(a)),a=TS(o,i),a!==0&&(e[t][1]=o.substring(o.length-a)+e[t][1],o=o.substring(0,o.length-a),i=i.substring(0,i.length-a))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new qt(hr,i)),t++),o.length&&(e.splice(t,0,new qt(ur,o)),t++),t++):t!==0&&e[t-1][0]===Jt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",o="";break}e[e.length-1][1]===""&&e.pop();let s=!1;for(t=1;t<e.length-1;)e[t-1][0]===Jt&&e[t+1][0]===Jt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),s=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),s=!0)),t++;s&&xS(e)}function Xs(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match($g),o=n.match($g),a=i&&r.match(Vg),s=o&&n.match(Vg),l=a&&r.match(Ug),u=s&&n.match(Ug),d=l&&e.match(x$),f=u&&t.match(R$);return d||f?5:l||u?4:i&&!a&&s?3:a||s?2:i||o?1:0}var RS="Compared values have no visual difference.",P$="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Qs={},Jg;function O$(){if(Jg)return Qs;Jg=1,Object.defineProperty(Qs,"__esModule",{value:!0}),Qs.default=h;let e="diff-sequences",t=0,r=(m,b,y,A,E)=>{let _=0;for(;m<b&&y<A&&E(m,y);)m+=1,y+=1,_+=1;return _},n=(m,b,y,A,E)=>{let _=0;for(;m<=b&&y<=A&&E(b,A);)b-=1,A-=1,_+=1;return _},i=(m,b,y,A,E,_,I)=>{let P=0,x=-m,g=_[P],w=g;_[P]+=r(g+1,b,A+g-x+1,y,E);let C=m<I?m:I;for(P+=1,x+=2;P<=C;P+=1,x+=2){if(P!==m&&w<_[P])g=_[P];else if(g=w+1,b<=g)return P-1;w=_[P],_[P]=g+r(g+1,b,A+g-x+1,y,E)}return I},o=(m,b,y,A,E,_,I)=>{let P=0,x=m,g=_[P],w=g;_[P]-=n(b,g-1,y,A+g-x-1,E);let C=m<I?m:I;for(P+=1,x-=2;P<=C;P+=1,x-=2){if(P!==m&&_[P]<w)g=_[P];else if(g=w-1,g<b)return P-1;w=_[P],_[P]=g-n(b,g-1,y,A+g-x-1,E)}return I},a=(m,b,y,A,E,_,I,P,x,g,w)=>{let C=A-b,R=y-b,j=E-A-R,B=-j-(m-1),U=-j+(m-1),$=t,k=m<P?m:P;for(let V=0,W=-m;V<=k;V+=1,W+=2){let Y=V===0||V!==m&&$<I[V],ne=Y?I[V]:$,we=Y?ne:ne+1,Pe=C+we-W,X=r(we+1,y,Pe+1,E,_),G=we+X;if($=I[V],I[V]=G,B<=W&&W<=U){let ie=(m-1-(W+j))/2;if(ie<=g&&x[ie]-1<=G){let fe=C+ne-(Y?W+1:W-1),he=n(b,ne,A,fe,_),se=ne-he,xe=fe-he,Se=se+1,je=xe+1;w.nChangePreceding=m-1,m-1===Se+je-b-A?(w.aEndPreceding=b,w.bEndPreceding=A):(w.aEndPreceding=Se,w.bEndPreceding=je),w.nCommonPreceding=he,he!==0&&(w.aCommonPreceding=Se,w.bCommonPreceding=je),w.nCommonFollowing=X,X!==0&&(w.aCommonFollowing=we+1,w.bCommonFollowing=Pe+1);let Q=G+1,ye=Pe+X+1;return w.nChangeFollowing=m-1,m-1===y+E-Q-ye?(w.aStartFollowing=y,w.bStartFollowing=E):(w.aStartFollowing=Q,w.bStartFollowing=ye),!0}}}return!1},s=(m,b,y,A,E,_,I,P,x,g,w)=>{let C=E-y,R=y-b,j=E-A-R,B=j-m,U=j+m,$=t,k=m<g?m:g;for(let V=0,W=m;V<=k;V+=1,W-=2){let Y=V===0||V!==m&&x[V]<$,ne=Y?x[V]:$,we=Y?ne:ne-1,Pe=C+we-W,X=n(b,we-1,A,Pe-1,_),G=we-X;if($=x[V],x[V]=G,B<=W&&W<=U){let ie=(m+(W-j))/2;if(ie<=P&&G-1<=I[ie]){let fe=Pe-X;if(w.nChangePreceding=m,m===G+fe-b-A?(w.aEndPreceding=b,w.bEndPreceding=A):(w.aEndPreceding=G,w.bEndPreceding=fe),w.nCommonPreceding=X,X!==0&&(w.aCommonPreceding=G,w.bCommonPreceding=fe),w.nChangeFollowing=m-1,m===1)w.nCommonFollowing=0,w.aStartFollowing=y,w.bStartFollowing=E;else{let he=C+ne-(Y?W-1:W+1),se=r(ne,y,he,E,_);w.nCommonFollowing=se,se!==0&&(w.aCommonFollowing=ne,w.bCommonFollowing=he);let xe=ne+se,Se=he+se;m-1===y+E-xe-Se?(w.aStartFollowing=y,w.bStartFollowing=E):(w.aStartFollowing=xe,w.bStartFollowing=Se)}return!0}}}return!1},l=(m,b,y,A,E,_,I,P,x)=>{let g=A-b,w=E-y,C=y-b,R=E-A,j=R-C,B=C,U=C;if(I[0]=b-1,P[0]=y,j%2===0){let $=(m||j)/2,k=(C+R)/2;for(let V=1;V<=k;V+=1)if(B=i(V,y,E,g,_,I,B),V<$)U=o(V,b,A,w,_,P,U);else if(s(V,b,y,A,E,_,I,B,P,U,x))return}else{let $=((m||j)+1)/2,k=(C+R+1)/2,V=1;for(B=i(V,y,E,g,_,I,B),V+=1;V<=k;V+=1)if(U=o(V-1,b,A,w,_,P,U),V<$)B=i(V,y,E,g,_,I,B);else if(a(V,b,y,A,E,_,I,B,P,U,x))return}throw new Error(`${e}: no overlap aStart=${b} aEnd=${y} bStart=${A} bEnd=${E}`)},u=(m,b,y,A,E,_,I,P,x,g)=>{if(E-A<y-b){if(_=!_,_&&I.length===1){let{foundSubsequence:ie,isCommon:fe}=I[0];I[1]={foundSubsequence:(he,se,xe)=>{ie(he,xe,se)},isCommon:(he,se)=>fe(se,he)}}let X=b,G=y;b=A,y=E,A=X,E=G}let{foundSubsequence:w,isCommon:C}=I[_?1:0];l(m,b,y,A,E,C,P,x,g);let{nChangePreceding:R,aEndPreceding:j,bEndPreceding:B,nCommonPreceding:U,aCommonPreceding:$,bCommonPreceding:k,nCommonFollowing:V,aCommonFollowing:W,bCommonFollowing:Y,nChangeFollowing:ne,aStartFollowing:we,bStartFollowing:Pe}=g;b<j&&A<B&&u(R,b,j,A,B,_,I,P,x,g),U!==0&&w(U,$,k),V!==0&&w(V,W,Y),we<y&&Pe<E&&u(ne,we,y,Pe,E,_,I,P,x,g)},d=(m,b)=>{if(typeof b!="number")throw new TypeError(`${e}: ${m} typeof ${typeof b} is not a number`);if(!Number.isSafeInteger(b))throw new RangeError(`${e}: ${m} value ${b} is not a safe integer`);if(b<0)throw new RangeError(`${e}: ${m} value ${b} is a negative integer`)},f=(m,b)=>{let y=typeof b;if(y!=="function")throw new TypeError(`${e}: ${m} typeof ${y} is not a function`)};function h(m,b,y,A){d("aLength",m),d("bLength",b),f("isCommon",y),f("foundSubsequence",A);let E=r(0,m,0,b,y);if(E!==0&&A(E,0,0),m!==E||b!==E){let _=E,I=E,P=n(_,m-1,I,b-1,y),x=m-P,g=b-P,w=E+P;m!==w&&b!==w&&u(0,_,x,I,g,!1,[{foundSubsequence:A,isCommon:y}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),P!==0&&A(P,x,g)}}return Qs}var I$=O$(),DS=SS(I$);function F$(e,t){return e.replace(/\s+$/,r=>t(r))}function Bh(e,t,r,n,i,o){return e.length!==0?r(`${n} ${F$(e,i)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}function PS(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return Bh(e,t,r,n,i,o)}function OS(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return Bh(e,t,r,n,i,o)}function IS(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return Bh(e,t,r,n,i,o)}function Hg(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function N$(e,t){let r=e.length,n=t.contextLines,i=n+n,o=r,a=!1,s=0,l=0;for(;l!==r;){let P=l;for(;l!==r&&e[l][0]===Jt;)l+=1;if(P!==l)if(P===0)l>n&&(o-=l-n,a=!0);else if(l===r){let x=l-P;x>n&&(o-=x-n,a=!0)}else{let x=l-P;x>i&&(o-=x-i,s+=1)}for(;l!==r&&e[l][0]!==Jt;)l+=1}let u=s!==0||a;s!==0?o+=s+1:a&&(o+=1);let d=o-1,f=[],h=0;u&&f.push("");let m=0,b=0,y=0,A=0,E=P=>{let x=f.length;f.push(IS(P,x===0||x===d,t)),y+=1,A+=1},_=P=>{let x=f.length;f.push(PS(P,x===0||x===d,t)),y+=1},I=P=>{let x=f.length;f.push(OS(P,x===0||x===d,t)),A+=1};for(l=0;l!==r;){let P=l;for(;l!==r&&e[l][0]===Jt;)l+=1;if(P!==l)if(P===0){l>n&&(P=l-n,m=P,b=P,y=m,A=b);for(let x=P;x!==l;x+=1)E(e[x][1])}else if(l===r){let x=l-P>n?P+n:l;for(let g=P;g!==x;g+=1)E(e[g][1])}else{let x=l-P;if(x>i){let g=P+n;for(let C=P;C!==g;C+=1)E(e[C][1]);f[h]=Hg(m,y,b,A,t),h=f.length,f.push("");let w=x-i;m=y+w,b=A+w,y=m,A=b;for(let C=l-n;C!==l;C+=1)E(e[C][1])}else for(let g=P;g!==l;g+=1)E(e[g][1])}for(;l!==r&&e[l][0]===hr;)_(e[l][1]),l+=1;for(;l!==r&&e[l][0]===ur;)I(e[l][1]),l+=1}return u&&(f[h]=Hg(m,y,b,A,t)),f.join(`
178
+ `)}function k$(e,t){return e.map((r,n,i)=>{let o=r[1],a=n===0||n===i.length-1;switch(r[0]){case hr:return PS(o,a,t);case ur:return OS(o,a,t);default:return IS(o,a,t)}}).join(`
179
+ `)}var Uc=e=>e,FS=5,B$=0;function M$(){return{aAnnotation:"Expected",aColor:On.green,aIndicator:"-",bAnnotation:"Received",bColor:On.red,bIndicator:"+",changeColor:On.inverse,changeLineTrailingSpaceColor:Uc,commonColor:On.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Uc,compareKeys:void 0,contextLines:FS,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:On.yellow,printBasicPrototype:!1,truncateThreshold:B$,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Uc}}function j$(e){return e&&typeof e=="function"?e:void 0}function L$(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:FS}function eo(e={}){return{...M$(),...e,compareKeys:j$(e.compareKeys),contextLines:L$(e.contextLines)}}function Ao(e){return e.length===1&&e[0].length===0}function q$(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case hr:t+=1;break;case ur:r+=1;break}}),{a:t,b:r}}function $$({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:o,includeChangeCounts:a,omitAnnotationLines:s},l){if(s)return"";let u="",d="";if(a){let m=String(l.a),b=String(l.b),y=n.length-e.length,A=" ".repeat(Math.max(0,y)),E=" ".repeat(Math.max(0,-y)),_=b.length-m.length,I=" ".repeat(Math.max(0,_)),P=" ".repeat(Math.max(0,-_));u=`${A} ${r} ${I}${m}`,d=`${E} ${o} ${P}${b}`}let f=`${r} ${e}${u}`,h=`${o} ${n}${d}`;return`${t(f)}
180
+ ${i(h)}
181
+
182
+ `}function Mh(e,t,r){return $$(r,q$(e))+(r.expand?k$(e,r):N$(e,r))+(t?r.truncateAnnotationColor(`
183
+ ${r.truncateAnnotation}`):"")}function Bl(e,t,r){let n=eo(r),[i,o]=NS(Ao(e)?[]:e,Ao(t)?[]:t,n);return Mh(i,o,n)}function V$(e,t,r,n,i){if(Ao(e)&&Ao(r)&&(e=[],r=[]),Ao(t)&&Ao(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return Bl(e,t,i);let[o,a]=NS(r,n,i),s=0,l=0;return o.forEach(u=>{switch(u[0]){case hr:u[1]=e[s],s+=1;break;case ur:u[1]=t[l],l+=1;break;default:u[1]=t[l],s+=1,l+=1}}),Mh(o,a,eo(i))}function NS(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),o=n?Math.min(e.length,i):e.length,a=n?Math.min(t.length,i):t.length,s=o!==e.length||a!==t.length,l=(h,m)=>e[h]===t[m],u=[],d=0,f=0;for(DS(o,a,l,(h,m,b)=>{for(;d!==m;d+=1)u.push(new qt(hr,e[d]));for(;f!==b;f+=1)u.push(new qt(ur,t[f]));for(;h!==0;h-=1,d+=1,f+=1)u.push(new qt(Jt,t[f]))});d!==o;d+=1)u.push(new qt(hr,e[d]));for(;f!==a;f+=1)u.push(new qt(ur,t[f]));return[u,s]}function zg(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}function Gg(e){return e.includes(`\r
184
+ `)?`\r
185
+ `:`
186
+ `}function U$(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),o=e.length,a=t.length;if(n){let h=e.includes(`
187
+ `),m=t.includes(`
188
+ `),b=Gg(e),y=Gg(t),A=h?`${e.split(b,i).join(b)}
189
+ `:e,E=m?`${t.split(y,i).join(y)}
190
+ `:t;o=A.length,a=E.length}let s=o!==e.length||a!==t.length,l=(h,m)=>e[h]===t[m],u=0,d=0,f=[];return DS(o,a,l,(h,m,b)=>{u!==m&&f.push(new qt(hr,e.slice(u,m))),d!==b&&f.push(new qt(ur,t.slice(d,b))),u=m+h,d=b+h,f.push(new qt(Jt,t.slice(b,d)))}),u!==o&&f.push(new qt(hr,e.slice(u))),d!==a&&f.push(new qt(ur,t.slice(d))),[f,s]}function J$(e,t,r){return t.reduce((n,i)=>n+(i[0]===Jt?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}var Wg=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new qt(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new qt(this.op,J$(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new qt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
191
+ `)){let r=t.split(`
192
+ `),n=r.length-1;r.forEach((i,o)=>{o<n?(this.pushSubstring(i),this.pushLine()):i.length!==0&&this.pushSubstring(i)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},H$=class{deleteBuffer;insertBuffer;lines;constructor(e,t){this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
193
+ `)){let n=r.split(`
194
+ `),i=n.length-1;n.forEach((o,a)=>{if(a===0){let s=new qt(t,o);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(s)):(this.pushDiffChangeLines(s),this.flushChangeLines())}else a<i?this.pushDiffCommonLine(new qt(t,o)):o.length!==0&&this.pushDiffChangeLines(new qt(t,o))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function z$(e,t){let r=new Wg(hr,t),n=new Wg(ur,t),i=new H$(r,n);return e.forEach(o=>{switch(o[0]){case hr:r.align(o);break;case ur:n.align(o);break;default:i.align(o)}}),i.getLines()}function G$(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===Jt&&(i!==r||n[1]!==`
195
+ `))}return e.some(r=>r[0]===Jt)}function W$(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
196
+ `)||t.includes(`
197
+ `),[i,o]=kS(n?`${e}
198
+ `:e,n?`${t}
199
+ `:t,!0,r);if(G$(i,n)){let a=eo(r),s=z$(i,a.changeColor);return Mh(s,o,a)}}return Bl(e.split(`
200
+ `),t.split(`
201
+ `),r)}function kS(e,t,r,n){let[i,o]=U$(e,t,n);return T$(i),[i,o]}function up(e,t){let{commonColor:r}=eo(t);return r(e)}var{AsymmetricMatcher:K$,DOMCollection:Y$,DOMElement:X$,Immutable:Q$,ReactElement:Z$,ReactTestComponent:e3}=kh,BS=[e3,Z$,X$,Y$,Q$,K$,kh.Error],lp={maxDepth:20,plugins:BS},MS={callToJSON:!1,maxDepth:8,plugins:BS};function Zo(e,t,r){if(Object.is(e,t))return"";let n=zg(e),i=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),o=i==="string"}if(i!==zg(t)){let a=function(I){return I.length<=A?I:`${I.slice(0,A)}...`},{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:d,bColor:f,bIndicator:h}=eo(r),m=cp(MS,r),b=hn(e,m),y=hn(t,m),A=1e5;b=a(b),y=a(y);let E=`${l(`${u} ${s}:`)}
202
+ ${b}`,_=`${f(`${h} ${d}:`)}
203
+ ${y}`;return`${E}
204
+
205
+ ${_}`}if(!o)switch(n){case"string":return Bl(e.split(`
206
+ `),t.split(`
207
+ `),r);case"boolean":case"number":return t3(e,t,r);case"map":return Jc(Kg(e),Kg(t),r);case"set":return Jc(Yg(e),Yg(t),r);default:return Jc(e,t,r)}}function t3(e,t,r){let n=hn(e,lp),i=hn(t,lp);return n===i?"":Bl(n.split(`
208
+ `),i.split(`
209
+ `),r)}function Kg(e){return new Map(Array.from(e.entries()).sort())}function Yg(e){return new Set(Array.from(e.values()).sort())}function Jc(e,t,r){let n,i=!1;try{let a=cp(lp,r);n=Xg(e,t,a,r)}catch{i=!0}let o=up(RS,r);if(n===void 0||n===o){let a=cp(MS,r);n=Xg(e,t,a,r),n!==o&&!i&&(n=`${up(P$,r)}
210
+
211
+ ${n}`)}return n}function cp(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:i}=eo(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:i??e.maxDepth}}function Xg(e,t,r,n){let i={...r,indent:0},o=hn(e,i),a=hn(t,i);if(o===a)return up(RS,n);{let s=hn(e,r),l=hn(t,r);return V$(s.split(`
212
+ `),l.split(`
213
+ `),o.split(`
214
+ `),a.split(`
215
+ `),n)}}var Qg=2e4;function Zg(e){return Hu(e)==="Object"&&typeof e.asymmetricMatch=="function"}function eb(e,t){let r=Hu(e),n=Hu(t);return r===n&&(r==="Object"||r==="Array")}function jS(e,t,r){let{aAnnotation:n,bAnnotation:i}=eo(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=Qg&&e.length<=Qg&&t!==e){if(t.includes(`
216
+ `)||e.includes(`
217
+ `))return W$(t,e,r);let[u]=kS(t,e),d=u.some(b=>b[0]===Jt),f=r3(n,i),h=f(n)+o3(tb(u,hr,d)),m=f(i)+i3(tb(u,ur,d));return`${h}
218
+ ${m}`}let o=Lg(t,{forceWritable:!0}),a=Lg(e,{forceWritable:!0}),{replacedExpected:s,replacedActual:l}=LS(a,o);return Zo(s,l,r)}function LS(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):eb(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),_S(t).forEach(i=>{let o=t[i],a=e[i];if(Zg(o))o.asymmetricMatch(a)&&(e[i]=o);else if(Zg(a))a.asymmetricMatch(o)&&(t[i]=a);else if(eb(a,o)){let s=LS(a,o,r,n);e[i]=s.replacedActual,t[i]=s.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function r3(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var n3="·";function qS(e){return e.replace(/\s+$/gm,t=>n3.repeat(t.length))}function i3(e){return On.red(qS(Br(e)))}function o3(e){return On.green(qS(Br(e)))}function tb(e,t,r){return e.reduce((n,i)=>n+(i[0]===Jt?i[1]:i[0]===t?r?On.inverse(i[1]):i[1]:""),"")}var a3="@@__IMMUTABLE_RECORD__@@",s3="@@__IMMUTABLE_ITERABLE__@@";function u3(e){return e&&(e[s3]||e[a3])}var l3=Object.getPrototypeOf({});function rb(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function li(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&Zs(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&Zs(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&Zs(()=>r.name??(r.name=e.name)),e.cause!=null&&Zs(()=>r.cause??(r.cause=li(e.cause,t)))),li(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(u3(e))return li(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${A$(e.sample)}`;if(typeof e.toJSON=="function")return li(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,i)=>{try{r[i]=li(n,t)}catch(o){r[i]=rb(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==l3;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=li(e[i],t)}catch(o){delete r[i],r[i]=rb(o)}}),n=Object.getPrototypeOf(n);return r}}function Zs(e){try{return e()}catch{}}function c3(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function jh(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=jS(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=Br(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=Br(n.actual,10));try{typeof n.message=="string"&&(n.message=c3(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=jh(n.cause,t,r))}catch{}try{return li(n)}catch(i){return li(new Error(`Failed to fully serialize error: ${i?.message}
219
+ Inner error message: ${n?.message}`))}}var Rn={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},Hc=globalThis.__STORYBOOK_ADDONS_PREVIEW,d3=new Error("This function ran after the play function completed. Did you forget to `await` it?"),nb=e=>Object.prototype.toString.call(e)==="[object Object]",p3=e=>Object.prototype.toString.call(e)==="[object Module]",f3=e=>{if(!nb(e)&&!p3(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!nb(t)},h3=e=>{try{return new e.constructor}catch{return{}}},zc=()=>({renderPhase:"preparing",isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),ib=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(i=>i.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,i])=>i.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},m3=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=()=>{try{this.state=De.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},this.updateParentWindowState=()=>{try{De.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},this.loadParentWindowState();let e=({storyId:s,renderPhase:l,isPlaying:u=!0,isDebugging:d=!1})=>{let f=this.getState(s);this.setState(s,{...zc(),...ib(f,d),renderPhase:l||f.renderPhase,shadowCalls:d?f.shadowCalls:[],chainedCallIds:d?f.chainedCallIds:new Set,playUntil:d?f.playUntil:void 0,isPlaying:u,isDebugging:d}),this.sync(s)},t=s=>({storyId:l,playUntil:u})=>{this.getState(l).isDebugging||this.setState(l,({calls:f})=>({calls:[],shadowCalls:f.map(h=>({...h,status:"waiting"})),isDebugging:!0}));let d=this.getLog(l);this.setState(l,({shadowCalls:f})=>{if(u||!d.length)return{playUntil:u};let h=f.findIndex(m=>m.id===d[0].callId);return{playUntil:f.slice(0,h).filter(m=>m.interceptable&&!m.ancestors?.length).slice(-1)[0]?.id}}),s.emit(Lu,{storyId:l,isDebugging:!0})},r=s=>({storyId:l})=>{let u=this.getLog(l).filter(f=>!f.ancestors?.length),d=u.reduceRight((f,h,m)=>f>=0||h.status==="waiting"?f:m,-1);t(s)({storyId:l,playUntil:u[d-1]?.callId})},n=s=>({storyId:l,callId:u})=>{let{calls:d,shadowCalls:f,resolvers:h}=this.getState(l),m=d.find(({id:y})=>y===u),b=f.find(({id:y})=>y===u);if(!m&&b&&Object.values(h).length>0){let y=this.getLog(l).find(A=>A.status==="waiting")?.callId;b.id!==y&&this.setState(l,{playUntil:b.id}),Object.values(h).forEach(A=>A())}else t(s)({storyId:l,playUntil:u})},i=s=>({storyId:l})=>{let{resolvers:u}=this.getState(l);if(Object.values(u).length>0)Object.values(u).forEach(d=>d());else{let d=this.getLog(l).find(f=>f.status==="waiting")?.callId;d?t(s)({storyId:l,playUntil:d}):o({storyId:l})}},o=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(l=>l())},a=({storyId:s,newPhase:l})=>{let{isDebugging:u}=this.getState(s);if(l==="preparing"&&u)return e({storyId:s,renderPhase:l,isDebugging:u});if(l==="playing")return e({storyId:s,renderPhase:l,isDebugging:u});l==="played"?this.setState(s,{renderPhase:l,isLocked:!1,isPlaying:!1,isDebugging:!1}):l==="errored"?this.setState(s,{renderPhase:l,isLocked:!1,isPlaying:!1}):l==="aborted"?this.setState(s,{renderPhase:l,isLocked:!0,isPlaying:!1}):this.setState(s,{renderPhase:l}),this.sync(s)};Hc&&Hc.ready().then(()=>{this.channel=Hc.getChannel(),this.channel.on(Lu,e),this.channel.on(Ei,a),this.channel.on(ah,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Rn.START,t(this.channel)),this.channel.on(Rn.BACK,r(this.channel)),this.channel.on(Rn.GOTO,n(this.channel)),this.channel.on(Rn.NEXT,i(this.channel)),this.channel.on(Rn.END,o)})}getState(e){return this.state[e]||zc()}setState(e,t){if(e){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},this.updateParentWindowState()}}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let i=ib(n);return i&&(t[r]=Object.assign(zc(),i)),t},{});let e={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(Rn.SYNC,e),this.updateParentWindowState()}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((o,a)=>{n[a]=o});let i=new Set;return n.reduceRight((o,a)=>(a.args.forEach(s=>{s?.__callId__&&i.add(s.__callId__)}),a.path.forEach(s=>{s.__callId__&&i.add(s.__callId__)}),(a.interceptable||a.exception)&&!i.has(a.id)&&(o.unshift({callId:a.id,status:a.status,ancestors:a.ancestors}),i.add(a.id)),o),[])}instrument(e,t,r=0){if(!f3(e))return e;let{mutate:n=!1,path:i=[]}=t,o=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,o.reduce((a,s)=>{let l=y3(e,s);if(typeof l?.get=="function"){if(l.configurable){let d=()=>l?.get?.bind(e)?.();Object.defineProperty(a,s,{get:()=>this.instrument(d(),{...t,path:i.concat(s)},r)})}return a}let u=e[s];return typeof u!="function"?(a[s]=this.instrument(u,{...t,path:i.concat(s)},r),a):"__originalFn__"in u&&typeof u.__originalFn__=="function"?(a[s]=u,a):(a[s]=(...d)=>this.track(s,u,e,d,t),a[s].__originalFn__=u,Object.defineProperty(a[s],"name",{value:s,writable:!1}),Object.keys(u).length>0&&Object.assign(a[s],this.instrument({...u},{...t,path:i.concat(s)},r)),a)},n?e:h3(e))}track(e,t,r,n,i){let o=n?.[0]?.__storyId__||De.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:a,ancestors:s}=this.getState(o);this.setState(o,{cursor:a+1});let l=`${s.slice(-1)[0]||o} [${a}] ${e}`,{path:u=[],intercept:d=!1,retain:f=!1}=i,h=typeof d=="function"?d(e,u):d,m={id:l,cursor:a,storyId:o,ancestors:s,path:u,method:e,args:n,interceptable:h,retain:f},b=(h&&!s.length?this.intercept:this.invoke).call(this,t,r,m,i);return this.instrument(b,{...i,mutate:!0,path:[{__callId__:m.id}]})}intercept(e,t,r,n){let{chainedCallIds:i,isDebugging:o,playUntil:a}=this.getState(r.storyId),s=i.has(r.id);return!o||s||a?(a===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(l=>{this.setState(r.storyId,({resolvers:u})=>({isLocked:!1,resolvers:{...u,[r.id]:l}}))}).then(()=>(this.setState(r.storyId,l=>{let{[r.id]:u,...d}=l.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:i,renderPhase:o}=this.getState(r.storyId),a=25,s=(d,f,h)=>{if(h.includes(d))return"[Circular]";if(h=[...h,d],f>a)return"...";if(i.has(d))return i.get(d);if(d instanceof Array)return d.map(m=>s(m,++f,h));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:m,message:b,stack:y}=d;return{__error__:{name:m,message:b,stack:y}}}if(d instanceof RegExp){let{flags:m,source:b}=d;return{__regexp__:{flags:m,source:b}}}if(d instanceof De.window?.HTMLElement){let{prefix:m,localName:b,id:y,classList:A,innerText:E}=d,_=Array.from(A);return{__element__:{prefix:m,localName:b,id:y,classNames:_,innerText:E}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&d?.constructor?.name&&d?.constructor?.name!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([m,b])=>[m,s(b,++f,h)])):d},l={...r,args:r.args.map(d=>s(d,0,[]))};r.path.forEach(d=>{d?.__callId__&&this.setState(r.storyId,({chainedCallIds:f})=>({chainedCallIds:new Set(Array.from(f).concat(d.__callId__))}))});let u=d=>{if(d instanceof Error){let{name:f,message:h,stack:m,callId:b=r.id}=d,{showDiff:y=void 0,diff:A=void 0,actual:E=void 0,expected:_=void 0}=d.name==="AssertionError"?jh(d):d,I={name:f,message:h,stack:m,callId:b,showDiff:y,diff:A,actual:E,expected:_};if(this.update({...l,status:"error",exception:I}),this.setState(r.storyId,P=>({callRefsByResult:new Map([...Array.from(P.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:r.id}),d}throw d};try{if(o==="played"&&!r.retain)throw d3;let d=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(h=>typeof h!="function"||g3(h)||Object.keys(h).length?h:(...m)=>{let{cursor:b,ancestors:y}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...y,r.id]});let A=()=>this.setState(r.storyId,{cursor:b,ancestors:y}),E=!1;try{let _=h(...m);return _ instanceof Promise?(E=!0,_.finally(A)):_}finally{E||A()}}),f=e.apply(t,d);return f&&["object","function","symbol"].includes(typeof f)&&this.setState(r.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[f,{__callId__:r.id,retain:r.retain}]])})),this.update({...l,status:f instanceof Promise?"active":"done"}),f instanceof Promise?f.then(h=>(this.update({...l,status:"done"}),h),u):f}catch(d){return u(d)}}update(e){this.channel?.emit(Rn.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,i)=>Object.assign(n,{[i.id]:i}),{});return{calls:Object.values(r).sort((n,i)=>n.id.localeCompare(i.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),i=this.getLog(e),o=i.filter(({ancestors:u})=>!u.length).find(u=>u.status==="waiting")?.callId,a=i.some(u=>u.status==="active");if(this.detached||r||a||i.length===0){let u={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:i};this.channel?.emit(Rn.SYNC,u);return}let s=i.some(u=>u.status==="done"||u.status==="error"),l={controlStates:{detached:this.detached,start:s,back:s,goto:!0,next:n,end:n},logItems:i,pausedAt:o};this.channel?.emit(Rn.SYNC,l)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function xs(e,t={}){try{let r=!1,n=!1;return De.window?.location?.search?.includes("instrument=true")?r=!0:De.window?.location?.search?.includes("instrument=false")&&(n=!0),De.window?.parent===De.window&&!r||n?e:(De.window&&!De.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(De.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new m3),(De.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return zt.warn(r),e}}function y3(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}function g3(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}var $S=Object.defineProperty,re=(e,t)=>$S(e,"name",{value:t,configurable:!0}),Lh=(e,t)=>{for(var r in t)$S(e,r,{get:t[r],enumerable:!0})},mn={};Lh(mn,{addChainableMethod:()=>Xh,addLengthGuard:()=>Ps,addMethod:()=>Wh,addProperty:()=>Gh,checkError:()=>Dr,compareByInspect:()=>Ku,eql:()=>h1,expectTypes:()=>WS,flag:()=>Ke,getActual:()=>jl,getMessage:()=>Vh,getName:()=>ql,getOperator:()=>tm,getOwnEnumerableProperties:()=>em,getOwnEnumerablePropertySymbols:()=>Zh,getPathInfo:()=>zh,hasProperty:()=>Ll,inspect:()=>at,isNaN:()=>Yu,isNumeric:()=>ir,isProxyEnabled:()=>Ds,isRegExp:()=>Xu,objDisplay:()=>Ui,overwriteChainableMethod:()=>Qh,overwriteMethod:()=>Yh,overwriteProperty:()=>Kh,proxify:()=>ea,test:()=>qh,transferFlags:()=>on,type:()=>Et});var Dr={};Lh(Dr,{compatibleConstructor:()=>JS,compatibleInstance:()=>US,compatibleMessage:()=>HS,getConstructorName:()=>zS,getMessage:()=>GS});function Ml(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}re(Ml,"isErrorInstance");function VS(e){return Object.prototype.toString.call(e)==="[object RegExp]"}re(VS,"isRegExp");function US(e,t){return Ml(t)&&e===t}re(US,"compatibleInstance");function JS(e,t){return Ml(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}re(JS,"compatibleConstructor");function HS(e,t){let r=typeof e=="string"?e:e.message;return VS(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}re(HS,"compatibleMessage");function zS(e){let t=e;return Ml(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}re(zS,"getConstructorName");function GS(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}re(GS,"getMessage");function Ke(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}re(Ke,"flag");function qh(e,t){let r=Ke(e,"negate"),n=t[0];return r?!n:n}re(qh,"test");function Et(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}re(Et,"type");var b3="captureStackTrace"in Error,eu,lt=(eu=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,b3&&Error.captureStackTrace(this,r||eu);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},re(eu,"AssertionError"),eu);function WS(e,t){let r=Ke(e,"message"),n=Ke(e,"ssfi");r=r?r+": ":"",e=Ke(e,"object"),t=t.map(function(a){return a.toLowerCase()}),t.sort();let i=t.map(function(a,s){let l=~["a","e","i","o","u"].indexOf(a.charAt(0))?"an":"a";return(t.length>1&&s===t.length-1?"or ":"")+l+" "+a}).join(", "),o=Et(e).toLowerCase();if(!t.some(function(a){return o===a}))throw new lt(r+"object tested must be "+i+", but "+o+" given",void 0,n)}re(WS,"expectTypes");function jl(e,t){return t.length>4?t[4]:e._obj}re(jl,"getActual");var ob={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},v3={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},Mo="…";function KS(e,t){let r=ob[v3[t]]||ob[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}re(KS,"colorise");function YS({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:o=1/0,breakLength:a=1/0,seen:s=[],truncate:l=1/0,stylize:u=String}={},d){let f={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(o),breakLength:Number(a),truncate:Number(l),seen:s,inspect:d,stylize:u};return f.colors&&(f.stylize=KS),f}re(YS,"normaliseOptions");function XS(e){return e>="\uD800"&&e<="\uDBFF"}re(XS,"isHighSurrogate");function Gn(e,t,r=Mo){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let o=t-n;return o>0&&XS(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}re(Gn,"truncate");function Gr(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let o=t.truncate,a="",s="",l="";for(let u=0;u<i;u+=1){let d=u+1===e.length,f=u+2===e.length;l=`${Mo}(${e.length-u})`;let h=e[u];t.truncate=o-a.length-(d?0:n.length);let m=s||r(h,t)+(d?"":n),b=a.length+m.length,y=b+l.length;if(d&&b>o&&a.length+l.length<=o||!d&&!f&&y>o||(s=d?"":r(e[u+1],t)+(f?"":n),!d&&f&&y>o&&b+s.length>o))break;if(a+=m,!d&&!f&&b+s.length>=o){l=`${Mo}(${e.length-u-1})`;break}l=""}return`${a}${l}`}re(Gr,"inspectList");function QS(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}re(QS,"quoteComplexKey");function jo([e,t],r){return r.truncate-=2,typeof e=="string"?e=QS(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}re(jo,"inspectProperty");function ZS(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Gr(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Gr(r.map(o=>[o,e[o]]),t,jo)),`[ ${n}${i?`, ${i}`:""} ]`}re(ZS,"inspectArray");var E3=re(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function ln(e,t){let r=E3(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let a=0;a<e.length;a++){let s=`${t.stylize(Gn(e[a],t.truncate),"number")}${a===e.length-1?"":", "}`;if(t.truncate-=s.length,e[a]!==e.length&&t.truncate<=3){i+=`${Mo}(${e.length-e[a]+1})`;break}i+=s}let o="";return n.length&&(o=Gr(n.map(a=>[a,e[a]]),t,jo)),`${r}[ ${i}${o?`, ${o}`:""} ]`}re(ln,"inspectTypedArray");function e1(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${Gn(n[1],t.truncate-i.length-1)}`,"date")}re(e1,"inspectDate");function dp(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Gn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}re(dp,"inspectFunction");function t1([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}re(t1,"inspectMapEntry");function r1(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}re(r1,"mapToEntries");function n1(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Gr(r1(e),t,t1)} }`)}re(n1,"inspectMap");var A3=Number.isNaN||(e=>e!==e);function pp(e,t){return A3(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Gn(String(e),t.truncate),"number")}re(pp,"inspectNumber");function fp(e,t){let r=Gn(e.toString(),t.truncate-1);return r!==Mo&&(r+="n"),t.stylize(r,"bigint")}re(fp,"inspectBigInt");function i1(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${Gn(i,n)}/${r}`,"regexp")}re(i1,"inspectRegExp");function o1(e){let t=[];return e.forEach(r=>{t.push(r)}),t}re(o1,"arrayFromSet");function a1(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Gr(o1(e),t)} }`)}re(a1,"inspectSet");var ab=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),w3={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},S3=16;function s1(e){return w3[e]||`\\u${`0000${e.charCodeAt(0).toString(S3)}`.slice(-4)}`}re(s1,"escape");function hp(e,t){return ab.test(e)&&(e=e.replace(ab,s1)),t.stylize(`'${Gn(e,t.truncate-2)}'`,"string")}re(hp,"inspectString");function mp(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}re(mp,"inspectSymbol");var _3=re(()=>"Promise{…}","getPromiseValue"),C3=_3;function Na(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Gr(r.map(s=>[s,e[s]]),t,jo),o=Gr(n.map(s=>[s,e[s]]),t,jo);t.seen.pop();let a="";return i&&o&&(a=", "),`{ ${i}${a}${o} }`}re(Na,"inspectObject");var Gc=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function u1(e,t){let r="";return Gc&&Gc in e&&(r=e[Gc]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Na(e,t)}`}re(u1,"inspectClass");function l1(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Gr(e,t)} ]`)}re(l1,"inspectArguments");var T3=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function c1(e,t){let r=Object.getOwnPropertyNames(e).filter(a=>T3.indexOf(a)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=Gn(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Gr(r.map(a=>[a,e[a]]),t,jo);return`${n}${i}${o?` { ${o} }`:""}`}re(c1,"inspectObject");function d1([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}re(d1,"inspectAttribute");function zu(e,t){return Gr(e,t,p1,`
220
+ `)}re(zu,"inspectNodeCollection");function p1(e,t){switch(e.nodeType){case 1:return $h(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}re(p1,"inspectNode");function $h(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),a=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let s="";r.length>0&&(s+=" ",s+=Gr(r.map(d=>[d,e.getAttribute(d)]),t,d1," ")),t.truncate-=s.length;let l=t.truncate,u=zu(e.children,t);return u&&u.length>l&&(u=`${Mo}(${e.children.length})`),`${i}${s}${o}${u}${a}`}re($h,"inspectHTML");var x3=typeof Symbol=="function"&&typeof Symbol.for=="function",Wc=x3?Symbol.for("chai/inspect"):"@@chai/inspect",Kc=Symbol.for("nodejs.util.inspect.custom"),sb=new WeakMap,ub={},lb={undefined:re((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:re((e,t)=>t.stylize("null","null"),"null"),boolean:re((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:re((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:pp,Number:pp,bigint:fp,BigInt:fp,string:hp,String:hp,function:dp,Function:dp,symbol:mp,Symbol:mp,Array:ZS,Date:e1,Map:n1,Set:a1,RegExp:i1,Promise:C3,WeakSet:re((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:re((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:l1,Int8Array:ln,Uint8Array:ln,Uint8ClampedArray:ln,Int16Array:ln,Uint16Array:ln,Int32Array:ln,Uint32Array:ln,Float32Array:ln,Float64Array:ln,Generator:re(()=>"","Generator"),DataView:re(()=>"","DataView"),ArrayBuffer:re(()=>"","ArrayBuffer"),Error:c1,HTMLCollection:zu,NodeList:zu},R3=re((e,t,r)=>Wc in e&&typeof e[Wc]=="function"?e[Wc](t):Kc in e&&typeof e[Kc]=="function"?e[Kc](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&sb.has(e.constructor)?sb.get(e.constructor)(e,t):ub[r]?ub[r](e,t):"","inspectCustom"),D3=Object.prototype.toString;function Gu(e,t={}){let r=YS(t,Gu),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=D3.call(e).slice(8,-1)),i in lb)return lb[i](e,r);if(n&&e){let a=R3(e,r,i);if(a)return typeof a=="string"?a:Gu(a,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?Na(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?$h(e,r):"constructor"in e?e.constructor!==Object?u1(e,r):Na(e,r):e===Object(e)?Na(e,r):r.stylize(String(e),i)}re(Gu,"inspect");var Er={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function at(e,t,r,n){let i={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Er.truncateThreshold?Er.truncateThreshold:1/0};return Gu(e,i)}re(at,"inspect");function Ui(e){let t=at(e),r=Object.prototype.toString.call(e);if(Er.truncateThreshold&&t.length>=Er.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){let n=Object.keys(e);return"{ Object ("+(n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", "))+") }"}else return t}else return t}re(Ui,"objDisplay");function Vh(e,t){let r=Ke(e,"negate"),n=Ke(e,"object"),i=t[3],o=jl(e,t),a=r?t[2]:t[1],s=Ke(e,"message");return typeof a=="function"&&(a=a()),a=a||"",a=a.replace(/#\{this\}/g,function(){return Ui(n)}).replace(/#\{act\}/g,function(){return Ui(o)}).replace(/#\{exp\}/g,function(){return Ui(i)}),s?s+": "+a:a}re(Vh,"getMessage");function on(e,t,r){let n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(let i in n)(r||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=n[i])}re(on,"transferFlags");function yp(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}re(yp,"type");function Uh(){this._key="chai/deep-eql__"+Math.random()+Date.now()}re(Uh,"FakeMap");Uh.prototype={get:re(function(e){return e[this._key]},"get"),set:re(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var f1=typeof WeakMap=="function"?WeakMap:Uh;function gp(e,t,r){if(!r||Ki(e)||Ki(t))return null;var n=r.get(e);if(n){var i=n.get(t);if(typeof i=="boolean")return i}return null}re(gp,"memoizeCompare");function _a(e,t,r,n){if(!(!r||Ki(e)||Ki(t))){var i=r.get(e);i?i.set(t,n):(i=new f1,i.set(t,n),r.set(e,i))}}re(_a,"memoizeSet");var h1=Rs;function Rs(e,t,r){if(r&&r.comparator)return bp(e,t,r);var n=Jh(e,t);return n!==null?n:bp(e,t,r)}re(Rs,"deepEqual");function Jh(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Ki(e)||Ki(t)?!1:null}re(Jh,"simpleEqual");function bp(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new f1;var n=r&&r.comparator,i=gp(e,t,r.memoize);if(i!==null)return i;var o=gp(t,e,r.memoize);if(o!==null)return o;if(n){var a=n(e,t);if(a===!1||a===!0)return _a(e,t,r.memoize,a),a;var s=Jh(e,t);if(s!==null)return s}var l=yp(e);if(l!==yp(t))return _a(e,t,r.memoize,!1),!1;_a(e,t,r.memoize,!0);var u=m1(e,t,l,r);return _a(e,t,r.memoize,u),u}re(bp,"extensiveDeepEqual");function m1(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Rs(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Hh(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return pi(e,t,n);case"RegExp":return y1(e,t);case"Generator":return g1(e,t,n);case"DataView":return pi(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return pi(new Uint8Array(e),new Uint8Array(t),n);case"Set":return vp(e,t,n);case"Map":return vp(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return v1(e,t,n)}}re(m1,"extensiveDeepEqualByType");function y1(e,t){return e.toString()===t.toString()}re(y1,"regexpEqual");function vp(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],i=[];return e.forEach(re(function(o,a){n.push([o,a])},"gatherEntries")),t.forEach(re(function(o,a){i.push([o,a])},"gatherEntries")),pi(n.sort(),i.sort(),r)}re(vp,"entriesEqual");function pi(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var i=-1;++i<n;)if(Rs(e[i],t[i],r)===!1)return!1;return!0}re(pi,"iterableEqual");function g1(e,t,r){return pi(Wu(e),Wu(t),r)}re(g1,"generatorEqual");function b1(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}re(b1,"hasIteratorFunction");function Ep(e){if(b1(e))try{return Wu(e[Symbol.iterator]())}catch{return[]}return[]}re(Ep,"getIteratorEntries");function Wu(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}re(Wu,"getGeneratorEntries");function Ap(e){var t=[];for(var r in e)t.push(r);return t}re(Ap,"getEnumerableKeys");function wp(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var i=r[n];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}re(wp,"getEnumerableSymbols");function Hh(e,t,r,n){var i=r.length;if(i===0)return!0;for(var o=0;o<i;o+=1)if(Rs(e[r[o]],t[r[o]],n)===!1)return!1;return!0}re(Hh,"keysEqual");function v1(e,t,r){var n=Ap(e),i=Ap(t),o=wp(e),a=wp(t);if(n=n.concat(o),i=i.concat(a),n.length&&n.length===i.length)return pi(Sp(n).sort(),Sp(i).sort())===!1?!1:Hh(e,t,n,r);var s=Ep(e),l=Ep(t);return s.length&&s.length===l.length?(s.sort(),l.sort(),pi(s,l,r)):n.length===0&&s.length===0&&i.length===0&&l.length===0}re(v1,"objectEqual");function Ki(e){return e===null||typeof e!="object"}re(Ki,"isPrimitive");function Sp(e){return e.map(re(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}re(Sp,"mapSymbols");function Ll(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}re(Ll,"hasProperty");function E1(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}re(E1,"parsePath");function _p(e,t,r){let n=e,i=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){let a=t[o];n&&(typeof a.p>"u"?n=n[a.i]:n=n[a.p],o===r-1&&(i=n))}return i}re(_p,"internalGetPathValue");function zh(e,t){let r=E1(t),n=r[r.length-1],i={parent:r.length>1?_p(e,r,r.length-1):e,name:n.p||n.i,value:_p(e,r)};return i.exists=Ll(i.parent,i.name),i}re(zh,"getPathInfo");var tu,z=(tu=class{__flags={};constructor(e,t,r,n){return Ke(this,"ssfi",r||tu),Ke(this,"lockSsfi",n),Ke(this,"object",e),Ke(this,"message",t),Ke(this,"eql",Er.deepEqual||h1),ea(this)}static get includeStack(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Er.includeStack}static set includeStack(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Er.includeStack=e}static get showDiff(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Er.showDiff}static set showDiff(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Er.showDiff=e}static addProperty(e,t){Gh(this.prototype,e,t)}static addMethod(e,t){Wh(this.prototype,e,t)}static addChainableMethod(e,t,r){Xh(this.prototype,e,t,r)}static overwriteProperty(e,t){Kh(this.prototype,e,t)}static overwriteMethod(e,t){Yh(this.prototype,e,t)}static overwriteChainableMethod(e,t,r){Qh(this.prototype,e,t,r)}assert(e,t,r,n,i,o){let a=qh(this,arguments);if(o!==!1&&(o=!0),n===void 0&&i===void 0&&(o=!1),Er.showDiff!==!0&&(o=!1),!a){t=Vh(this,arguments);let s={actual:jl(this,arguments),expected:n,showDiff:o},l=tm(this,arguments);throw l&&(s.operator=l),new lt(t,s,Er.includeStack?this.assert:Ke(this,"ssfi"))}}get _obj(){return Ke(this,"object")}set _obj(e){Ke(this,"object",e)}},re(tu,"Assertion"),tu);function Ds(){return Er.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}re(Ds,"isProxyEnabled");function Gh(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:re(function n(){!Ds()&&!Ke(this,"lockSsfi")&&Ke(this,"ssfi",n);let i=r.call(this);if(i!==void 0)return i;let o=new z;return on(this,o),o},"propertyGetter"),configurable:!0})}re(Gh,"addProperty");var P3=Object.getOwnPropertyDescriptor(function(){},"length");function Ps(e,t,r){return P3.configurable&&Object.defineProperty(e,"length",{get:re(function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')},"get")}),e}re(Ps,"addLengthGuard");function A1(e){let t=Object.getOwnPropertyNames(e);function r(i){t.indexOf(i)===-1&&t.push(i)}re(r,"addProperty");let n=Object.getPrototypeOf(e);for(;n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}re(A1,"getProperties");var cb=["__flags","__methods","_obj","assert"];function ea(e,t){return Ds()?new Proxy(e,{get:re(function r(n,i){if(typeof i=="string"&&Er.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(n,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');let o=null,a=4;throw A1(n).forEach(function(s){if(!Object.prototype.hasOwnProperty(s)&&cb.indexOf(s)===-1){let l=w1(i,s,a);l<a&&(o=s,a=l)}}),Error(o!==null?"Invalid Chai property: "+i+'. Did you mean "'+o+'"?':"Invalid Chai property: "+i)}return cb.indexOf(i)===-1&&!Ke(n,"lockSsfi")&&Ke(n,"ssfi",r),Reflect.get(n,i)},"proxyGetter")}):e}re(ea,"proxify");function w1(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;let n=[];for(let i=0;i<=e.length;i++)n[i]=Array(t.length+1).fill(0),n[i][0]=i;for(let i=0;i<t.length;i++)n[0][i]=i;for(let i=1;i<=e.length;i++){let o=e.charCodeAt(i-1);for(let a=1;a<=t.length;a++){if(Math.abs(i-a)>=r){n[i][a]=r;continue}n[i][a]=Math.min(n[i-1][a]+1,n[i][a-1]+1,n[i-1][a-1]+(o===t.charCodeAt(a-1)?0:1))}}return n[e.length][t.length]}re(w1,"stringDistanceCapped");function Wh(e,t,r){let n=re(function(){Ke(this,"lockSsfi")||Ke(this,"ssfi",n);let i=r.apply(this,arguments);if(i!==void 0)return i;let o=new z;return on(this,o),o},"methodWrapper");Ps(n,t,!1),e[t]=ea(n,t)}re(Wh,"addMethod");function Kh(e,t,r){let n=Object.getOwnPropertyDescriptor(e,t),i=re(function(){},"_super");n&&typeof n.get=="function"&&(i=n.get),Object.defineProperty(e,t,{get:re(function o(){!Ds()&&!Ke(this,"lockSsfi")&&Ke(this,"ssfi",o);let a=Ke(this,"lockSsfi");Ke(this,"lockSsfi",!0);let s=r(i).call(this);if(Ke(this,"lockSsfi",a),s!==void 0)return s;let l=new z;return on(this,l),l},"overwritingPropertyGetter"),configurable:!0})}re(Kh,"overwriteProperty");function Yh(e,t,r){let n=e[t],i=re(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(i=n);let o=re(function(){Ke(this,"lockSsfi")||Ke(this,"ssfi",o);let a=Ke(this,"lockSsfi");Ke(this,"lockSsfi",!0);let s=r(i).apply(this,arguments);if(Ke(this,"lockSsfi",a),s!==void 0)return s;let l=new z;return on(this,l),l},"overwritingMethodWrapper");Ps(o,t,!1),e[t]=ea(o,t)}re(Yh,"overwriteMethod");var O3=typeof Object.setPrototypeOf=="function",db=re(function(){},"testFn"),I3=Object.getOwnPropertyNames(db).filter(function(e){let t=Object.getOwnPropertyDescriptor(db,e);return typeof t!="object"?!0:!t.configurable}),F3=Function.prototype.call,N3=Function.prototype.apply;function Xh(e,t,r,n){typeof n!="function"&&(n=re(function(){},"chainingBehavior"));let i={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:re(function(){i.chainingBehavior.call(this);let o=re(function(){Ke(this,"lockSsfi")||Ke(this,"ssfi",o);let a=i.method.apply(this,arguments);if(a!==void 0)return a;let s=new z;return on(this,s),s},"chainableMethodWrapper");if(Ps(o,t,!0),O3){let a=Object.create(this);a.call=F3,a.apply=N3,Object.setPrototypeOf(o,a)}else Object.getOwnPropertyNames(e).forEach(function(a){if(I3.indexOf(a)!==-1)return;let s=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(o,a,s)});return on(this,o),ea(o)},"chainableMethodGetter"),configurable:!0})}re(Xh,"addChainableMethod");function Qh(e,t,r,n){let i=e.__methods[t],o=i.chainingBehavior;i.chainingBehavior=re(function(){let s=n(o).call(this);if(s!==void 0)return s;let l=new z;return on(this,l),l},"overwritingChainableMethodGetter");let a=i.method;i.method=re(function(){let s=r(a).apply(this,arguments);if(s!==void 0)return s;let l=new z;return on(this,l),l},"overwritingChainableMethodWrapper")}re(Qh,"overwriteChainableMethod");function Ku(e,t){return at(e)<at(t)?-1:1}re(Ku,"compareByInspect");function Zh(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}re(Zh,"getOwnEnumerablePropertySymbols");function em(e){return Object.keys(e).concat(Zh(e))}re(em,"getOwnEnumerableProperties");var Yu=Number.isNaN;function S1(e){let t=Et(e);return["Array","Object","Function"].indexOf(t)!==-1}re(S1,"isObjectType");function tm(e,t){let r=Ke(e,"operator"),n=Ke(e,"negate"),i=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!o||/\shave\s/.test(o))return;let a=S1(i);return/\snot\s/.test(o)?a?"notDeepStrictEqual":"notStrictEqual":a?"deepStrictEqual":"strictEqual"}re(tm,"getOperator");function ql(e){return e.name}re(ql,"getName");function Xu(e){return Object.prototype.toString.call(e)==="[object RegExp]"}re(Xu,"isRegExp");function ir(e){return["Number","BigInt"].includes(Et(e))}re(ir,"isNumeric");var{flag:te}=mn;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){z.addProperty(e)});z.addProperty("not",function(){te(this,"negate",!0)});z.addProperty("deep",function(){te(this,"deep",!0)});z.addProperty("nested",function(){te(this,"nested",!0)});z.addProperty("own",function(){te(this,"own",!0)});z.addProperty("ordered",function(){te(this,"ordered",!0)});z.addProperty("any",function(){te(this,"any",!0),te(this,"all",!1)});z.addProperty("all",function(){te(this,"all",!0),te(this,"any",!1)});var pb={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function rm(e,t){t&&te(this,"message",t),e=e.toLowerCase();let r=te(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ",i=Et(r).toLowerCase();pb.function.includes(e)?this.assert(pb[e].includes(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===i,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}re(rm,"an");z.addChainableMethod("an",rm);z.addChainableMethod("a",rm);function _1(e,t){return Yu(e)&&Yu(t)||e===t}re(_1,"SameValueZero");function Os(){te(this,"contains",!0)}re(Os,"includeChainingBehavior");function Is(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=Et(r).toLowerCase(),i=te(this,"message"),o=te(this,"negate"),a=te(this,"ssfi"),s=te(this,"deep"),l=s?"deep ":"",u=s?te(this,"eql"):_1;i=i?i+": ":"";let d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(s)throw new lt(i+"unable to use .deep.include with WeakSet",void 0,a);d=r.has(e);break;case"map":r.forEach(function(f){d=d||u(f,e)});break;case"set":s?r.forEach(function(f){d=d||u(f,e)}):d=r.has(e);break;case"array":s?d=r.some(function(f){return u(f,e)}):d=r.indexOf(e)!==-1;break;default:{if(e!==Object(e))throw new lt(i+"the given combination of arguments ("+n+" and "+Et(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+Et(e).toLowerCase(),void 0,a);let f=Object.keys(e),h=null,m=0;if(f.forEach(function(b){let y=new z(r);if(on(this,y,!0),te(y,"lockSsfi",!0),!o||f.length===1){y.property(b,e[b]);return}try{y.property(b,e[b])}catch(A){if(!Dr.compatibleConstructor(A,lt))throw A;h===null&&(h=A),m++}},this),o&&f.length>1&&m===f.length)throw h;return}}this.assert(d,"expected #{this} to "+l+"include "+at(e),"expected #{this} to not "+l+"include "+at(e))}re(Is,"include");z.addChainableMethod("include",Is,Os);z.addChainableMethod("contain",Is,Os);z.addChainableMethod("contains",Is,Os);z.addChainableMethod("includes",Is,Os);z.addProperty("ok",function(){this.assert(te(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});z.addProperty("true",function(){this.assert(te(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!te(this,"negate"))});z.addProperty("numeric",function(){let e=te(this,"object");this.assert(["Number","BigInt"].includes(Et(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!te(this,"negate"))});z.addProperty("callable",function(){let e=te(this,"object"),t=te(this,"ssfi"),r=te(this,"message"),n=r?`${r}: `:"",i=te(this,"negate"),o=i?`${n}expected ${at(e)} not to be a callable function`:`${n}expected ${at(e)} to be a callable function`,a=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Et(e));if(a&&i||!a&&!i)throw new lt(o,void 0,t)});z.addProperty("false",function(){this.assert(te(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!te(this,"negate"))});z.addProperty("null",function(){this.assert(te(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});z.addProperty("undefined",function(){this.assert(te(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});z.addProperty("NaN",function(){this.assert(Yu(te(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function nm(){let e=te(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}re(nm,"assertExist");z.addProperty("exist",nm);z.addProperty("exists",nm);z.addProperty("empty",function(){let e=te(this,"object"),t=te(this,"ssfi"),r=te(this,"message"),n;switch(r=r?r+": ":"",Et(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new lt(r+".empty was passed a weak collection",void 0,t);case"function":{let i=r+".empty was passed a function "+ql(e);throw new lt(i.trim(),void 0,t)}default:if(e!==Object(e))throw new lt(r+".empty was passed non-string primitive "+at(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function im(){let e=te(this,"object"),t=Et(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}re(im,"checkArguments");z.addProperty("arguments",im);z.addProperty("Arguments",im);function $l(e,t){t&&te(this,"message",t);let r=te(this,"object");if(te(this,"deep")){let n=te(this,"lockSsfi");te(this,"lockSsfi",!0),this.eql(e),te(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}re($l,"assertEqual");z.addMethod("equal",$l);z.addMethod("equals",$l);z.addMethod("eq",$l);function om(e,t){t&&te(this,"message",t);let r=te(this,"eql");this.assert(r(e,te(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}re(om,"assertEql");z.addMethod("eql",om);z.addMethod("eqls",om);function Vl(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),o=i?i+": ":"",a=te(this,"ssfi"),s=Et(r).toLowerCase(),l=Et(e).toLowerCase();if(n&&s!=="map"&&s!=="set"&&new z(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")throw new lt(o+"the argument to above must be a date",void 0,a);if(!ir(e)&&(n||ir(r)))throw new lt(o+"the argument to above must be a number",void 0,a);if(!n&&s!=="date"&&!ir(r)){let u=s==="string"?"'"+r+"'":r;throw new lt(o+"expected "+u+" to be a number or a date",void 0,a)}if(n){let u="length",d;s==="map"||s==="set"?(u="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+u+" above #{exp} but got #{act}","expected #{this} to not have a "+u+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}re(Vl,"assertAbove");z.addMethod("above",Vl);z.addMethod("gt",Vl);z.addMethod("greaterThan",Vl);function Ul(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),o=i?i+": ":"",a=te(this,"ssfi"),s=Et(r).toLowerCase(),l=Et(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new z(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=o+"the argument to least must be a date";else if(!ir(e)&&(n||ir(r)))u=o+"the argument to least must be a number";else if(!n&&s!=="date"&&!ir(r)){let f=s==="string"?"'"+r+"'":r;u=o+"expected "+f+" to be a number or a date"}else d=!1;if(d)throw new lt(u,void 0,a);if(n){let f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,h)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}re(Ul,"assertLeast");z.addMethod("least",Ul);z.addMethod("gte",Ul);z.addMethod("greaterThanOrEqual",Ul);function Jl(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),o=i?i+": ":"",a=te(this,"ssfi"),s=Et(r).toLowerCase(),l=Et(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new z(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=o+"the argument to below must be a date";else if(!ir(e)&&(n||ir(r)))u=o+"the argument to below must be a number";else if(!n&&s!=="date"&&!ir(r)){let f=s==="string"?"'"+r+"'":r;u=o+"expected "+f+" to be a number or a date"}else d=!1;if(d)throw new lt(u,void 0,a);if(n){let f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,h)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}re(Jl,"assertBelow");z.addMethod("below",Jl);z.addMethod("lt",Jl);z.addMethod("lessThan",Jl);function Hl(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"doLength"),i=te(this,"message"),o=i?i+": ":"",a=te(this,"ssfi"),s=Et(r).toLowerCase(),l=Et(e).toLowerCase(),u,d=!0;if(n&&s!=="map"&&s!=="set"&&new z(r,i,a,!0).to.have.property("length"),!n&&s==="date"&&l!=="date")u=o+"the argument to most must be a date";else if(!ir(e)&&(n||ir(r)))u=o+"the argument to most must be a number";else if(!n&&s!=="date"&&!ir(r)){let f=s==="string"?"'"+r+"'":r;u=o+"expected "+f+" to be a number or a date"}else d=!1;if(d)throw new lt(u,void 0,a);if(n){let f="length",h;s==="map"||s==="set"?(f="size",h=r.size):h=r.length,this.assert(h<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,h)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}re(Hl,"assertMost");z.addMethod("most",Hl);z.addMethod("lte",Hl);z.addMethod("lessThanOrEqual",Hl);z.addMethod("within",function(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"doLength"),o=te(this,"message"),a=o?o+": ":"",s=te(this,"ssfi"),l=Et(n).toLowerCase(),u=Et(e).toLowerCase(),d=Et(t).toLowerCase(),f,h=!0,m=u==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(i&&l!=="map"&&l!=="set"&&new z(n,o,s,!0).to.have.property("length"),!i&&l==="date"&&(u!=="date"||d!=="date"))f=a+"the arguments to within must be dates";else if((!ir(e)||!ir(t))&&(i||ir(n)))f=a+"the arguments to within must be numbers";else if(!i&&l!=="date"&&!ir(n)){let b=l==="string"?"'"+n+"'":n;f=a+"expected "+b+" to be a number or a date"}else h=!1;if(h)throw new lt(f,void 0,s);if(i){let b="length",y;l==="map"||l==="set"?(b="size",y=n.size):y=n.length,this.assert(y>=e&&y<=t,"expected #{this} to have a "+b+" within "+m,"expected #{this} to not have a "+b+" within "+m)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function am(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"ssfi"),i=te(this,"message"),o;try{o=r instanceof e}catch(s){throw s instanceof TypeError?(i=i?i+": ":"",new lt(i+"The instanceof assertion needs a constructor but "+Et(e)+" was given.",void 0,n)):s}let a=ql(e);a==null&&(a="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+a,"expected #{this} to not be an instance of "+a)}re(am,"assertInstanceOf");z.addMethod("instanceof",am);z.addMethod("instanceOf",am);function sm(e,t,r){r&&te(this,"message",r);let n=te(this,"nested"),i=te(this,"own"),o=te(this,"message"),a=te(this,"object"),s=te(this,"ssfi"),l=typeof e;if(o=o?o+": ":"",n){if(l!=="string")throw new lt(o+"the argument to property must be a string when using nested syntax",void 0,s)}else if(l!=="string"&&l!=="number"&&l!=="symbol")throw new lt(o+"the argument to property must be a string, number, or symbol",void 0,s);if(n&&i)throw new lt(o+'The "nested" and "own" flags cannot be combined.',void 0,s);if(a==null)throw new lt(o+"Target cannot be null or undefined.",void 0,s);let u=te(this,"deep"),d=te(this,"negate"),f=n?zh(a,e):null,h=n?f.value:a[e],m=u?te(this,"eql"):(A,E)=>A===E,b="";u&&(b+="deep "),i&&(b+="own "),n&&(b+="nested "),b+="property ";let y;i?y=Object.prototype.hasOwnProperty.call(a,e):n?y=f.exists:y=Ll(a,e),(!d||arguments.length===1)&&this.assert(y,"expected #{this} to have "+b+at(e),"expected #{this} to not have "+b+at(e)),arguments.length>1&&this.assert(y&&m(t,h),"expected #{this} to have "+b+at(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+b+at(e)+" of #{act}",t,h),te(this,"object",h)}re(sm,"assertProperty");z.addMethod("property",sm);function um(e,t,r){te(this,"own",!0),sm.apply(this,arguments)}re(um,"assertOwnProperty");z.addMethod("ownProperty",um);z.addMethod("haveOwnProperty",um);function lm(e,t,r){typeof t=="string"&&(r=t,t=null),r&&te(this,"message",r);let n=te(this,"object"),i=Object.getOwnPropertyDescriptor(Object(n),e),o=te(this,"eql");i&&t?this.assert(o(t,i),"expected the own property descriptor for "+at(e)+" on #{this} to match "+at(t)+", got "+at(i),"expected the own property descriptor for "+at(e)+" on #{this} to not match "+at(t),t,i,!0):this.assert(i,"expected #{this} to have an own property descriptor for "+at(e),"expected #{this} to not have an own property descriptor for "+at(e)),te(this,"object",i)}re(lm,"assertOwnPropertyDescriptor");z.addMethod("ownPropertyDescriptor",lm);z.addMethod("haveOwnPropertyDescriptor",lm);function cm(){te(this,"doLength",!0)}re(cm,"assertLengthChain");function dm(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=Et(r).toLowerCase(),i=te(this,"message"),o=te(this,"ssfi"),a="length",s;switch(n){case"map":case"set":a="size",s=r.size;break;default:new z(r,i,o,!0).to.have.property("length"),s=r.length}this.assert(s==e,"expected #{this} to have a "+a+" of #{exp} but got #{act}","expected #{this} to not have a "+a+" of #{act}",e,s)}re(dm,"assertLength");z.addChainableMethod("length",dm,cm);z.addChainableMethod("lengthOf",dm,cm);function pm(e,t){t&&te(this,"message",t);let r=te(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}re(pm,"assertMatch");z.addMethod("match",pm);z.addMethod("matches",pm);z.addMethod("string",function(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"message"),i=te(this,"ssfi");new z(r,n,i,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+at(e),"expected #{this} to not contain "+at(e))});function fm(e){let t=te(this,"object"),r=Et(t),n=Et(e),i=te(this,"ssfi"),o=te(this,"deep"),a,s="",l,u=!0,d=te(this,"message");d=d?d+": ":"";let f=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")s=o?"deeply ":"",l=[],t.forEach(function(E,_){l.push(_)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(l=em(t),n){case"Array":if(arguments.length>1)throw new lt(f,void 0,i);break;case"Object":if(arguments.length>1)throw new lt(f,void 0,i);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(E){return typeof E=="symbol"?E:String(E)})}if(!e.length)throw new lt(d+"keys required",void 0,i);let h=e.length,m=te(this,"any"),b=te(this,"all"),y=e,A=o?te(this,"eql"):(E,_)=>E===_;if(!m&&!b&&(b=!0),m&&(u=y.some(function(E){return l.some(function(_){return A(E,_)})})),b&&(u=y.every(function(E){return l.some(function(_){return A(E,_)})}),te(this,"contains")||(u=u&&e.length==l.length)),h>1){e=e.map(function(_){return at(_)});let E=e.pop();b&&(a=e.join(", ")+", and "+E),m&&(a=e.join(", ")+", or "+E)}else a=at(e[0]);a=(h>1?"keys ":"key ")+a,a=(te(this,"contains")?"contain ":"have ")+a,this.assert(u,"expected #{this} to "+s+a,"expected #{this} to not "+s+a,y.slice(0).sort(Ku),l.sort(Ku),!0)}re(fm,"assertKeys");z.addMethod("keys",fm);z.addMethod("key",fm);function zl(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"ssfi"),o=te(this,"message"),a=te(this,"negate")||!1;new z(n,o,i,!0).is.a("function"),(Xu(e)||typeof e=="string")&&(t=e,e=null);let s,l=!1;try{n()}catch(m){l=!0,s=m}let u=e===void 0&&t===void 0,d=!!(e&&t),f=!1,h=!1;if(u||!u&&!a){let m="an error";e instanceof Error?m="#{exp}":e&&(m=Dr.getConstructorName(e));let b=s;if(s instanceof Error)b=s.toString();else if(typeof s=="string")b=s;else if(s&&(typeof s=="object"||typeof s=="function"))try{b=Dr.getConstructorName(s)}catch{}this.assert(l,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),b)}if(e&&s&&(e instanceof Error&&Dr.compatibleInstance(s,e)===a&&(d&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s&&!a?" but #{act} was thrown":""),e.toString(),s.toString())),Dr.compatibleConstructor(s,e)===a&&(d&&a?f=!0:this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Dr.getConstructorName(e),s instanceof Error?s.toString():s&&Dr.getConstructorName(s)))),s&&t!==void 0&&t!==null){let m="including";Xu(t)&&(m="matching"),Dr.compatibleMessage(s,t)===a&&(d&&a?h=!0:this.assert(a,"expected #{this} to throw error "+m+" #{exp} but got #{act}","expected #{this} to throw error not "+m+" #{exp}",t,Dr.getMessage(s)))}f&&h&&this.assert(a,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(s?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&Dr.getConstructorName(e),s instanceof Error?s.toString():s&&Dr.getConstructorName(s)),te(this,"object",s)}re(zl,"assertThrows");z.addMethod("throw",zl);z.addMethod("throws",zl);z.addMethod("Throw",zl);function hm(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"itself"),i=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof i=="function","expected #{this} to respond to "+at(e),"expected #{this} to not respond to "+at(e))}re(hm,"respondTo");z.addMethod("respondTo",hm);z.addMethod("respondsTo",hm);z.addProperty("itself",function(){te(this,"itself",!0)});function mm(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ui(e),"expected #{this} to not satisfy"+Ui(e),!te(this,"negate"),n)}re(mm,"satisfy");z.addMethod("satisfy",mm);z.addMethod("satisfies",mm);function ym(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),o=te(this,"ssfi");new z(n,i,o,!0).is.numeric;let a="A `delta` value is required for `closeTo`";if(t==null)throw new lt(i?`${i}: ${a}`:a,void 0,o);if(new z(t,i,o,!0).is.numeric,a="A `expected` value is required for `closeTo`",e==null)throw new lt(i?`${i}: ${a}`:a,void 0,o);new z(e,i,o,!0).is.numeric;let s=re(u=>u<0n?-u:u,"abs"),l=re(u=>parseFloat(parseFloat(u).toPrecision(12)),"strip");this.assert(l(s(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}re(ym,"closeTo");z.addMethod("closeTo",ym);z.addMethod("approximately",ym);function C1(e,t,r,n,i){let o=Array.from(t),a=Array.from(e);if(!n){if(a.length!==o.length)return!1;o=o.slice()}return a.every(function(s,l){if(i)return r?r(s,o[l]):s===o[l];if(!r){let u=o.indexOf(s);return u===-1?!1:(n||o.splice(u,1),!0)}return o.some(function(u,d){return r(s,u)?(n||o.splice(d,1),!0):!1})})}re(C1,"isSubsetOf");z.addMethod("members",function(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"message"),i=te(this,"ssfi");new z(r,n,i,!0).to.be.iterable,new z(e,n,i,!0).to.be.iterable;let o=te(this,"contains"),a=te(this,"ordered"),s,l,u;o?(s=a?"an ordered superset":"a superset",l="expected #{this} to be "+s+" of #{exp}",u="expected #{this} to not be "+s+" of #{exp}"):(s=a?"ordered members":"members",l="expected #{this} to have the same "+s+" as #{exp}",u="expected #{this} to not have the same "+s+" as #{exp}");let d=te(this,"deep")?te(this,"eql"):void 0;this.assert(C1(e,r,d,o,a),l,u,e,r,!0)});z.addProperty("iterable",function(e){e&&te(this,"message",e);let t=te(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function T1(e,t){t&&te(this,"message",t);let r=te(this,"object"),n=te(this,"message"),i=te(this,"ssfi"),o=te(this,"contains"),a=te(this,"deep"),s=te(this,"eql");new z(e,n,i,!0).to.be.an("array"),o?this.assert(e.some(function(l){return r.indexOf(l)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):a?this.assert(e.some(function(l){return s(r,l)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}re(T1,"oneOf");z.addMethod("oneOf",T1);function gm(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),o=te(this,"ssfi");new z(n,i,o,!0).is.a("function");let a;t?(new z(e,i,o,!0).to.have.property(t),a=e[t]):(new z(e,i,o,!0).is.a("function"),a=e()),n();let s=t==null?e():e[t],l=t==null?a:"."+t;te(this,"deltaMsgObj",l),te(this,"initialDeltaValue",a),te(this,"finalDeltaValue",s),te(this,"deltaBehavior","change"),te(this,"realDelta",s!==a),this.assert(a!==s,"expected "+l+" to change","expected "+l+" to not change")}re(gm,"assertChanges");z.addMethod("change",gm);z.addMethod("changes",gm);function bm(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),o=te(this,"ssfi");new z(n,i,o,!0).is.a("function");let a;t?(new z(e,i,o,!0).to.have.property(t),a=e[t]):(new z(e,i,o,!0).is.a("function"),a=e()),new z(a,i,o,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?a:"."+t;te(this,"deltaMsgObj",l),te(this,"initialDeltaValue",a),te(this,"finalDeltaValue",s),te(this,"deltaBehavior","increase"),te(this,"realDelta",s-a),this.assert(s-a>0,"expected "+l+" to increase","expected "+l+" to not increase")}re(bm,"assertIncreases");z.addMethod("increase",bm);z.addMethod("increases",bm);function vm(e,t,r){r&&te(this,"message",r);let n=te(this,"object"),i=te(this,"message"),o=te(this,"ssfi");new z(n,i,o,!0).is.a("function");let a;t?(new z(e,i,o,!0).to.have.property(t),a=e[t]):(new z(e,i,o,!0).is.a("function"),a=e()),new z(a,i,o,!0).is.a("number"),n();let s=t==null?e():e[t],l=t==null?a:"."+t;te(this,"deltaMsgObj",l),te(this,"initialDeltaValue",a),te(this,"finalDeltaValue",s),te(this,"deltaBehavior","decrease"),te(this,"realDelta",a-s),this.assert(s-a<0,"expected "+l+" to decrease","expected "+l+" to not decrease")}re(vm,"assertDecreases");z.addMethod("decrease",vm);z.addMethod("decreases",vm);function x1(e,t){t&&te(this,"message",t);let r=te(this,"deltaMsgObj"),n=te(this,"initialDeltaValue"),i=te(this,"finalDeltaValue"),o=te(this,"deltaBehavior"),a=te(this,"realDelta"),s;o==="change"?s=Math.abs(i-n)===Math.abs(e):s=a===Math.abs(e),this.assert(s,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}re(x1,"assertDelta");z.addMethod("by",x1);z.addProperty("extensible",function(){let e=te(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});z.addProperty("sealed",function(){let e=te(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});z.addProperty("frozen",function(){let e=te(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});z.addProperty("finite",function(e){let t=te(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function Qu(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Qu(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){let n=e[r],i=t[r];return typeof n=="object"&&n!==null&&i!==null?Qu(n,i):typeof n=="function"?n(i):i===n}):!1}re(Qu,"compareSubset");z.addMethod("containSubset",function(e){let t=Ke(this,"object"),r=Er.showDiff;this.assert(Qu(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Ji(e,t){return new z(e,t)}re(Ji,"expect");Ji.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new lt(r,{actual:e,expected:t,operator:n},Ji.fail)};var R1={};Lh(R1,{Should:()=>B3,should:()=>k3});function Em(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new z(this.valueOf(),null,e):new z(this,null,e)}re(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}re(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});let r={};return r.fail=function(n,i,o,a){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new lt(o,{actual:n,expected:i,operator:a},r.fail)},r.equal=function(n,i,o){new z(n,o).to.equal(i)},r.Throw=function(n,i,o,a){new z(n,a).to.Throw(i,o)},r.exist=function(n,i){new z(n,i).to.exist},r.not={},r.not.equal=function(n,i,o){new z(n,o).to.not.equal(i)},r.not.Throw=function(n,i,o,a){new z(n,a).to.not.Throw(i,o)},r.not.exist=function(n,i){new z(n,i).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}re(Em,"loadShould");var k3=Em,B3=Em;function H(e,t){new z(null,null,H,!0).assert(e,t,"[ negation message unavailable ]")}re(H,"assert");H.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new lt(r,{actual:e,expected:t,operator:n},H.fail)};H.isOk=function(e,t){new z(e,t,H.isOk,!0).is.ok};H.isNotOk=function(e,t){new z(e,t,H.isNotOk,!0).is.not.ok};H.equal=function(e,t,r){let n=new z(e,r,H.equal,!0);n.assert(t==Ke(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};H.notEqual=function(e,t,r){let n=new z(e,r,H.notEqual,!0);n.assert(t!=Ke(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};H.strictEqual=function(e,t,r){new z(e,r,H.strictEqual,!0).to.equal(t)};H.notStrictEqual=function(e,t,r){new z(e,r,H.notStrictEqual,!0).to.not.equal(t)};H.deepEqual=H.deepStrictEqual=function(e,t,r){new z(e,r,H.deepEqual,!0).to.eql(t)};H.notDeepEqual=function(e,t,r){new z(e,r,H.notDeepEqual,!0).to.not.eql(t)};H.isAbove=function(e,t,r){new z(e,r,H.isAbove,!0).to.be.above(t)};H.isAtLeast=function(e,t,r){new z(e,r,H.isAtLeast,!0).to.be.least(t)};H.isBelow=function(e,t,r){new z(e,r,H.isBelow,!0).to.be.below(t)};H.isAtMost=function(e,t,r){new z(e,r,H.isAtMost,!0).to.be.most(t)};H.isTrue=function(e,t){new z(e,t,H.isTrue,!0).is.true};H.isNotTrue=function(e,t){new z(e,t,H.isNotTrue,!0).to.not.equal(!0)};H.isFalse=function(e,t){new z(e,t,H.isFalse,!0).is.false};H.isNotFalse=function(e,t){new z(e,t,H.isNotFalse,!0).to.not.equal(!1)};H.isNull=function(e,t){new z(e,t,H.isNull,!0).to.equal(null)};H.isNotNull=function(e,t){new z(e,t,H.isNotNull,!0).to.not.equal(null)};H.isNaN=function(e,t){new z(e,t,H.isNaN,!0).to.be.NaN};H.isNotNaN=function(e,t){new z(e,t,H.isNotNaN,!0).not.to.be.NaN};H.exists=function(e,t){new z(e,t,H.exists,!0).to.exist};H.notExists=function(e,t){new z(e,t,H.notExists,!0).to.not.exist};H.isUndefined=function(e,t){new z(e,t,H.isUndefined,!0).to.equal(void 0)};H.isDefined=function(e,t){new z(e,t,H.isDefined,!0).to.not.equal(void 0)};H.isCallable=function(e,t){new z(e,t,H.isCallable,!0).is.callable};H.isNotCallable=function(e,t){new z(e,t,H.isNotCallable,!0).is.not.callable};H.isObject=function(e,t){new z(e,t,H.isObject,!0).to.be.a("object")};H.isNotObject=function(e,t){new z(e,t,H.isNotObject,!0).to.not.be.a("object")};H.isArray=function(e,t){new z(e,t,H.isArray,!0).to.be.an("array")};H.isNotArray=function(e,t){new z(e,t,H.isNotArray,!0).to.not.be.an("array")};H.isString=function(e,t){new z(e,t,H.isString,!0).to.be.a("string")};H.isNotString=function(e,t){new z(e,t,H.isNotString,!0).to.not.be.a("string")};H.isNumber=function(e,t){new z(e,t,H.isNumber,!0).to.be.a("number")};H.isNotNumber=function(e,t){new z(e,t,H.isNotNumber,!0).to.not.be.a("number")};H.isNumeric=function(e,t){new z(e,t,H.isNumeric,!0).is.numeric};H.isNotNumeric=function(e,t){new z(e,t,H.isNotNumeric,!0).is.not.numeric};H.isFinite=function(e,t){new z(e,t,H.isFinite,!0).to.be.finite};H.isBoolean=function(e,t){new z(e,t,H.isBoolean,!0).to.be.a("boolean")};H.isNotBoolean=function(e,t){new z(e,t,H.isNotBoolean,!0).to.not.be.a("boolean")};H.typeOf=function(e,t,r){new z(e,r,H.typeOf,!0).to.be.a(t)};H.notTypeOf=function(e,t,r){new z(e,r,H.notTypeOf,!0).to.not.be.a(t)};H.instanceOf=function(e,t,r){new z(e,r,H.instanceOf,!0).to.be.instanceOf(t)};H.notInstanceOf=function(e,t,r){new z(e,r,H.notInstanceOf,!0).to.not.be.instanceOf(t)};H.include=function(e,t,r){new z(e,r,H.include,!0).include(t)};H.notInclude=function(e,t,r){new z(e,r,H.notInclude,!0).not.include(t)};H.deepInclude=function(e,t,r){new z(e,r,H.deepInclude,!0).deep.include(t)};H.notDeepInclude=function(e,t,r){new z(e,r,H.notDeepInclude,!0).not.deep.include(t)};H.nestedInclude=function(e,t,r){new z(e,r,H.nestedInclude,!0).nested.include(t)};H.notNestedInclude=function(e,t,r){new z(e,r,H.notNestedInclude,!0).not.nested.include(t)};H.deepNestedInclude=function(e,t,r){new z(e,r,H.deepNestedInclude,!0).deep.nested.include(t)};H.notDeepNestedInclude=function(e,t,r){new z(e,r,H.notDeepNestedInclude,!0).not.deep.nested.include(t)};H.ownInclude=function(e,t,r){new z(e,r,H.ownInclude,!0).own.include(t)};H.notOwnInclude=function(e,t,r){new z(e,r,H.notOwnInclude,!0).not.own.include(t)};H.deepOwnInclude=function(e,t,r){new z(e,r,H.deepOwnInclude,!0).deep.own.include(t)};H.notDeepOwnInclude=function(e,t,r){new z(e,r,H.notDeepOwnInclude,!0).not.deep.own.include(t)};H.match=function(e,t,r){new z(e,r,H.match,!0).to.match(t)};H.notMatch=function(e,t,r){new z(e,r,H.notMatch,!0).to.not.match(t)};H.property=function(e,t,r){new z(e,r,H.property,!0).to.have.property(t)};H.notProperty=function(e,t,r){new z(e,r,H.notProperty,!0).to.not.have.property(t)};H.propertyVal=function(e,t,r,n){new z(e,n,H.propertyVal,!0).to.have.property(t,r)};H.notPropertyVal=function(e,t,r,n){new z(e,n,H.notPropertyVal,!0).to.not.have.property(t,r)};H.deepPropertyVal=function(e,t,r,n){new z(e,n,H.deepPropertyVal,!0).to.have.deep.property(t,r)};H.notDeepPropertyVal=function(e,t,r,n){new z(e,n,H.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};H.ownProperty=function(e,t,r){new z(e,r,H.ownProperty,!0).to.have.own.property(t)};H.notOwnProperty=function(e,t,r){new z(e,r,H.notOwnProperty,!0).to.not.have.own.property(t)};H.ownPropertyVal=function(e,t,r,n){new z(e,n,H.ownPropertyVal,!0).to.have.own.property(t,r)};H.notOwnPropertyVal=function(e,t,r,n){new z(e,n,H.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};H.deepOwnPropertyVal=function(e,t,r,n){new z(e,n,H.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};H.notDeepOwnPropertyVal=function(e,t,r,n){new z(e,n,H.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};H.nestedProperty=function(e,t,r){new z(e,r,H.nestedProperty,!0).to.have.nested.property(t)};H.notNestedProperty=function(e,t,r){new z(e,r,H.notNestedProperty,!0).to.not.have.nested.property(t)};H.nestedPropertyVal=function(e,t,r,n){new z(e,n,H.nestedPropertyVal,!0).to.have.nested.property(t,r)};H.notNestedPropertyVal=function(e,t,r,n){new z(e,n,H.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};H.deepNestedPropertyVal=function(e,t,r,n){new z(e,n,H.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};H.notDeepNestedPropertyVal=function(e,t,r,n){new z(e,n,H.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};H.lengthOf=function(e,t,r){new z(e,r,H.lengthOf,!0).to.have.lengthOf(t)};H.hasAnyKeys=function(e,t,r){new z(e,r,H.hasAnyKeys,!0).to.have.any.keys(t)};H.hasAllKeys=function(e,t,r){new z(e,r,H.hasAllKeys,!0).to.have.all.keys(t)};H.containsAllKeys=function(e,t,r){new z(e,r,H.containsAllKeys,!0).to.contain.all.keys(t)};H.doesNotHaveAnyKeys=function(e,t,r){new z(e,r,H.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};H.doesNotHaveAllKeys=function(e,t,r){new z(e,r,H.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};H.hasAnyDeepKeys=function(e,t,r){new z(e,r,H.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};H.hasAllDeepKeys=function(e,t,r){new z(e,r,H.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};H.containsAllDeepKeys=function(e,t,r){new z(e,r,H.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};H.doesNotHaveAnyDeepKeys=function(e,t,r){new z(e,r,H.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};H.doesNotHaveAllDeepKeys=function(e,t,r){new z(e,r,H.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};H.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);let i=new z(e,n,H.throws,!0).to.throw(t,r);return Ke(i,"object")};H.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new z(e,n,H.doesNotThrow,!0).to.not.throw(t,r)};H.operator=function(e,t,r,n){let i;switch(t){case"==":i=e==r;break;case"===":i=e===r;break;case">":i=e>r;break;case">=":i=e>=r;break;case"<":i=e<r;break;case"<=":i=e<=r;break;case"!=":i=e!=r;break;case"!==":i=e!==r;break;default:throw n=n&&n+": ",new lt(n+'Invalid operator "'+t+'"',void 0,H.operator)}let o=new z(i,n,H.operator,!0);o.assert(Ke(o,"object")===!0,"expected "+at(e)+" to be "+t+" "+at(r),"expected "+at(e)+" to not be "+t+" "+at(r))};H.closeTo=function(e,t,r,n){new z(e,n,H.closeTo,!0).to.be.closeTo(t,r)};H.approximately=function(e,t,r,n){new z(e,n,H.approximately,!0).to.be.approximately(t,r)};H.sameMembers=function(e,t,r){new z(e,r,H.sameMembers,!0).to.have.same.members(t)};H.notSameMembers=function(e,t,r){new z(e,r,H.notSameMembers,!0).to.not.have.same.members(t)};H.sameDeepMembers=function(e,t,r){new z(e,r,H.sameDeepMembers,!0).to.have.same.deep.members(t)};H.notSameDeepMembers=function(e,t,r){new z(e,r,H.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};H.sameOrderedMembers=function(e,t,r){new z(e,r,H.sameOrderedMembers,!0).to.have.same.ordered.members(t)};H.notSameOrderedMembers=function(e,t,r){new z(e,r,H.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};H.sameDeepOrderedMembers=function(e,t,r){new z(e,r,H.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};H.notSameDeepOrderedMembers=function(e,t,r){new z(e,r,H.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};H.includeMembers=function(e,t,r){new z(e,r,H.includeMembers,!0).to.include.members(t)};H.notIncludeMembers=function(e,t,r){new z(e,r,H.notIncludeMembers,!0).to.not.include.members(t)};H.includeDeepMembers=function(e,t,r){new z(e,r,H.includeDeepMembers,!0).to.include.deep.members(t)};H.notIncludeDeepMembers=function(e,t,r){new z(e,r,H.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};H.includeOrderedMembers=function(e,t,r){new z(e,r,H.includeOrderedMembers,!0).to.include.ordered.members(t)};H.notIncludeOrderedMembers=function(e,t,r){new z(e,r,H.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};H.includeDeepOrderedMembers=function(e,t,r){new z(e,r,H.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};H.notIncludeDeepOrderedMembers=function(e,t,r){new z(e,r,H.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};H.oneOf=function(e,t,r){new z(e,r,H.oneOf,!0).to.be.oneOf(t)};H.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${at(e)} to be an iterable`:`expected ${at(e)} to be an iterable`,new lt(t,void 0,H.isIterable)};H.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.changes,!0).to.change(t,r)};H.changesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new z(e,i,H.changesBy,!0).to.change(t,r).by(n)};H.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.doesNotChange,!0).to.not.change(t,r)};H.changesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new z(e,i,H.changesButNotBy,!0).to.change(t,r).but.not.by(n)};H.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.increases,!0).to.increase(t,r)};H.increasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new z(e,i,H.increasesBy,!0).to.increase(t,r).by(n)};H.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.doesNotIncrease,!0).to.not.increase(t,r)};H.increasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new z(e,i,H.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};H.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.decreases,!0).to.decrease(t,r)};H.decreasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new z(e,i,H.decreasesBy,!0).to.decrease(t,r).by(n)};H.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new z(e,n,H.doesNotDecrease,!0).to.not.decrease(t,r)};H.doesNotDecreaseBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);return new z(e,i,H.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};H.decreasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){let o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new z(e,i,H.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};H.ifError=function(e){if(e)throw e};H.isExtensible=function(e,t){new z(e,t,H.isExtensible,!0).to.be.extensible};H.isNotExtensible=function(e,t){new z(e,t,H.isNotExtensible,!0).to.not.be.extensible};H.isSealed=function(e,t){new z(e,t,H.isSealed,!0).to.be.sealed};H.isNotSealed=function(e,t){new z(e,t,H.isNotSealed,!0).to.not.be.sealed};H.isFrozen=function(e,t){new z(e,t,H.isFrozen,!0).to.be.frozen};H.isNotFrozen=function(e,t){new z(e,t,H.isNotFrozen,!0).to.not.be.frozen};H.isEmpty=function(e,t){new z(e,t,H.isEmpty,!0).to.be.empty};H.isNotEmpty=function(e,t){new z(e,t,H.isNotEmpty,!0).to.not.be.empty};H.containsSubset=function(e,t,r){new z(e,r).to.containSubset(t)};H.doesNotContainSubset=function(e,t,r){new z(e,r).to.not.containSubset(t)};var M3=[["isOk","ok"],["isNotOk","notOk"],["throws","throw"],["throws","Throw"],["isExtensible","extensible"],["isNotExtensible","notExtensible"],["isSealed","sealed"],["isNotSealed","notSealed"],["isFrozen","frozen"],["isNotFrozen","notFrozen"],["isEmpty","empty"],["isNotEmpty","notEmpty"],["isCallable","isFunction"],["isNotCallable","isNotFunction"],["containsSubset","containSubset"]];for(let[e,t]of M3)H[t]=H[e];var fb=[];function To(e){let t={use:To,AssertionError:lt,util:mn,config:Er,expect:Ji,assert:H,Assertion:z,...R1};return~fb.indexOf(e)||(e(t,mn),fb.push(e)),t}re(To,"use");var D1={};Rr(D1,{toAppearAfter:()=>N6,toAppearBefore:()=>Fp,toBeChecked:()=>m_,toBeDisabled:()=>s_,toBeEmpty:()=>z1,toBeEmptyDOMElement:()=>G1,toBeEnabled:()=>u_,toBeInTheDOM:()=>xp,toBeInTheDocument:()=>H1,toBeInvalid:()=>d_,toBePartiallyChecked:()=>g_,toBePartiallyPressed:()=>w_,toBePressed:()=>A_,toBeRequired:()=>l_,toBeValid:()=>p_,toBeVisible:()=>r_,toContainElement:()=>Rp,toContainHTML:()=>W1,toHaveAccessibleDescription:()=>Dp,toHaveAccessibleErrorMessage:()=>Y1,toHaveAccessibleName:()=>Op,toHaveAttribute:()=>X1,toHaveClass:()=>Q1,toHaveDescription:()=>b_,toHaveDisplayValue:()=>h_,toHaveErrorMessage:()=>v_,toHaveFocus:()=>Z1,toHaveFormValues:()=>e_,toHaveRole:()=>Pp,toHaveSelection:()=>E_,toHaveStyle:()=>Ip,toHaveTextContent:()=>K1,toHaveValue:()=>f_});var hb=or(aA(),1);function P1(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Am(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var O1={};P1(O1);Am(O1,"default",()=>I1);var I1=class extends Error{constructor(e,t,r,n,i){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=i}},F1={};P1(F1);Am(F1,"default",()=>N1);var N1=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},j3={};Am(j3,"CssTypes",()=>Qt);var Qt;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Qt||(Qt={}));var Yc=/\/\*[^]*?(?:\*\/|$)/g,L3=(e,t)=>{t=t||{};let r=1,n=1;function i(G){let ie=G.match(/\n/g);ie&&(r+=ie.length);let fe=G.lastIndexOf(`
221
+ `);n=~fe?G.length-fe:n+G.length}function o(){let G={line:r,column:n};return function(ie){return ie.position=new N1(G,{line:r,column:n},t?.source||""),m(),ie}}let a=[];function s(G){let ie=new I1(t?.source||"",G,r,n,e);if(t?.silent)a.push(ie);else throw ie}function l(){let G=f();return{type:Qt.stylesheet,stylesheet:{source:t?.source,rules:G,parsingErrors:a}}}function u(){return h(/^{\s*/)}function d(){return h(/^}/)}function f(){let G,ie=[];for(m(),b(ie);e.length&&e.charAt(0)!=="}"&&(G=Pe()||X());)G&&(ie.push(G),b(ie));return ie}function h(G){let ie=G.exec(e);if(!ie)return;let fe=ie[0];return i(fe),e=e.slice(fe.length),ie}function m(){h(/^\s*/)}function b(G){let ie;for(G=G||[];ie=y();)ie&&G.push(ie);return G}function y(){let G=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let ie=h(/^\/\*[^]*?\*\//);return ie?G({type:Qt.comment,comment:ie[0].slice(2,-2)}):s("End of comment missing")}function A(G,ie,fe){let he=ie+1,se=!1,xe=G.indexOf(")",he);for(;!se&&xe!==-1;){let Se=G.indexOf("(",he);Se!==-1&&Se<xe?(he=A(G,Se+1)+1,xe=G.indexOf(")",he)):se=!0}return se&&xe!==-1?xe:-1}function E(){let G=h(/^([^{]+)/);if(!G)return;let ie=qr(G[0]).replace(Yc,"");if(ie.indexOf(",")===-1)return[ie];let fe=0,he=ie.indexOf("(",fe);for(;he!==-1;){let se=A(ie,he);if(se===-1)break;fe=se+1,ie=ie.substring(0,he)+ie.substring(he,se).replace(/,/g,"‌")+ie.substring(se),he=ie.indexOf("(",fe)}return ie=ie.replace(/("|')(?:\\\1|.)*?\1/g,se=>se.replace(/,/g,"‌")),ie.split(",").map(se=>qr(se.replace(/\u200C/g,",")))}function _(){let G=o(),ie=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!ie)return;let fe=qr(ie[0]);if(!h(/^:\s*/))return s("property missing ':'");let he=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),se=G({type:Qt.declaration,property:fe.replace(Yc,""),value:he?qr(he[0]).replace(Yc,""):""});return h(/^[;\s]*/),se}function I(){let G=[];if(!u())return s("missing '{'");b(G);let ie;for(;ie=_();)ie&&(G.push(ie),b(G));return d()?G:s("missing '}'")}function P(){let G,ie=[],fe=o();for(;G=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)ie.push(G[1]),h(/^,\s*/);if(ie.length)return fe({type:Qt.keyframe,values:ie,declarations:I()||[]})}function x(){let G=o(),ie=h(/^@([-\w]+)?keyframes\s*/);if(!ie)return;let fe=ie[1],he=h(/^([-\w]+)\s*/);if(!he)return s("@keyframes missing name");let se=he[1];if(!u())return s("@keyframes missing '{'");let xe,Se=b();for(;xe=P();)Se.push(xe),Se=Se.concat(b());return d()?G({type:Qt.keyframes,name:se,vendor:fe,keyframes:Se}):s("@keyframes missing '}'")}function g(){let G=o(),ie=h(/^@supports *([^{]+)/);if(!ie)return;let fe=qr(ie[1]);if(!u())return s("@supports missing '{'");let he=b().concat(f());return d()?G({type:Qt.supports,supports:fe,rules:he}):s("@supports missing '}'")}function w(){let G=o();if(!h(/^@host\s*/))return;if(!u())return s("@host missing '{'");let ie=b().concat(f());return d()?G({type:Qt.host,rules:ie}):s("@host missing '}'")}function C(){let G=o(),ie=h(/^@container *([^{]+)/);if(!ie)return;let fe=qr(ie[1]);if(!u())return s("@container missing '{'");let he=b().concat(f());return d()?G({type:Qt.container,container:fe,rules:he}):s("@container missing '}'")}function R(){let G=o(),ie=h(/^@layer *([^{;@]+)/);if(!ie)return;let fe=qr(ie[1]);if(!u())return h(/^[;\s]*/),G({type:Qt.layer,layer:fe});let he=b().concat(f());return d()?G({type:Qt.layer,layer:fe,rules:he}):s("@layer missing '}'")}function j(){let G=o(),ie=h(/^@media *([^{]+)/);if(!ie)return;let fe=qr(ie[1]);if(!u())return s("@media missing '{'");let he=b().concat(f());return d()?G({type:Qt.media,media:fe,rules:he}):s("@media missing '}'")}function B(){let G=o(),ie=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(ie)return G({type:Qt.customMedia,name:qr(ie[1]),media:qr(ie[2])})}function U(){let G=o();if(!h(/^@page */))return;let ie=E()||[];if(!u())return s("@page missing '{'");let fe=b(),he;for(;he=_();)fe.push(he),fe=fe.concat(b());return d()?G({type:Qt.page,selectors:ie,declarations:fe}):s("@page missing '}'")}function $(){let G=o(),ie=h(/^@([-\w]+)?document *([^{]+)/);if(!ie)return;let fe=qr(ie[1]),he=qr(ie[2]);if(!u())return s("@document missing '{'");let se=b().concat(f());return d()?G({type:Qt.document,document:he,vendor:fe,rules:se}):s("@document missing '}'")}function k(){let G=o();if(!h(/^@font-face\s*/))return;if(!u())return s("@font-face missing '{'");let ie=b(),fe;for(;fe=_();)ie.push(fe),ie=ie.concat(b());return d()?G({type:Qt.fontFace,declarations:ie}):s("@font-face missing '}'")}function V(){let G=o();if(!h(/^@starting-style\s*/))return;if(!u())return s("@starting-style missing '{'");let ie=b().concat(f());return d()?G({type:Qt.startingStyle,rules:ie}):s("@starting-style missing '}'")}let W=we("import"),Y=we("charset"),ne=we("namespace");function we(G){let ie=new RegExp("^@"+G+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let fe=o(),he=h(ie);if(!he)return;let se={type:G};return se[G]=he[1].trim(),fe(se)}}function Pe(){if(e[0]==="@")return x()||j()||B()||g()||W()||Y()||ne()||$()||U()||w()||k()||C()||V()||R()}function X(){let G=o(),ie=E();return ie?(b(),G({type:Qt.rule,selectors:ie,declarations:I()||[]})):s("selector missing")}return Cp(l())};function qr(e){return e?e.trim():""}function Cp(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let i in e){let o=e[i];Array.isArray(o)?o.forEach(a=>{Cp(a,n)}):o&&typeof o=="object"&&Cp(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var q3=L3,$3=q3,V3=Object.prototype.toString;function U3(e){return typeof e=="function"||V3.call(e)==="[object Function]"}function J3(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var H3=Math.pow(2,53)-1;function z3(e){var t=J3(e);return Math.min(Math.max(t,0),H3)}function Zr(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var i=z3(n.length),o=U3(r)?Object(new r(i)):new Array(i),a=0,s;a<i;)s=n[a],o[a]=s,a+=1;return o.length=i,o}function Qa(e){"@babel/helpers - typeof";return Qa=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qa(e)}function G3(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function W3(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,k1(n.key),n)}}function K3(e,t,r){return t&&W3(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function Y3(e,t,r){return t=k1(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function k1(e){var t=X3(e,"string");return Qa(t)==="symbol"?t:String(t)}function X3(e,t){if(Qa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Qa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Q3=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];G3(this,e),Y3(this,"items",void 0),this.items=t}return K3(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),Z3=typeof Set>"u"?Set:Q3;function yr(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var e2={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},t2={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function r2(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=t2[t])!==null&&n!==void 0&&n.has(r))})}function B1(e,t){return r2(e,t)}function n2(e){var t=o2(e);if(t===null||Tp.indexOf(t)!==-1){var r=i2(e);if(Tp.indexOf(t||"")===-1||B1(e,r||""))return r}return t}function i2(e){var t=e2[yr(e)];if(t!==void 0)return t;switch(yr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!B1(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function o2(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Tp=["presentation","none"];function Bt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function M1(e){return Bt(e)&&yr(e)==="caption"}function Tu(e){return Bt(e)&&yr(e)==="input"}function a2(e){return Bt(e)&&yr(e)==="optgroup"}function s2(e){return Bt(e)&&yr(e)==="select"}function u2(e){return Bt(e)&&yr(e)==="table"}function l2(e){return Bt(e)&&yr(e)==="textarea"}function c2(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function d2(e){return Bt(e)&&yr(e)==="fieldset"}function p2(e){return Bt(e)&&yr(e)==="legend"}function f2(e){return Bt(e)&&yr(e)==="slot"}function h2(e){return Bt(e)&&e.ownerSVGElement!==void 0}function m2(e){return Bt(e)&&yr(e)==="svg"}function y2(e){return h2(e)&&yr(e)==="title"}function Zu(e,t){if(Bt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function kn(e,t){return Bt(e)?t.indexOf(n2(e))!==-1:!1}function g2(e){return e.trim().replace(/\s\s+/g," ")}function b2(e,t){if(!Bt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function v2(e){return kn(e,["button","combobox","listbox","textbox"])||j1(e)}function j1(e,t){return Bt(e)?kn(e,["meter","progressbar","scrollbar","slider","spinbutton"]):!1}function mb(e,t){var r=Zr(e.querySelectorAll(t));return Zu(e,"aria-owns").forEach(function(n){r.push.apply(r,Zr(n.querySelectorAll(t)))}),r}function E2(e){return s2(e)?e.selectedOptions||mb(e,"[selected]"):mb(e,'[aria-selected="true"]')}function A2(e){return kn(e,Tp)}function w2(e){return M1(e)}function S2(e){return kn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function _2(e){return!1}function C2(e){return Tu(e)||l2(e)?e.value:e.textContent||""}function yb(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function L1(e){var t=yr(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function q1(e){if(L1(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Bt(r)){var n=q1(r);n!==null&&(t=n)}}),t}function T2(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):q1(e)}function x2(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Zr(t);if(!L1(e))return null;var r=e.ownerDocument;return Zr(r.querySelectorAll("label")).filter(function(n){return T2(n)===e})}function R2(e){var t=e.assignedNodes();return t.length===0?Zr(e.childNodes):t}function $1(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Z3,n=c2(e),i=t.compute,o=i===void 0?"name":i,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,d=t.hidden,f=d===void 0?!1:d;function h(E,_){var I="";if(Bt(E)&&s){var P=u(E,"::before"),x=yb(P);I="".concat(x," ").concat(I)}var g=f2(E)?R2(E):Zr(E.childNodes).concat(Zu(E,"aria-owns"));if(g.forEach(function(R){var j=A(R,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=Bt(R)?u(R).getPropertyValue("display"):"inline",U=B!=="inline"?" ":"";I+="".concat(U).concat(j).concat(U)}),Bt(E)&&s){var w=u(E,"::after"),C=yb(w);I="".concat(I," ").concat(C)}return I.trim()}function m(E,_){var I=E.getAttributeNode(_);return I!==null&&!r.has(I)&&I.value.trim()!==""?(r.add(I),I.value):null}function b(E){return Bt(E)?m(E,"title"):null}function y(E){if(!Bt(E))return null;if(d2(E)){r.add(E);for(var _=Zr(E.childNodes),I=0;I<_.length;I+=1){var P=_[I];if(p2(P))return A(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(u2(E)){r.add(E);for(var x=Zr(E.childNodes),g=0;g<x.length;g+=1){var w=x[g];if(M1(w))return A(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(m2(E)){r.add(E);for(var C=Zr(E.childNodes),R=0;R<C.length;R+=1){var j=C[R];if(y2(j))return j.textContent}return null}else if(yr(E)==="img"||yr(E)==="area"){var B=m(E,"alt");if(B!==null)return B}else if(a2(E)){var U=m(E,"label");if(U!==null)return U}if(Tu(E)&&(E.type==="button"||E.type==="submit"||E.type==="reset")){var $=m(E,"value");if($!==null)return $;if(E.type==="submit")return"Submit";if(E.type==="reset")return"Reset"}var k=x2(E);if(k!==null&&k.length!==0)return r.add(E),Zr(k).map(function(ne){return A(ne,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ne){return ne.length>0}).join(" ");if(Tu(E)&&E.type==="image"){var V=m(E,"alt");if(V!==null)return V;var W=m(E,"title");return W!==null?W:"Submit Query"}if(kn(E,["button"])){var Y=h(E,{isEmbeddedInLabel:!1});if(Y!=="")return Y}return null}function A(E,_){if(r.has(E))return"";if(!f&&b2(E,u)&&!_.isReferenced)return r.add(E),"";var I=Bt(E)?E.getAttributeNode("aria-labelledby"):null,P=I!==null&&!r.has(I)?Zu(E,"aria-labelledby"):[];if(o==="name"&&!_.isReferenced&&P.length>0)return r.add(I),P.map(function(B){return A(B,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var x=_.recursion&&v2(E)&&o==="name";if(!x){var g=(Bt(E)&&E.getAttribute("aria-label")||"").trim();if(g!==""&&o==="name")return r.add(E),g;if(!A2(E)){var w=y(E);if(w!==null)return r.add(E),w}}if(kn(E,["menu"]))return r.add(E),"";if(x||_.isEmbeddedInLabel||_.isReferenced){if(kn(E,["combobox","listbox"])){r.add(E);var C=E2(E);return C.length===0?Tu(E)?E.value:"":Zr(C).map(function(B){return A(B,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(j1(E))return r.add(E),E.hasAttribute("aria-valuetext")?E.getAttribute("aria-valuetext"):E.hasAttribute("aria-valuenow")?E.getAttribute("aria-valuenow"):E.getAttribute("value")||"";if(kn(E,["textbox"]))return r.add(E),C2(E)}if(S2(E)||Bt(E)&&_.isReferenced||w2(E)||_2()){var R=h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel});if(R!=="")return r.add(E),R}if(E.nodeType===E.TEXT_NODE)return r.add(E),E.textContent||"";if(_.recursion)return r.add(E),h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel});var j=b(E);return j!==null?(r.add(E),j):(r.add(E),"")}return g2(A(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function Za(e){"@babel/helpers - typeof";return Za=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Za(e)}function gb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function bb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?gb(Object(r),!0).forEach(function(n){D2(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function D2(e,t,r){return t=P2(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function P2(e){var t=O2(e,"string");return Za(t)==="symbol"?t:String(t)}function O2(e,t){if(Za(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Za(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function I2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Zu(e,"aria-describedby").map(function(o){return $1(o,bb(bb({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var i=e.getAttribute("title");r=i===null?"":i}return r}function F2(e){return kn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function N2(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return F2(e)?"":$1(e,t)}var wm=or(Qf(),1),k2=or(Yf(),1),B2=or(sA(),1),V1=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let i="";try{i=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,i].join(`
222
+ `)}},vb=class extends V1{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},Eb=class extends V1{constructor(...e){super("be a Node",...e)}};function U1(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function M2(e,...t){U1(e,Eb,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Eb(e,...t)}function ot(e,...t){U1(e,vb,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new vb(e,...t)}var j2=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
223
+ `)}};function L2(e,...t){let r=$3(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:i}=r.parsingErrors[0];throw new j2({css:e,message:`Syntax error parsing expected css: ${n} on line: ${i}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:i,value:o})=>Object.assign(n,{[i]:o}),{})}function Ab(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function nr(e,t,r,n,i,o){return[`${t}
224
+ `,`${r}:
225
+ ${e.utils.EXPECTED_COLOR((0,hb.default)(Ab(e,n),2))}`,`${i}:
226
+ ${e.utils.RECEIVED_COLOR((0,hb.default)(Ab(e,o),2))}`].join(`
227
+ `)}function q2(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function Gl(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function Wl(e){return e.replace(/\s+/g," ").trim()}function fi(e){return e.tagName&&e.tagName.toLowerCase()}function $2({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function V2(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var U2=["meter","progressbar","slider","spinbutton"];function J2(e){if(U2.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function J1(e){if(e)switch(e.tagName.toLowerCase()){case"input":return V2(e);case"select":return $2(e);default:return e.value??J2(e)}}function H2(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function Sm(e,t){return Array.isArray(e)&&Array.isArray(t)?[...new Set(e)].every(r=>new Set(t).has(r)):e===t}function xp(e,t){return Gl("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&ot(e,xp,this),t&&ot(t,xp,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
228
+ `)}}function H1(e){(e!==null||!this.isNot)&&ot(e,H1,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
229
+ `)}}function z1(e){return Gl("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),ot(e,z1,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
230
+ `)}}function G1(e){return ot(e,G1,this),{pass:z2(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
231
+ `)}}function z2(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function Rp(e,t){return ot(e,Rp,this),t!==null&&ot(t,Rp,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
232
+ `)].join(`
233
+ `)}}function G2(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function W1(e,t){if(ot(e,W1,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(G2(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
234
+ `)}}function K1(e,t,r={normalizeWhitespace:!0}){M2(e,K1,this);let n=r.normalizeWhitespace?Wl(e.textContent):e.textContent.replace(/\u00a0/g," "),i=n!==""&&t==="";return{pass:!i&&q2(n,t),message:()=>{let o=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),i?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)}}}function Dp(e,t){ot(e,Dp,this);let r=I2(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let o=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Dp.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)}}}var ha="aria-invalid",W2=["false"];function Y1(e,t){ot(e,Y1,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",i=e.getAttribute("aria-errormessage");if(i&&/\s+/.test(i))return{pass:!1,message:()=>nr(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${i}"`)};let o=e.getAttribute(ha);if(!e.hasAttribute(ha)||W2.includes(o))return{pass:!1,message:()=>nr(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${ha}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${ha}="${e.getAttribute(ha)}`:null)};let a=Wl(e.ownerDocument.getElementById(i)?.textContent??"");return{pass:t===void 0?!!a:t instanceof RegExp?t.test(a):this.equals(a,t),message:()=>nr(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",a)}}var K2=Q2(wm.elementRoles);function Pp(e,t){ot(e,Pp,this);let r=Y2(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Pp.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function Y2(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):X2(e)}function X2(e){for(let{match:t,roles:r}of K2)if(t(e))return[...r];return[]}function Q2(e){function t({name:a,attributes:s}){return`${a}${s.map(({name:l,value:u,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${l}])`:u?`[${l}="${u}"]`:`[${l}]`).join("")}`}function r({attributes:a=[]}){return a.length}function n({specificity:a},{specificity:s}){return s-a}function i(a){let{attributes:s=[]}=a,l=s.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let u=t({...a,attributes:s});return d=>l>=0&&d.type!=="text"?!1:d.matches(u)}let o=[];for(let[a,s]of e.entries())o=[...o,{match:i(a),roles:Array.from(s),specificity:r(a)}];return o.sort(n)}function Op(e,t){ot(e,Op,this);let r=N2(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:()=>{let o=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.${Op.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)}}}function wb(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function Z2(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function X1(e,t,r){ot(e,X1,this);let n=r!==void 0,i=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?i&&this.equals(o,r):i,message:()=>{let a=this.isNot?"not to":"to",s=i?wb(this.utils.stringify,t,o):null,l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:Z2(this.utils.stringify,t,r)});return nr(this,l,`Expected the element ${a} have attribute`,wb(this.utils.stringify,t,r),"Received",s)}}}function e6(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function Sb(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function _b(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function Q1(e,...t){ot(e,Q1,this);let{expectedClassNames:r,options:n}=e6(t),i=Sb(e.getAttribute("class")),o=r.reduce((s,l)=>s.concat(typeof l=="string"||!l?Sb(l):l),[]),a=o.some(s=>s instanceof RegExp);if(n.exact&&a)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:_b(o,i)&&o.length===i.length,message:()=>{let s=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${s} have EXACTLY defined classes`,o.join(" "),"Received",i.join(" "))}}:o.length>0?{pass:_b(o,i),message:()=>{let s=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${s} have class`,o.join(" "),"Received",i.join(" "))}}:{pass:this.isNot?i.length>0:!1,message:()=>this.isNot?nr(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",i.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
235
+ `)}}function t6(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(i=>{n.style[i]=t[i],r[i]=n.style[i]}),r}function r6(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let i=r.startsWith("--"),o=[r];return i||o.push(r.toLowerCase()),o.some(a=>t[a]===n||t.getPropertyValue(a)===n)})}function Cb(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
236
+ `)}function n6(e,t,r){let n=Array.from(r).filter(i=>t[i]!==void 0).reduce((i,o)=>Object.assign(i,{[o]:r.getPropertyValue(o)}),{});return e(Cb(t),Cb(n)).replace(`${k2.default.red("+ Received")}
237
+ `,"")}function Ip(e,t){ot(e,Ip,this);let r=typeof t=="object"?t:L2(t,Ip,this),{getComputedStyle:n}=e.ownerDocument.defaultView,i=t6(e.ownerDocument,r),o=n(e);return{pass:r6(i,o),message:()=>{let a=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(a,"element",""),n6(this.utils.diff,i,o)].join(`
238
+
239
+ `)}}}function Z1(e){return ot(e,Z1,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
240
+ `)}}function i6(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function o6(e,t){let r=[...e.querySelectorAll(`[name="${(0,B2.default)(t)}"]`)];if(r.length!==0)return r.length===1?J1(r[0]):i6(r)}function a6(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function s6(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[a6(r)]:o6(e,r)}),{})}function e_(e,t){if(ot(e,e_,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=s6(e);return{pass:Object.entries(t).every(([n,i])=>Sm(r[n],i)),message:()=>{let n=this.isNot?"not to":"to",i=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(a=>t.hasOwnProperty(a)).reduce((a,s)=>({...a,[s]:r[s]}),{});return[this.utils.matcherHint(i,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(`
241
+
242
+ `)}}}function u6(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:i}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&i!=="0"&&i!==0}function l6(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function t_(e,t){return u6(e)&&l6(e,t)&&(!e.parentElement||t_(e.parentElement,e))}function r_(e){ot(e,r_,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&t_(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
243
+ `)}}}var c6=["fieldset","input","select","optgroup","option","button","textarea"];function d6(e,t){return fi(e)==="legend"&&fi(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>fi(r)==="legend"))}function p6(e,t){return i_(t)&&!d6(e,t)}function f6(e){return e.includes("-")}function n_(e){let t=fi(e);return c6.includes(t)||f6(t)}function i_(e){return n_(e)&&e.hasAttribute("disabled")}function o_(e){let t=e.parentElement;return!!t&&(p6(e,t)||o_(t))}function a_(e){return n_(e)&&(i_(e)||o_(e))}function s_(e){ot(e,s_,this);let t=a_(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
244
+ `)}}}function u_(e){ot(e,u_,this);let t=!a_(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
245
+ `)}}}var h6=["select","textarea"],m6=["input","select","textarea"],y6=["color","hidden","range","submit","image","reset"],g6=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function b6(e){return h6.includes(fi(e))&&e.hasAttribute("required")}function v6(e){return fi(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!y6.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function E6(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(m6.includes(fi(e))||e.hasAttribute("role")&&g6.includes(e.getAttribute("role")))}function l_(e){ot(e,l_,this);let t=b6(e)||v6(e)||E6(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
246
+ `)}}}var A6=["form","input","select","textarea"];function w6(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function S6(e){return A6.includes(fi(e))}function c_(e){let t=w6(e);return S6(e)?t||!e.checkValidity():t}function d_(e){ot(e,d_,this);let t=c_(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
247
+ `)}}}function p_(e){ot(e,p_,this);let t=!c_(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
248
+ `)}}}function f_(e,t){if(ot(e,f_,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=J1(e),n=t!==void 0,i=t,o=r;return t==r&&t!==r&&(i=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?Sm(r,t):!!r,message:()=>{let a=this.isNot?"not to":"to",s=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return nr(this,s,`Expected the element ${a} have value`,n?i:"(any)","Received",o)}}}function h_(e,t){ot(e,h_,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=_6(r,e),i=C6(t),o=i.filter(l=>n.some(u=>l instanceof RegExp?l.test(u):this.equals(u,String(l)))).length,a=o===n.length,s=o===i.length;return{pass:a&&s,message:()=>nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function _6(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function C6(e){return e instanceof Array?e:[e]}function m_(e){ot(e,m_,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>y_(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${T6()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${i} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
249
+ `)}}}function T6(){return H2(x6().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function x6(){return wm.roles.keys().filter(y_)}function y_(e){return wm.roles.get(e)?.props["aria-checked"]!==void 0}function g_(e){ot(e,g_,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let i=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||i};return{pass:n(),message:()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${i} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
250
+ `)}}}function b_(e,t){Gl("toHaveDescription","Please use toHaveAccessibleDescription."),ot(e,b_,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let o=e.ownerDocument,a=n.map(s=>o.getElementById(s)).filter(Boolean);i=Wl(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let o=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}function v_(e,t){if(Gl("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),ot(e,v_,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:()=>nr(this,this.utils.matcherHint(`${o}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let o=e.ownerDocument,a=n.map(s=>o.getElementById(s)).filter(Boolean);i=Wl(a.map(s=>s.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:()=>{let o=this.isNot?"not to":"to";return nr(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))}}}function R6(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let o=e===r.startContainer||e.contains(r.startContainer),a=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(o||a)&&(n.selectNodeContents(e),o&&n.setStart(r.startContainer,r.startOffset),a&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let i=t.toString();return t.removeAllRanges(),t.addRange(r),i}function E_(e,t){ot(e,E_,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=R6(e);return{pass:r?Sm(n,t):!!n,message:()=>{let i=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return nr(this,o,`Expected the element ${i} have selection`,r?t:"(any)","Received",n)}}}function A_(e){ot(e,A_,this);let t=(e.getAttribute("role")||"").split(" ").map(i=>i.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePressed()'}:{pass:r&&n==="true",message:()=>{let i=this.utils.matcherHint(`${this.isNot?".not":""}.toBePressed`,"element","");return nr(this,i,"Expected element to have",`aria-pressed="${this.isNot?"false":"true"}"`,"Received",`aria-pressed="${n}"`)}}}function w_(e){ot(e,w_,this);let t=(e.getAttribute("role")||"").split(" ").map(i=>i.trim()),r=e.tagName.toLowerCase()==="button"||e.tagName.toLowerCase()==="input"&&e.type==="button"||t.includes("button"),n=e.getAttribute("aria-pressed");return!r||!(n==="true"||n==="false"||n==="mixed")?{pass:!1,message:()=>'Only button or input with type="button" or element with role="button" and a valid aria-pressed attribute can be used with .toBePartiallyPressed()'}:{pass:r&&n==="mixed",message:()=>{let i=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyPressed`,"element","");return nr(this,o,`Expected element ${i} have`,'aria-pressed="mixed"',"Received",`aria-pressed="${n}"`)}}}var D6=1,S_=2,__=4,P6=8,O6=16,I6=32,Tb={[D6]:"Node.DOCUMENT_POSITION_DISCONNECTED",[S_]:"Node.DOCUMENT_POSITION_PRECEDING",[__]:"Node.DOCUMENT_POSITION_FOLLOWING",[P6]:"Node.DOCUMENT_POSITION_CONTAINS",[O6]:"Node.DOCUMENT_POSITION_CONTAINED_BY",[I6]:"Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC"};function F6(e){return e in Tb?`${Tb[e]} (${e})`:`Unknown document position (${e})`}function C_(e,t){return function(r,n){ot(r,Fp,this),ot(n,Fp,this);let i=r.compareDocumentPosition(n);return{pass:i===t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.${e}`,"element","secondElement"),"",`Received: ${F6(i)}`].join(`
251
+ `)}}}function Fp(e,t){return C_("toAppearBefore",__).apply(this,[e,t])}function N6(e,t){return C_("toAppearAfter",S_).apply(this,[e,t])}or(aA(),1);or(Qf(),1);or(Yf(),1);or(sA(),1);var Xc,xb;function k6(){if(xb)return Xc;xb=1;var e,t,r,n,i,o,a,s,l,u,d,f,h,m,b,y,A,E,_;return h=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,f=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,b=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,d=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y,y=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,_=/[\t\v\f\ufeff\p{Zs}]+/yu,s=/\r?\n|[\r\u2028\u2029]/y,l=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,m=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,E=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,A=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,o=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,a=/^(?:return|throw|yield)$/,u=RegExp(s.source),Xc=function*(I,{jsx:P=!1}={}){var x,g,w,C,R,j,B,U,$,k,V,W,Y,ne;for({length:j}=I,C=0,R="",ne=[{tag:"JS"}],x=[],V=0,W=!1;C<j;){switch(U=ne[ne.length-1],U.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(I[C]==="/"&&(E.test(R)||o.test(R))&&(h.lastIndex=C,B=h.exec(I))){C=h.lastIndex,R=B[0],W=!0,yield{type:"RegularExpressionLiteral",value:B[0],closed:B[1]!==void 0&&B[1]!=="\\"};continue}if(f.lastIndex=C,B=f.exec(I)){switch(Y=B[0],$=f.lastIndex,k=Y,Y){case"(":R==="?NonExpressionParenKeyword"&&ne.push({tag:"JSNonExpressionParen",nesting:V}),V++,W=!1;break;case")":V--,W=!0,U.tag==="JSNonExpressionParen"&&V===U.nesting&&(ne.pop(),k="?NonExpressionParenEnd",W=!1);break;case"{":f.lastIndex=0,w=!A.test(R)&&(E.test(R)||o.test(R)),x.push(w),W=!1;break;case"}":switch(U.tag){case"InterpolationInTemplate":if(x.length===U.nesting){y.lastIndex=C,B=y.exec(I),C=y.lastIndex,R=B[0],B[1]==="${"?(R="?InterpolationInTemplate",W=!1,yield{type:"TemplateMiddle",value:B[0]}):(ne.pop(),W=!0,yield{type:"TemplateTail",value:B[0],closed:B[1]==="`"});continue}break;case"InterpolationInJSX":if(x.length===U.nesting){ne.pop(),C+=1,R="}",yield{type:"JSXPunctuator",value:"}"};continue}}W=x.pop(),k=W?"?ExpressionBraceEnd":"}";break;case"]":W=!0;break;case"++":case"--":k=W?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(P&&(E.test(R)||o.test(R))){ne.push({tag:"JSXTag"}),C+=1,R="<",yield{type:"JSXPunctuator",value:Y};continue}W=!1;break;default:W=!1}C=$,R=k,yield{type:"Punctuator",value:Y};continue}if(e.lastIndex=C,B=e.exec(I)){switch(C=e.lastIndex,k=B[0],B[0]){case"for":case"if":case"while":case"with":R!=="."&&R!=="?."&&(k="?NonExpressionParenKeyword")}R=k,W=!o.test(B[0]),yield{type:B[1]==="#"?"PrivateIdentifier":"IdentifierName",value:B[0]};continue}if(b.lastIndex=C,B=b.exec(I)){C=b.lastIndex,R=B[0],W=!0,yield{type:"StringLiteral",value:B[0],closed:B[2]!==void 0};continue}if(d.lastIndex=C,B=d.exec(I)){C=d.lastIndex,R=B[0],W=!0,yield{type:"NumericLiteral",value:B[0]};continue}if(y.lastIndex=C,B=y.exec(I)){C=y.lastIndex,R=B[0],B[1]==="${"?(R="?InterpolationInTemplate",ne.push({tag:"InterpolationInTemplate",nesting:x.length}),W=!1,yield{type:"TemplateHead",value:B[0]}):(W=!0,yield{type:"NoSubstitutionTemplate",value:B[0],closed:B[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=C,B=r.exec(I)){switch(C=r.lastIndex,k=B[0],B[0]){case"<":ne.push({tag:"JSXTag"});break;case">":ne.pop(),R==="/"||U.tag==="JSXTagEnd"?(k="?JSX",W=!0):ne.push({tag:"JSXChildren"});break;case"{":ne.push({tag:"InterpolationInJSX",nesting:x.length}),k="?InterpolationInJSX",W=!1;break;case"/":R==="<"&&(ne.pop(),ne[ne.length-1].tag==="JSXChildren"&&ne.pop(),ne.push({tag:"JSXTagEnd"}))}R=k,yield{type:"JSXPunctuator",value:B[0]};continue}if(t.lastIndex=C,B=t.exec(I)){C=t.lastIndex,R=B[0],yield{type:"JSXIdentifier",value:B[0]};continue}if(n.lastIndex=C,B=n.exec(I)){C=n.lastIndex,R=B[0],yield{type:"JSXString",value:B[0],closed:B[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=C,B=i.exec(I)){C=i.lastIndex,R=B[0],yield{type:"JSXText",value:B[0]};continue}switch(I[C]){case"<":ne.push({tag:"JSXTag"}),C++,R="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":ne.push({tag:"InterpolationInJSX",nesting:x.length}),C++,R="?InterpolationInJSX",W=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(_.lastIndex=C,B=_.exec(I)){C=_.lastIndex,yield{type:"WhiteSpace",value:B[0]};continue}if(s.lastIndex=C,B=s.exec(I)){C=s.lastIndex,W=!1,a.test(R)&&(R="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:B[0]};continue}if(l.lastIndex=C,B=l.exec(I)){C=l.lastIndex,u.test(B[0])&&(W=!1,a.test(R)&&(R="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:B[0],closed:B[1]!==void 0};continue}if(m.lastIndex=C,B=m.exec(I)){C=m.lastIndex,W=!1,yield{type:"SingleLineComment",value:B[0]};continue}g=String.fromCodePoint(I.codePointAt(C)),C+=g.length,R=g,W=!1,yield{type:U.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:g}}},Xc}var B6=k6();SS(B6);var T_={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]};new Set(T_.keyword);new Set(T_.strict);var M6={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},x_=Object.entries(M6);function Kl(e){return String(e)}Kl.open="";Kl.close="";x_.reduce((e,[t])=>(e[t]=Kl,e),{isColorSupported:!1});function j6(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function L6(e=!1){let t=j6(e),r=(a,s,l,u)=>{let d="",f=0;do d+=a.substring(f,u)+l,f=u+s.length,u=a.indexOf(s,f);while(~u);return d+a.substring(f)},n=(a,s,l=a)=>{let u=d=>{let f=String(d),h=f.indexOf(s,a.length);return~h?a+r(f,s,l,h)+s:a+f+s};return u.open=a,u.close=s,u},i={isColorSupported:t},o=a=>`\x1B[${a}m`;for(let[a,s]of x_)i[a]=t?n(o(s[0]),o(s[1]),s[2]):Kl;return i}var Fr=L6();function xu(e,t){if(!e)throw new Error(t)}function wo(e,t){return typeof t===e}function q6(e){return e instanceof Promise}function es(e,t,r){Object.defineProperty(e,t,r)}function xo(e,t,r){es(e,t,{value:r,configurable:!0,writable:!0})}var hi=Symbol.for("tinyspy:spy"),$6=new Set,V6=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},U6=e=>(es(e,hi,{value:{reset:()=>V6(e[hi])}}),e[hi]),Np=e=>e[hi]||U6(e);function J6(e){xu(wo("function",e)||wo("undefined",e),"cannot spy on a non-function value");let t=function(...n){let i=Np(t);i.called=!0,i.callCount++,i.calls.push(n);let o=i.next.shift();if(o){i.results.push(o);let[d,f]=o;if(d==="ok")return f;throw f}let a,s="ok",l=i.results.length;if(i.impl)try{new.target?a=Reflect.construct(i.impl,n,new.target):a=i.impl.apply(this,n),s="ok"}catch(d){throw a=d,s="error",i.results.push([s,d]),d}let u=[s,a];return q6(a)&&a.then(d=>i.resolves[l]=["ok",d],d=>i.resolves[l]=["error",d]),i.results.push(u),a};xo(t,"_isMockFunction",!0),xo(t,"length",e?e.length:0),xo(t,"name",e&&e.name||"spy");let r=Np(t);return r.reset(),r.impl=e,t}function H6(e){return!!e&&e._isMockFunction===!0}var R_=(e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return[n,i];n=Object.getPrototypeOf(n)}},Rb=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function D_(e,t,r){xu(!wo("undefined",e),"spyOn could not find an object to spy upon"),xu(wo("object",e)||wo("function",e),"cannot spyOn on a primitive value");let[n,i]=(()=>{if(!wo("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),[o,a]=R_(e,n)||[];xu(a||n in e,`${String(n)} does not exist`);let s=!1;i==="value"&&a&&!a.value&&a.get&&(i="get",s=!0,r=a.get());let l;a?l=a[i]:i!=="value"?l=()=>e[n]:l=e[n],l&&K6(l)&&(l=l[hi].getOriginal());let u=m=>{let{value:b,...y}=a||{configurable:!0,writable:!0};i!=="value"&&delete y.writable,y[i]=m,es(e,n,y)},d=()=>{o!==e?Reflect.deleteProperty(e,n):a&&!l?es(e,n,a):u(l)};r||(r=l);let f=W6(J6(r),r);i==="value"&&Rb(f,l);let h=f[hi];return xo(h,"restore",d),xo(h,"getOriginal",()=>s?l():l),xo(h,"willCall",m=>(h.impl=m,f)),u(s?()=>(Rb(f,r),f):f),$6.add(f),f}var z6=new Set(["length","name","prototype"]);function G6(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let i of n)r[i]||z6.has(i)||(t.add(i),r[i]=Object.getOwnPropertyDescriptor(e,i));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}function W6(e,t){if(!t||hi in t)return e;let{properties:r,descriptors:n}=G6(t);for(let i of r){let o=n[i];R_(e,i)||es(e,i,o)}return e}function K6(e){return H6(e)&&"getOriginal"in e[hi]}var Fs=new Set;function Ro(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function Y6(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,i,o=Q6(e,t),a=o&&o[r||"value"];Ro(a)&&(i=a.mock._state());try{let s=D_(e,n),l=P_(s);return i&&l.mock._state(i),l}catch(s){throw s instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(s.message.includes("Cannot redefine property")||s.message.includes("Cannot replace module namespace")||s.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:s}):s}}var X6=0;function P_(e){let t=e,r,n=[],i=!1,o=[],a=[],s=[],l=Np(e),u={get calls(){return l.calls},get contexts(){return a},get instances(){return o},get invocationCallOrder(){return s},get results(){return l.results.map(([m,b])=>({type:m==="error"?"throw":"return",value:b}))},get settledResults(){return l.resolves.map(([m,b])=>({type:m==="error"?"rejected":"fulfilled",value:b}))},get lastCall(){return l.calls[l.calls.length-1]},_state(m){return m&&(r=m.implementation,n=m.onceImplementations,i=m.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:i}}};function d(...m){return o.push(this),a.push(this),s.push(++X6),(i?r:n.shift()||r||l.getOriginal()||(()=>{})).apply(this,m)}let f=t.name;t.getMockName=()=>f||"vi.fn()",t.mockName=m=>(f=m,t),t.mockClear=()=>(l.reset(),o=[],a=[],s=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),l.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>i?r:n.at(0)||r,t.mockImplementation=m=>(r=m,l.willCall(d),t),t.mockImplementationOnce=m=>(n.push(m),t);function h(m,b){let y=r;r=m,l.willCall(d),i=!0;let A=()=>{r=y,i=!1},E=b();return typeof E=="object"&&E&&typeof E.then=="function"?E.then(()=>(A(),t)):(A(),t)}return t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=m=>t.mockImplementation(()=>m),t.mockReturnValueOnce=m=>t.mockImplementationOnce(()=>m),t.mockResolvedValue=m=>t.mockImplementation(()=>Promise.resolve(m)),t.mockResolvedValueOnce=m=>t.mockImplementationOnce(()=>Promise.resolve(m)),t.mockRejectedValue=m=>t.mockImplementation(()=>Promise.reject(m)),t.mockRejectedValueOnce=m=>t.mockImplementationOnce(()=>Promise.reject(m)),Object.defineProperty(t,"mock",{get:()=>u}),l.willCall(d),Fs.add(t),t}function Db(e){let t=P_(D_({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}function Q6(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}var ts=Symbol.for("matchers-object"),rs=Symbol.for("$$jest-matchers-object-storybook"),_m=Symbol.for("expect-global"),kp=Symbol.for("asymmetric-matchers-object"),Z6={toSatisfy(e,t,r){let{printReceived:n,printExpected:i,matcherHint:o}=this.utils,a=t(e);return{pass:a,message:()=>a?`${o(".not.toSatisfy","received","")}
252
+
253
+ Expected value to not satisfy:
254
+ ${r||i(t)}
255
+ Received:
256
+ ${n(e)}`:`${o(".toSatisfy","received","")}
257
+
258
+ Expected value to satisfy:
259
+ ${r||i(t)}
260
+
261
+ Received:
262
+ ${n(e)}`}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:i,printExpected:o,matcherHint:a}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${a(".toBeOneOf")}, not '${typeof t}'.`);let s=t.length===0||t.some(l=>r(l,e,n));return{pass:s,message:()=>s?`${a(".not.toBeOneOf","received","")}
263
+
264
+ Expected value to not be one of:
265
+ ${o(t)}
266
+ Received:
267
+ ${i(e)}`:`${a(".toBeOneOf","received","")}
268
+
269
+ Expected value to be one of:
270
+ ${o(t)}
271
+
272
+ Received:
273
+ ${i(e)}`}}},el=Fr.green,Cm=Fr.red,e8=Fr.inverse,t8=Fr.bold,oi=Fr.dim;function r8(e,t="received",r="expected",n={}){let{comment:i="",isDirectExpectCall:o=!1,isNot:a=!1,promise:s="",secondArgument:l="",expectedColor:u=el,receivedColor:d=Cm,secondArgumentColor:f=el}=n,h="",m="expect";return!o&&t!==""&&(h+=oi(`${m}(`)+d(t),m=")"),s!==""&&(h+=oi(`${m}.`)+s,m=""),a&&(h+=`${oi(`${m}.`)}not`,m=""),e.includes(".")?m+=e:(h+=oi(`${m}.`)+e,m=""),r===""?m+="()":(h+=oi(`${m}(`)+u(r),l&&(h+=oi(", ")+f(l)),m=")"),i!==""&&(m+=` // ${i}`),m!==""&&(h+=oi(m)),h}var n8="·";function O_(e){return e.replace(/\s+$/gm,t=>n8.repeat(t.length))}function i8(e){return Cm(O_(Br(e)))}function o8(e){return el(O_(Br(e)))}function I_(){return{EXPECTED_COLOR:el,RECEIVED_COLOR:Cm,INVERTED_COLOR:e8,BOLD_WEIGHT:t8,DIM_COLOR:oi,diff:Zo,matcherHint:r8,printReceived:i8,printExpected:o8,printDiffOrStringify:jS,printWithType:a8}}function a8(e,t,r){let n=Hu(t),i=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
274
+ `:"",o=`${e} has value: ${r(t)}`;return i+o}function Tm(){return globalThis[rs].customEqualityTesters}function ht(e,t,r,n){return r=r||[],ka(e,t,[],[],r,n?F_:l8)}function Pb(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&rn("Function",e.asymmetricMatch)}function s8(e,t){let r=Pb(e),n=Pb(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function ka(e,t,r,n,i,o){let a=!0,s=s8(e,t);if(s!==void 0)return s;let l={equals:ht};for(let b=0;b<i.length;b++){let y=i[b].call(l,e,t,i);if(y!==void 0)return y}if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let u=Object.prototype.toString.call(e);if(u!==Object.prototype.toString.call(t))return!1;switch(u){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let b=+e,y=+t;return b===y||Number.isNaN(b)&&Number.isNaN(y)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(Ib(e)&&Ib(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===t)return!1}if(r.push(e),n.push(t),u==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return u8(e,t,r,n,i,o)}finally{r.pop(),n.pop()}let f=Ob(e,o),h,m=f.length;if(Ob(t,o).length!==m)return!1;for(;m--;)if(h=f[m],a=o(t,h)&&ka(e[h],t[h],r,n,i,o),!a)return!1;return r.pop(),n.pop(),a}function u8(e,t,r,n,i,o){let a=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&a&&(a=ka(e.cause,t.cause,r,n,i,o)),e instanceof AggregateError&&t instanceof AggregateError&&a&&(a=ka(e.errors,t.errors,r,n,i,o)),a&&(a=ka({...e},{...t},r,n,i,o)),a}function Ob(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function l8(e,t){return F_(e,t)&&e[t]!==void 0}function F_(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function rn(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function Ib(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var N_="@@__IMMUTABLE_KEYED__@@",k_="@@__IMMUTABLE_SET__@@",c8="@@__IMMUTABLE_LIST__@@",Yl="@@__IMMUTABLE_ORDERED__@@",d8="@@__IMMUTABLE_RECORD__@@";function p8(e){return!!(e&&e[N_]&&!e[Yl])}function f8(e){return!!(e&&e[k_]&&!e[Yl])}function Xl(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function h8(e){return!!(e&&Xl(e)&&e[c8])}function m8(e){return!!(e&&Xl(e)&&e[N_]&&e[Yl])}function y8(e){return!!(e&&Xl(e)&&e[k_]&&e[Yl])}function g8(e){return!!(e&&Xl(e)&&e[d8])}var B_=Symbol.iterator;function Fb(e){return!!(e!=null&&e[B_])}function Ur(e,t,r=[],n=[],i=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!Fb(e)||!Fb(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return i[o]===t;n.push(e),i.push(t);let a=[...r.filter(u=>u!==Ur),s];function s(u,d){return Ur(u,d,[...r],[...n],[...i])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(rn("Set",e)||f8(e)){let u=!0;for(let d of e)if(!t.has(d)){let f=!1;for(let h of t)ht(d,h,a)===!0&&(f=!0);if(f===!1){u=!1;break}}return n.pop(),i.pop(),u}else if(rn("Map",e)||p8(e)){let u=!0;for(let d of e)if(!t.has(d[0])||!ht(d[1],t.get(d[0]),a)){let f=!1;for(let h of t){let m=ht(d[0],h[0],a),b=!1;m===!0&&(b=ht(d[1],h[1],a)),b===!0&&(f=!0)}if(f===!1){u=!1;break}}return n.pop(),i.pop(),u}}let l=t[B_]();for(let u of e){let d=l.next();if(d.done||!ht(u,d.value,a))return!1}if(!l.next().done)return!1;if(!h8(e)&&!m8(e)&&!y8(e)&&!g8(e)){let u=Object.entries(e),d=Object.entries(t);if(!ht(u,d,a))return!1}return n.pop(),i.pop(),!0}function xm(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||xm(Object.getPrototypeOf(e),t)}function b8(e){return Cu(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Ns(e,t,r=[]){let n=r.filter(o=>o!==Ns),i=(o=new WeakMap)=>(a,s)=>{if(b8(s))return Object.keys(s).every(l=>{if(s[l]!=null&&typeof s[l]=="object"){if(o.has(s[l]))return ht(a[l],s[l],n);o.set(s[l],!0)}let u=a!=null&&xm(a,l)&&ht(a[l],s[l],[...n,i(o)]);return o.delete(s[l]),u})};return i()(e,t)}function Nb(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function kb(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let i=0;i<r.byteLength;i++)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}function Bp(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),i=Object.keys(t),o=r.filter(a=>a!==Bp);return ht(e,t,o,!0)&&ht(n,i)}function v8(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
275
+
276
+ If it should pass with deep equality, replace "toBe" with "${e}"
277
+
278
+ Expected: ${t}
279
+ Received: serializes to the same string
280
+ `:n}function E8(e,t){return`${t} ${e}${t===1?"":"s"}`}function Qc(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}function A8(e,t,r){let n=0,i=(o=new WeakMap)=>(a,s)=>{if(Array.isArray(a)){if(Array.isArray(s)&&s.length===a.length)return s.map((l,u)=>i(o)(a[u],l))}else{if(a instanceof Date)return a;if(Cu(a)&&Cu(s)){if(ht(a,s,[...r,Ur,Ns]))return s;let l={};o.set(a,l),typeof a.constructor=="function"&&typeof a.constructor.name=="string"&&Object.defineProperty(l,"constructor",{enumerable:!1,value:a.constructor});for(let u of Qc(a))xm(s,u)?l[u]=o.has(a[u])?o.get(a[u]):i(o)(a[u],s[u]):o.has(a[u])||(n+=1,Cu(a[u])&&(n+=Qc(a[u]).length),i(o)(a[u],s[u]));if(Qc(l).length>0)return l}}return a};return{subset:i()(e,t),stripped:n}}if(!Object.prototype.hasOwnProperty.call(globalThis,ts)){let e=new WeakMap;Object.defineProperty(globalThis,ts,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,rs)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,rs,{configurable:!0,get:()=>({state:globalThis[ts].get(globalThis[_m]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,kp)){let e=Object.create(null);Object.defineProperty(globalThis,kp,{get:()=>e})}function tl(e){return globalThis[ts].get(e)}function Zc(e,t){let r=globalThis[ts],n=r.get(t)||{},i=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,i)}var Wn=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(e,t=!1){this.sample=e,this.inverse=t}getMatcherContext(e){return{...tl(e||globalThis[_m]),equals:ht,isNot:this.inverse,customTesters:Tm(),utils:{...I_(),diff:Zo,stringify:Br,iterableEquality:Ur,subsetEquality:Ns}}}};Wn.prototype[Symbol.for("chai/inspect")]=function(e){let t=Br(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var Bb=class extends Wn{constructor(e,t=!1){if(!rn("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=rn("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},w8=class extends Wn{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},Mb=class extends Wn{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!ht(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},jb=class extends Wn{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(i=>ht(n,i,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},S8=class extends Wn{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||typeof e=="function":this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},Lb=class extends Wn{constructor(e,t=!1){if(!rn("String",e)&&!rn("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=rn("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},qb=class extends Wn{precision;constructor(e,t=2,r=!1){if(!rn("Number",e))throw new Error("Expected is not a Number");if(!rn("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!rn("Number",e))return!1;let t=!1;return e===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||e===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?t=!0:t=Math.abs(this.sample-e)<10**-this.precision/2,this.inverse?!t:t}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${E8("digit",this.precision)})`].join(" ")}},_8=(e,t)=>{t.addMethod(e.expect,"anything",()=>new w8),t.addMethod(e.expect,"any",r=>new S8(r)),t.addMethod(e.expect,"stringContaining",r=>new Bb(r)),t.addMethod(e.expect,"objectContaining",r=>new Mb(r)),t.addMethod(e.expect,"arrayContaining",r=>new jb(r)),t.addMethod(e.expect,"stringMatching",r=>new Lb(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new qb(r,n)),e.expect.not={stringContaining:r=>new Bb(r,!0),objectContaining:r=>new Mb(r,!0),arrayContaining:r=>new jb(r,!0),stringMatching:r=>new Lb(r,!0),closeTo:(r,n)=>new qb(r,n,!0)}};function $b(e,t,r){let n=e.flag(t,"negate")?"not.":"",i=`${e.flag(t,"_name")}(${r?"expected":""})`,o=e.flag(t,"promise");return`expect(actual)${o?`.${o}`:""}.${n}${i}`}function Vb(e,t,r,n){let i=e;if(i&&t instanceof Promise){t=t.finally(()=>{if(!i.promises)return;let a=i.promises.indexOf(t);a!==-1&&i.promises.splice(a,1)}),i.promises||(i.promises=[]),i.promises.push(t);let o=!1;return i.onFinished??(i.onFinished=[]),i.onFinished.push(()=>{if(!o){var a;let s=(((a=globalThis.__vitest_worker__)===null||a===void 0?void 0:a.onFilterStackTrace)||(l=>l||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
281
+ `,s].join(""))}}),{then(a,s){return o=!0,t.then(a,s)},catch(a){return t.catch(a)},finally(a){return t.finally(a)},[Symbol.toStringTag]:"Promise"}}return t}function Ub(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(jh(t))}function M_(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{let o=r.apply(this,n);return o&&typeof o=="object"&&typeof o.then=="function"?o.then(_$,a=>{Ub(i,a)}):o}catch(o){Ub(i,o)}}}var C8=(e,t)=>{let{AssertionError:r}=e,n=Tm();function i(u,d){let f=h=>{let m=M_(t,h,d);t.addMethod(e.Assertion.prototype,h,m),t.addMethod(globalThis[rs].matchers,h,m)};Array.isArray(u)?u.forEach(h=>f(h)):f(u)}["throw","throws","Throw"].forEach(u=>{t.overwriteMethod(e.Assertion.prototype,u,d=>function(...f){let h=t.flag(this,"promise"),m=t.flag(this,"object"),b=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw m});else if(h==="resolves"&&typeof m!="function"){if(b)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",A={showDiff:!1};throw new r(y,A,t.flag(this,"ssfi"))}}d.apply(this,f)})}),i("withTest",function(u){return t.flag(this,"vitest-test",u),this}),i("toEqual",function(u){let d=t.flag(this,"object"),f=ht(d,u,[...n,Ur]);return this.assert(f,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",u,d)}),i("toStrictEqual",function(u){let d=t.flag(this,"object"),f=ht(d,u,[...n,Ur,Nb,Bp,kb],!0);return this.assert(f,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",u,d)}),i("toBe",function(u){let d=this._obj,f=Object.is(d,u),h="";return f||(ht(d,u,[...n,Ur,Nb,Bp,kb],!0)?h="toStrictEqual":ht(d,u,[...n,Ur])&&(h="toEqual")),this.assert(f,v8(h),"expected #{this} not to be #{exp} // Object.is equality",u,d)}),i("toMatchObject",function(u){let d=this._obj,f=ht(d,u,[...n,Ur,Ns]),h=t.flag(this,"negate"),{subset:m,stripped:b}=A8(d,u,n);if(f&&h||!f&&!h){let y=t.getMessage(this,[f,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",u,m,!1]),A=b===0?y:`${y}
282
+ (${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(A,{showDiff:!0,expected:u,actual:m})}}),i("toMatch",function(u){let d=this._obj;if(typeof d!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof d}`);return this.assert(typeof u=="string"?d.includes(u):d.match(u),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",u,d)}),i("toContain",function(u){let d=this._obj;if(typeof Node<"u"&&d instanceof Node){if(!(u instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof u}`);return this.assert(d.contains(u),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",u,d)}if(typeof DOMTokenList<"u"&&d instanceof DOMTokenList){xn(u,"class name",["string"]);let f=t.flag(this,"negate")?d.value.replace(u,"").trim():`${d.value} ${u}`;return this.assert(d.contains(u),`expected "${d.value}" to contain "${u}"`,`expected "${d.value}" not to contain "${u}"`,f,d.value)}return typeof d=="string"&&typeof u=="string"?this.assert(d.includes(u),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",u,d):(d!=null&&typeof d!="string"&&t.flag(this,"object",Array.from(d)),this.contain(u))}),i("toContainEqual",function(u){let d=t.flag(this,"object"),f=Array.from(d).findIndex(h=>ht(h,u,n));this.assert(f!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",u)}),i("toBeTruthy",function(){let u=t.flag(this,"object");this.assert(!!u,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,u)}),i("toBeFalsy",function(){let u=t.flag(this,"object");this.assert(!u,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,u)}),i("toBeGreaterThan",function(u){let d=this._obj;return xn(d,"actual",["number","bigint"]),xn(u,"expected",["number","bigint"]),this.assert(d>u,`expected ${d} to be greater than ${u}`,`expected ${d} to be not greater than ${u}`,u,d,!1)}),i("toBeGreaterThanOrEqual",function(u){let d=this._obj;return xn(d,"actual",["number","bigint"]),xn(u,"expected",["number","bigint"]),this.assert(d>=u,`expected ${d} to be greater than or equal to ${u}`,`expected ${d} to be not greater than or equal to ${u}`,u,d,!1)}),i("toBeLessThan",function(u){let d=this._obj;return xn(d,"actual",["number","bigint"]),xn(u,"expected",["number","bigint"]),this.assert(d<u,`expected ${d} to be less than ${u}`,`expected ${d} to be not less than ${u}`,u,d,!1)}),i("toBeLessThanOrEqual",function(u){let d=this._obj;return xn(d,"actual",["number","bigint"]),xn(u,"expected",["number","bigint"]),this.assert(d<=u,`expected ${d} to be less than or equal to ${u}`,`expected ${d} to be not less than or equal to ${u}`,u,d,!1)}),i("toBeNaN",function(){let u=t.flag(this,"object");this.assert(Number.isNaN(u),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,u)}),i("toBeUndefined",function(){let u=t.flag(this,"object");this.assert(u===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,u)}),i("toBeNull",function(){let u=t.flag(this,"object");this.assert(u===null,"expected #{this} to be null","expected #{this} not to be null",null,u)}),i("toBeDefined",function(){let u=t.flag(this,"object");this.assert(typeof u<"u","expected #{this} to be defined","expected #{this} to be undefined",u)}),i("toBeTypeOf",function(u){let d=typeof this._obj,f=u===d;return this.assert(f,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",u,d)}),i("toBeInstanceOf",function(u){return this.instanceOf(u)}),i("toHaveLength",function(u){return this.have.length(u)}),i("toHaveProperty",function(...u){Array.isArray(u[0])&&(u[0]=u[0].map(_=>String(_).replace(/([.[\]])/g,"\\$1")).join("."));let d=this._obj,[f,h]=u,m=()=>Object.prototype.hasOwnProperty.call(d,f)?{value:d[f],exists:!0}:t.getPathInfo(d,f),{value:b,exists:y}=m(),A=y&&(u.length===1||ht(h,b,n)),E=u.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(A,`expected #{this} to have property "${f}"${E}`,`expected #{this} to not have property "${f}"${E}`,h,y?b:void 0)}),i("toBeCloseTo",function(u,d=2){let f=this._obj,h=!1,m=0,b=0;return u===Number.POSITIVE_INFINITY&&f===Number.POSITIVE_INFINITY||u===Number.NEGATIVE_INFINITY&&f===Number.NEGATIVE_INFINITY?h=!0:(m=10**-d/2,b=Math.abs(f-u),h=b<m),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${b}, but expected ${m}`,`expected #{this} to not be close to #{exp}, received difference is ${b}, but expected ${m}`,u,f,!1)});function o(u){if(!Ro(u._obj))throw new TypeError(`${t.inspect(u._obj)} is not a spy or a call to a spy!`)}function a(u){return o(u),u._obj}i(["toHaveBeenCalledTimes","toBeCalledTimes"],function(u){let d=a(this),f=d.getMockName(),h=d.mock.calls.length;return this.assert(h===u,`expected "${f}" to be called #{exp} times, but got ${h} times`,`expected "${f}" to not be called #{exp} times`,u,h,!1)}),i("toHaveBeenCalledOnce",function(){let u=a(this),d=u.getMockName(),f=u.mock.calls.length;return this.assert(f===1,`expected "${d}" to be called once, but got ${f} times`,`expected "${d}" to not be called once`,1,f,!1)}),i(["toHaveBeenCalled","toBeCalled"],function(){let u=a(this),d=u.getMockName(),f=u.mock.calls.length,h=f>0,m=t.flag(this,"negate"),b=t.getMessage(this,[h,`expected "${d}" to be called at least once`,`expected "${d}" to not be called at all, but actually been called ${f} times`,!0,h]);if(h&&m&&(b=ed(u,b)),h&&m||!h&&!m)throw new r(b)});function s(u,d){return u.length===d.length&&u.every((f,h)=>ht(f,d[h],[...n,Ur]))}i(["toHaveBeenCalledWith","toBeCalledWith"],function(...u){let d=a(this),f=d.getMockName(),h=d.mock.calls.some(y=>s(y,u)),m=t.flag(this,"negate"),b=t.getMessage(this,[h,`expected "${f}" to be called with arguments: #{exp}`,`expected "${f}" to not be called with arguments: #{exp}`,u]);if(h&&m||!h&&!m)throw new r(ed(d,b,u))}),i("toHaveBeenCalledExactlyOnceWith",function(...u){let d=a(this),f=d.getMockName(),h=d.mock.calls.length,m=d.mock.calls.some(A=>s(A,u))&&h===1,b=t.flag(this,"negate"),y=t.getMessage(this,[m,`expected "${f}" to be called once with arguments: #{exp}`,`expected "${f}" to not be called once with arguments: #{exp}`,u]);if(m&&b||!m&&!b)throw new r(ed(d,y,u))}),i(["toHaveBeenNthCalledWith","nthCalledWith"],function(u,...d){let f=a(this),h=f.getMockName(),m=f.mock.calls[u-1],b=f.mock.calls.length,y=u<=b;this.assert(m&&s(m,d),`expected ${Ba(u)} "${h}" call to have been called with #{exp}${y?"":`, but called only ${b} times`}`,`expected ${Ba(u)} "${h}" call to not have been called with #{exp}`,d,m,y)}),i(["toHaveBeenLastCalledWith","lastCalledWith"],function(...u){let d=a(this),f=d.getMockName(),h=d.mock.calls[d.mock.calls.length-1];this.assert(h&&s(h,u),`expected last "${f}" call to have been called with #{exp}`,`expected last "${f}" call to not have been called with #{exp}`,u,h)});function l(u,d,f){let h=u.mock.invocationCallOrder,m=d.mock.invocationCallOrder;return h.length===0?!f:m.length===0?!1:h[0]<m[0]}i(["toHaveBeenCalledBefore"],function(u,d=!0){let f=a(this);if(!Ro(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(l(f,u,d),`expected "${f.getMockName()}" to have been called before "${u.getMockName()}"`,`expected "${f.getMockName()}" to not have been called before "${u.getMockName()}"`,u,f)}),i(["toHaveBeenCalledAfter"],function(u,d=!0){let f=a(this);if(!Ro(u))throw new TypeError(`${t.inspect(u)} is not a spy or a call to a spy`);this.assert(l(u,f,d),`expected "${f.getMockName()}" to have been called after "${u.getMockName()}"`,`expected "${f.getMockName()}" to not have been called after "${u.getMockName()}"`,u,f)}),i(["toThrow","toThrowError"],function(u){if(typeof u=="string"||typeof u>"u"||u instanceof RegExp)return this.throws(u===""?/^$/:u);let d=this._obj,f=t.flag(this,"promise"),h=t.flag(this,"negate"),m=null;if(f==="rejects")m=d;else if(f==="resolves"&&typeof d!="function"){if(h)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",y={showDiff:!1};throw new r(b,y,t.flag(this,"ssfi"))}}else{let b=!1;try{d()}catch(y){b=!0,m=y}if(!b&&!h){let y=t.flag(this,"message")||"expected function to throw an error, but it didn't",A={showDiff:!1};throw new r(y,A,t.flag(this,"ssfi"))}}if(typeof u=="function"){let b=u.name||u.prototype.constructor.name;return this.assert(m&&m instanceof u,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,u,m)}if(u instanceof Error){let b=ht(m,u,[...n,Ur]);return this.assert(b,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",u,m)}if(typeof u=="object"&&"asymmetricMatch"in u&&typeof u.asymmetricMatch=="function"){let b=u;return this.assert(m&&b.asymmetricMatch(m),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,m)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof u}"`)}),[{name:"toHaveResolved",condition:u=>u.mock.settledResults.length>0&&u.mock.settledResults.some(({type:d})=>d==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:u=>u.mock.calls.length>0&&u.mock.results.some(({type:d})=>d!=="throw"),action:"called"}].forEach(({name:u,condition:d,action:f})=>{i(u,function(){let h=a(this),m=h.getMockName(),b=d(h);this.assert(b,`expected "${m}" to be successfully ${f} at least once`,`expected "${m}" to not be successfully ${f}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:(u,d)=>u.mock.settledResults.reduce((f,{type:h})=>h==="fulfilled"?++f:f,0)===d,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(u,d)=>u.mock.results.reduce((f,{type:h})=>h==="throw"?f:++f,0)===d,action:"called"}].forEach(({name:u,condition:d,action:f})=>{i(u,function(h){let m=a(this),b=m.getMockName(),y=d(m,h);this.assert(y,`expected "${b}" to be successfully ${f} ${h} times`,`expected "${b}" to not be successfully ${f} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${y}`,!1)})}),[{name:"toHaveResolvedWith",condition:(u,d)=>u.mock.settledResults.some(({type:f,value:h})=>f==="fulfilled"&&ht(d,h)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(u,d)=>u.mock.results.some(({type:f,value:h})=>f==="return"&&ht(d,h)),action:"return"}].forEach(({name:u,condition:d,action:f})=>{i(u,function(h){let m=a(this),b=d(m,h),y=t.flag(this,"negate");if(b&&y||!b&&!y){let A=m.getMockName(),E=t.getMessage(this,[b,`expected "${A}" to ${f} with: #{exp} at least once`,`expected "${A}" to not ${f} with: #{exp}`,h]),_=f==="return"?m.mock.results:m.mock.settledResults;throw new r(T8(m,_,E,h))}})}),[{name:"toHaveLastResolvedWith",condition:(u,d)=>{let f=u.mock.settledResults[u.mock.settledResults.length-1];return f&&f.type==="fulfilled"&&ht(f.value,d)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(u,d)=>{let f=u.mock.results[u.mock.results.length-1];return f&&f.type==="return"&&ht(f.value,d)},action:"return"}].forEach(({name:u,condition:d,action:f})=>{i(u,function(h){let m=a(this),b=f==="return"?m.mock.results:m.mock.settledResults,y=b[b.length-1],A=m.getMockName();this.assert(d(m,h),`expected last "${A}" call to ${f} #{exp}`,`expected last "${A}" call to not ${f} #{exp}`,h,y?.value)})}),[{name:"toHaveNthResolvedWith",condition:(u,d,f)=>{let h=u.mock.settledResults[d-1];return h&&h.type==="fulfilled"&&ht(h.value,f)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(u,d,f)=>{let h=u.mock.results[d-1];return h&&h.type==="return"&&ht(h.value,f)},action:"return"}].forEach(({name:u,condition:d,action:f})=>{i(u,function(h,m){let b=a(this),y=b.getMockName(),A=(f==="return"?b.mock.results:b.mock.settledResults)[h-1],E=`${Ba(h)} call`;this.assert(d(b,h,m),`expected ${E} "${y}" call to ${f} #{exp}`,`expected ${E} "${y}" call to not ${f} #{exp}`,m,A?.value)})}),i("withContext",function(u){for(let d in u)t.flag(this,d,u[d]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let u=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),f=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof f}'.`);let h=new Proxy(this,{get:(m,b,y)=>{let A=Reflect.get(m,b,y);return typeof A!="function"?A instanceof e.Assertion?h:A:(...E)=>{t.flag(this,"_name",b);let _=f.then(I=>(t.flag(this,"object",I),A.call(this,...E)),I=>{let P=new r(`promise rejected "${t.inspect(I)}" instead of resolving`,{showDiff:!1});throw P.cause=I,P.stack=u.stack.replace(u.message,P.message),P});return Vb(d,_,$b(t,this,!!E.length),u)}}});return h}),t.addProperty(e.Assertion.prototype,"rejects",function(){let u=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",u);let d=t.flag(this,"vitest-test"),f=t.flag(this,"object"),h=typeof f=="function"?f():f;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof h?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof h}'.`);let m=new Proxy(this,{get:(b,y,A)=>{let E=Reflect.get(b,y,A);return typeof E!="function"?E instanceof e.Assertion?m:E:(..._)=>{t.flag(this,"_name",y);let I=h.then(P=>{let x=new r(`promise resolved "${t.inspect(P)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:P});throw x.stack=u.stack.replace(u.message,x.message),x},P=>(t.flag(this,"object",P),E.call(this,..._)));return Vb(d,I,$b(t,this,!!_.length),u)}}});return m})};function Ba(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}function ed(e,t,r){return e.mock.calls.length&&(t+=Fr.gray(`
283
+
284
+ Received:
285
+
286
+ ${e.mock.calls.map((n,i)=>{let o=Fr.bold(` ${Ba(i+1)} ${e.getMockName()} call:
287
+
288
+ `);return r?o+=Zo(r,n,{omitAnnotationLines:!0}):o+=Br(n).split(`
289
+ `).map(a=>` ${a}`).join(`
290
+ `),o+=`
291
+ `,o}).join(`
292
+ `)}`)),t+=Fr.gray(`
293
+
294
+ Number of calls: ${Fr.bold(e.mock.calls.length)}
295
+ `),t}function T8(e,t,r,n){return t.length&&(r+=Fr.gray(`
296
+
297
+ Received:
298
+
299
+ ${t.map((i,o)=>{let a=Fr.bold(` ${Ba(o+1)} ${e.getMockName()} call return:
300
+
301
+ `);return n?a+=Zo(n,i.value,{omitAnnotationLines:!0}):a+=Br(i).split(`
302
+ `).map(s=>` ${s}`).join(`
303
+ `),a+=`
304
+ `,a}).join(`
305
+ `)}`)),r+=Fr.gray(`
306
+
307
+ Number of calls: ${Fr.bold(e.mock.calls.length)}
308
+ `),r}function x8(e,t){let r=e._obj,n=mn.flag(e,"negate"),i=mn.flag(e,"promise")||"",o={...I_(),diff:Zo,stringify:Br,iterableEquality:Ur,subsetEquality:Ns};return{state:{...tl(t),customTesters:Tm(),isNot:n,utils:o,promise:i,equals:ht,suppressedErrors:[],soft:mn.flag(e,"soft"),poll:mn.flag(e,"poll")},isNot:n,obj:r}}var Jb=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function R8(e,t,r){return(n,i)=>{Object.entries(r).forEach(([o,a])=>{function s(...f){let{state:h,isNot:m,obj:b}=x8(this,t),y=a.call(h,b,...f);if(y&&typeof y=="object"&&typeof y.then=="function")return y.then(({pass:P,message:x,actual:g,expected:w})=>{if(P&&m||!P&&!m)throw new Jb(x(),g,w)});let{pass:A,message:E,actual:_,expected:I}=y;if(A&&m||!A&&!m)throw new Jb(E(),_,I)}let l=M_(i,o,s);i.addMethod(globalThis[rs].matchers,o,l),i.addMethod(e.Assertion.prototype,o,l);class u extends Wn{constructor(h=!1,...m){super(m,h)}asymmetricMatch(h){let{pass:m}=a.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(h=>Br(h)).join(", ")}>`}}let d=(...f)=>new u(!1,...f);Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:(...f)=>new u(!0,...f),writable:!0}),Object.defineProperty(globalThis[kp],o,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}var D8=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{To(R8(e,r,n))})};function P8(){To(D8),To(C8),To(_8);let e=((n,i)=>{let{assertionCalls:o}=tl(e);return Zc({assertionCalls:o+1,soft:!1},e),Ji(n,i)});Object.assign(e,Ji),e.getState=()=>tl(e),e.setState=n=>Zc(n,e),e.extend=n=>Ji.extend(e,n),e.soft=(...n)=>{let i=e(...n);return e.setState({soft:!0}),i},e.extend(Z6),e.unreachable=n=>{H.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let i=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:i})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return Zc({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),mn.addMethod(e,"assertions",t),mn.addMethod(e,"hasAssertions",r),e.extend(D1),e}var j_=P8();Object.defineProperty(globalThis,_m,{value:j_,writable:!0,configurable:!0});function O8(e,t,r){Object.defineProperty(e,t,r)}var Ru=Symbol.for("tinyspy:spy"),I8=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},F8=e=>(O8(e,Ru,{value:{reset:()=>I8(e[Ru])}}),e[Ru]),N8=e=>e[Ru]||F8(e),Rm=globalThis.__STORYBOOK_MODULE_MOCK_SPIES__??=new Set,Mp=new Set;function L_(e){return Mp.add(e),()=>{Mp.delete(e)}}var k8=(...e)=>{let t=Y6(...e);return $_(t)};function q_(e){let t=e?Db(e):Db();return $_(t)}function $_(e){let t=Hb(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>Hb(r(n)),t}function Hb(e){let t=N8(e),r=t.impl;return t.willCall(function(...n){return Mp.forEach(i=>i(e,n)),r?.apply(this,n)}),e}function V_(){Fs.forEach(e=>e.mockClear()),Rm.forEach(e=>e.mockClear())}function U_(){Fs.forEach(e=>e.mockReset()),Rm.forEach(e=>e.mockReset())}function J_(){Fs.forEach(e=>e.mockRestore()),Rm.forEach(e=>e.mockClear())}function B8(e,t={}){return e}var H_={};Rr(H_,{buildQueries:()=>Yn,configure:()=>K9,createEvent:()=>Pu,findAllByAltText:()=>KC,findAllByDisplayValue:()=>UC,findAllByLabelText:()=>wC,findAllByPlaceholderText:()=>OC,findAllByRole:()=>uT,findAllByTestId:()=>hT,findAllByText:()=>MC,findAllByTitle:()=>tT,findByAltText:()=>YC,findByDisplayValue:()=>JC,findByLabelText:()=>SC,findByPlaceholderText:()=>IC,findByRole:()=>lT,findByTestId:()=>mT,findByText:()=>jC,findByTitle:()=>rT,fireEvent:()=>ss,getAllByAltText:()=>GC,getAllByDisplayValue:()=>$C,getAllByLabelText:()=>_C,getAllByPlaceholderText:()=>DC,getAllByRole:()=>aT,getAllByTestId:()=>pT,getAllByText:()=>kC,getAllByTitle:()=>ZC,getByAltText:()=>WC,getByDisplayValue:()=>VC,getByLabelText:()=>CC,getByPlaceholderText:()=>PC,getByRole:()=>sT,getByTestId:()=>fT,getByText:()=>BC,getByTitle:()=>eT,getConfig:()=>it,getDefaultNormalizer:()=>Nm,getElementError:()=>Zl,getMultipleElementsFoundError:()=>ec,getNodeText:()=>ks,getQueriesForElement:()=>Gp,getRoles:()=>mC,getSuggestedQuery:()=>nl,isInaccessible:()=>Ql,logDOM:()=>jp,logRoles:()=>e5,makeFindQuery:()=>qo,makeGetAllQuery:()=>Mm,makeSingleQuery:()=>Lo,prettyDOM:()=>os,prettyFormat:()=>Dm,queries:()=>il,queryAllByAltText:()=>HC,queryAllByAttribute:()=>ro,queryAllByDisplayValue:()=>LC,queryAllByLabelText:()=>TC,queryAllByPlaceholderText:()=>xC,queryAllByRole:()=>iT,queryAllByTestId:()=>cT,queryAllByText:()=>FC,queryAllByTitle:()=>XC,queryByAltText:()=>zC,queryByAttribute:()=>gC,queryByDisplayValue:()=>qC,queryByLabelText:()=>EC,queryByPlaceholderText:()=>RC,queryByRole:()=>oT,queryByTestId:()=>dT,queryByText:()=>NC,queryByTitle:()=>QC,queryHelpers:()=>h5,screen:()=>V5,waitFor:()=>Bm,waitForElementToBeRemoved:()=>k5,within:()=>Gp,wrapAllByQueryWithSuggestion:()=>Tr,wrapSingleQueryWithSuggestion:()=>mi});var Dm=or(VF()),M8=Object.prototype.toString;function j8(e){return typeof e=="function"||M8.call(e)==="[object Function]"}function L8(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var q8=Math.pow(2,53)-1;function $8(e){var t=L8(e);return Math.min(Math.max(t,0),q8)}function en(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");for(var i=$8(n.length),o=j8(r)?Object(new r(i)):new Array(i),a=0,s;a<i;)s=n[a],o[a]=s,a+=1;return o.length=i,o}function ns(e){"@babel/helpers - typeof";return ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ns(e)}function V8(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U8(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,z_(n.key),n)}}function J8(e,t,r){return t&&U8(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function H8(e,t,r){return t=z_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function z_(e){var t=z8(e,"string");return ns(t)==="symbol"?t:String(t)}function z8(e,t){if(ns(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(ns(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var G8=(function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];V8(this,e),H8(this,"items",void 0),this.items=t}return J8(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e})(),W8=typeof Set>"u"?Set:G8;function gr(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var K8={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},Y8={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function X8(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=Y8[t])!==null&&n!==void 0&&n.has(r))})}function G_(e,t){return X8(e,t)}function Q8(e){var t=e9(e);if(t===null||t==="presentation"){var r=Z8(e);if(t!=="presentation"||G_(e,r||""))return r}return t}function Z8(e){var t=K8[gr(e)];if(t!==void 0)return t;switch(gr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!G_(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function e9(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Mt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function W_(e){return Mt(e)&&gr(e)==="caption"}function Du(e){return Mt(e)&&gr(e)==="input"}function t9(e){return Mt(e)&&gr(e)==="optgroup"}function r9(e){return Mt(e)&&gr(e)==="select"}function n9(e){return Mt(e)&&gr(e)==="table"}function i9(e){return Mt(e)&&gr(e)==="textarea"}function o9(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function a9(e){return Mt(e)&&gr(e)==="fieldset"}function s9(e){return Mt(e)&&gr(e)==="legend"}function u9(e){return Mt(e)&&gr(e)==="slot"}function l9(e){return Mt(e)&&e.ownerSVGElement!==void 0}function c9(e){return Mt(e)&&gr(e)==="svg"}function d9(e){return l9(e)&&gr(e)==="title"}function rl(e,t){if(Mt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}function Bn(e,t){return Mt(e)?t.indexOf(Q8(e))!==-1:!1}function p9(e){return e.trim().replace(/\s\s+/g," ")}function f9(e,t){if(!Mt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function h9(e){return Bn(e,["button","combobox","listbox","textbox"])||K_(e)}function K_(e,t){return Mt(e)?Bn(e,["meter","progressbar","scrollbar","slider","spinbutton"]):!1}function zb(e,t){var r=en(e.querySelectorAll(t));return rl(e,"aria-owns").forEach(function(n){r.push.apply(r,en(n.querySelectorAll(t)))}),r}function m9(e){return r9(e)?e.selectedOptions||zb(e,"[selected]"):zb(e,'[aria-selected="true"]')}function y9(e){return Bn(e,["none","presentation"])}function g9(e){return W_(e)}function b9(e){return Bn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function v9(e){return!1}function E9(e){return Du(e)||i9(e)?e.value:e.textContent||""}function Gb(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Y_(e){var t=gr(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function X_(e){if(Y_(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Mt(r)){var n=X_(r);n!==null&&(t=n)}}),t}function A9(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):X_(e)}function w9(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return en(t);if(!Y_(e))return null;var r=e.ownerDocument;return en(r.querySelectorAll("label")).filter(function(n){return A9(n)===e})}function S9(e){var t=e.assignedNodes();return t.length===0?en(e.childNodes):t}function Q_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new W8,n=o9(e),i=t.compute,o=i===void 0?"name":i,a=t.computedStyleSupportsPseudoElements,s=a===void 0?t.getComputedStyle!==void 0:a,l=t.getComputedStyle,u=l===void 0?n.getComputedStyle.bind(n):l,d=t.hidden,f=d===void 0?!1:d;function h(E,_){var I="";if(Mt(E)&&s){var P=u(E,"::before"),x=Gb(P);I="".concat(x," ").concat(I)}var g=u9(E)?S9(E):en(E.childNodes).concat(rl(E,"aria-owns"));if(g.forEach(function(R){var j=A(R,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),B=Mt(R)?u(R).getPropertyValue("display"):"inline",U=B!=="inline"?" ":"";I+="".concat(U).concat(j).concat(U)}),Mt(E)&&s){var w=u(E,"::after"),C=Gb(w);I="".concat(I," ").concat(C)}return I.trim()}function m(E,_){var I=E.getAttributeNode(_);return I!==null&&!r.has(I)&&I.value.trim()!==""?(r.add(I),I.value):null}function b(E){return Mt(E)?m(E,"title"):null}function y(E){if(!Mt(E))return null;if(a9(E)){r.add(E);for(var _=en(E.childNodes),I=0;I<_.length;I+=1){var P=_[I];if(s9(P))return A(P,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(n9(E)){r.add(E);for(var x=en(E.childNodes),g=0;g<x.length;g+=1){var w=x[g];if(W_(w))return A(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(c9(E)){r.add(E);for(var C=en(E.childNodes),R=0;R<C.length;R+=1){var j=C[R];if(d9(j))return j.textContent}return null}else if(gr(E)==="img"||gr(E)==="area"){var B=m(E,"alt");if(B!==null)return B}else if(t9(E)){var U=m(E,"label");if(U!==null)return U}if(Du(E)&&(E.type==="button"||E.type==="submit"||E.type==="reset")){var $=m(E,"value");if($!==null)return $;if(E.type==="submit")return"Submit";if(E.type==="reset")return"Reset"}var k=w9(E);if(k!==null&&k.length!==0)return r.add(E),en(k).map(function(ne){return A(ne,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ne){return ne.length>0}).join(" ");if(Du(E)&&E.type==="image"){var V=m(E,"alt");if(V!==null)return V;var W=m(E,"title");return W!==null?W:"Submit Query"}if(Bn(E,["button"])){var Y=h(E,{isEmbeddedInLabel:!1});if(Y!=="")return Y}return null}function A(E,_){if(r.has(E))return"";if(!f&&f9(E,u)&&!_.isReferenced)return r.add(E),"";var I=Mt(E)?E.getAttributeNode("aria-labelledby"):null,P=I!==null&&!r.has(I)?rl(E,"aria-labelledby"):[];if(o==="name"&&!_.isReferenced&&P.length>0)return r.add(I),P.map(function(B){return A(B,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var x=_.recursion&&h9(E)&&o==="name";if(!x){var g=(Mt(E)&&E.getAttribute("aria-label")||"").trim();if(g!==""&&o==="name")return r.add(E),g;if(!y9(E)){var w=y(E);if(w!==null)return r.add(E),w}}if(Bn(E,["menu"]))return r.add(E),"";if(x||_.isEmbeddedInLabel||_.isReferenced){if(Bn(E,["combobox","listbox"])){r.add(E);var C=m9(E);return C.length===0?Du(E)?E.value:"":en(C).map(function(B){return A(B,{isEmbeddedInLabel:_.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(K_(E))return r.add(E),E.hasAttribute("aria-valuetext")?E.getAttribute("aria-valuetext"):E.hasAttribute("aria-valuenow")?E.getAttribute("aria-valuenow"):E.getAttribute("value")||"";if(Bn(E,["textbox"]))return r.add(E),E9(E)}if(b9(E)||Mt(E)&&_.isReferenced||g9(E)||v9()){var R=h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel});if(R!=="")return r.add(E),R}if(E.nodeType===E.TEXT_NODE)return r.add(E),E.textContent||"";if(_.recursion)return r.add(E),h(E,{isEmbeddedInLabel:_.isEmbeddedInLabel});var j=b(E);return j!==null?(r.add(E),j):(r.add(E),"")}return p9(A(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}function is(e){"@babel/helpers - typeof";return is=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},is(e)}function Wb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function Kb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Wb(Object(r),!0).forEach(function(n){_9(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function _9(e,t,r){return t=C9(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function C9(e){var t=T9(e,"string");return is(t)==="symbol"?t:String(t)}function T9(e,t){if(is(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(is(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Z_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=rl(e,"aria-describedby").map(function(i){return Q_(i,Kb(Kb({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function x9(e){return Bn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function Pm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return x9(e)?"":Q_(e,t)}var Vr=or(Qf()),R9=or(UF());function eC(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var D9=(e,t,r,n,i,o,a)=>{let s=n+r.indent,l=r.colors;return e.map(u=>{let d=t[u],f=a(d,r,s,i,o);return typeof d!="string"&&(f.indexOf(`
309
+ `)!==-1&&(f=r.spacingOuter+s+f+r.spacingOuter+n),f="{"+f+"}"),r.spacingInner+n+l.prop.open+u+l.prop.close+"="+l.value.open+f+l.value.close}).join("")},P9=3,O9=(e,t,r,n,i,o)=>e.map(a=>{let s=typeof a=="string"?tC(a,t):o(a,t,r,n,i);return s===""&&typeof a=="object"&&a!==null&&a.nodeType!==P9?"":t.spacingOuter+r+s}).join(""),tC=(e,t)=>{let r=t.colors.content;return r.open+eC(e)+r.close},I9=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+eC(e)+"-->"+r.close},F9=(e,t,r,n,i)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+i+o.open)+(r?">"+o.close+r+n.spacingOuter+i+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},N9=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},k9=1,rC=3,nC=8,iC=11,B9=/^((HTML|SVG)\w*)?Element$/,oC=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},M9=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===k9&&(B9.test(t)||oC(e))||r===rC&&t==="Text"||r===nC&&t==="Comment"||r===iC&&t==="DocumentFragment"};function j9(e){return e.nodeType===rC}function L9(e){return e.nodeType===nC}function td(e){return e.nodeType===iC}function q9(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||oC(t))&&M9(t)},serialize:(t,r,n,i,o,a)=>{if(j9(t))return tC(t.data,r);if(L9(t))return I9(t.data,r);let s=td(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?N9(s,r):F9(s,D9(td(t)?[]:Array.from(t.attributes).map(l=>l.name).sort(),td(t)?{}:Array.from(t.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),r,n+r.indent,i,o,a),O9(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,i,o,a),r,n)}}}var aC=null,Om=null,Im=null;try{let e=module&&module.require;Om=e.call(module,"fs").readFileSync,Im=e.call(module,"@babel/code-frame").codeFrameColumns,aC=e.call(module,"picocolors")}catch{}function $9(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[o,a,s]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],l="";try{l=Om(o,"utf-8")}catch{return""}let u=Im(l,{start:{line:a,column:s}},{highlightCode:!0,linesBelow:0});return aC.dim(n)+`
310
+ `+u+`
311
+ `}function V9(){if(!Om||!Im)return"";let e=new Error().stack.split(`
312
+ `).slice(1).find(t=>!t.includes("node_modules/"));return $9(e)}var sC=3;function rd(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Fm(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function uC(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Kn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var U9=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=Xd)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:J9}=Dm.plugins,H9=1,z9=8;function G9(e){return e.nodeType!==z9&&(e.nodeType!==H9||!e.matches(it().defaultIgnore))}function os(e,t,r){if(r===void 0&&(r={}),e||(e=Fm().body),typeof t!="number"&&(t=typeof process<"u"&&typeof Xd<"u"&&Xd.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:i=G9,...o}=r,a=Dm.format(e,{plugins:[q9(i),J9],printFunctionName:!1,highlight:U9(),...o});return t!==void 0&&e.outerHTML.length>t?a.slice(0,t)+"...":a}var jp=function(){let e=V9();console.log(e?os(...arguments)+`
313
+
314
+ `+e:os(...arguments))},Hi={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=os(t),n=new Error([e,"Ignored nodes: comments, "+Hi.defaultIgnore+`
315
+ `+r].filter(Boolean).join(`
316
+
317
+ `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function W9(e){try{return Hi._disableExpensiveErrorDiagnostics=!0,e()}finally{Hi._disableExpensiveErrorDiagnostics=!1}}function K9(e){typeof e=="function"&&(e=e(Hi)),Hi={...Hi,...e}}function it(){return Hi}var Y9=["button","meter","output","progress","select","textarea","input"];function lC(e){return Y9.includes(e.nodeName.toLowerCase())?"":e.nodeType===sC?e.textContent:Array.from(e.childNodes).map(t=>lC(t)).join("")}function Lp(e){let t;return e.tagName.toLowerCase()==="label"?t=lC(e):t=e.value||e.textContent,t}function cC(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!X9(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function X9(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function dC(e,t,r){let{selector:n="*"}=r===void 0?{}:r,i=t.getAttribute("aria-labelledby"),o=i?i.split(" "):[];return o.length?o.map(a=>{let s=e.querySelector('[id="'+a+'"]');return s?{content:Lp(s),formControl:null}:{content:"",formControl:null}}):Array.from(cC(t)).map(a=>{let s=Lp(a),l=Array.from(a.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(u=>u.matches(n))[0];return{content:s,formControl:l}})}function pC(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function ta(e,t,r,n){if(typeof e!="string")return!1;pC(r);let i=n(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):fC(r,i)}function $n(e,t,r,n){if(typeof e!="string")return!1;pC(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?fC(r,i):i===String(r)}function Nm(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let i=n;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}function to(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Nm({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function fC(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function ks(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===sC&&!!t.textContent).map(t=>t.textContent).join("")}var Q9=Z9(Vr.elementRoles);function hC(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function Ql(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=hC}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function km(e){for(let{match:t,roles:r}of Q9)if(t(e))return[...r];return[]}function Z9(e){function t(a){let{name:s,attributes:l}=a;return""+s+l.map(u=>{let{name:d,value:f,constraints:h=[]}=u,m=h.indexOf("undefined")!==-1,b=h.indexOf("set")!==-1;return typeof f<"u"?"["+d+'="'+f+'"]':m?":not(["+d+"])":b?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}function r(a){let{attributes:s=[]}=a;return s.length}function n(a,s){let{specificity:l}=a,{specificity:u}=s;return u-l}function i(a){let{attributes:s=[]}=a,l=s.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");l>=0&&(s=[...s.slice(0,l),...s.slice(l+1)]);let u=t({...a,attributes:s});return d=>l>=0&&d.type!=="text"?!1:d.matches(u)}let o=[];for(let[a,s]of e.entries())o=[...o,{match:i(a),roles:Array.from(s),specificity:r(a)}];return o.sort(n)}function mC(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(i){return[i,...Array.from(i.children).reduce((o,a)=>[...o,...n(a)],[])]}return n(e).filter(i=>r===!1?Ql(i)===!1:!0).reduce((i,o)=>{let a=[];return o.hasAttribute("role")?a=o.getAttribute("role").split(" ").slice(0,1):a=km(o),a.reduce((s,l)=>Array.isArray(s[l])?{...s,[l]:[...s[l],o]}:{...s,[l]:[o]},i)},{})}function yC(e,t){let{hidden:r,includeDescription:n}=t,i=mC(e,{hidden:r});return Object.entries(i).filter(o=>{let[a]=o;return a!=="generic"}).map(o=>{let[a,s]=o,l="-".repeat(50),u=s.map(d=>{let f='Name "'+Pm(d,{computedStyleSupportsPseudoElements:it().computedStyleSupportsPseudoElements})+`":
318
+ `,h=os(d.cloneNode(!1));if(n){let m='Description "'+Z_(d,{computedStyleSupportsPseudoElements:it().computedStyleSupportsPseudoElements})+`":
319
+ `;return""+f+m+h}return""+f+h}).join(`
320
+
321
+ `);return a+`:
322
+
323
+ `+u+`
324
+
325
+ `+l}).join(`
326
+ `)}var e5=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(yC(e,{hidden:r}))};function t5(e){return e.tagName==="OPTION"?e.selected:Bs(e,"aria-selected")}function r5(e){return e.getAttribute("aria-busy")==="true"}function n5(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Bs(e,"aria-checked")}function i5(e){return Bs(e,"aria-pressed")}function o5(e){var t,r;return(t=(r=Bs(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function a5(e){return Bs(e,"aria-expanded")}function Bs(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function s5(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function u5(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function l5(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function c5(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function d5(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Yb=Nm();function p5(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function Xb(e){return new RegExp(p5(e.toLowerCase()),"i")}function Zn(e,t,r,n){let{variant:i,name:o}=n,a="",s={},l=[["Role","TestId"].includes(e)?r:Xb(r)];o&&(s.name=Xb(o)),e==="Role"&&Ql(t)&&(s.hidden=!0,a=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
327
+ If you are using the aria-hidden prop, make sure this is the right choice for your case.
328
+ `),Object.keys(s).length>0&&l.push(s);let u=i+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:i,warning:a,toString(){a&&console.warn(a);let[d,f]=l;return d=typeof d=="string"?"'"+d+"'":d,f=f?", { "+Object.entries(f).map(h=>{let[m,b]=h;return m+": "+b}).join(", ")+" }":"",u+"("+d+f+")"}}}function ei(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function nl(e,t,r){var n,i;if(t===void 0&&(t="get"),e.matches(it().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(i=km(e))==null?void 0:i[0];if(o!=="generic"&&ei("Role",r,o))return Zn("Role",e,o,{variant:t,name:Pm(e,{computedStyleSupportsPseudoElements:it().computedStyleSupportsPseudoElements})});let a=dC(document,e).map(h=>h.content).join(" ");if(ei("LabelText",r,a))return Zn("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(ei("PlaceholderText",r,s))return Zn("PlaceholderText",e,s,{variant:t});let l=Yb(ks(e));if(ei("Text",r,l))return Zn("Text",e,l,{variant:t});if(ei("DisplayValue",r,e.value))return Zn("DisplayValue",e,Yb(e.value),{variant:t});let u=e.getAttribute("alt");if(ei("AltText",r,u))return Zn("AltText",e,u,{variant:t});let d=e.getAttribute("title");if(ei("Title",r,d))return Zn("Title",e,d,{variant:t});let f=e.getAttribute(it().testIdAttribute);if(ei("TestId",r,f))return Zn("TestId",e,f,{variant:t})}function ru(e,t){e.stack=t.stack.replace(t.message,e.message)}function f5(e,t){let{container:r=Fm(),timeout:n=it().asyncUtilTimeout,showOriginalStackTrace:i=it().showOriginalStackTrace,stackTraceError:o,interval:a=50,onTimeout:s=u=>(Object.defineProperty(u,"message",{value:it().getElementError(u.message,r).message}),u),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(u,d)=>{let f,h,m,b=!1,y="idle",A=setTimeout(x,n),E=rd();if(E){let{unstable_advanceTimersWrapper:g}=it();for(P();!b;){if(!rd()){let w=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");i||ru(w,o),d(w);return}if(await g(async()=>{jest.advanceTimersByTime(a)}),b)break;P()}}else{try{Kn(r)}catch(w){d(w);return}h=setInterval(I,a);let{MutationObserver:g}=uC(r);m=new g(I),m.observe(r,l),P()}function _(g,w){b=!0,clearTimeout(A),E||(clearInterval(h),m.disconnect()),g?d(g):u(w)}function I(){if(rd()){let g=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return i||ru(g,o),d(g)}else return P()}function P(){if(y!=="pending")try{let g=W9(e);typeof g?.then=="function"?(y="pending",g.then(w=>{y="resolved",_(null,w)},w=>{y="rejected",f=w})):_(null,g)}catch(g){f=g}}function x(){let g;f?(g=f,!i&&g.name==="TestingLibraryElementError"&&ru(g,o)):(g=new Error("Timed out in waitFor."),i||ru(g,o)),_(s(g),null)}})}function Bm(e,t){let r=new Error("STACK_TRACE_MESSAGE");return it().asyncWrapper(()=>f5(e,{stackTraceError:r,...t}))}function Zl(e,t){return it().getElementError(e,t)}function ec(e,t){return Zl(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function ro(e,t,r,n){let{exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=n===void 0?{}:n,l=i?$n:ta,u=to({collapseWhitespace:o,trim:a,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>l(d.getAttribute(e),d,r,u))}function gC(e,t,r,n){let i=ro(e,t,r,n);if(i.length>1)throw ec("Found multiple elements by ["+e+"="+r+"]",t);return i[0]||null}function Lo(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];let a=e(r,...i);if(a.length>1){let s=a.map(l=>Zl(null,l).message).join(`
329
+
330
+ `);throw ec(t(r,...i)+`
331
+
332
+ Here are the matching elements:
333
+
334
+ `+s,r)}return a[0]||null}}function bC(e,t){return it().getElementError(`A better query is available, try this:
335
+ `+e.toString()+`
336
+ `,t)}function Mm(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];let a=e(r,...i);if(!a.length)throw it().getElementError(t(r,...i),r);return a}}function qo(e){return(t,r,n,i)=>Bm(()=>e(t,r,n),{container:t,...i})}var mi=(e,t,r)=>function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=e(n,...o),[{suggest:l=it().throwSuggestions}={}]=o.slice(-1);if(s&&l){let u=nl(s,r);if(u&&!t.endsWith(u.queryName))throw bC(u.toString(),n)}return s},Tr=(e,t,r)=>function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),a=1;a<i;a++)o[a-1]=arguments[a];let s=e(n,...o),[{suggest:l=it().throwSuggestions}={}]=o.slice(-1);if(s.length&&l){let u=[...new Set(s.map(d=>{var f;return(f=nl(d,r))==null?void 0:f.toString()}))];if(u.length===1&&!t.endsWith(nl(s[0],r).queryName))throw bC(u[0],n)}return s};function Yn(e,t,r){let n=mi(Lo(e,t),e.name,"query"),i=Mm(e,r),o=Lo(i,t),a=mi(o,e.name,"get"),s=Tr(i,e.name.replace("query","get"),"getAll"),l=qo(Tr(i,e.name,"findAll")),u=qo(mi(o,e.name,"find"));return[n,s,a,l,u]}var h5=Object.freeze({__proto__:null,getElementError:Zl,wrapAllByQueryWithSuggestion:Tr,wrapSingleQueryWithSuggestion:mi,getMultipleElementsFoundError:ec,queryAllByAttribute:ro,queryByAttribute:gC,makeSingleQuery:Lo,makeGetAllQuery:Mm,makeFindQuery:qo,buildQueries:Yn});function m5(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Lp(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var y5=function(e,t,r){let{exact:n=!0,trim:i,collapseWhitespace:o,normalizer:a}=r===void 0?{}:r,s=n?$n:ta,l=to({collapseWhitespace:o,trim:i,normalizer:a});return m5(e).filter(u=>{let{node:d,textToMatch:f}=u;return s(f,d,t,l)}).map(u=>{let{node:d}=u;return d})},as=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=r===void 0?{}:r;Kn(e);let l=i?$n:ta,u=to({collapseWhitespace:o,trim:a,normalizer:s}),d=Array.from(e.querySelectorAll("*")).filter(f=>cC(f).length||f.hasAttribute("aria-labelledby")).reduce((f,h)=>{let m=dC(e,h,{selector:n});m.filter(y=>!!y.formControl).forEach(y=>{l(y.content,y.formControl,t,u)&&y.formControl&&f.push(y.formControl)});let b=m.filter(y=>!!y.content).map(y=>y.content);return l(b.join(" "),h,t,u)&&f.push(h),b.length>1&&b.forEach((y,A)=>{l(y,h,t,u)&&f.push(h);let E=[...b];E.splice(A,1),E.length>1&&l(E.join(" "),h,t,u)&&f.push(h)}),f},[]).concat(ro("aria-label",e,t,{exact:i,normalizer:u}));return Array.from(new Set(d)).filter(f=>f.matches(n))},Yi=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let o=as(e,t,...n);if(!o.length){let a=y5(e,t,...n);if(a.length){let s=a.map(l=>g5(e,l)).filter(l=>!!l);throw s.length?it().getElementError(s.map(l=>"Found a label with the text of: "+t+", however the element associated with this label (<"+l+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+l+" />, you can use aria-label or aria-labelledby instead.").join(`
337
+
338
+ `),e):it().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw it().getElementError("Unable to find a label with the text of: "+t,e)}return o};function g5(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var vC=(e,t)=>"Found multiple elements with the text of: "+t,EC=mi(Lo(as,vC),as.name,"query"),AC=Lo(Yi,vC),wC=qo(Tr(Yi,Yi.name,"findAll")),SC=qo(mi(AC,Yi.name,"find")),_C=Tr(Yi,Yi.name,"getAll"),CC=mi(AC,Yi.name,"get"),TC=Tr(as,as.name,"queryAll"),qp=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Kn(t[0]),ro("placeholder",...t)},b5=(e,t)=>"Found multiple elements with the placeholder text of: "+t,v5=(e,t)=>"Unable to find an element with the placeholder text of: "+t,xC=Tr(qp,qp.name,"queryAll"),[RC,DC,PC,OC,IC]=Yn(qp,b5,v5),$p=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,ignore:s=it().defaultIgnore,normalizer:l}=r===void 0?{}:r;Kn(e);let u=i?$n:ta,d=to({collapseWhitespace:o,trim:a,normalizer:l}),f=[];return typeof e.matches=="function"&&e.matches(n)&&(f=[e]),[...f,...Array.from(e.querySelectorAll(n))].filter(h=>!s||!h.matches(s)).filter(h=>u(ks(h),h,t,d))},E5=(e,t)=>"Found multiple elements with the text: "+t,A5=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:i,normalizer:o,selector:a}=r,s=to({collapseWhitespace:n,trim:i,normalizer:o})(t.toString()),l=s!==t.toString(),u=(a??"*")!=="*";return"Unable to find an element with the text: "+(l?s+" (normalized from '"+t+"')":t)+(u?", which matches selector '"+a+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},FC=Tr($p,$p.name,"queryAll"),[NC,kC,BC,MC,jC]=Yn($p,E5,A5),Vp=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=r===void 0?{}:r;Kn(e);let s=n?$n:ta,l=to({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(u=>u.tagName==="SELECT"?Array.from(u.options).filter(d=>d.selected).some(d=>s(ks(d),d,t,l)):s(u.value,u,t,l))},w5=(e,t)=>"Found multiple elements with the display value: "+t+".",S5=(e,t)=>"Unable to find an element with the display value: "+t+".",LC=Tr(Vp,Vp.name,"queryAll"),[qC,$C,VC,UC,JC]=Yn(Vp,w5,S5),_5=/^(img|input|area|.+-.+)$/i,Up=function(e,t,r){return r===void 0&&(r={}),Kn(e),ro("alt",e,t,r).filter(n=>_5.test(n.tagName))},C5=(e,t)=>"Found multiple elements with the alt text: "+t,T5=(e,t)=>"Unable to find an element with the alt text: "+t,HC=Tr(Up,Up.name,"queryAll"),[zC,GC,WC,KC,YC]=Yn(Up,C5,T5),x5=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Jp=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=r===void 0?{}:r;Kn(e);let s=n?$n:ta,l=to({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(u=>s(u.getAttribute("title"),u,t,l)||x5(u)&&s(ks(u),u,t,l))},R5=(e,t)=>"Found multiple elements with the title: "+t+".",D5=(e,t)=>"Unable to find an element with the title: "+t+".",XC=Tr(Jp,Jp.name,"queryAll"),[QC,ZC,eT,tT,rT]=Yn(Jp,R5,D5),Hp=function(e,t,r){let{hidden:n=it().defaultHidden,name:i,description:o,queryFallbacks:a=!1,selected:s,busy:l,checked:u,pressed:d,current:f,level:h,expanded:m,value:{now:b,min:y,max:A,text:E}={}}=r===void 0?{}:r;if(Kn(e),s!==void 0){var _;if(((_=Vr.roles.get(t))==null?void 0:_.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(l!==void 0){var I;if(((I=Vr.roles.get(t))==null?void 0:I.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(u!==void 0){var P;if(((P=Vr.roles.get(t))==null?void 0:P.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var x;if(((x=Vr.roles.get(t))==null?void 0:x.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(f!==void 0){var g;if(((g=Vr.roles.get(t))==null?void 0:g.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(b!==void 0){var w;if(((w=Vr.roles.get(t))==null?void 0:w.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(A!==void 0){var C;if(((C=Vr.roles.get(t))==null?void 0:C.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var R;if(((R=Vr.roles.get(t))==null?void 0:R.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(E!==void 0){var j;if(((j=Vr.roles.get(t))==null?void 0:j.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var B;if(((B=Vr.roles.get(t))==null?void 0:B.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let U=new WeakMap;function $(k){return U.has(k)||U.set(k,hC(k)),U.get(k)}return Array.from(e.querySelectorAll(P5(t))).filter(k=>{if(k.hasAttribute("role")){let V=k.getAttribute("role");if(a)return V.split(" ").filter(Boolean).some(Y=>Y===t);let[W]=V.split(" ");return W===t}return km(k).some(V=>V===t)}).filter(k=>{if(s!==void 0)return s===t5(k);if(l!==void 0)return l===r5(k);if(u!==void 0)return u===n5(k);if(d!==void 0)return d===i5(k);if(f!==void 0)return f===o5(k);if(m!==void 0)return m===a5(k);if(h!==void 0)return h===s5(k);if(b!==void 0||A!==void 0||y!==void 0||E!==void 0){let W=!0;if(b!==void 0&&W&&(W=b===u5(k)),A!==void 0&&W&&(W=A===l5(k)),y!==void 0&&W&&(W=y===c5(k)),E!==void 0){var V;W&&(W=$n((V=d5(k))!=null?V:null,k,E,Y=>Y))}return W}return!0}).filter(k=>i===void 0?!0:$n(Pm(k,{computedStyleSupportsPseudoElements:it().computedStyleSupportsPseudoElements}),k,i,V=>V)).filter(k=>o===void 0?!0:$n(Z_(k,{computedStyleSupportsPseudoElements:it().computedStyleSupportsPseudoElements}),k,o,V=>V)).filter(k=>n===!1?Ql(k,{isSubtreeInaccessible:$})===!1:!0)};function P5(e){var t;let r='*[role~="'+e+'"]',n=(t=Vr.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(n).map(o=>{let{name:a}=o;return a}));return[r].concat(Array.from(i)).join(",")}var nT=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},O5=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+nT(n)},I5=function(e,t,r){let{hidden:n=it().defaultHidden,name:i,description:o}=r===void 0?{}:r;if(it()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+nT(i);let a="";Array.from(e.children).forEach(d=>{a+=yC(d,{hidden:n,includeDescription:o!==void 0})});let s;a.length===0?n===!1?s="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":s="There are no available roles.":s=(`
339
+ Here are the `+(n===!1?"accessible":"available")+` roles:
340
+
341
+ `+a.replace(/\n/g,`
342
+ `).replace(/\n\s\s\n/g,`
343
+
344
+ `)+`
345
+ `).trim();let l="";i===void 0?l="":typeof i=="string"?l=' and name "'+i+'"':l=" and name `"+i+"`";let u="";return o===void 0?u="":typeof o=="string"?u=' and description "'+o+'"':u=" and description `"+o+"`",(`
346
+ Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+l+u+`
347
+
348
+ `+s).trim()},iT=Tr(Hp,Hp.name,"queryAll"),[oT,aT,sT,uT,lT]=Yn(Hp,O5,I5),jm=()=>it().testIdAttribute,zp=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Kn(t[0]),ro(jm(),...t)},F5=(e,t)=>"Found multiple elements by: ["+jm()+'="'+t+'"]',N5=(e,t)=>"Unable to find an element by: ["+jm()+'="'+t+'"]',cT=Tr(zp,zp.name,"queryAll"),[dT,pT,fT,hT,mT]=Yn(zp,F5,N5),il=Object.freeze({__proto__:null,queryAllByLabelText:TC,queryByLabelText:EC,getAllByLabelText:_C,getByLabelText:CC,findAllByLabelText:wC,findByLabelText:SC,queryByPlaceholderText:RC,queryAllByPlaceholderText:xC,getByPlaceholderText:PC,getAllByPlaceholderText:DC,findAllByPlaceholderText:OC,findByPlaceholderText:IC,queryByText:NC,queryAllByText:FC,getByText:BC,getAllByText:kC,findAllByText:MC,findByText:jC,queryByDisplayValue:qC,queryAllByDisplayValue:LC,getByDisplayValue:VC,getAllByDisplayValue:$C,findAllByDisplayValue:UC,findByDisplayValue:JC,queryByAltText:zC,queryAllByAltText:HC,getByAltText:WC,getAllByAltText:GC,findAllByAltText:KC,findByAltText:YC,queryByTitle:QC,queryAllByTitle:XC,getByTitle:eT,getAllByTitle:ZC,findAllByTitle:tT,findByTitle:rT,queryByRole:oT,queryAllByRole:iT,getAllByRole:aT,getByRole:sT,findAllByRole:uT,findByRole:lT,queryByTestId:dT,queryAllByTestId:cT,getByTestId:fT,getAllByTestId:pT,findAllByTestId:hT,findByTestId:mT});function Gp(e,t,r){return t===void 0&&(t=il),r===void 0&&(r={}),Object.keys(t).reduce((n,i)=>{let o=t[i];return n[i]=o.bind(null,e),n},r)}var yT=e=>!e||Array.isArray(e)&&!e.length;function Qb(e){if(yT(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function k5(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Qb(e);let n=(Array.isArray(e)?e:[e]).map(i=>{let o=i.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(i)?i:null});e=()=>n.map(i=>i()).filter(Boolean)}return Qb(e()),Bm(()=>{let n;try{n=e()}catch(i){if(i.name==="TestingLibraryElementError")return;throw i}if(!yT(n))throw r},t)}var Zb={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},e0={doubleClick:"dblClick"};function ss(e,t){return it().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Pu(e,t,r,n){let{EventType:i="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let a={...o,...r},{target:{value:s,files:l,...u}={}}=a;s!==void 0&&B5(t,s),l!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:l}),Object.assign(t,u);let d=uC(t),f=d[i]||d.Event,h;if(typeof f=="function")h=new f(e,a);else{h=d.document.createEvent(i);let{bubbles:m,cancelable:b,detail:y,...A}=a;h.initEvent(e,m,b,y),Object.keys(A).forEach(E=>{h[E]=A[E]})}return["dataTransfer","clipboardData"].forEach(m=>{let b=a[m];typeof b=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,m,{value:Object.getOwnPropertyNames(b).reduce((y,A)=>(Object.defineProperty(y,A,{value:b[A]}),y),new d.DataTransfer)}):Object.defineProperty(h,m,{value:b}))}),h}Object.keys(Zb).forEach(e=>{let{EventType:t,defaultInit:r}=Zb[e],n=e.toLowerCase();Pu[e]=(i,o)=>Pu(n,i,o,{EventType:t,defaultInit:r}),ss[e]=(i,o)=>ss(i,Pu[e](i,o))});function B5(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(e0).forEach(e=>{let t=e0[e];ss[e]=function(){return ss[t](...arguments)}});function M5(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
349
+ `)}function j5(e){return R9.default.compressToEncodedURIComponent(M5(e))}function L5(e){return"https://testing-playground.com/#markup="+j5(e)}var q5=(e,t,r)=>Array.isArray(e)?e.forEach(n=>jp(n,t,r)):jp(e,t,r),$5=function(e){if(e===void 0&&(e=Fm().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=L5(e.innerHTML);return console.log(`Open this URL in your browser
350
+
351
+ `+t),t},t0={debug:q5,logTestingPlaygroundURL:$5},V5=typeof document<"u"&&document.body?Gp(document.body,il,t0):Object.keys(il).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),t0);function Qe(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,i])=>e[n]===i):!0}function Wr(e){var t;if(U5(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${J5(e)}`)}function U5(e){return e.nodeType===9}function J5(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function gT(e,t){return new Promise((r,n)=>{let i=new t;i.onerror=n,i.onabort=n,i.onload=()=>{r(String(i.result))},i.readAsText(e)})}function Lm(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var bT=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){di(this,"kind",void 0),di(this,"type",void 0),di(this,"file",null),di(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},H5=class extends Array{add(...e){let t=new bT(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function nu(e,t){let[r,n]=e.split("/"),i=!n||n==="*";return o=>t?o.type===(i?r:e):i?o.type.startsWith(`${r}/`):o.type===r}function z5(e){return new class{getData(t){var r;let n=(r=this.items.find(nu(t,!0)))!==null&&r!==void 0?r:this.items.find(nu(t,!1)),i="";return n?.getAsString(o=>{i=o}),i}setData(t,r){let n=this.items.findIndex(nu(t,!0)),i=new bT(r,t);n>=0?this.items.splice(n,1,i):this.items.push(i)}clearData(t){if(t){let r=this.items.findIndex(nu(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){di(this,"dropEffect","none"),di(this,"effectAllowed","uninitialized"),di(this,"items",new H5),di(this,"files",Lm(e,[]))}}}function qm(e,t=[]){let r=typeof e.DataTransfer>"u"?z5(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Lm(e,t)}),r}async function G5(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}function vT(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ET(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let i=await this.data[n];if(!i)throw new Error(`${n} is not one of the available MIME types on this item.`);return i instanceof e.Blob?i:new e.Blob([i],{type:n})}constructor(n){vT(this,"data",void 0),this.data=n}}(r)}var $o=Symbol("Manage ClipboardSub");function r0(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let i=n.types.includes("text/plain")?"text/plain":n.types.find(o=>o.startsWith("text/"));i&&(r+=await n.getType(i).then(o=>gT(o,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[ET(e,r)]}constructor(...r){super(...r),vT(this,"items",[])}},{[$o]:t})}function $m(e){return!!e?.[$o]}function W5(e){if($m(e.navigator.clipboard))return e.navigator.clipboard[$o];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=r0(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=r0(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[$o]}function K5(e){$m(e.navigator.clipboard)&&e.navigator.clipboard[$o].resetClipboardStub()}function Y5(e){$m(e.navigator.clipboard)&&e.navigator.clipboard[$o].detachClipboardStub()}async function X5(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let i=qm(t);for(let o of n)for(let a of o.types)i.setData(a,await o.getType(a).then(s=>gT(s,t.FileReader)));return i}async function AT(e,t){let r=Wr(e),n=r.navigator.clipboard,i=[];for(let o=0;o<t.items.length;o++){let a=t.items[o],s=await G5(r,a);i.push(ET(r,s))}if(!(n&&await n.write(i).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var ol=globalThis;typeof ol.afterEach=="function"&&ol.afterEach(()=>{typeof globalThis.window<"u"&&K5(globalThis.window)});typeof ol.afterAll=="function"&&ol.afterAll(()=>{typeof globalThis.window<"u"&&Y5(globalThis.window)});var wT=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function Vm(e){return e.matches(wT)}function Q5(e){return new e.constructor(e.type,e)}function Hn(e){for(let r=e;r;r=r.parentElement)if(Qe(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Qe(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Ms(e){let t=e.activeElement;return t?.shadowRoot?Ms(t.shadowRoot):Hn(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function nd(e){var t;return(t=Ms(e))!==null&&t!==void 0?t:e.body}function Z5(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function Xi(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function us(e){let t=e4(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function e4(e){return e.nodeType===1?e:e.parentElement}var ST=(function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e})(ST||{});function _T(e){return Qe(e,"button")||Qe(e,"input")&&e.type in ST}function Vo(e){return TT(e)&&!e.readOnly||Xi(e)}var CT=(function(e){return e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week",e})(CT||{});function TT(e){return Qe(e,"textarea")||Qe(e,"input")&&e.type in CT}function En(e){return xT(e)&&TT(e)}function t4(e){return xT(e)&&_T(e)}function xT(e){return e.nodeType===1}function r4(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&En(e)){let n=us(t.focusNode);if(n){if(!t.isCollapsed){var r;let i=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(i,0,i,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Uo(e,t){return it().eventWrapper(e)}function Ai(e){let t=Z5(e,Vm),r=Ms(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Uo(t?()=>t.focus():()=>r?.blur()),r4(t??e.ownerDocument.body))}function n4(e){!Vm(e)||Ms(e.ownerDocument)!==e||Uo(()=>e.blur())}var wi={};wi.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),i=n&&Qe(n,"label")&&n.control;if(i&&i!==t)return()=>{Vm(i)&&(Ai(i),r.dispatchEvent(i,Q5(e)))};if(Qe(t,"input",{type:"file"}))return()=>{n4(t),t.dispatchEvent(new(Wr(t)).Event("fileDialog")),Ai(t)}};var Jo=Symbol("Displayed value in UI"),Mn=Symbol("Displayed selection in UI"),al=Symbol("Initial value to compare on blur");function i4(e){return typeof e=="object"&&Jo in e}function o4(e){return!!e&&typeof e=="object"&&Mn in e}function a4(e,t){e[al]===void 0&&(e[al]=e.value),e[Jo]=t,e.value=Object.assign(new String(t),{[Jo]:!0})}function An(e){return e[Jo]===void 0?e.value:String(e[Jo])}function Um(e){e[Jo]=void 0}function RT(e){e[al]=void 0}function s4(e){return e[al]}function u4(e,t){e[Mn]=t}function ra(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let i=An(e).length,o=f=>Math.max(0,Math.min(i,f)),a=n==="replace"||e[Mn]===void 0?o(r):e[Mn].anchorOffset,s=o(t),l=Math.min(a,s),u=Math.max(a,s);if(e[Mn]={anchorOffset:a,focusOffset:s},e.selectionStart===l&&e.selectionEnd===u)return;let d=Object.assign(new Number(l),{[Mn]:!0});try{e.setSelectionRange(d,u)}catch{}}function ls(e){var t,r,n;let i=(n=e[Mn])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...i,startOffset:Math.min(i.anchorOffset,i.focusOffset),endOffset:Math.max(i.anchorOffset,i.focusOffset)}}function l4(e){return!!e[Mn]}function Ou(e){e[Mn]=void 0}var sl=globalThis.parseInt;function c4(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=sl(t[0],10),n=sl(t[1],10);if(r>=3||r===2&&n>=4){let i;return r>=3?i=1:i=2,n0(t,i)}return e.length===2?e:n0(t,2)}function n0(e,t){let r=e.slice(0,t),n=Math.min(sl(r,10),23),i=e.slice(t),o=sl(i,10),a=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${a.toString().padStart(2,"0")}`}function DT(e,t){let r=e.cloneNode();return r.value=t,r.value===t}var PT=(function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e})(PT||{});function d4(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function p4(e){return Qe(e,"textarea")||Qe(e,"input")&&e.type in PT}function OT(e,t,r,n){if(Iu(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let i=i0(e,t,r);if(i){if(Iu(i))return{node:i,offset:r>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(Qe(i,"br")){let o=i0(i,void 0,r);return o?Iu(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&Qe(o,"br")?{node:i.parentNode,offset:iu(i)}:{node:o.parentNode,offset:iu(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:i.parentNode,offset:iu(i)}:void 0}else return{node:i.parentNode,offset:iu(i)+(r>0?1:0)}}}function i0(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Jm(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),h4(e,r===1?"next":"previous",f4)}function f4(e){if(Iu(e))return!0;if(Jm(e)){if(Qe(e,["input","textarea"]))return e.type!=="hidden";if(Qe(e,"br"))return!0}return!1}function iu(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function Jm(e){return e.nodeType===1}function Iu(e){return e.nodeType===3}function h4(e,t,r){for(;;){var n;let i=e[`${t}Sibling`];if(i){if(e=m4(i,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Jm(e.parentNode)||!Xi(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function m4(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var cs=Symbol("Track programmatic changes for React workaround");function y4(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Wr(e).REACT_VERSION===17}function g4(e){y4(e)&&(e[cs]={previousValue:String(e.value),tracked:[]})}function b4(e,t){var r,n;(n=e[cs])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[cs]||(Um(e),ra(e,{focusOffset:t.length}))}function v4(e,t){var r;let n=e[cs];if(e[cs]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let i=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;i||Um(e),l4(e)&&ra(e,{focusOffset:i?t:e.value.length})}function IT(e){let t=E4(e);if(t&&En(t))return{type:"input",selection:ls(t)};let r=t?.ownerDocument.getSelection();return{type:us(e)&&r?.anchorNode&&us(r.anchorNode)?"contenteditable":"default",selection:r}}function E4(e){return e.nodeType===1?e:e.parentElement}function A4(e){let t=IT(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Qi({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var i,o;if(IT(e).type==="input")return ra(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(i=o.getSelection())===null||i===void 0||i.setBaseAndExtent(r,n,e,t)}function FT(e){return Qe(e,"input")&&["date","time"].includes(e.type)}function Ho(e,t,r,n="insertText"){let i=A4(t);i&&(!FT(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in i?w4(e,t,i,r,n):S4(e,t,i,r,n)))}function w4(e,t,r,n,i){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(i)){let a=OT(r.startContainer,r.startOffset,i==="deleteContentBackward"?-1:1,i);if(a){o=!0;let s=r.cloneRange();s.comparePoint(a.node,a.offset)<0?s.setStart(a.node,a.offset):s.setEnd(a.node,a.offset),s.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let a=r.endOffset;r.endContainer.insertData(a,n),r.setStart(r.endContainer,a+n.length),r.setEnd(r.endContainer,a+n.length)}else{let a=t.ownerDocument.createTextNode(n);r.insertNode(a),r.setStart(a,n.length),r.setEnd(a,n.length)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:i})}function S4(e,t,r,n,i){let o=n;if(p4(t)){let u=d4(t);if(u!==void 0&&n.length>0){let d=u-t.value.length;if(d>0)o=n.substring(0,d);else return}}let{newValue:a,newOffset:s,oldValue:l}=_4(o,t,r,i);a===l&&s===r.startOffset&&s===r.endOffset||Qe(t,"input",{type:"number"})&&!C4(a)||(a4(t,a),Qi({focusNode:t,anchorOffset:s,focusOffset:s}),FT(t)?DT(t,a)&&(o0(e,t,s,{}),e.dispatchUIEvent(t,"change"),RT(t)):o0(e,t,s,{data:n,inputType:i}))}function _4(e,t,{startOffset:r,endOffset:n},i){let o=An(t),a=Math.max(0,r===n&&i==="deleteContentBackward"?r-1:r),s=o.substring(0,a),l=Math.min(o.length,r===n&&i==="deleteContentForward"?r+1:n),u=o.substring(l,o.length),d=`${s}${e}${u}`,f=a+e.length;if(Qe(t,"input",{type:"time"})){let h=c4(d);h!==""&&DT(t,h)&&(d=h,f=h.length)}return{oldValue:o,newValue:d,newOffset:f}}function o0(e,t,r,n){e.dispatchUIEvent(t,"input",n),v4(t,r)}function C4(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}wi.cut=(e,t,r)=>()=>{Vo(t)&&Ho(r,t,"","deleteByCut")};function T4(e){return e?Xi(e)?e.textContent:An(e):null}function x4(e){let t=Wr(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:i}=t.getComputedStyle(r);if(n==="none"||i==="hidden")return!1}return!0}function R4(e,t){let r=e.ownerDocument,n=r.querySelectorAll(wT),i=Array.from(n).filter(l=>l===e||!(Number(l.getAttribute("tabindex"))<0||Hn(l)));Number(e.getAttribute("tabindex"))>=0&&i.sort((l,u)=>{let d=Number(l.getAttribute("tabindex")),f=Number(u.getAttribute("tabindex"));return d===f?0:d===0?1:f===0?-1:d-f});let o={},a=[r.body],s=Qe(e,"input",{type:"radio"})?e.name:void 0;i.forEach(l=>{let u=l;if(Qe(u,"input",{type:"radio"})&&u.name){if(u===e){a.push(u);return}else if(u.name===s)return;if(u.checked){a=a.filter(d=>!Qe(d,"input",{type:"radio",name:u.name})),a.push(u),o[u.name]=u;return}if(typeof o[u.name]<"u")return}a.push(u)});for(let l=a.findIndex(u=>u===e);;)if(l+=t?-1:1,l===a.length?l=0:l===-1&&(l=a.length-1),a[l]===e||a[l]===r.body||x4(a[l]))return a[l]}function a0(e,t){if(En(e)){let r=ls(e);Qi({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=OT(r.focusNode,r.focusOffset,t);n&&Qi({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function NT(e){if(En(e))return Qi({focusNode:e,anchorOffset:0,focusOffset:An(e).length});var t;let r=(t=us(e))!==null&&t!==void 0?t:e.ownerDocument.body;Qi({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function D4(e){if(En(e))return ls(e).startOffset===0&&ls(e).endOffset===An(e).length;var t;let r=(t=us(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function Ca(e,t,r){var n;if(En(e))return Qi({focusNode:e,anchorOffset:t,focusOffset:r});if(Xi(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Qi({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function ou(e,t,r){let n=Wr(t),i=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let o=i.findIndex(a=>a===t)+r;;o+=r){if(i[o]||(o=r>0?0:i.length-1),i[o]===t)return;if(!Hn(i[o])){Ai(i[o]),e.dispatchUIEvent(i[o],"click");return}}}wi.keydown=(e,t,r)=>{var n,i;return(i=(n=s0[e.key])===null||n===void 0?void 0:n.call(s0,e,t,r))!==null&&i!==void 0?i:P4(e,t,r)};var s0={ArrowDown:(e,t,r)=>{if(Qe(t,"input",{type:"radio"}))return()=>ou(r,t,1)},ArrowLeft:(e,t,r)=>Qe(t,"input",{type:"radio"})?()=>ou(r,t,-1):()=>a0(t,-1),ArrowRight:(e,t,r)=>Qe(t,"input",{type:"radio"})?()=>ou(r,t,1):()=>a0(t,1),ArrowUp:(e,t,r)=>{if(Qe(t,"input",{type:"radio"}))return()=>ou(r,t,-1)},Backspace:(e,t,r)=>{if(Vo(t))return()=>{Ho(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(Vo(t))return()=>{Ho(r,t,"","deleteContentForward")}},End:(e,t)=>{if(Qe(t,["input","textarea"])||Xi(t))return()=>{var r,n;let i=(n=(r=T4(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Ca(t,i,i)}},Home:(e,t)=>{if(Qe(t,["input","textarea"])||Xi(t))return()=>{Ca(t,0,0)}},PageDown:(e,t)=>{if(Qe(t,["input"]))return()=>{let r=An(t).length;Ca(t,r,r)}},PageUp:(e,t)=>{if(Qe(t,["input"]))return()=>{Ca(t,0,0)}},Tab:(e,t,r)=>()=>{let n=R4(t,r.system.keyboard.modifiers.Shift);Ai(n),En(n)&&ra(n,{anchorOffset:0,focusOffset:n.value.length})}},P4=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>NT(t)};wi.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Qe(t,"button")||Qe(t,"input")&&O4.includes(t.type)||Qe(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Qe(t,"input")){let n=t.form,i=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return i?()=>r.dispatchUIEvent(i,"click"):n&&I4.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Vo(t)){let n=e.key==="Enter"?Xi(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",i=e.key==="Enter"?`
352
+ `:e.key;return()=>Ho(r,t,i,n)}};var O4=["button","color","file","image","reset","submit"],I4=["email","month","password","search","tel","text","url","week"];wi.keyup=(e,t,r)=>{var n;return(n=u0[e.key])===null||n===void 0?void 0:n.call(u0,e,t,r)};var u0={" ":(e,t,r)=>{if(_T(t))return()=>r.dispatchUIEvent(t,"click")}};wi.paste=(e,t,r)=>{if(Vo(t))return()=>{var n;let i=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");i&&Ho(r,t,i,"insertFromPaste")}};var kT={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusin:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusout:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function BT(e){return kT[e].EventType}var F4=["MouseEvent","PointerEvent"];function N4(e){return F4.includes(BT(e))}function k4(e){return BT(e)==="KeyboardEvent"}var B4={ClipboardEvent:[j4],Event:[],FocusEvent:[ma,L4],InputEvent:[ma,q4],MouseEvent:[ma,id,l0],PointerEvent:[ma,id,l0,V4],KeyboardEvent:[ma,id,$4]};function MT(e,t,r){let n=Wr(t),{EventType:i,defaultInit:o}=kT[e],a=new(M4(n))[i](e,o);var s={};for(var l in r)Object.prototype.hasOwnProperty.call(r,l)&&(s[l]=r[l]);return s.view=n,B4[i].forEach(function(u){u(a,s)}),a}function M4(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let i=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var o;let a=(o=e.ClipboardEvent)!==null&&o!==void 0?o:class extends r{};var s;let l=(s=e.PopStateEvent)!==null&&s!==void 0?s:class extends r{};var u;let d=(u=e.ProgressEvent)!==null&&u!==void 0?u:class extends r{};var f;let h=(f=e.TransitionEvent)!==null&&f!==void 0?f:class extends r{};var m;let b=(m=e.UIEvent)!==null&&m!==void 0?m:class extends r{};var y;let A=(y=e.CompositionEvent)!==null&&y!==void 0?y:class extends b{};var E;let _=(E=e.FocusEvent)!==null&&E!==void 0?E:class extends b{};var I;let P=(I=e.InputEvent)!==null&&I!==void 0?I:class extends b{};var x;let g=(x=e.KeyboardEvent)!==null&&x!==void 0?x:class extends b{};var w;let C=(w=e.MouseEvent)!==null&&w!==void 0?w:class extends b{};var R;let j=(R=e.DragEvent)!==null&&R!==void 0?R:class extends C{};var B;let U=(B=e.PointerEvent)!==null&&B!==void 0?B:class extends C{};var $;let k=($=e.TouchEvent)!==null&&$!==void 0?$:class extends b{};return{Event:r,AnimationEvent:i,ClipboardEvent:a,PopStateEvent:l,ProgressEvent:d,TransitionEvent:h,UIEvent:b,CompositionEvent:A,FocusEvent:_,InputEvent:P,KeyboardEvent:g,MouseEvent:C,DragEvent:j,PointerEvent:U,TouchEvent:k}}function Ti(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ut(e){return Number(e??0)}function j4(e,{clipboardData:t}){Ti(e,{clipboardData:t})}function L4(e,{relatedTarget:t}){Ti(e,{relatedTarget:t})}function q4(e,{data:t,inputType:r,isComposing:n}){Ti(e,{data:t,isComposing:!!n,inputType:String(r)})}function ma(e,{view:t,detail:r}){Ti(e,{view:t,detail:Ut(r??0)})}function id(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,modifierAltGraph:o,modifierCapsLock:a,modifierFn:s,modifierFnLock:l,modifierNumLock:u,modifierScrollLock:d,modifierSymbol:f,modifierSymbolLock:h}){Ti(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!i,getModifierState(m){return!!{Alt:t,AltGraph:o,CapsLock:a,Control:r,Fn:s,FnLock:l,Meta:n,NumLock:u,ScrollLock:d,Shift:i,Symbol:f,SymbolLock:h}[m]}})}function $4(e,{key:t,code:r,location:n,repeat:i,isComposing:o,charCode:a}){Ti(e,{key:String(t),code:String(r),location:Ut(n),repeat:!!i,isComposing:!!o,charCode:a})}function l0(e,{x:t,y:r,screenX:n,screenY:i,clientX:o=t,clientY:a=r,button:s,buttons:l,relatedTarget:u,offsetX:d,offsetY:f,pageX:h,pageY:m}){Ti(e,{screenX:Ut(n),screenY:Ut(i),clientX:Ut(o),x:Ut(o),clientY:Ut(a),y:Ut(a),button:Ut(s),buttons:Ut(l),relatedTarget:u,offsetX:Ut(d),offsetY:Ut(f),pageX:Ut(h),pageY:Ut(m)})}function V4(e,{pointerId:t,width:r,height:n,pressure:i,tangentialPressure:o,tiltX:a,tiltY:s,twist:l,pointerType:u,isPrimary:d}){Ti(e,{pointerId:Ut(t),width:Ut(r??1),height:Ut(n??1),pressure:Ut(i),tangentialPressure:Ut(o),tiltX:Ut(a),tiltY:Ut(s),twist:Ut(l),pointerType:String(u),isPrimary:!!d})}function U4(e,t,r,n=!1){(N4(t)||k4(t))&&(r={...r,...this.system.getUIEventModifiers()});let i=MT(t,e,r);return jT.call(this,e,i,n)}function jT(e,t,r=!1){var n;let i=t.type,o=r?()=>{}:(n=wi[i])===null||n===void 0?void 0:n.call(wi,t,e,this);if(o){t.preventDefault();let a=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>a}),Object.defineProperty(t,"preventDefault",{value:()=>{a=t.cancelable}}),Uo(()=>e.dispatchEvent(t)),a||o(),!a}return Uo(()=>e.dispatchEvent(t))}function Mi(e,t,r){let n=MT(t,e,r);Uo(()=>e.dispatchEvent(n))}var c0=Symbol("patched focus/blur methods");function LT(e){if(e.prototype[c0])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:()=>i},blur:{configurable:!0,get:()=>o},[c0]:{configurable:!0,get:()=>({focus:t,blur:r})}});let n;function i(a){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,a);let s=d0(this.ownerDocument);if(s===this)return;let l=Symbol("focus call");n=l,s&&(r.call(s),Mi(s,"blur",{relatedTarget:this}),Mi(s,"focusout",{relatedTarget:n===l?this:null})),n===l&&(t.call(this,a),Mi(this,"focus",{relatedTarget:s})),n===l&&Mi(this,"focusin",{relatedTarget:s})}function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let a=d0(this.ownerDocument);a===this&&(n=Symbol("blur call"),r.call(this),Mi(a,"blur",{relatedTarget:null}),Mi(a,"focusout",{relatedTarget:null}))}}function d0(e){let t=Ms(e);return t?.tagName==="BODY"?null:t}var od=Symbol("Interceptor for programmatical calls");function So(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][od])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function a(...s){let{applyNative:l=!1,realArgs:u,then:d}=r.call(this,...s),f=(!l&&i||n)[o];o==="set"?f.call(this,u):f.call(this,...u),d?.()}a[od]=od,Object.defineProperty(e,t,{...i??n,[o]:a})}function J4(e){So(e,"value",function(t){let r=i4(t);return r&&g4(this),{applyNative:!!r,realArgs:H4(this,t),then:r?void 0:()=>b4(this,String(t))}})}function H4(e,t){return Qe(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function z4(e){So(e,"setSelectionRange",function(t,...r){let n=o4(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Ou(e)}}),So(e,"selectionStart",function(t){return{realArgs:t,then:()=>Ou(e)}}),So(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Ou(e)}}),So(e,"select",function(){return{realArgs:[],then:()=>u4(e,{anchorOffset:0,focusOffset:An(e).length})}})}function G4(e){So(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Um(e),Ou(e)}}})}var Do=Symbol("Node prepared with document state workarounds");function qT(e){e[Do]||(e.addEventListener("focus",t=>{let r=t.target;p0(r)},{capture:!0,passive:!0}),e.activeElement&&p0(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=s4(r);n!==void 0&&(r.value!==n&&Mi(r,"change"),RT(r))},{capture:!0,passive:!0}),e[Do]=Do)}function p0(e){e[Do]||(Qe(e,["input","textarea"])&&(J4(e),z4(e),G4(e)),e[Do]=Do)}function W4(e){return K4(e)?e:e.ownerDocument}function K4(e){return e.nodeType===9}var Or=(function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e})({});function Ta(e,t){e.levelRefs[t]={}}function au(e,t){return e.levelRefs[t]}function zo(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}var Fu=(function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e})({});function Pi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var sn=(function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e})({}),Y4=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function f0(e){return Y4.includes(e)}var X4=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function h0(e){return X4.includes(e)}var Q4=class{isKeyPressed(e){return this.pressed.has(String(e.code))}getPressedKeys(){return this.pressed.values().map(e=>e.keyDef)}async keydown(e,t){let r=String(t.key),n=String(t.code),i=nd(e.config.document);this.setKeydownTarget(i),this.pressed.add(n,t),f0(r)&&(this.modifiers[r]=!0);let o=e.dispatchUIEvent(i,"keydown",{key:r,code:n});h0(r)&&!this.modifiers[r]&&(this.modifiers[r]=!0,this.modifierLockStart[r]=!0),o&&this.pressed.setUnprevented(n),o&&this.hasKeyPress(r)&&e.dispatchUIEvent(nd(e.config.document),"keypress",{key:r,code:n,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),i=this.pressed.isUnprevented(n);this.pressed.delete(n),f0(r)&&!this.pressed.values().find(o=>o.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(nd(e.config.document),"keyup",{key:r,code:n},!i),h0(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){Pi(this,"system",void 0),Pi(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),Pi(this,"pressed",new class{add(t,r){var n,i,o;(o=(n=this.registry)[i=t])!==null&&o!==void 0||(n[i]={keyDef:r,unpreventedDefault:!1})}has(t){return!!this.registry[t]}setUnprevented(t){let r=this.registry[t];r&&(r.unpreventedDefault=!0)}isUnprevented(t){var r;return!!(!((r=this.registry[t])===null||r===void 0)&&r.unpreventedDefault)}delete(t){delete this.registry[t]}values(){return Object.values(this.registry)}constructor(){Pi(this,"registry",{})}}),Pi(this,"carryChar",""),Pi(this,"lastKeydownTarget",void 0),Pi(this,"modifierLockStart",{}),this.system=e}},Z4=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:sn.LEFT},{code:"AltRight",key:"Alt",location:sn.RIGHT},{code:"ShiftLeft",key:"Shift",location:sn.LEFT},{code:"ShiftRight",key:"Shift",location:sn.RIGHT},{code:"ControlLeft",key:"Control",location:sn.LEFT},{code:"ControlRight",key:"Control",location:sn.RIGHT},{code:"MetaLeft",key:"Meta",location:sn.LEFT},{code:"MetaRight",key:"Meta",location:sn.RIGHT},{code:"OSLeft",key:"OS",location:sn.LEFT},{code:"OSRight",key:"OS",location:sn.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],eV=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function tV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var $T=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Wp(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Wp(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){tV(this,"pressed",{})}},m0={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Wp(e=0){return e in m0?m0[e]:Number(e)}var y0={1:2,2:1};function Kp(e){return e=Wp(e),e in y0?y0[e]:e}function rV(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var nV=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){rV(this,"pressedKeys",new Set)}};function Ma(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let i=0;for(;!(i>=r.length||i>=n.length||r[r.length-1-i]!==n[n.length-1-i]);i++);return[r.slice(0,r.length-i),n.slice(0,n.length-i),n.slice(n.length-i)]}function Yp({target:e,node:t,offset:r}){return En(e)?{node:e,offset:r??An(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:VT(e,r)}function VT(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,i=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let o=e.childNodes.item(n),a=String(o.textContent);if(a.length)if(t!==void 0&&a.length<t)t-=a.length;else{if(o.nodeType===1)return VT(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=i}return{node:e,offset:e.childNodes.length}}function iV({document:e,target:t,clickCount:r,node:n,offset:i}){if(t4(t))return;let o=En(t),a=String(o?An(t):t.textContent),[s,l]=n?[i,i]:oV(a,i,r);if(o)return ra(t,{anchorOffset:s??a.length,focusOffset:l??a.length}),{node:t,start:s??0,end:l??a.length};{let{node:u,offset:d}=Yp({target:t,node:n,offset:s}),{node:f,offset:h}=Yp({target:t,node:n,offset:l}),m=t.ownerDocument.createRange();try{m.setStart(u,d),m.setEnd(f,h)}catch{throw new Error("The given offset is out of bounds.")}let b=e.getSelection();return b?.removeAllRanges(),b?.addRange(m.cloneRange()),m}}function oV(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function aV(e,{document:t,target:r,node:n,offset:i}){let o=Yp({target:r,node:n,offset:i});if("node"in e){if(o.node===e.node){let a=o.offset<e.start?e.end:e.start,s=o.offset>e.end||o.offset<e.start?o.offset:e.end;ra(e.node,{anchorOffset:a,focusOffset:s})}}else{let a=e.cloneRange(),s=a.comparePoint(o.node,o.offset);s<0?a.setStart(o.node,o.offset):s>0&&a.setEnd(o.node,o.offset);let l=t.getSelection();l?.removeAllRanges(),l?.addRange(a.cloneRange())}}function UT(e,t){var r,n,i,o,a,s,l,u,d,f,h,m,b,y,A,E,_,I,P,x,g,w,C,R;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.x)||((i=e.coords)===null||i===void 0?void 0:i.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((a=e.coords)===null||a===void 0?void 0:a.clientX)!==((s=t.coords)===null||s===void 0?void 0:s.clientX)||((l=e.coords)===null||l===void 0?void 0:l.clientY)!==((u=t.coords)===null||u===void 0?void 0:u.clientY)||((d=e.coords)===null||d===void 0?void 0:d.offsetX)!==((f=t.coords)===null||f===void 0?void 0:f.offsetX)||((h=e.coords)===null||h===void 0?void 0:h.offsetY)!==((m=t.coords)===null||m===void 0?void 0:m.offsetY)||((b=e.coords)===null||b===void 0?void 0:b.pageX)!==((y=t.coords)===null||y===void 0?void 0:y.pageX)||((A=e.coords)===null||A===void 0?void 0:A.pageY)!==((E=t.coords)===null||E===void 0?void 0:E.pageY)||((_=e.coords)===null||_===void 0?void 0:_.screenX)!==((I=t.coords)===null||I===void 0?void 0:I.screenX)||((P=e.coords)===null||P===void 0?void 0:P.screenY)!==((x=t.coords)===null||x===void 0?void 0:x.screenY)||((g=e.caret)===null||g===void 0?void 0:g.node)!==((w=t.caret)===null||w===void 0?void 0:w.node)||((C=e.caret)===null||C===void 0?void 0:C.offset)!==((R=t.caret)===null||R===void 0?void 0:R.offset)}function Oi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var sV=class{move(e,t,r){let n=this.position,i=this.getTarget(e);if(this.position=t,!UT(n,t))return;let o=this.getTarget(e),a=this.getEventInit("mousemove"),[s,l]=Ma(i,o);return{leave:()=>{i!==o&&(e.dispatchUIEvent(i,"mouseout",a),s.forEach(u=>e.dispatchUIEvent(u,"mouseleave",a)))},enter:()=>{i!==o&&(e.dispatchUIEvent(o,"mouseover",a),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",a)))},move:()=>{r||(e.dispatchUIEvent(o,"mousemove",a),this.modifySelecting(e))}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let i=this.getTarget(e);this.buttonDownTarget[n]=i;let o=this.getEventInit("mousedown",t.button),a=Hn(i);!r&&(a||e.dispatchUIEvent(i,"mousedown",o))&&(this.startSelecting(e,o.detail),Ai(i)),!a&&Kp(t.button)===2&&e.dispatchUIEvent(i,"contextmenu",this.getEventInit("contextmenu",t.button))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let i=this.getTarget(e);if(!Hn(i)){if(!r){let a=this.getEventInit("mouseup",t.button);e.dispatchUIEvent(i,"mouseup",a),this.endSelecting()}let o=Ma(this.buttonDownTarget[n],i)[2][0];if(o){let a=this.getEventInit("click",t.button);a.detail&&(e.dispatchUIEvent(o,a.button===0?"click":"auxclick",a),a.button===0&&a.detail===2&&e.dispatchUIEvent(o,"dblclick",{...this.getEventInit("dblclick",t.button),detail:a.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t){let r={...this.position.coords};return r.button=Kp(t),r.buttons=this.buttons.getButtons(),e==="mousedown"?r.detail=this.clickCount.getOnDown(r.button):e==="mouseup"?r.detail=this.clickCount.getOnUp(r.button):(e==="click"||e==="auxclick")&&(r.detail=this.clickCount.incOnClick(r.button)),r}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=iV({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&aV(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){Oi(this,"position",{}),Oi(this,"buttons",new $T),Oi(this,"selecting",void 0),Oi(this,"buttonDownTarget",{}),Oi(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){Oi(this,"down",{}),Oi(this,"count",{})}})}};function ul(e,t){var r;return((r=JT(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function uV(e){let t=Wr(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let i=t.getComputedStyle(r).pointerEvents;if(i&&!["inherit","unset"].includes(i))return{pointerEvents:i,tree:n}}}var g0=Symbol("Last check for pointer-events");function JT(e,t){let r=t[g0];if(!(e.config.pointerEventsCheck!==Fu.Never&&(!r||b0(e.config.pointerEventsCheck,Fu.EachApiCall)&&r[Or.Call]!==au(e,Or.Call)||b0(e.config.pointerEventsCheck,Fu.EachTrigger)&&r[Or.Trigger]!==au(e,Or.Trigger))))return r?.result;let n=uV(t);return t[g0]={[Or.Call]:au(e,Or.Call),[Or.Trigger]:au(e,Or.Trigger),result:n},n}function xa(e,t){let r=JT(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",lV(r.tree)].join(`
353
+ `))}function lV(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,cV(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
354
+ `)}function cV(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,i;r=(i=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||i===void 0||(n=i.textContent)===null||n===void 0?void 0:n.trim()}else if(Qe(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(a=>{var s;return(s=a.textContent)===null||s===void 0?void 0:s.trim()}).join("|");else if(Qe(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}function b0(e,t){return(e&t)>0}function Dn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dV=class{init(e){let t=this.getTarget(e),[,r]=Ma(null,t),n=this.getEventInit();return xa(e,t),e.dispatchUIEvent(t,"pointerover",n),r.forEach(i=>e.dispatchUIEvent(i,"pointerenter",n)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!UT(r,t))return;let i=this.getTarget(e),o=this.getEventInit(-1),[a,s]=Ma(n,i);return{leave:()=>{ul(e,n)&&n!==i&&(e.dispatchUIEvent(n,"pointerout",o),a.forEach(l=>e.dispatchUIEvent(l,"pointerleave",o)))},enter:()=>{xa(e,i),n!==i&&(e.dispatchUIEvent(i,"pointerover",o),s.forEach(l=>e.dispatchUIEvent(l,"pointerenter",o)))},move:()=>{e.dispatchUIEvent(i,"pointermove",o)}}}down(e,t=0){if(this.isDown)return;let r=this.getTarget(e);xa(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit(t))}up(e,t=0){if(!this.isDown)return;let r=this.getTarget(e);xa(e,r),this.isPrevented=!1,this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit(t))}release(e){let t=this.getTarget(e),[r]=Ma(t,null),n=this.getEventInit();ul(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(i=>e.dispatchUIEvent(i,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(e){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:Kp(e),buttons:this.buttons.getButtons()}}constructor({pointerId:e,pointerType:t,isPrimary:r},n){Dn(this,"pointerId",void 0),Dn(this,"pointerType",void 0),Dn(this,"isPrimary",void 0),Dn(this,"buttons",void 0),Dn(this,"isMultitouch",!1),Dn(this,"isCancelled",!1),Dn(this,"isDown",!1),Dn(this,"isPrevented",!1),Dn(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r,this.buttons=n}};function ti(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var pV=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t);let n=this.getPointerName(t),i=t.pointerType==="touch"?this.pointers.new(n,t.pointerType,this.buttons):this.pointers.get(n);i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),i.pointerType==="touch"&&i.init(e),i.down(e,t.button),i.pointerType!=="touch"&&this.mouse.down(e,t,i.isPrevented)}async move(e,t,r){let n=this.pointers.get(t),i=n.move(e,r),o=n.pointerType==="touch"?void 0:this.mouse.move(e,r,n.isPrevented);i?.leave(),o?.leave(),i?.enter(),o?.enter(),i?.move(),o?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let i=this.pointers.get(this.getPointerName(t)),o=i.isPrevented;if(i.position=r,i.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&i.up(e,t.button),i.pointerType==="touch"&&i.release(e),i.pointerType==="touch"&&!i.isMultitouch){let a=this.mouse.move(e,r,o);a?.leave(),a?.enter(),a?.move(),this.mouse.down(e,t,o)}if(!i.isMultitouch){let a=this.mouse.move(e,r,o);a?.leave(),a?.enter(),a?.move(),this.mouse.up(e,t,o)}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){ti(this,"system",void 0),ti(this,"mouse",void 0),ti(this,"buttons",void 0),ti(this,"devices",new class{get(t){var r,n,i;return(i=(r=this.registry)[n=t])!==null&&i!==void 0?i:r[n]=new nV}constructor(){ti(this,"registry",{})}}),ti(this,"pointers",new class{new(t,r,n){let i=r!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return i||Object.values(this.registry).forEach(o=>{o.pointerType===r&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new dV({pointerId:this.nextId++,pointerType:r,isPrimary:i},n),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){ti(this,"registry",{}),ti(this,"nextId",1)}}),this.system=e,this.buttons=new $T,this.mouse=new sV,this.pointers.new("mouse","mouse",this.buttons)}};function v0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var HT=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){v0(this,"keyboard",new Q4(this)),v0(this,"pointer",new pV(this))}};async function fV(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function hV(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function mV(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function yV(e){return this.pointer({target:e})}async function gV(e){return xa(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function bV({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}var Hm=(function(e){return e["{"]="}",e["["]="]",e})(Hm||{});function zT(e,t){let r=0,n=e[r]in Hm?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?vV(e,r,t):EV(e,r,i,t)}}function vV(e,t,r){let n=e[t];return GT(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function EV(e,t,r,n){var i,o;let a=e[t]==="/"?"/":"";t+=a.length;let s=r==="{"&&e[t]==="\\";t+=Number(s);let l=s?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];GT(l,e,t,n),t+=l.length;var u;let d=(u=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&u!==void 0?u:"";t+=d.length;let f=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=f.length;let h=Hm[r],m=e[t]===h?h:"";if(!m)throw new Error(WT([!d&&"repeat modifier",!f&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=m.length,{consumedLength:t,descriptor:l,releasePrevious:!!a,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:AV(f,d)}}function GT(e,t,r,n){if(!e)throw new Error(WT("key descriptor",t[r],t,n))}function AV(e,t){if(e)return e==="/";if(t)return!1}function WT(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
355
+ See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
356
+ for more information about how userEvent parses your input.`}function wV(e,t){let r=[];do{let{type:i,descriptor:o,consumedLength:a,releasePrevious:s,releaseSelf:l=!0,repeat:u}=zT(t,"keyboard");var n;let d=(n=e.find(f=>{if(i==="["){var h;return((h=f.code)===null||h===void 0?void 0:h.toLowerCase())===o.toLowerCase()}else if(i==="{"){var m;return((m=f.key)===null||m===void 0?void 0:m.toLowerCase())===o.toLowerCase()}return f.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[i==="["?"code":"key"]:o};r.push({keyDef:d,releasePrevious:s,releaseSelf:l,repeat:u}),t=t.slice(a)}while(t);return r}async function SV(e){let t=wV(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await zo(this.config),await _V(this,t[r])}async function _V(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:i}){let{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let a=1;a<=i;a++)await o.keyboard.keydown(e,t),a<i&&await zo(e.config);n&&await o.keyboard.keyup(e,t)}}async function CV(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function KT(e){let t=En(e)?{"text/plain":TV(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=qm(Wr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function TV(e){let t=ls(e);return An(e).substring(t.startOffset,t.endOffset)}async function xV(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=KT(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await AT(e,n),n}async function RV(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=KT(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await AT(r.ownerDocument,n),n}async function DV(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var i;let o=(i=typeof e=="string"?PV(t,e):e)!==null&&i!==void 0?i:await X5(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}function PV(e,t){let r=qm(Wr(e));return r.setData("text",t),r}function E0(e,t){let r=[];do{let{descriptor:n,consumedLength:i,releasePrevious:o,releaseSelf:a=!0}=zT(t,"pointer"),s=e.find(l=>l.name===n);s&&r.push({keyDef:s,releasePrevious:o,releaseSelf:a}),t=t.slice(i)}while(t);return r}async function OV(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...E0(t,n)):"keys"in n?r.push(...E0(t,n.keys).map(i=>({...n,...i}))):r.push(n)});for(let n=0;n<r.length;n++)await zo(this.config),await IV(this,r[n]);this.system.pointer.resetClickCount()}async function IV(e,t){var r,n;let i="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(i);var a,s,l,u;let d={target:(a=t.target)!==null&&a!==void 0?a:FV(e,o),coords:(s=t.coords)!==null&&s!==void 0?s:o?.coords,caret:{node:(l=t.node)!==null&&l!==void 0?l:A0(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(u=t.offset)!==null&&u!==void 0?u:A0(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Ta(e,Or.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(Ta(e,Or.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(Ta(e,Or.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(Ta(e,Or.Trigger),await e.system.pointer.move(e,i,d))}function A0(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function FV(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function NV(e){if(!Vo(e)||Hn(e))throw new Error("clear()` is only supported on editable elements.");if(Ai(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(NT(e),!D4(e))throw new Error("The element content to be cleared could not be selected.");Ho(this,e,"","deleteContentBackward")}async function kV(e,t){return YT.call(this,!0,e,t)}async function BV(e,t){return YT.call(this,!1,e,t)}async function YT(e,t,r){if(!e&&!t.multiple)throw it().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],i=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(s=>{if(typeof s!="string"&&i.includes(s))return s;{let l=i.find(u=>u.value===s||u.innerHTML===s);if(l)return l;throw it().getElementError(`Value "${String(s)}" not found in options`,t)}}).filter(s=>!Hn(s));if(Hn(t)||!o.length)return;let a=s=>{s.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(Qe(t,"select"))if(t.multiple)for(let s of o){let l=this.config.pointerEventsCheck===0?!0:ul(this,s);l&&(this.dispatchUIEvent(s,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(s,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(s,"pointermove"),this.dispatchUIEvent(s,"mousemove"),this.dispatchUIEvent(s,"pointerdown"),this.dispatchUIEvent(s,"mousedown")),Ai(t),l&&(this.dispatchUIEvent(s,"pointerup"),this.dispatchUIEvent(s,"mouseup")),a(s),l&&this.dispatchUIEvent(s,"click"),await zo(this.config)}else if(o.length===1){let s=this.config.pointerEventsCheck===0?!0:ul(this,t);s?await this.click(t):Ai(t),a(o[0]),s&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await zo(this.config)}else throw it().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let s of o)await this.click(s),await this.unhover(s);else throw it().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function MV(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),i!==void 0&&Ca(e,i,o??i),await this.keyboard(t),n||await CV(this))}var w0=Symbol("files and value properties are mocked");function ad(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function jV(e,t){var r;(r=e[w0])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),i=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function a(){ad(e,"type",n),ad(e,"value",i),ad(e,"files",o)}e[w0]={restore:a},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(s){if(s==="")a();else{var l;i==null||(l=i.set)===null||l===void 0||l.call(e,s)}}},type:{configurable:!0,get:()=>"file",set(s){s!=="file"&&(a(),e.type=s)}}})}async function LV(e,t){let r=Qe(e,"label")?e.control:e;if(!r||!Qe(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(Hn(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||qV(o,r.accept)).slice(0,r.multiple?void 0:1),i=()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((a,s)=>{var l;return a===((l=r.files)===null||l===void 0?void 0:l.item(s))})||(jV(r,Lm(Wr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",i),await this.click(e),r.removeEventListener("fileDialog",i)}function su(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}function qV(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return su(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?su(e.name).endsWith(n):r.includes(n)?su(e.type).startsWith(n.replace("*","")):su(e.type)===n)}var S0={click:fV,dblClick:hV,tripleClick:mV,hover:yV,unhover:gV,tab:bV,keyboard:SV,copy:xV,cut:RV,paste:DV,pointer:OV,clear:NV,deselectOptions:BV,selectOptions:kV,type:MV,upload:LV};function $V(e){return it().asyncWrapper(e)}var XT={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:Z4,pointerMap:eV,pointerEventsCheck:Fu.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},VV={...XT,writeToClipboard:!0};function QT(e={},t=VV,r){let n=zV(e,r,t);return{...t,...e,document:n}}function UV(e={}){let t=QT(e);qT(t.document),LT(Wr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return W5(n),zm(t).api}function br({keyboardState:e,pointerState:t,...r}={},n){let i=QT(r,XT,n);qT(i.document),LT(Wr(i.document).HTMLElement);var o;let a=(o=t??e)!==null&&o!==void 0?o:new HT;return{api:zm(i,a).api,system:a}}function JV(e){return zm({...this.config,...e},this.system).api}function HV(e,t){function r(...n){return Ta(e,Or.Call),$V(()=>t.apply(e,n).then(async i=>(await zo(e.config),i)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function zm(e,t=new HT){let r={};return Object.assign(r,{config:e,dispatchEvent:jT.bind(r),dispatchUIEvent:U4.bind(r),system:t,levelRefs:{},...S0}),{instance:r,api:{...Object.fromEntries(Object.entries(S0).map(([n,i])=>[n,HV(r,i)])),setup:JV.bind(r)}}}function zV(e,t,r){var n,i;return(i=(n=e.document)!==null&&n!==void 0?n:t&&W4(t))!==null&&i!==void 0?i:r.document}var ZT={};Rr(ZT,{clear:()=>GV,click:()=>WV,copy:()=>KV,cut:()=>YV,dblClick:()=>XV,deselectOptions:()=>QV,hover:()=>ZV,keyboard:()=>e7,paste:()=>r7,pointer:()=>t7,selectOptions:()=>n7,tab:()=>u7,tripleClick:()=>i7,type:()=>o7,unhover:()=>a7,upload:()=>s7});function GV(e){return br().api.clear(e)}function WV(e,t={}){return br(t,e).api.click(e)}function KV(e={}){return br(e).api.copy()}function YV(e={}){return br(e).api.cut()}function XV(e,t={}){return br(t).api.dblClick(e)}function QV(e,t,r={}){return br(r).api.deselectOptions(e,t)}function ZV(e,t={}){return br(t).api.hover(e)}async function e7(e,t={}){let{api:r,system:n}=br(t);return r.keyboard(e).then(()=>n)}async function t7(e,t={}){let{api:r,system:n}=br(t);return r.pointer(e).then(()=>n)}function r7(e,t){return br(t).api.paste(e)}function n7(e,t,r={}){return br(r).api.selectOptions(e,t)}function i7(e,t={}){return br(t).api.tripleClick(e)}function o7(e,t,r={}){return br(r,e).api.type(e,t,r)}function a7(e,t={}){let{api:r,system:n}=br(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function s7(e,t,r={}){return br(r).api.upload(e,t)}function u7(e={}){return br().api.tab(e)}var ex={...ZT,setup:UV},Xp=xs({...H_},{getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper"),intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Xp.screen=new Proxy(Xp.screen,{get(e,t,r){return typeof window<"u"&&globalThis.location?.href?.includes("viewMode=docs")&&zt.warn(tt`
357
+ You are using Testing Library's \`screen\` object while the story is rendered in docs mode. This will likely lead to issues, as multiple stories are rendered in the same page and therefore screen will potentially find multiple elements. Use the \`canvas\` utility from the story context instead, which will scope the queries to each story's canvas.
358
+
359
+ More info: https://storybook.js.org/docs/writing-tests/interaction-testing?ref=error#querying-the-canvas
360
+ `),Reflect.get(e,t,r)}});var{buildQueries:l7,configure:c7,createEvent:d7,fireEvent:p7,findAllByAltText:f7,findAllByDisplayValue:h7,findAllByLabelText:m7,findAllByPlaceholderText:y7,findAllByRole:g7,findAllByTestId:b7,findAllByText:v7,findAllByTitle:E7,findByAltText:A7,findByDisplayValue:w7,findByLabelText:S7,findByPlaceholderText:_7,findByRole:C7,findByTestId:T7,findByText:x7,findByTitle:R7,getAllByAltText:D7,getAllByDisplayValue:P7,getAllByLabelText:O7,getAllByPlaceholderText:I7,getAllByRole:F7,getAllByTestId:N7,getAllByText:k7,getAllByTitle:B7,getByAltText:M7,getByDisplayValue:j7,getByLabelText:L7,getByPlaceholderText:q7,getByRole:$7,getByTestId:V7,getByText:U7,getByTitle:J7,getConfig:H7,getDefaultNormalizer:z7,getElementError:G7,getNodeText:W7,getQueriesForElement:K7,getRoles:Y7,getSuggestedQuery:X7,isInaccessible:Q7,logDOM:Z7,logRoles:eU,prettyDOM:tU,queries:rU,queryAllByAltText:nU,queryAllByAttribute:iU,queryAllByDisplayValue:oU,queryAllByLabelText:aU,queryAllByPlaceholderText:sU,queryAllByRole:uU,queryAllByTestId:lU,queryAllByText:cU,queryAllByTitle:dU,queryByAltText:pU,queryByAttribute:fU,queryByDisplayValue:hU,queryByLabelText:mU,queryByPlaceholderText:yU,queryByRole:gU,queryByTestId:bU,queryByText:vU,queryByTitle:EU,queryHelpers:AU,screen:wU,waitFor:SU,waitForElementToBeRemoved:_U,within:tx,prettyFormat:CU}=Xp,rx=ex,{userEvent:TU}=xs({userEvent:ex},{intercept:!0,getKeys:e=>Object.keys(e).filter(t=>t!=="eventWrapper")}),{expect:xU}=xs({expect:j_},{getKeys:(e,t)=>{if("constructor"in e&&e.constructor===z){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(i=>!r.includes(i));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},mutate:!0,intercept:e=>e!=="expect"}),RU={mock:()=>{}},_0=!1,DU=e=>{let{parameters:t}=e;t?.actions?.disable||_0||(L_((r,n)=>{let i=r.getMockName();i!=="spy"&&i!=="vi.fn()"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/link::Link","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(o=>i.startsWith(o)))&&Ls(i)(n)}),_0=!0)},PU=[DU],C0=()=>({...Kw,...Xw}),ll="backgrounds",OU={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:tn}=globalThis,IU=()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,T0=e=>{(Array.isArray(e)?e:[e]).forEach(FU)},FU=e=>{if(!tn)return;let t=tn.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},NU=(e,t)=>{if(!tn)return;let r=tn.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=tn.createElement("style");n.setAttribute("id",e),n.innerHTML=t,tn.head.appendChild(n)}},kU=(e,t,r)=>{if(!tn)return;let n=tn.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=tn.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let o=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,a=tn.getElementById(o);a?a.parentElement?.insertBefore(i,a):tn.head.appendChild(i)}},BU={cellSize:100,cellAmount:10,opacity:.8},x0="addon-backgrounds",R0="addon-backgrounds-grid",MU=IU()?"":"transition: background-color 0.3s;",jU=(e,t)=>{let{globals:r={},parameters:n={},viewMode:i,id:o}=t,{options:a=OU,disable:s,grid:l=BU}=n[ll]||{},u=r[ll]||{},d=typeof u=="string"?u:u?.value,f=d?a[d]:void 0,h=typeof f=="string"?f:f?.value||"transparent",m=typeof u=="string"?!1:u.grid||!1,b=!!f&&!s,y=i==="docs"?`#anchor--${o} .docs-story, #anchor--primary--${o} .docs-story`:".sb-show-main",A=i==="docs"?`#anchor--${o} .docs-story, #anchor--primary--${o} .docs-story`:".sb-show-main",E=n.layout===void 0||n.layout==="padded",_=i==="docs"?20:E?16:0,{cellAmount:I,cellSize:P,opacity:x,offsetX:g=_,offsetY:w=_}=l,C=i==="docs"?`${x0}-docs-${o}`:`${x0}-color`,R=i==="docs"?o:null;Wi(()=>{let B=`
361
+ ${y} {
362
+ background: ${h} !important;
363
+ ${MU}
364
+ }`;if(!b){T0(C);return}kU(C,B,R)},[y,C,R,b,h]);let j=i==="docs"?`${R0}-docs-${o}`:`${R0}`;return Wi(()=>{if(!m){T0(j);return}let B=[`${P*I}px ${P*I}px`,`${P*I}px ${P*I}px`,`${P}px ${P}px`,`${P}px ${P}px`].join(", "),U=`
365
+ ${A} {
366
+ background-size: ${B} !important;
367
+ background-position: ${g}px ${w}px, ${g}px ${w}px, ${g}px ${w}px, ${g}px ${w}px !important;
368
+ background-blend-mode: difference !important;
369
+ background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px),
370
+ linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px),
371
+ linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px),
372
+ linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important;
373
+ }
374
+ `;NU(j,U)},[I,P,A,j,m,g,w,x]),e()},LU=globalThis.FEATURES?.backgrounds?[jU]:[],qU={[ll]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},$U={[ll]:{value:void 0,grid:!1}},D0=()=>({decorators:LU,parameters:qU,initialGlobals:$U}),{step:VU}=xs({step:async(e,t,r)=>t(r)},{intercept:!0}),P0=()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:VU}),UU=e=>{let t=getComputedStyle(e),r=e.getBoundingClientRect();return!(r.width>0&&r.height>0&&t.visibility!=="hidden"&&Number(t.opacity)>0&&t.display!=="none")},JU=async({reporting:e,canvasElement:t,globals:r})=>{try{if(!r.renderAnalysis?.enabled)return;let n=UU(t.firstElementChild??t);n&&e.addReport({type:"render-analysis",version:1,result:{emptyRender:n},status:"warning"})}catch{}},O0=()=>({afterEach:JU}),tc="storybook/highlight",HU=`${tc}/add`,zU=`${tc}/remove`,GU=`${tc}/reset`,WU=`${tc}/scroll-into-view`,I0=2147483647,ci=28,F0={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},KU="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),tr=(e,t={},r)=>{let n=KU.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([i,o])=>{/[A-Z]/.test(i)?(i==="onClick"&&(n.addEventListener("click",o),n.addEventListener("keydown",a=>{(a.key==="Enter"||a.key===" ")&&(a.preventDefault(),o())})),i==="onMouseEnter"&&n.addEventListener("mouseenter",o),i==="onMouseLeave"&&n.addEventListener("mouseleave",o)):n.setAttribute(i,o)}),r?.forEach(i=>{if(!(i==null||i===!1))try{n.appendChild(i)}catch{n.appendChild(document.createTextNode(String(i)))}}),n},uu=e=>F0[e]&&tr("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},F0[e].map(t=>tr("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),YU=e=>{if("elements"in e){let{elements:n,color:i,style:o}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${o} ${i}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},XU=e=>e instanceof Function,ya=new Map,Ii=new Map,lu=new Map,Pn=e=>{let t=Symbol();return Ii.set(t,[]),ya.set(t,e),{get:()=>ya.get(t),set:r=>{let n=ya.get(t),i=XU(r)?r(n):r;i!==n&&(ya.set(t,i),Ii.get(t)?.forEach(o=>{lu.get(o)?.(),lu.set(o,o(i))}))},subscribe:r=>(Ii.get(t)?.push(r),()=>{let n=Ii.get(t);n&&Ii.set(t,n.filter(i=>i!==r))}),teardown:()=>{Ii.get(t)?.forEach(r=>{lu.get(r)?.(),lu.delete(r)}),Ii.delete(t),ya.delete(t)}}},N0=e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:i=0}=n;for(let o of n.selectors){let a=[...document.querySelectorAll(`:is(${o}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(o)||[]];for(let s of a){let l=r.get(s);(!l||l.priority<=i)&&r.set(s,{...n,priority:i,selectors:Array.from(new Set((l?.selectors||[]).concat(o)))})}}}return r},QU=e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:i,focusStyles:o,menu:a}])=>{let{top:s,left:l,width:u,height:d}=t.getBoundingClientRect(),{position:f}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:i,focusStyles:o,menu:a,top:f==="fixed"?s:s+window.scrollY,left:f==="fixed"?l:l+window.scrollX,width:u,height:d}}).sort((t,r)=>r.width*r.height-t.width*t.height),k0=(e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:i}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&i>=r.top&&i<=r.top+r.height},B0=(e,t,r)=>{if(!t||!r)return!1;let{left:n,top:i,width:o,height:a}=e;a<ci&&(i=i-Math.round((ci-a)/2),a=ci),o<ci&&(n=n-Math.round((ci-o)/2),o=ci),t.style.position==="fixed"&&(n+=window.scrollX,i+=window.scrollY);let{x:s,y:l}=r;return s>=n&&s<=n+o&&l>=i&&l<=i+a},ZU=(e,t,r={})=>{let{x:n,y:i}=t,{margin:o=5,topOffset:a=0,centered:s=!1}=r,{scrollX:l,scrollY:u,innerHeight:d,innerWidth:f}=window,h=Math.min(e.style.position==="fixed"?i-u:i,d-e.clientHeight-o-a+u),m=s?e.clientWidth/2:0,b=e.style.position==="fixed"?Math.max(Math.min(n-l,f-m-o),m+o):Math.max(Math.min(n,f-m-o+l),m+o+l);Object.assign(e.style,{...b!==n&&{left:`${b}px`},...h!==i&&{top:`${h}px`}})},M0=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},eJ=e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},tJ=e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),Pt="storybook-highlights-menu",j0="storybook-highlights-root",rJ="storybook-root",nJ=e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=Pn([]),n=Pn(new Map),i=Pn([]),o=Pn(),a=Pn(),s=Pn([]),l=Pn([]),u=Pn(),d=Pn(),f=t.getElementById(j0);r.subscribe(()=>{f||(f=tr("div",{id:j0}),t.body.appendChild(f))}),r.subscribe(w=>{let C=t.getElementById(rJ);if(!C)return;n.set(N0(w));let R=new MutationObserver(()=>n.set(N0(w)));return R.observe(C,{subtree:!0,childList:!0}),()=>{R.disconnect()}}),n.subscribe(w=>{let C=()=>requestAnimationFrame(()=>i.set(QU(w))),R=new ResizeObserver(C);R.observe(t.body),Array.from(w.keys()).forEach(B=>R.observe(B));let j=Array.from(t.body.querySelectorAll("*")).filter(B=>{let{overflow:U,overflowX:$,overflowY:k}=window.getComputedStyle(B);return["auto","scroll"].some(V=>[U,$,k].includes(V))});return j.forEach(B=>B.addEventListener("scroll",C)),()=>{R.disconnect(),j.forEach(B=>B.removeEventListener("scroll",C))}}),n.subscribe(w=>{let C=Array.from(w.keys()).filter(({style:j})=>j.position==="sticky"),R=()=>requestAnimationFrame(()=>{i.set(j=>j.map(B=>{if(C.includes(B.element)){let{top:U,left:$}=B.element.getBoundingClientRect();return{...B,top:U+window.scrollY,left:$+window.scrollX}}return B}))});return t.addEventListener("scroll",R),()=>t.removeEventListener("scroll",R)}),n.subscribe(w=>{s.set(C=>C.filter(({element:R})=>w.has(R)))}),s.subscribe(w=>{w.length?(d.set(C=>w.some(R=>R.element===C?.element)?C:void 0),u.set(C=>w.some(R=>R.element===C?.element)?C:void 0)):(d.set(void 0),u.set(void 0),o.set(void 0))});let h=new Map(new Map);r.subscribe(w=>{w.forEach(({keyframes:C})=>{if(C){let R=h.get(C);R||(R=t.createElement("style"),R.setAttribute("data-highlight","keyframes"),h.set(C,R),t.head.appendChild(R)),R.innerHTML=C}}),h.forEach((C,R)=>{w.some(j=>j.keyframes===R)||(C.remove(),h.delete(R))})});let m=new Map(new Map);i.subscribe(w=>{w.forEach(C=>{let R=m.get(C.element);if(f&&!R){let j={popover:"manual","data-highlight-dimensions":`w${C.width.toFixed(0)}h${C.height.toFixed(0)}`,"data-highlight-coordinates":`x${C.left.toFixed(0)}y${C.top.toFixed(0)}`};R=f.appendChild(tr("div",j,[tr("div")])),m.set(C.element,R)}}),m.forEach((C,R)=>{w.some(({element:j})=>j===R)||(C.remove(),m.delete(R))})}),i.subscribe(w=>{let C=w.filter(j=>j.menu);if(!C.length)return;let R=j=>{requestAnimationFrame(()=>{let B=t.getElementById(Pt),U={x:j.pageX,y:j.pageY};if(B&&!k0(B,U)){let $=C.filter(k=>{let V=m.get(k.element);return B0(k,V,U)});o.set($.length?U:void 0),s.set($)}})};return t.addEventListener("click",R),()=>t.removeEventListener("click",R)});let b=()=>{let w=t.getElementById(Pt),C=a.get();!C||w&&k0(w,C)||l.set(R=>{let j=i.get().filter(k=>{let V=m.get(k.element);return B0(k,V,C)}),B=R.filter(k=>j.includes(k)),U=j.filter(k=>!R.includes(k)),$=R.length-B.length;return U.length||$?[...B,...U]:R})};a.subscribe(b),i.subscribe(b);let y=()=>{let w=d.get(),C=w?[w]:s.get(),R=C.length===1?C[0]:u.get(),j=o.get()!==void 0;i.get().forEach(B=>{let U=m.get(B.element);if(U){let $=R===B,k=j?R?$:C.includes(B):l.get()?.includes(B);Object.assign(U.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...B.styles,...k?B.hoverStyles:{},...$?B.focusStyles:{},position:getComputedStyle(B.element).position==="fixed"?"fixed":"absolute",zIndex:I0-10,top:`${B.top}px`,left:`${B.left}px`,width:`${B.width}px`,height:`${B.height}px`,margin:0,padding:0,cursor:B.menu&&k?"pointer":"default",pointerEvents:B.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(U.children[0].style,{width:"100%",height:"100%",minHeight:`${ci}px`,minWidth:`${ci}px`,boxSizing:"content-box",padding:U.style.outlineWidth||"0px"}),M0(U)}})};i.subscribe(y),s.subscribe(y),l.subscribe(y),u.subscribe(y),d.subscribe(y);let A=()=>{if(!f)return;let w=t.getElementById(Pt);if(w)w.innerHTML="";else{let B={id:Pt,popover:"manual"};w=f.appendChild(tr("div",B)),f.appendChild(tr("style",{},[`
375
+ #${Pt} {
376
+ position: absolute;
377
+ z-index: ${I0};
378
+ width: 300px;
379
+ padding: 0px;
380
+ margin: 15px 0 0 0;
381
+ transform: translateX(-50%);
382
+ font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
383
+ font-size: 12px;
384
+ background: white;
385
+ border: none;
386
+ border-radius: 6px;
387
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
388
+ color: #2E3438;
389
+ }
390
+ #${Pt} ul {
391
+ list-style: none;
392
+ margin: 0;
393
+ padding: 0;
394
+ }
395
+ #${Pt} > ul {
396
+ max-height: 300px;
397
+ overflow-y: auto;
398
+ padding: 4px 0;
399
+ }
400
+ #${Pt} li {
401
+ padding: 0 4px;
402
+ margin: 0;
403
+ }
404
+ #${Pt} li > :not(ul) {
405
+ display: flex;
406
+ padding: 8px;
407
+ margin: 0;
408
+ align-items: center;
409
+ gap: 8px;
410
+ border-radius: 4px;
411
+ }
412
+ #${Pt} button {
413
+ width: 100%;
414
+ border: 0;
415
+ background: transparent;
416
+ color: inherit;
417
+ text-align: left;
418
+ font-family: inherit;
419
+ font-size: inherit;
420
+ }
421
+ #${Pt} button:focus-visible {
422
+ outline-color: #029CFD;
423
+ }
424
+ #${Pt} button:hover {
425
+ background: rgba(2, 156, 253, 0.07);
426
+ color: #029CFD;
427
+ cursor: pointer;
428
+ }
429
+ #${Pt} li code {
430
+ white-space: nowrap;
431
+ overflow: hidden;
432
+ text-overflow: ellipsis;
433
+ line-height: 16px;
434
+ font-size: 11px;
435
+ }
436
+ #${Pt} li svg {
437
+ flex-shrink: 0;
438
+ margin: 1px;
439
+ color: #73828C;
440
+ }
441
+ #${Pt} li > button:hover svg, #${Pt} li > button:focus-visible svg {
442
+ color: #029CFD;
443
+ }
444
+ #${Pt} .element-list li svg {
445
+ display: none;
446
+ }
447
+ #${Pt} li.selectable svg, #${Pt} li.selected svg {
448
+ display: block;
449
+ }
450
+ #${Pt} .menu-list {
451
+ border-top: 1px solid rgba(38, 85, 115, 0.15);
452
+ }
453
+ #${Pt} .menu-list > li:not(:last-child) {
454
+ padding-bottom: 4px;
455
+ margin-bottom: 4px;
456
+ border-bottom: 1px solid rgba(38, 85, 115, 0.15);
457
+ }
458
+ #${Pt} .menu-items, #${Pt} .menu-items li {
459
+ padding: 0;
460
+ }
461
+ #${Pt} .menu-item {
462
+ display: flex;
463
+ }
464
+ #${Pt} .menu-item-content {
465
+ display: flex;
466
+ flex-direction: column;
467
+ flex-grow: 1;
468
+ }
469
+ `]))}let C=d.get(),R=C?[C]:s.get();if(R.length&&(w.style.position=getComputedStyle(R[0].element).position==="fixed"?"fixed":"absolute",w.appendChild(tr("ul",{class:"element-list"},R.map(B=>{let U=R.length>1&&!!B.menu?.some(V=>V.some(W=>!W.selectors||W.selectors.some(Y=>B.selectors.includes(Y)))),$=U?{class:"selectable",onClick:()=>d.set(B),onMouseEnter:()=>u.set(B),onMouseLeave:()=>u.set(void 0)}:C?{class:"selected",onClick:()=>d.set(void 0)}:{},k=U||C;return tr("li",$,[tr(k?"button":"div",k?{type:"button"}:{},[C?uu("chevronLeft"):null,tr("code",{},[B.element.outerHTML]),U?uu("chevronRight"):null])])})))),d.get()||s.get().length===1){let B=d.get()||s.get()[0],U=B.menu?.filter($=>$.some(k=>!k.selectors||k.selectors.some(V=>B.selectors.includes(V))));U?.length&&w.appendChild(tr("ul",{class:"menu-list"},U.map($=>tr("li",{},[tr("ul",{class:"menu-items"},$.map(({id:k,title:V,description:W,iconLeft:Y,iconRight:ne,clickEvent:we})=>{let Pe=we&&(()=>e.emit(we,k,tJ(B)));return tr("li",{},[tr(Pe?"button":"div",Pe?{class:"menu-item",type:"button",onClick:Pe}:{class:"menu-item"},[Y?uu(Y):null,tr("div",{class:"menu-item-content"},[tr(W?"strong":"span",{},[V]),W&&tr("span",{},[W])]),ne?uu(ne):null])])}))]))))}let j=o.get();j?(Object.assign(w.style,{display:"block",left:`${w.style.position==="fixed"?j.x-window.scrollX:j.x}px`,top:`${w.style.position==="fixed"?j.y-window.scrollY:j.y}px`}),M0(w),requestAnimationFrame(()=>ZU(w,j,{topOffset:15,centered:!0}))):(eJ(w),Object.assign(w.style,{display:"none"}))};s.subscribe(A),d.subscribe(A);let E=w=>{let C=YU(w);r.set(R=>{let j=C.id?R.filter(B=>B.id!==C.id):R;return C.selectors?.length?[...j,C]:j})},_=w=>{w&&r.set(C=>C.filter(R=>R.id!==w))},I=()=>{r.set([]),n.set(new Map),i.set([]),o.set(void 0),a.set(void 0),s.set([]),l.set([]),u.set(void 0),d.set(void 0)},P,x=(w,C)=>{let R="scrollIntoView-highlight";clearTimeout(P),_(R);let j=t.querySelector(w);if(!j){console.warn(`Cannot scroll into view: ${w} not found`);return}j.scrollIntoView({behavior:"smooth",block:"center",...C});let B=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(U=>[...U,{id:R,priority:1e3,selectors:[w],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${B} 3s linear forwards`},keyframes:`@keyframes ${B} {
470
+ 0% { outline: 2px solid #1EA7FD; }
471
+ 20% { outline: 2px solid #1EA7FD00; }
472
+ 40% { outline: 2px solid #1EA7FD; }
473
+ 60% { outline: 2px solid #1EA7FD00; }
474
+ 80% { outline: 2px solid #1EA7FD; }
475
+ 100% { outline: 2px solid #1EA7FD00; }
476
+ }`}]),P=setTimeout(()=>_(R),3500)},g=w=>{requestAnimationFrame(()=>a.set({x:w.pageX,y:w.pageY}))};t.body.addEventListener("mousemove",g),e.on(HU,E),e.on(zU,_),e.on(GU,I),e.on(WU,x),e.on(Ei,({newPhase:w})=>{w==="loading"&&I()})};globalThis?.FEATURES?.highlight&&zr?.ready&&zr.ready().then(nJ);var L0=()=>({}),iJ="measureEnabled";function nx(){let e=De.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}function oJ(){let e=De.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");qn(t!=null);let{width:r,height:n}=nx();return Qp(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",De.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}function Qp(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let i=De.window.devicePixelRatio;e.width=Math.floor(r*i),e.height=Math.floor(n*i),t.scale(i,i)}var rr={};function aJ(){rr.canvas||(rr=oJ())}function ix(){rr.context&&rr.context.clearRect(0,0,rr.width??0,rr.height??0)}function sJ(e){ix(),e(rr.context)}function uJ(){qn(rr.canvas),qn(rr.context),Qp(rr.canvas,rr.context,{width:0,height:0});let{width:e,height:t}=nx();Qp(rr.canvas,rr.context,{width:e,height:t}),rr.width=e,rr.height=t}function lJ(){rr.canvas&&(ix(),rr.canvas.parentNode?.removeChild(rr.canvas),rr={})}var po={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},jn=6;function q0(e,{x:t,y:r,w:n,h:i,r:o}){t=t-n/2,r=r-i/2,n<2*o&&(o=n/2),i<2*o&&(o=i/2),e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+i,o),e.arcTo(t+n,r+i,t,r+i,o),e.arcTo(t,r+i,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}function cJ(e,{padding:t,border:r,width:n,height:i,top:o,left:a}){let s=n-r.left-r.right-t.left-t.right,l=i-t.top-t.bottom-r.top-r.bottom,u=a+r.left+t.left,d=o+r.top+t.top;return e==="top"?u+=s/2:e==="right"?(u+=s,d+=l/2):e==="bottom"?(u+=s/2,d+=l):e==="left"?d+=l/2:e==="center"&&(u+=s/2,d+=l/2),{x:u,y:d}}function dJ(e,t,{margin:r,border:n,padding:i},o,a){let s=h=>0,l=0,u=0,d=a?1:.5,f=a?o*2:0;return e==="padding"?s=h=>i[h]*d+f:e==="border"?s=h=>i[h]+n[h]*d+f:e==="margin"&&(s=h=>i[h]+n[h]+r[h]*d+f),t==="top"?u=-s("top"):t==="right"?l=s("right"):t==="bottom"?u=s("bottom"):t==="left"&&(l=-s("left")),{offsetX:l,offsetY:u}}function pJ(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}function fJ(e,t,r){return e==="top"?t.y=r.y-r.h-jn:e==="right"?t.x=r.x+r.w/2+jn+t.w/2:e==="bottom"?t.y=r.y+r.h+jn:e==="left"&&(t.x=r.x-r.w/2-jn-t.w/2),{x:t.x,y:t.y}}function ox(e,t,{x:r,y:n,w:i,h:o},a){return q0(e,{x:r,y:n,w:i,h:o,r:3}),e.fillStyle=`${po[t]}dd`,e.fill(),e.strokeStyle=po[t],e.stroke(),e.fillStyle=po.text,e.fillText(a,r,n),q0(e,{x:r,y:n,w:i,h:o,r:3}),e.fillStyle=`${po[t]}dd`,e.fill(),e.strokeStyle=po[t],e.stroke(),e.fillStyle=po.text,e.fillText(a,r,n),{x:r,y:n,w:i,h:o}}function ax(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,i=r.width+jn*2,o=n+jn*2;return{w:i,h:o}}function hJ(e,t,{type:r,position:n="center",text:i},o,a=!1){let{x:s,y:l}=cJ(n,t),{offsetX:u,offsetY:d}=dJ(r,n,t,jn+1,a);s+=u,l+=d;let{w:f,h}=ax(e,i);if(o&&pJ({x:s,y:l,w:f,h},o)){let m=fJ(n,{x:s,y:l,w:f},o);s=m.x,l=m.y}return ox(e,r,{x:s,y:l,w:f,h},i)}function mJ(e,{w:t,h:r}){let n=t*.5+jn,i=r*.5+jn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*i}}function yJ(e,t,{type:r,text:n}){let{floatingAlignment:i,extremities:o}=t,a=o[i.x],s=o[i.y],{w:l,h:u}=ax(e,n),{offsetX:d,offsetY:f}=mJ(i,{w:l,h:u});return a+=d,s+=f,ox(e,r,{x:a,y:s,w:l,h:u},n)}function ga(e,t,r,n){let i=[];r.forEach((o,a)=>{let s=n&&o.position==="center"?yJ(e,t,o):hJ(e,t,o,i[a-1],n);i[a]=s})}function gJ(e,t,r,n){let i=r.reduce((o,a)=>(Object.prototype.hasOwnProperty.call(o,a.position)||(o[a.position]=[]),o[a.position]?.push(a),o),{});i.top&&ga(e,t,i.top,n),i.right&&ga(e,t,i.right,n),i.bottom&&ga(e,t,i.bottom,n),i.left&&ga(e,t,i.left,n),i.center&&ga(e,t,i.center,n)}var rc={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},$0=30;function $r(e){return parseInt(e.replace("px",""),10)}function _o(e){return Number.isInteger(e)?e:e.toFixed(2)}function Gm(e){return e.filter(t=>t.text!==0&&t.text!=="0")}function bJ(e){let t={top:De.window.scrollY,bottom:De.window.scrollY+De.window.innerHeight,left:De.window.scrollX,right:De.window.scrollX+De.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}function vJ(e){let t=De.getComputedStyle(e),{top:r,left:n,right:i,bottom:o,width:a,height:s}=e.getBoundingClientRect(),{marginTop:l,marginBottom:u,marginLeft:d,marginRight:f,paddingTop:h,paddingBottom:m,paddingLeft:b,paddingRight:y,borderBottomWidth:A,borderTopWidth:E,borderLeftWidth:_,borderRightWidth:I}=t;r=r+De.window.scrollY,n=n+De.window.scrollX,o=o+De.window.scrollY,i=i+De.window.scrollX;let P={top:$r(l),bottom:$r(u),left:$r(d),right:$r(f)},x={top:$r(h),bottom:$r(m),left:$r(b),right:$r(y)},g={top:$r(E),bottom:$r(A),left:$r(_),right:$r(I)},w={top:r-P.top,bottom:o+P.bottom,left:n-P.left,right:i+P.right};return{margin:P,padding:x,border:g,top:r,left:n,bottom:o,right:i,width:a,height:s,extremities:w,floatingAlignment:bJ(w)}}function EJ(e,{margin:t,width:r,height:n,top:i,left:o,bottom:a,right:s}){let l=n+t.bottom+t.top;e.fillStyle=rc.margin,e.fillRect(o,i-t.top,r,t.top),e.fillRect(s,i-t.top,t.right,l),e.fillRect(o,a,r,t.bottom),e.fillRect(o-t.left,i-t.top,t.left,l);let u=[{type:"margin",text:_o(t.top),position:"top"},{type:"margin",text:_o(t.right),position:"right"},{type:"margin",text:_o(t.bottom),position:"bottom"},{type:"margin",text:_o(t.left),position:"left"}];return Gm(u)}function AJ(e,{padding:t,border:r,width:n,height:i,top:o,left:a,bottom:s,right:l}){let u=n-r.left-r.right,d=i-t.top-t.bottom-r.top-r.bottom;e.fillStyle=rc.padding,e.fillRect(a+r.left,o+r.top,u,t.top),e.fillRect(l-t.right-r.right,o+t.top+r.top,t.right,d),e.fillRect(a+r.left,s-t.bottom-r.bottom,u,t.bottom),e.fillRect(a+r.left,o+t.top+r.top,t.left,d);let f=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return Gm(f)}function wJ(e,{border:t,width:r,height:n,top:i,left:o,bottom:a,right:s}){let l=n-t.top-t.bottom;e.fillStyle=rc.border,e.fillRect(o,i,r,t.top),e.fillRect(o,a-t.bottom,r,t.bottom),e.fillRect(o,i+t.top,t.left,l),e.fillRect(s-t.right,i+t.top,t.right,l);let u=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return Gm(u)}function SJ(e,{padding:t,border:r,width:n,height:i,top:o,left:a}){let s=n-r.left-r.right-t.left-t.right,l=i-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=rc.content,e.fillRect(a+r.left+t.left,o+r.top+t.top,s,l),[{type:"content",position:"center",text:`${_o(s)} x ${_o(l)}`}]}function _J(e){return t=>{if(e&&t){let r=vJ(e),n=EJ(t,r),i=AJ(t,r),o=wJ(t,r),a=SJ(t,r),s=r.width<=$0*3||r.height<=$0;gJ(t,r,[...a,...i,...o,...n],s)}}}function CJ(e){sJ(_J(e))}var TJ=(e,t)=>{let r=De.document.elementFromPoint(e,t),n=i=>{if(i&&i.shadowRoot){let o=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(o)?i:o.shadowRoot?n(o):o}return i};return n(r)||r},V0,cu={x:0,y:0};function U0(e,t){V0=TJ(e,t),CJ(V0)}var xJ=(e,t)=>{let{measureEnabled:r}=t.globals||{},n=r&&!t.parameters?.measure?.disable;return Wi(()=>{if(typeof globalThis.document>"u")return;let i=o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),cu.x=o.clientX,cu.y=o.clientY})};return globalThis.document.addEventListener("pointermove",i),()=>{globalThis.document.removeEventListener("pointermove",i)}},[]),Wi(()=>{let i=a=>{window.requestAnimationFrame(()=>{a.stopPropagation(),U0(a.clientX,a.clientY)})},o=()=>{window.requestAnimationFrame(()=>{uJ()})};return t.viewMode==="story"&&n&&(globalThis.document.addEventListener("pointerover",i),aJ(),globalThis.window.addEventListener("resize",o),U0(cu.x,cu.y)),()=>{globalThis.window.removeEventListener("resize",o),lJ()}},[n,t.viewMode]),e()},RJ=globalThis.FEATURES?.measure?[xJ]:[],DJ={[iJ]:!1},J0=()=>({decorators:RJ,initialGlobals:DJ}),Zp="outline",H0=e=>{(Array.isArray(e)?e:[e]).forEach(PJ)},PJ=e=>{let t=typeof e=="string"?e:e.join(""),r=De.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},OJ=(e,t)=>{let r=De.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=De.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,De.document.head.appendChild(n)}};function IJ(e){return tt`
477
+ ${e} body {
478
+ outline: 1px solid #2980b9 !important;
479
+ }
480
+
481
+ ${e} article {
482
+ outline: 1px solid #3498db !important;
483
+ }
484
+
485
+ ${e} nav {
486
+ outline: 1px solid #0088c3 !important;
487
+ }
488
+
489
+ ${e} aside {
490
+ outline: 1px solid #33a0ce !important;
491
+ }
492
+
493
+ ${e} section {
494
+ outline: 1px solid #66b8da !important;
495
+ }
496
+
497
+ ${e} header {
498
+ outline: 1px solid #99cfe7 !important;
499
+ }
500
+
501
+ ${e} footer {
502
+ outline: 1px solid #cce7f3 !important;
503
+ }
504
+
505
+ ${e} h1 {
506
+ outline: 1px solid #162544 !important;
507
+ }
508
+
509
+ ${e} h2 {
510
+ outline: 1px solid #314e6e !important;
511
+ }
512
+
513
+ ${e} h3 {
514
+ outline: 1px solid #3e5e85 !important;
515
+ }
516
+
517
+ ${e} h4 {
518
+ outline: 1px solid #449baf !important;
519
+ }
520
+
521
+ ${e} h5 {
522
+ outline: 1px solid #c7d1cb !important;
523
+ }
524
+
525
+ ${e} h6 {
526
+ outline: 1px solid #4371d0 !important;
527
+ }
528
+
529
+ ${e} main {
530
+ outline: 1px solid #2f4f90 !important;
531
+ }
532
+
533
+ ${e} address {
534
+ outline: 1px solid #1a2c51 !important;
535
+ }
536
+
537
+ ${e} div {
538
+ outline: 1px solid #036cdb !important;
539
+ }
540
+
541
+ ${e} p {
542
+ outline: 1px solid #ac050b !important;
543
+ }
544
+
545
+ ${e} hr {
546
+ outline: 1px solid #ff063f !important;
547
+ }
548
+
549
+ ${e} pre {
550
+ outline: 1px solid #850440 !important;
551
+ }
552
+
553
+ ${e} blockquote {
554
+ outline: 1px solid #f1b8e7 !important;
555
+ }
556
+
557
+ ${e} ol {
558
+ outline: 1px solid #ff050c !important;
559
+ }
560
+
561
+ ${e} ul {
562
+ outline: 1px solid #d90416 !important;
563
+ }
564
+
565
+ ${e} li {
566
+ outline: 1px solid #d90416 !important;
567
+ }
568
+
569
+ ${e} dl {
570
+ outline: 1px solid #fd3427 !important;
571
+ }
572
+
573
+ ${e} dt {
574
+ outline: 1px solid #ff0043 !important;
575
+ }
576
+
577
+ ${e} dd {
578
+ outline: 1px solid #e80174 !important;
579
+ }
580
+
581
+ ${e} figure {
582
+ outline: 1px solid #ff00bb !important;
583
+ }
584
+
585
+ ${e} figcaption {
586
+ outline: 1px solid #bf0032 !important;
587
+ }
588
+
589
+ ${e} table {
590
+ outline: 1px solid #00cc99 !important;
591
+ }
592
+
593
+ ${e} caption {
594
+ outline: 1px solid #37ffc4 !important;
595
+ }
596
+
597
+ ${e} thead {
598
+ outline: 1px solid #98daca !important;
599
+ }
600
+
601
+ ${e} tbody {
602
+ outline: 1px solid #64a7a0 !important;
603
+ }
604
+
605
+ ${e} tfoot {
606
+ outline: 1px solid #22746b !important;
607
+ }
608
+
609
+ ${e} tr {
610
+ outline: 1px solid #86c0b2 !important;
611
+ }
612
+
613
+ ${e} th {
614
+ outline: 1px solid #a1e7d6 !important;
615
+ }
616
+
617
+ ${e} td {
618
+ outline: 1px solid #3f5a54 !important;
619
+ }
620
+
621
+ ${e} col {
622
+ outline: 1px solid #6c9a8f !important;
623
+ }
624
+
625
+ ${e} colgroup {
626
+ outline: 1px solid #6c9a9d !important;
627
+ }
628
+
629
+ ${e} button {
630
+ outline: 1px solid #da8301 !important;
631
+ }
632
+
633
+ ${e} datalist {
634
+ outline: 1px solid #c06000 !important;
635
+ }
636
+
637
+ ${e} fieldset {
638
+ outline: 1px solid #d95100 !important;
639
+ }
640
+
641
+ ${e} form {
642
+ outline: 1px solid #d23600 !important;
643
+ }
644
+
645
+ ${e} input {
646
+ outline: 1px solid #fca600 !important;
647
+ }
648
+
649
+ ${e} keygen {
650
+ outline: 1px solid #b31e00 !important;
651
+ }
652
+
653
+ ${e} label {
654
+ outline: 1px solid #ee8900 !important;
655
+ }
656
+
657
+ ${e} legend {
658
+ outline: 1px solid #de6d00 !important;
659
+ }
660
+
661
+ ${e} meter {
662
+ outline: 1px solid #e8630c !important;
663
+ }
664
+
665
+ ${e} optgroup {
666
+ outline: 1px solid #b33600 !important;
667
+ }
668
+
669
+ ${e} option {
670
+ outline: 1px solid #ff8a00 !important;
671
+ }
672
+
673
+ ${e} output {
674
+ outline: 1px solid #ff9619 !important;
675
+ }
676
+
677
+ ${e} progress {
678
+ outline: 1px solid #e57c00 !important;
679
+ }
680
+
681
+ ${e} select {
682
+ outline: 1px solid #e26e0f !important;
683
+ }
684
+
685
+ ${e} textarea {
686
+ outline: 1px solid #cc5400 !important;
687
+ }
688
+
689
+ ${e} details {
690
+ outline: 1px solid #33848f !important;
691
+ }
692
+
693
+ ${e} summary {
694
+ outline: 1px solid #60a1a6 !important;
695
+ }
696
+
697
+ ${e} command {
698
+ outline: 1px solid #438da1 !important;
699
+ }
700
+
701
+ ${e} menu {
702
+ outline: 1px solid #449da6 !important;
703
+ }
704
+
705
+ ${e} del {
706
+ outline: 1px solid #bf0000 !important;
707
+ }
708
+
709
+ ${e} ins {
710
+ outline: 1px solid #400000 !important;
711
+ }
712
+
713
+ ${e} img {
714
+ outline: 1px solid #22746b !important;
715
+ }
716
+
717
+ ${e} iframe {
718
+ outline: 1px solid #64a7a0 !important;
719
+ }
720
+
721
+ ${e} embed {
722
+ outline: 1px solid #98daca !important;
723
+ }
724
+
725
+ ${e} object {
726
+ outline: 1px solid #00cc99 !important;
727
+ }
728
+
729
+ ${e} param {
730
+ outline: 1px solid #37ffc4 !important;
731
+ }
732
+
733
+ ${e} video {
734
+ outline: 1px solid #6ee866 !important;
735
+ }
736
+
737
+ ${e} audio {
738
+ outline: 1px solid #027353 !important;
739
+ }
740
+
741
+ ${e} source {
742
+ outline: 1px solid #012426 !important;
743
+ }
744
+
745
+ ${e} canvas {
746
+ outline: 1px solid #a2f570 !important;
747
+ }
748
+
749
+ ${e} track {
750
+ outline: 1px solid #59a600 !important;
751
+ }
752
+
753
+ ${e} map {
754
+ outline: 1px solid #7be500 !important;
755
+ }
756
+
757
+ ${e} area {
758
+ outline: 1px solid #305900 !important;
759
+ }
760
+
761
+ ${e} a {
762
+ outline: 1px solid #ff62ab !important;
763
+ }
764
+
765
+ ${e} em {
766
+ outline: 1px solid #800b41 !important;
767
+ }
768
+
769
+ ${e} strong {
770
+ outline: 1px solid #ff1583 !important;
771
+ }
772
+
773
+ ${e} i {
774
+ outline: 1px solid #803156 !important;
775
+ }
776
+
777
+ ${e} b {
778
+ outline: 1px solid #cc1169 !important;
779
+ }
780
+
781
+ ${e} u {
782
+ outline: 1px solid #ff0430 !important;
783
+ }
784
+
785
+ ${e} s {
786
+ outline: 1px solid #f805e3 !important;
787
+ }
788
+
789
+ ${e} small {
790
+ outline: 1px solid #d107b2 !important;
791
+ }
792
+
793
+ ${e} abbr {
794
+ outline: 1px solid #4a0263 !important;
795
+ }
796
+
797
+ ${e} q {
798
+ outline: 1px solid #240018 !important;
799
+ }
800
+
801
+ ${e} cite {
802
+ outline: 1px solid #64003c !important;
803
+ }
804
+
805
+ ${e} dfn {
806
+ outline: 1px solid #b4005a !important;
807
+ }
808
+
809
+ ${e} sub {
810
+ outline: 1px solid #dba0c8 !important;
811
+ }
812
+
813
+ ${e} sup {
814
+ outline: 1px solid #cc0256 !important;
815
+ }
816
+
817
+ ${e} time {
818
+ outline: 1px solid #d6606d !important;
819
+ }
820
+
821
+ ${e} code {
822
+ outline: 1px solid #e04251 !important;
823
+ }
824
+
825
+ ${e} kbd {
826
+ outline: 1px solid #5e001f !important;
827
+ }
828
+
829
+ ${e} samp {
830
+ outline: 1px solid #9c0033 !important;
831
+ }
832
+
833
+ ${e} var {
834
+ outline: 1px solid #d90047 !important;
835
+ }
836
+
837
+ ${e} mark {
838
+ outline: 1px solid #ff0053 !important;
839
+ }
840
+
841
+ ${e} bdi {
842
+ outline: 1px solid #bf3668 !important;
843
+ }
844
+
845
+ ${e} bdo {
846
+ outline: 1px solid #6f1400 !important;
847
+ }
848
+
849
+ ${e} ruby {
850
+ outline: 1px solid #ff7b93 !important;
851
+ }
852
+
853
+ ${e} rt {
854
+ outline: 1px solid #ff2f54 !important;
855
+ }
856
+
857
+ ${e} rp {
858
+ outline: 1px solid #803e49 !important;
859
+ }
860
+
861
+ ${e} span {
862
+ outline: 1px solid #cc2643 !important;
863
+ }
864
+
865
+ ${e} br {
866
+ outline: 1px solid #db687d !important;
867
+ }
868
+
869
+ ${e} wbr {
870
+ outline: 1px solid #db175b !important;
871
+ }`}var FJ=(e,t)=>{let r=t.globals||{},n=!t.parameters?.[Zp]?.disable&&[!0,"true"].includes(r[Zp]),i=t.viewMode==="docs",o=Vw(()=>IJ(i?'[data-story-block="true"]':".sb-show-main"),[t]);return Wi(()=>{let a=i?`addon-outline-docs-${t.id}`:"addon-outline";return n?OJ(a,o):H0(a),()=>{H0(a)}},[n,o,t]),e()},NJ=globalThis.FEATURES?.outline?[FJ]:[],kJ={[Zp]:!1},z0=()=>({decorators:NJ,initialGlobals:kJ}),BJ=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((t,r)=>(r&=63,r<36?t+=r.toString(36):r<62?t+=(r-26).toString(36).toUpperCase():r>62?t+="-":t+="_",t),""),du,MJ={lang:void 0,message:void 0,abortEarly:void 0,abortPipeEarly:void 0};function sx(e){return!e&&!du?MJ:{lang:e?.lang??du?.lang,message:e?.message,abortEarly:e?.abortEarly??du?.abortEarly,abortPipeEarly:e?.abortPipeEarly??du?.abortPipeEarly}}var jJ;function LJ(e){return jJ?.get(e)}var qJ;function $J(e){return qJ?.get(e)}var VJ;function UJ(e,t){return VJ?.get(e)?.get(t)}function ef(e){let t=typeof e;return t==="string"?`"${e}"`:t==="number"||t==="bigint"||t==="boolean"?`${e}`:t==="object"||t==="function"?(e&&Object.getPrototypeOf(e)?.constructor?.name)??"null":t}function Mr(e,t,r,n,i){let o=i&&"input"in i?i.input:r.value,a=i?.expected??e.expects??null,s=i?.received??ef(o),l={kind:e.kind,type:e.type,input:o,expected:a,received:s,message:`Invalid ${t}: ${a?`Expected ${a} but r`:"R"}eceived ${s}`,requirement:e.requirement,path:i?.path,issues:i?.issues,lang:n.lang,abortEarly:n.abortEarly,abortPipeEarly:n.abortPipeEarly},u=e.kind==="schema",d=i?.message??e.message??UJ(e.reference,l.lang)??(u?$J(l.lang):null)??n.message??LJ(l.lang);d!==void 0&&(l.message=typeof d=="function"?d(l):d),u&&(r.typed=!1),r.issues?r.issues.push(l):r.issues=[l]}var G0=new WeakMap;function Kr(e){let t=G0.get(e);return t||(t={version:1,vendor:"valibot",validate(r){return e["~run"]({value:r},sx())}},G0.set(e,t)),t}function ux(e,t){return Object.prototype.hasOwnProperty.call(e,t)&&t!=="__proto__"&&t!=="prototype"&&t!=="constructor"}function lx(e,t){return{kind:"validation",type:"min_value",reference:lx,async:!1,expects:`>=${e instanceof Date?e.toJSON():ef(e)}`,requirement:e,message:t,"~run"(r,n){return r.typed&&!(r.value>=this.requirement)&&Mr(this,"value",r,n,{received:r.value instanceof Date?r.value.toJSON():ef(r.value)}),r}}}function cx(e){return{kind:"validation",type:"safe_integer",reference:cx,async:!1,expects:null,requirement:Number.isSafeInteger,message:e,"~run"(t,r){return t.typed&&!this.requirement(t.value)&&Mr(this,"safe integer",t,r),t}}}function dx(e,t,r){return typeof e.fallback=="function"?e.fallback(t,r):e.fallback}function Wm(e,t,r){return typeof e.default=="function"?e.default(t,r):e.default}function px(e,t){return{kind:"schema",type:"array",reference:px,expects:"Array",async:!1,item:e,message:t,get"~standard"(){return Kr(this)},"~run"(r,n){let i=r.value;if(Array.isArray(i)){r.typed=!0,r.value=[];for(let o=0;o<i.length;o++){let a=i[o],s=this.item["~run"]({value:a},n);if(s.issues){let l={type:"array",origin:"value",input:i,key:o,value:a};for(let u of s.issues)u.path?u.path.unshift(l):u.path=[l],r.issues?.push(u);if(r.issues||(r.issues=s.issues),n.abortEarly){r.typed=!1;break}}s.typed||(r.typed=!1),r.value.push(s.value)}}else Mr(this,"type",r,n);return r}}}function nc(e,t){return{kind:"schema",type:"custom",reference:nc,expects:"unknown",async:!1,check:e,message:t,get"~standard"(){return Kr(this)},"~run"(r,n){return this.check(r.value)?r.typed=!0:Mr(this,"type",r,n),r}}}function Km(e,t){return{kind:"schema",type:"loose_object",reference:Km,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return Kr(this)},"~run"(r,n){let i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(let o in this.entries){let a=this.entries[o];if(o in i||(a.type==="exact_optional"||a.type==="optional"||a.type==="nullish")&&a.default!==void 0){let s=o in i?i[o]:Wm(a),l=a["~run"]({value:s},n);if(l.issues){let u={type:"object",origin:"value",input:i,key:o,value:s};for(let d of l.issues)d.path?d.path.unshift(u):d.path=[u],r.issues?.push(d);if(r.issues||(r.issues=l.issues),n.abortEarly){r.typed=!1;break}}l.typed||(r.typed=!1),r.value[o]=l.value}else if(a.fallback!==void 0)r.value[o]=dx(a);else if(a.type!=="exact_optional"&&a.type!=="optional"&&a.type!=="nullish"&&(Mr(this,"key",r,n,{input:void 0,expected:`"${o}"`,path:[{type:"object",origin:"key",input:i,key:o,value:i[o]}]}),n.abortEarly))break}if(!r.issues||!n.abortEarly)for(let o in i)ux(i,o)&&!(o in this.entries)&&(r.value[o]=i[o])}else Mr(this,"type",r,n);return r}}}function fx(e){return{kind:"schema",type:"number",reference:fx,expects:"number",async:!1,message:e,get"~standard"(){return Kr(this)},"~run"(t,r){return typeof t.value=="number"&&!isNaN(t.value)?t.typed=!0:Mr(this,"type",t,r),t}}}function jr(e,t){return{kind:"schema",type:"object",reference:jr,expects:"Object",async:!1,entries:e,message:t,get"~standard"(){return Kr(this)},"~run"(r,n){let i=r.value;if(i&&typeof i=="object"){r.typed=!0,r.value={};for(let o in this.entries){let a=this.entries[o];if(o in i||(a.type==="exact_optional"||a.type==="optional"||a.type==="nullish")&&a.default!==void 0){let s=o in i?i[o]:Wm(a),l=a["~run"]({value:s},n);if(l.issues){let u={type:"object",origin:"value",input:i,key:o,value:s};for(let d of l.issues)d.path?d.path.unshift(u):d.path=[u],r.issues?.push(d);if(r.issues||(r.issues=l.issues),n.abortEarly){r.typed=!1;break}}l.typed||(r.typed=!1),r.value[o]=l.value}else if(a.fallback!==void 0)r.value[o]=dx(a);else if(a.type!=="exact_optional"&&a.type!=="optional"&&a.type!=="nullish"&&(Mr(this,"key",r,n,{input:void 0,expected:`"${o}"`,path:[{type:"object",origin:"key",input:i,key:o,value:i[o]}]}),n.abortEarly))break}}else Mr(this,"type",r,n);return r}}}function lr(e,t){return{kind:"schema",type:"optional",reference:lr,expects:`(${e.expects} | undefined)`,async:!1,wrapped:e,default:t,get"~standard"(){return Kr(this)},"~run"(r,n){return r.value===void 0&&(this.default!==void 0&&(r.value=Wm(this,r,n)),r.value===void 0)?(r.typed=!0,r):this.wrapped["~run"](r,n)}}}function na(e,t,r){return{kind:"schema",type:"record",reference:na,expects:"Object",async:!1,key:e,value:t,message:r,get"~standard"(){return Kr(this)},"~run"(n,i){let o=n.value;if(o&&typeof o=="object"){n.typed=!0,n.value={};for(let a in o)if(ux(o,a)){let s=o[a],l=this.key["~run"]({value:a},i);if(l.issues){let d={type:"object",origin:"key",input:o,key:a,value:s};for(let f of l.issues)f.path=[d],n.issues?.push(f);if(n.issues||(n.issues=l.issues),i.abortEarly){n.typed=!1;break}}let u=this.value["~run"]({value:s},i);if(u.issues){let d={type:"object",origin:"value",input:o,key:a,value:s};for(let f of u.issues)f.path?f.path.unshift(d):f.path=[d],n.issues?.push(f);if(n.issues||(n.issues=u.issues),i.abortEarly){n.typed=!1;break}}(!l.typed||!u.typed)&&(n.typed=!1),l.typed&&(n.value[l.value]=u.value)}}else Mr(this,"type",n,i);return n}}}function Ue(e){return{kind:"schema",type:"string",reference:Ue,expects:"string",async:!1,message:e,get"~standard"(){return Kr(this)},"~run"(t,r){return typeof t.value=="string"?t.typed=!0:Mr(this,"type",t,r),t}}}function Ym(e){return{kind:"schema",type:"undefined",reference:Ym,expects:"undefined",async:!1,message:e,get"~standard"(){return Kr(this)},"~run"(t,r){return t.value===void 0?t.typed=!0:Mr(this,"type",t,r),t}}}function Xm(){return{kind:"schema",type:"unknown",reference:Xm,expects:"unknown",async:!1,get"~standard"(){return Kr(this)},"~run"(e){return e.typed=!0,e}}}function ds(e){return{kind:"schema",type:"void",reference:ds,expects:"void",async:!1,message:e,get"~standard"(){return Kr(this)},"~run"(t,r){return t.value===void 0?t.typed=!0:Mr(this,"type",t,r),t}}}function JJ(...e){return{...e[0],pipe:e,get"~standard"(){return Kr(this)},"~run"(t,r){for(let n of e)if(n.kind!=="metadata"){if(t.issues&&(n.kind==="schema"||n.kind==="transformation")){t.typed=!1;break}(!t.issues||!r.abortEarly&&!r.abortPipeEarly)&&(t=n["~run"](t,r))}return t}}}function $i(e,t,r){let n=e["~run"]({value:t},sx(r));return{typed:n.typed,success:!n.issues,output:n.value,issues:n.issues}}var sd="services:sync-start",ud="services:sync-start-reply",Nu="services:patches",ld="services:command-invoke",cd="services:command-ack",dd="services:command-result",pd="services:command-error",HJ=nc(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)),zJ=jr({serviceId:Ue(),clientId:Ue()}),W0=jr({serviceId:Ue(),state:HJ,version:JJ(fx(),cx(),lx(0)),clientId:Ue()}),GJ=jr({serviceId:Ue(),commandName:Ue(),input:lr(Xm()),callId:Ue(),clientId:Ue()}),WJ=jr({serviceId:Ue(),callId:Ue(),clientId:Ue()}),KJ=jr({serviceId:Ue(),callId:Ue(),result:lr(Xm()),clientId:Ue()}),YJ=jr({serviceId:Ue(),callId:Ue(),error:nc(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)),clientId:Ue()});function hx(){return BJ()}var XJ=Symbol.for("preact-signals");function ic(){if(Vn>1)Vn--;else{var e,t=!1;for((function(){var i=dl;for(dl=void 0;i!==void 0;)i.S.v===i.v&&(i.S.i=i.i),i=i.o})();ja!==void 0;){var r=ja;for(ja=void 0,cl++;r!==void 0;){var n=r.u;if(r.u=void 0,r.f&=-3,!(8&r.f)&&gx(r))try{r.c()}catch(i){t||(e=i,t=!0)}r=n}}if(cl=0,Vn--,t)throw e}}function mx(e){if(Vn>0)return e();tf=++QJ,Vn++;try{return e()}finally{ic()}}var wt=void 0;function ps(e){var t=wt;wt=void 0;try{return e()}finally{wt=t}}var ja=void 0,Vn=0,cl=0,QJ=0,tf=0,dl=void 0,pl=0;function yx(e){if(wt!==void 0){var t=e.n;if(t===void 0||t.t!==wt)return t={i:0,S:e,p:wt.s,n:void 0,t:wt,e:void 0,x:void 0,r:t},wt.s!==void 0&&(wt.s.n=t),wt.s=t,e.n=t,32&wt.f&&e.S(t),t;if(t.i===-1)return t.i=0,t.n!==void 0&&(t.n.p=t.p,t.p!==void 0&&(t.p.n=t.n),t.p=wt.s,t.n=void 0,wt.s.n=t,wt.s=t),t}}function vr(e,t){this.v=e,this.i=0,this.n=void 0,this.t=void 0,this.l=0,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}vr.prototype.brand=XJ;vr.prototype.h=function(){return!0};vr.prototype.S=function(e){var t=this,r=this.t;r!==e&&e.e===void 0&&(e.x=r,this.t=e,r!==void 0?r.e=e:ps(function(){var n;(n=t.W)==null||n.call(t)}))};vr.prototype.U=function(e){var t=this;if(this.t!==void 0){var r=e.e,n=e.x;r!==void 0&&(r.x=n,e.e=void 0),n!==void 0&&(n.e=r,e.x=void 0),e===this.t&&(this.t=n,n===void 0&&ps(function(){var i;(i=t.Z)==null||i.call(t)}))}};vr.prototype.subscribe=function(e){var t=this;return rf(function(){var r=t.value,n=wt;wt=void 0;try{e(r)}finally{wt=n}},{name:"sub"})};vr.prototype.valueOf=function(){return this.value};vr.prototype.toString=function(){return this.value+""};vr.prototype.toJSON=function(){return this.value};vr.prototype.peek=function(){var e=this;return ps(function(){return e.value})};Object.defineProperty(vr.prototype,"value",{get:function(){var e=yx(this);return e!==void 0&&(e.i=this.i),this.v},set:function(e){if(e!==this.v){if(cl>100)throw new Error("Cycle detected");(function(r){Vn!==0&&cl===0&&r.l!==tf&&(r.l=tf,dl={S:r,v:r.v,i:r.i,o:dl})})(this),this.v=e,this.i++,pl++,Vn++;try{for(var t=this.t;t!==void 0;t=t.x)t.t.N()}finally{ic()}}}});function fl(e,t){return new vr(e,t)}function gx(e){for(var t=e.s;t!==void 0;t=t.n)if(t.S.i!==t.i||!t.S.h()||t.S.i!==t.i)return!0;return!1}function bx(e){for(var t=e.s;t!==void 0;t=t.n){var r=t.S.n;if(r!==void 0&&(t.r=r),t.S.n=t,t.i=-1,t.n===void 0){e.s=t;break}}}function vx(e){for(var t=e.s,r=void 0;t!==void 0;){var n=t.p;t.i===-1?(t.S.U(t),n!==void 0&&(n.n=t.n),t.n!==void 0&&(t.n.p=n)):r=t,t.S.n=t.r,t.r!==void 0&&(t.r=void 0),t=n}e.s=r}function no(e,t){vr.call(this,void 0),this.x=e,this.s=void 0,this.g=pl-1,this.f=4,this.W=t?.watched,this.Z=t?.unwatched,this.name=t?.name}no.prototype=new vr;no.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if((36&this.f)==32||(this.f&=-5,this.g===pl))return!0;if(this.g=pl,this.f|=1,this.i>0&&!gx(this))return this.f&=-2,!0;var e=wt;try{bx(this),wt=this;var t=this.x();(16&this.f||this.v!==t||this.i===0)&&(this.v=t,this.f&=-17,this.i++)}catch(r){this.v=r,this.f|=16,this.i++}return wt=e,vx(this),this.f&=-2,!0};no.prototype.S=function(e){if(this.t===void 0){this.f|=36;for(var t=this.s;t!==void 0;t=t.n)t.S.S(t)}vr.prototype.S.call(this,e)};no.prototype.U=function(e){if(this.t!==void 0&&(vr.prototype.U.call(this,e),this.t===void 0)){this.f&=-33;for(var t=this.s;t!==void 0;t=t.n)t.S.U(t)}};no.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var e=this.t;e!==void 0;e=e.x)e.t.N()}};Object.defineProperty(no.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var e=yx(this);if(this.h(),e!==void 0&&(e.i=this.i),16&this.f)throw this.v;return this.v}});function Ex(e,t){return new no(e,t)}function Ax(e){var t=e.m;if(e.m=void 0,typeof t=="function"){Vn++;var r=wt;wt=void 0;try{t()}catch(n){throw e.f&=-2,e.f|=8,Qm(e),n}finally{wt=r,ic()}}}function Qm(e){for(var t=e.s;t!==void 0;t=t.n)t.S.U(t);e.x=void 0,e.s=void 0,Ax(e)}function ZJ(e){if(wt!==this)throw new Error("Out-of-order effect");vx(this),wt=e,this.f&=-2,8&this.f&&Qm(this),ic()}function ia(e,t){this.x=e,this.m=void 0,this.s=void 0,this.u=void 0,this.f=32,this.name=t?.name}ia.prototype.c=function(){var e=this.S();try{if(8&this.f||this.x===void 0)return;var t=this.x();typeof t=="function"&&(this.m=t)}finally{e()}};ia.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Ax(this),bx(this),Vn++;var e=wt;return wt=this,ZJ.bind(this,e)};ia.prototype.N=function(){2&this.f||(this.f|=2,this.u=ja,ja=this)};ia.prototype.d=function(){this.f|=8,1&this.f||Qm(this)};ia.prototype.dispose=function(){this.d()};function rf(e,t){var r=new ia(e,t);try{r.c()}catch(i){throw r.d(),i}var n=r.d.bind(r);return n[Symbol.dispose]=n,n}var Vi=new WeakMap,yn=new WeakMap,fd=new WeakMap,wx=new WeakSet,ri=new WeakMap,Sx=/^\$/,_x=Object.getOwnPropertyDescriptor,eH=function(e){if(!ey(e))throw new Error("This object can't be observed.");return yn.has(e)||yn.set(e,hl(e,Zm)),yn.get(e)},hl=function(e,t){var r=new Proxy(e,t);return wx.add(r),r},ml=function(){throw new Error("Don't mutate the signals directly.")},Cx=function(e){return function(t,r,n){var i,o=e||r[0]==="$";if(!e&&o&&Array.isArray(t)){if(r==="$")return fd.has(t)||fd.set(t,hl(t,tH)),fd.get(t);o=r==="$length"}Vi.has(n)||Vi.set(n,new Map);var a=Vi.get(n),s=o?r.replace(Sx,""):r;if(a.has(s)||typeof((i=_x(t,s))==null?void 0:i.get)!="function"){var l=Reflect.get(t,s,n);if(o&&typeof l=="function")return;if(typeof s=="symbol"&&rH.has(s))return l;a.has(s)||(ey(l)&&(yn.has(l)||yn.set(l,hl(l,Zm)),l=yn.get(l)),a.set(s,fl(l)))}else a.set(s,Ex(function(){return Reflect.get(t,s,n)}));return o?a.get(s):a.get(s).value}},Zm={get:Cx(!1),set:function(e,t,r,n){var i;if(typeof((i=_x(e,t))==null?void 0:i.set)=="function")return Reflect.set(e,t,r,n);Vi.has(n)||Vi.set(n,new Map);var o=Vi.get(n);if(t[0]==="$"){r instanceof vr||ml();var a=t.replace(Sx,"");return o.set(a,r),Reflect.set(e,a,r.peek(),n)}var s=r;ey(r)&&(yn.has(r)||yn.set(r,hl(r,Zm)),s=yn.get(r));var l=!(t in e),u=Reflect.set(e,t,r,n);return o.has(t)?o.get(t).value=s:o.set(t,fl(s)),l&&ri.has(e)&&ri.get(e).value++,Array.isArray(e)&&o.has("length")&&(o.get("length").value=e.length),u},deleteProperty:function(e,t){t[0]==="$"&&ml();var r=Vi.get(yn.get(e)),n=Reflect.deleteProperty(e,t);return r&&r.has(t)&&(r.get(t).value=void 0),ri.has(e)&&ri.get(e).value++,n},ownKeys:function(e){return ri.has(e)||ri.set(e,fl(0)),ri._=ri.get(e).value,Reflect.ownKeys(e)}},tH={get:Cx(!0),set:ml,deleteProperty:ml},rH=new Set(Object.getOwnPropertyNames(Symbol).map(function(e){return Symbol[e]}).filter(function(e){return typeof e=="symbol"})),nH=new Set([Object,Array]),ey=function(e){return typeof e=="object"&&e!==null&&nH.has(e.constructor)&&!wx.has(e)};function K0(e,t){let r=t.status==="pending",n=t.loadStatus==="loading";return{data:e,error:t.error,status:t.status,loadStatus:t.loadStatus,isPending:r,isSuccess:t.status==="success",isError:t.status==="error",isLoading:n,isInitialLoading:r&&n&&e===void 0,isRefreshing:n&&!r}}function hd(e){return e instanceof Error?e:new Error(String(e))}function iH(e){queueMicrotask(()=>{throw e})}async function Y0(e,t,r){let n=await e["~standard"].validate(t);if(n.issues)throw new xw({...r,issues:n.issues});return n.value}function Tx(e,t,r){let n=e["~standard"].validate(t);if(n instanceof Promise)throw new ij({kind:r.kind,serviceId:r.serviceId,name:r.name,phase:r.phase});if(n.issues)throw new xw({...r,issues:n.issues});return n.value}var yl=32,In=new Map,ji,xx=new Set;function oH(e){let t=r=>{if(r===void 0)return{__t:"undefined"};if(r===null||typeof r!="object")return r;if(Array.isArray(r))return r.map(t);let n={};for(let i of Object.keys(r).sort())n[i]=t(r[i]);return{__t:"object",value:n}};return JSON.stringify(t(e))}function js(e,t,r){return`${e}::${t}::${oH(r)}`}function Rx(e){let t=e.filter(i=>i.status==="rejected");if(t.length===0)return;let[r,...n]=t.map(i=>i.reason);if(n.length>0&&r instanceof Error&&Reflect.get(r,"cause")===void 0)try{Reflect.set(r,"cause",{aggregated:n})}catch{}throw r}async function aH(e,t,r,n){let i=0;for(;e.size>0;){if(i++>yl)throw new Pw({serviceId:r,name:n,iterations:yl});let o=[...e];e.clear();let a=await Promise.allSettled(o.map(s=>s.promise));Rx(a)}}function X0(e){return e===null||typeof e!="object"?e:JSON.parse(JSON.stringify(e))}function ty(e,t,r,n){return Tx(r.input,n,{kind:"query",serviceId:e.serviceId,name:t,phase:"input"})}function gl(e,t,r,n){return Tx(r.output,n,{kind:"query",serviceId:e.serviceId,name:t,phase:"output"})}function bl(e,t,r,n,i,o){if(!r.handler)throw new Dw({kind:"query",serviceId:e.serviceId,name:t});let a={self:{get state(){return e.state},queries:i},getService:o};return r.handler(n,a)}function ry(e,t,r,n,i){return function(o){let a=ty(e,t,r,arguments.length===0?void 0:o);return r.load&&i?.(a),gl(e,t,r,bl(e,t,r,a,n,e.registryApi.getService))}}function oc(e,t,r,n,i,o){let a=In.get(i);if(a)return a;let s=new Set(o);s.add(i);let l=Promise.resolve().then(()=>Dx(e,t,r,n,s)).finally(()=>{In.get(i)===l&&In.delete(i)});return In.set(i,l),l}async function Dx(e,t,r,n,i){if(!r.load)return;let o=new Set,a=lH(e,i,o),s={self:{get state(){return e.state},queries:a,commands:e.getLoadCommands()},getService:e.registryApi.getService};await Promise.resolve(r.load(n,s)),await aH(o,void 0,e.serviceId,t)}async function sH(e,t,r,n,i){if(!r.load)return;let o={self:{get state(){return e.state},queries:e.reactiveLoadQueries,commands:e.buildGatedCommands(i)},getService:e.registryApi.getService};await Promise.resolve(r.load(n,o))}function uH(e){let t={};for(let[r,n]of e.queryDefinitions){let i=e.defaultQueries[r],o=ry(e,r,n,t,a=>{let s=js(e.serviceId,r,a);oc(e,r,n,a,s,xx).catch(iH)});t[r]={get:o,loaded:i.loaded,subscribe:i.subscribe}}return t}function lH(e,t,r){let n={};for(let[i,o]of e.queryDefinitions){let a=e.defaultQueries[i],s={get:ry(e,i,o,n,l=>{let u=js(e.serviceId,i,l),d=oc(e,i,o,l,u,t);t.has(u)||r.add({key:u,promise:d})}),loaded(l){return Px(e,i,o,arguments.length===0?void 0:l,t)},subscribe:a.subscribe};n[i]=s}return n}async function Px(e,t,r,n,i=xx){let o=ty(e,t,r,n),a=js(e.serviceId,t,o),s=new Set(i);s.add(a);let l={ancestorChain:s,collector:new Set,settledKeys:new Set};if(r.load&&!i.has(a)){let h=oc(e,t,r,o,a,i);l.collector.add({key:a,promise:h})}let u=0,d=!0;for(;d;){if(u++>yl)throw new Pw({serviceId:e.serviceId,name:t,iterations:yl});for(;l.collector.size>0;){let m=[...l.collector];l.collector.clear();let b=await Promise.allSettled(m.map(y=>y.promise));for(let y of m)l.settledKeys.add(y.key);Rx(b)}let h=ji;ji=l;try{bl(e,t,r,o,e.defaultQueries,e.registryApi.getService)}catch{}finally{ji=h}d=l.collector.size>0}let f=ji;ji=l;try{return gl(e,t,r,bl(e,t,r,o,e.defaultQueries,e.registryApi.getService))}finally{ji=f}}function cH(e,t,r){let n=(i,o)=>o===0?void 0:i;return{get:ry(e,t,r,e.defaultQueries,i=>{let o=ji;if(!o)return;let a=js(e.serviceId,t,i);if(!o.ancestorChain.has(a)&&!o.settledKeys.has(a)){let s=oc(e,t,r,i,a,o.ancestorChain);o.collector.add({key:a,promise:s})}}),loaded(i){return Px(e,t,r,n(i,arguments.length))},subscribe:((...i)=>{if(i.length===1&&typeof i[0]=="function")return md(e,t,r,void 0,void 0,i[0]);if(i.length===2&&typeof i[0]=="function"&&typeof i[1]=="function")return md(e,t,r,void 0,i[0],i[1]);let[o,a,s]=i;return md(e,t,r,o,s?a:void 0,s??a)})}}function md(e,t,r,n,i,o){let a=!0,s;try{s=ty(e,t,r,n)}catch(y){return o(K0(void 0,{status:"error",error:hd(y),loadStatus:"idle"})),()=>{a=!1}}let l=fl({status:r.load?"pending":"success",error:void 0,loadStatus:"idle"}),u;if(r.load){let y=0;u=rf(()=>{let A=++y,E=()=>A===y,_=ps(()=>l.value);l.value={status:_.status,error:_.error,loadStatus:"loading"},sH(e,t,r,s,E).then(()=>{E()&&(l.value={status:"success",error:void 0,loadStatus:"idle"})},I=>{E()&&(l.value={status:"error",error:hd(I),loadStatus:"idle"})})})}let d=Ex(()=>{let y=bl(e,t,r,s,e.defaultQueries,e.registryApi.getService);if(i){let A=ps(()=>gl(e,t,r,y));return i(y),X0(i(A))}return X0(gl(e,t,r,y))}),f=!1,h,m,b=rf(()=>{let y=l.value,A,E=y.status,_=y.error;try{A=d.value,m=A}catch(P){A=m,E="error",_=hd(P)}if(!a)return;let I=K0(A,{status:E,error:_,loadStatus:y.loadStatus});f&&Hw(I,h)||(f=!0,h=I,o(I))});return()=>{a=!1,b(),u?.()}}function dH(e){let t={};for(let[r,n]of e.queryDefinitions)t[r]=cH(e,r,n);return t}function pH(e,t){return e.version!==t.version?e.version>t.version:e.clientId>t.clientId}var Q0=new Set(["__proto__","constructor","prototype"]);function Z0(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function ny(e,t,r){if(!r.preserveMissingKeys)for(let n of Object.keys(e))Q0.has(n)||Object.prototype.hasOwnProperty.call(t,n)||delete e[n];for(let n of Object.keys(t)){if(Q0.has(n))continue;let i=t[n],o=e[n];Z0(i)&&Z0(o)?ny(o,i,r):o!==i&&(e[n]=i)}}function fH(e){let{setState:t,initialStamp:r}=e,n=r;return{get stamp(){return n},advanceLocal(i){return n={version:n.version+1,clientId:i},n},tryAdopt(i,o){return pH(i,n)?(n={version:i.version,clientId:i.clientId},t(a=>ny(a,o,{preserveMissingKeys:!1})),!0):!1}}}function hH(e,t,r){let n=r.replaceAll("\\","/").split("/").filter(i=>i.length>0&&i!==".");if(n.length===0||n.some(i=>i===".."))throw new nj({serviceId:e,name:t,path:r});return n.join("/")}function mH(e,t,r,n){let i=r.staticPath(n),o=hH(e,t,i);return`${e}/${o}`}function yH(e){return{get state(){return e},setState(t){mx(()=>{t(e)})},queries:{},commands:{}}}function ev(e,t,r){return Object.fromEntries(Object.entries(t).map(([n,i])=>[n,async o=>{if(!i.handler)throw new Dw({kind:"command",serviceId:e,name:n});let a=await Y0(i.input,o,{kind:"command",serviceId:e,name:n,phase:"input"}),s=await i.handler(a,r());return Y0(i.output,s,{kind:"command",serviceId:e,name:n,phase:"output"})}]))}function gH(e,t,r,n){return new Map(Object.entries(t).map(([i,o])=>{if(!o.staticPath)return[i,o];let{staticPath:a}=o;return[i,{...o,load:async s=>{let l=mH(e,i,{staticPath:a},s),u=await r(l,{serviceId:e,queryName:i,input:s});n(d=>{ny(d,u,{preserveMissingKeys:!0})})}}]}))}function bH(e,t,r=e.initialState){let n=r,i=eH(n),o=()=>structuredClone(n),a=yH(i),{registryApi:s,staticLoader:l}=t,u=()=>({self:a,getService:s.getService}),d=ev(e.id,e.commands,u);a.commands=d;let f=d,h=new Set,m=l?gH(e.id,e.queries,l,a.setState):new Map(Object.entries(e.queries)),b={},y={},A=g=>{let w={get state(){return i},setState(R){g()&&mx(()=>{R(i)})},queries:b,commands:{}},C=ev(e.id,e.commands,()=>({self:w,getService:s.getService}));return w.commands=C,h.size===0?C:Object.fromEntries(Object.keys(e.commands).map(R=>[R,h.has(R)?f[R]:C[R]]))},E={serviceId:e.id,commandSelf:a,state:i,registryApi:s,queryDefinitions:m,defaultQueries:b,reactiveLoadQueries:y,getLoadCommands:()=>f,buildGatedCommands:A},_=dH(E);for(let[g,w]of Object.entries(_))b[g]=w;for(let[g,w]of Object.entries(uH(E)))y[g]=w;a.queries=b;let I=b,P={self:{get state(){return i},queries:b},getService:s.getService},x={self:{get state(){return i},queries:b,commands:d},getService:s.getService};return{getStateSnapshot:o,commandSelf:a,queryCtx:P,loadCtxForStatic:x,commands:d,queries:I,runLoadOnce:async(g,w)=>{let C=m.get(g);if(!C||!C.load)return;let R=js(e.id,g,w),j=new Set([R]),B=In.get(R),U=Promise.resolve().then(()=>Dx(E,g,C,w,j)).finally(()=>{In.get(R)===U&&(B?In.set(R,B):In.delete(R))});In.set(R,U),await U},attachChannelCommands:(g,w)=>{f=g,h.clear();for(let C of Object.keys(e.commands))w.has(C)||h.add(C)}}}var vl="__openServiceError__",vH=new Set([vl,"name","message","stack","cause"]);function iy(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)}function EH(e){return iy(e)&&e[vl]===!0}function El(e){if(e instanceof Error)return Ox(e);if(Array.isArray(e))return e.map(r=>El(r));if(iy(e)){let r={};for(let[n,i]of Object.entries(e))r[n]=El(i);return r}if(e===null)return null;let t=typeof e;if(t==="string"||t==="number"||t==="boolean")return e;if(t==="bigint")return e.toString()}function Ox(e){if(!(e instanceof Error))return{[vl]:!0,name:"Error",message:String(e)};let t={};for(let r of Object.keys(e))vH.has(r)||(t[r]=El(e[r]));return{[vl]:!0,name:e.name,message:e.message,...e.stack!==void 0?{stack:e.stack}:{},...e.cause!==void 0?{cause:El(e.cause)}:{},...Object.keys(t).length>0?{properties:t}:{}}}function Al(e){if(EH(e))return Ix(e);if(Array.isArray(e))return e.map(t=>Al(t));if(iy(e)){let t={};for(let[r,n]of Object.entries(e))t[r]=Al(n);return t}return e}function Ix(e){let t=new Error(e.message);if(t.name=e.name,e.stack!==void 0&&(t.stack=e.stack),"cause"in e&&(t.cause=Al(e.cause)),e.properties)for(let[r,n]of Object.entries(e.properties))t[r]=Al(n);return t}var AH=300;function wH(e,t){let{serviceId:r,ownClientId:n,reconciler:i,getSnapshot:o,channel:a}=t;return Object.fromEntries(Object.entries(e).map(([s,l])=>[s,async u=>{let d=await l(u),f=i.advanceLocal(n);return a.emit(Nu,{serviceId:r,state:o(),version:f.version,clientId:f.clientId}),d}]))}function SH(e){let{serviceId:t,ownClientId:r,reconciler:n,getSnapshot:i,channel:o,relay:a}=e,s=()=>{o.emit(sd,{serviceId:t,clientId:r})},l=()=>{o.emit(Nu,{serviceId:t,state:i(),version:n.stamp.version,clientId:n.stamp.clientId})},u=m=>{let b=n.tryAdopt({version:m.version,clientId:m.clientId},m.state);return b&&a&&l(),b},d=m=>{let b=$i(zJ,m);!b.success||b.output.serviceId!==t||b.output.clientId===r||o.emit(ud,{serviceId:t,state:i(),version:n.stamp.version,clientId:n.stamp.clientId})},f=m=>{let b=$i(W0,m);!b.success||b.output.serviceId!==t||u(b.output)},h=m=>{let b=$i(W0,m);!b.success||b.output.serviceId!==t||u(b.output)};return o.on(sd,d),o.on(ud,f),o.on(Nu,h),s(),a&&n.stamp.version>0&&l(),()=>{o.off(sd,d),o.off(ud,f),o.off(Nu,h)}}function _H(e){let{serviceId:t,ownClientId:r,channel:n,localCommands:i,implementedCommandNames:o,commandNames:a}=e,s=new Map,l=(y,A)=>{let E=s.get(y);E&&(s.delete(y),clearTimeout(E.noAckTimer),A(E))},u=y=>{let A=$i(GJ,y);if(!A.success||A.output.serviceId!==t||!o.has(A.output.commandName))return;let E=A.output;n.emit(cd,{serviceId:t,callId:E.callId,clientId:r}),Promise.resolve().then(()=>i[E.commandName](E.input)).then(_=>{n.emit(dd,{serviceId:t,callId:E.callId,result:_,clientId:r})},_=>{n.emit(pd,{serviceId:t,callId:E.callId,error:Ox(_),clientId:r})})},d=y=>{let A=$i(KJ,y);!A.success||A.output.serviceId!==t||l(A.output.callId,E=>E.resolve(A.output.result))},f=y=>{let A=$i(YJ,y);!A.success||A.output.serviceId!==t||l(A.output.callId,E=>E.reject(Ix(A.output.error)))},h=y=>{let A=$i(WJ,y);if(!A.success||A.output.serviceId!==t)return;let E=s.get(A.output.callId);E&&clearTimeout(E.noAckTimer)};n.on(ld,u),n.on(dd,d),n.on(pd,f),n.on(cd,h);let m=(y,A)=>{let E=hx();return new Promise((_,I)=>{let P=setTimeout(()=>{l(E,x=>x.reject(new sj({serviceId:t,commandName:x.commandName})))},AH);s.set(E,{commandName:y,resolve:_,reject:I,noAckTimer:P}),n.emit(ld,{serviceId:t,commandName:y,input:A,callId:E,clientId:r})})},b={};for(let y of a)b[y]=o.has(y)?i[y]:A=>m(y,A);return{commands:b,disconnect:()=>{n.off(ld,u),n.off(dd,d),n.off(pd,f),n.off(cd,h);for(let[,y]of s)clearTimeout(y.noAckTimer),y.reject(new aj({serviceId:t}));s.clear()}}}function CH(e){let{serviceId:t,ownClientId:r,reconciler:n,getSnapshot:i,channel:o,relay:a,commands:s,implementedCommandNames:l,commandNames:u,runtime:d}=e,f=wH(s,{serviceId:t,ownClientId:r,reconciler:n,getSnapshot:i,channel:o}),h=_H({serviceId:t,ownClientId:r,channel:o,localCommands:f,implementedCommandNames:l,commandNames:u}),m=SH({serviceId:t,ownClientId:r,reconciler:n,getSnapshot:i,channel:o,relay:a});return d.attachChannelCommands(h.commands,l),{commands:h.commands,disconnect:()=>{m(),h.disconnect()}}}var tv=Symbol.for("storybook.open-service.registry");function ac(){let e=globalThis;return e[tv]??=new Map,e[tv]}function TH(e){return{id:e.id,description:e.description,queries:Object.fromEntries(Object.entries(e.queries).filter(([,t])=>!t.internal).map(([t,r])=>[t,{name:t,description:r.description,input:r.input,output:r.output,...r.staticPath?{staticPath:!0}:{}}])),commands:Object.fromEntries(Object.entries(e.commands).filter(([,t])=>!t.internal).map(([t,r])=>[t,{name:t,description:r.description,input:r.input,output:r.output}]))}}function xH(e){return{id:e.id,description:e.description,queryNames:Object.keys(e.queries),commandNames:Object.keys(e.commands)}}function RH(e,t){return t?{...e,queries:Object.fromEntries(Object.entries(e.queries).map(([r,n])=>{let i=t.queries?.[r];return[r,i&&"staticInputs"in i?{...n,staticInputs:i.staticInputs}:n]})),commands:Object.fromEntries(Object.entries(e.commands).map(([r,n])=>{let i=t.commands?.[r];return[r,i&&"handler"in i?{...n,handler:i.handler}:n]}))}:e}var rv={listServices:PH,describeService:OH,getService:Fx};function DH(e,t,{relay:r=!1,staticLoader:n}={}){let i=ac(),o=i.get(e.id);if(o)return o.instance;let a=hx(),s=RH(e,t),l=bH(s,{registryApi:rv,staticLoader:n},structuredClone(s.initialState)),u=fH({setState:E=>l.commandSelf.setState(_=>E(_)),initialStamp:{version:0,clientId:a}}),d=()=>l.getStateSnapshot(),f=TH(s),h=Jn();if(!h)throw new oj({serviceId:e.id});let m=new Set(Object.entries(s.commands).filter(([,E])=>typeof E.handler=="function").map(([E])=>E)),{commands:b,disconnect:y}=CH({serviceId:e.id,ownClientId:a,reconciler:u,getSnapshot:d,channel:h,relay:r,commands:l.commands,implementedCommandNames:m,commandNames:Object.keys(s.commands),runtime:l}),A={queries:l.queries,commands:b,...rv};return i.set(e.id,{definition:s,instance:A,descriptor:f,summary:xH(f),disconnect:y}),A}async function PH(){return Array.from(ac().values()).filter(({definition:e})=>!e.internal).map(({summary:e})=>e)}async function OH(e){let t=ac().get(e);if(!t)throw new Rw({serviceId:e});return t.descriptor}function Fx(e){let t=ac().get(e);if(!t)throw new Rw({serviceId:e});return t.instance}var IH="/services/";function FH(){return globalThis.CONFIG_TYPE==="PRODUCTION"}function NH(){if(FH())return async(e,t)=>{let r=`${IH}${e}`,n;try{n=await fetch(r)}catch(o){throw new xc({...t,logicalPath:e,url:r,cause:o})}if(!n.ok){let o={status:n.status,statusText:n.statusText};throw new xc({...t,logicalPath:e,url:r,cause:o,status:n.status,statusText:n.statusText})}let i;try{i=await n.json()}catch(o){throw new xc({...t,logicalPath:e,url:r,cause:o})}if(i&&typeof i=="object"&&!Array.isArray(i))return i;throw new QF({...t,logicalPath:e,url:r,received:i})}}var Nx=Fx;function oy(e,t){return DH(e,t,{staticLoader:NH()})}var kx=e=>e;function kH(e,t){let r=e?.trim();return r?`${r}
872
+
873
+ ${t}`:t}function BH(e,t){let r=e?.stories[t];if(r?.snippet!==void 0)return kH(e?.import,r.snippet)}function MH(e){return`${e}.json`}var nv=jr({id:Ue()}),jH=nc(e=>typeof e=="object"&&e!==null&&!Array.isArray(e)),LH=jr({name:Ue(),message:Ue()}),qH=na(Ue(),px(Ue())),Bx={name:Ue(),path:Ue(),description:lr(Ue()),summary:lr(Ue()),jsDocTags:qH,argTypes:lr(jH),error:lr(LH)},$H={...Bx,import:lr(Ue())},VH=Km($H),Mx=Km({id:Ue(),...Bx,subcomponents:lr(na(Ue(),VH))}),iv=lr(Mx),UH=kx({id:"core/docgen",description:"Component documentation (name, description, props, JSDoc tags) keyed by component id.",initialState:{components:{}},queries:{docgen:{description:"Returns the docgen payload for one component id, or undefined when not loaded.",input:nv,output:iv,handler:(e,t)=>t.self.state.components[e.id],load:async(e,t)=>{await t.self.commands.extractDocgen(e)},staticPath:e=>MH(e.id)},docgenForAllComponents:{description:"Returns docgen payloads for every component in the story index.",input:ds(),output:na(Ue(),Mx),handler:(e,t)=>t.self.state.components,load:async(e,t)=>{await t.self.commands.extractAllDocgen(void 0)}}},commands:{extractDocgen:{description:"Resolves the story entry for a component id, runs the registered provider chain, writes the result into state, and returns it (or undefined when no provider produced docgen).",input:nv,output:iv},extractAllDocgen:{description:"Extracts docgen for every component id in the story index by invoking `extractDocgen` for each.",input:Ym(),output:ds()}}}),ov=()=>({beforeAll:()=>{globalThis.FEATURES?.experimentalDocgenServer&&oy(UH)}});function JH(e){return`${e}.json`}var av=jr({id:Ue()}),jx=jr({name:Ue(),message:Ue()}),HH=jr({id:Ue(),name:Ue(),snippet:lr(Ue()),description:lr(Ue()),summary:lr(Ue()),error:lr(jx)}),Lx=jr({id:Ue(),name:Ue(),path:Ue(),import:lr(Ue()),stories:na(Ue(),HH),error:lr(jx)}),sv=lr(Lx),zH=kx({id:"core/story-docs",description:"Story documentation (snippets, descriptions, imports) keyed by component id.",initialState:{components:{}},queries:{storyDocs:{description:"Returns the story-docs payload for one component id, or undefined when not loaded.",input:av,output:sv,handler:(e,t)=>Object.hasOwn(t.self.state.components,e.id)?t.self.state.components[e.id]:void 0,load:async(e,t)=>{await t.self.commands.extractStoryDocs(e)},staticPath:e=>JH(e.id)},storyDocsForAllComponents:{description:"Returns story-docs payloads for every component in the story index.",input:ds(),output:na(Ue(),Lx),handler:(e,t)=>t.self.state.components,load:async(e,t)=>{await t.self.commands.extractAllStoryDocs(void 0)}}},commands:{extractStoryDocs:{description:"Resolves the story entry for a component id, runs the registered provider chain, writes the result into state, and returns it (or undefined when no provider produced story docs).",input:av,output:sv},extractAllStoryDocs:{description:"Extracts story docs for every component id in the story index by invoking `extractStoryDocs` for each.",input:Ym(),output:ds()}}}),GH="storybook/docs",WH=`${GH}/snippet-rendered`;function KH(e){let t=e?.docs?.source,r=e?.__isArgsStory;return e?.__isPortableStory?!0:t?.type==="dynamic"?!1:!r||t?.code!==void 0||t?.type==="code"}function YH(e){if(!globalThis.FEATURES?.experimentalDocgenServer||KH(e.parameters))return;let t=(()=>{try{return Nx("core/story-docs")}catch{return}})();if(!t)return;let r=e.id,n=r.split("--")[0],i=!1,o=t.queries.storyDocs.loaded({id:n}).then(a=>{if(i)return;let s=BH(a,r)??e.parameters?.docs?.source?.originalSource;if(s!==void 0)return SR(s,e)});return()=>(i=!0,o)}var uv=()=>"FEATURES"in globalThis&&globalThis.FEATURES?.experimentalDocgenServer?{beforeAll:()=>{oy(zH)},beforeEach:YH}:{},XH=({parameters:e})=>{e?.test?.mockReset===!0?U_():e?.test?.clearMocks===!0?V_():e?.test?.restoreMocks!==!1&&J_()},nf=(e,t=0,r)=>{if(t>5||e==null)return e;if(Ro(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=q_(e);return r&&n.mockName(r),n}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=nf(e[n],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,i]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=nf(i,t,n));return e}return e},QH=({initialArgs:e})=>{nf(e)},lv=!1,ZH=async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=tx(e.canvasElement));try{let t=globalThis.window?.navigator?.clipboard;if(t&&(e.userEvent=xs({userEvent:rx.setup()},{intercept:!0,getKeys:r=>Object.keys(r).filter(n=>n!=="eventWrapper")}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:()=>t,configurable:!0}),!lv)){let r=HTMLElement.prototype.focus,n=HTMLElement.prototype.focus,i=()=>{},o=new Set;Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:a=>{n=a},get(){return this.ownerDocument?.defaultView?o.has(this)?r:(o.add(this),setTimeout(()=>o.delete(this),0),n):i}}}),lv=!0}}catch{}},cv=()=>({loaders:[XH,QH,ZH]}),Li="viewport",ez="100pct-100pct",tz={[Li]:{value:void 0,isRotated:!1}},dv=()=>({initialGlobals:tz}),qx=Symbol.for("storybook.internal.composedWithCoreAnnotations");function rz(e){return Object.defineProperty(e,qx,{value:!0,enumerable:!1,configurable:!0,writable:!0}),e}function nz(e){return e!=null&&typeof e=="object"&&e[qx]===!0}function iz(){return[(J0.default??J0)(),(D0.default??D0)(),(L0.default??L0)(),(z0.default??z0)(),(dv.default??dv)(),(C0.default??C0)(),(P0.default??P0)(),(cv.default??cv)(),(O0.default??O0)(),(ov.default??ov)(),(uv.default??uv)()]}function oz(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}function Po(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}function az(e){return"__children"in e?e.__children:[]}var $x=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),of=(e,t)=>{let r=$x(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},sz=(e,t)=>`${of(e,"kind")}${t?`--${of(t,"name")}`:""}`,uz=(e,t)=>`${e}:${of(t,"test")}`,lz=e=>hL(e);function pv(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function af(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||pv(e,t))&&(!r||!pv(e,r))}var cz=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},Ct=e=>Array.isArray(e)?e:e?[e]:[],dz=tt`
874
+ CSF .story annotations deprecated; annotate story functions directly:
875
+ - StoryFn.story.name => StoryFn.storyName
876
+ - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
877
+ See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
878
+ `;function La(e,t,r){let n=t,i=typeof t=="function"?t:null,{story:o}=n;o&&(It.debug("deprecated story",o),eh(dz));let a=lz(e),s=typeof n!="function"&&n.name||n.storyName||o?.name||a,l=[...Ct(n.decorators),...Ct(o?.decorators)],u={...o?.parameters,...n.parameters},d={...o?.args,...n.args},f={...o?.argTypes,...n.argTypes},h=[...Ct(n.loaders),...Ct(o?.loaders)],m=[...Ct(n.beforeEach),...Ct(o?.beforeEach)],b=[...Ct(n.afterEach),...Ct(o?.afterEach)],{render:y,play:A,tags:E=[],globals:_={}}=n,I=u.__id||sz(r.id,a);return{moduleExport:t,id:I,name:s,tags:E,decorators:l,parameters:u,args:d,argTypes:xh(f),loaders:h,beforeEach:m,afterEach:b,globals:_,...y&&{render:y},...i&&{userStoryFn:i},...A&&{play:A}}}function sf(e,t=e.title,r){let{id:n,argTypes:i}=e;return{id:$x(n||t),...e,title:t,...i&&{argTypes:xh(i)},parameters:{fileName:r,...e.parameters}}}var pz=e=>{let{globals:t,globalTypes:r}=e;(t||r)&&It.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},fz=e=>{let{options:t}=e;t?.storySort&&It.error("The storySort option parameter can only be set globally")},pu=e=>{e&&(pz(e),fz(e))};function hz(e,t,r){let{default:n,__namedExportsOrder:i,...o}=e,a=Object.values(o).find(u=>Po(u));if(a){let u=sf(a.meta.input,r,t);pu(u.parameters);let d={meta:u,stories:{},moduleExports:e};return Object.keys(o).forEach(f=>{if(af(f,u)&&Po(o[f])){let h=o[f],m=La(f,h.input,u);pu(m.parameters),d.stories[m.id]=m,az(h).forEach(b=>{let y=b.input.name,A=uz(m.id,y);b.input.parameters??={},b.input.parameters.__id=A,d.stories[A]=La(y,b.input,u)})}}),d.projectAnnotations=a.meta.preview.composed,d}let s=sf(n,r,t);pu(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(o).forEach(u=>{if(af(u,s)){let d=La(u,o[u],s);pu(d.parameters),l.stories[d.id]=d}}),l}function Vx(e,t,r){let n=r(e);return i=>t(n,i)}function Ux({componentId:e,title:t,kind:r,id:n,name:i,story:o,parameters:a,initialArgs:s,argTypes:l,...u}={}){return u}function Jx(e,t){let r={},n=o=>a=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Ux(a)},o(r.value)},i=t.reduce((o,a)=>Vx(o,a,n),e);return o=>(r.value=o,i(o))}var Zi=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,o)=>(Object.entries(o).forEach(([a,s])=>{let l=i[a];Array.isArray(s)||typeof l>"u"?i[a]=s:gn(s)&&gn(l)?t[a]=!0:typeof s<"u"&&(i[a]=s)}),i),{});return Object.keys(t).forEach(i=>{let o=r.filter(Boolean).map(a=>a[i]).filter(a=>typeof a<"u");o.every(a=>gn(a))?n[i]=Zi(...o):n[i]=o[o.length-1]}),n};function ay(e,t,r){let{moduleExport:n,id:i,name:o}=e||{},a=zx(e,t,r),s=async g=>{let w={};for(let C of[Ct(r.loaders),Ct(t.loaders),Ct(e.loaders)]){if(g.abortSignal.aborted)return w;let R=await Promise.all(C.map(j=>j(g)));Object.assign(w,...R)}return w},l=async g=>{let w=new Array;for(let C of[...Ct(r.beforeEach),...Ct(t.beforeEach),...Ct(e.beforeEach)]){if(g.abortSignal.aborted)return w;let R=await C(g);R&&w.push(R)}return w},u=async g=>{let w=[...Ct(r.afterEach),...Ct(t.afterEach),...Ct(e.afterEach)].reverse();for(let C of w){if(g.abortSignal.aborted)return;await C(g)}},d=g=>g.originalStoryFn(g.args,g),{applyDecorators:f=Jx,runStep:h}=r,m=[...Ct(e?.decorators),...Ct(t?.decorators),...Ct(r?.decorators)],b=e?.userStoryFn||e?.render||t.render||r.render,y=qw(f)(d,m),A=g=>y(g),E=e?.play??t?.play,_=gL(E);if(!b&&!_)throw new Aw({id:i});let I=g=>async()=>(await g.renderToCanvas(),g.canvas),P=e.mount??t.mount??r.mount??I,x=r.testingLibraryRender;return{storyGlobals:{},...a,moduleExport:n,id:i,name:o,story:o,originalStoryFn:b,undecoratedStoryFn:d,unboundStoryFn:A,applyLoaders:s,applyBeforeEach:l,applyAfterEach:u,playFunction:E,runStep:h,mount:P,testingLibraryRender:x,renderToCanvas:r.renderToCanvas,usesMount:_}}function Hx(e,t,r){return{...zx(void 0,e,t),moduleExport:r}}function zx(e,t,r){let n=[fn.DEV,fn.TEST],i=De.DOCS_OPTIONS?.autodocs===!0?[fn.AUTODOCS]:[],o=e?.tags?.includes(fn.TEST_FN)?[`!${fn.AUTODOCS}`]:[],a=cz(...n,...i,...r.tags??[],...t.tags??[],...o,...e?.tags??[]),s=Zi(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,d=Zi(r.argTypes,t.argTypes,e?.argTypes);if(e){let _=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=_&&_.length>0}let f={...r.args,...t.args,...e?.args},h={...t.globals,...e?.globals},m={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:a,parameters:s,initialArgs:f,argTypes:d,storyGlobals:h};m.argTypes=l.filter(_=>!(De.FEATURES?.experimentalDocgenServer&&_.secondPass)).reduce((_,I)=>I({...m,argTypes:_}),m.argTypes);let b={...f};m.initialArgs=[...u].reduce((_,I)=>({..._,...I({...m,initialArgs:_})}),b);let{name:y,story:A,...E}=m;return E}function Gx(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(De.FEATURES?.argTypeTargetsV7){let o=iL(e);r={...e,allArgs:e.args,argsByTarget:o,args:o[zw]||{}}}let n=Object.entries(r.args).reduce((o,[a,s])=>{if(!r.argTypes[a]?.mapping)return o[a]=s,o;let l=u=>{let d=r.argTypes[a].mapping;return d&&u in d?d[u]:u};return o[a]=Array.isArray(s)?s.map(l):l(s),o},{}),i=Object.entries(n).reduce((o,[a,s])=>{let l=r.argTypes[a]||{};return yL(l,n,r.globals)&&(o[a]=s),o},{});return{...r,unmappedArgs:t,args:i}}var uf=(e,t,r,n)=>{let i=typeof e;switch(i){case"boolean":case"string":case"number":case"function":case"symbol":return{name:i}}if(e){if(n.has(e))return n.get(e);if(r.has(e))return It.warn(tt`
879
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
880
+
881
+ Consider using the mapping feature or fully custom args:
882
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
883
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
884
+ `),{name:"other",value:"cyclic object"};r.add(e);let o;return Array.isArray(e)?o={name:"array",value:e.length>0?uf(e[0],t,r,n):{name:"other",value:"unknown"}}:o={name:"object",value:Fl(e,a=>uf(a,t,r,n))},r.delete(e),n.set(e,o),o}return{name:"object",value:{}}},Wx=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,i=new Map,o=Object.fromEntries(Object.entries(n).filter(([s])=>!r[s]?.type).map(([s,l])=>[s,{name:s,type:uf(l,`${t}.${s}`,new Set,i)}])),a=Fl(r,(s,l)=>({name:l}));return Zi(o,a,r)};Wx.secondPass=!0;var fv=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),Kx=(e,t,r)=>!t&&!r?e:e&&Qj(e,(n,i)=>{let o=n.name||i.toString();return!!(!t||fv(o,t))&&(!r||!fv(o,r))}),mz=(e,t,r)=>{let{type:n,options:i}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&It.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},sy=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:i=null,matchers:o={}}={}}}=e;if(!r)return t;let a=Kx(t,n,i),s=Fl(a,(l,u)=>l?.type&&mz(l,u.toString(),o));return Zi(s,a)};sy.secondPass=!0;function sc({argTypes:e,argTypesEnhancers:t,decorators:r,loaders:n,beforeEach:i,afterEach:o,initialGlobals:a,...s}){return{...e&&{argTypes:xh(e)},decorators:Ct(r),loaders:Ct(n),beforeEach:Ct(i),afterEach:Ct(o),argTypesEnhancers:[...t||[],Wx,sy],initialGlobals:a,...s}}var yz=e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}};function Yx(e){return async(t,r,n)=>{await e.reduceRight((i,o)=>async()=>o(t,i,n),async()=>r(n))()}}function fs(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}function ni(e,t,r={}){return fs(e,t).reduce((n,i)=>{let o=Ct(i);return r.reverseFileOrder?[...o,...n]:[...n,...o]},[])}function fu(e,t){return Object.assign({},...fs(e,t))}function ba(e,t){return fs(e,t).pop()}function uy(e){let t=ni(e,"argTypesEnhancers"),r=fs(e,"runStep"),n=ni(e,"beforeAll");return{parameters:Zi(...fs(e,"parameters")),decorators:ni(e,"decorators",{reverseFileOrder:!(De.FEATURES?.legacyDecoratorFileOrder??!1)}),args:fu(e,"args"),argsEnhancers:ni(e,"argsEnhancers"),argTypes:fu(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:fu(e,"initialGlobals"),globalTypes:fu(e,"globalTypes"),loaders:ni(e,"loaders"),beforeAll:yz(n),beforeEach:ni(e,"beforeEach"),afterEach:ni(e,"afterEach"),render:ba(e,"render"),renderToCanvas:ba(e,"renderToCanvas"),applyDecorators:ba(e,"applyDecorators"),runStep:Yx(r),tags:ni(e,"tags"),mount:ba(e,"mount"),testingLibraryRender:ba(e,"testingLibraryRender")}}function ly(e){let t=e.filter(Boolean),r=t.some(n=>nz(n));return rz(uy(r?t:[...iz(),...t]))}function Xx(){try{return!!globalThis.__vitest_browser__||!!globalThis.window?.navigator?.userAgent?.match(/StorybookTestRunner/)}catch{return!1}}function cy(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
885
+ animation: none !important;
886
+ }`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
887
+ animation-delay: 0s !important;
888
+ animation-direction: ${e?"reverse":"normal"} !important;
889
+ animation-play-state: paused !important;
890
+ transition: none !important;
891
+ }`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{r.parentNode?.removeChild(r)}}async function dy(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...Qx(globalThis.document)],i=async()=>{if(t||e?.aborted)return;let o=n.flatMap(a=>a?.getAnimations?.()||[]).filter(a=>a.playState==="running"&&!gz(a));o.length>0&&(await Promise.allSettled(o.map(async a=>a.finished)),await i())};i().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}function Qx(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...Qx(r.shadowRoot)),t),[])}function gz(e){if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let t=getComputedStyle(e.effect.target,e.effect.pseudoElement),r=t.animationName?.split(", ").indexOf(e.animationName);return t.animationIterationCount.split(", ")[r]==="infinite"}return!1}var py=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};function Zx(e,t,r){return Po(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:oz(t)?t.input:t,preview:r}}function bz(e){globalThis.defaultProjectAnnotations=e}var vz="ComposedStory",Ez="Unnamed Story";function Az(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=ly([globalThis.defaultProjectAnnotations??{},...t]),globalThis.globalProjectAnnotations??{}}var Fn=[];function eR(e,t,r,n,i){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??vz;let o=sf(t),a=i||e.storyName||e.story?.name||e.name||Ez,s=La(a,e,o),l=sc(uy([n??globalThis.globalProjectAnnotations??{},r??{}])),u=ay(s,o,l),d={...Gw(l.globalTypes),...l.initialGlobals,...u.storyGlobals},f=new py,h=()=>{let E=Gx({hooks:new _h,globals:d,args:{...u.initialArgs},viewMode:"story",reporting:f,loaded:{},abortSignal:new AbortController().signal,step:(_,I)=>u.runStep(_,I,E),canvasElement:null,canvas:{},userEvent:{},globalTypes:l.globalTypes,...u,context:null,mount:null});return E.parameters.__isPortableStory=!0,E.context=E,u.renderToCanvas&&(E.renderToCanvas=async()=>{let _=await u.renderToCanvas?.({componentId:u.componentId,title:u.title,id:u.id,name:u.name,tags:u.tags,showMain:()=>{},showError:P=>{throw new Error(`${P.title}
892
+ ${P.description}`)},showException:P=>{throw P},forceRemount:!0,storyContext:E,storyFn:()=>u.unboundStoryFn(E),unboundStoryFn:u.unboundStoryFn},E.canvasElement);_&&Fn.push(_);let I=E.hooks;Fn.push(()=>I.clean()),I.renderListener(E.id)}),E.mount=u.mount(E),E},m,b=async E=>{let _=h();return _.canvasElement??=globalThis?.document?.body,m&&(_.loaded=m.loaded),Object.assign(_,E),u.playFunction(_)},y=E=>{let _=h();return Object.assign(_,E),Cz(u,_)},A=u.playFunction?b:void 0;return Object.assign(function(E){let _=h();return m&&(_.loaded=m.loaded),_.args={..._.initialArgs,...E},u.unboundStoryFn(_)},{id:u.id,storyName:a,load:async()=>{for(let _ of[...Fn].reverse())await _();Fn.length=0;let E=h();E.loaded=await u.applyLoaders(E),Fn.push(...(await u.applyBeforeEach(E)).filter(Boolean)),m=E},globals:d,args:u.initialArgs,parameters:u.parameters,argTypes:u.argTypes,play:A,run:y,reporting:f,tags:u.tags})}var wz=(e,t,r,n)=>eR(e,t,r,{},n);function Sz(e,t,r=wz){let{default:n,__esModule:i,__namedExportsOrder:o,...a}=e,s=n;return Object.entries(a).reduce((l,[u,d])=>{let{story:f,meta:h}=Zx(d);return!s&&h&&(s=h),af(u,s)?Object.assign(l,{[u]:r(f,s,t,u)}):l},{})}function _z(e){return e.extend({mount:async({mount:t,page:r},n)=>{await n(async(i,...o)=>{if(!("__pw_type"in i)||"__pw_type"in i&&i.__pw_type!=="jsx")throw new Error(tt`
893
+ Portable stories in Playwright CT only work when referencing JSX elements.
894
+ Please use JSX format for your components such as:
895
+
896
+ instead of:
897
+ await mount(MyComponent, { props: { foo: 'bar' } })
898
+
899
+ do:
900
+ await mount(<MyComponent foo="bar"/>)
901
+
902
+ More info: https://storybook.js.org/docs/api/portable-stories/portable-stories-playwright?ref=error
903
+ `);let{props:a,...s}=i;await r.evaluate(async u=>{let d=await globalThis.__pwUnwrapObject?.(u);return("__pw_type"in d?d.type:d)?.load?.()},s);let l=await t(i,...o);return await r.evaluate(async u=>{let d=await globalThis.__pwUnwrapObject?.(u),f="__pw_type"in d?d.type:d,h=document.querySelector("#root");return f?.play?.({canvasElement:h})},s),l})}})}async function Cz(e,t){for(let o of[...Fn].reverse())await o();if(Fn.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,Fn.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Fn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new Sh({playFunction:r.toString()})}),await r(t));let i;Xx()?i=cy():await dy(t.abortSignal),await e.applyAfterEach(t),await i?.()}function Tz(e){return sc(ly([e]))}var hv=1e3,xz=1e4,tR=class{constructor(e,t,r){this.importFn=t,this.storyIndex=new cL(e),this.projectAnnotations=Tz(r);let{initialGlobals:n,globalTypes:i}=this.projectAnnotations;this.args=new aL,this.userGlobals=new sL({globals:n,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,kc.default)(hv)(hz),this.prepareMetaWithCache=(0,kc.default)(hv)(Hx),this.prepareStoryWithCache=(0,kc.default)(xz)(ay)}setProjectAnnotations(e){this.projectAnnotations=sc(e);let{initialGlobals:t,globalTypes:r}=e;this.userGlobals.set({globals:t,globalTypes:r})}async onStoriesChanged({importFn:e,storyIndex:t}){e&&(this.importFn=e),t&&(this.storyIndex.entries=t.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:t,title:r}=this.storyIndex.storyIdToEntry(e),n=await this.importFn(t);return this.processCSFFileWithCache(n,t,r)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([t,{importPath:r}])=>{e[r]=t}),(await Promise.all(Object.entries(e).map(async([t,r])=>({importPath:t,csfFile:await this.loadCSFFileByStoryId(r)})))).reduce((t,{importPath:r,csfFile:n})=>(t[r]=n,t),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let t=e.meta;return this.prepareMetaWithCache(t,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let t=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:t})}storyFromCSFFile({storyId:e,csfFile:t}){let r=t.stories[e];if(!r)throw new vw({storyId:e});let n=t.meta,i=this.prepareStoryWithCache(r,n,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new _h,i}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(t=>!!e.stories[t]).map(t=>this.storyFromCSFFile({storyId:t,csfFile:e}))}async loadEntry(e){let t=await this.storyIdToEntry(e),r=t.type==="docs"?t.storiesImports:[],[n,...i]=await Promise.all([this.importFn(t.importPath),...r.map(o=>{let a=this.storyIndex.importPathToEntry(o);return this.loadCSFFileByStoryId(a.id)})]);return{entryExports:n,csfFiles:i}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let r=this.userGlobals.get(),{initialGlobals:n}=this.userGlobals,i=new py;return Gx({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:n,globalTypes:this.projectAnnotations.globalTypes,userGlobals:r,reporting:i,globals:{...r,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,...t){this.cleanupCallbacks[e.id]=(this.cleanupCallbacks[e.id]||[]).concat(t)}async cleanupStory(e){this.hooks[e.id].clean();let t=this.cleanupCallbacks[e.id];if(t)for(let r of[...t].reverse())await r();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:t}=this;if(console.log("extract: extracting stories",t),!t)throw new fw;let r=Object.entries(this.storyIndex.entries).reduce((n,[i,o])=>{if(o.type==="docs")return n;let a=t[o.importPath],s=this.storyFromCSFFile({storyId:i,csfFile:a});return!e.includeDocsOnly&&s.parameters.docsOnly||(n[i]=Object.entries(s).reduce((l,[u,d])=>u==="story"&&o.subtype==="test"?{...l,story:o.parentName}:u==="moduleExport"||typeof d=="function"?l:Array.isArray(d)?Object.assign(l,{[u]:d.slice().sort()}):Object.assign(l,{[u]:d}),{args:s.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...s.storyGlobals},storyId:o.parent?o.parent:i})),n},{});return console.log("extract: stories",r),r}};function Rz(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}var Dz=e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]};function mv(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}var rR=(e,t,r)=>{let{directory:n,importPathMatcher:i,titlePrefix:o=""}=t||{};typeof e=="number"&&zt.warn(tt`
904
+ CSF Auto-title received a numeric fileName. This typically happens when
905
+ webpack is mis-configured in production mode. To force webpack to produce
906
+ filenames, set optimization.moduleIds = "named" in your webpack config.
907
+ `);let a=Rz(String(e));if(i.exec(a)){if(!r){let s=a.replace(n,""),l=mv([o,s]).split("/");return l=Dz(l),l.join("/")}return o?mv([o,r]):r}},Pz=(e,t,r)=>{for(let n=0;n<t.length;n+=1){let i=rR(e,t[n],r);if(i)return i}return r||void 0},yv=/\s*\/\s*/,Oz=(e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",i=e.order||[],o=t.title.trim().split(yv),a=r.title.trim().split(yv);e.includeNames&&(o.push(t.name),a.push(r.name));let s=0;for(;o[s]||a[s];){if(!o[s])return-1;if(!a[s])return 1;let l=o[s],u=a[s];if(l!==u){let f=i.indexOf(l),h=i.indexOf(u),m=i.indexOf("*");return f!==-1||h!==-1?(f===-1&&(m!==-1?f=m:f=i.length),h===-1&&(m!==-1?h=m:h=i.length),f-h):n==="configure"?0:l.localeCompare(u,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=i.indexOf(l);d===-1&&(d=i.indexOf("*")),i=d!==-1&&Array.isArray(i[d+1])?i[d+1]:[],s+=1}return 0},Iz=(e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=Oz(t),e.sort(n)}else e.sort((n,i)=>r.indexOf(n.importPath)-r.indexOf(i.importPath));return e},Fz=(e,t,r)=>{try{return Iz(e,t,r)}catch(n){throw new Error(tt`
908
+ Error sorting stories with sort parameter ${t}:
909
+
910
+ > ${n.message}
911
+
912
+ Are you using a V6-style sort function in V7 mode?
913
+
914
+ More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
915
+ `)}},uc=new Error("prepareAborted"),{AbortController:gv}=globalThis;function bv(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}var lf=class{constructor(e,t,r,n,i,o,a={autoplay:!0,forceInitialArgs:!1},s){this.channel=e,this.store=t,this.renderToScreen=r,this.callbacks=n,this.id=i,this.viewMode=o,this.renderOptions=a,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=()=>{},this.torndown=!1,this.abortController=new gv,this.renderId=Date.now(),s&&(this.story=s,this.phase="preparing")}async runPhase(e,t,r){this.phase=t,this.channel.emit(Ei,{newPhase:this.phase,renderId:this.renderId,storyId:this.id}),r&&(await r(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted&&!["finished","aborted","errored"].includes(this.phase)&&(this.phase="aborted",this.channel.emit(Ei,{newPhase:this.phase,renderId:this.renderId,storyId:this.id})),e.aborted}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),uc}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:t=!1}={}){let{canvasElement:r}=this;if(!this.story)throw new Error("cannot render when not prepared");let n=this.story;if(!r)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:o,title:a,name:s,tags:l,applyLoaders:u,applyBeforeEach:d,applyAfterEach:f,unboundStoryFn:h,playFunction:m,runStep:b}=n;t&&!e&&(this.cancelRender(),this.abortController=new gv);let y=this.abortController.signal,A=!1,E=n.usesMount;try{let _={...this.storyContext(),viewMode:this.viewMode,abortSignal:y,canvasElement:r,loaded:{},step:(U,$)=>b(U,$,_),context:null,canvas:{},userEvent:{},renderToCanvas:async()=>{let U=await this.renderToScreen(I,r);this.teardownRender=U||(()=>{}),A=!0},mount:async(...U)=>{this.callbacks.showStoryDuringRender?.();let $=null;return await this.runPhase(y,"rendering",async()=>{$=await n.mount(_)(...U)}),E&&await this.runPhase(y,"playing"),$}};_.context=_;let I={componentId:o,title:a,kind:a,id:i,name:s,story:s,tags:l,...this.callbacks,showError:U=>(this.phase="errored",this.callbacks.showError(U)),showException:U=>(this.phase="errored",this.callbacks.showException(U)),forceRemount:t||this.notYetRendered,storyContext:_,storyFn:()=>h(_),unboundStoryFn:h};if(await this.runPhase(y,"loading",async()=>{_.loaded=await u(_)}),y.aborted)return;let P=await d(_);if(this.store.addCleanupCallbacks(n,...P),this.checkIfAborted(y)||(!A&&!E&&await _.mount(),this.notYetRendered=!1,y.aborted))return;let x=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,g=new Set,w=U=>{U.error&&g.add(U.error)},C=U=>{U.reason&&g.add(U.reason)};if(this.renderOptions.autoplay&&t&&m&&this.phase!=="errored"){window?.addEventListener?.("error",w),window?.addEventListener?.("unhandledrejection",C),this.disableKeyListeners=!0;try{if(E?await m(_):(_.mount=async()=>{throw new Sh({playFunction:m.toString()})},await this.runPhase(y,"playing",async()=>m(_))),!A)throw new ww;this.checkIfAborted(y),!x&&g.size>0?await this.runPhase(y,"errored"):await this.runPhase(y,"played")}catch(U){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(y,"errored",async()=>{this.channel.emit(bA,bv(U))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw U;console.error(U)}if(!x&&g.size>0&&this.channel.emit(vA,Array.from(g).map(bv)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",C),window?.removeEventListener?.("error",w),y.aborted)return}await this.runPhase(y,"completing",async()=>{Xx()?this.store.addCleanupCallbacks(n,cy()):await dy(y)}),await this.runPhase(y,"completed",async()=>{this.channel.emit(qu,i)}),this.phase!=="errored"&&await this.runPhase(y,"afterEach",async()=>{await f(_)});let R=!x&&g.size>0,j=_.reporting.reports.some(U=>U.status==="failed"),B=R||j;await this.runPhase(y,"finished",async()=>this.channel.emit(tp,{storyId:i,status:B?"error":"success",reporters:_.reporting.reports}))}catch(_){this.phase="errored",this.callbacks.showException(_),await this.runPhase(y,"finished",async()=>this.channel.emit(tp,{storyId:i,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController.abort()}cancelPlayFunction(){this.phase==="playing"&&(this.abortController.abort(),this.runPhase(this.abortController.signal,"aborted"))}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(t=>setTimeout(t,0))}window?.location?.reload?.(),await new Promise(()=>{})}},{fetch:Nz}=De,kz="./index.json",nR=class{constructor(e,t,r=zr.getChannel(),n=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=r,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,o)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=o}),n&&this.initialize()}get storyStore(){return new Proxy({},{get:(e,t)=>{if(this.storyStoreValue)return eh("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new Ew}})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e);let t=globalThis?.navigator?.userAgent;await this.channel.emit(AA,{userAgent:t})}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(xA,this.onStoryIndexChanged.bind(this)),this.channel.on(uh,this.onUpdateGlobals.bind(this)),this.channel.on(lh,this.onUpdateArgs.bind(this)),this.channel.on(NA,this.onRequestArgTypesInfo.bind(this)),this.channel.on(oh,this.onResetArgs.bind(this)),this.channel.on(ih,this.onForceReRender.bind(this)),this.channel.on(Lu,this.onForceRemount.bind(this)),this.channel.on(sh,this.onStoryHotUpdated.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=ly([await this.getProjectAnnotations()]);if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new hw;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let t=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(t)}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async runBeforeAllHook(e){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await e.beforeAll?.()}catch(t){throw this.renderPreviewEntryError("Error in beforeAll hook:",t),t}}async getStoryIndexFromServer(){let e=await Nz(kz);if(e.status===200)return e.json();throw new mw({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new tR(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Pr({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(SA,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let t=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(t),!this.storyStoreValue){await this.initializeWithProjectAnnotations(t);return}this.storyStoreValue.setProjectAnnotations(t),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:t}){if(!this.storyStoreValue)throw new Pr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:t})}async onUpdateGlobals({globals:e,currentStory:t}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Pr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:r,storyGlobals:n,userGlobals:i,globals:o}=this.storyStoreValue.getStoryContext(t);this.channel.emit(Ga,{initialGlobals:r,userGlobals:i,storyGlobals:n,globals:o})}else{let{initialGlobals:r,globals:n}=this.storyStoreValue.userGlobals;this.channel.emit(Ga,{initialGlobals:r,userGlobals:n,storyGlobals:{},globals:n})}await Promise.all(this.storyRenders.map(r=>r.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:t}){if(!this.storyStoreValue)throw new Pr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,t),await Promise.all(this.storyRenders.filter(r=>r.id===e&&!r.renderOptions.forceInitialArgs).map(r=>r.story&&r.story.usesMount?r.remount():r.rerender())),this.channel.emit(_A,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:t}){try{await this.storeInitializationPromise;let r=await this.storyStoreValue?.loadStory(t);this.channel.emit(rp,{id:e,success:!0,payload:{argTypes:r?.argTypes||{}},error:null})}catch(r){this.channel.emit(rp,{id:e,success:!1,error:r?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new Pr({methodName:"onResetArgs"});let r=this.storyRenders.find(i=>i.id===e)?.story||await this.storyStoreValue.loadStory({storyId:e}),n=(t||[...new Set([...Object.keys(r.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((i,o)=>(i[o]=r.initialArgs[o],i),{});await this.onUpdateArgs({storyId:e,updatedArgs:n})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(t=>t.id===e).map(t=>t.remount()))}async onStoryHotUpdated(){await Promise.all(this.storyRenders.map(e=>e.cancelPlayFunction()))}renderStoryToElement(e,t,r,n){if(!this.renderToCanvas||!this.storyStoreValue)throw new Pr({methodName:"renderStoryToElement"});let i=new lf(this.channel,this.storyStoreValue,this.renderToCanvas,r,e.id,"docs",n,e);return i.renderToElement(t),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(e,{viewModeChanged:t}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new Pr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new Pr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new Pr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,It.error(e),It.error(t),this.channel.emit(yA,t)}};function fy({tags:e}){return e?.includes(fn.UNATTACHED_MDX)||e?.includes(fn.ATTACHED_MDX)}var iR=({search:e})=>new URLSearchParams(e).get("embed")==="true",Bz=({search:e})=>!iR({search:e}),Mz={mobile1:{name:"Small mobile",styles:{height:"568px",width:"320px"},type:"mobile"},mobile2:{name:"Large mobile",styles:{height:"896px",width:"414px"},type:"mobile"},tablet:{name:"Tablet",styles:{height:"1112px",width:"834px"},type:"tablet"},desktop:{name:"Desktop",styles:{height:"1024px",width:"1280px"},type:"desktop"}},jz=40,Lz=40,qz=/^([0-9]{1,4})([a-z]{0,4})-([0-9]{1,4})([a-z]{0,4})$/,yd=(e,t)=>typeof e=="string"?{value:e,isRotated:t}:{value:e?.value,isRotated:e?.isRotated??t},$z=({globals:e,storyGlobals:t,userGlobals:r,options:n,lastSelectedOption:i,disable:o=!1,viewMode:a})=>{let s=yd(e?.[Li]),l=yd(r?.[Li]),u=yd(t?.[Li]),d=Li in t,f=d?u:l,h=d?l:u,m=f?.value??h?.value??s?.value,b=f?.isRotated??h?.isRotated??s?.isRotated??!1,y=Object.keys(n),A=o||Li in t||!y.length,[E,_,I,P,x]=m?.match(qz)||[];if(E){let g=I&&I!=="px"?_:Math.max(Number(_),jz),w=x&&x!=="px"?P:Math.max(Number(P),Lz),C=`${g}${I==="pct"?"%":I||"px"}`,R=`${w}${x==="pct"?"%":x||"px"}`,j=i?n[i]:void 0;return{name:j?.name??"Custom",type:j?.type??"other",width:b?R:C,height:b?C:R,value:E,option:void 0,isCustom:!0,isDefault:!1,isLocked:A,isRotated:b}}if(m&&y.length){let{name:g,styles:w,type:C="other"}=n[m]??n[y[0]];return{name:g,type:C,width:b?w.height:w.width,height:b?w.width:w.height,value:m,option:m,isCustom:!1,isDefault:!1,isLocked:A,isRotated:b}}return{name:"Responsive",type:"desktop",width:"100%",height:"100%",value:ez,option:void 0,isCustom:!1,isDefault:!0,isLocked:A,isRotated:!1}},vv=(e,t)=>{let r=e.match(/^(\d+(?:\.\d+)?)px$/);if(r)return Math.round(Number(r[1]));let n=e.match(/^(\d+(?:\.\d+)?)%$/);if(n)return Math.round(t*Number(n[1])/100)},Vz=(e,t)=>({name:e.name,value:e.value,width:vv(e.width,t.width),height:vv(e.height,t.height)}),Uz=(e,t,r)=>{if(!e||!t?.story)return;let{globals:n,storyGlobals:i,userGlobals:o,parameters:a}=e.getStoryContext(t.story),s=a[Li];return Vz($z({globals:n,storyGlobals:i,userGlobals:o,options:s?.options??Mz,disable:s?.disable??!1,viewMode:"story"}),r)},hy=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.renderStoryToElement=r,this.storyIdByName=i=>{let o=this.nameToStoryId.get(i);if(o)return o;throw new Error(`No story found with that name: ${i}`)},this.componentStories=()=>this.componentStoriesValue,this.getComponentId=i=>{for(let o of new Set(this.exportsToCSFFile.values()))if(o.meta.component===i)return o.meta.id},this.componentStoriesFromCSFFile=i=>this.store.componentStoriesFromCSFFile({csfFile:i}),this.storyById=i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let o=this.storyIdToCSFFile.get(i);if(!o)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:o})},this.getStoryContext=i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),this.loadStory=i=>this.store.loadStory({storyId:i}),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,n.forEach((i,o)=>{this.referenceCSFFile(i)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),"default"in e.moduleExports&&this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{let r=e.stories[t.id];this.storyIdToCSFFile.set(r.id,e),this.exportToStory.set(r.moduleExport,t)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(t=>{this.nameToStoryId.set(t.name,t.id),this.componentStoriesValue.push(t),this.primaryStory||(this.primaryStory=t)}))}referenceMeta(e,t){let r=this.resolveModuleExport(e);if(r.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");t&&this.attachCSFFile(r.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let t=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:t};let{component:r}=t.meta;if(!r)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:r}}resolveModuleExport(e){let t=this.exportsToCSFFile.get(e);if(!t&&e&&typeof e=="object"&&"default"in e&&(t=this.exportsToCSFFile.get(e.default)),!t&&e&&typeof e=="object"&&!Po(e)){let n;for(let i of Object.values(e)){let o=this.exportToStory.get(Po(i)?i.input:i);if(!o)continue;let a=this.storyIdToCSFFile.get(o.id);if(a){if(!n)n=a;else if(n!==a){n=void 0;break}}}t=n}if(t)return{type:"meta",csfFile:t};let r=this.exportToStory.get(Po(e)?e.input:e);return r?{type:"story",story:r}:{type:"component",component:e}}resolveOf(e,t=[]){let r;if(["component","meta","story"].includes(e)){let n=e;r=this.resolveAttachedModuleExportType(n)}else r=this.resolveModuleExport(e);if(t.length&&!t.includes(r.type)){let n=r.type==="component"?"component or unknown":r.type;throw new Error(tt`Invalid value passed to the 'of' prop. The value was resolved to a '${n}' type but the only types for this block are: ${t.join(", ")}.
916
+ - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
917
+ - ... or vice versa?
918
+ - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(r.type){case"component":return{...r,projectAnnotations:this.projectAnnotations};case"meta":return{...r,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:r.csfFile})};default:return r}}},Ev=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw uc;let{importPath:r,title:n}=this.entry,i=this.store.processCSFFileWithCache(e,r,n),o=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:o,csfFile:i}),this.csfFiles=[i,...t],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new hy(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(r=>t.attachCSFFile(r)),t.filterByAutodocs=!fy(this.entry),t}async renderToElement(e,t){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.story.parameters||{};if(!n)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await n.renderer(),{render:o}=i,a=async()=>{try{await o(r,n,e),this.channel.emit(nh,this.id)}catch(s){this.callbacks.showException(s)}};return this.rerender=async()=>a(),this.teardownRender=async({viewModeChanged:s})=>{!s||!e||i.unmount(e)},a()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},Av=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.entry=r,this.callbacks=n,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=r.id,this.renderId=Date.now()}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw uc;if(this.csfFiles=t,this.exports=e,this.attachedCsfFile=void 0,this.attachedStory=void 0,this.entry.tags?.includes(fn.ATTACHED_MDX)){this.attachedCsfFile=t[0];let r=this.attachedCsfFile&&Object.keys(this.attachedCsfFile.stories)[0];this.attachedCsfFile&&r&&(this.attachedStory=this.store.storyFromCSFFile({storyId:r,csfFile:this.attachedCsfFile}))}this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let t=new hy(this.channel,this.store,e,this.csfFiles);return this.attachedCsfFile&&t.attachCSFFile(this.attachedCsfFile),t.filterByAutodocs=!fy(this.entry),t}async renderToElement(e,t){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let r=this.docsContext(t),{docs:n}=this.store.projectAnnotations.parameters??{},i=this.attachedStory?.parameters?.docs??n;if(!i)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o={...i,page:this.exports.default},a=await i.renderer(),{render:s}=a,l=async()=>{try{await s(r,o,e),this.channel.emit(nh,this.id)}catch(u){this.callbacks.showException(u)}};return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!e||(a.unmount(e),this.torndown=!0)},l()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},Jz="iframe.resize",Hz="iframe.resize.request",zz=(e,t)=>e===t?!0:!e||!t?!e&&!t:e.name===t.name&&e.value===t.value&&e.width===t.width&&e.height===t.height,wv="storybook-freeze-after-finished",Sv="storybook-freeze-end-frame-preload",Fi=(e,t,r)=>{try{let n=Object.getOwnPropertyDescriptor(e,t);if(n?.configurable===!1){n.writable&&Reflect.set(e,t,r);return}Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r})}catch{}},_v=(e,t)=>new URLSearchParams(e).get(t),oR=({search:e})=>{let t=_v(e,"freeze"),r=_v(e,"viewMode")??"story";return t==="finished"&&r==="story"},Gz=e=>{Array.from(e.querySelectorAll("script")).forEach(t=>{t.remove()})},Wz=e=>{Array.from(e.querySelectorAll("*")).forEach(t=>{Array.from(t.attributes).filter(r=>r.name.toLowerCase().startsWith("on")).forEach(r=>{t.removeAttribute(r.name)})})},Kz=e=>{if(e.getElementById(wv))return;let t=e.createElement("style");t.id=wv,t.textContent=`
919
+ *, *::before, *::after {
920
+ animation-play-state: paused !important;
921
+ transition: none !important;
922
+ caret-color: transparent !important;
923
+ }
924
+ `,e.head?.appendChild(t)},Yz=e=>{if(e.getElementById(Sv))return;let t=e.createElement("style");t.id=Sv,t.textContent=`
925
+ *, *::before, *::after {
926
+ animation-delay: 0s !important;
927
+ animation-direction: reverse !important;
928
+ animation-play-state: paused !important;
929
+ transition: none !important;
930
+ caret-color: transparent !important;
931
+ }
932
+ `,e.head?.appendChild(t)},Xz=e=>{typeof e.getAnimations=="function"&&e.getAnimations().forEach(t=>{try{t.finish()}catch{}try{t.pause()}catch{}})},Qz=e=>{let t=["click","dblclick","mousedown","mouseup","pointerdown","pointerup","touchstart","touchend","keydown","keyup","keypress","input","change","submit"],r=n=>{n.stopImmediatePropagation(),n.stopPropagation(),n.cancelable&&n.preventDefault()};t.forEach(n=>{e.addEventListener(n,r,{capture:!0})})},Zz=(e,t)=>{let r=!1,n=!1,i=new Set,o=new Set,a=new Set,s=e.setTimeout.bind(e),l=e.clearTimeout.bind(e),u=e.setInterval.bind(e),d=e.clearInterval.bind(e),f=e.requestAnimationFrame.bind(e),h=e.cancelAnimationFrame.bind(e),m=typeof e.queueMicrotask=="function"?e.queueMicrotask.bind(e):x=>{s(x,0)},b=((x,g,...w)=>{if(r||n)return-1;let C=s(x,g,...w);return i.add(C),C}),y=(x=>(x!==void 0&&i.delete(x),l(x))),A=((x,g,...w)=>{if(r||n)return-1;let C=u(x,g,...w);return o.add(C),C}),E=(x=>(x!==void 0&&o.delete(x),d(x))),_=(x=>{if(r||n)return-1;let g=f(x);return a.add(g),g}),I=(x=>(a.delete(x),h(x))),P=(x=>{r||n||m(x)});return Fi(e,"setTimeout",b),Fi(e,"clearTimeout",y),Fi(e,"setInterval",A),Fi(e,"clearInterval",E),Fi(e,"requestAnimationFrame",_),Fi(e,"cancelAnimationFrame",I),Fi(e,"queueMicrotask",P),{freeze:()=>{if(!(r||n)){n=!0;try{i.forEach(x=>{l(x)}),o.forEach(x=>{d(x)}),a.forEach(x=>{h(x)}),i.clear(),o.clear(),a.clear(),Xz(t),Gz(t),Kz(t),Wz(t),Qz(t)}finally{r=!0}}}}},eG=(e,t={})=>{let r=De.window,n=De.document;if(!r||!n||!oR({search:n.location.search}))return!1;Yz(n);let i=Zz(r,n),o=!1;return e.on(Ei,({newPhase:a})=>{if(a==="finished"){let s=()=>{o||(i.freeze(),o=!0,t.onFrozen?.())};typeof r.queueMicrotask=="function"?r.queueMicrotask(s):r.setTimeout(s,0)}}),e.on(sh,()=>{r.location.reload()}),!0},cf="storybook-embed-sizing",Cv="storybook-embed-ui",aR=new Set(["area","base","body","head","link","map","meta","nobr","optgroup","option","script","style","template","title","track","wbr"]),tG=new Set(["button","canvas","embed","iframe","img","input","object","select","svg","textarea","video"]),rG=["address","article","aside","blockquote","details","dialog","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","li","main","nav","ol","p","pre","section","table","ul"],nG=`* ${Array.from(aR).map(e=>`:not(${e})`).join("")}`,iG=e=>{if(!e||e==="transparent")return!0;let t=e.match(/rgba?\(\s*[\d.]+\s*,\s*[\d.]+\s*,\s*[\d.]+\s*(?:,\s*([\d.]+)\s*)?\)/);return t?(t[1]!==void 0?parseFloat(t[1]):1)===0:!1},sR=e=>{if(e.backgroundImage&&e.backgroundImage!=="none"||!iG(e.backgroundColor))return!0;for(let t of["borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth"])if(parseFloat(e[t])>0)return!0;for(let t of["paddingTop","paddingRight","paddingBottom","paddingLeft"])if(parseFloat(e[t])>0)return!0;return e.boxShadow&&e.boxShadow!=="none"?!0:parseFloat(e.outlineWidth)>0},uR=e=>tG.has(e.tagName.toLowerCase()),lR=e=>{for(let t of e.childNodes)if(t.nodeType===Node.TEXT_NODE&&t.textContent?.trim())return!0;return!1},oG=e=>{let t=e.parentElement;if(!t)return!1;let r=e.getBoundingClientRect(),n=t.getBoundingClientRect();return r.width>0&&Math.abs(r.width-n.width)<1},aG=e=>{let{width:t}=e;return!t||t==="auto"?!1:t!=="fit-content"&&t!=="max-content"&&t!=="min-content"},sG=e=>{let t=e.getBoundingClientRect();return t.width>=window.innerWidth-1&&t.height>=window.innerHeight-1&&t.top<=1&&t.left<=1},uG=e=>{let t=window.getComputedStyle(e);return t.position!=="fixed"&&t.position!=="absolute"||sR(t)||uR(e)||lR(e)?!1:sG(e)},lG=e=>{let t=window.getComputedStyle(e);return t.display==="contents"?!0:sR(t)||uR(e)||lR(e)||aG(t)?!1:oG(e)},cG=e=>lG(e)||uG(e),dG=e=>{let t=[...e],r=t.filter(n=>!cG(n));return r.length>0?r:t},pG=e=>{let t=window.getComputedStyle(e.body);return{top:parseFloat(t.paddingTop)||0,right:parseFloat(t.paddingRight)||0,bottom:parseFloat(t.paddingBottom)||0,left:parseFloat(t.paddingLeft)||0}},fG=(e,t)=>{let r=1/0,n=1/0,i=0,o=0;for(let u of dG(e)){let d=u.getBoundingClientRect(),f=window.getComputedStyle(u),h=parseFloat(f.marginTop)||0,m=parseFloat(f.marginLeft)||0,b=parseFloat(f.marginBottom)||0,y=parseFloat(f.marginRight)||0;r=Math.min(r,d.top-h),n=Math.min(n,d.left-m),i=Math.max(i,d.bottom+b),o=Math.max(o,d.right+y)}let a=pG(t),s=o-n,l=i-r;return{width:Math.ceil(s+a.left+a.right),height:Math.ceil(l+a.top+a.bottom)}},gd=()=>{let e=new Set,t=[...Array.from(document.getElementById("storybook-root")?.children||[]),...Array.from(document.body.children).filter(r=>!r.id.startsWith("storybook-"))];for(let r of t)if(r instanceof Element&&!aR.has(r.tagName.toLowerCase())){e.add(r);for(let n of Array.from(r.querySelectorAll(nG)))e.add(n)}return e},hG=e=>{if(e.getElementById(cf))return;let t=e.createElement("style");t.id=cf,t.textContent=`${`:where(#storybook-root > :is(${rG.join(", ")}))`} {
933
+ width: fit-content;
934
+ max-width: 100%;
935
+ }`,e.head.appendChild(t)},mG=e=>{e.getElementById(cf)?.remove()},yG=e=>{if(e.getElementById(Cv))return;let t=e.createElement("style");t.id=Cv,t.textContent=`
936
+ .sb-preparing-story,
937
+ .sb-preparing-docs {
938
+ display: none !important;
939
+ }
940
+ `,e.head.appendChild(t)},Co=null,Tv=(e,t,r,n)=>{if(!e.size)return;hG(r);let i=fG(e,r);mG(r);let o=n?.();if(i.width===Co?.width&&i.height===Co?.height&&zz(o,Co?.viewport))return;let a=JSON.stringify({src:t.location.toString(),context:Jz,width:i.width,height:i.height,...o?{viewport:o}:{}});Co={...i,viewport:o};try{t.parent!==t&&t.parent.postMessage(a,"*")}catch{}},gG=e=>{let t=null,r=()=>{t!==null&&cancelAnimationFrame(t),t=requestAnimationFrame(()=>{e(),t=null})};return r.cancel=()=>{t!==null&&(cancelAnimationFrame(t),t=null)},r},bG=(e={})=>{let{getViewport:t}=e,r=De.window,n=De.document;if(!r||!n)return{};if(!iR({search:n.location.search}))return{};Co=null;let i=oR({search:n.location.search});i&&yG(n);let o=!1,a=()=>{let m=gd();Tv(m,r,n,t)},s=m=>{if(m.source===r.parent)try{if((typeof m.data=="string"?JSON.parse(m.data):m.data)?.context===Hz){if(i&&!o)return;Co=null,a()}}catch{}};r.addEventListener("message",s);let l=[()=>r.removeEventListener("message",s)];if(i)return{onContentFrozen:()=>{o=!0,a()},cleanup:()=>l.forEach(m=>m())};let u=gd(),d=gG(()=>Tv(u,r,n,t)),f=new ResizeObserver(d);for(let m of u)f.observe(m);let h=new MutationObserver(()=>{d();let m=gd();for(let b of m)u.has(b)||(f.observe(b),u.add(b));for(let b of u)m.has(b)||(f.unobserve(b),u.delete(b))});return h.observe(n.body,{childList:!0,subtree:!0}),r.addEventListener("resize",d),l.push(()=>d.cancel(),()=>f.disconnect(),()=>h.disconnect(),()=>r.removeEventListener("resize",d)),a(),{cleanup:()=>l.forEach(m=>m())}},hu=globalThis;function vG(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}function mu(e){return e.type==="story"}function EG(e){return e.type==="docs"}function AG(e){return EG(e)&&e.subtype==="csf"}var cR=class extends nR{constructor(e,t,r,n){super(e,t,void 0,!1),this.importFn=e,this.getProjectAnnotations=t,this.selectionStore=r,this.view=n,this.initialize()}setupListeners(){super.setupListeners(),hu.onkeydown=this.onKeydown.bind(this);let{onContentFrozen:e}=bG({getViewport:()=>{let t=this.currentRender;if(!(!t||!mu(t)))return Uz(this.storyStoreValue,t,{width:hu.innerWidth,height:hu.innerHeight})}});eG(this.channel,{onFrozen:e}),this.channel.on(ah,this.onSetCurrentStory.bind(this)),this.channel.on(IA,this.onUpdateQueryParams.bind(this)),this.channel.on(EA,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Pr({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Pr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:t}=this.selectionStore.selectionSpecifier,r=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!r){e==="*"?this.renderStoryLoadingException(e,new gw):this.renderStoryLoadingException(e,new bw({storySpecifier:e.toString()}));return}let{id:n,type:i}=r;this.selectionStore.setSelection({storyId:n,viewMode:i}),this.channel.emit(DA,this.selectionStore.selection),this.channel.emit(Zd,this.selectionStore.selection),await this.renderSelection({persistedArgs:t})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:t}){await super.onStoriesChanged({importFn:e,storyIndex:t}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(t=>t.disableKeyListeners)&&!vG(e)){let{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,key:o,code:a,keyCode:s}=e;this.channel.emit(wA,{event:{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,key:o,code:a,keyCode:s}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(Zd,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof lf&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof Av||this.currentRender instanceof Ev)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:e,updatedArgs:t}){super.onUpdateArgs({storyId:e,updatedArgs:t})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(t=>this.storyStoreValue?.loadEntry(t)))}async renderSelection({persistedArgs:e}={}){let{renderToCanvas:t}=this;if(!this.storyStoreValue||!t)throw new Pr({methodName:"renderSelection"});let{selection:r}=this.selectionStore;if(!r)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:n}=r,i;try{i=await this.storyStoreValue.storyIdToEntry(n)}catch(f){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(n,f);return}let o=this.currentSelection?.storyId!==n,a=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:a}):this.view.showPreparingDocs({immediate:a}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let s;i.type==="story"?s=new lf(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(n),n,"story",{autoplay:Bz({search:hu.location?.search??""})}):fy(i)?s=new Av(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(n)):s=new Ev(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(n));let l=this.currentSelection;this.currentSelection=r;let u=this.currentRender;this.currentRender=s;try{await s.prepare()}catch(f){u&&await this.teardownRender(u),f!==uc&&this.renderStoryLoadingException(n,f);return}let d=!o&&u&&!s.isEqual(u);if(e&&mu(s)&&(qn(!!s.story),this.storyStoreValue.args.updateFromPersisted(s.story,e)),u&&!u.torndown&&!o&&!d&&!a){this.currentRender=u,this.channel.emit(OA,n),this.view.showMain();return}if(u&&await this.teardownRender(u,{viewModeChanged:a}),l&&(o||a)&&this.channel.emit(CA,n),mu(s)){qn(!!s.story);let{parameters:f,initialArgs:h,argTypes:m,unmappedArgs:b,initialGlobals:y,userGlobals:A,storyGlobals:E,globals:_}=this.storyStoreValue.getStoryContext(s.story);this.channel.emit(RA,{id:n,parameters:f,initialArgs:h,argTypes:m,args:b}),this.channel.emit(Ga,{userGlobals:A,storyGlobals:E,globals:_,initialGlobals:y})}else{let{parameters:f}=this.storyStoreValue.projectAnnotations,{initialGlobals:h,globals:m}=this.storyStoreValue.userGlobals;if(this.channel.emit(Ga,{globals:m,initialGlobals:h,storyGlobals:{},userGlobals:m}),AG(s)||s.entry.tags?.includes(fn.ATTACHED_MDX)){if(!s.csfFiles)throw new yw({storyId:n});({parameters:f}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:s.csfFiles[0]}))}this.channel.emit(gA,{id:n,parameters:f})}mu(s)?(qn(!!s.story),this.storyRenders.push(s),this.currentRender.renderToElement(this.view.prepareForStory(s.story))):this.currentRender.renderToElement(this.view.prepareForDocs({scrollReset:o||a}),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:t=!1}={}){this.storyRenders=this.storyRenders.filter(r=>r!==e),await e?.teardown?.({viewModeChanged:t})}mainStoryCallbacks(e){return{showStoryDuringRender:()=>this.view.showStoryDuringRender(),showMain:()=>this.view.showMain(),showError:t=>this.renderError(e,t),showException:t=>this.renderException(e,t)}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(ep)}renderStoryLoadingException(e,t){It.error(t),this.view.showErrorDisplay(t),this.channel.emit(ep,e)}renderException(e,t){let{name:r="Error",message:n=String(t),stack:i}=t,o=this.currentRender?.renderId;this.channel.emit(PA,{name:r,message:n,stack:i}),this.channel.emit(Ei,{newPhase:"errored",renderId:o,storyId:e}),this.view.showErrorDisplay(t),It.error(`Error rendering story '${e}':`),It.error(t)}renderError(e,{title:t,description:r}){let n=this.currentRender?.renderId;this.channel.emit(TA,{title:t,description:r}),this.channel.emit(Ei,{newPhase:"errored",renderId:n,storyId:e}),this.view.showErrorDisplay({message:t,stack:r}),It.error(`Error rendering story ${t}: ${r}`)}},un=Array.from({length:256},(e,t)=>"%"+((t<16?"0":"")+t.toString(16)).toUpperCase()),wG=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function ku(e){let t=e.length;if(t===0)return"";let r="",n=0,i=0;e:for(;i<t;i++){let o=e.charCodeAt(i);for(;o<128;){if(wG[o]!==1&&(n<i&&(r+=e.slice(n,i)),n=i+1,r+=un[o]),++i===t)break e;o=e.charCodeAt(i)}if(n<i&&(r+=e.slice(n,i)),o<2048){n=i+1,r+=un[192|o>>6]+un[128|o&63];continue}if(o<55296||o>=57344){n=i+1,r+=un[224|o>>12]+un[128|o>>6&63]+un[128|o&63];continue}if(++i,i>=t)throw new Error("URI malformed");let a=e.charCodeAt(i)&1023;n=i+1,o=65536+((o&1023)<<10|a),r+=un[240|o>>18]+un[128|o>>12&63]+un[128|o>>6&63]+un[128|o&63]}return n===0?e:n<t?r+e.slice(n):r}var SG=e=>{switch(typeof e){case"string":return ku(e);case"bigint":case"boolean":return""+e;case"number":if(Number.isFinite(e))return e<1e21?""+e:ku(""+e);break}return e instanceof Date?ku(e.toISOString()):""},_G=e=>e instanceof Date,xv=e=>e,Cr={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:xv,valueSerializer:SG,keyDeserializer:xv,shouldSerializeObject:_G};function CG(e){return e==="__proto__"||e==="constructor"||e==="prototype"}function yu(e,t,r,n,i){if(CG(t))return e;let o=e[t];return typeof o=="object"&&o!==null?o:!n&&(i||typeof r=="number"||typeof r=="string"&&r*0===0&&r.indexOf(".")===-1)?e[t]=[]:e[t]={}}var TG=20,xG="[]",RG="[",DG="]",PG=".";function dR(e,t,r=0,n,i){let{nestingSyntax:o=Cr.nestingSyntax,arrayRepeat:a=Cr.arrayRepeat,arrayRepeatSyntax:s=Cr.arrayRepeatSyntax,nesting:l=Cr.nesting,delimiter:u=Cr.delimiter,valueSerializer:d=Cr.valueSerializer,shouldSerializeObject:f=Cr.shouldSerializeObject}=t,h=typeof u=="number"?String.fromCharCode(u):u,m=i===!0&&a,b=o==="dot"||o==="js"&&!i;if(r>TG)return"";let y="",A=!0,E=!1;for(let _ in e){let I=e[_];if(I===void 0)continue;let P;n?(P=n,m?s==="bracket"&&(P+=xG):b?(P+=PG,P+=_):(P+=RG,P+=_,P+=DG)):P=_,A||(y+=h),typeof I=="object"&&I!==null&&!f(I)?(E=I.pop!==void 0,(l||a&&E)&&(y+=dR(I,t,r+1,P,E))):(y+=ku(P),y+="=",y+=d(I,_)),A&&(A=!1)}return y}var bd=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function pR(e){let t=e.indexOf("%");if(t===-1)return e;let r=e.length,n="",i=0,o=0,a=t,s=12;for(;t>-1&&t<r;){let l=Rv(e[t+1],4),u=Rv(e[t+2],0),d=l|u,f=bd[d];if(s=bd[256+s+f],o=o<<6|d&bd[364+f],s===12)n+=e.slice(i,a),n+=o<=65535?String.fromCharCode(o):String.fromCharCode(55232+(o>>10),56320+(o&1023)),o=0,i=t+3,t=a=e.indexOf("%",i);else{if(s===0)return null;if(t+=3,t<r&&e.charCodeAt(t)===37)continue;return null}}return n+e.slice(i)}var OG={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function Rv(e,t){let r=OG[e];return r===void 0?255:r<<t}var fR=/\+/g,hR=function(){};hR.prototype=Object.create(null);function gu(e,t,r,n,i){let o=e.substring(t,r);return n&&(o=o.replace(fR," ")),i&&(o=pR(o)||o),o}function lc(e,t){let{valueDeserializer:r=Cr.valueDeserializer,keyDeserializer:n=Cr.keyDeserializer,arrayRepeatSyntax:i=Cr.arrayRepeatSyntax,nesting:o=Cr.nesting,arrayRepeat:a=Cr.arrayRepeat,nestingSyntax:s=Cr.nestingSyntax,delimiter:l=Cr.delimiter}=t??{},u=typeof l=="string"?l.charCodeAt(0):l,d=s==="js",f=new hR;if(typeof e!="string")return f;let h=e.length,m="",b=-1,y=-1,A=-1,E=f,_,I="",P="",x=!1,g=!1,w=!1,C=!1,R=!1,j=!1,B=0,U=-1,$=-1,k=-1;for(let V=0;V<h+1;V++){if(B=V!==h?e.charCodeAt(V):u,B===u){if(j=y>b,j||(y=V),A!==y-1&&(P=gu(e,A+1,U>-1?U:y,w,x),I=n(P),_!==void 0&&(E=yu(E,_,I,d&&R,void 0))),j||I!==""){j&&(m=e.slice(y+1,V),C&&(m=m.replace(fR," ")),g&&(m=pR(m)||m));let W=r(m,I);if(a){let Y=E[I];Y===void 0?U>-1?E[I]=[W]:E[I]=W:Y.pop?Y.push(W):E[I]=[Y,W]}else E[I]=W}m="",b=V,y=V,x=!1,g=!1,w=!1,C=!1,R=!1,U=-1,A=V,E=f,_=void 0,I=""}else B===93?(a&&i==="bracket"&&k===91&&(U=$),o&&(s==="index"||d)&&y<=b&&(A!==$&&(P=gu(e,A+1,V,w,x),I=n(P),_!==void 0&&(E=yu(E,_,I,void 0,void 0)),_=I,w=!1,x=!1),A=V,R=!1)):B===46?o&&(s==="dot"||d)&&y<=b&&(A!==$&&(P=gu(e,A+1,V,w,x),I=n(P),_!==void 0&&(E=yu(E,_,I,d)),_=I,w=!1,x=!1),R=!0,A=V):B===91?o&&(s==="index"||d)&&y<=b&&(A!==$&&(P=gu(e,A+1,V,w,x),I=n(P),d&&_!==void 0&&(E=yu(E,_,I,d)),_=I,w=!1,x=!1,R=!1),A=V):B===61?y<=b?y=V:g=!0:B===43?y>b?C=!0:w=!0:B===37&&(y>b?g=!0:x=!0);$=V,k=B}return f}function IG(e,t){return e===null||typeof e!="object"?"":dR(e,{})}var Dv=/^[a-zA-Z0-9 _-]*$/,mR=/^-?[0-9]+(\.[0-9]+)?$/,FG=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,yR=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,df=(e="",t)=>e===null||e===""||!Dv.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Dv.test(t)||mR.test(t)||FG.test(t)||yR.test(t):Array.isArray(t)?t.every(r=>df(e,r)):gn(t)?Object.entries(t).every(([r,n])=>df(r,n)):!1,NG={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(yR);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return mR.test(e)?Number(e):e}},Pv=e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries(lc(t.join(";"),NG)).reduce((r,[n,i])=>df(n,i)?Object.assign(r,{[n]:i}):(zt.warn(tt`
941
+ Omitted potentially unsafe URL args.
942
+
943
+ More info: https://storybook.js.org/docs/writing-stories/args?ref=error#setting-args-through-the-url
944
+ `),r),{})},{history:gR,document:yi}=De;function kG(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}var bR=({selection:e,extraParams:t})=>{let r=yi?.location.search.slice(1),{path:n,selectedKind:i,selectedStory:o,...a}=lc(r);return`?${IG({...a,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},BG=e=>{if(!e)return;let t=bR({selection:e}),{hash:r=""}=yi.location;yi.title=e.storyId,gR.replaceState({},"",`${yi.location.pathname}${t}${r}`)},MG=e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,qa=e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return qa(e[0]);if(MG(e))return qa(Object.values(e).filter(Boolean))}},jG=()=>{if(typeof yi<"u"){let e=yi.location.search.slice(1),t=lc(e),r=typeof t.args=="string"?Pv(t.args):void 0,n=typeof t.globals=="string"?Pv(t.globals):void 0,i=qa(t.viewMode);if(typeof i!="string"||!i)i="story";else if(!i.match(/docs|story/))return null;let o=qa(t.path),a=o?kG(o):qa(t.id);if(a)return{storySpecifier:a,args:r,globals:n,viewMode:i}}return null},vR=class{constructor(){this.selectionSpecifier=jG()}setSelection(e){this.selection=e,BG(this.selection)}setQueryParams(e){let t=bR({extraParams:e}),{hash:r=""}=yi.location;gR.replaceState({},"",`${yi.location.pathname}${t}${r}`)}},LG=or(WF(),1),{document:pr}=De,Ov=100,ER=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(ER||{}),vd={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Ed={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Iv=new LG.default({escapeXML:!0}),AR=class{constructor(){if(this.testing=!1,typeof pr<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=lc(pr.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){this.showStory(),this.applyLayout(e.parameters.layout),pr.documentElement.scrollTop=0,pr.documentElement.scrollLeft=0;let t=this.storyRoot();return this.applyHtmlLang(t,e.parameters.htmlLang),t}storyRoot(){return pr.getElementById("storybook-root")}prepareForDocs({scrollReset:e=!0}={}){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),e&&(pr.documentElement.scrollTop=0,pr.documentElement.scrollLeft=0),this.docsRoot()}docsRoot(){return pr.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){pr.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=Ed[e];pr.body.classList.remove(this.currentLayoutClass),pr.body.classList.add(t),this.currentLayoutClass=t}applyHtmlLang(e,t){t?e.setAttribute("lang",t):e.removeAttribute("lang")}checkIfLayoutExists(e){Ed[e]||It.warn(tt`
945
+ The desired layout: ${e} is not a valid option.
946
+ The possible options are: ${Object.keys(Ed).join(", ")}, none.
947
+ `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(ER).forEach(t=>{t===e?pr.body.classList.add(vd[t]):pr.body.classList.remove(vd[t])})}showErrorDisplay({message:e="",stack:t=""}){let r=e,n=t,i=e.split(`
948
+ `);i.length>1&&([r]=i,n=i.slice(1).join(`
949
+ `).replace(/^\n/,"")),pr.getElementById("error-message").innerHTML=Iv.toHtml(r),pr.getElementById("error-stack").innerHTML=Iv.toHtml(n),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Ov)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Ov)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){pr.body.classList.add(vd.MAIN)}},qG=class extends cR{constructor(t,r){super(t,r,new vR,new AR),this.importFn=t,this.getProjectAnnotations=r,De.__STORYBOOK_PREVIEW__=this}},{document:zi}=De,$G=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],VG="script",Fv="scripts-root";function pf(){let e=zi.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),zi.dispatchEvent(e)}function UG(e,t,r){let n=zi.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):zi.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}function wR(e,t,r=0){e[r](()=>{r++,r===e.length?t():wR(e,t,r)})}function JG(e){let t=zi.getElementById(Fv);t?t.innerHTML="":(t=zi.createElement("div"),t.id=Fv,zi.body.appendChild(t));let r=Array.from(e.querySelectorAll(VG));if(r.length){let n=[];r.forEach(i=>{let o=i.getAttribute("type");(!o||$G.includes(o))&&n.push(a=>UG(i,a,t))}),n.length&&wR(n,pf,void 0)}else pf()}var Ad;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Ad=Ad||(Ad={}));var HG=or(KF(),1),io=(0,HG.stringifyRules)(),zG=io.JsdocTypeObject;io.JsdocTypeAny=()=>"any";io.JsdocTypeObject=(e,t)=>`(${zG(e,t)})`;io.JsdocTypeOptional=(e,t)=>t(e.element);io.JsdocTypeNullable=(e,t)=>t(e.element);io.JsdocTypeNotNullable=(e,t)=>t(e.element);io.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");async function SR(e,t){let r=t.parameters?.docs?.source?.transform,{id:n,unmappedArgs:i}=t,o=r&&e?r?.(e,t):e,a=o?await o:void 0;zr.getChannel().emit(WH,{id:n,source:a,args:i})}var hs={depth:10,clearOnStoryChange:!0,limit:50},GG=(e={})=>{Object.assign(hs,e)},_R=(e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:_R(r,t)},WG=e=>!!(typeof e=="object"&&e&&_R(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),KG=e=>{if(WG(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e};function Ls(e,t={}){let r={...hs,...t},n=function(...i){if(t.implicit){let f=("__STORYBOOK_PREVIEW__"in De?De.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(h=>h.phase==="playing"||h.phase==="rendering");if(f){let h=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,m=new pw({phase:f.phase,name:e,deprecated:h});if(h)console.warn(m);else throw m}}let o=zr.getChannel(),a=Date.now().toString(36)+Math.random().toString(36).substring(2),s=5,l=i.map(KG),u=i.length>1?l:l[0],d={id:a,count:0,data:{name:e,args:u},options:{...r,maxDepth:s+(r.depth||3)}};o.emit(jw,d)};return n.isAction=!0,n.implicit=t.implicit,n}var YG=(...e)=>{let t=hs,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...hs,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(o=>{n[o]=o}));let i={};return Object.keys(n).forEach(o=>{i[o]=Ls(n[o],t)}),i},XG={"@storybook/global":hA,"storybook/test":Qw,"storybook/actions":Mw,"storybook/preview-api":np,"storybook/internal/channels":dA,"storybook/internal/client-logger":fA,"storybook/internal/core-events":th,"storybook/internal/types":Sw,"storybook/internal/preview-errors":lw,"storybook/internal/preview-api":np};async function QG(){let e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){let n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}ZG(t,r)}var ZG=async(e,t)=>{let r={entries:{}};for(let s of Object.values(e.entries)){let l=s.title.split("/"),u=r;for(let d of l)u.entries||(u.entries={}),u.entries[d]?t===s.id&&(u.entries[d].isActive=!0):u.entries[d]={title:d,isActive:t===s.id,entries:{}},u=u.entries[d];u.entries||(u.entries={}),u.entries[s.name]={id:s.id,name:s.name,href:`?id=${s.id}&viewMode=${s.type}&navigator=true`,isActive:t===s.id}}let n=s=>{if("entries"in s&&"title"in s){let u=s;return`
950
+ <li class="sb-navigator-branch">
951
+ <details${u.isActive?" open":""}>
952
+ <summary class="sb-navigator-title">
953
+ ${u.title}
954
+ </summary>
955
+ <ul class="sb-navigator-entries" aria-label="${u.title}">
956
+ ${Object.values(u.entries).map(n).join("")}
957
+ </ul>
958
+ </details>
959
+ </li>
960
+ `}let l=s;return`
961
+ <li class="sb-navigator-story-item">
962
+ <a href="${l.href}"
963
+ class="sb-navigator-story-link${l.isActive?" active":""}"
964
+ aria-current="${l.isActive?"location":"false"}">${l.name}</a>
965
+ </li>
966
+ `},i=Object.values(r.entries).map(n).join(""),o=document.createElement("nav");o.id="sb-navigator-container",o.setAttribute("role","navigation"),o.setAttribute("aria-label","Story navigation"),o.innerHTML=`
967
+ <ul class="sb-navigator-list">${i}</ul>
968
+ `,document.body.insertBefore(o,document.body.firstChild);let a=document.createElement("style");a.id="sb-navigator-style",a.textContent=`
969
+ body {
970
+ display: grid !important;
971
+ grid-template-columns: 300px 1fr;
972
+ font-family: 'Nunito', sans-serif;
973
+ height: 100vh;
974
+ margin: 0;
975
+
976
+ --text-color: rgb(46, 52, 56);
977
+ --bg-color: rgb(246, 249, 252);
978
+
979
+ @media (prefers-color-scheme: dark) {
980
+ --text-color: rgb(201, 205, 207);
981
+ --bg-color: rgb(34, 36, 37);
982
+ }
983
+ }
984
+ #storybook-root, #storybook-docs {
985
+ overflow-y: auto;
986
+ max-height: 100vh;
987
+ max-width: 100%;
988
+ }
989
+ #sb-navigator-container, #sb-navigator-container * {
990
+ box-sizing: border-box;
991
+ }
992
+ #sb-navigator-container {
993
+ height: 100vh;
994
+ overflow-y: auto;
995
+ border-right: 1px solid #eee;
996
+ padding: 1rem;
997
+ font-size: 14px;
998
+ color: var(--text-color);
999
+ background-color: var(--bg-color);
1000
+ align-self: start;
1001
+ z-index: 1000;
1002
+ }
1003
+ .sb-main-padded #sb-navigator-container {
1004
+ margin: -1rem 1rem -1rem -1rem;
1005
+ }
1006
+ .sb-navigator-list {
1007
+ list-style-type: none;
1008
+ padding: 0;
1009
+ margin: 0;
1010
+ }
1011
+ .sb-navigator-branch {
1012
+ list-style-type: none;
1013
+ }
1014
+ .sb-navigator-item {
1015
+ margin-bottom: 15px;
1016
+ }
1017
+ .sb-navigator-title {
1018
+ color: var(--text-color);
1019
+ text-decoration: none;
1020
+ padding-block: 5px;
1021
+ cursor: pointer;
1022
+ }
1023
+ .sb-navigator-entries {
1024
+ padding-left: 15px;
1025
+ }
1026
+ .sb-navigator-story-item {
1027
+ margin-bottom: 8px;
1028
+ margin-left: 8px;
1029
+ }
1030
+ .sb-navigator-story-link {
1031
+ color: var(--text-color);
1032
+ }
1033
+ .sb-navigator-story-link.active {
1034
+ font-weight: bold;
1035
+ color: hsl(212 100 46);
1036
+ }
1037
+ `,document.head.appendChild(a),o.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},eW=or(YF(),1),wd;function tW(){return wd||(wd=new eW.default(De.navigator?.userAgent).getBrowserInfo()),wd}function rW(e){return e.browserInfo=tW(),e}function Sd(e){e?document.body?.setAttribute("inert","true"):document.body?.removeAttribute("inert")}function nW(e){let t=e.error||e;t.fromStorybook&&De.sendTelemetryError(t)}function iW({reason:e}){e.fromStorybook&&De.sendTelemetryError(e)}function CR(){GM.forEach(t=>{De[uw[t]]=XG[t]}),De.sendTelemetryError=t=>{let r=Jn();r&&r.emit(FA,rW(t))};let e=new URLSearchParams(De.location?.search??"").get("freeze")==="finished";e&&Sd(!0),document.addEventListener("DOMContentLoaded",()=>{e&&Sd(!0);let t=Jn();t&&t.on(kA,r=>{Sd(e||r)})}),De.addEventListener("error",nW),De.addEventListener("unhandledrejection",iW),QG()}CR();const{createBrowserChannel:oW}=__STORYBOOK_MODULE_CHANNELS__,{addons:aW}=__STORYBOOK_MODULE_PREVIEW_API__,TR=oW({page:"preview"});aW.setChannel(TR);window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=TR);const sW={"./src/stories/Alert.stories.jsx":()=>qe(()=>import("./Alert.stories-BHPHG3Jv.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]),import.meta.url),"./src/stories/ApiQueries.stories.jsx":()=>qe(()=>import("./ApiQueries.stories-Cm3FNTRK.js"),__vite__mapDeps([13,14,1,2,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,12]),import.meta.url),"./src/stories/AuthDialog.stories.jsx":()=>qe(()=>import("./AuthDialog.stories-HYEzrAoY.js"),__vite__mapDeps([49,15,2,16,4,6,7,17,18,19,20,21,11,45,26,30,50,34,3,51,52,40,41,53,54,55,56,57,9,10,35,5,8,58,59,60,61,62,63,64,12]),import.meta.url),"./src/stories/Breadcrumbs.stories.jsx":()=>qe(()=>import("./Breadcrumbs.stories-BOXD4dIR.js"),__vite__mapDeps([65,2,4,9,10,6,7,53,35,66,67,19,23,18,39,25,26,68,11,12]),import.meta.url),"./src/stories/Button.stories.jsx":()=>qe(()=>import("./Button.stories-Hb6Cf8h9.js"),__vite__mapDeps([69,15,2,16,4,6,7,17,18,19,20,21,11,12]),import.meta.url),"./src/stories/ChartsConfig.stories.jsx":()=>qe(()=>import("./ChartsConfig.stories-CcP95z9e.js"),__vite__mapDeps([70,14,33,4,34,43,19,35,11,32,24,18,21,71,72,26,73,74,39,25,23,75,76,20,77,78,30,79,80,81,22,38,82,45,48,83,2,84,85,68,58,59,53,7,51,52,40,41,54,55,56,57,3,60,61,9,10,62,86,6,87,47,31,88,89,90,91,92,93,36,94,5,95,17,96,97,44,98,99,100,63,64,101,28,102,42,16,103,104,12]),import.meta.url),"./src/stories/Chips.stories.jsx":()=>qe(()=>import("./Chips.stories-BVdmfGBU.js"),__vite__mapDeps([105,106,14,2,107,10,4,96,30,18,19,26,20,21,22,23,24,25,85,89,108,109,54,55,56,7,34,57,61,53,41,11,32,110,88,71,73,111,39,112,113,67,114,45,43,115,28,44,31,48,38,116,66,68,117,9,6,5,12]),import.meta.url),"./src/stories/CollapseButtons.stories.jsx":()=>qe(()=>import("./CollapseButtons.stories-YEGJ3u19.js"),__vite__mapDeps([118,119,2,16,4,6,7,120,9,10,68,18,19,11,21,14,66,67,23,39,25,26,33,34,35,20,44,121,22,24,90,73,91,122,31,32,3,123,57,55,56,124,100,12]),import.meta.url),"./src/stories/CollapsibleTree.stories.jsx":()=>qe(()=>import("./CollapsibleTree.stories-D13JKbMu.js"),__vite__mapDeps([125,14,2,34,16,4,6,7,120,9,10,123,57,55,56,11,32,24,19,18,21,126,35,33,127,20,128,99,100,5,45,26,30,129,39,25,23,46,47,43,68,12]),import.meta.url),"./src/stories/Contact.stories.jsx":()=>qe(()=>import("./Contact.stories-CmleM-dR.js"),__vite__mapDeps([130,2,14,131,10,4,17,18,19,108,109,54,55,56,7,34,57,61,53,41,20,21,11,32,24,132,3,35,133,64,52,6,9,39,25,26,23,98,99,100,134,68,43,94,114,45,30,58,59,51,40,60,62,5,135,15,16,33,27,28,29,63,136,78,85,12]),import.meta.url),"./src/stories/DataEdit.stories.jsx":()=>qe(()=>import("./DataEdit.stories-CCP9iKtw.js"),__vite__mapDeps([137,95,68,18,19,94,4,52,35,5,6,7,9,10,58,59,53,51,40,41,54,55,56,34,57,3,60,61,62,17,85,30,26,25,23,11,96,20,21,22,24,89,33,97,39,44,98,99,100,63,64,32,101,28,91,81,102,45,12]),import.meta.url),"./src/stories/DataFooter.stories.jsx":()=>qe(()=>import("./DataFooter.stories-qVVa4vYb.js"),__vite__mapDeps([138,2,139,108,109,4,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,116,37,33,35,140,121,12]),import.meta.url),"./src/stories/DataHeader.stories.jsx":()=>qe(()=>import("./DataHeader.stories-BQiHHVoJ.js"),__vite__mapDeps([141,139,2,14,43,19,142,10,4,108,109,54,55,56,7,34,57,61,53,41,20,18,21,11,32,24,45,26,30,66,67,23,39,25,68,44,22,88,89,85,81,91,38,143,144,80,145,73,103,146,147,148,149,35,31,129,9,12]),import.meta.url),"./src/stories/Dataflow.stories.jsx":()=>qe(()=>import("./Dataflow.stories-BJZEwPx1.js"),__vite__mapDeps([150,2,139,108,109,4,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,96,30,26,22,23,25,85,89,110,88,71,73,111,39,112,113,67,114,45,43,115,28,44,31,48,38,151,66,132,3,35,121,123,46,47,68,152,91,5,6,153,9,10,154,12]),import.meta.url),"./src/stories/DeleteAllChip.stories.jsx":()=>qe(()=>import("./DeleteAllChip.stories-CZ3OemLc.js"),__vite__mapDeps([155,2,106,14,107,10,4,96,30,18,19,26,20,21,22,23,24,25,85,89,108,109,54,55,56,7,34,57,61,53,41,11,32,110,88,71,73,111,39,112,113,67,114,45,43,115,28,44,31,48,38,116,66,68,117,9,6,5,12]),import.meta.url),"./src/stories/DynamicDrawer.stories.jsx":()=>qe(()=>import("./DynamicDrawer.stories-Dv1vlwoU.js"),__vite__mapDeps([156,2,14,157,4,108,109,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,116,60,62,6,158,113,25,26,23,67,39,44,89,85,30,5,87,35,10,9,45,114,43,31,42,81,22,77,78,159,103,143,91,117,17,29,27,28,96,160,73,68,90,37,38,153,154,148,161,48,15,16,162,51,52,40,3,107,104,163,164,97,76,112,165,66,33,46,47,166,167,50,8,145,168,80,169,74,101,79,102,82,75,170,111,144,115,152,146,171,36,172,84,122,72,88,173,149,174,175,151,147,92,176,136,93,71,128,99,100,12]),import.meta.url),"./src/stories/ExpansionPanel.stories.jsx":()=>qe(()=>import("./ExpansionPanel.stories-Bv2wUZpI.js"),__vite__mapDeps([177,178,2,11,32,24,19,18,21,96,30,26,20,22,23,25,85,89,108,109,4,54,55,56,7,34,57,61,53,41,123,3,6,33,35,140,45,31,166,9,10,43,154,68,12]),import.meta.url),"./src/stories/GroupedChips.stories.jsx":()=>qe(()=>import("./GroupedChips.stories-DvKWty97.js"),__vite__mapDeps([179,2,96,30,18,19,26,20,21,22,23,24,25,85,89,106,14,107,10,4,108,109,54,55,56,7,34,57,61,53,41,11,32,110,88,71,73,111,39,112,113,67,114,45,43,115,28,44,31,48,38,116,66,68,117,9,6,5,36,37,152,148,12]),import.meta.url),"./src/stories/HierarchicalFilter.stories.jsx":()=>qe(()=>import("./HierarchicalFilter.stories-BfI-7vgF.js"),__vite__mapDeps([180,181,15,2,16,4,6,7,17,18,19,20,21,11,127,157,108,109,54,55,56,34,57,61,53,41,32,24,116,60,62,158,113,25,26,23,67,39,44,89,85,30,5,87,35,10,9,45,114,43,31,42,81,22,77,78,159,103,143,91,117,29,27,28,96,160,73,68,90,37,38,153,154,148,161,48,162,14,51,52,40,3,107,104,167,178,123,33,140,166,163,164,97,76,112,128,99,100,12]),import.meta.url),"./src/stories/Input.stories.jsx":()=>qe(()=>import("./Input.stories-DSYh9DQJ.js"),__vite__mapDeps([182,183,2,134,68,18,19,11,43,94,4,52,35,114,45,26,30,58,59,53,7,51,40,41,54,55,56,34,57,3,60,61,9,10,62,5,6,135,12]),import.meta.url),"./src/stories/InputNumber.stories.jsx":()=>qe(()=>import("./InputNumber.stories-CvVXLS9F.js"),__vite__mapDeps([184,2,108,109,4,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,96,30,26,22,23,25,85,89,82,80,81,39,45,43,174,35,58,59,51,52,40,3,60,9,10,62,44,12]),import.meta.url),"./src/stories/LabelDivider.stories.jsx":()=>qe(()=>import("./LabelDivider.stories-DnGpkMfA.js"),__vite__mapDeps([185,2,35,4,11,32,24,19,18,21,12]),import.meta.url),"./src/stories/Loading.stories.jsx":()=>qe(()=>import("./Loading.stories-B0i6A2bN.js"),__vite__mapDeps([186,2,14,43,19,35,4,11,12]),import.meta.url),"./src/stories/Logo.stories.jsx":()=>qe(()=>import("./Logo.stories-iZtjK4xB.js"),__vite__mapDeps([187,2,11,12]),import.meta.url),"./src/stories/Mode.stories.jsx":()=>qe(()=>import("./Mode.stories-Fg4X3zsm.js"),__vite__mapDeps([188,189,108,2,109,4,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,116,66,67,23,39,25,26,133,64,52,6,9,10,98,35,99,100,12]),import.meta.url),"./src/stories/NoData.stories.jsx":()=>qe(()=>import("./NoData.stories-DZMHsYur.js"),__vite__mapDeps([190,126,35,4,9,10,11,12]),import.meta.url),"./src/stories/Pagination.stories.jsx":()=>qe(()=>import("./Pagination.stories-RvC-DxeA.js"),__vite__mapDeps([191,96,30,18,19,26,20,21,22,23,24,25,85,89,34,5,4,6,7,9,10,11,35,58,59,53,51,52,40,41,54,55,56,57,3,60,61,62,68,45,175,114,12]),import.meta.url),"./src/stories/PeriodPicker.stories.jsx":()=>qe(()=>import("./PeriodPicker.stories-BWHGe_fV.js"),__vite__mapDeps([192,15,2,16,4,6,7,17,18,19,20,21,11,83,84,30,26,24,85,25,23,81,39,68,58,59,53,51,52,40,41,54,55,56,34,57,3,60,61,9,10,62,86,87,47,35,31,32,88,89,45,90,91,114,43,96,22,158,113,67,44,112,48,168,80,38,152,66,101,28,73,117,146,36,148,169,74,173,76,72,149,147,160,92,159,71,161,176,102,37,33,12]),import.meta.url),"./src/stories/Select.stories.jsx":()=>qe(()=>import("./Select.stories-tKPrQXFk.js"),__vite__mapDeps([193,83,2,84,30,18,19,26,24,85,25,23,81,39,20,21,68,58,4,59,53,7,51,52,40,41,54,55,56,34,57,3,60,61,9,10,62,86,6,87,47,35,31,32,88,89,45,11,90,91,12]),import.meta.url),"./src/stories/Share.stories.jsx":()=>qe(()=>import("./Share.stories-fU-XikOg.js"),__vite__mapDeps([194,14,131,10,4,17,18,19,183,2,134,68,11,43,94,52,35,114,45,26,30,58,59,53,7,51,40,41,54,55,56,34,57,3,60,61,9,62,5,6,135,1,8,15,16,20,21,33,127,31,24,32,108,109,132,133,64,39,25,23,98,99,100,96,22,85,89,12]),import.meta.url),"./src/stories/ShortUrls.stories.jsx":()=>qe(()=>import("./ShortUrls.stories-CZnHY4SV.js"),__vite__mapDeps([195,1,2,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,124,100,33,34,35,127,31,24,32,43,40,41,123,57,55,56,12]),import.meta.url),"./src/stories/SisccFooter.stories.jsx":()=>qe(()=>import("./SisccFooter.stories-D8ZAcmO4.js"),__vite__mapDeps([196,2,96,30,18,19,26,20,21,22,23,24,25,85,89,34,4,3,33,35,11,12]),import.meta.url),"./src/stories/Spotlight.stories.jsx":()=>qe(()=>import("./Spotlight.stories-Q21oDkh-.js"),__vite__mapDeps([197,162,14,2,16,4,6,7,20,18,19,21,9,10,51,52,40,41,53,54,55,56,34,57,3,22,23,24,25,26,39,159,11,32,31,107,30,5,45,37,104,38,12]),import.meta.url),"./src/stories/TableFooter.stories.jsx":()=>qe(()=>import("./TableFooter.stories-Dbim0FX4.js"),__vite__mapDeps([198,108,2,109,4,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,33,35,90,23,43,73,91,12]),import.meta.url),"./src/stories/TableHeader.stories.jsx":()=>qe(()=>import("./TableHeader.stories-D4l_N9uE.js"),__vite__mapDeps([199,35,4,20,18,19,21,22,23,24,25,26,66,67,39,85,30,122,200,9,10,31,32,11,12]),import.meta.url),"./src/stories/TableHtml5.stories.jsx":()=>qe(()=>import("./TableHtml5.stories-vE1cQW9O.js"),__vite__mapDeps([201,68,18,19,20,21,22,23,24,25,26,88,89,85,30,81,39,42,43,158,113,67,44,45,76,2,96,142,10,4,116,34,102,28,31,32,71,73,117,66,109,54,55,56,7,57,61,53,41,35,140,11,202,152,121,169,74,170,111,82,80,33,38,176,91,173,146,92,12]),import.meta.url),"./src/stories/TableLayout.stories.jsx":()=>qe(()=>import("./TableLayout.stories-WSodxkci.js"),__vite__mapDeps([203,2,55,56,96,30,18,19,26,20,21,22,23,24,25,85,89,204,11,39,31,32,90,36,174,73,176,76,38,80,202,4,45,66,67,200,9,10,151,81,114,14,35,59,53,7,51,52,40,41,54,34,57,3,60,61,86,6,87,47,44,172,159,149,145,43,33,140,42,27,28,93,143,91,74,173,15,16,17,77,78,68,103,98,99,100,63,64,135,117,101,12]),import.meta.url),"./src/stories/TablePreview.stories.jsx":()=>qe(()=>import("./TablePreview.stories-CWPDGmZJ.js"),__vite__mapDeps([205,204,2,96,30,18,19,26,20,21,22,23,24,25,85,89,11,39,31,32,90,36,174,73,176,76,38,80,202,4,45,66,67,200,9,10,151,81,114,12]),import.meta.url),"./src/stories/Tag.stories.jsx":()=>qe(()=>import("./Tag.stories-ahgqPj3B.js"),__vite__mapDeps([206,167,43,19,35,4,11,32,24,18,21,12]),import.meta.url),"./src/stories/ToggleButton.stories.jsx":()=>qe(()=>import("./ToggleButton.stories-BmgpJZ4V.js"),__vite__mapDeps([207,119,2,16,4,6,7,120,9,10,68,18,19,11,21,12]),import.meta.url),"./src/stories/Tooltip.stories.jsx":()=>qe(()=>import("./Tooltip.stories-eDKs-rYV.js"),__vite__mapDeps([208,108,2,109,4,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,12]),import.meta.url),"./src/stories/UserRightForm.stories.jsx":()=>qe(()=>import("./UserRightForm.stories-BB1ESyB8.js"),__vite__mapDeps([209,2,134,68,18,19,11,43,94,4,52,35,114,45,26,30,58,59,53,7,51,40,41,54,55,56,34,57,3,60,61,9,10,62,5,6,135,15,16,17,20,21,83,84,24,85,25,23,81,39,86,87,47,31,32,88,89,90,91,14,33,98,99,100,63,64,22,143,161,164,117,67,165,189,108,109,116,66,133,76,101,28,42,74,75,27,29,77,78,97,159,12]),import.meta.url),"./src/stories/VerticalButton.stories.jsx":()=>qe(()=>import("./VerticalButton.stories-yuR7IUIF.js"),__vite__mapDeps([210,181,15,2,16,4,6,7,17,18,19,20,21,11,127,12]),import.meta.url),"./src/stories/VirtualizedTree.stories.jsx":()=>qe(()=>import("./VirtualizedTree.stories-COexQ4lU.js"),__vite__mapDeps([211,157,4,2,108,109,54,55,56,7,34,57,61,53,41,20,18,19,21,11,32,24,116,60,62,6,158,113,25,26,23,67,39,44,89,85,30,5,87,35,10,9,45,114,43,31,42,81,22,77,78,159,103,143,91,117,17,29,27,28,96,160,73,68,90,37,38,153,154,148,161,48,33,16,76,171,176,97,74,173,12]),import.meta.url)};async function uW(e){return await sW[e]()}var yoe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function xR(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function RR(e){if(Object.prototype.hasOwnProperty.call(e,"__esModule"))return e;var t=e.default;if(typeof t=="function"){var r=function n(){var i=!1;try{i=this instanceof n}catch{}return i?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return e[n]}})}),r}var _d={exports:{}},Ze={};var Nv;function lW(){if(Nv)return Ze;Nv=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),a=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.iterator;function h(X){return X===null||typeof X!="object"?null:(X=f&&X[f]||X["@@iterator"],typeof X=="function"?X:null)}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,y={};function A(X,G,ie){this.props=X,this.context=G,this.refs=y,this.updater=ie||m}A.prototype.isReactComponent={},A.prototype.setState=function(X,G){if(typeof X!="object"&&typeof X!="function"&&X!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,X,G,"setState")},A.prototype.forceUpdate=function(X){this.updater.enqueueForceUpdate(this,X,"forceUpdate")};function E(){}E.prototype=A.prototype;function _(X,G,ie){this.props=X,this.context=G,this.refs=y,this.updater=ie||m}var I=_.prototype=new E;I.constructor=_,b(I,A.prototype),I.isPureReactComponent=!0;var P=Array.isArray,x=Object.prototype.hasOwnProperty,g={current:null},w={key:!0,ref:!0,__self:!0,__source:!0};function C(X,G,ie){var fe,he={},se=null,xe=null;if(G!=null)for(fe in G.ref!==void 0&&(xe=G.ref),G.key!==void 0&&(se=""+G.key),G)x.call(G,fe)&&!w.hasOwnProperty(fe)&&(he[fe]=G[fe]);var Se=arguments.length-2;if(Se===1)he.children=ie;else if(1<Se){for(var je=Array(Se),Q=0;Q<Se;Q++)je[Q]=arguments[Q+2];he.children=je}if(X&&X.defaultProps)for(fe in Se=X.defaultProps,Se)he[fe]===void 0&&(he[fe]=Se[fe]);return{$$typeof:e,type:X,key:se,ref:xe,props:he,_owner:g.current}}function R(X,G){return{$$typeof:e,type:X.type,key:G,ref:X.ref,props:X.props,_owner:X._owner}}function j(X){return typeof X=="object"&&X!==null&&X.$$typeof===e}function B(X){var G={"=":"=0",":":"=2"};return"$"+X.replace(/[=:]/g,function(ie){return G[ie]})}var U=/\/+/g;function $(X,G){return typeof X=="object"&&X!==null&&X.key!=null?B(""+X.key):G.toString(36)}function k(X,G,ie,fe,he){var se=typeof X;(se==="undefined"||se==="boolean")&&(X=null);var xe=!1;if(X===null)xe=!0;else switch(se){case"string":case"number":xe=!0;break;case"object":switch(X.$$typeof){case e:case t:xe=!0}}if(xe)return xe=X,he=he(xe),X=fe===""?"."+$(xe,0):fe,P(he)?(ie="",X!=null&&(ie=X.replace(U,"$&/")+"/"),k(he,G,ie,"",function(Q){return Q})):he!=null&&(j(he)&&(he=R(he,ie+(!he.key||xe&&xe.key===he.key?"":(""+he.key).replace(U,"$&/")+"/")+X)),G.push(he)),1;if(xe=0,fe=fe===""?".":fe+":",P(X))for(var Se=0;Se<X.length;Se++){se=X[Se];var je=fe+$(se,Se);xe+=k(se,G,ie,je,he)}else if(je=h(X),typeof je=="function")for(X=je.call(X),Se=0;!(se=X.next()).done;)se=se.value,je=fe+$(se,Se++),xe+=k(se,G,ie,je,he);else if(se==="object")throw G=String(X),Error("Objects are not valid as a React child (found: "+(G==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":G)+"). If you meant to render a collection of children, use an array instead.");return xe}function V(X,G,ie){if(X==null)return X;var fe=[],he=0;return k(X,fe,"","",function(se){return G.call(ie,se,he++)}),fe}function W(X){if(X._status===-1){var G=X._result;G=G(),G.then(function(ie){(X._status===0||X._status===-1)&&(X._status=1,X._result=ie)},function(ie){(X._status===0||X._status===-1)&&(X._status=2,X._result=ie)}),X._status===-1&&(X._status=0,X._result=G)}if(X._status===1)return X._result.default;throw X._result}var Y={current:null},ne={transition:null},we={ReactCurrentDispatcher:Y,ReactCurrentBatchConfig:ne,ReactCurrentOwner:g};function Pe(){throw Error("act(...) is not supported in production builds of React.")}return Ze.Children={map:V,forEach:function(X,G,ie){V(X,function(){G.apply(this,arguments)},ie)},count:function(X){var G=0;return V(X,function(){G++}),G},toArray:function(X){return V(X,function(G){return G})||[]},only:function(X){if(!j(X))throw Error("React.Children.only expected to receive a single React element child.");return X}},Ze.Component=A,Ze.Fragment=r,Ze.Profiler=i,Ze.PureComponent=_,Ze.StrictMode=n,Ze.Suspense=l,Ze.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=we,Ze.act=Pe,Ze.cloneElement=function(X,G,ie){if(X==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+X+".");var fe=b({},X.props),he=X.key,se=X.ref,xe=X._owner;if(G!=null){if(G.ref!==void 0&&(se=G.ref,xe=g.current),G.key!==void 0&&(he=""+G.key),X.type&&X.type.defaultProps)var Se=X.type.defaultProps;for(je in G)x.call(G,je)&&!w.hasOwnProperty(je)&&(fe[je]=G[je]===void 0&&Se!==void 0?Se[je]:G[je])}var je=arguments.length-2;if(je===1)fe.children=ie;else if(1<je){Se=Array(je);for(var Q=0;Q<je;Q++)Se[Q]=arguments[Q+2];fe.children=Se}return{$$typeof:e,type:X.type,key:he,ref:se,props:fe,_owner:xe}},Ze.createContext=function(X){return X={$$typeof:a,_currentValue:X,_currentValue2:X,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},X.Provider={$$typeof:o,_context:X},X.Consumer=X},Ze.createElement=C,Ze.createFactory=function(X){var G=C.bind(null,X);return G.type=X,G},Ze.createRef=function(){return{current:null}},Ze.forwardRef=function(X){return{$$typeof:s,render:X}},Ze.isValidElement=j,Ze.lazy=function(X){return{$$typeof:d,_payload:{_status:-1,_result:X},_init:W}},Ze.memo=function(X,G){return{$$typeof:u,type:X,compare:G===void 0?null:G}},Ze.startTransition=function(X){var G=ne.transition;ne.transition={};try{X()}finally{ne.transition=G}},Ze.unstable_act=Pe,Ze.useCallback=function(X,G){return Y.current.useCallback(X,G)},Ze.useContext=function(X){return Y.current.useContext(X)},Ze.useDebugValue=function(){},Ze.useDeferredValue=function(X){return Y.current.useDeferredValue(X)},Ze.useEffect=function(X,G){return Y.current.useEffect(X,G)},Ze.useId=function(){return Y.current.useId()},Ze.useImperativeHandle=function(X,G,ie){return Y.current.useImperativeHandle(X,G,ie)},Ze.useInsertionEffect=function(X,G){return Y.current.useInsertionEffect(X,G)},Ze.useLayoutEffect=function(X,G){return Y.current.useLayoutEffect(X,G)},Ze.useMemo=function(X,G){return Y.current.useMemo(X,G)},Ze.useReducer=function(X,G,ie){return Y.current.useReducer(X,G,ie)},Ze.useRef=function(X){return Y.current.useRef(X)},Ze.useState=function(X){return Y.current.useState(X)},Ze.useSyncExternalStore=function(X,G,ie){return Y.current.useSyncExternalStore(X,G,ie)},Ze.useTransition=function(){return Y.current.useTransition()},Ze.version="18.3.1",Ze}var kv;function DR(){return kv||(kv=1,_d.exports=lW()),_d.exports}var Me=DR();const Hr=xR(Me),ff=kP({__proto__:null,default:Hr},[Me]),{defaultDecorateStory:cW}=__STORYBOOK_MODULE_PREVIEW_API__;var my=(e,t)=>cW(r=>Hr.createElement(e,r),t),dW=Object.create,yy=Object.defineProperty,pW=Object.getOwnPropertyDescriptor,PR=Object.getOwnPropertyNames,fW=Object.getPrototypeOf,hW=Object.prototype.hasOwnProperty,Tt=(e,t)=>function(){try{return t||(0,e[PR(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},gy=(e,t)=>{for(var r in t)yy(e,r,{get:t[r],enumerable:!0})},mW=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of PR(t))!hW.call(e,i)&&i!==r&&yy(e,i,{get:()=>t[i],enumerable:!(n=pW(t,i))||n.enumerable});return e},oa=(e,t,r)=>(r=e!=null?dW(fW(e)):{},mW(t||!e||!e.__esModule?yy(r,"default",{value:e,enumerable:!0}):r,e)),yW={};gy(yW,{applyDecorators:()=>my,beforeAll:()=>jR,decorators:()=>BR,mount:()=>kR,parameters:()=>MR,render:()=>IR,renderToCanvas:()=>NR});const{Tag:gW}=__STORYBOOK_MODULE_PREVIEW_API__,{global:bW}=__STORYBOOK_MODULE_GLOBAL__,{configure:vW}=__STORYBOOK_MODULE_TEST__;function Bv(e){globalThis.IS_REACT_ACT_ENVIRONMENT=e}function EW(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var OR=async({disableAct:e=!1}={})=>t=>t(),IR=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return Hr.createElement(n,{...e})};const{global:AW}=__STORYBOOK_MODULE_GLOBAL__;var{FRAMEWORK_OPTIONS:wW}=AW,SW=class extends Me.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:e}=this.state,{showMain:t}=this.props;e||t()}componentDidCatch(e){let{showException:t}=this.props;t(e)}render(){let{hasError:e}=this.state,{children:t}=this.props;return e?null:t}},Mv=wW?.strictMode?Me.StrictMode:Me.Fragment,hf=[],Cd=!1,FR=async()=>{if(Cd||hf.length===0)return;Cd=!0;let e=hf.shift();e&&await e(),Cd=!1,FR()};async function NR({storyContext:e,unboundStoryFn:t,showMain:r,showException:n,forceRemount:i},o){let{renderElement:a,unmountElement:s}=await qe(async()=>{const{renderElement:h,unmountElement:m}=await import("./react-18-CaF9HqVz.js");return{renderElement:h,unmountElement:m}},__vite__mapDeps([212,213,56,12]),import.meta.url),l=t,u=e.parameters.__isPortableStory?Hr.createElement(l,{...e}):Hr.createElement(SW,{key:e.id,showMain:r,showException:n},Hr.createElement(l,{...e})),d=Mv?Hr.createElement(Mv,null,u):u;i&&s(o);let f=await OR({disableAct:e.viewMode==="docs"});return await new Promise(async(h,m)=>{hf.push(async()=>{try{await f(async()=>{await a(d,o,e?.parameters?.react?.rootOptions)}),h()}catch(b){m(b)}}),FR()}),async()=>{await f(()=>{s(o)})}}var kR=e=>async t=>(t!=null&&(e.originalStoryFn=()=>t),await e.renderToCanvas(),e.canvas),BR=[(e,t)=>{if(!t.parameters?.react?.rsc)return e();let[r,n]=Me.version.split(".").map(i=>parseInt(i,10));if(!Number.isInteger(r)||!Number.isInteger(n))throw new Error("Unable to parse React version");if(r<18||r===18&&n<3)throw new Error("React Server Components require React >= 18.3");return Me.createElement(Me.Suspense,null,e())},(e,t)=>{if(t.tags?.includes(gW.TEST_FN)&&!bW.FEATURES?.experimentalTestSyntax)throw new Error("To use the experimental test function, you must enable the experimentalTestSyntax feature flag. See https://storybook.js.org/docs/api/main-config/main-config-features#experimentaltestsyntax");return e()}],MR={renderer:"react"},jR=async()=>{try{let e=await OR();vW({unstable_advanceTimersWrapper:t=>e(t),asyncWrapper:async t=>{let r=EW();Bv(!1);try{let n=await t();return await new Promise(i=>{setTimeout(()=>{i()},0),_W()&&jest.advanceTimersByTime(0)}),n}finally{Bv(r)}},eventWrapper:t=>{let r;return e(()=>(r=t(),r)),r}})}catch{}};function _W(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}const CW=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:my,beforeAll:jR,decorators:BR,mount:kR,parameters:MR,render:IR,renderToCanvas:NR},Symbol.toStringTag,{value:"Module"}));var TW=Tt({"../../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(l){for(var u,d=1,f=arguments.length;d<f;d++){u=arguments[d];for(var h in u)Object.prototype.hasOwnProperty.call(u,h)&&(l[h]=u[h])}return l},t.apply(this,arguments)},r=e&&e.__spreadArrays||function(){for(var l=0,u=0,d=arguments.length;u<d;u++)l+=arguments[u].length;for(var f=Array(l),h=0,u=0;u<d;u++)for(var m=arguments[u],b=0,y=m.length;b<y;b++,h++)f[h]=m[b];return f};Object.defineProperty(e,"__esModule",{value:!0});var n=[];function i(l){var u=typeof l;return l!==null&&(u==="object"||u==="function")}function o(l){return Object.prototype.toString.call(l)==="[object RegExp]"}function a(l){return Object.getOwnPropertySymbols(l).filter(function(u){return Object.prototype.propertyIsEnumerable.call(l,u)})}function s(l,u,d){d===void 0&&(d="");var f={indent:" ",singleQuotes:!0},h=t(t({},f),u),m;h.inlineCharacterLimit===void 0?m={newLine:`
1038
+ `,newLineOrSpace:`
1039
+ `,pad:d,indent:d+h.indent}:m={newLine:"@@__PRETTY_PRINT_NEW_LINE__@@",newLineOrSpace:"@@__PRETTY_PRINT_NEW_LINE_OR_SPACE__@@",pad:"@@__PRETTY_PRINT_PAD__@@",indent:"@@__PRETTY_PRINT_INDENT__@@"};var b=function(E){if(h.inlineCharacterLimit===void 0)return E;var _=E.replace(new RegExp(m.newLine,"g"),"").replace(new RegExp(m.newLineOrSpace,"g")," ").replace(new RegExp(m.pad+"|"+m.indent,"g"),"");return _.length<=h.inlineCharacterLimit?_:E.replace(new RegExp(m.newLine+"|"+m.newLineOrSpace,"g"),`
1040
+ `).replace(new RegExp(m.pad,"g"),d).replace(new RegExp(m.indent,"g"),d+h.indent)};if(n.indexOf(l)!==-1)return'"[Circular]"';if(l==null||typeof l=="number"||typeof l=="boolean"||typeof l=="function"||typeof l=="symbol"||o(l))return String(l);if(l instanceof Date)return"new Date('"+l.toISOString()+"')";if(Array.isArray(l)){if(l.length===0)return"[]";n.push(l);var y="["+m.newLine+l.map(function(E,_){var I=l.length-1===_?m.newLine:","+m.newLineOrSpace,P=s(E,h,d+h.indent);return h.transform&&(P=h.transform(l,_,P)),m.indent+P+I}).join("")+m.pad+"]";return n.pop(),b(y)}if(i(l)){var A=r(Object.keys(l),a(l));if(h.filter&&(A=A.filter(function(_){return h.filter&&h.filter(l,_)})),A.length===0)return"{}";n.push(l);var y="{"+m.newLine+A.map(function(_,I){var P=A.length-1===I?m.newLine:","+m.newLineOrSpace,x=typeof _=="symbol",g=!x&&/^[a-z$_][a-z$_0-9]*$/i.test(_.toString()),w=x||g?_:s(_,h),C=s(l[_],h,d+h.indent);return h.transform&&(C=h.transform(l,_,C)),m.indent+String(w)+": "+C+P}).join("")+m.pad+"}";return n.pop(),b(y)}return l=String(l).replace(/[\r\n]/g,function(E){return E===`
1041
+ `?"\\n":"\\r"}),h.singleQuotes?(l=l.replace(/\\?'/g,"\\'"),"'"+l+"'"):(l=l.replace(/"/g,'\\"'),'"'+l+'"')}e.prettyPrint=s}}),xW=Tt({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/cjs/react-is.production.min.js"(e){var t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),b=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function A(E){if(typeof E=="object"&&E!==null){var _=E.$$typeof;switch(_){case t:switch(E=E.type,E){case n:case o:case i:case d:case f:return E;default:switch(E=E&&E.$$typeof,E){case l:case s:case u:case m:case h:case a:return E;default:return _}}case r:return _}}}e.ContextConsumer=s,e.ContextProvider=a,e.Element=t,e.ForwardRef=u,e.Fragment=n,e.Lazy=m,e.Memo=h,e.Portal=r,e.Profiler=o,e.StrictMode=i,e.Suspense=d,e.SuspenseList=f,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(E){return A(E)===s},e.isContextProvider=function(E){return A(E)===a},e.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===t},e.isForwardRef=function(E){return A(E)===u},e.isFragment=function(E){return A(E)===n},e.isLazy=function(E){return A(E)===m},e.isMemo=function(E){return A(E)===h},e.isPortal=function(E){return A(E)===r},e.isProfiler=function(E){return A(E)===o},e.isStrictMode=function(E){return A(E)===i},e.isSuspense=function(E){return A(E)===d},e.isSuspenseList=function(E){return A(E)===f},e.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===n||E===o||E===i||E===d||E===f||E===b||typeof E=="object"&&E!==null&&(E.$$typeof===m||E.$$typeof===h||E.$$typeof===a||E.$$typeof===s||E.$$typeof===u||E.$$typeof===y||E.getModuleId!==void 0)},e.typeOf=A}}),RW=Tt({"../../../node_modules/react-element-to-jsx-string/node_modules/react-is/index.js"(e,t){t.exports=xW()}}),LR=e=>e.$$typeof===Symbol.for("react.memo"),DW=e=>e.$$typeof===Symbol.for("react.forward_ref");function jv(e){return Object.prototype.toString.call(e)==="[object Object]"}function PW(e){var t,r;return jv(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(jv(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var OW=oa(TW()),cn=oa(RW()),Ln=(function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")});function mf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function IW(e){if(Array.isArray(e))return mf(e)}function FW(e,t,r){return(t=LW(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function NW(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kW(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1042
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Lv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}function BW(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Lv(Object(r),!0).forEach(function(n){FW(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lv(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function MW(e){return IW(e)||NW(e)||qW(e)||kW()}function jW(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function LW(e){var t=jW(e,"string");return typeof t=="symbol"?t:t+""}function ms(e){"@babel/helpers - typeof";return ms=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ms(e)}function qW(e,t){if(e){if(typeof e=="string")return mf(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?mf(e,t):void 0}}function yf(e,t){if(e===null||ms(e)!=="object"||e instanceof Date||e instanceof RegExp)return e;if(Me.isValidElement(e)){var r=BW({},e);return delete r._owner,r}return t.add(e),Array.isArray(e)?e.map(function(n){return yf(n,t)}):Object.keys(e).sort().reduce(function(n,i){return i==="current"||t.has(e[i])?n[i]="[Circular]":n[i]=yf(e[i],t),n},{})}function $W(e){return yf(e,new WeakSet)}var qR=function(e){return{type:"string",value:e}},VW=function(e){return{type:"number",value:e}},UW=function(e,t,r,n){return{type:"ReactElement",displayName:e,props:t,defaultProps:r,childrens:n}},JW=function(e,t){return{type:"ReactFragment",key:e,childrens:t}},HW=!!Me.Fragment,$R=function(e){return!e.name||e.name==="_default"?"No Display Name":e.name},gf=function(e){switch(!0){case!!e.displayName:return e.displayName;case e.$$typeof===cn.Memo:return gf(e.type);case e.$$typeof===cn.ForwardRef:return gf(e.render);default:return $R(e)}},zW=function(e){switch(!0){case typeof e.type=="string":return e.type;case typeof e.type=="function":return e.type.displayName?e.type.displayName:$R(e.type);case(0,cn.isForwardRef)(e):case(0,cn.isMemo)(e):return gf(e.type);case(0,cn.isContextConsumer)(e):return"".concat(e.type._context.displayName||"Context",".Consumer");case(0,cn.isContextProvider)(e):return"".concat(e.type._context.displayName||"Context",".Provider");case(0,cn.isLazy)(e):return"Lazy";case(0,cn.isProfiler)(e):return"Profiler";case(0,cn.isStrictMode)(e):return"StrictMode";case(0,cn.isSuspense)(e):return"Suspense";default:return"UnknownElementType"}},qv=function(e,t){return t!=="children"},GW=function(e){return e!==!0&&e!==!1&&e!==null&&e!==""},$v=function(e,t){var r={};return Object.keys(e).filter(function(n){return t(e[n],n)}).forEach(function(n){return r[n]=e[n]}),r},cc=function(e,t){var r=t.displayName,n=r===void 0?zW:r;if(typeof e=="string")return qR(e);if(typeof e=="number")return VW(e);if(!Hr.isValidElement(e))throw new Error("react-element-to-jsx-string: Expected a React.Element, got `".concat(ms(e),"`"));var i=n(e),o=$v(e.props,qv);e.ref!==null&&(o.ref=e.ref);var a=e.key;typeof a=="string"&&a.search(/^\./)&&(o.key=a);var s=$v(e.type.defaultProps||{},qv),l=Hr.Children.toArray(e.props.children).filter(GW).map(function(u){return cc(u,t)});return HW&&e.type===Me.Fragment?JW(a,l):UW(i,o,s,l)};function WW(){}var KW=function(e){return e.toString().split(`
1043
+ `).map(function(t){return t.trim()}).join("")},Vv=KW,VR=(function(e,t){var r=t.functionValue,n=r===void 0?Vv:r,i=t.showFunctions;return n(!i&&n===Vv?WW:e)}),YW=(function(e,t,r,n){var i=$W(e),o=(0,OW.prettyPrint)(i,{transform:function(a,s,l){var u=a[s];return u&&Me.isValidElement(u)?dc(cc(u,n),!0,r,n):typeof u=="function"?VR(u,n):l}});return t?o.replace(/\s+/g," ").replace(/{ /g,"{").replace(/ }/g,"}").replace(/\[ /g,"[").replace(/ ]/g,"]"):o.replace(/\t/g,Ln(1,n.tabStop)).replace(/\n([^$])/g,`
1044
+ `.concat(Ln(r+1,n.tabStop),"$1"))}),XW=function(e){return e.replace(/"/g,"&quot;")},QW=function(e,t,r,n){if(typeof e=="number")return"{".concat(String(e),"}");if(typeof e=="string")return'"'.concat(XW(e),'"');if(ms(e)==="symbol"){var i=e.valueOf().toString().replace(/Symbol\((.*)\)/,"$1");return i?"{Symbol('".concat(i,"')}"):"{Symbol()}"}return typeof e=="function"?"{".concat(VR(e,n),"}"):Me.isValidElement(e)?"{".concat(dc(cc(e,n),!0,r,n),"}"):e instanceof Date?isNaN(e.valueOf())?"{new Date(NaN)}":'{new Date("'.concat(e.toISOString(),'")}'):PW(e)||Array.isArray(e)?"{".concat(YW(e,t,r,n),"}"):"{".concat(String(e),"}")},ZW=(function(e,t,r,n,i,o,a,s){if(!t&&!n)throw new Error('The prop "'.concat(e,'" has no value and no default: could not be formatted'));var l=t?r:i,u=s.useBooleanShorthandSyntax,d=s.tabStop,f=QW(l,o,a,s),h=" ",m=`
1045
+ `.concat(Ln(a+1,d)),b=f.includes(`
1046
+ `);return u&&f==="{true}"?(h+="".concat(e),m+="".concat(e)):(h+="".concat(e,"=").concat(f),m+="".concat(e,"=").concat(f)),{attributeFormattedInline:h,attributeFormattedMultiline:m,isMultilineAttribute:b}}),eK=(function(e,t){var r=e.slice(0,e.length>0?e.length-1:0),n=e[e.length-1];return n&&(t.type==="string"||t.type==="number")&&(n.type==="string"||n.type==="number")?r.push(qR(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r}),tK=function(e){return["key","ref"].includes(e)},rK=(function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),i=t.filter(function(a){return!tK(a)}),o=MW(e?i.sort():i);return n&&o.unshift("ref"),r&&o.unshift("key"),o}});function nK(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var iK=function(e,t,r,n,i){var o=i.tabStop;return e.type==="string"?t.split(`
1047
+ `).map(function(a,s){return s===0?a:"".concat(Ln(n,o)).concat(a)}).join(`
1048
+ `):t},oK=function(e,t,r){return function(n){return iK(n,dc(n,e,t,r),e,t,r)}},aK=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},UR=function(e,t,r,n,i){return i?Ln(r,n).length+t.length>i:e.length>1},sK=function(e,t,r,n,i,o,a){return(UR(e,t,i,o,a)||r)&&!n},JR=(function(e,t,r,n){var i=e.type,o=e.displayName,a=o===void 0?"":o,s=e.childrens,l=e.props,u=l===void 0?{}:l,d=e.defaultProps,f=d===void 0?{}:d;if(i!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(i));var h=n.filterProps,m=n.maxInlineAttributesLineLength,b=n.showDefaultProps,y=n.sortProps,A=n.tabStop,E="<".concat(a),_=E,I=E,P=!1,x=[],g=nK(u,h);Object.keys(u).filter(g).filter(aK(f,u)).forEach(function(R){return x.push(R)}),Object.keys(f).filter(g).filter(function(){return b}).filter(function(R){return!x.includes(R)}).forEach(function(R){return x.push(R)});var w=rK(y)(x);if(w.forEach(function(R){var j=ZW(R,Object.keys(u).includes(R),u[R],Object.keys(f).includes(R),f[R],t,r,n),B=j.attributeFormattedInline,U=j.attributeFormattedMultiline,$=j.isMultilineAttribute;$&&(P=!0),_+=B,I+=U}),I+=`
1049
+ `.concat(Ln(r,A)),sK(w,_,P,t,r,A,m)?E=I:E=_,s&&s.length>0){var C=r+1;E+=">",t||(E+=`
1050
+ `,E+=Ln(C,A)),E+=s.reduce(eK,[]).map(oK(t,C,n)).join(t?"":`
1051
+ `.concat(Ln(C,A))),t||(E+=`
1052
+ `,E+=Ln(C-1,A)),E+="</".concat(a,">")}else UR(w,_,r,A,m)||(E+=" "),E+="/>";return E}),uK="",Uv="React.Fragment",lK=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},cK=function(e){var t=e.key;return!!t},dK=function(e){var t=e.childrens;return t.length===0},pK=(function(e,t,r,n){var i=e.type,o=e.key,a=e.childrens;if(i!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(i));var s=n.useFragmentShortSyntax,l;return s?dK(e)||cK(e)?l=Uv:l=uK:l=Uv,JR(lK(l,o,a),t,r,n)}),fK=["<",">","{","}"],hK=function(e){return fK.some(function(t){return e.includes(t)})},mK=function(e){return hK(e)?"{`".concat(e,"`}"):e},yK=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},dc=(function(e,t,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(yK(mK(String(e.value)))):"";if(e.type==="ReactElement")return JR(e,t,r,n);if(e.type==="ReactFragment")return pK(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))}),gK=(function(e,t){return dc(e,!1,0,t)}),HR=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,i=t.showDefaultProps,o=i===void 0?!0:i,a=t.showFunctions,s=a===void 0?!1:a,l=t.functionValue,u=t.tabStop,d=u===void 0?2:u,f=t.useBooleanShorthandSyntax,h=f===void 0?!0:f,m=t.useFragmentShortSyntax,b=m===void 0?!0:m,y=t.sortProps,A=y===void 0?!0:y,E=t.maxInlineAttributesLineLength,_=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var I={filterProps:n,showDefaultProps:o,showFunctions:s,functionValue:l,tabStop:d,useBooleanShorthandSyntax:h,useFragmentShortSyntax:b,sortProps:A,maxInlineAttributesLineLength:E,displayName:_};return gK(cc(e,I),I)};function bK(){}function Un(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function Jv(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}function Hv(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}var vK="[object RegExp]",EK="[object String]",AK="[object Number]",wK="[object Boolean]",zv="[object Arguments]",SK="[object Symbol]",_K="[object Date]",CK="[object Map]",TK="[object Set]",xK="[object Array]",RK="[object Function]",DK="[object ArrayBuffer]",Td="[object Object]",PK="[object Error]",OK="[object DataView]",IK="[object Uint8Array]",FK="[object Uint8ClampedArray]",NK="[object Uint16Array]",kK="[object Uint32Array]",BK="[object BigUint64Array]",MK="[object Int8Array]",jK="[object Int16Array]",LK="[object Int32Array]",qK="[object BigInt64Array]",$K="[object Float32Array]",VK="[object Float64Array]";function UK(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}function JK(e,t,r){return Ra(e,t,void 0,void 0,void 0,void 0,r)}function Ra(e,t,r,n,i,o,a){let s=a(e,t,r,n,i,o);if(s!==void 0)return s;if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return $a(e,t,o,a)}return $a(e,t,o,a)}function $a(e,t,r,n){if(Object.is(e,t))return!0;let i=Hv(e),o=Hv(t);if(i===zv&&(i=Td),o===zv&&(o=Td),i!==o)return!1;switch(i){case EK:return e.toString()===t.toString();case AK:{let l=e.valueOf(),u=t.valueOf();return UK(l,u)}case wK:case _K:case SK:return Object.is(e.valueOf(),t.valueOf());case vK:return e.source===t.source&&e.flags===t.flags;case RK:return e===t}r=r??new Map;let a=r.get(e),s=r.get(t);if(a!=null&&s!=null)return a===t;r.set(e,t),r.set(t,e);try{switch(i){case CK:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Ra(u,t.get(l),l,e,t,r,n))return!1;return!0}case TK:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let d=0;d<l.length;d++){let f=l[d],h=u.findIndex(m=>Ra(f,m,void 0,e,t,r,n));if(h===-1)return!1;u.splice(h,1)}return!0}case xK:case IK:case FK:case NK:case kK:case BK:case MK:case jK:case LK:case qK:case $K:case VK:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!Ra(e[l],t[l],l,e,t,r,n))return!1;return!0}case DK:return e.byteLength!==t.byteLength?!1:$a(new Uint8Array(e),new Uint8Array(t),r,n);case OK:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:$a(new Uint8Array(e),new Uint8Array(t),r,n);case PK:return e.name===t.name&&e.message===t.message;case Td:{if(!($a(e.constructor,t.constructor,r,n)||Un(e)&&Un(t)))return!1;let l=[...Object.keys(e),...Jv(e)],u=[...Object.keys(t),...Jv(t)];if(l.length!==u.length)return!1;for(let d=0;d<l.length;d++){let f=l[d],h=e[f];if(!Object.hasOwn(t,f))return!1;let m=t[f];if(!Ra(h,m,f,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}function goe(e,t){return JK(e,t,bK)}function HK(e){return e==null||typeof e!="object"&&typeof e!="function"}function zK(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function pc(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],a=e[o];r[o]=t(a,o,e)}return r}function GK(e){return e==="__proto__"}function Nn(e,t,r){let n=Object.keys(t);for(let i=0;i<n.length;i++){let o=n[i];if(GK(o))continue;let a=t[o],s=e[o],l=r(s,a,o,e,t);l!==void 0?e[o]=l:Array.isArray(a)?Array.isArray(s)?e[o]=Nn(s,a,r):e[o]=Nn([],a,r):Un(a)?Un(s)?e[o]=Nn(s,a,r):e[o]=Nn({},a,r):(s===void 0||a!==void 0)&&(e[o]=a)}return e}function boe(e,t){let r={};for(let n=0;n<t.length;n++){let i=t[n];Object.hasOwn(e,i)&&(r[i]=e[i])}return r}function WK(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],a=e[o];t(a,o)&&(r[o]=a)}return r}function xd(e){if(HK(e))return e;if(Array.isArray(e)||zK(e)||e instanceof ArrayBuffer||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e),r=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new r(e);if(e instanceof RegExp){let n=new r(e);return n.lastIndex=e.lastIndex,n}if(e instanceof DataView)return new r(e.buffer.slice(0));if(e instanceof Error){let n=new r(e.message);return n.stack=e.stack,n.name=e.name,n.cause=e.cause,n}if(typeof File<"u"&&e instanceof File)return new r([e],e.name,{type:e.type,lastModified:e.lastModified});if(typeof e=="object"){let n=Object.create(t);return Object.assign(n,e)}return e}function voe(e,t){let r={...e};for(let n=0;n<t.length;n++){let i=t[n];delete r[i]}return r}function Eoe(e,t){return Nn(xd(e),t,function r(n,i){if(Array.isArray(i))return Array.isArray(n)?Nn(xd(n),i,r):Nn([],i,r);if(Un(i))return Un(n)?Nn(xd(n),i,r):Nn({},i,r)})}function KK(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(s,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var f,h;return(h=(f=d.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):s},[]);if(i.length){var o=new RegExp(`
1053
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(o,`
1054
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,l){var u=a.match(/(?:^|\n)( *)$/),d=u?u[1]:"",f=s;typeof s=="string"&&s.includes(`
1055
+ `)&&(f=String(s).split(`
1056
+ `).map(function(h,m){return m===0?h:""+d+h}).join(`
1057
+ `)),a+=f+n[l+1]}),a}var qs=(...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,o)=>(Object.entries(o).forEach(([a,s])=>{let l=i[a];Array.isArray(s)||typeof l>"u"?i[a]=s:Un(s)&&Un(l)?t[a]=!0:typeof s<"u"&&(i[a]=s)}),i),{});return Object.keys(t).forEach(i=>{let o=r.filter(Boolean).map(a=>a[i]).filter(a=>typeof a<"u");o.every(a=>Un(a))?n[i]=qs(...o):n[i]=o[o.length-1]}),n},Gv=(e,t)=>Array.isArray(t)?t.includes(e):e.match(t),YK=(e,t,r)=>!t&&!r?e:e&&WK(e,(n,i)=>{let o=n.name||i.toString();return!!(!t||Gv(o,t))&&(!r||!Gv(o,r))});const{logger:XK}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var QK=(e,t,r)=>{let{type:n,options:i}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&XK.warn(`Addon controls: Control of type color only supports string, received "${o}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},zR=e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:i=null,matchers:o={}}={}}}=e;if(!r)return t;let a=YK(t,n,i),s=pc(a,(l,u)=>l?.type&&QK(l,u.toString(),o));return qs(s,a)};zR.secondPass=!0;const{logger:ZK}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var bf=(e,t,r,n)=>{let i=typeof e;switch(i){case"boolean":case"string":case"number":case"function":case"symbol":return{name:i}}if(e){if(n.has(e))return n.get(e);if(r.has(e))return ZK.warn(KK`
1058
+ We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
1059
+
1060
+ Consider using the mapping feature or fully custom args:
1061
+ - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
1062
+ - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
1063
+ `),{name:"other",value:"cyclic object"};r.add(e);let o;return Array.isArray(e)?o={name:"array",value:e.length>0?bf(e[0],t,r,n):{name:"other",value:"unknown"}}:o={name:"object",value:pc(e,a=>bf(a,t,r,n))},r.delete(e),n.set(e,o),o}return{name:"object",value:{}}},GR=e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,i=new Map,o=Object.fromEntries(Object.entries(n).filter(([s])=>!r[s]?.type).map(([s,l])=>[s,{name:s,type:bf(l,`${t}.${s}`,new Set,i)}])),a=pc(r,(s,l)=>({name:l}));return qs(o,a,r)};GR.secondPass=!0;function Aoe({payload:e,storyId:t,parameters:r,initialArgs:n,customArgTypes:i}){let o=qs(e.argTypes??{},i??{}),a=GR({id:t,argTypes:o,initialArgs:n??{}});return zR({argTypes:a,parameters:r??{}})}function woe(e){return Object.fromEntries(Object.entries(e.subcomponents??{}).flatMap(([t,r])=>r.argTypes?[[t,r.argTypes]]:[]))}var eY=Object.create,by=Object.defineProperty,tY=Object.getOwnPropertyDescriptor,WR=Object.getOwnPropertyNames,rY=Object.getPrototypeOf,nY=Object.prototype.hasOwnProperty,Soe=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),iY=(e,t)=>function(){try{return t||(0,e[WR(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},_oe=(e,t)=>{for(var r in t)by(e,r,{get:t[r],enumerable:!0})},oY=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of WR(t))!nY.call(e,i)&&i!==r&&by(e,i,{get:()=>t[i],enumerable:!(n=tY(t,i))||n.enumerable});return e},aY=(e,t,r)=>(r=e!=null?eY(rY(e)):{},oY(t||!e||!e.__esModule?by(r,"default",{value:e,enumerable:!0}):r,e)),sY=iY({"../../node_modules/jsdoc-type-pratt-parser/dist/index.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,(function(r){function n(c){return c.text!==void 0&&c.text!==""?`'${c.type}' with value '${c.text}'`:`'${c.type}'`}class i extends Error{constructor(v){super(`No parslet found for token: ${n(v)}`),this.token=v,Object.setPrototypeOf(this,i.prototype)}getToken(){return this.token}}class o extends Error{constructor(v){super(`The parsing ended early. The next token was: ${n(v)}`),this.token=v,Object.setPrototypeOf(this,o.prototype)}getToken(){return this.token}}class a extends Error{constructor(v,D){let L=`Unexpected type: '${v.type}'.`;D!==void 0&&(L+=` Message: ${D}`),super(L),Object.setPrototypeOf(this,a.prototype)}}function s(c){return v=>v.startsWith(c)?{type:c,text:c}:null}function l(c){let v=0,D,L=c[0],Z=!1;if(L!=="'"&&L!=='"')return null;for(;v<c.length;){if(v++,D=c[v],!Z&&D===L){v++;break}Z=!Z&&D==="\\"}if(D!==L)throw new Error("Unterminated String");return c.slice(0,v)}let u=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),d=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function f(c){let v=c[0];if(!u.test(v))return null;let D=1;do{if(v=c[D],!d.test(v))break;D++}while(D<c.length);return c.slice(0,D)}let h=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function m(c){var v,D;return(D=(v=h.exec(c))===null||v===void 0?void 0:v[0])!==null&&D!==void 0?D:null}let b=c=>{let v=f(c);return v==null?null:{type:"Identifier",text:v}};function y(c){return v=>{if(!v.startsWith(c))return null;let D=v[c.length];return D!==void 0&&d.test(D)?null:{type:c,text:c}}}let A=c=>{let v=l(c);return v==null?null:{type:"StringValue",text:v}},E=c=>c.length>0?null:{type:"EOF",text:""},_=c=>{let v=m(c);return v===null?null:{type:"Number",text:v}},I=[E,s("=>"),s("("),s(")"),s("{"),s("}"),s("["),s("]"),s("|"),s("&"),s("<"),s(">"),s(","),s(";"),s("*"),s("?"),s("!"),s("="),s(":"),s("..."),s("."),s("#"),s("~"),s("/"),s("@"),y("undefined"),y("null"),y("function"),y("this"),y("new"),y("module"),y("event"),y("extends"),y("external"),y("infer"),y("typeof"),y("keyof"),y("readonly"),y("import"),y("is"),y("in"),y("asserts"),_,b,A],P=/^\s*\n\s*/;class x{static create(v){let D=this.read(v);v=D.text;let L=this.read(v);return v=L.text,new x(v,void 0,D.token,L.token)}constructor(v,D,L,Z){this.text="",this.text=v,this.previous=D,this.current=L,this.next=Z}static read(v,D=!1){D=D||P.test(v),v=v.trim();for(let L of I){let Z=L(v);if(Z!==null){let ue=Object.assign(Object.assign({},Z),{startOfLine:D});return v=v.slice(ue.text.length),{text:v,token:ue}}}throw new Error("Unexpected Token "+v)}advance(){let v=x.read(this.text);return new x(v.text,this.current,this.next,v.token)}}function g(c){if(c===void 0)throw new Error("Unexpected undefined");if(c.type==="JsdocTypeKeyValue"||c.type==="JsdocTypeParameterList"||c.type==="JsdocTypeProperty"||c.type==="JsdocTypeReadonlyProperty"||c.type==="JsdocTypeObjectField"||c.type==="JsdocTypeJsdocObjectField"||c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"||c.type==="JsdocTypeTypeParameter")throw new a(c);return c}function w(c){return c.type==="JsdocTypeKeyValue"?R(c):g(c)}function C(c){return c.type==="JsdocTypeName"?c:R(c)}function R(c){if(c.type!=="JsdocTypeKeyValue")throw new a(c);return c}function j(c){var v;if(c.type==="JsdocTypeVariadic"){if(((v=c.element)===null||v===void 0?void 0:v.type)==="JsdocTypeName")return c;throw new a(c)}if(c.type!=="JsdocTypeNumber"&&c.type!=="JsdocTypeName")throw new a(c);return c}function B(c){if(c.type==="JsdocTypeTuple"||c.type==="JsdocTypeGeneric"&&c.meta.brackets==="square")return c;throw new a(c)}function U(c){return c.type==="JsdocTypeIndexSignature"||c.type==="JsdocTypeMappedType"}var $;(function(c){c[c.ALL=0]="ALL",c[c.PARAMETER_LIST=1]="PARAMETER_LIST",c[c.OBJECT=2]="OBJECT",c[c.KEY_VALUE=3]="KEY_VALUE",c[c.INDEX_BRACKETS=4]="INDEX_BRACKETS",c[c.UNION=5]="UNION",c[c.INTERSECTION=6]="INTERSECTION",c[c.PREFIX=7]="PREFIX",c[c.INFIX=8]="INFIX",c[c.TUPLE=9]="TUPLE",c[c.SYMBOL=10]="SYMBOL",c[c.OPTIONAL=11]="OPTIONAL",c[c.NULLABLE=12]="NULLABLE",c[c.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",c[c.FUNCTION=14]="FUNCTION",c[c.ARROW=15]="ARROW",c[c.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",c[c.GENERIC=17]="GENERIC",c[c.NAME_PATH=18]="NAME_PATH",c[c.PARENTHESIS=19]="PARENTHESIS",c[c.SPECIAL_TYPES=20]="SPECIAL_TYPES"})($||($={}));class k{constructor(v,D,L){this.grammar=v,typeof D=="string"?this._lexer=x.create(D):this._lexer=D,this.baseParser=L}get lexer(){return this._lexer}parse(){let v=this.parseType($.ALL);if(this.lexer.current.type!=="EOF")throw new o(this.lexer.current);return v}parseType(v){return g(this.parseIntermediateType(v))}parseIntermediateType(v){let D=this.tryParslets(null,v);if(D===null)throw new i(this.lexer.current);return this.parseInfixIntermediateType(D,v)}parseInfixIntermediateType(v,D){let L=this.tryParslets(v,D);for(;L!==null;)v=L,L=this.tryParslets(v,D);return v}tryParslets(v,D){for(let L of this.grammar){let Z=L(this,D,v);if(Z!==null)return Z}return null}consume(v){return Array.isArray(v)||(v=[v]),v.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(v){this._lexer=v.lexer}}function V(c){return c==="}"||c==="EOF"||c==="|"||c===","||c===")"||c===">"}let W=(c,v,D)=>{let L=c.lexer.current.type,Z=c.lexer.next.type;return D==null&&L==="?"&&!V(Z)||D!=null&&L==="?"?(c.consume("?"),D==null?{type:"JsdocTypeNullable",element:c.parseType($.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:g(D),meta:{position:"suffix"}}):null};function Y(c){let v=(D,L,Z)=>{let ue=D.lexer.current.type,me=D.lexer.next.type;if(Z===null){if("parsePrefix"in c&&c.accept(ue,me))return c.parsePrefix(D)}else if("parseInfix"in c&&c.precedence>L&&c.accept(ue,me))return c.parseInfix(D,Z);return null};return Object.defineProperty(v,"name",{value:c.name}),v}let ne=Y({name:"optionalParslet",accept:c=>c==="=",precedence:$.OPTIONAL,parsePrefix:c=>(c.consume("="),{type:"JsdocTypeOptional",element:c.parseType($.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(c,v)=>(c.consume("="),{type:"JsdocTypeOptional",element:g(v),meta:{position:"suffix"}})}),we=Y({name:"numberParslet",accept:c=>c==="Number",parsePrefix:c=>{let v=parseFloat(c.lexer.current.text);return c.consume("Number"),{type:"JsdocTypeNumber",value:v}}}),Pe=Y({name:"parenthesisParslet",accept:c=>c==="(",parsePrefix:c=>{if(c.consume("("),c.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let v=c.parseIntermediateType($.ALL);if(!c.consume(")"))throw new Error("Unterminated parenthesis");return v.type==="JsdocTypeParameterList"?v:v.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[v]}:{type:"JsdocTypeParenthesis",element:g(v)}}}),X=Y({name:"specialTypesParslet",accept:(c,v)=>c==="?"&&V(v)||c==="null"||c==="undefined"||c==="*",parsePrefix:c=>{if(c.consume("null"))return{type:"JsdocTypeNull"};if(c.consume("undefined"))return{type:"JsdocTypeUndefined"};if(c.consume("*"))return{type:"JsdocTypeAny"};if(c.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+c.lexer.current.text)}}),G=Y({name:"notNullableParslet",accept:c=>c==="!",precedence:$.NULLABLE,parsePrefix:c=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:c.parseType($.NULLABLE),meta:{position:"prefix"}}),parseInfix:(c,v)=>(c.consume("!"),{type:"JsdocTypeNotNullable",element:g(v),meta:{position:"suffix"}})});function ie({allowTrailingComma:c}){return Y({name:"parameterListParslet",accept:v=>v===",",precedence:$.PARAMETER_LIST,parseInfix:(v,D)=>{let L=[w(D)];v.consume(",");do try{let Z=v.parseIntermediateType($.PARAMETER_LIST);L.push(w(Z))}catch(Z){if(Z instanceof i)break;throw Z}while(v.consume(","));if(L.length>0&&L.slice(0,-1).some(Z=>Z.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:L}}})}let fe=Y({name:"genericParslet",accept:(c,v)=>c==="<"||c==="."&&v==="<",precedence:$.GENERIC,parseInfix:(c,v)=>{let D=c.consume(".");c.consume("<");let L=[],Z=!1;if(c.consume("infer")){Z=!0;let ue=c.parseIntermediateType($.SYMBOL);if(ue.type!=="JsdocTypeName")throw new a(ue,"A typescript asserts always has to have a name on the left side.");L.push(ue)}else do L.push(c.parseType($.PARAMETER_LIST));while(c.consume(","));if(!c.consume(">"))throw new Error("Unterminated generic parameter list");return Object.assign(Object.assign({type:"JsdocTypeGeneric",left:g(v),elements:L},Z?{infer:!0}:{}),{meta:{brackets:"angle",dot:D}})}}),he=Y({name:"unionParslet",accept:c=>c==="|",precedence:$.UNION,parseInfix:(c,v)=>{c.consume("|");let D=[];do D.push(c.parseType($.UNION));while(c.consume("|"));return{type:"JsdocTypeUnion",elements:[g(v),...D]}}}),se=[W,ne,we,Pe,X,G,ie({allowTrailingComma:!0}),fe,he,ne];function xe({allowSquareBracketsOnAnyType:c,allowJsdocNamePaths:v,pathGrammar:D}){return function(L,Z,ue){if(ue==null||Z>=$.NAME_PATH)return null;let me=L.lexer.current.type,ve=L.lexer.next.type;if(!(me==="."&&ve!=="<"||me==="["&&(c||ue.type==="JsdocTypeName")||v&&(me==="~"||me==="#")))return null;let $e,et=!1;L.consume(".")?$e="property":L.consume("[")?($e="property-brackets",et=!0):L.consume("~")?$e="inner":(L.consume("#"),$e="instance");let jt=D!==null?new k(D,L.lexer,L):L,St=jt.parseIntermediateType($.NAME_PATH);L.acceptLexerState(jt);let _r;switch(St.type){case"JsdocTypeName":_r={type:"JsdocTypeProperty",value:St.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":_r={type:"JsdocTypeProperty",value:St.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":_r={type:"JsdocTypeProperty",value:St.value,meta:{quote:St.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(St.specialType==="event")_r=St;else throw new a(St,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new a(St,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(et&&!L.consume("]")){let Ri=L.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Ri.type}' with text '${Ri.text}'`)}return{type:"JsdocTypeNamePath",left:g(ue),right:_r,pathType:$e}}}function Se({allowedAdditionalTokens:c}){return Y({name:"nameParslet",accept:v=>v==="Identifier"||v==="this"||v==="new"||c.includes(v),parsePrefix:v=>{let{type:D,text:L}=v.lexer.current;return v.consume(D),{type:"JsdocTypeName",value:L}}})}let je=Y({name:"stringValueParslet",accept:c=>c==="StringValue",parsePrefix:c=>{let v=c.lexer.current.text;return c.consume("StringValue"),{type:"JsdocTypeStringValue",value:v.slice(1,-1),meta:{quote:v[0]==="'"?"single":"double"}}}});function Q({pathGrammar:c,allowedTypes:v}){return Y({name:"specialNamePathParslet",accept:D=>v.includes(D),parsePrefix:D=>{let L=D.lexer.current.type;if(D.consume(L),!D.consume(":"))return{type:"JsdocTypeName",value:L};let Z,ue=D.lexer.current;if(D.consume("StringValue"))Z={type:"JsdocTypeSpecialNamePath",value:ue.text.slice(1,-1),specialType:L,meta:{quote:ue.text[0]==="'"?"single":"double"}};else{let $e="",et=["Identifier","@","/"];for(;et.some(jt=>D.consume(jt));)$e+=ue.text,ue=D.lexer.current;Z={type:"JsdocTypeSpecialNamePath",value:$e,specialType:L,meta:{quote:void 0}}}let me=new k(c,D.lexer,D),ve=me.parseInfixIntermediateType(Z,$.ALL);return D.acceptLexerState(me),g(ve)}})}let ye=[Se({allowedAdditionalTokens:["external","module"]}),je,we,xe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Ae=[...ye,Q({allowedTypes:["event"],pathGrammar:ye})];function Re(c){let v;if(c.type==="JsdocTypeParameterList")v=c.elements;else if(c.type==="JsdocTypeParenthesis")v=[c.element];else throw new a(c);return v.map(D=>w(D))}function Te(c){let v=Re(c);if(v.some(D=>D.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return v}function Oe({allowNamedParameters:c,allowNoReturnType:v,allowWithoutParenthesis:D,allowNewAsFunctionKeyword:L}){return Y({name:"functionParslet",accept:(Z,ue)=>Z==="function"||L&&Z==="new"&&ue==="(",parsePrefix:Z=>{let ue=Z.consume("new");Z.consume("function");let me=Z.lexer.current.type==="(";if(!me){if(!D)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ve={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:ue,parenthesis:me},$e=Z.parseIntermediateType($.FUNCTION);if(c===void 0)ve.parameters=Te($e);else{if(ue&&$e.type==="JsdocTypeFunction"&&$e.arrow)return ve=$e,ve.constructor=!0,ve;ve.parameters=Re($e);for(let et of ve.parameters)if(et.type==="JsdocTypeKeyValue"&&!c.includes(et.key))throw new Error(`only allowed named parameters are ${c.join(", ")} but got ${et.type}`)}if(Z.consume(":"))ve.returnType=Z.parseType($.PREFIX);else if(!v)throw new Error("function is missing return type");return ve}})}function Ie({allowPostfix:c,allowEnclosingBrackets:v}){return Y({name:"variadicParslet",accept:D=>D==="...",precedence:$.PREFIX,parsePrefix:D=>{D.consume("...");let L=v&&D.consume("[");try{let Z=D.parseType($.PREFIX);if(L&&!D.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:g(Z),meta:{position:"prefix",squareBrackets:L}}}catch(Z){if(Z instanceof i){if(L)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw Z}},parseInfix:c?(D,L)=>(D.consume("..."),{type:"JsdocTypeVariadic",element:g(L),meta:{position:"suffix",squareBrackets:!1}}):void 0})}let Ve=Y({name:"symbolParslet",accept:c=>c==="(",precedence:$.SYMBOL,parseInfix:(c,v)=>{if(v.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");c.consume("(");let D={type:"JsdocTypeSymbol",value:v.value};if(!c.consume(")")){let L=c.parseIntermediateType($.SYMBOL);if(D.element=j(L),!c.consume(")"))throw new Error("Symbol does not end after value")}return D}}),bt=Y({name:"arrayBracketsParslet",precedence:$.ARRAY_BRACKETS,accept:(c,v)=>c==="["&&v==="]",parseInfix:(c,v)=>(c.consume("["),c.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[g(v)],meta:{brackets:"square",dot:!1}})});function Kt({objectFieldGrammar:c,allowKeyTypes:v}){return Y({name:"objectParslet",accept:D=>D==="{",parsePrefix:D=>{D.consume("{");let L={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!D.consume("}")){let Z,ue=new k(c,D.lexer,D);for(;;){ue.acceptLexerState(D);let me=ue.parseIntermediateType($.OBJECT);D.acceptLexerState(ue),me===void 0&&v&&(me=D.parseIntermediateType($.OBJECT));let ve=!1;if(me.type==="JsdocTypeNullable"&&(ve=!0,me=me.element),me.type==="JsdocTypeNumber"||me.type==="JsdocTypeName"||me.type==="JsdocTypeStringValue"){let $e;me.type==="JsdocTypeStringValue"&&($e=me.meta.quote),L.elements.push({type:"JsdocTypeObjectField",key:me.value.toString(),right:void 0,optional:ve,readonly:!1,meta:{quote:$e}})}else if(me.type==="JsdocTypeObjectField"||me.type==="JsdocTypeJsdocObjectField")L.elements.push(me);else throw new a(me);if(D.lexer.current.startOfLine)Z="linebreak",D.consume(",")||D.consume(";");else if(D.consume(","))Z="comma";else if(D.consume(";"))Z="semicolon";else break;if(D.lexer.current.type==="}")break}if(L.meta.separator=Z??"comma",Z==="linebreak"&&(L.meta.propertyIndent=" "),!D.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return L}})}function Ge({allowSquaredProperties:c,allowKeyTypes:v,allowReadonly:D,allowOptional:L}){return Y({name:"objectFieldParslet",precedence:$.KEY_VALUE,accept:Z=>Z===":",parseInfix:(Z,ue)=>{var me;let ve=!1,$e=!1;L&&ue.type==="JsdocTypeNullable"&&(ve=!0,ue=ue.element),D&&ue.type==="JsdocTypeReadonlyProperty"&&($e=!0,ue=ue.element);let et=(me=Z.baseParser)!==null&&me!==void 0?me:Z;if(et.acceptLexerState(Z),ue.type==="JsdocTypeNumber"||ue.type==="JsdocTypeName"||ue.type==="JsdocTypeStringValue"||U(ue)){if(U(ue)&&!c)throw new a(ue);et.consume(":");let jt;ue.type==="JsdocTypeStringValue"&&(jt=ue.meta.quote);let St=et.parseType($.KEY_VALUE);return Z.acceptLexerState(et),{type:"JsdocTypeObjectField",key:U(ue)?ue:ue.value.toString(),right:St,optional:ve,readonly:$e,meta:{quote:jt}}}else{if(!v)throw new a(ue);et.consume(":");let jt=et.parseType($.KEY_VALUE);return Z.acceptLexerState(et),{type:"JsdocTypeJsdocObjectField",left:g(ue),right:jt}}}})}function xt({allowOptional:c,allowVariadic:v}){return Y({name:"keyValueParslet",precedence:$.KEY_VALUE,accept:D=>D===":",parseInfix:(D,L)=>{let Z=!1,ue=!1;if(c&&L.type==="JsdocTypeNullable"&&(Z=!0,L=L.element),v&&L.type==="JsdocTypeVariadic"&&L.element!==void 0&&(ue=!0,L=L.element),L.type!=="JsdocTypeName")throw new a(L);D.consume(":");let me=D.parseType($.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:L.value,right:me,optional:Z,variadic:ue}}})}let rt=[...se,Oe({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),je,Q({allowedTypes:["module","external","event"],pathGrammar:Ae}),Ie({allowEnclosingBrackets:!0,allowPostfix:!0}),Se({allowedAdditionalTokens:["keyof"]}),Ve,bt,xe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae})],Ar=[...rt,Kt({objectFieldGrammar:[Se({allowedAdditionalTokens:["typeof","module","in"]}),Ge({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...rt],allowKeyTypes:!0}),xt({allowOptional:!0,allowVariadic:!0})],Yt=Y({name:"typeOfParslet",accept:c=>c==="typeof",parsePrefix:c=>(c.consume("typeof"),{type:"JsdocTypeTypeof",element:c.parseType($.KEY_OF_TYPE_OF)})}),be=[Se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),W,ne,je,we,Ge({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],At=[...se,Kt({allowKeyTypes:!1,objectFieldGrammar:be}),Se({allowedAdditionalTokens:["event","external","in"]}),Yt,Oe({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),Ie({allowEnclosingBrackets:!1,allowPostfix:!1}),Se({allowedAdditionalTokens:["keyof"]}),Q({allowedTypes:["module"],pathGrammar:Ae}),xe({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Ae}),xt({allowOptional:!1,allowVariadic:!1}),Ve],Be=Y({name:"assertsParslet",accept:c=>c==="asserts",parsePrefix:c=>{c.consume("asserts");let v=c.parseIntermediateType($.SYMBOL);if(v.type!=="JsdocTypeName")throw new a(v,"A typescript asserts always has to have a name on the left side.");return c.consume("is")?{type:"JsdocTypeAsserts",left:v,right:g(c.parseIntermediateType($.INFIX))}:{type:"JsdocTypeAssertsPlain",element:v}}});function Ft({allowQuestionMark:c}){return Y({name:"tupleParslet",accept:v=>v==="[",parsePrefix:v=>{v.consume("[");let D={type:"JsdocTypeTuple",elements:[]};if(v.consume("]"))return D;let L=v.parseIntermediateType($.ALL);if(L.type==="JsdocTypeParameterList"?L.elements[0].type==="JsdocTypeKeyValue"?D.elements=L.elements.map(R):D.elements=L.elements.map(g):L.type==="JsdocTypeKeyValue"?D.elements=[R(L)]:D.elements=[g(L)],!v.consume("]"))throw new Error("Unterminated '['");if(D.elements.some(Z=>Z.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return D}})}let ut=Y({name:"keyOfParslet",accept:c=>c==="keyof",parsePrefix:c=>(c.consume("keyof"),{type:"JsdocTypeKeyof",element:g(c.parseType($.KEY_OF_TYPE_OF))})}),Xr=Y({name:"importParslet",accept:c=>c==="import",parsePrefix:c=>{if(c.consume("import"),!c.consume("("))throw new Error("Missing parenthesis after import keyword");let v=c.parseType($.PREFIX);if(v.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!c.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:v}}}),an=Y({name:"readonlyPropertyParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:c.parseIntermediateType($.KEY_VALUE)})}),Rt=Y({name:"arrowFunctionParslet",precedence:$.ARROW,accept:c=>c==="=>",parseInfix:(c,v)=>(c.consume("=>"),{type:"JsdocTypeFunction",parameters:Re(v).map(C),arrow:!0,constructor:!1,parenthesis:!0,returnType:c.parseType($.OBJECT)})}),Le=Y({name:"genericArrowFunctionParslet",accept:c=>c==="<",parsePrefix:c=>{let v=[];c.consume("<");do{let L,Z=c.parseIntermediateType($.SYMBOL);if(Z.type==="JsdocTypeOptional"&&(Z=Z.element,L=c.parseType($.SYMBOL)),Z.type!=="JsdocTypeName")throw new a(Z);let ue;c.consume("extends")&&(ue=c.parseType($.SYMBOL),ue.type==="JsdocTypeOptional"&&(ue=ue.element,L=c.parseType($.SYMBOL)));let me={type:"JsdocTypeTypeParameter",name:Z};if(ue!==void 0&&(me.constraint=ue),L!==void 0&&(me.defaultValue=L),v.push(me),c.consume(">"))break}while(c.consume(","));let D=c.parseIntermediateType($.SYMBOL);return D.typeParameters=v,D}}),wr=Y({name:"intersectionParslet",accept:c=>c==="&",precedence:$.INTERSECTION,parseInfix:(c,v)=>{c.consume("&");let D=[];do D.push(c.parseType($.INTERSECTION));while(c.consume("&"));return{type:"JsdocTypeIntersection",elements:[g(v),...D]}}}),mt=Y({name:"predicateParslet",precedence:$.INFIX,accept:c=>c==="is",parseInfix:(c,v)=>{if(v.type!=="JsdocTypeName")throw new a(v,"A typescript predicate always has to have a name on the left side.");return c.consume("is"),{type:"JsdocTypePredicate",left:v,right:g(c.parseIntermediateType($.INFIX))}}}),ar=Y({name:"objectSquareBracketPropertyParslet",accept:c=>c==="[",parsePrefix:c=>{if(c.baseParser===void 0)throw new Error("Only allowed inside object grammar");c.consume("[");let v=c.lexer.current.text;c.consume("Identifier");let D;if(c.consume(":")){let L=c.baseParser;L.acceptLexerState(c),D={type:"JsdocTypeIndexSignature",key:v,right:L.parseType($.INDEX_BRACKETS)},c.acceptLexerState(L)}else if(c.consume("in")){let L=c.baseParser;L.acceptLexerState(c),D={type:"JsdocTypeMappedType",key:v,right:L.parseType($.ARRAY_BRACKETS)},c.acceptLexerState(L)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!c.consume("]"))throw new Error("Unterminated square brackets");return D}}),Sn=Y({name:"readonlyArrayParslet",accept:c=>c==="readonly",parsePrefix:c=>(c.consume("readonly"),{type:"JsdocTypeReadonlyArray",element:B(c.parseIntermediateType($.ALL))})}),ct=Y({name:"conditionalParslet",precedence:$.INFIX,accept:c=>c==="extends",parseInfix:(c,v)=>{c.consume("extends");let D=c.parseType($.KEY_OF_TYPE_OF).element,L=c.parseType($.INFIX);return c.consume(":"),{type:"JsdocTypeConditional",checksType:g(v),extendsType:D,trueType:L,falseType:c.parseType($.INFIX)}}}),Nt=[an,Se({allowedAdditionalTokens:["typeof","module","keyof","event","external","in"]}),W,ne,je,we,Ge({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ar],Sr=[...se,Kt({allowKeyTypes:!1,objectFieldGrammar:Nt}),Sn,Yt,ut,Xr,je,Oe({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Ft({allowQuestionMark:!1}),Ie({allowEnclosingBrackets:!1,allowPostfix:!1}),Be,ct,Se({allowedAdditionalTokens:["event","external","in"]}),Q({allowedTypes:["module"],pathGrammar:Ae}),bt,Rt,Le,xe({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Ae}),wr,mt,xt({allowVariadic:!0,allowOptional:!0})];function Dt(c,v){switch(v){case"closure":return new k(At,c).parse();case"jsdoc":return new k(Ar,c).parse();case"typescript":return new k(Sr,c).parse()}}function dt(c,v=["typescript","closure","jsdoc"]){let D;for(let L of v)try{return Dt(c,L)}catch(Z){D=Z}throw D}function Xt(c,v){let D=c[v.type];if(D===void 0)throw new Error(`In this set of transform rules exists no rule for type ${v.type}.`);return D(v,L=>Xt(c,L))}function Ne(c){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function T(c){let v={params:[]};for(let D of c.parameters)D.type==="JsdocTypeKeyValue"?D.key==="this"?v.this=D.right:D.key==="new"?v.new=D.right:v.params.push(D):v.params.push(D);return v}function M(c,v,D){return c==="prefix"?D+v:v+D}function F(c,v){switch(v){case"double":return`"${c}"`;case"single":return`'${c}'`;case void 0:return c}}function O(){return{JsdocTypeParenthesis:(c,v)=>`(${c.element!==void 0?v(c.element):""})`,JsdocTypeKeyof:(c,v)=>`keyof ${v(c.element)}`,JsdocTypeFunction:(c,v)=>{var D;if(c.arrow){if(c.returnType===void 0)throw new Error("Arrow function needs a return type.");let L=`${c.typeParameters!==void 0?`<${(D=c.typeParameters.map(v).join(", "))!==null&&D!==void 0?D:""}>`:""}(${c.parameters.map(v).join(", ")}) => ${v(c.returnType)}`;return c.constructor&&(L="new "+L),L}else{let L=c.constructor?"new":"function";return c.parenthesis&&(L+=`(${c.parameters.map(v).join(", ")})`,c.returnType!==void 0&&(L+=`: ${v(c.returnType)}`)),L}},JsdocTypeName:c=>c.value,JsdocTypeTuple:(c,v)=>`[${c.elements.map(v).join(", ")}]`,JsdocTypeVariadic:(c,v)=>c.meta.position===void 0?"...":M(c.meta.position,v(c.element),"..."),JsdocTypeNamePath:(c,v)=>{let D=v(c.left),L=v(c.right);switch(c.pathType){case"inner":return`${D}~${L}`;case"instance":return`${D}#${L}`;case"property":return`${D}.${L}`;case"property-brackets":return`${D}[${L}]`}},JsdocTypeStringValue:c=>F(c.value,c.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(c,v)=>{if(c.meta.brackets==="square"){let D=c.elements[0],L=v(D);return D.type==="JsdocTypeUnion"||D.type==="JsdocTypeIntersection"?`(${L})[]`:`${L}[]`}else return`${v(c.left)}${c.meta.dot?".":""}<${c.infer===!0?"infer ":""}${c.elements.map(v).join(", ")}>`},JsdocTypeImport:(c,v)=>`import(${v(c.element)})`,JsdocTypeObjectField:(c,v)=>{let D="";return c.readonly&&(D+="readonly "),typeof c.key=="string"?D+=F(c.key,c.meta.quote):D+=v(c.key),c.optional&&(D+="?"),c.right===void 0?D:D+`: ${v(c.right)}`},JsdocTypeJsdocObjectField:(c,v)=>`${v(c.left)}: ${v(c.right)}`,JsdocTypeKeyValue:(c,v)=>{let D=c.key;return c.optional&&(D+="?"),c.variadic&&(D="..."+D),c.right===void 0?D:D+`: ${v(c.right)}`},JsdocTypeSpecialNamePath:c=>`${c.specialType}:${F(c.value,c.meta.quote)}`,JsdocTypeNotNullable:(c,v)=>M(c.meta.position,v(c.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(c,v)=>M(c.meta.position,v(c.element),"?"),JsdocTypeNumber:c=>c.value.toString(),JsdocTypeObject:(c,v)=>{var D,L;return`{${(c.meta.separator==="linebreak"&&c.elements.length>1?`
1064
+ `+((D=c.meta.propertyIndent)!==null&&D!==void 0?D:""):"")+c.elements.map(v).join(c.meta.separator==="comma"?", ":c.meta.separator==="linebreak"?`
1065
+ `+((L=c.meta.propertyIndent)!==null&&L!==void 0?L:""):"; ")+(c.meta.separator==="linebreak"&&c.elements.length>1?`
1066
+ `:"")}}`},JsdocTypeOptional:(c,v)=>M(c.meta.position,v(c.element),"="),JsdocTypeSymbol:(c,v)=>`${c.value}(${c.element!==void 0?v(c.element):""})`,JsdocTypeTypeof:(c,v)=>`typeof ${v(c.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(c,v)=>c.elements.map(v).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(c,v)=>c.elements.map(v).join(" & "),JsdocTypeProperty:c=>F(c.value,c.meta.quote),JsdocTypePredicate:(c,v)=>`${v(c.left)} is ${v(c.right)}`,JsdocTypeIndexSignature:(c,v)=>`[${c.key}: ${v(c.right)}]`,JsdocTypeMappedType:(c,v)=>`[${c.key} in ${v(c.right)}]`,JsdocTypeAsserts:(c,v)=>`asserts ${v(c.left)} is ${v(c.right)}`,JsdocTypeReadonlyArray:(c,v)=>`readonly ${v(c.element)}`,JsdocTypeAssertsPlain:(c,v)=>`asserts ${v(c.element)}`,JsdocTypeConditional:(c,v)=>`${v(c.checksType)} extends ${v(c.extendsType)} ? ${v(c.trueType)} : ${v(c.falseType)}`,JsdocTypeTypeParameter:(c,v)=>`${v(c.name)}${c.constraint!==void 0?` extends ${v(c.constraint)}`:""}${c.defaultValue!==void 0?` = ${v(c.defaultValue)}`:""}`}}let J=O();function ae(c){return Xt(J,c)}let le=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function pe(c){let v={type:"NameExpression",name:c};return le.includes(c)&&(v.reservedWord=!0),v}let Ce={JsdocTypeOptional:(c,v)=>{let D=v(c.element);return D.optional=!0,D},JsdocTypeNullable:(c,v)=>{let D=v(c.element);return D.nullable=!0,D},JsdocTypeNotNullable:(c,v)=>{let D=v(c.element);return D.nullable=!1,D},JsdocTypeVariadic:(c,v)=>{if(c.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let D=v(c.element);return D.repeatable=!0,D},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:c=>pe(F(c.value,c.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(c,v)=>{let D=T(c),L={type:"FunctionType",params:D.params.map(v)};return D.this!==void 0&&(L.this=v(D.this)),D.new!==void 0&&(L.new=v(D.new)),c.returnType!==void 0&&(L.result=v(c.returnType)),L},JsdocTypeGeneric:(c,v)=>({type:"TypeApplication",applications:c.elements.map(D=>v(D)),expression:v(c.left)}),JsdocTypeSpecialNamePath:c=>pe(c.specialType+":"+F(c.value,c.meta.quote)),JsdocTypeName:c=>c.value!=="function"?pe(c.value):{type:"FunctionType",params:[]},JsdocTypeNumber:c=>pe(c.value.toString()),JsdocTypeObject:(c,v)=>{let D={type:"RecordType",fields:[]};for(let L of c.elements)L.type!=="JsdocTypeObjectField"&&L.type!=="JsdocTypeJsdocObjectField"?D.fields.push({type:"FieldType",key:v(L),value:void 0}):D.fields.push(v(L));return D},JsdocTypeObjectField:(c,v)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:pe(F(c.key,c.meta.quote)),value:c.right===void 0?void 0:v(c.right)}},JsdocTypeJsdocObjectField:(c,v)=>({type:"FieldType",key:v(c.left),value:v(c.right)}),JsdocTypeUnion:(c,v)=>({type:"TypeUnion",elements:c.elements.map(D=>v(D))}),JsdocTypeKeyValue:(c,v)=>({type:"FieldType",key:pe(c.key),value:c.right===void 0?void 0:v(c.right)}),JsdocTypeNamePath:(c,v)=>{let D=v(c.left),L;c.right.type==="JsdocTypeSpecialNamePath"?L=v(c.right).name:L=F(c.right.value,c.right.meta.quote);let Z=c.pathType==="inner"?"~":c.pathType==="instance"?"#":".";return pe(`${D.name}${Z}${L}`)},JsdocTypeSymbol:c=>{let v="",D=c.element,L=!1;return D?.type==="JsdocTypeVariadic"&&(D.meta.position==="prefix"?v="...":L=!0,D=D.element),D?.type==="JsdocTypeName"?v+=D.value:D?.type==="JsdocTypeNumber"&&(v+=D.value.toString()),L&&(v+="..."),pe(`${c.value}(${v})`)},JsdocTypeParenthesis:(c,v)=>v(g(c.element)),JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeImport:Ne,JsdocTypeKeyof:Ne,JsdocTypeTuple:Ne,JsdocTypeTypeof:Ne,JsdocTypeIntersection:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function He(c){return Xt(Ce,c)}function ge(c){switch(c){case void 0:return"none";case"single":return"single";case"double":return"double"}}function Gt(c){switch(c){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function er(c,v){return v.length===2?{type:c,left:v[0],right:v[1]}:{type:c,left:v[0],right:er(c,v.slice(1))}}let _n={JsdocTypeOptional:(c,v)=>({type:"OPTIONAL",value:v(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(c,v)=>({type:"NULLABLE",value:v(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(c,v)=>({type:"NOT_NULLABLE",value:v(c.element),meta:{syntax:c.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(c,v)=>{let D={type:"VARIADIC",meta:{syntax:c.meta.position==="prefix"?"PREFIX_DOTS":c.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return c.element!==void 0&&(D.value=v(c.element)),D},JsdocTypeName:c=>({type:"NAME",name:c.value}),JsdocTypeTypeof:(c,v)=>({type:"TYPE_QUERY",name:v(c.element)}),JsdocTypeTuple:(c,v)=>({type:"TUPLE",entries:c.elements.map(v)}),JsdocTypeKeyof:(c,v)=>({type:"KEY_QUERY",value:v(c.element)}),JsdocTypeImport:c=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:ge(c.element.meta.quote),string:c.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(c,v)=>{let D=T(c),L={type:c.arrow?"ARROW":"FUNCTION",params:D.params.map(Z=>{if(Z.type==="JsdocTypeKeyValue"){if(Z.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:Z.key,typeName:v(Z.right)}}else return v(Z)}),new:null,returns:null};return D.this!==void 0?L.this=v(D.this):c.arrow||(L.this=null),D.new!==void 0&&(L.new=v(D.new)),c.returnType!==void 0&&(L.returns=v(c.returnType)),L},JsdocTypeGeneric:(c,v)=>{let D={type:"GENERIC",subject:v(c.left),objects:c.elements.map(v),meta:{syntax:c.meta.brackets==="square"?"SQUARE_BRACKET":c.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return c.meta.brackets==="square"&&c.elements[0].type==="JsdocTypeFunction"&&!c.elements[0].parenthesis&&(D.objects[0]={type:"NAME",name:"function"}),D},JsdocTypeObjectField:(c,v)=>{if(typeof c.key!="string")throw new Error("Index signatures and mapped types are not supported");if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:ge(c.meta.quote),value:null,readonly:!1};let D=v(c.right);return c.optional&&(D={type:"OPTIONAL",value:D,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key.toString(),quoteStyle:ge(c.meta.quote),value:D,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(c,v)=>{if(c.right===void 0)return{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:null,readonly:!1};let D=v(c.right);return c.optional&&(D={type:"OPTIONAL",value:D,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:c.key,quoteStyle:"none",value:D,readonly:!1}},JsdocTypeObject:(c,v)=>{let D=[];for(let L of c.elements)(L.type==="JsdocTypeObjectField"||L.type==="JsdocTypeJsdocObjectField")&&D.push(v(L));return{type:"RECORD",entries:D}},JsdocTypeSpecialNamePath:c=>{if(c.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${c.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:ge(c.meta.quote),path:c.value}}},JsdocTypeNamePath:(c,v)=>{let D=!1,L,Z;c.right.type==="JsdocTypeSpecialNamePath"&&c.right.specialType==="event"?(D=!0,L=c.right.value,Z=ge(c.right.meta.quote)):(L=c.right.value,Z=ge(c.right.meta.quote));let ue={type:Gt(c.pathType),owner:v(c.left),name:L,quoteStyle:Z,hasEventPrefix:D};if(ue.owner.type==="MODULE"){let me=ue.owner;return ue.owner=ue.owner.value,me.value=ue,me}else return ue},JsdocTypeUnion:(c,v)=>er("UNION",c.elements.map(v)),JsdocTypeParenthesis:(c,v)=>({type:"PARENTHESIS",value:v(g(c.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:c=>({type:"STRING_VALUE",quoteStyle:ge(c.meta.quote),string:c.value}),JsdocTypeIntersection:(c,v)=>er("INTERSECTION",c.elements.map(v)),JsdocTypeNumber:c=>({type:"NUMBER_VALUE",number:c.value.toString()}),JsdocTypeSymbol:Ne,JsdocTypeProperty:Ne,JsdocTypePredicate:Ne,JsdocTypeMappedType:Ne,JsdocTypeIndexSignature:Ne,JsdocTypeAsserts:Ne,JsdocTypeReadonlyArray:Ne,JsdocTypeAssertsPlain:Ne,JsdocTypeConditional:Ne,JsdocTypeTypeParameter:Ne};function Xn(c){return Xt(_n,c)}function cr(){return{JsdocTypeIntersection:(c,v)=>({type:"JsdocTypeIntersection",elements:c.elements.map(v)}),JsdocTypeGeneric:(c,v)=>({type:"JsdocTypeGeneric",left:v(c.left),elements:c.elements.map(v),meta:{dot:c.meta.dot,brackets:c.meta.brackets}}),JsdocTypeNullable:c=>c,JsdocTypeUnion:(c,v)=>({type:"JsdocTypeUnion",elements:c.elements.map(v)}),JsdocTypeUnknown:c=>c,JsdocTypeUndefined:c=>c,JsdocTypeTypeof:(c,v)=>({type:"JsdocTypeTypeof",element:v(c.element)}),JsdocTypeSymbol:(c,v)=>{let D={type:"JsdocTypeSymbol",value:c.value};return c.element!==void 0&&(D.element=v(c.element)),D},JsdocTypeOptional:(c,v)=>({type:"JsdocTypeOptional",element:v(c.element),meta:{position:c.meta.position}}),JsdocTypeObject:(c,v)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:c.elements.map(v)}),JsdocTypeNumber:c=>c,JsdocTypeNull:c=>c,JsdocTypeNotNullable:(c,v)=>({type:"JsdocTypeNotNullable",element:v(c.element),meta:{position:c.meta.position}}),JsdocTypeSpecialNamePath:c=>c,JsdocTypeObjectField:(c,v)=>({type:"JsdocTypeObjectField",key:c.key,right:c.right===void 0?void 0:v(c.right),optional:c.optional,readonly:c.readonly,meta:c.meta}),JsdocTypeJsdocObjectField:(c,v)=>({type:"JsdocTypeJsdocObjectField",left:v(c.left),right:v(c.right)}),JsdocTypeKeyValue:(c,v)=>({type:"JsdocTypeKeyValue",key:c.key,right:c.right===void 0?void 0:v(c.right),optional:c.optional,variadic:c.variadic}),JsdocTypeImport:(c,v)=>({type:"JsdocTypeImport",element:v(c.element)}),JsdocTypeAny:c=>c,JsdocTypeStringValue:c=>c,JsdocTypeNamePath:c=>c,JsdocTypeVariadic:(c,v)=>{let D={type:"JsdocTypeVariadic",meta:{position:c.meta.position,squareBrackets:c.meta.squareBrackets}};return c.element!==void 0&&(D.element=v(c.element)),D},JsdocTypeTuple:(c,v)=>({type:"JsdocTypeTuple",elements:c.elements.map(v)}),JsdocTypeName:c=>c,JsdocTypeFunction:(c,v)=>{let D={type:"JsdocTypeFunction",arrow:c.arrow,parameters:c.parameters.map(v),constructor:c.constructor,parenthesis:c.parenthesis};return c.returnType!==void 0&&(D.returnType=v(c.returnType)),D},JsdocTypeKeyof:(c,v)=>({type:"JsdocTypeKeyof",element:v(c.element)}),JsdocTypeParenthesis:(c,v)=>({type:"JsdocTypeParenthesis",element:v(c.element)}),JsdocTypeProperty:c=>c,JsdocTypePredicate:(c,v)=>({type:"JsdocTypePredicate",left:v(c.left),right:v(c.right)}),JsdocTypeIndexSignature:(c,v)=>({type:"JsdocTypeIndexSignature",key:c.key,right:v(c.right)}),JsdocTypeMappedType:(c,v)=>({type:"JsdocTypeMappedType",key:c.key,right:v(c.right)}),JsdocTypeAsserts:(c,v)=>({type:"JsdocTypeAsserts",left:v(c.left),right:v(c.right)}),JsdocTypeReadonlyArray:(c,v)=>({type:"JsdocTypeReadonlyArray",element:v(c.element)}),JsdocTypeAssertsPlain:(c,v)=>({type:"JsdocTypeAssertsPlain",element:v(c.element)}),JsdocTypeConditional:(c,v)=>({type:"JsdocTypeConditional",checksType:v(c.checksType),extendsType:v(c.extendsType),trueType:v(c.trueType),falseType:v(c.falseType)}),JsdocTypeTypeParameter:(c,v)=>({type:"JsdocTypeTypeParameter",name:v(c.name),constraint:c.constraint!==void 0?v(c.constraint):void 0,defaultValue:c.defaultValue!==void 0?v(c.defaultValue):void 0})}}let Qn={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"],JsdocTypeReadonlyArray:["element"],JsdocTypeAssertsPlain:["element"],JsdocTypeConditional:["checksType","extendsType","trueType","falseType"],JsdocTypeTypeParameter:["name","constraint","defaultValue"]};function Cn(c,v,D,L,Z){L?.(c,v,D);let ue=Qn[c.type];for(let me of ue){let ve=c[me];if(ve!==void 0)if(Array.isArray(ve))for(let $e of ve)Cn($e,c,me,L,Z);else Cn(ve,c,me,L,Z)}Z?.(c,v,D)}function da(c,v,D){Cn(c,void 0,void 0,v,D)}r.catharsisTransform=He,r.identityTransformRules=cr,r.jtpTransform=Xn,r.parse=Dt,r.stringify=ae,r.stringifyRules=O,r.transform=Xt,r.traverse=da,r.tryParse=dt,r.visitorKeys=Qn}))}});const{UnknownArgTypesError:uY}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var lY=e=>e.name==="literal",cY=e=>e.value.replace(/['|"]/g,""),dY=e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Va(r.value)}),{name:"object",value:t};default:throw new uY({type:e,language:"Flow"})}},Va=e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Va)};case"signature":return{...n,...dY(e)};case"union":return e.elements?.every(lY)?{...n,name:"enum",value:e.elements?.map(cY)}:{...n,name:t,value:e.elements?.map(Va)};case"intersection":return{...n,name:t,value:e.elements?.map(Va)};default:return{...n,name:"other",value:t}}},KR=/^['"]|['"]$/g,pY=e=>e.replace(KR,""),fY=e=>KR.test(e),YR=e=>{let t=pY(e);return fY(e)||Number.isNaN(Number(t))?t:Number(t)},hY=/^\(.*\) => /,Da=e=>{let{name:t,raw:r,computed:n,value:i}=e,o={};switch(typeof r<"u"&&(o.raw=r),t){case"enum":{let s=n?i:i.map(l=>YR(l.value));return{...o,name:t,value:s}}case"string":case"number":case"symbol":return{...o,name:t};case"func":return{...o,name:"function"};case"bool":case"boolean":return{...o,name:"boolean"};case"arrayOf":case"array":return{...o,name:"array",value:i&&Da(i)};case"object":return{...o,name:t};case"objectOf":return{...o,name:t,value:Da(i)};case"shape":case"exact":let a=pc(i,s=>Da(s));return{...o,name:"object",value:a};case"union":return{...o,name:"union",value:i.map(s=>Da(s))};default:{if(t?.indexOf("|")>0)try{let u=t.split("|").map(d=>JSON.parse(d));return{...o,name:"enum",value:u}}catch{}let s=i?`${t}(${i})`:t,l=hY.test(t)?"function":"other";return{...o,name:l,value:s}}}};const{UnknownArgTypesError:mY}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Wv=e=>e.name==="literal",yY=e=>e.name==="undefined",gY=e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=Ua(r.value)}),{name:"object",value:t};default:throw new mY({type:e,language:"Typescript"})}},Ua=e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(Ua)};case"signature":return{...n,...gY(e)};case"union":{let i=e.elements.filter(o=>!yY(o));if(i.length>0&&i.every(Wv)){let o=i.filter(Wv);return{...n,name:"enum",value:o.map(a=>YR(a.value))}}return{...n,name:t,value:e.elements.map(Ua)}}case"intersection":return{...n,name:t,value:e.elements.map(Ua)};default:return{...n,name:"other",value:t}}},vy=e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return Da(t);if(r!=null)return Ua(r);if(n!=null)return Va(n)}catch(i){console.error(i)}return null},vf=(e=>(e.JAVASCRIPT="JavaScript",e.FLOW="Flow",e.TYPESCRIPT="TypeScript",e.UNKNOWN="Unknown",e))(vf||{}),bY=["null","undefined"];function Ey(e){return bY.some(t=>t===e)}var vY=e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)};function Ay(e){return!!e.__docgenInfo}function EY(e){return e!=null&&Object.keys(e).length>0}function Ef(e,t){return Ay(e)?e.__docgenInfo[t]:null}function AY(e){return Ay(e)?vY(e.__docgenInfo.description):""}var gi;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(gi=gi||(gi={}));function wY(e){return/^\s+$/.test(e)}function SY(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}function Oo(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}function _Y(e){return e.split(/\n/)}function CY(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}function TY(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}var xY=/^@\S+/;function RY({fence:e="```"}={}){let t=DY(e),r=(n,i)=>t(n)?!i:i;return function(n){let i=[[]],o=!1;for(let a of n)xY.test(a.tokens.description)&&!o?i.push([a]):i[i.length-1].push(a),o=r(a.tokens.description,o);return i}}function DY(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}function PY({startLine:e=0,markers:t=gi}={}){let r=null,n=e;return function(i){let o=i,a=TY();if([a.lineEnd,o]=SY(o),[a.start,o]=Oo(o),r===null&&o.startsWith(t.start)&&!o.startsWith(t.nostart)&&(r=[],a.delimiter=o.slice(0,t.start.length),o=o.slice(t.start.length),[a.postDelimiter,o]=Oo(o)),r===null)return n++,null;let s=o.trimRight().endsWith(t.end);if(a.delimiter===""&&o.startsWith(t.delim)&&!o.startsWith(t.end)&&(a.delimiter=t.delim,o=o.slice(t.delim.length),[a.postDelimiter,o]=Oo(o)),s){let l=o.trimRight();a.end=o.slice(l.length-t.end.length),o=l.slice(0,-t.end.length)}if(a.description=o,r.push({number:n,source:i,tokens:a}),n++,s){let l=r.slice();return r=null,l}return null}}function OY({tokenizers:e}){return function(t){var r;let n=CY({source:t});for(let i of e)if(n=i(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n}}function IY(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}function FY(e="compact"){let t=kY(e);return r=>{let n=0,i=[];for(let[s,{tokens:l}]of r.source.entries()){let u="";if(s===0&&l.description[0]!=="{")return r;for(let d of l.description)if(d==="{"&&n++,d==="}"&&n--,u+=d,n===0)break;if(i.push([l,u]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let o=[],a=i[0][0].postDelimiter.length;for(let[s,[l,u]]of i.entries())l.type=u,s>0&&(l.type=l.postDelimiter.slice(a)+u,l.postDelimiter=l.postDelimiter.slice(0,a)),[l.postType,l.description]=Oo(l.description.slice(u.length)),o.push(l.type);return o[0]=o[0].slice(1),o[o.length-1]=o[o.length-1].slice(0,-1),r.type=t(o),r}}var NY=e=>e.trim();function kY(e){return e==="compact"?t=>t.map(NY).join(""):e==="preserve"?t=>t.join(`
1067
+ `):e}var BY=e=>e&&e.startsWith('"')&&e.endsWith('"');function MY(){let e=(t,{tokens:r},n)=>r.type===""?t:n;return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),i=n.split('"');if(i.length>1&&i[0]===""&&i.length%2===1)return t.name=i[1],r.name=`"${i[1]}"`,[r.postName,r.description]=Oo(n.slice(r.name.length)),t;let o=0,a="",s=!1,l;for(let d of n){if(o===0&&wY(d))break;d==="["&&o++,d==="]"&&o--,a+=d}if(o!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let u=a;if(a[0]==="["&&a[a.length-1]==="]"){s=!0,a=a.slice(1,-1);let d=a.split("=");if(a=d[0].trim(),d[1]!==void 0&&(l=d.slice(1).join("=").trim()),a==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(l==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!BY(l)&&/=(?!>)/.test(l))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=s,t.name=a,r.name=u,l!==void 0&&(t.default=l),[r.postName,r.description]=Oo(n.slice(r.name.length)),t}}function jY(e="compact",t=gi){let r=XR(e);return n=>(n.description=r(n.source,t),n)}function XR(e){return e==="compact"?LY:e==="preserve"?VY:e}function LY(e,t=gi){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}var qY=(e,{tokens:t},r)=>t.type===""?e:r,$Y=({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description;function VY(e,t=gi){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(qY,0)),e.map($Y).join(`
1068
+ `)}function UY({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=gi,tokenizers:i=[IY(),FY(r),MY(),jY(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let o=PY({startLine:e,markers:n}),a=RY({fence:t}),s=OY({tokenizers:i}),l=XR(r);return function(u){let d=[];for(let f of _Y(u)){let h=o(f);if(h===null)continue;let m=a(h),b=m.slice(1).map(s);d.push({description:l(m[0],n),tags:b,source:h,problems:b.reduce((y,A)=>y.concat(A.problems),[])})}return d}}function JY(e,t={}){return UY(t)(e)}var wy=aY(sY(),1);function HY(e){return e!=null&&e.includes("@")}function zY(e){let t=`/**
1069
+ `+(e??"").split(`
1070
+ `).map(n=>` * ${n}`).join(`
1071
+ `)+`
1072
+ */`,r=JY(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}var GY={tags:["param","arg","argument","returns","ignore","deprecated"]},WY=(e,t=GY)=>{if(!HY(e))return{includesJsDoc:!1,ignore:!1};let r=zY(e),n=KY(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}};function KY(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let i=XY(n);i!=null&&(r.params==null&&(r.params=[]),r.params.push(i));break}case"deprecated":{let i=QY(n);i!=null&&(r.deprecated=i);break}case"returns":{let i=ZY(n);i!=null&&(r.returns=i);break}}return r}function YY(e){return e.replace(/[\.-]$/,"")}function XY(e){if(!e.name||e.name==="-")return null;let t=eD(e.type);return{name:e.name,type:t,description:ZR(e.description),getPrettyName:()=>YY(e.name),getTypeName:()=>t?tD(t):null}}function QY(e){return e.name?QR(e.name,e.description):null}function QR(e,t){let r=e===""?t:`${e} ${t}`;return ZR(r)}function ZR(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}function ZY(e){let t=eD(e.type);return t?{type:t,description:QR(e.name,e.description),getTypeName:()=>tD(t)}:null}var xi=(0,wy.stringifyRules)(),eX=xi.JsdocTypeObject;xi.JsdocTypeAny=()=>"any";xi.JsdocTypeObject=(e,t)=>`(${eX(e,t)})`;xi.JsdocTypeOptional=(e,t)=>t(e.element);xi.JsdocTypeNullable=(e,t)=>t(e.element);xi.JsdocTypeNotNullable=(e,t)=>t(e.element);xi.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function eD(e){try{return(0,wy.parse)(e,"typescript")}catch{return null}}function tD(e){return(0,wy.transform)(xi,e)}function Sy(e){return e.length>90}function aa(e){return e.length>50}function Je(e,t){return e===t?{summary:e}:{summary:e,detail:t}}function tX(e,t){if(e!=null){let{value:r}=e;if(!Ey(r))return aa(r)?Je(t?.name,r):Je(r)}return null}function rD({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(rD).join(" | "):n??e)}function rX({name:e,raw:t,elements:r}){return r!=null?Je(r.map(rD).join(" | ")):t!=null?Je(t.replace(/^\|\s*/,"")):Je(e)}function nX({type:e,raw:t}){return t!=null?Je(t):Je(e)}function iX({type:e,raw:t}){return t!=null?Sy(t)?Je(e,t):Je(t):Je(e)}function oX(e){let{type:t}=e;return t==="object"?iX(e):nX(e)}function aX({name:e,raw:t}){return t!=null?Sy(t)?Je(e,t):Je(t):Je(e)}function sX(e){if(e==null)return null;switch(e.name){case"union":return rX(e);case"signature":return oX(e);default:return aX(e)}}var uX=(e,t)=>{let{flowType:r,description:n,required:i,defaultValue:o}=t;return{name:e,type:sX(r),required:i,description:n,defaultValue:tX(o??null,r??null)}};function lX({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Ey(t))return Je(t)}return null}function cX({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),Je(["Array","Record","signature"].includes(e.name)?e.raw:r)}var dX=(e,t)=>{let{description:r,required:n}=t;return{name:e,type:cX(t),required:n,description:r,defaultValue:lX(t)}};function pX(e){return e!=null?Je(e.name):null}function fX(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}function hX(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}function mX(e,t){if(e!=null){let{value:r}=e;if(!Ey(r))return fX(e)&&hX(t)?Je(JSON.stringify(r)):Je(r)}return null}function nD(e,t,r){let{description:n,required:i,defaultValue:o}=r;return{name:e,type:pX(t),required:i,description:n,defaultValue:mX(o,t)}}function fc(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let i={...n,params:n?.params?.map(o=>({name:o.getPrettyName(),description:o.description}))};Object.values(i).filter(Boolean).length>0&&(e.jsDocTags=i)}return e}var yX=(e,t,r)=>{let n=nD(e,t.type,t);return n.sbType=vy(t),fc(n,r)},gX=(e,t,r)=>{let n=dX(e,t);return n.sbType=vy(t),fc(n,r)},bX=(e,t,r)=>{let n=uX(e,t);return n.sbType=vy(t),fc(n,r)},vX=(e,t,r)=>{let n=nD(e,{name:"unknown"},t);return fc(n,r)},iD=e=>{switch(e){case"JavaScript":return yX;case"TypeScript":return gX;case"Flow":return bX;default:return vX}},oD=e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown",EX=e=>{let t=oD(e[0]),r=iD(t);return e.map(n=>{let i=n;return n.type?.elements&&(i={...n,type:{...n.type,value:n.type.elements}}),aD(i.name,i,t,r)})},AX=e=>{let t=Object.keys(e),r=oD(e[t[0]]),n=iD(r);return t.map(i=>{let o=e[i];return o!=null?aD(i,o,r,n):null}).filter(Boolean)},wX=(e,t)=>{let r=Ef(e,t);return EY(r)?Array.isArray(r)?EX(r):AX(r):[]};function aD(e,t,r,n){let i=WY(t.description);return i.includesJsDoc&&i.ignore?null:{propDef:n(e,t,i),jsDocTags:i.extractedTags,docgenInfo:t,typeSystem:r}}function SX(e){return e!=null?AY(e):""}var _X=e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:i}=n;if(!i||!t)return r;let o=i(t);return o?qs(o,r):r},CX="storybook/docs",Coe=`${CX}/snippet-rendered`,Af=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(Af||{}),TX=Tt({"../../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,i,o,a,s,l;function u(x){var g={},w,C;for(w in x)x.hasOwnProperty(w)&&(C=x[w],typeof C=="object"&&C!==null?g[w]=u(C):g[w]=C);return g}function d(x,g){var w,C,R,j;for(C=x.length,R=0;C;)w=C>>>1,j=R+w,g(x[j])?C=w:(R=j+1,C-=w+1);return R}n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},a={},s={},l={},i={Break:a,Skip:s,Remove:l};function f(x,g){this.parent=x,this.key=g}f.prototype.replace=function(x){this.parent[this.key]=x},f.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function h(x,g,w,C){this.node=x,this.path=g,this.wrap=w,this.ref=C}function m(){}m.prototype.path=function(){var x,g,w,C,R,j;function B(U,$){if(Array.isArray($))for(w=0,C=$.length;w<C;++w)U.push($[w]);else U.push($)}if(!this.__current.path)return null;for(R=[],x=2,g=this.__leavelist.length;x<g;++x)j=this.__leavelist[x],B(R,j.path);return B(R,this.__current.path),R},m.prototype.type=function(){var x=this.current();return x.type||this.__current.wrap},m.prototype.parents=function(){var x,g,w;for(w=[],x=1,g=this.__leavelist.length;x<g;++x)w.push(this.__leavelist[x].node);return w},m.prototype.current=function(){return this.__current.node},m.prototype.__execute=function(x,g){var w,C;return C=void 0,w=this.__current,this.__current=g,this.__state=null,x&&(C=x.call(this,g.node,this.__leavelist[this.__leavelist.length-1].node)),this.__current=w,C},m.prototype.notify=function(x){this.__state=x},m.prototype.skip=function(){this.notify(s)},m.prototype.break=function(){this.notify(a)},m.prototype.remove=function(){this.notify(l)},m.prototype.__initialize=function(x,g){this.visitor=g,this.root=x,this.__worklist=[],this.__leavelist=[],this.__current=null,this.__state=null,this.__fallback=null,g.fallback==="iteration"?this.__fallback=Object.keys:typeof g.fallback=="function"&&(this.__fallback=g.fallback),this.__keys=o,g.keys&&(this.__keys=Object.assign(Object.create(this.__keys),g.keys))};function b(x){return x==null?!1:typeof x=="object"&&typeof x.type=="string"}function y(x,g){return(x===n.ObjectExpression||x===n.ObjectPattern)&&g==="properties"}function A(x,g){for(var w=x.length-1;w>=0;--w)if(x[w].node===g)return!0;return!1}m.prototype.traverse=function(x,g){var w,C,R,j,B,U,$,k,V,W,Y,ne;for(this.__initialize(x,g),ne={},w=this.__worklist,C=this.__leavelist,w.push(new h(x,null,null,null)),C.push(new h(null,null,null,null));w.length;){if(R=w.pop(),R===ne){if(R=C.pop(),U=this.__execute(g.leave,R),this.__state===a||U===a)return;continue}if(R.node){if(U=this.__execute(g.enter,R),this.__state===a||U===a)return;if(w.push(ne),C.push(R),this.__state===s||U===s)continue;if(j=R.node,B=j.type||R.wrap,W=this.__keys[B],!W)if(this.__fallback)W=this.__fallback(j);else throw new Error("Unknown node type "+B+".");for(k=W.length;(k-=1)>=0;)if($=W[k],Y=j[$],!!Y){if(Array.isArray(Y)){for(V=Y.length;(V-=1)>=0;)if(Y[V]&&!A(C,Y[V])){if(y(B,W[k]))R=new h(Y[V],[$,V],"Property",null);else if(b(Y[V]))R=new h(Y[V],[$,V],null,null);else continue;w.push(R)}}else if(b(Y)){if(A(C,Y))continue;w.push(new h(Y,$,null,null))}}}}},m.prototype.replace=function(x,g){var w,C,R,j,B,U,$,k,V,W,Y,ne,we;function Pe(X){var G,ie,fe,he;if(X.ref.remove()){for(ie=X.ref.key,he=X.ref.parent,G=w.length;G--;)if(fe=w[G],fe.ref&&fe.ref.parent===he){if(fe.ref.key<ie)break;--fe.ref.key}}}for(this.__initialize(x,g),Y={},w=this.__worklist,C=this.__leavelist,ne={root:x},U=new h(x,null,null,new f(ne,"root")),w.push(U),C.push(U);w.length;){if(U=w.pop(),U===Y){if(U=C.pop(),B=this.__execute(g.leave,U),B!==void 0&&B!==a&&B!==s&&B!==l&&U.ref.replace(B),(this.__state===l||B===l)&&Pe(U),this.__state===a||B===a)return ne.root;continue}if(B=this.__execute(g.enter,U),B!==void 0&&B!==a&&B!==s&&B!==l&&(U.ref.replace(B),U.node=B),(this.__state===l||B===l)&&(Pe(U),U.node=null),this.__state===a||B===a)return ne.root;if(R=U.node,!!R&&(w.push(Y),C.push(U),!(this.__state===s||B===s))){if(j=R.type||U.wrap,V=this.__keys[j],!V)if(this.__fallback)V=this.__fallback(R);else throw new Error("Unknown node type "+j+".");for($=V.length;($-=1)>=0;)if(we=V[$],W=R[we],!!W)if(Array.isArray(W)){for(k=W.length;(k-=1)>=0;)if(W[k]){if(y(j,V[$]))U=new h(W[k],[we,k],"Property",new f(W,k));else if(b(W[k]))U=new h(W[k],[we,k],null,new f(W,k));else continue;w.push(U)}}else b(W)&&w.push(new h(W,we,null,new f(R,we)))}}return ne.root};function E(x,g){var w=new m;return w.traverse(x,g)}function _(x,g){var w=new m;return w.replace(x,g)}function I(x,g){var w;return w=d(g,function(C){return C.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],w!==g.length&&(x.extendedRange[1]=g[w].range[0]),w-=1,w>=0&&(x.extendedRange[0]=g[w].range[1]),x}function P(x,g,w){var C=[],R,j,B,U;if(!x.range)throw new Error("attachComments needs range information");if(!w.length){if(g.length){for(B=0,j=g.length;B<j;B+=1)R=u(g[B]),R.extendedRange=[0,x.range[0]],C.push(R);x.leadingComments=C}return x}for(B=0,j=g.length;B<j;B+=1)C.push(I(u(g[B]),w));return U=0,E(x,{enter:function($){for(var k;U<C.length&&(k=C[U],!(k.extendedRange[1]>$.range[0]));)k.extendedRange[1]===$.range[0]?($.leadingComments||($.leadingComments=[]),$.leadingComments.push(k),C.splice(U,1)):U+=1;if(U===C.length)return i.Break;if(C[U].extendedRange[0]>$.range[1])return i.Skip}}),U=0,E(x,{leave:function($){for(var k;U<C.length&&(k=C[U],!($.range[1]<k.extendedRange[0]));)$.range[1]===k.extendedRange[0]?($.trailingComments||($.trailingComments=[]),$.trailingComments.push(k),C.splice(U,1)):U+=1;if(U===C.length)return i.Break;if(C[U].extendedRange[0]>$.range[1])return i.Skip}}),x}return r.Syntax=n,r.traverse=E,r.replace=_,r.attachComments=P,r.VisitorKeys=o,r.VisitorOption=i,r.Controller=m,r.cloneEnvironment=function(){return t({})},r})(e)}}),xX=Tt({"../../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(l){if(l==null)return!1;switch(l.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(l){if(l==null)return!1;switch(l.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function i(l){if(l==null)return!1;switch(l.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function o(l){return i(l)||l!=null&&l.type==="FunctionDeclaration"}function a(l){switch(l.type){case"IfStatement":return l.alternate!=null?l.alternate:l.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return l.body}return null}function s(l){var u;if(l.type!=="IfStatement"||l.alternate==null)return!1;u=l.consequent;do{if(u.type==="IfStatement"&&u.alternate==null)return!0;u=a(u)}while(u);return!1}t.exports={isExpression:r,isStatement:i,isIterationStatement:n,isSourceElement:o,isProblematicIfStatement:s,trailingStatement:a}})()}}),sD=Tt({"../../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,i,o,a,s;n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function l(_){return 48<=_&&_<=57}function u(_){return 48<=_&&_<=57||97<=_&&_<=102||65<=_&&_<=70}function d(_){return _>=48&&_<=55}i=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function f(_){return _===32||_===9||_===11||_===12||_===160||_>=5760&&i.indexOf(_)>=0}function h(_){return _===10||_===13||_===8232||_===8233}function m(_){if(_<=65535)return String.fromCharCode(_);var I=String.fromCharCode(Math.floor((_-65536)/1024)+55296),P=String.fromCharCode((_-65536)%1024+56320);return I+P}for(o=new Array(128),s=0;s<128;++s)o[s]=s>=97&&s<=122||s>=65&&s<=90||s===36||s===95;for(a=new Array(128),s=0;s<128;++s)a[s]=s>=97&&s<=122||s>=65&&s<=90||s>=48&&s<=57||s===36||s===95;function b(_){return _<128?o[_]:n.NonAsciiIdentifierStart.test(m(_))}function y(_){return _<128?a[_]:n.NonAsciiIdentifierPart.test(m(_))}function A(_){return _<128?o[_]:r.NonAsciiIdentifierStart.test(m(_))}function E(_){return _<128?a[_]:r.NonAsciiIdentifierPart.test(m(_))}t.exports={isDecimalDigit:l,isHexDigit:u,isOctalDigit:d,isWhiteSpace:f,isLineTerminator:h,isIdentifierStartES5:b,isIdentifierPartES5:y,isIdentifierStartES6:A,isIdentifierPartES6:E}})()}}),RX=Tt({"../../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=sD();function n(b){switch(b){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function i(b,y){return!y&&b==="yield"?!1:o(b,y)}function o(b,y){if(y&&n(b))return!0;switch(b.length){case 2:return b==="if"||b==="in"||b==="do";case 3:return b==="var"||b==="for"||b==="new"||b==="try";case 4:return b==="this"||b==="else"||b==="case"||b==="void"||b==="with"||b==="enum";case 5:return b==="while"||b==="break"||b==="catch"||b==="throw"||b==="const"||b==="yield"||b==="class"||b==="super";case 6:return b==="return"||b==="typeof"||b==="delete"||b==="switch"||b==="export"||b==="import";case 7:return b==="default"||b==="finally"||b==="extends";case 8:return b==="function"||b==="continue"||b==="debugger";case 10:return b==="instanceof";default:return!1}}function a(b,y){return b==="null"||b==="true"||b==="false"||i(b,y)}function s(b,y){return b==="null"||b==="true"||b==="false"||o(b,y)}function l(b){return b==="eval"||b==="arguments"}function u(b){var y,A,E;if(b.length===0||(E=b.charCodeAt(0),!r.isIdentifierStartES5(E)))return!1;for(y=1,A=b.length;y<A;++y)if(E=b.charCodeAt(y),!r.isIdentifierPartES5(E))return!1;return!0}function d(b,y){return(b-55296)*1024+(y-56320)+65536}function f(b){var y,A,E,_,I;if(b.length===0)return!1;for(I=r.isIdentifierStartES6,y=0,A=b.length;y<A;++y){if(E=b.charCodeAt(y),55296<=E&&E<=56319){if(++y,y>=A||(_=b.charCodeAt(y),!(56320<=_&&_<=57343)))return!1;E=d(E,_)}if(!I(E))return!1;I=r.isIdentifierPartES6}return!0}function h(b,y){return u(b)&&!a(b,y)}function m(b,y){return f(b)&&!s(b,y)}t.exports={isKeywordES5:i,isKeywordES6:o,isReservedWordES5:a,isReservedWordES6:s,isRestrictedWord:l,isIdentifierNameES5:u,isIdentifierNameES6:f,isIdentifierES5:h,isIdentifierES6:m}})()}}),DX=Tt({"../../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=xX(),e.code=sD(),e.keyword=RX()})()}}),PX=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r<t.length)return t[r];throw new TypeError("Must be between 0 and 63: "+r)},e.decode=function(r){var n=65,i=90,o=97,a=122,s=48,l=57,u=43,d=47,f=26,h=52;return n<=r&&r<=i?r-n:o<=r&&r<=a?r-o+f:s<=r&&r<=l?r-s+h:r==u?62:r==d?63:-1}}}),uD=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/base64-vlq.js"(e){var t=PX(),r=5,n=1<<r,i=n-1,o=n;function a(l){return l<0?(-l<<1)+1:(l<<1)+0}function s(l){var u=(l&1)===1,d=l>>1;return u?-d:d}e.encode=function(l){var u="",d,f=a(l);do d=f&i,f>>>=r,f>0&&(d|=o),u+=t.encode(d);while(f>0);return u},e.decode=function(l,u,d){var f=l.length,h=0,m=0,b,y;do{if(u>=f)throw new Error("Expected more digits in base 64 VLQ value.");if(y=t.decode(l.charCodeAt(u++)),y===-1)throw new Error("Invalid base64 digit: "+l.charAt(u-1));b=!!(y&o),y&=i,h=h+(y<<m),m+=r}while(b);d.value=s(h),d.rest=u}}}),$s=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/util.js"(e){function t(P,x,g){if(x in P)return P[x];if(arguments.length===3)return g;throw new Error('"'+x+'" is a required argument.')}e.getArg=t;var r=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,n=/^data:.+\,.+$/;function i(P){var x=P.match(r);return x?{scheme:x[1],auth:x[2],host:x[3],port:x[4],path:x[5]}:null}e.urlParse=i;function o(P){var x="";return P.scheme&&(x+=P.scheme+":"),x+="//",P.auth&&(x+=P.auth+"@"),P.host&&(x+=P.host),P.port&&(x+=":"+P.port),P.path&&(x+=P.path),x}e.urlGenerate=o;function a(P){var x=P,g=i(P);if(g){if(!g.path)return P;x=g.path}for(var w=e.isAbsolute(x),C=x.split(/\/+/),R,j=0,B=C.length-1;B>=0;B--)R=C[B],R==="."?C.splice(B,1):R===".."?j++:j>0&&(R===""?(C.splice(B+1,j),j=0):(C.splice(B,2),j--));return x=C.join("/"),x===""&&(x=w?"/":"."),g?(g.path=x,o(g)):x}e.normalize=a;function s(P,x){P===""&&(P="."),x===""&&(x=".");var g=i(x),w=i(P);if(w&&(P=w.path||"/"),g&&!g.scheme)return w&&(g.scheme=w.scheme),o(g);if(g||x.match(n))return x;if(w&&!w.host&&!w.path)return w.host=x,o(w);var C=x.charAt(0)==="/"?x:a(P.replace(/\/+$/,"")+"/"+x);return w?(w.path=C,o(w)):C}e.join=s,e.isAbsolute=function(P){return P.charAt(0)==="/"||r.test(P)};function l(P,x){P===""&&(P="."),P=P.replace(/\/$/,"");for(var g=0;x.indexOf(P+"/")!==0;){var w=P.lastIndexOf("/");if(w<0||(P=P.slice(0,w),P.match(/^([^\/]+:\/)?\/*$/)))return x;++g}return Array(g+1).join("../")+x.substr(P.length+1)}e.relative=l;var u=(function(){var P=Object.create(null);return!("__proto__"in P)})();function d(P){return P}function f(P){return m(P)?"$"+P:P}e.toSetString=u?d:f;function h(P){return m(P)?P.slice(1):P}e.fromSetString=u?d:h;function m(P){if(!P)return!1;var x=P.length;if(x<9||P.charCodeAt(x-1)!==95||P.charCodeAt(x-2)!==95||P.charCodeAt(x-3)!==111||P.charCodeAt(x-4)!==116||P.charCodeAt(x-5)!==111||P.charCodeAt(x-6)!==114||P.charCodeAt(x-7)!==112||P.charCodeAt(x-8)!==95||P.charCodeAt(x-9)!==95)return!1;for(var g=x-10;g>=0;g--)if(P.charCodeAt(g)!==36)return!1;return!0}function b(P,x,g){var w=A(P.source,x.source);return w!==0||(w=P.originalLine-x.originalLine,w!==0)||(w=P.originalColumn-x.originalColumn,w!==0||g)||(w=P.generatedColumn-x.generatedColumn,w!==0)||(w=P.generatedLine-x.generatedLine,w!==0)?w:A(P.name,x.name)}e.compareByOriginalPositions=b;function y(P,x,g){var w=P.generatedLine-x.generatedLine;return w!==0||(w=P.generatedColumn-x.generatedColumn,w!==0||g)||(w=A(P.source,x.source),w!==0)||(w=P.originalLine-x.originalLine,w!==0)||(w=P.originalColumn-x.originalColumn,w!==0)?w:A(P.name,x.name)}e.compareByGeneratedPositionsDeflated=y;function A(P,x){return P===x?0:P===null?1:x===null?-1:P>x?1:-1}function E(P,x){var g=P.generatedLine-x.generatedLine;return g!==0||(g=P.generatedColumn-x.generatedColumn,g!==0)||(g=A(P.source,x.source),g!==0)||(g=P.originalLine-x.originalLine,g!==0)||(g=P.originalColumn-x.originalColumn,g!==0)?g:A(P.name,x.name)}e.compareByGeneratedPositionsInflated=E;function _(P){return JSON.parse(P.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=_;function I(P,x,g){if(x=x||"",P&&(P[P.length-1]!=="/"&&x[0]!=="/"&&(P+="/"),x=P+x),g){var w=i(g);if(!w)throw new Error("sourceMapURL could not be parsed");if(w.path){var C=w.path.lastIndexOf("/");C>=0&&(w.path=w.path.substring(0,C+1))}x=s(o(w),x)}return a(x)}e.computeSourceURL=I}}),lD=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=$s(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function i(){this._array=[],this._set=n?new Map:Object.create(null)}i.fromArray=function(o,a){for(var s=new i,l=0,u=o.length;l<u;l++)s.add(o[l],a);return s},i.prototype.size=function(){return n?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(o,a){var s=n?o:t.toSetString(o),l=n?this.has(o):r.call(this._set,s),u=this._array.length;(!l||a)&&this._array.push(o),l||(n?this._set.set(o,u):this._set[s]=u)},i.prototype.has=function(o){if(n)return this._set.has(o);var a=t.toSetString(o);return r.call(this._set,a)},i.prototype.indexOf=function(o){if(n){var a=this._set.get(o);if(a>=0)return a}else{var s=t.toSetString(o);if(r.call(this._set,s))return this._set[s]}throw new Error('"'+o+'" is not in the set.')},i.prototype.at=function(o){if(o>=0&&o<this._array.length)return this._array[o];throw new Error("No element indexed by "+o)},i.prototype.toArray=function(){return this._array.slice()},e.ArraySet=i}}),OX=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/mapping-list.js"(e){var t=$s();function r(i,o){var a=i.generatedLine,s=o.generatedLine,l=i.generatedColumn,u=o.generatedColumn;return s>a||s==a&&u>=l||t.compareByGeneratedPositionsInflated(i,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},n.prototype.add=function(i){r(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),cD=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=uD(),r=$s(),n=lD().ArraySet,i=OX().MappingList;function o(a){a||(a={}),this._file=r.getArg(a,"file",null),this._sourceRoot=r.getArg(a,"sourceRoot",null),this._skipValidation=r.getArg(a,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(a){var s=a.sourceRoot,l=new o({file:a.file,sourceRoot:s});return a.eachMapping(function(u){var d={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(d.source=u.source,s!=null&&(d.source=r.relative(s,d.source)),d.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(d.name=u.name)),l.addMapping(d)}),a.sources.forEach(function(u){var d=u;s!==null&&(d=r.relative(s,u)),l._sources.has(d)||l._sources.add(d);var f=a.sourceContentFor(u);f!=null&&l.setSourceContent(u,f)}),l},o.prototype.addMapping=function(a){var s=r.getArg(a,"generated"),l=r.getArg(a,"original",null),u=r.getArg(a,"source",null),d=r.getArg(a,"name",null);this._skipValidation||this._validateMapping(s,l,u,d),u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),d!=null&&(d=String(d),this._names.has(d)||this._names.add(d)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:l!=null&&l.line,originalColumn:l!=null&&l.column,source:u,name:d})},o.prototype.setSourceContent=function(a,s){var l=a;this._sourceRoot!=null&&(l=r.relative(this._sourceRoot,l)),s!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(l)]=s):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(l)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(a,s,l){var u=s;if(s==null){if(a.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);u=a.file}var d=this._sourceRoot;d!=null&&(u=r.relative(d,u));var f=new n,h=new n;this._mappings.unsortedForEach(function(m){if(m.source===u&&m.originalLine!=null){var b=a.originalPositionFor({line:m.originalLine,column:m.originalColumn});b.source!=null&&(m.source=b.source,l!=null&&(m.source=r.join(l,m.source)),d!=null&&(m.source=r.relative(d,m.source)),m.originalLine=b.line,m.originalColumn=b.column,b.name!=null&&(m.name=b.name))}var y=m.source;y!=null&&!f.has(y)&&f.add(y);var A=m.name;A!=null&&!h.has(A)&&h.add(A)},this),this._sources=f,this._names=h,a.sources.forEach(function(m){var b=a.sourceContentFor(m);b!=null&&(l!=null&&(m=r.join(l,m)),d!=null&&(m=r.relative(d,m)),this.setSourceContent(m,b))},this)},o.prototype._validateMapping=function(a,s,l,u){if(s&&typeof s.line!="number"&&typeof s.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(a&&"line"in a&&"column"in a&&a.line>0&&a.column>=0&&!s&&!l&&!u)){if(a&&"line"in a&&"column"in a&&s&&"line"in s&&"column"in s&&a.line>0&&a.column>=0&&s.line>0&&s.column>=0&&l)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:a,source:l,original:s,name:u}))}},o.prototype._serializeMappings=function(){for(var a=0,s=1,l=0,u=0,d=0,f=0,h="",m,b,y,A,E=this._mappings.toArray(),_=0,I=E.length;_<I;_++){if(b=E[_],m="",b.generatedLine!==s)for(a=0;b.generatedLine!==s;)m+=";",s++;else if(_>0){if(!r.compareByGeneratedPositionsInflated(b,E[_-1]))continue;m+=","}m+=t.encode(b.generatedColumn-a),a=b.generatedColumn,b.source!=null&&(A=this._sources.indexOf(b.source),m+=t.encode(A-f),f=A,m+=t.encode(b.originalLine-1-u),u=b.originalLine-1,m+=t.encode(b.originalColumn-l),l=b.originalColumn,b.name!=null&&(y=this._names.indexOf(b.name),m+=t.encode(y-d),d=y)),h+=m}return h},o.prototype._generateSourcesContent=function(a,s){return a.map(function(l){if(!this._sourcesContents)return null;s!=null&&(l=r.relative(s,l));var u=r.toSetString(l);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)},o.prototype.toJSON=function(){var a={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(a.file=this._file),this._sourceRoot!=null&&(a.sourceRoot=this._sourceRoot),this._sourcesContents&&(a.sourcesContent=this._generateSourcesContent(a.sources,a.sourceRoot)),a},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),IX=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,i,o,a,s){var l=Math.floor((n-r)/2)+r,u=a(i,o[l],!0);return u===0?l:u>0?n-l>1?t(l,n,i,o,a,s):s==e.LEAST_UPPER_BOUND?n<o.length?n:-1:l:l-r>1?t(r,l,i,o,a,s):s==e.LEAST_UPPER_BOUND?l:r<0?-1:r}e.search=function(r,n,i,o){if(n.length===0)return-1;var a=t(-1,n.length,r,n,i,o||e.GREATEST_LOWER_BOUND);if(a<0)return-1;for(;a-1>=0&&i(n[a],n[a-1],!0)===0;)--a;return a}}}),FX=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(i,o,a){var s=i[o];i[o]=i[a],i[a]=s}function r(i,o){return Math.round(i+Math.random()*(o-i))}function n(i,o,a,s){if(a<s){var l=r(a,s),u=a-1;t(i,l,s);for(var d=i[s],f=a;f<s;f++)o(i[f],d)<=0&&(u+=1,t(i,u,f));t(i,u+1,f);var h=u+1;n(i,o,a,h-1),n(i,o,h+1,s)}}e.quickSort=function(i,o){n(i,o,0,i.length-1)}}}),NX=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/source-map-consumer.js"(e){var t=$s(),r=IX(),n=lD().ArraySet,i=uD(),o=FX().quickSort;function a(d,f){var h=d;return typeof d=="string"&&(h=t.parseSourceMapInput(d)),h.sections!=null?new u(h,f):new s(h,f)}a.fromSourceMap=function(d,f){return s.fromSourceMap(d,f)},a.prototype._version=3,a.prototype.__generatedMappings=null,Object.defineProperty(a.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),a.prototype.__originalMappings=null,Object.defineProperty(a.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),a.prototype._charIsMappingSeparator=function(d,f){var h=d.charAt(f);return h===";"||h===","},a.prototype._parseMappings=function(d,f){throw new Error("Subclasses must implement _parseMappings")},a.GENERATED_ORDER=1,a.ORIGINAL_ORDER=2,a.GREATEST_LOWER_BOUND=1,a.LEAST_UPPER_BOUND=2,a.prototype.eachMapping=function(d,f,h){var m=f||null,b=h||a.GENERATED_ORDER,y;switch(b){case a.GENERATED_ORDER:y=this._generatedMappings;break;case a.ORIGINAL_ORDER:y=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var A=this.sourceRoot;y.map(function(E){var _=E.source===null?null:this._sources.at(E.source);return _=t.computeSourceURL(A,_,this._sourceMapURL),{source:_,generatedLine:E.generatedLine,generatedColumn:E.generatedColumn,originalLine:E.originalLine,originalColumn:E.originalColumn,name:E.name===null?null:this._names.at(E.name)}},this).forEach(d,m)},a.prototype.allGeneratedPositionsFor=function(d){var f=t.getArg(d,"line"),h={source:t.getArg(d,"source"),originalLine:f,originalColumn:t.getArg(d,"column",0)};if(h.source=this._findSourceIndex(h.source),h.source<0)return[];var m=[],b=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,r.LEAST_UPPER_BOUND);if(b>=0){var y=this._originalMappings[b];if(d.column===void 0)for(var A=y.originalLine;y&&y.originalLine===A;)m.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++b];else for(var E=y.originalColumn;y&&y.originalLine===f&&y.originalColumn==E;)m.push({line:t.getArg(y,"generatedLine",null),column:t.getArg(y,"generatedColumn",null),lastColumn:t.getArg(y,"lastGeneratedColumn",null)}),y=this._originalMappings[++b]}return m},e.SourceMapConsumer=a;function s(d,f){var h=d;typeof d=="string"&&(h=t.parseSourceMapInput(d));var m=t.getArg(h,"version"),b=t.getArg(h,"sources"),y=t.getArg(h,"names",[]),A=t.getArg(h,"sourceRoot",null),E=t.getArg(h,"sourcesContent",null),_=t.getArg(h,"mappings"),I=t.getArg(h,"file",null);if(m!=this._version)throw new Error("Unsupported version: "+m);A&&(A=t.normalize(A)),b=b.map(String).map(t.normalize).map(function(P){return A&&t.isAbsolute(A)&&t.isAbsolute(P)?t.relative(A,P):P}),this._names=n.fromArray(y.map(String),!0),this._sources=n.fromArray(b,!0),this._absoluteSources=this._sources.toArray().map(function(P){return t.computeSourceURL(A,P,f)}),this.sourceRoot=A,this.sourcesContent=E,this._mappings=_,this._sourceMapURL=f,this.file=I}s.prototype=Object.create(a.prototype),s.prototype.consumer=a,s.prototype._findSourceIndex=function(d){var f=d;if(this.sourceRoot!=null&&(f=t.relative(this.sourceRoot,f)),this._sources.has(f))return this._sources.indexOf(f);var h;for(h=0;h<this._absoluteSources.length;++h)if(this._absoluteSources[h]==d)return h;return-1},s.fromSourceMap=function(d,f){var h=Object.create(s.prototype),m=h._names=n.fromArray(d._names.toArray(),!0),b=h._sources=n.fromArray(d._sources.toArray(),!0);h.sourceRoot=d._sourceRoot,h.sourcesContent=d._generateSourcesContent(h._sources.toArray(),h.sourceRoot),h.file=d._file,h._sourceMapURL=f,h._absoluteSources=h._sources.toArray().map(function(g){return t.computeSourceURL(h.sourceRoot,g,f)});for(var y=d._mappings.toArray().slice(),A=h.__generatedMappings=[],E=h.__originalMappings=[],_=0,I=y.length;_<I;_++){var P=y[_],x=new l;x.generatedLine=P.generatedLine,x.generatedColumn=P.generatedColumn,P.source&&(x.source=b.indexOf(P.source),x.originalLine=P.originalLine,x.originalColumn=P.originalColumn,P.name&&(x.name=m.indexOf(P.name)),E.push(x)),A.push(x)}return o(h.__originalMappings,t.compareByOriginalPositions),h},s.prototype._version=3,Object.defineProperty(s.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function l(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}s.prototype._parseMappings=function(d,f){for(var h=1,m=0,b=0,y=0,A=0,E=0,_=d.length,I=0,P={},x={},g=[],w=[],C,R,j,B,U;I<_;)if(d.charAt(I)===";")h++,I++,m=0;else if(d.charAt(I)===",")I++;else{for(C=new l,C.generatedLine=h,B=I;B<_&&!this._charIsMappingSeparator(d,B);B++);if(R=d.slice(I,B),j=P[R],j)I+=R.length;else{for(j=[];I<B;)i.decode(d,I,x),U=x.value,I=x.rest,j.push(U);if(j.length===2)throw new Error("Found a source, but no line and column");if(j.length===3)throw new Error("Found a source and line, but no column");P[R]=j}C.generatedColumn=m+j[0],m=C.generatedColumn,j.length>1&&(C.source=A+j[1],A+=j[1],C.originalLine=b+j[2],b=C.originalLine,C.originalLine+=1,C.originalColumn=y+j[3],y=C.originalColumn,j.length>4&&(C.name=E+j[4],E+=j[4])),w.push(C),typeof C.originalLine=="number"&&g.push(C)}o(w,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=w,o(g,t.compareByOriginalPositions),this.__originalMappings=g},s.prototype._findMapping=function(d,f,h,m,b,y){if(d[h]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+d[h]);if(d[m]<0)throw new TypeError("Column must be greater than or equal to 0, got "+d[m]);return r.search(d,f,b,y)},s.prototype.computeColumnSpans=function(){for(var d=0;d<this._generatedMappings.length;++d){var f=this._generatedMappings[d];if(d+1<this._generatedMappings.length){var h=this._generatedMappings[d+1];if(f.generatedLine===h.generatedLine){f.lastGeneratedColumn=h.generatedColumn-1;continue}}f.lastGeneratedColumn=1/0}},s.prototype.originalPositionFor=function(d){var f={generatedLine:t.getArg(d,"line"),generatedColumn:t.getArg(d,"column")},h=this._findMapping(f,this._generatedMappings,"generatedLine","generatedColumn",t.compareByGeneratedPositionsDeflated,t.getArg(d,"bias",a.GREATEST_LOWER_BOUND));if(h>=0){var m=this._generatedMappings[h];if(m.generatedLine===f.generatedLine){var b=t.getArg(m,"source",null);b!==null&&(b=this._sources.at(b),b=t.computeSourceURL(this.sourceRoot,b,this._sourceMapURL));var y=t.getArg(m,"name",null);return y!==null&&(y=this._names.at(y)),{source:b,line:t.getArg(m,"originalLine",null),column:t.getArg(m,"originalColumn",null),name:y}}}return{source:null,line:null,column:null,name:null}},s.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(d){return d==null}):!1},s.prototype.sourceContentFor=function(d,f){if(!this.sourcesContent)return null;var h=this._findSourceIndex(d);if(h>=0)return this.sourcesContent[h];var m=d;this.sourceRoot!=null&&(m=t.relative(this.sourceRoot,m));var b;if(this.sourceRoot!=null&&(b=t.urlParse(this.sourceRoot))){var y=m.replace(/^file:\/\//,"");if(b.scheme=="file"&&this._sources.has(y))return this.sourcesContent[this._sources.indexOf(y)];if((!b.path||b.path=="/")&&this._sources.has("/"+m))return this.sourcesContent[this._sources.indexOf("/"+m)]}if(f)return null;throw new Error('"'+m+'" is not in the SourceMap.')},s.prototype.generatedPositionFor=function(d){var f=t.getArg(d,"source");if(f=this._findSourceIndex(f),f<0)return{line:null,column:null,lastColumn:null};var h={source:f,originalLine:t.getArg(d,"line"),originalColumn:t.getArg(d,"column")},m=this._findMapping(h,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(d,"bias",a.GREATEST_LOWER_BOUND));if(m>=0){var b=this._originalMappings[m];if(b.source===h.source)return{line:t.getArg(b,"generatedLine",null),column:t.getArg(b,"generatedColumn",null),lastColumn:t.getArg(b,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=s;function u(d,f){var h=d;typeof d=="string"&&(h=t.parseSourceMapInput(d));var m=t.getArg(h,"version"),b=t.getArg(h,"sections");if(m!=this._version)throw new Error("Unsupported version: "+m);this._sources=new n,this._names=new n;var y={line:-1,column:0};this._sections=b.map(function(A){if(A.url)throw new Error("Support for url field in sections not implemented.");var E=t.getArg(A,"offset"),_=t.getArg(E,"line"),I=t.getArg(E,"column");if(_<y.line||_===y.line&&I<y.column)throw new Error("Section offsets must be ordered and non-overlapping.");return y=E,{generatedOffset:{generatedLine:_+1,generatedColumn:I+1},consumer:new a(t.getArg(A,"map"),f)}})}u.prototype=Object.create(a.prototype),u.prototype.constructor=a,u.prototype._version=3,Object.defineProperty(u.prototype,"sources",{get:function(){for(var d=[],f=0;f<this._sections.length;f++)for(var h=0;h<this._sections[f].consumer.sources.length;h++)d.push(this._sections[f].consumer.sources[h]);return d}}),u.prototype.originalPositionFor=function(d){var f={generatedLine:t.getArg(d,"line"),generatedColumn:t.getArg(d,"column")},h=r.search(f,this._sections,function(b,y){var A=b.generatedLine-y.generatedOffset.generatedLine;return A||b.generatedColumn-y.generatedOffset.generatedColumn}),m=this._sections[h];return m?m.consumer.originalPositionFor({line:f.generatedLine-(m.generatedOffset.generatedLine-1),column:f.generatedColumn-(m.generatedOffset.generatedLine===f.generatedLine?m.generatedOffset.generatedColumn-1:0),bias:d.bias}):{source:null,line:null,column:null,name:null}},u.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(d){return d.consumer.hasContentsOfAllSources()})},u.prototype.sourceContentFor=function(d,f){for(var h=0;h<this._sections.length;h++){var m=this._sections[h],b=m.consumer.sourceContentFor(d,!0);if(b)return b}if(f)return null;throw new Error('"'+d+'" is not in the SourceMap.')},u.prototype.generatedPositionFor=function(d){for(var f=0;f<this._sections.length;f++){var h=this._sections[f];if(h.consumer._findSourceIndex(t.getArg(d,"source"))!==-1){var m=h.consumer.generatedPositionFor(d);if(m){var b={line:m.line+(h.generatedOffset.generatedLine-1),column:m.column+(h.generatedOffset.generatedLine===m.line?h.generatedOffset.generatedColumn-1:0)};return b}}}return{line:null,column:null}},u.prototype._parseMappings=function(d,f){this.__generatedMappings=[],this.__originalMappings=[];for(var h=0;h<this._sections.length;h++)for(var m=this._sections[h],b=m.consumer._generatedMappings,y=0;y<b.length;y++){var A=b[y],E=m.consumer._sources.at(A.source);E=t.computeSourceURL(m.consumer.sourceRoot,E,this._sourceMapURL),this._sources.add(E),E=this._sources.indexOf(E);var _=null;A.name&&(_=m.consumer._names.at(A.name),this._names.add(_),_=this._names.indexOf(_));var I={source:E,generatedLine:A.generatedLine+(m.generatedOffset.generatedLine-1),generatedColumn:A.generatedColumn+(m.generatedOffset.generatedLine===A.generatedLine?m.generatedOffset.generatedColumn-1:0),originalLine:A.originalLine,originalColumn:A.originalColumn,name:_};this.__generatedMappings.push(I),typeof I.originalLine=="number"&&this.__originalMappings.push(I)}o(this.__generatedMappings,t.compareByGeneratedPositionsDeflated),o(this.__originalMappings,t.compareByOriginalPositions)},e.IndexedSourceMapConsumer=u}}),kX=Tt({"../../../node_modules/escodegen/node_modules/source-map/lib/source-node.js"(e){var t=cD().SourceMapGenerator,r=$s(),n=/(\r?\n)/,i=10,o="$$$isSourceNode$$$";function a(s,l,u,d,f){this.children=[],this.sourceContents={},this.line=s??null,this.column=l??null,this.source=u??null,this.name=f??null,this[o]=!0,d!=null&&this.add(d)}a.fromStringWithSourceMap=function(s,l,u){var d=new a,f=s.split(n),h=0,m=function(){var _=P(),I=P()||"";return _+I;function P(){return h<f.length?f[h++]:void 0}},b=1,y=0,A=null;return l.eachMapping(function(_){if(A!==null)if(b<_.generatedLine)E(A,m()),b++,y=0;else{var I=f[h]||"",P=I.substr(0,_.generatedColumn-y);f[h]=I.substr(_.generatedColumn-y),y=_.generatedColumn,E(A,P),A=_;return}for(;b<_.generatedLine;)d.add(m()),b++;if(y<_.generatedColumn){var I=f[h]||"";d.add(I.substr(0,_.generatedColumn)),f[h]=I.substr(_.generatedColumn),y=_.generatedColumn}A=_},this),h<f.length&&(A&&E(A,m()),d.add(f.splice(h).join(""))),l.sources.forEach(function(_){var I=l.sourceContentFor(_);I!=null&&(u!=null&&(_=r.join(u,_)),d.setSourceContent(_,I))}),d;function E(_,I){if(_===null||_.source===void 0)d.add(I);else{var P=u?r.join(u,_.source):_.source;d.add(new a(_.originalLine,_.originalColumn,P,I,_.name))}}},a.prototype.add=function(s){if(Array.isArray(s))s.forEach(function(l){this.add(l)},this);else if(s[o]||typeof s=="string")s&&this.children.push(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},a.prototype.prepend=function(s){if(Array.isArray(s))for(var l=s.length-1;l>=0;l--)this.prepend(s[l]);else if(s[o]||typeof s=="string")this.children.unshift(s);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+s);return this},a.prototype.walk=function(s){for(var l,u=0,d=this.children.length;u<d;u++)l=this.children[u],l[o]?l.walk(s):l!==""&&s(l,{source:this.source,line:this.line,column:this.column,name:this.name})},a.prototype.join=function(s){var l,u,d=this.children.length;if(d>0){for(l=[],u=0;u<d-1;u++)l.push(this.children[u]),l.push(s);l.push(this.children[u]),this.children=l}return this},a.prototype.replaceRight=function(s,l){var u=this.children[this.children.length-1];return u[o]?u.replaceRight(s,l):typeof u=="string"?this.children[this.children.length-1]=u.replace(s,l):this.children.push("".replace(s,l)),this},a.prototype.setSourceContent=function(s,l){this.sourceContents[r.toSetString(s)]=l},a.prototype.walkSourceContents=function(s){for(var l=0,u=this.children.length;l<u;l++)this.children[l][o]&&this.children[l].walkSourceContents(s);for(var d=Object.keys(this.sourceContents),l=0,u=d.length;l<u;l++)s(r.fromSetString(d[l]),this.sourceContents[d[l]])},a.prototype.toString=function(){var s="";return this.walk(function(l){s+=l}),s},a.prototype.toStringWithSourceMap=function(s){var l={code:"",line:1,column:0},u=new t(s),d=!1,f=null,h=null,m=null,b=null;return this.walk(function(y,A){l.code+=y,A.source!==null&&A.line!==null&&A.column!==null?((f!==A.source||h!==A.line||m!==A.column||b!==A.name)&&u.addMapping({source:A.source,original:{line:A.line,column:A.column},generated:{line:l.line,column:l.column},name:A.name}),f=A.source,h=A.line,m=A.column,b=A.name,d=!0):d&&(u.addMapping({generated:{line:l.line,column:l.column}}),f=null,d=!1);for(var E=0,_=y.length;E<_;E++)y.charCodeAt(E)===i?(l.line++,l.column=0,E+1===_?(f=null,d=!1):d&&u.addMapping({source:A.source,original:{line:A.line,column:A.column},generated:{line:l.line,column:l.column},name:A.name})):l.column++}),this.walkSourceContents(function(y,A){u.setSourceContent(y,A)}),{code:l.code,map:u}},e.SourceNode=a}}),BX=Tt({"../../../node_modules/escodegen/node_modules/source-map/source-map.js"(e){e.SourceMapGenerator=cD().SourceMapGenerator,e.SourceMapConsumer=NX().SourceMapConsumer,e.SourceNode=kX().SourceNode}}),MX=Tt({"../../../node_modules/escodegen/package.json"(e,t){t.exports={name:"escodegen",description:"ECMAScript code generator",homepage:"http://github.com/estools/escodegen",main:"escodegen.js",bin:{esgenerate:"./bin/esgenerate.js",escodegen:"./bin/escodegen.js"},files:["LICENSE.BSD","README.md","bin","escodegen.js","package.json"],version:"2.1.0",engines:{node:">=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),jX=Tt({"../../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,i,o,a,s,l,u,d,f,h,m,b,y,A,E,_,I,P,x,g,w,C,R,j;o=TX(),a=DX(),t=o.Syntax;function B(T){return ct.Expression.hasOwnProperty(T.type)}function U(T){return ct.Statement.hasOwnProperty(T.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},n={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var $=1,k=2,V=4,W=8,Y=16,ne=32,we=64,Pe=k|V,X=$|k,G=$|k|V,ie=$,fe=V,he=$|V,se=$,xe=$|ne,Se=0,je=$|Y,Q=$|W;function ye(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:`
1073
+ `,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function Ae(T,M){var F="";for(M|=0;M>0;M>>>=1,T+=T)M&1&&(F+=T);return F}function Re(T){return/[\r\n]/g.test(T)}function Te(T){var M=T.length;return M&&a.code.isLineTerminator(T.charCodeAt(M-1))}function Oe(T,M){var F;for(F in M)M.hasOwnProperty(F)&&(T[F]=M[F]);return T}function Ie(T,M){var F,O;function J(ae){return typeof ae=="object"&&ae instanceof Object&&!(ae instanceof RegExp)}for(F in M)M.hasOwnProperty(F)&&(O=M[F],J(O)?J(T[F])?Ie(T[F],O):T[F]=Ie({},O):T[F]=O);return T}function Ve(T){var M,F,O,J,ae;if(T!==T)throw new Error("Numeric literal whose value is NaN");if(T<0||T===0&&1/T<0)throw new Error("Numeric literal whose value is negative");if(T===1/0)return u?"null":d?"1e400":"1e+400";if(M=""+T,!d||M.length<3)return M;for(F=M.indexOf("."),!u&&M.charCodeAt(0)===48&&F===1&&(F=0,M=M.slice(1)),O=M,M=M.replace("e+","e"),J=0,(ae=O.indexOf("e"))>0&&(J=+O.slice(ae+1),O=O.slice(0,ae)),F>=0&&(J-=O.length-F-1,O=+(O.slice(0,F)+O.slice(F+1))+""),ae=0;O.charCodeAt(O.length+ae-1)===48;)--ae;return ae!==0&&(J-=ae,O=O.slice(0,ae)),J!==0&&(O+="e"+J),(O.length<M.length||f&&T>1e12&&Math.floor(T)===T&&(O="0x"+T.toString(16)).length<M.length)&&+O===T&&(M=O),M}function bt(T,M){return(T&-2)===8232?(M?"u":"\\u")+(T===8232?"2028":"2029"):T===10||T===13?(M?"":"\\")+(T===10?"n":"r"):String.fromCharCode(T)}function Kt(T){var M,F,O,J,ae,le,pe,Ce;if(F=T.toString(),T.source){if(M=F.match(/\/([^/]*)$/),!M)return F;for(O=M[1],F="",pe=!1,Ce=!1,J=0,ae=T.source.length;J<ae;++J)le=T.source.charCodeAt(J),Ce?(F+=bt(le,Ce),Ce=!1):(pe?le===93&&(pe=!1):le===47?F+="\\":le===91&&(pe=!0),F+=bt(le,Ce),Ce=le===92);return"/"+F+"/"+O}return F}function Ge(T,M){var F;return T===8?"\\b":T===12?"\\f":T===9?"\\t":(F=T.toString(16).toUpperCase(),u||T>255?"\\u"+"0000".slice(F.length)+F:T===0&&!a.code.isDecimalDigit(M)?"\\0":T===11?"\\x0B":"\\x"+"00".slice(F.length)+F)}function xt(T){if(T===92)return"\\\\";if(T===10)return"\\n";if(T===13)return"\\r";if(T===8232)return"\\u2028";if(T===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function rt(T){var M,F,O,J;for(J=h==="double"?'"':"'",M=0,F=T.length;M<F;++M)if(O=T.charCodeAt(M),O===39){J='"';break}else if(O===34){J="'";break}else O===92&&++M;return J+T+J}function Ar(T){var M="",F,O,J,ae=0,le=0,pe,Ce;for(F=0,O=T.length;F<O;++F){if(J=T.charCodeAt(F),J===39)++ae;else if(J===34)++le;else if(J===47&&u)M+="\\";else if(a.code.isLineTerminator(J)||J===92){M+=xt(J);continue}else if(!a.code.isIdentifierPartES5(J)&&(u&&J<32||!u&&!m&&(J<32||J>126))){M+=Ge(J,T.charCodeAt(F+1));continue}M+=String.fromCharCode(J)}if(pe=!(h==="double"||h==="auto"&&le<ae),Ce=pe?"'":'"',!(pe?ae:le))return Ce+M+Ce;for(T=M,M=Ce,F=0,O=T.length;F<O;++F)J=T.charCodeAt(F),(J===39&&pe||J===34&&!pe)&&(M+="\\"),M+=String.fromCharCode(J);return M+Ce}function Yt(T){var M,F,O,J="";for(M=0,F=T.length;M<F;++M)O=T[M],J+=Array.isArray(O)?Yt(O):O;return J}function be(T,M){if(!g)return Array.isArray(T)?Yt(T):T;if(M==null){if(T instanceof i)return T;M={}}return M.loc==null?new i(null,null,g,T,M.name||null):new i(M.loc.start.line,M.loc.start.column,g===!0?M.loc.source||null:g,T,M.name||null)}function At(){return y||" "}function Be(T,M){var F,O,J,ae;return F=be(T).toString(),F.length===0?[M]:(O=be(M).toString(),O.length===0?[T]:(J=F.charCodeAt(F.length-1),ae=O.charCodeAt(0),(J===43||J===45)&&J===ae||a.code.isIdentifierPartES5(J)&&a.code.isIdentifierPartES5(ae)||J===47&&ae===105?[T,At(),M]:a.code.isWhiteSpace(J)||a.code.isLineTerminator(J)||a.code.isWhiteSpace(ae)||a.code.isLineTerminator(ae)?[T,M]:[T,y,M]))}function Ft(T){return[s,T]}function ut(T){var M;M=s,s+=l,T(s),s=M}function Xr(T){var M;for(M=T.length-1;M>=0&&!a.code.isLineTerminator(T.charCodeAt(M));--M);return T.length-1-M}function an(T,M){var F,O,J,ae,le,pe,Ce,He;for(F=T.split(/\r\n|[\r\n]/),pe=Number.MAX_VALUE,O=1,J=F.length;O<J;++O){for(ae=F[O],le=0;le<ae.length&&a.code.isWhiteSpace(ae.charCodeAt(le));)++le;pe>le&&(pe=le)}for(typeof M<"u"?(Ce=s,F[1][pe]==="*"&&(M+=" "),s=M):(pe&1&&--pe,Ce=s),O=1,J=F.length;O<J;++O)He=be(Ft(F[O].slice(pe))),F[O]=g?He.join(""):He;return s=Ce,F.join(`
1074
+ `)}function Rt(T,M){if(T.type==="Line"){if(Te(T.value))return"//"+T.value;var F="//"+T.value;return C||(F+=`
1075
+ `),F}return P.format.indent.adjustMultilineComment&&/[\n\r]/.test(T.value)?an("/*"+T.value+"*/",M):"/*"+T.value+"*/"}function Le(T,M){var F,O,J,ae,le,pe,Ce,He,ge,Gt,er,_n,Xn,cr;if(T.leadingComments&&T.leadingComments.length>0){if(ae=M,C){for(J=T.leadingComments[0],M=[],He=J.extendedRange,ge=J.range,er=w.substring(He[0],ge[0]),cr=(er.match(/\n/g)||[]).length,cr>0?(M.push(Ae(`
1076
+ `,cr)),M.push(Ft(Rt(J)))):(M.push(er),M.push(Rt(J))),Gt=ge,F=1,O=T.leadingComments.length;F<O;F++)J=T.leadingComments[F],ge=J.range,_n=w.substring(Gt[1],ge[0]),cr=(_n.match(/\n/g)||[]).length,M.push(Ae(`
1077
+ `,cr)),M.push(Ft(Rt(J))),Gt=ge;Xn=w.substring(ge[1],He[1]),cr=(Xn.match(/\n/g)||[]).length,M.push(Ae(`
1078
+ `,cr))}else for(J=T.leadingComments[0],M=[],_&&T.type===t.Program&&T.body.length===0&&M.push(`
1079
+ `),M.push(Rt(J)),Te(be(M).toString())||M.push(`
1080
+ `),F=1,O=T.leadingComments.length;F<O;++F)J=T.leadingComments[F],Ce=[Rt(J)],Te(be(Ce).toString())||Ce.push(`
1081
+ `),M.push(Ft(Ce));M.push(Ft(ae))}if(T.trailingComments)if(C)J=T.trailingComments[0],He=J.extendedRange,ge=J.range,er=w.substring(He[0],ge[0]),cr=(er.match(/\n/g)||[]).length,cr>0?(M.push(Ae(`
1082
+ `,cr)),M.push(Ft(Rt(J)))):(M.push(er),M.push(Rt(J)));else for(le=!Te(be(M).toString()),pe=Ae(" ",Xr(be([s,M,l]).toString())),F=0,O=T.trailingComments.length;F<O;++F)J=T.trailingComments[F],le?(F===0?M=[M,l]:M=[M,pe],M.push(Rt(J,pe))):M=[M,Ft(Rt(J))],F!==O-1&&!Te(be(M).toString())&&(M=[M,`
1083
+ `]);return M}function wr(T,M,F){var O,J=0;for(O=T;O<M;O++)w[O]===`
1084
+ `&&J++;for(O=1;O<J;O++)F.push(b)}function mt(T,M,F){return M<F?["(",T,")"]:T}function ar(T){var M,F,O;for(O=T.split(/\r\n|\n/),M=1,F=O.length;M<F;M++)O[M]=b+s+O[M];return O}function Sn(T,M){var F,O,J;return F=T[P.verbatim],typeof F=="string"?O=mt(ar(F),r.Sequence,M):(O=ar(F.content),J=F.precedence!=null?F.precedence:r.Sequence,O=mt(O,J,M)),be(O,T)}function ct(){}ct.prototype.maybeBlock=function(T,M){var F,O,J=this;return O=!P.comment||!T.leadingComments,T.type===t.BlockStatement&&O?[y,this.generateStatement(T,M)]:T.type===t.EmptyStatement&&O?";":(ut(function(){F=[b,Ft(J.generateStatement(T,M))]}),F)},ct.prototype.maybeBlockSuffix=function(T,M){var F=Te(be(M).toString());return T.type===t.BlockStatement&&(!P.comment||!T.leadingComments)&&!F?[M,y]:F?[M,s]:[M,b,s]};function Nt(T){return be(T.name,T)}function Sr(T,M){return T.async?"async"+(M?At():y):""}function Dt(T){var M=T.generator&&!P.moz.starlessGenerator;return M?"*"+y:""}function dt(T){var M=T.value,F="";return M.async&&(F+=Sr(M,!T.computed)),M.generator&&(F+=Dt(M)?"*":""),F}ct.prototype.generatePattern=function(T,M,F){return T.type===t.Identifier?Nt(T):this.generateExpression(T,M,F)},ct.prototype.generateFunctionParams=function(T){var M,F,O,J;if(J=!1,T.type===t.ArrowFunctionExpression&&!T.rest&&(!T.defaults||T.defaults.length===0)&&T.params.length===1&&T.params[0].type===t.Identifier)O=[Sr(T,!0),Nt(T.params[0])];else{for(O=T.type===t.ArrowFunctionExpression?[Sr(T,!1)]:[],O.push("("),T.defaults&&(J=!0),M=0,F=T.params.length;M<F;++M)J&&T.defaults[M]?O.push(this.generateAssignment(T.params[M],T.defaults[M],"=",r.Assignment,G)):O.push(this.generatePattern(T.params[M],r.Assignment,G)),M+1<F&&O.push(","+y);T.rest&&(T.params.length&&O.push(","+y),O.push("..."),O.push(Nt(T.rest))),O.push(")")}return O},ct.prototype.generateFunctionBody=function(T){var M,F;return M=this.generateFunctionParams(T),T.type===t.ArrowFunctionExpression&&(M.push(y),M.push("=>")),T.expression?(M.push(y),F=this.generateExpression(T.body,r.Assignment,G),F.toString().charAt(0)==="{"&&(F=["(",F,")"]),M.push(F)):M.push(this.maybeBlock(T.body,Q)),M},ct.prototype.generateIterationForStatement=function(T,M,F){var O=["for"+(M.await?At()+"await":"")+y+"("],J=this;return ut(function(){M.left.type===t.VariableDeclaration?ut(function(){O.push(M.left.kind+At()),O.push(J.generateStatement(M.left.declarations[0],Se))}):O.push(J.generateExpression(M.left,r.Call,G)),O=Be(O,T),O=[Be(O,J.generateExpression(M.right,r.Assignment,G)),")"]}),O.push(this.maybeBlock(M.body,F)),O},ct.prototype.generatePropertyKey=function(T,M){var F=[];return M&&F.push("["),F.push(this.generateExpression(T,r.Assignment,G)),M&&F.push("]"),F},ct.prototype.generateAssignment=function(T,M,F,O,J){return r.Assignment<O&&(J|=$),mt([this.generateExpression(T,r.Call,J),y+F+y,this.generateExpression(M,r.Assignment,J)],r.Assignment,O)},ct.prototype.semicolon=function(T){return!E&&T&ne?"":";"},ct.Statement={BlockStatement:function(T,M){var F,O,J=["{",b],ae=this;return ut(function(){T.body.length===0&&C&&(F=T.range,F[1]-F[0]>2&&(O=w.substring(F[0]+1,F[1]-1),O[0]===`
1085
+ `&&(J=["{"]),J.push(O)));var le,pe,Ce,He;for(He=se,M&W&&(He|=Y),le=0,pe=T.body.length;le<pe;++le)C&&(le===0&&(T.body[0].leadingComments&&(F=T.body[0].leadingComments[0].extendedRange,O=w.substring(F[0],F[1]),O[0]===`
1086
+ `&&(J=["{"])),T.body[0].leadingComments||wr(T.range[0],T.body[0].range[0],J)),le>0&&!T.body[le-1].trailingComments&&!T.body[le].leadingComments&&wr(T.body[le-1].range[1],T.body[le].range[0],J)),le===pe-1&&(He|=ne),T.body[le].leadingComments&&C?Ce=ae.generateStatement(T.body[le],He):Ce=Ft(ae.generateStatement(T.body[le],He)),J.push(Ce),Te(be(Ce).toString())||C&&le<pe-1&&T.body[le+1].leadingComments||J.push(b),C&&le===pe-1&&(T.body[le].trailingComments||wr(T.body[le].range[1],T.range[1],J))}),J.push(Ft("}")),J},BreakStatement:function(T,M){return T.label?"break "+T.label.name+this.semicolon(M):"break"+this.semicolon(M)},ContinueStatement:function(T,M){return T.label?"continue "+T.label.name+this.semicolon(M):"continue"+this.semicolon(M)},ClassBody:function(T,M){var F=["{",b],O=this;return ut(function(J){var ae,le;for(ae=0,le=T.body.length;ae<le;++ae)F.push(J),F.push(O.generateExpression(T.body[ae],r.Sequence,G)),ae+1<le&&F.push(b)}),Te(be(F).toString())||F.push(b),F.push(s),F.push("}"),F},ClassDeclaration:function(T,M){var F,O;return F=["class"],T.id&&(F=Be(F,this.generateExpression(T.id,r.Sequence,G))),T.superClass&&(O=Be("extends",this.generateExpression(T.superClass,r.Unary,G)),F=Be(F,O)),F.push(y),F.push(this.generateStatement(T.body,xe)),F},DirectiveStatement:function(T,M){return P.raw&&T.raw?T.raw+this.semicolon(M):rt(T.directive)+this.semicolon(M)},DoWhileStatement:function(T,M){var F=Be("do",this.maybeBlock(T.body,se));return F=this.maybeBlockSuffix(T.body,F),Be(F,["while"+y+"(",this.generateExpression(T.test,r.Sequence,G),")"+this.semicolon(M)])},CatchClause:function(T,M){var F,O=this;return ut(function(){var J;T.param?(F=["catch"+y+"(",O.generateExpression(T.param,r.Sequence,G),")"],T.guard&&(J=O.generateExpression(T.guard,r.Sequence,G),F.splice(2,0," if ",J))):F=["catch"]}),F.push(this.maybeBlock(T.body,se)),F},DebuggerStatement:function(T,M){return"debugger"+this.semicolon(M)},EmptyStatement:function(T,M){return";"},ExportDefaultDeclaration:function(T,M){var F=["export"],O;return O=M&ne?xe:se,F=Be(F,"default"),U(T.declaration)?F=Be(F,this.generateStatement(T.declaration,O)):F=Be(F,this.generateExpression(T.declaration,r.Assignment,G)+this.semicolon(M)),F},ExportNamedDeclaration:function(T,M){var F=["export"],O,J=this;return O=M&ne?xe:se,T.declaration?Be(F,this.generateStatement(T.declaration,O)):(T.specifiers&&(T.specifiers.length===0?F=Be(F,"{"+y+"}"):T.specifiers[0].type===t.ExportBatchSpecifier?F=Be(F,this.generateExpression(T.specifiers[0],r.Sequence,G)):(F=Be(F,"{"),ut(function(ae){var le,pe;for(F.push(b),le=0,pe=T.specifiers.length;le<pe;++le)F.push(ae),F.push(J.generateExpression(T.specifiers[le],r.Sequence,G)),le+1<pe&&F.push(","+b)}),Te(be(F).toString())||F.push(b),F.push(s+"}")),T.source?F=Be(F,["from"+y,this.generateExpression(T.source,r.Sequence,G),this.semicolon(M)]):F.push(this.semicolon(M))),F)},ExportAllDeclaration:function(T,M){return["export"+y,"*"+y,"from"+y,this.generateExpression(T.source,r.Sequence,G),this.semicolon(M)]},ExpressionStatement:function(T,M){var F,O;function J(pe){var Ce;return pe.slice(0,5)!=="class"?!1:(Ce=pe.charCodeAt(5),Ce===123||a.code.isWhiteSpace(Ce)||a.code.isLineTerminator(Ce))}function ae(pe){var Ce;return pe.slice(0,8)!=="function"?!1:(Ce=pe.charCodeAt(8),Ce===40||a.code.isWhiteSpace(Ce)||Ce===42||a.code.isLineTerminator(Ce))}function le(pe){var Ce,He,ge;if(pe.slice(0,5)!=="async"||!a.code.isWhiteSpace(pe.charCodeAt(5)))return!1;for(He=6,ge=pe.length;He<ge&&a.code.isWhiteSpace(pe.charCodeAt(He));++He);return He===ge||pe.slice(He,He+8)!=="function"?!1:(Ce=pe.charCodeAt(He+8),Ce===40||a.code.isWhiteSpace(Ce)||Ce===42||a.code.isLineTerminator(Ce))}return F=[this.generateExpression(T.expression,r.Sequence,G)],O=be(F).toString(),O.charCodeAt(0)===123||J(O)||ae(O)||le(O)||I&&M&Y&&T.expression.type===t.Literal&&typeof T.expression.value=="string"?F=["(",F,")"+this.semicolon(M)]:F.push(this.semicolon(M)),F},ImportDeclaration:function(T,M){var F,O,J=this;return T.specifiers.length===0?["import",y,this.generateExpression(T.source,r.Sequence,G),this.semicolon(M)]:(F=["import"],O=0,T.specifiers[O].type===t.ImportDefaultSpecifier&&(F=Be(F,[this.generateExpression(T.specifiers[O],r.Sequence,G)]),++O),T.specifiers[O]&&(O!==0&&F.push(","),T.specifiers[O].type===t.ImportNamespaceSpecifier?F=Be(F,[y,this.generateExpression(T.specifiers[O],r.Sequence,G)]):(F.push(y+"{"),T.specifiers.length-O===1?(F.push(y),F.push(this.generateExpression(T.specifiers[O],r.Sequence,G)),F.push(y+"}"+y)):(ut(function(ae){var le,pe;for(F.push(b),le=O,pe=T.specifiers.length;le<pe;++le)F.push(ae),F.push(J.generateExpression(T.specifiers[le],r.Sequence,G)),le+1<pe&&F.push(","+b)}),Te(be(F).toString())||F.push(b),F.push(s+"}"+y)))),F=Be(F,["from"+y,this.generateExpression(T.source,r.Sequence,G),this.semicolon(M)]),F)},VariableDeclarator:function(T,M){var F=M&$?G:Pe;return T.init?[this.generateExpression(T.id,r.Assignment,F),y,"=",y,this.generateExpression(T.init,r.Assignment,F)]:this.generatePattern(T.id,r.Assignment,F)},VariableDeclaration:function(T,M){var F,O,J,ae,le,pe=this;F=[T.kind],le=M&$?se:Se;function Ce(){for(ae=T.declarations[0],P.comment&&ae.leadingComments?(F.push(`
1087
+ `),F.push(Ft(pe.generateStatement(ae,le)))):(F.push(At()),F.push(pe.generateStatement(ae,le))),O=1,J=T.declarations.length;O<J;++O)ae=T.declarations[O],P.comment&&ae.leadingComments?(F.push(","+b),F.push(Ft(pe.generateStatement(ae,le)))):(F.push(","+y),F.push(pe.generateStatement(ae,le)))}return T.declarations.length>1?ut(Ce):Ce(),F.push(this.semicolon(M)),F},ThrowStatement:function(T,M){return[Be("throw",this.generateExpression(T.argument,r.Sequence,G)),this.semicolon(M)]},TryStatement:function(T,M){var F,O,J,ae;if(F=["try",this.maybeBlock(T.block,se)],F=this.maybeBlockSuffix(T.block,F),T.handlers)for(O=0,J=T.handlers.length;O<J;++O)F=Be(F,this.generateStatement(T.handlers[O],se)),(T.finalizer||O+1!==J)&&(F=this.maybeBlockSuffix(T.handlers[O].body,F));else{for(ae=T.guardedHandlers||[],O=0,J=ae.length;O<J;++O)F=Be(F,this.generateStatement(ae[O],se)),(T.finalizer||O+1!==J)&&(F=this.maybeBlockSuffix(ae[O].body,F));if(T.handler)if(Array.isArray(T.handler))for(O=0,J=T.handler.length;O<J;++O)F=Be(F,this.generateStatement(T.handler[O],se)),(T.finalizer||O+1!==J)&&(F=this.maybeBlockSuffix(T.handler[O].body,F));else F=Be(F,this.generateStatement(T.handler,se)),T.finalizer&&(F=this.maybeBlockSuffix(T.handler.body,F))}return T.finalizer&&(F=Be(F,["finally",this.maybeBlock(T.finalizer,se)])),F},SwitchStatement:function(T,M){var F,O,J,ae,le,pe=this;if(ut(function(){F=["switch"+y+"(",pe.generateExpression(T.discriminant,r.Sequence,G),")"+y+"{"+b]}),T.cases)for(le=se,J=0,ae=T.cases.length;J<ae;++J)J===ae-1&&(le|=ne),O=Ft(this.generateStatement(T.cases[J],le)),F.push(O),Te(be(O).toString())||F.push(b);return F.push(Ft("}")),F},SwitchCase:function(T,M){var F,O,J,ae,le,pe=this;return ut(function(){for(T.test?F=[Be("case",pe.generateExpression(T.test,r.Sequence,G)),":"]:F=["default:"],J=0,ae=T.consequent.length,ae&&T.consequent[0].type===t.BlockStatement&&(O=pe.maybeBlock(T.consequent[0],se),F.push(O),J=1),J!==ae&&!Te(be(F).toString())&&F.push(b),le=se;J<ae;++J)J===ae-1&&M&ne&&(le|=ne),O=Ft(pe.generateStatement(T.consequent[J],le)),F.push(O),J+1!==ae&&!Te(be(O).toString())&&F.push(b)}),F},IfStatement:function(T,M){var F,O,J,ae=this;return ut(function(){F=["if"+y+"(",ae.generateExpression(T.test,r.Sequence,G),")"]}),J=M&ne,O=se,J&&(O|=ne),T.alternate?(F.push(this.maybeBlock(T.consequent,se)),F=this.maybeBlockSuffix(T.consequent,F),T.alternate.type===t.IfStatement?F=Be(F,["else ",this.generateStatement(T.alternate,O)]):F=Be(F,Be("else",this.maybeBlock(T.alternate,O)))):F.push(this.maybeBlock(T.consequent,O)),F},ForStatement:function(T,M){var F,O=this;return ut(function(){F=["for"+y+"("],T.init?T.init.type===t.VariableDeclaration?F.push(O.generateStatement(T.init,Se)):(F.push(O.generateExpression(T.init,r.Sequence,Pe)),F.push(";")):F.push(";"),T.test&&(F.push(y),F.push(O.generateExpression(T.test,r.Sequence,G))),F.push(";"),T.update&&(F.push(y),F.push(O.generateExpression(T.update,r.Sequence,G))),F.push(")")}),F.push(this.maybeBlock(T.body,M&ne?xe:se)),F},ForInStatement:function(T,M){return this.generateIterationForStatement("in",T,M&ne?xe:se)},ForOfStatement:function(T,M){return this.generateIterationForStatement("of",T,M&ne?xe:se)},LabeledStatement:function(T,M){return[T.label.name+":",this.maybeBlock(T.body,M&ne?xe:se)]},Program:function(T,M){var F,O,J,ae,le;for(ae=T.body.length,F=[_&&ae>0?`
1088
+ `:""],le=je,J=0;J<ae;++J)!_&&J===ae-1&&(le|=ne),C&&(J===0&&(T.body[0].leadingComments||wr(T.range[0],T.body[J].range[0],F)),J>0&&!T.body[J-1].trailingComments&&!T.body[J].leadingComments&&wr(T.body[J-1].range[1],T.body[J].range[0],F)),O=Ft(this.generateStatement(T.body[J],le)),F.push(O),J+1<ae&&!Te(be(O).toString())&&(C&&T.body[J+1].leadingComments||F.push(b)),C&&J===ae-1&&(T.body[J].trailingComments||wr(T.body[J].range[1],T.range[1],F));return F},FunctionDeclaration:function(T,M){return[Sr(T,!0),"function",Dt(T)||At(),T.id?Nt(T.id):"",this.generateFunctionBody(T)]},ReturnStatement:function(T,M){return T.argument?[Be("return",this.generateExpression(T.argument,r.Sequence,G)),this.semicolon(M)]:["return"+this.semicolon(M)]},WhileStatement:function(T,M){var F,O=this;return ut(function(){F=["while"+y+"(",O.generateExpression(T.test,r.Sequence,G),")"]}),F.push(this.maybeBlock(T.body,M&ne?xe:se)),F},WithStatement:function(T,M){var F,O=this;return ut(function(){F=["with"+y+"(",O.generateExpression(T.object,r.Sequence,G),")"]}),F.push(this.maybeBlock(T.body,M&ne?xe:se)),F}},Oe(ct.prototype,ct.Statement),ct.Expression={SequenceExpression:function(T,M,F){var O,J,ae;for(r.Sequence<M&&(F|=$),O=[],J=0,ae=T.expressions.length;J<ae;++J)O.push(this.generateExpression(T.expressions[J],r.Assignment,F)),J+1<ae&&O.push(","+y);return mt(O,r.Sequence,M)},AssignmentExpression:function(T,M,F){return this.generateAssignment(T.left,T.right,T.operator,M,F)},ArrowFunctionExpression:function(T,M,F){return mt(this.generateFunctionBody(T),r.ArrowFunction,M)},ConditionalExpression:function(T,M,F){return r.Conditional<M&&(F|=$),mt([this.generateExpression(T.test,r.Coalesce,F),y+"?"+y,this.generateExpression(T.consequent,r.Assignment,F),y+":"+y,this.generateExpression(T.alternate,r.Assignment,F)],r.Conditional,M)},LogicalExpression:function(T,M,F){return T.operator==="??"&&(F|=we),this.BinaryExpression(T,M,F)},BinaryExpression:function(T,M,F){var O,J,ae,le,pe,Ce;return le=n[T.operator],J=T.operator==="**"?r.Postfix:le,ae=T.operator==="**"?le:le+1,le<M&&(F|=$),pe=this.generateExpression(T.left,J,F),Ce=pe.toString(),Ce.charCodeAt(Ce.length-1)===47&&a.code.isIdentifierPartES5(T.operator.charCodeAt(0))?O=[pe,At(),T.operator]:O=Be(pe,T.operator),pe=this.generateExpression(T.right,ae,F),T.operator==="/"&&pe.toString().charAt(0)==="/"||T.operator.slice(-1)==="<"&&pe.toString().slice(0,3)==="!--"?(O.push(At()),O.push(pe)):O=Be(O,pe),T.operator==="in"&&!(F&$)?["(",O,")"]:(T.operator==="||"||T.operator==="&&")&&F&we?["(",O,")"]:mt(O,le,M)},CallExpression:function(T,M,F){var O,J,ae;for(O=[this.generateExpression(T.callee,r.Call,X)],T.optional&&O.push("?."),O.push("("),J=0,ae=T.arguments.length;J<ae;++J)O.push(this.generateExpression(T.arguments[J],r.Assignment,G)),J+1<ae&&O.push(","+y);return O.push(")"),F&k?mt(O,r.Call,M):["(",O,")"]},ChainExpression:function(T,M,F){r.OptionalChaining<M&&(F|=k);var O=this.generateExpression(T.expression,r.OptionalChaining,F);return mt(O,r.OptionalChaining,M)},NewExpression:function(T,M,F){var O,J,ae,le,pe;if(J=T.arguments.length,pe=F&V&&!A&&J===0?he:ie,O=Be("new",this.generateExpression(T.callee,r.New,pe)),!(F&V)||A||J>0){for(O.push("("),ae=0,le=J;ae<le;++ae)O.push(this.generateExpression(T.arguments[ae],r.Assignment,G)),ae+1<le&&O.push(","+y);O.push(")")}return mt(O,r.New,M)},MemberExpression:function(T,M,F){var O,J;return O=[this.generateExpression(T.object,r.Call,F&k?X:ie)],T.computed?(T.optional&&O.push("?."),O.push("["),O.push(this.generateExpression(T.property,r.Sequence,F&k?G:he)),O.push("]")):(!T.optional&&T.object.type===t.Literal&&typeof T.object.value=="number"&&(J=be(O).toString(),J.indexOf(".")<0&&!/[eExX]/.test(J)&&a.code.isDecimalDigit(J.charCodeAt(J.length-1))&&!(J.length>=2&&J.charCodeAt(0)===48)&&O.push(" ")),O.push(T.optional?"?.":"."),O.push(Nt(T.property))),mt(O,r.Member,M)},MetaProperty:function(T,M,F){var O;return O=[],O.push(typeof T.meta=="string"?T.meta:Nt(T.meta)),O.push("."),O.push(typeof T.property=="string"?T.property:Nt(T.property)),mt(O,r.Member,M)},UnaryExpression:function(T,M,F){var O,J,ae,le,pe;return J=this.generateExpression(T.argument,r.Unary,G),y===""?O=Be(T.operator,J):(O=[T.operator],T.operator.length>2?O=Be(O,J):(le=be(O).toString(),pe=le.charCodeAt(le.length-1),ae=J.toString().charCodeAt(0),((pe===43||pe===45)&&pe===ae||a.code.isIdentifierPartES5(pe)&&a.code.isIdentifierPartES5(ae))&&O.push(At()),O.push(J))),mt(O,r.Unary,M)},YieldExpression:function(T,M,F){var O;return T.delegate?O="yield*":O="yield",T.argument&&(O=Be(O,this.generateExpression(T.argument,r.Yield,G))),mt(O,r.Yield,M)},AwaitExpression:function(T,M,F){var O=Be(T.all?"await*":"await",this.generateExpression(T.argument,r.Await,G));return mt(O,r.Await,M)},UpdateExpression:function(T,M,F){return T.prefix?mt([T.operator,this.generateExpression(T.argument,r.Unary,G)],r.Unary,M):mt([this.generateExpression(T.argument,r.Postfix,G),T.operator],r.Postfix,M)},FunctionExpression:function(T,M,F){var O=[Sr(T,!0),"function"];return T.id?(O.push(Dt(T)||At()),O.push(Nt(T.id))):O.push(Dt(T)||y),O.push(this.generateFunctionBody(T)),O},ArrayPattern:function(T,M,F){return this.ArrayExpression(T,M,F,!0)},ArrayExpression:function(T,M,F,O){var J,ae,le=this;return T.elements.length?(ae=O?!1:T.elements.length>1,J=["[",ae?b:""],ut(function(pe){var Ce,He;for(Ce=0,He=T.elements.length;Ce<He;++Ce)T.elements[Ce]?(J.push(ae?pe:""),J.push(le.generateExpression(T.elements[Ce],r.Assignment,G))):(ae&&J.push(pe),Ce+1===He&&J.push(",")),Ce+1<He&&J.push(","+(ae?b:y))}),ae&&!Te(be(J).toString())&&J.push(b),J.push(ae?s:""),J.push("]"),J):"[]"},RestElement:function(T,M,F){return"..."+this.generatePattern(T.argument)},ClassExpression:function(T,M,F){var O,J;return O=["class"],T.id&&(O=Be(O,this.generateExpression(T.id,r.Sequence,G))),T.superClass&&(J=Be("extends",this.generateExpression(T.superClass,r.Unary,G)),O=Be(O,J)),O.push(y),O.push(this.generateStatement(T.body,xe)),O},MethodDefinition:function(T,M,F){var O,J;return T.static?O=["static"+y]:O=[],T.kind==="get"||T.kind==="set"?J=[Be(T.kind,this.generatePropertyKey(T.key,T.computed)),this.generateFunctionBody(T.value)]:J=[dt(T),this.generatePropertyKey(T.key,T.computed),this.generateFunctionBody(T.value)],Be(O,J)},Property:function(T,M,F){return T.kind==="get"||T.kind==="set"?[T.kind,At(),this.generatePropertyKey(T.key,T.computed),this.generateFunctionBody(T.value)]:T.shorthand?T.value.type==="AssignmentPattern"?this.AssignmentPattern(T.value,r.Sequence,G):this.generatePropertyKey(T.key,T.computed):T.method?[dt(T),this.generatePropertyKey(T.key,T.computed),this.generateFunctionBody(T.value)]:[this.generatePropertyKey(T.key,T.computed),":"+y,this.generateExpression(T.value,r.Assignment,G)]},ObjectExpression:function(T,M,F){var O,J,ae,le=this;return T.properties.length?(O=T.properties.length>1,ut(function(){ae=le.generateExpression(T.properties[0],r.Sequence,G)}),!O&&!Re(be(ae).toString())?["{",y,ae,y,"}"]:(ut(function(pe){var Ce,He;if(J=["{",b,pe,ae],O)for(J.push(","+b),Ce=1,He=T.properties.length;Ce<He;++Ce)J.push(pe),J.push(le.generateExpression(T.properties[Ce],r.Sequence,G)),Ce+1<He&&J.push(","+b)}),Te(be(J).toString())||J.push(b),J.push(s),J.push("}"),J)):"{}"},AssignmentPattern:function(T,M,F){return this.generateAssignment(T.left,T.right,"=",M,F)},ObjectPattern:function(T,M,F){var O,J,ae,le,pe,Ce=this;if(!T.properties.length)return"{}";if(le=!1,T.properties.length===1)pe=T.properties[0],pe.type===t.Property&&pe.value.type!==t.Identifier&&(le=!0);else for(J=0,ae=T.properties.length;J<ae;++J)if(pe=T.properties[J],pe.type===t.Property&&!pe.shorthand){le=!0;break}return O=["{",le?b:""],ut(function(He){var ge,Gt;for(ge=0,Gt=T.properties.length;ge<Gt;++ge)O.push(le?He:""),O.push(Ce.generateExpression(T.properties[ge],r.Sequence,G)),ge+1<Gt&&O.push(","+(le?b:y))}),le&&!Te(be(O).toString())&&O.push(b),O.push(le?s:""),O.push("}"),O},ThisExpression:function(T,M,F){return"this"},Super:function(T,M,F){return"super"},Identifier:function(T,M,F){return Nt(T)},ImportDefaultSpecifier:function(T,M,F){return Nt(T.id||T.local)},ImportNamespaceSpecifier:function(T,M,F){var O=["*"],J=T.id||T.local;return J&&O.push(y+"as"+At()+Nt(J)),O},ImportSpecifier:function(T,M,F){var O=T.imported,J=[O.name],ae=T.local;return ae&&ae.name!==O.name&&J.push(At()+"as"+At()+Nt(ae)),J},ExportSpecifier:function(T,M,F){var O=T.local,J=[O.name],ae=T.exported;return ae&&ae.name!==O.name&&J.push(At()+"as"+At()+Nt(ae)),J},Literal:function(T,M,F){var O;if(T.hasOwnProperty("raw")&&x&&P.raw)try{if(O=x(T.raw).body[0].expression,O.type===t.Literal&&O.value===T.value)return T.raw}catch{}return T.regex?"/"+T.regex.pattern+"/"+T.regex.flags:typeof T.value=="bigint"?T.value.toString()+"n":T.bigint?T.bigint+"n":T.value===null?"null":typeof T.value=="string"?Ar(T.value):typeof T.value=="number"?Ve(T.value):typeof T.value=="boolean"?T.value?"true":"false":Kt(T.value)},GeneratorExpression:function(T,M,F){return this.ComprehensionExpression(T,M,F)},ComprehensionExpression:function(T,M,F){var O,J,ae,le,pe=this;return O=T.type===t.GeneratorExpression?["("]:["["],P.moz.comprehensionExpressionStartsWithAssignment&&(le=this.generateExpression(T.body,r.Assignment,G),O.push(le)),T.blocks&&ut(function(){for(J=0,ae=T.blocks.length;J<ae;++J)le=pe.generateExpression(T.blocks[J],r.Sequence,G),J>0||P.moz.comprehensionExpressionStartsWithAssignment?O=Be(O,le):O.push(le)}),T.filter&&(O=Be(O,"if"+y),le=this.generateExpression(T.filter,r.Sequence,G),O=Be(O,["(",le,")"])),P.moz.comprehensionExpressionStartsWithAssignment||(le=this.generateExpression(T.body,r.Assignment,G),O=Be(O,le)),O.push(T.type===t.GeneratorExpression?")":"]"),O},ComprehensionBlock:function(T,M,F){var O;return T.left.type===t.VariableDeclaration?O=[T.left.kind,At(),this.generateStatement(T.left.declarations[0],Se)]:O=this.generateExpression(T.left,r.Call,G),O=Be(O,T.of?"of":"in"),O=Be(O,this.generateExpression(T.right,r.Sequence,G)),["for"+y+"(",O,")"]},SpreadElement:function(T,M,F){return["...",this.generateExpression(T.argument,r.Assignment,G)]},TaggedTemplateExpression:function(T,M,F){var O=X;F&k||(O=ie);var J=[this.generateExpression(T.tag,r.Call,O),this.generateExpression(T.quasi,r.Primary,fe)];return mt(J,r.TaggedTemplate,M)},TemplateElement:function(T,M,F){return T.value.raw},TemplateLiteral:function(T,M,F){var O,J,ae;for(O=["`"],J=0,ae=T.quasis.length;J<ae;++J)O.push(this.generateExpression(T.quasis[J],r.Primary,G)),J+1<ae&&(O.push("${"+y),O.push(this.generateExpression(T.expressions[J],r.Sequence,G)),O.push(y+"}"));return O.push("`"),O},ModuleSpecifier:function(T,M,F){return this.Literal(T,M,F)},ImportExpression:function(T,M,F){return mt(["import(",this.generateExpression(T.source,r.Assignment,G),")"],r.Call,M)}},Oe(ct.prototype,ct.Expression),ct.prototype.generateExpression=function(T,M,F){var O,J;return J=T.type||t.Property,P.verbatim&&T.hasOwnProperty(P.verbatim)?Sn(T,M):(O=this[J](T,M,F),P.comment&&(O=Le(T,O)),be(O,T))},ct.prototype.generateStatement=function(T,M){var F,O;return F=this[T.type](T,M),P.comment&&(F=Le(T,F)),O=be(F).toString(),T.type===t.Program&&!_&&b===""&&O.charAt(O.length-1)===`
1089
+ `&&(F=g?be(F).replaceRight(/\s+$/,""):O.replace(/\s+$/,"")),be(F,T)};function Xt(T){var M;if(M=new ct,U(T))return M.generateStatement(T,se);if(B(T))return M.generateExpression(T,r.Sequence,G);throw new Error("Unknown node type: "+T.type)}function Ne(T,M){var F=ye(),O,J;return M!=null?(typeof M.indent=="string"&&(F.format.indent.style=M.indent),typeof M.base=="number"&&(F.format.indent.base=M.base),M=Ie(F,M),l=M.format.indent.style,typeof M.base=="string"?s=M.base:s=Ae(l,M.format.indent.base)):(M=F,l=M.format.indent.style,s=Ae(l,M.format.indent.base)),u=M.format.json,d=M.format.renumber,f=u?!1:M.format.hexadecimal,h=u?"double":M.format.quotes,m=M.format.escapeless,b=M.format.newline,y=M.format.space,M.format.compact&&(b=y=l=s=""),A=M.format.parentheses,E=M.format.semicolons,_=M.format.safeConcatenation,I=M.directive,x=u?null:M.parse,g=M.sourceMap,w=M.sourceCode,C=M.format.preserveBlankLines&&w!==null,P=M,g&&(e.browser?i=global.sourceMap.SourceNode:i=BX().SourceNode),O=Xt(T),g?(J=O.toStringWithSourceMap({file:M.file,sourceRoot:M.sourceMapRoot}),M.sourceContent&&J.map.setSourceContent(M.sourceMap,M.sourceContent),M.sourceMapWithCode?J:J.map.toString()):(J={code:O.toString(),map:null},M.sourceMapWithCode?J:J.code)}R={indent:{style:"",base:0},renumber:!0,hexadecimal:!0,quotes:"auto",escapeless:!0,compact:!0,parentheses:!1,semicolons:!1},j=ye().format,e.version=MX().version,e.generate=Ne,e.attachComments=o.attachComments,e.Precedence=Ie({},r),e.browser=!1,e.FORMAT_MINIFY=R,e.FORMAT_DEFAULTS=j})()}}),wf=Tt({"node_modules/acorn/dist/acorn.js"(e,t){(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=r||self,n(r.acorn={}))})(e,(function(r){var n={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"},i="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",o={5:i,"5module":i+" export import",6:i+" const class extends export import super"},a=/^in(stanceof)?$/,s="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",l="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",u=new RegExp("["+s+"]"),d=new RegExp("["+s+l+"]");s=l=null;var f=[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,157,310,10,21,11,7,153,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,107,20,28,22,13,52,76,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,85,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,230,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,35,56,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,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,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,8952,286,50,2,18,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,2357,44,11,6,17,0,370,43,1301,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,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],h=[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,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,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,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,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,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function m(p,S){for(var N=65536,q=0;q<S.length;q+=2){if(N+=S[q],N>p)return!1;if(N+=S[q+1],N>=p)return!0}}function b(p,S){return p<65?p===36:p<91?!0:p<97?p===95:p<123?!0:p<=65535?p>=170&&u.test(String.fromCharCode(p)):S===!1?!1:m(p,f)}function y(p,S){return p<48?p===36:p<58?!0:p<65?!1:p<91?!0:p<97?p===95:p<123?!0:p<=65535?p>=170&&d.test(String.fromCharCode(p)):S===!1?!1:m(p,f)||m(p,h)}var A=function(p,S){S===void 0&&(S={}),this.label=p,this.keyword=S.keyword,this.beforeExpr=!!S.beforeExpr,this.startsExpr=!!S.startsExpr,this.isLoop=!!S.isLoop,this.isAssign=!!S.isAssign,this.prefix=!!S.prefix,this.postfix=!!S.postfix,this.binop=S.binop||null,this.updateContext=null};function E(p,S){return new A(p,{beforeExpr:!0,binop:S})}var _={beforeExpr:!0},I={startsExpr:!0},P={};function x(p,S){return S===void 0&&(S={}),S.keyword=p,P[p]=new A(p,S)}var g={num:new A("num",I),regexp:new A("regexp",I),string:new A("string",I),name:new A("name",I),eof:new A("eof"),bracketL:new A("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new A("]"),braceL:new A("{",{beforeExpr:!0,startsExpr:!0}),braceR:new A("}"),parenL:new A("(",{beforeExpr:!0,startsExpr:!0}),parenR:new A(")"),comma:new A(",",_),semi:new A(";",_),colon:new A(":",_),dot:new A("."),question:new A("?",_),questionDot:new A("?."),arrow:new A("=>",_),template:new A("template"),invalidTemplate:new A("invalidTemplate"),ellipsis:new A("...",_),backQuote:new A("`",I),dollarBraceL:new A("${",{beforeExpr:!0,startsExpr:!0}),eq:new A("=",{beforeExpr:!0,isAssign:!0}),assign:new A("_=",{beforeExpr:!0,isAssign:!0}),incDec:new A("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new A("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:E("||",1),logicalAND:E("&&",2),bitwiseOR:E("|",3),bitwiseXOR:E("^",4),bitwiseAND:E("&",5),equality:E("==/!=/===/!==",6),relational:E("</>/<=/>=",7),bitShift:E("<</>>/>>>",8),plusMin:new A("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:E("%",10),star:E("*",10),slash:E("/",10),starstar:new A("**",{beforeExpr:!0}),coalesce:E("??",1),_break:x("break"),_case:x("case",_),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",_),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",_),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",I),_if:x("if"),_return:x("return",_),_switch:x("switch"),_throw:x("throw",_),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",I),_super:x("super",I),_class:x("class",I),_extends:x("extends",_),_export:x("export"),_import:x("import",I),_null:x("null",I),_true:x("true",I),_false:x("false",I),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,C=new RegExp(w.source,"g");function R(p,S){return p===10||p===13||!S&&(p===8232||p===8233)}var j=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,B=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,U=Object.prototype,$=U.hasOwnProperty,k=U.toString;function V(p,S){return $.call(p,S)}var W=Array.isArray||(function(p){return k.call(p)==="[object Array]"});function Y(p){return new RegExp("^(?:"+p.replace(/ /g,"|")+")$")}var ne=function(p,S){this.line=p,this.column=S};ne.prototype.offset=function(p){return new ne(this.line,this.column+p)};var we=function(p,S,N){this.start=S,this.end=N,p.sourceFile!==null&&(this.source=p.sourceFile)};function Pe(p,S){for(var N=1,q=0;;){C.lastIndex=q;var K=C.exec(p);if(K&&K.index<S)++N,q=K.index+K[0].length;else return new ne(N,S-q)}}var X={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function G(p){var S={};for(var N in X)S[N]=p&&V(p,N)?p[N]:X[N];if(S.ecmaVersion>=2015&&(S.ecmaVersion-=2009),S.allowReserved==null&&(S.allowReserved=S.ecmaVersion<5),W(S.onToken)){var q=S.onToken;S.onToken=function(K){return q.push(K)}}return W(S.onComment)&&(S.onComment=ie(S,S.onComment)),S}function ie(p,S){return function(N,q,K,oe,de,_e){var Fe={type:N?"Block":"Line",value:q,start:K,end:oe};p.locations&&(Fe.loc=new we(this,de,_e)),p.ranges&&(Fe.range=[K,oe]),S.push(Fe)}}var fe=1,he=2,se=fe|he,xe=4,Se=8,je=16,Q=32,ye=64,Ae=128;function Re(p,S){return he|(p?xe:0)|(S?Se:0)}var Te=0,Oe=1,Ie=2,Ve=3,bt=4,Kt=5,Ge=function(p,S,N){this.options=p=G(p),this.sourceFile=p.sourceFile,this.keywords=Y(o[p.ecmaVersion>=6?6:p.sourceType==="module"?"5module":5]);var q="";if(p.allowReserved!==!0){for(var K=p.ecmaVersion;!(q=n[K]);K--);p.sourceType==="module"&&(q+=" await")}this.reservedWords=Y(q);var oe=(q?q+" ":"")+n.strict;this.reservedWordsStrict=Y(oe),this.reservedWordsStrictBind=Y(oe+" "+n.strictBind),this.input=String(S),this.containsEsc=!1,N?(this.pos=N,this.lineStart=this.input.lastIndexOf(`
1090
+ `,N-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=g.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=p.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&p.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(fe),this.regexpState=null},xt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};Ge.prototype.parse=function(){var p=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(p)},xt.inFunction.get=function(){return(this.currentVarScope().flags&he)>0},xt.inGenerator.get=function(){return(this.currentVarScope().flags&Se)>0},xt.inAsync.get=function(){return(this.currentVarScope().flags&xe)>0},xt.allowSuper.get=function(){return(this.currentThisScope().flags&ye)>0},xt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Ae)>0},xt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Ge.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&he)>0},Ge.extend=function(){for(var p=[],S=arguments.length;S--;)p[S]=arguments[S];for(var N=this,q=0;q<p.length;q++)N=p[q](N);return N},Ge.parse=function(p,S){return new this(S,p).parse()},Ge.parseExpressionAt=function(p,S,N){var q=new this(N,p,S);return q.nextToken(),q.parseExpression()},Ge.tokenizer=function(p,S){return new this(S,p)},Object.defineProperties(Ge.prototype,xt);var rt=Ge.prototype,Ar=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;rt.strictDirective=function(p){for(;;){B.lastIndex=p,p+=B.exec(this.input)[0].length;var S=Ar.exec(this.input.slice(p));if(!S)return!1;if((S[1]||S[2])==="use strict"){B.lastIndex=p+S[0].length;var N=B.exec(this.input),q=N.index+N[0].length,K=this.input.charAt(q);return K===";"||K==="}"||w.test(N[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(K)||K==="!"&&this.input.charAt(q+1)==="=")}p+=S[0].length,B.lastIndex=p,p+=B.exec(this.input)[0].length,this.input[p]===";"&&p++}},rt.eat=function(p){return this.type===p?(this.next(),!0):!1},rt.isContextual=function(p){return this.type===g.name&&this.value===p&&!this.containsEsc},rt.eatContextual=function(p){return this.isContextual(p)?(this.next(),!0):!1},rt.expectContextual=function(p){this.eatContextual(p)||this.unexpected()},rt.canInsertSemicolon=function(){return this.type===g.eof||this.type===g.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},rt.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},rt.semicolon=function(){!this.eat(g.semi)&&!this.insertSemicolon()&&this.unexpected()},rt.afterTrailingComma=function(p,S){if(this.type===p)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),S||this.next(),!0},rt.expect=function(p){this.eat(p)||this.unexpected()},rt.unexpected=function(p){this.raise(p??this.start,"Unexpected token")};function Yt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}rt.checkPatternErrors=function(p,S){if(p){p.trailingComma>-1&&this.raiseRecoverable(p.trailingComma,"Comma is not permitted after the rest element");var N=S?p.parenthesizedAssign:p.parenthesizedBind;N>-1&&this.raiseRecoverable(N,"Parenthesized pattern")}},rt.checkExpressionErrors=function(p,S){if(!p)return!1;var N=p.shorthandAssign,q=p.doubleProto;if(!S)return N>=0||q>=0;N>=0&&this.raise(N,"Shorthand property assignments are valid only in destructuring patterns"),q>=0&&this.raiseRecoverable(q,"Redefinition of __proto__ property")},rt.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")},rt.isSimpleAssignTarget=function(p){return p.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(p.expression):p.type==="Identifier"||p.type==="MemberExpression"};var be=Ge.prototype;be.parseTopLevel=function(p){var S={};for(p.body||(p.body=[]);this.type!==g.eof;){var N=this.parseStatement(null,!0,S);p.body.push(N)}if(this.inModule)for(var q=0,K=Object.keys(this.undefinedExports);q<K.length;q+=1){var oe=K[q];this.raiseRecoverable(this.undefinedExports[oe].start,"Export '"+oe+"' is not defined")}return this.adaptDirectivePrologue(p.body),this.next(),p.sourceType=this.options.sourceType,this.finishNode(p,"Program")};var At={kind:"loop"},Be={kind:"switch"};be.isLet=function(p){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;B.lastIndex=this.pos;var S=B.exec(this.input),N=this.pos+S[0].length,q=this.input.charCodeAt(N);if(q===91)return!0;if(p)return!1;if(q===123)return!0;if(b(q,!0)){for(var K=N+1;y(this.input.charCodeAt(K),!0);)++K;var oe=this.input.slice(N,K);if(!a.test(oe))return!0}return!1},be.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;B.lastIndex=this.pos;var p=B.exec(this.input),S=this.pos+p[0].length;return!w.test(this.input.slice(this.pos,S))&&this.input.slice(S,S+8)==="function"&&(S+8===this.input.length||!y(this.input.charAt(S+8)))},be.parseStatement=function(p,S,N){var q=this.type,K=this.startNode(),oe;switch(this.isLet(p)&&(q=g._var,oe="let"),q){case g._break:case g._continue:return this.parseBreakContinueStatement(K,q.keyword);case g._debugger:return this.parseDebuggerStatement(K);case g._do:return this.parseDoStatement(K);case g._for:return this.parseForStatement(K);case g._function:return p&&(this.strict||p!=="if"&&p!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(K,!1,!p);case g._class:return p&&this.unexpected(),this.parseClass(K,!0);case g._if:return this.parseIfStatement(K);case g._return:return this.parseReturnStatement(K);case g._switch:return this.parseSwitchStatement(K);case g._throw:return this.parseThrowStatement(K);case g._try:return this.parseTryStatement(K);case g._const:case g._var:return oe=oe||this.value,p&&oe!=="var"&&this.unexpected(),this.parseVarStatement(K,oe);case g._while:return this.parseWhileStatement(K);case g._with:return this.parseWithStatement(K);case g.braceL:return this.parseBlock(!0,K);case g.semi:return this.parseEmptyStatement(K);case g._export:case g._import:if(this.options.ecmaVersion>10&&q===g._import){B.lastIndex=this.pos;var de=B.exec(this.input),_e=this.pos+de[0].length,Fe=this.input.charCodeAt(_e);if(Fe===40||Fe===46)return this.parseExpressionStatement(K,this.parseExpression())}return this.options.allowImportExportEverywhere||(S||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'")),q===g._import?this.parseImport(K):this.parseExport(K,N);default:if(this.isAsyncFunction())return p&&this.unexpected(),this.next(),this.parseFunctionStatement(K,!0,!p);var nt=this.value,_t=this.parseExpression();return q===g.name&&_t.type==="Identifier"&&this.eat(g.colon)?this.parseLabeledStatement(K,nt,_t,p):this.parseExpressionStatement(K,_t)}},be.parseBreakContinueStatement=function(p,S){var N=S==="break";this.next(),this.eat(g.semi)||this.insertSemicolon()?p.label=null:this.type!==g.name?this.unexpected():(p.label=this.parseIdent(),this.semicolon());for(var q=0;q<this.labels.length;++q){var K=this.labels[q];if((p.label==null||K.name===p.label.name)&&(K.kind!=null&&(N||K.kind==="loop")||p.label&&N))break}return q===this.labels.length&&this.raise(p.start,"Unsyntactic "+S),this.finishNode(p,N?"BreakStatement":"ContinueStatement")},be.parseDebuggerStatement=function(p){return this.next(),this.semicolon(),this.finishNode(p,"DebuggerStatement")},be.parseDoStatement=function(p){return this.next(),this.labels.push(At),p.body=this.parseStatement("do"),this.labels.pop(),this.expect(g._while),p.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(g.semi):this.semicolon(),this.finishNode(p,"DoWhileStatement")},be.parseForStatement=function(p){this.next();var S=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(At),this.enterScope(0),this.expect(g.parenL),this.type===g.semi)return S>-1&&this.unexpected(S),this.parseFor(p,null);var N=this.isLet();if(this.type===g._var||this.type===g._const||N){var q=this.startNode(),K=N?"let":this.value;return this.next(),this.parseVar(q,!0,K),this.finishNode(q,"VariableDeclaration"),(this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&q.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===g._in?S>-1&&this.unexpected(S):p.await=S>-1),this.parseForIn(p,q)):(S>-1&&this.unexpected(S),this.parseFor(p,q))}var oe=new Yt,de=this.parseExpression(!0,oe);return this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===g._in?S>-1&&this.unexpected(S):p.await=S>-1),this.toAssignable(de,!1,oe),this.checkLVal(de),this.parseForIn(p,de)):(this.checkExpressionErrors(oe,!0),S>-1&&this.unexpected(S),this.parseFor(p,de))},be.parseFunctionStatement=function(p,S,N){return this.next(),this.parseFunction(p,ut|(N?0:Xr),!1,S)},be.parseIfStatement=function(p){return this.next(),p.test=this.parseParenExpression(),p.consequent=this.parseStatement("if"),p.alternate=this.eat(g._else)?this.parseStatement("if"):null,this.finishNode(p,"IfStatement")},be.parseReturnStatement=function(p){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(g.semi)||this.insertSemicolon()?p.argument=null:(p.argument=this.parseExpression(),this.semicolon()),this.finishNode(p,"ReturnStatement")},be.parseSwitchStatement=function(p){this.next(),p.discriminant=this.parseParenExpression(),p.cases=[],this.expect(g.braceL),this.labels.push(Be),this.enterScope(0);for(var S,N=!1;this.type!==g.braceR;)if(this.type===g._case||this.type===g._default){var q=this.type===g._case;S&&this.finishNode(S,"SwitchCase"),p.cases.push(S=this.startNode()),S.consequent=[],this.next(),q?S.test=this.parseExpression():(N&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),N=!0,S.test=null),this.expect(g.colon)}else S||this.unexpected(),S.consequent.push(this.parseStatement(null));return this.exitScope(),S&&this.finishNode(S,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(p,"SwitchStatement")},be.parseThrowStatement=function(p){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),p.argument=this.parseExpression(),this.semicolon(),this.finishNode(p,"ThrowStatement")};var Ft=[];be.parseTryStatement=function(p){if(this.next(),p.block=this.parseBlock(),p.handler=null,this.type===g._catch){var S=this.startNode();if(this.next(),this.eat(g.parenL)){S.param=this.parseBindingAtom();var N=S.param.type==="Identifier";this.enterScope(N?Q:0),this.checkLVal(S.param,N?bt:Ie),this.expect(g.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),S.param=null,this.enterScope(0);S.body=this.parseBlock(!1),this.exitScope(),p.handler=this.finishNode(S,"CatchClause")}return p.finalizer=this.eat(g._finally)?this.parseBlock():null,!p.handler&&!p.finalizer&&this.raise(p.start,"Missing catch or finally clause"),this.finishNode(p,"TryStatement")},be.parseVarStatement=function(p,S){return this.next(),this.parseVar(p,!1,S),this.semicolon(),this.finishNode(p,"VariableDeclaration")},be.parseWhileStatement=function(p){return this.next(),p.test=this.parseParenExpression(),this.labels.push(At),p.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(p,"WhileStatement")},be.parseWithStatement=function(p){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),p.object=this.parseParenExpression(),p.body=this.parseStatement("with"),this.finishNode(p,"WithStatement")},be.parseEmptyStatement=function(p){return this.next(),this.finishNode(p,"EmptyStatement")},be.parseLabeledStatement=function(p,S,N,q){for(var K=0,oe=this.labels;K<oe.length;K+=1){var de=oe[K];de.name===S&&this.raise(N.start,"Label '"+S+"' is already declared")}for(var _e=this.type.isLoop?"loop":this.type===g._switch?"switch":null,Fe=this.labels.length-1;Fe>=0;Fe--){var nt=this.labels[Fe];if(nt.statementStart===p.start)nt.statementStart=this.start,nt.kind=_e;else break}return this.labels.push({name:S,kind:_e,statementStart:this.start}),p.body=this.parseStatement(q?q.indexOf("label")===-1?q+"label":q:"label"),this.labels.pop(),p.label=N,this.finishNode(p,"LabeledStatement")},be.parseExpressionStatement=function(p,S){return p.expression=S,this.semicolon(),this.finishNode(p,"ExpressionStatement")},be.parseBlock=function(p,S,N){for(p===void 0&&(p=!0),S===void 0&&(S=this.startNode()),S.body=[],this.expect(g.braceL),p&&this.enterScope(0);this.type!==g.braceR;){var q=this.parseStatement(null);S.body.push(q)}return N&&(this.strict=!1),this.next(),p&&this.exitScope(),this.finishNode(S,"BlockStatement")},be.parseFor=function(p,S){return p.init=S,this.expect(g.semi),p.test=this.type===g.semi?null:this.parseExpression(),this.expect(g.semi),p.update=this.type===g.parenR?null:this.parseExpression(),this.expect(g.parenR),p.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(p,"ForStatement")},be.parseForIn=function(p,S){var N=this.type===g._in;return this.next(),S.type==="VariableDeclaration"&&S.declarations[0].init!=null&&(!N||this.options.ecmaVersion<8||this.strict||S.kind!=="var"||S.declarations[0].id.type!=="Identifier")?this.raise(S.start,(N?"for-in":"for-of")+" loop variable declaration may not have an initializer"):S.type==="AssignmentPattern"&&this.raise(S.start,"Invalid left-hand side in for-loop"),p.left=S,p.right=N?this.parseExpression():this.parseMaybeAssign(),this.expect(g.parenR),p.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(p,N?"ForInStatement":"ForOfStatement")},be.parseVar=function(p,S,N){for(p.declarations=[],p.kind=N;;){var q=this.startNode();if(this.parseVarId(q,N),this.eat(g.eq)?q.init=this.parseMaybeAssign(S):N==="const"&&!(this.type===g._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():q.id.type!=="Identifier"&&!(S&&(this.type===g._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):q.init=null,p.declarations.push(this.finishNode(q,"VariableDeclarator")),!this.eat(g.comma))break}return p},be.parseVarId=function(p,S){p.id=this.parseBindingAtom(),this.checkLVal(p.id,S==="var"?Oe:Ie,!1)};var ut=1,Xr=2,an=4;be.parseFunction=function(p,S,N,q){this.initFunction(p),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!q)&&(this.type===g.star&&S&Xr&&this.unexpected(),p.generator=this.eat(g.star)),this.options.ecmaVersion>=8&&(p.async=!!q),S&ut&&(p.id=S&an&&this.type!==g.name?null:this.parseIdent(),p.id&&!(S&Xr)&&this.checkLVal(p.id,this.strict||p.generator||p.async?this.treatFunctionsAsVar?Oe:Ie:Ve));var K=this.yieldPos,oe=this.awaitPos,de=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Re(p.async,p.generator)),S&ut||(p.id=this.type===g.name?this.parseIdent():null),this.parseFunctionParams(p),this.parseFunctionBody(p,N,!1),this.yieldPos=K,this.awaitPos=oe,this.awaitIdentPos=de,this.finishNode(p,S&ut?"FunctionDeclaration":"FunctionExpression")},be.parseFunctionParams=function(p){this.expect(g.parenL),p.params=this.parseBindingList(g.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},be.parseClass=function(p,S){this.next();var N=this.strict;this.strict=!0,this.parseClassId(p,S),this.parseClassSuper(p);var q=this.startNode(),K=!1;for(q.body=[],this.expect(g.braceL);this.type!==g.braceR;){var oe=this.parseClassElement(p.superClass!==null);oe&&(q.body.push(oe),oe.type==="MethodDefinition"&&oe.kind==="constructor"&&(K&&this.raise(oe.start,"Duplicate constructor in the same class"),K=!0))}return this.strict=N,this.next(),p.body=this.finishNode(q,"ClassBody"),this.finishNode(p,S?"ClassDeclaration":"ClassExpression")},be.parseClassElement=function(p){var S=this;if(this.eat(g.semi))return null;var N=this.startNode(),q=function(Fe,nt){nt===void 0&&(nt=!1);var _t=S.start,dr=S.startLoc;return S.eatContextual(Fe)?S.type!==g.parenL&&(!nt||!S.canInsertSemicolon())?!0:(N.key&&S.unexpected(),N.computed=!1,N.key=S.startNodeAt(_t,dr),N.key.name=Fe,S.finishNode(N.key,"Identifier"),!1):!1};N.kind="method",N.static=q("static");var K=this.eat(g.star),oe=!1;K||(this.options.ecmaVersion>=8&&q("async",!0)?(oe=!0,K=this.options.ecmaVersion>=9&&this.eat(g.star)):q("get")?N.kind="get":q("set")&&(N.kind="set")),N.key||this.parsePropertyName(N);var de=N.key,_e=!1;return!N.computed&&!N.static&&(de.type==="Identifier"&&de.name==="constructor"||de.type==="Literal"&&de.value==="constructor")?(N.kind!=="method"&&this.raise(de.start,"Constructor can't have get/set modifier"),K&&this.raise(de.start,"Constructor can't be a generator"),oe&&this.raise(de.start,"Constructor can't be an async method"),N.kind="constructor",_e=p):N.static&&de.type==="Identifier"&&de.name==="prototype"&&this.raise(de.start,"Classes may not have a static property named prototype"),this.parseClassMethod(N,K,oe,_e),N.kind==="get"&&N.value.params.length!==0&&this.raiseRecoverable(N.value.start,"getter should have no params"),N.kind==="set"&&N.value.params.length!==1&&this.raiseRecoverable(N.value.start,"setter should have exactly one param"),N.kind==="set"&&N.value.params[0].type==="RestElement"&&this.raiseRecoverable(N.value.params[0].start,"Setter cannot use rest params"),N},be.parseClassMethod=function(p,S,N,q){return p.value=this.parseMethod(S,N,q),this.finishNode(p,"MethodDefinition")},be.parseClassId=function(p,S){this.type===g.name?(p.id=this.parseIdent(),S&&this.checkLVal(p.id,Ie,!1)):(S===!0&&this.unexpected(),p.id=null)},be.parseClassSuper=function(p){p.superClass=this.eat(g._extends)?this.parseExprSubscripts():null},be.parseExport=function(p,S){if(this.next(),this.eat(g.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(p.exported=this.parseIdent(!0),this.checkExport(S,p.exported.name,this.lastTokStart)):p.exported=null),this.expectContextual("from"),this.type!==g.string&&this.unexpected(),p.source=this.parseExprAtom(),this.semicolon(),this.finishNode(p,"ExportAllDeclaration");if(this.eat(g._default)){this.checkExport(S,"default",this.lastTokStart);var N;if(this.type===g._function||(N=this.isAsyncFunction())){var q=this.startNode();this.next(),N&&this.next(),p.declaration=this.parseFunction(q,ut|an,!1,N)}else if(this.type===g._class){var K=this.startNode();p.declaration=this.parseClass(K,"nullableID")}else p.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(p,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())p.declaration=this.parseStatement(null),p.declaration.type==="VariableDeclaration"?this.checkVariableExport(S,p.declaration.declarations):this.checkExport(S,p.declaration.id.name,p.declaration.id.start),p.specifiers=[],p.source=null;else{if(p.declaration=null,p.specifiers=this.parseExportSpecifiers(S),this.eatContextual("from"))this.type!==g.string&&this.unexpected(),p.source=this.parseExprAtom();else{for(var oe=0,de=p.specifiers;oe<de.length;oe+=1){var _e=de[oe];this.checkUnreserved(_e.local),this.checkLocalExport(_e.local)}p.source=null}this.semicolon()}return this.finishNode(p,"ExportNamedDeclaration")},be.checkExport=function(p,S,N){p&&(V(p,S)&&this.raiseRecoverable(N,"Duplicate export '"+S+"'"),p[S]=!0)},be.checkPatternExport=function(p,S){var N=S.type;if(N==="Identifier")this.checkExport(p,S.name,S.start);else if(N==="ObjectPattern")for(var q=0,K=S.properties;q<K.length;q+=1){var oe=K[q];this.checkPatternExport(p,oe)}else if(N==="ArrayPattern")for(var de=0,_e=S.elements;de<_e.length;de+=1){var Fe=_e[de];Fe&&this.checkPatternExport(p,Fe)}else N==="Property"?this.checkPatternExport(p,S.value):N==="AssignmentPattern"?this.checkPatternExport(p,S.left):N==="RestElement"?this.checkPatternExport(p,S.argument):N==="ParenthesizedExpression"&&this.checkPatternExport(p,S.expression)},be.checkVariableExport=function(p,S){if(p)for(var N=0,q=S;N<q.length;N+=1){var K=q[N];this.checkPatternExport(p,K.id)}},be.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},be.parseExportSpecifiers=function(p){var S=[],N=!0;for(this.expect(g.braceL);!this.eat(g.braceR);){if(N)N=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;var q=this.startNode();q.local=this.parseIdent(!0),q.exported=this.eatContextual("as")?this.parseIdent(!0):q.local,this.checkExport(p,q.exported.name,q.exported.start),S.push(this.finishNode(q,"ExportSpecifier"))}return S},be.parseImport=function(p){return this.next(),this.type===g.string?(p.specifiers=Ft,p.source=this.parseExprAtom()):(p.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),p.source=this.type===g.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(p,"ImportDeclaration")},be.parseImportSpecifiers=function(){var p=[],S=!0;if(this.type===g.name){var N=this.startNode();if(N.local=this.parseIdent(),this.checkLVal(N.local,Ie),p.push(this.finishNode(N,"ImportDefaultSpecifier")),!this.eat(g.comma))return p}if(this.type===g.star){var q=this.startNode();return this.next(),this.expectContextual("as"),q.local=this.parseIdent(),this.checkLVal(q.local,Ie),p.push(this.finishNode(q,"ImportNamespaceSpecifier")),p}for(this.expect(g.braceL);!this.eat(g.braceR);){if(S)S=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;var K=this.startNode();K.imported=this.parseIdent(!0),this.eatContextual("as")?K.local=this.parseIdent():(this.checkUnreserved(K.imported),K.local=K.imported),this.checkLVal(K.local,Ie),p.push(this.finishNode(K,"ImportSpecifier"))}return p},be.adaptDirectivePrologue=function(p){for(var S=0;S<p.length&&this.isDirectiveCandidate(p[S]);++S)p[S].directive=p[S].expression.raw.slice(1,-1)},be.isDirectiveCandidate=function(p){return p.type==="ExpressionStatement"&&p.expression.type==="Literal"&&typeof p.expression.value=="string"&&(this.input[p.start]==='"'||this.input[p.start]==="'")};var Rt=Ge.prototype;Rt.toAssignable=function(p,S,N){if(this.options.ecmaVersion>=6&&p)switch(p.type){case"Identifier":this.inAsync&&p.name==="await"&&this.raise(p.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":p.type="ObjectPattern",N&&this.checkPatternErrors(N,!0);for(var q=0,K=p.properties;q<K.length;q+=1){var oe=K[q];this.toAssignable(oe,S),oe.type==="RestElement"&&(oe.argument.type==="ArrayPattern"||oe.argument.type==="ObjectPattern")&&this.raise(oe.argument.start,"Unexpected token")}break;case"Property":p.kind!=="init"&&this.raise(p.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(p.value,S);break;case"ArrayExpression":p.type="ArrayPattern",N&&this.checkPatternErrors(N,!0),this.toAssignableList(p.elements,S);break;case"SpreadElement":p.type="RestElement",this.toAssignable(p.argument,S),p.argument.type==="AssignmentPattern"&&this.raise(p.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":p.operator!=="="&&this.raise(p.left.end,"Only '=' operator can be used for specifying default value."),p.type="AssignmentPattern",delete p.operator,this.toAssignable(p.left,S);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(p.expression,S,N);break;case"ChainExpression":this.raiseRecoverable(p.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!S)break;default:this.raise(p.start,"Assigning to rvalue")}else N&&this.checkPatternErrors(N,!0);return p},Rt.toAssignableList=function(p,S){for(var N=p.length,q=0;q<N;q++){var K=p[q];K&&this.toAssignable(K,S)}if(N){var oe=p[N-1];this.options.ecmaVersion===6&&S&&oe&&oe.type==="RestElement"&&oe.argument.type!=="Identifier"&&this.unexpected(oe.argument.start)}return p},Rt.parseSpread=function(p){var S=this.startNode();return this.next(),S.argument=this.parseMaybeAssign(!1,p),this.finishNode(S,"SpreadElement")},Rt.parseRestBinding=function(){var p=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==g.name&&this.unexpected(),p.argument=this.parseBindingAtom(),this.finishNode(p,"RestElement")},Rt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case g.bracketL:var p=this.startNode();return this.next(),p.elements=this.parseBindingList(g.bracketR,!0,!0),this.finishNode(p,"ArrayPattern");case g.braceL:return this.parseObj(!0)}return this.parseIdent()},Rt.parseBindingList=function(p,S,N){for(var q=[],K=!0;!this.eat(p);)if(K?K=!1:this.expect(g.comma),S&&this.type===g.comma)q.push(null);else{if(N&&this.afterTrailingComma(p))break;if(this.type===g.ellipsis){var oe=this.parseRestBinding();this.parseBindingListItem(oe),q.push(oe),this.type===g.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(p);break}else{var de=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(de),q.push(de)}}return q},Rt.parseBindingListItem=function(p){return p},Rt.parseMaybeDefault=function(p,S,N){if(N=N||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(g.eq))return N;var q=this.startNodeAt(p,S);return q.left=N,q.right=this.parseMaybeAssign(),this.finishNode(q,"AssignmentPattern")},Rt.checkLVal=function(p,S,N){switch(S===void 0&&(S=Te),p.type){case"Identifier":S===Ie&&p.name==="let"&&this.raiseRecoverable(p.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(p.name)&&this.raiseRecoverable(p.start,(S?"Binding ":"Assigning to ")+p.name+" in strict mode"),N&&(V(N,p.name)&&this.raiseRecoverable(p.start,"Argument name clash"),N[p.name]=!0),S!==Te&&S!==Kt&&this.declareName(p.name,S,p.start);break;case"ChainExpression":this.raiseRecoverable(p.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":S&&this.raiseRecoverable(p.start,"Binding member expression");break;case"ObjectPattern":for(var q=0,K=p.properties;q<K.length;q+=1){var oe=K[q];this.checkLVal(oe,S,N)}break;case"Property":this.checkLVal(p.value,S,N);break;case"ArrayPattern":for(var de=0,_e=p.elements;de<_e.length;de+=1){var Fe=_e[de];Fe&&this.checkLVal(Fe,S,N)}break;case"AssignmentPattern":this.checkLVal(p.left,S,N);break;case"RestElement":this.checkLVal(p.argument,S,N);break;case"ParenthesizedExpression":this.checkLVal(p.expression,S,N);break;default:this.raise(p.start,(S?"Binding":"Assigning to")+" rvalue")}};var Le=Ge.prototype;Le.checkPropClash=function(p,S,N){if(!(this.options.ecmaVersion>=9&&p.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(p.computed||p.method||p.shorthand))){var q=p.key,K;switch(q.type){case"Identifier":K=q.name;break;case"Literal":K=String(q.value);break;default:return}var oe=p.kind;if(this.options.ecmaVersion>=6){K==="__proto__"&&oe==="init"&&(S.proto&&(N?N.doubleProto<0&&(N.doubleProto=q.start):this.raiseRecoverable(q.start,"Redefinition of __proto__ property")),S.proto=!0);return}K="$"+K;var de=S[K];if(de){var _e;oe==="init"?_e=this.strict&&de.init||de.get||de.set:_e=de.init||de[oe],_e&&this.raiseRecoverable(q.start,"Redefinition of property")}else de=S[K]={init:!1,get:!1,set:!1};de[oe]=!0}},Le.parseExpression=function(p,S){var N=this.start,q=this.startLoc,K=this.parseMaybeAssign(p,S);if(this.type===g.comma){var oe=this.startNodeAt(N,q);for(oe.expressions=[K];this.eat(g.comma);)oe.expressions.push(this.parseMaybeAssign(p,S));return this.finishNode(oe,"SequenceExpression")}return K},Le.parseMaybeAssign=function(p,S,N){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(p);this.exprAllowed=!1}var q=!1,K=-1,oe=-1;S?(K=S.parenthesizedAssign,oe=S.trailingComma,S.parenthesizedAssign=S.trailingComma=-1):(S=new Yt,q=!0);var de=this.start,_e=this.startLoc;(this.type===g.parenL||this.type===g.name)&&(this.potentialArrowAt=this.start);var Fe=this.parseMaybeConditional(p,S);if(N&&(Fe=N.call(this,Fe,de,_e)),this.type.isAssign){var nt=this.startNodeAt(de,_e);return nt.operator=this.value,nt.left=this.type===g.eq?this.toAssignable(Fe,!1,S):Fe,q||(S.parenthesizedAssign=S.trailingComma=S.doubleProto=-1),S.shorthandAssign>=nt.left.start&&(S.shorthandAssign=-1),this.checkLVal(Fe),this.next(),nt.right=this.parseMaybeAssign(p),this.finishNode(nt,"AssignmentExpression")}else q&&this.checkExpressionErrors(S,!0);return K>-1&&(S.parenthesizedAssign=K),oe>-1&&(S.trailingComma=oe),Fe},Le.parseMaybeConditional=function(p,S){var N=this.start,q=this.startLoc,K=this.parseExprOps(p,S);if(this.checkExpressionErrors(S))return K;if(this.eat(g.question)){var oe=this.startNodeAt(N,q);return oe.test=K,oe.consequent=this.parseMaybeAssign(),this.expect(g.colon),oe.alternate=this.parseMaybeAssign(p),this.finishNode(oe,"ConditionalExpression")}return K},Le.parseExprOps=function(p,S){var N=this.start,q=this.startLoc,K=this.parseMaybeUnary(S,!1);return this.checkExpressionErrors(S)||K.start===N&&K.type==="ArrowFunctionExpression"?K:this.parseExprOp(K,N,q,-1,p)},Le.parseExprOp=function(p,S,N,q,K){var oe=this.type.binop;if(oe!=null&&(!K||this.type!==g._in)&&oe>q){var de=this.type===g.logicalOR||this.type===g.logicalAND,_e=this.type===g.coalesce;_e&&(oe=g.logicalAND.binop);var Fe=this.value;this.next();var nt=this.start,_t=this.startLoc,dr=this.parseExprOp(this.parseMaybeUnary(null,!1),nt,_t,oe,K),Di=this.buildBinary(S,N,p,dr,Fe,de||_e);return(de&&this.type===g.coalesce||_e&&(this.type===g.logicalOR||this.type===g.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Di,S,N,q,K)}return p},Le.buildBinary=function(p,S,N,q,K,oe){var de=this.startNodeAt(p,S);return de.left=N,de.operator=K,de.right=q,this.finishNode(de,oe?"LogicalExpression":"BinaryExpression")},Le.parseMaybeUnary=function(p,S){var N=this.start,q=this.startLoc,K;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))K=this.parseAwait(),S=!0;else if(this.type.prefix){var oe=this.startNode(),de=this.type===g.incDec;oe.operator=this.value,oe.prefix=!0,this.next(),oe.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(p,!0),de?this.checkLVal(oe.argument):this.strict&&oe.operator==="delete"&&oe.argument.type==="Identifier"?this.raiseRecoverable(oe.start,"Deleting local variable in strict mode"):S=!0,K=this.finishNode(oe,de?"UpdateExpression":"UnaryExpression")}else{if(K=this.parseExprSubscripts(p),this.checkExpressionErrors(p))return K;for(;this.type.postfix&&!this.canInsertSemicolon();){var _e=this.startNodeAt(N,q);_e.operator=this.value,_e.prefix=!1,_e.argument=K,this.checkLVal(K),this.next(),K=this.finishNode(_e,"UpdateExpression")}}return!S&&this.eat(g.starstar)?this.buildBinary(N,q,K,this.parseMaybeUnary(null,!1),"**",!1):K},Le.parseExprSubscripts=function(p){var S=this.start,N=this.startLoc,q=this.parseExprAtom(p);if(q.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return q;var K=this.parseSubscripts(q,S,N);return p&&K.type==="MemberExpression"&&(p.parenthesizedAssign>=K.start&&(p.parenthesizedAssign=-1),p.parenthesizedBind>=K.start&&(p.parenthesizedBind=-1)),K},Le.parseSubscripts=function(p,S,N,q){for(var K=this.options.ecmaVersion>=8&&p.type==="Identifier"&&p.name==="async"&&this.lastTokEnd===p.end&&!this.canInsertSemicolon()&&p.end-p.start===5&&this.potentialArrowAt===p.start,oe=!1;;){var de=this.parseSubscript(p,S,N,q,K,oe);if(de.optional&&(oe=!0),de===p||de.type==="ArrowFunctionExpression"){if(oe){var _e=this.startNodeAt(S,N);_e.expression=de,de=this.finishNode(_e,"ChainExpression")}return de}p=de}},Le.parseSubscript=function(p,S,N,q,K,oe){var de=this.options.ecmaVersion>=11,_e=de&&this.eat(g.questionDot);q&&_e&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Fe=this.eat(g.bracketL);if(Fe||_e&&this.type!==g.parenL&&this.type!==g.backQuote||this.eat(g.dot)){var nt=this.startNodeAt(S,N);nt.object=p,nt.property=Fe?this.parseExpression():this.parseIdent(this.options.allowReserved!=="never"),nt.computed=!!Fe,Fe&&this.expect(g.bracketR),de&&(nt.optional=_e),p=this.finishNode(nt,"MemberExpression")}else if(!q&&this.eat(g.parenL)){var _t=new Yt,dr=this.yieldPos,Di=this.awaitPos,so=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Ks=this.parseExprList(g.parenR,this.options.ecmaVersion>=8,!1,_t);if(K&&!_e&&!this.canInsertSemicolon()&&this.eat(g.arrow))return this.checkPatternErrors(_t,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=dr,this.awaitPos=Di,this.awaitIdentPos=so,this.parseArrowExpression(this.startNodeAt(S,N),Ks,!0);this.checkExpressionErrors(_t,!0),this.yieldPos=dr||this.yieldPos,this.awaitPos=Di||this.awaitPos,this.awaitIdentPos=so||this.awaitIdentPos;var uo=this.startNodeAt(S,N);uo.callee=p,uo.arguments=Ks,de&&(uo.optional=_e),p=this.finishNode(uo,"CallExpression")}else if(this.type===g.backQuote){(_e||oe)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var lo=this.startNodeAt(S,N);lo.tag=p,lo.quasi=this.parseTemplate({isTagged:!0}),p=this.finishNode(lo,"TaggedTemplateExpression")}return p},Le.parseExprAtom=function(p){this.type===g.slash&&this.readRegexp();var S,N=this.potentialArrowAt===this.start;switch(this.type){case g._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),S=this.startNode(),this.next(),this.type===g.parenL&&!this.allowDirectSuper&&this.raise(S.start,"super() call outside constructor of a subclass"),this.type!==g.dot&&this.type!==g.bracketL&&this.type!==g.parenL&&this.unexpected(),this.finishNode(S,"Super");case g._this:return S=this.startNode(),this.next(),this.finishNode(S,"ThisExpression");case g.name:var q=this.start,K=this.startLoc,oe=this.containsEsc,de=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!oe&&de.name==="async"&&!this.canInsertSemicolon()&&this.eat(g._function))return this.parseFunction(this.startNodeAt(q,K),0,!1,!0);if(N&&!this.canInsertSemicolon()){if(this.eat(g.arrow))return this.parseArrowExpression(this.startNodeAt(q,K),[de],!1);if(this.options.ecmaVersion>=8&&de.name==="async"&&this.type===g.name&&!oe)return de=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(g.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(q,K),[de],!0)}return de;case g.regexp:var _e=this.value;return S=this.parseLiteral(_e.value),S.regex={pattern:_e.pattern,flags:_e.flags},S;case g.num:case g.string:return this.parseLiteral(this.value);case g._null:case g._true:case g._false:return S=this.startNode(),S.value=this.type===g._null?null:this.type===g._true,S.raw=this.type.keyword,this.next(),this.finishNode(S,"Literal");case g.parenL:var Fe=this.start,nt=this.parseParenAndDistinguishExpression(N);return p&&(p.parenthesizedAssign<0&&!this.isSimpleAssignTarget(nt)&&(p.parenthesizedAssign=Fe),p.parenthesizedBind<0&&(p.parenthesizedBind=Fe)),nt;case g.bracketL:return S=this.startNode(),this.next(),S.elements=this.parseExprList(g.bracketR,!0,!0,p),this.finishNode(S,"ArrayExpression");case g.braceL:return this.parseObj(!1,p);case g._function:return S=this.startNode(),this.next(),this.parseFunction(S,0);case g._class:return this.parseClass(this.startNode(),!1);case g._new:return this.parseNew();case g.backQuote:return this.parseTemplate();case g._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},Le.parseExprImport=function(){var p=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var S=this.parseIdent(!0);switch(this.type){case g.parenL:return this.parseDynamicImport(p);case g.dot:return p.meta=S,this.parseImportMeta(p);default:this.unexpected()}},Le.parseDynamicImport=function(p){if(this.next(),p.source=this.parseMaybeAssign(),!this.eat(g.parenR)){var S=this.start;this.eat(g.comma)&&this.eat(g.parenR)?this.raiseRecoverable(S,"Trailing comma is not allowed in import()"):this.unexpected(S)}return this.finishNode(p,"ImportExpression")},Le.parseImportMeta=function(p){this.next();var S=this.containsEsc;return p.property=this.parseIdent(!0),p.property.name!=="meta"&&this.raiseRecoverable(p.property.start,"The only valid meta property for import is 'import.meta'"),S&&this.raiseRecoverable(p.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(p.start,"Cannot use 'import.meta' outside a module"),this.finishNode(p,"MetaProperty")},Le.parseLiteral=function(p){var S=this.startNode();return S.value=p,S.raw=this.input.slice(this.start,this.end),S.raw.charCodeAt(S.raw.length-1)===110&&(S.bigint=S.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(S,"Literal")},Le.parseParenExpression=function(){this.expect(g.parenL);var p=this.parseExpression();return this.expect(g.parenR),p},Le.parseParenAndDistinguishExpression=function(p){var S=this.start,N=this.startLoc,q,K=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var oe=this.start,de=this.startLoc,_e=[],Fe=!0,nt=!1,_t=new Yt,dr=this.yieldPos,Di=this.awaitPos,so;for(this.yieldPos=0,this.awaitPos=0;this.type!==g.parenR;)if(Fe?Fe=!1:this.expect(g.comma),K&&this.afterTrailingComma(g.parenR,!0)){nt=!0;break}else if(this.type===g.ellipsis){so=this.start,_e.push(this.parseParenItem(this.parseRestBinding())),this.type===g.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else _e.push(this.parseMaybeAssign(!1,_t,this.parseParenItem));var Ks=this.start,uo=this.startLoc;if(this.expect(g.parenR),p&&!this.canInsertSemicolon()&&this.eat(g.arrow))return this.checkPatternErrors(_t,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=dr,this.awaitPos=Di,this.parseParenArrowList(S,N,_e);(!_e.length||nt)&&this.unexpected(this.lastTokStart),so&&this.unexpected(so),this.checkExpressionErrors(_t,!0),this.yieldPos=dr||this.yieldPos,this.awaitPos=Di||this.awaitPos,_e.length>1?(q=this.startNodeAt(oe,de),q.expressions=_e,this.finishNodeAt(q,"SequenceExpression",Ks,uo)):q=_e[0]}else q=this.parseParenExpression();if(this.options.preserveParens){var lo=this.startNodeAt(S,N);return lo.expression=q,this.finishNode(lo,"ParenthesizedExpression")}else return q},Le.parseParenItem=function(p){return p},Le.parseParenArrowList=function(p,S,N){return this.parseArrowExpression(this.startNodeAt(p,S),N)};var wr=[];Le.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var p=this.startNode(),S=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(g.dot)){p.meta=S;var N=this.containsEsc;return p.property=this.parseIdent(!0),p.property.name!=="target"&&this.raiseRecoverable(p.property.start,"The only valid meta property for new is 'new.target'"),N&&this.raiseRecoverable(p.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(p.start,"'new.target' can only be used in functions"),this.finishNode(p,"MetaProperty")}var q=this.start,K=this.startLoc,oe=this.type===g._import;return p.callee=this.parseSubscripts(this.parseExprAtom(),q,K,!0),oe&&p.callee.type==="ImportExpression"&&this.raise(q,"Cannot use new with import()"),this.eat(g.parenL)?p.arguments=this.parseExprList(g.parenR,this.options.ecmaVersion>=8,!1):p.arguments=wr,this.finishNode(p,"NewExpression")},Le.parseTemplateElement=function(p){var S=p.isTagged,N=this.startNode();return this.type===g.invalidTemplate?(S||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),N.value={raw:this.value,cooked:null}):N.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
1091
+ `),cooked:this.value},this.next(),N.tail=this.type===g.backQuote,this.finishNode(N,"TemplateElement")},Le.parseTemplate=function(p){p===void 0&&(p={});var S=p.isTagged;S===void 0&&(S=!1);var N=this.startNode();this.next(),N.expressions=[];var q=this.parseTemplateElement({isTagged:S});for(N.quasis=[q];!q.tail;)this.type===g.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(g.dollarBraceL),N.expressions.push(this.parseExpression()),this.expect(g.braceR),N.quasis.push(q=this.parseTemplateElement({isTagged:S}));return this.next(),this.finishNode(N,"TemplateLiteral")},Le.isAsyncProp=function(p){return!p.computed&&p.key.type==="Identifier"&&p.key.name==="async"&&(this.type===g.name||this.type===g.num||this.type===g.string||this.type===g.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===g.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},Le.parseObj=function(p,S){var N=this.startNode(),q=!0,K={};for(N.properties=[],this.next();!this.eat(g.braceR);){if(q)q=!1;else if(this.expect(g.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(g.braceR))break;var oe=this.parseProperty(p,S);p||this.checkPropClash(oe,K,S),N.properties.push(oe)}return this.finishNode(N,p?"ObjectPattern":"ObjectExpression")},Le.parseProperty=function(p,S){var N=this.startNode(),q,K,oe,de;if(this.options.ecmaVersion>=9&&this.eat(g.ellipsis))return p?(N.argument=this.parseIdent(!1),this.type===g.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(N,"RestElement")):(this.type===g.parenL&&S&&(S.parenthesizedAssign<0&&(S.parenthesizedAssign=this.start),S.parenthesizedBind<0&&(S.parenthesizedBind=this.start)),N.argument=this.parseMaybeAssign(!1,S),this.type===g.comma&&S&&S.trailingComma<0&&(S.trailingComma=this.start),this.finishNode(N,"SpreadElement"));this.options.ecmaVersion>=6&&(N.method=!1,N.shorthand=!1,(p||S)&&(oe=this.start,de=this.startLoc),p||(q=this.eat(g.star)));var _e=this.containsEsc;return this.parsePropertyName(N),!p&&!_e&&this.options.ecmaVersion>=8&&!q&&this.isAsyncProp(N)?(K=!0,q=this.options.ecmaVersion>=9&&this.eat(g.star),this.parsePropertyName(N,S)):K=!1,this.parsePropertyValue(N,p,q,K,oe,de,S,_e),this.finishNode(N,"Property")},Le.parsePropertyValue=function(p,S,N,q,K,oe,de,_e){if((N||q)&&this.type===g.colon&&this.unexpected(),this.eat(g.colon))p.value=S?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,de),p.kind="init";else if(this.options.ecmaVersion>=6&&this.type===g.parenL)S&&this.unexpected(),p.kind="init",p.method=!0,p.value=this.parseMethod(N,q);else if(!S&&!_e&&this.options.ecmaVersion>=5&&!p.computed&&p.key.type==="Identifier"&&(p.key.name==="get"||p.key.name==="set")&&this.type!==g.comma&&this.type!==g.braceR&&this.type!==g.eq){(N||q)&&this.unexpected(),p.kind=p.key.name,this.parsePropertyName(p),p.value=this.parseMethod(!1);var Fe=p.kind==="get"?0:1;if(p.value.params.length!==Fe){var nt=p.value.start;p.kind==="get"?this.raiseRecoverable(nt,"getter should have no params"):this.raiseRecoverable(nt,"setter should have exactly one param")}else p.kind==="set"&&p.value.params[0].type==="RestElement"&&this.raiseRecoverable(p.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!p.computed&&p.key.type==="Identifier"?((N||q)&&this.unexpected(),this.checkUnreserved(p.key),p.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=K),p.kind="init",S?p.value=this.parseMaybeDefault(K,oe,p.key):this.type===g.eq&&de?(de.shorthandAssign<0&&(de.shorthandAssign=this.start),p.value=this.parseMaybeDefault(K,oe,p.key)):p.value=p.key,p.shorthand=!0):this.unexpected()},Le.parsePropertyName=function(p){if(this.options.ecmaVersion>=6){if(this.eat(g.bracketL))return p.computed=!0,p.key=this.parseMaybeAssign(),this.expect(g.bracketR),p.key;p.computed=!1}return p.key=this.type===g.num||this.type===g.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},Le.initFunction=function(p){p.id=null,this.options.ecmaVersion>=6&&(p.generator=p.expression=!1),this.options.ecmaVersion>=8&&(p.async=!1)},Le.parseMethod=function(p,S,N){var q=this.startNode(),K=this.yieldPos,oe=this.awaitPos,de=this.awaitIdentPos;return this.initFunction(q),this.options.ecmaVersion>=6&&(q.generator=p),this.options.ecmaVersion>=8&&(q.async=!!S),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Re(S,q.generator)|ye|(N?Ae:0)),this.expect(g.parenL),q.params=this.parseBindingList(g.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(q,!1,!0),this.yieldPos=K,this.awaitPos=oe,this.awaitIdentPos=de,this.finishNode(q,"FunctionExpression")},Le.parseArrowExpression=function(p,S,N){var q=this.yieldPos,K=this.awaitPos,oe=this.awaitIdentPos;return this.enterScope(Re(N,!1)|je),this.initFunction(p),this.options.ecmaVersion>=8&&(p.async=!!N),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,p.params=this.toAssignableList(S,!0),this.parseFunctionBody(p,!0,!1),this.yieldPos=q,this.awaitPos=K,this.awaitIdentPos=oe,this.finishNode(p,"ArrowFunctionExpression")},Le.parseFunctionBody=function(p,S,N){var q=S&&this.type!==g.braceL,K=this.strict,oe=!1;if(q)p.body=this.parseMaybeAssign(),p.expression=!0,this.checkParams(p,!1);else{var de=this.options.ecmaVersion>=7&&!this.isSimpleParamList(p.params);(!K||de)&&(oe=this.strictDirective(this.end),oe&&de&&this.raiseRecoverable(p.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var _e=this.labels;this.labels=[],oe&&(this.strict=!0),this.checkParams(p,!K&&!oe&&!S&&!N&&this.isSimpleParamList(p.params)),this.strict&&p.id&&this.checkLVal(p.id,Kt),p.body=this.parseBlock(!1,void 0,oe&&!K),p.expression=!1,this.adaptDirectivePrologue(p.body.body),this.labels=_e}this.exitScope()},Le.isSimpleParamList=function(p){for(var S=0,N=p;S<N.length;S+=1){var q=N[S];if(q.type!=="Identifier")return!1}return!0},Le.checkParams=function(p,S){for(var N={},q=0,K=p.params;q<K.length;q+=1){var oe=K[q];this.checkLVal(oe,Oe,S?null:N)}},Le.parseExprList=function(p,S,N,q){for(var K=[],oe=!0;!this.eat(p);){if(oe)oe=!1;else if(this.expect(g.comma),S&&this.afterTrailingComma(p))break;var de=void 0;N&&this.type===g.comma?de=null:this.type===g.ellipsis?(de=this.parseSpread(q),q&&this.type===g.comma&&q.trailingComma<0&&(q.trailingComma=this.start)):de=this.parseMaybeAssign(!1,q),K.push(de)}return K},Le.checkUnreserved=function(p){var S=p.start,N=p.end,q=p.name;if(this.inGenerator&&q==="yield"&&this.raiseRecoverable(S,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&q==="await"&&this.raiseRecoverable(S,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(q)&&this.raise(S,"Unexpected keyword '"+q+"'"),!(this.options.ecmaVersion<6&&this.input.slice(S,N).indexOf("\\")!==-1)){var K=this.strict?this.reservedWordsStrict:this.reservedWords;K.test(q)&&(!this.inAsync&&q==="await"&&this.raiseRecoverable(S,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(S,"The keyword '"+q+"' is reserved"))}},Le.parseIdent=function(p,S){var N=this.startNode();return this.type===g.name?N.name=this.value:this.type.keyword?(N.name=this.type.keyword,(N.name==="class"||N.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop()):this.unexpected(),this.next(!!p),this.finishNode(N,"Identifier"),p||(this.checkUnreserved(N),N.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=N.start)),N},Le.parseYield=function(p){this.yieldPos||(this.yieldPos=this.start);var S=this.startNode();return this.next(),this.type===g.semi||this.canInsertSemicolon()||this.type!==g.star&&!this.type.startsExpr?(S.delegate=!1,S.argument=null):(S.delegate=this.eat(g.star),S.argument=this.parseMaybeAssign(p)),this.finishNode(S,"YieldExpression")},Le.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var p=this.startNode();return this.next(),p.argument=this.parseMaybeUnary(null,!1),this.finishNode(p,"AwaitExpression")};var mt=Ge.prototype;mt.raise=function(p,S){var N=Pe(this.input,p);S+=" ("+N.line+":"+N.column+")";var q=new SyntaxError(S);throw q.pos=p,q.loc=N,q.raisedAt=this.pos,q},mt.raiseRecoverable=mt.raise,mt.curPosition=function(){if(this.options.locations)return new ne(this.curLine,this.pos-this.lineStart)};var ar=Ge.prototype,Sn=function(p){this.flags=p,this.var=[],this.lexical=[],this.functions=[]};ar.enterScope=function(p){this.scopeStack.push(new Sn(p))},ar.exitScope=function(){this.scopeStack.pop()},ar.treatFunctionsAsVarInScope=function(p){return p.flags&he||!this.inModule&&p.flags&fe},ar.declareName=function(p,S,N){var q=!1;if(S===Ie){var K=this.currentScope();q=K.lexical.indexOf(p)>-1||K.functions.indexOf(p)>-1||K.var.indexOf(p)>-1,K.lexical.push(p),this.inModule&&K.flags&fe&&delete this.undefinedExports[p]}else if(S===bt){var oe=this.currentScope();oe.lexical.push(p)}else if(S===Ve){var de=this.currentScope();this.treatFunctionsAsVar?q=de.lexical.indexOf(p)>-1:q=de.lexical.indexOf(p)>-1||de.var.indexOf(p)>-1,de.functions.push(p)}else for(var _e=this.scopeStack.length-1;_e>=0;--_e){var Fe=this.scopeStack[_e];if(Fe.lexical.indexOf(p)>-1&&!(Fe.flags&Q&&Fe.lexical[0]===p)||!this.treatFunctionsAsVarInScope(Fe)&&Fe.functions.indexOf(p)>-1){q=!0;break}if(Fe.var.push(p),this.inModule&&Fe.flags&fe&&delete this.undefinedExports[p],Fe.flags&se)break}q&&this.raiseRecoverable(N,"Identifier '"+p+"' has already been declared")},ar.checkLocalExport=function(p){this.scopeStack[0].lexical.indexOf(p.name)===-1&&this.scopeStack[0].var.indexOf(p.name)===-1&&(this.undefinedExports[p.name]=p)},ar.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ar.currentVarScope=function(){for(var p=this.scopeStack.length-1;;p--){var S=this.scopeStack[p];if(S.flags&se)return S}},ar.currentThisScope=function(){for(var p=this.scopeStack.length-1;;p--){var S=this.scopeStack[p];if(S.flags&se&&!(S.flags&je))return S}};var ct=function(p,S,N){this.type="",this.start=S,this.end=0,p.options.locations&&(this.loc=new we(p,N)),p.options.directSourceFile&&(this.sourceFile=p.options.directSourceFile),p.options.ranges&&(this.range=[S,0])},Nt=Ge.prototype;Nt.startNode=function(){return new ct(this,this.start,this.startLoc)},Nt.startNodeAt=function(p,S){return new ct(this,p,S)};function Sr(p,S,N,q){return p.type=S,p.end=N,this.options.locations&&(p.loc.end=q),this.options.ranges&&(p.range[1]=N),p}Nt.finishNode=function(p,S){return Sr.call(this,p,S,this.lastTokEnd,this.lastTokEndLoc)},Nt.finishNodeAt=function(p,S,N,q){return Sr.call(this,p,S,N,q)};var Dt=function(p,S,N,q,K){this.token=p,this.isExpr=!!S,this.preserveSpace=!!N,this.override=q,this.generator=!!K},dt={b_stat:new Dt("{",!1),b_expr:new Dt("{",!0),b_tmpl:new Dt("${",!1),p_stat:new Dt("(",!1),p_expr:new Dt("(",!0),q_tmpl:new Dt("`",!0,!0,function(p){return p.tryReadTemplateToken()}),f_stat:new Dt("function",!1),f_expr:new Dt("function",!0),f_expr_gen:new Dt("function",!0,!1,null,!0),f_gen:new Dt("function",!1,!1,null,!0)},Xt=Ge.prototype;Xt.initialContext=function(){return[dt.b_stat]},Xt.braceIsBlock=function(p){var S=this.curContext();return S===dt.f_expr||S===dt.f_stat?!0:p===g.colon&&(S===dt.b_stat||S===dt.b_expr)?!S.isExpr:p===g._return||p===g.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):p===g._else||p===g.semi||p===g.eof||p===g.parenR||p===g.arrow?!0:p===g.braceL?S===dt.b_stat:p===g._var||p===g._const||p===g.name?!1:!this.exprAllowed},Xt.inGeneratorContext=function(){for(var p=this.context.length-1;p>=1;p--){var S=this.context[p];if(S.token==="function")return S.generator}return!1},Xt.updateContext=function(p){var S,N=this.type;N.keyword&&p===g.dot?this.exprAllowed=!1:(S=N.updateContext)?S.call(this,p):this.exprAllowed=N.beforeExpr},g.parenR.updateContext=g.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var p=this.context.pop();p===dt.b_stat&&this.curContext().token==="function"&&(p=this.context.pop()),this.exprAllowed=!p.isExpr},g.braceL.updateContext=function(p){this.context.push(this.braceIsBlock(p)?dt.b_stat:dt.b_expr),this.exprAllowed=!0},g.dollarBraceL.updateContext=function(){this.context.push(dt.b_tmpl),this.exprAllowed=!0},g.parenL.updateContext=function(p){var S=p===g._if||p===g._for||p===g._with||p===g._while;this.context.push(S?dt.p_stat:dt.p_expr),this.exprAllowed=!0},g.incDec.updateContext=function(){},g._function.updateContext=g._class.updateContext=function(p){p.beforeExpr&&p!==g.semi&&p!==g._else&&!(p===g._return&&w.test(this.input.slice(this.lastTokEnd,this.start)))&&!((p===g.colon||p===g.braceL)&&this.curContext()===dt.b_stat)?this.context.push(dt.f_expr):this.context.push(dt.f_stat),this.exprAllowed=!1},g.backQuote.updateContext=function(){this.curContext()===dt.q_tmpl?this.context.pop():this.context.push(dt.q_tmpl),this.exprAllowed=!1},g.star.updateContext=function(p){if(p===g._function){var S=this.context.length-1;this.context[S]===dt.f_expr?this.context[S]=dt.f_expr_gen:this.context[S]=dt.f_gen}this.exprAllowed=!0},g.name.updateContext=function(p){var S=!1;this.options.ecmaVersion>=6&&p!==g.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(S=!0),this.exprAllowed=S};var Ne="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",T=Ne+" Extended_Pictographic",M=T,F={9:Ne,10:T,11:M},O="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",J="Adlam Adlm Ahom 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 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",ae=J+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",le=ae+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",pe={9:J,10:ae,11:le},Ce={};function He(p){var S=Ce[p]={binary:Y(F[p]+" "+O),nonBinary:{General_Category:Y(O),Script:Y(pe[p])}};S.nonBinary.Script_Extensions=S.nonBinary.Script,S.nonBinary.gc=S.nonBinary.General_Category,S.nonBinary.sc=S.nonBinary.Script,S.nonBinary.scx=S.nonBinary.Script_Extensions}He(9),He(10),He(11);var ge=Ge.prototype,Gt=function(p){this.parser=p,this.validFlags="gim"+(p.options.ecmaVersion>=6?"uy":"")+(p.options.ecmaVersion>=9?"s":""),this.unicodeProperties=Ce[p.options.ecmaVersion>=11?11:p.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};Gt.prototype.reset=function(p,S,N){var q=N.indexOf("u")!==-1;this.start=p|0,this.source=S+"",this.flags=N,this.switchU=q&&this.parser.options.ecmaVersion>=6,this.switchN=q&&this.parser.options.ecmaVersion>=9},Gt.prototype.raise=function(p){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+p)},Gt.prototype.at=function(p,S){S===void 0&&(S=!1);var N=this.source,q=N.length;if(p>=q)return-1;var K=N.charCodeAt(p);if(!(S||this.switchU)||K<=55295||K>=57344||p+1>=q)return K;var oe=N.charCodeAt(p+1);return oe>=56320&&oe<=57343?(K<<10)+oe-56613888:K},Gt.prototype.nextIndex=function(p,S){S===void 0&&(S=!1);var N=this.source,q=N.length;if(p>=q)return q;var K=N.charCodeAt(p),oe;return!(S||this.switchU)||K<=55295||K>=57344||p+1>=q||(oe=N.charCodeAt(p+1))<56320||oe>57343?p+1:p+2},Gt.prototype.current=function(p){return p===void 0&&(p=!1),this.at(this.pos,p)},Gt.prototype.lookahead=function(p){return p===void 0&&(p=!1),this.at(this.nextIndex(this.pos,p),p)},Gt.prototype.advance=function(p){p===void 0&&(p=!1),this.pos=this.nextIndex(this.pos,p)},Gt.prototype.eat=function(p,S){return S===void 0&&(S=!1),this.current(S)===p?(this.advance(S),!0):!1};function er(p){return p<=65535?String.fromCharCode(p):(p-=65536,String.fromCharCode((p>>10)+55296,(p&1023)+56320))}ge.validateRegExpFlags=function(p){for(var S=p.validFlags,N=p.flags,q=0;q<N.length;q++){var K=N.charAt(q);S.indexOf(K)===-1&&this.raise(p.start,"Invalid regular expression flag"),N.indexOf(K,q+1)>-1&&this.raise(p.start,"Duplicate regular expression flag")}},ge.validateRegExpPattern=function(p){this.regexp_pattern(p),!p.switchN&&this.options.ecmaVersion>=9&&p.groupNames.length>0&&(p.switchN=!0,this.regexp_pattern(p))},ge.regexp_pattern=function(p){p.pos=0,p.lastIntValue=0,p.lastStringValue="",p.lastAssertionIsQuantifiable=!1,p.numCapturingParens=0,p.maxBackReference=0,p.groupNames.length=0,p.backReferenceNames.length=0,this.regexp_disjunction(p),p.pos!==p.source.length&&(p.eat(41)&&p.raise("Unmatched ')'"),(p.eat(93)||p.eat(125))&&p.raise("Lone quantifier brackets")),p.maxBackReference>p.numCapturingParens&&p.raise("Invalid escape");for(var S=0,N=p.backReferenceNames;S<N.length;S+=1){var q=N[S];p.groupNames.indexOf(q)===-1&&p.raise("Invalid named capture referenced")}},ge.regexp_disjunction=function(p){for(this.regexp_alternative(p);p.eat(124);)this.regexp_alternative(p);this.regexp_eatQuantifier(p,!0)&&p.raise("Nothing to repeat"),p.eat(123)&&p.raise("Lone quantifier brackets")},ge.regexp_alternative=function(p){for(;p.pos<p.source.length&&this.regexp_eatTerm(p););},ge.regexp_eatTerm=function(p){return this.regexp_eatAssertion(p)?(p.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(p)&&p.switchU&&p.raise("Invalid quantifier"),!0):(p.switchU?this.regexp_eatAtom(p):this.regexp_eatExtendedAtom(p))?(this.regexp_eatQuantifier(p),!0):!1},ge.regexp_eatAssertion=function(p){var S=p.pos;if(p.lastAssertionIsQuantifiable=!1,p.eat(94)||p.eat(36))return!0;if(p.eat(92)){if(p.eat(66)||p.eat(98))return!0;p.pos=S}if(p.eat(40)&&p.eat(63)){var N=!1;if(this.options.ecmaVersion>=9&&(N=p.eat(60)),p.eat(61)||p.eat(33))return this.regexp_disjunction(p),p.eat(41)||p.raise("Unterminated group"),p.lastAssertionIsQuantifiable=!N,!0}return p.pos=S,!1},ge.regexp_eatQuantifier=function(p,S){return S===void 0&&(S=!1),this.regexp_eatQuantifierPrefix(p,S)?(p.eat(63),!0):!1},ge.regexp_eatQuantifierPrefix=function(p,S){return p.eat(42)||p.eat(43)||p.eat(63)||this.regexp_eatBracedQuantifier(p,S)},ge.regexp_eatBracedQuantifier=function(p,S){var N=p.pos;if(p.eat(123)){var q=0,K=-1;if(this.regexp_eatDecimalDigits(p)&&(q=p.lastIntValue,p.eat(44)&&this.regexp_eatDecimalDigits(p)&&(K=p.lastIntValue),p.eat(125)))return K!==-1&&K<q&&!S&&p.raise("numbers out of order in {} quantifier"),!0;p.switchU&&!S&&p.raise("Incomplete quantifier"),p.pos=N}return!1},ge.regexp_eatAtom=function(p){return this.regexp_eatPatternCharacters(p)||p.eat(46)||this.regexp_eatReverseSolidusAtomEscape(p)||this.regexp_eatCharacterClass(p)||this.regexp_eatUncapturingGroup(p)||this.regexp_eatCapturingGroup(p)},ge.regexp_eatReverseSolidusAtomEscape=function(p){var S=p.pos;if(p.eat(92)){if(this.regexp_eatAtomEscape(p))return!0;p.pos=S}return!1},ge.regexp_eatUncapturingGroup=function(p){var S=p.pos;if(p.eat(40)){if(p.eat(63)&&p.eat(58)){if(this.regexp_disjunction(p),p.eat(41))return!0;p.raise("Unterminated group")}p.pos=S}return!1},ge.regexp_eatCapturingGroup=function(p){if(p.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(p):p.current()===63&&p.raise("Invalid group"),this.regexp_disjunction(p),p.eat(41))return p.numCapturingParens+=1,!0;p.raise("Unterminated group")}return!1},ge.regexp_eatExtendedAtom=function(p){return p.eat(46)||this.regexp_eatReverseSolidusAtomEscape(p)||this.regexp_eatCharacterClass(p)||this.regexp_eatUncapturingGroup(p)||this.regexp_eatCapturingGroup(p)||this.regexp_eatInvalidBracedQuantifier(p)||this.regexp_eatExtendedPatternCharacter(p)},ge.regexp_eatInvalidBracedQuantifier=function(p){return this.regexp_eatBracedQuantifier(p,!0)&&p.raise("Nothing to repeat"),!1},ge.regexp_eatSyntaxCharacter=function(p){var S=p.current();return _n(S)?(p.lastIntValue=S,p.advance(),!0):!1};function _n(p){return p===36||p>=40&&p<=43||p===46||p===63||p>=91&&p<=94||p>=123&&p<=125}ge.regexp_eatPatternCharacters=function(p){for(var S=p.pos,N=0;(N=p.current())!==-1&&!_n(N);)p.advance();return p.pos!==S},ge.regexp_eatExtendedPatternCharacter=function(p){var S=p.current();return S!==-1&&S!==36&&!(S>=40&&S<=43)&&S!==46&&S!==63&&S!==91&&S!==94&&S!==124?(p.advance(),!0):!1},ge.regexp_groupSpecifier=function(p){if(p.eat(63)){if(this.regexp_eatGroupName(p)){p.groupNames.indexOf(p.lastStringValue)!==-1&&p.raise("Duplicate capture group name"),p.groupNames.push(p.lastStringValue);return}p.raise("Invalid group")}},ge.regexp_eatGroupName=function(p){if(p.lastStringValue="",p.eat(60)){if(this.regexp_eatRegExpIdentifierName(p)&&p.eat(62))return!0;p.raise("Invalid capture group name")}return!1},ge.regexp_eatRegExpIdentifierName=function(p){if(p.lastStringValue="",this.regexp_eatRegExpIdentifierStart(p)){for(p.lastStringValue+=er(p.lastIntValue);this.regexp_eatRegExpIdentifierPart(p);)p.lastStringValue+=er(p.lastIntValue);return!0}return!1},ge.regexp_eatRegExpIdentifierStart=function(p){var S=p.pos,N=this.options.ecmaVersion>=11,q=p.current(N);return p.advance(N),q===92&&this.regexp_eatRegExpUnicodeEscapeSequence(p,N)&&(q=p.lastIntValue),Xn(q)?(p.lastIntValue=q,!0):(p.pos=S,!1)};function Xn(p){return b(p,!0)||p===36||p===95}ge.regexp_eatRegExpIdentifierPart=function(p){var S=p.pos,N=this.options.ecmaVersion>=11,q=p.current(N);return p.advance(N),q===92&&this.regexp_eatRegExpUnicodeEscapeSequence(p,N)&&(q=p.lastIntValue),cr(q)?(p.lastIntValue=q,!0):(p.pos=S,!1)};function cr(p){return y(p,!0)||p===36||p===95||p===8204||p===8205}ge.regexp_eatAtomEscape=function(p){return this.regexp_eatBackReference(p)||this.regexp_eatCharacterClassEscape(p)||this.regexp_eatCharacterEscape(p)||p.switchN&&this.regexp_eatKGroupName(p)?!0:(p.switchU&&(p.current()===99&&p.raise("Invalid unicode escape"),p.raise("Invalid escape")),!1)},ge.regexp_eatBackReference=function(p){var S=p.pos;if(this.regexp_eatDecimalEscape(p)){var N=p.lastIntValue;if(p.switchU)return N>p.maxBackReference&&(p.maxBackReference=N),!0;if(N<=p.numCapturingParens)return!0;p.pos=S}return!1},ge.regexp_eatKGroupName=function(p){if(p.eat(107)){if(this.regexp_eatGroupName(p))return p.backReferenceNames.push(p.lastStringValue),!0;p.raise("Invalid named reference")}return!1},ge.regexp_eatCharacterEscape=function(p){return this.regexp_eatControlEscape(p)||this.regexp_eatCControlLetter(p)||this.regexp_eatZero(p)||this.regexp_eatHexEscapeSequence(p)||this.regexp_eatRegExpUnicodeEscapeSequence(p,!1)||!p.switchU&&this.regexp_eatLegacyOctalEscapeSequence(p)||this.regexp_eatIdentityEscape(p)},ge.regexp_eatCControlLetter=function(p){var S=p.pos;if(p.eat(99)){if(this.regexp_eatControlLetter(p))return!0;p.pos=S}return!1},ge.regexp_eatZero=function(p){return p.current()===48&&!D(p.lookahead())?(p.lastIntValue=0,p.advance(),!0):!1},ge.regexp_eatControlEscape=function(p){var S=p.current();return S===116?(p.lastIntValue=9,p.advance(),!0):S===110?(p.lastIntValue=10,p.advance(),!0):S===118?(p.lastIntValue=11,p.advance(),!0):S===102?(p.lastIntValue=12,p.advance(),!0):S===114?(p.lastIntValue=13,p.advance(),!0):!1},ge.regexp_eatControlLetter=function(p){var S=p.current();return Qn(S)?(p.lastIntValue=S%32,p.advance(),!0):!1};function Qn(p){return p>=65&&p<=90||p>=97&&p<=122}ge.regexp_eatRegExpUnicodeEscapeSequence=function(p,S){S===void 0&&(S=!1);var N=p.pos,q=S||p.switchU;if(p.eat(117)){if(this.regexp_eatFixedHexDigits(p,4)){var K=p.lastIntValue;if(q&&K>=55296&&K<=56319){var oe=p.pos;if(p.eat(92)&&p.eat(117)&&this.regexp_eatFixedHexDigits(p,4)){var de=p.lastIntValue;if(de>=56320&&de<=57343)return p.lastIntValue=(K-55296)*1024+(de-56320)+65536,!0}p.pos=oe,p.lastIntValue=K}return!0}if(q&&p.eat(123)&&this.regexp_eatHexDigits(p)&&p.eat(125)&&Cn(p.lastIntValue))return!0;q&&p.raise("Invalid unicode escape"),p.pos=N}return!1};function Cn(p){return p>=0&&p<=1114111}ge.regexp_eatIdentityEscape=function(p){if(p.switchU)return this.regexp_eatSyntaxCharacter(p)?!0:p.eat(47)?(p.lastIntValue=47,!0):!1;var S=p.current();return S!==99&&(!p.switchN||S!==107)?(p.lastIntValue=S,p.advance(),!0):!1},ge.regexp_eatDecimalEscape=function(p){p.lastIntValue=0;var S=p.current();if(S>=49&&S<=57){do p.lastIntValue=10*p.lastIntValue+(S-48),p.advance();while((S=p.current())>=48&&S<=57);return!0}return!1},ge.regexp_eatCharacterClassEscape=function(p){var S=p.current();if(da(S))return p.lastIntValue=-1,p.advance(),!0;if(p.switchU&&this.options.ecmaVersion>=9&&(S===80||S===112)){if(p.lastIntValue=-1,p.advance(),p.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(p)&&p.eat(125))return!0;p.raise("Invalid property name")}return!1};function da(p){return p===100||p===68||p===115||p===83||p===119||p===87}ge.regexp_eatUnicodePropertyValueExpression=function(p){var S=p.pos;if(this.regexp_eatUnicodePropertyName(p)&&p.eat(61)){var N=p.lastStringValue;if(this.regexp_eatUnicodePropertyValue(p)){var q=p.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(p,N,q),!0}}if(p.pos=S,this.regexp_eatLoneUnicodePropertyNameOrValue(p)){var K=p.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(p,K),!0}return!1},ge.regexp_validateUnicodePropertyNameAndValue=function(p,S,N){V(p.unicodeProperties.nonBinary,S)||p.raise("Invalid property name"),p.unicodeProperties.nonBinary[S].test(N)||p.raise("Invalid property value")},ge.regexp_validateUnicodePropertyNameOrValue=function(p,S){p.unicodeProperties.binary.test(S)||p.raise("Invalid property name")},ge.regexp_eatUnicodePropertyName=function(p){var S=0;for(p.lastStringValue="";c(S=p.current());)p.lastStringValue+=er(S),p.advance();return p.lastStringValue!==""};function c(p){return Qn(p)||p===95}ge.regexp_eatUnicodePropertyValue=function(p){var S=0;for(p.lastStringValue="";v(S=p.current());)p.lastStringValue+=er(S),p.advance();return p.lastStringValue!==""};function v(p){return c(p)||D(p)}ge.regexp_eatLoneUnicodePropertyNameOrValue=function(p){return this.regexp_eatUnicodePropertyValue(p)},ge.regexp_eatCharacterClass=function(p){if(p.eat(91)){if(p.eat(94),this.regexp_classRanges(p),p.eat(93))return!0;p.raise("Unterminated character class")}return!1},ge.regexp_classRanges=function(p){for(;this.regexp_eatClassAtom(p);){var S=p.lastIntValue;if(p.eat(45)&&this.regexp_eatClassAtom(p)){var N=p.lastIntValue;p.switchU&&(S===-1||N===-1)&&p.raise("Invalid character class"),S!==-1&&N!==-1&&S>N&&p.raise("Range out of order in character class")}}},ge.regexp_eatClassAtom=function(p){var S=p.pos;if(p.eat(92)){if(this.regexp_eatClassEscape(p))return!0;if(p.switchU){var N=p.current();(N===99||ue(N))&&p.raise("Invalid class escape"),p.raise("Invalid escape")}p.pos=S}var q=p.current();return q!==93?(p.lastIntValue=q,p.advance(),!0):!1},ge.regexp_eatClassEscape=function(p){var S=p.pos;if(p.eat(98))return p.lastIntValue=8,!0;if(p.switchU&&p.eat(45))return p.lastIntValue=45,!0;if(!p.switchU&&p.eat(99)){if(this.regexp_eatClassControlLetter(p))return!0;p.pos=S}return this.regexp_eatCharacterClassEscape(p)||this.regexp_eatCharacterEscape(p)},ge.regexp_eatClassControlLetter=function(p){var S=p.current();return D(S)||S===95?(p.lastIntValue=S%32,p.advance(),!0):!1},ge.regexp_eatHexEscapeSequence=function(p){var S=p.pos;if(p.eat(120)){if(this.regexp_eatFixedHexDigits(p,2))return!0;p.switchU&&p.raise("Invalid escape"),p.pos=S}return!1},ge.regexp_eatDecimalDigits=function(p){var S=p.pos,N=0;for(p.lastIntValue=0;D(N=p.current());)p.lastIntValue=10*p.lastIntValue+(N-48),p.advance();return p.pos!==S};function D(p){return p>=48&&p<=57}ge.regexp_eatHexDigits=function(p){var S=p.pos,N=0;for(p.lastIntValue=0;L(N=p.current());)p.lastIntValue=16*p.lastIntValue+Z(N),p.advance();return p.pos!==S};function L(p){return p>=48&&p<=57||p>=65&&p<=70||p>=97&&p<=102}function Z(p){return p>=65&&p<=70?10+(p-65):p>=97&&p<=102?10+(p-97):p-48}ge.regexp_eatLegacyOctalEscapeSequence=function(p){if(this.regexp_eatOctalDigit(p)){var S=p.lastIntValue;if(this.regexp_eatOctalDigit(p)){var N=p.lastIntValue;S<=3&&this.regexp_eatOctalDigit(p)?p.lastIntValue=S*64+N*8+p.lastIntValue:p.lastIntValue=S*8+N}else p.lastIntValue=S;return!0}return!1},ge.regexp_eatOctalDigit=function(p){var S=p.current();return ue(S)?(p.lastIntValue=S-48,p.advance(),!0):(p.lastIntValue=0,!1)};function ue(p){return p>=48&&p<=55}ge.regexp_eatFixedHexDigits=function(p,S){var N=p.pos;p.lastIntValue=0;for(var q=0;q<S;++q){var K=p.current();if(!L(K))return p.pos=N,!1;p.lastIntValue=16*p.lastIntValue+Z(K),p.advance()}return!0};var me=function(p){this.type=p.type,this.value=p.value,this.start=p.start,this.end=p.end,p.options.locations&&(this.loc=new we(p,p.startLoc,p.endLoc)),p.options.ranges&&(this.range=[p.start,p.end])},ve=Ge.prototype;ve.next=function(p){!p&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new me(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},ve.getToken=function(){return this.next(),new me(this)},typeof Symbol<"u"&&(ve[Symbol.iterator]=function(){var p=this;return{next:function(){var S=p.getToken();return{done:S.type===g.eof,value:S}}}}),ve.curContext=function(){return this.context[this.context.length-1]},ve.nextToken=function(){var p=this.curContext();if((!p||!p.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(g.eof);if(p.override)return p.override(this);this.readToken(this.fullCharCodeAtPos())},ve.readToken=function(p){return b(p,this.options.ecmaVersion>=6)||p===92?this.readWord():this.getTokenFromCode(p)},ve.fullCharCodeAtPos=function(){var p=this.input.charCodeAt(this.pos);if(p<=55295||p>=57344)return p;var S=this.input.charCodeAt(this.pos+1);return(p<<10)+S-56613888},ve.skipBlockComment=function(){var p=this.options.onComment&&this.curPosition(),S=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){C.lastIndex=S;for(var q;(q=C.exec(this.input))&&q.index<this.pos;)++this.curLine,this.lineStart=q.index+q[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(S+2,N),S,this.pos,p,this.curPosition())},ve.skipLineComment=function(p){for(var S=this.pos,N=this.options.onComment&&this.curPosition(),q=this.input.charCodeAt(this.pos+=p);this.pos<this.input.length&&!R(q);)q=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(S+p,this.pos),S,this.pos,N,this.curPosition())},ve.skipSpace=function(){e:for(;this.pos<this.input.length;){var p=this.input.charCodeAt(this.pos);switch(p){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 e}break;default:if(p>8&&p<14||p>=5760&&j.test(String.fromCharCode(p)))++this.pos;else break e}}},ve.finishToken=function(p,S){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var N=this.type;this.type=p,this.value=S,this.updateContext(N)},ve.readToken_dot=function(){var p=this.input.charCodeAt(this.pos+1);if(p>=48&&p<=57)return this.readNumber(!0);var S=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&p===46&&S===46?(this.pos+=3,this.finishToken(g.ellipsis)):(++this.pos,this.finishToken(g.dot))},ve.readToken_slash=function(){var p=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):p===61?this.finishOp(g.assign,2):this.finishOp(g.slash,1)},ve.readToken_mult_modulo_exp=function(p){var S=this.input.charCodeAt(this.pos+1),N=1,q=p===42?g.star:g.modulo;return this.options.ecmaVersion>=7&&p===42&&S===42&&(++N,q=g.starstar,S=this.input.charCodeAt(this.pos+2)),S===61?this.finishOp(g.assign,N+1):this.finishOp(q,N)},ve.readToken_pipe_amp=function(p){var S=this.input.charCodeAt(this.pos+1);if(S===p){if(this.options.ecmaVersion>=12){var N=this.input.charCodeAt(this.pos+2);if(N===61)return this.finishOp(g.assign,3)}return this.finishOp(p===124?g.logicalOR:g.logicalAND,2)}return S===61?this.finishOp(g.assign,2):this.finishOp(p===124?g.bitwiseOR:g.bitwiseAND,1)},ve.readToken_caret=function(){var p=this.input.charCodeAt(this.pos+1);return p===61?this.finishOp(g.assign,2):this.finishOp(g.bitwiseXOR,1)},ve.readToken_plus_min=function(p){var S=this.input.charCodeAt(this.pos+1);return S===p?S===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||w.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(g.incDec,2):S===61?this.finishOp(g.assign,2):this.finishOp(g.plusMin,1)},ve.readToken_lt_gt=function(p){var S=this.input.charCodeAt(this.pos+1),N=1;return S===p?(N=p===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+N)===61?this.finishOp(g.assign,N+1):this.finishOp(g.bitShift,N)):S===33&&p===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(S===61&&(N=2),this.finishOp(g.relational,N))},ve.readToken_eq_excl=function(p){var S=this.input.charCodeAt(this.pos+1);return S===61?this.finishOp(g.equality,this.input.charCodeAt(this.pos+2)===61?3:2):p===61&&S===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(g.arrow)):this.finishOp(p===61?g.eq:g.prefix,1)},ve.readToken_question=function(){var p=this.options.ecmaVersion;if(p>=11){var S=this.input.charCodeAt(this.pos+1);if(S===46){var N=this.input.charCodeAt(this.pos+2);if(N<48||N>57)return this.finishOp(g.questionDot,2)}if(S===63){if(p>=12){var q=this.input.charCodeAt(this.pos+2);if(q===61)return this.finishOp(g.assign,3)}return this.finishOp(g.coalesce,2)}}return this.finishOp(g.question,1)},ve.getTokenFromCode=function(p){switch(p){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(g.parenL);case 41:return++this.pos,this.finishToken(g.parenR);case 59:return++this.pos,this.finishToken(g.semi);case 44:return++this.pos,this.finishToken(g.comma);case 91:return++this.pos,this.finishToken(g.bracketL);case 93:return++this.pos,this.finishToken(g.bracketR);case 123:return++this.pos,this.finishToken(g.braceL);case 125:return++this.pos,this.finishToken(g.braceR);case 58:return++this.pos,this.finishToken(g.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(g.backQuote);case 48:var S=this.input.charCodeAt(this.pos+1);if(S===120||S===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(S===111||S===79)return this.readRadixNumber(8);if(S===98||S===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(p);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(p);case 124:case 38:return this.readToken_pipe_amp(p);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(p);case 60:case 62:return this.readToken_lt_gt(p);case 61:case 33:return this.readToken_eq_excl(p);case 63:return this.readToken_question();case 126:return this.finishOp(g.prefix,1)}this.raise(this.pos,"Unexpected character '"+jt(p)+"'")},ve.finishOp=function(p,S){var N=this.input.slice(this.pos,this.pos+S);return this.pos+=S,this.finishToken(p,N)},ve.readRegexp=function(){for(var p,S,N=this.pos;;){this.pos>=this.input.length&&this.raise(N,"Unterminated regular expression");var q=this.input.charAt(this.pos);if(w.test(q)&&this.raise(N,"Unterminated regular expression"),p)p=!1;else{if(q==="[")S=!0;else if(q==="]"&&S)S=!1;else if(q==="/"&&!S)break;p=q==="\\"}++this.pos}var K=this.input.slice(N,this.pos);++this.pos;var oe=this.pos,de=this.readWord1();this.containsEsc&&this.unexpected(oe);var _e=this.regexpState||(this.regexpState=new Gt(this));_e.reset(N,K,de),this.validateRegExpFlags(_e),this.validateRegExpPattern(_e);var Fe=null;try{Fe=new RegExp(K,de)}catch{}return this.finishToken(g.regexp,{pattern:K,flags:de,value:Fe})},ve.readInt=function(p,S,N){for(var q=this.options.ecmaVersion>=12&&S===void 0,K=N&&this.input.charCodeAt(this.pos)===48,oe=this.pos,de=0,_e=0,Fe=0,nt=S??1/0;Fe<nt;++Fe,++this.pos){var _t=this.input.charCodeAt(this.pos),dr=void 0;if(q&&_t===95){K&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),_e===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Fe===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),_e=_t;continue}if(_t>=97?dr=_t-97+10:_t>=65?dr=_t-65+10:_t>=48&&_t<=57?dr=_t-48:dr=1/0,dr>=p)break;_e=_t,de=de*p+dr}return q&&_e===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===oe||S!=null&&this.pos-oe!==S?null:de};function $e(p,S){return S?parseInt(p,8):parseFloat(p.replace(/_/g,""))}function et(p){return typeof BigInt!="function"?null:BigInt(p.replace(/_/g,""))}ve.readRadixNumber=function(p){var S=this.pos;this.pos+=2;var N=this.readInt(p);return N==null&&this.raise(this.start+2,"Expected number in radix "+p),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(N=et(this.input.slice(S,this.pos)),++this.pos):b(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(g.num,N)},ve.readNumber=function(p){var S=this.pos;!p&&this.readInt(10,void 0,!0)===null&&this.raise(S,"Invalid number");var N=this.pos-S>=2&&this.input.charCodeAt(S)===48;N&&this.strict&&this.raise(S,"Invalid number");var q=this.input.charCodeAt(this.pos);if(!N&&!p&&this.options.ecmaVersion>=11&&q===110){var K=et(this.input.slice(S,this.pos));return++this.pos,b(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(g.num,K)}N&&/[89]/.test(this.input.slice(S,this.pos))&&(N=!1),q===46&&!N&&(++this.pos,this.readInt(10),q=this.input.charCodeAt(this.pos)),(q===69||q===101)&&!N&&(q=this.input.charCodeAt(++this.pos),(q===43||q===45)&&++this.pos,this.readInt(10)===null&&this.raise(S,"Invalid number")),b(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var oe=$e(this.input.slice(S,this.pos),N);return this.finishToken(g.num,oe)},ve.readCodePoint=function(){var p=this.input.charCodeAt(this.pos),S;if(p===123){this.options.ecmaVersion<6&&this.unexpected();var N=++this.pos;S=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,S>1114111&&this.invalidStringToken(N,"Code point out of bounds")}else S=this.readHexChar(4);return S};function jt(p){return p<=65535?String.fromCharCode(p):(p-=65536,String.fromCharCode((p>>10)+55296,(p&1023)+56320))}ve.readString=function(p){for(var S="",N=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var q=this.input.charCodeAt(this.pos);if(q===p)break;q===92?(S+=this.input.slice(N,this.pos),S+=this.readEscapedChar(!1),N=this.pos):(R(q,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return S+=this.input.slice(N,this.pos++),this.finishToken(g.string,S)};var St={};ve.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(p){if(p===St)this.readInvalidTemplateToken();else throw p}this.inTemplateElement=!1},ve.invalidStringToken=function(p,S){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw St;this.raise(p,S)},ve.readTmplToken=function(){for(var p="",S=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===g.template||this.type===g.invalidTemplate)?N===36?(this.pos+=2,this.finishToken(g.dollarBraceL)):(++this.pos,this.finishToken(g.backQuote)):(p+=this.input.slice(S,this.pos),this.finishToken(g.template,p));if(N===92)p+=this.input.slice(S,this.pos),p+=this.readEscapedChar(!0),S=this.pos;else if(R(N)){switch(p+=this.input.slice(S,this.pos),++this.pos,N){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:p+=`
1092
+ `;break;default:p+=String.fromCharCode(N);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),S=this.pos}else++this.pos}},ve.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(g.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},ve.readEscapedChar=function(p){var S=this.input.charCodeAt(++this.pos);switch(++this.pos,S){case 110:return`
1093
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return jt(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(p){var N=this.pos-1;return this.invalidStringToken(N,"Invalid escape sequence in template string"),null}default:if(S>=48&&S<=55){var q=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],K=parseInt(q,8);return K>255&&(q=q.slice(0,-1),K=parseInt(q,8)),this.pos+=q.length-1,S=this.input.charCodeAt(this.pos),(q!=="0"||S===56||S===57)&&(this.strict||p)&&this.invalidStringToken(this.pos-1-q.length,p?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(K)}return R(S)?"":String.fromCharCode(S)}},ve.readHexChar=function(p){var S=this.pos,N=this.readInt(16,p);return N===null&&this.invalidStringToken(S,"Bad character escape sequence"),N},ve.readWord1=function(){this.containsEsc=!1;for(var p="",S=!0,N=this.pos,q=this.options.ecmaVersion>=6;this.pos<this.input.length;){var K=this.fullCharCodeAtPos();if(y(K,q))this.pos+=K<=65535?1:2;else if(K===92){this.containsEsc=!0,p+=this.input.slice(N,this.pos);var oe=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var de=this.readCodePoint();(S?b:y)(de,q)||this.invalidStringToken(oe,"Invalid Unicode escape"),p+=jt(de),N=this.pos}else break;S=!1}return p+this.input.slice(N,this.pos)},ve.readWord=function(){var p=this.readWord1(),S=g.name;return this.keywords.test(p)&&(S=P[p]),this.finishToken(S,p)};var _r="7.4.1";Ge.acorn={Parser:Ge,version:_r,defaultOptions:X,Position:ne,SourceLocation:we,getLineInfo:Pe,Node:ct,TokenType:A,tokTypes:g,keywordTypes:P,TokContext:Dt,tokContexts:dt,isIdentifierChar:y,isIdentifierStart:b,Token:me,isNewLine:R,lineBreak:w,lineBreakG:C,nonASCIIwhitespace:j};function Ri(p,S){return Ge.parse(p,S)}function FP(p,S,N){return Ge.parseExpressionAt(p,S,N)}function NP(p,S){return Ge.tokenizer(p,S)}r.Node=ct,r.Parser=Ge,r.Position=ne,r.SourceLocation=we,r.TokContext=Dt,r.Token=me,r.TokenType=A,r.defaultOptions=X,r.getLineInfo=Pe,r.isIdentifierChar=y,r.isIdentifierStart=b,r.isNewLine=R,r.keywordTypes=P,r.lineBreak=w,r.lineBreakG=C,r.nonASCIIwhitespace=j,r.parse=Ri,r.parseExpressionAt=FP,r.tokContexts=dt,r.tokTypes=g,r.tokenizer=NP,r.version=_r,Object.defineProperty(r,"__esModule",{value:!0})}))}}),LX=Tt({"node_modules/acorn-jsx/xhtml.js"(e,t){t.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",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:"♦"}}}),qX=Tt({"node_modules/acorn-jsx/index.js"(e,t){var r=LX(),n=/^[\da-fA-F]+$/,i=/^\d+$/,o=new WeakMap;function a(u){u=u.Parser.acorn||u;let d=o.get(u);if(!d){let f=u.tokTypes,h=u.TokContext,m=u.TokenType,b=new h("<tag",!1),y=new h("</tag",!1),A=new h("<tag>...</tag>",!0,!0),E={tc_oTag:b,tc_cTag:y,tc_expr:A},_={jsxName:new m("jsxName"),jsxText:new m("jsxText",{beforeExpr:!0}),jsxTagStart:new m("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new m("jsxTagEnd")};_.jsxTagStart.updateContext=function(){this.context.push(A),this.context.push(b),this.exprAllowed=!1},_.jsxTagEnd.updateContext=function(I){let P=this.context.pop();P===b&&I===f.slash||P===y?(this.context.pop(),this.exprAllowed=this.curContext()===A):this.exprAllowed=!0},d={tokContexts:E,tokTypes:_},o.set(u,d)}return d}function s(u){if(!u)return u;if(u.type==="JSXIdentifier")return u.name;if(u.type==="JSXNamespacedName")return u.namespace.name+":"+u.name.name;if(u.type==="JSXMemberExpression")return s(u.object)+"."+s(u.property)}t.exports=function(u){return u=u||{},function(d){return l({allowNamespaces:u.allowNamespaces!==!1,allowNamespacedObjects:!!u.allowNamespacedObjects},d)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return a(wf()).tokTypes},configurable:!0,enumerable:!0});function l(u,d){let f=d.acorn||wf(),h=a(f),m=f.tokTypes,b=h.tokTypes,y=f.tokContexts,A=h.tokContexts.tc_oTag,E=h.tokContexts.tc_cTag,_=h.tokContexts.tc_expr,I=f.isNewLine,P=f.isIdentifierStart,x=f.isIdentifierChar;return class extends d{static get acornJsx(){return h}jsx_readToken(){let g="",w=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let C=this.input.charCodeAt(this.pos);switch(C){case 60:case 123:return this.pos===this.start?C===60&&this.exprAllowed?(++this.pos,this.finishToken(b.jsxTagStart)):this.getTokenFromCode(C):(g+=this.input.slice(w,this.pos),this.finishToken(b.jsxText,g));case 38:g+=this.input.slice(w,this.pos),g+=this.jsx_readEntity(),w=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(C===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:I(C)?(g+=this.input.slice(w,this.pos),g+=this.jsx_readNewLine(!0),w=this.pos):++this.pos}}}jsx_readNewLine(g){let w=this.input.charCodeAt(this.pos),C;return++this.pos,w===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,C=g?`
1094
+ `:`\r
1095
+ `):C=String.fromCharCode(w),this.options.locations&&(++this.curLine,this.lineStart=this.pos),C}jsx_readString(g){let w="",C=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let R=this.input.charCodeAt(this.pos);if(R===g)break;R===38?(w+=this.input.slice(C,this.pos),w+=this.jsx_readEntity(),C=this.pos):I(R)?(w+=this.input.slice(C,this.pos),w+=this.jsx_readNewLine(!1),C=this.pos):++this.pos}return w+=this.input.slice(C,this.pos++),this.finishToken(m.string,w)}jsx_readEntity(){let g="",w=0,C,R=this.input[this.pos];R!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let j=++this.pos;for(;this.pos<this.input.length&&w++<10;){if(R=this.input[this.pos++],R===";"){g[0]==="#"?g[1]==="x"?(g=g.substr(2),n.test(g)&&(C=String.fromCharCode(parseInt(g,16)))):(g=g.substr(1),i.test(g)&&(C=String.fromCharCode(parseInt(g,10)))):C=r[g];break}g+=R}return C||(this.pos=j,"&")}jsx_readWord(){let g,w=this.pos;do g=this.input.charCodeAt(++this.pos);while(x(g)||g===45);return this.finishToken(b.jsxName,this.input.slice(w,this.pos))}jsx_parseIdentifier(){let g=this.startNode();return this.type===b.jsxName?g.name=this.value:this.type.keyword?g.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(g,"JSXIdentifier")}jsx_parseNamespacedName(){let g=this.start,w=this.startLoc,C=this.jsx_parseIdentifier();if(!u.allowNamespaces||!this.eat(m.colon))return C;var R=this.startNodeAt(g,w);return R.namespace=C,R.name=this.jsx_parseIdentifier(),this.finishNode(R,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===b.jsxTagEnd)return"";let g=this.start,w=this.startLoc,C=this.jsx_parseNamespacedName();for(this.type===m.dot&&C.type==="JSXNamespacedName"&&!u.allowNamespacedObjects&&this.unexpected();this.eat(m.dot);){let R=this.startNodeAt(g,w);R.object=C,R.property=this.jsx_parseIdentifier(),C=this.finishNode(R,"JSXMemberExpression")}return C}jsx_parseAttributeValue(){switch(this.type){case m.braceL:let g=this.jsx_parseExpressionContainer();return g.expression.type==="JSXEmptyExpression"&&this.raise(g.start,"JSX attributes must only be assigned a non-empty expression"),g;case b.jsxTagStart:case m.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let g=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(g,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let g=this.startNode();return this.next(),g.expression=this.type===m.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(m.braceR),this.finishNode(g,"JSXExpressionContainer")}jsx_parseAttribute(){let g=this.startNode();return this.eat(m.braceL)?(this.expect(m.ellipsis),g.argument=this.parseMaybeAssign(),this.expect(m.braceR),this.finishNode(g,"JSXSpreadAttribute")):(g.name=this.jsx_parseNamespacedName(),g.value=this.eat(m.eq)?this.jsx_parseAttributeValue():null,this.finishNode(g,"JSXAttribute"))}jsx_parseOpeningElementAt(g,w){let C=this.startNodeAt(g,w);C.attributes=[];let R=this.jsx_parseElementName();for(R&&(C.name=R);this.type!==m.slash&&this.type!==b.jsxTagEnd;)C.attributes.push(this.jsx_parseAttribute());return C.selfClosing=this.eat(m.slash),this.expect(b.jsxTagEnd),this.finishNode(C,R?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(g,w){let C=this.startNodeAt(g,w),R=this.jsx_parseElementName();return R&&(C.name=R),this.expect(b.jsxTagEnd),this.finishNode(C,R?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(g,w){let C=this.startNodeAt(g,w),R=[],j=this.jsx_parseOpeningElementAt(g,w),B=null;if(!j.selfClosing){e:for(;;)switch(this.type){case b.jsxTagStart:if(g=this.start,w=this.startLoc,this.next(),this.eat(m.slash)){B=this.jsx_parseClosingElementAt(g,w);break e}R.push(this.jsx_parseElementAt(g,w));break;case b.jsxText:R.push(this.parseExprAtom());break;case m.braceL:R.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}s(B.name)!==s(j.name)&&this.raise(B.start,"Expected corresponding JSX closing tag for <"+s(j.name)+">")}let U=j.name?"Element":"Fragment";return C["opening"+U]=j,C["closing"+U]=B,C.children=R,this.type===m.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(C,"JSX"+U)}jsx_parseText(){let g=this.parseLiteral(this.value);return g.type="JSXText",g}jsx_parseElement(){let g=this.start,w=this.startLoc;return this.next(),this.jsx_parseElementAt(g,w)}parseExprAtom(g){return this.type===b.jsxText?this.jsx_parseText():this.type===b.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(g)}readToken(g){let w=this.curContext();if(w===_)return this.jsx_readToken();if(w===A||w===E){if(P(g))return this.jsx_readWord();if(g==62)return++this.pos,this.finishToken(b.jsxTagEnd);if((g===34||g===39)&&w==A)return this.jsx_readString(g)}return g===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(b.jsxTagStart)):super.readToken(g)}updateContext(g){if(this.type==m.braceL){var w=this.curContext();w==A?this.context.push(y.b_expr):w==_?this.context.push(y.b_tmpl):super.updateContext(g),this.exprAllowed=!0}else if(this.type===m.slash&&g===b.jsxTagStart)this.context.length-=2,this.context.push(E),this.exprAllowed=!1;else return super.updateContext(g)}}}}}),$X=Tt({"../../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),VX=Tt({"../../../node_modules/html-tags/index.js"(e,t){t.exports=$X()}}),UX={};gy(UX,{argTypesEnhancers:()=>CD,parameters:()=>_D});var Sf="custom",Vs="object",_y="array",JX="class",Go="func",sa="element",HX=oa(jX(),1);function zX(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var i=n.reduce(function(s,l){var u=l.match(/\n([\t ]+|(?!\s).)/g);return u?s.concat(u.map(function(d){var f,h;return(h=(f=d.match(/[\t ]/g))===null||f===void 0?void 0:f.length)!==null&&h!==void 0?h:0})):s},[]);if(i.length){var o=new RegExp(`
1096
+ [ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(s){return s.replace(o,`
1097
+ `)})}n[0]=n[0].replace(/^\r?\n/,"");var a=n[0];return t.forEach(function(s,l){var u=a.match(/(?:^|\n)( *)$/),d=u?u[1]:"",f=s;typeof s=="string"&&s.includes(`
1098
+ `)&&(f=String(s).split(`
1099
+ `).map(function(h,m){return m===0?h:""+d+h}).join(`
1100
+ `)),a+=f+n[l+1]}),a}var dD={format:{indent:{style:" "},semicolons:!1}},GX={...dD,format:{newline:""}},WX={...dD};function bi(e,t=!1){return(0,HX.generate)(e,t?GX:WX)}function _f(e,t=!1){return t?KX(e):bi(e)}function KX(e){let t=bi(e,!0);return t.endsWith(" }")||(t=`${t.slice(0,-1)} }`),t}function Kv(e,t=!1){return t?XX(e):YX(e)}function YX(e){let t=bi(e);return t.endsWith(" }]")&&(t=zX(t)),t}function XX(e){let t=bi(e,!0);return t.startsWith("[ ")&&(t=t.replace("[ ","[")),t}var QX=oa(wf(),1),ZX=oa(qX(),1);function pD(e,t,r,n,i){r||(r=Ee),(function o(a,s,l){var u=l||a.type,d=t[u];r[u](a,s,o),d&&d(a,s)})(e,n,i)}function eQ(e,t,r,n,i){var o=[];r||(r=Ee),(function a(s,l,u){var d=u||s.type,f=t[d],h=s!==o[o.length-1];h&&o.push(s),r[d](s,l,a),f&&f(s,l||o,o),h&&o.pop()})(e,n,i)}function Cy(e,t,r){r(e,t)}function oo(e,t,r){}var Ee={};Ee.Program=Ee.BlockStatement=function(e,t,r){for(var n=0,i=e.body;n<i.length;n+=1){var o=i[n];r(o,t,"Statement")}};Ee.Statement=Cy;Ee.EmptyStatement=oo;Ee.ExpressionStatement=Ee.ParenthesizedExpression=Ee.ChainExpression=function(e,t,r){return r(e.expression,t,"Expression")};Ee.IfStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Statement"),e.alternate&&r(e.alternate,t,"Statement")};Ee.LabeledStatement=function(e,t,r){return r(e.body,t,"Statement")};Ee.BreakStatement=Ee.ContinueStatement=oo;Ee.WithStatement=function(e,t,r){r(e.object,t,"Expression"),r(e.body,t,"Statement")};Ee.SwitchStatement=function(e,t,r){r(e.discriminant,t,"Expression");for(var n=0,i=e.cases;n<i.length;n+=1){var o=i[n];o.test&&r(o.test,t,"Expression");for(var a=0,s=o.consequent;a<s.length;a+=1){var l=s[a];r(l,t,"Statement")}}};Ee.SwitchCase=function(e,t,r){e.test&&r(e.test,t,"Expression");for(var n=0,i=e.consequent;n<i.length;n+=1){var o=i[n];r(o,t,"Statement")}};Ee.ReturnStatement=Ee.YieldExpression=Ee.AwaitExpression=function(e,t,r){e.argument&&r(e.argument,t,"Expression")};Ee.ThrowStatement=Ee.SpreadElement=function(e,t,r){return r(e.argument,t,"Expression")};Ee.TryStatement=function(e,t,r){r(e.block,t,"Statement"),e.handler&&r(e.handler,t),e.finalizer&&r(e.finalizer,t,"Statement")};Ee.CatchClause=function(e,t,r){e.param&&r(e.param,t,"Pattern"),r(e.body,t,"Statement")};Ee.WhileStatement=Ee.DoWhileStatement=function(e,t,r){r(e.test,t,"Expression"),r(e.body,t,"Statement")};Ee.ForStatement=function(e,t,r){e.init&&r(e.init,t,"ForInit"),e.test&&r(e.test,t,"Expression"),e.update&&r(e.update,t,"Expression"),r(e.body,t,"Statement")};Ee.ForInStatement=Ee.ForOfStatement=function(e,t,r){r(e.left,t,"ForInit"),r(e.right,t,"Expression"),r(e.body,t,"Statement")};Ee.ForInit=function(e,t,r){e.type==="VariableDeclaration"?r(e,t):r(e,t,"Expression")};Ee.DebuggerStatement=oo;Ee.FunctionDeclaration=function(e,t,r){return r(e,t,"Function")};Ee.VariableDeclaration=function(e,t,r){for(var n=0,i=e.declarations;n<i.length;n+=1){var o=i[n];r(o,t)}};Ee.VariableDeclarator=function(e,t,r){r(e.id,t,"Pattern"),e.init&&r(e.init,t,"Expression")};Ee.Function=function(e,t,r){e.id&&r(e.id,t,"Pattern");for(var n=0,i=e.params;n<i.length;n+=1){var o=i[n];r(o,t,"Pattern")}r(e.body,t,e.expression?"Expression":"Statement")};Ee.Pattern=function(e,t,r){e.type==="Identifier"?r(e,t,"VariablePattern"):e.type==="MemberExpression"?r(e,t,"MemberPattern"):r(e,t)};Ee.VariablePattern=oo;Ee.MemberPattern=Cy;Ee.RestElement=function(e,t,r){return r(e.argument,t,"Pattern")};Ee.ArrayPattern=function(e,t,r){for(var n=0,i=e.elements;n<i.length;n+=1){var o=i[n];o&&r(o,t,"Pattern")}};Ee.ObjectPattern=function(e,t,r){for(var n=0,i=e.properties;n<i.length;n+=1){var o=i[n];o.type==="Property"?(o.computed&&r(o.key,t,"Expression"),r(o.value,t,"Pattern")):o.type==="RestElement"&&r(o.argument,t,"Pattern")}};Ee.Expression=Cy;Ee.ThisExpression=Ee.Super=Ee.MetaProperty=oo;Ee.ArrayExpression=function(e,t,r){for(var n=0,i=e.elements;n<i.length;n+=1){var o=i[n];o&&r(o,t,"Expression")}};Ee.ObjectExpression=function(e,t,r){for(var n=0,i=e.properties;n<i.length;n+=1){var o=i[n];r(o,t)}};Ee.FunctionExpression=Ee.ArrowFunctionExpression=Ee.FunctionDeclaration;Ee.SequenceExpression=function(e,t,r){for(var n=0,i=e.expressions;n<i.length;n+=1){var o=i[n];r(o,t,"Expression")}};Ee.TemplateLiteral=function(e,t,r){for(var n=0,i=e.quasis;n<i.length;n+=1){var o=i[n];r(o,t)}for(var a=0,s=e.expressions;a<s.length;a+=1){var l=s[a];r(l,t,"Expression")}};Ee.TemplateElement=oo;Ee.UnaryExpression=Ee.UpdateExpression=function(e,t,r){r(e.argument,t,"Expression")};Ee.BinaryExpression=Ee.LogicalExpression=function(e,t,r){r(e.left,t,"Expression"),r(e.right,t,"Expression")};Ee.AssignmentExpression=Ee.AssignmentPattern=function(e,t,r){r(e.left,t,"Pattern"),r(e.right,t,"Expression")};Ee.ConditionalExpression=function(e,t,r){r(e.test,t,"Expression"),r(e.consequent,t,"Expression"),r(e.alternate,t,"Expression")};Ee.NewExpression=Ee.CallExpression=function(e,t,r){if(r(e.callee,t,"Expression"),e.arguments)for(var n=0,i=e.arguments;n<i.length;n+=1){var o=i[n];r(o,t,"Expression")}};Ee.MemberExpression=function(e,t,r){r(e.object,t,"Expression"),e.computed&&r(e.property,t,"Expression")};Ee.ExportNamedDeclaration=Ee.ExportDefaultDeclaration=function(e,t,r){e.declaration&&r(e.declaration,t,e.type==="ExportNamedDeclaration"||e.declaration.id?"Statement":"Expression"),e.source&&r(e.source,t,"Expression")};Ee.ExportAllDeclaration=function(e,t,r){e.exported&&r(e.exported,t),r(e.source,t,"Expression")};Ee.ImportDeclaration=function(e,t,r){for(var n=0,i=e.specifiers;n<i.length;n+=1){var o=i[n];r(o,t)}r(e.source,t,"Expression")};Ee.ImportExpression=function(e,t,r){r(e.source,t,"Expression")};Ee.ImportSpecifier=Ee.ImportDefaultSpecifier=Ee.ImportNamespaceSpecifier=Ee.Identifier=Ee.Literal=oo;Ee.TaggedTemplateExpression=function(e,t,r){r(e.tag,t,"Expression"),r(e.quasi,t,"Expression")};Ee.ClassDeclaration=Ee.ClassExpression=function(e,t,r){return r(e,t,"Class")};Ee.Class=function(e,t,r){e.id&&r(e.id,t,"Pattern"),e.superClass&&r(e.superClass,t,"Expression"),r(e.body,t)};Ee.ClassBody=function(e,t,r){for(var n=0,i=e.body;n<i.length;n+=1){var o=i[n];r(o,t)}};Ee.MethodDefinition=Ee.Property=function(e,t,r){e.computed&&r(e.key,t,"Expression"),r(e.value,t,"Expression")};var Ty={...Ee,JSXElement:()=>{}},tQ=QX.Parser.extend((0,ZX.default)());function Us(e){return e!=null?e.name:null}function Yv(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function fD(e){let t=[];return eQ(e,{ObjectExpression(r,n){t.push(Yv(n).length)},ArrayExpression(r,n){t.push(Yv(n).length)}},Ty),Math.max(...t)}function rQ(e){return{inferredType:{type:"Identifier",identifier:Us(e)},ast:e}}function nQ(e){return{inferredType:{type:"Literal"},ast:e}}function iQ(e){let t;pD(e.body,{JSXElement(i){t=i}},Ty);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=Us(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function oQ(e){let t;return pD(e.body,{JSXElement(r){t=r}},Ty),{inferredType:{type:t!=null?"Element":"Class",identifier:Us(e.id)},ast:e}}function aQ(e){let t={type:"Element"},r=Us(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function sQ(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Us(t)==="shape"?hD(e.arguments[0]):null}function hD(e){return{inferredType:{type:"Object",depth:fD(e)},ast:e}}function uQ(e){return{inferredType:{type:"Array",depth:fD(e)},ast:e}}function lQ(e){switch(e.type){case"Identifier":return rQ(e);case"Literal":return nQ(e);case"FunctionExpression":case"ArrowFunctionExpression":return iQ(e);case"ClassExpression":return oQ(e);case"JSXElement":return aQ(e);case"CallExpression":return sQ(e);case"ObjectExpression":return hD(e);case"ArrayExpression":return uQ(e);default:return null}}function cQ(e){let t=tQ.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];if(n.type==="ExpressionStatement"){let i=lQ(n.expression);i!=null&&(r=i)}}return r}function Si(e){try{return{...cQ(e)}}catch{}return{inferredType:{type:"Unknown"}}}var dQ=oa(VX(),1);function xy(e){return dQ.default.includes(e.toLowerCase())}function mD({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=Kv(t,!0);if(!aa(n))return Je(n)}return Je(_y,Kv(t))}function yD({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=_f(t,!0);if(!aa(n))return Je(n)}return Je(Vs,_f(t))}function Ry(e,t){return t?`${e}( ... )`:`${e}()`}function hc(e){return`<${e} />`}function gD(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Ry(r,e.hasParams);case"Element":return hc(r);default:return r}}function pQ({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return Je(gD(e),bi(t));let n=bi(t,!0);return aa(n)?Je(Go,bi(t)):Je(n)}function fQ(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!xy(n)){let i=gD(r);return Je(i,e)}return aa(e)?Je(sa,e):Je(e)}function bD(e){try{let t=Si(e);switch(t.inferredType.type){case"Object":return yD(t);case"Function":return pQ(t);case"Element":return fQ(e,t);case"Array":return mD(t);default:return null}}catch(t){console.error(t)}return null}function hQ(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}function Xv(e){return typeof e=="function"}function mQ(e){return typeof e=="string"}var Qv=HR;function vD(e){return e.$$typeof!=null}function ED(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var yQ=e=>Je(JSON.stringify(e));function gQ(e){let{type:t}=e,{displayName:r}=t,n=Qv(e,{});if(r!=null){let i=hc(r);return Je(i,n)}if(mQ(t)&&xy(t)){let i=Qv(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!aa(i))return Je(i)}return Je(sa,n)}var bQ=e=>{if(vD(e)&&e.type!=null)return gQ(e);if(hQ(e)){let t=Si(JSON.stringify(e));return yD(t)}if(Array.isArray(e)){let t=Si(JSON.stringify(e));return mD(t)}return Je(Vs)},vQ=(e,t)=>{let r=!1,n;if(Xv(e.render))r=!0;else if(e.prototype!=null&&Xv(e.prototype.render))r=!0;else{let o;try{n=Si(e.toString());let{hasParams:a,params:s}=n.inferredType;a?s.length===1&&s[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&vD(o)&&(r=!0)}catch{}}let i=ED(e,t.name);if(i!=null){if(r)return Je(hc(i));n!=null&&(n=Si(e.toString()));let{hasParams:o}=n.inferredType;return Je(Ry(i,o))}return Je(r?sa:Go)},EQ=e=>Je(e.toString()),AD={string:yQ,object:bQ,function:vQ,default:EQ};function AQ(e={}){return{...AD,...e}}function wQ(e,t,r=AD){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(n){console.error(n)}return null}function SQ(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let i=[];if(r){let o=e.map(a=>{let s=a.getPrettyName(),l=a.getTypeName();return l!=null?`${s}: ${l}`:s});i.push(`(${o.join(", ")})`)}else i.push("()");return n&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function _Q(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let i=[];return r?i.push("( ... )"):i.push("()"),n&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function CQ(e){return e.replace(/,/g,`,\r
1101
+ `)}var TQ=150;function mr({name:e,short:t,compact:r,full:n,inferredType:i}){return{name:e,short:t,compact:r,full:n??t,inferredType:i}}function wD(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function Zv(e){return e.split(/\r?\n/)}function wl(e,t=!1){return wD(_f(e,t))}function eE(e,t=!1){return wD(bi(e,t))}function xQ(e){switch(e){case"Object":return Vs;case"Array":return _y;case"Class":return JX;case"Function":return Go;case"Element":return sa;default:return Sf}}function SD(e,t){let{inferredType:r,ast:n}=Si(e),{type:i}=r,o,a,s;switch(i){case"Identifier":case"Literal":o=e,a=e;break;case"Object":{let{depth:l}=r;o=Vs,a=l===1?wl(n,!0):null,s=wl(n);break}case"Element":{let{identifier:l}=r;o=l!=null&&!xy(l)?l:sa,a=Zv(e).length===1?e:null,s=e;break}case"Array":{let{depth:l}=r;o=_y,a=l<=2?eE(n,!0):null,s=eE(n);break}default:o=xQ(i),a=Zv(e).length===1?e:null,s=e;break}return mr({name:t,short:o,compact:a,full:s,inferredType:i})}function RQ({raw:e}){return e!=null?SD(e,"custom"):mr({name:"custom",short:Sf,compact:Sf})}function DQ(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?mr({name:"func",short:_Q(t.params,t.returns),compact:null,full:SQ(t.params,t.returns)}):mr({name:"func",short:Go,compact:Go})}function PQ(e,t){let r=Object.keys(e.value).map(a=>`${a}: ${Wo(e.value[a],t).full}`).join(", "),{inferredType:n,ast:i}=Si(`{ ${r} }`),{depth:o}=n;return mr({name:"shape",short:Vs,compact:o===1&&i?wl(i,!0):null,full:i?wl(i):null})}function Rd(e){return`objectOf(${e})`}function OQ(e,t){let{short:r,compact:n,full:i}=Wo(e.value,t);return mr({name:"objectOf",short:Rd(r),compact:n!=null?Rd(n):null,full:i&&Rd(i)})}function IQ(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,i)=>{let{short:o,compact:a,full:s}=Wo(i,t);return n.short.push(o),n.compact.push(a),n.full.push(s),n},{short:[],compact:[],full:[]});return mr({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return mr({name:"union",short:e.value,compact:null})}function FQ({value:e,computed:t}){return t?SD(e,"enumvalue"):mr({name:"enumvalue",short:e,compact:e})}function NQ(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:i,compact:o,full:a}=FQ(n);return r.short.push(i),r.compact.push(o),r.full.push(a),r},{short:[],compact:[],full:[]});return mr({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return mr({name:"enum",short:e.value,compact:e.value})}function Cf(e){return`${e}[]`}function tE(e){return`[${e}]`}function rE(e,t,r){return mr({name:"arrayOf",short:Cf(e),compact:t!=null?tE(t):null,full:r&&tE(r)})}function kQ(e,t){let{name:r,short:n,compact:i,full:o,inferredType:a}=Wo(e.value,t);if(r==="custom"){if(a==="Object")return rE(n,i,o)}else if(r==="shape")return rE(n,i,o);return mr({name:"arrayOf",short:Cf(n),compact:Cf(n)})}function Wo(e,t){try{switch(e.name){case"custom":return RQ(e);case"func":return DQ(t);case"shape":return PQ(e,t);case"instanceOf":return mr({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return OQ(e,t);case"union":return IQ(e,t);case"enum":return NQ(e);case"arrayOf":return kQ(e,t);default:return mr({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return mr({name:"unknown",short:"unknown",compact:"unknown"})}function BQ(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:n,full:i}=Wo(t,e);return n!=null&&!Sy(n)?Je(n):i?Je(r,i):Je(r)}case"func":{let{short:r,full:n}=Wo(t,e),i=r,o;return n&&n.length<TQ?i=n:n&&(o=CQ(n)),Je(i,o)}default:return null}}catch(r){console.error(r)}return null}var MQ=(e,{name:t,type:r})=>{let n=r?.summary==="element"||r?.summary==="elementType",i=ED(e,t);if(i!=null){if(n)return Je(hc(i));let{hasParams:o}=Si(e.toString()).inferredType;return Je(Ry(i,o))}return Je(n?sa:Go)},jQ=AQ({function:MQ});function LQ(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(i=>i.name===n)).filter(Boolean):e}function qQ(e,t){let{propDef:r}=e,n=BQ(e);n!=null&&(r.type=n);let{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let o=bD(i.value);o!=null&&(r.defaultValue=o)}else if(t!=null){let o=wQ(t,r,jQ);o!=null&&(r.defaultValue=o)}return r}function $Q(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(i=>qQ(i,r[i.propDef.name]));return LQ(n,t)}function VQ(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let i=bD(n.value);i!=null&&(r.defaultValue=i)}return r}function UQ(e){return e.map(t=>VQ(t))}function JQ(e,t){let r=e;!Ay(e)&&!e.propTypes&&LR(e)&&(r=e.type);let n=wX(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case vf.JAVASCRIPT:return $Q(n,e);case vf.TYPESCRIPT:return UQ(n);default:return n.map(i=>i.propDef)}}var HQ=e=>({rows:JQ(e,"props")}),zQ=e=>{if(e){let{rows:t}=HQ(e);if(t)return t.reduce((r,n)=>{let{name:i,description:o,type:a,sbType:s,defaultValue:l,jsDocTags:u,required:d}=n;return r[i]={name:i,description:o,type:{required:d,...s},table:{type:a??void 0,jsDocTags:u,defaultValue:l??void 0}},r},{})}return null},_D={docs:{extractArgTypes:zQ,extractComponentDescription:SX}},CD=[_X];const GQ=Object.freeze(Object.defineProperty({__proto__:null,argTypesEnhancers:CD,parameters:_D},Symbol.toStringTag,{value:"Module"}));var WQ={};gy(WQ,{applyDecorators:()=>RD,decorators:()=>DD,parameters:()=>PD});const{logger:bu}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{emitTransformCode:KQ,useEffect:YQ,useRef:XQ}=__STORYBOOK_MODULE_PREVIEW_API__;var Dd=HR,QQ=e=>e.charAt(0).toUpperCase()+e.slice(1),ZQ=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(QQ).join("")).join(".");function Tf(e){if(Me.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=Tf(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Tf):e}var eZ=(e,t)=>{if(typeof e>"u")return bu.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let a=0;a<t?.skip;a+=1){if(typeof r>"u")return bu.warn("Cannot skip undefined element"),null;if(Hr.Children.count(r)>1)return bu.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(bu.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=Hr.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let i;typeof t?.displayName=="string"?i={showFunctions:!0,displayName:()=>t.displayName}:i={displayName:a=>{if(a.type.displayName)return a.type.displayName;if(Ef(a.type,"displayName"))return Ef(a.type,"displayName");if(a.type.render?.displayName)return a.type.render.displayName;if(typeof a.type=="symbol"||a.type.$$typeof&&typeof a.type.$$typeof=="symbol")return ZQ(a.type);if(a.type.name&&a.type.name!=="_default")return a.type.name;if(typeof a.type=="function"){let s=t?.parentComponent;if(s){for(let l of Object.keys(s))if(/^[A-Z]/.test(l)&&s[l]===a.type){let u=s.displayName||s.name||"";return u?`${u}.${l}`:l}}return"No Display Name"}else return DW(a.type)?a.type.render.name:LR(a.type)?a.type.type.name:a.type}};let o={...i,filterProps:(a,s)=>a!==void 0,...t};return Hr.Children.map(e,a=>{let s=typeof a=="number"?a.toString():a,l=(typeof Dd=="function"?Dd:Dd.default)(Tf(s),o);if(l.indexOf("&quot;")>-1){let u=l.match(/\S+=\\"([^"]*)\\"/g);u&&u.forEach(d=>{l=l.replace(d,d.replace(/&quot;/g,"'"))})}return l}).join(`
1102
+ `).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},tZ={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},rZ=e=>{let t=e?.parameters.docs?.source,r=e?.parameters.__isArgsStory;return e?.parameters.__isPortableStory?!0:t?.type===Af.DYNAMIC?!1:!r||t?.code||t?.type===Af.CODE},nZ=e=>e.type?.displayName==="MDXCreateElement"&&!!e.props?.mdxType,TD=e=>{if(!nZ(e))return e;let{mdxType:t,originalType:r,children:n,...i}=e.props,o=[];return n&&(o=(Array.isArray(n)?n:[n]).map(TD)),Me.createElement(r,i,...o)},xD=(e,t)=>{let r=XQ(void 0),n=e(),i=rZ(t),o={...tZ,...t?.parameters.jsx||{},parentComponent:t?.component},a=t.originalStoryFn(t.args,t);return YQ(()=>{if(i)return;let s=TD(a),l=eZ(s,o);l&&r.current!==l&&(KQ(l,t),r.current=l)}),n},RD=(e,t)=>{let r=t.findIndex(i=>i.originalFn===xD),n=r===-1?t:[...t.splice(r,1),...t];return my(e,n)},iZ="FEATURES"in globalThis&&globalThis?.FEATURES?.experimentalDocgenServer,oZ="FEATURES"in globalThis&&globalThis?.FEATURES?.experimentalCodeExamples,DD=iZ||oZ?[]:[xD],PD={docs:{story:{inline:!0}}};const aZ=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:RD,decorators:DD,parameters:PD},Symbol.toStringTag,{value:"Module"}));var mc="storybook/highlight",sZ=`${mc}/add`,nE=`${mc}/remove`,Toe=`${mc}/reset`,xoe=`${mc}/scroll-into-view`,Roe=2147483647,Doe=28;const{useChannel:uZ,useEffect:lZ}=__STORYBOOK_MODULE_PREVIEW_API__;var Dy="chromaui/addon-visual-tests",OD="highlightIgnored",xf=`${Dy}/highlightIgnored`,iE=`${Dy}/highlightIgnored/count`,cZ=`${Dy}/highlightIgnored/select`,oE=['[data-chromatic="ignore"]','[class~="chromatic-ignore"]'],dZ={backgroundColor:"rgba(255, 173, 51, 0.2)",outline:"1px solid rgba(255, 173, 51, 0.7)",outlineOffset:"-1px"},pZ={backgroundColor:"rgba(255, 173, 51, 0.1)",outlineWidth:"2px"},fZ={backgroundColor:"transparent",outlineWidth:"2px"},hZ=e=>{if(!e)return!1;if(typeof document>"u")return!0;try{return document.createDocumentFragment().querySelector(e),!0}catch{return console.warn(`Invalid ignoreSelector: ${e}`),!1}},mZ=e=>{let t=e?.ignoreSelectors??[],r=Array.from(new Set(oE.concat(t.filter(hZ))));return{id:xf,selectors:r,styles:dZ,hoverStyles:pZ,focusStyles:fZ,menu:r.map(n=>{let i=oE.includes(n);return[{id:`${n}-info`,title:"Element ignored in visual tests",description:i?`${n} will be ignored by Chromatic`:`${n} matches an ignored selector`,selectors:[n]},{id:`${n}-link`,iconLeft:"info",iconRight:"shareAlt",title:"Learn how to configure ignored elements",clickEvent:cZ,selectors:[n]}]})}},yZ=(e,{globals:t,parameters:r,id:n})=>{let i=!!t[OD],o=uZ({}),a=mZ(r.chromatic),s=a?.selectors.join(`
1103
+ `)??"";return lZ(()=>{if(o(nE,xf),!a?.selectors.length){o(iE,0);return}i&&o(sZ,a);let l=document.getElementById("storybook-root"),u=a.selectors.reduce((d,f)=>(document.querySelectorAll(`:is(${f}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`).forEach(h=>d.add(h)),(l?.querySelectorAll(f)??[]).forEach(h=>d.add(h)),d),new Set);return o(iE,u.size),()=>o(nE,xf)},[o,a,n,s,i]),e()},gZ=[yZ],bZ={[OD]:!1};const vZ=Object.freeze(Object.defineProperty({__proto__:null,decorators:gZ,initialGlobals:bZ},Symbol.toStringTag,{value:"Module"}));var ao="storybook/a11y",EZ=`${ao}/panel`,AZ=`${ao}/result`,wZ=`${ao}/request`,SZ=`${ao}/running`,_Z=`${ao}/error`,CZ=`${ao}/manual`,TZ=`${ao}/select`,Pd={RESULT:AZ,REQUEST:wZ,RUNNING:SZ,ERROR:_Z,MANUAL:CZ,SELECT:TZ},ID={blurred:{label:"Blurred vision",filter:"blur(2px)",percentage:22.9},deuteranomaly:{label:"Deuteranomaly",filter:'url("#storybook-a11y-vision-deuteranomaly")',percentage:2.7},deuteranopia:{label:"Deuteranopia",filter:'url("#storybook-a11y-vision-deuteranopia")',percentage:.56},protanomaly:{label:"Protanomaly",filter:'url("#storybook-a11y-vision-protanomaly")',percentage:.66},protanopia:{label:"Protanopia",filter:'url("#storybook-a11y-vision-protanopia")',percentage:.59},tritanomaly:{label:"Tritanomaly",filter:'url("#storybook-a11y-vision-tritanomaly")',percentage:.01},tritanopia:{label:"Tritanopia",filter:'url("#storybook-a11y-vision-tritanopia")',percentage:.016},achromatopsia:{label:"Achromatopsia",filter:'url("#storybook-a11y-vision-achromatopsia")',percentage:1e-4},grayscale:{label:"Grayscale",filter:"grayscale(100%)"}},xZ=`<svg id="storybook-a11y-vision-filters" style="display: none !important;">
1104
+ <defs>
1105
+ <filter id="storybook-a11y-vision-protanopia">
1106
+ <feColorMatrix
1107
+ in="SourceGraphic"
1108
+ type="matrix"
1109
+ values="0.567, 0.433, 0, 0, 0 0.558, 0.442, 0, 0, 0 0, 0.242, 0.758, 0, 0 0, 0, 0, 1, 0"
1110
+ />
1111
+ </filter>
1112
+ <filter id="storybook-a11y-vision-protanomaly">
1113
+ <feColorMatrix
1114
+ in="SourceGraphic"
1115
+ type="matrix"
1116
+ values="0.817, 0.183, 0, 0, 0 0.333, 0.667, 0, 0, 0 0, 0.125, 0.875, 0, 0 0, 0, 0, 1, 0"
1117
+ />
1118
+ </filter>
1119
+ <filter id="storybook-a11y-vision-deuteranopia">
1120
+ <feColorMatrix
1121
+ in="SourceGraphic"
1122
+ type="matrix"
1123
+ values="0.625, 0.375, 0, 0, 0 0.7, 0.3, 0, 0, 0 0, 0.3, 0.7, 0, 0 0, 0, 0, 1, 0"
1124
+ />
1125
+ </filter>
1126
+ <filter id="storybook-a11y-vision-deuteranomaly">
1127
+ <feColorMatrix
1128
+ in="SourceGraphic"
1129
+ type="matrix"
1130
+ values="0.8, 0.2, 0, 0, 0 0.258, 0.742, 0, 0, 0 0, 0.142, 0.858, 0, 0 0, 0, 0, 1, 0"
1131
+ />
1132
+ </filter>
1133
+ <filter id="storybook-a11y-vision-tritanopia">
1134
+ <feColorMatrix
1135
+ in="SourceGraphic"
1136
+ type="matrix"
1137
+ values="0.95, 0.05, 0, 0, 0 0, 0.433, 0.567, 0, 0 0, 0.475, 0.525, 0, 0 0, 0, 0, 1, 0"
1138
+ />
1139
+ </filter>
1140
+ <filter id="storybook-a11y-vision-tritanomaly">
1141
+ <feColorMatrix
1142
+ in="SourceGraphic"
1143
+ type="matrix"
1144
+ values="0.967, 0.033, 0, 0, 0 0, 0.733, 0.267, 0, 0 0, 0.183, 0.817, 0, 0 0, 0, 0, 1, 0"
1145
+ />
1146
+ </filter>
1147
+ <filter id="storybook-a11y-vision-achromatopsia">
1148
+ <feColorMatrix
1149
+ in="SourceGraphic"
1150
+ type="matrix"
1151
+ values="0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0.299, 0.587, 0.114, 0, 0 0, 0, 0, 1, 0"
1152
+ />
1153
+ </filter>
1154
+ </defs>
1155
+ </svg>`,RZ=Object.defineProperty,DZ=(e,t)=>{for(var r in t)RZ(e,r,{get:t[r],enumerable:!0})},PZ={};DZ(PZ,{afterEach:()=>MD,decorators:()=>BD,initialGlobals:()=>jD,parameters:()=>LD});const{expect:aE}=__STORYBOOK_MODULE_TEST__,{ElementA11yParameterError:OZ}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__,{global:IZ}=__STORYBOOK_MODULE_GLOBAL__,{addons:FZ,waitForAnimations:NZ}=__STORYBOOK_MODULE_PREVIEW_API__,{global:kZ}=__STORYBOOK_MODULE_GLOBAL__;var{document:BZ}=kZ,MZ=(e,t)=>{let r=BZ.location.pathname.replace(/iframe\.html$/,""),n={...e};return["incomplete","passes","violations"].forEach(i=>{Array.isArray(e[i])&&(n[i]=e[i].map(o=>({...o,nodes:o.nodes.map((a,s)=>{let l=`${i}.${o.id}.${s+1}`,u=`${r}?path=/story/${t}&addonPanel=${EZ}&a11ySelection=${l}`;return{id:l,...a,linkPath:u}})})))}),n},{document:sE}=IZ,Od=FZ.getChannel(),FD={config:{},options:{}},jZ=["region"],LZ=(e=[])=>{let t={};for(let{id:r,enabled:n}of e)!r||typeof n!="boolean"||(n?delete t[r]:t[r]={enabled:!1});return t},qZ=(e,t)=>{if(!e.runOnly)return e;let r=LZ(t.rules);return Object.keys(r).length===0?e:{...e,rules:{...r,...e.rules}}},Rf=[],Df=!1,ND=async()=>{if(Rf.length===0){Df=!1;return}Df=!0;let e=Rf.shift();e&&await e(),ND()},kD=async(e=FD,t)=>{let r=(await qe(async()=>{const{default:l}=await import("./axe-BqaH7f9C.js").then(u=>u.a);return{default:l}},[],import.meta.url))?.default||globalThis.axe,{config:n={},options:i={}}=e;if(e.element)throw new OZ;let o={include:sE?.body,exclude:[".sb-wrapper","#storybook-docs","#storybook-highlights-root"]};if(e.context){let l=typeof e.context=="object"&&"include"in e.context&&e.context.include!==void 0,u=typeof e.context=="object"&&"exclude"in e.context&&e.context.exclude!==void 0;l?o.include=e.context.include:!l&&!u&&(o.include=e.context),u&&(o.exclude=o.exclude.concat(e.context.exclude))}r.reset();let a={...n,rules:[...jZ.map(l=>({id:l,enabled:!1})),...n?.rules??[]]};r.configure(a);let s=qZ(i,a);return new Promise((l,u)=>{let d=sE?.getElementById("storybook-highlights-root");d&&(d.style.display="none");let f=async()=>{try{let h=await r.run(o,s),m=MZ(h,t);l(m)}catch(h){u(h)}};Rf.push(f),Df||ND(),d&&(d.style.display="")})};Od.on(Pd.MANUAL,async(e,t=FD)=>{try{await NZ();let r=await kD(t,e),n=JSON.parse(JSON.stringify(r));Od.emit(Pd.RESULT,n,e)}catch(r){Od.emit(Pd.ERROR,r)}});function uE(){try{return!1}catch{return!1}}const{useCallback:$Z,useEffect:lE}=__STORYBOOK_MODULE_PREVIEW_API__;var VZ=Object.values(ID).map(e=>e.filter),UZ=new RegExp(`\\b(${VZ.join("|")})\\b`,"g"),JZ=(e,{globals:t})=>{let{vision:r}=t,n=$Z(()=>{let i=document.body.style.filter.replaceAll(UZ,"").trim(),o=ID[r]?.filter;return o&&document.body.classList.contains("sb-show-main")?!i||i==="none"?document.body.style.filter=o:document.body.style.filter=`${i} ${o}`:document.body.style.filter=i||"none",()=>document.body.style.filter=i||"none"},[r]);return lE(()=>{let i=n(),o=new MutationObserver(()=>n());return o.observe(document.body,{attributeFilter:["class"]}),()=>{i(),o.disconnect()}},[n]),lE(()=>(document.body.insertAdjacentHTML("beforeend",xZ),()=>{let i=document.getElementById("storybook-a11y-vision-filters");i?.parentElement?.removeChild(i)}),[]),e()},cE=!1,BD=[JZ],MD=async({id:e,reporting:t,parameters:r,globals:n,viewMode:i})=>{let o=r.a11y,a=n.a11y,s=!n.ghostStories&&o?.disable!==!0&&o?.test!=="off"&&a?.manual!==!0,l=()=>o?.test==="todo"?"warning":"failed";if(s&&i==="story")try{let u=await kD(o,e);if(u){let d=(u?.violations.length??0)>0;if(t.addReport({type:"a11y",version:1,result:u,status:d?l():"passed"}),uE()&&d&&l()==="failed"){if(!cE){let{toHaveNoViolations:f}=await qe(async()=>{const{toHaveNoViolations:h}=await import("./matchers-JIUQ3HVY-N4FjKbka.js");return{toHaveNoViolations:h}},[],import.meta.url);aE.extend({toHaveNoViolations:f}),cE=!0}aE(u).toHaveNoViolations()}}}catch(u){if(t.addReport({type:"a11y",version:1,result:{error:u},status:"failed"}),uE())throw u}},jD={a11y:{manual:!1},vision:void 0},LD={a11y:{test:"todo"}};const HZ=Object.freeze(Object.defineProperty({__proto__:null,afterEach:MD,decorators:BD,initialGlobals:jD,parameters:LD},Symbol.toStringTag,{value:"Module"}));var zZ=Object.create,Py=Object.defineProperty,GZ=Object.getOwnPropertyDescriptor,qD=Object.getOwnPropertyNames,WZ=Object.getPrototypeOf,KZ=Object.prototype.hasOwnProperty,Poe=(e,t)=>function(){try{return t||(0,e[qD(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(r){throw t=0,r}},YZ=(e,t)=>{for(var r in t)Py(e,r,{get:t[r],enumerable:!0})},XZ=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of qD(t))!KZ.call(e,i)&&i!==r&&Py(e,i,{get:()=>t[i],enumerable:!(n=GZ(t,i))||n.enumerable});return e},Ooe=(e,t,r)=>(r=e!=null?zZ(WZ(e)):{},XZ(Py(r,"default",{value:e,enumerable:!0}),e)),QZ={};YZ(QZ,{parameters:()=>$D});var ZZ=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),$D={docs:{renderer:async()=>{let{DocsRenderer:e}=await qe(async()=>{const{DocsRenderer:t}=await import("./DocsRenderer-JROSPFPF-2EuJnos7.js").then(r=>r.D);return{DocsRenderer:t}},__vite__mapDeps([214,12,213,56,55]),import.meta.url);return new e},stories:{filter:e=>(e.tags||[]).filter(t=>ZZ[t]).length===0&&!e.parameters.docs?.disable}}};const eee=Object.freeze(Object.defineProperty({__proto__:null,parameters:$D},Symbol.toStringTag,{value:"Module"})),tee="mcp-app",ree="storybook-mcp:size-changed";if(new URLSearchParams(window.location.search).has(tee)){let i=function(){const a=document.body.scrollHeight;Math.abs(a-r)<=2||(r=a,window.parent.postMessage({type:ree,height:a},"*"))},o=function(){t&&clearTimeout(t),t=setTimeout(i,n)},t=null,r=0;const n=100;document.readyState==="loading"?document.addEventListener("DOMContentLoaded",i):i(),window.addEventListener("load",i),new ResizeObserver(o).observe(document.body),new MutationObserver(o).observe(document.body,{childList:!0,subtree:!0,attributes:!0})}const nee=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));var Id={exports:{}},va={};var dE;function iee(){if(dE)return va;dE=1;var e=DR(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(s,l,u){var d,f={},h=null,m=null;u!==void 0&&(h=""+u),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(m=l.ref);for(d in l)n.call(l,d)&&!o.hasOwnProperty(d)&&(f[d]=l[d]);if(s&&s.defaultProps)for(d in l=s.defaultProps,l)f[d]===void 0&&(f[d]=l[d]);return{$$typeof:t,type:s,key:h,ref:m,props:f,_owner:i.current}}return va.Fragment=r,va.jsx=a,va.jsxs=a,va}var pE;function oee(){return pE||(pE=1,Id.exports=iee()),Id.exports}var Ht=oee();function ys(e){let t="https://mui.com/production-error/?code="+e;for(let r=1;r<arguments.length;r+=1)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}const aee=Object.freeze(Object.defineProperty({__proto__:null,default:ys},Symbol.toStringTag,{value:"Module"})),Pf="$$material";function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ke.apply(null,arguments)}function wn(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function see(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function uee(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var lee=(function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(uee(this));var i=this.tags[this.tags.length-1];if(this.isSpeedy){var o=see(i);try{o.insertRule(n,o.cssRules.length)}catch{}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){var i;return(i=n.parentNode)==null?void 0:i.removeChild(n)}),this.tags=[],this.ctr=0},e})(),fr="-ms-",Sl="-moz-",pt="-webkit-",VD="comm",Oy="rule",Iy="decl",cee="@import",UD="@keyframes",dee="@layer",pee=Math.abs,yc=String.fromCharCode,fee=Object.assign;function hee(e,t){return sr(e,0)^45?(((t<<2^sr(e,0))<<2^sr(e,1))<<2^sr(e,2))<<2^sr(e,3):0}function JD(e){return e.trim()}function mee(e,t){return(e=t.exec(e))?e[0]:e}function ft(e,t,r){return e.replace(t,r)}function Of(e,t){return e.indexOf(t)}function sr(e,t){return e.charCodeAt(t)|0}function gs(e,t,r){return e.slice(t,r)}function dn(e){return e.length}function Fy(e){return e.length}function vu(e,t){return t.push(e),e}function yee(e,t){return e.map(t).join("")}var gc=1,Ko=1,HD=0,xr=0,Zt=0,ua="";function bc(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:gc,column:Ko,length:a,return:""}}function Ea(e,t){return fee(bc("",null,null,"",null,null,0),e,{length:-e.length},t)}function gee(){return Zt}function bee(){return Zt=xr>0?sr(ua,--xr):0,Ko--,Zt===10&&(Ko=1,gc--),Zt}function Nr(){return Zt=xr<HD?sr(ua,xr++):0,Ko++,Zt===10&&(Ko=1,gc++),Zt}function bn(){return sr(ua,xr)}function Bu(){return xr}function Js(e,t){return gs(ua,e,t)}function bs(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function zD(e){return gc=Ko=1,HD=dn(ua=e),xr=0,[]}function GD(e){return ua="",e}function Mu(e){return JD(Js(xr-1,If(e===91?e+2:e===40?e+1:e)))}function vee(e){for(;(Zt=bn())&&Zt<33;)Nr();return bs(e)>2||bs(Zt)>3?"":" "}function Eee(e,t){for(;--t&&Nr()&&!(Zt<48||Zt>102||Zt>57&&Zt<65||Zt>70&&Zt<97););return Js(e,Bu()+(t<6&&bn()==32&&Nr()==32))}function If(e){for(;Nr();)switch(Zt){case e:return xr;case 34:case 39:e!==34&&e!==39&&If(Zt);break;case 40:e===41&&If(e);break;case 92:Nr();break}return xr}function Aee(e,t){for(;Nr()&&e+Zt!==57;)if(e+Zt===84&&bn()===47)break;return"/*"+Js(t,xr-1)+"*"+yc(e===47?e:Nr())}function wee(e){for(;!bs(bn());)Nr();return Js(e,xr)}function See(e){return GD(ju("",null,null,null,[""],e=zD(e),0,[0],e))}function ju(e,t,r,n,i,o,a,s,l){for(var u=0,d=0,f=a,h=0,m=0,b=0,y=1,A=1,E=1,_=0,I="",P=i,x=o,g=n,w=I;A;)switch(b=_,_=Nr()){case 40:if(b!=108&&sr(w,f-1)==58){Of(w+=ft(Mu(_),"&","&\f"),"&\f")!=-1&&(E=-1);break}case 34:case 39:case 91:w+=Mu(_);break;case 9:case 10:case 13:case 32:w+=vee(b);break;case 92:w+=Eee(Bu()-1,7);continue;case 47:switch(bn()){case 42:case 47:vu(_ee(Aee(Nr(),Bu()),t,r),l);break;default:w+="/"}break;case 123*y:s[u++]=dn(w)*E;case 125*y:case 59:case 0:switch(_){case 0:case 125:A=0;case 59+d:E==-1&&(w=ft(w,/\f/g,"")),m>0&&dn(w)-f&&vu(m>32?hE(w+";",n,r,f-1):hE(ft(w," ","")+";",n,r,f-2),l);break;case 59:w+=";";default:if(vu(g=fE(w,t,r,u,d,i,s,I,P=[],x=[],f),o),_===123)if(d===0)ju(w,t,g,g,P,o,f,s,x);else switch(h===99&&sr(w,3)===110?100:h){case 100:case 108:case 109:case 115:ju(e,g,g,n&&vu(fE(e,g,g,0,0,i,s,I,i,P=[],f),x),i,x,f,s,n?P:x);break;default:ju(w,g,g,g,[""],x,0,s,x)}}u=d=m=0,y=E=1,I=w="",f=a;break;case 58:f=1+dn(w),m=b;default:if(y<1){if(_==123)--y;else if(_==125&&y++==0&&bee()==125)continue}switch(w+=yc(_),_*y){case 38:E=d>0?1:(w+="\f",-1);break;case 44:s[u++]=(dn(w)-1)*E,E=1;break;case 64:bn()===45&&(w+=Mu(Nr())),h=bn(),d=f=dn(I=w+=wee(Bu())),_++;break;case 45:b===45&&dn(w)==2&&(y=0)}}return o}function fE(e,t,r,n,i,o,a,s,l,u,d){for(var f=i-1,h=i===0?o:[""],m=Fy(h),b=0,y=0,A=0;b<n;++b)for(var E=0,_=gs(e,f+1,f=pee(y=a[b])),I=e;E<m;++E)(I=JD(y>0?h[E]+" "+_:ft(_,/&\f/g,h[E])))&&(l[A++]=I);return bc(e,t,r,i===0?Oy:s,l,u,d)}function _ee(e,t,r){return bc(e,t,r,VD,yc(gee()),gs(e,2,-2),0)}function hE(e,t,r,n){return bc(e,t,r,Iy,gs(e,0,n),gs(e,n+1,-1),n)}function Io(e,t){for(var r="",n=Fy(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function Cee(e,t,r,n){switch(e.type){case dee:if(e.children.length)break;case cee:case Iy:return e.return=e.return||e.value;case VD:return"";case UD:return e.return=e.value+"{"+Io(e.children,n)+"}";case Oy:e.value=e.props.join(",")}return dn(r=Io(e.children,n))?e.return=e.value+"{"+r+"}":""}function Tee(e){var t=Fy(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function xee(e){return function(t){t.root||(t=t.return)&&e(t)}}function WD(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ree=function(t,r,n){for(var i=0,o=0;i=o,o=bn(),i===38&&o===12&&(r[n]=1),!bs(o);)Nr();return Js(t,xr)},Dee=function(t,r){var n=-1,i=44;do switch(bs(i)){case 0:i===38&&bn()===12&&(r[n]=1),t[n]+=Ree(xr-1,r,n);break;case 2:t[n]+=Mu(i);break;case 4:if(i===44){t[++n]=bn()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=yc(i)}while(i=Nr());return t},Pee=function(t,r){return GD(Dee(zD(t),r))},mE=new WeakMap,Oee=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!mE.get(n))&&!i){mE.set(t,!0);for(var o=[],a=Pee(r,o),s=n.props,l=0,u=0;l<a.length;l++)for(var d=0;d<s.length;d++,u++)t.props[u]=o[l]?a[l].replace(/&\f/g,s[d]):s[d]+" "+a[l]}}},Iee=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function KD(e,t){switch(hee(e,t)){case 5103:return pt+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return pt+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return pt+e+Sl+e+fr+e+e;case 6828:case 4268:return pt+e+fr+e+e;case 6165:return pt+e+fr+"flex-"+e+e;case 5187:return pt+e+ft(e,/(\w+).+(:[^]+)/,pt+"box-$1$2"+fr+"flex-$1$2")+e;case 5443:return pt+e+fr+"flex-item-"+ft(e,/flex-|-self/,"")+e;case 4675:return pt+e+fr+"flex-line-pack"+ft(e,/align-content|flex-|-self/,"")+e;case 5548:return pt+e+fr+ft(e,"shrink","negative")+e;case 5292:return pt+e+fr+ft(e,"basis","preferred-size")+e;case 6060:return pt+"box-"+ft(e,"-grow","")+pt+e+fr+ft(e,"grow","positive")+e;case 4554:return pt+ft(e,/([^-])(transform)/g,"$1"+pt+"$2")+e;case 6187:return ft(ft(ft(e,/(zoom-|grab)/,pt+"$1"),/(image-set)/,pt+"$1"),e,"")+e;case 5495:case 3959:return ft(e,/(image-set\([^]*)/,pt+"$1$`$1");case 4968:return ft(ft(e,/(.+:)(flex-)?(.*)/,pt+"box-pack:$3"+fr+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+pt+e+e;case 4095:case 3583:case 4068:case 2532:return ft(e,/(.+)-inline(.+)/,pt+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(dn(e)-1-t>6)switch(sr(e,t+1)){case 109:if(sr(e,t+4)!==45)break;case 102:return ft(e,/(.+:)(.+)-([^]+)/,"$1"+pt+"$2-$3$1"+Sl+(sr(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Of(e,"stretch")?KD(ft(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(sr(e,t+1)!==115)break;case 6444:switch(sr(e,dn(e)-3-(~Of(e,"!important")&&10))){case 107:return ft(e,":",":"+pt)+e;case 101:return ft(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+pt+(sr(e,14)===45?"inline-":"")+"box$3$1"+pt+"$2$3$1"+fr+"$2box$3")+e}break;case 5936:switch(sr(e,t+11)){case 114:return pt+e+fr+ft(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return pt+e+fr+ft(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return pt+e+fr+ft(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return pt+e+fr+e+e}return e}var Fee=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Iy:t.return=KD(t.value,t.length);break;case UD:return Io([Ea(t,{value:ft(t.value,"@","@"+pt)})],i);case Oy:if(t.length)return yee(t.props,function(o){switch(mee(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Io([Ea(t,{props:[ft(o,/:(read-\w+)/,":"+Sl+"$1")]})],i);case"::placeholder":return Io([Ea(t,{props:[ft(o,/:(plac\w+)/,":"+pt+"input-$1")]}),Ea(t,{props:[ft(o,/:(plac\w+)/,":"+Sl+"$1")]}),Ea(t,{props:[ft(o,/:(plac\w+)/,fr+"input-$1")]})],i)}return""})}},Nee=[Fee],YD=function(t){var r=t.key;if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(y){var A=y.getAttribute("data-emotion");A.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var i=t.stylisPlugins||Nee,o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(y){for(var A=y.getAttribute("data-emotion").split(" "),E=1;E<A.length;E++)o[A[E]]=!0;s.push(y)});var l,u=[Oee,Iee];{var d,f=[Cee,xee(function(y){d.insert(y)})],h=Tee(u.concat(i,f)),m=function(A){return Io(See(A),h)};l=function(A,E,_,I){d=_,m(A?A+"{"+E.styles+"}":E.styles),I&&(b.inserted[E.name]=!0)}}var b={key:r,sheet:new lee({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return b.sheet.hydrate(s),b},Fd={exports:{}},gt={};var yE;function kee(){if(yE)return gt;yE=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,b=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,A=e?Symbol.for("react.fundamental"):60117,E=e?Symbol.for("react.responder"):60118,_=e?Symbol.for("react.scope"):60119;function I(x){if(typeof x=="object"&&x!==null){var g=x.$$typeof;switch(g){case t:switch(x=x.type,x){case l:case u:case n:case o:case i:case f:return x;default:switch(x=x&&x.$$typeof,x){case s:case d:case b:case m:case a:return x;default:return g}}case r:return g}}}function P(x){return I(x)===u}return gt.AsyncMode=l,gt.ConcurrentMode=u,gt.ContextConsumer=s,gt.ContextProvider=a,gt.Element=t,gt.ForwardRef=d,gt.Fragment=n,gt.Lazy=b,gt.Memo=m,gt.Portal=r,gt.Profiler=o,gt.StrictMode=i,gt.Suspense=f,gt.isAsyncMode=function(x){return P(x)||I(x)===l},gt.isConcurrentMode=P,gt.isContextConsumer=function(x){return I(x)===s},gt.isContextProvider=function(x){return I(x)===a},gt.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},gt.isForwardRef=function(x){return I(x)===d},gt.isFragment=function(x){return I(x)===n},gt.isLazy=function(x){return I(x)===b},gt.isMemo=function(x){return I(x)===m},gt.isPortal=function(x){return I(x)===r},gt.isProfiler=function(x){return I(x)===o},gt.isStrictMode=function(x){return I(x)===i},gt.isSuspense=function(x){return I(x)===f},gt.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===u||x===o||x===i||x===f||x===h||typeof x=="object"&&x!==null&&(x.$$typeof===b||x.$$typeof===m||x.$$typeof===a||x.$$typeof===s||x.$$typeof===d||x.$$typeof===A||x.$$typeof===E||x.$$typeof===_||x.$$typeof===y)},gt.typeOf=I,gt}var gE;function Bee(){return gE||(gE=1,Fd.exports=kee()),Fd.exports}var Nd,bE;function Mee(){if(bE)return Nd;bE=1;var e=Bee(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[e.ForwardRef]=n,o[e.Memo]=i;function a(b){return e.isMemo(b)?i:o[b.$$typeof]||t}var s=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;function m(b,y,A){if(typeof y!="string"){if(h){var E=f(y);E&&E!==h&&m(b,E,A)}var _=l(y);u&&(_=_.concat(u(y)));for(var I=a(b),P=a(y),x=0;x<_.length;++x){var g=_[x];if(!r[g]&&!(A&&A[g])&&!(P&&P[g])&&!(I&&I[g])){var w=d(y,g);try{s(b,g,w)}catch{}}}}return b}return Nd=m,Nd}Mee();var jee=!0;function XD(e,t,r){var n="";return r.split(" ").forEach(function(i){e[i]!==void 0?t.push(e[i]+";"):i&&(n+=i+" ")}),n}var Ny=function(t,r,n){var i=t.key+"-"+r.name;(n===!1||jee===!1)&&t.registered[i]===void 0&&(t.registered[i]=r.styles)},ky=function(t,r,n){Ny(t,r,n);var i=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var o=r;do t.insert(r===o?"."+i:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function Lee(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var qee={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$ee=/[A-Z]|^ms/g,Vee=/_EMO_([^_]+?)_([^]*?)_EMO_/g,QD=function(t){return t.charCodeAt(1)===45},vE=function(t){return t!=null&&typeof t!="boolean"},kd=WD(function(e){return QD(e)?e:e.replace($ee,"-$&").toLowerCase()}),EE=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Vee,function(n,i,o){return pn={name:i,styles:o,next:pn},i})}return qee[t]!==1&&!QD(t)&&typeof r=="number"&&r!==0?r+"px":r};function vs(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return pn={name:i.name,styles:i.styles,next:pn},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)pn={name:a.name,styles:a.styles,next:pn},a=a.next;var s=o.styles+";";return s}return Uee(e,t,r)}case"function":{if(e!==void 0){var l=pn,u=r(e);return pn=l,vs(e,t,u)}break}}var d=r;if(t==null)return d;var f=t[d];return f!==void 0?f:d}function Uee(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=vs(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var s=a;t!=null&&t[s]!==void 0?n+=o+"{"+t[s]+"}":vE(s)&&(n+=kd(o)+":"+EE(o,s)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var l=0;l<a.length;l++)vE(a[l])&&(n+=kd(o)+":"+EE(o,a[l])+";");else{var u=vs(e,t,a);switch(o){case"animation":case"animationName":{n+=kd(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var AE=/label:\s*([^\s;{]+)\s*(;|$)/g,pn;function Hs(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";pn=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=vs(r,t,o);else{var a=o;i+=a[0]}for(var s=1;s<e.length;s++)if(i+=vs(r,t,e[s]),n){var l=o;i+=l[s]}AE.lastIndex=0;for(var u="",d;(d=AE.exec(i))!==null;)u+="-"+d[1];var f=Lee(i)+u;return{name:f,styles:i,next:pn}}var Jee=function(t){return t()},ZD=ff.useInsertionEffect?ff.useInsertionEffect:!1,eP=ZD||Jee,wE=ZD||Me.useLayoutEffect,tP=Me.createContext(typeof HTMLElement<"u"?YD({key:"css"}):null),Hee=tP.Provider,By=function(t){return Me.forwardRef(function(r,n){var i=Me.useContext(tP);return t(r,i,n)})},la=Me.createContext({}),My={}.hasOwnProperty,Ff="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",zee=function(t,r){var n={};for(var i in r)My.call(r,i)&&(n[i]=r[i]);return n[Ff]=t,n},Gee=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ny(r,n,i),eP(function(){return ky(r,n,i)}),null},Wee=By(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var i=e[Ff],o=[n],a="";typeof e.className=="string"?a=XD(t.registered,o,e.className):e.className!=null&&(a=e.className+" ");var s=Hs(o,void 0,Me.useContext(la));a+=t.key+"-"+s.name;var l={};for(var u in e)My.call(e,u)&&u!=="css"&&u!==Ff&&(l[u]=e[u]);return l.className=a,r&&(l.ref=r),Me.createElement(Me.Fragment,null,Me.createElement(Gee,{cache:t,serialized:s,isStringTag:typeof i=="string"}),Me.createElement(i,l))}),Kee=Wee,SE=function(t,r){var n=arguments;if(r==null||!My.call(r,"css"))return Me.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=Kee,o[1]=zee(t,r);for(var a=2;a<i;a++)o[a]=n[a];return Me.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(SE||(SE={}));var Yee=By(function(e,t){var r=e.styles,n=Hs([r],void 0,Me.useContext(la)),i=Me.useRef();return wE(function(){var o=t.key+"-global",a=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+n.name+'"]');return t.sheet.tags.length&&(a.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),a.hydrate([l])),i.current=[a,s],function(){a.flush()}},[t]),wE(function(){var o=i.current,a=o[0],s=o[1];if(s){o[1]=!1;return}if(n.next!==void 0&&ky(t,n.next,!0),a.tags.length){var l=a.tags[a.tags.length-1].nextElementSibling;a.before=l,a.flush()}t.insert("",n,a,!1)},[t,n.name]),null});function rP(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Hs(t)}function Xee(){var e=rP.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}var Qee=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Zee=WD(function(e){return Qee.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ete=Zee,tte=function(t){return t!=="theme"},_E=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?ete:tte},CE=function(t,r,n){var i;if(r){var o=r.shouldForwardProp;i=t.__emotion_forwardProp&&o?function(a){return t.__emotion_forwardProp(a)&&o(a)}:o}return typeof i!="function"&&n&&(i=t.__emotion_forwardProp),i},rte=function(t){var r=t.cache,n=t.serialized,i=t.isStringTag;return Ny(r,n,i),eP(function(){return ky(r,n,i)}),null},nte=function e(t,r){var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=CE(t,r,n),l=s||_E(i),u=!l("as");return function(){var d=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var h=d[0];f.push(h[0]);for(var m=d.length,b=1;b<m;b++)f.push(d[b],h[b])}var y=By(function(A,E,_){var I=u&&A.as||i,P="",x=[],g=A;if(A.theme==null){g={};for(var w in A)g[w]=A[w];g.theme=Me.useContext(la)}typeof A.className=="string"?P=XD(E.registered,x,A.className):A.className!=null&&(P=A.className+" ");var C=Hs(f.concat(x),E.registered,g);P+=E.key+"-"+C.name,a!==void 0&&(P+=" "+a);var R=u&&s===void 0?_E(I):l,j={};for(var B in A)u&&B==="as"||R(B)&&(j[B]=A[B]);return j.className=P,_&&(j.ref=_),Me.createElement(Me.Fragment,null,Me.createElement(rte,{cache:E,serialized:C,isStringTag:typeof I=="string"}),Me.createElement(I,j))});return y.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=i,y.__emotion_styles=f,y.__emotion_forwardProp=s,Object.defineProperty(y,"toString",{value:function(){return"."+a}}),y.withComponent=function(A,E){var _=e(A,ke({},r,E,{shouldForwardProp:CE(y,E,!0)}));return _.apply(void 0,f)},y}},ite=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],Nf=nte.bind(null);ite.forEach(function(e){Nf[e]=Nf(e)});function ote(e,t){const r=YD({key:"css",prepend:e});if(t){const n=r.insert;r.insert=(...i)=>(i[1].styles.match(/^@layer\s+[^{]*$/)||(i[1].styles=`@layer mui {${i[1].styles}}`),n(...i))}return r}const Bd=new Map;function nP(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,i=Me.useMemo(()=>{const o=`${t}-${r}`;if(typeof document=="object"&&Bd.has(o))return Bd.get(o);const a=ote(t,r);return Bd.set(o,a),a},[t,r]);return t||r?Ht.jsx(Hee,{value:i,children:n}):n}function ate(e){return e==null||Object.keys(e).length===0}function iP(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?i=>t(ate(i)?r:i):t;return Ht.jsx(Yee,{styles:n})}function ste(e,t){return Nf(e,t)}const ute=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},TE=[];function oP(e){return TE[0]=e,Hs(TE)}const Ioe=Object.freeze(Object.defineProperty({__proto__:null,GlobalStyles:iP,StyledEngineProvider:nP,ThemeContext:la,css:rP,default:ste,internal_processStyles:ute,internal_serializeStyles:oP,keyframes:Xee},Symbol.toStringTag,{value:"Module"}));function Eo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function aP(e){if(Me.isValidElement(e)||!Eo(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=aP(e[r])}),t}function vn(e,t,r={clone:!0}){const n=r.clone?ke({},e):e;return Eo(e)&&Eo(t)&&Object.keys(t).forEach(i=>{Me.isValidElement(t[i])?n[i]=t[i]:Eo(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Eo(e[i])?n[i]=vn(e[i],t[i],r):r.clone?n[i]=Eo(t[i])?aP(t[i]):t[i]:n[i]=t[i]}),n}const lte=["values","unit","step"],cte=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>ke({},r,{[n.key]:n.val}),{})};function dte(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5}=e,i=wn(e,lte),o=cte(t),a=Object.keys(o);function s(h){return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r})`}function l(h){return`@media (max-width:${(typeof t[h]=="number"?t[h]:h)-n/100}${r})`}function u(h,m){const b=a.indexOf(m);return`@media (min-width:${typeof t[h]=="number"?t[h]:h}${r}) and (max-width:${(b!==-1&&typeof t[a[b]]=="number"?t[a[b]]:m)-n/100}${r})`}function d(h){return a.indexOf(h)+1<a.length?u(h,a[a.indexOf(h)+1]):s(h)}function f(h){const m=a.indexOf(h);return m===0?s(a[1]):m===a.length-1?l(a[m]):u(h,a[a.indexOf(h)+1]).replace("@media","@media not all and")}return ke({keys:a,values:o,up:s,down:l,between:u,only:d,not:f,unit:r},i)}const pte={borderRadius:4};function Ja(e,t){return t?vn(e,t,{clone:!1}):e}const jy={xs:0,sm:600,md:900,lg:1200,xl:1536},xE={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${jy[e]}px)`};function zn(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const o=n.breakpoints||xE;return t.reduce((a,s,l)=>(a[o.up(o.keys[l])]=r(t[l]),a),{})}if(typeof t=="object"){const o=n.breakpoints||xE;return Object.keys(t).reduce((a,s)=>{if(Object.keys(o.values||jy).indexOf(s)!==-1){const l=o.up(s);a[l]=r(t[s],s)}else{const l=s;a[l]=t[l]}return a},{})}return r(t)}function sP(e={}){var t;return((t=e.keys)==null?void 0:t.reduce((n,i)=>{const o=e.up(i);return n[o]={},n},{}))||{}}function kf(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function Foe(e,...t){const r=sP(e),n=[r,...t].reduce((i,o)=>vn(i,o),{});return kf(Object.keys(r),n)}function fte(e,t){if(typeof e!="object")return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((i,o)=>{o<e.length&&(r[i]=!0)}):n.forEach(i=>{e[i]!=null&&(r[i]=!0)}),r}function Noe({values:e,breakpoints:t,base:r}){const n=r||fte(e,t),i=Object.keys(n);if(i.length===0)return e;let o;return i.reduce((a,s,l)=>(Array.isArray(e)?(a[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(a[s]=e[s]!=null?e[s]:e[o],o=s):a[s]=e,a),{})}function uP(e){if(typeof e!="string")throw new Error(ys(7));return e.charAt(0).toUpperCase()+e.slice(1)}function vc(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function _l(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=vc(e,r)||n,t&&(i=t(i,n,e)),i}function Wt(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,o=a=>{if(a[t]==null)return null;const s=a[t],l=a.theme,u=vc(l,n)||{};return zn(a,s,f=>{let h=_l(u,i,f);return f===h&&typeof f=="string"&&(h=_l(u,i,`${t}${f==="default"?"":uP(f)}`,f)),r===!1?h:{[r]:h}})};return o.propTypes={},o.filterProps=[t],o}function hte(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const mte={m:"margin",p:"padding"},yte={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},RE={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},gte=hte(e=>{if(e.length>2)if(RE[e])e=RE[e];else return[e];const[t,r]=e.split(""),n=mte[t],i=yte[r]||"";return Array.isArray(i)?i.map(o=>n+o):[n+i]}),Ly=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],qy=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ly,...qy];function zs(e,t,r,n){var i;const o=(i=vc(e,t,!1))!=null?i:r;return typeof o=="number"?a=>typeof a=="string"?a:o*a:Array.isArray(o)?a=>typeof a=="string"?a:o[a]:typeof o=="function"?o:()=>{}}function lP(e){return zs(e,"spacing",8)}function Gs(e,t){if(typeof t=="string"||t==null)return t;const r=Math.abs(t),n=e(r);return t>=0?n:typeof n=="number"?-n:`-${n}`}function bte(e,t){return r=>e.reduce((n,i)=>(n[i]=Gs(t,r),n),{})}function vte(e,t,r,n){if(t.indexOf(r)===-1)return null;const i=gte(r),o=bte(i,n),a=e[r];return zn(e,a,o)}function cP(e,t){const r=lP(e.theme);return Object.keys(e).map(n=>vte(e,t,n,r)).reduce(Ja,{})}function $t(e){return cP(e,Ly)}$t.propTypes={};$t.filterProps=Ly;function Vt(e){return cP(e,qy)}Vt.propTypes={};Vt.filterProps=qy;function Ete(e=8){if(e.mui)return e;const t=lP({spacing:e}),r=(...n)=>(n.length===0?[1]:n).map(o=>{const a=t(o);return typeof a=="number"?`${a}px`:a}).join(" ");return r.mui=!0,r}function Ec(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(o=>{n[o]=i}),n),{}),r=n=>Object.keys(n).reduce((i,o)=>t[o]?Ja(i,t[o](n)):i,{});return r.propTypes={},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function Jr(e){return typeof e!="number"?e:`${e}px solid`}function Yr(e,t){return Wt({prop:e,themeKey:"borders",transform:t})}const Ate=Yr("border",Jr),wte=Yr("borderTop",Jr),Ste=Yr("borderRight",Jr),_te=Yr("borderBottom",Jr),Cte=Yr("borderLeft",Jr),Tte=Yr("borderColor"),xte=Yr("borderTopColor"),Rte=Yr("borderRightColor"),Dte=Yr("borderBottomColor"),Pte=Yr("borderLeftColor"),Ote=Yr("outline",Jr),Ite=Yr("outlineColor"),Ac=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=zs(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:Gs(t,n)});return zn(e,e.borderRadius,r)}return null};Ac.propTypes={};Ac.filterProps=["borderRadius"];Ec(Ate,wte,Ste,_te,Cte,Tte,xte,Rte,Dte,Pte,Ac,Ote,Ite);const wc=e=>{if(e.gap!==void 0&&e.gap!==null){const t=zs(e.theme,"spacing",8),r=n=>({gap:Gs(t,n)});return zn(e,e.gap,r)}return null};wc.propTypes={};wc.filterProps=["gap"];const Sc=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=zs(e.theme,"spacing",8),r=n=>({columnGap:Gs(t,n)});return zn(e,e.columnGap,r)}return null};Sc.propTypes={};Sc.filterProps=["columnGap"];const _c=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=zs(e.theme,"spacing",8),r=n=>({rowGap:Gs(t,n)});return zn(e,e.rowGap,r)}return null};_c.propTypes={};_c.filterProps=["rowGap"];const Fte=Wt({prop:"gridColumn"}),Nte=Wt({prop:"gridRow"}),kte=Wt({prop:"gridAutoFlow"}),Bte=Wt({prop:"gridAutoColumns"}),Mte=Wt({prop:"gridAutoRows"}),jte=Wt({prop:"gridTemplateColumns"}),Lte=Wt({prop:"gridTemplateRows"}),qte=Wt({prop:"gridTemplateAreas"}),$te=Wt({prop:"gridArea"});Ec(wc,Sc,_c,Fte,Nte,kte,Bte,Mte,jte,Lte,qte,$te);function Fo(e,t){return t==="grey"?t:e}const Vte=Wt({prop:"color",themeKey:"palette",transform:Fo}),Ute=Wt({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:Fo}),Jte=Wt({prop:"backgroundColor",themeKey:"palette",transform:Fo});Ec(Vte,Ute,Jte);function Ir(e){return e<=1&&e!==0?`${e*100}%`:e}const Hte=Wt({prop:"width",transform:Ir}),$y=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{var n,i;const o=((n=e.theme)==null||(n=n.breakpoints)==null||(n=n.values)==null?void 0:n[r])||jy[r];return o?((i=e.theme)==null||(i=i.breakpoints)==null?void 0:i.unit)!=="px"?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:Ir(r)}};return zn(e,e.maxWidth,t)}return null};$y.filterProps=["maxWidth"];const zte=Wt({prop:"minWidth",transform:Ir}),Gte=Wt({prop:"height",transform:Ir}),Wte=Wt({prop:"maxHeight",transform:Ir}),Kte=Wt({prop:"minHeight",transform:Ir});Wt({prop:"size",cssProperty:"width",transform:Ir});Wt({prop:"size",cssProperty:"height",transform:Ir});const Yte=Wt({prop:"boxSizing"});Ec(Hte,$y,zte,Gte,Wte,Kte,Yte);const Vy={border:{themeKey:"borders",transform:Jr},borderTop:{themeKey:"borders",transform:Jr},borderRight:{themeKey:"borders",transform:Jr},borderBottom:{themeKey:"borders",transform:Jr},borderLeft:{themeKey:"borders",transform:Jr},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Jr},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Ac},color:{themeKey:"palette",transform:Fo},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:Fo},backgroundColor:{themeKey:"palette",transform:Fo},p:{style:Vt},pt:{style:Vt},pr:{style:Vt},pb:{style:Vt},pl:{style:Vt},px:{style:Vt},py:{style:Vt},padding:{style:Vt},paddingTop:{style:Vt},paddingRight:{style:Vt},paddingBottom:{style:Vt},paddingLeft:{style:Vt},paddingX:{style:Vt},paddingY:{style:Vt},paddingInline:{style:Vt},paddingInlineStart:{style:Vt},paddingInlineEnd:{style:Vt},paddingBlock:{style:Vt},paddingBlockStart:{style:Vt},paddingBlockEnd:{style:Vt},m:{style:$t},mt:{style:$t},mr:{style:$t},mb:{style:$t},ml:{style:$t},mx:{style:$t},my:{style:$t},margin:{style:$t},marginTop:{style:$t},marginRight:{style:$t},marginBottom:{style:$t},marginLeft:{style:$t},marginX:{style:$t},marginY:{style:$t},marginInline:{style:$t},marginInlineStart:{style:$t},marginInlineEnd:{style:$t},marginBlock:{style:$t},marginBlockStart:{style:$t},marginBlockEnd:{style:$t},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:wc},rowGap:{style:_c},columnGap:{style:Sc},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Ir},maxWidth:{style:$y},minWidth:{transform:Ir},height:{transform:Ir},maxHeight:{transform:Ir},minHeight:{transform:Ir},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Xte(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function Qte(e,t){return typeof e=="function"?e(t):e}function Zte(){function e(r,n,i,o){const a={[r]:n,theme:i},s=o[r];if(!s)return{[r]:n};const{cssProperty:l=r,themeKey:u,transform:d,style:f}=s;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const h=vc(i,u)||{};return f?f(a):zn(a,n,b=>{let y=_l(h,d,b);return b===y&&typeof b=="string"&&(y=_l(h,d,`${r}${b==="default"?"":uP(b)}`,b)),l===!1?y:{[l]:y}})}function t(r){var n;const{sx:i,theme:o={},nested:a}=r||{};if(!i)return null;const s=(n=o.unstable_sxConfig)!=null?n:Vy;function l(u){let d=u;if(typeof u=="function")d=u(o);else if(typeof u!="object")return u;if(!d)return null;const f=sP(o.breakpoints),h=Object.keys(f);let m=f;return Object.keys(d).forEach(b=>{const y=Qte(d[b],o);if(y!=null)if(typeof y=="object")if(s[b])m=Ja(m,e(b,y,o,s));else{const A=zn({theme:o},y,E=>({[b]:E}));Xte(A,y)?m[b]=t({sx:y,theme:o,nested:!0}):m=Ja(m,A)}else m=Ja(m,e(b,y,o,s))}),!a&&o.modularCssLayers?{"@layer sx":kf(h,m)}:kf(h,m)}return Array.isArray(i)?i.map(l):l(i)}return t}const Uy=Zte();Uy.filterProps=["sx"];function ere(e,t){const r=this;return r.vars&&typeof r.getColorSchemeSelector=="function"?{[r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)")]:t}:r.palette.mode===e?t:{}}const tre=["breakpoints","palette","spacing","shape"];function dP(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:o={}}=e,a=wn(e,tre),s=dte(r),l=Ete(i);let u=vn({breakpoints:s,direction:"ltr",components:{},palette:ke({mode:"light"},n),spacing:l,shape:ke({},pte,o)},a);return u.applyStyles=ere,u=t.reduce((d,f)=>vn(d,f),u),u.unstable_sxConfig=ke({},Vy,a?.unstable_sxConfig),u.unstable_sx=function(f){return Uy({sx:f,theme:this})},u}function rre(e){return Object.keys(e).length===0}function Jy(e=null){const t=Me.useContext(la);return!t||rre(t)?e:t}const nre=dP();function ire(e=nre){return Jy(e)}function Md(e){const t=oP(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function pP({styles:e,themeId:t,defaultTheme:r={}}){const n=ire(r),i=t&&n[t]||n;let o=typeof e=="function"?e(i):e;return i.modularCssLayers&&(Array.isArray(o)?o=o.map(a=>Md(typeof a=="function"?a(i):a)):o=Md(o)),Ht.jsx(iP,{styles:o})}function Bf(e,t){const r=ke({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=ke({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const i=e[n]||{},o=t[n];r[n]={},!o||!Object.keys(o)?r[n]=i:!i||!Object.keys(i)?r[n]=o:(r[n]=ke({},o),Object.keys(i).forEach(a=>{r[n][a]=Bf(i[a],o[a])}))}else r[n]===void 0&&(r[n]=e[n])}),r}const ore=typeof window<"u"?Me.useLayoutEffect:Me.useEffect;function are(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}const sre=Object.freeze(Object.defineProperty({__proto__:null,default:are},Symbol.toStringTag,{value:"Module"}));let DE=0;function ure(e){const[t,r]=Me.useState(e),n=e||t;return Me.useEffect(()=>{t==null&&(DE+=1,r(`mui-${DE}`))},[t]),n}const PE=ff.useId;function lre(e){if(PE!==void 0){const t=PE();return e??t}return ure(e)}const fP=Me.createContext(null);function hP(){return Me.useContext(fP)}const cre=typeof Symbol=="function"&&Symbol.for,mP=cre?Symbol.for("mui.nested"):"__THEME_NESTED__";function dre(e,t){return typeof t=="function"?t(e):ke({},e,t)}function pre(e){const{children:t,theme:r}=e,n=hP(),i=Me.useMemo(()=>{const o=n===null?r:dre(n,r);return o!=null&&(o[mP]=n!==null),o},[r,n]);return Ht.jsx(fP.Provider,{value:i,children:t})}const fre=["value"],yP=Me.createContext();function hre(e){let{value:t}=e,r=wn(e,fre);return Ht.jsx(yP.Provider,ke({value:t??!0},r))}const koe=()=>{const e=Me.useContext(yP);return e??!1},gP=Me.createContext(void 0);function mre({value:e,children:t}){return Ht.jsx(gP.Provider,{value:e,children:t})}function yre(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const i=t.components[r];return i.defaultProps?Bf(i.defaultProps,n):!i.styleOverrides&&!i.variants?Bf(i,n):n}function gre({props:e,name:t}){const r=Me.useContext(gP);return yre({props:e,name:t,theme:{components:r}})}function bre(e){const t=Jy(),r=lre()||"",{modularCssLayers:n}=e;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!n||t!==null?i="":typeof n=="string"?i=n.replace(/mui(?!\.)/g,i):i=`@layer ${i};`,ore(()=>{const o=document.querySelector("head");if(!o)return;const a=o.firstChild;if(i){var s;if(a&&(s=a.hasAttribute)!=null&&s.call(a,"data-mui-layer-order")&&a.getAttribute("data-mui-layer-order")===r)return;const u=document.createElement("style");u.setAttribute("data-mui-layer-order",r),u.textContent=i,o.prepend(u)}else{var l;(l=o.querySelector(`style[data-mui-layer-order="${r}"]`))==null||l.remove()}},[i,r]),i?Ht.jsx(pP,{styles:i}):null}const OE={};function IE(e,t,r,n=!1){return Me.useMemo(()=>{const i=e&&t[e]||t;if(typeof r=="function"){const o=r(i),a=e?ke({},t,{[e]:o}):o;return n?()=>a:a}return e?ke({},t,{[e]:r}):ke({},t,r)},[e,t,r,n])}function vre(e){const{children:t,theme:r,themeId:n}=e,i=Jy(OE),o=hP()||OE,a=IE(n,i,r),s=IE(n,o,r,!0),l=a.direction==="rtl",u=bre(a);return Ht.jsx(pre,{theme:s,children:Ht.jsx(la.Provider,{value:a,children:Ht.jsx(hre,{value:l,children:Ht.jsxs(mre,{value:a?.components,children:[u,t]})})})})}function Es(e){"@babel/helpers - typeof";return Es=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Es(e)}function Ere(e,t){if(Es(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(Es(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function Are(e){var t=Ere(e,"string");return Es(t)=="symbol"?t:t+""}function wre(e,t){return ke({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Lt={},jd={exports:{}},FE;function Sre(){return FE||(FE=1,(function(e){function t(r){return r&&r.__esModule?r:{default:r}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(jd)),jd.exports}const _re=RR(aee),Cre=RR(sre);var NE;function Tre(){if(NE)return Lt;NE=1;var e=Sre();Object.defineProperty(Lt,"__esModule",{value:!0}),Lt.alpha=b,Lt.blend=g,Lt.colorChannel=void 0,Lt.darken=A,Lt.decomposeColor=a,Lt.emphasize=P,Lt.getContrastRatio=m,Lt.getLuminance=h,Lt.hexToRgb=i,Lt.hslToRgb=f,Lt.lighten=_,Lt.private_safeAlpha=y,Lt.private_safeColorChannel=void 0,Lt.private_safeDarken=E,Lt.private_safeEmphasize=x,Lt.private_safeLighten=I,Lt.recomposeColor=u,Lt.rgbToHex=d;var t=e(_re),r=e(Cre);function n(w,C=0,R=1){return(0,r.default)(w,C,R)}function i(w){w=w.slice(1);const C=new RegExp(`.{1,${w.length>=6?2:1}}`,"g");let R=w.match(C);return R&&R[0].length===1&&(R=R.map(j=>j+j)),R?`rgb${R.length===4?"a":""}(${R.map((j,B)=>B<3?parseInt(j,16):Math.round(parseInt(j,16)/255*1e3)/1e3).join(", ")})`:""}function o(w){const C=w.toString(16);return C.length===1?`0${C}`:C}function a(w){if(w.type)return w;if(w.charAt(0)==="#")return a(i(w));const C=w.indexOf("("),R=w.substring(0,C);if(["rgb","rgba","hsl","hsla","color"].indexOf(R)===-1)throw new Error((0,t.default)(9,w));let j=w.substring(C+1,w.length-1),B;if(R==="color"){if(j=j.split(" "),B=j.shift(),j.length===4&&j[3].charAt(0)==="/"&&(j[3]=j[3].slice(1)),["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(B)===-1)throw new Error((0,t.default)(10,B))}else j=j.split(",");return j=j.map(U=>parseFloat(U)),{type:R,values:j,colorSpace:B}}const s=w=>{const C=a(w);return C.values.slice(0,3).map((R,j)=>C.type.indexOf("hsl")!==-1&&j!==0?`${R}%`:R).join(" ")};Lt.colorChannel=s;const l=(w,C)=>{try{return s(w)}catch{return w}};Lt.private_safeColorChannel=l;function u(w){const{type:C,colorSpace:R}=w;let{values:j}=w;return C.indexOf("rgb")!==-1?j=j.map((B,U)=>U<3?parseInt(B,10):B):C.indexOf("hsl")!==-1&&(j[1]=`${j[1]}%`,j[2]=`${j[2]}%`),C.indexOf("color")!==-1?j=`${R} ${j.join(" ")}`:j=`${j.join(", ")}`,`${C}(${j})`}function d(w){if(w.indexOf("#")===0)return w;const{values:C}=a(w);return`#${C.map((R,j)=>o(j===3?Math.round(255*R):R)).join("")}`}function f(w){w=a(w);const{values:C}=w,R=C[0],j=C[1]/100,B=C[2]/100,U=j*Math.min(B,1-B),$=(W,Y=(W+R/30)%12)=>B-U*Math.max(Math.min(Y-3,9-Y,1),-1);let k="rgb";const V=[Math.round($(0)*255),Math.round($(8)*255),Math.round($(4)*255)];return w.type==="hsla"&&(k+="a",V.push(C[3])),u({type:k,values:V})}function h(w){w=a(w);let C=w.type==="hsl"||w.type==="hsla"?a(f(w)).values:w.values;return C=C.map(R=>(w.type!=="color"&&(R/=255),R<=.03928?R/12.92:((R+.055)/1.055)**2.4)),Number((.2126*C[0]+.7152*C[1]+.0722*C[2]).toFixed(3))}function m(w,C){const R=h(w),j=h(C);return(Math.max(R,j)+.05)/(Math.min(R,j)+.05)}function b(w,C){return w=a(w),C=n(C),(w.type==="rgb"||w.type==="hsl")&&(w.type+="a"),w.type==="color"?w.values[3]=`/${C}`:w.values[3]=C,u(w)}function y(w,C,R){try{return b(w,C)}catch{return w}}function A(w,C){if(w=a(w),C=n(C),w.type.indexOf("hsl")!==-1)w.values[2]*=1-C;else if(w.type.indexOf("rgb")!==-1||w.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)w.values[R]*=1-C;return u(w)}function E(w,C,R){try{return A(w,C)}catch{return w}}function _(w,C){if(w=a(w),C=n(C),w.type.indexOf("hsl")!==-1)w.values[2]+=(100-w.values[2])*C;else if(w.type.indexOf("rgb")!==-1)for(let R=0;R<3;R+=1)w.values[R]+=(255-w.values[R])*C;else if(w.type.indexOf("color")!==-1)for(let R=0;R<3;R+=1)w.values[R]+=(1-w.values[R])*C;return u(w)}function I(w,C,R){try{return _(w,C)}catch{return w}}function P(w,C=.15){return h(w)>.5?A(w,C):_(w,C)}function x(w,C,R){try{return P(w,C)}catch{return w}}function g(w,C,R,j=1){const B=(V,W)=>Math.round((V**(1/j)*(1-R)+W**(1/j)*R)**j),U=a(w),$=a(C),k=[B(U.values[0],$.values[0]),B(U.values[1],$.values[1]),B(U.values[2],$.values[2])];return u({type:"rgb",values:k})}return Lt}var Mf=Tre();const As={black:"#000",white:"#fff"},xre={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},fo={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},ho={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Aa={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},mo={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},yo={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},go={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},Rre=["mode","contrastThreshold","tonalOffset"],kE={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:As.white,default:As.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},Ld={text:{primary:As.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:As.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function BE(e,t,r,n){const i=n.light||n,o=n.dark||n*1.5;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:t==="light"?e.light=Mf.lighten(e.main,i):t==="dark"&&(e.dark=Mf.darken(e.main,o)))}function Dre(e="light"){return e==="dark"?{main:mo[200],light:mo[50],dark:mo[400]}:{main:mo[700],light:mo[400],dark:mo[800]}}function Pre(e="light"){return e==="dark"?{main:fo[200],light:fo[50],dark:fo[400]}:{main:fo[500],light:fo[300],dark:fo[700]}}function Ore(e="light"){return e==="dark"?{main:ho[500],light:ho[300],dark:ho[700]}:{main:ho[700],light:ho[400],dark:ho[800]}}function Ire(e="light"){return e==="dark"?{main:yo[400],light:yo[300],dark:yo[700]}:{main:yo[700],light:yo[500],dark:yo[900]}}function Fre(e="light"){return e==="dark"?{main:go[400],light:go[300],dark:go[700]}:{main:go[800],light:go[500],dark:go[900]}}function Nre(e="light"){return e==="dark"?{main:Aa[400],light:Aa[300],dark:Aa[700]}:{main:"#ed6c02",light:Aa[500],dark:Aa[900]}}function kre(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,i=wn(e,Rre),o=e.primary||Dre(t),a=e.secondary||Pre(t),s=e.error||Ore(t),l=e.info||Ire(t),u=e.success||Fre(t),d=e.warning||Nre(t);function f(y){return Mf.getContrastRatio(y,Ld.text.primary)>=r?Ld.text.primary:kE.text.primary}const h=({color:y,name:A,mainShade:E=500,lightShade:_=300,darkShade:I=700})=>{if(y=ke({},y),!y.main&&y[E]&&(y.main=y[E]),!y.hasOwnProperty("main"))throw new Error(ys(11,A?` (${A})`:"",E));if(typeof y.main!="string")throw new Error(ys(12,A?` (${A})`:"",JSON.stringify(y.main)));return BE(y,"light",_,n),BE(y,"dark",I,n),y.contrastText||(y.contrastText=f(y.main)),y},m={dark:Ld,light:kE};return vn(ke({common:ke({},As),mode:t,primary:h({color:o,name:"primary"}),secondary:h({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:h({color:s,name:"error"}),warning:h({color:d,name:"warning"}),info:h({color:l,name:"info"}),success:h({color:u,name:"success"}),grey:xre,contrastThreshold:r,getContrastText:f,augmentColor:h,tonalOffset:n},m[t]),i)}const Bre=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"];function Mre(e){return Math.round(e*1e5)/1e5}const ME={textTransform:"uppercase"},jE='"Roboto", "Helvetica", "Arial", sans-serif';function jre(e,t){const r=typeof t=="function"?t(e):t,{fontFamily:n=jE,fontSize:i=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:u=16,allVariants:d,pxToRem:f}=r,h=wn(r,Bre),m=i/14,b=f||(E=>`${E/u*m}rem`),y=(E,_,I,P,x)=>ke({fontFamily:n,fontWeight:E,fontSize:b(_),lineHeight:I},n===jE?{letterSpacing:`${Mre(P/_)}em`}:{},x,d),A={h1:y(o,96,1.167,-1.5),h2:y(o,60,1.2,-.5),h3:y(a,48,1.167,0),h4:y(a,34,1.235,.25),h5:y(a,24,1.334,0),h6:y(s,20,1.6,.15),subtitle1:y(a,16,1.75,.15),subtitle2:y(s,14,1.57,.1),body1:y(a,16,1.5,.15),body2:y(a,14,1.43,.15),button:y(s,14,1.75,.4,ME),caption:y(a,12,1.66,.4),overline:y(a,12,2.66,1,ME),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return vn(ke({htmlFontSize:u,pxToRem:b,fontFamily:n,fontSize:i,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},A),h,{clone:!1})}const Lre=.2,qre=.14,$re=.12;function kt(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Lre})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${qre})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${$re})`].join(",")}const Vre=["none",kt(0,2,1,-1,0,1,1,0,0,1,3,0),kt(0,3,1,-2,0,2,2,0,0,1,5,0),kt(0,3,3,-2,0,3,4,0,0,1,8,0),kt(0,2,4,-1,0,4,5,0,0,1,10,0),kt(0,3,5,-1,0,5,8,0,0,1,14,0),kt(0,3,5,-1,0,6,10,0,0,1,18,0),kt(0,4,5,-2,0,7,10,1,0,2,16,1),kt(0,5,5,-3,0,8,10,1,0,3,14,2),kt(0,5,6,-3,0,9,12,1,0,3,16,2),kt(0,6,6,-3,0,10,14,1,0,4,18,3),kt(0,6,7,-4,0,11,15,1,0,4,20,3),kt(0,7,8,-4,0,12,17,2,0,5,22,4),kt(0,7,8,-4,0,13,19,2,0,5,24,4),kt(0,7,9,-4,0,14,21,2,0,5,26,4),kt(0,8,9,-5,0,15,22,2,0,6,28,5),kt(0,8,10,-5,0,16,24,2,0,6,30,5),kt(0,8,11,-5,0,17,26,2,0,6,32,5),kt(0,9,11,-5,0,18,28,2,0,7,34,6),kt(0,9,12,-6,0,19,29,2,0,7,36,6),kt(0,10,13,-6,0,20,31,3,0,8,38,7),kt(0,10,13,-6,0,21,33,3,0,8,40,7),kt(0,10,14,-6,0,22,35,3,0,8,42,7),kt(0,11,14,-7,0,23,36,3,0,9,44,8),kt(0,11,15,-7,0,24,38,3,0,9,46,8)],Ure=["duration","easing","delay"],Jre={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Hre={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function LE(e){return`${Math.round(e)}ms`}function zre(e){if(!e)return 0;const t=e/36;return Math.round((4+15*t**.25+t/5)*10)}function Gre(e){const t=ke({},Jre,e.easing),r=ke({},Hre,e.duration);return ke({getAutoHeightDuration:zre,create:(i=["all"],o={})=>{const{duration:a=r.standard,easing:s=t.easeInOut,delay:l=0}=o;return wn(o,Ure),(Array.isArray(i)?i:[i]).map(u=>`${u} ${typeof a=="string"?a:LE(a)} ${s} ${typeof l=="string"?l:LE(l)}`).join(",")}},e,{easing:t,duration:r})}const Wre={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Kre=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];function bP(e={},...t){const{mixins:r={},palette:n={},transitions:i={},typography:o={}}=e,a=wn(e,Kre);if(e.vars&&e.generateCssVars===void 0)throw new Error(ys(18));const s=kre(n),l=dP(e);let u=vn(l,{mixins:wre(l.breakpoints,r),palette:s,shadows:Vre.slice(),typography:jre(s,o),transitions:Gre(i),zIndex:ke({},Wre)});return u=vn(u,a),u=t.reduce((d,f)=>vn(d,f),u),u.unstable_sxConfig=ke({},Vy,a?.unstable_sxConfig),u.unstable_sx=function(f){return Uy({sx:f,theme:this})},u}const Yre=bP(),Xre=["theme"];function Qre(e){let{theme:t}=e,r=wn(e,Xre);const n=t[Pf];let i=n||t;return typeof t!="function"&&(n&&!n.vars?i=ke({},n,{vars:null}):t&&!t.vars&&(i=ke({},t,{vars:null}))),Ht.jsx(vre,ke({},r,{themeId:n?Pf:void 0,theme:i}))}var qE=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ws=(typeof window>"u"?"undefined":qE(window))==="object"&&(typeof document>"u"?"undefined":qE(document))==="object"&&document.nodeType===9;function Zre(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Are(n.key),n)}}function vP(e,t,r){return t&&Zre(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}function jf(e,t){return jf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},jf(e,t)}function EP(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,jf(e,t)}function $E(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ene={}.constructor;function Lf(e){if(e==null||typeof e!="object")return e;if(Array.isArray(e))return e.map(Lf);if(e.constructor!==ene)return e;var t={};for(var r in e)t[r]=Lf(e[r]);return t}function Hy(e,t,r){e===void 0&&(e="unnamed");var n=r.jss,i=Lf(t),o=n.plugins.onCreateRule(e,i,r);return o||(e[0],null)}var VE=function(t,r){for(var n="",i=0;i<t.length&&t[i]!=="!important";i++)n&&(n+=r),n+=t[i];return n},Gi=function(t){if(!Array.isArray(t))return t;var r="";if(Array.isArray(t[0]))for(var n=0;n<t.length&&t[n]!=="!important";n++)r&&(r+=", "),r+=VE(t[n]," ");else r=VE(t,", ");return t[t.length-1]==="!important"&&(r+=" !important"),r};function ca(e){return e&&e.format===!1?{linebreak:"",space:""}:{linebreak:`
1156
+ `,space:" "}}function wa(e,t){for(var r="",n=0;n<t;n++)r+=" ";return r+e}function ws(e,t,r){r===void 0&&(r={});var n="";if(!t)return n;var i=r,o=i.indent,a=o===void 0?0:o,s=t.fallbacks;r.format===!1&&(a=-1/0);var l=ca(r),u=l.linebreak,d=l.space;if(e&&a++,s)if(Array.isArray(s))for(var f=0;f<s.length;f++){var h=s[f];for(var m in h){var b=h[m];b!=null&&(n&&(n+=u),n+=wa(m+":"+d+Gi(b)+";",a))}}else for(var y in s){var A=s[y];A!=null&&(n&&(n+=u),n+=wa(y+":"+d+Gi(A)+";",a))}for(var E in t){var _=t[E];_!=null&&E!=="fallbacks"&&(n&&(n+=u),n+=wa(E+":"+d+Gi(_)+";",a))}return!n&&!r.allowEmpty||!e?n:(a--,n&&(n=""+u+n+u),wa(""+e+d+"{"+n,a)+wa("}",a))}var tne=/([[\].#*$><+~=|^:(),"'`\s])/g,UE=typeof CSS<"u"&&CSS.escape,zy=(function(e){return UE?UE(e):e.replace(tne,"\\$1")}),AP=(function(){function e(r,n,i){this.type="style",this.isProcessed=!1;var o=i.sheet,a=i.Renderer;this.key=r,this.options=i,this.style=n,o?this.renderer=o.renderer:a&&(this.renderer=new a)}var t=e.prototype;return t.prop=function(n,i,o){if(i===void 0)return this.style[n];var a=o?o.force:!1;if(!a&&this.style[n]===i)return this;var s=i;(!o||o.process!==!1)&&(s=this.options.jss.plugins.onChangeValue(i,n,this));var l=s==null||s===!1,u=n in this.style;if(l&&!u&&!a)return this;var d=l&&u;if(d?delete this.style[n]:this.style[n]=s,this.renderable&&this.renderer)return d?this.renderer.removeProperty(this.renderable,n):this.renderer.setProperty(this.renderable,n,s),this;var f=this.options.sheet;return f&&f.attached,this},e})(),qf=(function(e){EP(t,e);function t(n,i,o){var a;a=e.call(this,n,i,o)||this;var s=o.selector,l=o.scoped,u=o.sheet,d=o.generateId;return s?a.selectorText=s:l!==!1&&(a.id=d($E($E(a)),u),a.selectorText="."+zy(a.id)),a}var r=t.prototype;return r.applyTo=function(i){var o=this.renderer;if(o){var a=this.toJSON();for(var s in a)o.setProperty(i,s,a[s])}return this},r.toJSON=function(){var i={};for(var o in this.style){var a=this.style[o];typeof a!="object"?i[o]=a:Array.isArray(a)&&(i[o]=Gi(a))}return i},r.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?ke({},i,{allowEmpty:!0}):i;return ws(this.selectorText,this.style,s)},vP(t,[{key:"selector",set:function(i){if(i!==this.selectorText){this.selectorText=i;var o=this.renderer,a=this.renderable;if(!(!a||!o)){var s=o.setSelector(a,i);s||o.replaceRule(a,this)}}},get:function(){return this.selectorText}}]),t})(AP),rne={onCreateRule:function(t,r,n){return t[0]==="@"||n.parent&&n.parent.type==="keyframes"?null:new qf(t,r,n)}},qd={indent:1,children:!0},nne=/@([\w-]+)/,ine=(function(){function e(r,n,i){this.type="conditional",this.isProcessed=!1,this.key=r;var o=r.match(nne);this.at=o?o[1]:"unknown",this.query=i.name||"@"+this.at,this.options=i,this.rules=new Cc(ke({},i,{parent:this}));for(var a in n)this.rules.add(a,n[a]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.indexOf=function(n){return this.rules.indexOf(n)},t.addRule=function(n,i,o){var a=this.rules.add(n,i,o);return a?(this.options.jss.plugins.onProcessRule(a),a):null},t.replaceRule=function(n,i,o){var a=this.rules.replace(n,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},t.toString=function(n){n===void 0&&(n=qd);var i=ca(n),o=i.linebreak;if(n.indent==null&&(n.indent=qd.indent),n.children==null&&(n.children=qd.children),n.children===!1)return this.query+" {}";var a=this.rules.toString(n);return a?this.query+" {"+o+a+o+"}":""},e})(),one=/@container|@media|@supports\s+/,ane={onCreateRule:function(t,r,n){return one.test(t)?new ine(t,r,n):null}},$d={indent:1,children:!0},sne=/@keyframes\s+([\w-]+)/,$f=(function(){function e(r,n,i){this.type="keyframes",this.at="@keyframes",this.isProcessed=!1;var o=r.match(sne);o&&o[1]?this.name=o[1]:this.name="noname",this.key=this.type+"-"+this.name,this.options=i;var a=i.scoped,s=i.sheet,l=i.generateId;this.id=a===!1?this.name:zy(l(this,s)),this.rules=new Cc(ke({},i,{parent:this}));for(var u in n)this.rules.add(u,n[u],ke({},i,{parent:this}));this.rules.process()}var t=e.prototype;return t.toString=function(n){n===void 0&&(n=$d);var i=ca(n),o=i.linebreak;if(n.indent==null&&(n.indent=$d.indent),n.children==null&&(n.children=$d.children),n.children===!1)return this.at+" "+this.id+" {}";var a=this.rules.toString(n);return a&&(a=""+o+a+o),this.at+" "+this.id+" {"+a+"}"},e})(),une=/@keyframes\s+/,lne=/\$([\w-]+)/g,Vf=function(t,r){return typeof t=="string"?t.replace(lne,function(n,i){return i in r?r[i]:n}):t},JE=function(t,r,n){var i=t[r],o=Vf(i,n);o!==i&&(t[r]=o)},cne={onCreateRule:function(t,r,n){return typeof t=="string"&&une.test(t)?new $f(t,r,n):null},onProcessStyle:function(t,r,n){return r.type!=="style"||!n||("animation-name"in t&&JE(t,"animation-name",n.keyframes),"animation"in t&&JE(t,"animation",n.keyframes)),t},onChangeValue:function(t,r,n){var i=n.options.sheet;if(!i)return t;switch(r){case"animation":return Vf(t,i.keyframes);case"animation-name":return Vf(t,i.keyframes);default:return t}}},dne=(function(e){EP(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.toString=function(i){var o=this.options.sheet,a=o?o.options.link:!1,s=a?ke({},i,{allowEmpty:!0}):i;return ws(this.key,this.style,s)},t})(AP),pne={onCreateRule:function(t,r,n){return n.parent&&n.parent.type==="keyframes"?new dne(t,r,n):null}},fne=(function(){function e(r,n,i){this.type="font-face",this.at="@font-face",this.isProcessed=!1,this.key=r,this.style=n,this.options=i}var t=e.prototype;return t.toString=function(n){var i=ca(n),o=i.linebreak;if(Array.isArray(this.style)){for(var a="",s=0;s<this.style.length;s++)a+=ws(this.at,this.style[s]),this.style[s+1]&&(a+=o);return a}return ws(this.at,this.style,n)},e})(),hne=/@font-face/,mne={onCreateRule:function(t,r,n){return hne.test(t)?new fne(t,r,n):null}},yne=(function(){function e(r,n,i){this.type="viewport",this.at="@viewport",this.isProcessed=!1,this.key=r,this.style=n,this.options=i}var t=e.prototype;return t.toString=function(n){return ws(this.key,this.style,n)},e})(),gne={onCreateRule:function(t,r,n){return t==="@viewport"||t==="@-ms-viewport"?new yne(t,r,n):null}},bne=(function(){function e(r,n,i){this.type="simple",this.isProcessed=!1,this.key=r,this.value=n,this.options=i}var t=e.prototype;return t.toString=function(n){if(Array.isArray(this.value)){for(var i="",o=0;o<this.value.length;o++)i+=this.key+" "+this.value[o]+";",this.value[o+1]&&(i+=`
1157
+ `);return i}return this.key+" "+this.value+";"},e})(),vne={"@charset":!0,"@import":!0,"@namespace":!0},Ene={onCreateRule:function(t,r,n){return t in vne?new bne(t,r,n):null}},HE=[rne,ane,cne,pne,mne,gne,Ene],Ane={process:!0},zE={force:!0,process:!0},Cc=(function(){function e(r){this.map={},this.raw={},this.index=[],this.counter=0,this.options=r,this.classes=r.classes,this.keyframes=r.keyframes}var t=e.prototype;return t.add=function(n,i,o){var a=this.options,s=a.parent,l=a.sheet,u=a.jss,d=a.Renderer,f=a.generateId,h=a.scoped,m=ke({classes:this.classes,parent:s,sheet:l,jss:u,Renderer:d,generateId:f,scoped:h,name:n,keyframes:this.keyframes,selector:void 0},o),b=n;n in this.raw&&(b=n+"-d"+this.counter++),this.raw[b]=i,b in this.classes&&(m.selector="."+zy(this.classes[b]));var y=Hy(b,i,m);if(!y)return null;this.register(y);var A=m.index===void 0?this.index.length:m.index;return this.index.splice(A,0,y),y},t.replace=function(n,i,o){var a=this.get(n),s=this.index.indexOf(a);a&&this.remove(a);var l=o;return s!==-1&&(l=ke({},o,{index:s})),this.add(n,i,l)},t.get=function(n){return this.map[n]},t.remove=function(n){this.unregister(n),delete this.raw[n.key],this.index.splice(this.index.indexOf(n),1)},t.indexOf=function(n){return this.index.indexOf(n)},t.process=function(){var n=this.options.jss.plugins;this.index.slice(0).forEach(n.onProcessRule,n)},t.register=function(n){this.map[n.key]=n,n instanceof qf?(this.map[n.selector]=n,n.id&&(this.classes[n.key]=n.id)):n instanceof $f&&this.keyframes&&(this.keyframes[n.name]=n.id)},t.unregister=function(n){delete this.map[n.key],n instanceof qf?(delete this.map[n.selector],delete this.classes[n.key]):n instanceof $f&&delete this.keyframes[n.name]},t.update=function(){var n,i,o;if(typeof(arguments.length<=0?void 0:arguments[0])=="string"?(n=arguments.length<=0?void 0:arguments[0],i=arguments.length<=1?void 0:arguments[1],o=arguments.length<=2?void 0:arguments[2]):(i=arguments.length<=0?void 0:arguments[0],o=arguments.length<=1?void 0:arguments[1],n=null),n)this.updateOne(this.get(n),i,o);else for(var a=0;a<this.index.length;a++)this.updateOne(this.index[a],i,o)},t.updateOne=function(n,i,o){o===void 0&&(o=Ane);var a=this.options,s=a.jss.plugins,l=a.sheet;if(n.rules instanceof e){n.rules.update(i,o);return}var u=n.style;if(s.onUpdate(i,n,l,o),o.process&&u&&u!==n.style){s.onProcessStyle(n.style,n,l);for(var d in n.style){var f=n.style[d],h=u[d];f!==h&&n.prop(d,f,zE)}for(var m in u){var b=n.style[m],y=u[m];b==null&&b!==y&&n.prop(m,null,zE)}}},t.toString=function(n){for(var i="",o=this.options.sheet,a=o?o.options.link:!1,s=ca(n),l=s.linebreak,u=0;u<this.index.length;u++){var d=this.index[u],f=d.toString(n);!f&&!a||(i&&(i+=l),i+=f)}return i},e})(),wP=(function(){function e(r,n){this.attached=!1,this.deployed=!1,this.classes={},this.keyframes={},this.options=ke({},n,{sheet:this,parent:this,classes:this.classes,keyframes:this.keyframes}),n.Renderer&&(this.renderer=new n.Renderer(this)),this.rules=new Cc(this.options);for(var i in r)this.rules.add(i,r[i]);this.rules.process()}var t=e.prototype;return t.attach=function(){return this.attached?this:(this.renderer&&this.renderer.attach(),this.attached=!0,this.deployed||this.deploy(),this)},t.detach=function(){return this.attached?(this.renderer&&this.renderer.detach(),this.attached=!1,this):this},t.addRule=function(n,i,o){var a=this.queue;this.attached&&!a&&(this.queue=[]);var s=this.rules.add(n,i,o);return s?(this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&(a?a.push(s):(this.insertRule(s),this.queue&&(this.queue.forEach(this.insertRule,this),this.queue=void 0))),s):(this.deployed=!1,s)):null},t.replaceRule=function(n,i,o){var a=this.rules.get(n);if(!a)return this.addRule(n,i,o);var s=this.rules.replace(n,i,o);return s&&this.options.jss.plugins.onProcessRule(s),this.attached?(this.deployed&&this.renderer&&(s?a.renderable&&this.renderer.replaceRule(a.renderable,s):this.renderer.deleteRule(a)),s):(this.deployed=!1,s)},t.insertRule=function(n){this.renderer&&this.renderer.insertRule(n)},t.addRules=function(n,i){var o=[];for(var a in n){var s=this.addRule(a,n[a],i);s&&o.push(s)}return o},t.getRule=function(n){return this.rules.get(n)},t.deleteRule=function(n){var i=typeof n=="object"?n:this.rules.get(n);return!i||this.attached&&!i.renderable?!1:(this.rules.remove(i),this.attached&&i.renderable&&this.renderer?this.renderer.deleteRule(i.renderable):!0)},t.indexOf=function(n){return this.rules.indexOf(n)},t.deploy=function(){return this.renderer&&this.renderer.deploy(),this.deployed=!0,this},t.update=function(){var n;return(n=this.rules).update.apply(n,arguments),this},t.updateOne=function(n,i,o){return this.rules.updateOne(n,i,o),this},t.toString=function(n){return this.rules.toString(n)},e})(),wne=(function(){function e(){this.plugins={internal:[],external:[]},this.registry={}}var t=e.prototype;return t.onCreateRule=function(n,i,o){for(var a=0;a<this.registry.onCreateRule.length;a++){var s=this.registry.onCreateRule[a](n,i,o);if(s)return s}return null},t.onProcessRule=function(n){if(!n.isProcessed){for(var i=n.options.sheet,o=0;o<this.registry.onProcessRule.length;o++)this.registry.onProcessRule[o](n,i);n.style&&this.onProcessStyle(n.style,n,i),n.isProcessed=!0}},t.onProcessStyle=function(n,i,o){for(var a=0;a<this.registry.onProcessStyle.length;a++)i.style=this.registry.onProcessStyle[a](i.style,i,o)},t.onProcessSheet=function(n){for(var i=0;i<this.registry.onProcessSheet.length;i++)this.registry.onProcessSheet[i](n)},t.onUpdate=function(n,i,o,a){for(var s=0;s<this.registry.onUpdate.length;s++)this.registry.onUpdate[s](n,i,o,a)},t.onChangeValue=function(n,i,o){for(var a=n,s=0;s<this.registry.onChangeValue.length;s++)a=this.registry.onChangeValue[s](a,i,o);return a},t.use=function(n,i){i===void 0&&(i={queue:"external"});var o=this.plugins[i.queue];o.indexOf(n)===-1&&(o.push(n),this.registry=[].concat(this.plugins.external,this.plugins.internal).reduce(function(a,s){for(var l in s)l in a&&a[l].push(s[l]);return a},{onCreateRule:[],onProcessRule:[],onProcessStyle:[],onProcessSheet:[],onChangeValue:[],onUpdate:[]}))},e})(),Sne=(function(){function e(){this.registry=[]}var t=e.prototype;return t.add=function(n){var i=this.registry,o=n.options.index;if(i.indexOf(n)===-1){if(i.length===0||o>=this.index){i.push(n);return}for(var a=0;a<i.length;a++)if(i[a].options.index>o){i.splice(a,0,n);return}}},t.reset=function(){this.registry=[]},t.remove=function(n){var i=this.registry.indexOf(n);this.registry.splice(i,1)},t.toString=function(n){for(var i=n===void 0?{}:n,o=i.attached,a=wn(i,["attached"]),s=ca(a),l=s.linebreak,u="",d=0;d<this.registry.length;d++){var f=this.registry[d];o!=null&&f.attached!==o||(u&&(u+=l),u+=f.toString(a))}return u},vP(e,[{key:"index",get:function(){return this.registry.length===0?0:this.registry[this.registry.length-1].options.index}}]),e})(),Ha=new Sne,Uf=typeof globalThis<"u"?globalThis:typeof window<"u"&&window.Math===Math?window:typeof self<"u"&&self.Math===Math?self:Function("return this")(),Jf="2f1acc6c3a606b082e5eef5e54414ffb";Uf[Jf]==null&&(Uf[Jf]=0);var GE=Uf[Jf]++,WE=function(t){t===void 0&&(t={});var r=0,n=function(o,a){r+=1;var s="",l="";return a&&(a.options.classNamePrefix&&(l=a.options.classNamePrefix),a.options.jss.id!=null&&(s=String(a.options.jss.id))),t.minify?""+(l||"c")+GE+s+r:l+o.key+"-"+GE+(s?"-"+s:"")+"-"+r};return n},SP=function(t){var r;return function(){return r||(r=t()),r}},_ne=function(t,r){try{return t.attributeStyleMap?t.attributeStyleMap.get(r):t.style.getPropertyValue(r)}catch{return""}},Cne=function(t,r,n){try{var i=n;if(Array.isArray(n)&&(i=Gi(n)),t.attributeStyleMap)t.attributeStyleMap.set(r,i);else{var o=i?i.indexOf("!important"):-1,a=o>-1?i.substr(0,o-1):i;t.style.setProperty(r,a,o>-1?"important":"")}}catch{return!1}return!0},Tne=function(t,r){try{t.attributeStyleMap?t.attributeStyleMap.delete(r):t.style.removeProperty(r)}catch{}},xne=function(t,r){return t.selectorText=r,t.selectorText===r},_P=SP(function(){return document.querySelector("head")});function Rne(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(n.attached&&n.options.index>t.index&&n.options.insertionPoint===t.insertionPoint)return n}return null}function Dne(e,t){for(var r=e.length-1;r>=0;r--){var n=e[r];if(n.attached&&n.options.insertionPoint===t.insertionPoint)return n}return null}function Pne(e){for(var t=_P(),r=0;r<t.childNodes.length;r++){var n=t.childNodes[r];if(n.nodeType===8&&n.nodeValue.trim()===e)return n}return null}function One(e){var t=Ha.registry;if(t.length>0){var r=Rne(t,e);if(r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element};if(r=Dne(t,e),r&&r.renderer)return{parent:r.renderer.element.parentNode,node:r.renderer.element.nextSibling}}var n=e.insertionPoint;if(n&&typeof n=="string"){var i=Pne(n);if(i)return{parent:i.parentNode,node:i.nextSibling}}return!1}function Ine(e,t){var r=t.insertionPoint,n=One(t);if(n!==!1&&n.parent){n.parent.insertBefore(e,n.node);return}if(r&&typeof r.nodeType=="number"){var i=r,o=i.parentNode;o&&o.insertBefore(e,i.nextSibling);return}_P().appendChild(e)}var Fne=SP(function(){var e=document.querySelector('meta[property="csp-nonce"]');return e?e.getAttribute("content"):null}),KE=function(t,r,n){try{"insertRule"in t?t.insertRule(r,n):"appendRule"in t&&t.appendRule(r)}catch{return!1}return t.cssRules[n]},YE=function(t,r){var n=t.cssRules.length;return r===void 0||r>n?n:r},Nne=function(){var t=document.createElement("style");return t.textContent=`
1158
+ `,t},kne=(function(){function e(r){this.getPropertyValue=_ne,this.setProperty=Cne,this.removeProperty=Tne,this.setSelector=xne,this.hasInsertedRules=!1,this.cssRules=[],r&&Ha.add(r),this.sheet=r;var n=this.sheet?this.sheet.options:{},i=n.media,o=n.meta,a=n.element;this.element=a||Nne(),this.element.setAttribute("data-jss",""),i&&this.element.setAttribute("media",i),o&&this.element.setAttribute("data-meta",o);var s=Fne();s&&this.element.setAttribute("nonce",s)}var t=e.prototype;return t.attach=function(){if(!(this.element.parentNode||!this.sheet)){Ine(this.element,this.sheet.options);var n=!!(this.sheet&&this.sheet.deployed);this.hasInsertedRules&&n&&(this.hasInsertedRules=!1,this.deploy())}},t.detach=function(){if(this.sheet){var n=this.element.parentNode;n&&n.removeChild(this.element),this.sheet.options.link&&(this.cssRules=[],this.element.textContent=`
1159
+ `)}},t.deploy=function(){var n=this.sheet;if(n){if(n.options.link){this.insertRules(n.rules);return}this.element.textContent=`
1160
+ `+n.toString()+`
1161
+ `}},t.insertRules=function(n,i){for(var o=0;o<n.index.length;o++)this.insertRule(n.index[o],o,i)},t.insertRule=function(n,i,o){if(o===void 0&&(o=this.element.sheet),n.rules){var a=n,s=o;if(n.type==="conditional"||n.type==="keyframes"){var l=YE(o,i);if(s=KE(o,a.toString({children:!1}),l),s===!1)return!1;this.refCssRule(n,l,s)}return this.insertRules(a.rules,s),s}var u=n.toString();if(!u)return!1;var d=YE(o,i),f=KE(o,u,d);return f===!1?!1:(this.hasInsertedRules=!0,this.refCssRule(n,d,f),f)},t.refCssRule=function(n,i,o){n.renderable=o,n.options.parent instanceof wP&&this.cssRules.splice(i,0,o)},t.deleteRule=function(n){var i=this.element.sheet,o=this.indexOf(n);return o===-1?!1:(i.deleteRule(o),this.cssRules.splice(o,1),!0)},t.indexOf=function(n){return this.cssRules.indexOf(n)},t.replaceRule=function(n,i){var o=this.indexOf(n);return o===-1?!1:(this.element.sheet.deleteRule(o),this.cssRules.splice(o,1),this.insertRule(i,o))},t.getRules=function(){return this.element.sheet.cssRules},e})(),Bne=0,Mne=(function(){function e(r){this.id=Bne++,this.version="10.10.0",this.plugins=new wne,this.options={id:{minify:!1},createGenerateId:WE,Renderer:Ws?kne:null,plugins:[]},this.generateId=WE({minify:!1});for(var n=0;n<HE.length;n++)this.plugins.use(HE[n],{queue:"internal"});this.setup(r)}var t=e.prototype;return t.setup=function(n){return n===void 0&&(n={}),n.createGenerateId&&(this.options.createGenerateId=n.createGenerateId),n.id&&(this.options.id=ke({},this.options.id,n.id)),(n.createGenerateId||n.id)&&(this.generateId=this.options.createGenerateId(this.options.id)),n.insertionPoint!=null&&(this.options.insertionPoint=n.insertionPoint),"Renderer"in n&&(this.options.Renderer=n.Renderer),n.plugins&&this.use.apply(this,n.plugins),this},t.createStyleSheet=function(n,i){i===void 0&&(i={});var o=i,a=o.index;typeof a!="number"&&(a=Ha.index===0?0:Ha.index+1);var s=new wP(n,ke({},i,{jss:this,generateId:i.generateId||this.generateId,insertionPoint:this.options.insertionPoint,Renderer:this.options.Renderer,index:a}));return this.plugins.onProcessSheet(s),s},t.removeStyleSheet=function(n){return n.detach(),Ha.remove(n),this},t.createRule=function(n,i,o){if(i===void 0&&(i={}),o===void 0&&(o={}),typeof n=="object")return this.createRule(void 0,n,i);var a=ke({},o,{name:n,jss:this,Renderer:this.options.Renderer});a.generateId||(a.generateId=this.generateId),a.classes||(a.classes={}),a.keyframes||(a.keyframes={});var s=Hy(n,i,a);return s&&this.plugins.onProcessRule(s),s},t.use=function(){for(var n=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];return o.forEach(function(s){n.plugins.use(s)}),this},e})(),Tc=function(t){return new Mne(t)},Gy=typeof CSS=="object"&&CSS!=null&&"number"in CSS;function jne(e){var t=null;for(var r in e){var n=e[r],i=typeof n;if(i==="function")t||(t={}),t[r]=n;else if(i==="object"&&n!==null&&!Array.isArray(n)){var o=jne(n);o&&(t||(t={}),t[r]=o)}}return t}Tc();const Lne=["checked","disabled","error","focused","focusVisible","required","expanded","selected"];function qne(e={}){const{disableGlobal:t=!1,productionPrefix:r="jss",seed:n=""}=e,i=n===""?"":`${n}-`;let o=0;const a=()=>(o+=1,o);return(s,l)=>{const u=l.options.name;if(u&&u.indexOf("Mui")===0&&!l.options.link&&!t){if(Lne.indexOf(s.key)!==-1)return`Mui-${s.key}`;const d=`${i}${u}-${s.key}`;return!l.options.theme[mP]||n!==""?d:`${d}-${a()}`}return`${i}${r}${a()}`}}var CP=Date.now(),Vd="fnValues"+CP,Ud="fnStyle"+ ++CP,$ne=function(){return{onCreateRule:function(r,n,i){if(typeof n!="function")return null;var o=Hy(r,{},i);return o[Ud]=n,o},onProcessStyle:function(r,n){if(Vd in n||Ud in n)return r;var i={};for(var o in r){var a=r[o];typeof a=="function"&&(delete r[o],i[o]=a)}return n[Vd]=i,r},onUpdate:function(r,n,i,o){var a=n,s=a[Ud];s&&(a.style=s(r)||{});var l=a[Vd];if(l)for(var u in l)a.prop(u,l[u](r),o)}}},vi="@global",Hf="@global ",Vne=(function(){function e(r,n,i){this.type="global",this.at=vi,this.isProcessed=!1,this.key=r,this.options=i,this.rules=new Cc(ke({},i,{parent:this}));for(var o in n)this.rules.add(o,n[o]);this.rules.process()}var t=e.prototype;return t.getRule=function(n){return this.rules.get(n)},t.addRule=function(n,i,o){var a=this.rules.add(n,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},t.replaceRule=function(n,i,o){var a=this.rules.replace(n,i,o);return a&&this.options.jss.plugins.onProcessRule(a),a},t.indexOf=function(n){return this.rules.indexOf(n)},t.toString=function(n){return this.rules.toString(n)},e})(),Une=(function(){function e(r,n,i){this.type="global",this.at=vi,this.isProcessed=!1,this.key=r,this.options=i;var o=r.substr(Hf.length);this.rule=i.jss.createRule(o,n,ke({},i,{parent:this}))}var t=e.prototype;return t.toString=function(n){return this.rule?this.rule.toString(n):""},e})(),Jne=/\s*,\s*/g;function TP(e,t){for(var r=e.split(Jne),n="",i=0;i<r.length;i++)n+=t+" "+r[i].trim(),r[i+1]&&(n+=", ");return n}function Hne(e,t){var r=e.options,n=e.style,i=n?n[vi]:null;if(i){for(var o in i)t.addRule(o,i[o],ke({},r,{selector:TP(o,e.selector)}));delete n[vi]}}function zne(e,t){var r=e.options,n=e.style;for(var i in n)if(!(i[0]!=="@"||i.substr(0,vi.length)!==vi)){var o=TP(i.substr(vi.length),e.selector);t.addRule(o,n[i],ke({},r,{selector:o})),delete n[i]}}function Gne(){function e(r,n,i){if(!r)return null;if(r===vi)return new Vne(r,n,i);if(r[0]==="@"&&r.substr(0,Hf.length)===Hf)return new Une(r,n,i);var o=i.parent;return o&&(o.type==="global"||o.options.parent&&o.options.parent.type==="global")&&(i.scoped=!1),!i.selector&&i.scoped===!1&&(i.selector=r),null}function t(r,n){r.type!=="style"||!n||(Hne(r,n),zne(r,n))}return{onCreateRule:e,onProcessRule:t}}var XE=/\s*,\s*/g,Wne=/&/g,Kne=/\$([\w-]+)/g;function Yne(){function e(i,o){return function(a,s){var l=i.getRule(s)||o&&o.getRule(s);return l?l.selector:s}}function t(i,o){for(var a=o.split(XE),s=i.split(XE),l="",u=0;u<a.length;u++)for(var d=a[u],f=0;f<s.length;f++){var h=s[f];l&&(l+=", "),l+=h.indexOf("&")!==-1?h.replace(Wne,d):d+" "+h}return l}function r(i,o,a){if(a)return ke({},a,{index:a.index+1});var s=i.options.nestingLevel;s=s===void 0?1:s+1;var l=ke({},i.options,{nestingLevel:s,index:o.indexOf(i)+1});return delete l.name,l}function n(i,o,a){if(o.type!=="style")return i;var s=o,l=s.options.parent,u,d;for(var f in i){var h=f.indexOf("&")!==-1,m=f[0]==="@";if(!(!h&&!m)){if(u=r(s,l,u),h){var b=t(f,s.selector);d||(d=e(l,a)),b=b.replace(Kne,d);var y=s.key+"-"+f;"replaceRule"in l?l.replaceRule(y,i[f],ke({},u,{selector:b})):l.addRule(y,i[f],ke({},u,{selector:b}))}else m&&l.addRule(f,{},u).addRule(s.key,i[f],{selector:s.selector});delete i[f]}}return i}return{onProcessStyle:n}}var Xne=/[A-Z]/g,Qne=/^ms-/,Jd={};function Zne(e){return"-"+e.toLowerCase()}function xP(e){if(Jd.hasOwnProperty(e))return Jd[e];var t=e.replace(Xne,Zne);return Jd[e]=Qne.test(t)?"-"+t:t}function Cl(e){var t={};for(var r in e){var n=r.indexOf("--")===0?r:xP(r);t[n]=e[r]}return e.fallbacks&&(Array.isArray(e.fallbacks)?t.fallbacks=e.fallbacks.map(Cl):t.fallbacks=Cl(e.fallbacks)),t}function eie(){function e(r){if(Array.isArray(r)){for(var n=0;n<r.length;n++)r[n]=Cl(r[n]);return r}return Cl(r)}function t(r,n,i){if(n.indexOf("--")===0)return r;var o=xP(n);return n===o?r:(i.prop(o,r),null)}return{onProcessStyle:e,onChangeValue:t}}var ce=Gy&&CSS?CSS.px:"px",Eu=Gy&&CSS?CSS.ms:"ms",bo=Gy&&CSS?CSS.percent:"%",tie={"animation-delay":Eu,"animation-duration":Eu,"background-position":ce,"background-position-x":ce,"background-position-y":ce,"background-size":ce,border:ce,"border-bottom":ce,"border-bottom-left-radius":ce,"border-bottom-right-radius":ce,"border-bottom-width":ce,"border-left":ce,"border-left-width":ce,"border-radius":ce,"border-right":ce,"border-right-width":ce,"border-top":ce,"border-top-left-radius":ce,"border-top-right-radius":ce,"border-top-width":ce,"border-width":ce,"border-block":ce,"border-block-end":ce,"border-block-end-width":ce,"border-block-start":ce,"border-block-start-width":ce,"border-block-width":ce,"border-inline":ce,"border-inline-end":ce,"border-inline-end-width":ce,"border-inline-start":ce,"border-inline-start-width":ce,"border-inline-width":ce,"border-start-start-radius":ce,"border-start-end-radius":ce,"border-end-start-radius":ce,"border-end-end-radius":ce,margin:ce,"margin-bottom":ce,"margin-left":ce,"margin-right":ce,"margin-top":ce,"margin-block":ce,"margin-block-end":ce,"margin-block-start":ce,"margin-inline":ce,"margin-inline-end":ce,"margin-inline-start":ce,padding:ce,"padding-bottom":ce,"padding-left":ce,"padding-right":ce,"padding-top":ce,"padding-block":ce,"padding-block-end":ce,"padding-block-start":ce,"padding-inline":ce,"padding-inline-end":ce,"padding-inline-start":ce,"mask-position-x":ce,"mask-position-y":ce,"mask-size":ce,height:ce,width:ce,"min-height":ce,"max-height":ce,"min-width":ce,"max-width":ce,bottom:ce,left:ce,top:ce,right:ce,inset:ce,"inset-block":ce,"inset-block-end":ce,"inset-block-start":ce,"inset-inline":ce,"inset-inline-end":ce,"inset-inline-start":ce,"box-shadow":ce,"text-shadow":ce,"column-gap":ce,"column-rule":ce,"column-rule-width":ce,"column-width":ce,"font-size":ce,"font-size-delta":ce,"letter-spacing":ce,"text-decoration-thickness":ce,"text-indent":ce,"text-stroke":ce,"text-stroke-width":ce,"word-spacing":ce,motion:ce,"motion-offset":ce,outline:ce,"outline-offset":ce,"outline-width":ce,perspective:ce,"perspective-origin-x":bo,"perspective-origin-y":bo,"transform-origin":bo,"transform-origin-x":bo,"transform-origin-y":bo,"transform-origin-z":bo,"transition-delay":Eu,"transition-duration":Eu,"vertical-align":ce,"flex-basis":ce,"shape-margin":ce,size:ce,gap:ce,grid:ce,"grid-gap":ce,"row-gap":ce,"grid-row-gap":ce,"grid-column-gap":ce,"grid-template-rows":ce,"grid-template-columns":ce,"grid-auto-rows":ce,"grid-auto-columns":ce,"box-shadow-x":ce,"box-shadow-y":ce,"box-shadow-blur":ce,"box-shadow-spread":ce,"font-line-height":ce,"text-shadow-x":ce,"text-shadow-y":ce,"text-shadow-blur":ce};function RP(e){var t=/(-[a-z])/g,r=function(a){return a[1].toUpperCase()},n={};for(var i in e)n[i]=e[i],n[i.replace(t,r)]=e[i];return n}var rie=RP(tie);function za(e,t,r){if(t==null)return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)t[n]=za(e,t[n],r);else if(typeof t=="object")if(e==="fallbacks")for(var i in t)t[i]=za(i,t[i],r);else for(var o in t)t[o]=za(e+"-"+o,t[o],r);else if(typeof t=="number"&&isNaN(t)===!1){var a=r[e]||rie[e];return a&&!(t===0&&a===ce)?typeof a=="function"?a(t).toString():""+t+a:t.toString()}return t}function nie(e){e===void 0&&(e={});var t=RP(e);function r(i,o){if(o.type!=="style")return i;for(var a in i)i[a]=za(a,i[a],t);return i}function n(i,o){return za(o,i,t)}return{onProcessStyle:r,onChangeValue:n}}function zf(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function iie(e){if(Array.isArray(e))return zf(e)}function oie(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function aie(e,t){if(e){if(typeof e=="string")return zf(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zf(e,t):void 0}}function sie(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1162
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uie(e){return iie(e)||oie(e)||aie(e)||sie()}var Pa="",Gf="",DP="",PP="",lie=Ws&&"ontouchstart"in document.documentElement;if(Ws){var Hd={Moz:"-moz-",ms:"-ms-",O:"-o-",Webkit:"-webkit-"},cie=document.createElement("p"),zd=cie.style,die="Transform";for(var Gd in Hd)if(Gd+die in zd){Pa=Gd,Gf=Hd[Gd];break}Pa==="Webkit"&&"msHyphens"in zd&&(Pa="ms",Gf=Hd.ms,PP="edge"),Pa==="Webkit"&&"-apple-trailing-word"in zd&&(DP="apple")}var Ye={js:Pa,css:Gf,vendor:DP,browser:PP,isTouch:lie};function pie(e){return e[1]==="-"||Ye.js==="ms"?e:"@"+Ye.css+"keyframes"+e.substr(10)}var fie={noPrefill:["appearance"],supportedProperty:function(t){return t!=="appearance"?!1:Ye.js==="ms"?"-webkit-"+t:Ye.css+t}},hie={noPrefill:["color-adjust"],supportedProperty:function(t){return t!=="color-adjust"?!1:Ye.js==="Webkit"?Ye.css+"print-"+t:t}},mie=/[-\s]+(.)?/g;function yie(e,t){return t?t.toUpperCase():""}function Wy(e){return e.replace(mie,yie)}function _i(e){return Wy("-"+e)}var gie={noPrefill:["mask"],supportedProperty:function(t,r){if(!/^mask/.test(t))return!1;if(Ye.js==="Webkit"){var n="mask-image";if(Wy(n)in r)return t;if(Ye.js+_i(n)in r)return Ye.css+t}return t}},bie={noPrefill:["text-orientation"],supportedProperty:function(t){return t!=="text-orientation"?!1:Ye.vendor==="apple"&&!Ye.isTouch?Ye.css+t:t}},vie={noPrefill:["transform"],supportedProperty:function(t,r,n){return t!=="transform"?!1:n.transform?t:Ye.css+t}},Eie={noPrefill:["transition"],supportedProperty:function(t,r,n){return t!=="transition"?!1:n.transition?t:Ye.css+t}},Aie={noPrefill:["writing-mode"],supportedProperty:function(t){return t!=="writing-mode"?!1:Ye.js==="Webkit"||Ye.js==="ms"&&Ye.browser!=="edge"?Ye.css+t:t}},wie={noPrefill:["user-select"],supportedProperty:function(t){return t!=="user-select"?!1:Ye.js==="Moz"||Ye.js==="ms"||Ye.vendor==="apple"?Ye.css+t:t}},Sie={supportedProperty:function(t,r){if(!/^break-/.test(t))return!1;if(Ye.js==="Webkit"){var n="WebkitColumn"+_i(t);return n in r?Ye.css+"column-"+t:!1}if(Ye.js==="Moz"){var i="page"+_i(t);return i in r?"page-"+t:!1}return!1}},_ie={supportedProperty:function(t,r){if(!/^(border|margin|padding)-inline/.test(t))return!1;if(Ye.js==="Moz")return t;var n=t.replace("-inline","");return Ye.js+_i(n)in r?Ye.css+n:!1}},Cie={supportedProperty:function(t,r){return Wy(t)in r?t:!1}},Tie={supportedProperty:function(t,r){var n=_i(t);return t[0]==="-"||t[0]==="-"&&t[1]==="-"?t:Ye.js+n in r?Ye.css+t:Ye.js!=="Webkit"&&"Webkit"+n in r?"-webkit-"+t:!1}},xie={supportedProperty:function(t){return t.substring(0,11)!=="scroll-snap"?!1:Ye.js==="ms"?""+Ye.css+t:t}},Rie={supportedProperty:function(t){return t!=="overscroll-behavior"?!1:Ye.js==="ms"?Ye.css+"scroll-chaining":t}},Die={"flex-grow":"flex-positive","flex-shrink":"flex-negative","flex-basis":"flex-preferred-size","justify-content":"flex-pack",order:"flex-order","align-items":"flex-align","align-content":"flex-line-pack"},Pie={supportedProperty:function(t,r){var n=Die[t];return n&&Ye.js+_i(n)in r?Ye.css+n:!1}},OP={flex:"box-flex","flex-grow":"box-flex","flex-direction":["box-orient","box-direction"],order:"box-ordinal-group","align-items":"box-align","flex-flow":["box-orient","box-direction"],"justify-content":"box-pack"},Oie=Object.keys(OP),Iie=function(t){return Ye.css+t},Fie={supportedProperty:function(t,r,n){var i=n.multiple;if(Oie.indexOf(t)>-1){var o=OP[t];if(!Array.isArray(o))return Ye.js+_i(o)in r?Ye.css+o:!1;if(!i)return!1;for(var a=0;a<o.length;a++)if(!(Ye.js+_i(o[0])in r))return!1;return o.map(Iie)}return!1}},IP=[fie,hie,gie,bie,vie,Eie,Aie,wie,Sie,_ie,Cie,Tie,xie,Rie,Pie,Fie],QE=IP.filter(function(e){return e.supportedProperty}).map(function(e){return e.supportedProperty}),Nie=IP.filter(function(e){return e.noPrefill}).reduce(function(e,t){return e.push.apply(e,uie(t.noPrefill)),e},[]),Oa,qi={};if(Ws){Oa=document.createElement("p");var Wd=window.getComputedStyle(document.documentElement,"");for(var Kd in Wd)isNaN(Kd)||(qi[Wd[Kd]]=Wd[Kd]);Nie.forEach(function(e){return delete qi[e]})}function Wf(e,t){if(t===void 0&&(t={}),!Oa)return e;if(qi[e]!=null)return qi[e];(e==="transition"||e==="transform")&&(t[e]=e in Oa.style);for(var r=0;r<QE.length&&(qi[e]=QE[r](e,Oa.style,t),!qi[e]);r++);try{Oa.style[e]=""}catch{return!1}return qi[e]}var vo={},kie={transition:1,"transition-property":1,"-webkit-transition":1,"-webkit-transition-property":1},Bie=/(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g,ai;function Mie(e,t,r){if(t==="var")return"var";if(t==="all")return"all";if(r==="all")return", all";var n=t?Wf(t):", "+Wf(r);return n||t||r}Ws&&(ai=document.createElement("p"));function ZE(e,t){var r=t;if(!ai||e==="content")return t;if(typeof r!="string"||!isNaN(parseInt(r,10)))return r;var n=e+r;if(vo[n]!=null)return vo[n];try{ai.style[e]=r}catch{return vo[n]=!1,!1}if(kie[e])r=r.replace(Bie,Mie);else if(ai.style[e]===""&&(r=Ye.css+r,r==="-ms-flex"&&(ai.style[e]="-ms-flexbox"),ai.style[e]=r,ai.style[e]===""))return vo[n]=!1,!1;return ai.style[e]="",vo[n]=r,vo[n]}function jie(){function e(i){if(i.type==="keyframes"){var o=i;o.at=pie(o.at)}}function t(i){for(var o in i){var a=i[o];if(o==="fallbacks"&&Array.isArray(a)){i[o]=a.map(t);continue}var s=!1,l=Wf(o);l&&l!==o&&(s=!0);var u=!1,d=ZE(l,Gi(a));d&&d!==a&&(u=!0),(s||u)&&(s&&delete i[o],i[l||o]=d||a)}return i}function r(i,o){return o.type!=="style"?i:t(i)}function n(i,o){return ZE(o,Gi(i))||i}return{onProcessRule:e,onProcessStyle:r,onChangeValue:n}}function Lie(){var e=function(r,n){return r.length===n.length?r>n?1:-1:r.length-n.length};return{onProcessStyle:function(r,n){if(n.type!=="style")return r;for(var i={},o=Object.keys(r).sort(e),a=0;a<o.length;a++)i[o[a]]=r[o[a]];return i}}}function Ky(){return{plugins:[$ne(),Gne(),Yne(),eie(),nie(),typeof window>"u"?null:jie(),Lie()]}}const qie=["children","injectFirst","disableGeneration"],$ie=Tc(Ky()),Vie=qne(),Uie=new Map,Jie={disableGeneration:!1,generateClassName:Vie,jss:$ie,sheetsCache:null,sheetsManager:Uie,sheetsRegistry:null},eA=Me.createContext(Jie);let Au;function Hie(e){const{children:t,injectFirst:r=!1,disableGeneration:n=!1}=e,i=wn(e,qie),o=Me.useContext(eA),{generateClassName:a,jss:s,serverGenerateClassName:l,sheetsCache:u,sheetsManager:d,sheetsRegistry:f}=ke({},o,i),h=Me.useMemo(()=>{const m={disableGeneration:n,generateClassName:a,jss:s,serverGenerateClassName:l,sheetsCache:u,sheetsManager:d,sheetsRegistry:f};if(!m.jss.options.insertionPoint&&r&&typeof window<"u"){if(!Au){const b=document.head;Au=document.createComment("mui-inject-first"),b.insertBefore(Au,b.firstChild)}m.jss=Tc({plugins:Ky().plugins,insertionPoint:Au})}return m},[r,n,a,s,l,u,d,f]);return Ht.jsx(eA.Provider,{value:h,children:t})}function zie(e){return gre(e)}function Gie(e){return Ht.jsx(pP,ke({},e,{defaultTheme:Yre,themeId:Pf}))}const Wie=(e,t)=>ke({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%"},t&&!e.vars&&{colorScheme:e.palette.mode}),Kie=e=>ke({color:(e.vars||e).palette.text.primary},e.typography.body1,{backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),Yie=(e,t=!1)=>{var r;const n={};t&&e.colorSchemes&&Object.entries(e.colorSchemes).forEach(([a,s])=>{var l;n[e.getColorSchemeSelector(a).replace(/\s*&/,"")]={colorScheme:(l=s.palette)==null?void 0:l.mode}});let i=ke({html:Wie(e,t),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:ke({margin:0},Kie(e),{"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}})},n);const o=(r=e.components)==null||(r=r.MuiCssBaseline)==null?void 0:r.styleOverrides;return o&&(i=[i,o]),i};function Xie(e){const t=zie({props:e,name:"MuiCssBaseline"}),{children:r,enableColorScheme:n=!1}=t;return Ht.jsxs(Me.Fragment,{children:[Ht.jsx(Gie,{styles:i=>Yie(i,n)}),r]})}var wu={},Ot={},tA;function Qie(){if(tA)return Ot;tA=1;function e(R){return R.reduce(function(j,B){var U=B[0],$=B[1];return j[U]=$,j[$]=U,j},{})}function t(R){return typeof R=="boolean"}function r(R){return typeof R=="function"}function n(R){return typeof R=="number"}function i(R){return R===null||typeof R>"u"}function o(R){return R&&typeof R=="object"}function a(R){return typeof R=="string"}function s(R,j){return R.indexOf(j)!==-1}function l(R){return parseFloat(R)===0?R:R[0]==="-"?R.slice(1):"-"+R}function u(R,j,B,U){return j+l(B)+U}function d(R){var j=R.indexOf(".");if(j===-1)R=100-parseFloat(R)+"%";else{var B=R.length-j-2;R=100-parseFloat(R),R=R.toFixed(B)+"%"}return R}function f(R){return R.replace(/ +/g," ").split(" ").map(function(j){return j.trim()}).filter(Boolean).reduce(function(j,B){var U=j.list,$=j.state,k=(B.match(/\(/g)||[]).length,V=(B.match(/\)/g)||[]).length;return $.parensDepth>0?U[U.length-1]=U[U.length-1]+" "+B:U.push(B),$.parensDepth+=k-V,{list:U,state:$}},{list:[],state:{parensDepth:0}}).list}function h(R){var j=f(R);if(j.length<=3||j.length>4)return R;var B=j[0],U=j[1],$=j[2],k=j[3];return[B,k,$,U].join(" ")}function m(R){return!t(R)&&!i(R)}function b(R){for(var j=[],B=0,U=0,$=!1;U<R.length;)!$&&R[U]===","?(j.push(R.substring(B,U).trim()),U++,B=U):R[U]==="("?($=!0,U++):(R[U]===")"&&($=!1),U++);return B!=U&&j.push(R.substring(B,U+1)),j}var y={padding:function(j){var B=j.value;return n(B)?B:h(B)},textShadow:function(j){var B=j.value,U=b(B).map(function($){return $.replace(/(^|\s)(-*)([.|\d]+)/,function(k,V,W,Y){if(Y==="0")return k;var ne=W===""?"-":"";return""+V+ne+Y})});return U.join(",")},borderColor:function(j){var B=j.value;return h(B)},borderRadius:function(j){var B=j.value;if(n(B))return B;if(s(B,"/")){var U=B.split("/"),$=U[0],k=U[1],V=y.borderRadius({value:$.trim()}),W=y.borderRadius({value:k.trim()});return V+" / "+W}var Y=f(B);switch(Y.length){case 2:return Y.reverse().join(" ");case 4:{var ne=Y[0],we=Y[1],Pe=Y[2],X=Y[3];return[we,ne,X,Pe].join(" ")}default:return B}},background:function(j){var B=j.value,U=j.valuesToConvert,$=j.isRtl,k=j.bgImgDirectionRegex,V=j.bgPosDirectionRegex;if(n(B))return B;var W=B.replace(/(url\(.*?\))|(rgba?\(.*?\))|(hsl\(.*?\))|(#[a-fA-F0-9]+)|((^| )(\D)+( |$))/g,"").trim();return B=B.replace(W,y.backgroundPosition({value:W,valuesToConvert:U,isRtl:$,bgPosDirectionRegex:V})),y.backgroundImage({value:B,valuesToConvert:U,bgImgDirectionRegex:k})},backgroundImage:function(j){var B=j.value,U=j.valuesToConvert,$=j.bgImgDirectionRegex;return!s(B,"url(")&&!s(B,"linear-gradient(")?B:B.replace($,function(k,V,W){return k.replace(W,U[W])})},backgroundPosition:function(j){var B=j.value,U=j.valuesToConvert,$=j.isRtl,k=j.bgPosDirectionRegex;return B.replace($?/^((-|\d|\.)+%)/:null,function(V,W){return d(W)}).replace(k,function(V){return U[V]})},backgroundPositionX:function(j){var B=j.value,U=j.valuesToConvert,$=j.isRtl,k=j.bgPosDirectionRegex;return n(B)?B:y.backgroundPosition({value:B,valuesToConvert:U,isRtl:$,bgPosDirectionRegex:k})},transition:function(j){var B=j.value,U=j.propertiesToConvert;return B.split(/,\s*/g).map(function($){var k=$.split(" ");return k[0]=U[k[0]]||k[0],k.join(" ")}).join(", ")},transitionProperty:function(j){var B=j.value,U=j.propertiesToConvert;return B.split(/,\s*/g).map(function($){return U[$]||$}).join(", ")},transform:function(j){var B=j.value,U="[^\\u0020-\\u007e]",$="(?:(?:(?:\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",k="((?:-?"+("(?:[0-9]*\\.[0-9]+|[0-9]+)(?:\\s*(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)|"+("-?"+("(?:[_a-z]|"+U+"|"+$+")")+("(?:[_a-z0-9-]|"+U+"|"+$+")")+"*")+")?")+")|(?:inherit|auto))",V=new RegExp("(translateX\\s*\\(\\s*)"+k+"(\\s*\\))","gi"),W=new RegExp("(translate\\s*\\(\\s*)"+k+"((?:\\s*,\\s*"+k+"){0,1}\\s*\\))","gi"),Y=new RegExp("(translate3d\\s*\\(\\s*)"+k+"((?:\\s*,\\s*"+k+"){0,2}\\s*\\))","gi"),ne=new RegExp("(rotate[ZY]?\\s*\\(\\s*)"+k+"(\\s*\\))","gi");return B.replace(V,u).replace(W,u).replace(Y,u).replace(ne,u)}};y.objectPosition=y.backgroundPosition,y.margin=y.padding,y.borderWidth=y.padding,y.boxShadow=y.textShadow,y.webkitBoxShadow=y.boxShadow,y.mozBoxShadow=y.boxShadow,y.WebkitBoxShadow=y.boxShadow,y.MozBoxShadow=y.boxShadow,y.borderStyle=y.borderColor,y.webkitTransform=y.transform,y.mozTransform=y.transform,y.WebkitTransform=y.transform,y.MozTransform=y.transform,y.transformOrigin=y.backgroundPosition,y.webkitTransformOrigin=y.transformOrigin,y.mozTransformOrigin=y.transformOrigin,y.WebkitTransformOrigin=y.transformOrigin,y.MozTransformOrigin=y.transformOrigin,y.webkitTransition=y.transition,y.mozTransition=y.transition,y.WebkitTransition=y.transition,y.MozTransition=y.transition,y.webkitTransitionProperty=y.transitionProperty,y.mozTransitionProperty=y.transitionProperty,y.WebkitTransitionProperty=y.transitionProperty,y.MozTransitionProperty=y.transitionProperty,y["text-shadow"]=y.textShadow,y["border-color"]=y.borderColor,y["border-radius"]=y.borderRadius,y["background-image"]=y.backgroundImage,y["background-position"]=y.backgroundPosition,y["background-position-x"]=y.backgroundPositionX,y["object-position"]=y.objectPosition,y["border-width"]=y.padding,y["box-shadow"]=y.textShadow,y["-webkit-box-shadow"]=y.textShadow,y["-moz-box-shadow"]=y.textShadow,y["border-style"]=y.borderColor,y["-webkit-transform"]=y.transform,y["-moz-transform"]=y.transform,y["transform-origin"]=y.transformOrigin,y["-webkit-transform-origin"]=y.transformOrigin,y["-moz-transform-origin"]=y.transformOrigin,y["-webkit-transition"]=y.transition,y["-moz-transition"]=y.transition,y["transition-property"]=y.transitionProperty,y["-webkit-transition-property"]=y.transitionProperty,y["-moz-transition-property"]=y.transitionProperty;var A=e([["paddingLeft","paddingRight"],["marginLeft","marginRight"],["left","right"],["borderLeft","borderRight"],["borderLeftColor","borderRightColor"],["borderLeftStyle","borderRightStyle"],["borderLeftWidth","borderRightWidth"],["borderTopLeftRadius","borderTopRightRadius"],["borderBottomLeftRadius","borderBottomRightRadius"],["padding-left","padding-right"],["margin-left","margin-right"],["border-left","border-right"],["border-left-color","border-right-color"],["border-left-style","border-right-style"],["border-left-width","border-right-width"],["border-top-left-radius","border-top-right-radius"],["border-bottom-left-radius","border-bottom-right-radius"]]),E=["content"],_=e([["ltr","rtl"],["left","right"],["w-resize","e-resize"],["sw-resize","se-resize"],["nw-resize","ne-resize"]]),I=new RegExp("(^|\\W|_)((ltr)|(rtl)|(left)|(right))(\\W|_|$)","g"),P=new RegExp("(left)|(right)");function x(R){return Object.keys(R).reduce(function(j,B){var U=R[B];if(a(U)&&(U=U.trim()),s(E,B))return j[B]=U,j;var $=g(B,U),k=$.key,V=$.value;return j[k]=V,j},Array.isArray(R)?[]:{})}function g(R,j){var B=/\/\*\s?@noflip\s?\*\//.test(j),U=B?R:w(R),$=B?j:C(U,j);return{key:U,value:$}}function w(R){return A[R]||R}function C(R,j){if(!m(j))return j;if(o(j))return x(j);var B=n(j),U=r(j),$=B||U?j:j.replace(/ !important.*?$/,""),k=!B&&$.length!==j.length,V=y[R],W;return V?W=V({value:$,valuesToConvert:_,propertiesToConvert:A,isRtl:!0,bgImgDirectionRegex:I,bgPosDirectionRegex:P}):W=_[$]||$,k?W+" !important":W}return Ot.arrayToObject=e,Ot.calculateNewBackgroundPosition=d,Ot.canConvertValue=m,Ot.convert=x,Ot.convertProperty=g,Ot.flipSign=l,Ot.flipTransformSign=u,Ot.getPropertyDoppelganger=w,Ot.getValueDoppelganger=C,Ot.getValuesAsList=f,Ot.handleQuartetValues=h,Ot.includes=s,Ot.isBoolean=t,Ot.isFunction=r,Ot.isNullOrUndefined=i,Ot.isNumber=n,Ot.isObject=o,Ot.isString=a,Ot.propertiesToConvert=A,Ot.propertyValueConverters=y,Ot.propsToIgnore=E,Ot.splitShadow=b,Ot.valuesToConvert=_,Ot}var Yd,rA;function Zie(){if(rA)return Yd;rA=1;var e=Qie();return Yd=e.convert,Yd}var nA;function eoe(){if(nA)return wu;nA=1,Object.defineProperty(wu,"__esModule",{value:!0});var e=Zie(),t=e.default||e;function r(n){var i=n===void 0?{}:n,o=i.enabled,a=o===void 0?!0:o,s=i.opt,l=s===void 0?"out":s;return{onProcessStyle:function(u,d,f){if(d.type==="font-face")return u;if(!a)return typeof u.flip=="boolean"&&delete u.flip,u;var h=l==="out";return typeof f.options.flip=="boolean"&&(h=f.options.flip),typeof u.flip=="boolean"&&(h=u.flip,delete u.flip),h?t(typeof d.toJSON=="function"?d.toJSON():u):u}}}return wu.default=r,wu}var toe=eoe();const roe=xR(toe),We={highlight1:"#f7a42c",highlight2:"#8CC841",highlight3:"#fffc02",primaryMain:"#0549ab",primaryLight:"#007bc7",primaryDark:"#0549ab",hover:"rgba(14, 144, 224, 0.13)",selected:"rgba(14, 144, 224, 0.25)",textLight:"#444444",textDark:"#182026"},noe=({rtl:e,isA11y:t=!1,outerPalette:r={}})=>{const n={outlineColor:r.highlight1||We.highlight1},i=t&&{borderColor:r.highlight1||We.highlight1,"&:focus":{outlineColor:r.highlight1||We.highlight1,outlineWidth:1,outlineStyle:"auto"}},o={outlineColor:r.highlight1||We.highlight1,outlineStyle:"auto",outlineWidth:1};return{direction:e,components:{MuiCssBaseline:{styleOverrides:{body:{fontSize:"0.875rem"}}},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:{"&:focus":{outline:!t&&"none",...t&&n},...i}}},MuiUseMediaQuery:{defaultProps:{noSsr:!0}},MuiCheckbox:{styleOverrides:{root:{color:r.primaryMain||We.primaryMain,"&.Mui-focusVisible":t&&n},colorSecondary:{"&$checked":{color:r.primaryMain||We.primaryMain}}}},MuiFormGroup:{styleOverrides:{root:{"&.Mui-focusVisible":t&&n}}},MuiFormControlLabel:{styleOverrides:{root:{"&:has(.Mui-focusVisible)":{outline:`2px solid ${r.highlight1||We.highlight1}`,outlineOffset:2}}}},MuiRadio:{styleOverrides:{root:{"&.Mui-focusVisible":t&&n}}},MuiTableCell:{styleOverrides:{head:{lineHeight:1.43},sizeSmall:{"&:last-child":{paddingRight:9}}}},MuiAccordion:{styleOverrides:{root:{"&.Mui-expanded":{margin:0}}}},MuiButton:{styleOverrides:{root:{textTransform:"none","&:focus":{outline:!t&&"none",...t&&n}},textPrimary:{"&:hover":{backgroundColor:`${r.hover||We.hover}`}}}},MuiMenuItem:{styleOverrides:{root:{color:r.primaryMain||We.primaryMain,"&.Mui-selected":{backgroundColor:r.hover||We.hover,"&.Mui-focusVisible":{backgroundColor:r.hover||We.hover}},"&:hover":{backgroundColor:r.hover||We.hover},"&.Mui-selected:hover":{backgroundColor:r.selected||We.selected},"&.Mui-focusVisible":{backgroundColor:r.hover||We.hover},"&.Mui-disabled":{opacity:1}}}},MuiOutlinedInput:{styleOverrides:{root:{"&.Mui-focusVisible":t&&n}}},MuiTypography:{styleOverrides:{root:{"&:focus":t&&n}}},MuiLink:{defaultProps:{underline:"none"},styleOverrides:{root:{color:r.primaryMain||We.primaryMain,"&:hover":{color:r.primaryLight||We.primaryLight,textDecoration:"underline"},"&:focus":t&&n},button:{"&:focus":t&&n}}},MuiAlert:{styleOverrides:{filledError:{color:"#fff"},filledWarning:{color:"#fff"},filledInfo:{color:"#fff"}}},MuiInputBase:{styleOverrides:{root:{fontSize:"1rem"},input:{height:"1.25em"}}},MuiFormLabel:{styleOverrides:{root:{"&:focus-within":t&&n,fontSize:"1rem"}}}},palette:{background:{default:"#ffffff"},action:{selected:r.selected||We.selected,hover:r.hover||We.hover},primary:{main:r.primaryMain||We.primaryMain,light:r.primaryLight||We.primaryLight,dark:r.primaryDark||We.primaryDark},secondary:{main:"#e3e9ed",light:"#f5f8fa",dark:"#ebf1f5"},tertiary:{main:"#0965c1",light:"#e2f2fb",dark:"#b7def6"},highlight:{hl1:r.highlight1||We.highlight1,hl2:r.highlight2||We.highlight2,hl3:r.highlight3||We.highlight3},grey:{100:"#f1f1f1",200:"#F3F7FB",300:"#cccccc",600:"#7A7A7A",700:"#666666",800:r.textLight||We.textLight,A700:r.textDark||We.textDark},text:{primary:r.textDark||We.textDark,secondary:r.textLight||We.textLight},error:{main:"#b31010"},warning:{main:"#f7a42c"}},mixins:{apiQueries:{title:{fontWeight:400,fontFamily:"'Roboto Slab', serif",fontSize:"1.0625rem",lineHeight:"1.6"}},chart:{main:{fontFamily:"'Segoe UI'",fontSize:12},annotation:{fontSize:11},axis:{color:"#575757"},axisLegend:{color:"#7A7A7A"},legend:{fontSize:14},mapLegend:{color:"#575757",fontSize:10},tooltip:{primary:{},secondary:{fontSize:16,fontWeight:"bold"}}},chartsConfig:{root:{fontWeight:400,fontFamily:"'Roboto Slab', serif"},title:{fontSize:"1.0625rem",lineHeight:"1.6"}},collapsibleTree:{title:{fontSize:17,fontFamily:"'PT Sans Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif",color:r.textLight||We.textLight},buttonSublevel:{color:r.textLight||We.textLight,fontSize:14,fontWeight:700,fontFamily:"'PT Sans Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif"}},dataEdit:{root:{fontWeight:400,fontFamily:"'Roboto Slab', serif"}},dataflow:{title:{fontWeight:400,fontFamily:"'Roboto Slab', serif",fontSize:17},desc:{mutedText:{color:"#666666"},unmutedText:{color:r.textLight||We.textLight}}},dataHeader:{root:{fontFamily:"'Helvetica Neue', Helvetica, Arial, sans-serif"},title:{fontFamily:"'Roboto Slab', serif",fontSize:18,fontWeight:"bold",color:"#494444"},icon:{color:"#494444"},disclaimer:{backgroundColor:r.highlight1||We.highlight1},subtitle:{color:"#494444",fontWeight:"normal"},uprs:{}},dynamicDrawer:{tab:{title:{textTransform:"none",fontWeight:700,fontFamily:"'PT Sans Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontSize:15}},warningPopup:{title:{fontFamily:"'Roboto Slab', serif",fontSize:18,fontWeight:"bold"},content:{color:"#494444"}}},expansionPanel:{title:{fontWeight:700,fontFamily:"'PT Sans Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif",fontSize:15}},labelDivider:{root:{fontSize:13}},metadataDrawer:{title:{fontSize:24},downloading:{width:"15px !important",height:"15px !important"}},share:{title:{fontWeight:400,fontFamily:"'Roboto Slab', serif",fontSize:"1.0625rem",lineHeight:"1.6"}},spotlight:{focus:t&&o},table:{flag:{root:{fontSize:10,color:r.textLight||We.textLight},delimiters:" ",verticalAlign:"top"},dot:{fontSize:8},cellHighlight:{backgroundColor:"#FEF4E6"}},tag:{root:{fontSize:12,fontFamily:"'PT Sans Narrow', 'Helvetica Neue', Helvetica, Arial, sans-serif",color:r.textLight||We.textLight}},toggleButton:{selected:{color:r.textDark||We.textDark},hover:{color:r.textDark||We.textDark}},tooltip:{root:{fontSize:12,boxShadow:2},variant:{warning:{backgroundColor:r.warning||We.warning,color:r.textDark||We.textDark},dark:{backgroundColor:"#616161",color:r.textDark||We.textDark,"& a":{color:r.primaryLight||We.primaryLight,textDecoration:"none","&:hover":{color:r.primaryLight||We.primaryLight,textDecoration:"underline"}}},light:{backgroundColor:"#f5f8fa",color:r.textDark||We.textDark}}}},typography:{fontFamily:"'Helvetica Neue', Helvetica, Arial, sans-serif",h1:{fontSize:"2em"},h2:{fontSize:"1.5em"},h3:{fontSize:"14px"},h4:{fontSize:"14px"},h5:{fontSize:"12px"},h6:{fontSize:"12px"},body1:{fontSize:"0.750rem",lineHeight:1.43},body2:{fontSize:"0.875rem"},body2Link:{fontSize:"16px"}}}},Boe={xs:120,xs2:250,xs3:270,sm:370,md2:560,lg:760},ioe=Tc({plugins:[...Ky().plugins,roe()]}),ooe=e=>Ht.jsx(Hie,{jss:ioe,children:e.children}),aoe=bP(noe),soe={parameters:{controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}},test:{disable:!0},a11y:{test:"off"}},decorators:[e=>Ht.jsx(ooe,{children:Ht.jsx(nP,{injectFirst:!0,children:Ht.jsxs(Qre,{theme:aoe,children:[Ht.jsx(Xie,{}),Ht.jsx(e,{})]})})})]},uoe=Object.freeze(Object.defineProperty({__proto__:null,default:soe},Symbol.toStringTag,{value:"Module"})),{composeConfigs:loe}=__STORYBOOK_MODULE_PREVIEW_API__;function coe(e=[]){const t=[e[0]??CW,e[1]??GQ,e[2]??aZ,e[3]??vZ,e[4]??HZ,e[5]??eee,e[6]??nee,e[7]??uoe];return loe(t)}CR();const{PreviewWeb:doe}=__STORYBOOK_MODULE_PREVIEW_API__;window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new doe(uW,coe);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{Zte as $,ste as A,Eo as B,oP as C,Uy as D,vc as E,EP as F,lP as G,vn as H,Foe as I,Gs as J,ys as K,are as L,$E as M,RR as N,hP as O,jne as P,DR as Q,Hr as R,eA as S,Pf as T,Gie as U,bP as V,koe as W,dte as X,ere as Y,Vy as Z,wn as _,ke as a,Ioe as a0,Sre as a1,Es as a2,yoe as a3,Soe as a4,_oe as a5,sZ as a6,nE as a7,Toe as a8,xoe as a9,Roe as aa,Doe as ab,goe as ac,Un as ad,voe as ae,Nn as af,boe as ag,pc as ah,Eoe as ai,ff as aj,Coe as ak,woe as al,Aoe as am,Af as an,ire as b,Mf as c,Yre as d,Bf as e,Jy as f,xR as g,ore as h,Ooe as i,Ht as j,Poe as k,KK as l,aY as m,iY as n,Boe as o,uP as p,dP as q,Me as r,Hre as s,rP as t,zie as u,Xee as v,lre as w,Noe as x,zn as y,ute as z};