cortex-react-components 2.0.2 → 2.0.3

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 (461) hide show
  1. package/dist/{chunk-YVI5URXW.mjs → chunk-2NMVE5M4.mjs} +1 -1
  2. package/dist/{chunk-GQVNL534.mjs → chunk-2SAKLSZ4.mjs} +1 -1
  3. package/dist/{chunk-ZFBEBFCI.mjs → chunk-3KITWLRN.mjs} +1 -1
  4. package/dist/{chunk-3OKVKXQT.mjs → chunk-436WKDWG.mjs} +1 -1
  5. package/dist/{chunk-S7SHOCHM.mjs → chunk-6SWKEZN6.mjs} +1 -1
  6. package/dist/{chunk-AV5SA2JB.mjs → chunk-6T4OEOJH.mjs} +1 -1
  7. package/dist/{chunk-VM25PG5R.mjs → chunk-A2AEX4YB.mjs} +1 -1
  8. package/dist/{chunk-CG2SBWT7.mjs → chunk-A3SUL73A.mjs} +1 -1
  9. package/dist/{chunk-HIHXHTK3.mjs → chunk-ABGNIQRP.mjs} +1 -1
  10. package/dist/{chunk-PANOPGUW.mjs → chunk-AVHFRD6D.mjs} +1 -1
  11. package/dist/{chunk-6QSBVWNG.mjs → chunk-BADFWNRL.mjs} +1 -1
  12. package/dist/{chunk-KN65DDFI.mjs → chunk-CVLUVZR3.mjs} +1 -1
  13. package/dist/{chunk-CXV6AWOX.mjs → chunk-D3B2YO7G.mjs} +1 -1
  14. package/dist/{chunk-BWTA3BKK.mjs → chunk-DLUWDQSW.mjs} +1 -1
  15. package/dist/{chunk-VN7TASR4.mjs → chunk-DUEPJ3F4.mjs} +1 -1
  16. package/dist/{chunk-BPTRLIWH.mjs → chunk-DY2G774J.mjs} +1 -1
  17. package/dist/{chunk-RENPEB5D.mjs → chunk-EG646342.mjs} +1 -1
  18. package/dist/{chunk-SRCJSWQF.mjs → chunk-EOXVYLPB.mjs} +1 -1
  19. package/dist/{chunk-RTAA6HZ2.mjs → chunk-EVZSRWUW.mjs} +1 -1
  20. package/dist/{chunk-BXHNSQWH.mjs → chunk-FOISWNF5.mjs} +1 -1
  21. package/dist/{chunk-E37JPSPB.mjs → chunk-FRKGQKEM.mjs} +1 -1
  22. package/dist/{chunk-XHMVS6GT.mjs → chunk-FV3W3WL7.mjs} +1 -1
  23. package/dist/{chunk-7A3BV5SJ.mjs → chunk-G6ED5Z4J.mjs} +1 -1
  24. package/dist/{chunk-IN55EBPV.mjs → chunk-GS2VFNHY.mjs} +1 -1
  25. package/dist/{chunk-MWXZUSRT.mjs → chunk-HH3AWPYB.mjs} +1 -1
  26. package/dist/{chunk-IEUDWPYZ.mjs → chunk-IQ3TUH7O.mjs} +1 -1
  27. package/dist/{chunk-6LZRVGXZ.mjs → chunk-IUT6JJHY.mjs} +1 -1
  28. package/dist/{chunk-LALFQI3P.mjs → chunk-IV5HRCWW.mjs} +1 -1
  29. package/dist/{chunk-EHSOO47V.mjs → chunk-KEOMDWUC.mjs} +1 -1
  30. package/dist/{chunk-UKYWLNKE.mjs → chunk-KJMXSFJA.mjs} +1 -1
  31. package/dist/{chunk-QQ36F4C4.mjs → chunk-KOXC4RIH.mjs} +1 -1
  32. package/dist/{chunk-QRJOCPHI.mjs → chunk-KTET6W73.mjs} +1 -1
  33. package/dist/{chunk-DYHW653F.mjs → chunk-KXZFR7TI.mjs} +1 -1
  34. package/dist/{chunk-WUA65ZZB.mjs → chunk-L3BLBPSR.mjs} +1 -1
  35. package/dist/{chunk-75WE6ZXB.mjs → chunk-LAQ3QAUW.mjs} +1 -1
  36. package/dist/{chunk-KDSAOIPC.mjs → chunk-LC2RBE7W.mjs} +1 -1
  37. package/dist/{chunk-OFXZKSCN.mjs → chunk-M4NJB4NN.mjs} +1 -1
  38. package/dist/{chunk-6VPRGZON.mjs → chunk-MNI6AM7Q.mjs} +1 -1
  39. package/dist/{chunk-KLEXMJR2.mjs → chunk-NZS3XKXU.mjs} +1 -1
  40. package/dist/{chunk-XP4XLR2J.mjs → chunk-OB5WMODY.mjs} +1 -1
  41. package/dist/{chunk-ALI7Z4HH.mjs → chunk-OEFXIEY3.mjs} +1 -1
  42. package/dist/{chunk-MGJTWNXD.mjs → chunk-OJYMSL24.mjs} +1 -1
  43. package/dist/{chunk-ZDOLX6I2.mjs → chunk-PEQOQ7BK.mjs} +1 -1
  44. package/dist/{chunk-GLLR2OOI.mjs → chunk-PFLESLNT.mjs} +1 -1
  45. package/dist/{chunk-66WBIP2O.mjs → chunk-PLTKMHUH.mjs} +1 -1
  46. package/dist/{chunk-TAYYCGWX.mjs → chunk-PM35MWKG.mjs} +1 -1
  47. package/dist/{chunk-AQLCYCLG.mjs → chunk-PXPSM7OQ.mjs} +1 -1
  48. package/dist/{chunk-RIK7YEA6.mjs → chunk-QDAJ7QAD.mjs} +1 -1
  49. package/dist/{chunk-UDPQ4MXR.mjs → chunk-R7LPCFUJ.mjs} +1 -1
  50. package/dist/{chunk-4TVYOBYI.mjs → chunk-RK2CAIEF.mjs} +1 -1
  51. package/dist/{chunk-BHKBIYMM.mjs → chunk-RUOYGMOR.mjs} +1 -1
  52. package/dist/{chunk-EGHHWTFA.mjs → chunk-S562PA5P.mjs} +1 -1
  53. package/dist/{chunk-43IUXVGW.mjs → chunk-SNZ5BAQQ.mjs} +1 -1
  54. package/dist/chunk-SRUG246N.mjs +4 -0
  55. package/dist/{chunk-NOHO4XDS.mjs → chunk-TO2UDP5T.mjs} +1 -1
  56. package/dist/{chunk-SG5QL77J.mjs → chunk-TO7KJNKC.mjs} +1 -1
  57. package/dist/{chunk-QDYF4Z2F.mjs → chunk-TUI4S4GI.mjs} +1 -1
  58. package/dist/{chunk-N25B5TQ5.mjs → chunk-TZKQXT7Y.mjs} +1 -1
  59. package/dist/{chunk-VNMKCJBJ.mjs → chunk-U7GAPI7X.mjs} +1 -1
  60. package/dist/{chunk-OFFFATED.mjs → chunk-UIMLXZPF.mjs} +1 -1
  61. package/dist/{chunk-6U2XBCMC.mjs → chunk-UNS6CTQZ.mjs} +1 -1
  62. package/dist/{chunk-XCCL5CIT.mjs → chunk-V2KCUPP5.mjs} +1 -1
  63. package/dist/{chunk-D6W4VUUS.mjs → chunk-VKJ7E6OL.mjs} +1 -1
  64. package/dist/{chunk-IQKWNF37.mjs → chunk-WHDJPD5E.mjs} +1 -1
  65. package/dist/{chunk-4TU4OACM.mjs → chunk-WN2LPOQP.mjs} +1 -1
  66. package/dist/{chunk-ZLSF5YXT.mjs → chunk-XGRRLABA.mjs} +1 -1
  67. package/dist/{chunk-C4UPRDGQ.mjs → chunk-XI5H6WLY.mjs} +1 -1
  68. package/dist/chunk-YEKQJ4YC.mjs +1 -0
  69. package/dist/{chunk-UEBQJNVT.mjs → chunk-ZGQC6O62.mjs} +1 -1
  70. package/dist/common-types.mjs +1 -1
  71. package/dist/components/AdvancedComponents/CommentSection.mjs +1 -1
  72. package/dist/components/AdvancedComponents/EditableField.mjs +1 -1
  73. package/dist/components/AdvancedComponents/NAVIGATION_TABS_README.mjs +1 -1
  74. package/dist/components/AdvancedComponents/app-header.mjs +1 -1
  75. package/dist/components/AdvancedComponents/index.mjs +1 -1
  76. package/dist/components/AdvancedComponents/navigation-tabs.mjs +1 -1
  77. package/dist/components/AdvancedComponents/notifications-panel.mjs +1 -1
  78. package/dist/components/AdvancedComponents/sidebar.mjs +1 -1
  79. package/dist/components/AdvancedComponents/switch.mjs +1 -1
  80. package/dist/components/AdvancedComponents/theme-provider.mjs +3 -1
  81. package/dist/components/AdvancedComponents/theme-toggle.mjs +1 -1
  82. package/dist/components/AdvancedComponents/user-selection.mjs +1 -1
  83. package/dist/components/Blocks/Banner.js +1 -2
  84. package/dist/components/Blocks/Banner.mjs +1 -1
  85. package/dist/components/Blocks/CallToAction.js +1 -2
  86. package/dist/components/Blocks/CallToAction.mjs +1 -1
  87. package/dist/components/Blocks/CaseStudy.mjs +1 -1
  88. package/dist/components/Blocks/Code.client.mjs +1 -1
  89. package/dist/components/Blocks/Code.mjs +1 -1
  90. package/dist/components/Blocks/CollapsibleArea.js +1 -2
  91. package/dist/components/Blocks/CollapsibleArea.mjs +1 -1
  92. package/dist/components/Blocks/ConsultantProfile.mjs +1 -1
  93. package/dist/components/Blocks/Content.js +1 -2
  94. package/dist/components/Blocks/Content.mjs +1 -1
  95. package/dist/components/Blocks/CopyButton.mjs +1 -1
  96. package/dist/components/Blocks/FeaturesBlock.js +1 -2
  97. package/dist/components/Blocks/FeaturesBlock.mjs +1 -1
  98. package/dist/components/Blocks/HeadingImage.mjs +1 -1
  99. package/dist/components/Blocks/ImageBlock.mjs +1 -1
  100. package/dist/components/Blocks/InfoTile.mjs +1 -1
  101. package/dist/components/Blocks/Insight.mjs +1 -1
  102. package/dist/components/Blocks/MOTD.mjs +1 -1
  103. package/dist/components/Blocks/MediaBlock.mjs +1 -1
  104. package/dist/components/Blocks/OrgChart.mjs +1 -1
  105. package/dist/components/Blocks/ProposalSummary.mjs +1 -1
  106. package/dist/components/Blocks/RelatedPosts.js +1 -2
  107. package/dist/components/Blocks/RelatedPosts.mjs +1 -1
  108. package/dist/components/Blocks/RenderBlocks.js +1 -2
  109. package/dist/components/Blocks/RenderBlocks.mjs +1 -1
  110. package/dist/components/Blocks/ReusableContentBlock.js +1 -2
  111. package/dist/components/Blocks/ReusableContentBlock.mjs +1 -1
  112. package/dist/components/Blocks/WhyUs.mjs +1 -1
  113. package/dist/components/Blocks/index.js +1 -2
  114. package/dist/components/Blocks/index.mjs +1 -1
  115. package/dist/components/CRM/CogeBoard.mjs +1 -1
  116. package/dist/components/CRM/DealCard.mjs +1 -1
  117. package/dist/components/CRM/DealDetails.mjs +1 -1
  118. package/dist/components/CRM/KanbanBoard.mjs +1 -1
  119. package/dist/components/CRM/KanbanColumn.mjs +1 -1
  120. package/dist/components/CRM/NewCustomerForm.mjs +1 -1
  121. package/dist/components/CRM/NewDealForm.mjs +1 -1
  122. package/dist/components/CRM/index.mjs +1 -1
  123. package/dist/components/CRM/mockData.mjs +1 -1
  124. package/dist/components/Cards/ContentCard.js +1 -2
  125. package/dist/components/Cards/ContentCard.mjs +1 -1
  126. package/dist/components/Cards/CustomerCard.mjs +1 -1
  127. package/dist/components/Cards/EventCard.mjs +1 -1
  128. package/dist/components/Cards/FeatureCard.js +1 -2
  129. package/dist/components/Cards/FeatureCard.mjs +1 -1
  130. package/dist/components/Cards/HeroCard.mjs +1 -1
  131. package/dist/components/Cards/Image.mjs +1 -1
  132. package/dist/components/Cards/PricingCard.mjs +1 -1
  133. package/dist/components/Cards/ProjectCard.mjs +1 -1
  134. package/dist/components/Cards/ServiceCard.mjs +1 -1
  135. package/dist/components/Cards/index.js +4 -5
  136. package/dist/components/Cards/index.mjs +1 -1
  137. package/dist/components/Chat/CAPABILITIES_README.mjs +1 -1
  138. package/dist/components/Chat/ChatCardArtefact.mjs +1 -1
  139. package/dist/components/Chat/ChatCardTask.mjs +1 -1
  140. package/dist/components/Chat/ChatInterfaceMessages.mjs +1 -1
  141. package/dist/components/Chat/ChatMessage.mjs +1 -1
  142. package/dist/components/Chat/CopilotInterface.mjs +1 -1
  143. package/dist/components/Chat/EnhancedChatInterface.mjs +1 -1
  144. package/dist/components/Chat/ai-chat-interface.mjs +3 -1
  145. package/dist/components/Chat/capabilities-config.mjs +1 -1
  146. package/dist/components/Chat/capabilities-data.mjs +1 -1
  147. package/dist/components/Chat/capabilities.mjs +1 -1
  148. package/dist/components/Chat/capability-menu.mjs +1 -1
  149. package/dist/components/Chat/chat-session-sidebar.mjs +1 -1
  150. package/dist/components/Chat/hooks/useTask.mjs +1 -1
  151. package/dist/components/Chat/index.mjs +1 -1
  152. package/dist/components/DeliveryLead/DeliveryLeadSubmission.mjs +1 -1
  153. package/dist/components/DeliveryLead/DeliveryLeadSubmissionList.mjs +1 -1
  154. package/dist/components/DeliveryLead/DeliveryLeadSubmissionWithList.mjs +1 -1
  155. package/dist/components/DeliveryLead/index.mjs +1 -1
  156. package/dist/components/DigitalColleagues/AppSidebarLeft.mjs +1 -1
  157. package/dist/components/DigitalColleagues/DashboardHeader.mjs +1 -1
  158. package/dist/components/DigitalColleagues/DigitalColleageusLayout.mjs +1 -1
  159. package/dist/components/DigitalColleagues/MainPage.mjs +3 -1
  160. package/dist/components/DigitalColleagues/ManagementSidebar.mjs +1 -1
  161. package/dist/components/DigitalColleagues/Pages/dashboardpage.mjs +3 -1
  162. package/dist/components/DigitalColleagues/SearchableSelect.mjs +1 -1
  163. package/dist/components/DigitalColleagues/Views/ColleaguesView.mjs +1 -1
  164. package/dist/components/DigitalColleagues/Views/KnowledgeView.mjs +1 -1
  165. package/dist/components/DigitalColleagues/Views/TeamsIndexView.mjs +1 -1
  166. package/dist/components/DigitalColleagues/Views/index.mjs +1 -1
  167. package/dist/components/DigitalColleagues/colleague-card.mjs +1 -1
  168. package/dist/components/DigitalColleagues/colleague-form.mjs +1 -1
  169. package/dist/components/DigitalColleagues/colleague-type-selection.mjs +1 -1
  170. package/dist/components/DigitalColleagues/digital-colleague-clone.mjs +1 -1
  171. package/dist/components/DigitalColleagues/digital-colleague-options.mjs +1 -1
  172. package/dist/components/DigitalColleagues/test-data.mjs +1 -1
  173. package/dist/components/HeaderFooter/AppLauncher.mjs +1 -1
  174. package/dist/components/HeaderFooter/BrandLogo.mjs +1 -1
  175. package/dist/components/HeaderFooter/Footer.mjs +1 -1
  176. package/dist/components/HeaderFooter/Header.mjs +1 -1
  177. package/dist/components/HeaderFooter/HeaderDesktop.mjs +1 -1
  178. package/dist/components/HeaderFooter/HeaderMenu.mjs +1 -1
  179. package/dist/components/HeaderFooter/HeaderMenuItem.mjs +1 -1
  180. package/dist/components/HeaderFooter/HeaderMobile.mjs +1 -1
  181. package/dist/components/HeaderFooter/RelatedPagesMenu.mjs +1 -1
  182. package/dist/components/HeaderFooter/SectionHeading.js +1 -2
  183. package/dist/components/HeaderFooter/SectionHeading.mjs +1 -1
  184. package/dist/components/HeaderFooter/SimpleHeader.mjs +1 -1
  185. package/dist/components/HeaderFooter/VideoHeader.mjs +1 -1
  186. package/dist/components/HeaderFooter/index.mjs +1 -1
  187. package/dist/components/Heros/DashboardHero/DashboardHero.mjs +1 -1
  188. package/dist/components/Heros/DashboardHero/index.mjs +1 -1
  189. package/dist/components/Heros/HighImpact/index.js +1 -2
  190. package/dist/components/Heros/HighImpact/index.mjs +1 -1
  191. package/dist/components/Heros/LowImpact/index.js +1 -2
  192. package/dist/components/Heros/LowImpact/index.mjs +1 -1
  193. package/dist/components/Heros/MediumImpact/index.js +1 -2
  194. package/dist/components/Heros/MediumImpact/index.mjs +1 -1
  195. package/dist/components/Heros/PostHero/index.mjs +1 -1
  196. package/dist/components/Heros/RenderHero.js +1 -2
  197. package/dist/components/Heros/RenderHero.mjs +1 -1
  198. package/dist/components/Heros/SectionHero/index.mjs +1 -1
  199. package/dist/components/Heros/index.js +1 -2
  200. package/dist/components/Heros/index.mjs +1 -1
  201. package/dist/components/Holidays/ApproveLeave.mjs +1 -1
  202. package/dist/components/Holidays/CalendarView.mjs +1 -1
  203. package/dist/components/Holidays/HolidayGrid.mjs +1 -1
  204. package/dist/components/Holidays/HolidayTracker.mjs +1 -1
  205. package/dist/components/Holidays/RequestLeave.mjs +1 -1
  206. package/dist/components/Holidays/index.mjs +1 -1
  207. package/dist/components/Icons/ScrollDownIcon.mjs +3 -1
  208. package/dist/components/Images/DynamicIcon.mjs +1 -1
  209. package/dist/components/Images/IconIndex.mjs +1 -1
  210. package/dist/components/Images/customIconList.mjs +1 -1
  211. package/dist/components/Images/index.mjs +1 -1
  212. package/dist/components/Layouts/FeatureGrid.mjs +1 -1
  213. package/dist/components/Layouts/NewsGrid.mjs +1 -1
  214. package/dist/components/Layouts/NewsList.mjs +1 -1
  215. package/dist/components/Layouts/OutputHeaderFooter.js +2 -3
  216. package/dist/components/Layouts/OutputHeaderFooter.mjs +1 -1
  217. package/dist/components/Layouts/Print.js +2 -3
  218. package/dist/components/Layouts/Print.mjs +1 -1
  219. package/dist/components/Layouts/SlideShow.js +3 -4
  220. package/dist/components/Layouts/SlideShow.mjs +1 -1
  221. package/dist/components/Layouts/TextAndImages.mjs +1 -1
  222. package/dist/components/Layouts/index.js +5 -6
  223. package/dist/components/Layouts/index.mjs +1 -1
  224. package/dist/components/Menus/Categories.mjs +1 -1
  225. package/dist/components/Menus/Filter.mjs +1 -1
  226. package/dist/components/Menus/Pagination.mjs +1 -1
  227. package/dist/components/Menus/ProjectTeam.mjs +1 -1
  228. package/dist/components/Menus/RelatedContent.mjs +1 -1
  229. package/dist/components/Menus/SidebarLeft.mjs +1 -1
  230. package/dist/components/Menus/SidebarRight.mjs +1 -1
  231. package/dist/components/Menus/index.mjs +1 -1
  232. package/dist/components/Other/AnimatedBorder.mjs +3 -1
  233. package/dist/components/Other/Container.mjs +1 -1
  234. package/dist/components/Other/CustomLink.mjs +1 -1
  235. package/dist/components/Other/PageShape.mjs +1 -1
  236. package/dist/components/Other/ThemeProvider.mjs +1 -1
  237. package/dist/components/Other/index.mjs +1 -1
  238. package/dist/components/Payload/Card/index.mjs +1 -1
  239. package/dist/components/Payload/CollectionArchive/index.mjs +1 -1
  240. package/dist/components/Payload/Link/index.mjs +1 -1
  241. package/dist/components/Payload/Logo/index.mjs +1 -1
  242. package/dist/components/Payload/Media/ImageMedia/index.mjs +1 -1
  243. package/dist/components/Payload/Media/VideoMedia/index.mjs +1 -1
  244. package/dist/components/Payload/Media/index.mjs +1 -1
  245. package/dist/components/Payload/PageRange/index.mjs +1 -1
  246. package/dist/components/Payload/Pagination/index.mjs +1 -1
  247. package/dist/components/Payload/RichText/index.js +1 -2
  248. package/dist/components/Payload/RichText/index.mjs +1 -1
  249. package/dist/components/Payload/RichText/nodeFormat.mjs +1 -1
  250. package/dist/components/Payload/RichText/serialize.js +1 -2
  251. package/dist/components/Payload/RichText/serialize.mjs +1 -1
  252. package/dist/components/Payload/index.js +1 -2
  253. package/dist/components/Payload/index.mjs +1 -1
  254. package/dist/components/Projects/AddEpicModal.mjs +1 -1
  255. package/dist/components/Projects/AddSprintModal.mjs +1 -1
  256. package/dist/components/Projects/AddTaskModal.mjs +1 -1
  257. package/dist/components/Projects/EpicFilter.mjs +1 -1
  258. package/dist/components/Projects/EpicsView.mjs +1 -1
  259. package/dist/components/Projects/FileView.mjs +1 -1
  260. package/dist/components/Projects/KanbanBoardView.mjs +1 -1
  261. package/dist/components/Projects/KanbanColumn.mjs +1 -1
  262. package/dist/components/Projects/PlanningView.mjs +1 -1
  263. package/dist/components/Projects/ProjectPage.mjs +3 -1
  264. package/dist/components/Projects/ProjectView.mjs +1 -1
  265. package/dist/components/Projects/ProjectsIndexView.mjs +1 -1
  266. package/dist/components/Projects/TaskCard.mjs +1 -1
  267. package/dist/components/Projects/TaskDetailsModal.mjs +1 -1
  268. package/dist/components/Projects/TaskSelect.mjs +1 -1
  269. package/dist/components/Projects/TaskSidebar.mjs +1 -1
  270. package/dist/components/Projects/TasksView.mjs +1 -1
  271. package/dist/components/Projects/TeamSwitcher.mjs +1 -1
  272. package/dist/components/Projects/business-unit-switcher.mjs +1 -1
  273. package/dist/components/Projects/business-units.mjs +1 -1
  274. package/dist/components/Projects/file-list.mjs +1 -1
  275. package/dist/components/Projects/project-card.mjs +1 -1
  276. package/dist/components/Projects/project-form.mjs +1 -1
  277. package/dist/components/Projects/team-card.mjs +1 -1
  278. package/dist/components/Projects/team-switcher-bar.mjs +3 -1
  279. package/dist/components/Projects/test-data.mjs +1 -1
  280. package/dist/components/dc-temp/CHANGES_SUMMARY.mjs +1 -1
  281. package/dist/components/dc-temp/COLLEAGUE_SELECTION_README.mjs +1 -1
  282. package/dist/components/dc-temp/DIGITAL_COLLEAGUE_UPDATES.mjs +1 -1
  283. package/dist/components/dc-temp/IMPLEMENTATION_SUMMARY.mjs +1 -1
  284. package/dist/components/dc-temp/TEAMS_README.mjs +1 -1
  285. package/dist/components/dc-temp/creative.mjs +1 -1
  286. package/dist/components/dc-temp/dashboard-integration-example.mjs +1 -1
  287. package/dist/components/dc-temp/enhanced-header.mjs +3 -1
  288. package/dist/components/dc-temp/headerlogo.mjs +1 -1
  289. package/dist/components/dc-temp/icon-mapper.mjs +1 -1
  290. package/dist/components/dc-temp/index.mjs +1 -1
  291. package/dist/components/dc-temp/knowledge-browser.mjs +1 -1
  292. package/dist/components/dc-temp/knowledge-search.mjs +1 -1
  293. package/dist/components/dc-temp/loading.mjs +1 -1
  294. package/dist/components/dc-temp/markdown-renderer.mjs +1 -1
  295. package/dist/components/dc-temp/mock-data.mjs +1 -1
  296. package/dist/components/dc-temp/sidebar.mjs +3 -1
  297. package/dist/components/dc-temp/utils.mjs +1 -1
  298. package/dist/components/index.js +9 -10
  299. package/dist/components/index.mjs +1 -1
  300. package/dist/components/ui/alert.mjs +1 -1
  301. package/dist/components/ui/avatar.mjs +1 -1
  302. package/dist/components/ui/badge.mjs +1 -1
  303. package/dist/components/ui/breadcrumb.mjs +1 -1
  304. package/dist/components/ui/button.mjs +1 -1
  305. package/dist/components/ui/calendar.mjs +1 -1
  306. package/dist/components/ui/card.mjs +1 -1
  307. package/dist/components/ui/checkbox.mjs +1 -1
  308. package/dist/components/ui/collapsible.mjs +1 -1
  309. package/dist/components/ui/command.mjs +1 -1
  310. package/dist/components/ui/dialog.mjs +1 -1
  311. package/dist/components/ui/dropdown-menu.mjs +1 -1
  312. package/dist/components/ui/hover-card.mjs +1 -1
  313. package/dist/components/ui/index.mjs +1 -1
  314. package/dist/components/ui/input.mjs +1 -1
  315. package/dist/components/ui/inputs/common/styles/index.mjs +1 -1
  316. package/dist/components/ui/inputs/text-input/index.mjs +1 -1
  317. package/dist/components/ui/inputs/textarea-input/index.mjs +1 -1
  318. package/dist/components/ui/label.mjs +1 -1
  319. package/dist/components/ui/pagination.mjs +1 -1
  320. package/dist/components/ui/popover.mjs +1 -1
  321. package/dist/components/ui/progress.mjs +1 -1
  322. package/dist/components/ui/scroll-area.mjs +1 -1
  323. package/dist/components/ui/select.mjs +1 -1
  324. package/dist/components/ui/separator.mjs +1 -1
  325. package/dist/components/ui/sheet.mjs +1 -1
  326. package/dist/components/ui/sidebar.mjs +1 -1
  327. package/dist/components/ui/skeleton.mjs +1 -1
  328. package/dist/components/ui/switch.mjs +1 -1
  329. package/dist/components/ui/tabs.mjs +1 -1
  330. package/dist/components/ui/textarea.mjs +1 -1
  331. package/dist/components/ui/toast.mjs +1 -1
  332. package/dist/components/ui/toaster.mjs +1 -1
  333. package/dist/components/ui/toggle-group.mjs +1 -1
  334. package/dist/components/ui/toggle.mjs +1 -1
  335. package/dist/components/ui/tooltip.mjs +1 -1
  336. package/dist/constants.mjs +1 -1
  337. package/dist/fonts/Manrope-Bold.mjs +1 -1
  338. package/dist/fonts/Manrope-ExtraBold.mjs +1 -1
  339. package/dist/fonts/Manrope-ExtraLight.mjs +1 -1
  340. package/dist/fonts/Manrope-Light.mjs +1 -1
  341. package/dist/fonts/Manrope-Medium.mjs +1 -1
  342. package/dist/fonts/Manrope-Regular.mjs +1 -1
  343. package/dist/fonts/Manrope-SemiBold.mjs +1 -1
  344. package/dist/hooks/index.mjs +1 -1
  345. package/dist/hooks/use-local-storage.mjs +1 -1
  346. package/dist/hooks/use-mobile.mjs +1 -1
  347. package/dist/hooks/use-toast.mjs +1 -1
  348. package/dist/images/cortex-reply-bw.mjs +1 -1
  349. package/dist/images/cortex-reply-dark.mjs +1 -1
  350. package/dist/images/cortex-reply-gradient.mjs +1 -1
  351. package/dist/images/cortex-reply-light.mjs +1 -1
  352. package/dist/images/cortex-reply.mjs +1 -1
  353. package/dist/images/hero/hero-3.mjs +1 -1
  354. package/dist/images/hero/image-hero1.mjs +1 -1
  355. package/dist/images/hero/pattern-1.mjs +1 -1
  356. package/dist/images/hero/pattern-2.mjs +1 -1
  357. package/dist/index.js +11 -12
  358. package/dist/index.mjs +1 -1
  359. package/dist/metafile-cjs.json +1 -1
  360. package/dist/metafile-esm.json +1 -1
  361. package/dist/pages/Blog.js +1 -2
  362. package/dist/pages/Blog.mjs +1 -1
  363. package/dist/pages/Documentation.mjs +3 -1
  364. package/dist/pages/IndexPage.mjs +3 -1
  365. package/dist/pages/Intranet.mjs +1 -1
  366. package/dist/pages/LandingPage.js +3 -4
  367. package/dist/pages/LandingPage.mjs +3 -1
  368. package/dist/pages/Page.js +1 -2
  369. package/dist/pages/Page.mjs +3 -1
  370. package/dist/pages/Publish.js +5 -6
  371. package/dist/pages/Publish.mjs +1 -1
  372. package/dist/pages/Website.js +1 -2
  373. package/dist/pages/Website.mjs +1 -1
  374. package/dist/sections/AboutSection.js +1 -2
  375. package/dist/sections/AboutSection.mjs +1 -1
  376. package/dist/sections/BlogDetail.js +1 -2
  377. package/dist/sections/BlogDetail.mjs +1 -1
  378. package/dist/sections/BlogList.js +2 -3
  379. package/dist/sections/BlogList.mjs +1 -1
  380. package/dist/sections/BlogListSection.mjs +1 -1
  381. package/dist/sections/ContactSection.js +1 -2
  382. package/dist/sections/ContactSection.mjs +1 -1
  383. package/dist/sections/ImageSection.mjs +1 -1
  384. package/dist/sections/MainPageSection.mjs +1 -1
  385. package/dist/sections/PageSections.js +2 -3
  386. package/dist/sections/PageSections.mjs +1 -1
  387. package/dist/sections/PricingSection.js +1 -2
  388. package/dist/sections/PricingSection.mjs +1 -1
  389. package/dist/sections/ServiceDetail.js +1 -2
  390. package/dist/sections/ServiceDetail.mjs +1 -1
  391. package/dist/sections/ServiceDetailSection.js +1 -2
  392. package/dist/sections/ServiceDetailSection.mjs +1 -1
  393. package/dist/sections/ServiceSection.js +1 -2
  394. package/dist/sections/ServiceSection.mjs +1 -1
  395. package/dist/sections/form/index.d.ts +5 -1
  396. package/dist/sections/form/index.js +1 -2
  397. package/dist/sections/form/index.mjs +1 -1
  398. package/dist/sections/form/server/contact-us-form-submit.mjs +1 -1
  399. package/dist/sections/form/server/index.d.ts +2 -0
  400. package/dist/sections/form/server/index.js +4 -0
  401. package/dist/sections/form/server/index.mjs +1 -0
  402. package/dist/sections/index.d.ts +1 -0
  403. package/dist/sections/index.js +3 -4
  404. package/dist/sections/index.mjs +1 -1
  405. package/dist/styles/Colors.mjs +1 -1
  406. package/dist/styles/Typography.mjs +1 -1
  407. package/dist/test-data/capabilities.mjs +1 -1
  408. package/dist/tests/payload.mjs +1 -1
  409. package/dist/utils/AOSInit.mjs +1 -1
  410. package/dist/utils/BankHolidays.mjs +1 -1
  411. package/dist/utils/DaysUtil.mjs +1 -1
  412. package/dist/utils/canUseDOM.mjs +1 -1
  413. package/dist/utils/cn.mjs +1 -1
  414. package/dist/utils/formatDateTime.mjs +1 -1
  415. package/dist/utils/getTableOfContents.mjs +1 -1
  416. package/dist/utils/getURL.mjs +1 -1
  417. package/dist/utils/index.mjs +1 -1
  418. package/dist/utils/setStaggeredDelay.mjs +1 -1
  419. package/dist/utils/useClickableCard.mjs +1 -1
  420. package/package.json +7 -1
  421. package/dist/about-1-ANS44UVM.png +0 -0
  422. package/dist/about-2-NDWHP4QV.png +0 -0
  423. package/dist/about-3-RNUOVF6S.png +0 -0
  424. package/dist/about-4-V5ITRBOZ.png +0 -0
  425. package/dist/chunk-3ALU5XV6.mjs +0 -1
  426. package/dist/chunk-3MKCQLBY.mjs +0 -4
  427. package/dist/chunk-3RJA57BI.mjs +0 -4
  428. package/dist/chunk-3SK6PULC.mjs +0 -4
  429. package/dist/chunk-3TVLETYW.mjs +0 -1
  430. package/dist/chunk-3WPEAKCQ.mjs +0 -4
  431. package/dist/chunk-44QDT35M.mjs +0 -1
  432. package/dist/chunk-4BUBW5TX.mjs +0 -4
  433. package/dist/chunk-5C2TR5P3.mjs +0 -4
  434. package/dist/chunk-5ME75SQ2.mjs +0 -218
  435. package/dist/chunk-6AFX6PFG.mjs +0 -470
  436. package/dist/chunk-6XXAI7IR.mjs +0 -1
  437. package/dist/chunk-7DICAJS4.mjs +0 -1
  438. package/dist/chunk-A24IEDVI.mjs +0 -1
  439. package/dist/chunk-BUC3OG2I.mjs +0 -4
  440. package/dist/chunk-CA7JDZIQ.mjs +0 -4
  441. package/dist/chunk-DBVX4BDP.mjs +0 -4
  442. package/dist/chunk-H4X3VQIN.mjs +0 -4
  443. package/dist/chunk-IB6VPDZQ.mjs +0 -1
  444. package/dist/chunk-IZ3PDOST.mjs +0 -1
  445. package/dist/chunk-KGYX6TIY.mjs +0 -4
  446. package/dist/chunk-KSYES4GX.mjs +0 -1
  447. package/dist/chunk-KUVGGKGR.mjs +0 -4
  448. package/dist/chunk-M6LJ4BNZ.mjs +0 -1
  449. package/dist/chunk-N5SEZED7.mjs +0 -1
  450. package/dist/chunk-OJLQ6G4W.mjs +0 -4
  451. package/dist/chunk-PA3BZDTY.mjs +0 -245
  452. package/dist/chunk-PPZXBKTO.mjs +0 -4
  453. package/dist/chunk-TLBLUYXL.mjs +0 -1
  454. package/dist/chunk-U3ZHU3UY.mjs +0 -1
  455. package/dist/chunk-UG7D3VNG.mjs +0 -1
  456. package/dist/chunk-VBGNLDO6.mjs +0 -4
  457. package/dist/chunk-WV2LZOPM.mjs +0 -1
  458. package/dist/chunk-YX3BAJ2N.mjs +0 -1
  459. package/dist/graphql-NFIL2UYH.mjs +0 -177
  460. package/dist/pattern-1-B7SDCBJ3.png +0 -0
  461. package/dist/waves-6HGOFMRK.jpg +0 -0
@@ -1,470 +0,0 @@
1
- import{a as $n,b as ir}from"./chunk-M6LJ4BNZ.mjs";var Us=ir((iH,op)=>{"use strict";var $s=Object.defineProperty,uE=Object.getOwnPropertyDescriptor,cE=Object.getOwnPropertyNames,dE=Object.prototype.hasOwnProperty,pE=(e,t)=>{for(var r in t)$s(e,r,{get:t[r],enumerable:!0})},fE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of cE(t))!dE.call(e,a)&&a!==r&&$s(e,a,{get:()=>t[a],enumerable:!(n=uE(t,a))||n.enumerable});return e},mE=e=>fE($s({},"__esModule",{value:!0}),e),np={};pE(np,{global:()=>hE});op.exports=mE(np);var hE=(()=>{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})()});var jt=ir((sH,sp)=>{"use strict";var bE=Object.create,No=Object.defineProperty,yE=Object.getOwnPropertyDescriptor,gE=Object.getOwnPropertyNames,vE=Object.getPrototypeOf,_E=Object.prototype.hasOwnProperty,rr=(e,t)=>No(e,"name",{value:t,configurable:!0}),EE=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),wE=(e,t)=>{for(var r in t)No(e,r,{get:t[r],enumerable:!0})},ap=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of gE(t))!_E.call(e,a)&&a!==r&&No(e,a,{get:()=>t[a],enumerable:!(n=yE(t,a))||n.enumerable});return e},RE=(e,t,r)=>(r=e!=null?bE(vE(e)):{},ap(t||!e||!e.__esModule?No(r,"default",{value:e,enumerable:!0}):r,e)),CE=e=>ap(No({},"__esModule",{value:!0}),e),SE=EE((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=rr((p,m)=>{for(var h in m)r(p,h,{get:m[h],enumerable:!0})},"__export"),l=rr((p,m,h,b)=>{if(m&&typeof m=="object"||typeof m=="function")for(let y of a(m))!i.call(p,y)&&y!==h&&r(p,y,{get:rr(()=>m[y],"get"),enumerable:!(b=n(m,y))||b.enumerable});return p},"__copyProps"),u=rr(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:rr(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),ip={};wE(ip,{deprecate:()=>OE,logger:()=>Ma,once:()=>Jt,pretty:()=>hr});sp.exports=CE(ip);var AE=RE(SE(),1),{LOGLEVEL:PE}=AE.global,Xr={trace:1,debug:2,info:3,warn:4,error:5,silent:10},TE=PE,Un=Xr[TE]||Xr.info,Ma={trace:rr((e,...t)=>{Un<=Xr.trace&&console.trace(e,...t)},"trace"),debug:rr((e,...t)=>{Un<=Xr.debug&&console.debug(e,...t)},"debug"),info:rr((e,...t)=>{Un<=Xr.info&&console.info(e,...t)},"info"),warn:rr((e,...t)=>{Un<=Xr.warn&&console.warn(e,...t)},"warn"),error:rr((e,...t)=>{Un<=Xr.error&&console.error(e,...t)},"error"),log:rr((e,...t)=>{Un<Xr.silent&&console.log(e,...t)},"log")},Hs=new Set,Jt=rr(e=>(t,...r)=>{if(!Hs.has(t))return Hs.add(t),Ma[e](t,...r)},"once");Jt.clear=()=>Hs.clear();Jt.trace=Jt("trace");Jt.debug=Jt("debug");Jt.info=Jt("info");Jt.warn=Jt("warn");Jt.error=Jt("error");Jt.log=Jt("log");var OE=Jt("warn"),hr=rr(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,a=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(a,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}Ma[e].apply(Ma,r)},"pretty");hr.trace=hr("trace");hr.debug=hr("debug");hr.info=hr("info");hr.warn=hr("warn");hr.error=hr("error")});var Vs=ir((lH,lp)=>{"use strict";lp.exports=jt()});var Sr=ir((uH,cp)=>{"use strict";var Gs=Object.defineProperty,qE=Object.getOwnPropertyDescriptor,xE=Object.getOwnPropertyNames,ME=Object.prototype.hasOwnProperty,NE=(e,t)=>{for(var r in t)Gs(e,r,{get:t[r],enumerable:!0})},jE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of xE(t))!ME.call(e,a)&&a!==r&&Gs(e,a,{get:()=>t[a],enumerable:!(n=qE(t,a))||n.enumerable});return e},IE=e=>jE(Gs({},"__esModule",{value:!0}),e),up={};NE(up,{ARGTYPES_INFO_REQUEST:()=>Fw,ARGTYPES_INFO_RESPONSE:()=>Bw,CHANNEL_CREATED:()=>BE,CHANNEL_WS_DISCONNECT:()=>FE,CONFIG_ERROR:()=>LE,CREATE_NEW_STORYFILE_REQUEST:()=>kE,CREATE_NEW_STORYFILE_RESPONSE:()=>$E,CURRENT_STORY_WAS_SET:()=>UE,DOCS_PREPARED:()=>HE,DOCS_RENDERED:()=>VE,FILE_COMPONENT_SEARCH_REQUEST:()=>GE,FILE_COMPONENT_SEARCH_RESPONSE:()=>zE,FORCE_REMOUNT:()=>YE,FORCE_RE_RENDER:()=>WE,GLOBALS_UPDATED:()=>KE,NAVIGATE_URL:()=>JE,PLAY_FUNCTION_THREW_EXCEPTION:()=>XE,PRELOAD_ENTRIES:()=>ZE,PREVIEW_BUILDER_PROGRESS:()=>ew,PREVIEW_KEYDOWN:()=>tw,REGISTER_SUBSCRIPTION:()=>rw,REQUEST_WHATS_NEW_DATA:()=>qw,RESET_STORY_ARGS:()=>nw,RESULT_WHATS_NEW_DATA:()=>xw,SAVE_STORY_REQUEST:()=>Iw,SAVE_STORY_RESPONSE:()=>Dw,SELECT_STORY:()=>ow,SET_CONFIG:()=>aw,SET_CURRENT_STORY:()=>iw,SET_FILTER:()=>sw,SET_GLOBALS:()=>lw,SET_INDEX:()=>uw,SET_STORIES:()=>cw,SET_WHATS_NEW_CACHE:()=>Mw,SHARED_STATE_CHANGED:()=>dw,SHARED_STATE_SET:()=>pw,STORIES_COLLAPSE_ALL:()=>fw,STORIES_EXPAND_ALL:()=>mw,STORY_ARGS_UPDATED:()=>hw,STORY_CHANGED:()=>bw,STORY_ERRORED:()=>yw,STORY_FINISHED:()=>Rw,STORY_INDEX_INVALIDATED:()=>gw,STORY_MISSING:()=>vw,STORY_PREPARED:()=>_w,STORY_RENDERED:()=>ww,STORY_RENDER_PHASE_CHANGED:()=>Ew,STORY_SPECIFIED:()=>Cw,STORY_THREW_EXCEPTION:()=>Sw,STORY_UNCHANGED:()=>Aw,TELEMETRY_ERROR:()=>jw,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>Hw,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>Vw,TESTING_MODULE_CRASH_REPORT:()=>Lw,TESTING_MODULE_PROGRESS_REPORT:()=>kw,TESTING_MODULE_RUN_ALL_REQUEST:()=>Uw,TESTING_MODULE_RUN_REQUEST:()=>$w,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>Nw,UNHANDLED_ERRORS_WHILE_PLAYING:()=>QE,UPDATE_GLOBALS:()=>Pw,UPDATE_QUERY_PARAMS:()=>Tw,UPDATE_STORY_ARGS:()=>Ow,default:()=>DE});cp.exports=IE(up);var zs=(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.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_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.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e))(zs||{}),DE=zs,{CHANNEL_WS_DISCONNECT:FE,CHANNEL_CREATED:BE,CONFIG_ERROR:LE,CREATE_NEW_STORYFILE_REQUEST:kE,CREATE_NEW_STORYFILE_RESPONSE:$E,CURRENT_STORY_WAS_SET:UE,DOCS_PREPARED:HE,DOCS_RENDERED:VE,FILE_COMPONENT_SEARCH_REQUEST:GE,FILE_COMPONENT_SEARCH_RESPONSE:zE,FORCE_RE_RENDER:WE,FORCE_REMOUNT:YE,GLOBALS_UPDATED:KE,NAVIGATE_URL:JE,PLAY_FUNCTION_THREW_EXCEPTION:XE,UNHANDLED_ERRORS_WHILE_PLAYING:QE,PRELOAD_ENTRIES:ZE,PREVIEW_BUILDER_PROGRESS:ew,PREVIEW_KEYDOWN:tw,REGISTER_SUBSCRIPTION:rw,RESET_STORY_ARGS:nw,SELECT_STORY:ow,SET_CONFIG:aw,SET_CURRENT_STORY:iw,SET_FILTER:sw,SET_GLOBALS:lw,SET_INDEX:uw,SET_STORIES:cw,SHARED_STATE_CHANGED:dw,SHARED_STATE_SET:pw,STORIES_COLLAPSE_ALL:fw,STORIES_EXPAND_ALL:mw,STORY_ARGS_UPDATED:hw,STORY_CHANGED:bw,STORY_ERRORED:yw,STORY_INDEX_INVALIDATED:gw,STORY_MISSING:vw,STORY_PREPARED:_w,STORY_RENDER_PHASE_CHANGED:Ew,STORY_RENDERED:ww,STORY_FINISHED:Rw,STORY_SPECIFIED:Cw,STORY_THREW_EXCEPTION:Sw,STORY_UNCHANGED:Aw,UPDATE_GLOBALS:Pw,UPDATE_QUERY_PARAMS:Tw,UPDATE_STORY_ARGS:Ow,REQUEST_WHATS_NEW_DATA:qw,RESULT_WHATS_NEW_DATA:xw,SET_WHATS_NEW_CACHE:Mw,TOGGLE_WHATS_NEW_NOTIFICATIONS:Nw,TELEMETRY_ERROR:jw,SAVE_STORY_REQUEST:Iw,SAVE_STORY_RESPONSE:Dw,ARGTYPES_INFO_REQUEST:Fw,ARGTYPES_INFO_RESPONSE:Bw,TESTING_MODULE_CRASH_REPORT:Lw,TESTING_MODULE_PROGRESS_REPORT:kw,TESTING_MODULE_RUN_REQUEST:$w,TESTING_MODULE_RUN_ALL_REQUEST:Uw,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:Hw,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Vw}=zs});var pp=ir((cH,dp)=>{"use strict";dp.exports=Sr()});var Ws=ir((exports,module)=>{"use strict";var Le=Object.create,z=Object.defineProperty,Me=Object.getOwnPropertyDescriptor,Fe=Object.getOwnPropertyNames,Ue=Object.getPrototypeOf,$e=Object.prototype.hasOwnProperty,o=(e,t)=>z(e,"name",{value:t,configurable:!0}),F=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ke=(e,t)=>{for(var r in t)z(e,r,{get:t[r],enumerable:!0})},he=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Fe(t))!$e.call(e,a)&&a!==r&&z(e,a,{get:()=>t[a],enumerable:!(n=Me(t,a))||n.enumerable});return e},I=(e,t,r)=>(r=e!=null?Le(Ue(e)):{},he(t||!e||!e.__esModule?z(r,"default",{value:e,enumerable:!0}):r,e)),Ge=e=>he(z({},"__esModule",{value:!0}),e),te=F((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=o((p,m)=>{for(var h in m)r(p,h,{get:m[h],enumerable:!0})},"__export"),l=o((p,m,h,b)=>{if(m&&typeof m=="object"||typeof m=="function")for(let y of a(m))!i.call(p,y)&&y!==h&&r(p,y,{get:o(()=>m[y],"get"),enumerable:!(b=n(m,y))||b.enumerable});return p},"__copyProps"),u=o(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:o(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),me=F(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var s=i.reduce(function(d,c){var p=c.match(/\n([\t ]+|(?!\s).)/g);return p?d.concat(p.map(function(m){var h,b;return(b=(h=m.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&b!==void 0?b:0})):d},[]);if(s.length){var l=new RegExp(`
2
- [ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(d){return d.replace(l,`
3
- `)})}i[0]=i[0].replace(/^\r?\n/,"");var u=i[0];return n.forEach(function(d,c){var p=u.match(/(?:^|\n)( *)$/),m=p?p[1]:"",h=d;typeof d=="string"&&d.includes(`
4
- `)&&(h=String(d).split(`
5
- `).map(function(b,y){return y===0?b:""+m+b}).join(`
6
- `)),u+=h+i[c+1]}),u}o(t,"dedent"),e.dedent=t,e.default=t}),_e=F((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}o(r,"Similar"),r.prototype.get=function(n){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,n))return this.lastItem.val;if(a=this.indexOf(n),a>=0)return this.lastItem=this.list[a],this.list[a].val},r.prototype.set=function(n,a){var i;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=a,this):(i=this.indexOf(n),i>=0?(this.lastItem=this.list[i],this.list[i].val=a,this):(this.lastItem={key:n,val:a},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(n){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),a=this.indexOf(n),a>=0)return this.size--,this.list.splice(a,1)[0]},r.prototype.has=function(n){var a;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(a=this.indexOf(n),a>=0?(this.lastItem=this.list[a],!0):!1)},r.prototype.forEach=function(n,a){var i;for(i=0;i<this.size;i++)n.call(a||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(n){var a;for(a=0;a<this.size;a++)if(this.isEqual(this.list[a].key,n))return a;return-1},r.prototype.isEqual=function(n,a){return n===a||n!==n&&a!==a},t.exports=r}),Ee=F((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var n=_e();return new n}else return new Map}}),Ce=F((e,t)=>{var r=Ee();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(d){var c=o(function(){var p=l,m,h,b=arguments.length-1,y=Array(b+1),v=!0,g;if((c.numArgs||c.numArgs===0)&&c.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(g=0;g<b;g++){if(y[g]={cacheItem:p,arg:arguments[g]},p.has(arguments[g])){p=p.get(arguments[g]);continue}v=!1,m=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[g],m),p=m}return v&&(p.has(arguments[b])?h=p.get(arguments[b]):v=!1),v||(h=d.apply(null,arguments),p.set(arguments[b],h)),s>0&&(y[b]={cacheItem:p,arg:arguments[b]},v?n(u,y):u.push(y),u.length>s&&a(u.shift())),c.wasMemoized=v,c.numArgs=b+1,h},"memoizerific");return c.limit=s,c.wasMemoized=!1,c.cache=l,c.lru=u,c}};function n(s,l){var u=s.length,d=l.length,c,p,m;for(p=0;p<u;p++){for(c=!0,m=0;m<d;m++)if(!i(s[p][m].arg,l[m].arg)){c=!1;break}if(c)break}s.push(s.splice(p,1)[0])}o(n,"moveToMostRecentLru");function a(s){var l=s.length,u=s[l-1],d,c;for(u.cacheItem.delete(u.arg),c=l-2;c>=0&&(u=s[c],d=u.cacheItem.get(u.arg),!d||!d.size);c--)u.cacheItem.delete(u.arg)}o(a,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}o(i,"isEqual")}),oe=F((exports,module)=>{"use strict";var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=o((e,t)=>o(function(){return t||(0,e[__getOwnPropNames(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),__export=o((e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},"__export"),__copyProps=o((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of __getOwnPropNames(t))!__hasOwnProp.call(e,a)&&a!==r&&__defProp(e,a,{get:o(()=>t[a],"get"),enumerable:!(n=__getOwnPropDesc(t,a))||n.enumerable});return e},"__copyProps"),__toESM=o((e,t,r)=>(r=e!=null?__create(__getProtoOf(e)):{},__copyProps(t||!e||!e.__esModule?__defProp(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),__toCommonJS=o(e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),"__toCommonJS"),require_shams=__commonJS({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=o(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n 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!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),require_has_symbols=__commonJS({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=require_shams();t.exports=o(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),require_implementation=__commonJS({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,i="[object Function]";t.exports=o(function(s){var l=this;if(typeof l!="function"||a.call(l)!==i)throw new TypeError(r+l);for(var u=n.call(arguments,1),d,c=o(function(){if(this instanceof d){var y=l.apply(this,u.concat(n.call(arguments)));return Object(y)===y?y:this}else return l.apply(s,u.concat(n.call(arguments)))},"binder"),p=Math.max(0,l.length-u.length),m=[],h=0;h<p;h++)m.push("$"+h);if(d=Function("binder","return function ("+m.join(",")+"){ return binder.apply(this,arguments); }")(c),l.prototype){var b=o(function(){},"Empty2");b.prototype=l.prototype,d.prototype=new b,b.prototype=null}return d},"bind")}}),require_function_bind=__commonJS({"node_modules/function-bind/index.js"(e,t){"use strict";var r=require_implementation();t.exports=Function.prototype.bind||r}}),require_src=__commonJS({"node_modules/has/src/index.js"(e,t){"use strict";var r=require_function_bind();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),require_get_intrinsic=__commonJS({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,a=Function,i=TypeError,s=o(function(ee){try{return a('"use strict"; return ('+ee+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=o(function(){throw new i},"throwTypeError"),d=l?function(){try{return arguments.callee,u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,c=require_has_symbols()(),p=Object.getPrototypeOf||function(ee){return ee.__proto__},m={},h=typeof Uint8Array>"u"?r:p(Uint8Array),b={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":c?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":m,"%AsyncGenerator%":m,"%AsyncGeneratorFunction%":m,"%AsyncIteratorPrototype%":m,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":m,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":c?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!c?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!c?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":c?p(""[Symbol.iterator]()):r,"%Symbol%":c?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":h,"%TypeError%":i,"%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%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},y=o(function ee(Q){var x;if(Q==="%AsyncFunction%")x=s("async function () {}");else if(Q==="%GeneratorFunction%")x=s("function* () {}");else if(Q==="%AsyncGeneratorFunction%")x=s("async function* () {}");else if(Q==="%AsyncGenerator%"){var D=ee("%AsyncGeneratorFunction%");D&&(x=D.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var J=ee("%AsyncGenerator%");J&&(x=p(J.prototype))}return b[Q]=x,x},"doEval2"),v={"%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"]},g=require_function_bind(),E=require_src(),T=g.call(Function.call,Array.prototype.concat),M=g.call(Function.apply,Array.prototype.splice),O=g.call(Function.call,String.prototype.replace),A=g.call(Function.call,String.prototype.slice),w=g.call(Function.call,RegExp.prototype.exec),S=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,N=/\\(\\)?/g,Y=o(function(ee){var Q=A(ee,0,1),x=A(ee,-1);if(Q==="%"&&x!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(x==="%"&&Q!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var D=[];return O(ee,S,function(J,ve,ye,xe){D[D.length]=ye?O(xe,N,"$1"):ve||J}),D},"stringToPath3"),K=o(function(ee,Q){var x=ee,D;if(E(v,x)&&(D=v[x],x="%"+D[0]+"%"),E(b,x)){var J=b[x];if(J===m&&(J=y(x)),typeof J>"u"&&!Q)throw new i("intrinsic "+ee+" exists, but is not available. Please file an issue!");return{alias:D,name:x,value:J}}throw new n("intrinsic "+ee+" does not exist!")},"getBaseIntrinsic2");t.exports=o(function(ee,Q){if(typeof ee!="string"||ee.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof Q!="boolean")throw new i('"allowMissing" argument must be a boolean');if(w(/^%?[^%]*%?$/,ee)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var x=Y(ee),D=x.length>0?x[0]:"",J=K("%"+D+"%",Q),ve=J.name,ye=J.value,xe=!1,De=J.alias;De&&(D=De[0],M(x,T([0,1],De)));for(var je=1,be=!0;je<x.length;je+=1){var de=x[je],ge=A(de,0,1),Te=A(de,-1);if((ge==='"'||ge==="'"||ge==="`"||Te==='"'||Te==="'"||Te==="`")&&ge!==Te)throw new n("property names with quotes must have matching quotes");if((de==="constructor"||!be)&&(xe=!0),D+="."+de,ve="%"+D+"%",E(b,ve))ye=b[ve];else if(ye!=null){if(!(de in ye)){if(!Q)throw new i("base intrinsic for "+ee+" exists, but the property is not available.");return}if(l&&je+1>=x.length){var Re=l(ye,de);be=!!Re,be&&"get"in Re&&!("originalValue"in Re.get)?ye=Re.get:ye=ye[de]}else be=E(ye,de),ye=ye[de];be&&!xe&&(b[ve]=ye)}}return ye},"GetIntrinsic")}}),require_call_bind=__commonJS({"node_modules/call-bind/index.js"(e,t){"use strict";var r=require_function_bind(),n=require_get_intrinsic(),a=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,a),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=o(function(p){var m=s(r,i,arguments);if(l&&u){var h=l(m,"length");h.configurable&&u(m,"length",{value:1+d(0,p.length-(arguments.length-1))})}return m},"callBind");var c=o(function(){return s(r,a,arguments)},"applyBind2");u?u(t.exports,"apply",{value:c}):t.exports.apply=c}}),require_callBound=__commonJS({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=require_get_intrinsic(),n=require_call_bind(),a=n(r("String.prototype.indexOf"));t.exports=o(function(i,s){var l=r(i,!!s);return typeof l=="function"&&a(i,".prototype.")>-1?n(l):l},"callBoundIntrinsic")}}),require_shams2=__commonJS({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=require_shams();t.exports=o(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),require_is_regex=__commonJS({"node_modules/is-regex/index.js"(e,t){"use strict";var r=require_callBound(),n=require_shams2()(),a,i,s,l;n&&(a=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},u=o(function(){throw s},"throwRegexMarker"),l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,d=r("Object.prototype.toString"),c=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=o(n?function(m){if(!m||typeof m!="object")return!1;var h=c(m,"lastIndex"),b=h&&a(h,"value");if(!b)return!1;try{i(m,l)}catch(y){return y===s}}:function(m){return!m||typeof m!="object"&&typeof m!="function"?!1:d(m)===p},"isRegex")}}),require_is_function=__commonJS({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var i=r.call(a);return i==="[object Function]"||typeof a=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}o(n,"isFunction3")}}),require_is_symbol=__commonJS({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=require_has_symbols()();n?(a=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=o(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(a.call(l))},"isRealSymbolObject"),t.exports=o(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}},"isSymbol3")):t.exports=o(function(l){return!1},"isSymbol3");var a,i,s}}),src_exports={};__export(src_exports,{isJSON:o(()=>isJSON,"isJSON"),parse:o(()=>parse,"parse"),replacer:o(()=>replacer,"replacer"),reviver:o(()=>reviver2,"reviver"),stringify:o(()=>stringify,"stringify")}),module.exports=__toCommonJS(src_exports);var import_is_regex=__toESM(require_is_regex()),import_is_function=__toESM(require_is_function()),import_is_symbol=__toESM(require_is_symbol());function isObject(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}o(isObject,"isObject");var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal_default=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty.call(e,symToStringTag),r=e[symToStringTag];try{e[symToStringTag]=void 0;var n=!0}catch{}var a=nativeObjectToString.call(e);return n&&(t?e[symToStringTag]=r:delete e[symToStringTag]),a}o(getRawTag,"getRawTag");var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(e){return nativeObjectToString2.call(e)}o(objectToString,"objectToString");var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(e)?getRawTag_default(e):objectToString_default(e)}o(baseGetTag,"baseGetTag");var baseGetTag_default=baseGetTag;function isObjectLike(e){return e!=null&&typeof e=="object"}o(isObjectLike,"isObjectLike");var isObjectLike_default=isObjectLike,symbolTag="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||isObjectLike_default(e)&&baseGetTag_default(e)==symbolTag}o(isSymbol,"isSymbol");var isSymbol_default=isSymbol;function arrayMap(e,t){for(var r=-1,n=e==null?0:e.length,a=Array(n);++r<n;)a[r]=t(e[r],r,e);return a}o(arrayMap,"arrayMap");var arrayMap_default=arrayMap,isArray=Array.isArray,isArray_default=isArray,INFINITY=1/0,symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(e){if(typeof e=="string")return e;if(isArray_default(e))return arrayMap_default(e,baseToString)+"";if(isSymbol_default(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return t=="0"&&1/e==-INFINITY?"-0":t}o(baseToString,"baseToString");var baseToString_default=baseToString;function isObject2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}o(isObject2,"isObject2");var isObject_default=isObject2,asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject_default(e))return!1;var t=baseGetTag_default(e);return t==funcTag||t==genTag||t==asyncTag||t==proxyTag}o(isFunction,"isFunction");var isFunction_default=isFunction,coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}o(isMasked,"isMasked");var isMasked_default=isMasked,funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(e){if(e!=null){try{return funcToString.call(e)}catch{}try{return e+""}catch{}}return""}o(toSource,"toSource");var toSource_default=toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject_default(e)||isMasked_default(e))return!1;var t=isFunction_default(e)?reIsNative:reIsHostCtor;return t.test(toSource_default(e))}o(baseIsNative,"baseIsNative");var baseIsNative_default=baseIsNative;function getValue(e,t){return e?.[t]}o(getValue,"getValue");var getValue_default=getValue;function getNative(e,t){var r=getValue_default(e,t);return baseIsNative_default(r)?r:void 0}o(getNative,"getNative");var getNative_default=getNative;function eq(e,t){return e===t||e!==e&&t!==t}o(eq,"eq");var eq_default=eq,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){if(isArray_default(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol_default(e)?!0:reIsPlainProp.test(e)||!reIsDeepProp.test(e)||t!=null&&e in Object(t)}o(isKey,"isKey");var isKey_default=isKey,nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}o(hashClear,"hashClear");var hashClear_default=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}o(hashDelete,"hashDelete");var hashDelete_default=hashDelete,HASH_UNDEFINED="__lodash_hash_undefined__",objectProto4=Object.prototype,hasOwnProperty3=objectProto4.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate_default){var r=t[e];return r===HASH_UNDEFINED?void 0:r}return hasOwnProperty3.call(t,e)?t[e]:void 0}o(hashGet,"hashGet");var hashGet_default=hashGet,objectProto5=Object.prototype,hasOwnProperty4=objectProto5.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate_default?t[e]!==void 0:hasOwnProperty4.call(t,e)}o(hashHas,"hashHas");var hashHas_default=hashHas,HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate_default&&t===void 0?HASH_UNDEFINED2:t,this}o(hashSet,"hashSet");var hashSet_default=hashSet;function Hash(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])}}o(Hash,"Hash"),Hash.prototype.clear=hashClear_default,Hash.prototype.delete=hashDelete_default,Hash.prototype.get=hashGet_default,Hash.prototype.has=hashHas_default,Hash.prototype.set=hashSet_default;var Hash_default=Hash;function listCacheClear(){this.__data__=[],this.size=0}o(listCacheClear,"listCacheClear");var listCacheClear_default=listCacheClear;function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq_default(e[r][0],t))return r;return-1}o(assocIndexOf,"assocIndexOf");var assocIndexOf_default=assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=assocIndexOf_default(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():splice.call(t,r,1),--this.size,!0}o(listCacheDelete,"listCacheDelete");var listCacheDelete_default=listCacheDelete;function listCacheGet(e){var t=this.__data__,r=assocIndexOf_default(t,e);return r<0?void 0:t[r][1]}o(listCacheGet,"listCacheGet");var listCacheGet_default=listCacheGet;function listCacheHas(e){return assocIndexOf_default(this.__data__,e)>-1}o(listCacheHas,"listCacheHas");var listCacheHas_default=listCacheHas;function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf_default(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}o(listCacheSet,"listCacheSet");var listCacheSet_default=listCacheSet;function ListCache(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])}}o(ListCache,"ListCache"),ListCache.prototype.clear=listCacheClear_default,ListCache.prototype.delete=listCacheDelete_default,ListCache.prototype.get=listCacheGet_default,ListCache.prototype.has=listCacheHas_default,ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache,Map2=getNative_default(root_default,"Map"),Map_default=Map2;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}o(mapCacheClear,"mapCacheClear");var mapCacheClear_default=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}o(isKeyable,"isKeyable");var isKeyable_default=isKeyable;function getMapData(e,t){var r=e.__data__;return isKeyable_default(t)?r[typeof t=="string"?"string":"hash"]:r.map}o(getMapData,"getMapData");var getMapData_default=getMapData;function mapCacheDelete(e){var t=getMapData_default(this,e).delete(e);return this.size-=t?1:0,t}o(mapCacheDelete,"mapCacheDelete");var mapCacheDelete_default=mapCacheDelete;function mapCacheGet(e){return getMapData_default(this,e).get(e)}o(mapCacheGet,"mapCacheGet");var mapCacheGet_default=mapCacheGet;function mapCacheHas(e){return getMapData_default(this,e).has(e)}o(mapCacheHas,"mapCacheHas");var mapCacheHas_default=mapCacheHas;function mapCacheSet(e,t){var r=getMapData_default(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}o(mapCacheSet,"mapCacheSet");var mapCacheSet_default=mapCacheSet;function MapCache(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])}}o(MapCache,"MapCache"),MapCache.prototype.clear=mapCacheClear_default,MapCache.prototype.delete=mapCacheDelete_default,MapCache.prototype.get=mapCacheGet_default,MapCache.prototype.has=mapCacheHas_default,MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT);var r=o(function(){var n=arguments,a=t?t.apply(this,n):n[0],i=r.cache;if(i.has(a))return i.get(a);var s=e.apply(this,n);return r.cache=i.set(a,s)||i,s},"memoized");return r.cache=new(memoize.Cache||MapCache_default),r}o(memoize,"memoize"),memoize.Cache=MapCache_default;var memoize_default=memoize,MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var t=memoize_default(e,function(n){return r.size===MAX_MEMOIZE_SIZE&&r.clear(),n}),r=t.cache;return t}o(memoizeCapped,"memoizeCapped");var memoizeCapped_default=memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped_default(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rePropName,function(r,n,a,i){t.push(a?i.replace(reEscapeChar,"$1"):n||r)}),t}),stringToPath_default=stringToPath;function toString(e){return e==null?"":baseToString_default(e)}o(toString,"toString");var toString_default=toString;function castPath(e,t){return isArray_default(e)?e:isKey_default(e,t)?[e]:stringToPath_default(toString_default(e))}o(castPath,"castPath");var castPath_default=castPath,INFINITY2=1/0;function toKey(e){if(typeof e=="string"||isSymbol_default(e))return e;var t=e+"";return t=="0"&&1/e==-INFINITY2?"-0":t}o(toKey,"toKey");var toKey_default=toKey;function baseGet(e,t){t=castPath_default(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[toKey_default(t[r++])];return r&&r==n?e:void 0}o(baseGet,"baseGet");var baseGet_default=baseGet;function get(e,t,r){var n=e==null?void 0:baseGet_default(e,t);return n===void 0?r:n}o(get,"get");var get_default=get,import_memoizerific=__toESM(Ce()),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(e){let t=eventProperties.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&customEventSpecificProperties.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}o(extractEventHiddenProperties,"extractEventHiddenProperties");var isObject3=isObject,removeCodeComments=o(e=>{let t=null,r=!1,n=!1,a=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s<e.length;s+=1)!t&&!r&&!n&&!a?e[s]==='"'||e[s]==="'"||e[s]==="`"?t=e[s]:e[s]==="/"&&e[s+1]==="*"?r=!0:e[s]==="/"&&e[s+1]==="/"?n=!0:e[s]==="/"&&e[s+1]!=="/"&&(a=!0):(t&&(e[s]===t&&e[s-1]!=="\\"||e[s]===`
7
- `&&t!=="`")&&(t=null),a&&(e[s]==="/"&&e[s-1]!=="\\"||e[s]===`
8
- `)&&(a=!1),r&&e[s-1]==="/"&&e[s-2]==="*"&&(r=!1),n&&e[s]===`
9
- `&&(n=!1)),!r&&!n&&(i+=e[s]);else i=e;return i},"removeCodeComments"),cleanCode=(0,import_memoizerific.default)(1e4)(e=>removeCodeComments(e).replace(/\n\s*/g,"").trim()),convertShorthandMethods=o(function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},"convertShorthandMethods2"),dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=o(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function convertUnconventionalData(e){if(!isObject3(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=extractEventHiddenProperties(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}o(convertUnconventionalData,"convertUnconventionalData");var replacer=o(function(e){let t,r,n,a;return o(function(i,s){try{if(i==="")return a=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),a.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return dateFormat.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,import_is_regex.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,import_is_function.default)(s)){if(!e.allowFunction)return;let{name:d}=s,c=s.toString();return c.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${cleanCode(convertShorthandMethods(i,c))}`}if((0,import_is_symbol.default)(s)){if(!e.allowSymbol)return;let d=Symbol.keyFor(s);return d!==void 0?`_gsymbol_${d}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(a)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let u=t.get(s);if(!u){let d=Array.isArray(s)?s:convertUnconventionalData(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":s.constructor.name})}catch{}return a.push(i),n.unshift(d),t.set(s,JSON.stringify(a)),s!==d&&r.set(s,d),d}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),reviver2=o(function reviver(options){let refs=[],root;return o(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=isJSON(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=get_default(root,n)})),key==="_constructor-name_")return value;if(isObject3(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(isObject3(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=o((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:o(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=o((e,t={})=>{let r={...defaultOptions,...t};return JSON.stringify(convertUnconventionalData(e),replacer(r),t.space)},"stringify"),mutator=o(()=>{let e=new Map;return o(function t(r){isObject3(r)&&Object.entries(r).forEach(([n,a])=>{a==="_undefined_"?r[n]=void 0:e.get(a)||(e.set(a,!0),t(a))}),Array.isArray(r)&&r.forEach((n,a)=>{n==="_undefined_"?(e.set(n,!0),r[a]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),parse=o((e,t={})=>{let r={...defaultOptions,...t},n=JSON.parse(e,reviver2(r));return mutator()(n),n},"parse")}),lt={};ke(lt,{Channel:()=>$,HEARTBEAT_INTERVAL:()=>pe,HEARTBEAT_MAX_LATENCY:()=>ue,PostMessageTransport:()=>G,WebsocketTransport:()=>W,createBrowserChannel:()=>st,default:()=>it});module.exports=Ge(lt);var Ie=I(te(),1),R=I(me(),1),ae=new Map,Ke="UNIVERSAL_STORE:",C={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},U=class Ve{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=o(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=o((n,a)=>{let i=typeof n=="function",s=i?"*":n,l=i?n:a;if(this.debug("subscribe",{eventType:s,listener:l}),!l)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(s)||this.listeners.set(s,new Set),this.listeners.get(s).add(l),()=>{this.debug("unsubscribe",{eventType:s,listener:l}),this.listeners.has(s)&&(this.listeners.get(s).delete(l),this.listeners.get(s)?.size===0&&this.listeners.delete(s))}},"subscribe"),this.send=o(n=>{if(this.debug("send",{event:n}),this.status!==Ve.Status.READY)throw new TypeError(R.dedent`Cannot send event before store is ready. You can get the current status with store.status,
10
- or await store.readyPromise to wait for the store to be ready before sending events.
11
- ${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})},"send"),this.debugging=t.debug??!1,!Ve.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ve.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Ve.ActorType.LEADER:Ve.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${Ke}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ve.ActorType.LEADER)this.syncing={state:C.RESOLVED,promise:Promise.resolve()};else{let n,a,i=new Promise((s,l)=>{n=o(()=>{this.syncing.state===C.PENDING&&(this.syncing.state=C.RESOLVED,s())},"syncingResolve"),a=o(u=>{this.syncing.state===C.PENDING&&(this.syncing.state=C.REJECTED,l(u))},"syncingReject")});this.syncing={state:C.PENDING,promise:i,resolve:n,reject:a}}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??Ve.preparation.channel,this.environment=r?.environment??Ve.preparation.environment,this.channel&&this.environment?this.prepareThis({channel:this.channel,environment:this.environment}):Ve.preparation.promise.then(this.prepareThis)}static{o(this,"UniversalStore")}static{this.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"}}static{this.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"}}static{this.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"}}static{this.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"}}static{this.isInternalConstructing=!1}static{Ve.setupPreparationPromise()}static setupPreparationPromise(){let t,r,n=new Promise((a,i)=>{t=o(s=>{a(s)},"resolveRef"),r=o((...s)=>{i(s)},"rejectRef")});Ve.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ve.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return Ve.Status.UNPREPARED;switch(this.syncing?.state){case C.PENDING:case void 0:return Ve.Status.SYNCING;case C.REJECTED:return Ve.Status.ERROR;case C.RESOLVED:default:return Ve.Status.READY}}untilReady(){return Promise.all([Ve.preparation.promise,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(R.dedent`[UniversalStore]
12
- create`,{options:t});let r=ae.get(t.id);if(r)return console.warn(R.dedent`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
13
- You should reuse the existing instance instead of trying to create a new one.`),r;Ve.isInternalConstructing=!0;let n=new Ve(t);return ae.set(t.id,n),n}static __prepare(t,r){Ve.preparation.channel=t,Ve.preparation.environment=r,Ve.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!==Ve.Status.READY)throw new TypeError(R.dedent`Cannot set state before store is ready. You can get the current status with store.status,
14
- or await store.readyPromise to wait for the store to be ready before sending events.
15
- ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let a={type:Ve.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(Ve.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===Ve.ActorType.LEADER?this.emitToChannel({type:Ve.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ve.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ve.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),a=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:a}),[...n??[],...a??[]].forEach(i=>i(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===C.PENDING&&r.type!==Ve.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Ve.ActorType.LEADER){let a=!0;switch(r.type){case Ve.InternalEventType.EXISTING_STATE_REQUEST:a=!1;let i={type:Ve.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:i}),this.emitToChannel(i,{actor:this.actor});break;case Ve.InternalEventType.LEADER_CREATED:a=!1,this.syncing.state=C.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(R.dedent`Detected multiple UniversalStore leaders created with the same id "${this.id}".
16
- Only one leader can exists at a time, your stores are now in an invalid state.
17
- Leaders detected:
18
- this: ${JSON.stringify(this.actor,null,2)}
19
- other: ${JSON.stringify(n.actor,null,2)}`);break}a&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===Ve.ActorType.FOLLOWER)switch(r.type){case Ve.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==C.PENDING)break;this.syncing.resolve?.();let a={type:Ve.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(a,n);break}switch(r.type){case Ve.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(R.dedent`[UniversalStore::${this.id}::${this.environment??Ve.Environment.UNKNOWN}]
20
- ${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ve.preparation.reject(new Error("reset")),Ve.setupPreparationPromise(),Ve.isInternalConstructing=!1}},Ye=o(e=>e.transports!==void 0,"isMulti"),Xe=o(()=>Math.random().toString(16).slice(2),"generateRandomId"),$=class{constructor(e={}){this.sender=Xe(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,Ye(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))})}static{o(this,"Channel")}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 a=o(()=>{this.transports.forEach(i=>{i.send(r,n)}),this.handleEvent(r)},"handler");this.isAsync?setImmediate(a):a()}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=o((...n)=>(this.removeListener(e,r),t(...n)),"onceListener");return r}},_=I(te(),1),k=jt(),rt=I(Sr(),1),H=I(oe(),1),tt=process.env.NODE_ENV==="production",ie="Invariant failed";function V(e,t){if(!e){if(tt)throw new Error(ie);var r=typeof t=="function"?t():t,n=r?"".concat(ie,": ").concat(r):ie;throw new Error(n)}}o(V,"invariant");var Ae=jt(),Oe=o(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.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 s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),a=r?.getAttribute("src");if(a&&n.length===0){let{protocol:i,host:s,pathname:l}=new URL(a,document.location.toString());return`${i}//${s}${l}`}return n.length>0&&Ae.logger.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:se,location:le}=_.global,we="storybook-channel",nt={allowFunction:!1,maxDepth:25},G=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof _.global?.addEventListener=="function"&&_.global.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}static{o(this,"PostMessageTransport")}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,allowFunction:a,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:u,allowClass:d,maxDepth:c,space:p,lazyEval:m}=t||{},h=Object.fromEntries(Object.entries({allowRegExp:n,allowFunction:a,allowSymbol:i,allowDate:s,allowError:l,allowUndefined:u,allowClass:d,maxDepth:c,space:p,lazyEval:m}).filter(([E,T])=>typeof T<"u")),b={...nt,..._.global.CHANNEL_OPTIONS||{},...h},y=this.getFrames(r),v=new URLSearchParams(le?.search||""),g=(0,H.stringify)({key:we,event:e,refId:v.get("refId")},b);return y.length?(this.buffer.length&&this.flush(),y.forEach(E=>{try{E.postMessage(g,"*")}catch{k.logger.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((E,T)=>{this.buffer.push({event:e,resolve:E,reject:T})})}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(se.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 _.global&&_.global.parent&&_.global.parent!==_.global.self?[_.global.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(se.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):_.global&&_.global.parent?[_.global.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(se.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):_.global&&_.global.parent?[_.global.parent]:[]}handleEvent(e){try{let{data:t}=e,{key:r,event:n,refId:a}=typeof t=="string"&&(0,H.isJSON)(t)?(0,H.parse)(t,_.global.CHANNEL_OPTIONS||{}):t;if(r===we){let i=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',s=Object.values(rt).includes(n.type)?`<span style="color: #FF4785">${n.type}</span>`:`<span style="color: #FFAE00">${n.type}</span>`;if(a&&(n.refId=a),n.source=this.config.page==="preview"?e.origin:Oe(e),!n.source){k.pretty.error(`${i} received ${s} but was unable to determine the source of the event`);return}let l=`${i} received ${s} (${t.length})`;k.pretty.debug(le.origin!==n.source?l:`${l} <span style="color: gray">(on ${le.origin} from ${n.source})</span>`,...n.args),V(this.handler,"ChannelHandler should be set"),this.handler(n)}}catch(t){k.logger.error(t)}}},ce=I(te(),1),Pe=I(Sr(),1),q=I(oe(),1),{WebSocket:at}=ce.global,pe=15e3,ue=5e3,W=class{constructor({url:e,onError:t,page:r}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new at(e),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:n})=>{let a=typeof n=="string"&&(0,q.isJSON)(n)?(0,q.parse)(n):n;V(this.handler,"WebsocketTransport handler should be set"),this.handler(a),a.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=n=>{t&&t(n)},this.socket.onclose=n=>{V(this.handler,"WebsocketTransport handler should be set"),this.handler({type:Pe.CHANNEL_WS_DISCONNECT,args:[{reason:n.reason,code:n.code}],from:r||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}static{o(this,"WebsocketTransport")}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},pe+ue)}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=(0,q.stringify)(e,{maxDepth:15,allowFunction:!1,...ce.global.CHANNEL_OPTIONS});this.socket.send(t)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(t=>this.send(t))}},{CONFIG_TYPE:ot}=Ie.global,it=$;function st({page:e,extraTransports:t=[]}){let r=[new G({page:e}),...t];if(ot==="DEVELOPMENT"){let a=window.location.protocol==="http:"?"ws":"wss",{hostname:i,port:s}=window.location,l=`${a}://${i}:${s}/storybook-server-channel`;r.push(new W({url:l,onError:o(()=>{},"onError"),page:e}))}let n=new $({transports:r});return U.__prepare(n,e==="manager"?U.Environment.MANAGER:U.Environment.PREVIEW),n}o(st,"createBrowserChannel")});var Qr=ir((mH,yp)=>{"use strict";var Gw=Object.create,jo=Object.defineProperty,zw=Object.getOwnPropertyDescriptor,Ww=Object.getOwnPropertyNames,Yw=Object.getPrototypeOf,Kw=Object.prototype.hasOwnProperty,Ot=(e,t)=>jo(e,"name",{value:t,configurable:!0}),Jw=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Xw=(e,t)=>{for(var r in t)jo(e,r,{get:t[r],enumerable:!0})},fp=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ww(t))!Kw.call(e,a)&&a!==r&&jo(e,a,{get:()=>t[a],enumerable:!(n=zw(t,a))||n.enumerable});return e},Qw=(e,t,r)=>(r=e!=null?Gw(Yw(e)):{},fp(t||!e||!e.__esModule?jo(r,"default",{value:e,enumerable:!0}):r,e)),Zw=e=>fp(jo({},"__esModule",{value:!0}),e),eR=Jw(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var s=i.reduce(function(d,c){var p=c.match(/\n([\t ]+|(?!\s).)/g);return p?d.concat(p.map(function(m){var h,b;return(b=(h=m.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&b!==void 0?b:0})):d},[]);if(s.length){var l=new RegExp(`
21
- [ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(d){return d.replace(l,`
22
- `)})}i[0]=i[0].replace(/^\r?\n/,"");var u=i[0];return n.forEach(function(d,c){var p=u.match(/(?:^|\n)( *)$/),m=p?p[1]:"",h=d;typeof d=="string"&&d.includes(`
23
- `)&&(h=String(d).split(`
24
- `).map(function(b,y){return y===0?b:""+m+b}).join(`
25
- `)),u+=h+i[c+1]}),u}Ot(t,"dedent"),e.dedent=t,e.default=t}),mp={};Xw(mp,{CalledExtractOnStoreError:()=>nR,CalledPreviewMethodBeforeInitializationError:()=>aR,Category:()=>bp,EmptyIndexError:()=>lR,ImplicitActionsDuringRendering:()=>rR,MdxFileWithNoCsfReferencesError:()=>sR,MissingRenderToCanvasError:()=>oR,MissingStoryAfterHmrError:()=>tR,MissingStoryFromCsfFileError:()=>cR,MountMustBeDestructuredError:()=>pR,NextJsSharpError:()=>hR,NextjsRouterMocksNotAvailable:()=>bR,NoRenderFunctionError:()=>fR,NoStoryMatchError:()=>uR,NoStoryMountedError:()=>mR,StoryIndexFetchError:()=>iR,StoryStoreAccessedBeforeInitializationError:()=>dR,UnknownArgTypesError:()=>yR,UnsupportedViewportDimensionError:()=>gR});yp.exports=Zw(mp);var It=Qw(eR(),1);function Ys({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}Ot(Ys,"parseErrorCode");var Dt=class hp extends Error{constructor(t){super(hp.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}static{Ot(this,"StorybookError")}get fullErrorCode(){return Ys({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:a}){let i;return t===!0?i=`https://storybook.js.org/error/${Ys({code:r,category:n})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
26
- ${t.map(s=>` - ${s}`).join(`
27
- `)}`),`${a}${i!=null?`
28
-
29
- More info: ${i}
30
- `:""}`}},bp=(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))(bp||{}),tR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:1,message:It.dedent`
31
- Couldn't find story matching id '${e.storyId}' after HMR.
32
- - Did you just rename a story?
33
- - Did you remove it from your CSF file?
34
- - Are you sure a story with the id '${e.storyId}' exists?
35
- - Please check the values in the stories field of your main.js config and see if they would match your CSF File.
36
- - Also check the browser console and terminal for potential error messages.`}),this.data=e}static{Ot(this,"MissingStoryAfterHmrError")}},rR=class extends Dt{constructor(e){super({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:It.dedent`
37
- We detected that you use an implicit action arg while ${e.phase} of your story.
38
- ${e.deprecated?`
39
- This is deprecated and won't work in Storybook 8 anymore.
40
- `:""}
41
- Please provide an explicit spy to your args like this:
42
- import { fn } from '@storybook/test';
43
- ...
44
- args: {
45
- ${e.name}: fn()
46
- }`}),this.data=e}static{Ot(this,"ImplicitActionsDuringRendering")}},nR=class extends Dt{static{Ot(this,"CalledExtractOnStoreError")}constructor(){super({category:"PREVIEW_API",code:3,message:It.dedent`
47
- Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
48
-
49
- You probably meant to call \`await preview.extract()\` which does the above for you.`})}},oR=class extends Dt{static{Ot(this,"MissingRenderToCanvasError")}constructor(){super({category:"PREVIEW_API",code:4,message:It.dedent`
50
- Expected your framework's preset to export a \`renderToCanvas\` field.
51
-
52
- Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}},aR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:5,message:It.dedent`
53
- Called \`Preview.${e.methodName}()\` before initialization.
54
-
55
- The preview needs to load the story index before most methods can be called. If you want
56
- to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first.
57
-
58
- If you didn't call the above code, then likely it was called by an addon that needs to
59
- do the above.`}),this.data=e}static{Ot(this,"CalledPreviewMethodBeforeInitializationError")}},iR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:6,message:It.dedent`
60
- Error fetching \`/index.json\`:
61
-
62
- ${e.text}
63
-
64
- If you are in development, this likely indicates a problem with your Storybook process,
65
- check the terminal for errors.
66
-
67
- If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
68
- build.`}),this.data=e}static{Ot(this,"StoryIndexFetchError")}},sR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:7,message:It.dedent`
69
- Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF
70
- references, or autodocs for a CSF file that some doesn't refer to itself.
71
-
72
- This likely is an internal error in Storybook's indexing, or you've attached the
73
- \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}static{Ot(this,"MdxFileWithNoCsfReferencesError")}},lR=class extends Dt{static{Ot(this,"EmptyIndexError")}constructor(){super({category:"PREVIEW_API",code:8,message:It.dedent`
74
- Couldn't find any stories in your Storybook.
75
-
76
- - Please check your stories field of your main.js config: does it match correctly?
77
- - Also check the browser console and terminal for error messages.`})}},uR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:9,message:It.dedent`
78
- Couldn't find story matching '${e.storySpecifier}'.
79
-
80
- - Are you sure a story with that id exists?
81
- - Please check your stories field of your main.js config.
82
- - Also check the browser console and terminal for error messages.`}),this.data=e}static{Ot(this,"NoStoryMatchError")}},cR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:10,message:It.dedent`
83
- Couldn't find story matching id '${e.storyId}' after importing a CSF file.
84
-
85
- The file was indexed as if the story was there, but then after importing the file in the browser
86
- we didn't find the story. Possible reasons:
87
- - You are using a custom story indexer that is misbehaving.
88
- - You have a custom file loader that is removing or renaming exports.
89
-
90
- Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}static{Ot(this,"MissingStoryFromCsfFileError")}},dR=class extends Dt{static{Ot(this,"StoryStoreAccessedBeforeInitializationError")}constructor(){super({category:"PREVIEW_API",code:11,message:It.dedent`
91
- Cannot access the Story Store until the index is ready.
92
-
93
- It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
94
- remove access to the store entirely`})}},pR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:12,message:It.dedent`
95
- Incorrect use of mount in the play function.
96
-
97
- To use mount in the play function, you must satisfy the following two requirements:
98
-
99
- 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
100
- This makes sure that Storybook does not start rendering the story before the play function begins.
101
-
102
- 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
103
- This is because destructuring statements and async/await usages are otherwise transpiled away,
104
- which prevents Storybook from recognizing your usage of \`mount\`.
105
-
106
- Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
107
-
108
- More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
109
-
110
- Received the following play function:
111
- ${e.playFunction}`}),this.data=e}static{Ot(this,"MountMustBeDestructuredError")}},fR=class extends Dt{constructor(e){super({category:"PREVIEW_API",code:14,message:It.dedent`
112
- No render function available for storyId '${e.id}'
113
- `}),this.data=e}static{Ot(this,"NoRenderFunctionError")}},mR=class extends Dt{static{Ot(this,"NoStoryMountedError")}constructor(){super({category:"PREVIEW_API",code:15,message:It.dedent`
114
- No component is mounted in your story.
115
-
116
- This usually occurs when you destructure mount in the play function, but forget to call it.
117
-
118
- For example:
119
-
120
- async play({ mount, canvasElement }) {
121
- // 👈 mount should be called: await mount();
122
- const canvas = within(canvasElement);
123
- const button = await canvas.findByRole('button');
124
- await userEvent.click(button);
125
- };
126
-
127
- Make sure to either remove it or call mount in your play function.
128
- `})}},hR=class extends Dt{static{Ot(this,"NextJsSharpError")}constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:It.dedent`
129
- You are importing avif images, but you don't have sharp installed.
130
-
131
- You have to install sharp in order to use image optimization features in Next.js.
132
- `})}},bR=class extends Dt{constructor(e){super({category:"FRAMEWORK_NEXTJS",code:2,message:It.dedent`
133
- Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment.
134
- `}),this.data=e}static{Ot(this,"NextjsRouterMocksNotAvailable")}},yR=class extends Dt{constructor(e){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:It.dedent`
135
- There was a failure when generating detailed ArgTypes in ${e.language} for:
136
- ${JSON.stringify(e.type,null,2)}
137
-
138
- Storybook will fall back to use a generic type description instead.
139
-
140
- This type is either not supported or it is a bug in the docgen generation in Storybook.
141
- If you think this is a bug, please detail it as much as possible in the Github issue.
142
- `}),this.data=e}static{Ot(this,"UnknownArgTypesError")}},gR=class extends Dt{constructor(e){super({category:"ADDON_VITEST",code:1,message:It.dedent`
143
- Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension.
144
-
145
- The Storybook plugin only supports values in the following units:
146
- - px, vh, vw, em, rem and %.
147
-
148
- 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
149
- `}),this.data=e}static{Ot(this,"UnsupportedViewportDimensionError")}}});var Zr=ir((NH,Np)=>{"use strict";var vR=Object.create,Io=Object.defineProperty,_R=Object.getOwnPropertyDescriptor,ER=Object.getOwnPropertyNames,wR=Object.getPrototypeOf,RR=Object.prototype.hasOwnProperty,Mt=(e,t)=>Io(e,"name",{value:t,configurable:!0}),CR=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),SR=(e,t)=>{for(var r in t)Io(e,r,{get:t[r],enumerable:!0})},Ep=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of ER(t))!RR.call(e,a)&&a!==r&&Io(e,a,{get:()=>t[a],enumerable:!(n=_R(t,a))||n.enumerable});return e},AR=(e,t,r)=>(r=e!=null?vR(wR(e)):{},Ep(t||!e||!e.__esModule?Io(r,"default",{value:e,enumerable:!0}):r,e)),PR=e=>Ep(Io({},"__esModule",{value:!0}),e),TR=CR(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,i){return Mt(function s(l,u,d){var c,p,m,h=t.call(l),b=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(d.indexOf(l)>-1&&d.indexOf(u)>-1)return!0;if(d.push(l,u),h!=b||(c=n(l),p=n(u),c.length!=p.length||c.some(function(y){return!s(l[y],u[y],d)})))return!1;switch(h.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":c=l.entries(),p=u.entries();do if(!s((m=c.next()).value,p.next().value,d))return!1;while(!m.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(m=0;m<l.length;m++)if((m in l||m in u)&&(m in l!=m in u||!s(l[m],u[m],d)))return!1;return!0;case"Object":return s(r(l),r(u),d);default:return!1}},"n")(a,i,[])}}()}),wp={};SR(wp,{__definePreview:()=>Sp,combineTags:()=>jR,includeConditionalArg:()=>qR,isExportStory:()=>Mp,isMeta:()=>Pp,isPreview:()=>Ap,isStory:()=>qp,parseKind:()=>NR,sanitize:()=>xp,storyNameFromExport:()=>MR,toId:()=>xR});Np.exports=PR(wp);function Rp(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,a)=>`${r} ${n}${a}`).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()}Mt(Rp,"toStartCaseStr");var gp=AR(TR(),1),Cp=Mt(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),OR=Mt((e,t)=>{let{exists:r,eq:n,neq:a,truthy:i}=e;if(Cp([r,n,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:a})}`);if(typeof n<"u")return(0,gp.isEqual)(t,n);if(typeof a<"u")return!(0,gp.isEqual)(t,a);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},"testValue"),qR=Mt((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:a}=e.if;if(Cp([n,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:a})}`);let i=n?t[n]:r[a];return OR(e.if,i)},"includeConditionalArg"),vp=Na();function Sp(e){let t,r={_tag:"Preview",input:e,get composed(){if(t)return t;let{addons:n,...a}=e;return t=(0,vp.normalizeProjectAnnotations)((0,vp.composeConfigs)([...n??[],a])),t},meta(n){return Tp(n,this)}};return globalThis.globalProjectAnnotations=r.composed,r}Mt(Sp,"__definePreview");function Ap(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Preview"}Mt(Ap,"isPreview");function Pp(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Meta"}Mt(Pp,"isMeta");function Tp(e,t){return{_tag:"Meta",input:e,preview:t,get composed(){throw new Error("Not implemented")},story(r){return Op(r,this)}}}Mt(Tp,"defineMeta");function Op(e,t){return{_tag:"Story",input:e,meta:t,get composed(){throw new Error("Not implemented")}}}Mt(Op,"defineStory");function qp(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}Mt(qp,"isStory");var xp=Mt(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),_p=Mt((e,t)=>{let r=xp(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),xR=Mt((e,t)=>`${_p(e,"kind")}${t?`--${_p(t,"name")}`:""}`,"toId"),MR=Mt(e=>Rp(e),"storyNameFromExport");function Ks(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}Mt(Ks,"matches");function Mp(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||Ks(e,t))&&(!r||!Ks(e,r))}Mt(Mp,"isExportStory");var NR=Mt((e,{rootSeparator:t,groupSeparator:r})=>{let[n,a]=e.split(t,2),i=(a||e).split(r).filter(s=>!!s);return{root:a?n:null,groups:i}},"parseKind"),jR=Mt((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags")});var Na=ir((jH,cm)=>{"use strict";var IR=Object.create,Uo=Object.defineProperty,DR=Object.getOwnPropertyDescriptor,FR=Object.getOwnPropertyNames,BR=Object.getPrototypeOf,LR=Object.prototype.hasOwnProperty,j=(e,t)=>Uo(e,"name",{value:t,configurable:!0}),qt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),kR=(e,t)=>{for(var r in t)Uo(e,r,{get:t[r],enumerable:!0})},rf=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of FR(t))!LR.call(e,a)&&a!==r&&Uo(e,a,{get:()=>t[a],enumerable:!(n=DR(t,a))||n.enumerable});return e},gt=(e,t,r)=>(r=e!=null?IR(BR(e)):{},rf(t||!e||!e.__esModule?Uo(r,"default",{value:e,enumerable:!0}):r,e)),$R=e=>rf(Uo({},"__esModule",{value:!0}),e),Pr=qt((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=j((p,m)=>{for(var h in m)r(p,h,{get:m[h],enumerable:!0})},"__export"),l=j((p,m,h,b)=>{if(m&&typeof m=="object"||typeof m=="function")for(let y of a(m))!i.call(p,y)&&y!==h&&r(p,y,{get:j(()=>m[y],"get"),enumerable:!(b=n(m,y))||b.enumerable});return p},"__copyProps"),u=j(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),d={};s(d,{global:j(()=>c,"global")}),t.exports=u(d);var c=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),ur=qt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var n=[],a=1;a<arguments.length;a++)n[a-1]=arguments[a];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var s=i.reduce(function(d,c){var p=c.match(/\n([\t ]+|(?!\s).)/g);return p?d.concat(p.map(function(m){var h,b;return(b=(h=m.match(/[\t ]/g))===null||h===void 0?void 0:h.length)!==null&&b!==void 0?b:0})):d},[]);if(s.length){var l=new RegExp(`
150
- [ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(d){return d.replace(l,`
151
- `)})}i[0]=i[0].replace(/^\r?\n/,"");var u=i[0];return n.forEach(function(d,c){var p=u.match(/(?:^|\n)( *)$/),m=p?p[1]:"",h=d;typeof d=="string"&&d.includes(`
152
- `)&&(h=String(d).split(`
153
- `).map(function(b,y){return y===0?b:""+m+b}).join(`
154
- `)),u+=h+i[c+1]}),u}j(t,"dedent"),e.dedent=t,e.default=t}),UR=qt((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}j(r,"Similar"),r.prototype.get=function(n){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,n))return this.lastItem.val;if(a=this.indexOf(n),a>=0)return this.lastItem=this.list[a],this.list[a].val},r.prototype.set=function(n,a){var i;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=a,this):(i=this.indexOf(n),i>=0?(this.lastItem=this.list[i],this.list[i].val=a,this):(this.lastItem={key:n,val:a},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(n){var a;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),a=this.indexOf(n),a>=0)return this.size--,this.list.splice(a,1)[0]},r.prototype.has=function(n){var a;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(a=this.indexOf(n),a>=0?(this.lastItem=this.list[a],!0):!1)},r.prototype.forEach=function(n,a){var i;for(i=0;i<this.size;i++)n.call(a||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(n){var a;for(a=0;a<this.size;a++)if(this.isEqual(this.list[a].key,n))return a;return-1},r.prototype.isEqual=function(n,a){return n===a||n!==n&&a!==a},t.exports=r}),HR=qt((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var n=UR();return new n}else return new Map}}),nf=qt((e,t)=>{var r=HR();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(d){var c=j(function(){var p=l,m,h,b=arguments.length-1,y=Array(b+1),v=!0,g;if((c.numArgs||c.numArgs===0)&&c.numArgs!==b+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(g=0;g<b;g++){if(y[g]={cacheItem:p,arg:arguments[g]},p.has(arguments[g])){p=p.get(arguments[g]);continue}v=!1,m=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[g],m),p=m}return v&&(p.has(arguments[b])?h=p.get(arguments[b]):v=!1),v||(h=d.apply(null,arguments),p.set(arguments[b],h)),s>0&&(y[b]={cacheItem:p,arg:arguments[b]},v?n(u,y):u.push(y),u.length>s&&a(u.shift())),c.wasMemoized=v,c.numArgs=b+1,h},"memoizerific");return c.limit=s,c.wasMemoized=!1,c.cache=l,c.lru=u,c}};function n(s,l){var u=s.length,d=l.length,c,p,m;for(p=0;p<u;p++){for(c=!0,m=0;m<d;m++)if(!i(s[p][m].arg,l[m].arg)){c=!1;break}if(c)break}s.push(s.splice(p,1)[0])}j(n,"moveToMostRecentLru");function a(s){var l=s.length,u=s[l-1],d,c;for(u.cacheItem.delete(u.arg),c=l-2;c>=0&&(u=s[c],d=u.cacheItem.get(u.arg),!d||!d.size);c--)u.cacheItem.delete(u.arg)}j(a,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}j(i,"isEqual")}),of=qt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(a,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=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 n(a){let i=a.length;if(i===0)return"";let s="",l=0,u=0;e:for(;u<i;u++){let d=a.charCodeAt(u);for(;d<128;){if(r[d]!==1&&(l<u&&(s+=a.slice(l,u)),l=u+1,s+=t[d]),++u===i)break e;d=a.charCodeAt(u)}if(l<u&&(s+=a.slice(l,u)),d<2048){l=u+1,s+=t[192|d>>6]+t[128|d&63];continue}if(d<55296||d>=57344){l=u+1,s+=t[224|d>>12]+t[128|d>>6&63]+t[128|d&63];continue}if(++u,u>=i)throw new Error("URI malformed");let c=a.charCodeAt(u)&1023;l=u+1,d=65536+((d&1023)<<10|c),s+=t[240|d>>18]+t[128|d>>12&63]+t[128|d>>6&63]+t[128|d&63]}return l===0?a:l<i?s+a.slice(l):s}j(n,"encodeString")}),vl=qt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=of(),r=j(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=j(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var a=j(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:e.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:e.defaultShouldSerializeObject}}),af=qt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=a,e.stringifyObject=c;var t=vl(),r=of();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}j(n,"isPrototypeKey");function a(p,m,h,b,y){if(n(m))return p;let v=p[m];return typeof v=="object"&&v!==null?v:!b&&(y||typeof h=="number"||typeof h=="string"&&h*0===0&&h.indexOf(".")===-1)?p[m]=[]:p[m]={}}j(a,"getDeepObject");var i=20,s="[]",l="[",u="]",d=".";function c(p,m,h=0,b,y){let{nestingSyntax:v=t.defaultOptions.nestingSyntax,arrayRepeat:g=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:E=t.defaultOptions.arrayRepeatSyntax,nesting:T=t.defaultOptions.nesting,delimiter:M=t.defaultOptions.delimiter,valueSerializer:O=t.defaultOptions.valueSerializer,shouldSerializeObject:A=t.defaultOptions.shouldSerializeObject}=m,w=typeof M=="number"?String.fromCharCode(M):M,S=y===!0&&g,N=v==="dot"||v==="js"&&!y;if(h>i)return"";let Y="",K=!0,ee=!1;for(let Q in p){let x=p[Q],D;b?(D=b,S?E==="bracket"&&(D+=s):N?(D+=d,D+=Q):(D+=l,D+=Q,D+=u)):D=Q,K||(Y+=w),typeof x=="object"&&x!==null&&!A(x)?(ee=x.pop!==void 0,(T||g&&ee)&&(Y+=c(x,m,h+1,D,ee))):(Y+=(0,r.encodeString)(D),Y+="=",Y+=O(x,Q)),K&&(K=!1)}return Y}j(c,"stringifyObject")}),VR=qt((e,t)=>{"use strict";var r=12,n=0,a=[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 i(u){var d=u.indexOf("%");if(d===-1)return u;for(var c=u.length,p="",m=0,h=0,b=d,y=r;d>-1&&d<c;){var v=l(u[d+1],4),g=l(u[d+2],0),E=v|g,T=a[E];if(y=a[256+y+T],h=h<<6|E&a[364+T],y===r)p+=u.slice(m,b),p+=h<=65535?String.fromCharCode(h):String.fromCharCode(55232+(h>>10),56320+(h&1023)),h=0,m=d+3,d=b=u.indexOf("%",m);else{if(y===n)return null;if(d+=3,d<c&&u.charCodeAt(d)===37)continue;return null}}return p+u.slice(m)}j(i,"decodeURIComponent");var s={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 l(u,d){var c=s[u];return c===void 0?255:c<<d}j(l,"hexCodeToInt"),t.exports=i}),GR=qt(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=c;var r=af(),n=vl(),a=t(VR()),i=j(p=>{let m=Number(p);return Number.isNaN(m)?p:m},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=j(p=>{let m=Number(p);return Number.isNaN(m)?p:m},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=j(function(){},"Empty");u.prototype=Object.create(null);function d(p,m,h,b,y){let v=p.substring(m,h);return b&&(v=v.replace(l," ")),y&&(v=(0,a.default)(v)||v),v}j(d,"computeKeySlice");function c(p,m){let{valueDeserializer:h=n.defaultOptions.valueDeserializer,keyDeserializer:b=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:y=n.defaultOptions.arrayRepeatSyntax,nesting:v=n.defaultOptions.nesting,arrayRepeat:g=n.defaultOptions.arrayRepeat,nestingSyntax:E=n.defaultOptions.nestingSyntax,delimiter:T=n.defaultOptions.delimiter}=m??{},M=typeof T=="string"?T.charCodeAt(0):T,O=E==="js",A=new u;if(typeof p!="string")return A;let w=p.length,S="",N=-1,Y=-1,K=-1,ee=A,Q,x="",D="",J=!1,ve=!1,ye=!1,xe=!1,De=!1,je=!1,be=!1,de=0,ge=-1,Te=-1,Re=-1;for(let Ne=0;Ne<w+1;Ne++){if(de=Ne!==w?p.charCodeAt(Ne):M,de===M){if(be=Y>N,be||(Y=Ne),K!==Y-1&&(D=d(p,K+1,ge>-1?ge:Y,ye,J),x=b(D),Q!==void 0&&(ee=(0,r.getDeepObject)(ee,Q,x,O&&De,O&&je))),be||x!==""){be&&(S=p.slice(Y+1,Ne),xe&&(S=S.replace(l," ")),ve&&(S=(0,a.default)(S)||S));let Ze=h(S,x);if(g){let _t=ee[x];_t===void 0?ge>-1?ee[x]=[Ze]:ee[x]=Ze:_t.pop?_t.push(Ze):ee[x]=[_t,Ze]}else ee[x]=Ze}S="",N=Ne,Y=Ne,J=!1,ve=!1,ye=!1,xe=!1,De=!1,je=!1,ge=-1,K=Ne,ee=A,Q=void 0,x=""}else de===93?(g&&y==="bracket"&&Re===91&&(ge=Te),v&&(E==="index"||O)&&Y<=N&&(K!==Te&&(D=d(p,K+1,Ne,ye,J),x=b(D),Q!==void 0&&(ee=(0,r.getDeepObject)(ee,Q,x,void 0,O)),Q=x,ye=!1,J=!1),K=Ne,je=!0,De=!1)):de===46?v&&(E==="dot"||O)&&Y<=N&&(K!==Te&&(D=d(p,K+1,Ne,ye,J),x=b(D),Q!==void 0&&(ee=(0,r.getDeepObject)(ee,Q,x,O)),Q=x,ye=!1,J=!1),De=!0,je=!1,K=Ne):de===91?v&&(E==="index"||O)&&Y<=N&&(K!==Te&&(D=d(p,K+1,Ne,ye,J),x=b(D),O&&Q!==void 0&&(ee=(0,r.getDeepObject)(ee,Q,x,O)),Q=x,ye=!1,J=!1,De=!1,je=!0),K=Ne):de===61?Y<=N?Y=Ne:ve=!0:de===43?Y>N?xe=!0:ye=!0:de===37&&(Y>N?ve=!0:J=!0);Te=Ne,Re=de}return A}j(c,"parse")}),zR=qt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=af();function r(n,a){if(n===null||typeof n!="object")return"";let i=a??{};return(0,t.stringifyObject)(n,i)}j(r,"stringify")}),_l=qt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var d=Object.getOwnPropertyDescriptor(s,l);(!d||("get"in d?!s.__esModule:d.writable||d.configurable))&&(d={enumerable:!0,get:j(function(){return s[l]},"get")}),Object.defineProperty(i,u,d)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=GR();Object.defineProperty(e,"parse",{enumerable:!0,get:j(function(){return n.parse},"get")});var a=zR();Object.defineProperty(e,"stringify",{enumerable:!0,get:j(function(){return a.stringify},"get")}),r(vl(),e)}),sf=qt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
155
- `,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),WR=qt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),lf=qt((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),YR=qt((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}}),KR=qt(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(YR()),n=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function a(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),n(i))}j(a,"decodeCodePoint"),e.default=a}),jp=qt(e=>{"use strict";var t=e&&e.__importDefault||function(c){return c&&c.__esModule?c:{default:c}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(sf()),n=t(WR()),a=t(lf()),i=t(KR()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(a.default),e.decodeHTMLStrict=l(r.default);function l(c){var p=d(c);return function(m){return String(m).replace(s,p)}}j(l,"getStrictDecoder");var u=j(function(c,p){return c<p?1:-1},"sorter");e.decodeHTML=function(){for(var c=Object.keys(n.default).sort(u),p=Object.keys(r.default).sort(u),m=0,h=0;m<p.length;m++)c[h]===p[m]?(p[m]+=";?",h++):p[m]+=";";var b=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),y=d(r.default);function v(g){return g.substr(-1)!==";"&&(g+=";"),y(g)}return j(v,"replacer"),function(g){return String(g).replace(b,v)}}();function d(c){return j(function(p){if(p.charAt(1)==="#"){var m=p.charAt(2);return m==="X"||m==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return c[p.slice(1,-1)]||p},"replace")}j(d,"getReplacer")}),Ip=qt(e=>{"use strict";var t=e&&e.__importDefault||function(E){return E&&E.__esModule?E:{default:E}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(lf()),n=u(r.default),a=d(n);e.encodeXML=g(n);var i=t(sf()),s=u(i.default),l=d(s);e.encodeHTML=h(s,l),e.encodeNonAsciiHTML=g(s);function u(E){return Object.keys(E).sort().reduce(function(T,M){return T[E[M]]="&"+M+";",T},{})}j(u,"getInverseObj");function d(E){for(var T=[],M=[],O=0,A=Object.keys(E);O<A.length;O++){var w=A[O];w.length===1?T.push("\\"+w):M.push(w)}T.sort();for(var S=0;S<T.length-1;S++){for(var N=S;N<T.length-1&&T[N].charCodeAt(1)+1===T[N+1].charCodeAt(1);)N+=1;var Y=1+N-S;Y<3||T.splice(S,Y,T[S]+"-"+T[N])}return M.unshift("["+T.join("")+"]"),new RegExp(M.join("|"),"g")}j(d,"getInverseReplacer");var c=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?function(E){return E.codePointAt(0)}:function(E){return(E.charCodeAt(0)-55296)*1024+E.charCodeAt(1)-56320+65536};function m(E){return"&#x"+(E.length>1?p(E):E.charCodeAt(0)).toString(16).toUpperCase()+";"}j(m,"singleCharReplacer");function h(E,T){return function(M){return M.replace(T,function(O){return E[O]}).replace(c,m)}}j(h,"getInverse");var b=new RegExp(a.source+"|"+c.source,"g");function y(E){return E.replace(b,m)}j(y,"escape"),e.escape=y;function v(E){return E.replace(a,m)}j(v,"escapeUTF8"),e.escapeUTF8=v;function g(E){return function(T){return T.replace(b,function(M){return E[M]||m(M)})}}j(g,"getASCIIEncoder")}),JR=qt(e=>{"use strict";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=jp(),r=Ip();function n(u,d){return(!d||d<=0?t.decodeXML:t.decodeHTML)(u)}j(n,"decode"),e.decode=n;function a(u,d){return(!d||d<=0?t.decodeXML:t.decodeHTMLStrict)(u)}j(a,"decodeStrict"),e.decodeStrict=a;function i(u,d){return(!d||d<=0?r.encodeXML:r.encodeHTML)(u)}j(i,"encode"),e.encode=i;var s=Ip();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:j(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:j(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:j(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:j(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:j(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:j(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:j(function(){return s.encodeHTML},"get")});var l=jp();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:j(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:j(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:j(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:j(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:j(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:j(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:j(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:j(function(){return l.decodeXML},"get")})}),XR=qt((e,t)=>{"use strict";function r(x,D){if(!(x instanceof D))throw new TypeError("Cannot call a class as a function")}j(r,"_classCallCheck");function n(x,D){for(var J=0;J<D.length;J++){var ve=D[J];ve.enumerable=ve.enumerable||!1,ve.configurable=!0,"value"in ve&&(ve.writable=!0),Object.defineProperty(x,ve.key,ve)}}j(n,"_defineProperties");function a(x,D,J){return D&&n(x.prototype,D),J&&n(x,J),x}j(a,"_createClass");function i(x,D){var J=typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(!J){if(Array.isArray(x)||(J=s(x))||D&&x&&typeof x.length=="number"){J&&(x=J);var ve=0,ye=j(function(){},"F");return{s:ye,n:j(function(){return ve>=x.length?{done:!0}:{done:!1,value:x[ve++]}},"n"),e:j(function(be){throw be},"e"),f:ye}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
156
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var xe=!0,De=!1,je;return{s:j(function(){J=J.call(x)},"s"),n:j(function(){var be=J.next();return xe=be.done,be},"n"),e:j(function(be){De=!0,je=be},"e"),f:j(function(){try{!xe&&J.return!=null&&J.return()}finally{if(De)throw je}},"f")}}j(i,"_createForOfIteratorHelper");function s(x,D){if(x){if(typeof x=="string")return l(x,D);var J=Object.prototype.toString.call(x).slice(8,-1);if(J==="Object"&&x.constructor&&(J=x.constructor.name),J==="Map"||J==="Set")return Array.from(x);if(J==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(J))return l(x,D)}}j(s,"_unsupportedIterableToArray");function l(x,D){(D==null||D>x.length)&&(D=x.length);for(var J=0,ve=new Array(D);J<D;J++)ve[J]=x[J];return ve}j(l,"_arrayLikeToArray");var u=JR(),d={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:c()};function c(){var x={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 E(0,5).forEach(function(D){E(0,5).forEach(function(J){E(0,5).forEach(function(ve){return p(D,J,ve,x)})})}),E(0,23).forEach(function(D){var J=D+232,ve=m(D*10+8);x[J]="#"+ve+ve+ve}),x}j(c,"getDefaultColors");function p(x,D,J,ve){var ye=16+x*36+D*6+J,xe=x>0?x*40+55:0,De=D>0?D*40+55:0,je=J>0?J*40+55:0;ve[ye]=h([xe,De,je])}j(p,"setStyleColor");function m(x){for(var D=x.toString(16);D.length<2;)D="0"+D;return D}j(m,"toHexString");function h(x){var D=[],J=i(x),ve;try{for(J.s();!(ve=J.n()).done;){var ye=ve.value;D.push(m(ye))}}catch(xe){J.e(xe)}finally{J.f()}return"#"+D.join("")}j(h,"toColorHexString");function b(x,D,J,ve){var ye;return D==="text"?ye=O(J,ve):D==="display"?ye=v(x,J,ve):D==="xterm256Foreground"?ye=S(x,ve.colors[J]):D==="xterm256Background"?ye=N(x,ve.colors[J]):D==="rgb"&&(ye=y(x,J)),ye}j(b,"generateOutput");function y(x,D){D=D.substring(2).slice(0,-1);var J=+D.substr(0,2),ve=D.substring(5).split(";"),ye=ve.map(function(xe){return("0"+Number(xe).toString(16)).substr(-2)}).join("");return w(x,(J===38?"color:#":"background-color:#")+ye)}j(y,"handleRgb");function v(x,D,J){D=parseInt(D,10);var ve={"-1":j(function(){return"<br/>"},"_"),0:j(function(){return x.length&&g(x)},"_"),1:j(function(){return A(x,"b")},"_"),3:j(function(){return A(x,"i")},"_"),4:j(function(){return A(x,"u")},"_"),8:j(function(){return w(x,"display:none")},"_"),9:j(function(){return A(x,"strike")},"_"),22:j(function(){return w(x,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:j(function(){return Y(x,"i")},"_"),24:j(function(){return Y(x,"u")},"_"),39:j(function(){return S(x,J.fg)},"_"),49:j(function(){return N(x,J.bg)},"_"),53:j(function(){return w(x,"text-decoration:overline")},"_")},ye;return ve[D]?ye=ve[D]():4<D&&D<7?ye=A(x,"blink"):29<D&&D<38?ye=S(x,J.colors[D-30]):39<D&&D<48?ye=N(x,J.colors[D-40]):89<D&&D<98?ye=S(x,J.colors[8+(D-90)]):99<D&&D<108&&(ye=N(x,J.colors[8+(D-100)])),ye}j(v,"handleDisplay");function g(x){var D=x.slice(0);return x.length=0,D.reverse().map(function(J){return"</"+J+">"}).join("")}j(g,"resetStyles");function E(x,D){for(var J=[],ve=x;ve<=D;ve++)J.push(ve);return J}j(E,"range");function T(x){return function(D){return(x===null||D.category!==x)&&x!=="all"}}j(T,"notCategory");function M(x){x=parseInt(x,10);var D=null;return x===0?D="all":x===1?D="bold":2<x&&x<5?D="underline":4<x&&x<7?D="blink":x===8?D="hide":x===9?D="strike":29<x&&x<38||x===39||89<x&&x<98?D="foreground-color":(39<x&&x<48||x===49||99<x&&x<108)&&(D="background-color"),D}j(M,"categoryForCode");function O(x,D){return D.escapeXML?u.encodeXML(x):x}j(O,"pushText");function A(x,D,J){return J||(J=""),x.push(D),"<".concat(D).concat(J?' style="'.concat(J,'"'):"",">")}j(A,"pushTag");function w(x,D){return A(x,"span",D)}j(w,"pushStyle");function S(x,D){return A(x,"span","color:"+D)}j(S,"pushForegroundColor");function N(x,D){return A(x,"span","background-color:"+D)}j(N,"pushBackgroundColor");function Y(x,D){var J;if(x.slice(-1)[0]===D&&(J=x.pop()),J)return"</"+D+">"}j(Y,"closeTag");function K(x,D,J){var ve=!1,ye=3;function xe(){return""}j(xe,"remove");function De(Se,He){return J("xterm256Foreground",He),""}j(De,"removeXterm256Foreground");function je(Se,He){return J("xterm256Background",He),""}j(je,"removeXterm256Background");function be(Se){return D.newline?J("display",-1):J("text",Se),""}j(be,"newline");function de(Se,He){ve=!0,He.trim().length===0&&(He="0"),He=He.trimRight(";").split(";");var ut=i(He),Lt;try{for(ut.s();!(Lt=ut.n()).done;){var xo=Lt.value;J("display",xo)}}catch(Mo){ut.e(Mo)}finally{ut.f()}return""}j(de,"ansiMess");function ge(Se){return J("text",Se),""}j(ge,"realText");function Te(Se){return J("rgb",Se),""}j(Te,"rgb");var Re=[{pattern:/^\x08+/,sub:xe},{pattern:/^\x1b\[[012]?K/,sub:xe},{pattern:/^\x1b\[\(B/,sub:xe},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:Te},{pattern:/^\x1b\[38;5;(\d+)m/,sub:De},{pattern:/^\x1b\[48;5;(\d+)m/,sub:je},{pattern:/^\n/,sub:be},{pattern:/^\r+\n/,sub:be},{pattern:/^\r/,sub:be},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:de},{pattern:/^\x1b\[\d?J/,sub:xe},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:xe},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:xe},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ge}];function Ne(Se,He){He>ye&&ve||(ve=!1,x=x.replace(Se.pattern,Se.sub))}j(Ne,"process");var Ze=[],_t=x,Z=_t.length;e:for(;Z>0;){for(var qe=0,Be=0,Qe=Re.length;Be<Qe;qe=++Be){var fe=Re[qe];if(Ne(fe,qe),x.length!==Z){Z=x.length;continue e}}if(x.length===Z)break;Ze.push(0),Z=x.length}return Ze}j(K,"tokenize");function ee(x,D,J){return D!=="text"&&(x=x.filter(T(M(J))),x.push({token:D,data:J,category:M(J)})),x}j(ee,"updateStickyStack");var Q=function(){function x(D){r(this,x),D=D||{},D.colors&&(D.colors=Object.assign({},d.colors,D.colors)),this.options=Object.assign({},d,D),this.stack=[],this.stickyStack=[]}return j(x,"Filter"),a(x,[{key:"toHtml",value:j(function(D){var J=this;D=typeof D=="string"?[D]:D;var ve=this.stack,ye=this.options,xe=[];return this.stickyStack.forEach(function(De){var je=b(ve,De.token,De.data,ye);je&&xe.push(je)}),K(D.join(""),ye,function(De,je){var be=b(ve,De,je,ye);be&&xe.push(be),ye.stream&&(J.stickyStack=ee(J.stickyStack,De,je))}),ve.length&&xe.push(g(ve)),xe.join("")},"toHtml")}]),x}();t.exports=Q}),uf={};kR(uf,{DocsContext:()=>kl,HooksContext:()=>wl,Preview:()=>Wf,PreviewWeb:()=>zS,PreviewWithSelection:()=>Zf,ReporterAPI:()=>Fl,StoryStore:()=>Vf,UrlStore:()=>am,WebView:()=>sm,addons:()=>rn,applyHooks:()=>pf,combineArgs:()=>ka,combineParameters:()=>nn,composeConfigs:()=>Jn,composeStepRunners:()=>Dl,composeStories:()=>$f,composeStory:()=>Ll,createPlaywrightTest:()=>Uf,decorateStory:()=>Ol,defaultDecorateStory:()=>xl,definePreview:()=>df,experimental_MockUniversalStore:()=>xC,experimental_UniversalStore:()=>Fo,experimental_useUniversalStore:()=>TC,filterArgTypes:()=>Ff,getCsfFactoryAnnotations:()=>Bl,inferControls:()=>Il,makeDecorator:()=>rC,mockChannel:()=>El,normalizeProjectAnnotations:()=>$o,normalizeStory:()=>ko,prepareMeta:()=>Ml,prepareStory:()=>za,sanitizeStoryContextUpdate:()=>ql,setDefaultProjectAnnotations:()=>Bf,setProjectAnnotations:()=>kf,simulateDOMContentLoaded:()=>Va,simulatePageLoad:()=>um,sortStoriesV7:()=>_S,useArgs:()=>Ef,useCallback:()=>Yn,useChannel:()=>vf,useEffect:()=>Pl,useGlobals:()=>wf,useMemo:()=>mf,useParameter:()=>_f,useReducer:()=>gf,useRef:()=>hf,useState:()=>yf,useStoryContext:()=>Vo,userOrAutoTitle:()=>bS,userOrAutoTitleFromSpecifier:()=>zf});cm.exports=$R(uf);var Js=gt(Pr(),1),QR=Ws();function El(){let e={setHandler:j(()=>{},"setHandler"),send:j(()=>{},"send")};return new QR.Channel({transport:e})}j(El,"mockChannel");var ZR=class{constructor(){this.getChannel=j(()=>{if(!this.channel){let e=El();return this.setChannel(e),e}return this.channel},"getChannel"),this.ready=j(()=>this.promise,"ready"),this.hasChannel=j(()=>!!this.channel,"hasChannel"),this.setChannel=j(e=>{this.channel=e,this.resolve()},"setChannel"),this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}static{j(this,"AddonStore")}},Xs="__STORYBOOK_ADDONS_PREVIEW";function cf(){return Js.global[Xs]||(Js.global[Xs]=new ZR),Js.global[Xs]}j(cf,"getAddonsStore");var rn=cf();function df(e){return e}j(df,"definePreview");var Da=gt(Pr(),1),Do=jt(),Wn=Sr(),wl=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=j(e=>{e===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}static{j(this,"HooksContext")}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(),rn.getChannel().on(Wn.STORY_RENDERED,this.renderListener)}removeRenderListeners(){rn.getChannel().removeListener(Wn.STORY_RENDERED,this.renderListener)}};function sl(e){let t=j((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],a=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,l=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 u=Da.global.STORYBOOK_HOOKS_CONTEXT;Da.global.STORYBOOK_HOOKS_CONTEXT=n;let d=e(...r);if(Da.global.STORYBOOK_HOOKS_CONTEXT=u,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=a,n.currentHooks=i,n.nextHookIndex=s,n.currentDecoratorName=l,d},"hookified");return t.originalFn=e,t}j(sl,"hookify");var Qs=0,eC=25,pf=j(e=>(t,r)=>{let n=e(sl(t),r.map(a=>sl(a)));return a=>{let{hooks:i}=a;i.prevMountedDecorators??=new Set,i.mountedDecorators=new Set([t,...r]),i.currentContext=a,i.hasUpdates=!1;let s=n(a);for(Qs=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(a),Qs+=1,Qs>eC)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),tC=j((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Rl=j(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Cl(){return Da.global.STORYBOOK_HOOKS_CONTEXT||null}j(Cl,"getHooksContextOrNull");function Ga(){let e=Cl();if(e==null)throw Rl();return e}j(Ga,"getHooksContextOrThrow");function ff(e,t,r){let n=Ga();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&Do.logger.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let a={name:e,deps:r};return n.currentHooks.push(a),t(a),a}if(n.currentPhase==="UPDATE"){let a=n.getNextHook();if(a==null)throw new Error("Rendered more hooks than during the previous render.");return a.name!==e&&Do.logger.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&&a.deps==null&&Do.logger.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&&a.deps!=null&&r.length!==a.deps.length&&Do.logger.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
157
- Previous: ${a.deps}
158
- Incoming: ${r}`),(r==null||a.deps==null||!tC(r,a.deps))&&(t(a),a.deps=r),a}throw Rl()}j(ff,"useHook");function Ho(e,t,r){let{memoizedState:n}=ff(e,a=>{a.memoizedState=t()},r);return n}j(Ho,"useMemoLike");function mf(e,t){return Ho("useMemo",e,t)}j(mf,"useMemo");function Yn(e,t){return Ho("useCallback",()=>e,t)}j(Yn,"useCallback");function Sl(e,t){return Ho(e,()=>({current:t}),[])}j(Sl,"useRefLike");function hf(e){return Sl("useRef",e)}j(hf,"useRef");function bf(){let e=Cl();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{rn.getChannel().emit(Wn.FORCE_RE_RENDER)}catch{Do.logger.warn("State updates of Storybook preview hooks work only in browser")}}j(bf,"triggerUpdate");function Al(e,t){let r=Sl(e,typeof t=="function"?t():t),n=j(a=>{r.current=typeof a=="function"?a(r.current):a,bf()},"setState");return[r.current,n]}j(Al,"useStateLike");function yf(e){return Al("useState",e)}j(yf,"useState");function gf(e,t,r){let n=r!=null?()=>r(t):t,[a,i]=Al("useReducer",n);return[a,j(s=>i(l=>e(l,s)),"dispatch")]}j(gf,"useReducer");function Pl(e,t){let r=Ga(),n=Ho("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}j(Pl,"useEffect");function vf(e,t=[]){let r=rn.getChannel();return Pl(()=>(Object.entries(e).forEach(([n,a])=>r.on(n,a)),()=>{Object.entries(e).forEach(([n,a])=>r.removeListener(n,a))}),[...Object.keys(e),...t]),Yn(r.emit.bind(r),[r])}j(vf,"useChannel");function Vo(){let{currentContext:e}=Ga();if(e==null)throw Rl();return e}j(Vo,"useStoryContext");function _f(e,t){let{parameters:r}=Vo();if(e)return r[e]??t}j(_f,"useParameter");function Ef(){let e=rn.getChannel(),{id:t,args:r}=Vo(),n=Yn(i=>e.emit(Wn.UPDATE_STORY_ARGS,{storyId:t,updatedArgs:i}),[e,t]),a=Yn(i=>e.emit(Wn.RESET_STORY_ARGS,{storyId:t,argNames:i}),[e,t]);return[r,n,a]}j(Ef,"useArgs");function wf(){let e=rn.getChannel(),{globals:t}=Vo(),r=Yn(n=>e.emit(Wn.UPDATE_GLOBALS,{globals:n}),[e]);return[t,r]}j(wf,"useGlobals");var rC=j(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let a=j(i=>(s,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!i&&!u?s(l):r(s,l,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?a()(...i):(...s)=>{if(s.length>1)return i.length>1?a(i)(...s):a(...i)(...s);throw new Error(`Passing stories directly into ${e}() is not allowed,
159
- instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),Hn=gt(ur(),1),Dp=new Map,nC="UNIVERSAL_STORE:",sr={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},Fo=class ze{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=j(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=j((n,a)=>{let i=typeof n=="function",s=i?"*":n,l=i?n:a;if(this.debug("subscribe",{eventType:s,listener:l}),!l)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(s)||this.listeners.set(s,new Set),this.listeners.get(s).add(l),()=>{this.debug("unsubscribe",{eventType:s,listener:l}),this.listeners.has(s)&&(this.listeners.get(s).delete(l),this.listeners.get(s)?.size===0&&this.listeners.delete(s))}},"subscribe"),this.send=j(n=>{if(this.debug("send",{event:n}),this.status!==ze.Status.READY)throw new TypeError(Hn.dedent`Cannot send event before store is ready. You can get the current status with store.status,
160
- or await store.readyPromise to wait for the store to be ready before sending events.
161
- ${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})},"send"),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=`${nC}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===ze.ActorType.LEADER)this.syncing={state:sr.RESOLVED,promise:Promise.resolve()};else{let n,a,i=new Promise((s,l)=>{n=j(()=>{this.syncing.state===sr.PENDING&&(this.syncing.state=sr.RESOLVED,s())},"syncingResolve"),a=j(u=>{this.syncing.state===sr.PENDING&&(this.syncing.state=sr.REJECTED,l(u))},"syncingReject")});this.syncing={state:sr.PENDING,promise:i,resolve:n,reject:a}}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?this.prepareThis({channel:this.channel,environment:this.environment}):ze.preparation.promise.then(this.prepareThis)}static{j(this,"UniversalStore")}static{this.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"}}static{this.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"}}static{this.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"}}static{this.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"}}static{this.isInternalConstructing=!1}static{ze.setupPreparationPromise()}static setupPreparationPromise(){let t,r,n=new Promise((a,i)=>{t=j(s=>{a(s)},"resolveRef"),r=j((...s)=>{i(s)},"rejectRef")});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 sr.PENDING:case void 0:return ze.Status.SYNCING;case sr.REJECTED:return ze.Status.ERROR;case sr.RESOLVED:default:return ze.Status.READY}}untilReady(){return Promise.all([ze.preparation.promise,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(Hn.dedent`[UniversalStore]
162
- create`,{options:t});let r=Dp.get(t.id);if(r)return console.warn(Hn.dedent`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
163
- You should reuse the existing instance instead of trying to create a new one.`),r;ze.isInternalConstructing=!0;let n=new ze(t);return Dp.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(Hn.dedent`Cannot set state before store is ready. You can get the current status with store.status,
164
- or await store.readyPromise to wait for the store to be ready before sending events.
165
- ${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let a={type:ze.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(a,{actor:this.actor}),this.emitToListeners(a,{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 TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),a=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:a}),[...n??[],...a??[]].forEach(i=>i(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===sr.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 a=!0;switch(r.type){case ze.InternalEventType.EXISTING_STATE_REQUEST:a=!1;let i={type:ze.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:i}),this.emitToChannel(i,{actor:this.actor});break;case ze.InternalEventType.LEADER_CREATED:a=!1,this.syncing.state=sr.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(Hn.dedent`Detected multiple UniversalStore leaders created with the same id "${this.id}".
166
- Only one leader can exists at a time, your stores are now in an invalid state.
167
- Leaders detected:
168
- this: ${JSON.stringify(this.actor,null,2)}
169
- other: ${JSON.stringify(n.actor,null,2)}`);break}a&&(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!==sr.PENDING)break;this.syncing.resolve?.();let a={type:ze.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(a,n);break}switch(r.type){case ze.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(Hn.dedent`[UniversalStore::${this.id}::${this.environment??ze.Environment.UNKNOWN}]
170
- ${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}},Fp=Na();function Rf(e,t){let r={},n=Object.entries(e);for(let a=0;a<n.length;a++){let[i,s]=n[a];t(s,i)||(r[i]=s)}return r}j(Rf,"omitBy");function Cf(e,t){let r={};for(let n=0;n<t.length;n++){let a=t[n];Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a])}return r}j(Cf,"pick");function Sf(e,t){let r={},n=Object.entries(e);for(let a=0;a<n.length;a++){let[i,s]=n[a];t(s,i)&&(r[i]=s)}return r}j(Sf,"pickBy");function br(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}j(br,"isPlainObject");function Cn(e,t){let r={},n=Object.keys(e);for(let a=0;a<n.length;a++){let i=n[a],s=e[i];r[i]=t(s,i,e)}return r}j(Cn,"mapValues");var oC="[object RegExp]",aC="[object String]",iC="[object Number]",sC="[object Boolean]",Bp="[object Arguments]",lC="[object Symbol]",uC="[object Date]",cC="[object Map]",dC="[object Set]",pC="[object Array]",fC="[object Function]",mC="[object ArrayBuffer]",Zs="[object Object]",hC="[object Error]",bC="[object DataView]",yC="[object Uint8Array]",gC="[object Uint8ClampedArray]",vC="[object Uint16Array]",_C="[object Uint32Array]",EC="[object BigUint64Array]",wC="[object Int8Array]",RC="[object Int16Array]",CC="[object Int32Array]",SC="[object BigInt64Array]",AC="[object Float32Array]",PC="[object Float64Array]";function ll(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}j(ll,"getSymbols");function ul(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}j(ul,"getTag");function Tl(e,t){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 Ar(e,t)}return Ar(e,t)}j(Tl,"isEqual");function Ar(e,t,r){if(Object.is(e,t))return!0;let n=ul(e),a=ul(t);if(n===Bp&&(n=Zs),a===Bp&&(a=Zs),n!==a)return!1;switch(n){case aC:return e.toString()===t.toString();case iC:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case sC:case uC:case lC:return Object.is(e.valueOf(),t.valueOf());case oC:return e.source===t.source&&e.flags===t.flags;case fC:return e===t}r=r??new Map;let i=r.get(e),s=r.get(t);if(i!=null&&s!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(n){case cC:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Ar(u,t.get(l),r))return!1;return!0}case dC:{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 c=l[d],p=u.findIndex(m=>Ar(c,m,r));if(p===-1)return!1;u.splice(p,1)}return!0}case pC:case yC:case gC:case vC:case _C:case EC:case wC:case RC:case CC:case SC:case AC:case PC:{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(!Ar(e[l],t[l],r))return!1;return!0}case mC:return e.byteLength!==t.byteLength?!1:Ar(new Uint8Array(e),new Uint8Array(t),r);case bC:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Ar(e.buffer,t.buffer,r);case hC:return e.name===t.name&&e.message===t.message;case Zs:{if(!(Ar(e.constructor,t.constructor,r)||br(e)&&br(t)))return!1;let l=[...Object.keys(e),...ll(e)],u=[...Object.keys(t),...ll(t)];if(l.length!==u.length)return!1;for(let d=0;d<l.length;d++){let c=l[d],p=e[c];if(!Object.prototype.hasOwnProperty.call(t,c))return!1;let m=t[c];if(!Ar(p,m,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}j(Ar,"areObjectsEqual");var TC=j((e,t)=>{let[r,n]=(0,Fp.useState)(t?t(e.getState()):e.getState());return(0,Fp.useEffect)(()=>e.onStateChange((a,i)=>{if(!t){n(a);return}let s=t(a),l=t(i);!Tl(s,l)&&n(s)}),[e,n,t]),[r,e.setState]},"useUniversalStore"),OC=Ws(),qC=gt(ur(),1),xC=class Af extends Fo{static{j(this,"MockUniversalStore")}constructor(t,r){Fo.isInternalConstructing=!0,super({...t,leader:!0},{channel:new OC.Channel({}),environment:Fo.Environment.MOCK}),Fo.isInternalConstructing=!1,typeof r?.fn=="function"&&(this.testUtils=r,this.getState=r.fn(this.getState),this.setState=r.fn(this.setState),this.subscribe=r.fn(this.subscribe),this.onStateChange=r.fn(this.onStateChange),this.send=r.fn(this.send))}static create(t,r){return new Af(t,r)}unsubscribeAll(){if(!this.testUtils)throw new Error(qC.default`Cannot call unsubscribeAll on a store that does not have testUtils.
171
- Please provide testUtils as the second argument when creating the store.`);let t=j(r=>{try{r.value()}catch{}},"callReturnedUnsubscribeFn");this.subscribe.mock?.results.forEach(t),this.onStateChange.mock?.results.forEach(t)}},Lp=jt(),kp=Qr(),el=gt(nf(),1),tl=jt(),$p=gt(ur(),1),Gn=Symbol("incompatible"),cl=j((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)?Gn:e.reduce((n,a,i)=>{let s=cl(a,{type:r.value});return s!==Gn&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Gn:Object.entries(e).reduce((n,[a,i])=>{let s=cl(i,{type:r.value[a]});return s===Gn?n:Object.assign(n,{[a]:s})},{});default:return Gn}},"map"),MC=j((e,t)=>Object.entries(e).reduce((r,[n,a])=>{if(!t[n])return r;let i=cl(a,t[n]);return i===Gn?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),ka=j((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,a)=>(r[a]=ka(e[a],t[a]),r),[...e]).filter(r=>r!==void 0):!br(e)||!br(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let a=ka(e[n],t[n]);a!==void 0&&(r[n]=a)}else r[n]=e[n];return r},{}),"combineArgs"),NC=j((e,t)=>Object.entries(t).reduce((r,[n,{options:a}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(j(i,"allowArg"),!a)return i();if(!Array.isArray(a))return tl.once.error($p.dedent`
172
- Invalid argType: '${n}.options' should be an array.
173
-
174
- More info: https://storybook.js.org/docs/api/arg-types
175
- `),i();if(a.some(p=>p&&["object","function"].includes(typeof p)))return tl.once.error($p.dedent`
176
- Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
177
-
178
- More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
179
- `),i();let s=Array.isArray(e[n]),l=s&&e[n].findIndex(p=>!a.includes(p)),u=s&&l===-1;if(e[n]===void 0||a.includes(e[n])||u)return i();let d=s?`${n}[${l}]`:n,c=a.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return tl.once.warn(`Received illegal value for '${d}'. Supported options: ${c}`),r},{}),"validateOptions"),Bo=Symbol("Deeply equal"),$a=j((e,t)=>{if(typeof e!=typeof t)return t;if(Tl(e,t))return Bo;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,a,i)=>{let s=$a(e[i],a);return s!==Bo&&(n[i]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return br(e)&&br(t)?Object.keys({...e,...t}).reduce((r,n)=>{let a=$a(e?.[n],t?.[n]);return a===Bo?r:Object.assign(r,{[n]:a})},{}):t},"deepDiff"),Pf="UNTARGETED";function Tf({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,a])=>{let{target:i=Pf}=t[n]||{};r[i]=r[i]||{},r[i][n]=a}),r}j(Tf,"groupArgsByTarget");function Of(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}j(Of,"deleteUndefined");var jC=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}static{j(this,"ArgsStore")}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=$a(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,t!==Bo&&this.updateFromDelta(e,t)}}updateFromDelta(e,t){let r=NC(t,e.argTypes);this.argsByStoryId[e.id]=ka(this.argsByStoryId[e.id],r)}updateFromPersisted(e,t){let r=MC(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]=Of({...this.argsByStoryId[e],...t})}},IC=jt(),qf=j((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),DC=class{static{j(this,"GlobalsStore")}constructor({globals:e={},globalTypes:t={}}){this.set({globals:e,globalTypes:t})}set({globals:e={},globalTypes:t={}}){let r=this.initialGlobals&&$a(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(t)]);let n=qf(t);this.initialGlobals={...n,...e},this.globals=this.initialGlobals,r&&r!==Bo&&this.updateFromPersisted(r)}filterAllowedGlobals(e){return Object.entries(e).reduce((t,[r,n])=>(this.allowedGlobalNames.has(r)?t[r]=n:IC.logger.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)}}},FC=Qr(),BC=gt(nf(),1),LC=(0,BC.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),kC=class{static{j(this,"StoryIndexStore")}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(a=>a.id.startsWith(e));let{name:r,title:n}=e;return t.find(a=>a.name===r&&a.title===n)}storyIdToEntry(e){let t=this.entries[e];if(!t)throw new FC.MissingStoryAfterHmrError({storyId:e});return t}importPathToEntry(e){return LC(this.entries)[e]}},$C=j(e=>typeof e=="string"?{name:e}:e,"normalizeType"),UC=j(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),HC=j((e,t)=>{let{type:r,control:n,...a}=e,i={name:t,...a};return r&&(i.type=$C(r)),n?i.control=UC(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),Ua=j(e=>Cn(e,HC),"normalizeInputTypes"),Up=Zr(),Hp=jt(),VC=gt(ur(),1),Et=j(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),GC=VC.dedent`
180
- CSF .story annotations deprecated; annotate story functions directly:
181
- - StoryFn.story.name => StoryFn.storyName
182
- - StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
183
- See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
184
- `;function ko(e,t,r){let n=t,a=typeof t=="function"?t:null,{story:i}=n;i&&(Hp.logger.debug("deprecated story",i),(0,Hp.deprecate)(GC));let s=(0,Up.storyNameFromExport)(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||s,u=[...Et(n.decorators),...Et(i?.decorators)],d={...i?.parameters,...n.parameters},c={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},m=[...Et(n.loaders),...Et(i?.loaders)],h=[...Et(n.beforeEach),...Et(i?.beforeEach)],b=[...Et(n.experimental_afterEach),...Et(i?.experimental_afterEach)],{render:y,play:v,tags:g=[],globals:E={}}=n,T=d.__id||(0,Up.toId)(r.id,s);return{moduleExport:t,id:T,name:l,tags:g,decorators:u,parameters:d,args:c,argTypes:Ua(p),loaders:m,beforeEach:h,experimental_afterEach:b,globals:E,...y&&{render:y},...a&&{userStoryFn:a},...v&&{play:v}}}j(ko,"normalizeStory");var rl=Zr(),xf=jt(),zC=Zr();function Ha(e,t=e.title,r){let{id:n,argTypes:a}=e;return{id:(0,zC.sanitize)(n||t),...e,title:t,...a&&{argTypes:Ua(a)},parameters:{fileName:r,...e.parameters}}}j(Ha,"normalizeComponentAnnotations");var WC=j(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&xf.logger.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),YC=j(e=>{let{options:t}=e;t?.storySort&&xf.logger.error("The storySort option parameter can only be set globally")},"checkStorySort"),ja=j(e=>{e&&(WC(e),YC(e))},"checkDisallowedParameters");function Mf(e,t,r){let{default:n,__namedExportsOrder:a,...i}=e,s=Object.values(i)[0];if((0,rl.isStory)(s)){let d=Ha(s.meta.input,r,t);ja(d.parameters);let c={meta:d,stories:{},moduleExports:e};return Object.keys(i).forEach(p=>{if((0,rl.isExportStory)(p,d)){let m=ko(p,i[p].input,d);ja(m.parameters),c.stories[m.id]=m}}),c.projectAnnotations=s.meta.preview.composed,c}let l=Ha(n,r,t);ja(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(i).forEach(d=>{if((0,rl.isExportStory)(d,l)){let c=ko(d,i[d],l);ja(c.parameters),u.stories[c.id]=c}}),u}j(Mf,"processCSFFile");var Nf=Zr(),Fa=gt(Pr(),1),KC=gt(Pr(),1),JC=Qr();function jf(e){return e!=null&&If(e).includes("mount")}j(jf,"mountDestructured");function If(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=dl(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?dl(n.slice(1,-1).replace(/\s/g,"")).map(a=>a.replace(/:.*|=.*/g,"")):[]}j(If,"getUsedProps");function dl(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let s=e.substring(n,i).trim();s&&t.push(s),n=i+1}let a=e.substring(n).trim();return a&&t.push(a),t}j(dl,"splitByComma");function Ol(e,t,r){let n=r(e);return a=>t(n,a)}j(Ol,"decorateStory");function ql({componentId:e,title:t,kind:r,id:n,name:a,story:i,parameters:s,initialArgs:l,argTypes:u,...d}={}){return d}j(ql,"sanitizeStoryContextUpdate");function xl(e,t){let r={},n=j(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...ql(s)},i(r.value)},"bindWithContext"),a=t.reduce((i,s)=>Ol(i,s,n),e);return i=>(r.value=i,a(i))}j(xl,"defaultDecorateStory");var nn=j((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((a,i)=>(Object.entries(i).forEach(([s,l])=>{let u=a[s];Array.isArray(l)||typeof u>"u"?a[s]=l:br(l)&&br(u)?t[s]=!0:typeof l<"u"&&(a[s]=l)}),a),{});return Object.keys(t).forEach(a=>{let i=r.filter(Boolean).map(s=>s[a]).filter(s=>typeof s<"u");i.every(s=>br(s))?n[a]=nn(...i):n[a]=i[i.length-1]}),n},"combineParameters");function za(e,t,r){let{moduleExport:n,id:a,name:i}=e||{},s=Nl(e,t,r),l=j(async A=>{let w={};for(let S of[..."__STORYBOOK_TEST_LOADERS__"in Fa.global&&Array.isArray(Fa.global.__STORYBOOK_TEST_LOADERS__)?[Fa.global.__STORYBOOK_TEST_LOADERS__]:[],Et(r.loaders),Et(t.loaders),Et(e.loaders)]){if(A.abortSignal.aborted)return w;let N=await Promise.all(S.map(Y=>Y(A)));Object.assign(w,...N)}return w},"applyLoaders"),u=j(async A=>{let w=new Array;for(let S of[...Et(r.beforeEach),...Et(t.beforeEach),...Et(e.beforeEach)]){if(A.abortSignal.aborted)return w;let N=await S(A);N&&w.push(N)}return w},"applyBeforeEach"),d=j(async A=>{let w=[...Et(r.experimental_afterEach),...Et(t.experimental_afterEach),...Et(e.experimental_afterEach)].reverse();for(let S of w){if(A.abortSignal.aborted)return;await S(A)}},"applyAfterEach"),c=j(A=>A.originalStoryFn(A.args,A),"undecoratedStoryFn"),{applyDecorators:p=xl,runStep:m}=r,h=[...Et(e?.decorators),...Et(t?.decorators),...Et(r?.decorators)],b=e?.userStoryFn||e?.render||t.render||r.render,y=pf(p)(c,h),v=j(A=>y(A),"unboundStoryFn"),g=e?.play??t?.play,E=jf(g);if(!b&&!E)throw new JC.NoRenderFunctionError({id:a});let T=j(A=>async()=>(await A.renderToCanvas(),A.canvas),"defaultMount"),M=e.mount??t.mount??r.mount??T,O=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:a,name:i,story:i,originalStoryFn:b,undecoratedStoryFn:c,unboundStoryFn:v,applyLoaders:l,applyBeforeEach:u,applyAfterEach:d,playFunction:g,runStep:m,mount:M,testingLibraryRender:O,renderToCanvas:r.renderToCanvas,usesMount:E}}j(za,"prepareStory");function Ml(e,t,r){return{...Nl(void 0,e,t),moduleExport:r}}j(Ml,"prepareMeta");function Nl(e,t,r){let n=["dev","test"],a=KC.global.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=(0,Nf.combineTags)(...n,...a,...r.tags??[],...t.tags??[],...e?.tags??[]),s=nn(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,d=nn(r.argTypes,t.argTypes,e?.argTypes);if(e){let g=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=g&&g.length>0}let c={...r.args,...t.args,...e?.args},p={...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:i,parameters:s,initialArgs:c,argTypes:d,storyGlobals:p};m.argTypes=l.reduce((g,E)=>E({...m,argTypes:g}),m.argTypes);let h={...c};m.initialArgs=u.reduce((g,E)=>({...g,...E({...m,initialArgs:g})}),h);let{name:b,story:y,...v}=m;return v}j(Nl,"preparePartialAnnotations");function jl(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Fa.global.FEATURES?.argTypeTargetsV7){let i=Tf(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[Pf]||{}}}let n=Object.entries(r.args).reduce((i,[s,l])=>{if(!r.argTypes[s]?.mapping)return i[s]=l,i;let u=j(d=>{let c=r.argTypes[s].mapping;return c&&d in c?c[d]:d},"mappingFn");return i[s]=Array.isArray(l)?l.map(u):u(l),i},{}),a=Object.entries(n).reduce((i,[s,l])=>{let u=r.argTypes[s]||{};return(0,Nf.includeConditionalArg)(u,n,r.globals)&&(i[s]=l),i},{});return{...r,unmappedArgs:t,args:a}}j(jl,"prepareContext");var XC=jt(),QC=gt(ur(),1),ZC=jt(),eS=gt(ur(),1),pl=j((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(ZC.logger.warn(eS.dedent`
185
- We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
186
-
187
- Consider using the mapping feature or fully custom args:
188
- - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
189
- - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
190
- `),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?pl(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Cn(e,a=>pl(a,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),Df=j(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,a=Cn(n,(s,l)=>({name:l,type:pl(s,`${t}.${l}`,new Set)})),i=Cn(r,(s,l)=>({name:l}));return nn(a,i,r)},"inferArgTypes");Df.secondPass=!0;var tS=jt(),Vp=j((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),Ff=j((e,t,r)=>!t&&!r?e:e&&Sf(e,(n,a)=>{let i=n.name||a.toString();return!!(!t||Vp(i,t))&&(!r||!Vp(i,r))}),"filterArgTypes"),rS=j((e,t,r)=>{let{type:n,options:a}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&tS.logger.warn(`Addon controls: Control of type color only supports string, received "${i}" 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:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},"inferControl"),Il=j(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:a=null,matchers:i={}}={}}}=e;if(!r)return t;let s=Ff(t,n,a),l=Cn(s,(u,d)=>u?.type&&rS(u,d.toString(),i));return nn(l,s)},"inferControls");Il.secondPass=!0;function $o({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:a,beforeEach:i,experimental_afterEach:s,globals:l,initialGlobals:u,...d}){return l&&Object.keys(l).length>0&&(0,XC.deprecate)(QC.dedent`
191
- The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
192
- Please use 'initialGlobals' instead. Learn more:
193
-
194
- https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
195
- `),{...e&&{argTypes:Ua(e)},...t&&{globalTypes:Ua(t)},decorators:Et(n),loaders:Et(a),beforeEach:Et(i),experimental_afterEach:Et(s),argTypesEnhancers:[...r||[],Df,Il],initialGlobals:nn(u,l),...d}}j($o,"normalizeProjectAnnotations");var nS=gt(Pr(),1),oS=j(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()}},"composeBeforeAllHooks");function Dl(e){return async(t,r,n)=>{await e.reduceRight((a,i)=>async()=>i(t,a,n),async()=>r(n))()}}j(Dl,"composeStepRunners");function Kn(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}j(Kn,"getField");function Fr(e,t,r={}){return Kn(e,t).reduce((n,a)=>{let i=Et(a);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}j(Fr,"getArrayField");function zn(e,t){return Object.assign({},...Kn(e,t))}j(zn,"getObjectField");function wn(e,t){return Kn(e,t).pop()}j(wn,"getSingletonField");function Jn(e){let t=Fr(e,"argTypesEnhancers"),r=Kn(e,"runStep"),n=Fr(e,"beforeAll");return{parameters:nn(...Kn(e,"parameters")),decorators:Fr(e,"decorators",{reverseFileOrder:!(nS.global.FEATURES?.legacyDecoratorFileOrder??!1)}),args:zn(e,"args"),argsEnhancers:Fr(e,"argsEnhancers"),argTypes:zn(e,"argTypes"),argTypesEnhancers:[...t.filter(a=>!a.secondPass),...t.filter(a=>a.secondPass)],globals:zn(e,"globals"),initialGlobals:zn(e,"initialGlobals"),globalTypes:zn(e,"globalTypes"),loaders:Fr(e,"loaders"),beforeAll:oS(n),beforeEach:Fr(e,"beforeEach"),experimental_afterEach:Fr(e,"experimental_afterEach"),render:wn(e,"render"),renderToCanvas:wn(e,"renderToCanvas"),renderToDOM:wn(e,"renderToDOM"),applyDecorators:wn(e,"applyDecorators"),runStep:Dl(r),tags:Fr(e,"tags"),mount:wn(e,"mount"),testingLibraryRender:wn(e,"testingLibraryRender")}}j(Jn,"composeConfigs");var aS=Zr(),iS=Qr(),sS=gt(ur(),1),Fl=class{constructor(){this.reports=[]}static{j(this,"ReporterAPI")}async addReport(e){this.reports.push(e)}},lS=Zr();function Bl(e,t,r){return(0,lS.isStory)(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}j(Bl,"getCsfFactoryAnnotations");function Bf(e){globalThis.defaultProjectAnnotations=e}j(Bf,"setDefaultProjectAnnotations");var uS="ComposedStory",cS="Unnamed Story";function Lf(e){return e?Jn([e]):{}}j(Lf,"extractAnnotation");function kf(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Jn([globalThis.defaultProjectAnnotations??{},Jn(t.map(Lf))]),globalThis.globalProjectAnnotations??{}}j(kf,"setProjectAnnotations");var en=[];function Ll(e,t,r,n,a){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??uS;let i=Ha(t),s=a||e.storyName||e.story?.name||e.name||cS,l=ko(s,e,i),u=$o(Jn([n??globalThis.globalProjectAnnotations??{},r??{}])),d=za(l,i,u),c={...qf(u.globalTypes),...u.initialGlobals,...d.storyGlobals},p=new Fl,m=j(()=>{let g=jl({hooks:new wl,globals:c,args:{...d.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:j((E,T)=>d.runStep(E,T,g),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...d,context:null,mount:null});return g.parameters.__isPortableStory=!0,g.context=g,d.renderToCanvas&&(g.renderToCanvas=async()=>{let E=await d.renderToCanvas?.({componentId:d.componentId,title:d.title,id:d.id,name:d.name,tags:d.tags,showMain:j(()=>{},"showMain"),showError:j(T=>{throw new Error(`${T.title}
196
- ${T.description}`)},"showError"),showException:j(T=>{throw T},"showException"),forceRemount:!0,storyContext:g,storyFn:j(()=>d.unboundStoryFn(g),"storyFn"),unboundStoryFn:d.unboundStoryFn},g.canvasElement);E&&en.push(E)}),g.mount=d.mount(g),g},"initializeContext"),h,b=j(async g=>{let E=m();return E.canvasElement??=globalThis?.document?.body,h&&(E.loaded=h.loaded),Object.assign(E,g),d.playFunction(E)},"play"),y=j(g=>{let E=m();return Object.assign(E,g),Hf(d,E)},"run"),v=d.playFunction?b:void 0;return Object.assign(j(function(g){let E=m();return h&&(E.loaded=h.loaded),E.args={...E.initialArgs,...g},d.unboundStoryFn(E)},"storyFn"),{id:d.id,storyName:s,load:j(async()=>{for(let E of[...en].reverse())await E();en.length=0;let g=m();g.loaded=await d.applyLoaders(g),en.push(...(await d.applyBeforeEach(g)).filter(Boolean)),h=g},"load"),globals:c,args:d.initialArgs,parameters:d.parameters,argTypes:d.argTypes,play:v,run:y,reporting:p,tags:d.tags})}j(Ll,"composeStory");var dS=j((e,t,r,n)=>Ll(e,t,r,{},n),"defaultComposeStory");function $f(e,t,r=dS){let{default:n,__esModule:a,__namedExportsOrder:i,...s}=e,l=n;return Object.entries(s).reduce((u,[d,c])=>{let{story:p,meta:m}=Bl(c);return!l&&m&&(l=m),(0,aS.isExportStory)(d,l)?Object.assign(u,{[d]:r(p,l,t,d)}):u},{})}j($f,"composeStories");function Uf(e){return e.extend({mount:j(async({mount:t,page:r},n)=>{await n(async(a,...i)=>{if(!("__pw_type"in a)||"__pw_type"in a&&a.__pw_type!=="jsx")throw new Error(sS.dedent`
197
- Portable stories in Playwright CT only work when referencing JSX elements.
198
- Please use JSX format for your components such as:
199
-
200
- instead of:
201
- await mount(MyComponent, { props: { foo: 'bar' } })
202
-
203
- do:
204
- await mount(<MyComponent foo="bar"/>)
205
-
206
- More info: https://storybook.js.org/docs/api/portable-stories-playwright
207
- `);await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in u?u.type:u)?.load?.()},a);let s=await t(a,...i);return await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l),d="__pw_type"in u?u.type:u,c=document.querySelector("#root");return d?.play?.({canvasElement:c})},a),s})},"mount")})}j(Uf,"createPlaywrightTest");async function Hf(e,t){for(let a of[...en].reverse())await a();if(en.length=0,!t.canvasElement){let a=document.createElement("div");globalThis?.document?.body?.appendChild(a),t.canvasElement=a,en.push(()=>{globalThis?.document?.body?.contains(a)&&globalThis?.document?.body?.removeChild(a)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;en.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&(r&&(n||(t.mount=async()=>{throw new iS.MountMustBeDestructuredError({playFunction:r.toString()})}),await r(t)),await e.applyAfterEach(t))}j(Hf,"runStory");function fl(e,t){return Rf(Cf(e,t),r=>r===void 0)}j(fl,"picky");var Gp=1e3,pS=1e4,Vf=class{constructor(e,t,r){this.importFn=t,this.getStoriesJsonData=j(()=>{let i=this.getSetStoriesPayload(),s=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Cn(i.stories,l=>{let{importPath:u}=this.storyIndex.entries[l.id];return{...fl(l,["id","name","title"]),importPath:u,kind:l.title,story:l.name,parameters:{...fl(l.parameters,s),fileName:u}}})}},"getStoriesJsonData"),this.storyIndex=new kC(e),this.projectAnnotations=$o(r);let{initialGlobals:n,globalTypes:a}=this.projectAnnotations;this.args=new jC,this.userGlobals=new DC({globals:n,globalTypes:a}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,el.default)(Gp)(Mf),this.prepareMetaWithCache=(0,el.default)(Gp)(Ml),this.prepareStoryWithCache=(0,el.default)(pS)(za)}static{j(this,"StoryStore")}setProjectAnnotations(e){this.projectAnnotations=$o(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 kp.MissingStoryFromCsfFileError({storyId:e});let n=t.meta,a=this.prepareStoryWithCache(r,n,t.projectAnnotations??this.projectAnnotations);return this.args.setInitial(a),this.hooks[a.id]=this.hooks[a.id]||new wl,a}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,...a]=await Promise.all([this.importFn(t.importPath),...r.map(i=>{let s=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(s.id)})]);return{entryExports:n,csfFiles:a}}getStoryContext(e,{forceInitialArgs:t=!1}={}){let r=this.userGlobals.get(),{initialGlobals:n}=this.userGlobals,a=new Fl;return jl({...e,args:t?e.initialArgs:this.args.get(e.id),initialGlobals:n,globalTypes:this.projectAnnotations.globalTypes,userGlobals:r,reporting:a,globals:{...r,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,t){this.cleanupCallbacks[e.id]=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(!t)throw new kp.CalledExtractOnStoreError;return Object.entries(this.storyIndex.entries).reduce((r,[n,{type:a,importPath:i}])=>{if(a==="docs")return r;let s=t[i],l=this.storyFromCSFFile({storyId:n,csfFile:s});return!e.includeDocsOnly&&l.parameters.docsOnly||(r[n]=Object.entries(l).reduce((u,[d,c])=>d==="moduleExport"||typeof c=="function"?u:Array.isArray(c)?Object.assign(u,{[d]:c.slice().sort()}):Object.assign(u,{[d]:c}),{args:l.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...l.storyGlobals}})),r},{})}getSetStoriesPayload(){let e=this.extract({includeDocsOnly:!0}),t=Object.values(e).reduce((r,{title:n})=>(r[n]={},r),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:t,stories:e}}raw(){return(0,Lp.deprecate)("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:e})=>this.fromId(e)).filter(Boolean)}fromId(e){if((0,Lp.deprecate)("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let t;try{({importPath:t}=this.storyIndex.storyIdToEntry(e))}catch{return null}let r=this.cachedCSFFiles[t],n=this.storyFromCSFFile({storyId:e,csfFile:r});return{...n,storyFn:j(a=>{let i={...this.getStoryContext(n),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:j((s,l)=>n.runStep(s,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return n.unboundStoryFn({...i,...a})},"storyFn")}}},fS=jt();function Gf(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}j(Gf,"slash");var mS=gt(ur(),1),hS=j(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]},"sanitize");function ml(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}j(ml,"pathJoin");var zf=j((e,t,r)=>{let{directory:n,importPathMatcher:a,titlePrefix:i=""}=t||{};typeof e=="number"&&fS.once.warn(mS.dedent`
208
- CSF Auto-title received a numeric fileName. This typically happens when
209
- webpack is mis-configured in production mode. To force webpack to produce
210
- filenames, set optimization.moduleIds = "named" in your webpack config.
211
- `);let s=Gf(String(e));if(a.exec(s)){if(!r){let l=s.replace(n,""),u=ml([i,l]).split("/");return u=hS(u),u.join("/")}return i?ml([i,r]):r}},"userOrAutoTitleFromSpecifier"),bS=j((e,t,r)=>{for(let n=0;n<t.length;n+=1){let a=zf(e,t[n],r);if(a)return a}return r||void 0},"userOrAutoTitle"),yS=gt(ur(),1),zp=/\s*\/\s*/,gS=j((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",a=e.order||[],i=t.title.trim().split(zp),s=r.title.trim().split(zp);e.includeNames&&(i.push(t.name),s.push(r.name));let l=0;for(;i[l]||s[l];){if(!i[l])return-1;if(!s[l])return 1;let u=i[l],d=s[l];if(u!==d){let p=a.indexOf(u),m=a.indexOf(d),h=a.indexOf("*");return p!==-1||m!==-1?(p===-1&&(h!==-1?p=h:p=a.length),m===-1&&(h!==-1?m=h:m=a.length),p-m):n==="configure"?0:u.localeCompare(d,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let c=a.indexOf(u);c===-1&&(c=a.indexOf("*")),a=c!==-1&&Array.isArray(a[c+1])?a[c+1]:[],l+=1}return 0},"storySort"),vS=j((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=gS(t),e.sort(n)}else e.sort((n,a)=>r.indexOf(n.importPath)-r.indexOf(a.importPath));return e},"sortStoriesCommon"),_S=j((e,t,r)=>{try{return vS(e,t,r)}catch(n){throw new Error(yS.dedent`
212
- Error sorting stories with sort parameter ${t}:
213
-
214
- > ${n.message}
215
-
216
- Are you using a V6-style sort function in V7 mode?
217
-
218
- More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
219
- `)}},"sortStoriesV7"),ES=gt(Pr(),1),nl=jt(),er=Sr(),lr=Qr(),En=Sr(),Wp=Qr(),Wa=new Error("prepareAborted"),{AbortController:Yp}=globalThis;function hl(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)}}}j(hl,"serializeError");var bl=class{constructor(e,t,r,n,a,i,s={autoplay:!0,forceInitialArgs:!1},l){this.channel=e,this.store=t,this.renderToScreen=r,this.callbacks=n,this.id=a,this.viewMode=i,this.renderOptions=s,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=j(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Yp,l&&(this.story=l,this.phase="preparing")}static{j(this,"StoryRender")}async runPhase(e,t,r){this.phase=t,this.channel.emit(En.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),r&&(await r(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted?(this.phase="aborted",this.channel.emit(En.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),!0):!1}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),Wa}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:a,componentId:i,title:s,name:l,tags:u,applyLoaders:d,applyBeforeEach:c,applyAfterEach:p,unboundStoryFn:m,playFunction:h,runStep:b}=n;t&&!e&&(this.cancelRender(),this.abortController=new Yp);let y=this.abortController.signal,v=!1,g=n.usesMount;try{let E={...this.storyContext(),viewMode:this.viewMode,abortSignal:y,canvasElement:r,loaded:{},step:j((K,ee)=>b(K,ee,E),"step"),context:null,canvas:{},renderToCanvas:j(async()=>{let K=await this.renderToScreen(T,r);this.teardownRender=K||(()=>{}),v=!0},"renderToCanvas"),mount:j(async(...K)=>{this.callbacks.showStoryDuringRender?.();let ee=null;return await this.runPhase(y,"rendering",async()=>{ee=await n.mount(E)(...K)}),g&&await this.runPhase(y,"playing"),ee},"mount")};E.context=E;let T={componentId:i,title:s,kind:s,id:a,name:l,story:l,tags:u,...this.callbacks,showError:j(K=>(this.phase="errored",this.callbacks.showError(K)),"showError"),showException:j(K=>(this.phase="errored",this.callbacks.showException(K)),"showException"),forceRemount:t||this.notYetRendered,storyContext:E,storyFn:j(()=>m(E),"storyFn"),unboundStoryFn:m};if(await this.runPhase(y,"loading",async()=>{E.loaded=await d(E)}),y.aborted)return;let M=await c(E);if(this.store.addCleanupCallbacks(n,M),this.checkIfAborted(y)||(!v&&!g&&await E.mount(),this.notYetRendered=!1,y.aborted))return;let O=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,A=new Set,w=j(K=>A.add("error"in K?K.error:K.reason),"onError");if(this.renderOptions.autoplay&&t&&h&&this.phase!=="errored"){window.addEventListener("error",w),window.addEventListener("unhandledrejection",w),this.disableKeyListeners=!0;try{if(g?await h(E):(E.mount=async()=>{throw new Wp.MountMustBeDestructuredError({playFunction:h.toString()})},await this.runPhase(y,"playing",async()=>h(E))),!v)throw new Wp.NoStoryMountedError;this.checkIfAborted(y),!O&&A.size>0?await this.runPhase(y,"errored"):await this.runPhase(y,"played")}catch(K){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(y,"errored",async()=>{this.channel.emit(En.PLAY_FUNCTION_THREW_EXCEPTION,hl(K))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw K;console.error(K)}if(!O&&A.size>0&&this.channel.emit(En.UNHANDLED_ERRORS_WHILE_PLAYING,Array.from(A).map(hl)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",w),window.removeEventListener("error",w),y.aborted)return}await this.runPhase(y,"completed",async()=>this.channel.emit(En.STORY_RENDERED,a)),this.phase!=="errored"&&await this.runPhase(y,"afterEach",async()=>{await p(E)});let S=!O&&A.size>0,N=E.reporting.reports.some(K=>K.status==="failed"),Y=S||N;await this.runPhase(y,"finished",async()=>this.channel.emit(En.STORY_FINISHED,{storyId:a,status:Y?"error":"success",reporters:E.reporting.reports}))}catch(E){this.phase="errored",this.callbacks.showException(E),await this.runPhase(y,"finished",async()=>this.channel.emit(En.STORY_FINISHED,{storyId:a,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()}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:wS}=ES.global,RS="./index.json",Wf=class{constructor(e,t,r=rn.getChannel(),n=!0){this.importFn=e,this.getProjectAnnotations=t,this.channel=r,this.storyRenders=[],this.storeInitializationPromise=new Promise((a,i)=>{this.resolveStoreInitializationPromise=a,this.rejectStoreInitializationPromise=i}),n&&this.initialize()}static{j(this,"Preview")}get storyStore(){return new Proxy({},{get:j((e,t)=>{if(this.storyStoreValue)return(0,nl.deprecate)("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[t];throw new lr.StoryStoreAccessedBeforeInitializationError},"get")})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e)}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(er.STORY_INDEX_INVALIDATED,this.onStoryIndexChanged.bind(this)),this.channel.on(er.UPDATE_GLOBALS,this.onUpdateGlobals.bind(this)),this.channel.on(er.UPDATE_STORY_ARGS,this.onUpdateArgs.bind(this)),this.channel.on(er.ARGTYPES_INFO_REQUEST,this.onRequestArgTypesInfo.bind(this)),this.channel.on(er.RESET_STORY_ARGS,this.onResetArgs.bind(this)),this.channel.on(er.FORCE_RE_RENDER,this.onForceReRender.bind(this)),this.channel.on(er.FORCE_REMOUNT,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new lr.MissingRenderToCanvasError;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 wS(RS);if(e.status===200)return e.json();throw new lr.StoryIndexFetchError({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Vf(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new lr.CalledPreviewMethodBeforeInitializationError({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(er.SET_GLOBALS,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 lr.CalledPreviewMethodBeforeInitializationError({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 lr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),t){let{initialGlobals:r,storyGlobals:n,userGlobals:a,globals:i}=this.storyStoreValue.getStoryContext(t);this.channel.emit(er.GLOBALS_UPDATED,{initialGlobals:r,userGlobals:a,storyGlobals:n,globals:i})}else{let{initialGlobals:r,globals:n}=this.storyStoreValue.userGlobals;this.channel.emit(er.GLOBALS_UPDATED,{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 lr.CalledPreviewMethodBeforeInitializationError({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(er.STORY_ARGS_UPDATED,{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(er.ARGTYPES_INFO_RESPONSE,{id:e,success:!0,payload:{argTypes:r?.argTypes||{}},error:null})}catch(r){this.channel.emit(er.ARGTYPES_INFO_RESPONSE,{id:e,success:!1,error:r?.message})}}async onResetArgs({storyId:e,argNames:t}){if(!this.storyStoreValue)throw new lr.CalledPreviewMethodBeforeInitializationError({methodName:"onResetArgs"});let r=this.storyRenders.find(a=>a.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((a,i)=>(a[i]=r.initialArgs[i],a),{});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()))}renderStoryToElement(e,t,r,n){if(!this.renderToCanvas||!this.storyStoreValue)throw new lr.CalledPreviewMethodBeforeInitializationError({methodName:"renderStoryToElement"});let a=new bl(this.channel,this.storyStoreValue,this.renderToCanvas,r,e.id,"docs",n,e);return a.renderToElement(t),this.storyRenders.push(a),async()=>{await this.teardownRender(a)}}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 lr.CalledPreviewMethodBeforeInitializationError({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:t=!1}={}){if(!this.storyStoreValue)throw new lr.CalledPreviewMethodBeforeInitializationError({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:t})}async extract(e){if(!this.storyStoreValue)throw new lr.CalledPreviewMethodBeforeInitializationError({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,t){this.previewEntryError=t,nl.logger.error(e),nl.logger.error(t),this.channel.emit(er.CONFIG_ERROR,t)}},CS=gt(Pr(),1),Ia=jt(),Nt=Sr(),Vn=Qr(),SS=process.env.NODE_ENV==="production",ol="Invariant failed";function Ba(e,t){if(!e){if(SS)throw new Error(ol);var r=typeof t=="function"?t():t,n=r?"".concat(ol,": ").concat(r):ol;throw new Error(n)}}j(Ba,"invariant");var AS=Sr(),PS=Zr(),TS=gt(ur(),1),kl=class{constructor(e,t,r,n){this.channel=e,this.store=t,this.renderStoryToElement=r,this.storyIdByName=j(a=>{let i=this.nameToStoryId.get(a);if(i)return i;throw new Error(`No story found with that name: ${a}`)},"storyIdByName"),this.componentStories=j(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=j(a=>this.store.componentStoriesFromCSFFile({csfFile:a}),"componentStoriesFromCSFFile"),this.storyById=j(a=>{if(!a){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let i=this.storyIdToCSFFile.get(a);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${a}`);return this.store.storyFromCSFFile({storyId:a,csfFile:i})},"storyById"),this.getStoryContext=j(a=>({...this.store.getStoryContext(a),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=j(a=>this.store.loadStory({storyId:a}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,n.forEach((a,i)=>{this.referenceCSFFile(a)})}static{j(this,"DocsContext")}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),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)return{type:"meta",csfFile:t};let r=this.exportToStory.get((0,PS.isStory)(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(TS.dedent`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(", ")}.
220
- - Did you pass a component to the 'of' prop when the block only supports a story or a meta?
221
- - ... or vice versa?
222
- - 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})};case"story":default:return r}}},Kp=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}static{j(this,"CsfDocsRender")}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Wa;let{importPath:r,title:n}=this.entry,a=this.store.processCSFFileWithCache(e,r,n),i=Object.keys(a.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:a}),this.csfFiles=[a,...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 kl(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(r=>t.attachCSFFile(r)),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 a=await n.renderer(),{render:i}=a,s=j(async()=>{try{await i(r,n,e),this.channel.emit(AS.DOCS_RENDERED,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>s(),this.teardownRender=async({viewModeChanged:l})=>{!l||!e||a.unmount(e)},s()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},OS=Sr(),Jp=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}static{j(this,"MdxDocsRender")}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:t=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Wa;this.csfFiles=t,this.exports=e,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");return new kl(this.channel,this.store,e,this.csfFiles)}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||{};if(!n)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let a={...n,page:this.exports.default},i=await n.renderer(),{render:s}=i,l=j(async()=>{try{await s(r,a,e),this.channel.emit(OS.DOCS_RENDERED,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u}={})=>{!u||!e||(i.unmount(e),this.torndown=!0)},l()}async teardown({viewModeChanged:e}={}){this.teardownRender?.({viewModeChanged:e}),this.torndown=!0}},qS=globalThis;function Yf(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}j(Yf,"focusInInput");var Kf="attached-mdx",xS="unattached-mdx";function Jf({tags:e}){return e?.includes(xS)||e?.includes(Kf)}j(Jf,"isMdxEntry");function La(e){return e.type==="story"}j(La,"isStoryRender");function Xf(e){return e.type==="docs"}j(Xf,"isDocsRender");function Qf(e){return Xf(e)&&e.subtype==="csf"}j(Qf,"isCsfDocsRender");var Zf=class extends Wf{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()}static{j(this,"PreviewWithSelection")}setupListeners(){super.setupListeners(),qS.onkeydown=this.onKeydown.bind(this),this.channel.on(Nt.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(Nt.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(Nt.PRELOAD_ENTRIES,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Vn.CalledPreviewMethodBeforeInitializationError({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 Vn.CalledPreviewMethodBeforeInitializationError({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 Vn.EmptyIndexError):this.renderStoryLoadingException(e,new Vn.NoStoryMatchError({storySpecifier:e.toString()}));return}let{id:n,type:a}=r;this.selectionStore.setSelection({storyId:n,viewMode:a}),this.channel.emit(Nt.STORY_SPECIFIED,this.selectionStore.selection),this.channel.emit(Nt.CURRENT_STORY_WAS_SET,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)&&!Yf(e)){let{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,key:i,code:s,keyCode:l}=e;this.channel.emit(Nt.PREVIEW_KEYDOWN,{event:{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,key:i,code:s,keyCode:l}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit(Nt.CURRENT_STORY_WAS_SET,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){let t=this.currentRender instanceof bl&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:t}),(this.currentRender instanceof Jp||this.currentRender instanceof Kp)&&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 Vn.CalledPreviewMethodBeforeInitializationError({methodName:"renderSelection"});let{selection:r}=this.selectionStore;if(!r)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:n}=r,a;try{a=await this.storyStoreValue.storyIdToEntry(n)}catch(p){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(n,p);return}let i=this.currentSelection?.storyId!==n,s=this.currentRender?.type!==a.type;a.type==="story"?this.view.showPreparingStory({immediate:s}):this.view.showPreparingDocs({immediate:s}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let l;a.type==="story"?l=new bl(this.channel,this.storyStoreValue,t,this.mainStoryCallbacks(n),n,"story"):Jf(a)?l=new Jp(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(n)):l=new Kp(this.channel,this.storyStoreValue,a,this.mainStoryCallbacks(n));let u=this.currentSelection;this.currentSelection=r;let d=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(p){d&&await this.teardownRender(d),p!==Wa&&this.renderStoryLoadingException(n,p);return}let c=!i&&d&&!l.isEqual(d);if(e&&La(l)&&(Ba(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,e)),d&&!d.torndown&&!i&&!c&&!s){this.currentRender=d,this.channel.emit(Nt.STORY_UNCHANGED,n),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:s}),u&&(i||s)&&this.channel.emit(Nt.STORY_CHANGED,n),La(l)){Ba(!!l.story);let{parameters:p,initialArgs:m,argTypes:h,unmappedArgs:b,initialGlobals:y,userGlobals:v,storyGlobals:g,globals:E}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(Nt.STORY_PREPARED,{id:n,parameters:p,initialArgs:m,argTypes:h,args:b}),this.channel.emit(Nt.GLOBALS_UPDATED,{userGlobals:v,storyGlobals:g,globals:E,initialGlobals:y})}else{let{parameters:p}=this.storyStoreValue.projectAnnotations,{initialGlobals:m,globals:h}=this.storyStoreValue.userGlobals;if(this.channel.emit(Nt.GLOBALS_UPDATED,{globals:h,initialGlobals:m,storyGlobals:{},userGlobals:h}),Qf(l)||l.entry.tags?.includes(Kf)){if(!l.csfFiles)throw new Vn.MdxFileWithNoCsfReferencesError({storyId:n});({parameters:p}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(Nt.DOCS_PREPARED,{id:n,parameters:p})}La(l)?(Ba(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),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:j(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:j(()=>this.view.showMain(),"showMain"),showError:j(t=>this.renderError(e,t),"showError"),showException:j(t=>this.renderException(e,t),"showException")}}renderPreviewEntryError(e,t){super.renderPreviewEntryError(e,t),this.view.showErrorDisplay(t)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Nt.STORY_MISSING)}renderStoryLoadingException(e,t){Ia.logger.error(t),this.view.showErrorDisplay(t),this.channel.emit(Nt.STORY_MISSING,e)}renderException(e,t){let{name:r="Error",message:n=String(t),stack:a}=t;this.channel.emit(Nt.STORY_THREW_EXCEPTION,{name:r,message:n,stack:a}),this.channel.emit(Nt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay(t),Ia.logger.error(`Error rendering story '${e}':`),Ia.logger.error(t)}renderError(e,{title:t,description:r}){Ia.logger.error(`Error rendering story ${t}: ${r}`),this.channel.emit(Nt.STORY_ERRORED,{title:t,description:r}),this.channel.emit(Nt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay({message:t,stack:r})}},MS=gt(Pr(),1),yl=gt(_l(),1),NS=jt(),jS=gt(_l(),1),IS=gt(ur(),1),Xp=/^[a-zA-Z0-9 _-]*$/,em=/^-?[0-9]+(\.[0-9]+)?$/,DS=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,tm=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,gl=j((e="",t)=>e===null||e===""||!Xp.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Xp.test(t)||em.test(t)||DS.test(t)||tm.test(t):Array.isArray(t)?t.every(r=>gl(e,r)):br(t)?Object.entries(t).every(([r,n])=>gl(r,n)):!1,"validateArgs"),FS={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(tm);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 em.test(e)?Number(e):e}},Qp=j(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,jS.parse)(t.join(";"),FS)).reduce((r,[n,a])=>gl(n,a)?Object.assign(r,{[n]:a}):(NS.once.warn(IS.dedent`
223
- Omitted potentially unsafe URL args.
224
-
225
- More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
226
- `),r),{})},"parseArgsParam"),{history:rm,document:tn}=MS.global;function nm(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}j(nm,"pathToId");var om=j(({selection:e,extraParams:t})=>{let r=tn?.location.search.slice(1),{path:n,selectedKind:a,selectedStory:i,...s}=(0,yl.parse)(r);return`?${(0,yl.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),BS=j(e=>{if(!e)return;let t=om({selection:e}),{hash:r=""}=tn.location;tn.title=e.storyId,rm.replaceState({},"",`${tn.location.pathname}${t}${r}`)},"setPath"),LS=j(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Lo=j(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Lo(e[0]);if(LS(e))return Lo(Object.values(e).filter(Boolean))}},"getFirstString"),kS=j(()=>{if(typeof tn<"u"){let e=tn.location.search.slice(1),t=(0,yl.parse)(e),r=typeof t.args=="string"?Qp(t.args):void 0,n=typeof t.globals=="string"?Qp(t.globals):void 0,a=Lo(t.viewMode);(typeof a!="string"||!a.match(/docs|story/))&&(a="story");let i=Lo(t.path),s=i?nm(i):Lo(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:a}}return null},"getSelectionSpecifierFromPath"),am=class{static{j(this,"UrlStore")}constructor(){this.selectionSpecifier=kS()}setSelection(e){this.selection=e,BS(this.selection)}setQueryParams(e){let t=om({extraParams:e}),{hash:r=""}=tn.location;rm.replaceState({},"",`${tn.location.pathname}${t}${r}`)}},$S=gt(Pr(),1),US=jt(),HS=gt(XR(),1),VS=gt(_l(),1),GS=gt(ur(),1),{document:Ut}=$S.global,Zp=100,im=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(im||{}),al={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},il={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},ef=new HS.default({escapeXML:!0}),sm=class{constructor(){if(this.testing=!1,typeof Ut<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,VS.parse)(Ut.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}static{j(this,"WebView")}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),Ut.documentElement.scrollTop=0,Ut.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Ut.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Ut.documentElement.scrollTop=0,Ut.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Ut.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){Ut.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let t=il[e];Ut.body.classList.remove(this.currentLayoutClass),Ut.body.classList.add(t),this.currentLayoutClass=t}checkIfLayoutExists(e){il[e]||US.logger.warn(GS.dedent`
227
- The desired layout: ${e} is not a valid option.
228
- The possible options are: ${Object.keys(il).join(", ")}, none.
229
- `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(im).forEach(t=>{t===e?Ut.body.classList.add(al[t]):Ut.body.classList.remove(al[t])})}showErrorDisplay({message:e="",stack:t=""}){let r=e,n=t,a=e.split(`
230
- `);a.length>1&&([r]=a,n=a.slice(1).join(`
231
- `).replace(/^\n/,"")),Ut.getElementById("error-message").innerHTML=ef.toHtml(r),Ut.getElementById("error-stack").innerHTML=ef.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"),Zp)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Zp)}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(){Ut.body.classList.add(al.MAIN)}},zS=class extends Zf{constructor(e,t){super(e,t,new am,new sm),this.importFn=e,this.getProjectAnnotations=t,CS.global.__STORYBOOK_PREVIEW__=this}static{j(this,"PreviewWeb")}},WS=gt(Pr(),1),{document:Rn}=WS.global,YS=["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"],KS="script",tf="scripts-root";function Va(){let e=Rn.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Rn.dispatchEvent(e)}j(Va,"simulateDOMContentLoaded");function lm(e,t,r){let n=Rn.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):Rn.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}j(lm,"insertScript");function $l(e,t,r=0){e[r](()=>{r++,r===e.length?t():$l(e,t,r)})}j($l,"insertScriptsSequentially");function um(e){let t=Rn.getElementById(tf);t?t.innerHTML="":(t=Rn.createElement("div"),t.id=tf,Rn.body.appendChild(t));let r=Array.from(e.querySelectorAll(KS));if(r.length){let n=[];r.forEach(a=>{let i=a.getAttribute("type");(!i||YS.includes(i))&&n.push(s=>lm(a,s,t))}),n.length&&$l(n,Va,void 0)}else Va()}j(um,"simulatePageLoad")});var pm=ir((XH,dm)=>{"use strict";dm.exports=Na()});var bu=ir((QH,$h)=>{"use strict";var au=Object.defineProperty,JS=Object.getOwnPropertyDescriptor,XS=Object.getOwnPropertyNames,QS=Object.prototype.hasOwnProperty,ZS=(e,t)=>{for(var r in t)au(e,r,{get:t[r],enumerable:!0})},eA=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of XS(t))!QS.call(e,a)&&a!==r&&au(e,a,{get:()=>t[a],enumerable:!(n=JS(t,a))||n.enumerable});return e},tA=e=>eA(au({},"__esModule",{value:!0}),e),rh={};ZS(rh,{CallStates:()=>kh,EVENTS:()=>Tr,instrument:()=>K2});$h.exports=tA(rh);var rA=Vs(),Ya=pp(),nA=pm(),Xt=Us(),oA={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]},aA=Object.entries(oA);function iu(e){return String(e)}iu.open="";iu.close="";function iA(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 sA(e=!1){let t=iA(e),r=(s,l,u,d)=>{let c="",p=0;do c+=s.substring(p,d)+u,p=d+l.length,d=s.indexOf(l,p);while(~d);return c+s.substring(p)},n=(s,l,u=s)=>{let d=c=>{let p=String(c),m=p.indexOf(l,s.length);return~m?s+r(p,l,u,m)+l:s+p+l};return d.open=s,d.close=l,d},a={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of aA)a[s]=t?n(i(l[0]),i(l[1]),l[2]):iu;return a}var lA=$n("tty"),Lr=sA((0,lA.isatty)(1));function uA(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function Za(e,t,r,n,a,i,s=": "){let l="",u=0,d=e.next();if(!d.done){l+=t.spacingOuter;let c=r+t.indent;for(;!d.done;){if(l+=c,u++===t.maxWidth){l+="\u2026";break}let p=i(d.value[0],t,c,n,a),m=i(d.value[1],t,c,n,a);l+=p+s+m,d=e.next(),d.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function su(e,t,r,n,a,i){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+="\u2026";break}s+=i(u.value,t,d,n,a),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Qa(e,t,r,n,a,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=d=>d instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let d=r+t.indent;for(let c=0;c<u;c++){if(s+=d,c===t.maxWidth){s+="\u2026";break}(l(e)||c in e)&&(s+=i(l(e)?e.getInt8(c):e[c],t,d,n,a)),c<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function lu(e,t,r,n,a,i){let s="",l=uA(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<l.length;d++){let c=l[d],p=i(c,t,u,n,a),m=i(e[c],t,u,n,a);s+=`${u+p}: ${m}`,d<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var cA=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,Ul=" ",dA=(e,t,r,n,a,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+Ul}[${Qa(e.sample,t,r,n,a,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+Ul}{${lu(e.sample,t,r,n,a,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+Ul+i(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},pA=e=>e&&e.$$typeof===cA,fA={serialize:dA,test:pA},mA=" ",nh=new Set(["DOMStringMap","NamedNodeMap"]),hA=/^(?:HTML\w*Collection|NodeList)$/;function bA(e){return nh.has(e)||hA.test(e)}var yA=e=>e&&e.constructor&&!!e.constructor.name&&bA(e.constructor.name);function gA(e){return e.constructor.name==="NamedNodeMap"}var vA=(e,t,r,n,a,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+mA)+(nh.has(s)?`{${lu(gA(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,i)}}`:`[${Qa([...e],t,r,n,a,i)}]`)},_A={serialize:vA,test:yA};function oh(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function uu(e,t,r,n,a,i,s){let l=n+r.indent,u=r.colors;return e.map(d=>{let c=t[d],p=s(c,r,l,a,i);return typeof c!="string"&&(p.includes(`
232
- `)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function cu(e,t,r,n,a,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?ah(s,t):i(s,t,r,n,a))).join("")}function ah(e,t){let r=t.colors.content;return r.open+oh(e)+r.close}function EA(e,t){let r=t.colors.comment;return`${r.open}<!--${oh(e)}-->${r.close}`}function du(e,t,r,n,a){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+a+i.open}${r?`>${i.close}${r}${n.spacingOuter}${a}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function pu(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var wA=1,ih=3,sh=8,lh=11,RA=/^(?:(?:HTML|SVG)\w*)?Element$/;function CA(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function SA(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||CA(e);return r===wA&&(RA.test(t)||a)||r===ih&&t==="Text"||r===sh&&t==="Comment"||r===lh&&t==="DocumentFragment"}var AA=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&SA(e)};function PA(e){return e.nodeType===ih}function TA(e){return e.nodeType===sh}function Hl(e){return e.nodeType===lh}var OA=(e,t,r,n,a,i)=>{if(PA(e))return ah(e.data,t);if(TA(e))return EA(e.data,t);let s=Hl(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?pu(s,t):du(s,uu(Hl(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Hl(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,i),cu(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,i),t,r)},qA={serialize:OA,test:AA},xA="@@__IMMUTABLE_ITERABLE__@@",MA="@@__IMMUTABLE_LIST__@@",NA="@@__IMMUTABLE_KEYED__@@",jA="@@__IMMUTABLE_MAP__@@",fm="@@__IMMUTABLE_ORDERED__@@",IA="@@__IMMUTABLE_RECORD__@@",DA="@@__IMMUTABLE_SEQ__@@",FA="@@__IMMUTABLE_SET__@@",BA="@@__IMMUTABLE_STACK__@@",eo=e=>`Immutable.${e}`,ei=e=>`[${e}]`,zo=" ",mm="\u2026";function LA(e,t,r,n,a,i,s){return++n>t.maxDepth?ei(eo(s)):`${eo(s)+zo}{${Za(e.entries(),t,r,n,a,i)}}`}function kA(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 $A(e,t,r,n,a,i){let s=eo(e._name||"Record");return++n>t.maxDepth?ei(s):`${s+zo}{${Za(kA(e),t,r,n,a,i)}}`}function UA(e,t,r,n,a,i){let s=eo("Seq");return++n>t.maxDepth?ei(s):e[NA]?`${s+zo}{${e._iter||e._object?Za(e.entries(),t,r,n,a,i):mm}}`:`${s+zo}[${e._iter||e._array||e._collection||e._iterable?su(e.values(),t,r,n,a,i):mm}]`}function Vl(e,t,r,n,a,i,s){return++n>t.maxDepth?ei(eo(s)):`${eo(s)+zo}[${su(e.values(),t,r,n,a,i)}]`}var HA=(e,t,r,n,a,i)=>e[jA]?LA(e,t,r,n,a,i,e[fm]?"OrderedMap":"Map"):e[MA]?Vl(e,t,r,n,a,i,"List"):e[FA]?Vl(e,t,r,n,a,i,e[fm]?"OrderedSet":"Set"):e[BA]?Vl(e,t,r,n,a,i,"Stack"):e[DA]?UA(e,t,r,n,a,i):$A(e,t,r,n,a,i),VA=e=>e&&(e[xA]===!0||e[IA]===!0),GA={serialize:HA,test:VA},Gl={exports:{}},ft={},hm;function zA(){if(hm)return ft;hm=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=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"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function y(v){if(typeof v=="object"&&v!==null){var g=v.$$typeof;switch(g){case e:switch(v=v.type,v){case r:case a:case n:case d:case c:return v;default:switch(v=v&&v.$$typeof,v){case l:case s:case u:case m:case p:case i:return v;default:return g}}case t:return g}}}return ft.ContextConsumer=s,ft.ContextProvider=i,ft.Element=e,ft.ForwardRef=u,ft.Fragment=r,ft.Lazy=m,ft.Memo=p,ft.Portal=t,ft.Profiler=a,ft.StrictMode=n,ft.Suspense=d,ft.SuspenseList=c,ft.isAsyncMode=function(){return!1},ft.isConcurrentMode=function(){return!1},ft.isContextConsumer=function(v){return y(v)===s},ft.isContextProvider=function(v){return y(v)===i},ft.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},ft.isForwardRef=function(v){return y(v)===u},ft.isFragment=function(v){return y(v)===r},ft.isLazy=function(v){return y(v)===m},ft.isMemo=function(v){return y(v)===p},ft.isPortal=function(v){return y(v)===t},ft.isProfiler=function(v){return y(v)===a},ft.isStrictMode=function(v){return y(v)===n},ft.isSuspense=function(v){return y(v)===d},ft.isSuspenseList=function(v){return y(v)===c},ft.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===a||v===n||v===d||v===c||v===h||typeof v=="object"&&v!==null&&(v.$$typeof===m||v.$$typeof===p||v.$$typeof===i||v.$$typeof===s||v.$$typeof===u||v.$$typeof===b||v.getModuleId!==void 0)},ft.typeOf=y,ft}var ht={},bm;function WA(){return bm||(bm=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=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"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b=!1,y=!1,v=!1,g=!1,E=!1,T;T=Symbol.for("react.module.reference");function M(fe){return!!(typeof fe=="string"||typeof fe=="function"||fe===r||fe===a||E||fe===n||fe===d||fe===c||g||fe===h||b||y||v||typeof fe=="object"&&fe!==null&&(fe.$$typeof===m||fe.$$typeof===p||fe.$$typeof===i||fe.$$typeof===s||fe.$$typeof===u||fe.$$typeof===T||fe.getModuleId!==void 0))}function O(fe){if(typeof fe=="object"&&fe!==null){var Se=fe.$$typeof;switch(Se){case e:var He=fe.type;switch(He){case r:case a:case n:case d:case c:return He;default:var ut=He&&He.$$typeof;switch(ut){case l:case s:case u:case m:case p:case i:return ut;default:return Se}}case t:return Se}}}var A=s,w=i,S=e,N=u,Y=r,K=m,ee=p,Q=t,x=a,D=n,J=d,ve=c,ye=!1,xe=!1;function De(fe){return ye||(ye=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function je(fe){return xe||(xe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function be(fe){return O(fe)===s}function de(fe){return O(fe)===i}function ge(fe){return typeof fe=="object"&&fe!==null&&fe.$$typeof===e}function Te(fe){return O(fe)===u}function Re(fe){return O(fe)===r}function Ne(fe){return O(fe)===m}function Ze(fe){return O(fe)===p}function _t(fe){return O(fe)===t}function Z(fe){return O(fe)===a}function qe(fe){return O(fe)===n}function Be(fe){return O(fe)===d}function Qe(fe){return O(fe)===c}ht.ContextConsumer=A,ht.ContextProvider=w,ht.Element=S,ht.ForwardRef=N,ht.Fragment=Y,ht.Lazy=K,ht.Memo=ee,ht.Portal=Q,ht.Profiler=x,ht.StrictMode=D,ht.Suspense=J,ht.SuspenseList=ve,ht.isAsyncMode=De,ht.isConcurrentMode=je,ht.isContextConsumer=be,ht.isContextProvider=de,ht.isElement=ge,ht.isForwardRef=Te,ht.isFragment=Re,ht.isLazy=Ne,ht.isMemo=Ze,ht.isPortal=_t,ht.isProfiler=Z,ht.isStrictMode=qe,ht.isSuspense=Be,ht.isSuspenseList=Qe,ht.isValidElementType=M,ht.typeOf=O}()),ht}var ym;function YA(){return ym||(ym=1,process.env.NODE_ENV==="production"?Gl.exports=zA():Gl.exports=WA()),Gl.exports}var Sn=YA();function uh(e,t=[]){if(Array.isArray(e))for(let r of e)uh(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function gm(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Sn.isFragment(e))return"React.Fragment";if(Sn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Sn.isContextProvider(e))return"Context.Provider";if(Sn.isContextConsumer(e))return"Context.Consumer";if(Sn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Sn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function KA(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var JA=(e,t,r,n,a,i)=>++n>t.maxDepth?pu(gm(e),t):du(gm(e),uu(KA(e),e.props,t,r+t.indent,n,a,i),cu(uh(e.props.children),t,r+t.indent,n,a,i),t,r),XA=e=>e!=null&&Sn.isElement(e),QA={serialize:JA,test:XA},ZA=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function eP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var tP=(e,t,r,n,a,i)=>++n>t.maxDepth?pu(e.type,t):du(e.type,e.props?uu(eP(e),e.props,t,r+t.indent,n,a,i):"",e.children?cu(e.children,t,r+t.indent,n,a,i):"",t,r),rP=e=>e&&e.$$typeof===ZA,nP={serialize:tP,test:rP},ch=Object.prototype.toString,oP=Date.prototype.toISOString,aP=Error.prototype.toString,vm=RegExp.prototype.toString;function zl(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function iP(e){return typeof window<"u"&&e===window}var sP=/^Symbol\((.*)\)(.*)$/,lP=/\n/g,dh=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function uP(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 cP(e){return Object.is(e,-0)?"-0":String(e)}function dP(e){return`${e}n`}function _m(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Em(e){return String(e).replace(sP,"Symbol($1)")}function wm(e){return`[${aP.call(e)}]`}function ph(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return cP(e);if(a==="bigint")return dP(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return _m(e,t);if(a==="symbol")return Em(e);let i=ch.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?_m(e,t):i==="[object Symbol]"?Em(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":oP.call(e):i==="[object Error]"?wm(e):i==="[object RegExp]"?r?vm.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):vm.call(e):e instanceof Error?wm(e):null}function fh(e,t,r,n,a,i){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return on(e.toJSON(),t,r,n,a,!0);let u=ch.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Qa(e,t,r,n,a,on)}]`:uP(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Qa(e,t,r,n,a,on)}]`:u==="[object Map]"?s?"[Map]":`Map {${Za(e.entries(),t,r,n,a,on," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${su(e.values(),t,r,n,a,on)}}`:s||iP(e)?`[${zl(e)}]`:`${l||!t.printBasicPrototype&&zl(e)==="Object"?"":`${zl(e)} `}{${lu(e,t,r,n,a,on)}}`}function pP(e){return e.serialize!=null}function mh(e,t,r,n,a,i){let s;try{s=pP(e)?e.serialize(t,r,n,a,i,on):e.print(t,l=>on(l,r,n,a,i),l=>{let u=n+r.indent;return u+l.replaceAll(lP,`
233
- ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new dh(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function hh(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new dh(n.message,n.stack)}return null}function on(e,t,r,n,a,i){let s=hh(t.plugins,e);if(s!==null)return mh(s,e,t,r,n,a);let l=ph(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:fh(e,t,r,n,a,i)}var fu={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},bh=Object.keys(fu),yr={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:fu};function fP(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(yr,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 mP(){return bh.reduce((e,t)=>{let r=fu[t],n=r&&Lr[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 hP(){return bh.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function yh(e){return e?.printFunctionName??yr.printFunctionName}function gh(e){return e?.escapeRegex??yr.escapeRegex}function vh(e){return e?.escapeString??yr.escapeString}function Rm(e){return{callToJSON:e?.callToJSON??yr.callToJSON,colors:e?.highlight?mP():hP(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:yr.compareKeys,escapeRegex:gh(e),escapeString:vh(e),indent:e?.min?"":bP(e?.indent??yr.indent),maxDepth:e?.maxDepth??yr.maxDepth,maxWidth:e?.maxWidth??yr.maxWidth,min:e?.min??yr.min,plugins:e?.plugins??yr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:yh(e),spacingInner:e?.min?" ":`
234
- `,spacingOuter:e?.min?"":`
235
- `}}function bP(e){return Array.from({length:e+1}).join(" ")}function Or(e,t){if(t&&(fP(t),t.plugins)){let n=hh(t.plugins,e);if(n!==null)return mh(n,e,Rm(t),"",0,[])}let r=ph(e,yh(t),gh(t),vh(t));return r!==null?r:fh(e,Rm(t),"",0,[])}var _h={AsymmetricMatcher:fA,DOMCollection:_A,DOMElement:qA,Immutable:GA,ReactElement:QA,ReactTestComponent:nP},Cm={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"]},yP={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},to="\u2026";function gP(e,t){let r=Cm[yP[t]]||Cm[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function vP({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=gP),p}function _P(e){return e>="\uD800"&&e<="\uDBFF"}function an(e,t,r=to){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let i=t-n;return i>0&&_P(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function gr(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<a;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${to}(${e.length-d})`;let m=e[d];t.truncate=i-s.length-(c?0:n.length);let h=l||r(m,t)+(c?"":n),b=s.length+h.length,y=b+u.length;if(c&&b>i&&s.length+u.length<=i||!c&&!p&&y>i||(l=c?"":r(e[d+1],t)+(p?"":n),!c&&p&&y>i&&b+l.length>i))break;if(s+=h,!c&&!p&&b+l.length>=i){u=`${to}(${e.length-d-1})`;break}u=""}return`${s}${u}`}function EP(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function Wo([e,t],r){return r.truncate-=2,typeof e=="string"?e=EP(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function wP(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 a="";return r.length&&(a=gr(r.map(i=>[i,e[i]]),t,Wo)),`[ ${n}${a?`, ${a}`:""} ]`}var RP=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function Br(e,t){let r=RP(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let s=0;s<e.length;s++){let l=`${t.stylize(an(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){a+=`${to}(${e.length-e[s]+1})`;break}a+=l}let i="";return n.length&&(i=gr(n.map(s=>[s,e[s]]),t,Wo)),`${r}[ ${a}${i?`, ${i}`:""} ]`}function CP(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${an(n[1],t.truncate-a.length-1)}`,"date")}function Sm(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${an(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function SP([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function AP(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function PP(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${gr(AP(e),t,SP)} }`)}var TP=Number.isNaN||(e=>e!==e);function Am(e,t){return TP(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(an(String(e),t.truncate),"number")}function Pm(e,t){let r=an(e.toString(),t.truncate-1);return r!==to&&(r+="n"),t.stylize(r,"bigint")}function OP(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${an(a,n)}/${r}`,"regexp")}function qP(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function xP(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${gr(qP(e),t)} }`)}var Tm=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),MP={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},NP=16,jP=4;function IP(e){return MP[e]||`\\u${`0000${e.charCodeAt(0).toString(NP)}`.slice(-jP)}`}function Om(e,t){return Tm.test(e)&&(e=e.replace(Tm,IP)),t.stylize(`'${an(e,t.truncate-2)}'`,"string")}function qm(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Eh=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Eh=(n,a)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${a.inspect(s,a)}}`})}catch{}var DP=Eh;function Xa(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 a=gr(r.map(l=>[l,e[l]]),t,Wo),i=gr(n.map(l=>[l,e[l]]),t,Wo);t.seen.pop();let s="";return a&&i&&(s=", "),`{ ${a}${s}${i} }`}var Wl=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function FP(e,t){let r="";return Wl&&Wl in e&&(r=e[Wl]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Xa(e,t)}`}function BP(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${gr(e,t)} ]`)}var LP=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function kP(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>LP.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=an(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=gr(r.map(s=>[s,e[s]]),t,Wo);return`${n}${a}${i?` { ${i} }`:""}`}function $P([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function Ql(e,t){return gr(e,t,wh,`
236
- `)}function wh(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=gr(r.map(c=>[c,e.getAttribute(c)]),t,$P," ")),t.truncate-=l.length;let u=t.truncate,d=Ql(e.children,t);return d&&d.length>u&&(d=`${to}(${e.children.length})`),`${a}${l}${i}${d}${s}`}var UP=typeof Symbol=="function"&&typeof Symbol.for=="function",Yl=UP?Symbol.for("chai/inspect"):"@@chai/inspect",Xn=!1;try{let e=$n("util");Xn=e.inspect?e.inspect.custom:!1}catch{Xn=!1}var xm=new WeakMap,Mm={},Nm={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:Am,Number:Am,bigint:Pm,BigInt:Pm,string:Om,String:Om,function:Sm,Function:Sm,symbol:qm,Symbol:qm,Array:wP,Date:CP,Map:PP,Set:xP,RegExp:OP,Promise:DP,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:BP,Int8Array:Br,Uint8Array:Br,Uint8ClampedArray:Br,Int16Array:Br,Uint16Array:Br,Int32Array:Br,Uint32Array:Br,Float32Array:Br,Float64Array:Br,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:kP,HTMLCollection:Ql,NodeList:Ql},HP=(e,t,r)=>Yl in e&&typeof e[Yl]=="function"?e[Yl](t):Xn&&Xn in e&&typeof e[Xn]=="function"?e[Xn](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&xm.has(e.constructor)?xm.get(e.constructor)(e,t):Mm[r]?Mm[r](e,t):"",VP=Object.prototype.toString;function Zl(e,t={}){let r=vP(t,Zl),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=VP.call(e).slice(8,-1)),a in Nm)return Nm[a](e,r);if(n&&e){let s=HP(e,r,a);if(s)return typeof s=="string"?s:Zl(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Xa(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?wh(e,r):"constructor"in e?e.constructor!==Object?FP(e,r):Xa(e,r):e===Object(e)?Xa(e,r):r.stylize(String(e),a)}var{AsymmetricMatcher:GP,DOMCollection:zP,DOMElement:WP,Immutable:YP,ReactElement:KP,ReactTestComponent:JP}=_h,jm=[JP,KP,WP,zP,YP,GP];function Yo(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,i;try{i=Or(e,{maxDepth:t,escapeString:!1,plugins:jm,...n})}catch{i=Or(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:jm,...n})}return i.length>=a&&t>1?Yo(e,Math.floor(t/2)):i}var XP=/%[sdjifoOc%]/g;function QP(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Go(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace(XP,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Go(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Go(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Go(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?a+=` ${i}`:a+=` ${Go(i)}`;return a}function Go(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Zl(e,t)}function ZP(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function e2(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function eu(e){return Object.prototype.toString.apply(e).slice(8,-1)}function t2(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Rh(e){let t=new Set;return e2(e)?[]:(t2(e,t),Array.from(t))}var Ch={forceWritable:!1};function Im(e,t=Ch){return tu(e,new WeakMap,t)}function tu(e,t,r=Ch){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array.from({length:n=e.length}),t.set(e,a);n--;)a[n]=tu(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let i=Rh(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=tu(e[s],t,r);r.forceWritable?Object.defineProperty(a,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,s,{...l,get(){return u}}):Object.defineProperty(a,s,{...l,value:u})}return a}return e}function Dm(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}`)}var Ht=-1,kt=1,At=0,Ct=class{0;1;constructor(e,t){this[0]=e,this[1]=t}},r2=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,i=0;for(;r<a;)e.substring(i,a)===t.substring(i,a)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},Sh=function(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),a=n,i=0;for(;r<a;)e.substring(e.length-a,e.length-i)===t.substring(t.length-a,t.length-i)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},Fm=function(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 a=Math.min(r,n);if(e===t)return a;let i=0,s=1;for(;;){let l=e.substring(a-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(a-s)===t.substring(0,s))&&(i=s,s++)}},n2=function(e){let t=!1,r=[],n=0,a=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===At?(r[n++]=i,s=u,l=d,u=0,d=0,a=e[i][1]):(e[i][0]===kt?u+=e[i][1].length:d+=e[i][1].length,a&&a.length<=Math.max(s,l)&&a.length<=Math.max(u,d)&&(e.splice(r[n-1],0,new Ct(Ht,a)),e[r[n-1]+1][0]=kt,n--,n--,i=n>0?r[n-1]:-1,s=0,l=0,u=0,d=0,a=null,t=!0)),i++;for(t&&Ah(e),i2(e),i=1;i<e.length;){if(e[i-1][0]===Ht&&e[i][0]===kt){let c=e[i-1][1],p=e[i][1],m=Fm(c,p),h=Fm(p,c);m>=h?(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new Ct(At,p.substring(0,m))),e[i-1][1]=c.substring(0,c.length-m),e[i+1][1]=p.substring(m),i++):(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new Ct(At,c.substring(0,h))),e[i-1][0]=kt,e[i-1][1]=p.substring(0,p.length-h),e[i+1][0]=Ht,e[i+1][1]=c.substring(h),i++),i++}i++}},Bm=/[^a-z0-9]/i,Lm=/\s/,km=/[\r\n]/,o2=/\n\r?\n$/,a2=/^\r?\n\r?\n/;function i2(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===At&&e[t+1][0]===At){let r=e[t-1][1],n=e[t][1],a=e[t+1][1],i=Sh(r,n);if(i){let c=n.substring(n.length-i);r=r.substring(0,r.length-i),n=c+n.substring(0,n.length-i),a=c+a}let s=r,l=n,u=a,d=Ka(r,n)+Ka(n,a);for(;n.charAt(0)===a.charAt(0);){r+=n.charAt(0),n=n.substring(1)+a.charAt(0),a=a.substring(1);let c=Ka(r,n)+Ka(n,a);c>=d&&(d=c,s=r,l=n,u=a)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function Ah(e){e.push(new Ct(At,""));let t=0,r=0,n=0,a="",i="",s;for(;t<e.length;)switch(e[t][0]){case kt:n++,i+=e[t][1],t++;break;case Ht:r++,a+=e[t][1],t++;break;case At:r+n>1?(r!==0&&n!==0&&(s=r2(i,a),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===At?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new Ct(At,i.substring(0,s))),t++),i=i.substring(s),a=a.substring(s)),s=Sh(i,a),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),a=a.substring(0,a.length-s))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new Ct(Ht,a)),t++),i.length&&(e.splice(t,0,new Ct(kt,i)),t++),t++):t!==0&&e[t-1][0]===At?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===At&&e[t+1][0]===At&&(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),l=!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),l=!0)),t++;l&&Ah(e)}function Ka(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),a=r.match(Bm),i=n.match(Bm),s=a&&r.match(Lm),l=i&&n.match(Lm),u=s&&r.match(km),d=l&&n.match(km),c=u&&e.match(o2),p=d&&t.match(a2);return c||p?5:u||d?4:a&&!s&&l?3:s||l?2:a||i?1:0}var Ph="Compared values have no visual difference.",s2="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Ja={},$m;function l2(){if($m)return Ja;$m=1,Object.defineProperty(Ja,"__esModule",{value:!0}),Ja.default=m;let e="diff-sequences",t=0,r=(h,b,y,v,g)=>{let E=0;for(;h<b&&y<v&&g(h,y);)h+=1,y+=1,E+=1;return E},n=(h,b,y,v,g)=>{let E=0;for(;h<=b&&y<=v&&g(b,v);)b-=1,v-=1,E+=1;return E},a=(h,b,y,v,g,E,T)=>{let M=0,O=-h,A=E[M],w=A;E[M]+=r(A+1,b,v+A-O+1,y,g);let S=h<T?h:T;for(M+=1,O+=2;M<=S;M+=1,O+=2){if(M!==h&&w<E[M])A=E[M];else if(A=w+1,b<=A)return M-1;w=E[M],E[M]=A+r(A+1,b,v+A-O+1,y,g)}return T},i=(h,b,y,v,g,E,T)=>{let M=0,O=h,A=E[M],w=A;E[M]-=n(b,A-1,y,v+A-O-1,g);let S=h<T?h:T;for(M+=1,O-=2;M<=S;M+=1,O-=2){if(M!==h&&E[M]<w)A=E[M];else if(A=w-1,A<b)return M-1;w=E[M],E[M]=A-n(b,A-1,y,v+A-O-1,g)}return T},s=(h,b,y,v,g,E,T,M,O,A,w)=>{let S=v-b,N=y-b,Y=g-v-N,K=-Y-(h-1),ee=-Y+(h-1),Q=t,x=h<M?h:M;for(let D=0,J=-h;D<=x;D+=1,J+=2){let ve=D===0||D!==h&&Q<T[D],ye=ve?T[D]:Q,xe=ve?ye:ye+1,De=S+xe-J,je=r(xe+1,y,De+1,g,E),be=xe+je;if(Q=T[D],T[D]=be,K<=J&&J<=ee){let de=(h-1-(J+Y))/2;if(de<=A&&O[de]-1<=be){let ge=S+ye-(ve?J+1:J-1),Te=n(b,ye,v,ge,E),Re=ye-Te,Ne=ge-Te,Ze=Re+1,_t=Ne+1;w.nChangePreceding=h-1,h-1===Ze+_t-b-v?(w.aEndPreceding=b,w.bEndPreceding=v):(w.aEndPreceding=Ze,w.bEndPreceding=_t),w.nCommonPreceding=Te,Te!==0&&(w.aCommonPreceding=Ze,w.bCommonPreceding=_t),w.nCommonFollowing=je,je!==0&&(w.aCommonFollowing=xe+1,w.bCommonFollowing=De+1);let Z=be+1,qe=De+je+1;return w.nChangeFollowing=h-1,h-1===y+g-Z-qe?(w.aStartFollowing=y,w.bStartFollowing=g):(w.aStartFollowing=Z,w.bStartFollowing=qe),!0}}}return!1},l=(h,b,y,v,g,E,T,M,O,A,w)=>{let S=g-y,N=y-b,Y=g-v-N,K=Y-h,ee=Y+h,Q=t,x=h<A?h:A;for(let D=0,J=h;D<=x;D+=1,J-=2){let ve=D===0||D!==h&&O[D]<Q,ye=ve?O[D]:Q,xe=ve?ye:ye-1,De=S+xe-J,je=n(b,xe-1,v,De-1,E),be=xe-je;if(Q=O[D],O[D]=be,K<=J&&J<=ee){let de=(h+(J-Y))/2;if(de<=M&&be-1<=T[de]){let ge=De-je;if(w.nChangePreceding=h,h===be+ge-b-v?(w.aEndPreceding=b,w.bEndPreceding=v):(w.aEndPreceding=be,w.bEndPreceding=ge),w.nCommonPreceding=je,je!==0&&(w.aCommonPreceding=be,w.bCommonPreceding=ge),w.nChangeFollowing=h-1,h===1)w.nCommonFollowing=0,w.aStartFollowing=y,w.bStartFollowing=g;else{let Te=S+ye-(ve?J-1:J+1),Re=r(ye,y,Te,g,E);w.nCommonFollowing=Re,Re!==0&&(w.aCommonFollowing=ye,w.bCommonFollowing=Te);let Ne=ye+Re,Ze=Te+Re;h-1===y+g-Ne-Ze?(w.aStartFollowing=y,w.bStartFollowing=g):(w.aStartFollowing=Ne,w.bStartFollowing=Ze)}return!0}}}return!1},u=(h,b,y,v,g,E,T,M,O)=>{let A=v-b,w=g-y,S=y-b,N=g-v,Y=N-S,K=S,ee=S;if(T[0]=b-1,M[0]=y,Y%2===0){let Q=(h||Y)/2,x=(S+N)/2;for(let D=1;D<=x;D+=1)if(K=a(D,y,g,A,E,T,K),D<Q)ee=i(D,b,v,w,E,M,ee);else if(l(D,b,y,v,g,E,T,K,M,ee,O))return}else{let Q=((h||Y)+1)/2,x=(S+N+1)/2,D=1;for(K=a(D,y,g,A,E,T,K),D+=1;D<=x;D+=1)if(ee=i(D-1,b,v,w,E,M,ee),D<Q)K=a(D,y,g,A,E,T,K);else if(s(D,b,y,v,g,E,T,K,M,ee,O))return}throw new Error(`${e}: no overlap aStart=${b} aEnd=${y} bStart=${v} bEnd=${g}`)},d=(h,b,y,v,g,E,T,M,O,A)=>{if(g-v<y-b){if(E=!E,E&&T.length===1){let{foundSubsequence:de,isCommon:ge}=T[0];T[1]={foundSubsequence:(Te,Re,Ne)=>{de(Te,Ne,Re)},isCommon:(Te,Re)=>ge(Re,Te)}}let je=b,be=y;b=v,y=g,v=je,g=be}let{foundSubsequence:w,isCommon:S}=T[E?1:0];u(h,b,y,v,g,S,M,O,A);let{nChangePreceding:N,aEndPreceding:Y,bEndPreceding:K,nCommonPreceding:ee,aCommonPreceding:Q,bCommonPreceding:x,nCommonFollowing:D,aCommonFollowing:J,bCommonFollowing:ve,nChangeFollowing:ye,aStartFollowing:xe,bStartFollowing:De}=A;b<Y&&v<K&&d(N,b,Y,v,K,E,T,M,O,A),ee!==0&&w(ee,Q,x),D!==0&&w(D,J,ve),xe<y&&De<g&&d(ye,xe,y,De,g,E,T,M,O,A)},c=(h,b)=>{if(typeof b!="number")throw new TypeError(`${e}: ${h} typeof ${typeof b} is not a number`);if(!Number.isSafeInteger(b))throw new RangeError(`${e}: ${h} value ${b} is not a safe integer`);if(b<0)throw new RangeError(`${e}: ${h} value ${b} is a negative integer`)},p=(h,b)=>{let y=typeof b;if(y!=="function")throw new TypeError(`${e}: ${h} typeof ${y} is not a function`)};function m(h,b,y,v){c("aLength",h),c("bLength",b),p("isCommon",y),p("foundSubsequence",v);let g=r(0,h,0,b,y);if(g!==0&&v(g,0,0),h!==g||b!==g){let E=g,T=g,M=n(E,h-1,T,b-1,y),O=h-M,A=b-M,w=g+M;h!==w&&b!==w&&d(0,E,O,T,A,!1,[{foundSubsequence:v,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}),M!==0&&v(M,O,A)}}return Ja}var u2=l2(),Th=ZP(u2);function c2(e,t){return e.replace(/\s+$/,r=>t(r))}function mu(e,t,r,n,a,i){return e.length!==0?r(`${n} ${c2(e,a)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function Oh(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return mu(e,t,r,n,a,i)}function qh(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return mu(e,t,r,n,a,i)}function xh(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return mu(e,t,r,n,a,i)}function Um(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function d2(e,t){let r=e.length,n=t.contextLines,a=n+n,i=r,s=!1,l=0,u=0;for(;u!==r;){let M=u;for(;u!==r&&e[u][0]===At;)u+=1;if(M!==u)if(M===0)u>n&&(i-=u-n,s=!0);else if(u===r){let O=u-M;O>n&&(i-=O-n,s=!0)}else{let O=u-M;O>a&&(i-=O-a,l+=1)}for(;u!==r&&e[u][0]!==At;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],m=0;d&&p.push("");let h=0,b=0,y=0,v=0,g=M=>{let O=p.length;p.push(xh(M,O===0||O===c,t)),y+=1,v+=1},E=M=>{let O=p.length;p.push(Oh(M,O===0||O===c,t)),y+=1},T=M=>{let O=p.length;p.push(qh(M,O===0||O===c,t)),v+=1};for(u=0;u!==r;){let M=u;for(;u!==r&&e[u][0]===At;)u+=1;if(M!==u)if(M===0){u>n&&(M=u-n,h=M,b=M,y=h,v=b);for(let O=M;O!==u;O+=1)g(e[O][1])}else if(u===r){let O=u-M>n?M+n:u;for(let A=M;A!==O;A+=1)g(e[A][1])}else{let O=u-M;if(O>a){let A=M+n;for(let S=M;S!==A;S+=1)g(e[S][1]);p[m]=Um(h,y,b,v,t),m=p.length,p.push("");let w=O-a;h=y+w,b=v+w,y=h,v=b;for(let S=u-n;S!==u;S+=1)g(e[S][1])}else for(let A=M;A!==u;A+=1)g(e[A][1])}for(;u!==r&&e[u][0]===Ht;)E(e[u][1]),u+=1;for(;u!==r&&e[u][0]===kt;)T(e[u][1]),u+=1}return d&&(p[m]=Um(h,y,b,v,t)),p.join(`
237
- `)}function p2(e,t){return e.map((r,n,a)=>{let i=r[1],s=n===0||n===a.length-1;switch(r[0]){case Ht:return Oh(i,s,t);case kt:return qh(i,s,t);default:return xh(i,s,t)}}).join(`
238
- `)}var Kl=e=>e,Mh=5,f2=0;function m2(){return{aAnnotation:"Expected",aColor:Lr.green,aIndicator:"-",bAnnotation:"Received",bColor:Lr.red,bIndicator:"+",changeColor:Lr.inverse,changeLineTrailingSpaceColor:Kl,commonColor:Lr.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Kl,compareKeys:void 0,contextLines:Mh,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Lr.yellow,truncateThreshold:f2,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Kl}}function h2(e){return e&&typeof e=="function"?e:void 0}function b2(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Mh}function An(e={}){return{...m2(),...e,compareKeys:h2(e.compareKeys),contextLines:b2(e.contextLines)}}function Qn(e){return e.length===1&&e[0].length===0}function y2(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case Ht:t+=1;break;case kt:r+=1;break}}),{a:t,b:r}}function g2({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let h=String(u.a),b=String(u.b),y=n.length-e.length,v=" ".repeat(Math.max(0,y)),g=" ".repeat(Math.max(0,-y)),E=b.length-h.length,T=" ".repeat(Math.max(0,E)),M=" ".repeat(Math.max(0,-E));d=`${v} ${r} ${T}${h}`,c=`${g} ${i} ${M}${b}`}let p=`${r} ${e}${d}`,m=`${i} ${n}${c}`;return`${t(p)}
239
- ${a(m)}
240
-
241
- `}function hu(e,t,r){return g2(r,y2(e))+(r.expand?p2(e,r):d2(e,r))+(t?r.truncateAnnotationColor(`
242
- ${r.truncateAnnotation}`):"")}function ti(e,t,r){let n=An(r),[a,i]=Nh(Qn(e)?[]:e,Qn(t)?[]:t,n);return hu(a,i,n)}function v2(e,t,r,n,a){if(Qn(e)&&Qn(r)&&(e=[],r=[]),Qn(t)&&Qn(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return ti(e,t,a);let[i,s]=Nh(r,n,a),l=0,u=0;return i.forEach(d=>{switch(d[0]){case Ht:d[1]=e[l],l+=1;break;case kt:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),hu(i,s,An(a))}function Nh(e,t,r){let n=r?.truncateThreshold??!1,a=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,a):e.length,s=n?Math.min(t.length,a):t.length,l=i!==e.length||s!==t.length,u=(m,h)=>e[m]===t[h],d=[],c=0,p=0;for(Th(i,s,u,(m,h,b)=>{for(;c!==h;c+=1)d.push(new Ct(Ht,e[c]));for(;p!==b;p+=1)d.push(new Ct(kt,t[p]));for(;m!==0;m-=1,c+=1,p+=1)d.push(new Ct(At,t[p]))});c!==i;c+=1)d.push(new Ct(Ht,e[c]));for(;p!==s;p+=1)d.push(new Ct(kt,t[p]));return[d,l]}function Hm(e){return e.includes(`\r
243
- `)?`\r
244
- `:`
245
- `}function _2(e,t,r){let n=r?.truncateThreshold??!1,a=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,s=t.length;if(n){let m=e.includes(`
246
- `),h=t.includes(`
247
- `),b=Hm(e),y=Hm(t),v=m?`${e.split(b,a).join(b)}
248
- `:e,g=h?`${t.split(y,a).join(y)}
249
- `:t;i=v.length,s=g.length}let l=i!==e.length||s!==t.length,u=(m,h)=>e[m]===t[h],d=0,c=0,p=[];return Th(i,s,u,(m,h,b)=>{d!==h&&p.push(new Ct(Ht,e.slice(d,h))),c!==b&&p.push(new Ct(kt,t.slice(c,b))),d=h+m,c=b+m,p.push(new Ct(At,t.slice(b,c)))}),d!==i&&p.push(new Ct(Ht,e.slice(d))),c!==s&&p.push(new Ct(kt,t.slice(c))),[p,l]}function E2(e,t,r){return t.reduce((n,a)=>n+(a[0]===At?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var Vm=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Ct(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Ct(this.op,E2(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ct(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(`
250
- `)){let r=t.split(`
251
- `),n=r.length-1;r.forEach((a,i)=>{i<n?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},w2=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(`
252
- `)){let n=r.split(`
253
- `),a=n.length-1;n.forEach((i,s)=>{if(s===0){let l=new Ct(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<a?this.pushDiffCommonLine(new Ct(t,i)):i.length!==0&&this.pushDiffChangeLines(new Ct(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function R2(e,t){let r=new Vm(Ht,t),n=new Vm(kt,t),a=new w2(r,n);return e.forEach(i=>{switch(i[0]){case Ht:r.align(i);break;case kt:n.align(i);break;default:a.align(i)}}),a.getLines()}function C2(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===At&&(a!==r||n[1]!==`
254
- `))}return e.some(r=>r[0]===At)}function S2(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
255
- `)||t.includes(`
256
- `),[a,i]=jh(n?`${e}
257
- `:e,n?`${t}
258
- `:t,!0,r);if(C2(a,n)){let s=An(r),l=R2(a,s.changeColor);return hu(l,i,s)}}return ti(e.split(`
259
- `),t.split(`
260
- `),r)}function jh(e,t,r,n){let[a,i]=_2(e,t,n);return r&&n2(a),[a,i]}function ru(e,t){let{commonColor:r}=An(t);return r(e)}var{AsymmetricMatcher:A2,DOMCollection:P2,DOMElement:T2,Immutable:O2,ReactElement:q2,ReactTestComponent:x2}=_h,Ih=[x2,q2,T2,P2,O2,A2],nu={plugins:Ih},Dh={callToJSON:!1,maxDepth:10,plugins:Ih};function M2(e,t,r){if(Object.is(e,t))return"";let n=Dm(e),a=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),i=a==="string"}if(a!==Dm(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:d,bColor:c,bIndicator:p}=An(r),m=ou(Dh,r),h=Or(e,m),b=Or(t,m),y=`${l(`${u} ${s}:`)}
261
- ${h}`,v=`${c(`${p} ${d}:`)}
262
- ${b}`;return`${y}
263
-
264
- ${v}`}if(!i)switch(n){case"string":return ti(e.split(`
265
- `),t.split(`
266
- `),r);case"boolean":case"number":return N2(e,t,r);case"map":return Jl(Gm(e),Gm(t),r);case"set":return Jl(zm(e),zm(t),r);default:return Jl(e,t,r)}}function N2(e,t,r){let n=Or(e,nu),a=Or(t,nu);return n===a?"":ti(n.split(`
267
- `),a.split(`
268
- `),r)}function Gm(e){return new Map(Array.from(e.entries()).sort())}function zm(e){return new Set(Array.from(e.values()).sort())}function Jl(e,t,r){let n,a=!1;try{let s=ou(nu,r);n=Wm(e,t,s,r)}catch{a=!0}let i=ru(Ph,r);if(n===void 0||n===i){let s=ou(Dh,r);n=Wm(e,t,s,r),n!==i&&!a&&(n=`${ru(s2,r)}
269
-
270
- ${n}`)}return n}function ou(e,t){let{compareKeys:r}=An(t);return{...e,compareKeys:r}}function Wm(e,t,r,n){let a={...r,indent:0},i=Or(e,a),s=Or(t,a);if(i===s)return ru(Ph,n);{let l=Or(e,r),u=Or(t,r);return v2(l.split(`
271
- `),u.split(`
272
- `),i.split(`
273
- `),s.split(`
274
- `),n)}}var Ym=2e4;function Km(e){return eu(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Jm(e,t){let r=eu(e),n=eu(t);return r===n&&(r==="Object"||r==="Array")}function j2(e,t,r){let{aAnnotation:n,bAnnotation:a}=An(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Ym&&t.length<=Ym&&e!==t){if(e.includes(`
275
- `)||t.includes(`
276
- `))return S2(t,e,r);let[d]=jh(t,e,!0),c=d.some(b=>b[0]===At),p=I2(n,a),m=p(n)+B2(Xm(d,Ht,c)),h=p(a)+F2(Xm(d,kt,c));return`${m}
277
- ${h}`}let i=Im(e,{forceWritable:!0}),s=Im(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Fh(i,s);return M2(l,u,r)}function Fh(e,t,r=new WeakSet,n=new WeakSet){return Jm(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Rh(t).forEach(a=>{let i=t[a],s=e[a];if(Km(i))i.asymmetricMatch(s)&&(e[a]=i);else if(Km(s))s.asymmetricMatch(i)&&(t[a]=s);else if(Jm(s,i)){let l=Fh(s,i,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function I2(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var D2="\xB7";function Bh(e){return e.replace(/\s+$/gm,t=>D2.repeat(t.length))}function F2(e){return Lr.red(Bh(Yo(e)))}function B2(e){return Lr.green(Bh(Yo(e)))}function Xm(e,t,r){return e.reduce((n,a)=>n+(a[0]===At?a[1]:a[0]===t?r?Lr.inverse(a[1]):a[1]:""),"")}var L2="@@__IMMUTABLE_RECORD__@@",k2="@@__IMMUTABLE_ITERABLE__@@";function $2(e){return e&&(e[k2]||e[L2])}var U2=Object.getPrototypeOf({});function Qm(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function Zn(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if($2(e))return Zn(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()} ${QP(e.sample)}`;if(typeof e.toJSON=="function")return Zn(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,a)=>{try{r[a]=Zn(n,t)}catch(i){r[a]=Qm(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==U2;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=Zn(e[a],t)}catch(i){delete r[a],r[a]=Qm(i)}}),n=Object.getPrototypeOf(n);return r}}function H2(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function Lh(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=j2(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Yo(n.expected,10)),typeof n.actual!="string"&&(n.actual=Yo(n.actual,10));try{typeof n.message=="string"&&(n.message=H2(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Lh(n.cause,t,r))}catch{}try{return Zn(n)}catch(a){return Zn(new Error(`Failed to fully serialize error: ${a?.message}
278
- Inner error message: ${n?.message}`))}}var kh=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(kh||{}),Tr={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"},Zm={start:!1,back:!1,goto:!1,next:!1,end:!1},V2=new Error("This function ran after the play function completed. Did you forget to `await` it?"),eh=e=>Object.prototype.toString.call(e)==="[object Object]",G2=e=>Object.prototype.toString.call(e)==="[object Module]",z2=e=>{if(!eh(e)&&!G2(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!eh(t)},W2=e=>{try{return new e.constructor}catch{return{}}},Xl=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),th=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(a=>a.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,a])=>a.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},Y2=class{constructor(){this.initialized=!1,this.channel=nA.addons.getChannel(),this.state=Xt.global.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:s,isPlaying:l=!0,isDebugging:u=!1})=>{let d=this.getState(s);this.setState(s,{...Xl(),...th(d,u),shadowCalls:u?d.shadowCalls:[],chainedCallIds:u?d.chainedCallIds:new Set,playUntil:u?d.playUntil:void 0,isPlaying:l,isDebugging:u}),this.sync(s)};this.channel.on(Ya.FORCE_REMOUNT,e),this.channel.on(Ya.STORY_RENDER_PHASE_CHANGED,({storyId:s,newPhase:l})=>{let{isDebugging:u}=this.getState(s);this.setState(s,{renderPhase:l}),l==="preparing"&&u&&e({storyId:s}),l==="playing"&&e({storyId:s,isDebugging:u}),l==="played"&&this.setState(s,{isLocked:!1,isPlaying:!1,isDebugging:!1}),l==="errored"&&this.setState(s,{isLocked:!1,isPlaying:!1})}),this.channel.on(Ya.SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:s,playUntil:l})=>{this.getState(s).isDebugging||this.setState(s,({calls:d})=>({calls:[],shadowCalls:d.map(c=>({...c,status:"waiting"})),isDebugging:!0}));let u=this.getLog(s);this.setState(s,({shadowCalls:d})=>{if(l||!u.length)return{playUntil:l};let c=d.findIndex(p=>p.id===u[0].callId);return{playUntil:d.slice(0,c).filter(p=>p.interceptable&&!p.ancestors?.length).slice(-1)[0]?.id}}),this.channel.emit(Ya.FORCE_REMOUNT,{storyId:s,isDebugging:!0})},r=({storyId:s})=>{let l=this.getLog(s).filter(d=>!d.ancestors?.length),u=l.reduceRight((d,c,p)=>d>=0||c.status==="waiting"?d:p,-1);t({storyId:s,playUntil:l[u-1]?.callId})},n=({storyId:s,callId:l})=>{let{calls:u,shadowCalls:d,resolvers:c}=this.getState(s),p=u.find(({id:h})=>h===l),m=d.find(({id:h})=>h===l);if(!p&&m&&Object.values(c).length>0){let h=this.getLog(s).find(b=>b.status==="waiting")?.callId;m.id!==h&&this.setState(s,{playUntil:m.id}),Object.values(c).forEach(b=>b())}else t({storyId:s,playUntil:l})},a=({storyId:s})=>{let{resolvers:l}=this.getState(s);if(Object.values(l).length>0)Object.values(l).forEach(u=>u());else{let u=this.getLog(s).find(d=>d.status==="waiting")?.callId;u?t({storyId:s,playUntil:u}):i({storyId:s})}},i=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(l=>l())};this.channel.on(Tr.START,t),this.channel.on(Tr.BACK,r),this.channel.on(Tr.GOTO,n),this.channel.on(Tr.NEXT,a),this.channel.on(Tr.END,i)}getState(e){return this.state[e]||Xl()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},Xt.global.window?.parent&&(Xt.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let a=th(n);return a&&(t[r]=Object.assign(Xl(),a)),t},{});let e={controlStates:Zm,logItems:[]};this.channel.emit(Tr.SYNC,e),Xt.global.window?.parent&&(Xt.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,s)=>{n[s]=i});let a=new Set;return n.reduceRight((i,s)=>(s.args.forEach(l=>{l?.__callId__&&a.add(l.__callId__)}),s.path.forEach(l=>{l.__callId__&&a.add(l.__callId__)}),(s.interceptable||s.exception)&&!a.has(s.id)&&(i.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),a.add(s.id)),i),[])}instrument(e,t,r=0){if(!z2(e))return e;let{mutate:n=!1,path:a=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((s,l)=>{let u=J2(e,l);if(typeof u?.get=="function"){let c=()=>u?.get?.bind(e)?.();return Object.defineProperty(s,l,{get:()=>this.instrument(c(),{...t,path:a.concat(l)},r)}),s}let d=e[l];return typeof d!="function"?(s[l]=this.instrument(d,{...t,path:a.concat(l)},r),s):"__originalFn__"in d&&typeof d.__originalFn__=="function"?(s[l]=d,s):(s[l]=(...c)=>this.track(l,d,e,c,t),s[l].__originalFn__=d,Object.defineProperty(s[l],"name",{value:l,writable:!1}),Object.keys(d).length>0&&Object.assign(s[l],this.instrument({...d},{...t,path:a.concat(l)},r)),s)},n?e:W2(e))}track(e,t,r,n,a){let i=n?.[0]?.__storyId__||Xt.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:s,ancestors:l}=this.getState(i);this.setState(i,{cursor:s+1});let u=`${l.slice(-1)[0]||i} [${s}] ${e}`,{path:d=[],intercept:c=!1,retain:p=!1}=a,m=typeof c=="function"?c(e,d):c,h={id:u,cursor:s,storyId:i,ancestors:l,path:d,method:e,args:n,interceptable:m,retain:p},b=(m&&!l.length?this.intercept:this.invoke).call(this,t,r,h,a);return this.instrument(b,{...a,mutate:!0,path:[{__callId__:h.id}]})}intercept(e,t,r,n){let{chainedCallIds:a,isDebugging:i,playUntil:s}=this.getState(r.storyId),l=a.has(r.id);return!i||l||s?(s===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:d})=>({isLocked:!1,resolvers:{...d,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:d,...c}=u.resolvers;return{isLocked:!0,resolvers:c}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:a,renderPhase:i}=this.getState(r.storyId),s=25,l=(c,p,m)=>{if(m.includes(c))return"[Circular]";if(m=[...m,c],p>s)return"...";if(a.has(c))return a.get(c);if(c instanceof Array)return c.map(h=>l(h,++p,m));if(c instanceof Date)return{__date__:{value:c.toISOString()}};if(c instanceof Error){let{name:h,message:b,stack:y}=c;return{__error__:{name:h,message:b,stack:y}}}if(c instanceof RegExp){let{flags:h,source:b}=c;return{__regexp__:{flags:h,source:b}}}if(c instanceof Xt.global.window?.HTMLElement){let{prefix:h,localName:b,id:y,classList:v,innerText:g}=c,E=Array.from(v);return{__element__:{prefix:h,localName:b,id:y,classNames:E,innerText:g}}}return typeof c=="function"?{__function__:{name:"getMockName"in c?c.getMockName():c.name}}:typeof c=="symbol"?{__symbol__:{description:c.description}}:typeof c=="object"&&c?.constructor?.name&&c?.constructor?.name!=="Object"?{__class__:{name:c.constructor.name}}:Object.prototype.toString.call(c)==="[object Object]"?Object.fromEntries(Object.entries(c).map(([h,b])=>[h,l(b,++p,m)])):c},u={...r,args:r.args.map(c=>l(c,0,[]))};r.path.forEach(c=>{c?.__callId__&&this.setState(r.storyId,({chainedCallIds:p})=>({chainedCallIds:new Set(Array.from(p).concat(c.__callId__))}))});let d=c=>{if(c instanceof Error){let{name:p,message:m,stack:h,callId:b=r.id}=c,{showDiff:y=void 0,diff:v=void 0,actual:g=void 0,expected:E=void 0}=c.name==="AssertionError"?Lh(c):c,T={name:p,message:m,stack:h,callId:b,showDiff:y,diff:v,actual:g,expected:E};if(this.update({...u,status:"error",exception:T}),this.setState(r.storyId,M=>({callRefsByResult:new Map([...Array.from(M.callRefsByResult.entries()),[c,{__callId__:r.id,retain:r.retain}]])})),r.ancestors?.length)throw Object.prototype.hasOwnProperty.call(c,"callId")||Object.defineProperty(c,"callId",{value:r.id}),c}throw c};try{if(i==="played"&&!r.retain)throw V2;let c=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(m=>typeof m!="function"||Object.keys(m).length?m:(...h)=>{let{cursor:b,ancestors:y}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...y,r.id]});let v=()=>this.setState(r.storyId,{cursor:b,ancestors:y}),g=!1;try{let E=m(...h);return E instanceof Promise?(g=!0,E.finally(v)):E}finally{g||v()}}),p=e.apply(t,c);return p&&["object","function","symbol"].includes(typeof p)&&this.setState(r.storyId,m=>({callRefsByResult:new Map([...Array.from(m.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:p instanceof Promise?"active":"done"}),p instanceof Promise?p.then(m=>(this.update({...u,status:"done"}),m),d):p}catch(c){return d(c)}}update(e){this.channel.emit(Tr.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,a)=>Object.assign(n,{[a.id]:a}),{});return{calls:Object.values(r).sort((n,a)=>n.id.localeCompare(a.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),a=this.getLog(e),i=a.filter(({ancestors:d})=>!d.length).find(d=>d.status==="waiting")?.callId,s=a.some(d=>d.status==="active");if(r||s||a.length===0){let d={controlStates:Zm,logItems:a};this.channel.emit(Tr.SYNC,d);return}let l=a.some(d=>d.status==="done"||d.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:a,pausedAt:i};this.channel.emit(Tr.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function K2(e,t={}){try{let r=!1,n=!1;return Xt.global.window?.location?.search?.includes("instrument=true")?r=!0:Xt.global.window?.location?.search?.includes("instrument=false")&&(n=!0),Xt.global.window?.parent===Xt.global.window&&!r||n?e:(Xt.global.window&&!Xt.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(Xt.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Y2),(Xt.global.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return rA.once.warn(r),e}}function J2(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}});var aH=ir((f6,On)=>{"use strict";var X2=Object.create,Fi=Object.defineProperty,Q2=Object.getOwnPropertyDescriptor,Ky=Object.getOwnPropertyNames,Z2=Object.getPrototypeOf,eT=Object.prototype.hasOwnProperty,P=(e,t)=>function(){return t||(0,e[Ky(e)[0]])((t={exports:{}}).exports,t),t.exports},Bi=(e,t)=>{for(var r in t)Fi(e,r,{get:t[r],enumerable:!0})},Jy=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of Ky(t))!eT.call(e,a)&&a!==r&&Fi(e,a,{get:()=>t[a],enumerable:!(n=Q2(t,a))||n.enumerable});return e},ar=(e,t,r)=>(r=e!=null?X2(Z2(e)):{},Jy(t||!e||!e.__esModule?Fi(r,"default",{value:e,enumerable:!0}):r,e)),tT=e=>Jy(Fi({},"__esModule",{value:!0}),e),rT=P({"../../node_modules/min-indent/index.js"(e,t){"use strict";t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((a,i)=>Math.min(a,i.length),1/0):0}}}),nT=P({"../../node_modules/strip-indent/index.js"(e,t){"use strict";var r=rT();t.exports=n=>{let a=r(n);if(a===0)return n;let i=new RegExp(`^[ \\t]{${a}}`,"gm");return n.replace(i,"")}}}),oT=P({"../../node_modules/indent-string/index.js"(e,t){"use strict";t.exports=(r,n=1,a)=>{if(a={indent:" ",includeEmptyLines:!1,...a},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 a.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof a.indent}\``);if(n===0)return r;let i=a.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,a.indent.repeat(n))}}}),Xy=P({"../../node_modules/redent/index.js"(e,t){"use strict";var r=nT(),n=oT();t.exports=(a,i=0,s)=>n(r(a),i,s)}}),aT=P({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,i={"@@iterator":function(){return i},next:function(){if(a<n.length){var s=n[a];return a=a+1,{done:!1,value:s}}else return{done:!0}}};return i}var r=e.default=t}}),Ea=P({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(aT());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function a(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}}}),iT=P({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ea());function r(m){return m&&m.__esModule?m:{default:m}}function n(m,h){return u(m)||l(m,h)||i(m,h)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
279
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,h){if(m){if(typeof m=="string")return s(m,h);var b={}.toString.call(m).slice(8,-1);return b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set"?Array.from(m):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?s(m,h):void 0}}function s(m,h){(h==null||h>m.length)&&(h=m.length);for(var b=0,y=Array(h);b<h;b++)y[b]=m[b];return y}function l(m,h){var b=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(b!=null){var y,v,g,E,T=[],M=!0,O=!1;try{if(g=(b=b.call(m)).next,h===0){if(Object(b)!==b)return;M=!1}else for(;!(M=(y=g.call(b)).done)&&(T.push(y.value),T.length!==h);M=!0);}catch(A){O=!0,v=A}finally{try{if(!M&&b.return!=null&&(E=b.return(),Object(E)!==E))return}finally{if(O)throw v}}return T}}function u(m){if(Array.isArray(m))return m}var d=[["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"}]],c={entries:function(){return d},forEach:function(m){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,y=d;b<y.length;b++){var v=n(y[b],2),g=v[0],E=v[1];m.call(h,E,g,d)}},get:function(m){var h=d.filter(function(b){return b[0]===m})[0];return h&&h[1]},has:function(m){return!!c.get(m)},keys:function(){return d.map(function(m){var h=n(m,1),b=h[0];return b})},values:function(){return d.map(function(m){var h=n(m,2),b=h[1];return b})}},p=e.default=(0,t.default)(c,c.entries())}}),sT=P({"../../node_modules/aria-query/lib/domMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Ea());function r(m){return m&&m.__esModule?m:{default:m}}function n(m,h){return u(m)||l(m,h)||i(m,h)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
280
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,h){if(m){if(typeof m=="string")return s(m,h);var b={}.toString.call(m).slice(8,-1);return b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set"?Array.from(m):b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b)?s(m,h):void 0}}function s(m,h){(h==null||h>m.length)&&(h=m.length);for(var b=0,y=Array(h);b<h;b++)y[b]=m[b];return y}function l(m,h){var b=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(b!=null){var y,v,g,E,T=[],M=!0,O=!1;try{if(g=(b=b.call(m)).next,h===0){if(Object(b)!==b)return;M=!1}else for(;!(M=(y=g.call(b)).done)&&(T.push(y.value),T.length!==h);M=!0);}catch(A){O=!0,v=A}finally{try{if(!M&&b.return!=null&&(E=b.return(),Object(E)!==E))return}finally{if(O)throw v}}return T}}function u(m){if(Array.isArray(m))return m}var d=[["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}]],c={entries:function(){return d},forEach:function(m){for(var h=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=0,y=d;b<y.length;b++){var v=n(y[b],2),g=v[0],E=v[1];m.call(h,E,g,d)}},get:function(m){var h=d.filter(function(b){return b[0]===m})[0];return h&&h[1]},has:function(m){return!!c.get(m)},keys:function(){return d.map(function(m){var h=n(m,1),b=h[0];return b})},values:function(){return d.map(function(m){var h=n(m,2),b=h[1];return b})}},p=e.default=(0,t.default)(c,c.entries())}}),lT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){"use strict";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"]]},r=e.default=t}}),uT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){"use strict";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"]]},r=e.default=t}}),cT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){"use strict";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"]]},r=e.default=t}}),dT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){"use strict";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"]]},r=e.default=t}}),pT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){"use strict";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"]]},r=e.default=t}}),fT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){"use strict";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:[]},r=e.default=t}}),mT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){"use strict";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"]]},r=e.default=t}}),hT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){"use strict";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"]]},r=e.default=t}}),bT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){"use strict";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"]]},r=e.default=t}}),yT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){"use strict";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"]]},r=e.default=t}}),gT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){"use strict";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"]]},r=e.default=t}}),vT=P({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){"use strict";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"]]},r=e.default=t}}),_T=P({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=h(lT()),r=h(uT()),n=h(cT()),a=h(dT()),i=h(pT()),s=h(fT()),l=h(mT()),u=h(hT()),d=h(bT()),c=h(yT()),p=h(gT()),m=h(vT());function h(v){return v&&v.__esModule?v:{default:v}}var b=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",d.default],["structure",c.default],["widget",p.default],["window",m.default]],y=e.default=b}}),ET=P({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){"use strict";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"]]},r=e.default=t}}),wT=P({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){"use strict";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"]]},r=e.default=t}}),RT=P({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){"use strict";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"]]},r=e.default=t}}),CT=P({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){"use strict";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"]]},r=e.default=t}}),ST=P({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){"use strict";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"]]},r=e.default=t}}),AT=P({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){"use strict";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"]]},r=e.default=t}}),PT=P({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){"use strict";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"]]},r=e.default=t}}),TT=P({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){"use strict";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"]]},r=e.default=t}}),OT=P({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){"use strict";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"]]},r=e.default=t}}),qT=P({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){"use strict";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"]]},r=e.default=t}}),xT=P({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){"use strict";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"]]},r=e.default=t}}),MT=P({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){"use strict";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"]]},r=e.default=t}}),NT=P({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){"use strict";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"]]},r=e.default=t}}),jT=P({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){"use strict";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"]]},r=e.default=t}}),IT=P({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){"use strict";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"]]},r=e.default=t}}),DT=P({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){"use strict";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"]]},r=e.default=t}}),FT=P({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){"use strict";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"]]},r=e.default=t}}),BT=P({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){"use strict";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"]]},r=e.default=t}}),LT=P({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){"use strict";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"]]},r=e.default=t}}),kT=P({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){"use strict";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"]]},r=e.default=t}}),$T=P({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){"use strict";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"]]},r=e.default=t}}),UT=P({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){"use strict";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"]]},r=e.default=t}}),HT=P({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){"use strict";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"]]},r=e.default=t}}),VT=P({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){"use strict";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"]]},r=e.default=t}}),GT=P({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){"use strict";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"]]},r=e.default=t}}),zT=P({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){"use strict";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"]]},r=e.default=t}}),WT=P({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){"use strict";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"]]},r=e.default=t}}),YT=P({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){"use strict";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"]]},r=e.default=t}}),KT=P({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){"use strict";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"]]},r=e.default=t}}),JT=P({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){"use strict";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"]]},r=e.default=t}}),XT=P({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){"use strict";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"]]},r=e.default=t}}),QT=P({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){"use strict";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"]]},r=e.default=t}}),ZT=P({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){"use strict";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"]]},r=e.default=t}}),eO=P({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){"use strict";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"]]},r=e.default=t}}),tO=P({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){"use strict";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"]]},r=e.default=t}}),rO=P({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){"use strict";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"]]},r=e.default=t}}),nO=P({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){"use strict";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"]]},r=e.default=t}}),oO=P({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){"use strict";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"]]},r=e.default=t}}),aO=P({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){"use strict";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"]]},r=e.default=t}}),iO=P({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){"use strict";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"]]},r=e.default=t}}),sO=P({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){"use strict";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"]]},r=e.default=t}}),lO=P({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){"use strict";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"]]},r=e.default=t}}),uO=P({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){"use strict";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"]]},r=e.default=t}}),cO=P({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){"use strict";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"]]},r=e.default=t}}),dO=P({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){"use strict";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"]]},r=e.default=t}}),pO=P({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){"use strict";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"]]},r=e.default=t}}),fO=P({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){"use strict";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"]]},r=e.default=t}}),mO=P({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){"use strict";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:[]},r=e.default=t}}),hO=P({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){"use strict";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"]]},r=e.default=t}}),bO=P({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){"use strict";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"]]},r=e.default=t}}),yO=P({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){"use strict";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"]]},r=e.default=t}}),gO=P({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){"use strict";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"]]},r=e.default=t}}),vO=P({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){"use strict";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"]]},r=e.default=t}}),_O=P({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){"use strict";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"]]},r=e.default=t}}),EO=P({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){"use strict";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"]]},r=e.default=t}}),wO=P({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){"use strict";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"]]},r=e.default=t}}),RO=P({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){"use strict";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"]]},r=e.default=t}}),CO=P({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){"use strict";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"]]},r=e.default=t}}),SO=P({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){"use strict";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"]]},r=e.default=t}}),AO=P({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){"use strict";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"]]},r=e.default=t}}),PO=P({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){"use strict";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"]]},r=e.default=t}}),TO=P({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){"use strict";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"]]},r=e.default=t}}),OO=P({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){"use strict";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"]]},r=e.default=t}}),qO=P({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){"use strict";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"]]},r=e.default=t}}),xO=P({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){"use strict";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"]]},r=e.default=t}}),MO=P({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){"use strict";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"]]},r=e.default=t}}),NO=P({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){"use strict";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"]]},r=e.default=t}}),jO=P({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){"use strict";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"]]},r=e.default=t}}),IO=P({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){"use strict";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"]]},r=e.default=t}}),DO=P({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){"use strict";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"]]},r=e.default=t}}),FO=P({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){"use strict";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"]]},r=e.default=t}}),BO=P({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){"use strict";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"]]},r=e.default=t}}),LO=P({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){"use strict";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"]]},r=e.default=t}}),kO=P({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){"use strict";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"]]},r=e.default=t}}),$O=P({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){"use strict";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"]]},r=e.default=t}}),UO=P({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){"use strict";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"]]},r=e.default=t}}),HO=P({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){"use strict";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"]]},r=e.default=t}}),VO=P({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){"use strict";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"]]},r=e.default=t}}),GO=P({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){"use strict";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"]]},r=e.default=t}}),zO=P({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){"use strict";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"]]},r=e.default=t}}),WO=P({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){"use strict";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"]]},r=e.default=t}}),YO=P({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){"use strict";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"]]},r=e.default=t}}),KO=P({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){"use strict";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"]]},r=e.default=t}}),JO=P({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=re(ET()),r=re(wT()),n=re(RT()),a=re(CT()),i=re(ST()),s=re(AT()),l=re(PT()),u=re(TT()),d=re(OT()),c=re(qT()),p=re(xT()),m=re(MT()),h=re(NT()),b=re(jT()),y=re(IT()),v=re(DT()),g=re(FT()),E=re(BT()),T=re(LT()),M=re(kT()),O=re($T()),A=re(UT()),w=re(HT()),S=re(VT()),N=re(GT()),Y=re(zT()),K=re(WT()),ee=re(YT()),Q=re(KT()),x=re(JT()),D=re(XT()),J=re(QT()),ve=re(ZT()),ye=re(eO()),xe=re(tO()),De=re(rO()),je=re(nO()),be=re(oO()),de=re(aO()),ge=re(iO()),Te=re(sO()),Re=re(lO()),Ne=re(uO()),Ze=re(cO()),_t=re(dO()),Z=re(pO()),qe=re(fO()),Be=re(mO()),Qe=re(hO()),fe=re(bO()),Se=re(yO()),He=re(gO()),ut=re(vO()),Lt=re(_O()),xo=re(EO()),Mo=re(wO()),fs=re(RO()),ms=re(CO()),hs=re(SO()),bs=re(AO()),ys=re(PO()),gs=re(TO()),vs=re(OO()),_s=re(qO()),Es=re(xO()),ws=re(MO()),Rs=re(NO()),Cs=re(jO()),Ss=re(IO()),As=re(DO()),Ps=re(FO()),Ts=re(BO()),Os=re(LO()),qs=re(kO()),xs=re($O()),Ms=re(UO()),Ns=re(HO()),js=re(VO()),Is=re(GO()),Ds=re(zO()),Fs=re(WO()),Bs=re(YO()),Ls=re(KO());function re(Dr){return Dr&&Dr.__esModule?Dr:{default:Dr}}var ks=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",d.default],["checkbox",c.default],["code",p.default],["columnheader",m.default],["combobox",h.default],["complementary",b.default],["contentinfo",y.default],["definition",v.default],["deletion",g.default],["dialog",E.default],["directory",T.default],["document",M.default],["emphasis",O.default],["feed",A.default],["figure",w.default],["form",S.default],["generic",N.default],["grid",Y.default],["gridcell",K.default],["group",ee.default],["heading",Q.default],["img",x.default],["insertion",D.default],["link",J.default],["list",ve.default],["listbox",ye.default],["listitem",xe.default],["log",De.default],["main",je.default],["mark",be.default],["marquee",de.default],["math",ge.default],["menu",Te.default],["menubar",Re.default],["menuitem",Ne.default],["menuitemcheckbox",Ze.default],["menuitemradio",_t.default],["meter",Z.default],["navigation",qe.default],["none",Be.default],["note",Qe.default],["option",fe.default],["paragraph",Se.default],["presentation",He.default],["progressbar",ut.default],["radio",Lt.default],["radiogroup",xo.default],["region",Mo.default],["row",fs.default],["rowgroup",ms.default],["rowheader",hs.default],["scrollbar",bs.default],["search",ys.default],["searchbox",gs.default],["separator",vs.default],["slider",_s.default],["spinbutton",Es.default],["status",ws.default],["strong",Rs.default],["subscript",Cs.default],["superscript",Ss.default],["switch",As.default],["tab",Ps.default],["table",Ts.default],["tablist",Os.default],["tabpanel",qs.default],["term",xs.default],["textbox",Ms.default],["time",Ns.default],["timer",js.default],["toolbar",Is.default],["tooltip",Ds.default],["tree",Fs.default],["treegrid",Bs.default],["treeitem",Ls.default]],rp=e.default=ks}}),XO=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){"use strict";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"]]},r=e.default=t}}),QO=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){"use strict";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"]]},r=e.default=t}}),ZO=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){"use strict";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"]]},r=e.default=t}}),tq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){"use strict";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"]]},r=e.default=t}}),rq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){"use strict";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"]]},r=e.default=t}}),nq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){"use strict";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"]]},r=e.default=t}}),oq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){"use strict";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"]]},r=e.default=t}}),aq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){"use strict";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"]]},r=e.default=t}}),iq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){"use strict";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"]]},r=e.default=t}}),sq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){"use strict";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"]]},r=e.default=t}}),lq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){"use strict";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"]]},r=e.default=t}}),uq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){"use strict";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"]]},r=e.default=t}}),cq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){"use strict";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"]]},r=e.default=t}}),dq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){"use strict";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"]]},r=e.default=t}}),pq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){"use strict";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"]]},r=e.default=t}}),fq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){"use strict";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"]]},r=e.default=t}}),mq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){"use strict";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"]]},r=e.default=t}}),hq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){"use strict";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"]]},r=e.default=t}}),bq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){"use strict";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"]]},r=e.default=t}}),yq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){"use strict";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"]]},r=e.default=t}}),gq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){"use strict";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"]]},r=e.default=t}}),vq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){"use strict";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"]]},r=e.default=t}}),_q=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){"use strict";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"]]},r=e.default=t}}),Eq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){"use strict";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"]]},r=e.default=t}}),wq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){"use strict";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"]]},r=e.default=t}}),Rq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){"use strict";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"]]},r=e.default=t}}),Cq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){"use strict";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"]]},r=e.default=t}}),Sq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){"use strict";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"]]},r=e.default=t}}),Aq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){"use strict";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"]]},r=e.default=t}}),Pq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){"use strict";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"]]},r=e.default=t}}),Tq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagefooterRole.js"(e){"use strict";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"]]},r=e.default=t}}),Oq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPageheaderRole.js"(e){"use strict";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"]]},r=e.default=t}}),qq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){"use strict";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"]]},r=e.default=t}}),xq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){"use strict";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"]]},r=e.default=t}}),Mq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){"use strict";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"]]},r=e.default=t}}),Nq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){"use strict";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"]]},r=e.default=t}}),jq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){"use strict";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"]]},r=e.default=t}}),Iq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){"use strict";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"]]},r=e.default=t}}),Dq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){"use strict";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"]]},r=e.default=t}}),Fq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){"use strict";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"]]},r=e.default=t}}),Bq=P({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){"use strict";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"]]},r=e.default=t}}),Lq=P({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Re(XO()),r=Re(QO()),n=Re(ZO()),a=Re(tq()),i=Re(rq()),s=Re(nq()),l=Re(oq()),u=Re(aq()),d=Re(iq()),c=Re(sq()),p=Re(lq()),m=Re(uq()),h=Re(cq()),b=Re(dq()),y=Re(pq()),v=Re(fq()),g=Re(mq()),E=Re(hq()),T=Re(bq()),M=Re(yq()),O=Re(gq()),A=Re(vq()),w=Re(_q()),S=Re(Eq()),N=Re(wq()),Y=Re(Rq()),K=Re(Cq()),ee=Re(Sq()),Q=Re(Aq()),x=Re(Pq()),D=Re(Tq()),J=Re(Oq()),ve=Re(qq()),ye=Re(xq()),xe=Re(Mq()),De=Re(Nq()),je=Re(jq()),be=Re(Iq()),de=Re(Dq()),ge=Re(Fq()),Te=Re(Bq());function Re(_t){return _t&&_t.__esModule?_t:{default:_t}}var Ne=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",d.default],["doc-colophon",c.default],["doc-conclusion",p.default],["doc-cover",m.default],["doc-credit",h.default],["doc-credits",b.default],["doc-dedication",y.default],["doc-endnote",v.default],["doc-endnotes",g.default],["doc-epigraph",E.default],["doc-epilogue",T.default],["doc-errata",M.default],["doc-example",O.default],["doc-footnote",A.default],["doc-foreword",w.default],["doc-glossary",S.default],["doc-glossref",N.default],["doc-index",Y.default],["doc-introduction",K.default],["doc-noteref",ee.default],["doc-notice",Q.default],["doc-pagebreak",x.default],["doc-pagefooter",D.default],["doc-pageheader",J.default],["doc-pagelist",ve.default],["doc-part",ye.default],["doc-preface",xe.default],["doc-prologue",De.default],["doc-pullquote",je.default],["doc-qna",be.default],["doc-subtitle",de.default],["doc-tip",ge.default],["doc-toc",Te.default]],Ze=e.default=Ne}}),kq=P({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){"use strict";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"]]},r=e.default=t}}),$q=P({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){"use strict";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"]]},r=e.default=t}}),Uq=P({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){"use strict";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"]]},r=e.default=t}}),Hq=P({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(kq()),r=a($q()),n=a(Uq());function a(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=e.default=i}}),jc=P({"../../node_modules/aria-query/lib/rolesMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(_T()),r=s(JO()),n=s(Lq()),a=s(Hq()),i=s(Ea());function s(g){return g&&g.__esModule?g:{default:g}}function l(g,E){var T=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!T){if(Array.isArray(g)||(T=c(g))||E&&g&&typeof g.length=="number"){T&&(g=T);var M=0,O=function(){};return{s:O,n:function(){return M>=g.length?{done:!0}:{done:!1,value:g[M++]}},e:function(N){throw N},f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
281
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var A,w=!0,S=!1;return{s:function(){T=T.call(g)},n:function(){var N=T.next();return w=N.done,N},e:function(N){S=!0,A=N},f:function(){try{w||T.return==null||T.return()}finally{if(S)throw A}}}}function u(g,E){return h(g)||m(g,E)||c(g,E)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
282
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function c(g,E){if(g){if(typeof g=="string")return p(g,E);var T={}.toString.call(g).slice(8,-1);return T==="Object"&&g.constructor&&(T=g.constructor.name),T==="Map"||T==="Set"?Array.from(g):T==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(T)?p(g,E):void 0}}function p(g,E){(E==null||E>g.length)&&(E=g.length);for(var T=0,M=Array(E);T<E;T++)M[T]=g[T];return M}function m(g,E){var T=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(T!=null){var M,O,A,w,S=[],N=!0,Y=!1;try{if(A=(T=T.call(g)).next,E===0){if(Object(T)!==T)return;N=!1}else for(;!(N=(M=A.call(T)).done)&&(S.push(M.value),S.length!==E);N=!0);}catch(K){Y=!0,O=K}finally{try{if(!N&&T.return!=null&&(w=T.return(),Object(w)!==w))return}finally{if(Y)throw O}}return S}}function h(g){if(Array.isArray(g))return g}var b=[].concat(t.default,r.default,n.default,a.default);b.forEach(function(g){var E=u(g,2),T=E[1],M=l(T.superClass),O;try{for(M.s();!(O=M.n()).done;){var A=O.value,w=l(A),S;try{var N=function(){var Y=S.value,K=b.filter(function(J){var ve=u(J,1),ye=ve[0];return ye===Y})[0];if(K)for(var ee=K[1],Q=0,x=Object.keys(ee.props);Q<x.length;Q++){var D=x[Q];Object.prototype.hasOwnProperty.call(T.props,D)||(T.props[D]=ee.props[D])}};for(w.s();!(S=w.n()).done;)N()}catch(Y){w.e(Y)}finally{w.f()}}}catch(Y){M.e(Y)}finally{M.f()}});var y={entries:function(){return b},forEach:function(g){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,T=l(b),M;try{for(T.s();!(M=T.n()).done;){var O=u(M.value,2),A=O[0],w=O[1];g.call(E,w,A,b)}}catch(S){T.e(S)}finally{T.f()}},get:function(g){var E=b.filter(function(T){return T[0]===g})[0];return E&&E[1]},has:function(g){return!!y.get(g)},keys:function(){return b.map(function(g){var E=u(g,1),T=E[0];return T})},values:function(){return b.map(function(g){var E=u(g,2),T=E[1];return T})}},v=e.default=(0,i.default)(y,y.entries())}}),Vq=P({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ea()),r=n(jc());function n(w){return w&&w.__esModule?w:{default:w}}function a(w,S){return d(w)||u(w,S)||s(w,S)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
283
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(w,S){if(w){if(typeof w=="string")return l(w,S);var N={}.toString.call(w).slice(8,-1);return N==="Object"&&w.constructor&&(N=w.constructor.name),N==="Map"||N==="Set"?Array.from(w):N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N)?l(w,S):void 0}}function l(w,S){(S==null||S>w.length)&&(S=w.length);for(var N=0,Y=Array(S);N<S;N++)Y[N]=w[N];return Y}function u(w,S){var N=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(N!=null){var Y,K,ee,Q,x=[],D=!0,J=!1;try{if(ee=(N=N.call(w)).next,S===0){if(Object(N)!==N)return;D=!1}else for(;!(D=(Y=ee.call(N)).done)&&(x.push(Y.value),x.length!==S);D=!0);}catch(ve){J=!0,K=ve}finally{try{if(!D&&N.return!=null&&(Q=N.return(),Object(Q)!==Q))return}finally{if(J)throw K}}return x}}function d(w){if(Array.isArray(w))return w}var c=[],p=r.default.keys();for(g=0;g<p.length;g++)if(m=p[g],h=r.default.get(m),h)for(b=[].concat(h.baseConcepts,h.relatedConcepts),y=function(){var w=b[v];if(w.module==="HTML"){var S=w.concept;if(S){var N=c.filter(function(Q){return T(Q[0],S)})[0],Y;N?Y=N[1]:Y=[];for(var K=!0,ee=0;ee<Y.length;ee++)if(Y[ee]===m){K=!1;break}K&&Y.push(m),N||c.push([S,Y])}}},v=0;v<b.length;v++)y();var m,h,b,y,v,g,E={entries:function(){return c},forEach:function(w){for(var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=0,Y=c;N<Y.length;N++){var K=a(Y[N],2),ee=K[0],Q=K[1];w.call(S,Q,ee,c)}},get:function(w){var S=c.filter(function(N){return w.name===N[0].name&&O(w.attributes,N[0].attributes)})[0];return S&&S[1]},has:function(w){return!!E.get(w)},keys:function(){return c.map(function(w){var S=a(w,1),N=S[0];return N})},values:function(){return c.map(function(w){var S=a(w,2),N=S[1];return N})}};function T(w,S){return w.name===S.name&&M(w.constraints,S.constraints)&&O(w.attributes,S.attributes)}function M(w,S){if(w===void 0&&S!==void 0||w!==void 0&&S===void 0)return!1;if(w!==void 0&&S!==void 0){if(w.length!==S.length)return!1;for(var N=0;N<w.length;N++)if(w[N]!==S[N])return!1}return!0}function O(w,S){if(w===void 0&&S!==void 0||w!==void 0&&S===void 0)return!1;if(w!==void 0&&S!==void 0){if(w.length!==S.length)return!1;for(var N=0;N<w.length;N++){if(w[N].name!==S[N].name||w[N].value!==S[N].value||w[N].constraints===void 0&&S[N].constraints!==void 0||w[N].constraints!==void 0&&S[N].constraints===void 0)return!1;if(w[N].constraints!==void 0&&S[N].constraints!==void 0){if(w[N].constraints.length!==S[N].constraints.length)return!1;for(var Y=0;Y<w[N].constraints.length;Y++)if(w[N].constraints[Y]!==S[N].constraints[Y])return!1}}}return!0}var A=e.default=(0,t.default)(E,E.entries())}}),Gq=P({"../../node_modules/aria-query/lib/roleElementMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Ea()),r=n(jc());function n(A){return A&&A.__esModule?A:{default:A}}function a(A,w){return d(A)||u(A,w)||s(A,w)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
284
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(A,w){if(A){if(typeof A=="string")return l(A,w);var S={}.toString.call(A).slice(8,-1);return S==="Object"&&A.constructor&&(S=A.constructor.name),S==="Map"||S==="Set"?Array.from(A):S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S)?l(A,w):void 0}}function l(A,w){(w==null||w>A.length)&&(w=A.length);for(var S=0,N=Array(w);S<w;S++)N[S]=A[S];return N}function u(A,w){var S=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(S!=null){var N,Y,K,ee,Q=[],x=!0,D=!1;try{if(K=(S=S.call(A)).next,w===0){if(Object(S)!==S)return;x=!1}else for(;!(x=(N=K.call(S)).done)&&(Q.push(N.value),Q.length!==w);x=!0);}catch(J){D=!0,Y=J}finally{try{if(!x&&S.return!=null&&(ee=S.return(),Object(ee)!==ee))return}finally{if(D)throw Y}}return Q}}function d(A){if(Array.isArray(A))return A}var c=[],p=r.default.keys();for(T=0;T<p.length;T++)if(m=p[T],h=r.default.get(m),b=[],h){for(y=[].concat(h.baseConcepts,h.relatedConcepts),E=0;E<y.length;E++)v=y[E],v.module==="HTML"&&(g=v.concept,g!=null&&b.push(g));b.length>0&&c.push([m,b])}var m,h,b,y,v,g,E,T,M={entries:function(){return c},forEach:function(A){for(var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=0,N=c;S<N.length;S++){var Y=a(N[S],2),K=Y[0],ee=Y[1];A.call(w,ee,K,c)}},get:function(A){var w=c.filter(function(S){return S[0]===A})[0];return w&&w[1]},has:function(A){return!!M.get(A)},keys:function(){return c.map(function(A){var w=a(A,1),S=w[0];return S})},values:function(){return c.map(function(A){var w=a(A,2),S=w[1];return S})}},O=e.default=(0,t.default)(M,M.entries())}}),Qy=P({"../../node_modules/aria-query/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(iT()),r=s(sT()),n=s(jc()),a=s(Vq()),i=s(Gq());function s(m){return m&&m.__esModule?m:{default:m}}var l=e.aria=t.default,u=e.dom=r.default,d=e.roles=n.default,c=e.elementRoles=a.default,p=e.roleElements=i.default}}),zq=P({"../../node_modules/color-name/index.js"(e,t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Zy=P({"../../node_modules/color-convert/conversions.js"(e,t){"use strict";var r=zq(),n={};for(let s of Object.keys(r))n[r[s]]=s;var a={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=a;for(let s of Object.keys(a)){if(!("channels"in a[s]))throw new Error("missing channels property: "+s);if(!("labels"in a[s]))throw new Error("missing channel labels property: "+s);if(a[s].labels.length!==a[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:l,labels:u}=a[s];delete a[s].channels,delete a[s].labels,Object.defineProperty(a[s],"channels",{value:l}),Object.defineProperty(a[s],"labels",{value:u})}a.rgb.hsl=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.min(l,u,d),p=Math.max(l,u,d),m=p-c,h,b;p===c?h=0:l===p?h=(u-d)/m:u===p?h=2+(d-l)/m:d===p&&(h=4+(l-u)/m),h=Math.min(h*60,360),h<0&&(h+=360);let y=(c+p)/2;return p===c?b=0:y<=.5?b=m/(p+c):b=m/(2-p-c),[h,b*100,y*100]},a.rgb.hsv=function(s){let l,u,d,c,p,m=s[0]/255,h=s[1]/255,b=s[2]/255,y=Math.max(m,h,b),v=y-Math.min(m,h,b),g=function(E){return(y-E)/6/v+1/2};return v===0?(c=0,p=0):(p=v/y,l=g(m),u=g(h),d=g(b),m===y?c=d-u:h===y?c=1/3+l-d:b===y&&(c=2/3+u-l),c<0?c+=1:c>1&&(c-=1)),[c*360,p*100,y*100]},a.rgb.hwb=function(s){let l=s[0],u=s[1],d=s[2],c=a.rgb.hsl(s)[0],p=1/255*Math.min(l,Math.min(u,d));return d=1-1/255*Math.max(l,Math.max(u,d)),[c,p*100,d*100]},a.rgb.cmyk=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.min(1-l,1-u,1-d),p=(1-l-c)/(1-c)||0,m=(1-u-c)/(1-c)||0,h=(1-d-c)/(1-c)||0;return[p*100,m*100,h*100,c*100]};function i(s,l){return(s[0]-l[0])**2+(s[1]-l[1])**2+(s[2]-l[2])**2}a.rgb.keyword=function(s){let l=n[s];if(l)return l;let u=1/0,d;for(let c of Object.keys(r)){let p=r[c],m=i(s,p);m<u&&(u=m,d=c)}return d},a.keyword.rgb=function(s){return r[s]},a.rgb.xyz=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,d=d>.04045?((d+.055)/1.055)**2.4:d/12.92;let c=l*.4124+u*.3576+d*.1805,p=l*.2126+u*.7152+d*.0722,m=l*.0193+u*.1192+d*.9505;return[c*100,p*100,m*100]},a.rgb.lab=function(s){let l=a.rgb.xyz(s),u=l[0],d=l[1],c=l[2];u/=95.047,d/=100,c/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,d=d>.008856?d**(1/3):7.787*d+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let p=116*d-16,m=500*(u-d),h=200*(d-c);return[p,m,h]},a.hsl.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100,c,p,m;if(u===0)return m=d*255,[m,m,m];d<.5?c=d*(1+u):c=d+u-d*u;let h=2*d-c,b=[0,0,0];for(let y=0;y<3;y++)p=l+1/3*-(y-1),p<0&&p++,p>1&&p--,6*p<1?m=h+(c-h)*6*p:2*p<1?m=c:3*p<2?m=h+(c-h)*(2/3-p)*6:m=h,b[y]=m*255;return b},a.hsl.hsv=function(s){let l=s[0],u=s[1]/100,d=s[2]/100,c=u,p=Math.max(d,.01);d*=2,u*=d<=1?d:2-d,c*=p<=1?p:2-p;let m=(d+u)/2,h=d===0?2*c/(p+c):2*u/(d+u);return[l,h*100,m*100]},a.hsv.rgb=function(s){let l=s[0]/60,u=s[1]/100,d=s[2]/100,c=Math.floor(l)%6,p=l-Math.floor(l),m=255*d*(1-u),h=255*d*(1-u*p),b=255*d*(1-u*(1-p));switch(d*=255,c){case 0:return[d,b,m];case 1:return[h,d,m];case 2:return[m,d,b];case 3:return[m,h,d];case 4:return[b,m,d];case 5:return[d,m,h]}},a.hsv.hsl=function(s){let l=s[0],u=s[1]/100,d=s[2]/100,c=Math.max(d,.01),p,m;m=(2-u)*d;let h=(2-u)*c;return p=u*c,p/=h<=1?h:2-h,p=p||0,m/=2,[l,p*100,m*100]},a.hwb.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100,c=u+d,p;c>1&&(u/=c,d/=c);let m=Math.floor(6*l),h=1-d;p=6*l-m,m&1&&(p=1-p);let b=u+p*(h-u),y,v,g;switch(m){default:case 6:case 0:y=h,v=b,g=u;break;case 1:y=b,v=h,g=u;break;case 2:y=u,v=h,g=b;break;case 3:y=u,v=b,g=h;break;case 4:y=b,v=u,g=h;break;case 5:y=h,v=u,g=b;break}return[y*255,v*255,g*255]},a.cmyk.rgb=function(s){let l=s[0]/100,u=s[1]/100,d=s[2]/100,c=s[3]/100,p=1-Math.min(1,l*(1-c)+c),m=1-Math.min(1,u*(1-c)+c),h=1-Math.min(1,d*(1-c)+c);return[p*255,m*255,h*255]},a.xyz.rgb=function(s){let l=s[0]/100,u=s[1]/100,d=s[2]/100,c,p,m;return c=l*3.2406+u*-1.5372+d*-.4986,p=l*-.9689+u*1.8758+d*.0415,m=l*.0557+u*-.204+d*1.057,c=c>.0031308?1.055*c**(1/2.4)-.055:c*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,m=m>.0031308?1.055*m**(1/2.4)-.055:m*12.92,c=Math.min(Math.max(0,c),1),p=Math.min(Math.max(0,p),1),m=Math.min(Math.max(0,m),1),[c*255,p*255,m*255]},a.xyz.lab=function(s){let l=s[0],u=s[1],d=s[2];l/=95.047,u/=100,d/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let c=116*u-16,p=500*(l-u),m=200*(u-d);return[c,p,m]},a.lab.xyz=function(s){let l=s[0],u=s[1],d=s[2],c,p,m;p=(l+16)/116,c=u/500+p,m=p-d/200;let h=p**3,b=c**3,y=m**3;return p=h>.008856?h:(p-16/116)/7.787,c=b>.008856?b:(c-16/116)/7.787,m=y>.008856?y:(m-16/116)/7.787,c*=95.047,p*=100,m*=108.883,[c,p,m]},a.lab.lch=function(s){let l=s[0],u=s[1],d=s[2],c;c=Math.atan2(d,u)*360/2/Math.PI,c<0&&(c+=360);let p=Math.sqrt(u*u+d*d);return[l,p,c]},a.lch.lab=function(s){let l=s[0],u=s[1],d=s[2]/360*2*Math.PI,c=u*Math.cos(d),p=u*Math.sin(d);return[l,c,p]},a.rgb.ansi16=function(s,l=null){let[u,d,c]=s,p=l===null?a.rgb.hsv(s)[2]:l;if(p=Math.round(p/50),p===0)return 30;let m=30+(Math.round(c/255)<<2|Math.round(d/255)<<1|Math.round(u/255));return p===2&&(m+=60),m},a.hsv.ansi16=function(s){return a.rgb.ansi16(a.hsv.rgb(s),s[2])},a.rgb.ansi256=function(s){let l=s[0],u=s[1],d=s[2];return l===u&&u===d?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(d/255*5)},a.ansi16.rgb=function(s){let l=s%10;if(l===0||l===7)return s>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(s>50)+1)*.5,d=(l&1)*u*255,c=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[d,c,p]},a.ansi256.rgb=function(s){if(s>=232){let p=(s-232)*10+8;return[p,p,p]}s-=16;let l,u=Math.floor(s/36)/5*255,d=Math.floor((l=s%36)/6)/5*255,c=l%6/5*255;return[u,d,c]},a.rgb.hex=function(s){let l=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},a.hex.rgb=function(s){let l=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(h=>h+h).join(""));let d=parseInt(u,16),c=d>>16&255,p=d>>8&255,m=d&255;return[c,p,m]},a.rgb.hcg=function(s){let l=s[0]/255,u=s[1]/255,d=s[2]/255,c=Math.max(Math.max(l,u),d),p=Math.min(Math.min(l,u),d),m=c-p,h,b;return m<1?h=p/(1-m):h=0,m<=0?b=0:c===l?b=(u-d)/m%6:c===u?b=2+(d-l)/m:b=4+(l-u)/m,b/=6,b%=1,[b*360,m*100,h*100]},a.hsl.hcg=function(s){let l=s[1]/100,u=s[2]/100,d=u<.5?2*l*u:2*l*(1-u),c=0;return d<1&&(c=(u-.5*d)/(1-d)),[s[0],d*100,c*100]},a.hsv.hcg=function(s){let l=s[1]/100,u=s[2]/100,d=l*u,c=0;return d<1&&(c=(u-d)/(1-d)),[s[0],d*100,c*100]},a.hcg.rgb=function(s){let l=s[0]/360,u=s[1]/100,d=s[2]/100;if(u===0)return[d*255,d*255,d*255];let c=[0,0,0],p=l%1*6,m=p%1,h=1-m,b=0;switch(Math.floor(p)){case 0:c[0]=1,c[1]=m,c[2]=0;break;case 1:c[0]=h,c[1]=1,c[2]=0;break;case 2:c[0]=0,c[1]=1,c[2]=m;break;case 3:c[0]=0,c[1]=h,c[2]=1;break;case 4:c[0]=m,c[1]=0,c[2]=1;break;default:c[0]=1,c[1]=0,c[2]=h}return b=(1-u)*d,[(u*c[0]+b)*255,(u*c[1]+b)*255,(u*c[2]+b)*255]},a.hcg.hsv=function(s){let l=s[1]/100,u=s[2]/100,d=l+u*(1-l),c=0;return d>0&&(c=l/d),[s[0],c*100,d*100]},a.hcg.hsl=function(s){let l=s[1]/100,u=s[2]/100*(1-l)+.5*l,d=0;return u>0&&u<.5?d=l/(2*u):u>=.5&&u<1&&(d=l/(2*(1-u))),[s[0],d*100,u*100]},a.hcg.hwb=function(s){let l=s[1]/100,u=s[2]/100,d=l+u*(1-l);return[s[0],(d-l)*100,(1-d)*100]},a.hwb.hcg=function(s){let l=s[1]/100,u=1-s[2]/100,d=u-l,c=0;return d<1&&(c=(u-d)/(1-d)),[s[0],d*100,c*100]},a.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},a.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},a.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},a.gray.hsl=function(s){return[0,0,s[0]]},a.gray.hsv=a.gray.hsl,a.gray.hwb=function(s){return[0,100,s[0]]},a.gray.cmyk=function(s){return[0,0,0,s[0]]},a.gray.lab=function(s){return[s[0],0,0]},a.gray.hex=function(s){let l=Math.round(s[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},a.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}}),Wq=P({"../../node_modules/color-convert/route.js"(e,t){"use strict";var r=Zy();function n(){let l={},u=Object.keys(r);for(let d=u.length,c=0;c<d;c++)l[u[c]]={distance:-1,parent:null};return l}function a(l){let u=n(),d=[l];for(u[l].distance=0;d.length;){let c=d.pop(),p=Object.keys(r[c]);for(let m=p.length,h=0;h<m;h++){let b=p[h],y=u[b];y.distance===-1&&(y.distance=u[c].distance+1,y.parent=c,d.unshift(b))}}return u}function i(l,u){return function(d){return u(l(d))}}function s(l,u){let d=[u[l].parent,l],c=r[u[l].parent][l],p=u[l].parent;for(;u[p].parent;)d.unshift(u[p].parent),c=i(r[u[p].parent][p],c),p=u[p].parent;return c.conversion=d,c}t.exports=function(l){let u=a(l),d={},c=Object.keys(u);for(let p=c.length,m=0;m<p;m++){let h=c[m];u[h].parent!==null&&(d[h]=s(h,u))}return d}}}),Yq=P({"../../node_modules/color-convert/index.js"(e,t){"use strict";var r=Zy(),n=Wq(),a={},i=Object.keys(r);function s(u){let d=function(...c){let p=c[0];return p==null?p:(p.length>1&&(c=p),u(c))};return"conversion"in u&&(d.conversion=u.conversion),d}function l(u){let d=function(...c){let p=c[0];if(p==null)return p;p.length>1&&(c=p);let m=u(c);if(typeof m=="object")for(let h=m.length,b=0;b<h;b++)m[b]=Math.round(m[b]);return m};return"conversion"in u&&(d.conversion=u.conversion),d}i.forEach(u=>{a[u]={},Object.defineProperty(a[u],"channels",{value:r[u].channels}),Object.defineProperty(a[u],"labels",{value:r[u].labels});let d=n(u);Object.keys(d).forEach(c=>{let p=d[c];a[u][c]=l(p),a[u][c].raw=s(p)})}),t.exports=a}}),Kq=P({"../../node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(p,m)=>(...h)=>`\x1B[${p(...h)+m}m`,n=(p,m)=>(...h)=>{let b=p(...h);return`\x1B[${38+m};5;${b}m`},a=(p,m)=>(...h)=>{let b=p(...h);return`\x1B[${38+m};2;${b[0]};${b[1]};${b[2]}m`},i=p=>p,s=(p,m,h)=>[p,m,h],l=(p,m,h)=>{Object.defineProperty(p,m,{get:()=>{let b=h();return Object.defineProperty(p,m,{value:b,enumerable:!0,configurable:!0}),b},enumerable:!0,configurable:!0})},u,d=(p,m,h,b)=>{u===void 0&&(u=Yq());let y=b?10:0,v={};for(let[g,E]of Object.entries(u)){let T=g==="ansi16"?"ansi":g;g===m?v[T]=p(h,y):typeof E=="object"&&(v[T]=p(E[m],y))}return v};function c(){let p=new Map,m={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],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]}};m.color.gray=m.color.blackBright,m.bgColor.bgGray=m.bgColor.bgBlackBright,m.color.grey=m.color.blackBright,m.bgColor.bgGrey=m.bgColor.bgBlackBright;for(let[h,b]of Object.entries(m)){for(let[y,v]of Object.entries(b))m[y]={open:`\x1B[${v[0]}m`,close:`\x1B[${v[1]}m`},b[y]=m[y],p.set(v[0],v[1]);Object.defineProperty(m,h,{value:b,enumerable:!1})}return Object.defineProperty(m,"codes",{value:p,enumerable:!1}),m.color.close="\x1B[39m",m.bgColor.close="\x1B[49m",l(m.color,"ansi",()=>d(r,"ansi16",i,!1)),l(m.color,"ansi256",()=>d(n,"ansi256",i,!1)),l(m.color,"ansi16m",()=>d(a,"rgb",s,!1)),l(m.bgColor,"ansi",()=>d(r,"ansi16",i,!0)),l(m.bgColor,"ansi256",()=>d(n,"ansi256",i,!0)),l(m.bgColor,"ansi16m",()=>d(a,"rgb",s,!0)),m}Object.defineProperty(t,"exports",{enumerable:!0,get:c})}}),Jq=P({"../../node_modules/has-flag/index.js"(e,t){"use strict";t.exports=(r,n=process.argv)=>{let a=r.startsWith("-")?"":r.length===1?"-":"--",i=n.indexOf(a+r),s=n.indexOf("--");return i!==-1&&(s===-1||i<s)}}}),Xq=P({"../../node_modules/supports-color/index.js"(e,t){"use strict";var r=$n("os"),n=$n("tty"),a=Jq(),{env:i}=process,s;a("no-color")||a("no-colors")||a("color=false")||a("color=never")?s=0:(a("color")||a("colors")||a("color=true")||a("color=always"))&&(s=1),"FORCE_COLOR"in i&&(i.FORCE_COLOR==="true"?s=1:i.FORCE_COLOR==="false"?s=0:s=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3));function l(c){return c===0?!1:{level:c,hasBasic:!0,has256:c>=2,has16m:c>=3}}function u(c,p){if(s===0)return 0;if(a("color=16m")||a("color=full")||a("color=truecolor"))return 3;if(a("color=256"))return 2;if(c&&!p&&s===void 0)return 0;let m=s||0;if(i.TERM==="dumb")return m;if(process.platform==="win32"){let h=r.release().split(".");return Number(h[0])>=10&&Number(h[2])>=10586?Number(h[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(h=>h in i)||i.CI_NAME==="codeship"?1:m;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){let h=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return h>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:m}function d(c){let p=u(c,c&&c.isTTY);return l(p)}t.exports={supportsColor:d,stdout:l(u(!0,n.isatty(1))),stderr:l(u(!0,n.isatty(2)))}}}),Qq=P({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){"use strict";var r=(a,i,s)=>{let l=a.indexOf(i);if(l===-1)return a;let u=i.length,d=0,c="";do c+=a.substr(d,l-d)+i+s,d=l+u,l=a.indexOf(i,d);while(l!==-1);return c+=a.substr(d),c},n=(a,i,s,l)=>{let u=0,d="";do{let c=a[l-1]==="\r";d+=a.substr(u,(c?l-1:l)-u)+i+(c?`\r
285
- `:`
286
- `)+s,u=l+1,l=a.indexOf(`
287
- `,u)}while(l!==-1);return d+=a.substr(u),d};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),Zq=P({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){"use strict";var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,a=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
288
- `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(p){let m=p[0]==="u",h=p[1]==="{";return m&&!h&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):m&&h?String.fromCodePoint(parseInt(p.slice(2,-1),16)):s.get(p)||p}function u(p,m){let h=[],b=m.trim().split(/\s*,\s*/g),y;for(let v of b){let g=Number(v);if(!Number.isNaN(g))h.push(g);else if(y=v.match(a))h.push(y[2].replace(i,(E,T,M)=>T?l(T):M));else throw new Error(`Invalid Chalk template style argument: ${v} (in style '${p}')`)}return h}function d(p){n.lastIndex=0;let m=[],h;for(;(h=n.exec(p))!==null;){let b=h[1];if(h[2]){let y=u(b,h[2]);m.push([b].concat(y))}else m.push([b])}return m}function c(p,m){let h={};for(let y of m)for(let v of y.styles)h[v[0]]=y.inverse?null:v.slice(1);let b=p;for(let[y,v]of Object.entries(h))if(Array.isArray(v)){if(!(y in b))throw new Error(`Unknown Chalk style: ${y}`);b=v.length>0?b[y](...v):b[y]}return b}t.exports=(p,m)=>{let h=[],b=[],y=[];if(m.replace(r,(v,g,E,T,M,O)=>{if(g)y.push(l(g));else if(T){let A=y.join("");y=[],b.push(h.length===0?A:c(p,h)(A)),h.push({inverse:E,styles:d(T)})}else if(M){if(h.length===0)throw new Error("Found extraneous } in Chalk template literal");b.push(c(p,h)(y.join(""))),y=[],h.pop()}else y.push(O)}),b.push(y.join("")),h.length>0){let v=`Chalk template literal is missing ${h.length} closing bracket${h.length===1?"":"s"} (\`}\`)`;throw new Error(v)}return b.join("")}}}),eg=P({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){"use strict";var r=Kq(),{stdout:n,stderr:a}=Xq(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:s}=Qq(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),d=(O,A={})=>{if(A.level>3||A.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let w=n?n.level:0;O.level=A.level===void 0?w:A.level},c=class{constructor(O){return p(O)}},p=O=>{let A={};return d(A,O),A.template=(...w)=>T(A.template,...w),Object.setPrototypeOf(A,m.prototype),Object.setPrototypeOf(A.template,A),A.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},A.template.Instance=c,A.template};function m(O){return p(O)}for(let[O,A]of Object.entries(r))u[O]={get(){let w=v(this,y(A.open,A.close,this._styler),this._isEmpty);return Object.defineProperty(this,O,{value:w}),w}};u.visible={get(){let O=v(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:O}),O}};var h=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let O of h)u[O]={get(){let{level:A}=this;return function(...w){let S=y(r.color[l[A]][O](...w),r.color.close,this._styler);return v(this,S,this._isEmpty)}}};for(let O of h){let A="bg"+O[0].toUpperCase()+O.slice(1);u[A]={get(){let{level:w}=this;return function(...S){let N=y(r.bgColor[l[w]][O](...S),r.bgColor.close,this._styler);return v(this,N,this._isEmpty)}}}}var b=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(O){this._generator.level=O}}}),y=(O,A,w)=>{let S,N;return w===void 0?(S=O,N=A):(S=w.openAll+O,N=A+w.closeAll),{open:O,close:A,openAll:S,closeAll:N,parent:w}},v=(O,A,w)=>{let S=(...N)=>g(S,N.length===1?""+N[0]:N.join(" "));return S.__proto__=b,S._generator=O,S._styler=A,S._isEmpty=w,S},g=(O,A)=>{if(O.level<=0||!A)return O._isEmpty?"":A;let w=O._styler;if(w===void 0)return A;let{openAll:S,closeAll:N}=w;if(A.indexOf("\x1B")!==-1)for(;w!==void 0;)A=i(A,w.close,w.open),w=w.parent;let Y=A.indexOf(`
289
- `);return Y!==-1&&(A=s(A,N,S,Y)),S+A+N},E,T=(O,...A)=>{let[w]=A;if(!Array.isArray(w))return A.join(" ");let S=A.slice(1),N=[w.raw[0]];for(let Y=1;Y<w.length;Y++)N.push(String(S[Y-1]).replace(/[{}\\]/g,"\\$&"),String(w.raw[Y]));return E===void 0&&(E=Zq()),E(O,N.join(""))};Object.defineProperties(m.prototype,u);var M=m();M.supportsColor=n,M.stderr=m({level:a?a.level:0}),M.stderr.supportsColor=a,M.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=M}}),ex=P({"../../node_modules/lodash/_listCacheClear.js"(e,t){"use strict";function r(){this.__data__=[],this.size=0}t.exports=r}}),tg=P({"../../node_modules/lodash/eq.js"(e,t){"use strict";function r(n,a){return n===a||n!==n&&a!==a}t.exports=r}}),Li=P({"../../node_modules/lodash/_assocIndexOf.js"(e,t){"use strict";var r=tg();function n(a,i){for(var s=a.length;s--;)if(r(a[s][0],i))return s;return-1}t.exports=n}}),tx=P({"../../node_modules/lodash/_listCacheDelete.js"(e,t){"use strict";var r=Li(),n=Array.prototype,a=n.splice;function i(s){var l=this.__data__,u=r(l,s);if(u<0)return!1;var d=l.length-1;return u==d?l.pop():a.call(l,u,1),--this.size,!0}t.exports=i}}),rx=P({"../../node_modules/lodash/_listCacheGet.js"(e,t){"use strict";var r=Li();function n(a){var i=this.__data__,s=r(i,a);return s<0?void 0:i[s][1]}t.exports=n}}),nx=P({"../../node_modules/lodash/_listCacheHas.js"(e,t){"use strict";var r=Li();function n(a){return r(this.__data__,a)>-1}t.exports=n}}),ox=P({"../../node_modules/lodash/_listCacheSet.js"(e,t){"use strict";var r=Li();function n(a,i){var s=this.__data__,l=r(s,a);return l<0?(++this.size,s.push([a,i])):s[l][1]=i,this}t.exports=n}}),ki=P({"../../node_modules/lodash/_ListCache.js"(e,t){"use strict";var r=ex(),n=tx(),a=rx(),i=nx(),s=ox();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),ax=P({"../../node_modules/lodash/_stackClear.js"(e,t){"use strict";var r=ki();function n(){this.__data__=new r,this.size=0}t.exports=n}}),ix=P({"../../node_modules/lodash/_stackDelete.js"(e,t){"use strict";function r(n){var a=this.__data__,i=a.delete(n);return this.size=a.size,i}t.exports=r}}),sx=P({"../../node_modules/lodash/_stackGet.js"(e,t){"use strict";function r(n){return this.__data__.get(n)}t.exports=r}}),lx=P({"../../node_modules/lodash/_stackHas.js"(e,t){"use strict";function r(n){return this.__data__.has(n)}t.exports=r}}),rg=P({"../../node_modules/lodash/_freeGlobal.js"(e,t){"use strict";var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),Wr=P({"../../node_modules/lodash/_root.js"(e,t){"use strict";var r=rg(),n=typeof self=="object"&&self&&self.Object===Object&&self,a=r||n||Function("return this")();t.exports=a}}),Ic=P({"../../node_modules/lodash/_Symbol.js"(e,t){"use strict";var r=Wr(),n=r.Symbol;t.exports=n}}),ux=P({"../../node_modules/lodash/_getRawTag.js"(e,t){"use strict";var r=Ic(),n=Object.prototype,a=n.hasOwnProperty,i=n.toString,s=r?r.toStringTag:void 0;function l(u){var d=a.call(u,s),c=u[s];try{u[s]=void 0;var p=!0}catch{}var m=i.call(u);return p&&(d?u[s]=c:delete u[s]),m}t.exports=l}}),cx=P({"../../node_modules/lodash/_objectToString.js"(e,t){"use strict";var r=Object.prototype,n=r.toString;function a(i){return n.call(i)}t.exports=a}}),$i=P({"../../node_modules/lodash/_baseGetTag.js"(e,t){"use strict";var r=Ic(),n=ux(),a=cx(),i="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(d){return d==null?d===void 0?s:i:l&&l in Object(d)?n(d):a(d)}t.exports=u}}),ng=P({"../../node_modules/lodash/isObject.js"(e,t){"use strict";function r(n){var a=typeof n;return n!=null&&(a=="object"||a=="function")}t.exports=r}}),og=P({"../../node_modules/lodash/isFunction.js"(e,t){"use strict";var r=$i(),n=ng(),a="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(d){if(!n(d))return!1;var c=r(d);return c==i||c==s||c==a||c==l}t.exports=u}}),dx=P({"../../node_modules/lodash/_coreJsData.js"(e,t){"use strict";var r=Wr(),n=r["__core-js_shared__"];t.exports=n}}),px=P({"../../node_modules/lodash/_isMasked.js"(e,t){"use strict";var r=dx(),n=function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function a(i){return!!n&&n in i}t.exports=a}}),ag=P({"../../node_modules/lodash/_toSource.js"(e,t){"use strict";var r=Function.prototype,n=r.toString;function a(i){if(i!=null){try{return n.call(i)}catch{}try{return i+""}catch{}}return""}t.exports=a}}),fx=P({"../../node_modules/lodash/_baseIsNative.js"(e,t){"use strict";var r=og(),n=px(),a=ng(),i=ag(),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,d=Object.prototype,c=u.toString,p=d.hasOwnProperty,m=RegExp("^"+c.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(b){if(!a(b)||n(b))return!1;var y=r(b)?m:l;return y.test(i(b))}t.exports=h}}),mx=P({"../../node_modules/lodash/_getValue.js"(e,t){"use strict";function r(n,a){return n?.[a]}t.exports=r}}),Po=P({"../../node_modules/lodash/_getNative.js"(e,t){"use strict";var r=fx(),n=mx();function a(i,s){var l=n(i,s);return r(l)?l:void 0}t.exports=a}}),Dc=P({"../../node_modules/lodash/_Map.js"(e,t){"use strict";var r=Po(),n=Wr(),a=r(n,"Map");t.exports=a}}),Ui=P({"../../node_modules/lodash/_nativeCreate.js"(e,t){"use strict";var r=Po(),n=r(Object,"create");t.exports=n}}),hx=P({"../../node_modules/lodash/_hashClear.js"(e,t){"use strict";var r=Ui();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),bx=P({"../../node_modules/lodash/_hashDelete.js"(e,t){"use strict";function r(n){var a=this.has(n)&&delete this.__data__[n];return this.size-=a?1:0,a}t.exports=r}}),yx=P({"../../node_modules/lodash/_hashGet.js"(e,t){"use strict";var r=Ui(),n="__lodash_hash_undefined__",a=Object.prototype,i=a.hasOwnProperty;function s(l){var u=this.__data__;if(r){var d=u[l];return d===n?void 0:d}return i.call(u,l)?u[l]:void 0}t.exports=s}}),gx=P({"../../node_modules/lodash/_hashHas.js"(e,t){"use strict";var r=Ui(),n=Object.prototype,a=n.hasOwnProperty;function i(s){var l=this.__data__;return r?l[s]!==void 0:a.call(l,s)}t.exports=i}}),vx=P({"../../node_modules/lodash/_hashSet.js"(e,t){"use strict";var r=Ui(),n="__lodash_hash_undefined__";function a(i,s){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&s===void 0?n:s,this}t.exports=a}}),_x=P({"../../node_modules/lodash/_Hash.js"(e,t){"use strict";var r=hx(),n=bx(),a=yx(),i=gx(),s=vx();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),Ex=P({"../../node_modules/lodash/_mapCacheClear.js"(e,t){"use strict";var r=_x(),n=ki(),a=Dc();function i(){this.size=0,this.__data__={hash:new r,map:new(a||n),string:new r}}t.exports=i}}),wx=P({"../../node_modules/lodash/_isKeyable.js"(e,t){"use strict";function r(n){var a=typeof n;return a=="string"||a=="number"||a=="symbol"||a=="boolean"?n!=="__proto__":n===null}t.exports=r}}),Hi=P({"../../node_modules/lodash/_getMapData.js"(e,t){"use strict";var r=wx();function n(a,i){var s=a.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}t.exports=n}}),Rx=P({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){"use strict";var r=Hi();function n(a){var i=r(this,a).delete(a);return this.size-=i?1:0,i}t.exports=n}}),Cx=P({"../../node_modules/lodash/_mapCacheGet.js"(e,t){"use strict";var r=Hi();function n(a){return r(this,a).get(a)}t.exports=n}}),Sx=P({"../../node_modules/lodash/_mapCacheHas.js"(e,t){"use strict";var r=Hi();function n(a){return r(this,a).has(a)}t.exports=n}}),Ax=P({"../../node_modules/lodash/_mapCacheSet.js"(e,t){"use strict";var r=Hi();function n(a,i){var s=r(this,a),l=s.size;return s.set(a,i),this.size+=s.size==l?0:1,this}t.exports=n}}),ig=P({"../../node_modules/lodash/_MapCache.js"(e,t){"use strict";var r=Ex(),n=Rx(),a=Cx(),i=Sx(),s=Ax();function l(u){var d=-1,c=u==null?0:u.length;for(this.clear();++d<c;){var p=u[d];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=a,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),Px=P({"../../node_modules/lodash/_stackSet.js"(e,t){"use strict";var r=ki(),n=Dc(),a=ig(),i=200;function s(l,u){var d=this.__data__;if(d instanceof r){var c=d.__data__;if(!n||c.length<i-1)return c.push([l,u]),this.size=++d.size,this;d=this.__data__=new a(c)}return d.set(l,u),this.size=d.size,this}t.exports=s}}),Tx=P({"../../node_modules/lodash/_Stack.js"(e,t){"use strict";var r=ki(),n=ax(),a=ix(),i=sx(),s=lx(),l=Px();function u(d){var c=this.__data__=new r(d);this.size=c.size}u.prototype.clear=n,u.prototype.delete=a,u.prototype.get=i,u.prototype.has=s,u.prototype.set=l,t.exports=u}}),Ox=P({"../../node_modules/lodash/_setCacheAdd.js"(e,t){"use strict";var r="__lodash_hash_undefined__";function n(a){return this.__data__.set(a,r),this}t.exports=n}}),qx=P({"../../node_modules/lodash/_setCacheHas.js"(e,t){"use strict";function r(n){return this.__data__.has(n)}t.exports=r}}),xx=P({"../../node_modules/lodash/_SetCache.js"(e,t){"use strict";var r=ig(),n=Ox(),a=qx();function i(s){var l=-1,u=s==null?0:s.length;for(this.__data__=new r;++l<u;)this.add(s[l])}i.prototype.add=i.prototype.push=n,i.prototype.has=a,t.exports=i}}),Mx=P({"../../node_modules/lodash/_arraySome.js"(e,t){"use strict";function r(n,a){for(var i=-1,s=n==null?0:n.length;++i<s;)if(a(n[i],i,n))return!0;return!1}t.exports=r}}),Nx=P({"../../node_modules/lodash/_cacheHas.js"(e,t){"use strict";function r(n,a){return n.has(a)}t.exports=r}}),sg=P({"../../node_modules/lodash/_equalArrays.js"(e,t){"use strict";var r=xx(),n=Mx(),a=Nx(),i=1,s=2;function l(u,d,c,p,m,h){var b=c&i,y=u.length,v=d.length;if(y!=v&&!(b&&v>y))return!1;var g=h.get(u),E=h.get(d);if(g&&E)return g==d&&E==u;var T=-1,M=!0,O=c&s?new r:void 0;for(h.set(u,d),h.set(d,u);++T<y;){var A=u[T],w=d[T];if(p)var S=b?p(w,A,T,d,u,h):p(A,w,T,u,d,h);if(S!==void 0){if(S)continue;M=!1;break}if(O){if(!n(d,function(N,Y){if(!a(O,Y)&&(A===N||m(A,N,c,p,h)))return O.push(Y)})){M=!1;break}}else if(!(A===w||m(A,w,c,p,h))){M=!1;break}}return h.delete(u),h.delete(d),M}t.exports=l}}),jx=P({"../../node_modules/lodash/_Uint8Array.js"(e,t){"use strict";var r=Wr(),n=r.Uint8Array;t.exports=n}}),Ix=P({"../../node_modules/lodash/_mapToArray.js"(e,t){"use strict";function r(n){var a=-1,i=Array(n.size);return n.forEach(function(s,l){i[++a]=[l,s]}),i}t.exports=r}}),Dx=P({"../../node_modules/lodash/_setToArray.js"(e,t){"use strict";function r(n){var a=-1,i=Array(n.size);return n.forEach(function(s){i[++a]=s}),i}t.exports=r}}),Fx=P({"../../node_modules/lodash/_equalByTag.js"(e,t){"use strict";var r=Ic(),n=jx(),a=tg(),i=sg(),s=Ix(),l=Dx(),u=1,d=2,c="[object Boolean]",p="[object Date]",m="[object Error]",h="[object Map]",b="[object Number]",y="[object RegExp]",v="[object Set]",g="[object String]",E="[object Symbol]",T="[object ArrayBuffer]",M="[object DataView]",O=r?r.prototype:void 0,A=O?O.valueOf:void 0;function w(S,N,Y,K,ee,Q,x){switch(Y){case M:if(S.byteLength!=N.byteLength||S.byteOffset!=N.byteOffset)return!1;S=S.buffer,N=N.buffer;case T:return!(S.byteLength!=N.byteLength||!Q(new n(S),new n(N)));case c:case p:case b:return a(+S,+N);case m:return S.name==N.name&&S.message==N.message;case y:case g:return S==N+"";case h:var D=s;case v:var J=K&u;if(D||(D=l),S.size!=N.size&&!J)return!1;var ve=x.get(S);if(ve)return ve==N;K|=d,x.set(S,N);var ye=i(D(S),D(N),K,ee,Q,x);return x.delete(S),ye;case E:if(A)return A.call(S)==A.call(N)}return!1}t.exports=w}}),Bx=P({"../../node_modules/lodash/_arrayPush.js"(e,t){"use strict";function r(n,a){for(var i=-1,s=a.length,l=n.length;++i<s;)n[l+i]=a[i];return n}t.exports=r}}),Fc=P({"../../node_modules/lodash/isArray.js"(e,t){"use strict";var r=Array.isArray;t.exports=r}}),Lx=P({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){"use strict";var r=Bx(),n=Fc();function a(i,s,l){var u=s(i);return n(i)?u:r(u,l(i))}t.exports=a}}),kx=P({"../../node_modules/lodash/_arrayFilter.js"(e,t){"use strict";function r(n,a){for(var i=-1,s=n==null?0:n.length,l=0,u=[];++i<s;){var d=n[i];a(d,i,n)&&(u[l++]=d)}return u}t.exports=r}}),$x=P({"../../node_modules/lodash/stubArray.js"(e,t){"use strict";function r(){return[]}t.exports=r}}),Ux=P({"../../node_modules/lodash/_getSymbols.js"(e,t){"use strict";var r=kx(),n=$x(),a=Object.prototype,i=a.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(u){return u==null?[]:(u=Object(u),r(s(u),function(d){return i.call(u,d)}))}:n;t.exports=l}}),Hx=P({"../../node_modules/lodash/_baseTimes.js"(e,t){"use strict";function r(n,a){for(var i=-1,s=Array(n);++i<n;)s[i]=a(i);return s}t.exports=r}}),Vi=P({"../../node_modules/lodash/isObjectLike.js"(e,t){"use strict";function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),Vx=P({"../../node_modules/lodash/_baseIsArguments.js"(e,t){"use strict";var r=$i(),n=Vi(),a="[object Arguments]";function i(s){return n(s)&&r(s)==a}t.exports=i}}),Gx=P({"../../node_modules/lodash/isArguments.js"(e,t){"use strict";var r=Vx(),n=Vi(),a=Object.prototype,i=a.hasOwnProperty,s=a.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&i.call(u,"callee")&&!s.call(u,"callee")};t.exports=l}}),zx=P({"../../node_modules/lodash/stubFalse.js"(e,t){"use strict";function r(){return!1}t.exports=r}}),lg=P({"../../node_modules/lodash/isBuffer.js"(e,t){"use strict";var r=Wr(),n=zx(),a=typeof e=="object"&&e&&!e.nodeType&&e,i=a&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===a,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,d=u||n;t.exports=d}}),Wx=P({"../../node_modules/lodash/_isIndex.js"(e,t){"use strict";var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function a(i,s){var l=typeof i;return s=s??r,!!s&&(l=="number"||l!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<s}t.exports=a}}),ug=P({"../../node_modules/lodash/isLength.js"(e,t){"use strict";var r=9007199254740991;function n(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=r}t.exports=n}}),Yx=P({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){"use strict";var r=$i(),n=ug(),a=Vi(),i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",d="[object Error]",c="[object Function]",p="[object Map]",m="[object Number]",h="[object Object]",b="[object RegExp]",y="[object Set]",v="[object String]",g="[object WeakMap]",E="[object ArrayBuffer]",T="[object DataView]",M="[object Float32Array]",O="[object Float64Array]",A="[object Int8Array]",w="[object Int16Array]",S="[object Int32Array]",N="[object Uint8Array]",Y="[object Uint8ClampedArray]",K="[object Uint16Array]",ee="[object Uint32Array]",Q={};Q[M]=Q[O]=Q[A]=Q[w]=Q[S]=Q[N]=Q[Y]=Q[K]=Q[ee]=!0,Q[i]=Q[s]=Q[E]=Q[l]=Q[T]=Q[u]=Q[d]=Q[c]=Q[p]=Q[m]=Q[h]=Q[b]=Q[y]=Q[v]=Q[g]=!1;function x(D){return a(D)&&n(D.length)&&!!Q[r(D)]}t.exports=x}}),Kx=P({"../../node_modules/lodash/_baseUnary.js"(e,t){"use strict";function r(n){return function(a){return n(a)}}t.exports=r}}),Jx=P({"../../node_modules/lodash/_nodeUtil.js"(e,t){"use strict";var r=rg(),n=typeof e=="object"&&e&&!e.nodeType&&e,a=n&&typeof t=="object"&&t&&!t.nodeType&&t,i=a&&a.exports===n,s=i&&r.process,l=function(){try{var u=a&&a.require&&a.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();t.exports=l}}),cg=P({"../../node_modules/lodash/isTypedArray.js"(e,t){"use strict";var r=Yx(),n=Kx(),a=Jx(),i=a&&a.isTypedArray,s=i?n(i):r;t.exports=s}}),Xx=P({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){"use strict";var r=Hx(),n=Gx(),a=Fc(),i=lg(),s=Wx(),l=cg(),u=Object.prototype,d=u.hasOwnProperty;function c(p,m){var h=a(p),b=!h&&n(p),y=!h&&!b&&i(p),v=!h&&!b&&!y&&l(p),g=h||b||y||v,E=g?r(p.length,String):[],T=E.length;for(var M in p)(m||d.call(p,M))&&!(g&&(M=="length"||y&&(M=="offset"||M=="parent")||v&&(M=="buffer"||M=="byteLength"||M=="byteOffset")||s(M,T)))&&E.push(M);return E}t.exports=c}}),Qx=P({"../../node_modules/lodash/_isPrototype.js"(e,t){"use strict";var r=Object.prototype;function n(a){var i=a&&a.constructor,s=typeof i=="function"&&i.prototype||r;return a===s}t.exports=n}}),Zx=P({"../../node_modules/lodash/_overArg.js"(e,t){"use strict";function r(n,a){return function(i){return n(a(i))}}t.exports=r}}),eM=P({"../../node_modules/lodash/_nativeKeys.js"(e,t){"use strict";var r=Zx(),n=r(Object.keys,Object);t.exports=n}}),tM=P({"../../node_modules/lodash/_baseKeys.js"(e,t){"use strict";var r=Qx(),n=eM(),a=Object.prototype,i=a.hasOwnProperty;function s(l){if(!r(l))return n(l);var u=[];for(var d in Object(l))i.call(l,d)&&d!="constructor"&&u.push(d);return u}t.exports=s}}),rM=P({"../../node_modules/lodash/isArrayLike.js"(e,t){"use strict";var r=og(),n=ug();function a(i){return i!=null&&n(i.length)&&!r(i)}t.exports=a}}),nM=P({"../../node_modules/lodash/keys.js"(e,t){"use strict";var r=Xx(),n=tM(),a=rM();function i(s){return a(s)?r(s):n(s)}t.exports=i}}),oM=P({"../../node_modules/lodash/_getAllKeys.js"(e,t){"use strict";var r=Lx(),n=Ux(),a=nM();function i(s){return r(s,a,n)}t.exports=i}}),aM=P({"../../node_modules/lodash/_equalObjects.js"(e,t){"use strict";var r=oM(),n=1,a=Object.prototype,i=a.hasOwnProperty;function s(l,u,d,c,p,m){var h=d&n,b=r(l),y=b.length,v=r(u),g=v.length;if(y!=g&&!h)return!1;for(var E=y;E--;){var T=b[E];if(!(h?T in u:i.call(u,T)))return!1}var M=m.get(l),O=m.get(u);if(M&&O)return M==u&&O==l;var A=!0;m.set(l,u),m.set(u,l);for(var w=h;++E<y;){T=b[E];var S=l[T],N=u[T];if(c)var Y=h?c(N,S,T,u,l,m):c(S,N,T,l,u,m);if(!(Y===void 0?S===N||p(S,N,d,c,m):Y)){A=!1;break}w||(w=T=="constructor")}if(A&&!w){var K=l.constructor,ee=u.constructor;K!=ee&&"constructor"in l&&"constructor"in u&&!(typeof K=="function"&&K instanceof K&&typeof ee=="function"&&ee instanceof ee)&&(A=!1)}return m.delete(l),m.delete(u),A}t.exports=s}}),iM=P({"../../node_modules/lodash/_DataView.js"(e,t){"use strict";var r=Po(),n=Wr(),a=r(n,"DataView");t.exports=a}}),sM=P({"../../node_modules/lodash/_Promise.js"(e,t){"use strict";var r=Po(),n=Wr(),a=r(n,"Promise");t.exports=a}}),lM=P({"../../node_modules/lodash/_Set.js"(e,t){"use strict";var r=Po(),n=Wr(),a=r(n,"Set");t.exports=a}}),uM=P({"../../node_modules/lodash/_WeakMap.js"(e,t){"use strict";var r=Po(),n=Wr(),a=r(n,"WeakMap");t.exports=a}}),cM=P({"../../node_modules/lodash/_getTag.js"(e,t){"use strict";var r=iM(),n=Dc(),a=sM(),i=lM(),s=uM(),l=$i(),u=ag(),d="[object Map]",c="[object Object]",p="[object Promise]",m="[object Set]",h="[object WeakMap]",b="[object DataView]",y=u(r),v=u(n),g=u(a),E=u(i),T=u(s),M=l;(r&&M(new r(new ArrayBuffer(1)))!=b||n&&M(new n)!=d||a&&M(a.resolve())!=p||i&&M(new i)!=m||s&&M(new s)!=h)&&(M=function(O){var A=l(O),w=A==c?O.constructor:void 0,S=w?u(w):"";if(S)switch(S){case y:return b;case v:return d;case g:return p;case E:return m;case T:return h}return A}),t.exports=M}}),dM=P({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){"use strict";var r=Tx(),n=sg(),a=Fx(),i=aM(),s=cM(),l=Fc(),u=lg(),d=cg(),c=1,p="[object Arguments]",m="[object Array]",h="[object Object]",b=Object.prototype,y=b.hasOwnProperty;function v(g,E,T,M,O,A){var w=l(g),S=l(E),N=w?m:s(g),Y=S?m:s(E);N=N==p?h:N,Y=Y==p?h:Y;var K=N==h,ee=Y==h,Q=N==Y;if(Q&&u(g)){if(!u(E))return!1;w=!0,K=!1}if(Q&&!K)return A||(A=new r),w||d(g)?n(g,E,T,M,O,A):a(g,E,N,T,M,O,A);if(!(T&c)){var x=K&&y.call(g,"__wrapped__"),D=ee&&y.call(E,"__wrapped__");if(x||D){var J=x?g.value():g,ve=D?E.value():E;return A||(A=new r),O(J,ve,T,M,A)}}return Q?(A||(A=new r),i(g,E,T,M,O,A)):!1}t.exports=v}}),pM=P({"../../node_modules/lodash/_baseIsEqual.js"(e,t){"use strict";var r=dM(),n=Vi();function a(i,s,l,u,d){return i===s?!0:i==null||s==null||!n(i)&&!n(s)?i!==i&&s!==s:r(i,s,l,u,a,d)}t.exports=a}}),dg=P({"../../node_modules/lodash/isEqualWith.js"(e,t){"use strict";var r=pM();function n(a,i,s){s=typeof s=="function"?s:void 0;var l=s?s(a,i):void 0;return l===void 0?r(a,i,void 0,s):!!l}t.exports=n}}),pg=P({"../../node_modules/css.escape/css.escape.js"(e,t){"use strict";(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(a){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(a),s=i.length,l=-1,u,d="",c=i.charCodeAt(0);++l<s;){if(u=i.charCodeAt(l),u==0){d+="\uFFFD";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&c==45){d+="\\"+u.toString(16)+" ";continue}if(l==0&&s==1&&u==45){d+="\\"+i.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){d+=i.charAt(l);continue}d+="\\"+i.charAt(l)}return d};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),fg=P({"../../node_modules/@testing-library/dom/node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,n=(i=0)=>(s,l,u)=>`\x1B[${38+i};2;${s};${l};${u}m`;function a(){let i=new Map,s={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]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[l,u]of Object.entries(s)){for(let[d,c]of Object.entries(u))s[d]={open:`\x1B[${c[0]}m`,close:`\x1B[${c[1]}m`},u[d]=s[d],i.set(c[0],c[1]);Object.defineProperty(s,l,{value:u,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(l,u,d)=>l===u&&u===d?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(d/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:d}=u.groups;d.length===3&&(d=d.split("").map(p=>p+p).join(""));let c=Number.parseInt(d,16);return[c>>16&255,c>>8&255,c&255]},enumerable:!1},hexToAnsi256:{value:l=>s.rgbToAnsi256(...s.hexToRgb(l)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:a})}}),Gi=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/collections.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=a,e.printObjectProperties=i;var t=(s,l)=>{let u=Object.keys(s).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(d=>{Object.getOwnPropertyDescriptor(s,d).enumerable&&u.push(d)}),u};function r(s,l,u,d,c,p,m=": "){let h="",b=s.next();if(!b.done){h+=l.spacingOuter;let y=u+l.indent;for(;!b.done;){let v=p(b.value[0],l,y,d,c),g=p(b.value[1],l,y,d,c);h+=y+v+m+g,b=s.next(),b.done?l.min||(h+=","):h+=","+l.spacingInner}h+=l.spacingOuter+u}return h}function n(s,l,u,d,c,p){let m="",h=s.next();if(!h.done){m+=l.spacingOuter;let b=u+l.indent;for(;!h.done;)m+=b+p(h.value,l,b,d,c),h=s.next(),h.done?l.min||(m+=","):m+=","+l.spacingInner;m+=l.spacingOuter+u}return m}function a(s,l,u,d,c,p){let m="";if(s.length){m+=l.spacingOuter;let h=u+l.indent;for(let b=0;b<s.length;b++)m+=h,b in s&&(m+=p(s[b],l,h,d,c)),b<s.length-1?m+=","+l.spacingInner:l.min||(m+=",");m+=l.spacingOuter+u}return m}function i(s,l,u,d,c,p){let m="",h=t(s,l.compareKeys);if(h.length){m+=l.spacingOuter;let b=u+l.indent;for(let y=0;y<h.length;y++){let v=h[y],g=p(v,l,b,d,c),E=p(s[v],l,b,d,c);m+=b+g+": "+E,y<h.length-1?m+=","+l.spacingInner:l.min||(m+=",")}m+=l.spacingOuter+u}return m}}}),fM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Gi(),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,a=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,i=" ",s=(c,p,m,h,b,y)=>{let v=c.toString();return v==="ArrayContaining"||v==="ArrayNotContaining"?++h>p.maxDepth?"["+v+"]":v+i+"["+(0,t.printListItems)(c.sample,p,m,h,b,y)+"]":v==="ObjectContaining"||v==="ObjectNotContaining"?++h>p.maxDepth?"["+v+"]":v+i+"{"+(0,t.printObjectProperties)(c.sample,p,m,h,b,y)+"}":v==="StringMatching"||v==="StringNotMatching"||v==="StringContaining"||v==="StringNotContaining"?v+i+y(c.sample,p,m,h,b):c.toAsymmetricMatcher()};e.serialize=s;var l=c=>c&&c.$$typeof===a;e.test=l;var u={serialize:s,test:l},d=u;e.default=d}}),mM=P({"../../node_modules/@testing-library/dom/node_modules/ansi-regex/index.js"(e,t){"use strict";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")}}}),hM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(mM()),r=n(fg());function n(d){return d&&d.__esModule?d:{default:d}}var a=d=>d.replace((0,t.default)(),c=>{switch(c){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""}}),i=d=>typeof d=="string"&&!!d.match((0,t.default)());e.test=i;var s=(d,c,p,m,h,b)=>b(a(d),c,p,m,h);e.serialize=s;var l={serialize:s,test:i},u=l;e.default=u}}),bM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMCollection.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Gi(),r=" ",n=["DOMStringMap","NamedNodeMap"],a=/^(HTML\w*Collection|NodeList)$/,i=p=>n.indexOf(p)!==-1||a.test(p),s=p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name);e.test=s;var l=p=>p.constructor.name==="NamedNodeMap",u=(p,m,h,b,y,v)=>{let g=p.constructor.name;return++b>m.maxDepth?"["+g+"]":(m.min?"":g+r)+(n.indexOf(g)!==-1?"{"+(0,t.printObjectProperties)(l(p)?Array.from(p).reduce((E,T)=>(E[T.name]=T.value,E),{}):{...p},m,h,b,y,v)+"}":"["+(0,t.printListItems)(Array.from(p),m,h,b,y,v)+"]")};e.serialize=u;var d={serialize:u,test:s},c=d;e.default=c}}),yM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"&lt;").replace(/>/g,"&gt;")}}}),Bc=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/lib/markup.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(yM());function r(d){return d&&d.__esModule?d:{default:d}}var n=(d,c,p,m,h,b,y)=>{let v=m+p.indent,g=p.colors;return d.map(E=>{let T=c[E],M=y(T,p,v,h,b);return typeof T!="string"&&(M.indexOf(`
290
- `)!==-1&&(M=p.spacingOuter+v+M+p.spacingOuter+m),M="{"+M+"}"),p.spacingInner+m+g.prop.open+E+g.prop.close+"="+g.value.open+M+g.value.close}).join("")};e.printProps=n;var a=(d,c,p,m,h,b)=>d.map(y=>c.spacingOuter+p+(typeof y=="string"?i(y,c):b(y,c,p,m,h))).join("");e.printChildren=a;var i=(d,c)=>{let p=c.colors.content;return p.open+(0,t.default)(d)+p.close};e.printText=i;var s=(d,c)=>{let p=c.colors.comment;return p.open+"<!--"+(0,t.default)(d)+"-->"+p.close};e.printComment=s;var l=(d,c,p,m,h)=>{let b=m.colors.tag;return b.open+"<"+d+(c&&b.close+c+m.spacingOuter+h+b.open)+(p?">"+b.close+p+m.spacingOuter+h+b.open+"</"+d:(c&&!m.min?"":" ")+"/")+">"+b.close};e.printElement=l;var u=(d,c)=>{let p=c.colors.tag;return p.open+"<"+d+p.close+" \u2026"+p.open+" />"+p.close};e.printElementAsLeaf=u}}),gM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/DOMElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Bc(),r=1,n=3,a=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,l=v=>{try{return typeof v.hasAttribute=="function"&&v.hasAttribute("is")}catch{return!1}},u=v=>{let g=v.constructor.name,{nodeType:E,tagName:T}=v,M=typeof T=="string"&&T.includes("-")||l(v);return E===r&&(s.test(g)||M)||E===n&&g==="Text"||E===a&&g==="Comment"||E===i&&g==="DocumentFragment"},d=v=>{var g;return(v==null||(g=v.constructor)===null||g===void 0?void 0:g.name)&&u(v)};e.test=d;function c(v){return v.nodeType===n}function p(v){return v.nodeType===a}function m(v){return v.nodeType===i}var h=(v,g,E,T,M,O)=>{if(c(v))return(0,t.printText)(v.data,g);if(p(v))return(0,t.printComment)(v.data,g);let A=m(v)?"DocumentFragment":v.tagName.toLowerCase();return++T>g.maxDepth?(0,t.printElementAsLeaf)(A,g):(0,t.printElement)(A,(0,t.printProps)(m(v)?[]:Array.from(v.attributes).map(w=>w.name).sort(),m(v)?{}:Array.from(v.attributes).reduce((w,S)=>(w[S.name]=S.value,w),{}),g,E+g.indent,T,M,O),(0,t.printChildren)(Array.prototype.slice.call(v.childNodes||v.children),g,E+g.indent,T,M,O),g,E)};e.serialize=h;var b={serialize:h,test:d},y=b;e.default=y}}),vM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/Immutable.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Gi(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",a="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",d="@@__IMMUTABLE_SET__@@",c="@@__IMMUTABLE_STACK__@@",p=S=>"Immutable."+S,m=S=>"["+S+"]",h=" ",b="\u2026",y=(S,N,Y,K,ee,Q,x)=>++K>N.maxDepth?m(p(x)):p(x)+h+"{"+(0,t.printIteratorEntries)(S.entries(),N,Y,K,ee,Q)+"}";function v(S){let N=0;return{next(){if(N<S._keys.length){let Y=S._keys[N++];return{done:!1,value:[Y,S.get(Y)]}}return{done:!0,value:void 0}}}}var g=(S,N,Y,K,ee,Q)=>{let x=p(S._name||"Record");return++K>N.maxDepth?m(x):x+h+"{"+(0,t.printIteratorEntries)(v(S),N,Y,K,ee,Q)+"}"},E=(S,N,Y,K,ee,Q)=>{let x=p("Seq");return++K>N.maxDepth?m(x):S[a]?x+h+"{"+(S._iter||S._object?(0,t.printIteratorEntries)(S.entries(),N,Y,K,ee,Q):b)+"}":x+h+"["+(S._iter||S._array||S._collection||S._iterable?(0,t.printIteratorValues)(S.values(),N,Y,K,ee,Q):b)+"]"},T=(S,N,Y,K,ee,Q,x)=>++K>N.maxDepth?m(p(x)):p(x)+h+"["+(0,t.printIteratorValues)(S.values(),N,Y,K,ee,Q)+"]",M=(S,N,Y,K,ee,Q)=>S[i]?y(S,N,Y,K,ee,Q,S[s]?"OrderedMap":"Map"):S[n]?T(S,N,Y,K,ee,Q,"List"):S[d]?T(S,N,Y,K,ee,Q,S[s]?"OrderedSet":"Set"):S[c]?T(S,N,Y,K,ee,Q,"Stack"):S[u]?E(S,N,Y,K,ee,Q):g(S,N,Y,K,ee,Q);e.serialize=M;var O=S=>S&&(S[r]===!0||S[l]===!0);e.test=O;var A={serialize:M,test:O},w=A;e.default=w}}),_M=P({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=60103,r=60106,n=60107,a=60108,i=60114,s=60109,l=60110,u=60112,d=60113,c=60120,p=60115,m=60116,h=60121,b=60122,y=60117,v=60129,g=60131;typeof Symbol=="function"&&Symbol.for&&(E=Symbol.for,t=E("react.element"),r=E("react.portal"),n=E("react.fragment"),a=E("react.strict_mode"),i=E("react.profiler"),s=E("react.provider"),l=E("react.context"),u=E("react.forward_ref"),d=E("react.suspense"),c=E("react.suspense_list"),p=E("react.memo"),m=E("react.lazy"),h=E("react.block"),b=E("react.server.block"),y=E("react.fundamental"),v=E("react.debug_trace_mode"),g=E("react.legacy_hidden"));var E;function T(x){if(typeof x=="object"&&x!==null){var D=x.$$typeof;switch(D){case t:switch(x=x.type,x){case n:case i:case a:case d:case c:return x;default:switch(x=x&&x.$$typeof,x){case l:case u:case m:case p:case s:return x;default:return D}}case r:return D}}}var M=s,O=t,A=u,w=n,S=m,N=p,Y=r,K=i,ee=a,Q=d;e.ContextConsumer=l,e.ContextProvider=M,e.Element=O,e.ForwardRef=A,e.Fragment=w,e.Lazy=S,e.Memo=N,e.Portal=Y,e.Profiler=K,e.StrictMode=ee,e.Suspense=Q,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(x){return T(x)===l},e.isContextProvider=function(x){return T(x)===s},e.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},e.isForwardRef=function(x){return T(x)===u},e.isFragment=function(x){return T(x)===n},e.isLazy=function(x){return T(x)===m},e.isMemo=function(x){return T(x)===p},e.isPortal=function(x){return T(x)===r},e.isProfiler=function(x){return T(x)===i},e.isStrictMode=function(x){return T(x)===a},e.isSuspense=function(x){return T(x)===d},e.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===i||x===v||x===a||x===d||x===c||x===g||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===p||x.$$typeof===s||x.$$typeof===l||x.$$typeof===u||x.$$typeof===y||x.$$typeof===h||x[0]===b)},e.typeOf=T}}),EM=P({"../../node_modules/@testing-library/dom/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var t=60103,r=60106,n=60107,a=60108,i=60114,s=60109,l=60110,u=60112,d=60113,c=60120,p=60115,m=60116,h=60121,b=60122,y=60117,v=60119,g=60128,E=60129,T=60130,M=60131;if(typeof Symbol=="function"&&Symbol.for){var O=Symbol.for;t=O("react.element"),r=O("react.portal"),n=O("react.fragment"),a=O("react.strict_mode"),i=O("react.profiler"),s=O("react.provider"),l=O("react.context"),u=O("react.forward_ref"),d=O("react.suspense"),c=O("react.suspense_list"),p=O("react.memo"),m=O("react.lazy"),h=O("react.block"),b=O("react.server.block"),y=O("react.fundamental"),v=O("react.scope"),g=O("react.opaque.id"),E=O("react.debug_trace_mode"),T=O("react.offscreen"),M=O("react.legacy_hidden")}var A=!1;function w(Se){return!!(typeof Se=="string"||typeof Se=="function"||Se===n||Se===i||Se===E||Se===a||Se===d||Se===c||Se===M||A||typeof Se=="object"&&Se!==null&&(Se.$$typeof===m||Se.$$typeof===p||Se.$$typeof===s||Se.$$typeof===l||Se.$$typeof===u||Se.$$typeof===y||Se.$$typeof===h||Se[0]===b))}function S(Se){if(typeof Se=="object"&&Se!==null){var He=Se.$$typeof;switch(He){case t:var ut=Se.type;switch(ut){case n:case i:case a:case d:case c:return ut;default:var Lt=ut&&ut.$$typeof;switch(Lt){case l:case u:case m:case p:case s:return Lt;default:return He}}case r:return He}}}var N=l,Y=s,K=t,ee=u,Q=n,x=m,D=p,J=r,ve=i,ye=a,xe=d,De=!1,je=!1;function be(Se){return De||(De=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(Se){return je||(je=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ge(Se){return S(Se)===l}function Te(Se){return S(Se)===s}function Re(Se){return typeof Se=="object"&&Se!==null&&Se.$$typeof===t}function Ne(Se){return S(Se)===u}function Ze(Se){return S(Se)===n}function _t(Se){return S(Se)===m}function Z(Se){return S(Se)===p}function qe(Se){return S(Se)===r}function Be(Se){return S(Se)===i}function Qe(Se){return S(Se)===a}function fe(Se){return S(Se)===d}e.ContextConsumer=N,e.ContextProvider=Y,e.Element=K,e.ForwardRef=ee,e.Fragment=Q,e.Lazy=x,e.Memo=D,e.Portal=J,e.Profiler=ve,e.StrictMode=ye,e.Suspense=xe,e.isAsyncMode=be,e.isConcurrentMode=de,e.isContextConsumer=ge,e.isContextProvider=Te,e.isElement=Re,e.isForwardRef=Ne,e.isFragment=Ze,e.isLazy=_t,e.isMemo=Z,e.isPortal=qe,e.isProfiler=Be,e.isStrictMode=Qe,e.isSuspense=fe,e.isValidElementType=w,e.typeOf=S}()}}),wM=P({"../../node_modules/@testing-library/dom/node_modules/react-is/index.js"(e,t){"use strict";process.env.NODE_ENV==="production"?t.exports=_M():t.exports=EM()}}),RM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=a(wM()),r=Bc();function n(m){if(typeof WeakMap!="function")return null;var h=new WeakMap,b=new WeakMap;return(n=function(y){return y?b:h})(m)}function a(m,h){if(!h&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var b=n(h);if(b&&b.has(m))return b.get(m);var y={},v=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in m)if(g!=="default"&&Object.prototype.hasOwnProperty.call(m,g)){var E=v?Object.getOwnPropertyDescriptor(m,g):null;E&&(E.get||E.set)?Object.defineProperty(y,g,E):y[g]=m[g]}return y.default=m,b&&b.set(m,y),y}var i=(m,h=[])=>(Array.isArray(m)?m.forEach(b=>{i(b,h)}):m!=null&&m!==!1&&h.push(m),h),s=m=>{let h=m.type;if(typeof h=="string")return h;if(typeof h=="function")return h.displayName||h.name||"Unknown";if(t.isFragment(m))return"React.Fragment";if(t.isSuspense(m))return"React.Suspense";if(typeof h=="object"&&h!==null){if(t.isContextProvider(m))return"Context.Provider";if(t.isContextConsumer(m))return"Context.Consumer";if(t.isForwardRef(m)){if(h.displayName)return h.displayName;let b=h.render.displayName||h.render.name||"";return b!==""?"ForwardRef("+b+")":"ForwardRef"}if(t.isMemo(m)){let b=h.displayName||h.type.displayName||h.type.name||"";return b!==""?"Memo("+b+")":"Memo"}}return"UNDEFINED"},l=m=>{let{props:h}=m;return Object.keys(h).filter(b=>b!=="children"&&h[b]!==void 0).sort()},u=(m,h,b,y,v,g)=>++y>h.maxDepth?(0,r.printElementAsLeaf)(s(m),h):(0,r.printElement)(s(m),(0,r.printProps)(l(m),m.props,h,b+h.indent,y,v,g),(0,r.printChildren)(i(m.props.children),h,b+h.indent,y,v,g),h,b);e.serialize=u;var d=m=>m!=null&&t.isElement(m);e.test=d;var c={serialize:u,test:d},p=c;e.default=p}}),CM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Bc(),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,a=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,i=c=>{let{props:p}=c;return p?Object.keys(p).filter(m=>p[m]!==void 0).sort():[]},s=(c,p,m,h,b,y)=>++h>p.maxDepth?(0,t.printElementAsLeaf)(c.type,p):(0,t.printElement)(c.type,c.props?(0,t.printProps)(i(c),c.props,p,m+p.indent,h,b,y):"",c.children?(0,t.printChildren)(c.children,p,m+p.indent,h,b,y):"",p,m);e.serialize=s;var l=c=>c&&c.$$typeof===a;e.test=l;var u={serialize:s,test:l},d=u;e.default=d}}),SM=P({"../../node_modules/@testing-library/dom/node_modules/pretty-format/build/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Ne,e.plugins=void 0;var t=c(fg()),r=Gi(),n=c(fM()),a=c(hM()),i=c(bM()),s=c(gM()),l=c(vM()),u=c(RM()),d=c(CM());function c(Z){return Z&&Z.__esModule?Z:{default:Z}}var p=Object.prototype.toString,m=Date.prototype.toISOString,h=Error.prototype.toString,b=RegExp.prototype.toString,y=Z=>typeof Z.constructor=="function"&&Z.constructor.name||"Object",v=Z=>typeof window<"u"&&Z===window,g=/^Symbol\((.*)\)(.*)$/,E=/\n/gi,T=class extends Error{constructor(Z,qe){super(Z),this.stack=qe,this.name=this.constructor.name}};function M(Z){return Z==="[object Array]"||Z==="[object ArrayBuffer]"||Z==="[object DataView]"||Z==="[object Float32Array]"||Z==="[object Float64Array]"||Z==="[object Int8Array]"||Z==="[object Int16Array]"||Z==="[object Int32Array]"||Z==="[object Uint8Array]"||Z==="[object Uint8ClampedArray]"||Z==="[object Uint16Array]"||Z==="[object Uint32Array]"}function O(Z){return Object.is(Z,-0)?"-0":String(Z)}function A(Z){return`${Z}n`}function w(Z,qe){return qe?"[Function "+(Z.name||"anonymous")+"]":"[Function]"}function S(Z){return String(Z).replace(g,"Symbol($1)")}function N(Z){return"["+h.call(Z)+"]"}function Y(Z,qe,Be,Qe){if(Z===!0||Z===!1)return""+Z;if(Z===void 0)return"undefined";if(Z===null)return"null";let fe=typeof Z;if(fe==="number")return O(Z);if(fe==="bigint")return A(Z);if(fe==="string")return Qe?'"'+Z.replace(/"|\\/g,"\\$&")+'"':'"'+Z+'"';if(fe==="function")return w(Z,qe);if(fe==="symbol")return S(Z);let Se=p.call(Z);return Se==="[object WeakMap]"?"WeakMap {}":Se==="[object WeakSet]"?"WeakSet {}":Se==="[object Function]"||Se==="[object GeneratorFunction]"?w(Z,qe):Se==="[object Symbol]"?S(Z):Se==="[object Date]"?isNaN(+Z)?"Date { NaN }":m.call(Z):Se==="[object Error]"?N(Z):Se==="[object RegExp]"?Be?b.call(Z).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):b.call(Z):Z instanceof Error?N(Z):null}function K(Z,qe,Be,Qe,fe,Se){if(fe.indexOf(Z)!==-1)return"[Circular]";fe=fe.slice(),fe.push(Z);let He=++Qe>qe.maxDepth,ut=qe.min;if(qe.callToJSON&&!He&&Z.toJSON&&typeof Z.toJSON=="function"&&!Se)return D(Z.toJSON(),qe,Be,Qe,fe,!0);let Lt=p.call(Z);return Lt==="[object Arguments]"?He?"[Arguments]":(ut?"":"Arguments ")+"["+(0,r.printListItems)(Z,qe,Be,Qe,fe,D)+"]":M(Lt)?He?"["+Z.constructor.name+"]":(ut||!qe.printBasicPrototype&&Z.constructor.name==="Array"?"":Z.constructor.name+" ")+"["+(0,r.printListItems)(Z,qe,Be,Qe,fe,D)+"]":Lt==="[object Map]"?He?"[Map]":"Map {"+(0,r.printIteratorEntries)(Z.entries(),qe,Be,Qe,fe,D," => ")+"}":Lt==="[object Set]"?He?"[Set]":"Set {"+(0,r.printIteratorValues)(Z.values(),qe,Be,Qe,fe,D)+"}":He||v(Z)?"["+y(Z)+"]":(ut||!qe.printBasicPrototype&&y(Z)==="Object"?"":y(Z)+" ")+"{"+(0,r.printObjectProperties)(Z,qe,Be,Qe,fe,D)+"}"}function ee(Z){return Z.serialize!=null}function Q(Z,qe,Be,Qe,fe,Se){let He;try{He=ee(Z)?Z.serialize(qe,Be,Qe,fe,Se,D):Z.print(qe,ut=>D(ut,Be,Qe,fe,Se),ut=>{let Lt=Qe+Be.indent;return Lt+ut.replace(E,`
291
- `+Lt)},{edgeSpacing:Be.spacingOuter,min:Be.min,spacing:Be.spacingInner},Be.colors)}catch(ut){throw new T(ut.message,ut.stack)}if(typeof He!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof He}".`);return He}function x(Z,qe){for(let Be=0;Be<Z.length;Be++)try{if(Z[Be].test(qe))return Z[Be]}catch(Qe){throw new T(Qe.message,Qe.stack)}return null}function D(Z,qe,Be,Qe,fe,Se){let He=x(qe.plugins,Z);if(He!==null)return Q(He,Z,qe,Be,Qe,fe);let ut=Y(Z,qe.printFunctionName,qe.escapeRegex,qe.escapeString);return ut!==null?ut:K(Z,qe,Be,Qe,fe,Se)}var J={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},ve=Object.keys(J),ye={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:J};e.DEFAULT_OPTIONS=ye;function xe(Z){if(Object.keys(Z).forEach(qe=>{if(!ye.hasOwnProperty(qe))throw new Error(`pretty-format: Unknown option "${qe}".`)}),Z.min&&Z.indent!==void 0&&Z.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Z.theme!==void 0){if(Z.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Z.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Z.theme}".`)}}var De=Z=>ve.reduce((qe,Be)=>{let Qe=Z.theme&&Z.theme[Be]!==void 0?Z.theme[Be]:J[Be],fe=Qe&&t.default[Qe];if(fe&&typeof fe.close=="string"&&typeof fe.open=="string")qe[Be]=fe;else throw new Error(`pretty-format: Option "theme" has a key "${Be}" whose value "${Qe}" is undefined in ansi-styles.`);return qe},Object.create(null)),je=()=>ve.reduce((Z,qe)=>(Z[qe]={close:"",open:""},Z),Object.create(null)),be=Z=>Z&&Z.printFunctionName!==void 0?Z.printFunctionName:ye.printFunctionName,de=Z=>Z&&Z.escapeRegex!==void 0?Z.escapeRegex:ye.escapeRegex,ge=Z=>Z&&Z.escapeString!==void 0?Z.escapeString:ye.escapeString,Te=Z=>{var qe;return{callToJSON:Z&&Z.callToJSON!==void 0?Z.callToJSON:ye.callToJSON,colors:Z&&Z.highlight?De(Z):je(),compareKeys:Z&&typeof Z.compareKeys=="function"?Z.compareKeys:ye.compareKeys,escapeRegex:de(Z),escapeString:ge(Z),indent:Z&&Z.min?"":Re(Z&&Z.indent!==void 0?Z.indent:ye.indent),maxDepth:Z&&Z.maxDepth!==void 0?Z.maxDepth:ye.maxDepth,min:Z&&Z.min!==void 0?Z.min:ye.min,plugins:Z&&Z.plugins!==void 0?Z.plugins:ye.plugins,printBasicPrototype:(qe=Z?.printBasicPrototype)!==null&&qe!==void 0?qe:!0,printFunctionName:be(Z),spacingInner:Z&&Z.min?" ":`
292
- `,spacingOuter:Z&&Z.min?"":`
293
- `}};function Re(Z){return new Array(Z+1).join(" ")}function Ne(Z,qe){if(qe&&(xe(qe),qe.plugins)){let Qe=x(qe.plugins,Z);if(Qe!==null)return Q(Qe,Z,Te(qe),"",0,[])}let Be=Y(Z,be(qe),de(qe),ge(qe));return Be!==null?Be:K(Z,Te(qe),"",0,[])}var Ze={AsymmetricMatcher:n.default,ConvertAnsi:a.default,DOMCollection:i.default,DOMElement:s.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:d.default};e.plugins=Ze;var _t=Ne;e.default=_t}}),AM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iteratorProxy.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,a=0,i={"@@iterator":function(){return i},next:function(){if(a<n.length){var s=n[a];return a=a+1,{done:!1,value:s}}else return{done:!0}}};return i}var r=t;e.default=r}}),wa=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/util/iterationDecorator.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=r(AM());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function a(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}}}),PM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/ariaPropsMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(wa());function r(h){return h&&h.__esModule?h:{default:h}}function n(h,b){return s(h)||i(h,b)||u(h,b)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
294
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(h,b){var y=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(y!=null){var v=[],g=!0,E=!1,T,M;try{for(y=y.call(h);!(g=(T=y.next()).done)&&(v.push(T.value),!(b&&v.length===b));g=!0);}catch(O){E=!0,M=O}finally{try{!g&&y.return!=null&&y.return()}finally{if(E)throw M}}return v}}function s(h){if(Array.isArray(h))return h}function l(h,b){var y=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!y){if(Array.isArray(h)||(y=u(h))||b&&h&&typeof h.length=="number"){y&&(h=y);var v=0,g=function(){};return{s:g,n:function(){return v>=h.length?{done:!0}:{done:!1,value:h[v++]}},e:function(O){throw O},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
295
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,T=!1,M;return{s:function(){y=y.call(h)},n:function(){var O=y.next();return E=O.done,O},e:function(O){T=!0,M=O},f:function(){try{!E&&y.return!=null&&y.return()}finally{if(T)throw M}}}}function u(h,b){if(h){if(typeof h=="string")return d(h,b);var y=Object.prototype.toString.call(h).slice(8,-1);if(y==="Object"&&h.constructor&&(y=h.constructor.name),y==="Map"||y==="Set")return Array.from(h);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return d(h,b)}}function d(h,b){(b==null||b>h.length)&&(b=h.length);for(var y=0,v=new Array(b);y<b;y++)v[y]=h[y];return v}var c=[["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"}]],p={entries:function(){return c},forEach:function(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(c),v;try{for(y.s();!(v=y.n()).done;){var g=n(v.value,2),E=g[0],T=g[1];h.call(b,T,E,c)}}catch(M){y.e(M)}finally{y.f()}},get:function(h){var b=c.find(function(y){return y[0]===h});return b&&b[1]},has:function(h){return!!p.get(h)},keys:function(){return c.map(function(h){var b=n(h,1),y=b[0];return y})},values:function(){return c.map(function(h){var b=n(h,2),y=b[1];return y})}},m=(0,t.default)(p,p.entries());e.default=m}}),TM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/domMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(wa());function r(h){return h&&h.__esModule?h:{default:h}}function n(h,b){return s(h)||i(h,b)||u(h,b)||a()}function a(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
296
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(h,b){var y=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(y!=null){var v=[],g=!0,E=!1,T,M;try{for(y=y.call(h);!(g=(T=y.next()).done)&&(v.push(T.value),!(b&&v.length===b));g=!0);}catch(O){E=!0,M=O}finally{try{!g&&y.return!=null&&y.return()}finally{if(E)throw M}}return v}}function s(h){if(Array.isArray(h))return h}function l(h,b){var y=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!y){if(Array.isArray(h)||(y=u(h))||b&&h&&typeof h.length=="number"){y&&(h=y);var v=0,g=function(){};return{s:g,n:function(){return v>=h.length?{done:!0}:{done:!1,value:h[v++]}},e:function(O){throw O},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
297
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,T=!1,M;return{s:function(){y=y.call(h)},n:function(){var O=y.next();return E=O.done,O},e:function(O){T=!0,M=O},f:function(){try{!E&&y.return!=null&&y.return()}finally{if(T)throw M}}}}function u(h,b){if(h){if(typeof h=="string")return d(h,b);var y=Object.prototype.toString.call(h).slice(8,-1);if(y==="Object"&&h.constructor&&(y=h.constructor.name),y==="Map"||y==="Set")return Array.from(h);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return d(h,b)}}function d(h,b){(b==null||b>h.length)&&(b=h.length);for(var y=0,v=new Array(b);y<b;y++)v[y]=h[y];return v}var c=[["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}]],p={entries:function(){return c},forEach:function(h){var b=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,y=l(c),v;try{for(y.s();!(v=y.n()).done;){var g=n(v.value,2),E=g[0],T=g[1];h.call(b,T,E,c)}}catch(M){y.e(M)}finally{y.f()}},get:function(h){var b=c.find(function(y){return y[0]===h});return b&&b[1]},has:function(h){return!!p.get(h)},keys:function(){return c.map(function(h){var b=n(h,1),y=b[0];return y})},values:function(){return c.map(function(h){var b=n(h,2),y=b[1];return y})}},m=(0,t.default)(p,p.entries());e.default=m}}),OM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),qM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),xM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),MM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),NM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),jM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){"use strict";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:[]},r=t;e.default=r}}),IM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),DM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),FM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),BM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),LM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),kM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),$M=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=h(OM()),r=h(qM()),n=h(xM()),a=h(MM()),i=h(NM()),s=h(jM()),l=h(IM()),u=h(DM()),d=h(FM()),c=h(BM()),p=h(LM()),m=h(kM());function h(v){return v&&v.__esModule?v:{default:v}}var b=[["command",t.default],["composite",r.default],["input",n.default],["landmark",a.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",d.default],["structure",c.default],["widget",p.default],["window",m.default]],y=b;e.default=y}}),UM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),HM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),VM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),GM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),zM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),WM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),YM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),KM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),JM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),XM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),QM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),ZM=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),eN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),tN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){"use strict";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:"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"]]},r=t;e.default=r}}),rN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),nN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),oN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),aN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),iN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),sN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),lN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),uN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),cN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),dN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),pN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),fN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),mN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),hN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),bN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),yN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),gN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),vN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),_N=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),EN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),wN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),RN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),CN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),SN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),AN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),PN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),TN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),ON=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),qN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),xN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),MN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),NN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),jN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),IN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){"use strict";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:[]},r=t;e.default=r}}),DN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),FN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),BN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),LN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),kN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),$N=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),UN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),HN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),VN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),GN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),zN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),WN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),YN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),KN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),JN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),XN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),QN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),ZN=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),ej=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),tj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),rj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),nj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),oj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),aj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),ij=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),sj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),lj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),uj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),cj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),dj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),pj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),fj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),mj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),hj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),bj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),yj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=re(UM()),r=re(HM()),n=re(VM()),a=re(GM()),i=re(zM()),s=re(WM()),l=re(YM()),u=re(KM()),d=re(JM()),c=re(XM()),p=re(QM()),m=re(ZM()),h=re(eN()),b=re(tN()),y=re(rN()),v=re(nN()),g=re(oN()),E=re(aN()),T=re(iN()),M=re(sN()),O=re(lN()),A=re(uN()),w=re(cN()),S=re(dN()),N=re(pN()),Y=re(fN()),K=re(mN()),ee=re(hN()),Q=re(bN()),x=re(yN()),D=re(gN()),J=re(vN()),ve=re(_N()),ye=re(EN()),xe=re(wN()),De=re(RN()),je=re(CN()),be=re(SN()),de=re(AN()),ge=re(PN()),Te=re(TN()),Re=re(ON()),Ne=re(qN()),Ze=re(xN()),_t=re(MN()),Z=re(NN()),qe=re(jN()),Be=re(IN()),Qe=re(DN()),fe=re(FN()),Se=re(BN()),He=re(LN()),ut=re(kN()),Lt=re($N()),xo=re(UN()),Mo=re(HN()),fs=re(VN()),ms=re(GN()),hs=re(zN()),bs=re(WN()),ys=re(YN()),gs=re(KN()),vs=re(JN()),_s=re(XN()),Es=re(QN()),ws=re(ZN()),Rs=re(ej()),Cs=re(tj()),Ss=re(rj()),As=re(nj()),Ps=re(oj()),Ts=re(aj()),Os=re(ij()),qs=re(sj()),xs=re(lj()),Ms=re(uj()),Ns=re(cj()),js=re(dj()),Is=re(pj()),Ds=re(fj()),Fs=re(mj()),Bs=re(hj()),Ls=re(bj());function re(Dr){return Dr&&Dr.__esModule?Dr:{default:Dr}}var ks=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",a.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",d.default],["checkbox",c.default],["code",p.default],["columnheader",m.default],["combobox",h.default],["complementary",b.default],["contentinfo",y.default],["definition",v.default],["deletion",g.default],["dialog",E.default],["directory",T.default],["document",M.default],["emphasis",O.default],["feed",A.default],["figure",w.default],["form",S.default],["generic",N.default],["grid",Y.default],["gridcell",K.default],["group",ee.default],["heading",Q.default],["img",x.default],["insertion",D.default],["link",J.default],["list",ve.default],["listbox",ye.default],["listitem",xe.default],["log",De.default],["main",je.default],["mark",be.default],["marquee",de.default],["math",ge.default],["menu",Te.default],["menubar",Re.default],["menuitem",Ne.default],["menuitemcheckbox",Ze.default],["menuitemradio",_t.default],["meter",Z.default],["navigation",qe.default],["none",Be.default],["note",Qe.default],["option",fe.default],["paragraph",Se.default],["presentation",He.default],["progressbar",ut.default],["radio",Lt.default],["radiogroup",xo.default],["region",Mo.default],["row",fs.default],["rowgroup",ms.default],["rowheader",hs.default],["scrollbar",bs.default],["search",ys.default],["searchbox",gs.default],["separator",vs.default],["slider",_s.default],["spinbutton",Es.default],["status",ws.default],["strong",Rs.default],["subscript",Cs.default],["superscript",Ss.default],["switch",As.default],["tab",Ps.default],["table",Ts.default],["tablist",Os.default],["tabpanel",qs.default],["term",xs.default],["textbox",Ms.default],["time",Ns.default],["timer",js.default],["toolbar",Is.default],["tooltip",Ds.default],["tree",Fs.default],["treegrid",Bs.default],["treeitem",Ls.default]],rp=ks;e.default=rp}}),gj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),vj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),_j=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Ej=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),wj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Rj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Cj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Sj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Aj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Pj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Tj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Oj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),qj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),xj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Mj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Nj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),jj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Ij=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Dj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Fj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Bj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Lj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),kj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),$j=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Uj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Hj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Vj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Gj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),zj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Wj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Yj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Kj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Jj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Xj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Qj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),Zj=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),eI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),tI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),rI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),nI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=ge(gj()),r=ge(vj()),n=ge(_j()),a=ge(Ej()),i=ge(wj()),s=ge(Rj()),l=ge(Cj()),u=ge(Sj()),d=ge(Aj()),c=ge(Pj()),p=ge(Tj()),m=ge(Oj()),h=ge(qj()),b=ge(xj()),y=ge(Mj()),v=ge(Nj()),g=ge(jj()),E=ge(Ij()),T=ge(Dj()),M=ge(Fj()),O=ge(Bj()),A=ge(Lj()),w=ge(kj()),S=ge($j()),N=ge(Uj()),Y=ge(Hj()),K=ge(Vj()),ee=ge(Gj()),Q=ge(zj()),x=ge(Wj()),D=ge(Yj()),J=ge(Kj()),ve=ge(Jj()),ye=ge(Xj()),xe=ge(Qj()),De=ge(Zj()),je=ge(eI()),be=ge(tI()),de=ge(rI());function ge(Ne){return Ne&&Ne.__esModule?Ne:{default:Ne}}var Te=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",a.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",d.default],["doc-colophon",c.default],["doc-conclusion",p.default],["doc-cover",m.default],["doc-credit",h.default],["doc-credits",b.default],["doc-dedication",y.default],["doc-endnote",v.default],["doc-endnotes",g.default],["doc-epigraph",E.default],["doc-epilogue",T.default],["doc-errata",M.default],["doc-example",O.default],["doc-footnote",A.default],["doc-foreword",w.default],["doc-glossary",S.default],["doc-glossref",N.default],["doc-index",Y.default],["doc-introduction",K.default],["doc-noteref",ee.default],["doc-notice",Q.default],["doc-pagebreak",x.default],["doc-pagelist",D.default],["doc-part",J.default],["doc-preface",ve.default],["doc-prologue",ye.default],["doc-pullquote",xe.default],["doc-qna",De.default],["doc-subtitle",je.default],["doc-tip",be.default],["doc-toc",de.default]],Re=Te;e.default=Re}}),oI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),aI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),iI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){"use strict";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"]]},r=t;e.default=r}}),sI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=a(oI()),r=a(aI()),n=a(iI());function a(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=i;e.default=s}}),Lc=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/rolesMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s($M()),r=s(yj()),n=s(nI()),a=s(sI()),i=s(wa());function s(E){return E&&E.__esModule?E:{default:E}}function l(E,T,M){return T in E?Object.defineProperty(E,T,{value:M,enumerable:!0,configurable:!0,writable:!0}):E[T]=M,E}function u(E,T){var M=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!M){if(Array.isArray(E)||(M=p(E))||T&&E&&typeof E.length=="number"){M&&(E=M);var O=0,A=function(){};return{s:A,n:function(){return O>=E.length?{done:!0}:{done:!1,value:E[O++]}},e:function(Y){throw Y},f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
298
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,S=!1,N;return{s:function(){M=M.call(E)},n:function(){var Y=M.next();return w=Y.done,Y},e:function(Y){S=!0,N=Y},f:function(){try{!w&&M.return!=null&&M.return()}finally{if(S)throw N}}}}function d(E,T){return b(E)||h(E,T)||p(E,T)||c()}function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
299
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(E,T){if(E){if(typeof E=="string")return m(E,T);var M=Object.prototype.toString.call(E).slice(8,-1);if(M==="Object"&&E.constructor&&(M=E.constructor.name),M==="Map"||M==="Set")return Array.from(E);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return m(E,T)}}function m(E,T){(T==null||T>E.length)&&(T=E.length);for(var M=0,O=new Array(T);M<T;M++)O[M]=E[M];return O}function h(E,T){var M=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(M!=null){var O=[],A=!0,w=!1,S,N;try{for(M=M.call(E);!(A=(S=M.next()).done)&&(O.push(S.value),!(T&&O.length===T));A=!0);}catch(Y){w=!0,N=Y}finally{try{!A&&M.return!=null&&M.return()}finally{if(w)throw N}}return O}}function b(E){if(Array.isArray(E))return E}var y=[].concat(t.default,r.default,n.default,a.default);y.forEach(function(E){var T=d(E,2),M=T[1],O=u(M.superClass),A;try{for(O.s();!(A=O.n()).done;){var w=A.value,S=u(w),N;try{var Y=function(){var K=N.value,ee=y.find(function(ve){var ye=d(ve,1),xe=ye[0];return xe===K});if(ee)for(var Q=ee[1],x=0,D=Object.keys(Q.props);x<D.length;x++){var J=D[x];Object.prototype.hasOwnProperty.call(M.props,J)||Object.assign(M.props,l({},J,Q.props[J]))}};for(S.s();!(N=S.n()).done;)Y()}catch(K){S.e(K)}finally{S.f()}}}catch(K){O.e(K)}finally{O.f()}});var v={entries:function(){return y},forEach:function(E){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,M=u(y),O;try{for(M.s();!(O=M.n()).done;){var A=d(O.value,2),w=A[0],S=A[1];E.call(T,S,w,y)}}catch(N){M.e(N)}finally{M.f()}},get:function(E){var T=y.find(function(M){return M[0]===E});return T&&T[1]},has:function(E){return!!v.get(E)},keys:function(){return y.map(function(E){var T=d(E,1),M=T[0];return M})},values:function(){return y.map(function(E){var T=d(E,2),M=T[1];return M})}},g=(0,i.default)(v,v.entries());e.default=g}}),lI=P({"../../node_modules/dequal/lite/index.js"(e){"use strict";var t=Object.prototype.hasOwnProperty;function r(n,a){var i,s;if(n===a)return!0;if(n&&a&&(i=n.constructor)===a.constructor){if(i===Date)return n.getTime()===a.getTime();if(i===RegExp)return n.toString()===a.toString();if(i===Array){if((s=n.length)===a.length)for(;s--&&r(n[s],a[s]););return s===-1}if(!i||typeof n=="object"){s=0;for(i in n)if(t.call(n,i)&&++s&&!t.call(a,i)||!(i in a)||!r(n[i],a[i]))return!1;return Object.keys(a).length===s}}return n!==n&&a!==a}e.dequal=r}}),uI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/elementRoleMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=lI(),r=a(wa()),n=a(Lc());function a(A){return A&&A.__esModule?A:{default:A}}function i(A,w){return u(A)||l(A,w)||c(A,w)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
300
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(A,w){var S=A==null?null:typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(S!=null){var N=[],Y=!0,K=!1,ee,Q;try{for(S=S.call(A);!(Y=(ee=S.next()).done)&&(N.push(ee.value),!(w&&N.length===w));Y=!0);}catch(x){K=!0,Q=x}finally{try{!Y&&S.return!=null&&S.return()}finally{if(K)throw Q}}return N}}function u(A){if(Array.isArray(A))return A}function d(A,w){var S=typeof Symbol<"u"&&A[Symbol.iterator]||A["@@iterator"];if(!S){if(Array.isArray(A)||(S=c(A))||w&&A&&typeof A.length=="number"){S&&(A=S);var N=0,Y=function(){};return{s:Y,n:function(){return N>=A.length?{done:!0}:{done:!1,value:A[N++]}},e:function(x){throw x},f:Y}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
301
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var K=!0,ee=!1,Q;return{s:function(){S=S.call(A)},n:function(){var x=S.next();return K=x.done,x},e:function(x){ee=!0,Q=x},f:function(){try{!K&&S.return!=null&&S.return()}finally{if(ee)throw Q}}}}function c(A,w){if(A){if(typeof A=="string")return p(A,w);var S=Object.prototype.toString.call(A).slice(8,-1);if(S==="Object"&&A.constructor&&(S=A.constructor.name),S==="Map"||S==="Set")return Array.from(A);if(S==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(S))return p(A,w)}}function p(A,w){(w==null||w>A.length)&&(w=A.length);for(var S=0,N=new Array(w);S<w;S++)N[S]=A[S];return N}var m=[],h=n.default.keys();for(T=0;T<h.length;T++)if(b=h[T],y=n.default.get(b),y)for(v=[].concat(y.baseConcepts,y.relatedConcepts),E=0;E<v.length;E++)g=v[E],g.module==="HTML"&&function(){var A=g.concept;if(A){var w=m.find(function(K){return(0,t.dequal)(K,A)}),S;w?S=w[1]:S=[];for(var N=!0,Y=0;Y<S.length;Y++)if(S[Y]===b){N=!1;break}N&&S.push(b),m.push([A,S])}}();var b,y,v,g,E,T,M={entries:function(){return m},forEach:function(A){var w=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,S=d(m),N;try{for(S.s();!(N=S.n()).done;){var Y=i(N.value,2),K=Y[0],ee=Y[1];A.call(w,ee,K,m)}}catch(Q){S.e(Q)}finally{S.f()}},get:function(A){var w=m.find(function(S){return A.name===S[0].name&&(0,t.dequal)(A.attributes,S[0].attributes)});return w&&w[1]},has:function(A){return!!M.get(A)},keys:function(){return m.map(function(A){var w=i(A,1),S=w[0];return S})},values:function(){return m.map(function(A){var w=i(A,2),S=w[1];return S})}},O=(0,r.default)(M,M.entries());e.default=O}}),cI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/roleElementMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(wa()),r=n(Lc());function n(w){return w&&w.__esModule?w:{default:w}}function a(w,S){return l(w)||s(w,S)||d(w,S)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
302
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(w,S){var N=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(N!=null){var Y=[],K=!0,ee=!1,Q,x;try{for(N=N.call(w);!(K=(Q=N.next()).done)&&(Y.push(Q.value),!(S&&Y.length===S));K=!0);}catch(D){ee=!0,x=D}finally{try{!K&&N.return!=null&&N.return()}finally{if(ee)throw x}}return Y}}function l(w){if(Array.isArray(w))return w}function u(w,S){var N=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!N){if(Array.isArray(w)||(N=d(w))||S&&w&&typeof w.length=="number"){N&&(w=N);var Y=0,K=function(){};return{s:K,n:function(){return Y>=w.length?{done:!0}:{done:!1,value:w[Y++]}},e:function(D){throw D},f:K}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
303
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ee=!0,Q=!1,x;return{s:function(){N=N.call(w)},n:function(){var D=N.next();return ee=D.done,D},e:function(D){Q=!0,x=D},f:function(){try{!ee&&N.return!=null&&N.return()}finally{if(Q)throw x}}}}function d(w,S){if(w){if(typeof w=="string")return c(w,S);var N=Object.prototype.toString.call(w).slice(8,-1);if(N==="Object"&&w.constructor&&(N=w.constructor.name),N==="Map"||N==="Set")return Array.from(w);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return c(w,S)}}function c(w,S){(S==null||S>w.length)&&(S=w.length);for(var N=0,Y=new Array(S);N<S;N++)Y[N]=w[N];return Y}var p=[],m=r.default.keys();for(M=0;M<m.length;M++)if(h=m[M],b=r.default.get(h),y=[],b){for(v=[].concat(b.baseConcepts,b.relatedConcepts),T=0;T<v.length;T++)g=v[T],g.module==="HTML"&&(E=g.concept,E!=null&&y.push(E));y.length>0&&p.push([h,y])}var h,b,y,v,g,E,T,M,O={entries:function(){return p},forEach:function(w){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,N=u(p),Y;try{for(N.s();!(Y=N.n()).done;){var K=a(Y.value,2),ee=K[0],Q=K[1];w.call(S,Q,ee,p)}}catch(x){N.e(x)}finally{N.f()}},get:function(w){var S=p.find(function(N){return N[0]===w});return S&&S[1]},has:function(w){return!!O.get(w)},keys:function(){return p.map(function(w){var S=a(w,1),N=S[0];return N})},values:function(){return p.map(function(w){var S=a(w,2),N=S[1];return N})}},A=(0,t.default)(O,O.entries());e.default=A}}),dI=P({"../../node_modules/@testing-library/dom/node_modules/aria-query/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(PM()),r=s(TM()),n=s(Lc()),a=s(uI()),i=s(cI());function s(m){return m&&m.__esModule?m:{default:m}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var d=n.default;e.roles=d;var c=a.default;e.elementRoles=c;var p=i.default;e.roleElements=p}}),pI=P({"../../node_modules/lz-string/libs/lz-string.js"(e,t){"use strict";var r=function(){var n=String.fromCharCode,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(d,c){if(!s[d]){s[d]={};for(var p=0;p<d.length;p++)s[d][d.charAt(p)]=p}return s[d][c]}var u={compressToBase64:function(d){if(d==null)return"";var c=u._compress(d,6,function(p){return a.charAt(p)});switch(c.length%4){default:case 0:return c;case 1:return c+"===";case 2:return c+"==";case 3:return c+"="}},decompressFromBase64:function(d){return d==null?"":d==""?null:u._decompress(d.length,32,function(c){return l(a,d.charAt(c))})},compressToUTF16:function(d){return d==null?"":u._compress(d,15,function(c){return n(c+32)})+" "},decompressFromUTF16:function(d){return d==null?"":d==""?null:u._decompress(d.length,16384,function(c){return d.charCodeAt(c)-32})},compressToUint8Array:function(d){for(var c=u.compress(d),p=new Uint8Array(c.length*2),m=0,h=c.length;m<h;m++){var b=c.charCodeAt(m);p[m*2]=b>>>8,p[m*2+1]=b%256}return p},decompressFromUint8Array:function(d){if(d==null)return u.decompress(d);for(var c=new Array(d.length/2),p=0,m=c.length;p<m;p++)c[p]=d[p*2]*256+d[p*2+1];var h=[];return c.forEach(function(b){h.push(n(b))}),u.decompress(h.join(""))},compressToEncodedURIComponent:function(d){return d==null?"":u._compress(d,6,function(c){return i.charAt(c)})},decompressFromEncodedURIComponent:function(d){return d==null?"":d==""?null:(d=d.replace(/ /g,"+"),u._decompress(d.length,32,function(c){return l(i,d.charAt(c))}))},compress:function(d){return u._compress(d,16,function(c){return n(c)})},_compress:function(d,c,p){if(d==null)return"";var m,h,b={},y={},v="",g="",E="",T=2,M=3,O=2,A=[],w=0,S=0,N;for(N=0;N<d.length;N+=1)if(v=d.charAt(N),Object.prototype.hasOwnProperty.call(b,v)||(b[v]=M++,y[v]=!0),g=E+v,Object.prototype.hasOwnProperty.call(b,g))E=g;else{if(Object.prototype.hasOwnProperty.call(y,E)){if(E.charCodeAt(0)<256){for(m=0;m<O;m++)w=w<<1,S==c-1?(S=0,A.push(p(w)),w=0):S++;for(h=E.charCodeAt(0),m=0;m<8;m++)w=w<<1|h&1,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=h>>1}else{for(h=1,m=0;m<O;m++)w=w<<1|h,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=0;for(h=E.charCodeAt(0),m=0;m<16;m++)w=w<<1|h&1,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=h>>1}T--,T==0&&(T=Math.pow(2,O),O++),delete y[E]}else for(h=b[E],m=0;m<O;m++)w=w<<1|h&1,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=h>>1;T--,T==0&&(T=Math.pow(2,O),O++),b[g]=M++,E=String(v)}if(E!==""){if(Object.prototype.hasOwnProperty.call(y,E)){if(E.charCodeAt(0)<256){for(m=0;m<O;m++)w=w<<1,S==c-1?(S=0,A.push(p(w)),w=0):S++;for(h=E.charCodeAt(0),m=0;m<8;m++)w=w<<1|h&1,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=h>>1}else{for(h=1,m=0;m<O;m++)w=w<<1|h,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=0;for(h=E.charCodeAt(0),m=0;m<16;m++)w=w<<1|h&1,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=h>>1}T--,T==0&&(T=Math.pow(2,O),O++),delete y[E]}else for(h=b[E],m=0;m<O;m++)w=w<<1|h&1,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=h>>1;T--,T==0&&(T=Math.pow(2,O),O++)}for(h=2,m=0;m<O;m++)w=w<<1|h&1,S==c-1?(S=0,A.push(p(w)),w=0):S++,h=h>>1;for(;;)if(w=w<<1,S==c-1){A.push(p(w));break}else S++;return A.join("")},decompress:function(d){return d==null?"":d==""?null:u._decompress(d.length,32768,function(c){return d.charCodeAt(c)})},_decompress:function(d,c,p){var m=[],h,b=4,y=4,v=3,g="",E=[],T,M,O,A,w,S,N,Y={val:p(0),position:c,index:1};for(T=0;T<3;T+=1)m[T]=T;for(O=0,w=Math.pow(2,2),S=1;S!=w;)A=Y.val&Y.position,Y.position>>=1,Y.position==0&&(Y.position=c,Y.val=p(Y.index++)),O|=(A>0?1:0)*S,S<<=1;switch(h=O){case 0:for(O=0,w=Math.pow(2,8),S=1;S!=w;)A=Y.val&Y.position,Y.position>>=1,Y.position==0&&(Y.position=c,Y.val=p(Y.index++)),O|=(A>0?1:0)*S,S<<=1;N=n(O);break;case 1:for(O=0,w=Math.pow(2,16),S=1;S!=w;)A=Y.val&Y.position,Y.position>>=1,Y.position==0&&(Y.position=c,Y.val=p(Y.index++)),O|=(A>0?1:0)*S,S<<=1;N=n(O);break;case 2:return""}for(m[3]=N,M=N,E.push(N);;){if(Y.index>d)return"";for(O=0,w=Math.pow(2,v),S=1;S!=w;)A=Y.val&Y.position,Y.position>>=1,Y.position==0&&(Y.position=c,Y.val=p(Y.index++)),O|=(A>0?1:0)*S,S<<=1;switch(N=O){case 0:for(O=0,w=Math.pow(2,8),S=1;S!=w;)A=Y.val&Y.position,Y.position>>=1,Y.position==0&&(Y.position=c,Y.val=p(Y.index++)),O|=(A>0?1:0)*S,S<<=1;m[y++]=n(O),N=y-1,b--;break;case 1:for(O=0,w=Math.pow(2,16),S=1;S!=w;)A=Y.val&Y.position,Y.position>>=1,Y.position==0&&(Y.position=c,Y.val=p(Y.index++)),O|=(A>0?1:0)*S,S<<=1;m[y++]=n(O),N=y-1,b--;break;case 2:return E.join("")}if(b==0&&(b=Math.pow(2,v),v++),m[N])g=m[N];else if(N===y)g=M+M.charAt(0);else return null;E.push(g),m[y++]=M+g.charAt(0),b--,M=g,b==0&&(b=Math.pow(2,v),v++)}}};return u}();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})}}),mg={};Bi(mg,{buildQueries:()=>F4,clearAllMocks:()=>Z0,configure:()=>B4,createEvent:()=>L4,expect:()=>tH,findAllByAltText:()=>$4,findAllByDisplayValue:()=>U4,findAllByLabelText:()=>H4,findAllByPlaceholderText:()=>V4,findAllByRole:()=>G4,findAllByTestId:()=>z4,findAllByText:()=>W4,findAllByTitle:()=>Y4,findByAltText:()=>K4,findByDisplayValue:()=>J4,findByLabelText:()=>X4,findByPlaceholderText:()=>Q4,findByRole:()=>Z4,findByTestId:()=>e9,findByText:()=>t9,findByTitle:()=>r9,fireEvent:()=>k4,fn:()=>X0,getAllByAltText:()=>n9,getAllByDisplayValue:()=>o9,getAllByLabelText:()=>a9,getAllByPlaceholderText:()=>i9,getAllByRole:()=>s9,getAllByTestId:()=>l9,getAllByText:()=>u9,getAllByTitle:()=>c9,getByAltText:()=>d9,getByDisplayValue:()=>p9,getByLabelText:()=>f9,getByPlaceholderText:()=>m9,getByRole:()=>h9,getByTestId:()=>b9,getByText:()=>y9,getByTitle:()=>g9,getConfig:()=>v9,getDefaultNormalizer:()=>_9,getElementError:()=>E9,getNodeText:()=>w9,getQueriesForElement:()=>R9,getRoles:()=>C9,getSuggestedQuery:()=>S9,isInaccessible:()=>A9,isMockFunction:()=>jd,logDOM:()=>P9,logRoles:()=>T9,mocked:()=>u$,mocks:()=>Ta,onMockCall:()=>J0,prettyDOM:()=>O9,prettyFormat:()=>Z9,queries:()=>q9,queryAllByAltText:()=>x9,queryAllByAttribute:()=>M9,queryAllByDisplayValue:()=>N9,queryAllByLabelText:()=>j9,queryAllByPlaceholderText:()=>I9,queryAllByRole:()=>D9,queryAllByTestId:()=>F9,queryAllByText:()=>B9,queryAllByTitle:()=>L9,queryByAltText:()=>k9,queryByAttribute:()=>$9,queryByDisplayValue:()=>U9,queryByLabelText:()=>H9,queryByPlaceholderText:()=>V9,queryByRole:()=>G9,queryByTestId:()=>z9,queryByText:()=>W9,queryByTitle:()=>Y9,queryHelpers:()=>K9,resetAllMocks:()=>e_,restoreAllMocks:()=>t_,screen:()=>J9,spyOn:()=>l$,traverseArgs:()=>Di,userEvent:()=>eH,waitFor:()=>X9,waitForElementToBeRemoved:()=>Q9,within:()=>lE});On.exports=tT(mg);var hg=Us(),fI=bu(),bg=Object.defineProperty,mI=Object.getOwnPropertyNames,ne=(e,t)=>bg(e,"name",{value:t,configurable:!0}),hI=(e,t)=>function(){return t||(0,e[mI(e)[0]])((t={exports:{}}).exports,t),t.exports},kc=(e,t)=>{for(var r in t)bg(e,r,{get:t[r],enumerable:!0})},bI=hI({"(disabled):util"(){}}),xr={};kc(xr,{addChainableMethod:()=>Qc,addLengthGuard:()=>Sa,addMethod:()=>Kc,addProperty:()=>Yc,checkError:()=>nr,compareByInspect:()=>vi,eql:()=>Vg,expectTypes:()=>Cg,flag:()=>We,getActual:()=>Wi,getMessage:()=>Hc,getName:()=>Ki,getOperator:()=>rd,getOwnEnumerableProperties:()=>td,getOwnEnumerablePropertySymbols:()=>ed,getPathInfo:()=>Wc,hasProperty:()=>Yi,inspect:()=>ct,isNaN:()=>_i,isNumeric:()=>Bt,isProxyEnabled:()=>Ca,isRegExp:()=>Ei,objDisplay:()=>qn,overwriteChainableMethod:()=>Zc,overwriteMethod:()=>Xc,overwriteProperty:()=>Jc,proxify:()=>To,test:()=>$c,transferFlags:()=>Rr,type:()=>vt});var nr={};kc(nr,{compatibleConstructor:()=>vg,compatibleInstance:()=>gg,compatibleMessage:()=>_g,getConstructorName:()=>Eg,getMessage:()=>wg});function zi(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}ne(zi,"isErrorInstance");function yg(e){return Object.prototype.toString.call(e)==="[object RegExp]"}ne(yg,"isRegExp");function gg(e,t){return zi(t)&&e===t}ne(gg,"compatibleInstance");function vg(e,t){return zi(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}ne(vg,"compatibleConstructor");function _g(e,t){let r=typeof e=="string"?e:e.message;return yg(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}ne(_g,"compatibleMessage");function Eg(e){let t=e;return zi(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}ne(Eg,"getConstructorName");function wg(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}ne(wg,"getMessage");function We(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}ne(We,"flag");function $c(e,t){var r=We(e,"negate"),n=t[0];return r?!n:n}ne($c,"test");function vt(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)}ne(vt,"type");var yI="captureStackTrace"in Error,pt=class Rg extends Error{static{ne(this,"AssertionError")}message;get name(){return"AssertionError"}get ok(){return!1}constructor(t="Unspecified AssertionError",r,n){super(t),this.message=t,yI&&Error.captureStackTrace(this,n||Rg);for(let a in r)a in this||(this[a]=r[a])}toJSON(t){return{...this,name:this.name,message:this.message,ok:!1,stack:t!==!1?this.stack:void 0}}};function Cg(e,t){var r=We(e,"message"),n=We(e,"ssfi");r=r?r+": ":"",e=We(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var a=t.map(function(s,l){var u=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",d=t.length>1&&l===t.length-1?"or ":"";return d+u+" "+s}).join(", "),i=vt(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new pt(r+"object tested must be "+a+", but "+i+" given",void 0,n)}ne(Cg,"expectTypes");function Wi(e,t){return t.length>4?t[4]:e._obj}ne(Wi,"getActual");var Uh={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"]},gI={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},mo="\u2026";function Sg(e,t){let r=Uh[gI[t]]||Uh[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}ne(Sg,"colorise");function Ag({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=Sg),p}ne(Ag,"normaliseOptions");function Pg(e){return e>="\uD800"&&e<="\uDBFF"}ne(Pg,"isHighSurrogate");function Yr(e,t,r=mo){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let i=t-n;return i>0&&Pg(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}ne(Yr,"truncate");function fr(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<a;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${mo}(${e.length-d})`;let m=e[d];t.truncate=i-s.length-(c?0:n.length);let h=l||r(m,t)+(c?"":n),b=s.length+h.length,y=b+u.length;if(c&&b>i&&s.length+u.length<=i||!c&&!p&&y>i||(l=c?"":r(e[d+1],t)+(p?"":n),!c&&p&&y>i&&b+l.length>i))break;if(s+=h,!c&&!p&&b+l.length>=i){u=`${mo}(${e.length-d-1})`;break}u=""}return`${s}${u}`}ne(fr,"inspectList");function Tg(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}ne(Tg,"quoteComplexKey");function ho([e,t],r){return r.truncate-=2,typeof e=="string"?e=Tg(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}ne(ho,"inspectProperty");function Og(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=fr(e,t);t.truncate-=n.length;let a="";return r.length&&(a=fr(r.map(i=>[i,e[i]]),t,ho)),`[ ${n}${a?`, ${a}`:""} ]`}ne(Og,"inspectArray");var vI=ne(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function qr(e,t){let r=vI(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let s=0;s<e.length;s++){let l=`${t.stylize(Yr(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){a+=`${mo}(${e.length-e[s]+1})`;break}a+=l}let i="";return n.length&&(i=fr(n.map(s=>[s,e[s]]),t,ho)),`${r}[ ${a}${i?`, ${i}`:""} ]`}ne(qr,"inspectTypedArray");function qg(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${Yr(n[1],t.truncate-a.length-1)}`,"date")}ne(qg,"inspectDate");function Fu(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Yr(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}ne(Fu,"inspectFunction");function xg([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}ne(xg,"inspectMapEntry");function Mg(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}ne(Mg,"mapToEntries");function Ng(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${fr(Mg(e),t,xg)} }`)}ne(Ng,"inspectMap");var _I=Number.isNaN||(e=>e!==e);function Bu(e,t){return _I(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(Yr(String(e),t.truncate),"number")}ne(Bu,"inspectNumber");function Lu(e,t){let r=Yr(e.toString(),t.truncate-1);return r!==mo&&(r+="n"),t.stylize(r,"bigint")}ne(Lu,"inspectBigInt");function jg(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${Yr(a,n)}/${r}`,"regexp")}ne(jg,"inspectRegExp");function Ig(e){let t=[];return e.forEach(r=>{t.push(r)}),t}ne(Ig,"arrayFromSet");function Dg(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${fr(Ig(e),t)} }`)}ne(Dg,"inspectSet");var Hh=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),EI={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},wI=16,RI=4;function Fg(e){return EI[e]||`\\u${`0000${e.charCodeAt(0).toString(wI)}`.slice(-RI)}`}ne(Fg,"escape");function ku(e,t){return Hh.test(e)&&(e=e.replace(Hh,Fg)),t.stylize(`'${Yr(e,t.truncate-2)}'`,"string")}ne(ku,"inspectString");function $u(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}ne($u,"inspectSymbol");var Bg=ne(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Bg=ne((n,a)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${a.inspect(s,a)}}`},"getPromiseValue"))}catch{}var CI=Bg;function ta(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 a=fr(r.map(l=>[l,e[l]]),t,ho),i=fr(n.map(l=>[l,e[l]]),t,ho);t.seen.pop();let s="";return a&&i&&(s=", "),`{ ${a}${s}${i} }`}ne(ta,"inspectObject");var yu=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function Lg(e,t){let r="";return yu&&yu in e&&(r=e[yu]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ta(e,t)}`}ne(Lg,"inspectClass");function kg(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${fr(e,t)} ]`)}ne(kg,"inspectArguments");var SI=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function $g(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>SI.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=Yr(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=fr(r.map(s=>[s,e[s]]),t,ho);return`${n}${a}${i?` { ${i} }`:""}`}ne($g,"inspectObject");function Ug([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}ne(Ug,"inspectAttribute");function bi(e,t){return fr(e,t,Uc,`
304
- `)}ne(bi,"inspectHTMLCollection");function Uc(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=fr(r.map(c=>[c,e.getAttribute(c)]),t,Ug," ")),t.truncate-=l.length;let u=t.truncate,d=bi(e.children,t);return d&&d.length>u&&(d=`${mo}(${e.children.length})`),`${a}${l}${i}${d}${s}`}ne(Uc,"inspectHTML");var AI=typeof Symbol=="function"&&typeof Symbol.for=="function",gu=AI?Symbol.for("chai/inspect"):"@@chai/inspect",no=!1;try{let e=bI();no=e.inspect?e.inspect.custom:!1}catch{no=!1}var Vh=new WeakMap,Gh={},zh={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:Bu,Number:Bu,bigint:Lu,BigInt:Lu,string:ku,String:ku,function:Fu,Function:Fu,symbol:$u,Symbol:$u,Array:Og,Date:qg,Map:Ng,Set:Dg,RegExp:jg,Promise:CI,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:kg,Int8Array:qr,Uint8Array:qr,Uint8ClampedArray:qr,Int16Array:qr,Uint16Array:qr,Int32Array:qr,Uint32Array:qr,Float32Array:qr,Float64Array:qr,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:$g,HTMLCollection:bi,NodeList:bi},PI=ne((e,t,r)=>gu in e&&typeof e[gu]=="function"?e[gu](t):no&&no in e&&typeof e[no]=="function"?e[no](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&Vh.has(e.constructor)?Vh.get(e.constructor)(e,t):Gh[r]?Gh[r](e,t):"","inspectCustom"),TI=Object.prototype.toString;function yi(e,t={}){let r=Ag(t,yi),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=TI.call(e).slice(8,-1)),a in zh)return zh[a](e,r);if(n&&e){let s=PI(e,r,a);if(s)return typeof s=="string"?s:yi(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ta(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Uc(e,r):"constructor"in e?e.constructor!==Object?Lg(e,r):ta(e,r):e===Object(e)?ta(e,r):r.stylize(String(e),a)}ne(yi,"inspect");var Zt={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function ct(e,t,r,n){var a={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:Zt.truncateThreshold?Zt.truncateThreshold:1/0};return yi(e,a)}ne(ct,"inspect");function qn(e){var t=ct(e),r=Object.prototype.toString.call(e);if(Zt.truncateThreshold&&t.length>=Zt.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]"){var n=Object.keys(e),a=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+a+") }"}else return t}else return t}ne(qn,"objDisplay");function Hc(e,t){var r=We(e,"negate"),n=We(e,"object"),a=t[3],i=Wi(e,t),s=r?t[2]:t[1],l=We(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return qn(n)}).replace(/#\{act\}/g,function(){return qn(i)}).replace(/#\{exp\}/g,function(){return qn(a)}),l?l+": "+s:s}ne(Hc,"getMessage");function Rr(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var a in n)(r||a!=="object"&&a!=="ssfi"&&a!=="lockSsfi"&&a!="message")&&(t.__flags[a]=n[a])}ne(Rr,"transferFlags");function Uu(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)}ne(Uu,"type");function Vc(){this._key="chai/deep-eql__"+Math.random()+Date.now()}ne(Vc,"FakeMap");Vc.prototype={get:ne(function(e){return e[this._key]},"get"),set:ne(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var Hg=typeof WeakMap=="function"?WeakMap:Vc;function Hu(e,t,r){if(!r||Nn(e)||Nn(t))return null;var n=r.get(e);if(n){var a=n.get(t);if(typeof a=="boolean")return a}return null}ne(Hu,"memoizeCompare");function Xo(e,t,r,n){if(!(!r||Nn(e)||Nn(t))){var a=r.get(e);a?a.set(t,n):(a=new Hg,a.set(t,n),r.set(e,a))}}ne(Xo,"memoizeSet");var Vg=Ra;function Ra(e,t,r){if(r&&r.comparator)return Vu(e,t,r);var n=Gc(e,t);return n!==null?n:Vu(e,t,r)}ne(Ra,"deepEqual");function Gc(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Nn(e)||Nn(t)?!1:null}ne(Gc,"simpleEqual");function Vu(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new Hg;var n=r&&r.comparator,a=Hu(e,t,r.memoize);if(a!==null)return a;var i=Hu(t,e,r.memoize);if(i!==null)return i;if(n){var s=n(e,t);if(s===!1||s===!0)return Xo(e,t,r.memoize,s),s;var l=Gc(e,t);if(l!==null)return l}var u=Uu(e);if(u!==Uu(t))return Xo(e,t,r.memoize,!1),!1;Xo(e,t,r.memoize,!0);var d=Gg(e,t,u,r);return Xo(e,t,r.memoize,d),d}ne(Vu,"extensiveDeepEqual");function Gg(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Ra(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return zc(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 mn(e,t,n);case"RegExp":return zg(e,t);case"Generator":return Wg(e,t,n);case"DataView":return mn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return mn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Gu(e,t,n);case"Map":return Gu(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 Kg(e,t,n)}}ne(Gg,"extensiveDeepEqualByType");function zg(e,t){return e.toString()===t.toString()}ne(zg,"regexpEqual");function Gu(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],a=[];return e.forEach(ne(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(ne(function(i,s){a.push([i,s])},"gatherEntries")),mn(n.sort(),a.sort(),r)}ne(Gu,"entriesEqual");function mn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var a=-1;++a<n;)if(Ra(e[a],t[a],r)===!1)return!1;return!0}ne(mn,"iterableEqual");function Wg(e,t,r){return mn(gi(e),gi(t),r)}ne(Wg,"generatorEqual");function Yg(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}ne(Yg,"hasIteratorFunction");function zu(e){if(Yg(e))try{return gi(e[Symbol.iterator]())}catch{return[]}return[]}ne(zu,"getIteratorEntries");function gi(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}ne(gi,"getGeneratorEntries");function Wu(e){var t=[];for(var r in e)t.push(r);return t}ne(Wu,"getEnumerableKeys");function Yu(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var a=r[n];Object.getOwnPropertyDescriptor(e,a).enumerable&&t.push(a)}return t}ne(Yu,"getEnumerableSymbols");function zc(e,t,r,n){var a=r.length;if(a===0)return!0;for(var i=0;i<a;i+=1)if(Ra(e[r[i]],t[r[i]],n)===!1)return!1;return!0}ne(zc,"keysEqual");function Kg(e,t,r){var n=Wu(e),a=Wu(t),i=Yu(e),s=Yu(t);if(n=n.concat(i),a=a.concat(s),n.length&&n.length===a.length)return mn(Ku(n).sort(),Ku(a).sort())===!1?!1:zc(e,t,n,r);var l=zu(e),u=zu(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),mn(l,u,r)):n.length===0&&l.length===0&&a.length===0&&u.length===0}ne(Kg,"objectEqual");function Nn(e){return e===null||typeof e!="object"}ne(Nn,"isPrimitive");function Ku(e){return e.map(ne(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}ne(Ku,"mapSymbols");function Yi(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}ne(Yi,"hasProperty");function Jg(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})}ne(Jg,"parsePath");function Ju(e,t,r){let n=e,a=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let s=t[i];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],i===r-1&&(a=n))}return a}ne(Ju,"internalGetPathValue");function Wc(e,t){let r=Jg(t),n=r[r.length-1],a={parent:r.length>1?Ju(e,r,r.length-1):e,name:n.p||n.i,value:Ju(e,r)};return a.exists=Yi(a.parent,a.name),a}ne(Wc,"getPathInfo");function L(e,t,r,n){return We(this,"ssfi",r||L),We(this,"lockSsfi",n),We(this,"object",e),We(this,"message",t),We(this,"eql",Zt.deepEqual||Vg),To(this)}ne(L,"Assertion");Object.defineProperty(L,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Zt.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),Zt.includeStack=e}});Object.defineProperty(L,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Zt.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),Zt.showDiff=e}});L.addProperty=function(e,t){Yc(this.prototype,e,t)};L.addMethod=function(e,t){Kc(this.prototype,e,t)};L.addChainableMethod=function(e,t,r){Qc(this.prototype,e,t,r)};L.overwriteProperty=function(e,t){Jc(this.prototype,e,t)};L.overwriteMethod=function(e,t){Xc(this.prototype,e,t)};L.overwriteChainableMethod=function(e,t,r){Zc(this.prototype,e,t,r)};L.prototype.assert=function(e,t,r,n,a,i){var s=$c(this,arguments);if(i!==!1&&(i=!0),n===void 0&&a===void 0&&(i=!1),Zt.showDiff!==!0&&(i=!1),!s){t=Hc(this,arguments);var l=Wi(this,arguments),u={actual:l,expected:n,showDiff:i},d=rd(this,arguments);throw d&&(u.operator=d),new pt(t,u,Zt.includeStack?this.assert:We(this,"ssfi"))}};Object.defineProperty(L.prototype,"_obj",{get:function(){return We(this,"object")},set:function(e){We(this,"object",e)}});function Ca(){return Zt.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}ne(Ca,"isProxyEnabled");function Yc(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:ne(function n(){!Ca()&&!We(this,"lockSsfi")&&We(this,"ssfi",n);var a=r.call(this);if(a!==void 0)return a;var i=new L;return Rr(this,i),i},"propertyGetter"),configurable:!0})}ne(Yc,"addProperty");var OI=Object.getOwnPropertyDescriptor(function(){},"length");function Sa(e,t,r){return OI.configurable&&Object.defineProperty(e,"length",{get: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+'".')}}),e}ne(Sa,"addLengthGuard");function Xg(e){var t=Object.getOwnPropertyNames(e);function r(a){t.indexOf(a)===-1&&t.push(a)}ne(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}ne(Xg,"getProperties");var Wh=["__flags","__methods","_obj","assert"];function To(e,t){return Ca()?new Proxy(e,{get:ne(function r(n,a){if(typeof a=="string"&&Zt.proxyExcludedKeys.indexOf(a)===-1&&!Reflect.has(n,a)){if(t)throw Error("Invalid Chai property: "+t+"."+a+'. See docs for proper usage of "'+t+'".');var i=null,s=4;throw Xg(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&Wh.indexOf(l)===-1){var u=Qg(a,l,s);u<s&&(i=l,s=u)}}),Error(i!==null?"Invalid Chai property: "+a+'. Did you mean "'+i+'"?':"Invalid Chai property: "+a)}return Wh.indexOf(a)===-1&&!We(n,"lockSsfi")&&We(n,"ssfi",r),Reflect.get(n,a)},"proxyGetter")}):e}ne(To,"proxify");function Qg(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var 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++){var a=e.charCodeAt(i-1);for(let s=1;s<=t.length;s++){if(Math.abs(i-s)>=r){n[i][s]=r;continue}n[i][s]=Math.min(n[i-1][s]+1,n[i][s-1]+1,n[i-1][s-1]+(a===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}ne(Qg,"stringDistanceCapped");function Kc(e,t,r){var n=ne(function(){We(this,"lockSsfi")||We(this,"ssfi",n);var a=r.apply(this,arguments);if(a!==void 0)return a;var i=new L;return Rr(this,i),i},"methodWrapper");Sa(n,t,!1),e[t]=To(n,t)}ne(Kc,"addMethod");function Jc(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),a=ne(function(){},"_super");n&&typeof n.get=="function"&&(a=n.get),Object.defineProperty(e,t,{get:ne(function i(){!Ca()&&!We(this,"lockSsfi")&&We(this,"ssfi",i);var s=We(this,"lockSsfi");We(this,"lockSsfi",!0);var l=r(a).call(this);if(We(this,"lockSsfi",s),l!==void 0)return l;var u=new L;return Rr(this,u),u},"overwritingPropertyGetter"),configurable:!0})}ne(Jc,"overwriteProperty");function Xc(e,t,r){var n=e[t],a=ne(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(a=n);var i=ne(function(){We(this,"lockSsfi")||We(this,"ssfi",i);var s=We(this,"lockSsfi");We(this,"lockSsfi",!0);var l=r(a).apply(this,arguments);if(We(this,"lockSsfi",s),l!==void 0)return l;var u=new L;return Rr(this,u),u},"overwritingMethodWrapper");Sa(i,t,!1),e[t]=To(i,t)}ne(Xc,"overwriteMethod");var qI=typeof Object.setPrototypeOf=="function",Yh=ne(function(){},"testFn"),xI=Object.getOwnPropertyNames(Yh).filter(function(e){var t=Object.getOwnPropertyDescriptor(Yh,e);return typeof t!="object"?!0:!t.configurable}),MI=Function.prototype.call,NI=Function.prototype.apply;function Qc(e,t,r,n){typeof n!="function"&&(n=ne(function(){},"chainingBehavior"));var a={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=a,Object.defineProperty(e,t,{get:ne(function(){a.chainingBehavior.call(this);var i=ne(function(){We(this,"lockSsfi")||We(this,"ssfi",i);var u=a.method.apply(this,arguments);if(u!==void 0)return u;var d=new L;return Rr(this,d),d},"chainableMethodWrapper");if(Sa(i,t,!0),qI){var s=Object.create(this);s.call=MI,s.apply=NI,Object.setPrototypeOf(i,s)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(xI.indexOf(u)===-1){var d=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,d)}})}return Rr(this,i),To(i)},"chainableMethodGetter"),configurable:!0})}ne(Qc,"addChainableMethod");function Zc(e,t,r,n){var a=e.__methods[t],i=a.chainingBehavior;a.chainingBehavior=ne(function(){var l=n(i).call(this);if(l!==void 0)return l;var u=new L;return Rr(this,u),u},"overwritingChainableMethodGetter");var s=a.method;a.method=ne(function(){var l=r(s).apply(this,arguments);if(l!==void 0)return l;var u=new L;return Rr(this,u),u},"overwritingChainableMethodWrapper")}ne(Zc,"overwriteChainableMethod");function vi(e,t){return ct(e)<ct(t)?-1:1}ne(vi,"compareByInspect");function ed(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}ne(ed,"getOwnEnumerablePropertySymbols");function td(e){return Object.keys(e).concat(ed(e))}ne(td,"getOwnEnumerableProperties");var _i=Number.isNaN;function Zg(e){var t=vt(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}ne(Zg,"isObjectType");function rd(e,t){var r=We(e,"operator"),n=We(e,"negate"),a=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=Zg(a);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}ne(rd,"getOperator");function Ki(e){return e.name}ne(Ki,"getName");function Ei(e){return Object.prototype.toString.call(e)==="[object RegExp]"}ne(Ei,"isRegExp");function Bt(e){return["Number","BigInt"].includes(vt(e))}ne(Bt,"isNumeric");var{flag:X}=xr;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){L.addProperty(e)});L.addProperty("not",function(){X(this,"negate",!0)});L.addProperty("deep",function(){X(this,"deep",!0)});L.addProperty("nested",function(){X(this,"nested",!0)});L.addProperty("own",function(){X(this,"own",!0)});L.addProperty("ordered",function(){X(this,"ordered",!0)});L.addProperty("any",function(){X(this,"any",!0),X(this,"all",!1)});L.addProperty("all",function(){X(this,"all",!0),X(this,"any",!1)});var Kh={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function nd(e,t){t&&X(this,"message",t),e=e.toLowerCase();var r=X(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let a=vt(r).toLowerCase();Kh.function.includes(e)?this.assert(Kh[e].includes(a),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===a,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}ne(nd,"an");L.addChainableMethod("an",nd);L.addChainableMethod("a",nd);function ev(e,t){return _i(e)&&_i(t)||e===t}ne(ev,"SameValueZero");function Aa(){X(this,"contains",!0)}ne(Aa,"includeChainingBehavior");function Pa(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=vt(r).toLowerCase(),a=X(this,"message"),i=X(this,"negate"),s=X(this,"ssfi"),l=X(this,"deep"),u=l?"deep ":"",d=l?X(this,"eql"):ev;a=a?a+": ":"";var c=!1;switch(n){case"string":c=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new pt(a+"unable to use .deep.include with WeakSet",void 0,s);c=r.has(e);break;case"map":r.forEach(function(b){c=c||d(b,e)});break;case"set":l?r.forEach(function(b){c=c||d(b,e)}):c=r.has(e);break;case"array":l?c=r.some(function(b){return d(b,e)}):c=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new pt(a+"the given combination of arguments ("+n+" and "+vt(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 "+vt(e).toLowerCase(),void 0,s);var p=Object.keys(e),m=null,h=0;if(p.forEach(function(b){var y=new L(r);if(Rr(this,y,!0),X(y,"lockSsfi",!0),!i||p.length===1){y.property(b,e[b]);return}try{y.property(b,e[b])}catch(v){if(!nr.compatibleConstructor(v,pt))throw v;m===null&&(m=v),h++}},this),i&&p.length>1&&h===p.length)throw m;return}this.assert(c,"expected #{this} to "+u+"include "+ct(e),"expected #{this} to not "+u+"include "+ct(e))}ne(Pa,"include");L.addChainableMethod("include",Pa,Aa);L.addChainableMethod("contain",Pa,Aa);L.addChainableMethod("contains",Pa,Aa);L.addChainableMethod("includes",Pa,Aa);L.addProperty("ok",function(){this.assert(X(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});L.addProperty("true",function(){this.assert(X(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!X(this,"negate"))});L.addProperty("numeric",function(){let e=X(this,"object");this.assert(["Number","BigInt"].includes(vt(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!X(this,"negate"))});L.addProperty("callable",function(){let e=X(this,"object"),t=X(this,"ssfi"),r=X(this,"message"),n=r?`${r}: `:"",a=X(this,"negate"),i=a?`${n}expected ${ct(e)} not to be a callable function`:`${n}expected ${ct(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(vt(e));if(s&&a||!s&&!a)throw new pt(i,void 0,t)});L.addProperty("false",function(){this.assert(X(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!X(this,"negate"))});L.addProperty("null",function(){this.assert(X(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});L.addProperty("undefined",function(){this.assert(X(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});L.addProperty("NaN",function(){this.assert(_i(X(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function od(){var e=X(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}ne(od,"assertExist");L.addProperty("exist",od);L.addProperty("exists",od);L.addProperty("empty",function(){var e=X(this,"object"),t=X(this,"ssfi"),r=X(this,"message"),n;switch(r=r?r+": ":"",vt(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new pt(r+".empty was passed a weak collection",void 0,t);case"function":var a=r+".empty was passed a function "+Ki(e);throw new pt(a.trim(),void 0,t);default:if(e!==Object(e))throw new pt(r+".empty was passed non-string primitive "+ct(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 ad(){var e=X(this,"object"),t=vt(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}ne(ad,"checkArguments");L.addProperty("arguments",ad);L.addProperty("Arguments",ad);function Ji(e,t){t&&X(this,"message",t);var r=X(this,"object");if(X(this,"deep")){var n=X(this,"lockSsfi");X(this,"lockSsfi",!0),this.eql(e),X(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}ne(Ji,"assertEqual");L.addMethod("equal",Ji);L.addMethod("equals",Ji);L.addMethod("eq",Ji);function id(e,t){t&&X(this,"message",t);var r=X(this,"eql");this.assert(r(e,X(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}ne(id,"assertEql");L.addMethod("eql",id);L.addMethod("eqls",id);function Xi(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),i=a?a+": ":"",s=X(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new L(r,a,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new pt(i+"the argument to above must be a date",void 0,s);if(!Bt(e)&&(n||Bt(r)))throw new pt(i+"the argument to above must be a number",void 0,s);if(!n&&l!=="date"&&!Bt(r)){var d=l==="string"?"'"+r+"'":r;throw new pt(i+"expected "+d+" to be a number or a date",void 0,s)}if(n){var c="length",p;l==="map"||l==="set"?(c="size",p=r.size):p=r.length,this.assert(p>e,"expected #{this} to have a "+c+" above #{exp} but got #{act}","expected #{this} to not have a "+c+" above #{exp}",e,p)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}ne(Xi,"assertAbove");L.addMethod("above",Xi);L.addMethod("gt",Xi);L.addMethod("greaterThan",Xi);function Qi(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),i=a?a+": ":"",s=X(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),d,c=!0;if(n&&l!=="map"&&l!=="set"&&new L(r,a,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")d=i+"the argument to least must be a date";else if(!Bt(e)&&(n||Bt(r)))d=i+"the argument to least must be a number";else if(!n&&l!=="date"&&!Bt(r)){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new pt(d,void 0,s);if(n){var m="length",h;l==="map"||l==="set"?(m="size",h=r.size):h=r.length,this.assert(h>=e,"expected #{this} to have a "+m+" at least #{exp} but got #{act}","expected #{this} to have a "+m+" below #{exp}",e,h)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}ne(Qi,"assertLeast");L.addMethod("least",Qi);L.addMethod("gte",Qi);L.addMethod("greaterThanOrEqual",Qi);function Zi(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),i=a?a+": ":"",s=X(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),d,c=!0;if(n&&l!=="map"&&l!=="set"&&new L(r,a,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")d=i+"the argument to below must be a date";else if(!Bt(e)&&(n||Bt(r)))d=i+"the argument to below must be a number";else if(!n&&l!=="date"&&!Bt(r)){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new pt(d,void 0,s);if(n){var m="length",h;l==="map"||l==="set"?(m="size",h=r.size):h=r.length,this.assert(h<e,"expected #{this} to have a "+m+" below #{exp} but got #{act}","expected #{this} to not have a "+m+" below #{exp}",e,h)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}ne(Zi,"assertBelow");L.addMethod("below",Zi);L.addMethod("lt",Zi);L.addMethod("lessThan",Zi);function es(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"doLength"),a=X(this,"message"),i=a?a+": ":"",s=X(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),d,c=!0;if(n&&l!=="map"&&l!=="set"&&new L(r,a,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")d=i+"the argument to most must be a date";else if(!Bt(e)&&(n||Bt(r)))d=i+"the argument to most must be a number";else if(!n&&l!=="date"&&!Bt(r)){var p=l==="string"?"'"+r+"'":r;d=i+"expected "+p+" to be a number or a date"}else c=!1;if(c)throw new pt(d,void 0,s);if(n){var m="length",h;l==="map"||l==="set"?(m="size",h=r.size):h=r.length,this.assert(h<=e,"expected #{this} to have a "+m+" at most #{exp} but got #{act}","expected #{this} to have a "+m+" above #{exp}",e,h)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}ne(es,"assertMost");L.addMethod("most",es);L.addMethod("lte",es);L.addMethod("lessThanOrEqual",es);L.addMethod("within",function(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"doLength"),i=X(this,"message"),s=i?i+": ":"",l=X(this,"ssfi"),u=vt(n).toLowerCase(),d=vt(e).toLowerCase(),c=vt(t).toLowerCase(),p,m=!0,h=d==="date"&&c==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(a&&u!=="map"&&u!=="set"&&new L(n,i,l,!0).to.have.property("length"),!a&&u==="date"&&(d!=="date"||c!=="date"))p=s+"the arguments to within must be dates";else if((!Bt(e)||!Bt(t))&&(a||Bt(n)))p=s+"the arguments to within must be numbers";else if(!a&&u!=="date"&&!Bt(n)){var b=u==="string"?"'"+n+"'":n;p=s+"expected "+b+" to be a number or a date"}else m=!1;if(m)throw new pt(p,void 0,l);if(a){var y="length",v;u==="map"||u==="set"?(y="size",v=n.size):v=n.length,this.assert(v>=e&&v<=t,"expected #{this} to have a "+y+" within "+h,"expected #{this} to not have a "+y+" within "+h)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+h,"expected #{this} to not be within "+h)});function sd(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"ssfi"),a=X(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(a=a?a+": ":"",new pt(a+"The instanceof assertion needs a constructor but "+vt(e)+" was given.",void 0,n)):l}var s=Ki(e);s==null&&(s="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}ne(sd,"assertInstanceOf");L.addMethod("instanceof",sd);L.addMethod("instanceOf",sd);function ld(e,t,r){r&&X(this,"message",r);var n=X(this,"nested"),a=X(this,"own"),i=X(this,"message"),s=X(this,"object"),l=X(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new pt(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new pt(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&a)throw new pt(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new pt(i+"Target cannot be null or undefined.",void 0,l);var d=X(this,"deep"),c=X(this,"negate"),p=n?Wc(s,e):null,m=n?p.value:s[e],h=d?X(this,"eql"):(v,g)=>v===g,b="";d&&(b+="deep "),a&&(b+="own "),n&&(b+="nested "),b+="property ";var y;a?y=Object.prototype.hasOwnProperty.call(s,e):n?y=p.exists:y=Yi(s,e),(!c||arguments.length===1)&&this.assert(y,"expected #{this} to have "+b+ct(e),"expected #{this} to not have "+b+ct(e)),arguments.length>1&&this.assert(y&&h(t,m),"expected #{this} to have "+b+ct(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+b+ct(e)+" of #{act}",t,m),X(this,"object",m)}ne(ld,"assertProperty");L.addMethod("property",ld);function ud(e,t,r){X(this,"own",!0),ld.apply(this,arguments)}ne(ud,"assertOwnProperty");L.addMethod("ownProperty",ud);L.addMethod("haveOwnProperty",ud);function cd(e,t,r){typeof t=="string"&&(r=t,t=null),r&&X(this,"message",r);var n=X(this,"object"),a=Object.getOwnPropertyDescriptor(Object(n),e),i=X(this,"eql");a&&t?this.assert(i(t,a),"expected the own property descriptor for "+ct(e)+" on #{this} to match "+ct(t)+", got "+ct(a),"expected the own property descriptor for "+ct(e)+" on #{this} to not match "+ct(t),t,a,!0):this.assert(a,"expected #{this} to have an own property descriptor for "+ct(e),"expected #{this} to not have an own property descriptor for "+ct(e)),X(this,"object",a)}ne(cd,"assertOwnPropertyDescriptor");L.addMethod("ownPropertyDescriptor",cd);L.addMethod("haveOwnPropertyDescriptor",cd);function dd(){X(this,"doLength",!0)}ne(dd,"assertLengthChain");function pd(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=vt(r).toLowerCase(),a=X(this,"message"),i=X(this,"ssfi"),s="length",l;switch(n){case"map":case"set":s="size",l=r.size;break;default:new L(r,a,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,l)}ne(pd,"assertLength");L.addChainableMethod("length",pd,dd);L.addChainableMethod("lengthOf",pd,dd);function fd(e,t){t&&X(this,"message",t);var r=X(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}ne(fd,"assertMatch");L.addMethod("match",fd);L.addMethod("matches",fd);L.addMethod("string",function(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"message"),a=X(this,"ssfi");new L(r,n,a,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+ct(e),"expected #{this} to not contain "+ct(e))});function md(e){var t=X(this,"object"),r=vt(t),n=vt(e),a=X(this,"ssfi"),i=X(this,"deep"),s,l="",u,d=!0,c=X(this,"message");c=c?c+": ":"";var p=c+"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")l=i?"deeply ":"",u=[],t.forEach(function(E,T){u.push(T)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=td(t),n){case"Array":if(arguments.length>1)throw new pt(p,void 0,a);break;case"Object":if(arguments.length>1)throw new pt(p,void 0,a);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 pt(c+"keys required",void 0,a);var m=e.length,h=X(this,"any"),b=X(this,"all"),y=e,v=i?X(this,"eql"):(E,T)=>E===T;if(!h&&!b&&(b=!0),h&&(d=y.some(function(E){return u.some(function(T){return v(E,T)})})),b&&(d=y.every(function(E){return u.some(function(T){return v(E,T)})}),X(this,"contains")||(d=d&&e.length==u.length)),m>1){e=e.map(function(E){return ct(E)});var g=e.pop();b&&(s=e.join(", ")+", and "+g),h&&(s=e.join(", ")+", or "+g)}else s=ct(e[0]);s=(m>1?"keys ":"key ")+s,s=(X(this,"contains")?"contain ":"have ")+s,this.assert(d,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,y.slice(0).sort(vi),u.sort(vi),!0)}ne(md,"assertKeys");L.addMethod("keys",md);L.addMethod("key",md);function ts(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"ssfi"),i=X(this,"message"),s=X(this,"negate")||!1;new L(n,i,a,!0).is.a("function"),(Ei(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(E){u=!0,l=E}var d=e===void 0&&t===void 0,c=!!(e&&t),p=!1,m=!1;if(d||!d&&!s){var h="an error";e instanceof Error?h="#{exp}":e&&(h=nr.getConstructorName(e));let E=l;if(l instanceof Error)E=l.toString();else if(typeof l=="string")E=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{E=nr.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+h,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),E)}if(e&&l){if(e instanceof Error){var b=nr.compatibleInstance(l,e);b===s&&(c&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!s?" but #{act} was thrown":""),e.toString(),l.toString()))}var y=nr.compatibleConstructor(l,e);y===s&&(c&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&nr.getConstructorName(e),l instanceof Error?l.toString():l&&nr.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var v="including";Ei(t)&&(v="matching");var g=nr.compatibleMessage(l,t);g===s&&(c&&s?m=!0:this.assert(s,"expected #{this} to throw error "+v+" #{exp} but got #{act}","expected #{this} to throw error not "+v+" #{exp}",t,nr.getMessage(l)))}p&&m&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&nr.getConstructorName(e),l instanceof Error?l.toString():l&&nr.getConstructorName(l)),X(this,"object",l)}ne(ts,"assertThrows");L.addMethod("throw",ts);L.addMethod("throws",ts);L.addMethod("Throw",ts);function hd(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"itself"),a=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof a=="function","expected #{this} to respond to "+ct(e),"expected #{this} to not respond to "+ct(e))}ne(hd,"respondTo");L.addMethod("respondTo",hd);L.addMethod("respondsTo",hd);L.addProperty("itself",function(){X(this,"itself",!0)});function bd(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+qn(e),"expected #{this} to not satisfy"+qn(e),!X(this,"negate"),n)}ne(bd,"satisfy");L.addMethod("satisfy",bd);L.addMethod("satisfies",bd);function yd(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),i=X(this,"ssfi");new L(n,a,i,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new pt(a?`${a}: ${s}`:s,void 0,i);if(new L(t,a,i,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new pt(a?`${a}: ${s}`:s,void 0,i);new L(e,a,i,!0).is.numeric;let l=ne(d=>d<0n?-d:d,"abs"),u=ne(d=>parseFloat(parseFloat(d).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}ne(yd,"closeTo");L.addMethod("closeTo",yd);L.addMethod("approximately",yd);function tv(e,t,r,n,a){let i=Array.from(t),s=Array.from(e);if(!n){if(s.length!==i.length)return!1;i=i.slice()}return s.every(function(l,u){if(a)return r?r(l,i[u]):l===i[u];if(!r){var d=i.indexOf(l);return d===-1?!1:(n||i.splice(d,1),!0)}return i.some(function(c,p){return r(l,c)?(n||i.splice(p,1),!0):!1})})}ne(tv,"isSubsetOf");L.addMethod("members",function(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"message"),a=X(this,"ssfi");new L(r,n,a,!0).to.be.iterable,new L(e,n,a,!0).to.be.iterable;var i=X(this,"contains"),s=X(this,"ordered"),l,u,d;i?(l=s?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",d="expected #{this} to not be "+l+" of #{exp}"):(l=s?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",d="expected #{this} to not have the same "+l+" as #{exp}");var c=X(this,"deep")?X(this,"eql"):void 0;this.assert(tv(e,r,c,i,s),u,d,e,r,!0)});L.addProperty("iterable",function(e){e&&X(this,"message",e);var t=X(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function rv(e,t){t&&X(this,"message",t);var r=X(this,"object"),n=X(this,"message"),a=X(this,"ssfi"),i=X(this,"contains"),s=X(this,"deep"),l=X(this,"eql");new L(e,n,a,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(u){return l(r,u)}),"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)}ne(rv,"oneOf");L.addMethod("oneOf",rv);function gd(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),i=X(this,"ssfi");new L(n,a,i,!0).is.a("function");var s;t?(new L(e,a,i,!0).to.have.property(t),s=e[t]):(new L(e,a,i,!0).is.a("function"),s=e()),n();var l=t==null?e():e[t],u=t==null?s:"."+t;X(this,"deltaMsgObj",u),X(this,"initialDeltaValue",s),X(this,"finalDeltaValue",l),X(this,"deltaBehavior","change"),X(this,"realDelta",l!==s),this.assert(s!==l,"expected "+u+" to change","expected "+u+" to not change")}ne(gd,"assertChanges");L.addMethod("change",gd);L.addMethod("changes",gd);function vd(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),i=X(this,"ssfi");new L(n,a,i,!0).is.a("function");var s;t?(new L(e,a,i,!0).to.have.property(t),s=e[t]):(new L(e,a,i,!0).is.a("function"),s=e()),new L(s,a,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;X(this,"deltaMsgObj",u),X(this,"initialDeltaValue",s),X(this,"finalDeltaValue",l),X(this,"deltaBehavior","increase"),X(this,"realDelta",l-s),this.assert(l-s>0,"expected "+u+" to increase","expected "+u+" to not increase")}ne(vd,"assertIncreases");L.addMethod("increase",vd);L.addMethod("increases",vd);function _d(e,t,r){r&&X(this,"message",r);var n=X(this,"object"),a=X(this,"message"),i=X(this,"ssfi");new L(n,a,i,!0).is.a("function");var s;t?(new L(e,a,i,!0).to.have.property(t),s=e[t]):(new L(e,a,i,!0).is.a("function"),s=e()),new L(s,a,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;X(this,"deltaMsgObj",u),X(this,"initialDeltaValue",s),X(this,"finalDeltaValue",l),X(this,"deltaBehavior","decrease"),X(this,"realDelta",s-l),this.assert(l-s<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}ne(_d,"assertDecreases");L.addMethod("decrease",_d);L.addMethod("decreases",_d);function nv(e,t){t&&X(this,"message",t);var r=X(this,"deltaMsgObj"),n=X(this,"initialDeltaValue"),a=X(this,"finalDeltaValue"),i=X(this,"deltaBehavior"),s=X(this,"realDelta"),l;i==="change"?l=Math.abs(a-n)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}ne(nv,"assertDelta");L.addMethod("by",nv);L.addProperty("extensible",function(){var e=X(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});L.addProperty("sealed",function(){var e=X(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});L.addProperty("frozen",function(){var e=X(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});L.addProperty("finite",function(e){var t=X(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 wi(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 wi(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],a=t[r];return typeof n=="object"&&n!==null&&a!==null?wi(n,a):typeof n=="function"?n(a):a===n}):!1}ne(wi,"compareSubset");L.addMethod("containSubset",function(e){let t=We(this,"object"),r=Zt.showDiff;this.assert(wi(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function xn(e,t){return new L(e,t)}ne(xn,"expect");xn.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new pt(r,{actual:e,expected:t,operator:n},xn.fail)};var ov={};kc(ov,{Should:()=>II,should:()=>jI});function Ed(){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 L(this.valueOf(),null,e):new L(this,null,e)}ne(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}ne(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,a,i,s){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new pt(i,{actual:n,expected:a,operator:s},r.fail)},r.equal=function(n,a,i){new L(n,i).to.equal(a)},r.Throw=function(n,a,i,s){new L(n,s).to.Throw(a,i)},r.exist=function(n,a){new L(n,a).to.exist},r.not={},r.not.equal=function(n,a,i){new L(n,i).to.not.equal(a)},r.not.Throw=function(n,a,i,s){new L(n,s).to.not.Throw(a,i)},r.not.exist=function(n,a){new L(n,a).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}ne(Ed,"loadShould");var jI=Ed,II=Ed;function B(e,t){var r=new L(null,null,B,!0);r.assert(e,t,"[ negation message unavailable ]")}ne(B,"assert");B.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new pt(r,{actual:e,expected:t,operator:n},B.fail)};B.isOk=function(e,t){new L(e,t,B.isOk,!0).is.ok};B.isNotOk=function(e,t){new L(e,t,B.isNotOk,!0).is.not.ok};B.equal=function(e,t,r){var n=new L(e,r,B.equal,!0);n.assert(t==We(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};B.notEqual=function(e,t,r){var n=new L(e,r,B.notEqual,!0);n.assert(t!=We(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};B.strictEqual=function(e,t,r){new L(e,r,B.strictEqual,!0).to.equal(t)};B.notStrictEqual=function(e,t,r){new L(e,r,B.notStrictEqual,!0).to.not.equal(t)};B.deepEqual=B.deepStrictEqual=function(e,t,r){new L(e,r,B.deepEqual,!0).to.eql(t)};B.notDeepEqual=function(e,t,r){new L(e,r,B.notDeepEqual,!0).to.not.eql(t)};B.isAbove=function(e,t,r){new L(e,r,B.isAbove,!0).to.be.above(t)};B.isAtLeast=function(e,t,r){new L(e,r,B.isAtLeast,!0).to.be.least(t)};B.isBelow=function(e,t,r){new L(e,r,B.isBelow,!0).to.be.below(t)};B.isAtMost=function(e,t,r){new L(e,r,B.isAtMost,!0).to.be.most(t)};B.isTrue=function(e,t){new L(e,t,B.isTrue,!0).is.true};B.isNotTrue=function(e,t){new L(e,t,B.isNotTrue,!0).to.not.equal(!0)};B.isFalse=function(e,t){new L(e,t,B.isFalse,!0).is.false};B.isNotFalse=function(e,t){new L(e,t,B.isNotFalse,!0).to.not.equal(!1)};B.isNull=function(e,t){new L(e,t,B.isNull,!0).to.equal(null)};B.isNotNull=function(e,t){new L(e,t,B.isNotNull,!0).to.not.equal(null)};B.isNaN=function(e,t){new L(e,t,B.isNaN,!0).to.be.NaN};B.isNotNaN=function(e,t){new L(e,t,B.isNotNaN,!0).not.to.be.NaN};B.exists=function(e,t){new L(e,t,B.exists,!0).to.exist};B.notExists=function(e,t){new L(e,t,B.notExists,!0).to.not.exist};B.isUndefined=function(e,t){new L(e,t,B.isUndefined,!0).to.equal(void 0)};B.isDefined=function(e,t){new L(e,t,B.isDefined,!0).to.not.equal(void 0)};B.isCallable=function(e,t){new L(e,t,B.isCallable,!0).is.callable};B.isNotCallable=function(e,t){new L(e,t,B.isNotCallable,!0).is.not.callable};B.isObject=function(e,t){new L(e,t,B.isObject,!0).to.be.a("object")};B.isNotObject=function(e,t){new L(e,t,B.isNotObject,!0).to.not.be.a("object")};B.isArray=function(e,t){new L(e,t,B.isArray,!0).to.be.an("array")};B.isNotArray=function(e,t){new L(e,t,B.isNotArray,!0).to.not.be.an("array")};B.isString=function(e,t){new L(e,t,B.isString,!0).to.be.a("string")};B.isNotString=function(e,t){new L(e,t,B.isNotString,!0).to.not.be.a("string")};B.isNumber=function(e,t){new L(e,t,B.isNumber,!0).to.be.a("number")};B.isNotNumber=function(e,t){new L(e,t,B.isNotNumber,!0).to.not.be.a("number")};B.isNumeric=function(e,t){new L(e,t,B.isNumeric,!0).is.numeric};B.isNotNumeric=function(e,t){new L(e,t,B.isNotNumeric,!0).is.not.numeric};B.isFinite=function(e,t){new L(e,t,B.isFinite,!0).to.be.finite};B.isBoolean=function(e,t){new L(e,t,B.isBoolean,!0).to.be.a("boolean")};B.isNotBoolean=function(e,t){new L(e,t,B.isNotBoolean,!0).to.not.be.a("boolean")};B.typeOf=function(e,t,r){new L(e,r,B.typeOf,!0).to.be.a(t)};B.notTypeOf=function(e,t,r){new L(e,r,B.notTypeOf,!0).to.not.be.a(t)};B.instanceOf=function(e,t,r){new L(e,r,B.instanceOf,!0).to.be.instanceOf(t)};B.notInstanceOf=function(e,t,r){new L(e,r,B.notInstanceOf,!0).to.not.be.instanceOf(t)};B.include=function(e,t,r){new L(e,r,B.include,!0).include(t)};B.notInclude=function(e,t,r){new L(e,r,B.notInclude,!0).not.include(t)};B.deepInclude=function(e,t,r){new L(e,r,B.deepInclude,!0).deep.include(t)};B.notDeepInclude=function(e,t,r){new L(e,r,B.notDeepInclude,!0).not.deep.include(t)};B.nestedInclude=function(e,t,r){new L(e,r,B.nestedInclude,!0).nested.include(t)};B.notNestedInclude=function(e,t,r){new L(e,r,B.notNestedInclude,!0).not.nested.include(t)};B.deepNestedInclude=function(e,t,r){new L(e,r,B.deepNestedInclude,!0).deep.nested.include(t)};B.notDeepNestedInclude=function(e,t,r){new L(e,r,B.notDeepNestedInclude,!0).not.deep.nested.include(t)};B.ownInclude=function(e,t,r){new L(e,r,B.ownInclude,!0).own.include(t)};B.notOwnInclude=function(e,t,r){new L(e,r,B.notOwnInclude,!0).not.own.include(t)};B.deepOwnInclude=function(e,t,r){new L(e,r,B.deepOwnInclude,!0).deep.own.include(t)};B.notDeepOwnInclude=function(e,t,r){new L(e,r,B.notDeepOwnInclude,!0).not.deep.own.include(t)};B.match=function(e,t,r){new L(e,r,B.match,!0).to.match(t)};B.notMatch=function(e,t,r){new L(e,r,B.notMatch,!0).to.not.match(t)};B.property=function(e,t,r){new L(e,r,B.property,!0).to.have.property(t)};B.notProperty=function(e,t,r){new L(e,r,B.notProperty,!0).to.not.have.property(t)};B.propertyVal=function(e,t,r,n){new L(e,n,B.propertyVal,!0).to.have.property(t,r)};B.notPropertyVal=function(e,t,r,n){new L(e,n,B.notPropertyVal,!0).to.not.have.property(t,r)};B.deepPropertyVal=function(e,t,r,n){new L(e,n,B.deepPropertyVal,!0).to.have.deep.property(t,r)};B.notDeepPropertyVal=function(e,t,r,n){new L(e,n,B.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};B.ownProperty=function(e,t,r){new L(e,r,B.ownProperty,!0).to.have.own.property(t)};B.notOwnProperty=function(e,t,r){new L(e,r,B.notOwnProperty,!0).to.not.have.own.property(t)};B.ownPropertyVal=function(e,t,r,n){new L(e,n,B.ownPropertyVal,!0).to.have.own.property(t,r)};B.notOwnPropertyVal=function(e,t,r,n){new L(e,n,B.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};B.deepOwnPropertyVal=function(e,t,r,n){new L(e,n,B.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};B.notDeepOwnPropertyVal=function(e,t,r,n){new L(e,n,B.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};B.nestedProperty=function(e,t,r){new L(e,r,B.nestedProperty,!0).to.have.nested.property(t)};B.notNestedProperty=function(e,t,r){new L(e,r,B.notNestedProperty,!0).to.not.have.nested.property(t)};B.nestedPropertyVal=function(e,t,r,n){new L(e,n,B.nestedPropertyVal,!0).to.have.nested.property(t,r)};B.notNestedPropertyVal=function(e,t,r,n){new L(e,n,B.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};B.deepNestedPropertyVal=function(e,t,r,n){new L(e,n,B.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};B.notDeepNestedPropertyVal=function(e,t,r,n){new L(e,n,B.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};B.lengthOf=function(e,t,r){new L(e,r,B.lengthOf,!0).to.have.lengthOf(t)};B.hasAnyKeys=function(e,t,r){new L(e,r,B.hasAnyKeys,!0).to.have.any.keys(t)};B.hasAllKeys=function(e,t,r){new L(e,r,B.hasAllKeys,!0).to.have.all.keys(t)};B.containsAllKeys=function(e,t,r){new L(e,r,B.containsAllKeys,!0).to.contain.all.keys(t)};B.doesNotHaveAnyKeys=function(e,t,r){new L(e,r,B.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};B.doesNotHaveAllKeys=function(e,t,r){new L(e,r,B.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};B.hasAnyDeepKeys=function(e,t,r){new L(e,r,B.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};B.hasAllDeepKeys=function(e,t,r){new L(e,r,B.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};B.containsAllDeepKeys=function(e,t,r){new L(e,r,B.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};B.doesNotHaveAnyDeepKeys=function(e,t,r){new L(e,r,B.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};B.doesNotHaveAllDeepKeys=function(e,t,r){new L(e,r,B.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};B.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var a=new L(e,n,B.throws,!0).to.throw(t,r);return We(a,"object")};B.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new L(e,n,B.doesNotThrow,!0).to.not.throw(t,r)};B.operator=function(e,t,r,n){var a;switch(t){case"==":a=e==r;break;case"===":a=e===r;break;case">":a=e>r;break;case">=":a=e>=r;break;case"<":a=e<r;break;case"<=":a=e<=r;break;case"!=":a=e!=r;break;case"!==":a=e!==r;break;default:throw n=n&&n+": ",new pt(n+'Invalid operator "'+t+'"',void 0,B.operator)}var i=new L(a,n,B.operator,!0);i.assert(We(i,"object")===!0,"expected "+ct(e)+" to be "+t+" "+ct(r),"expected "+ct(e)+" to not be "+t+" "+ct(r))};B.closeTo=function(e,t,r,n){new L(e,n,B.closeTo,!0).to.be.closeTo(t,r)};B.approximately=function(e,t,r,n){new L(e,n,B.approximately,!0).to.be.approximately(t,r)};B.sameMembers=function(e,t,r){new L(e,r,B.sameMembers,!0).to.have.same.members(t)};B.notSameMembers=function(e,t,r){new L(e,r,B.notSameMembers,!0).to.not.have.same.members(t)};B.sameDeepMembers=function(e,t,r){new L(e,r,B.sameDeepMembers,!0).to.have.same.deep.members(t)};B.notSameDeepMembers=function(e,t,r){new L(e,r,B.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};B.sameOrderedMembers=function(e,t,r){new L(e,r,B.sameOrderedMembers,!0).to.have.same.ordered.members(t)};B.notSameOrderedMembers=function(e,t,r){new L(e,r,B.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};B.sameDeepOrderedMembers=function(e,t,r){new L(e,r,B.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};B.notSameDeepOrderedMembers=function(e,t,r){new L(e,r,B.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};B.includeMembers=function(e,t,r){new L(e,r,B.includeMembers,!0).to.include.members(t)};B.notIncludeMembers=function(e,t,r){new L(e,r,B.notIncludeMembers,!0).to.not.include.members(t)};B.includeDeepMembers=function(e,t,r){new L(e,r,B.includeDeepMembers,!0).to.include.deep.members(t)};B.notIncludeDeepMembers=function(e,t,r){new L(e,r,B.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};B.includeOrderedMembers=function(e,t,r){new L(e,r,B.includeOrderedMembers,!0).to.include.ordered.members(t)};B.notIncludeOrderedMembers=function(e,t,r){new L(e,r,B.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};B.includeDeepOrderedMembers=function(e,t,r){new L(e,r,B.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};B.notIncludeDeepOrderedMembers=function(e,t,r){new L(e,r,B.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};B.oneOf=function(e,t,r){new L(e,r,B.oneOf,!0).to.be.oneOf(t)};B.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${ct(e)} to be an iterable`:`expected ${ct(e)} to be an iterable`,new pt(t,void 0,B.isIterable)};B.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new L(e,n,B.changes,!0).to.change(t,r)};B.changesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new L(e,a,B.changesBy,!0).to.change(t,r).by(n)};B.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new L(e,n,B.doesNotChange,!0).to.not.change(t,r)};B.changesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new L(e,a,B.changesButNotBy,!0).to.change(t,r).but.not.by(n)};B.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new L(e,n,B.increases,!0).to.increase(t,r)};B.increasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new L(e,a,B.increasesBy,!0).to.increase(t,r).by(n)};B.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new L(e,n,B.doesNotIncrease,!0).to.not.increase(t,r)};B.increasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new L(e,a,B.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};B.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new L(e,n,B.decreases,!0).to.decrease(t,r)};B.decreasesBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new L(e,a,B.decreasesBy,!0).to.decrease(t,r).by(n)};B.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new L(e,n,B.doesNotDecrease,!0).to.not.decrease(t,r)};B.doesNotDecreaseBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);return new L(e,a,B.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};B.decreasesButNotBy=function(e,t,r,n,a){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,a=i}else arguments.length===3&&(n=r,r=null);new L(e,a,B.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};B.ifError=function(e){if(e)throw e};B.isExtensible=function(e,t){new L(e,t,B.isExtensible,!0).to.be.extensible};B.isNotExtensible=function(e,t){new L(e,t,B.isNotExtensible,!0).to.not.be.extensible};B.isSealed=function(e,t){new L(e,t,B.isSealed,!0).to.be.sealed};B.isNotSealed=function(e,t){new L(e,t,B.isNotSealed,!0).to.not.be.sealed};B.isFrozen=function(e,t){new L(e,t,B.isFrozen,!0).to.be.frozen};B.isNotFrozen=function(e,t){new L(e,t,B.isNotFrozen,!0).to.not.be.frozen};B.isEmpty=function(e,t){new L(e,t,B.isEmpty,!0).to.be.empty};B.isNotEmpty=function(e,t){new L(e,t,B.isNotEmpty,!0).to.not.be.empty};B.containsSubset=function(e,t,r){new L(e,r).to.containSubset(t)};B.doesNotContainSubset=function(e,t,r){new L(e,r).to.not.containSubset(t)};var DI=[["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 DI)B[t]=B[e];var Jh=[];function uo(e){let t={use:uo,AssertionError:pt,util:xr,config:Zt,expect:xn,assert:B,Assertion:L,...ov};return~Jh.indexOf(e)||(e(t,xr),Jh.push(e)),t}ne(uo,"use");var av={};Bi(av,{toBeChecked:()=>Wv,toBeDisabled:()=>Lv,toBeEmpty:()=>Cv,toBeEmptyDOMElement:()=>Sv,toBeEnabled:()=>kv,toBeInTheDOM:()=>Zu,toBeInTheDocument:()=>Rv,toBeInvalid:()=>Hv,toBePartiallyChecked:()=>Kv,toBeRequired:()=>$v,toBeValid:()=>Vv,toBeVisible:()=>jv,toContainElement:()=>ec,toContainHTML:()=>Av,toHaveAccessibleDescription:()=>tc,toHaveAccessibleErrorMessage:()=>Tv,toHaveAccessibleName:()=>nc,toHaveAttribute:()=>Ov,toHaveClass:()=>qv,toHaveDescription:()=>Jv,toHaveDisplayValue:()=>zv,toHaveErrorMessage:()=>Xv,toHaveFocus:()=>xv,toHaveFormValues:()=>Mv,toHaveRole:()=>rc,toHaveStyle:()=>oc,toHaveTextContent:()=>Pv,toHaveValue:()=>Gv});var Xh=ar(Xy(),1);function iv(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function wd(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var sv={};iv(sv);wd(sv,"default",()=>lv);var lv=class extends Error{constructor(e,t,r,n,a){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=a}},uv={};iv(uv);wd(uv,"default",()=>cv);var cv=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},FI={};wd(FI,"CssTypes",()=>xt);var xt;(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"})(xt||(xt={}));var vu=/\/\*[^]*?(?:\*\/|$)/g,BI=(e,t)=>{t=t||{};let r=1,n=1;function a(be){let de=be.match(/\n/g);de&&(r+=de.length);let ge=be.lastIndexOf(`
305
- `);n=~ge?be.length-ge:n+be.length}function i(){let be={line:r,column:n};return function(de){return de.position=new cv(be,{line:r,column:n},t?.source||""),h(),de}}let s=[];function l(be){let de=new lv(t?.source||"",be,r,n,e);if(t?.silent)s.push(de);else throw de}function u(){let be=p();return{type:xt.stylesheet,stylesheet:{source:t?.source,rules:be,parsingErrors:s}}}function d(){return m(/^{\s*/)}function c(){return m(/^}/)}function p(){let be,de=[];for(h(),b(de);e.length&&e.charAt(0)!=="}"&&(be=De()||je());)be&&(de.push(be),b(de));return de}function m(be){let de=be.exec(e);if(!de)return;let ge=de[0];return a(ge),e=e.slice(ge.length),de}function h(){m(/^\s*/)}function b(be){let de;for(be=be||[];de=y();)de&&be.push(de);return be}function y(){let be=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let de=m(/^\/\*[^]*?\*\//);return de?be({type:xt.comment,comment:de[0].slice(2,-2)}):l("End of comment missing")}function v(be,de,ge){let Te=de+1,Re=!1,Ne=be.indexOf(")",Te);for(;!Re&&Ne!==-1;){let Ze=be.indexOf("(",Te);Ze!==-1&&Ze<Ne?(Te=v(be,Ze+1,ge+1)+1,Ne=be.indexOf(")",Te)):Re=!0}return Re&&Ne!==-1?Ne:-1}function g(){let be=m(/^([^{]+)/);if(!be)return;let de=cr(be[0]).replace(vu,"");if(de.indexOf(",")===-1)return[de];let ge=0,Te=de.indexOf("(",ge);for(;Te!==-1;){let Re=v(de,Te,0);if(Re===-1)break;ge=Re+1,de=de.substring(0,Te)+de.substring(Te,Re).replace(/,/g,"\u200C")+de.substring(Re),Te=de.indexOf("(",ge)}return de=de.replace(/("|')(?:\\\1|.)*?\1/g,Re=>Re.replace(/,/g,"\u200C")),de.split(",").map(Re=>cr(Re.replace(/\u200C/g,",")))}function E(){let be=i(),de=m(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!de)return;let ge=cr(de[0]);if(!m(/^:\s*/))return l("property missing ':'");let Te=m(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),Re=be({type:xt.declaration,property:ge.replace(vu,""),value:Te?cr(Te[0]).replace(vu,""):""});return m(/^[;\s]*/),Re}function T(){let be=[];if(!d())return l("missing '{'");b(be);let de;for(;de=E();)de&&(be.push(de),b(be));return c()?be:l("missing '}'")}function M(){let be,de=[],ge=i();for(;be=m(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)de.push(be[1]),m(/^,\s*/);if(de.length)return ge({type:xt.keyframe,values:de,declarations:T()||[]})}function O(){let be=i(),de=m(/^@([-\w]+)?keyframes\s*/);if(!de)return;let ge=de[1],Te=m(/^([-\w]+)\s*/);if(!Te)return l("@keyframes missing name");let Re=Te[1];if(!d())return l("@keyframes missing '{'");let Ne,Ze=b();for(;Ne=M();)Ze.push(Ne),Ze=Ze.concat(b());return c()?be({type:xt.keyframes,name:Re,vendor:ge,keyframes:Ze}):l("@keyframes missing '}'")}function A(){let be=i(),de=m(/^@supports *([^{]+)/);if(!de)return;let ge=cr(de[1]);if(!d())return l("@supports missing '{'");let Te=b().concat(p());return c()?be({type:xt.supports,supports:ge,rules:Te}):l("@supports missing '}'")}function w(){let be=i();if(!m(/^@host\s*/))return;if(!d())return l("@host missing '{'");let de=b().concat(p());return c()?be({type:xt.host,rules:de}):l("@host missing '}'")}function S(){let be=i(),de=m(/^@container *([^{]+)/);if(!de)return;let ge=cr(de[1]);if(!d())return l("@container missing '{'");let Te=b().concat(p());return c()?be({type:xt.container,container:ge,rules:Te}):l("@container missing '}'")}function N(){let be=i(),de=m(/^@layer *([^{;@]+)/);if(!de)return;let ge=cr(de[1]);if(!d())return m(/^[;\s]*/),be({type:xt.layer,layer:ge});let Te=b().concat(p());return c()?be({type:xt.layer,layer:ge,rules:Te}):l("@layer missing '}'")}function Y(){let be=i(),de=m(/^@media *([^{]+)/);if(!de)return;let ge=cr(de[1]);if(!d())return l("@media missing '{'");let Te=b().concat(p());return c()?be({type:xt.media,media:ge,rules:Te}):l("@media missing '}'")}function K(){let be=i(),de=m(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(de)return be({type:xt.customMedia,name:cr(de[1]),media:cr(de[2])})}function ee(){let be=i();if(!m(/^@page */))return;let de=g()||[];if(!d())return l("@page missing '{'");let ge=b(),Te;for(;Te=E();)ge.push(Te),ge=ge.concat(b());return c()?be({type:xt.page,selectors:de,declarations:ge}):l("@page missing '}'")}function Q(){let be=i(),de=m(/^@([-\w]+)?document *([^{]+)/);if(!de)return;let ge=cr(de[1]),Te=cr(de[2]);if(!d())return l("@document missing '{'");let Re=b().concat(p());return c()?be({type:xt.document,document:Te,vendor:ge,rules:Re}):l("@document missing '}'")}function x(){let be=i();if(!m(/^@font-face\s*/))return;if(!d())return l("@font-face missing '{'");let de=b(),ge;for(;ge=E();)de.push(ge),de=de.concat(b());return c()?be({type:xt.fontFace,declarations:de}):l("@font-face missing '}'")}function D(){let be=i();if(!m(/^@starting-style\s*/))return;if(!d())return l("@starting-style missing '{'");let de=b().concat(p());return c()?be({type:xt.startingStyle,rules:de}):l("@starting-style missing '}'")}let J=xe("import"),ve=xe("charset"),ye=xe("namespace");function xe(be){let de=new RegExp("^@"+be+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let ge=i(),Te=m(de);if(!Te)return;let Re={type:be};return Re[be]=Te[1].trim(),ge(Re)}}function De(){if(e[0]==="@")return O()||Y()||K()||A()||J()||ve()||ye()||Q()||ee()||w()||x()||S()||D()||N()}function je(){let be=i(),de=g();return de?(b(),be({type:xt.rule,selectors:de,declarations:T()||[]})):l("selector missing")}return Xu(u())};function cr(e){return e?e.trim():""}function Xu(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let a in e){let i=e[a];Array.isArray(i)?i.forEach(s=>{Xu(s,n)}):i&&typeof i=="object"&&Xu(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var LI=BI,kI=LI,$I=Object.prototype.toString;function Qh(e){return typeof e=="function"||$I.call(e)==="[object Function]"}function UI(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var HI=Math.pow(2,53)-1;function VI(e){var t=UI(e);return Math.min(Math.max(t,0),HI)}function _r(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");if(typeof t<"u"&&!Qh(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=VI(n.length),i=Qh(r)?Object(new r(a)):new Array(a),s=0,l;s<a;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=a,i}function aa(e){"@babel/helpers - typeof";return aa=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},aa(e)}function GI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zh(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,dv(n.key),n)}}function zI(e,t,r){return t&&Zh(e.prototype,t),r&&Zh(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function WI(e,t,r){return t=dv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dv(e){var t=YI(e,"string");return aa(t)==="symbol"?t:String(t)}function YI(e,t){if(aa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(aa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var KI=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];GI(this,e),WI(this,"items",void 0),this.items=t}return zI(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}(),JI=typeof Set>"u"?Set:KI;function Wt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var XI={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"},QI={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 ZI(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=QI[t])!==null&&n!==void 0&&n.has(r))})}function pv(e,t){return ZI(e,t)}function eD(e){var t=rD(e);if(t===null||Qu.indexOf(t)!==-1){var r=tD(e);if(Qu.indexOf(t||"")===-1||pv(e,r||""))return r}return t}function tD(e){var t=XI[Wt(e)];if(t!==void 0)return t;switch(Wt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!pv(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 rD(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var Qu=["presentation","none"];function wt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function fv(e){return wt(e)&&Wt(e)==="caption"}function li(e){return wt(e)&&Wt(e)==="input"}function nD(e){return wt(e)&&Wt(e)==="optgroup"}function oD(e){return wt(e)&&Wt(e)==="select"}function aD(e){return wt(e)&&Wt(e)==="table"}function iD(e){return wt(e)&&Wt(e)==="textarea"}function sD(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function lD(e){return wt(e)&&Wt(e)==="fieldset"}function uD(e){return wt(e)&&Wt(e)==="legend"}function cD(e){return wt(e)&&Wt(e)==="slot"}function dD(e){return wt(e)&&e.ownerSVGElement!==void 0}function pD(e){return wt(e)&&Wt(e)==="svg"}function fD(e){return dD(e)&&Wt(e)==="title"}function Ri(e,t){if(wt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Ur(e,t){return wt(e)?t.indexOf(eD(e))!==-1:!1}function mD(e){return e.trim().replace(/\s\s+/g," ")}function hD(e,t){if(!wt(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 bD(e){return Ur(e,["button","combobox","listbox","textbox"])||mv(e,"range")}function mv(e,t){if(!wt(e))return!1;switch(t){case"range":return Ur(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function eb(e,t){var r=_r(e.querySelectorAll(t));return Ri(e,"aria-owns").forEach(function(n){r.push.apply(r,_r(n.querySelectorAll(t)))}),r}function yD(e){return oD(e)?e.selectedOptions||eb(e,"[selected]"):eb(e,'[aria-selected="true"]')}function gD(e){return Ur(e,Qu)}function vD(e){return fv(e)}function _D(e){return Ur(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function ED(e){return!1}function wD(e){return li(e)||iD(e)?e.value:e.textContent||""}function tb(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function hv(e){var t=Wt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function bv(e){if(hv(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&wt(r)){var n=bv(r);n!==null&&(t=n)}}),t}function RD(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):bv(e)}function CD(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return _r(t);if(!hv(e))return null;var r=e.ownerDocument;return _r(r.querySelectorAll("label")).filter(function(n){return RD(n)===e})}function SD(e){var t=e.assignedNodes();return t.length===0?_r(e.childNodes):t}function yv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new JI,n=sD(e),a=t.compute,i=a===void 0?"name":a,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,d=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,p=c===void 0?!1:c;function m(g,E){var T="";if(wt(g)&&l){var M=d(g,"::before"),O=tb(M);T="".concat(O," ").concat(T)}var A=cD(g)?SD(g):_r(g.childNodes).concat(Ri(g,"aria-owns"));if(A.forEach(function(N){var Y=v(N,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=wt(N)?d(N).getPropertyValue("display"):"inline",ee=K!=="inline"?" ":"";T+="".concat(ee).concat(Y).concat(ee)}),wt(g)&&l){var w=d(g,"::after"),S=tb(w);T="".concat(T," ").concat(S)}return T.trim()}function h(g,E){var T=g.getAttributeNode(E);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function b(g){return wt(g)?h(g,"title"):null}function y(g){if(!wt(g))return null;if(lD(g)){r.add(g);for(var E=_r(g.childNodes),T=0;T<E.length;T+=1){var M=E[T];if(uD(M))return v(M,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(aD(g)){r.add(g);for(var O=_r(g.childNodes),A=0;A<O.length;A+=1){var w=O[A];if(fv(w))return v(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(pD(g)){r.add(g);for(var S=_r(g.childNodes),N=0;N<S.length;N+=1){var Y=S[N];if(fD(Y))return Y.textContent}return null}else if(Wt(g)==="img"||Wt(g)==="area"){var K=h(g,"alt");if(K!==null)return K}else if(nD(g)){var ee=h(g,"label");if(ee!==null)return ee}if(li(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var Q=h(g,"value");if(Q!==null)return Q;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var x=CD(g);if(x!==null&&x.length!==0)return r.add(g),_r(x).map(function(ye){return v(ye,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ye){return ye.length>0}).join(" ");if(li(g)&&g.type==="image"){var D=h(g,"alt");if(D!==null)return D;var J=h(g,"title");return J!==null?J:"Submit Query"}if(Ur(g,["button"])){var ve=m(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(ve!=="")return ve}return null}function v(g,E){if(r.has(g))return"";if(!p&&hD(g,d)&&!E.isReferenced)return r.add(g),"";var T=wt(g)?g.getAttributeNode("aria-labelledby"):null,M=T!==null&&!r.has(T)?Ri(g,"aria-labelledby"):[];if(i==="name"&&!E.isReferenced&&M.length>0)return r.add(T),M.map(function(K){return v(K,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var O=E.recursion&&bD(g)&&i==="name";if(!O){var A=(wt(g)&&g.getAttribute("aria-label")||"").trim();if(A!==""&&i==="name")return r.add(g),A;if(!gD(g)){var w=y(g);if(w!==null)return r.add(g),w}}if(Ur(g,["menu"]))return r.add(g),"";if(O||E.isEmbeddedInLabel||E.isReferenced){if(Ur(g,["combobox","listbox"])){r.add(g);var S=yD(g);return S.length===0?li(g)?g.value:"":_r(S).map(function(K){return v(K,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(mv(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(Ur(g,["textbox"]))return r.add(g),wD(g)}if(_D(g)||wt(g)&&E.isReferenced||vD(g)||ED(g)){var N=m(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});if(N!=="")return r.add(g),N}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(E.recursion)return r.add(g),m(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});var Y=b(g);return Y!==null?(r.add(g),Y):(r.add(g),"")}return mD(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ia(e){"@babel/helpers - typeof";return ia=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},ia(e)}function rb(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function nb(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?rb(Object(r),!0).forEach(function(n){AD(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rb(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function AD(e,t,r){return t=PD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function PD(e){var t=TD(e,"string");return ia(t)==="symbol"?t:String(t)}function TD(e,t){if(ia(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ia(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function OD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ri(e,"aria-describedby").map(function(i){return yv(i,nb(nb({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var a=e.getAttribute("title");r=a===null?"":a}return r}function qD(e){return Ur(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function xD(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return qD(e)?"":yv(e,t)}var Rd=ar(Qy(),1),MD=ar(eg(),1),gv=ar(dg(),1),ND=ar(pg(),1),vv=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let a="";try{a=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}.`,a].join(`
306
- `)}},ob=class extends vv{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},ab=class extends vv{constructor(...e){super("be a Node",...e)}};function _v(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function jD(e,...t){_v(e,ab,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new ab(e,...t)}function yt(e,...t){_v(e,ob,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new ob(e,...t)}var ID=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(`
307
- `)}};function DD(e,...t){let r=kI(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:a}=r.parsingErrors[0];throw new ID({css:e,message:`Syntax error parsing expected css: ${n} on line: ${a}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:a,value:i})=>Object.assign(n,{[a]:i}),{})}function ib(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function Gt(e,t,r,n,a,i){return[`${t}
308
- `,`${r}:
309
- ${e.utils.EXPECTED_COLOR((0,Xh.default)(ib(e,n),2))}`,`${a}:
310
- ${e.utils.RECEIVED_COLOR((0,Xh.default)(ib(e,i),2))}`].join(`
311
- `)}function FD(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function rs(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function ns(e){return e.replace(/\s+/g," ").trim()}function hn(e){return e.tagName&&e.tagName.toLowerCase()}function BD({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 LD(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var kD=["meter","progressbar","slider","spinbutton"];function $D(e){if(kD.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function Ev(e){if(e)switch(e.tagName.toLowerCase()){case"input":return LD(e);case"select":return BD(e);default:return e.value??$D(e)}}function UD(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function wv(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function Zu(e,t){return rs("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&yt(e,Zu,this),t&&yt(t,Zu,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(`
312
- `)}}function Rv(e){(e!==null||!this.isNot)&&yt(e,Rv,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(`
313
- `)}}function Cv(e){return rs("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),yt(e,Cv,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
314
- `)}}function Sv(e){return yt(e,Sv,this),{pass:HD(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
315
- `)}}function HD(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function ec(e,t){return yt(e,ec,this),t!==null&&yt(t,ec,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))}
316
- `)].join(`
317
- `)}}function VD(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function Av(e,t){if(yt(e,Av,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(VD(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(`
318
- `)}}function Pv(e,t,r={normalizeWhitespace:!0}){jD(e,Pv,this);let n=r.normalizeWhitespace?ns(e.textContent):e.textContent.replace(/\u00a0/g," "),a=n!==""&&t==="";return{pass:!a&&FD(n,t),message:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),a?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function tc(e,t){yt(e,tc,this);let r=OD(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${tc.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var Ko="aria-invalid",GD=["false"];function Tv(e,t){yt(e,Tv,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",a=e.getAttribute("aria-errormessage");if(a&&/\s+/.test(a))return{pass:!1,message:()=>Gt(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${a}"`)};let i=e.getAttribute(Ko);if(!e.hasAttribute(Ko)||GD.includes(i))return{pass:!1,message:()=>Gt(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Ko}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Ko}="${e.getAttribute(Ko)}`:null)};let s=ns(e.ownerDocument.getElementById(a)?.textContent??"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:()=>Gt(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",s)}}var zD=KD(Rd.elementRoles);function rc(e,t){yt(e,rc,this);let r=WD(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${rc.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function WD(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):YD(e)}function YD(e){for(let{match:t,roles:r}of zD)if(t(e))return[...r];return[]}function KD(e){function t({name:s,attributes:l}){return`${s}${l.map(({name:u,value:d,constraints:c=[]})=>c.indexOf("undefined")!==-1?`:not([${u}])`:d?`[${u}="${d}"]`:`[${u}]`).join("")}`}function r({attributes:s=[]}){return s.length}function n({specificity:s},{specificity:l}){return l-s}function a(s){let{attributes:l=[]}=s,u=l.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let d=t({...s,attributes:l});return c=>u>=0&&c.type!=="text"?!1:c.matches(d)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:a(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function nc(e,t){yt(e,nc,this);let r=xD(e),n=arguments.length===1,a=!1;return n?a=r!=="":a=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:a,message:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.${nc.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function sb(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function JD(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function Ov(e,t,r){yt(e,Ov,this);let n=r!==void 0,a=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?a&&this.equals(i,r):a,message:()=>{let s=this.isNot?"not to":"to",l=a?sb(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:JD(this.utils.stringify,t,r)});return Gt(this,u,`Expected the element ${s} have attribute`,sb(this.utils.stringify,t,r),"Received",l)}}}function XD(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 lb(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function ub(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function qv(e,...t){yt(e,qv,this);let{expectedClassNames:r,options:n}=XD(t),a=lb(e.getAttribute("class")),i=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?lb(u):u),[]),s=i.some(l=>l instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:ub(i,a)&&i.length===a.length,message:()=>{let l=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,i.join(" "),"Received",a.join(" "))}}:i.length>0?{pass:ub(i,a),message:()=>{let l=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",a.join(" "))}}:{pass:this.isNot?a.length>0:!1,message:()=>this.isNot?Gt(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",a.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
319
- `)}}function QD(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(a=>{n.style[a]=t[a],r[a]=n.style[a]}),r}function ZD(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let a=r.startsWith("--"),i=[r];return a||i.push(r.toLowerCase()),i.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}function cb(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
320
- `)}function eF(e,t,r){let n=Array.from(r).filter(a=>t[a]!==void 0).reduce((a,i)=>Object.assign(a,{[i]:r.getPropertyValue(i)}),{});return e(cb(t),cb(n)).replace(`${MD.default.red("+ Received")}
321
- `,"")}function oc(e,t){yt(e,oc,this);let r=typeof t=="object"?t:DD(t,oc,this),{getComputedStyle:n}=e.ownerDocument.defaultView,a=QD(e.ownerDocument,r),i=n(e);return{pass:ZD(a,i),message:()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),eF(this.utils.diff,a,i)].join(`
322
-
323
- `)}}}function xv(e){return yt(e,xv,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(`
324
- `)}}function tF(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 rF(e,t){let r=[...e.querySelectorAll(`[name="${(0,ND.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Ev(r[0]);default:return tF(r)}}function nF(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function oF(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[nF(r)]:rF(e,r)}),{})}function Mv(e,t){if(yt(e,Mv,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=oF(e);return{pass:Object.entries(t).every(([n,a])=>(0,gv.default)(r[n],a,wv)),message:()=>{let n=this.isNot?"not to":"to",a=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,l)=>({...s,[l]:r[l]}),{});return[this.utils.matcherHint(a,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
325
-
326
- `)}}}function aF(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:a}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&a!=="0"&&a!==0}function iF(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 Nv(e,t){return aF(e)&&iF(e,t)&&(!e.parentElement||Nv(e.parentElement,e))}function jv(e){yt(e,jv,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&Nv(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(`
327
- `)}}}var sF=["fieldset","input","select","optgroup","option","button","textarea"];function lF(e,t){return hn(e)==="legend"&&hn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>hn(r)==="legend"))}function uF(e,t){return Dv(t)&&!lF(e,t)}function cF(e){return e.includes("-")}function Iv(e){let t=hn(e);return sF.includes(t)||cF(t)}function Dv(e){return Iv(e)&&e.hasAttribute("disabled")}function Fv(e){let t=e.parentElement;return!!t&&(uF(e,t)||Fv(t))}function Bv(e){return Iv(e)&&(Dv(e)||Fv(e))}function Lv(e){yt(e,Lv,this);let t=Bv(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(`
328
- `)}}}function kv(e){yt(e,kv,this);let t=!Bv(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(`
329
- `)}}}var dF=["select","textarea"],pF=["input","select","textarea"],fF=["color","hidden","range","submit","image","reset"],mF=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function hF(e){return dF.includes(hn(e))&&e.hasAttribute("required")}function bF(e){return hn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!fF.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function yF(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(pF.includes(hn(e))||e.hasAttribute("role")&&mF.includes(e.getAttribute("role")))}function $v(e){yt(e,$v,this);let t=hF(e)||bF(e)||yF(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(`
330
- `)}}}var gF=["form","input","select","textarea"];function vF(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function _F(e){return gF.includes(hn(e))}function Uv(e){let t=vF(e);return _F(e)?t||!e.checkValidity():t}function Hv(e){yt(e,Hv,this);let t=Uv(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(`
331
- `)}}}function Vv(e){yt(e,Vv,this);let t=!Uv(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(`
332
- `)}}}function Gv(e,t){if(yt(e,Gv,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=Ev(e),n=t!==void 0,a=t,i=r;return t==r&&t!==r&&(a=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?(0,gv.default)(r,t,wv):!!r,message:()=>{let s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return Gt(this,l,`Expected the element ${s} have value`,n?a:"(any)","Received",i)}}}function zv(e,t){yt(e,zv,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=EF(r,e),a=wF(t),i=a.filter(u=>n.some(d=>u instanceof RegExp?u.test(d):this.equals(d,String(u)))).length,s=i===n.length,l=i===a.length;return{pass:s&&l,message:()=>Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function EF(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function wF(e){return e instanceof Array?e:[e]}function Wv(e){yt(e,Wv,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>Yv(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 ${RF()} 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 a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${a} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
333
- `)}}}function RF(){return UD(CF().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function CF(){return Rd.roles.keys().filter(Yv)}function Yv(e){return Rd.roles.get(e)?.props["aria-checked"]!==void 0}function Kv(e){yt(e,Kv,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 a=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||a};return{pass:n(),message:()=>{let a=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${a} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
334
- `)}}}function Jv(e,t){rs("toHaveDescription","Please use toHaveAccessibleDescription."),yt(e,Jv,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),a="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);a=ns(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}function Xv(e,t){if(rs("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),yt(e,Xv,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>Gt(this,this.utils.matcherHint(`${i}.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),a="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);a=ns(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(a):this.equals(a,t):!!a,message:()=>{let i=this.isNot?"not to":"to";return Gt(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(a))}}}var o6=ar(Xy(),1),a6=ar(Qy(),1),i6=ar(eg(),1),s6=ar(dg(),1),l6=ar(pg(),1);function kr(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function ui(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function SF(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function ac(e){return Object.prototype.toString.apply(e).slice(8,-1)}function AF(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function Qv(e){let t=new Set;return SF(e)?[]:(AF(e,t),Array.from(t))}var Zv={forceWritable:!1};function db(e,t=Zv){return ic(e,new WeakMap,t)}function ic(e,t,r=Zv){let n,a;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(a=Array(n=e.length),t.set(e,a);n--;)a[n]=ic(e[n],t,r);return a}if(Object.prototype.toString.call(e)==="[object Object]"){a=Object.create(Object.getPrototypeOf(e)),t.set(e,a);let i=Qv(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=ic(e[s],t,r);r.forceWritable?Object.defineProperty(a,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(a,s,{...l,get(){return u}}):Object.defineProperty(a,s,{...l,value:u})}return a}return e}var pb={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"]},PF={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},bo="\u2026";function TF(e,t){let r=pb[PF[t]]||pb[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function OF({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:a=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:d=String}={},c){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!a,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:c,stylize:d};return p.colors&&(p.stylize=TF),p}function qF(e){return e>="\uD800"&&e<="\uDBFF"}function vn(e,t,r=bo){e=String(e);let n=r.length,a=e.length;if(n>t&&a>n)return r;if(a>t&&a>n){let i=t-n;return i>0&&qF(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Cr(e,t,r,n=", "){r=r||t.inspect;let a=e.length;if(a===0)return"";let i=t.truncate,s="",l="",u="";for(let d=0;d<a;d+=1){let c=d+1===e.length,p=d+2===e.length;u=`${bo}(${e.length-d})`;let m=e[d];t.truncate=i-s.length-(c?0:n.length);let h=l||r(m,t)+(c?"":n),b=s.length+h.length,y=b+u.length;if(c&&b>i&&s.length+u.length<=i||!c&&!p&&y>i||(l=c?"":r(e[d+1],t)+(p?"":n),!c&&p&&y>i&&b+l.length>i))break;if(s+=h,!c&&!p&&b+l.length>=i){u=`${bo}(${e.length-d-1})`;break}u=""}return`${s}${u}`}function xF(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function sa([e,t],r){return r.truncate-=2,typeof e=="string"?e=xF(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function MF(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Cr(e,t);t.truncate-=n.length;let a="";return r.length&&(a=Cr(r.map(i=>[i,e[i]]),t,sa)),`[ ${n}${a?`, ${a}`:""} ]`}var NF=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function $r(e,t){let r=NF(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let a="";for(let s=0;s<e.length;s++){let l=`${t.stylize(vn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){a+=`${bo}(${e.length-e[s]+1})`;break}a+=l}let i="";return n.length&&(i=Cr(n.map(s=>[s,e[s]]),t,sa)),`${r}[ ${a}${i?`, ${i}`:""} ]`}function jF(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),a=n[0];return t.stylize(`${a}T${vn(n[1],t.truncate-a.length-1)}`,"date")}function fb(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${vn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function IF([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function DF(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function FF(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Cr(DF(e),t,IF)} }`)}var BF=Number.isNaN||(e=>e!==e);function mb(e,t){return BF(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(vn(String(e),t.truncate),"number")}function hb(e,t){let r=vn(e.toString(),t.truncate-1);return r!==bo&&(r+="n"),t.stylize(r,"bigint")}function LF(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),a=e.source;return t.stylize(`/${vn(a,n)}/${r}`,"regexp")}function kF(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function $F(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Cr(kF(e),t)} }`)}var bb=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),UF={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},HF=16,VF=4;function GF(e){return UF[e]||`\\u${`0000${e.charCodeAt(0).toString(HF)}`.slice(-VF)}`}function yb(e,t){return bb.test(e)&&(e=e.replace(bb,GF)),t.stylize(`'${vn(e,t.truncate-2)}'`,"string")}function gb(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var e0=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(e0=(n,a)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${a.inspect(s,a)}}`})}catch{}var zF=e0;function ci(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 a=Cr(r.map(l=>[l,e[l]]),t,sa),i=Cr(n.map(l=>[l,e[l]]),t,sa);t.seen.pop();let s="";return a&&i&&(s=", "),`{ ${a}${s}${i} }`}var _u=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function WF(e,t){let r="";return _u&&_u in e&&(r=e[_u]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ci(e,t)}`}function YF(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Cr(e,t)} ]`)}var KF=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function JF(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>KF.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let a="";if(typeof e.message=="string"?a=vn(e.message,t.truncate):r.unshift("message"),a=a?`: ${a}`:"",t.truncate-=a.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let i=Cr(r.map(s=>[s,e[s]]),t,sa);return`${n}${a}${i?` { ${i} }`:""}`}function XF([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function sc(e,t){return Cr(e,t,t0,`
335
- `)}function t0(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),a=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Cr(r.map(c=>[c,e.getAttribute(c)]),t,XF," ")),t.truncate-=l.length;let u=t.truncate,d=sc(e.children,t);return d&&d.length>u&&(d=`${bo}(${e.children.length})`),`${a}${l}${i}${d}${s}`}var QF=typeof Symbol=="function"&&typeof Symbol.for=="function",Eu=QF?Symbol.for("chai/inspect"):"@@chai/inspect",oo=!1;try{let e=$n("util");oo=e.inspect?e.inspect.custom:!1}catch{oo=!1}var vb=new WeakMap,_b={},Eb={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:mb,Number:mb,bigint:hb,BigInt:hb,string:yb,String:yb,function:fb,Function:fb,symbol:gb,Symbol:gb,Array:MF,Date:jF,Map:FF,Set:$F,RegExp:LF,Promise:zF,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:YF,Int8Array:$r,Uint8Array:$r,Uint8ClampedArray:$r,Int16Array:$r,Uint16Array:$r,Int32Array:$r,Uint32Array:$r,Float32Array:$r,Float64Array:$r,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:JF,HTMLCollection:sc,NodeList:sc},ZF=(e,t,r)=>Eu in e&&typeof e[Eu]=="function"?e[Eu](t):oo&&oo in e&&typeof e[oo]=="function"?e[oo](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&vb.has(e.constructor)?vb.get(e.constructor)(e,t):_b[r]?_b[r](e,t):"",eB=Object.prototype.toString;function lc(e,t={}){let r=OF(t,lc),{customInspect:n}=r,a=e===null?"null":typeof e;if(a==="object"&&(a=eB.call(e).slice(8,-1)),a in Eb)return Eb[a](e,r);if(n&&e){let s=ZF(e,r,a);if(s)return typeof s=="string"?s:lc(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ci(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?t0(e,r):"constructor"in e?e.constructor!==Object?WF(e,r):ci(e,r):e===Object(e)?ci(e,r):r.stylize(String(e),a)}var tB={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]},rB=Object.entries(tB);function Cd(e){return String(e)}Cd.open="";Cd.close="";function nB(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 oB(e=!1){let t=nB(e),r=(s,l,u,d)=>{let c="",p=0;do c+=s.substring(p,d)+u,p=d+l.length,d=s.indexOf(l,p);while(~d);return c+s.substring(p)},n=(s,l,u=s)=>{let d=c=>{let p=String(c),m=p.indexOf(l,s.length);return~m?s+r(p,l,u,m)+l:s+p+l};return d.open=s,d.close=l,d},a={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of rB)a[s]=t?n(i(l[0]),i(l[1]),l[2]):Cd;return a}var aB=$n("tty"),Pt=oB((0,aB.isatty)(1));function iB(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let a of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,a).enumerable&&n.push(a);return n}function os(e,t,r,n,a,i,s=": "){let l="",u=0,d=e.next();if(!d.done){l+=t.spacingOuter;let c=r+t.indent;for(;!d.done;){if(l+=c,u++===t.maxWidth){l+="\u2026";break}let p=i(d.value[0],t,c,n,a),m=i(d.value[1],t,c,n,a);l+=p+s+m,d=e.next(),d.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function Sd(e,t,r,n,a,i){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+="\u2026";break}s+=i(u.value,t,d,n,a),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Ci(e,t,r,n,a,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=d=>d instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let d=r+t.indent;for(let c=0;c<u;c++){if(s+=d,c===t.maxWidth){s+="\u2026";break}(l(e)||c in e)&&(s+=i(l(e)?e.getInt8(c):e[c],t,d,n,a)),c<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function Ad(e,t,r,n,a,i){let s="",l=iB(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let d=0;d<l.length;d++){let c=l[d],p=i(c,t,u,n,a),m=i(e[c],t,u,n,a);s+=`${u+p}: ${m}`,d<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var sB=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,wu=" ",lB=(e,t,r,n,a,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+wu}[${Ci(e.sample,t,r,n,a,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+wu}{${Ad(e.sample,t,r,n,a,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+wu+i(e.sample,t,r,n,a);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},uB=e=>e&&e.$$typeof===sB,cB={serialize:lB,test:uB},dB=" ",r0=new Set(["DOMStringMap","NamedNodeMap"]),pB=/^(?:HTML\w*Collection|NodeList)$/;function fB(e){return r0.has(e)||pB.test(e)}var mB=e=>e&&e.constructor&&!!e.constructor.name&&fB(e.constructor.name);function hB(e){return e.constructor.name==="NamedNodeMap"}var bB=(e,t,r,n,a,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+dB)+(r0.has(s)?`{${Ad(hB(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,a,i)}}`:`[${Ci([...e],t,r,n,a,i)}]`)},yB={serialize:bB,test:mB};function n0(e){return e.replaceAll("<","&lt;").replaceAll(">","&gt;")}function Pd(e,t,r,n,a,i,s){let l=n+r.indent,u=r.colors;return e.map(d=>{let c=t[d],p=s(c,r,l,a,i);return typeof c!="string"&&(p.includes(`
336
- `)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+d+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function Td(e,t,r,n,a,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?o0(s,t):i(s,t,r,n,a))).join("")}function o0(e,t){let r=t.colors.content;return r.open+n0(e)+r.close}function gB(e,t){let r=t.colors.comment;return`${r.open}<!--${n0(e)}-->${r.close}`}function Od(e,t,r,n,a){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+a+i.open}${r?`>${i.close}${r}${n.spacingOuter}${a}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function qd(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var vB=1,a0=3,i0=8,s0=11,_B=/^(?:(?:HTML|SVG)\w*)?Element$/;function EB(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function wB(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,a=typeof n=="string"&&n.includes("-")||EB(e);return r===vB&&(_B.test(t)||a)||r===a0&&t==="Text"||r===i0&&t==="Comment"||r===s0&&t==="DocumentFragment"}var RB=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&wB(e)};function CB(e){return e.nodeType===a0}function SB(e){return e.nodeType===i0}function Ru(e){return e.nodeType===s0}var AB=(e,t,r,n,a,i)=>{if(CB(e))return o0(e.data,t);if(SB(e))return gB(e.data,t);let s=Ru(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?qd(s,t):Od(s,Pd(Ru(e)?[]:Array.from(e.attributes,l=>l.name).sort(),Ru(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,a,i),Td(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,a,i),t,r)},PB={serialize:AB,test:RB},TB="@@__IMMUTABLE_ITERABLE__@@",OB="@@__IMMUTABLE_LIST__@@",qB="@@__IMMUTABLE_KEYED__@@",xB="@@__IMMUTABLE_MAP__@@",wb="@@__IMMUTABLE_ORDERED__@@",MB="@@__IMMUTABLE_RECORD__@@",NB="@@__IMMUTABLE_SEQ__@@",jB="@@__IMMUTABLE_SET__@@",IB="@@__IMMUTABLE_STACK__@@",yo=e=>`Immutable.${e}`,as=e=>`[${e}]`,la=" ",Rb="\u2026";function DB(e,t,r,n,a,i,s){return++n>t.maxDepth?as(yo(s)):`${yo(s)+la}{${os(e.entries(),t,r,n,a,i)}}`}function FB(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 BB(e,t,r,n,a,i){let s=yo(e._name||"Record");return++n>t.maxDepth?as(s):`${s+la}{${os(FB(e),t,r,n,a,i)}}`}function LB(e,t,r,n,a,i){let s=yo("Seq");return++n>t.maxDepth?as(s):e[qB]?`${s+la}{${e._iter||e._object?os(e.entries(),t,r,n,a,i):Rb}}`:`${s+la}[${e._iter||e._array||e._collection||e._iterable?Sd(e.values(),t,r,n,a,i):Rb}]`}function Cu(e,t,r,n,a,i,s){return++n>t.maxDepth?as(yo(s)):`${yo(s)+la}[${Sd(e.values(),t,r,n,a,i)}]`}var kB=(e,t,r,n,a,i)=>e[xB]?DB(e,t,r,n,a,i,e[wb]?"OrderedMap":"Map"):e[OB]?Cu(e,t,r,n,a,i,"List"):e[jB]?Cu(e,t,r,n,a,i,e[wb]?"OrderedSet":"Set"):e[IB]?Cu(e,t,r,n,a,i,"Stack"):e[NB]?LB(e,t,r,n,a,i):BB(e,t,r,n,a,i),$B=e=>e&&(e[TB]===!0||e[MB]===!0),UB={serialize:kB,test:$B},uc={exports:{}},mt={},Cb;function HB(){if(Cb)return mt;Cb=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=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"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b;b=Symbol.for("react.module.reference");function y(v){if(typeof v=="object"&&v!==null){var g=v.$$typeof;switch(g){case e:switch(v=v.type,v){case r:case a:case n:case d:case c:return v;default:switch(v=v&&v.$$typeof,v){case l:case s:case u:case m:case p:case i:return v;default:return g}}case t:return g}}}return mt.ContextConsumer=s,mt.ContextProvider=i,mt.Element=e,mt.ForwardRef=u,mt.Fragment=r,mt.Lazy=m,mt.Memo=p,mt.Portal=t,mt.Profiler=a,mt.StrictMode=n,mt.Suspense=d,mt.SuspenseList=c,mt.isAsyncMode=function(){return!1},mt.isConcurrentMode=function(){return!1},mt.isContextConsumer=function(v){return y(v)===s},mt.isContextProvider=function(v){return y(v)===i},mt.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},mt.isForwardRef=function(v){return y(v)===u},mt.isFragment=function(v){return y(v)===r},mt.isLazy=function(v){return y(v)===m},mt.isMemo=function(v){return y(v)===p},mt.isPortal=function(v){return y(v)===t},mt.isProfiler=function(v){return y(v)===a},mt.isStrictMode=function(v){return y(v)===n},mt.isSuspense=function(v){return y(v)===d},mt.isSuspenseList=function(v){return y(v)===c},mt.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===a||v===n||v===d||v===c||v===h||typeof v=="object"&&v!==null&&(v.$$typeof===m||v.$$typeof===p||v.$$typeof===i||v.$$typeof===s||v.$$typeof===u||v.$$typeof===b||v.getModuleId!==void 0)},mt.typeOf=y,mt}var bt={},Sb;function VB(){return Sb||(Sb=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),i=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"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),b=!1,y=!1,v=!1,g=!1,E=!1,T;T=Symbol.for("react.module.reference");function M(fe){return!!(typeof fe=="string"||typeof fe=="function"||fe===r||fe===a||E||fe===n||fe===d||fe===c||g||fe===h||b||y||v||typeof fe=="object"&&fe!==null&&(fe.$$typeof===m||fe.$$typeof===p||fe.$$typeof===i||fe.$$typeof===s||fe.$$typeof===u||fe.$$typeof===T||fe.getModuleId!==void 0))}function O(fe){if(typeof fe=="object"&&fe!==null){var Se=fe.$$typeof;switch(Se){case e:var He=fe.type;switch(He){case r:case a:case n:case d:case c:return He;default:var ut=He&&He.$$typeof;switch(ut){case l:case s:case u:case m:case p:case i:return ut;default:return Se}}case t:return Se}}}var A=s,w=i,S=e,N=u,Y=r,K=m,ee=p,Q=t,x=a,D=n,J=d,ve=c,ye=!1,xe=!1;function De(fe){return ye||(ye=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function je(fe){return xe||(xe=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function be(fe){return O(fe)===s}function de(fe){return O(fe)===i}function ge(fe){return typeof fe=="object"&&fe!==null&&fe.$$typeof===e}function Te(fe){return O(fe)===u}function Re(fe){return O(fe)===r}function Ne(fe){return O(fe)===m}function Ze(fe){return O(fe)===p}function _t(fe){return O(fe)===t}function Z(fe){return O(fe)===a}function qe(fe){return O(fe)===n}function Be(fe){return O(fe)===d}function Qe(fe){return O(fe)===c}bt.ContextConsumer=A,bt.ContextProvider=w,bt.Element=S,bt.ForwardRef=N,bt.Fragment=Y,bt.Lazy=K,bt.Memo=ee,bt.Portal=Q,bt.Profiler=x,bt.StrictMode=D,bt.Suspense=J,bt.SuspenseList=ve,bt.isAsyncMode=De,bt.isConcurrentMode=je,bt.isContextConsumer=be,bt.isContextProvider=de,bt.isElement=ge,bt.isForwardRef=Te,bt.isFragment=Re,bt.isLazy=Ne,bt.isMemo=Ze,bt.isPortal=_t,bt.isProfiler=Z,bt.isStrictMode=qe,bt.isSuspense=Be,bt.isSuspenseList=Qe,bt.isValidElementType=M,bt.typeOf=O}()),bt}process.env.NODE_ENV==="production"?uc.exports=HB():uc.exports=VB();var Tn=uc.exports;function l0(e,t=[]){if(Array.isArray(e))for(let r of e)l0(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function Ab(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Tn.isFragment(e))return"React.Fragment";if(Tn.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Tn.isContextProvider(e))return"Context.Provider";if(Tn.isContextConsumer(e))return"Context.Consumer";if(Tn.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Tn.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function GB(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var zB=(e,t,r,n,a,i)=>++n>t.maxDepth?qd(Ab(e),t):Od(Ab(e),Pd(GB(e),e.props,t,r+t.indent,n,a,i),Td(l0(e.props.children),t,r+t.indent,n,a,i),t,r),WB=e=>e!=null&&Tn.isElement(e),YB={serialize:zB,test:WB},KB=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function JB(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var XB=(e,t,r,n,a,i)=>++n>t.maxDepth?qd(e.type,t):Od(e.type,e.props?Pd(JB(e),e.props,t,r+t.indent,n,a,i):"",e.children?Td(e.children,t,r+t.indent,n,a,i):"",t,r),QB=e=>e&&e.$$typeof===KB,ZB={serialize:XB,test:QB},u0=Object.prototype.toString,eL=Date.prototype.toISOString,tL=Error.prototype.toString,Pb=RegExp.prototype.toString;function Su(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function rL(e){return typeof window<"u"&&e===window}var nL=/^Symbol\((.*)\)(.*)$/,oL=/\n/g,c0=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function aL(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 iL(e){return Object.is(e,-0)?"-0":String(e)}function sL(e){return`${e}n`}function Tb(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function Ob(e){return String(e).replace(nL,"Symbol($1)")}function qb(e){return`[${tL.call(e)}]`}function d0(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let a=typeof e;if(a==="number")return iL(e);if(a==="bigint")return sL(e);if(a==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(a==="function")return Tb(e,t);if(a==="symbol")return Ob(e);let i=u0.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?Tb(e,t):i==="[object Symbol]"?Ob(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":eL.call(e):i==="[object Error]"?qb(e):i==="[object RegExp]"?r?Pb.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):Pb.call(e):e instanceof Error?qb(e):null}function p0(e,t,r,n,a,i){if(a.includes(e))return"[Circular]";a=[...a],a.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return pn(e.toJSON(),t,r,n,a,!0);let u=u0.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Ci(e,t,r,n,a,pn)}]`:aL(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Ci(e,t,r,n,a,pn)}]`:u==="[object Map]"?s?"[Map]":`Map {${os(e.entries(),t,r,n,a,pn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${Sd(e.values(),t,r,n,a,pn)}}`:s||rL(e)?`[${Su(e)}]`:`${l||!t.printBasicPrototype&&Su(e)==="Object"?"":`${Su(e)} `}{${Ad(e,t,r,n,a,pn)}}`}function lL(e){return e.serialize!=null}function f0(e,t,r,n,a,i){let s;try{s=lL(e)?e.serialize(t,r,n,a,i,pn):e.print(t,l=>pn(l,r,n,a,i),l=>{let u=n+r.indent;return u+l.replaceAll(oL,`
337
- ${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new c0(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function m0(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new c0(n.message,n.stack)}return null}function pn(e,t,r,n,a,i){let s=m0(t.plugins,e);if(s!==null)return f0(s,e,t,r,n,a);let l=d0(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:p0(e,t,r,n,a,i)}var xd={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},h0=Object.keys(xd),vr={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:xd};function uL(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(vr,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 cL(){return h0.reduce((e,t)=>{let r=xd[t],n=r&&Pt[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 dL(){return h0.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function b0(e){return e?.printFunctionName??vr.printFunctionName}function y0(e){return e?.escapeRegex??vr.escapeRegex}function g0(e){return e?.escapeString??vr.escapeString}function xb(e){return{callToJSON:e?.callToJSON??vr.callToJSON,colors:e?.highlight?cL():dL(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:vr.compareKeys,escapeRegex:y0(e),escapeString:g0(e),indent:e?.min?"":pL(e?.indent??vr.indent),maxDepth:e?.maxDepth??vr.maxDepth,maxWidth:e?.maxWidth??vr.maxWidth,min:e?.min??vr.min,plugins:e?.plugins??vr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:b0(e),spacingInner:e?.min?" ":`
338
- `,spacingOuter:e?.min?"":`
339
- `}}function pL(e){return Array.from({length:e+1}).join(" ")}function Mr(e,t){if(t&&(uL(t),t.plugins)){let n=m0(t.plugins,e);if(n!==null)return f0(n,e,xb(t),"",0,[])}let r=d0(e,b0(t),y0(t),g0(t));return r!==null?r:p0(e,xb(t),"",0,[])}var v0={AsymmetricMatcher:cB,DOMCollection:yB,DOMElement:PB,Immutable:UB,ReactElement:YB,ReactTestComponent:ZB},{AsymmetricMatcher:fL,DOMCollection:mL,DOMElement:hL,Immutable:bL,ReactElement:yL,ReactTestComponent:gL}=v0,Mb=[gL,yL,hL,mL,bL,fL];function mr(e,t=10,{maxLength:r,...n}={}){let a=r??1e4,i;try{i=Mr(e,{maxDepth:t,escapeString:!1,plugins:Mb,...n})}catch{i=Mr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:Mb,...n})}return i.length>=a&&t>1?mr(e,Math.floor(t/2)):i}var vL=/%[sdjifoOc%]/g;function _L(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(Jo(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],a=String(n).replace(vL,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?Jo(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return Jo(e[r++],{showHidden:!0,showProxy:!0});case"%O":return Jo(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?a+=` ${i}`:a+=` ${Jo(i)}`;return a}function Jo(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),lc(e,t)}var u6=Symbol("vitest:SAFE_TIMERS"),EL,wL,RL,CL,SL,AL,PL,_0,TL,OL,qL,xL,ML,NL,jL,IL,DL,FL,BL;ML=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;xL=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;EL=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;jL=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y;qL=/(?: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;IL=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;BL=/[\t\v\f\ufeff\p{Zs}]+/yu;_0=/\r?\n|[\r\u2028\u2029]/y;TL=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;NL=/\/\/.*/y;RL=/[<>.:={}]|\/(?![\/*])/y;wL=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;CL=/(['"])(?:(?!\1)[^])*(\1)?/y;SL=/[^<>{}]+/y;FL=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;DL=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;AL=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;PL=/^(?:return|throw|yield)$/;OL=RegExp(_0.source);var E0={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"]},c6=new Set(E0.keyword),d6=new Set(E0.strict);function Nb(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}`)}var zt=-1,$t=1,Tt=0,St=class{0;1;constructor(e,t){this[0]=e,this[1]=t}},LL=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),a=n,i=0;for(;r<a;)e.substring(i,a)===t.substring(i,a)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},w0=function(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),a=n,i=0;for(;r<a;)e.substring(e.length-a,e.length-i)===t.substring(t.length-a,t.length-i)?(r=a,i=r):n=a,a=Math.floor((n-r)/2+r);return a},jb=function(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 a=Math.min(r,n);if(e===t)return a;let i=0,s=1;for(;;){let l=e.substring(a-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(a-s)===t.substring(0,s))&&(i=s,s++)}},kL=function(e){let t=!1,r=[],n=0,a=null,i=0,s=0,l=0,u=0,d=0;for(;i<e.length;)e[i][0]===Tt?(r[n++]=i,s=u,l=d,u=0,d=0,a=e[i][1]):(e[i][0]===$t?u+=e[i][1].length:d+=e[i][1].length,a&&a.length<=Math.max(s,l)&&a.length<=Math.max(u,d)&&(e.splice(r[n-1],0,new St(zt,a)),e[r[n-1]+1][0]=$t,n--,n--,i=n>0?r[n-1]:-1,s=0,l=0,u=0,d=0,a=null,t=!0)),i++;for(t&&R0(e),HL(e),i=1;i<e.length;){if(e[i-1][0]===zt&&e[i][0]===$t){let c=e[i-1][1],p=e[i][1],m=jb(c,p),h=jb(p,c);m>=h?(m>=c.length/2||m>=p.length/2)&&(e.splice(i,0,new St(Tt,p.substring(0,m))),e[i-1][1]=c.substring(0,c.length-m),e[i+1][1]=p.substring(m),i++):(h>=c.length/2||h>=p.length/2)&&(e.splice(i,0,new St(Tt,c.substring(0,h))),e[i-1][0]=$t,e[i-1][1]=p.substring(0,p.length-h),e[i+1][0]=zt,e[i+1][1]=c.substring(h),i++),i++}i++}},Ib=/[^a-z0-9]/i,Db=/\s/,Fb=/[\r\n]/,$L=/\n\r?\n$/,UL=/^\r?\n\r?\n/;function HL(e){function t(n,a){if(!n||!a)return 6;let i=n.charAt(n.length-1),s=a.charAt(0),l=i.match(Ib),u=s.match(Ib),d=l&&i.match(Db),c=u&&s.match(Db),p=d&&i.match(Fb),m=c&&s.match(Fb),h=p&&n.match($L),b=m&&a.match(UL);return h||b?5:p||m?4:l&&!d&&c?3:d||c?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===Tt&&e[r+1][0]===Tt){let n=e[r-1][1],a=e[r][1],i=e[r+1][1],s=w0(n,a);if(s){let p=a.substring(a.length-s);n=n.substring(0,n.length-s),a=p+a.substring(0,a.length-s),i=p+i}let l=n,u=a,d=i,c=t(n,a)+t(a,i);for(;a.charAt(0)===i.charAt(0);){n+=a.charAt(0),a=a.substring(1)+i.charAt(0),i=i.substring(1);let p=t(n,a)+t(a,i);p>=c&&(c=p,l=n,u=a,d=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,d?e[r+1][1]=d:(e.splice(r+1,1),r--))}r++}}function R0(e){e.push(new St(Tt,""));let t=0,r=0,n=0,a="",i="",s;for(;t<e.length;)switch(e[t][0]){case $t:n++,i+=e[t][1],t++;break;case zt:r++,a+=e[t][1],t++;break;case Tt:r+n>1?(r!==0&&n!==0&&(s=LL(i,a),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===Tt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new St(Tt,i.substring(0,s))),t++),i=i.substring(s),a=a.substring(s)),s=w0(i,a),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),a=a.substring(0,a.length-s))),t-=r+n,e.splice(t,r+n),a.length&&(e.splice(t,0,new St(zt,a)),t++),i.length&&(e.splice(t,0,new St($t,i)),t++),t++):t!==0&&e[t-1][0]===Tt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,a="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Tt&&e[t+1][0]===Tt&&(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),l=!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),l=!0)),t++;l&&R0(e)}var C0="Compared values have no visual difference.",VL="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",S0={};Object.defineProperty(S0,"__esModule",{value:!0});var A0=S0.default=YL,ra="diff-sequences",Vt=0,ua=(e,t,r,n,a)=>{let i=0;for(;e<t&&r<n&&a(e,r);)e+=1,r+=1,i+=1;return i},ca=(e,t,r,n,a)=>{let i=0;for(;e<=t&&r<=n&&a(t,n);)t-=1,n-=1,i+=1;return i},Au=(e,t,r,n,a,i,s)=>{let l=0,u=-e,d=i[l],c=d;i[l]+=ua(d+1,t,n+d-u+1,r,a);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&c<i[l])d=i[l];else if(d=c+1,t<=d)return l-1;c=i[l],i[l]=d+ua(d+1,t,n+d-u+1,r,a)}return s},Bb=(e,t,r,n,a,i,s)=>{let l=0,u=e,d=i[l],c=d;i[l]-=ca(t,d-1,r,n+d-u-1,a);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<c)d=i[l];else if(d=c-1,d<t)return l-1;c=i[l],i[l]=d-ca(t,d-1,r,n+d-u-1,a)}return s},GL=(e,t,r,n,a,i,s,l,u,d,c)=>{let p=n-t,m=r-t,h=a-n-m,b=-h-(e-1),y=-h+(e-1),v=Vt,g=e<l?e:l;for(let E=0,T=-e;E<=g;E+=1,T+=2){let M=E===0||E!==e&&v<s[E],O=M?s[E]:v,A=M?O:O+1,w=p+A-T,S=ua(A+1,r,w+1,a,i),N=A+S;if(v=s[E],s[E]=N,b<=T&&T<=y){let Y=(e-1-(T+h))/2;if(Y<=d&&u[Y]-1<=N){let K=p+O-(M?T+1:T-1),ee=ca(t,O,n,K,i),Q=O-ee,x=K-ee,D=Q+1,J=x+1;c.nChangePreceding=e-1,e-1===D+J-t-n?(c.aEndPreceding=t,c.bEndPreceding=n):(c.aEndPreceding=D,c.bEndPreceding=J),c.nCommonPreceding=ee,ee!==0&&(c.aCommonPreceding=D,c.bCommonPreceding=J),c.nCommonFollowing=S,S!==0&&(c.aCommonFollowing=A+1,c.bCommonFollowing=w+1);let ve=N+1,ye=w+S+1;return c.nChangeFollowing=e-1,e-1===r+a-ve-ye?(c.aStartFollowing=r,c.bStartFollowing=a):(c.aStartFollowing=ve,c.bStartFollowing=ye),!0}}}return!1},zL=(e,t,r,n,a,i,s,l,u,d,c)=>{let p=a-r,m=r-t,h=a-n-m,b=h-e,y=h+e,v=Vt,g=e<d?e:d;for(let E=0,T=e;E<=g;E+=1,T-=2){let M=E===0||E!==e&&u[E]<v,O=M?u[E]:v,A=M?O:O-1,w=p+A-T,S=ca(t,A-1,n,w-1,i),N=A-S;if(v=u[E],u[E]=N,b<=T&&T<=y){let Y=(e+(T-h))/2;if(Y<=l&&N-1<=s[Y]){let K=w-S;if(c.nChangePreceding=e,e===N+K-t-n?(c.aEndPreceding=t,c.bEndPreceding=n):(c.aEndPreceding=N,c.bEndPreceding=K),c.nCommonPreceding=S,S!==0&&(c.aCommonPreceding=N,c.bCommonPreceding=K),c.nChangeFollowing=e-1,e===1)c.nCommonFollowing=0,c.aStartFollowing=r,c.bStartFollowing=a;else{let ee=p+O-(M?T-1:T+1),Q=ua(O,r,ee,a,i);c.nCommonFollowing=Q,Q!==0&&(c.aCommonFollowing=O,c.bCommonFollowing=ee);let x=O+Q,D=ee+Q;e-1===r+a-x-D?(c.aStartFollowing=r,c.bStartFollowing=a):(c.aStartFollowing=x,c.bStartFollowing=D)}return!0}}}return!1},WL=(e,t,r,n,a,i,s,l,u)=>{let d=n-t,c=a-r,p=r-t,m=a-n,h=m-p,b=p,y=p;if(s[0]=t-1,l[0]=r,h%2===0){let v=(e||h)/2,g=(p+m)/2;for(let E=1;E<=g;E+=1)if(b=Au(E,r,a,d,i,s,b),E<v)y=Bb(E,t,n,c,i,l,y);else if(zL(E,t,r,n,a,i,s,b,l,y,u))return}else{let v=((e||h)+1)/2,g=(p+m+1)/2,E=1;for(b=Au(E,r,a,d,i,s,b),E+=1;E<=g;E+=1)if(y=Bb(E-1,t,n,c,i,l,y),E<v)b=Au(E,r,a,d,i,s,b);else if(GL(E,t,r,n,a,i,s,b,l,y,u))return}throw new Error(`${ra}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${a}`)},cc=(e,t,r,n,a,i,s,l,u,d)=>{if(a-n<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:Y,isCommon:K}=s[0];s[1]={foundSubsequence:(ee,Q,x)=>{Y(ee,x,Q)},isCommon:(ee,Q)=>K(Q,ee)}}let S=t,N=r;t=n,r=a,n=S,a=N}let{foundSubsequence:c,isCommon:p}=s[i?1:0];WL(e,t,r,n,a,p,l,u,d);let{nChangePreceding:m,aEndPreceding:h,bEndPreceding:b,nCommonPreceding:y,aCommonPreceding:v,bCommonPreceding:g,nCommonFollowing:E,aCommonFollowing:T,bCommonFollowing:M,nChangeFollowing:O,aStartFollowing:A,bStartFollowing:w}=d;t<h&&n<b&&cc(m,t,h,n,b,i,s,l,u,d),y!==0&&c(y,v,g),E!==0&&c(E,T,M),A<r&&w<a&&cc(O,A,r,w,a,i,s,l,u,d)},Lb=(e,t)=>{if(typeof t!="number")throw new TypeError(`${ra}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${ra}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${ra}: ${e} value ${t} is a negative integer`)},kb=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${ra}: ${e} typeof ${r} is not a function`)};function YL(e,t,r,n){Lb("aLength",e),Lb("bLength",t),kb("isCommon",r),kb("foundSubsequence",n);let a=ua(0,e,0,t,r);if(a!==0&&n(a,0,0),e!==a||t!==a){let i=a,s=a,l=ca(i,e-1,s,t-1,r),u=e-l,d=t-l,c=a+l;e!==c&&t!==c&&cc(0,i,u,s,d,!1,[{foundSubsequence:n,isCommon:r}],[Vt],[Vt],{aCommonFollowing:Vt,aCommonPreceding:Vt,aEndPreceding:Vt,aStartFollowing:Vt,bCommonFollowing:Vt,bCommonPreceding:Vt,bEndPreceding:Vt,bStartFollowing:Vt,nChangeFollowing:Vt,nChangePreceding:Vt,nCommonFollowing:Vt,nCommonPreceding:Vt}),l!==0&&n(l,u,d)}}function KL(e,t){return e.replace(/\s+$/,r=>t(r))}function Md(e,t,r,n,a,i){return e.length!==0?r(`${n} ${KL(e,a)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function P0(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Md(e,t,r,n,a,i)}function T0(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Md(e,t,r,n,a,i)}function O0(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:a,emptyFirstOrLastLinePlaceholder:i}){return Md(e,t,r,n,a,i)}function $b(e,t,r,n,{patchColor:a}){return a(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function JL(e,t){let r=e.length,n=t.contextLines,a=n+n,i=r,s=!1,l=0,u=0;for(;u!==r;){let M=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(M!==u)if(M===0)u>n&&(i-=u-n,s=!0);else if(u===r){let O=u-M;O>n&&(i-=O-n,s=!0)}else{let O=u-M;O>a&&(i-=O-a,l+=1)}for(;u!==r&&e[u][0]!==Tt;)u+=1}let d=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let c=i-1,p=[],m=0;d&&p.push("");let h=0,b=0,y=0,v=0,g=M=>{let O=p.length;p.push(O0(M,O===0||O===c,t)),y+=1,v+=1},E=M=>{let O=p.length;p.push(P0(M,O===0||O===c,t)),y+=1},T=M=>{let O=p.length;p.push(T0(M,O===0||O===c,t)),v+=1};for(u=0;u!==r;){let M=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(M!==u)if(M===0){u>n&&(M=u-n,h=M,b=M,y=h,v=b);for(let O=M;O!==u;O+=1)g(e[O][1])}else if(u===r){let O=u-M>n?M+n:u;for(let A=M;A!==O;A+=1)g(e[A][1])}else{let O=u-M;if(O>a){let A=M+n;for(let S=M;S!==A;S+=1)g(e[S][1]);p[m]=$b(h,y,b,v,t),m=p.length,p.push("");let w=O-a;h=y+w,b=v+w,y=h,v=b;for(let S=u-n;S!==u;S+=1)g(e[S][1])}else for(let A=M;A!==u;A+=1)g(e[A][1])}for(;u!==r&&e[u][0]===zt;)E(e[u][1]),u+=1;for(;u!==r&&e[u][0]===$t;)T(e[u][1]),u+=1}return d&&(p[m]=$b(h,y,b,v,t)),p.join(`
340
- `)}function XL(e,t){return e.map((r,n,a)=>{let i=r[1],s=n===0||n===a.length-1;switch(r[0]){case zt:return P0(i,s,t);case $t:return T0(i,s,t);default:return O0(i,s,t)}}).join(`
341
- `)}var Pu=e=>e,q0=5,QL=0;function ZL(){return{aAnnotation:"Expected",aColor:Pt.green,aIndicator:"-",bAnnotation:"Received",bColor:Pt.red,bIndicator:"+",changeColor:Pt.inverse,changeLineTrailingSpaceColor:Pu,commonColor:Pt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Pu,compareKeys:void 0,contextLines:q0,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:Pt.yellow,truncateThreshold:QL,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Pu}}function ek(e){return e&&typeof e=="function"?e:void 0}function tk(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:q0}function Fn(e={}){return{...ZL(),...e,compareKeys:ek(e.compareKeys),contextLines:tk(e.contextLines)}}function ao(e){return e.length===1&&e[0].length===0}function rk(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case zt:t+=1;break;case $t:r+=1;break}}),{a:t,b:r}}function nk({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:a,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let d="",c="";if(s){let h=String(u.a),b=String(u.b),y=n.length-e.length,v=" ".repeat(Math.max(0,y)),g=" ".repeat(Math.max(0,-y)),E=b.length-h.length,T=" ".repeat(Math.max(0,E)),M=" ".repeat(Math.max(0,-E));d=`${v} ${r} ${T}${h}`,c=`${g} ${i} ${M}${b}`}let p=`${r} ${e}${d}`,m=`${i} ${n}${c}`;return`${t(p)}
342
- ${a(m)}
343
-
344
- `}function Nd(e,t,r){return nk(r,rk(e))+(r.expand?XL(e,r):JL(e,r))+(t?r.truncateAnnotationColor(`
345
- ${r.truncateAnnotation}`):"")}function is(e,t,r){let n=Fn(r),[a,i]=x0(ao(e)?[]:e,ao(t)?[]:t,n);return Nd(a,i,n)}function ok(e,t,r,n,a){if(ao(e)&&ao(r)&&(e=[],r=[]),ao(t)&&ao(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return is(e,t,a);let[i,s]=x0(r,n,a),l=0,u=0;return i.forEach(d=>{switch(d[0]){case zt:d[1]=e[l],l+=1;break;case $t:d[1]=t[u],u+=1;break;default:d[1]=t[u],l+=1,u+=1}}),Nd(i,s,Fn(a))}function x0(e,t,r){let n=r?.truncateThreshold??!1,a=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,a):e.length,s=n?Math.min(t.length,a):t.length,l=i!==e.length||s!==t.length,u=(m,h)=>e[m]===t[h],d=[],c=0,p=0;for(A0(i,s,u,(m,h,b)=>{for(;c!==h;c+=1)d.push(new St(zt,e[c]));for(;p!==b;p+=1)d.push(new St($t,t[p]));for(;m!==0;m-=1,c+=1,p+=1)d.push(new St(Tt,t[p]))});c!==i;c+=1)d.push(new St(zt,e[c]));for(;p!==s;p+=1)d.push(new St($t,t[p]));return[d,l]}function Ub(e){return e.includes(`\r
346
- `)?`\r
347
- `:`
348
- `}function ak(e,t,r){let n=r?.truncateThreshold??!1,a=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,s=t.length;if(n){let m=e.includes(`
349
- `),h=t.includes(`
350
- `),b=Ub(e),y=Ub(t),v=m?`${e.split(b,a).join(b)}
351
- `:e,g=h?`${t.split(y,a).join(y)}
352
- `:t;i=v.length,s=g.length}let l=i!==e.length||s!==t.length,u=(m,h)=>e[m]===t[h],d=0,c=0,p=[];return A0(i,s,u,(m,h,b)=>{d!==h&&p.push(new St(zt,e.slice(d,h))),c!==b&&p.push(new St($t,t.slice(c,b))),d=h+m,c=b+m,p.push(new St(Tt,t.slice(b,c)))}),d!==i&&p.push(new St(zt,e.slice(d))),c!==s&&p.push(new St($t,t.slice(c))),[p,l]}function ik(e,t,r){return t.reduce((n,a)=>n+(a[0]===Tt?a[1]:a[0]===e&&a[1].length!==0?r(a[1]):""),"")}var Hb=class{op;line;lines;changeColor;constructor(e,t){this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new St(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new St(this.op,ik(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new St(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(`
353
- `)){let r=t.split(`
354
- `),n=r.length-1;r.forEach((a,i)=>{i<n?(this.pushSubstring(a),this.pushLine()):a.length!==0&&this.pushSubstring(a)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},sk=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(`
355
- `)){let n=r.split(`
356
- `),a=n.length-1;n.forEach((i,s)=>{if(s===0){let l=new St(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<a?this.pushDiffCommonLine(new St(t,i)):i.length!==0&&this.pushDiffChangeLines(new St(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function lk(e,t){let r=new Hb(zt,t),n=new Hb($t,t),a=new sk(r,n);return e.forEach(i=>{switch(i[0]){case zt:r.align(i);break;case $t:n.align(i);break;default:a.align(i)}}),a.getLines()}function uk(e,t){if(t){let r=e.length-1;return e.some((n,a)=>n[0]===Tt&&(a!==r||n[1]!==`
357
- `))}return e.some(r=>r[0]===Tt)}function ck(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
358
- `)||t.includes(`
359
- `),[a,i]=M0(n?`${e}
360
- `:e,n?`${t}
361
- `:t,!0,r);if(uk(a,n)){let s=Fn(r),l=lk(a,s.changeColor);return Nd(l,i,s)}}return is(e.split(`
362
- `),t.split(`
363
- `),r)}function M0(e,t,r,n){let[a,i]=ak(e,t,n);return r&&kL(a),[a,i]}function dc(e,t){let{commonColor:r}=Fn(t);return r(e)}var{AsymmetricMatcher:dk,DOMCollection:pk,DOMElement:fk,Immutable:mk,ReactElement:hk,ReactTestComponent:bk}=v0,N0=[bk,hk,fk,pk,mk,dk],pc={plugins:N0},j0={callToJSON:!1,maxDepth:10,plugins:N0};function go(e,t,r){if(Object.is(e,t))return"";let n=Nb(e),a=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;a=e.getExpectedType(),i=a==="string"}if(a!==Nb(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:d,bColor:c,bIndicator:p}=Fn(r),m=fc(j0,r),h=Mr(e,m),b=Mr(t,m),y=`${l(`${u} ${s}:`)}
364
- ${h}`,v=`${c(`${p} ${d}:`)}
365
- ${b}`;return`${y}
366
-
367
- ${v}`}if(!i)switch(n){case"string":return is(e.split(`
368
- `),t.split(`
369
- `),r);case"boolean":case"number":return yk(e,t,r);case"map":return Tu(Vb(e),Vb(t),r);case"set":return Tu(Gb(e),Gb(t),r);default:return Tu(e,t,r)}}function yk(e,t,r){let n=Mr(e,pc),a=Mr(t,pc);return n===a?"":is(n.split(`
370
- `),a.split(`
371
- `),r)}function Vb(e){return new Map(Array.from(e.entries()).sort())}function Gb(e){return new Set(Array.from(e.values()).sort())}function Tu(e,t,r){let n,a=!1;try{let s=fc(pc,r);n=zb(e,t,s,r)}catch{a=!0}let i=dc(C0,r);if(n===void 0||n===i){let s=fc(j0,r);n=zb(e,t,s,r),n!==i&&!a&&(n=`${dc(VL,r)}
372
-
373
- ${n}`)}return n}function fc(e,t){let{compareKeys:r}=Fn(t);return{...e,compareKeys:r}}function zb(e,t,r,n){let a={...r,indent:0},i=Mr(e,a),s=Mr(t,a);if(i===s)return dc(C0,n);{let l=Mr(e,r),u=Mr(t,r);return ok(l.split(`
374
- `),u.split(`
375
- `),i.split(`
376
- `),s.split(`
377
- `),n)}}var Wb=2e4;function Yb(e){return ac(e)==="Object"&&typeof e.asymmetricMatch=="function"}function Kb(e,t){let r=ac(e),n=ac(t);return r===n&&(r==="Object"||r==="Array")}function I0(e,t,r){let{aAnnotation:n,bAnnotation:a}=Fn(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=Wb&&t.length<=Wb&&e!==t){if(e.includes(`
378
- `)||t.includes(`
379
- `))return ck(t,e,r);let[d]=M0(t,e,!0),c=d.some(b=>b[0]===Tt),p=gk(n,a),m=p(n)+Ek(Jb(d,zt,c)),h=p(a)+_k(Jb(d,$t,c));return`${m}
380
- ${h}`}let i=db(e,{forceWritable:!0}),s=db(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=D0(i,s);return go(l,u,r)}function D0(e,t,r=new WeakSet,n=new WeakSet){return Kb(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Qv(t).forEach(a=>{let i=t[a],s=e[a];if(Yb(i))i.asymmetricMatch(s)&&(e[a]=i);else if(Yb(s))s.asymmetricMatch(i)&&(t[a]=s);else if(Kb(s,i)){let l=D0(s,i,r,n);e[a]=l.replacedActual,t[a]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function gk(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var vk="\xB7";function F0(e){return e.replace(/\s+$/gm,t=>vk.repeat(t.length))}function _k(e){return Pt.red(F0(mr(e)))}function Ek(e){return Pt.green(F0(mr(e)))}function Jb(e,t,r){return e.reduce((n,a)=>n+(a[0]===Tt?a[1]:a[0]===t?r?Pt.inverse(a[1]):a[1]:""),"")}function di(e,t){if(!e)throw new Error(t)}function io(e,t){return typeof t===e}function wk(e){return e instanceof Promise}function mc(e,t,r){Object.defineProperty(e,t,r)}function co(e,t,r){Object.defineProperty(e,t,{value:r})}var na=Symbol.for("tinyspy:spy"),Rk=new Set,Ck=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},Sk=e=>(mc(e,na,{value:{reset:()=>Ck(e[na])}}),e[na]),Si=e=>e[na]||Sk(e);function Ak(e){di(io("function",e)||io("undefined",e),"cannot spy on a non-function value");let t=function(...n){let a=Si(t);a.called=!0,a.callCount++,a.calls.push(n);let i=a.next.shift();if(i){a.results.push(i);let[c,p]=i;if(c==="ok")return p;throw p}let s,l="ok",u=a.results.length;if(a.impl)try{new.target?s=Reflect.construct(a.impl,n,new.target):s=a.impl.apply(this,n),l="ok"}catch(c){throw s=c,l="error",a.results.push([l,c]),c}let d=[l,s];return wk(s)&&s.then(c=>a.resolves[u]=["ok",c],c=>a.resolves[u]=["error",c]),a.results.push(d),s};co(t,"_isMockFunction",!0),co(t,"length",e?e.length:0),co(t,"name",e&&e.name||"spy");let r=Si(t);return r.reset(),r.impl=e,t}var Xb=(e,t)=>Object.getOwnPropertyDescriptor(e,t),Qb=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function B0(e,t,r){di(!io("undefined",e),"spyOn could not find an object to spy upon"),di(io("object",e)||io("function",e),"cannot spyOn on a primitive value");let[n,a]=(()=>{if(!io("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")})(),i=Xb(e,n),s=Object.getPrototypeOf(e),l=s&&Xb(s,n),u=i||l;di(u||n in e,`${String(n)} does not exist`);let d=!1;a==="value"&&u&&!u.value&&u.get&&(a="get",d=!0,r=u.get());let c;u?c=u[a]:a!=="value"?c=()=>e[n]:c=e[n];let p=y=>{let{value:v,...g}=u||{configurable:!0,writable:!0};a!=="value"&&delete g.writable,g[a]=y,mc(e,n,g)},m=()=>u?mc(e,n,u):p(c);r||(r=c);let h=Ak(r);a==="value"&&Qb(h,c);let b=h[na];return co(b,"restore",m),co(b,"getOriginal",()=>d?c():c),co(b,"willCall",y=>(b.impl=y,h)),p(d?()=>(Qb(h,r),h):h),Rk.add(h),h}var Ta=new Set;function jd(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function Pk(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,a=B0(e,n);return L0(a)}var Tk=0;function L0(e){let t=e,r,n=[],a=[],i=[],s=Si(e),l={get calls(){return s.calls},get contexts(){return a},get instances(){return n},get invocationCallOrder(){return i},get results(){return s.results.map(([h,b])=>({type:h==="error"?"throw":"return",value:b}))},get settledResults(){return s.resolves.map(([h,b])=>({type:h==="error"?"rejected":"fulfilled",value:b}))},get lastCall(){return s.calls[s.calls.length-1]}},u=[],d=!1;function c(...h){return n.push(this),a.push(this),i.push(++Tk),(d?r:u.shift()||r||s.getOriginal()||(()=>{})).apply(this,h)}let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=h=>(p=h,t),t.mockClear=()=>(s.reset(),n=[],a=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),s.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=h=>(r=h,s.willCall(c),t),t.mockImplementationOnce=h=>(u.push(h),t);function m(h,b){let y=r;r=h,s.willCall(c),d=!0;let v=()=>{r=y,d=!1},g=b();return g instanceof Promise?g.then(()=>(v(),t)):(v(),t)}return t.withImplementation=m,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=h=>t.mockImplementation(()=>h),t.mockReturnValueOnce=h=>t.mockImplementationOnce(()=>h),t.mockResolvedValue=h=>t.mockImplementation(()=>Promise.resolve(h)),t.mockResolvedValueOnce=h=>t.mockImplementationOnce(()=>Promise.resolve(h)),t.mockRejectedValue=h=>t.mockImplementation(()=>Promise.reject(h)),t.mockRejectedValueOnce=h=>t.mockImplementationOnce(()=>Promise.reject(h)),Object.defineProperty(t,"mock",{get:()=>l}),s.willCall(c),Ta.add(t),t}function Zb(e){let t=L0(B0({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var Ok="@@__IMMUTABLE_RECORD__@@",qk="@@__IMMUTABLE_ITERABLE__@@";function xk(e){return e&&(e[qk]||e[Ok])}var Mk=Object.getPrototypeOf({});function ey(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function so(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(xk(e))return so(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()} ${_L(e.sample)}`;if(typeof e.toJSON=="function")return so(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,a)=>{try{r[a]=so(n,t)}catch(i){r[a]=ey(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==Mk;)Object.getOwnPropertyNames(n).forEach(a=>{if(!(a in r))try{r[a]=so(e[a],t)}catch(i){delete r[a],r[a]=ey(i)}}),n=Object.getPrototypeOf(n);return r}}function Nk(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function k0(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=I0(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=mr(n.expected,10)),typeof n.actual!="string"&&(n.actual=mr(n.actual,10));try{typeof n.message=="string"&&(n.message=Nk(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=k0(n.cause,t,r))}catch{}try{return so(n)}catch(a){return so(new Error(`Failed to fully serialize error: ${a?.message}
381
- Inner error message: ${n?.message}`))}}var da=Symbol.for("matchers-object"),pa=Symbol.for("$$jest-matchers-object-storybook"),Id=Symbol.for("expect-global"),hc=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,da)){let e=new WeakMap;Object.defineProperty(globalThis,da,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,pa)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,pa,{configurable:!0,get:()=>({state:globalThis[da].get(globalThis[Id]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,hc)){let e=Object.create(null);Object.defineProperty(globalThis,hc,{get:()=>e})}function Ai(e){return globalThis[da].get(e)}function Ou(e,t){let r=globalThis[da],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var Pi=Pt.green,Dd=Pt.red,jk=Pt.inverse,Ik=Pt.bold,dn=Pt.dim;function Dk(e,t="received",r="expected",n={}){let{comment:a="",isDirectExpectCall:i=!1,isNot:s=!1,promise:l="",secondArgument:u="",expectedColor:d=Pi,receivedColor:c=Dd,secondArgumentColor:p=Pi}=n,m="",h="expect";return!i&&t!==""&&(m+=dn(`${h}(`)+c(t),h=")"),l!==""&&(m+=dn(`${h}.`)+l,h=""),s&&(m+=`${dn(`${h}.`)}not`,h=""),e.includes(".")?h+=e:(m+=dn(`${h}.`)+e,h=""),r===""?h+="()":(m+=dn(`${h}(`)+d(r),u&&(m+=dn(", ")+p(u)),h=")"),a!==""&&(h+=` // ${a}`),h!==""&&(m+=dn(h)),m}var Fk="\xB7";function $0(e){return e.replace(/\s+$/gm,t=>Fk.repeat(t.length))}function Bk(e){return Dd($0(mr(e)))}function Lk(e){return Pi($0(mr(e)))}function U0(){return{EXPECTED_COLOR:Pi,RECEIVED_COLOR:Dd,INVERTED_COLOR:jk,BOLD_WEIGHT:Ik,DIM_COLOR:dn,diff:go,matcherHint:Dk,printReceived:Bk,printExpected:Lk,printDiffOrStringify:I0}}function Fd(){return globalThis[pa].customEqualityTesters}function dt(e,t,r,n){return r=r||[],H0(e,t,[],[],r,n?V0:$k)}var p6=Function.prototype.toString;function ty(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&wr("Function",e.asymmetricMatch)}function kk(e,t){let r=ty(e),n=ty(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function H0(e,t,r,n,a,i){let s=!0,l=kk(e,t);if(l!==void 0)return l;let u={equals:dt};for(let b=0;b<a.length;b++){let y=a[b].call(u,e,t,a);if(y!==void 0)return y}if(e instanceof Error&&t instanceof Error)return e.message===t.message;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 d=Object.prototype.toString.call(e);if(d!==Object.prototype.toString.call(t))return!1;switch(d){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}if(typeof e!="object"||typeof t!="object")return!1;if(ny(e)&&ny(t))return e.isEqualNode(t);let c=r.length;for(;c--;){if(r[c]===e)return n[c]===t;if(n[c]===t)return!1}if(r.push(e),n.push(t),d==="[object Array]"&&e.length!==t.length)return!1;let p=ry(e,i),m,h=p.length;if(ry(t,i).length!==h)return!1;for(;h--;)if(m=p[h],s=i(t,m)&&H0(e[m],t[m],r,n,a,i),!s)return!1;return r.pop(),n.pop(),s}function ry(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 $k(e,t){return V0(e,t)&&e[t]!==void 0}function V0(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function wr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function ny(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 G0="@@__IMMUTABLE_KEYED__@@",z0="@@__IMMUTABLE_SET__@@",Uk="@@__IMMUTABLE_LIST__@@",ss="@@__IMMUTABLE_ORDERED__@@",Hk="@@__IMMUTABLE_RECORD__@@";function Vk(e){return!!(e&&e[G0]&&!e[ss])}function Gk(e){return!!(e&&e[z0]&&!e[ss])}function ls(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function zk(e){return!!(e&&ls(e)&&e[Uk])}function Wk(e){return!!(e&&ls(e)&&e[G0]&&e[ss])}function Yk(e){return!!(e&&ls(e)&&e[z0]&&e[ss])}function Kk(e){return!!(e&&ls(e)&&e[Hk])}var W0=Symbol.iterator;function oy(e){return!!(e!=null&&e[W0])}function or(e,t,r=[],n=[],a=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!oy(e)||!oy(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return a[i]===t;n.push(e),a.push(t);let s=[...r.filter(d=>d!==or),l];function l(d,c){return or(d,c,[...r],[...n],[...a])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(wr("Set",e)||Gk(e)){let d=!0;for(let c of e)if(!t.has(c)){let p=!1;for(let m of t)dt(c,m,s)===!0&&(p=!0);if(p===!1){d=!1;break}}return n.pop(),a.pop(),d}else if(wr("Map",e)||Vk(e)){let d=!0;for(let c of e)if(!t.has(c[0])||!dt(c[1],t.get(c[0]),s)){let p=!1;for(let m of t){let h=dt(c[0],m[0],s),b=!1;h===!0&&(b=dt(c[1],m[1],s)),b===!0&&(p=!0)}if(p===!1){d=!1;break}}return n.pop(),a.pop(),d}}let u=t[W0]();for(let d of e){let c=u.next();if(c.done||!dt(d,c.value,s))return!1}if(!u.next().done)return!1;if(!zk(e)&&!Wk(e)&&!Yk(e)&&!Kk(e)){let d=Object.entries(e),c=Object.entries(t);if(!dt(d,c))return!1}return n.pop(),a.pop(),!0}function Bd(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Bd(Object.getPrototypeOf(e),t)}function Jk(e){return ui(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Oa(e,t,r=[]){let n=r.filter(i=>i!==Oa),a=(i=new WeakMap)=>(s,l)=>{if(Jk(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return dt(s[u],l[u],n);i.set(l[u],!0)}let d=s!=null&&Bd(s,u)&&dt(s[u],l[u],[...n,a(i)]);return i.delete(l[u]),d})};return a()(e,t)}function ay(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function iy(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 a=0;a<r.byteLength;a++)if(r.getUint8(a)!==n.getUint8(a))return!1;return!0}function bc(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),a=Object.keys(t),i=r.filter(s=>s!==bc);return dt(e,t,i,!0)&&dt(n,a)}function Xk(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
382
-
383
- If it should pass with deep equality, replace "toBe" with "${e}"
384
-
385
- Expected: ${t}
386
- Received: serializes to the same string
387
- `:n}function Qk(e,t){return`${t} ${e}${t===1?"":"s"}`}function qu(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function Zk(e,t,r=[]){let n=0,a=(i=new WeakMap)=>(s,l)=>{if(Array.isArray(s)){if(Array.isArray(l)&&l.length===s.length)return l.map((u,d)=>a(i)(s[d],u))}else{if(s instanceof Date)return s;if(ui(s)&&ui(l)){if(dt(s,l,[...r,or,Oa]))return l;let u={};i.set(s,u);for(let d of qu(s))Bd(l,d)?u[d]=i.has(s[d])?i.get(s[d]):a(i)(s[d],l[d]):i.has(s[d])||(n+=1,ui(s[d])&&(n+=qu(s[d]).length),a(i)(s[d],l[d]));if(qu(u).length>0)return u}}return s};return{subset:a()(e,t),stripped:n}}var _n=class{constructor(e,t=!1){this.sample=e,this.inverse=t}$$typeof=Symbol.for("jest.asymmetricMatcher");getMatcherContext(e){return{...Ai(e||globalThis[Id]),equals:dt,isNot:this.inverse,customTesters:Fd(),utils:{...U0(),diff:go,stringify:mr,iterableEquality:or,subsetEquality:Oa}}}[Symbol.for("chai/inspect")](e){let t=mr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`}},sy=class extends _n{constructor(e,t=!1){if(!wr("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=wr("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},e$=class extends _n{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},ly=class extends _n{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)||!dt(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"}},uy=class extends _n{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(a=>dt(n,a,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},t$=class extends _n{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"||e instanceof 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)}>`}},cy=class extends _n{constructor(e,t=!1){if(!wr("String",e)&&!wr("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=wr("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},dy=class extends _n{precision;constructor(e,t=2,r=!1){if(!wr("Number",e))throw new Error("Expected is not a Number");if(!wr("Number",t))throw new Error("Precision is not a Number");super(e),this.inverse=r,this.precision=t}asymmetricMatch(e){if(!wr("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,`(${Qk("digit",this.precision)})`].join(" ")}},r$=(e,t)=>{t.addMethod(e.expect,"anything",()=>new e$),t.addMethod(e.expect,"any",r=>new t$(r)),t.addMethod(e.expect,"stringContaining",r=>new sy(r)),t.addMethod(e.expect,"objectContaining",r=>new ly(r)),t.addMethod(e.expect,"arrayContaining",r=>new uy(r)),t.addMethod(e.expect,"stringMatching",r=>new cy(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new dy(r,n)),e.expect.not={stringContaining:r=>new sy(r,!0),objectContaining:r=>new ly(r,!0),arrayContaining:r=>new uy(r,!0),stringMatching:r=>new cy(r,!0),closeTo:(r,n)=>new dy(r,n,!0)}};function py(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function Y0(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let a=e.flag(this,"vitest-test");if(!a)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(i){a.result||(a.result={state:"fail"}),a.result.state="fail",(n=a.result).errors||(n.errors=[]),a.result.errors.push(k0(i))}}}var n$=(e,t)=>{let{AssertionError:r}=e,n=Fd();function a(c,p){let m=h=>{let b=Y0(t,p);t.addMethod(e.Assertion.prototype,h,b),t.addMethod(globalThis[pa].matchers,h,b)};Array.isArray(c)?c.forEach(h=>m(h)):m(c)}["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,p=>function(...m){let h=t.flag(this,"promise"),b=t.flag(this,"object"),y=t.flag(this,"negate");if(h==="rejects")t.flag(this,"object",()=>{throw b});else if(h==="resolves"&&typeof b!="function"){if(y)return;{let v=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(v,g,t.flag(this,"ssfi"))}}p.apply(this,m)})}),a("withTest",function(c){return t.flag(this,"vitest-test",c),this}),a("toEqual",function(c){let p=t.flag(this,"object"),m=dt(p,c,[...n,or]);return this.assert(m,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,p)}),a("toStrictEqual",function(c){let p=t.flag(this,"object"),m=dt(p,c,[...n,or,ay,bc,iy],!0);return this.assert(m,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,p)}),a("toBe",function(c){let p=this._obj,m=Object.is(p,c),h="";return m||(dt(p,c,[...n,or,ay,bc,iy],!0)?h="toStrictEqual":dt(p,c,[...n,or])&&(h="toEqual")),this.assert(m,Xk(h),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),a("toMatchObject",function(c){let p=this._obj,m=dt(p,c,[...n,or,Oa]),h=t.flag(this,"negate"),{subset:b,stripped:y}=Zk(p,c);if(m&&h||!m&&!h){let v=t.getMessage(this,[m,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,b,!1]),g=y===0?v:`${v}
388
- (${y} matching ${y===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:c,actual:b})}}),a("toMatch",function(c){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),a("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){kr(c,"class name",["string"]);let m=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,m,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),a("toContainEqual",function(c){let p=t.flag(this,"object"),m=Array.from(p).findIndex(h=>dt(h,c,n));this.assert(m!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),a("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",c,!1)}),a("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",c,!1)}),a("toBeGreaterThan",function(c){let p=this._obj;return kr(p,"actual",["number","bigint"]),kr(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,p,c,!1)}),a("toBeGreaterThanOrEqual",function(c){let p=this._obj;return kr(p,"actual",["number","bigint"]),kr(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,p,c,!1)}),a("toBeLessThan",function(c){let p=this._obj;return kr(p,"actual",["number","bigint"]),kr(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,p,c,!1)}),a("toBeLessThanOrEqual",function(c){let p=this._obj;return kr(p,"actual",["number","bigint"]),kr(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,p,c,!1)}),a("toBeNaN",function(){return this.be.NaN}),a("toBeUndefined",function(){return this.be.undefined}),a("toBeNull",function(){return this.be.null}),a("toBeDefined",function(){let c=t.flag(this,"negate");return t.flag(this,"negate",!1),c?this.be.undefined:this.not.be.undefined}),a("toBeTypeOf",function(c){let p=typeof this._obj,m=c===p;return this.assert(m,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),a("toBeInstanceOf",function(c){return this.instanceOf(c)}),a("toHaveLength",function(c){return this.have.length(c)}),a("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(T=>String(T).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[m,h]=c,b=()=>Object.prototype.hasOwnProperty.call(p,m)?{value:p[m],exists:!0}:t.getPathInfo(p,m),{value:y,exists:v}=b(),g=v&&(c.length===1||dt(h,y,n)),E=c.length===1?"":` with value ${t.objDisplay(h)}`;return this.assert(g,`expected #{this} to have property "${m}"${E}`,`expected #{this} to not have property "${m}"${E}`,h,v?y:void 0)}),a("toBeCloseTo",function(c,p=2){let m=this._obj,h=!1,b=0,y=0;return c===Number.POSITIVE_INFINITY&&m===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&m===Number.NEGATIVE_INFINITY?h=!0:(b=10**-p/2,y=Math.abs(m-c),h=y<b),this.assert(h,`expected #{this} to be close to #{exp}, received difference is ${y}, but expected ${b}`,`expected #{this} to not be close to #{exp}, received difference is ${y}, but expected ${b}`,c,m,!1)});let i=c=>{if(!jd(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)},s=c=>(i(c),c._obj),l=c=>{let p=c%10,m=c%100;return p===1&&m!==11?`${c}st`:p===2&&m!==12?`${c}nd`:p===3&&m!==13?`${c}rd`:`${c}th`},u=(c,p,m)=>(c.mock.calls&&(p+=Pt.gray(`
389
-
390
- Received:
391
-
392
- ${c.mock.calls.map((h,b)=>{let y=Pt.bold(` ${l(b+1)} ${c.getMockName()} call:
393
-
394
- `);return m?y+=go(m,h,{omitAnnotationLines:!0}):y+=mr(h).split(`
395
- `).map(v=>` ${v}`).join(`
396
- `),y+=`
397
- `,y}).join(`
398
- `)}`)),p+=Pt.gray(`
399
-
400
- Number of calls: ${Pt.bold(c.mock.calls.length)}
401
- `),p),d=(c,p,m,h)=>(m+=Pt.gray(`
402
-
403
- Received:
404
-
405
- ${p.map((b,y)=>{let v=Pt.bold(` ${l(y+1)} ${c.getMockName()} call return:
406
-
407
- `);return h?v+=go(h,b.value,{omitAnnotationLines:!0}):v+=mr(b).split(`
408
- `).map(g=>` ${g}`).join(`
409
- `),v+=`
410
- `,v}).join(`
411
- `)}`),m+=Pt.gray(`
412
-
413
- Number of calls: ${Pt.bold(c.mock.calls.length)}
414
- `),m);a(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=s(this),m=p.getMockName(),h=p.mock.calls.length;return this.assert(h===c,`expected "${m}" to be called #{exp} times, but got ${h} times`,`expected "${m}" to not be called #{exp} times`,c,h,!1)}),a("toHaveBeenCalledOnce",function(){let c=s(this),p=c.getMockName(),m=c.mock.calls.length;return this.assert(m===1,`expected "${p}" to be called once, but got ${m} times`,`expected "${p}" to not be called once`,1,m,!1)}),a(["toHaveBeenCalled","toBeCalled"],function(){let c=s(this),p=c.getMockName(),m=c.mock.calls.length,h=m>0,b=t.flag(this,"negate"),y=t.getMessage(this,[h,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${m} times`,!0,h]);if(h&&b&&(y=u(c,y)),h&&b||!h&&!b)throw new r(y)}),a(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=s(this),m=p.getMockName(),h=p.mock.calls.some(v=>dt(v,c,[...n,or])),b=t.flag(this,"negate"),y=t.getMessage(this,[h,`expected "${m}" to be called with arguments: #{exp}`,`expected "${m}" to not be called with arguments: #{exp}`,c]);if(h&&b||!h&&!b)throw new r(u(p,y,c))}),a(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let m=s(this),h=m.getMockName(),b=m.mock.calls[c-1],y=m.mock.calls.length,v=c<=y;this.assert(dt(b,p,[...n,or]),`expected ${l(c)} "${h}" call to have been called with #{exp}${v?"":`, but called only ${y} times`}`,`expected ${l(c)} "${h}" call to not have been called with #{exp}`,p,b,v)}),a(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=s(this),m=p.getMockName(),h=p.mock.calls[p.mock.calls.length-1];this.assert(dt(h,c,[...n,or]),`expected last "${m}" call to have been called with #{exp}`,`expected last "${m}" call to not have been called with #{exp}`,c,h)}),a(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c);let p=this._obj,m=t.flag(this,"promise"),h=t.flag(this,"negate"),b=null;if(m==="rejects")b=p;else if(m==="resolves"&&typeof p!="function"){if(h)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",v={showDiff:!1};throw new r(y,v,t.flag(this,"ssfi"))}}else{let y=!1;try{p()}catch(v){y=!0,b=v}if(!y&&!h){let v=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(v,g,t.flag(this,"ssfi"))}}if(typeof c=="function"){let y=c.name||c.prototype.constructor.name;return this.assert(b&&b instanceof c,`expected error to be instance of ${y}`,`expected error not to be instance of ${y}`,c,b)}if(c instanceof Error)return this.assert(b&&c.message===b.message,`expected error to have message: ${c.message}`,`expected error not to have message: ${c.message}`,c.message,b&&b.message);if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let y=c;return this.assert(b&&y.asymmetricMatch(b),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",y,b)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),action:"called"}].forEach(({name:c,condition:p,action:m})=>{a(c,function(){let h=s(this),b=h.getMockName(),y=p(h);this.assert(y,`expected "${b}" to be successfully ${m} at least once`,`expected "${b}" to not be successfully ${m}`,y,!y,!1)})}),[{name:"toHaveResolvedTimes",condition:(c,p)=>c.mock.settledResults.reduce((m,{type:h})=>h==="fulfilled"?++m:m,0)===p,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(c,p)=>c.mock.results.reduce((m,{type:h})=>h==="throw"?m:++m,0)===p,action:"called"}].forEach(({name:c,condition:p,action:m})=>{a(c,function(h){let b=s(this),y=b.getMockName(),v=p(b,h);this.assert(v,`expected "${y}" to be successfully ${m} ${h} times`,`expected "${y}" to not be successfully ${m} ${h} times`,`expected resolved times: ${h}`,`received resolved times: ${v}`,!1)})}),[{name:"toHaveResolvedWith",condition:(c,p)=>c.mock.settledResults.some(({type:m,value:h})=>m==="fulfilled"&&dt(p,h)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(c,p)=>c.mock.results.some(({type:m,value:h})=>m==="return"&&dt(p,h)),action:"return"}].forEach(({name:c,condition:p,action:m})=>{a(c,function(h){let b=s(this),y=p(b,h),v=t.flag(this,"negate");if(y&&v||!y&&!v){let g=b.getMockName(),E=t.getMessage(this,[y,`expected "${g}" to ${m} with: #{exp} at least once`,`expected "${g}" to not ${m} with: #{exp}`,h]),T=m==="return"?b.mock.results:b.mock.settledResults;throw new r(d(b,T,E,h))}})}),[{name:"toHaveLastResolvedWith",condition:(c,p)=>{let m=c.mock.settledResults[c.mock.settledResults.length-1];return m&&m.type==="fulfilled"&&dt(m.value,p)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(c,p)=>{let m=c.mock.results[c.mock.results.length-1];return m&&m.type==="return"&&dt(m.value,p)},action:"return"}].forEach(({name:c,condition:p,action:m})=>{a(c,function(h){let b=s(this),y=m==="return"?b.mock.results:b.mock.settledResults,v=y[y.length-1],g=b.getMockName();this.assert(p(b,h),`expected last "${g}" call to ${m} #{exp}`,`expected last "${g}" call to not ${m} #{exp}`,h,v?.value)})}),[{name:"toHaveNthResolvedWith",condition:(c,p,m)=>{let h=c.mock.settledResults[p-1];return h&&h.type==="fulfilled"&&dt(h.value,m)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(c,p,m)=>{let h=c.mock.results[p-1];return h&&h.type==="return"&&dt(h.value,m)},action:"return"}].forEach(({name:c,condition:p,action:m})=>{a(c,function(h,b){let y=s(this),v=y.getMockName(),g=(m==="return"?y.mock.results:y.mock.settledResults)[h-1],E=`${l(h)} call`;this.assert(p(y,h,b),`expected ${E} "${v}" call to ${m} #{exp}`,`expected ${E} "${v}" call to not ${m} #{exp}`,b,g?.value)})}),a("toSatisfy",function(c,p){return this.be.satisfy(c,p)}),a("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),m=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof m?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof m}'.`);let h=new Proxy(this,{get:(b,y,v)=>{let g=Reflect.get(b,y,v);return typeof g!="function"?g instanceof e.Assertion?h:g:async(...E)=>{let T=m.then(M=>(t.flag(this,"object",M),g.call(this,...E)),M=>{let O=new r(`promise rejected "${t.inspect(M)}" instead of resolving`,{showDiff:!1});throw O.cause=M,O.stack=c.stack.replace(c.message,O.message),O});return py(p,T)}}});return h}),t.addProperty(e.Assertion.prototype,"rejects",function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),m=t.flag(this,"object"),h=typeof m=="function"?m():m;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 b=new Proxy(this,{get:(y,v,g)=>{let E=Reflect.get(y,v,g);return typeof E!="function"?E instanceof e.Assertion?b:E:async(...T)=>{let M=h.then(O=>{let A=new r(`promise resolved "${t.inspect(O)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:O});throw A.stack=c.stack.replace(c.message,A.message),A},O=>(t.flag(this,"object",O),E.call(this,...T)));return py(p,M)}}});return b})};function o$(e,t){let r=e._obj,n=xr.flag(e,"negate"),a=xr.flag(e,"promise")||"",i={...U0(),diff:go,stringify:mr,iterableEquality:or,subsetEquality:Oa};return{state:{...Ai(t),customTesters:Fd(),isNot:n,utils:i,promise:a,equals:dt,suppressedErrors:[],soft:xr.flag(e,"soft"),poll:xr.flag(e,"poll")},isNot:n,obj:r}}var fy=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function a$(e,t,r){return(n,a)=>{Object.entries(r).forEach(([i,s])=>{function l(...p){let{state:m,isNot:h,obj:b}=o$(this,t),y=s.call(m,b,...p);if(y&&typeof y=="object"&&y instanceof Promise)return y.then(({pass:M,message:O,actual:A,expected:w})=>{if(M&&h||!M&&!h)throw new fy(O(),A,w)});let{pass:v,message:g,actual:E,expected:T}=y;if(v&&h||!v&&!h)throw new fy(g(),E,T)}let u=Y0(a,l);a.addMethod(globalThis[pa].matchers,i,u),a.addMethod(e.Assertion.prototype,i,u);class d extends _n{constructor(m=!1,...h){super(h,m)}asymmetricMatch(m){let{pass:h}=s.call(this.getMatcherContext(t),m,...this.sample);return this.inverse?!h:h}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let c=(...p)=>new d(!1,...p);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:c,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...p)=>new d(!0,...p),writable:!0}),Object.defineProperty(globalThis[hc],i,{configurable:!0,enumerable:!0,value:c,writable:!0})})}}var i$=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{uo(a$(e,r,n))})};function s$(){uo(i$),uo(n$),uo(r$);let e=(n,a)=>{let{assertionCalls:i}=Ai(e);return Ou({assertionCalls:i+1,soft:!1},e),xn(n,a)};Object.assign(e,xn),e.getState=()=>Ai(e),e.setState=n=>Ou(n,e),e.extend=n=>xn.extend(e,n),e.soft=(...n)=>{let a=e(...n);return e.setState({soft:!0}),a},e.unreachable=n=>{B.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let a=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(a(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:a})}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 Ou({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),xr.addMethod(e,"assertions",t),xr.addMethod(e,"hasAssertions",r),e.extend(av),e}var K0=s$();Object.defineProperty(globalThis,Id,{value:K0,writable:!0,configurable:!0});var yc=new Set;function J0(e){return yc.add(e),()=>void yc.delete(e)}var l$=(...e)=>{let t=Pk(...e);return Q0(t)};function X0(e){let t=e?Zb(e):Zb();return Q0(t)}function Q0(e){let t=my(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>my(r(n)),t}function my(e){let t=Si(e),r=t.impl;return t.willCall(function(...n){return yc.forEach(a=>a(e,n)),r?.apply(this,n)}),e}function Z0(){Ta.forEach(e=>e.mockClear())}function e_(){Ta.forEach(e=>e.mockReset())}function t_(){Ta.forEach(e=>e.mockRestore())}function u$(e,t={}){return e}var r_={};Bi(r_,{buildQueries:()=>Jr,configure:()=>_3,createEvent:()=>fi,findAllByAltText:()=>i1,findAllByDisplayValue:()=>e1,findAllByLabelText:()=>N_,findAllByPlaceholderText:()=>U_,findAllByRole:()=>v1,findAllByTestId:()=>S1,findAllByText:()=>Y_,findAllByTitle:()=>p1,findByAltText:()=>s1,findByDisplayValue:()=>t1,findByLabelText:()=>j_,findByPlaceholderText:()=>H_,findByRole:()=>_1,findByTestId:()=>A1,findByText:()=>K_,findByTitle:()=>f1,fireEvent:()=>ya,getAllByAltText:()=>o1,getAllByDisplayValue:()=>Q_,getAllByLabelText:()=>I_,getAllByPlaceholderText:()=>k_,getAllByRole:()=>y1,getAllByTestId:()=>R1,getAllByText:()=>z_,getAllByTitle:()=>c1,getByAltText:()=>a1,getByDisplayValue:()=>Z_,getByLabelText:()=>D_,getByPlaceholderText:()=>$_,getByRole:()=>g1,getByTestId:()=>C1,getByText:()=>W_,getByTitle:()=>d1,getConfig:()=>et,getDefaultNormalizer:()=>Vd,getElementError:()=>cs,getMultipleElementsFoundError:()=>ds,getNodeText:()=>qa,getQueriesForElement:()=>Pc,getRoles:()=>A_,getSuggestedQuery:()=>Oi,isInaccessible:()=>us,logDOM:()=>gc,logRoles:()=>S3,makeFindQuery:()=>_o,makeGetAllQuery:()=>Wd,makeSingleQuery:()=>vo,prettyDOM:()=>ha,prettyFormat:()=>Ld,queries:()=>qi,queryAllByAltText:()=>r1,queryAllByAttribute:()=>Ln,queryAllByDisplayValue:()=>J_,queryAllByLabelText:()=>F_,queryAllByPlaceholderText:()=>B_,queryAllByRole:()=>h1,queryAllByTestId:()=>E1,queryAllByText:()=>V_,queryAllByTitle:()=>l1,queryByAltText:()=>n1,queryByAttribute:()=>T_,queryByDisplayValue:()=>X_,queryByLabelText:()=>x_,queryByPlaceholderText:()=>L_,queryByRole:()=>b1,queryByTestId:()=>w1,queryByText:()=>G_,queryByTitle:()=>u1,queryHelpers:()=>L3,screen:()=>f5,waitFor:()=>zd,waitForElementToBeRemoved:()=>i5,within:()=>Pc,wrapAllByQueryWithSuggestion:()=>tr,wrapSingleQueryWithSuggestion:()=>bn});var Ld=ar(SM()),c$=Object.prototype.toString;function hy(e){return typeof e=="function"||c$.call(e)==="[object Function]"}function d$(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var p$=Math.pow(2,53)-1;function f$(e){var t=d$(e);return Math.min(Math.max(t,0),p$)}function Er(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");if(typeof t<"u"&&!hy(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var a=f$(n.length),i=hy(r)?Object(new r(a)):new Array(a),s=0,l;s<a;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=a,i}function fa(e){"@babel/helpers - typeof";return fa=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},fa(e)}function m$(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function by(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,n_(n.key),n)}}function h$(e,t,r){return t&&by(e.prototype,t),r&&by(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function b$(e,t,r){return t=n_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n_(e){var t=y$(e,"string");return fa(t)==="symbol"?t:String(t)}function y$(e,t){if(fa(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(fa(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var g$=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];m$(this,e),b$(this,"items",void 0),this.items=t}return h$(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}(),v$=typeof Set>"u"?Set:g$;function Yt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var _$={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"},E$={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 w$(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=E$[t])!==null&&n!==void 0&&n.has(r))})}function o_(e,t){return w$(e,t)}function R$(e){var t=S$(e);if(t===null||t==="presentation"){var r=C$(e);if(t!=="presentation"||o_(e,r||""))return r}return t}function C$(e){var t=_$[Yt(e)];if(t!==void 0)return t;switch(Yt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!o_(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 S$(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function Rt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function a_(e){return Rt(e)&&Yt(e)==="caption"}function pi(e){return Rt(e)&&Yt(e)==="input"}function A$(e){return Rt(e)&&Yt(e)==="optgroup"}function P$(e){return Rt(e)&&Yt(e)==="select"}function T$(e){return Rt(e)&&Yt(e)==="table"}function O$(e){return Rt(e)&&Yt(e)==="textarea"}function q$(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function x$(e){return Rt(e)&&Yt(e)==="fieldset"}function M$(e){return Rt(e)&&Yt(e)==="legend"}function N$(e){return Rt(e)&&Yt(e)==="slot"}function j$(e){return Rt(e)&&e.ownerSVGElement!==void 0}function I$(e){return Rt(e)&&Yt(e)==="svg"}function D$(e){return j$(e)&&Yt(e)==="title"}function Ti(e,t){if(Rt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(a){return n.getElementById(a)}).filter(function(a){return a!==null})}return[]}function Hr(e,t){return Rt(e)?t.indexOf(R$(e))!==-1:!1}function F$(e){return e.trim().replace(/\s\s+/g," ")}function B$(e,t){if(!Rt(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 L$(e){return Hr(e,["button","combobox","listbox","textbox"])||i_(e,"range")}function i_(e,t){if(!Rt(e))return!1;switch(t){case"range":return Hr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function yy(e,t){var r=Er(e.querySelectorAll(t));return Ti(e,"aria-owns").forEach(function(n){r.push.apply(r,Er(n.querySelectorAll(t)))}),r}function k$(e){return P$(e)?e.selectedOptions||yy(e,"[selected]"):yy(e,'[aria-selected="true"]')}function $$(e){return Hr(e,["none","presentation"])}function U$(e){return a_(e)}function H$(e){return Hr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function V$(e){return!1}function G$(e){return pi(e)||O$(e)?e.value:e.textContent||""}function gy(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function s_(e){var t=Yt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function l_(e){if(s_(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&Rt(r)){var n=l_(r);n!==null&&(t=n)}}),t}function z$(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):l_(e)}function W$(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Er(t);if(!s_(e))return null;var r=e.ownerDocument;return Er(r.querySelectorAll("label")).filter(function(n){return z$(n)===e})}function Y$(e){var t=e.assignedNodes();return t.length===0?Er(e.childNodes):t}function u_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new v$,n=q$(e),a=t.compute,i=a===void 0?"name":a,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,d=u===void 0?n.getComputedStyle.bind(n):u,c=t.hidden,p=c===void 0?!1:c;function m(g,E){var T="";if(Rt(g)&&l){var M=d(g,"::before"),O=gy(M);T="".concat(O," ").concat(T)}var A=N$(g)?Y$(g):Er(g.childNodes).concat(Ti(g,"aria-owns"));if(A.forEach(function(N){var Y=v(N,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),K=Rt(N)?d(N).getPropertyValue("display"):"inline",ee=K!=="inline"?" ":"";T+="".concat(ee).concat(Y).concat(ee)}),Rt(g)&&l){var w=d(g,"::after"),S=gy(w);T="".concat(T," ").concat(S)}return T.trim()}function h(g,E){var T=g.getAttributeNode(E);return T!==null&&!r.has(T)&&T.value.trim()!==""?(r.add(T),T.value):null}function b(g){return Rt(g)?h(g,"title"):null}function y(g){if(!Rt(g))return null;if(x$(g)){r.add(g);for(var E=Er(g.childNodes),T=0;T<E.length;T+=1){var M=E[T];if(M$(M))return v(M,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(T$(g)){r.add(g);for(var O=Er(g.childNodes),A=0;A<O.length;A+=1){var w=O[A];if(a_(w))return v(w,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(I$(g)){r.add(g);for(var S=Er(g.childNodes),N=0;N<S.length;N+=1){var Y=S[N];if(D$(Y))return Y.textContent}return null}else if(Yt(g)==="img"||Yt(g)==="area"){var K=h(g,"alt");if(K!==null)return K}else if(A$(g)){var ee=h(g,"label");if(ee!==null)return ee}if(pi(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var Q=h(g,"value");if(Q!==null)return Q;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var x=W$(g);if(x!==null&&x.length!==0)return r.add(g),Er(x).map(function(ye){return v(ye,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ye){return ye.length>0}).join(" ");if(pi(g)&&g.type==="image"){var D=h(g,"alt");if(D!==null)return D;var J=h(g,"title");return J!==null?J:"Submit Query"}if(Hr(g,["button"])){var ve=m(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(ve!=="")return ve}return null}function v(g,E){if(r.has(g))return"";if(!p&&B$(g,d)&&!E.isReferenced)return r.add(g),"";var T=Rt(g)?g.getAttributeNode("aria-labelledby"):null,M=T!==null&&!r.has(T)?Ti(g,"aria-labelledby"):[];if(i==="name"&&!E.isReferenced&&M.length>0)return r.add(T),M.map(function(K){return v(K,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var O=E.recursion&&L$(g)&&i==="name";if(!O){var A=(Rt(g)&&g.getAttribute("aria-label")||"").trim();if(A!==""&&i==="name")return r.add(g),A;if(!$$(g)){var w=y(g);if(w!==null)return r.add(g),w}}if(Hr(g,["menu"]))return r.add(g),"";if(O||E.isEmbeddedInLabel||E.isReferenced){if(Hr(g,["combobox","listbox"])){r.add(g);var S=k$(g);return S.length===0?pi(g)?g.value:"":Er(S).map(function(K){return v(K,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(i_(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(Hr(g,["textbox"]))return r.add(g),G$(g)}if(H$(g)||Rt(g)&&E.isReferenced||U$(g)||V$(g)){var N=m(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});if(N!=="")return r.add(g),N}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(E.recursion)return r.add(g),m(g,{isEmbeddedInLabel:E.isEmbeddedInLabel,isReferenced:!1});var Y=b(g);return Y!==null?(r.add(g),Y):(r.add(g),"")}return F$(v(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function ma(e){"@babel/helpers - typeof";return ma=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},ma(e)}function vy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function _y(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?vy(Object(r),!0).forEach(function(n){K$(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function K$(e,t,r){return t=J$(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function J$(e){var t=X$(e,"string");return ma(t)==="symbol"?t:String(t)}function X$(e,t){if(ma(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(ma(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function c_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Ti(e,"aria-describedby").map(function(a){return u_(a,_y(_y({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Q$(e){return Hr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function kd(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Q$(e)?"":u_(e,t)}var dr=ar(dI()),Z$=ar(pI());function d_(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}var e3=(e,t,r,n,a,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(d=>{let c=t[d],p=s(c,r,l,a,i);return typeof c!="string"&&(p.indexOf(`
415
- `)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+d+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},t3=3,r3=(e,t,r,n,a,i)=>e.map(s=>{let l=typeof s=="string"?p_(s,t):i(s,t,r,n,a);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==t3?"":t.spacingOuter+r+l}).join(""),p_=(e,t)=>{let r=t.colors.content;return r.open+d_(e)+r.close},n3=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+d_(e)+"-->"+r.close},o3=(e,t,r,n,a)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+a+i.open)+(r?">"+i.close+r+n.spacingOuter+a+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},a3=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},i3=1,f_=3,m_=8,h_=11,s3=/^((HTML|SVG)\w*)?Element$/,b_=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},l3=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===i3&&(s3.test(t)||b_(e))||r===f_&&t==="Text"||r===m_&&t==="Comment"||r===h_&&t==="DocumentFragment"};function u3(e){return e.nodeType===f_}function c3(e){return e.nodeType===m_}function xu(e){return e.nodeType===h_}function d3(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||b_(t))&&l3(t)},serialize:(t,r,n,a,i,s)=>{if(u3(t))return p_(t.data,r);if(c3(t))return n3(t.data,r);let l=xu(t)?"DocumentFragment":t.tagName.toLowerCase();return++a>r.maxDepth?a3(l,r):o3(l,e3(xu(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),xu(t)?{}:Array.from(t.attributes).reduce((u,d)=>(u[d.name]=d.value,u),{}),r,n+r.indent,a,i,s),r3(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,a,i,s),r,n)}}}var y_=null,$d=null,Ud=null;try{let e=On&&On.require;$d=e.call(On,"fs").readFileSync,Ud=e.call(On,"@babel/code-frame").codeFrameColumns,y_=e.call(On,"chalk")}catch{}function p3(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),a=n.split(":"),[i,s,l]=[a[0],parseInt(a[1],10),parseInt(a[2],10)],u="";try{u=$d(i,"utf-8")}catch{return""}let d=Ud(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return y_.dim(n)+`
416
- `+d+`
417
- `}function f3(){if(!$d||!Ud)return"";let e=new Error().stack.split(`
418
- `).slice(1).find(t=>!t.includes("node_modules/"));return p3(e)}var g_=3;function Mu(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function Hd(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function v_(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 Kr(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 m3=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==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:h3}=Ld.plugins,b3=1,y3=8;function g3(e){return e.nodeType!==y3&&(e.nodeType!==b3||!e.matches(et().defaultIgnore))}function ha(e,t,r){if(r===void 0&&(r={}),e||(e=Hd().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.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:a=g3,...i}=r,s=Ld.format(e,{plugins:[d3(a),h3],printFunctionName:!1,highlight:m3(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var gc=function(){let e=f3();console.log(e?ha(...arguments)+`
419
-
420
- `+e:ha(...arguments))},Mn={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=ha(t),n=new Error([e,"Ignored nodes: comments, "+Mn.defaultIgnore+`
421
- `+r].filter(Boolean).join(`
422
-
423
- `));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function v3(e){try{return Mn._disableExpensiveErrorDiagnostics=!0,e()}finally{Mn._disableExpensiveErrorDiagnostics=!1}}function _3(e){typeof e=="function"&&(e=e(Mn)),Mn={...Mn,...e}}function et(){return Mn}var E3=["button","meter","output","progress","select","textarea","input"];function __(e){return E3.includes(e.nodeName.toLowerCase())?"":e.nodeType===g_?e.textContent:Array.from(e.childNodes).map(t=>__(t)).join("")}function vc(e){let t;return e.tagName.toLowerCase()==="label"?t=__(e):t=e.value||e.textContent,t}function E_(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!w3(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function w3(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function w_(e,t,r){let{selector:n="*"}=r===void 0?{}:r,a=t.getAttribute("aria-labelledby"),i=a?a.split(" "):[];return i.length?i.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:vc(l),formControl:null}:{content:"",formControl:null}}):Array.from(E_(t)).map(s=>{let l=vc(s),u=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(d=>d.matches(n))[0];return{content:l,formControl:u}})}function R_(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 Oo(e,t,r,n){if(typeof e!="string")return!1;R_(r);let a=n(e);return typeof r=="string"||typeof r=="number"?a.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(a,t):C_(r,a)}function Gr(e,t,r,n){if(typeof e!="string")return!1;R_(r);let a=n(e);return r instanceof Function?r(a,t):r instanceof RegExp?C_(r,a):a===String(r)}function Vd(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let a=n;return a=t?a.trim():a,a=r?a.replace(/\s+/g," "):a,a}}function Bn(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return Vd({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 C_(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 qa(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===g_&&!!t.textContent).map(t=>t.textContent).join("")}var R3=C3(dr.elementRoles);function S_(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function us(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=S_}=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 Gd(e){for(let{match:t,roles:r}of R3)if(t(e))return[...r];return[]}function C3(e){function t(s){let{name:l,attributes:u}=s;return""+l+u.map(d=>{let{name:c,value:p,constraints:m=[]}=d,h=m.indexOf("undefined")!==-1,b=m.indexOf("set")!==-1;return typeof p<"u"?"["+c+'="'+p+'"]':h?":not(["+c+"])":b?"["+c+"]:not(["+c+'=""])':"["+c+"]"}).join("")}function r(s){let{attributes:l=[]}=s;return l.length}function n(s,l){let{specificity:u}=s,{specificity:d}=l;return d-u}function a(s){let{attributes:l=[]}=s,u=l.findIndex(c=>c.value&&c.name==="type"&&c.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let d=t({...s,attributes:l});return c=>u>=0&&c.type!=="text"?!1:c.matches(d)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:a(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function A_(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(a){return[a,...Array.from(a.children).reduce((i,s)=>[...i,...n(s)],[])]}return n(e).filter(a=>r===!1?us(a)===!1:!0).reduce((a,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=Gd(i),s.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},a)},{})}function P_(e,t){let{hidden:r,includeDescription:n}=t,a=A_(e,{hidden:r});return Object.entries(a).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,l]=i,u="-".repeat(50),d=l.map(c=>{let p='Name "'+kd(c,{computedStyleSupportsPseudoElements:et().computedStyleSupportsPseudoElements})+`":
424
- `,m=ha(c.cloneNode(!1));if(n){let h='Description "'+c_(c,{computedStyleSupportsPseudoElements:et().computedStyleSupportsPseudoElements})+`":
425
- `;return""+p+h+m}return""+p+m}).join(`
426
-
427
- `);return s+`:
428
-
429
- `+d+`
430
-
431
- `+u}).join(`
432
- `)}var S3=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(P_(e,{hidden:r}))};function A3(e){return e.tagName==="OPTION"?e.selected:xa(e,"aria-selected")}function P3(e){return e.getAttribute("aria-busy")==="true"}function T3(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:xa(e,"aria-checked")}function O3(e){return xa(e,"aria-pressed")}function q3(e){var t,r;return(t=(r=xa(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function x3(e){return xa(e,"aria-expanded")}function xa(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function M3(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 N3(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function j3(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function I3(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function D3(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var Ey=Vd();function F3(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function wy(e){return new RegExp(F3(e.toLowerCase()),"i")}function sn(e,t,r,n){let{variant:a,name:i}=n,s="",l={},u=[["Role","TestId"].includes(e)?r:wy(r)];i&&(l.name=wy(i)),e==="Role"&&us(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
433
- If you are using the aria-hidden prop, make sure this is the right choice for your case.
434
- `),Object.keys(l).length>0&&u.push(l);let d=a+"By"+e;return{queryName:e,queryMethod:d,queryArgs:u,variant:a,warning:s,toString(){s&&console.warn(s);let[c,p]=u;return c=typeof c=="string"?"'"+c+"'":c,p=p?", { "+Object.entries(p).map(m=>{let[h,b]=m;return h+": "+b}).join(", ")+" }":"",d+"("+c+p+")"}}}function ln(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Oi(e,t,r){var n,a;if(t===void 0&&(t="get"),e.matches(et().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(a=Gd(e))==null?void 0:a[0];if(i!=="generic"&&ln("Role",r,i))return sn("Role",e,i,{variant:t,name:kd(e,{computedStyleSupportsPseudoElements:et().computedStyleSupportsPseudoElements})});let s=w_(document,e).map(m=>m.content).join(" ");if(ln("LabelText",r,s))return sn("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(ln("PlaceholderText",r,l))return sn("PlaceholderText",e,l,{variant:t});let u=Ey(qa(e));if(ln("Text",r,u))return sn("Text",e,u,{variant:t});if(ln("DisplayValue",r,e.value))return sn("DisplayValue",e,Ey(e.value),{variant:t});let d=e.getAttribute("alt");if(ln("AltText",r,d))return sn("AltText",e,d,{variant:t});let c=e.getAttribute("title");if(ln("Title",r,c))return sn("Title",e,c,{variant:t});let p=e.getAttribute(et().testIdAttribute);if(ln("TestId",r,p))return sn("TestId",e,p,{variant:t})}function ri(e,t){e.stack=t.stack.replace(t.message,e.message)}function B3(e,t){let{container:r=Hd(),timeout:n=et().asyncUtilTimeout,showOriginalStackTrace:a=et().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:l=d=>(Object.defineProperty(d,"message",{value:et().getElementError(d.message,r).message}),d),mutationObserverOptions:u={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(d,c)=>{let p,m,h,b=!1,y="idle",v=setTimeout(O,n),g=Mu();if(g){let{unstable_advanceTimersWrapper:A}=et();for(M();!b;){if(!Mu()){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");a||ri(w,i),c(w);return}if(await A(async()=>{jest.advanceTimersByTime(s)}),b)break;M()}}else{try{Kr(r)}catch(w){c(w);return}m=setInterval(T,s);let{MutationObserver:A}=v_(r);h=new A(T),h.observe(r,u),M()}function E(A,w){b=!0,clearTimeout(v),g||(clearInterval(m),h.disconnect()),A?c(A):d(w)}function T(){if(Mu()){let A=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 a||ri(A,i),c(A)}else return M()}function M(){if(y!=="pending")try{let A=v3(e);typeof A?.then=="function"?(y="pending",A.then(w=>{y="resolved",E(null,w)},w=>{y="rejected",p=w})):E(null,A)}catch(A){p=A}}function O(){let A;p?(A=p,!a&&A.name==="TestingLibraryElementError"&&ri(A,i)):(A=new Error("Timed out in waitFor."),a||ri(A,i)),E(l(A),null)}})}function zd(e,t){let r=new Error("STACK_TRACE_MESSAGE");return et().asyncWrapper(()=>B3(e,{stackTraceError:r,...t}))}function cs(e,t){return et().getElementError(e,t)}function ds(e,t){return cs(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Ln(e,t,r,n){let{exact:a=!0,collapseWhitespace:i,trim:s,normalizer:l}=n===void 0?{}:n,u=a?Gr:Oo,d=Bn({collapseWhitespace:i,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(c=>u(c.getAttribute(e),c,r,d))}function T_(e,t,r,n){let a=Ln(e,t,r,n);if(a.length>1)throw ds("Found multiple elements by ["+e+"="+r+"]",t);return a[0]||null}function vo(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];let s=e(r,...a);if(s.length>1){let l=s.map(u=>cs(null,u).message).join(`
435
-
436
- `);throw ds(t(r,...a)+`
437
-
438
- Here are the matching elements:
439
-
440
- `+l,r)}return s[0]||null}}function O_(e,t){return et().getElementError(`A better query is available, try this:
441
- `+e.toString()+`
442
- `,t)}function Wd(e,t){return function(r){for(var n=arguments.length,a=new Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];let s=e(r,...a);if(!s.length)throw et().getElementError(t(r,...a),r);return s}}function _o(e){return(t,r,n,a)=>zd(()=>e(t,r,n),{container:t,...a})}var bn=(e,t,r)=>function(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),s=1;s<a;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=et().throwSuggestions}={}]=i.slice(-1);if(l&&u){let d=Oi(l,r);if(d&&!t.endsWith(d.queryName))throw O_(d.toString(),n)}return l},tr=(e,t,r)=>function(n){for(var a=arguments.length,i=new Array(a>1?a-1:0),s=1;s<a;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=et().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let d=[...new Set(l.map(c=>{var p;return(p=Oi(c,r))==null?void 0:p.toString()}))];if(d.length===1&&!t.endsWith(Oi(l[0],r).queryName))throw O_(d[0],n)}return l};function Jr(e,t,r){let n=bn(vo(e,t),e.name,"query"),a=Wd(e,r),i=vo(a,t),s=bn(i,e.name,"get"),l=tr(a,e.name.replace("query","get"),"getAll"),u=_o(tr(a,e.name,"findAll")),d=_o(bn(i,e.name,"find"));return[n,l,s,u,d]}var L3=Object.freeze({__proto__:null,getElementError:cs,wrapAllByQueryWithSuggestion:tr,wrapSingleQueryWithSuggestion:bn,getMultipleElementsFoundError:ds,queryAllByAttribute:Ln,queryByAttribute:T_,makeSingleQuery:vo,makeGetAllQuery:Wd,makeFindQuery:_o,buildQueries:Jr});function k3(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:vc(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var $3=function(e,t,r){let{exact:n=!0,trim:a,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,l=n?Gr:Oo,u=Bn({collapseWhitespace:i,trim:a,normalizer:s});return k3(e).filter(d=>{let{node:c,textToMatch:p}=d;return l(p,c,t,u)}).map(d=>{let{node:c}=d;return c})},ba=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:i,trim:s,normalizer:l}=r===void 0?{}:r;Kr(e);let u=a?Gr:Oo,d=Bn({collapseWhitespace:i,trim:s,normalizer:l}),c=Array.from(e.querySelectorAll("*")).filter(p=>E_(p).length||p.hasAttribute("aria-labelledby")).reduce((p,m)=>{let h=w_(e,m,{selector:n});h.filter(y=>!!y.formControl).forEach(y=>{u(y.content,y.formControl,t,d)&&y.formControl&&p.push(y.formControl)});let b=h.filter(y=>!!y.content).map(y=>y.content);return u(b.join(" "),m,t,d)&&p.push(m),b.length>1&&b.forEach((y,v)=>{u(y,m,t,d)&&p.push(m);let g=[...b];g.splice(v,1),g.length>1&&u(g.join(" "),m,t,d)&&p.push(m)}),p},[]).concat(Ln("aria-label",e,t,{exact:a,normalizer:d}));return Array.from(new Set(c)).filter(p=>p.matches(n))},jn=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];let i=ba(e,t,...n);if(!i.length){let s=$3(e,t,...n);if(s.length){let l=s.map(u=>U3(e,u)).filter(u=>!!u);throw l.length?et().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
443
-
444
- `),e):et().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 et().getElementError("Unable to find a label with the text of: "+t,e)}return i};function U3(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var q_=(e,t)=>"Found multiple elements with the text of: "+t,x_=bn(vo(ba,q_),ba.name,"query"),M_=vo(jn,q_),N_=_o(tr(jn,jn.name,"findAll")),j_=_o(bn(M_,jn.name,"find")),I_=tr(jn,jn.name,"getAll"),D_=bn(M_,jn.name,"get"),F_=tr(ba,ba.name,"queryAll"),_c=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Kr(t[0]),Ln("placeholder",...t)},H3=(e,t)=>"Found multiple elements with the placeholder text of: "+t,V3=(e,t)=>"Unable to find an element with the placeholder text of: "+t,B_=tr(_c,_c.name,"queryAll"),[L_,k_,$_,U_,H_]=Jr(_c,H3,V3),Ec=function(e,t,r){let{selector:n="*",exact:a=!0,collapseWhitespace:i,trim:s,ignore:l=et().defaultIgnore,normalizer:u}=r===void 0?{}:r;Kr(e);let d=a?Gr:Oo,c=Bn({collapseWhitespace:i,trim:s,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(m=>!l||!m.matches(l)).filter(m=>d(qa(m),m,t,c))},G3=(e,t)=>"Found multiple elements with the text: "+t,z3=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:a,normalizer:i,selector:s}=r,l=Bn({collapseWhitespace:n,trim:a,normalizer:i})(t.toString()),u=l!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". 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."},V_=tr(Ec,Ec.name,"queryAll"),[G_,z_,W_,Y_,K_]=Jr(Ec,G3,z3),wc=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;Kr(e);let l=n?Gr:Oo,u=Bn({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(d=>d.tagName==="SELECT"?Array.from(d.options).filter(c=>c.selected).some(c=>l(qa(c),c,t,u)):l(d.value,d,t,u))},W3=(e,t)=>"Found multiple elements with the display value: "+t+".",Y3=(e,t)=>"Unable to find an element with the display value: "+t+".",J_=tr(wc,wc.name,"queryAll"),[X_,Q_,Z_,e1,t1]=Jr(wc,W3,Y3),K3=/^(img|input|area|.+-.+)$/i,Rc=function(e,t,r){return r===void 0&&(r={}),Kr(e),Ln("alt",e,t,r).filter(n=>K3.test(n.tagName))},J3=(e,t)=>"Found multiple elements with the alt text: "+t,X3=(e,t)=>"Unable to find an element with the alt text: "+t,r1=tr(Rc,Rc.name,"queryAll"),[n1,o1,a1,i1,s1]=Jr(Rc,J3,X3),Q3=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Cc=function(e,t,r){let{exact:n=!0,collapseWhitespace:a,trim:i,normalizer:s}=r===void 0?{}:r;Kr(e);let l=n?Gr:Oo,u=Bn({collapseWhitespace:a,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(d=>l(d.getAttribute("title"),d,t,u)||Q3(d)&&l(qa(d),d,t,u))},Z3=(e,t)=>"Found multiple elements with the title: "+t+".",e5=(e,t)=>"Unable to find an element with the title: "+t+".",l1=tr(Cc,Cc.name,"queryAll"),[u1,c1,d1,p1,f1]=Jr(Cc,Z3,e5),Sc=function(e,t,r){let{hidden:n=et().defaultHidden,name:a,description:i,queryFallbacks:s=!1,selected:l,busy:u,checked:d,pressed:c,current:p,level:m,expanded:h,value:{now:b,min:y,max:v,text:g}={}}=r===void 0?{}:r;if(Kr(e),l!==void 0){var E;if(((E=dr.roles.get(t))==null?void 0:E.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var T;if(((T=dr.roles.get(t))==null?void 0:T.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(d!==void 0){var M;if(((M=dr.roles.get(t))==null?void 0:M.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(c!==void 0){var O;if(((O=dr.roles.get(t))==null?void 0:O.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var A;if(((A=dr.roles.get(t))==null?void 0:A.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(m!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(b!==void 0){var w;if(((w=dr.roles.get(t))==null?void 0:w.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(v!==void 0){var S;if(((S=dr.roles.get(t))==null?void 0:S.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(y!==void 0){var N;if(((N=dr.roles.get(t))==null?void 0:N.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(g!==void 0){var Y;if(((Y=dr.roles.get(t))==null?void 0:Y.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(h!==void 0){var K;if(((K=dr.roles.get(t))==null?void 0:K.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let ee=new WeakMap;function Q(x){return ee.has(x)||ee.set(x,S_(x)),ee.get(x)}return Array.from(e.querySelectorAll(t5(t))).filter(x=>{if(x.hasAttribute("role")){let D=x.getAttribute("role");if(s)return D.split(" ").filter(Boolean).some(ve=>ve===t);let[J]=D.split(" ");return J===t}return Gd(x).some(D=>D===t)}).filter(x=>{if(l!==void 0)return l===A3(x);if(u!==void 0)return u===P3(x);if(d!==void 0)return d===T3(x);if(c!==void 0)return c===O3(x);if(p!==void 0)return p===q3(x);if(h!==void 0)return h===x3(x);if(m!==void 0)return m===M3(x);if(b!==void 0||v!==void 0||y!==void 0||g!==void 0){let J=!0;if(b!==void 0&&J&&(J=b===N3(x)),v!==void 0&&J&&(J=v===j3(x)),y!==void 0&&J&&(J=y===I3(x)),g!==void 0){var D;J&&(J=Gr((D=D3(x))!=null?D:null,x,g,ve=>ve))}return J}return!0}).filter(x=>a===void 0?!0:Gr(kd(x,{computedStyleSupportsPseudoElements:et().computedStyleSupportsPseudoElements}),x,a,D=>D)).filter(x=>i===void 0?!0:Gr(c_(x,{computedStyleSupportsPseudoElements:et().computedStyleSupportsPseudoElements}),x,i,D=>D)).filter(x=>n===!1?us(x,{isSubtreeInaccessible:Q})===!1:!0)};function t5(e){var t;let r='*[role~="'+e+'"]',n=(t=dr.roleElements.get(e))!=null?t:new Set,a=new Set(Array.from(n).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(a)).join(",")}var m1=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},r5=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+m1(n)},n5=function(e,t,r){let{hidden:n=et().defaultHidden,name:a,description:i}=r===void 0?{}:r;if(et()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+m1(a);let s="";Array.from(e.children).forEach(c=>{s+=P_(c,{hidden:n,includeDescription:i!==void 0})});let l;s.length===0?n===!1?l="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":l="There are no available roles.":l=(`
445
- Here are the `+(n===!1?"accessible":"available")+` roles:
446
-
447
- `+s.replace(/\n/g,`
448
- `).replace(/\n\s\s\n/g,`
449
-
450
- `)+`
451
- `).trim();let u="";a===void 0?u="":typeof a=="string"?u=' and name "'+a+'"':u=" and name `"+a+"`";let d="";return i===void 0?d="":typeof i=="string"?d=' and description "'+i+'"':d=" and description `"+i+"`",(`
452
- Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+d+`
453
-
454
- `+l).trim()},h1=tr(Sc,Sc.name,"queryAll"),[b1,y1,g1,v1,_1]=Jr(Sc,r5,n5),Yd=()=>et().testIdAttribute,Ac=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Kr(t[0]),Ln(Yd(),...t)},o5=(e,t)=>"Found multiple elements by: ["+Yd()+'="'+t+'"]',a5=(e,t)=>"Unable to find an element by: ["+Yd()+'="'+t+'"]',E1=tr(Ac,Ac.name,"queryAll"),[w1,R1,C1,S1,A1]=Jr(Ac,o5,a5),qi=Object.freeze({__proto__:null,queryAllByLabelText:F_,queryByLabelText:x_,getAllByLabelText:I_,getByLabelText:D_,findAllByLabelText:N_,findByLabelText:j_,queryByPlaceholderText:L_,queryAllByPlaceholderText:B_,getByPlaceholderText:$_,getAllByPlaceholderText:k_,findAllByPlaceholderText:U_,findByPlaceholderText:H_,queryByText:G_,queryAllByText:V_,getByText:W_,getAllByText:z_,findAllByText:Y_,findByText:K_,queryByDisplayValue:X_,queryAllByDisplayValue:J_,getByDisplayValue:Z_,getAllByDisplayValue:Q_,findAllByDisplayValue:e1,findByDisplayValue:t1,queryByAltText:n1,queryAllByAltText:r1,getByAltText:a1,getAllByAltText:o1,findAllByAltText:i1,findByAltText:s1,queryByTitle:u1,queryAllByTitle:l1,getByTitle:d1,getAllByTitle:c1,findAllByTitle:p1,findByTitle:f1,queryByRole:b1,queryAllByRole:h1,getAllByRole:y1,getByRole:g1,findAllByRole:v1,findByRole:_1,queryByTestId:w1,queryAllByTestId:E1,getByTestId:C1,getAllByTestId:R1,findAllByTestId:S1,findByTestId:A1});function Pc(e,t,r){return t===void 0&&(t=qi),r===void 0&&(r={}),Object.keys(t).reduce((n,a)=>{let i=t[a];return n[a]=i.bind(null,e),n},r)}var P1=e=>!e||Array.isArray(e)&&!e.length;function Ry(e){if(P1(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 i5(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){Ry(e);let n=(Array.isArray(e)?e:[e]).map(a=>{let i=a.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(a)?a:null});e=()=>n.map(a=>a()).filter(Boolean)}return Ry(e()),zd(()=>{let n;try{n=e()}catch(a){if(a.name==="TestingLibraryElementError")return;throw a}if(!P1(n))throw r},t)}var Cy={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}}},Sy={doubleClick:"dblClick"};function ya(e,t){return et().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 fi(e,t,r,n){let{EventType:a="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:u,...d}={}}=s;l!==void 0&&s5(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,d);let c=v_(t),p=c[a]||c.Event,m;if(typeof p=="function")m=new p(e,s);else{m=c.document.createEvent(a);let{bubbles:h,cancelable:b,detail:y,...v}=s;m.initEvent(e,h,b,y),Object.keys(v).forEach(g=>{m[g]=v[g]})}return["dataTransfer","clipboardData"].forEach(h=>{let b=s[h];typeof b=="object"&&(typeof c.DataTransfer=="function"?Object.defineProperty(m,h,{value:Object.getOwnPropertyNames(b).reduce((y,v)=>(Object.defineProperty(y,v,{value:b[v]}),y),new c.DataTransfer)}):Object.defineProperty(m,h,{value:b}))}),m}Object.keys(Cy).forEach(e=>{let{EventType:t,defaultInit:r}=Cy[e],n=e.toLowerCase();fi[e]=(a,i)=>fi(n,a,i,{EventType:t,defaultInit:r}),ya[e]=(a,i)=>ya(a,fi[e](a,i))});function s5(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:a}=Object.getOwnPropertyDescriptor(n,"value")||{};if(a&&r!==a)a.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(Sy).forEach(e=>{let t=Sy[e];ya[e]=function(){return ya[t](...arguments)}});function l5(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
455
- `)}function u5(e){return Z$.default.compressToEncodedURIComponent(l5(e))}function c5(e){return"https://testing-playground.com/#markup="+u5(e)}var d5=(e,t,r)=>Array.isArray(e)?e.forEach(n=>gc(n,t,r)):gc(e,t,r),p5=function(e){if(e===void 0&&(e=Hd().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=c5(e.innerHTML);return console.log(`Open this URL in your browser
456
-
457
- `+t),t},Ay={debug:d5,logTestingPlaygroundURL:p5},f5=typeof document<"u"&&document.body?Pc(document.body,qi,Ay):Object.keys(qi).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),Ay);function Je(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,a])=>e[n]===a):!0}var Tc;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(Tc||(Tc={}));function T1(e){return Je(e,"button")||Je(e,"input")&&e.type in Tc}function Nr(e){var t;if(m5(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 ${h5(e)}`)}function m5(e){return e.nodeType===9}function h5(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function O1(e,t){return new Promise((r,n)=>{let a=new t;a.onerror=n,a.onabort=n,a.onload=()=>{r(String(a.result))},a.readAsText(e)})}function Kd(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 fn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var q1=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){fn(this,"kind",void 0),fn(this,"type",void 0),fn(this,"file",null),fn(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)}},b5=class extends Array{add(...e){let t=new q1(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function ni(e,t){let[r,n]=e.split("/"),a=!n||n==="*";return i=>t?i.type===(a?r:e):a?i.type.startsWith(`${r}/`):i.type===r}function y5(e){return new class{getData(t){var r;let n=(r=this.items.find(ni(t,!0)))!==null&&r!==void 0?r:this.items.find(ni(t,!1)),a="";return n?.getAsString(i=>{a=i}),a}setData(t,r){let n=this.items.findIndex(ni(t,!0)),a=new q1(r,t);n>=0?this.items.splice(n,1,a):this.items.push(a)}clearData(t){if(t){let r=this.items.findIndex(ni(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(){fn(this,"dropEffect","none"),fn(this,"effectAllowed","uninitialized"),fn(this,"items",new b5),fn(this,"files",Kd(e,[]))}}}function Jd(e,t=[]){let r=typeof e.DataTransfer>"u"?y5(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>Kd(e,t)}),r}function g5(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function x1(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function M1(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 a=await this.data[n];if(!a)throw new Error(`${n} is not one of the available MIME types on this item.`);return a instanceof e.Blob?a:new e.Blob([a],{type:n})}constructor(n){x1(this,"data",void 0),this.data=n}}(r)}var Eo=Symbol("Manage ClipboardSub");function Py(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 a=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));a&&(r+=await n.getType(a).then(i=>O1(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[M1(e,r)]}constructor(...r){super(...r),x1(this,"items",[])}},{[Eo]:t})}function Xd(e){return!!e?.[Eo]}function v5(e){if(Xd(e.navigator.clipboard))return e.navigator.clipboard[Eo];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=Py(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=Py(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[Eo]}function _5(e){Xd(e.navigator.clipboard)&&e.navigator.clipboard[Eo].resetClipboardStub()}function E5(e){Xd(e.navigator.clipboard)&&e.navigator.clipboard[Eo].detachClipboardStub()}async function w5(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 a=Jd(t);for(let i of n)for(let s of i.types)a.setData(s,await i.getType(s).then(l=>O1(l,t.FileReader)));return a}async function N1(e,t){let r=Nr(e),n=r.navigator.clipboard,a=[];for(let i=0;i<t.items.length;i++){let s=t.items[i],l=g5(r,s);a.push(M1(r,l))}if(!(n&&await n.write(a).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var xi=globalThis;typeof xi.afterEach=="function"&&xi.afterEach(()=>_5(globalThis.window));typeof xi.afterAll=="function"&&xi.afterAll(()=>E5(globalThis.window));function In(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function ga(e){let t=R5(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function R5(e){return e.nodeType===1?e:e.parentElement}function wo(e){return j1(e)&&!e.readOnly||In(e)}var Oc;(function(e){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"})(Oc||(Oc={}));function j1(e){return Je(e,"textarea")||Je(e,"input")&&e.type in Oc}var qc;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(qc||(qc={}));function C5(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 S5(e){return Je(e,"textarea")||Je(e,"input")&&e.type in qc}var I1=["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 Qd(e){return e.matches(I1)}var Mi;(function(e){e["{"]="}",e["["]="]"})(Mi||(Mi={}));function D1(e,t){let r=0,n=e[r]in Mi?e[r]:"";r+=n.length;let a=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:a,...a===""?A5(e,r,t):P5(e,r,a,t)}}function A5(e,t,r){let n=e[t];return F1(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function P5(e,t,r,n){var a,i;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(a=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||a===void 0?void 0:a[0];F1(u,e,t,n),t+=u.length;var d;let c=(d=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&d!==void 0?d:"";t+=c.length;let p=e[t]==="/"||!c&&e[t]===">"?e[t]:"";t+=p.length;let m=Mi[r],h=e[t]===m?m:"";if(!h)throw new Error(B1([!c&&"repeat modifier",!p&&"release modifier",`"${m}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=h.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:c?Math.max(Number(c.substr(1)),1):1,releaseSelf:T5(p,c)}}function F1(e,t,r,n){if(!e)throw new Error(B1("key descriptor",t[r],t,n))}function T5(e,t){if(e)return e==="/";if(t)return!1}function B1(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
458
- 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"}
459
- for more information about how userEvent parses your input.`}function O5(e){return new e.constructor(e.type,e)}var Qt;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(Qt||(Qt={}));function Qo(e,t){e.levelRefs[t]={}}function oi(e,t){return e.levelRefs[t]}var po;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(po||(po={}));function zr(e){for(let r=e;r;r=r.parentElement)if(Je(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Je(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 ps(e){let t=e.activeElement;return t?.shadowRoot?ps(t.shadowRoot):zr(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Nu(e){var t;return(t=ps(e))!==null&&t!==void 0?t:e.body}function q5(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function jr(e){return L1(e)&&j1(e)}function x5(e){return L1(e)&&T1(e)}function L1(e){return e.nodeType===1}function M5(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&jr(e)){let n=ga(t.focusNode);if(n){if(!t.isCollapsed){var r;let a=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(a,0,a,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Ro(e,t){return et().eventWrapper(e)}function yn(e){let t=q5(e,Qd),r=ps(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Ro(t?()=>t.focus():()=>r?.blur()),M5(t??e.ownerDocument.body))}function N5(e){!Qd(e)||ps(e.ownerDocument)!==e||Ro(()=>e.blur())}var gn={};gn.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),a=n&&Je(n,"label")&&n.control;if(a)return()=>{Qd(a)&&yn(a),r.dispatchEvent(a,O5(e))};if(Je(t,"input",{type:"file"}))return()=>{N5(t),t.dispatchEvent(new(Nr(t)).Event("fileDialog")),yn(t)}};var Co=Symbol("Displayed value in UI"),Vr=Symbol("Displayed selection in UI"),Ni=Symbol("Initial value to compare on blur");function j5(e){return typeof e=="object"&&Co in e}function I5(e){return!!e&&typeof e=="object"&&Vr in e}function D5(e,t){e[Ni]===void 0&&(e[Ni]=e.value),e[Co]=t,e.value=Object.assign(new String(t),{[Co]:!0})}function Ir(e){return e[Co]===void 0?e.value:String(e[Co])}function Zd(e){e[Co]=void 0}function k1(e){e[Ni]=void 0}function F5(e){return e[Ni]}function B5(e,t){e[Vr]=t}function qo(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let a=Ir(e).length,i=p=>Math.max(0,Math.min(a,p)),s=n==="replace"||e[Vr]===void 0?i(r):e[Vr].anchorOffset,l=i(t),u=Math.min(s,l),d=Math.max(s,l);if(e[Vr]={anchorOffset:s,focusOffset:l},e.selectionStart===u&&e.selectionEnd===d)return;let c=Object.assign(new Number(u),{[Vr]:!0});try{e.setSelectionRange(c,d)}catch{}}function va(e){var t,r,n;let a=(n=e[Vr])!==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{...a,startOffset:Math.min(a.anchorOffset,a.focusOffset),endOffset:Math.max(a.anchorOffset,a.focusOffset)}}function L5(e){return!!e[Vr]}function mi(e){e[Vr]=void 0}var ji=globalThis.parseInt;function k5(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=ji(t[0],10),n=ji(t[1],10);if(r>=3||r===2&&n>=4){let a;return r>=3?a=1:a=2,Ty(t,a)}return e.length===2?e:Ty(t,2)}function Ty(e,t){let r=e.slice(0,t),n=Math.min(ji(r,10),23),a=e.slice(t),i=ji(a,10),s=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}function $1(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function U1(e,t,r,n){if(hi(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let a=Oy(e,t,r);if(a){if(hi(a))return{node:a,offset:r>0?Math.min(1,a.nodeValue.length):Math.max(a.nodeValue.length-1,0)};if(Je(a,"br")){let i=Oy(a,void 0,r);return i?hi(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&Je(i,"br")?{node:a.parentNode,offset:ai(a)}:{node:i.parentNode,offset:ai(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:a.parentNode,offset:ai(a)}:void 0}else return{node:a.parentNode,offset:ai(a)+(r>0?1:0)}}}function Oy(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&ep(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),U5(e,r===1?"next":"previous",$5)}function $5(e){if(hi(e))return!0;if(ep(e)){if(Je(e,["input","textarea"]))return e.type!=="hidden";if(Je(e,"br"))return!0}return!1}function ai(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function ep(e){return e.nodeType===1}function hi(e){return e.nodeType===3}function U5(e,t,r){for(;;){var n;let a=e[`${t}Sibling`];if(a){if(e=H5(a,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!ep(e.parentNode)||!In(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function H5(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var _a=Symbol("Track programmatic changes for React workaround");function V5(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Nr(e).REACT_VERSION===17}function G5(e){V5(e)&&(e[_a]={previousValue:String(e.value),tracked:[]})}function z5(e,t){var r,n;(n=e[_a])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[_a]||(Zd(e),qo(e,{focusOffset:t.length}))}function W5(e,t){var r;let n=e[_a];if(e[_a]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let a=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;a||Zd(e),L5(e)&&qo(e,{focusOffset:a?t:e.value.length})}function H1(e){let t=Y5(e);if(t&&jr(t))return{type:"input",selection:va(t)};let r=t?.ownerDocument.getSelection();return{type:ga(e)&&r?.anchorNode&&ga(r.anchorNode)?"contenteditable":"default",selection:r}}function Y5(e){return e.nodeType===1?e:e.parentElement}function K5(e){let t=H1(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 Dn({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var a,i;if(H1(e).type==="input")return qo(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(a=i.getSelection())===null||a===void 0||a.setBaseAndExtent(r,n,e,t)}function V1(e){return Je(e,"input")&&["date","time"].includes(e.type)}function So(e,t,r,n="insertText"){let a=K5(t);a&&(!V1(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in a?J5(e,t,a,r,n):X5(e,t,a,r,n)))}function J5(e,t,r,n,a){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(a)){let s=U1(r.startContainer,r.startOffset,a==="deleteContentBackward"?-1:1,a);if(s){i=!0;let l=r.cloneRange();l.comparePoint(s.node,s.offset)<0?l.setStart(s.node,s.offset):l.setEnd(s.node,s.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{let s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:a})}function X5(e,t,r,n,a){let i=n;if(S5(t)){let d=C5(t);if(d!==void 0&&n.length>0){let c=d-t.value.length;if(c>0)i=n.substring(0,c);else return}}let{newValue:s,newOffset:l,oldValue:u}=Q5(i,t,r,a);s===u&&l===r.startOffset&&l===r.endOffset||Je(t,"input",{type:"number"})&&!Z5(s)||(D5(t,s),Dn({focusNode:t,anchorOffset:l,focusOffset:l}),V1(t)?$1(t,s)&&(qy(e,t,l,{}),e.dispatchUIEvent(t,"change"),k1(t)):qy(e,t,l,{data:n,inputType:a}))}function Q5(e,t,{startOffset:r,endOffset:n},a){let i=Ir(t),s=Math.max(0,r===n&&a==="deleteContentBackward"?r-1:r),l=i.substring(0,s),u=Math.min(i.length,r===n&&a==="deleteContentForward"?r+1:n),d=i.substring(u,i.length),c=`${l}${e}${d}`,p=s+e.length;if(Je(t,"input",{type:"time"})){let m=k5(c);m!==""&&$1(t,m)&&(c=m,p=m.length)}return{oldValue:i,newValue:c,newOffset:p}}function qy(e,t,r,n){e.dispatchUIEvent(t,"input",n),W5(t,r)}function Z5(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]))}gn.cut=(e,t,r)=>()=>{wo(t)&&So(r,t,"","deleteByCut")};function eU(e){return e?In(e)?e.textContent:Ir(e):null}function tU(e){let t=Nr(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:a}=t.getComputedStyle(r);if(n==="none"||a==="hidden")return!1}return!0}function rU(e,t){let r=e.ownerDocument,n=r.querySelectorAll(I1),a=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||zr(u)));Number(e.getAttribute("tabindex"))>=0&&a.sort((u,d)=>{let c=Number(u.getAttribute("tabindex")),p=Number(d.getAttribute("tabindex"));return c===p?0:c===0?1:p===0?-1:c-p});let i={},s=[r.body],l=Je(e,"input",{type:"radio"})?e.name:void 0;a.forEach(u=>{let d=u;if(Je(d,"input",{type:"radio"})&&d.name){if(d===e){s.push(d);return}else if(d.name===l)return;if(d.checked){s=s.filter(c=>!Je(c,"input",{type:"radio",name:d.name})),s.push(d),i[d.name]=d;return}if(typeof i[d.name]<"u")return}s.push(d)});for(let u=s.findIndex(d=>d===e);;)if(u+=t?-1:1,u===s.length?u=0:u===-1&&(u=s.length-1),s[u]===e||s[u]===r.body||tU(s[u]))return s[u]}function xy(e,t){if(jr(e)){let r=va(e);Dn({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=U1(r.focusNode,r.focusOffset,t);n&&Dn({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function G1(e){if(jr(e))return Dn({focusNode:e,anchorOffset:0,focusOffset:Ir(e).length});var t;let r=(t=ga(e))!==null&&t!==void 0?t:e.ownerDocument.body;Dn({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function nU(e){if(jr(e))return va(e).startOffset===0&&va(e).endOffset===Ir(e).length;var t;let r=(t=ga(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 Zo(e,t,r){var n;if(jr(e))return Dn({focusNode:e,anchorOffset:t,focusOffset:r});if(In(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Dn({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function ii(e,t,r){let n=Nr(t),a=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 i=a.findIndex(s=>s===t)+r;;i+=r){if(a[i]||(i=r>0?0:a.length-1),a[i]===t)return;zr(a[i])||(yn(a[i]),e.dispatchUIEvent(a[i],"click"))}}gn.keydown=(e,t,r)=>{var n,a;return(a=(n=My[e.key])===null||n===void 0?void 0:n.call(My,e,t,r))!==null&&a!==void 0?a:oU(e,t,r)};var My={ArrowDown:(e,t,r)=>{if(Je(t,"input",{type:"radio"}))return()=>ii(r,t,-1)},ArrowLeft:(e,t,r)=>Je(t,"input",{type:"radio"})?()=>ii(r,t,-1):()=>xy(t,-1),ArrowRight:(e,t,r)=>Je(t,"input",{type:"radio"})?()=>ii(r,t,1):()=>xy(t,1),ArrowUp:(e,t,r)=>{if(Je(t,"input",{type:"radio"}))return()=>ii(r,t,1)},Backspace:(e,t,r)=>{if(wo(t))return()=>{So(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(wo(t))return()=>{So(r,t,"","deleteContentForward")}},End:(e,t)=>{if(Je(t,["input","textarea"])||In(t))return()=>{var r,n;let a=(n=(r=eU(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;Zo(t,a,a)}},Home:(e,t)=>{if(Je(t,["input","textarea"])||In(t))return()=>{Zo(t,0,0)}},PageDown:(e,t)=>{if(Je(t,["input"]))return()=>{let r=Ir(t).length;Zo(t,r,r)}},PageUp:(e,t)=>{if(Je(t,["input"]))return()=>{Zo(t,0,0)}},Tab:(e,t,r)=>()=>{let n=rU(t,r.system.keyboard.modifiers.Shift);yn(n),jr(n)&&qo(n,{anchorOffset:0,focusOffset:n.value.length})}},oU=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>G1(t)};gn.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Je(t,"button")||Je(t,"input")&&aU.includes(t.type)||Je(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Je(t,"input")){let n=t.form,a=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return a?()=>r.dispatchUIEvent(a,"click"):n&&iU.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(wo(t)){let n=e.key==="Enter"?In(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",a=e.key==="Enter"?`
460
- `:e.key;return()=>So(r,t,a,n)}};var aU=["button","color","file","image","reset","submit"],iU=["email","month","password","search","tel","text","url","week"];gn.keyup=(e,t,r)=>{var n;return(n=Ny[e.key])===null||n===void 0?void 0:n.call(Ny,e,t,r)};var Ny={" ":(e,t,r)=>{if(T1(t))return()=>r.dispatchUIEvent(t,"click")}};gn.paste=(e,t,r)=>{if(wo(t))return()=>{var n;let a=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");a&&So(r,t,a,"insertFromPaste")}};var z1={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,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}},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 W1(e){return z1[e].EventType}var sU=["MouseEvent","PointerEvent"];function lU(e){return sU.includes(W1(e))}function uU(e){return W1(e)==="KeyboardEvent"}var cU={ClipboardEvent:[pU],Event:[],InputEvent:[si,fU],MouseEvent:[si,ju,jy],PointerEvent:[si,ju,jy,hU],KeyboardEvent:[si,ju,mU]};function Y1(e,t,r){let n=Nr(t),{EventType:a,defaultInit:i}=z1[e],s=new(dU(n))[a](e,i);return cU[a].forEach(l=>l(s,r??{})),s}function dU(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let a=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;let s=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var d;let c=(d=e.ProgressEvent)!==null&&d!==void 0?d:class extends r{};var p;let m=(p=e.TransitionEvent)!==null&&p!==void 0?p:class extends r{};var h;let b=(h=e.UIEvent)!==null&&h!==void 0?h:class extends r{};var y;let v=(y=e.CompositionEvent)!==null&&y!==void 0?y:class extends b{};var g;let E=(g=e.FocusEvent)!==null&&g!==void 0?g:class extends b{};var T;let M=(T=e.InputEvent)!==null&&T!==void 0?T:class extends b{};var O;let A=(O=e.KeyboardEvent)!==null&&O!==void 0?O:class extends b{};var w;let S=(w=e.MouseEvent)!==null&&w!==void 0?w:class extends b{};var N;let Y=(N=e.DragEvent)!==null&&N!==void 0?N:class extends S{};var K;let ee=(K=e.PointerEvent)!==null&&K!==void 0?K:class extends S{};var Q;let x=(Q=e.TouchEvent)!==null&&Q!==void 0?Q:class extends b{};return{Event:r,AnimationEvent:a,ClipboardEvent:s,PopStateEvent:u,ProgressEvent:c,TransitionEvent:m,UIEvent:b,CompositionEvent:v,FocusEvent:E,InputEvent:M,KeyboardEvent:A,MouseEvent:S,DragEvent:Y,PointerEvent:ee,TouchEvent:x}}function kn(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Ft(e){return Number(e??0)}function pU(e,{clipboardData:t}){kn(e,{clipboardData:t})}function fU(e,{data:t,inputType:r,isComposing:n}){kn(e,{data:t,isComposing:!!n,inputType:String(r)})}function si(e,{view:t,detail:r}){kn(e,{view:t,detail:Ft(r??0)})}function ju(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:a,modifierAltGraph:i,modifierCapsLock:s,modifierFn:l,modifierFnLock:u,modifierNumLock:d,modifierScrollLock:c,modifierSymbol:p,modifierSymbolLock:m}){kn(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!a,getModifierState(h){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:d,ScrollLock:c,Shift:a,Symbol:p,SymbolLock:m}[h]}})}function mU(e,{key:t,code:r,location:n,repeat:a,isComposing:i,charCode:s}){kn(e,{key:String(t),code:String(r),location:Ft(n),repeat:!!a,isComposing:!!i,charCode:s})}function jy(e,{x:t,y:r,screenX:n,screenY:a,clientX:i=t,clientY:s=r,button:l,buttons:u,relatedTarget:d}){kn(e,{screenX:Ft(n),screenY:Ft(a),clientX:Ft(i),x:Ft(i),clientY:Ft(s),y:Ft(s),button:Ft(l),buttons:Ft(u),relatedTarget:d})}function hU(e,{pointerId:t,width:r,height:n,pressure:a,tangentialPressure:i,tiltX:s,tiltY:l,twist:u,pointerType:d,isPrimary:c}){kn(e,{pointerId:Ft(t),width:Ft(r),height:Ft(n),pressure:Ft(a),tangentialPressure:Ft(i),tiltX:Ft(s),tiltY:Ft(l),twist:Ft(u),pointerType:String(d),isPrimary:!!c})}function bU(e,t,r,n=!1){(lU(t)||uU(t))&&(r={...r,...this.system.getUIEventModifiers()});let a=Y1(t,e,r);return K1.call(this,e,a,n)}function K1(e,t,r=!1){var n;let a=t.type,i=r?()=>{}:(n=gn[a])===null||n===void 0?void 0:n.call(gn,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>s}),Object.defineProperty(t,"preventDefault",{value:()=>{s=t.cancelable}}),Ro(()=>e.dispatchEvent(t)),s||i(),!s}return Ro(()=>e.dispatchEvent(t))}function yU(e,t,r){let n=Y1(t,e,r);Ro(()=>e.dispatchEvent(n))}var Iu=Symbol("Interceptor for programmatical calls");function lo(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][Iu])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){let{applyNative:u=!1,realArgs:d,then:c}=r.call(this,...l),p=(!u&&a||n)[i];i==="set"?p.call(this,d):p.call(this,...d),c?.()}s[Iu]=Iu,Object.defineProperty(e,t,{...a??n,[i]:s})}function gU(e){lo(e,"value",function(t){let r=j5(t);return r&&G5(this),{applyNative:!!r,realArgs:vU(this,t),then:r?void 0:()=>z5(this,String(t))}})}function vU(e,t){return Je(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function _U(e){lo(e,"setSelectionRange",function(t,...r){let n=I5(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:mi(e)}}),lo(e,"selectionStart",function(t){return{realArgs:t,then:()=>mi(e)}}),lo(e,"selectionEnd",function(t){return{realArgs:t,then:()=>mi(e)}}),lo(e,"select",function(){return{realArgs:[],then:()=>B5(e,{anchorOffset:0,focusOffset:Ir(e).length})}})}function EU(e){lo(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{Zd(e),mi(e)}}})}var fo=Symbol("Node prepared with document state workarounds");function J1(e){e[fo]||(e.addEventListener("focus",t=>{let r=t.target;Iy(r)},{capture:!0,passive:!0}),e.activeElement&&Iy(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=F5(r);n!==void 0&&(r.value!==n&&yU(r,"change"),k1(r))},{capture:!0,passive:!0}),e[fo]=fo)}function Iy(e){e[fo]||(Je(e,["input","textarea"])&&(gU(e),_U(e),EU(e)),e[fo]=fo)}function wU(e){return RU(e)?e:e.ownerDocument}function RU(e){return e.nodeType===9}function Ao(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function ro(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var pr;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(pr||(pr={}));var CU=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Dy(e){return CU.includes(e)}var SU=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Fy(e){return SU.includes(e)}var AU=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,a;let i=String(t.key),s=String(t.code),l=Nu(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=s])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),Dy(i)&&(this.modifiers[i]=!0);let d=e.dispatchUIEvent(l,"keydown",{key:i,code:s});Fy(i)&&!this.modifiers[i]&&(this.modifiers[i]=!0,this.modifierLockStart[i]=!0),(a=this.pressed[s]).unpreventedDefault||(a.unpreventedDefault=d),d&&this.hasKeyPress(i)&&e.dispatchUIEvent(Nu(e.config.document),"keypress",{key:i,code:s,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),a=this.pressed[n].unpreventedDefault;delete this.pressed[n],Dy(r)&&!Object.values(this.pressed).find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Nu(e.config.document),"keyup",{key:r,code:n},!a),Fy(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){ro(this,"system",void 0),ro(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}),ro(this,"pressed",{}),ro(this,"carryChar",""),ro(this,"lastKeydownTarget",void 0),ro(this,"modifierLockStart",{}),this.system=e}},PU=[..."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:"Space",key:" "},{code:"AltLeft",key:"Alt",location:pr.LEFT},{code:"AltRight",key:"Alt",location:pr.RIGHT},{code:"ShiftLeft",key:"Shift",location:pr.LEFT},{code:"ShiftRight",key:"Shift",location:pr.RIGHT},{code:"ControlLeft",key:"Control",location:pr.LEFT},{code:"ControlRight",key:"Control",location:pr.RIGHT},{code:"MetaLeft",key:"Meta",location:pr.LEFT},{code:"MetaRight",key:"Meta",location:pr.RIGHT},{code:"OSLeft",key:"OS",location:pr.LEFT},{code:"OSRight",key:"OS",location:pr.RIGHT},{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"}],TU=[{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 OU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var X1=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=xc(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=xc(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(){OU(this,"pressed",{})}},By={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function xc(e=0){return e in By?By[e]:Number(e)}var Ly={1:2,2:1};function ky(e){return e=xc(e),e in Ly?Ly[e]:e}function qU(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var xU=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(){qU(this,"pressedKeys",new Set)}};function oa(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let a=0;for(;!(a>=r.length||a>=n.length||r[r.length-1-a]!==n[n.length-1-a]);a++);return[r.slice(0,r.length-a),n.slice(0,n.length-a),n.slice(n.length-a)]}function Mc({target:e,node:t,offset:r}){return jr(e)?{node:e,offset:r??Ir(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:Q1(e,r)}function Q1(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,a=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 i=e.childNodes.item(n),s=String(i.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(i.nodeType===1)return Q1(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=a}return{node:e,offset:e.childNodes.length}}function MU({document:e,target:t,clickCount:r,node:n,offset:a}){if(x5(t))return;let i=jr(t),s=String(i?Ir(t):t.textContent),[l,u]=n?[a,a]:NU(s,a,r);if(i)return qo(t,{anchorOffset:l??s.length,focusOffset:u??s.length}),{node:t,start:l??0,end:u??s.length};{let{node:d,offset:c}=Mc({target:t,node:n,offset:l}),{node:p,offset:m}=Mc({target:t,node:n,offset:u}),h=t.ownerDocument.createRange();try{h.setStart(d,c),h.setEnd(p,m)}catch{throw new Error("The given offset is out of bounds.")}let b=e.getSelection();return b?.removeAllRanges(),b?.addRange(h.cloneRange()),h}}function NU(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 jU(e,{document:t,target:r,node:n,offset:a}){let i=Mc({target:r,node:n,offset:a});if("node"in e){if(i.node===e.node){let s=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;qo(e.node,{anchorOffset:s,focusOffset:l})}}else{let s=e.cloneRange(),l=s.comparePoint(i.node,i.offset);l<0?s.setStart(i.node,i.offset):l>0&&s.setEnd(i.node,i.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(s.cloneRange())}}function Z1(e,t){var r,n,a,i,s,l,u,d;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.y)||((a=e.coords)===null||a===void 0?void 0:a.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((s=e.caret)===null||s===void 0?void 0:s.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((d=t.caret)===null||d===void 0?void 0:d.offset)}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var IU=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Z1(r,t))return;let a=this.getTarget(e),i=this.getEventInit("mousemove"),[s,l]=oa(n,a);return{leave:()=>{n!==a&&(e.dispatchUIEvent(n,"mouseout",i),s.forEach(u=>e.dispatchUIEvent(u,"mouseleave",i)))},enter:()=>{n!==a&&(e.dispatchUIEvent(a,"mouseover",i),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",i)))},move:()=>{e.dispatchUIEvent(a,"mousemove",i),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let a=this.getTarget(e);this.buttonDownTarget[n]=a;let i=zr(a),s=this.getEventInit("mousedown",t.button);(i||e.dispatchUIEvent(a,"mousedown",s))&&(this.startSelecting(e,s.detail),yn(a)),!i&&ky(t.button)===2&&e.dispatchUIEvent(a,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let a=this.getTarget(e);if(!zr(a)){e.dispatchUIEvent(a,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let i=oa(this.buttonDownTarget[n],a)[2][0];if(i){let s=this.getEventInit("click",t.button,r);s.detail&&(e.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=ky(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}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=MU({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&&jU(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(){Pn(this,"position",{}),Pn(this,"buttons",new X1),Pn(this,"selecting",void 0),Pn(this,"buttonDownTarget",{}),Pn(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(){Pn(this,"down",{}),Pn(this,"count",{})}})}};function Ii(e,t){var r;return((r=eE(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function DU(e){let t=Nr(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let a=t.getComputedStyle(r).pointerEvents;if(a&&!["inherit","unset"].includes(a))return{pointerEvents:a,tree:n}}}var $y=Symbol("Last check for pointer-events");function eE(e,t){let r=t[$y];if(!(e.config.pointerEventsCheck!==po.Never&&(!r||Uy(e.config.pointerEventsCheck,po.EachApiCall)&&r[Qt.Call]!==oi(e,Qt.Call)||Uy(e.config.pointerEventsCheck,po.EachTrigger)&&r[Qt.Trigger]!==oi(e,Qt.Trigger))))return r?.result;let n=DU(t);return t[$y]={[Qt.Call]:oi(e,Qt.Call),[Qt.Trigger]:oi(e,Qt.Trigger),result:n},n}function ea(e,t){let r=eE(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\`:`,"",FU(r.tree)].join(`
461
- `))}function FU(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,BU(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(`
462
- `)}function BU(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,a;r=(a=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||a===void 0||(n=a.textContent)===null||n===void 0?void 0:n.trim()}else if(Je(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var l;return(l=s.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(Je(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function Uy(e,t){return(e&t)>0}function un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Hy=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=oa(null,r),a=this.getEventInit();return ea(e,r),e.dispatchUIEvent(r,"pointerover",a),n.forEach(i=>e.dispatchUIEvent(i,"pointerenter",a)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!Z1(r,t))return;let a=this.getTarget(e),i=this.getEventInit(),[s,l]=oa(n,a);return{leave:()=>{Ii(e,n)&&n!==a&&(e.dispatchUIEvent(n,"pointerout",i),s.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{ea(e,a),n!==a&&(e.dispatchUIEvent(a,"pointerover",i),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(a,"pointermove",i)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);ea(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);ea(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=oa(t,null),n=this.getEventInit();Ii(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(a=>e.dispatchUIEvent(a,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){un(this,"pointerId",void 0),un(this,"pointerType",void 0),un(this,"isPrimary",void 0),un(this,"isMultitouch",!1),un(this,"isCancelled",!1),un(this,"isDown",!1),un(this,"isPrevented",!1),un(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function cn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var LU=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),a=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),a.down(e,t),a.pointerType!=="touch"&&!a.isPrevented&&this.mouse.down(e,t,a)}async move(e,t,r){let n=this.pointers.get(t),a=n.move(e,r),i=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);a?.leave(),i?.leave(),a?.enter(),i?.enter(),a?.move(),i?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let a=this.pointers.get(this.getPointerName(t));if(a.position=r,a.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&a.up(e,t),a.pointerType==="touch"&&a.release(e),!a.isPrevented){if(a.pointerType==="touch"&&!a.isMultitouch){let i=this.mouse.move(e,a.position);i?.leave(),i?.enter(),i?.move(),this.mouse.down(e,t,a)}if(!a.isMultitouch){let i=this.mouse.move(e,a.position);i?.leave(),i?.enter(),i?.move(),this.mouse.up(e,t,a)}}}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){cn(this,"system",void 0),cn(this,"mouse",void 0),cn(this,"buttons",void 0),cn(this,"devices",new class{get(t){var r,n,a;return(a=(r=this.registry)[n=t])!==null&&a!==void 0||(r[n]=new xU),this.registry[t]}constructor(){cn(this,"registry",{})}}),cn(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(a=>a.pointerType==="touch"&&!a.isCancelled);return n||Object.values(this.registry).forEach(a=>{a.pointerType===r.pointerType&&!a.isCancelled&&(a.isMultitouch=!0)}),this.registry[t]=new Hy({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary: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(){cn(this,"registry",{mouse:new Hy({pointerId:1,pointerType:"mouse",isPrimary:!0})}),cn(this,"nextId",2)}}),this.system=e,this.buttons=new X1,this.mouse=new IU}};function Vy(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var tE=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(){Vy(this,"keyboard",new AU(this)),Vy(this,"pointer",new LU(this))}};async function kU(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function $U(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function UU(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function HU(e){return this.pointer({target:e})}async function VU(e){return ea(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function GU({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function zU(e,t){let r=[];do{let{type:a,descriptor:i,consumedLength:s,releasePrevious:l,releaseSelf:u=!0,repeat:d}=D1(t,"keyboard");var n;let c=(n=e.find(p=>{if(a==="["){var m;return((m=p.code)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}else if(a==="{"){var h;return((h=p.key)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[a==="["?"code":"key"]:i};r.push({keyDef:c,releasePrevious:l,releaseSelf:u,repeat:d}),t=t.slice(s)}while(t);return r}async function WU(e){let t=zU(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ao(this.config),await YU(this,t[r])}async function YU(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:a}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let s=1;s<=a;s++)await i.keyboard.keydown(e,t),s<a&&await Ao(e.config);n&&await i.keyboard.keyup(e,t)}}async function KU(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function rE(e){let t=jr(e)?{"text/plain":JU(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Jd(Nr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function JU(e){let t=va(e);return Ir(e).substring(t.startOffset,t.endOffset)}async function XU(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=rE(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await N1(e,n),n}async function QU(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=rE(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await N1(r.ownerDocument,n),n}async function ZU(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var a;let i=(a=typeof e=="string"?e4(t,e):e)!==null&&a!==void 0?a:await w5(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function e4(e,t){let r=Jd(Nr(e));return r.setData("text",t),r}function Gy(e,t){let r=[];do{let{descriptor:n,consumedLength:a,releasePrevious:i,releaseSelf:s=!0}=D1(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:s}),t=t.slice(a)}while(t);return r}async function t4(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Gy(t,n)):"keys"in n?r.push(...Gy(t,n.keys).map(a=>({...n,...a}))):r.push(n)});for(let n=0;n<r.length;n++)await Ao(this.config),await r4(this,r[n]);this.system.pointer.resetClickCount()}async function r4(e,t){var r,n;let a="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(a);var s,l,u,d;let c={target:(s=t.target)!==null&&s!==void 0?s:n4(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:zy(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(d=t.offset)!==null&&d!==void 0?d:zy(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(Qo(e,Qt.Trigger),await e.system.pointer.release(e,t.keyDef,c)),t.releasePrevious||(Qo(e,Qt.Trigger),await e.system.pointer.press(e,t.keyDef,c),t.releaseSelf&&(Qo(e,Qt.Trigger),await e.system.pointer.release(e,t.keyDef,c)))):(Qo(e,Qt.Trigger),await e.system.pointer.move(e,a,c))}function zy(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 n4(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 o4(e){if(!wo(e)||zr(e))throw new Error("clear()` is only supported on editable elements.");if(yn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(G1(e),!nU(e))throw new Error("The element content to be cleared could not be selected.");So(this,e,"","deleteContentBackward")}async function a4(e,t){return nE.call(this,!0,e,t)}async function i4(e,t){return nE.call(this,!1,e,t)}async function nE(e,t,r){if(!e&&!t.multiple)throw et().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],a=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(l=>{if(typeof l!="string"&&a.includes(l))return l;{let u=a.find(d=>d.value===l||d.innerHTML===l);if(u)return u;throw et().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!zr(l));if(zr(t)||!i.length)return;let s=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(Je(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:Ii(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),yn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),u&&this.dispatchUIEvent(l,"click"),await Ao(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:Ii(this,t);l?await this.click(t):yn(t),s(i[0]),l&&(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 Ao(this.config)}else throw et().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw et().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function s4(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:a,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),a!==void 0&&Zo(e,a,i??a),await this.keyboard(t),n||await KU(this))}var Wy=Symbol("files and value properties are mocked");function Du(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function l4(e,t){var r;(r=e[Wy])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),a=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){Du(e,"type",n),Du(e,"value",a),Du(e,"files",i)}e[Wy]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")s();else{var u;a==null||(u=a.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(s(),e.type=l)}}})}async function u4(e,t){let r=Je(e,"label")?e.control:e;if(!r||!Je(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(zr(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||c4(i,r.accept)).slice(0,r.multiple?void 0:1),a=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((s,l)=>{var u;return s===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(l4(r,Kd(Nr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",a),await this.click(e),r.removeEventListener("fileDialog",a)}function c4(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var Yy={click:kU,dblClick:$U,tripleClick:UU,hover:HU,unhover:VU,tab:GU,keyboard:WU,copy:XU,cut:QU,paste:ZU,pointer:t4,clear:o4,deselectOptions:i4,selectOptions:a4,type:s4,upload:u4};function d4(e){return et().asyncWrapper(e)}var oE={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:PU,pointerMap:TU,pointerEventsCheck:po.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},p4={...oE,writeToClipboard:!0};function aE(e={},t=p4,r){let n=b4(e,r,t);return{...t,...e,document:n}}function f4(e={}){let t=aE(e);J1(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return v5(n),tp(t).api}function Kt({keyboardState:e,pointerState:t,...r}={},n){let a=aE(r,oE,n);J1(a.document);var i;let s=(i=t??e)!==null&&i!==void 0?i:new tE;return{api:tp(a,s).api,system:s}}function m4(e){return tp({...this.config,...e},this.system).api}function h4(e,t){function r(...n){return Qo(e,Qt.Call),d4(()=>t.apply(e,n).then(async a=>(await Ao(e.config),a)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function tp(e,t=new tE){let r={};return Object.assign(r,{config:e,dispatchEvent:K1.bind(r),dispatchUIEvent:bU.bind(r),system:t,levelRefs:{},...Yy}),{instance:r,api:{...Object.fromEntries(Object.entries(Yy).map(([n,a])=>[n,h4(r,a)])),setup:m4.bind(r)}}}function b4(e,t,r){var n,a;return(a=(n=e.document)!==null&&n!==void 0?n:t&&wU(t))!==null&&a!==void 0?a:r.document}var iE={};Bi(iE,{clear:()=>y4,click:()=>g4,copy:()=>v4,cut:()=>_4,dblClick:()=>E4,deselectOptions:()=>w4,hover:()=>R4,keyboard:()=>C4,paste:()=>A4,pointer:()=>S4,selectOptions:()=>P4,tab:()=>M4,tripleClick:()=>T4,type:()=>O4,unhover:()=>q4,upload:()=>x4});function y4(e){return Kt().api.clear(e)}function g4(e,t={}){return Kt(t,e).api.click(e)}function v4(e={}){return Kt(e).api.copy()}function _4(e={}){return Kt(e).api.cut()}function E4(e,t={}){return Kt(t).api.dblClick(e)}function w4(e,t,r={}){return Kt(r).api.deselectOptions(e,t)}function R4(e,t={}){return Kt(t).api.hover(e)}async function C4(e,t={}){let{api:r,system:n}=Kt(t);return r.keyboard(e).then(()=>n)}async function S4(e,t={}){let{api:r,system:n}=Kt(t);return r.pointer(e).then(()=>n)}function A4(e,t){return Kt(t).api.paste(e)}function P4(e,t,r={}){return Kt(r).api.selectOptions(e,t)}function T4(e,t={}){return Kt(t).api.tripleClick(e)}function O4(e,t,r={}){return Kt(r,e).api.type(e,t,r)}function q4(e,t={}){let{api:r,system:n}=Kt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function x4(e,t,r={}){return Kt(r).api.upload(e,t)}function M4(e={}){return Kt().api.tab(e)}var N4={...iE,setup:f4},j4=Vs(),sE=bu();function I4(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 a=n.reduce(function(l,u){var d=u.match(/\n([\t ]+|(?!\s).)/g);return d?l.concat(d.map(function(c){var p,m;return(m=(p=c.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&m!==void 0?m:0})):l},[]);if(a.length){var i=new RegExp(`
463
- [ ]{`+Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(i,`
464
- `)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var d=s.match(/(?:^|\n)( *)$/),c=d?d[1]:"",p=l;typeof l=="string"&&l.includes(`
465
- `)&&(p=String(l).split(`
466
- `).map(function(m,h){return h===0?m:""+c+m}).join(`
467
- `)),s+=p+n[u+1]}),s}var D4=I4,Nc=(0,sE.instrument)({...r_},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Nc.screen=new Proxy(Nc.screen,{get(e,t,r){return j4.once.warn(D4`
468
- You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
469
- More info: https://storybook.js.org/docs/essentials/interactions
470
- `),Reflect.get(e,t,r)}});var{buildQueries:F4,configure:B4,createEvent:L4,fireEvent:k4,findAllByAltText:$4,findAllByDisplayValue:U4,findAllByLabelText:H4,findAllByPlaceholderText:V4,findAllByRole:G4,findAllByTestId:z4,findAllByText:W4,findAllByTitle:Y4,findByAltText:K4,findByDisplayValue:J4,findByLabelText:X4,findByPlaceholderText:Q4,findByRole:Z4,findByTestId:e9,findByText:t9,findByTitle:r9,getAllByAltText:n9,getAllByDisplayValue:o9,getAllByLabelText:a9,getAllByPlaceholderText:i9,getAllByRole:s9,getAllByTestId:l9,getAllByText:u9,getAllByTitle:c9,getByAltText:d9,getByDisplayValue:p9,getByLabelText:f9,getByPlaceholderText:m9,getByRole:h9,getByTestId:b9,getByText:y9,getByTitle:g9,getConfig:v9,getDefaultNormalizer:_9,getElementError:E9,getNodeText:w9,getQueriesForElement:R9,getRoles:C9,getSuggestedQuery:S9,isInaccessible:A9,logDOM:P9,logRoles:T9,prettyDOM:O9,queries:q9,queryAllByAltText:x9,queryAllByAttribute:M9,queryAllByDisplayValue:N9,queryAllByLabelText:j9,queryAllByPlaceholderText:I9,queryAllByRole:D9,queryAllByTestId:F9,queryAllByText:B9,queryAllByTitle:L9,queryByAltText:k9,queryByAttribute:$9,queryByDisplayValue:U9,queryByLabelText:H9,queryByPlaceholderText:V9,queryByRole:G9,queryByTestId:z9,queryByText:W9,queryByTitle:Y9,queryHelpers:K9,screen:J9,waitFor:X9,waitForElementToBeRemoved:Q9,within:lE,prettyFormat:Z9}=Nc,{userEvent:eH}=(0,sE.instrument)({userEvent:N4},{intercept:!0}),{expect:tH}=(0,fI.instrument)({expect:K0},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===L){let n=Object.keys(Object.getPrototypeOf(e)).filter(a=>!r.includes(a));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),rH=({parameters:e})=>{e?.test?.mockReset===!0?e_():e?.test?.clearMocks===!0?Z0():e?.test?.restoreMocks!==!1&&t_()},Di=(e,t=0,r)=>{if(t>5||e==null)return e;if(jd(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=X0(e);return r&&n.mockName(r),n}if(Array.isArray(e))return t++,e.map(n=>Di(n,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,a]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Di(a,t,n));return e}return e},nH=({initialArgs:e})=>{Di(e)},oH=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=lE(e.canvasElement))};hg.global.__STORYBOOK_TEST_LOADERS__=[rH,nH,oH];hg.global.__STORYBOOK_TEST_ON_MOCK_CALL__=J0});export{aH as a};